/* 青春语创作者招募 —— 整页按动画分镜表排版：镜号 / 画面 / 内容 / 时间 */

@font-face {
  font-family: "Smiley Sans";
  src: url("../fonts/SmileySans-Oblique.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Nanum Pen Script";
  src: url("../fonts/NanumPenScript.woff2") format("woff2");
  font-display: swap;
}

:root {
  --desk: #dfe3dc;        /* 桌面 */
  --paper: #f7f8f3;       /* 分镜纸 */
  --paper-2: #eef1ea;
  --rule: #b3d0e6;        /* 印刷的浅蓝格线 */
  --rule-strong: #4277ad;
  --ink: #1f2328;         /* 铅笔灰 */
  --ink-soft: #5f6771;
  --pencil: #e23a3f;      /* 红铅笔标注 */
  --frame: #16181c;

  --f-display: "Smiley Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-body: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --f-hand: "Nanum Pen Script", "STKaiti", "KaiTi", cursive;

  --cols: 76px minmax(0, 1.75fr) minmax(0, 1fr) 96px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  padding: clamp(0px, 1.4vw, 28px);
  background: var(--desk);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--pencil); color: #fff; }

:focus-visible {
  outline: 3px solid var(--pencil);
  outline-offset: 3px;
}

img, video { display: block; max-width: 100%; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 分镜纸 ---------- */

.sheet {
  position: relative;
  max-width: 1760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1.5px solid var(--rule-strong);
  box-shadow: 0 30px 70px -40px rgba(30, 44, 64, .5);
}

.sheet-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
}

.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 10px 22px;
  border-bottom: 1.5px solid var(--rule-strong);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--f-display);
  font-size: 27px;
  line-height: 1;
}
.brand-name small {
  margin-top: 4px;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}

.masthead-field {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--rule);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
}
.masthead-field span {
  margin-right: 14px;
  font-size: 13px;
  color: var(--rule-strong);
}

.masthead-nav { display: flex; gap: 4px; }
.masthead-nav a {
  padding: 6px 12px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  background: linear-gradient(var(--pencil), var(--pencil)) 50% 100% / 0 2px no-repeat;
  transition: background-size .25s;
}
.masthead-nav a:hover { background-size: calc(100% - 20px) 2px; }

.colhead {
  display: grid;
  grid-template-columns: var(--cols);
  border-bottom: 1px solid var(--rule-strong);
  color: var(--rule-strong);
  font-size: 13px;
  letter-spacing: .3em;
  text-align: center;
}
.colhead span {
  padding: 5px 0 4px .3em;
  border-right: 1px solid var(--rule);
}
.colhead span:last-child { border-right: 0; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px 9px;
  border: 2px solid var(--ink);
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--pencil); border-color: var(--pencil); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- 场与镜 ---------- */

.scene {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  padding: 9px 22px 8px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: normal;
  line-height: 1.3;
  scroll-margin-top: 96px;
}
.scene:not(:first-child) { border-top: 1.5px solid var(--rule-strong); }
.scene-no {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--rule-strong);
  letter-spacing: .08em;
}

.cut {
  display: grid;
  grid-template-columns: var(--cols);
  border-bottom: 1px solid var(--rule);
}
.cut:last-child { border-bottom: 0; }
.cut > * {
  min-width: 0;
  border-right: 1px solid var(--rule);
}
.cut > :last-child { border-right: 0; }

.cut-no {
  padding-top: 20px;
  font-family: var(--f-display);
  font-size: 46px;
  line-height: 1;
  text-align: center;
}

.cut-pic { padding: 24px; }

.cut-wide {
  grid-column: 2 / 4;
  padding: 20px 0 18px;
  overflow: hidden;
}

.cut-act {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 32px 30px;
}

.cut-time {
  padding-top: 20px;
  text-align: center;
}
.tc {
  font-family: var(--f-hand);
  font-size: 38px;
  line-height: 1;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- 画框与红铅笔标注 ---------- */

.shot { position: relative; }

.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--frame);
  background: #101216;
}
.frame-paper { background: #fbfbf8; }
.frame .fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .95)) drop-shadow(0 0 3px rgba(255, 255, 255, .35));
}
.ink {
  fill: none;
  stroke: var(--pencil);
  stroke-width: .55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.ink-text {
  fill: var(--pencil);
  font-family: var(--f-hand);
  font-size: 8px;
  opacity: 0;
}
.is-drawn .ink {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .8s cubic-bezier(.6, 0, .3, 1) var(--d, 0s);
}
.is-drawn .ink-text {
  opacity: 1;
  transition: opacity .4s ease var(--d, 0s);
}

/* ---------- 第 1 镜：开场 ---------- */

.hero-frame { animation: wipe 1.1s cubic-bezier(.7, 0, .2, 1) .15s both; }

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active,
.hero-slide.is-leaving { animation: push 8s linear forwards; }
.hero-slide.is-active { opacity: 1; z-index: 1; }

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}
.hero-caption-text {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-ticks { display: flex; gap: 6px; }
.hero-ticks button {
  position: relative;
  width: 28px;
  height: 16px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid var(--ink-soft);
  background: transparent;
  cursor: pointer;
}
.hero-ticks button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-ticks button.is-active::after { animation: fill 6.5s linear forwards; }

.hero-act { justify-content: space-between; }
.hero-company {
  margin: 0;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--rule-strong);
}
.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--f-display);
  font-weight: normal;
  line-height: .98;
}
.hero-sup {
  margin-bottom: .55em;
  font-size: clamp(22px, 7cqi, 38px);
}
.hero-main {
  font-size: min(128px, 23cqi);
  letter-spacing: -.01em;
}
.hero-title .ch {
  display: inline-block;
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(.4s + var(--i) * 45ms);
}

.hero-roles p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-roles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-roles a {
  position: relative;
  padding: 2px 4px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: clamp(24px, 7.5cqi, 36px);
  text-decoration: none;
}
.hero-roles a::after {
  content: "";
  position: absolute;
  inset: -6px -12px -4px;
  border: 2px solid var(--pencil);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-4deg) scale(.85);
  transition: opacity .2s, transform .3s cubic-bezier(.3, 1.5, .5, 1);
}
.hero-roles a:hover::after,
.hero-roles a:focus-visible::after { opacity: 1; transform: rotate(-4deg) scale(1); }
.hero-roles a:focus-visible { outline: none; }

/* ---------- 第 2 镜：公司 ---------- */

.cast-frame { background: linear-gradient(#eef3f7, #fbfbf8 70%); }
.cast-sketch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cast-sketch path {
  fill: none;
  stroke: var(--rule);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.cast {
  position: absolute;
  height: auto;
  transform-origin: 50% 100%;
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.cast:hover { transform: translateY(-5%) rotate(-3deg); }
.cast-1 { left: 1%;  bottom: 3%;  width: 29%; z-index: 3; }
.cast-2 { left: 21%; bottom: 20%; width: 25%; z-index: 1; }
.cast-3 { left: 37%; bottom: 1%;  width: 29%; z-index: 4; }
.cast-4 { left: 58%; bottom: 19%; width: 23%; z-index: 2; }
.cast-5 { left: 74%; bottom: 3%;  width: 25%; z-index: 3; }

.lead {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 6cqi, 38px);
  line-height: 1.34;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.pillars li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
}
.pillars li:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid var(--rule);
}
.pillars li:nth-child(even) { padding-left: 18px; }

.line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px;
}
.line-who {
  padding: 1px 8px;
  border-radius: 2px;
  background: var(--rule-strong);
  color: var(--paper);
  font-size: 13px;
}
.line p { margin: 0; font-size: 18px; }

/* ---------- 第 3 镜：IP ---------- */

.ip-frame { display: flex; background: var(--frame); }
.ip-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-right: 2px solid var(--frame);
  background: #000;
  cursor: pointer;
  transition: flex-grow .8s cubic-bezier(.7, 0, .2, 1);
}
.ip-panel:last-child { border-right: 0; }
.ip-panel.is-active { flex-grow: 5; cursor: default; }
.ip-panel:focus-visible { outline-offset: -3px; }
.ip-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.5) brightness(.6);
  transform: scale(1.05);
  transition: filter .8s, transform 1.4s;
}
.ip-panel.is-active img { filter: none; transform: none; }
.ip-panel:not(.is-active):hover img { filter: saturate(.8) brightness(.8); }
.ip-vname {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(16px, 1.5vw, 28px);
  letter-spacing: .14em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
  transition: opacity .3s;
}
.ip-panel.is-active .ip-vname { opacity: 0; }
.ip-panel::after {
  content: attr(aria-label);
  position: absolute;
  left: 18px;
  bottom: 12px;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 48px);
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s, transform .5s;
}
.ip-panel.is-active::after {
  opacity: 1;
  transform: none;
  transition-delay: .45s;
}

.act-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(30px, 8cqi, 48px);
  font-weight: normal;
  line-height: 1.1;
}
.act-note {
  margin: -12px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.act-body { margin: 0; }

.ip-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.ip-list li { border-bottom: 1px solid var(--rule); }
.ip-list button {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  padding: 11px 0 11px 24px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ip-list button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--rule-strong);
  transition: background-color .2s, border-color .2s;
}
.ip-list button.is-active::before { background: var(--pencil); border-color: var(--pencil); }
.ip-list b {
  font-family: var(--f-display);
  font-size: 27px;
  font-weight: normal;
  line-height: 1.2;
}
.ip-list span { font-size: 13px; color: var(--ink-soft); }

/* ---------- 第 4 镜：作品长廊 ---------- */

.pan-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px 8px;
  color: var(--pencil);
  font-family: var(--f-hand);
  font-size: 34px;
  line-height: 1;
}
.pan-note i {
  position: relative;
  flex: 0 1 300px;
  height: 2px;
  background: var(--pencil);
}
.pan-note i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--pencil);
  border-right: 2px solid var(--pencil);
  transform: translateY(-50%) rotate(45deg);
}

.river {
  display: grid;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.river-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: pan 120s linear infinite;
}
.river-row-back { animation-direction: reverse; animation-duration: 140s; }
.river:hover .river-row { animation-play-state: paused; }
.river-row img {
  flex: none;
  width: auto;
  height: clamp(120px, 13vw, 236px);
  border: 2px solid var(--frame);
}
.river-caption {
  margin: 12px 24px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 第 5 镜：动画片段 ---------- */

.reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 第 6–8 镜：岗位 ---------- */

.job-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: min(88px, 20cqi);
  font-weight: normal;
  line-height: 1;
}
.job-req {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.job-req li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.55;
}
.job-req li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 21px;
  height: 21px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.8 10.6c1.6 1.4 3 3 4.2 4.9C9.6 10.4 13 6.3 17.4 3' fill='none' stroke='%23e23a3f' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.job-apply { margin-top: 4px; }

/* 分镜岗位：画面里再放一张小分镜 */
.board-panel {
  position: absolute;
  left: calc(var(--x) / 160 * 100%);
  top: calc(var(--y) / 90 * 100%);
  width: calc(48 / 160 * 100%);
  margin: 0;
}
.board-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1.5px solid var(--frame);
}
.board-panel figcaption {
  margin-top: 3px;
  font-family: var(--f-display);
  font-size: clamp(13px, 1.1vw, 20px);
  line-height: 1.2;
}

/* 剪辑岗位：监视器 + 时间线 */
.edit {
  display: grid;
  grid-template-rows: 63% 37%;
  background: #1a1d22;
}
.edit-monitor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 2px solid #000;
}
.edit-timeline {
  position: relative;
  display: grid;
  grid-template-rows: 9px 1fr .6fr;
  gap: 5px;
  padding: 6px 12px 9px;
  background: #22262c;
}
.edit-ruler {
  background:
    repeating-linear-gradient(90deg, #8a93a0 0 1px, transparent 1px 64px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, #5b636e 0 1px, transparent 1px 8px) bottom / 100% 4px no-repeat;
}
.edit-track { min-height: 0; border-radius: 3px; }
.edit-v {
  display: flex;
  gap: 2px;
  padding: 2px;
  overflow: hidden;
  background: #4a5a96;
}
.edit-v img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}
.edit-v img:nth-child(3n) { margin-right: 3px; }
.edit-a {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10h62' stroke='%23a6e3c4' stroke-width='.4'/%3E%3Cg fill='%23a6e3c4'%3E%3Crect x='2' y='7' width='1.4' height='6'/%3E%3Crect x='5' y='4' width='1.4' height='12'/%3E%3Crect x='8' y='6' width='1.4' height='8'/%3E%3Crect x='11' y='2' width='1.4' height='16'/%3E%3Crect x='14' y='5' width='1.4' height='10'/%3E%3Crect x='17' y='8' width='1.4' height='4'/%3E%3Crect x='20' y='3' width='1.4' height='14'/%3E%3Crect x='23' y='6' width='1.4' height='8'/%3E%3Crect x='26' y='4' width='1.4' height='12'/%3E%3Crect x='29' y='7.5' width='1.4' height='5'/%3E%3Crect x='32' y='5' width='1.4' height='10'/%3E%3Crect x='35' y='1.5' width='1.4' height='17'/%3E%3Crect x='38' y='6' width='1.4' height='8'/%3E%3Crect x='41' y='8' width='1.4' height='4'/%3E%3Crect x='44' y='4' width='1.4' height='12'/%3E%3Crect x='47' y='6.5' width='1.4' height='7'/%3E%3Crect x='50' y='3' width='1.4' height='14'/%3E%3Crect x='53' y='5' width='1.4' height='10'/%3E%3Crect x='56' y='8' width='1.4' height='4'/%3E%3Crect x='59' y='2.5' width='1.4' height='15'/%3E%3C/g%3E%3C/svg%3E") left center / 16% 100% repeat-x,
    #2c5a49;
}
.edit-head {
  position: absolute;
  top: 3px;
  bottom: 5px;
  left: 12px;
  width: 2px;
  background: var(--pencil);
  animation: head 14s linear infinite paused;
}
.edit-head::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -5px;
  border: 6px solid transparent;
  border-top-color: var(--pencil);
}
.is-drawn .edit-head { animation-play-state: running; }

/* ---------- 第 9 镜：联系 ---------- */

.frame-empty {
  border: 2px dashed var(--ink-soft);
  background: #fbfbf8;
}
.empty-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--pencil);
  font-family: var(--f-display);
  font-size: clamp(30px, 4.2vw, 84px);
  transform: rotate(-4deg);
}
.peek {
  position: absolute;
  height: auto;
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.peek-1 { left: 6%;   bottom: -11%; width: 20%; }
.peek-2 { right: -3%; top: 5%;      width: 20%; transform: rotate(-10deg); }
.peek-3 { right: 16%; bottom: -9%;  width: 19%; transform: rotate(5deg); }
.frame-empty:hover .peek-1 { transform: translateY(-9%); }
.frame-empty:hover .peek-2 { transform: rotate(-4deg) translateX(-8%); }
.frame-empty:hover .peek-3 { transform: rotate(0deg) translateY(-10%); }

.join-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: min(96px, 15cqi);
  font-weight: normal;
  line-height: 1;
}
.contact {
  display: grid;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.contact div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.contact dt { font-size: 14px; color: var(--rule-strong); }
.contact dd { margin: 0; font-size: 18px; }
.contact a {
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.2;
  text-decoration: none;
  background: linear-gradient(var(--pencil), var(--pencil)) 0 100% / 100% 2px no-repeat;
}
.contact a:hover { color: var(--pencil); }

.sheet-end {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 26px;
  border-top: 1.5px solid var(--rule-strong);
  color: var(--ink-soft);
  font-size: 13px;
}
.sheet-end p { margin: 0; }
.stamp {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2.5px solid var(--pencil);
  border-radius: 50%;
  color: var(--pencil);
  font-family: var(--f-display);
  font-size: 32px;
  transform: rotate(-12deg);
  opacity: .88;
}

/* ---------- 动画 ---------- */

@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes push {
  from { transform: scale(1.02); }
  to { transform: scale(1.15); }
}
@keyframes fill {
  to { transform: scaleX(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(.45em) rotate(5deg); }
}
@keyframes pan {
  to { transform: translateX(calc(-50% - 6px)); }
}
@keyframes head {
  from { left: 12px; }
  to { left: calc(100% - 14px); }
}

/* ---------- 窄屏 ---------- */

@media (max-width: 1240px) {
  :root { --cols: 62px minmax(0, 1.45fr) minmax(0, 1fr) 78px; }
  .masthead-field { display: none; }
  .masthead { grid-template-columns: auto 1fr auto; }
  .masthead-nav { justify-self: end; }
  .cut-pic { padding: 18px; }
  .cut-act { padding: 22px 24px 26px; }
  .tc { font-size: 32px; }
  .cut-no { font-size: 38px; }
}

@media (max-width: 860px) {
  body { padding: 0; }
  html { scroll-padding-top: 64px; }
  .sheet { border-width: 0; }
  .colhead, .masthead-nav { display: none; }
  .masthead {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 8px 16px;
  }
  .masthead-cta { padding: 7px 14px 6px; font-size: 17px; }
  .scene { padding: 8px 16px; font-size: 19px; scroll-margin-top: 58px; }

  .cut {
    grid-template-columns: 1fr auto;
    grid-template-areas: "no time" "pic pic" "act act";
  }
  .cut > * { border-right: 0; }
  .cut-no { grid-area: no; padding: 12px 16px 0; font-size: 30px; text-align: left; }
  .cut-time { grid-area: time; padding: 12px 16px 0; text-align: right; }
  .tc { font-size: 26px; }
  .cut-pic { grid-area: pic; padding: 10px 16px 0; }
  .cut-wide { grid-area: pic; padding: 10px 0 0; }
  .cut-act { grid-area: act; gap: 18px; padding: 18px 16px 28px; }
  .pan-note { padding: 0 16px 8px; font-size: 28px; }
  .river-caption { margin: 10px 16px 0; }
  .ip-vname { font-size: 14px; top: 10px; }
  .ip-panel::after { left: 12px; bottom: 8px; }
  .hero-caption-text { font-size: 13px; }
  .sheet-end { padding: 18px 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .river { overflow-x: auto; }
  .river-row { animation: none !important; }
  .ink { stroke-dashoffset: 0; }
  .ink-text { opacity: 1; }
}
