/* ========== 作品页 ========== */

.wk-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}
.wk-stats b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--green);
  margin-right: 6px;
  vertical-align: -2px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 主力项目：大开本跨页 ---------- */

.wk-spread {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--rule);
}
.wk-spreads { margin-top: 48px; }
.wk-spread.is-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.wk-spread.is-flip .wk-visual { order: -1; }

.wk-no {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-ink);
}
.wk-no::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--gold-line); }
.wk-title {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.15;
  letter-spacing: .03em;
  color: var(--ink);
}
.wk-sub { margin: 12px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink-2); }
.wk-body { margin: 22px 0 0; font-size: 17px; line-height: 1.9; color: var(--ink-2); }

.wk-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; border-top: 1px solid var(--rule); }
.wk-fig { padding: 16px 14px 0 0; min-width: 0; }
.wk-fig + .wk-fig { padding-left: 18px; border-left: 1px solid var(--rule-2); }
.wk-fig b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  color: var(--green);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.wk-fig b small { font-size: 16px; margin-left: 3px; color: var(--ink-2); font-weight: 500; }
.wk-fig span { display: block; margin-top: 7px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.wk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 26px; }
.wk-tag { font-size: 13px; padding: 3px 11px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.wk-tag--live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #3E8E63;
  box-shadow: 0 0 0 3px rgba(62, 142, 99, .18);
  vertical-align: 1px;
  animation: wk-pulse 2.4s ease-in-out infinite;
}
@keyframes wk-pulse { 50% { box-shadow: 0 0 0 6px rgba(62, 142, 99, 0); } }
.wk-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  font-size: 16px;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 1px;
}
.wk-cta:hover { color: var(--gold-ink); }
.wk-cap { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }

/* 进场动画（没有脚本时直接显示） */
.wk-js .wk-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.wk-js .wk-reveal.is-in, .wk-done .wk-reveal { opacity: 1; transform: none; }

/* ---------- 视觉 1：创作台 + 书页 ---------- */

.wk-desk { position: relative; aspect-ratio: 6 / 5; }
.wk-browser {
  position: absolute;
  right: 0;
  top: 0;
  width: 88%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(11, 42, 31, .5), 0 0 0 1px rgba(0, 0, 0, .06);
}
.wk-browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F1EFEA; border-bottom: 1px solid #E4E1DA; }
.wk-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8D3C8; }
.wk-browser__bar span { margin: 0 auto; padding: 2px 14px; font-size: 11px; color: #8A877F; background: #fff; border-radius: 5px; letter-spacing: .3px; }
.wk-browser img { display: block; width: 100%; }
/* 写作进度卡：照网页版的样子做 */
.wk-run {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  padding: 18px 18px 16px;
  background: #fff;
  border-radius: 14px;
  color: #1F2430;
  font-family: var(--sans);
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 60px -28px rgba(11, 42, 31, .5), 0 0 0 1px rgba(0, 0, 0, .05);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.wk-desk:hover .wk-run { transform: rotate(0deg) translateY(-6px); }
.wk-run__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.wk-run__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #4F6BED, #7B5CF0);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 18px -8px rgba(79, 107, 237, .8);
}
.wk-run__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.wk-run__chips span { padding: 2px 8px; font-size: 10.5px; color: #4A5162; background: #F1F3F8; border-radius: 999px; white-space: nowrap; }
.wk-run__title { margin-top: 5px; font-size: 14.5px; font-weight: 600; }
.wk-dots i { font-style: normal; animation: wk-blink 1.4s infinite; }
.wk-dots i:nth-child(2) { animation-delay: .2s; }
.wk-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes wk-blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.wk-run__ring { width: 44px; height: 44px; }
.wk-ring { transition: stroke-dashoffset 1s ease; }
.wk-run__line { margin-top: 10px; font-size: 12px; color: #6B7183; }
.wk-run__live { display: inline-block; margin-top: 8px; padding: 3px 10px; font-size: 11px; color: #1E7A4D; background: #E8F6EE; border-radius: 999px; }
.wk-run__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.wk-run__nums b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.3px; color: #1F2430; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wk-run__nums div > span { font-size: 10.5px; color: #8A90A0; }

/* ---------- 视觉 2：报纸 + 微博排期 ---------- */

.wk-news { position: relative; aspect-ratio: 1 / .95; }
.wk-paper {
  position: absolute;
  inset: 0 17% 7% 0;
  padding: 6% 6.5% 4%;
  background: #FBF9F4;
  color: #1D1B17;
  font-family: var(--serif);
  overflow: hidden;
  transform: rotate(-1.2deg);
  box-shadow: 0 30px 60px -30px rgba(11, 42, 31, .5), 0 0 0 1px rgba(0, 0, 0, .05);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.wk-news:hover .wk-paper { transform: rotate(0deg); }
.wk-paper__mast { text-align: center; padding-bottom: 2.5%; border-bottom: 3px double #1D1B17; }
.wk-paper__mast h4 { margin: 0; font-size: clamp(28px, 3.2vw, 48px); font-weight: 900; letter-spacing: .45em; text-indent: .45em; line-height: 1.15; }
.wk-paper__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 1.6% 0;
  font-family: var(--sans);
  font-size: clamp(8.5px, .72vw, 11px);
  color: #6B665C;
  border-bottom: 1px solid #1D1B17;
}
.wk-paper__lead { padding: 4.5% 0 3.5%; border-bottom: 1px solid #CFC9BC; }
.wk-k { font-family: var(--sans); font-size: clamp(8px, .66vw, 10px); letter-spacing: 2px; color: #8C6D2C; }
.wk-paper__lead h5 { margin: 1.5% 0 0; font-size: clamp(15px, 1.7vw, 26px); font-weight: 700; line-height: 1.3; }
.wk-paper__lead p { margin: 2.2% 0 0; font-family: var(--sans); font-size: clamp(8.5px, .76vw, 12px); line-height: 1.75; color: #4A463E; }
.wk-paper__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6%; }
.wk-paper__item { padding: 4.5% 0 4%; border-bottom: 1px solid #E2DDD2; }
.wk-paper__item h6 { margin: 2% 0 0; font-size: clamp(10px, .98vw, 14.5px); font-weight: 600; line-height: 1.5; }
.wk-sched {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  padding: 4.5% 4.5% 3%;
  background: var(--green-ink);
  color: #E6EEEA;
  font-size: clamp(8.5px, .74vw, 11.5px);
  transform: rotate(2deg);
  box-shadow: 0 26px 50px -20px rgba(11, 42, 31, .6);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.wk-news:hover .wk-sched { transform: rotate(0deg) translateY(-6px); }
.wk-sched h5 { margin: 0 0 5%; font-family: var(--serif); font-size: clamp(11px, 1vw, 15px); font-weight: 600; color: var(--gold); }
.wk-sched h5 small { display: block; margin-top: 2px; font-family: var(--sans); font-size: .78em; font-weight: 400; color: #A9BDB4; }
.wk-sched ol { margin: 0; padding: 0; list-style: none; }
.wk-sched li { display: grid; grid-template-columns: 3.3em minmax(0, 1fr); gap: 6%; padding: 3.2% 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.wk-sched time { color: var(--gold); font-variant-numeric: tabular-nums; }
.wk-sched li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 视觉 3：分镜胶片 ---------- */

.wk-film { position: relative; padding: 24px 0 20px; background: #0D1411; overflow: hidden; box-shadow: 0 34px 70px -34px rgba(11, 42, 31, .6); }
.wk-film__steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 22px 18px; font-size: 13px; color: #A9BDB4; }
.wk-film__steps span { padding: 3px 11px; border: 1px solid rgba(227, 196, 125, .3); border-radius: 999px; }
.wk-film__steps span.on { color: var(--gold); border-color: rgba(227, 196, 125, .7); background: rgba(227, 196, 125, .1); }
.wk-film__steps i { font-style: normal; color: rgba(227, 196, 125, .55); }
.wk-strip { position: relative; padding: 18px 0; background: #050806; }
.wk-strip::before, .wk-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(245, 243, 239, .5) 9px 17px, transparent 17px 26px);
  opacity: .45;
}
.wk-strip::before { top: 5px; }
.wk-strip::after { bottom: 5px; }
.wk-track { display: flex; gap: 8px; width: max-content; animation: wk-pan 46s linear infinite; }
.wk-film:hover .wk-track { animation-play-state: paused; }
@keyframes wk-pan { to { transform: translateX(-50%); } }
.wk-frame { position: relative; flex: none; width: 330px; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; }
.wk-frame img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); transition: transform .7s ease, filter .7s ease; }
.wk-frame:hover img { transform: scale(1.05); filter: none; }
.wk-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #F2EEE2;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}
.wk-film__note { padding: 16px 22px 0; font-size: 13px; line-height: 1.6; color: #A9BDB4; }

/* ---------- 视觉 4：术语卡 + 流程 ---------- */

.wk-gloss { position: relative; aspect-ratio: 1 / .9; }
.wk-pipe { position: absolute; right: 0; top: 6%; z-index: 0; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; font-size: 13px; color: var(--muted); }
.wk-pipe::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--rule); }
.wk-pipe li { position: relative; display: flex; align-items: center; gap: 9px; counter-increment: s; white-space: nowrap; }
.wk-pipe li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 12px;
}
.wk-pipe li.on { color: var(--ink); }
.wk-pipe li.on::before { background: var(--green); border-color: var(--green); color: var(--gold); }
.wk-cards { position: absolute; left: 0; top: 0; width: 74%; height: 100%; }
.wk-icard {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 84%;
  padding: 15px 18px 14px 30px;
  background: #FBF9F4 repeating-linear-gradient(transparent 0 25px, rgba(140, 109, 44, .07) 25px 26px);
  border: 1px solid #E5DFD2;
  transform: rotate(var(--r));
  box-shadow: 0 18px 36px -22px rgba(11, 42, 31, .45);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.wk-icard::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: rgba(181, 101, 74, .45); }
.wk-gloss:hover .wk-icard { transform: rotate(0deg) translateX(6px); }
.wk-gloss:hover .wk-icard:nth-child(2) { transition-delay: .06s; }
.wk-gloss:hover .wk-icard:nth-child(3) { transition-delay: .12s; }
.wk-icard__no { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 1.5px; color: var(--gold-ink); }
.wk-icard__src { margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; line-height: 1.35; color: #5A554B; }
.wk-icard__dst { margin-top: 3px; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.35; color: var(--ink); }
.wk-icard__info { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- 其他作品：统一封面卡 ---------- */

.wk-more { padding-top: 64px; border-top: 1px solid var(--rule); }
.wk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wk-filter {
  appearance: none;
  font: inherit;
  font-size: 14px;
  padding: 4px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.wk-filter:hover { border-color: var(--gold-line); }
.wk-filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #F2EEE2; }

.wk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 26px; margin-top: 26px; }
.wk-card--wide { grid-column: span 2; }
.wk-cover--shots { height: 168px; }
.wk-shots { position: absolute; inset: 0; }
.wk-shot { position: absolute; margin: 0; overflow: hidden; border-radius: 6px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.wk-shot img { display: block; width: 100%; }
.wk-shot figcaption { position: absolute; left: 8px; bottom: 6px; padding: 1px 8px; font-size: 11px; color: #F2EEE2; background: rgba(11, 42, 31, .75); border-radius: 999px; }
.wk-shot--0 { left: 4%; top: 22%; width: 50%; z-index: 2; transform: rotate(-1.5deg); }
.wk-shot--1 { left: 40%; top: 12%; width: 36%; z-index: 1; transform: rotate(1.5deg); }
.wk-shot--2 { right: 3%; top: 30%; width: 32%; z-index: 3; transform: rotate(-1deg); }
.wk-card:hover .wk-shot--0 { transform: rotate(0deg) translateY(-6px); }
.wk-card:hover .wk-shot--1 { transform: rotate(0deg) translateY(-3px); }
.wk-card:hover .wk-shot--2 { transform: rotate(0deg) translateY(-8px); }
.wk-card {
  display: flex;
  flex-direction: column;
  background: #FBFAF6;
  border: 1px solid var(--rule-2);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, opacity .35s;
}
.wk-card:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -28px rgba(11, 42, 31, .55); }
.wk-js .wk-card.is-in:hover { transform: translateY(-5px); }
.wk-card.is-hidden { display: none; }
.wk-cover { position: relative; height: 168px; background: var(--c, #16372E); overflow: hidden; }
.wk-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wk-cover .m { transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .6s; transform-origin: center; }
.wk-card:hover .wk-cover .m { transform: scale(1.06); }
.wk-cover .draw { stroke-dasharray: 600; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease; }
.wk-card:hover .wk-cover .draw { stroke-dashoffset: 600; }
.wk-badge {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #F2EEE2;
  border: 1px solid rgba(242, 238, 226, .35);
  border-radius: 999px;
  background: rgba(0, 0, 0, .14);
}
.wk-badge--open { color: var(--gold); border-color: rgba(227, 196, 125, .65); }
.wk-yr { position: absolute; right: 14px; top: 12px; font-family: var(--serif); font-size: 13px; color: rgba(242, 238, 226, .7); }
.wk-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.wk-card__kind { font-size: 12px; letter-spacing: 2px; color: var(--gold-ink); }
.wk-card h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.35; }
.wk-card p { flex: 1; margin: 8px 0 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.wk-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.wk-card__foot a { color: var(--link); text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.wk-card__foot a:hover { color: var(--gold-ink); }
.wk-foot { margin-top: 30px; font-size: 13px; color: var(--muted); }
.wk-foot a { color: var(--link); }

@media (max-width: 1180px) {
  .wk-spread { gap: 40px; }
  .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wk-spread, .wk-spread.is-flip { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 56px 0; }
  .wk-spread .wk-visual { order: -1; }
  .wk-fig b { font-size: 24px; }
  .wk-fig + .wk-fig { padding-left: 12px; }
  .wk-frame { width: 220px; }
  .wk-run { width: 84%; padding: 14px; }
  .wk-run__nums b { font-size: 16px; }
  .wk-gloss { aspect-ratio: 1 / 1.05; }
  .wk-pipe { font-size: 12px; gap: 10px; }
  .wk-icard { padding: 12px 12px 10px 26px; }
  .wk-icard__dst { font-size: 18px; }
  .wk-icard__src, .wk-icard__info { font-size: 12px; }
  .wk-grid { grid-template-columns: minmax(0, 1fr); }
  .wk-card--wide { grid-column: auto; }
  .wk-cover--shots { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-track { animation: none; }
  .wk-js .wk-reveal { opacity: 1; transform: none; transition: none; }
  .wk-tag--live::before { animation: none; }
  .wk-dots i { animation: none; opacity: 1; }
}

/* 南亚日报版面：右下角是这一期的栏目和条数；标题太长就截成两三行 */
.wk-sched--sec li { grid-template-columns: 1.4em minmax(0, 1fr) auto; gap: 0 6%; }
.wk-sched--sec time { font-family: var(--serif); }
.wk-sched--sec em { font-style: normal; color: #A9BDB4; font-variant-numeric: tabular-nums; }
.wk-paper__lead h5 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.wk-paper__item h6 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
