@property --r { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

:root {
  --paper: #f6f0e4;
  --paper-2: #ece3d2;
  --ink: #241714;
  --ink-2: #6e5f54;
  --rule: rgba(70, 35, 20, .17);
  --red: #a30e17;
  --red-deep: #5c0a10;
  --night: #4d060b;
  --gold: #c7964a;
  --gold-hi: #f3d28c;
  --ivory: #f8efdc;
  --serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", "STZhongsong", "华文中宋", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(.22, .72, .18, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: transparent; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }

#silk { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.no-gl #silk { background: #8a0a12 url(assets/silk.jpg) center / cover no-repeat; }
.no-gl .theatre::before { background: rgba(77, 6, 11, .84); }
/* 字体就绪后再开场，避免卷轴展开到一半换字体 */
body:not(.ready) .hero * { animation-play-state: paused !important; }
main { position: relative; z-index: 2; }
.paper { background: var(--paper); }

/* ───── 顶部 banner ───── */
.hero { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; color: var(--ivory); overflow: hidden; }

.topnav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); font-size: 14px; opacity: 0; animation: rise 1s 2.1s var(--ease) forwards; }
.brand { min-width: 0; font-family: var(--serif); font-weight: 700; letter-spacing: .06em; opacity: .92; transition: opacity .3s, color .3s; }
.brand:hover { opacity: 1; color: var(--gold-hi); }
.links { display: flex; gap: clamp(12px, 2vw, 26px); flex-shrink: 0; }
.links a { opacity: .68; padding: 4px 0; border-bottom: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.links a:hover { opacity: 1; }
.links a.on { opacity: 1; border-color: var(--gold-hi); color: var(--gold-hi); }

.hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); will-change: transform, opacity; }
.eyebrow { font-family: var(--serif); font-weight: 500; font-size: clamp(16px, 2.15vw, 34px); letter-spacing: .42em; margin-right: -.42em; opacity: 0; animation: rise 1.2s .5s var(--ease) forwards; }

.title {
  font-family: var(--serif); font-weight: 900; line-height: 1.16; letter-spacing: .05em;
  font-size: clamp(40px, 6.2vw, 116px); margin: .2em 0 .24em;
  filter: drop-shadow(0 .03em .14em rgba(96, 6, 12, .7));
}
.title span {
  --r: 0%;
  display: inline-block;
  background: radial-gradient(52vw 52vw at var(--lx, 30vw) var(--ly, 0px), #fffae6 0, #fbe3a6 16%, #e2b45e 38%, #b98530 66%, #d9b26b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--r) - 16%), transparent var(--r));
          mask-image: linear-gradient(100deg, #000 calc(var(--r) - 16%), transparent var(--r));
  animation: unroll 1.7s .9s cubic-bezier(.35, .55, .2, 1) forwards;
}
.title span + span { animation-delay: 1.25s; }
@keyframes unroll { to { --r: 118%; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.orgs { display: inline-grid; gap: 3px; margin: 0; font-size: clamp(12px, 1vw, 14px); line-height: 1.55; letter-spacing: .04em; text-align: left; opacity: 0; animation: riseSoft 1.2s 2.35s var(--ease) forwards; }
.orgs div { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); column-gap: 2px; }
.orgs dt { white-space: nowrap; letter-spacing: 0; text-align: justify; text-align-last: justify; }
.orgs dd { margin: 0; }
.orgs dd::before { content: "："; }
@media (max-height: 700px) { .cue { display: none; } }
@keyframes riseSoft { from { opacity: 0; transform: translateY(14px); } to { opacity: .82; transform: none; } }

.cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: clamp(14px, 3.2vh, 34px); font-size: 13px; letter-spacing: .3em; margin-right: -.3em; color: var(--gold-hi); opacity: 0; animation: riseSoft 1.2s 2.9s var(--ease) forwards; }
.cue i { display: block; width: 1px; height: clamp(18px, 3.4vh, 34px); background: linear-gradient(180deg, var(--gold-hi), transparent); transform-origin: top; animation: breathe 3.6s 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scaleY(.45); opacity: .6; } 50% { transform: scaleY(1); opacity: 1; } }
.reel { position: relative; z-index: 3; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: 0 0 clamp(20px, 3.4vh, 38px) var(--gutter); opacity: 0; animation: rise 1.3s 2.5s var(--ease) forwards; will-change: transform; }
.reel-label { writing-mode: vertical-rl; font-family: var(--serif); font-size: 14px; letter-spacing: .3em; color: var(--gold-hi); flex-shrink: 0; }
.reel-window { flex: 1; overflow: hidden; min-width: 0; padding: 34px 0 14px; margin: -34px 0 -14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent); }
.reel-track { display: flex; gap: 14px; width: max-content; animation: reel 150s linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(-50%); } }
.rcard { position: relative; flex: none; width: clamp(148px, 14.4vw, 226px); aspect-ratio: 16/9; overflow: hidden; background: var(--red-deep); box-shadow: 0 0 0 1px rgba(243, 210, 140, .26); transform-origin: 50% 100%; transition: box-shadow .35s, transform .45s var(--ease); }
.rcard img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .35s; }
/* 激活的封面放大上浮、镶金边，其余封面退后 */
.reel-track:hover .rcard img, .reel-track:focus-within .rcard img { opacity: .5; }
.rcard:hover, .rcard:focus-visible { z-index: 2; box-shadow: 0 0 0 2px var(--gold-hi), 0 12px 34px rgba(96, 6, 12, .7), 0 0 30px rgba(243, 210, 140, .34); transform: translateY(-5px) scale(1.14); outline: none; }
.reel-track .rcard:hover img, .reel-track .rcard:focus-visible img { opacity: 1; }

/* 激活封面的信息卡 */
.reel-info { --tail: 0px; --glass: rgba(255, 249, 238, .78); position: absolute; z-index: 4; left: 50%; bottom: calc(100% + 14px); width: clamp(220px, 19vw, 340px); padding: clamp(9px, .75vw, 13px) clamp(12px, 1vw, 17px); color: var(--ink); text-align: left; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 10px 28px rgba(96, 6, 12, .28); pointer-events: none; opacity: 0; transform: translate(-50%, 8px); transition: opacity .28s, transform .4s var(--ease), left .45s var(--ease); }
.reel-info.on { opacity: 1; transform: translate(-50%, 0); }
.reel-info::after { content: ""; position: absolute; left: calc(50% + var(--tail)); top: 100%; width: 16px; height: 8px; margin-left: -8px; background: var(--glass); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: left .45s var(--ease); }
.reel-info small { display: block; font-size: clamp(11px, .72vw, 13px); line-height: 1.5; letter-spacing: .02em; color: rgba(36, 23, 20, .68); }
.reel-info strong { display: block; margin-top: 2px; font-family: var(--serif); font-weight: 700; font-size: clamp(14px, 1.08vw, 19px); line-height: 1.38; color: var(--red); }
.reel-info p { margin-top: 3px; font-size: clamp(12px, .8vw, 14px); color: rgba(36, 23, 20, .72); }
.reel-info b { font-family: var(--serif); font-weight: 700; color: var(--ink); margin-right: .7em; }

/* ───── 选课：竖排书脊 ───── */
.courses { padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 64px); box-shadow: 0 -1px 0 var(--gold); }
.intro { max-width: 58em; margin: 0 auto clamp(36px, 4.6vw, 64px); font-size: clamp(15px, 1.2vw, 17px); line-height: 2; letter-spacing: .03em; text-indent: 2em; text-align: justify; }
.intro em { font-style: normal; color: var(--red); }
/* 末尾几个字不拆行，避免最后一行只剩“活动。” */
.intro span { white-space: nowrap; }
.sec-head { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 28px); margin-bottom: clamp(24px, 3vw, 40px); }
.sec-head::before, .sec-head::after { content: ""; width: clamp(40px, 9vw, 130px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.sec-head::after { transform: scaleX(-1); }
.sec-head h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(23px, 2.5vw, 36px); letter-spacing: .18em; margin-right: -.18em; white-space: nowrap; color: var(--red); }

/* 三个学段：同一暖色系里的淡底色区分，学段名居中并以金线、菱形装饰 */
.spines { display: flex; gap: clamp(10px, 1.2vw, 18px); }
.sgroup { --tint: #f4e5d8; display: flex; flex-direction: column; min-width: 0; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(150, 105, 50, .16); }
.sgroup:nth-child(2) { --tint: #f3ead1; }
.sgroup:nth-child(3) { --tint: #eee5d7; }
.sgroup-label { display: flex; align-items: center; gap: 8px; padding: clamp(12px, 1.2vw, 18px) clamp(10px, 1.2vw, 18px); font-family: var(--serif); font-weight: 900; font-size: clamp(17px, 1.5vw, 22px); color: var(--red); white-space: nowrap; }
.sgroup-label::before, .sgroup-label::after { content: ""; flex: 1; min-width: 8px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.sgroup-label::after { transform: scaleX(-1); }
.sgroup-label span { position: relative; padding: 0 14px; letter-spacing: .2em; margin-right: -.2em; }
.sgroup-label span::before, .sgroup-label span::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--gold); transform: rotate(45deg); }
.sgroup-label span::before { left: 0; }
.sgroup-label span::after { right: .2em; }
.sgroup-row { display: flex; flex: 1; border-top: 1px solid rgba(150, 105, 50, .2); }
.spine {
  position: relative; flex: 1 1 0; min-width: 0; width: 100%; height: 470px; overflow: hidden; text-align: left;
  border-right: 1px solid var(--rule); transition: flex-grow .7s var(--ease), background-color .5s, color .4s;
}
.sgroup-row .spine:last-child { border-right: 0; }
.spine-name { position: absolute; z-index: 2; top: 20px; right: 50%; transform: translateX(50%); writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.32vw, 18px); line-height: 1.3; letter-spacing: .08em; max-height: 396px; transition: right .7s var(--ease), transform .7s var(--ease); }
.spine-n { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12px; color: var(--ink-2); transition: color .4s; }
.spine-n b { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-right: 2px; color: var(--red); transition: color .4s; }
.spine:hover { flex-grow: 1.7; background: rgba(163, 14, 23, .07); }
.spine.on { flex-grow: 2.15; color: var(--ivory); background: linear-gradient(180deg, #bd121d, #9c0d17); }
.spine.on .spine-n { color: rgba(248, 239, 220, .78); }
.spine.on .spine-n b { color: var(--gold-hi); }
.spine.on::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-hi); }

/* ───── 吸顶条 ───── */
.bar { position: sticky; top: 0; z-index: 8; background: rgba(246, 240, 228, .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.bar-in { display: flex; align-items: center; gap: 12px; height: 56px; }
.bar-now { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; overflow: hidden; }
.bar-now span { font-size: 12px; letter-spacing: .14em; color: var(--red); flex-shrink: 0; }
.bar-now strong { font-family: var(--serif); font-weight: 700; font-size: clamp(14px, 1.3vw, 17px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-count { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.bar-arrow { width: 32px; height: 32px; font-size: 20px; line-height: 1; border: 1px solid var(--rule); flex-shrink: 0; transition: background .25s, color .25s; }
.bar-arrow:hover { background: var(--red); color: var(--ivory); border-color: var(--red); }
.bar-switch { height: 32px; padding: 0 14px; font-size: 13px; letter-spacing: .08em; background: var(--ink); color: var(--ivory); flex-shrink: 0; white-space: nowrap; }
.bar-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); box-shadow: 0 24px 40px rgba(20, 5, 0, .25); padding: 24px 0 28px; }
.bar-panel .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bar-panel h4 { margin: 0 0 8px; font-size: 13px; font-weight: 400; letter-spacing: .3em; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.bar-panel button { display: block; width: 100%; text-align: left; padding: 8px 0; font-family: var(--serif); font-size: 15px; line-height: 1.4; transition: color .2s; }
.bar-panel button:hover, .bar-panel button.on { color: var(--red); }

/* ───── 特等奖：红绸上的主舞台 ───── */
#list { transition: opacity .28s; }
#list.switching { opacity: 0; }
.band { padding: clamp(36px, 5.4vw, 72px) 0 clamp(40px, 6vw, 80px); color: var(--ivory); }
.band-plain { padding-bottom: clamp(30px, 4vw, 52px); }
.band-plain .band-head { margin-bottom: 0; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.band-head h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 3vw, 44px); line-height: 1.25; letter-spacing: .04em; max-width: 22em; }
.band-head small { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: .3em; color: var(--gold-hi); margin-bottom: 10px; }
.seal { flex-shrink: 0; writing-mode: vertical-rl; padding: 11px 9px 9px; font-family: var(--serif); font-weight: 900; font-size: 20px; line-height: 1; letter-spacing: .16em; color: var(--red-deep); background: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-hi), inset 0 0 0 3px var(--red-deep); }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 31%); gap: clamp(16px, 2.2vw, 30px); align-items: stretch; }
.stage-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--night); box-shadow: 0 24px 60px rgba(96, 6, 12, .6), 0 0 0 1px rgba(243, 210, 140, .34); }
.stage-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.stage-media img.on { opacity: 1; animation: drift 12s linear forwards; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.055); } }
.stage-main { min-width: 0; display: flex; flex-direction: column; }

/* 特等奖最多三讲：每个框固定为封面高度的三分之一，三讲正好排满，一讲、两讲框不变、从顶部排起。
   未选中半透明，鼠标放上更实，选中为米白实底 */
.stage-list { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; }
.srow { position: relative; flex: none; display: flex; flex-direction: column; justify-content: center; min-height: calc((100% - 20px) / 3); padding: 12px 18px 12px 20px; border-radius: 6px; overflow: hidden; cursor: pointer; color: var(--ivory); background: rgba(255, 238, 215, .13); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, color .3s; }
.srow:hover { background: rgba(255, 238, 215, .3); }
.srow.on { color: var(--ink); background: rgba(255, 248, 235, .94); }
.srow.on h4 { color: var(--red); }
.srow-main { display: block; width: 100%; text-align: left; }
.srow .docs { margin-top: 9px; }
.srow.on .docs a { color: var(--red); border-color: rgba(163, 14, 23, .36); }
.srow.on .docs a:hover, .srow.on .docs a:focus-visible { color: var(--ivory); background: var(--red); border-color: var(--red); }
.srow h4 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(16px, 1.45vw, 24px); line-height: 1.36; letter-spacing: .02em; transition: color .3s; }
.srow p { margin: 5px 0 0; font-size: clamp(13px, 1vw, 15px); opacity: .84; letter-spacing: .04em; }
.srow i { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.srow.on i { animation: fill var(--dwell, 8s) linear forwards; }
.stage.hold .srow.on i { animation-play-state: paused; }
.stage.solo .srow i { display: none; }
@keyframes fill { to { transform: scaleY(1); } }

/* ───── 一、二等奖 ───── */
.tier { padding: clamp(44px, 6vw, 76px) 0; }
.tier + .tier { padding-top: 0; }
.tier-in { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); }
.tier-name { position: sticky; top: 84px; align-self: start; writing-mode: vertical-rl; font-family: var(--serif); font-weight: 900; font-size: clamp(24px, 2.5vw, 34px); letter-spacing: .2em; color: var(--red); }
.tier-name small { display: block; margin-right: 8px; font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: .1em; color: var(--ink-2); }
.tier-name small b { font-weight: 400; text-combine-upright: all; }
.grid { display: grid; gap: clamp(20px, 2.6vw, 36px) clamp(14px, 2vw, 26px); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: block; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.card.in { opacity: 1; transform: none; }
.card-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.card-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(70, 35, 20, .12); transition: box-shadow .4s; pointer-events: none; }
.card-main { display: block; }
.card-main:hover .card-media img, .card-main:focus-visible .card-media img { transform: scale(1.055); }
.card-main:hover .card-media::after, .card-main:focus-visible .card-media::after { box-shadow: inset 0 0 0 2px var(--gold); }
.card h3 { margin-top: 13px; font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45; transition: color .3s; }
.card-main:hover h3 { color: var(--red); }
.card p { margin-top: 5px; font-size: 13px; color: var(--ink-2); letter-spacing: .03em; }
.card p b { font-weight: 500; color: var(--ink); margin-right: .7em; }

/* 每讲的配套 PDF 资料 */
.docs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.docs a { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; font-size: 12.5px; line-height: 1.6; color: var(--red); border: 1px solid rgba(163, 14, 23, .34); transition: background .2s, color .2s, border-color .2s; }
.docs a::before { content: "PDF"; font-size: 10px; font-weight: 700; letter-spacing: .02em; opacity: .75; }
.docs a:hover, .docs a:focus-visible { color: var(--ivory); background: var(--red); border-color: var(--red); }
.band .docs a, .th-rail .docs a { color: var(--gold-hi); border-color: rgba(243, 210, 140, .5); }
.band .docs a:hover, .th-rail .docs a:hover, .band .docs a:focus-visible, .th-rail .docs a:focus-visible { color: var(--red-deep); background: var(--gold-hi); border-color: var(--gold-hi); }
.th-rail .docs { margin-top: 12px; }

/* 跟随光标的“观看”，只用于 banner 影片带 */
.cursor-play { position: fixed; z-index: 30; left: 0; top: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; display: grid; place-items: center; background: rgba(163, 14, 23, .9); box-shadow: 0 0 0 1px var(--gold-hi), 0 10px 30px rgba(96, 6, 12, .5); color: var(--ivory); font-family: var(--serif); font-size: 13px; letter-spacing: .1em; pointer-events: none; opacity: 0; scale: .6; transition: opacity .25s, scale .35s var(--ease); }
.cursor-play.show { opacity: 1; scale: 1; }
@media (hover: hover) and (pointer: fine) { [data-play] { cursor: none; } }
@media (hover: none) { .cursor-play, .th-close kbd { display: none; } }

/* ───── 页脚 ───── */
.foot { position: relative; padding: clamp(36px, 4.6vw, 60px) 0 clamp(22px, 2.6vw, 32px); color: rgba(248, 239, 220, .68); background: #1d1413; border-top: 1px solid var(--gold); font-size: 13px; }
.foot-main { display: flex; align-items: center; justify-content: space-between; gap: 28px clamp(24px, 4vw, 64px); padding-bottom: clamp(26px, 3vw, 38px); }
.foot-brand { min-width: 0; }
.foot-brand h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(19px, 2vw, 30px); line-height: 1.4; letter-spacing: .03em; color: var(--ivory); }
.foot-brand p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.foot-qr { flex: none; display: flex; align-items: center; gap: 20px; padding: 16px 28px 16px 16px; border: 1px solid rgba(243, 210, 140, .24); border-radius: 14px; background: rgba(248, 239, 220, .045); }
.foot-qr img { display: block; width: 112px; height: 112px; padding: 6px; border-radius: 8px; background: #fff; }
.foot-qr small, .foot-qr strong, .foot-qr span { display: block; }
.foot-qr small { font-size: 13px; letter-spacing: .12em; color: var(--gold-hi); }
.foot-qr strong { margin-top: 8px; font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: .02em; color: var(--ivory); }
.foot-qr span { margin-top: 8px; font-size: 13px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 18px; border-top: 1px solid rgba(248, 239, 220, .13); font-size: 12.5px; line-height: 1.7; color: rgba(248, 239, 220, .52); }
.foot-reg { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.foot-reg a { transition: color .25s; }
.foot-reg a:hover { color: var(--gold-hi); }

/* ───── 放映厅 ───── */
.theatre { position: fixed; inset: 0; z-index: 20; color: var(--ivory); overflow-x: hidden; overflow-y: auto; opacity: 0; transition: opacity .5s; }
.theatre.open { opacity: 1; }
.theatre::before { content: ""; position: fixed; inset: 0; background: rgba(77, 6, 11, .42); pointer-events: none; }
.th-close { position: fixed; z-index: 3; left: clamp(14px, 2vw, 28px); top: 16px; font-size: 13px; letter-spacing: .1em; padding: 8px 14px; border: 1px solid rgba(243, 210, 140, .36); background: rgba(120, 10, 18, .6); transition: background .25s, color .25s; }
.th-close:hover { background: var(--gold-hi); color: var(--ink); }
.th-close kbd { font: inherit; font-size: 11px; opacity: .6; margin-left: 6px; }
.th-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 25vw, 380px); gap: clamp(16px, 2.2vw, 32px); min-height: 100%; padding: 64px clamp(14px, 2.6vw, 40px) 28px; align-items: center; }
.th-main { min-width: 0; }
.player { position: relative; }
.ambient { position: absolute; inset: -9%; width: 118%; height: 118%; filter: blur(64px) saturate(1.5); opacity: .62; pointer-events: none; }
.screen { position: relative; aspect-ratio: 16/9; max-height: calc(100vh - 110px); margin: 0 auto; background: #000 center / cover no-repeat; overflow: hidden; box-shadow: 0 30px 80px rgba(70, 5, 10, .6), 0 0 0 1px rgba(243, 210, 140, .24); }
.screen:focus { outline: none; }
.screen video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; transition: opacity .45s; }
.screen.swap video { opacity: 0; }
.screen:fullscreen { width: 100% !important; height: 100%; max-height: none; aspect-ratio: auto; box-shadow: none; }
.screen.loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid rgba(243, 210, 140, .22); border-top-color: var(--gold-hi); animation: spin 1.1s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* 浏览器不让直接带声播放时的提示；不接收点击，点击落到画面上开始播放 */
.screen.tap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(163, 14, 23, .9); box-shadow: 0 0 0 1px var(--gold-hi); pointer-events: none; }
.screen.tap::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -8px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--gold-hi); pointer-events: none; }
.endcard { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: rgba(110, 9, 16, .94); animation: fadeIn .5s var(--ease); }
.endcard[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.endcard small { font-size: 13px; letter-spacing: .3em; color: var(--gold-hi); }
.endcard h4 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(18px, 2.4vw, 34px); line-height: 1.35; max-width: 22em; }
.endcard p { margin: 0; font-size: 14px; opacity: .8; }
.endcard div { display: flex; gap: 10px; margin-top: 8px; }
.endcard button { padding: 9px 22px; font-size: 14px; letter-spacing: .08em; border: 1px solid var(--gold-hi); transition: background .25s, color .25s; }
.endcard button.go, .endcard button:hover { background: var(--gold-hi); color: var(--red-deep); }
#cVol { width: 68px; height: 16px; margin: 0; accent-color: var(--gold-hi); cursor: pointer; flex-shrink: 0; }
.ctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 34px 16px 12px; font-size: 13px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); transition: opacity .4s; }
.screen.idle .ctrl { opacity: 0; }
.screen.idle { cursor: none; }
.ctrl button { flex-shrink: 0; opacity: .88; transition: opacity .2s, color .2s; }
.ctrl button:hover { opacity: 1; color: var(--gold-hi); }
.ctrl .txt { font-size: 12.5px; letter-spacing: .04em; }
#cPlay { width: 26px; height: 26px; position: relative; }
#cPlay::before { content: ""; position: absolute; left: 7px; top: 5px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }
.playing #cPlay::before { left: 7px; top: 5px; width: 12px; height: 16px; border-width: 0 4px; border-color: currentColor; }
.time { font-variant-numeric: tabular-nums; opacity: .85; white-space: nowrap; }
.thread { position: relative; flex: 1; height: 18px; cursor: pointer; min-width: 40px; }
.thread::before, .thread i { content: ""; position: absolute; left: 0; top: 8px; height: 2px; transition: height .2s, top .2s; }
.thread::before { right: 0; background: rgba(255, 255, 255, .24); }
.thread-buf { background: rgba(255, 255, 255, .3); width: 0; }
.thread-now { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); width: 0; box-shadow: 0 0 10px rgba(243, 210, 140, .75); }
.thread:hover::before, .thread:hover i { top: 6px; height: 6px; }
.thread-tip { position: absolute; bottom: 20px; left: 0; transform: translateX(-50%); padding: 2px 6px; background: rgba(0, 0, 0, .8); font-weight: 400; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.thread:hover .thread-tip { opacity: 1; }
.play-error { position: relative; margin-top: 10px; font-size: 13px; color: var(--gold-hi); }

.th-rail { position: relative; min-width: 0; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(243, 210, 140, .3) transparent; display: flex; flex-direction: column; padding-right: 6px; }
.th-rail > * { flex-shrink: 0; animation: railIn .7s var(--ease) both; animation-delay: calc(.32s + var(--i) * .05s); }
@keyframes railIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.th-award { display: inline-block; align-self: flex-start; padding: 3px 9px; border: 1px solid var(--gold-hi); color: var(--gold-hi); font-family: var(--serif); font-size: 13px; letter-spacing: .14em; }
.th-title { margin-top: 12px; font-family: var(--serif); font-weight: 900; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.34; letter-spacing: .02em; }
.th-who { margin-top: 12px; font-size: 15px; }
.th-who b { font-family: var(--serif); font-weight: 700; margin-right: .6em; }
.th-course { margin-top: 5px; font-size: 12.5px; line-height: 1.5; opacity: .68; }
.th-h { margin: 24px 0 4px; font-size: 12.5px; letter-spacing: .24em; color: var(--gold-hi); padding-bottom: 8px; border-bottom: 1px solid rgba(243, 210, 140, .28); }
.th-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 11px; width: 100%; text-align: left; padding: 9px 0; opacity: .78; transition: opacity .25s; }
.th-item:hover { opacity: 1; }
.th-item img { width: 104px; aspect-ratio: 16/9; object-fit: cover; }
.th-item h5 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th-item p { margin: 3px 0 0; font-size: 12px; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.flip { position: fixed; z-index: 21; object-fit: cover; transform-origin: 0 0; pointer-events: none; }
body.locked { overflow: hidden; }
/* 进放映厅：页面退去，只剩压暗的红绸 */
main, .hero { transition: opacity .5s; }
body.in-theatre main, body.in-theatre .hero { opacity: 0; pointer-events: none; }

/* ───── 适配 ───── */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage { grid-template-columns: 1fr; }
  .srow { min-height: 0; }
  .th-grid { grid-template-columns: 1fr; align-items: start; }
  .th-rail { max-height: none; overflow: visible; }
  .screen { max-height: none; }
}
@media (max-width: 860px) {
  .spines { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; }
  .spines::-webkit-scrollbar { display: none; }
  .sgroup { flex: none !important; }
  .spine { flex: none !important; width: 70px; height: 370px; }
  .spine.on { width: 92px; }
  .spine-name { font-size: 14px; max-height: 310px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-panel .wrap { grid-template-columns: 1fr; max-height: 62vh; overflow-y: auto; }
  .bar-count { display: none; }
  .foot-main { flex-direction: column; align-items: flex-start; }
  .foot-qr { max-width: 100%; }
}
@media (max-width: 640px) {
  .topnav { flex-direction: column; gap: 6px; padding-top: 14px; padding-bottom: 8px; }
  .brand { font-size: 13px; letter-spacing: .02em; text-align: center; }
  .orgs { font-size: 11.5px; letter-spacing: 0; margin-top: 10px; }
  .foot-qr { gap: 14px; padding: 12px 16px 12px 12px; }
  .foot-qr img { width: 88px; height: 88px; padding: 4px; }
  .foot-qr strong { font-size: 14px; }
  .title span { display: block; }
  .title { font-size: 13.2vw; }
  .eyebrow { font-size: 4.2vw; letter-spacing: .24em; margin-right: -.24em; }
  .reel-label { font-size: 12px; }
  .seal { font-size: 16px; padding: 9px 7px 7px; }
  #cVol { display: none; }
  .tier-in { grid-template-columns: 1fr; }
  .tier-name { position: static; writing-mode: horizontal-tb; display: flex; align-items: baseline; gap: 8px; }
  .tier-name small { margin: 0; }
  .ctrl { flex-wrap: wrap; gap: 2px 10px; padding: 26px 10px 6px; }
  .thread { order: -1; flex: 0 0 100%; }
  .time { margin-right: auto; }
  #cRate { display: none; }
  .time { font-size: 11.5px; }
  .bar-now span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .reel-track { animation: none; }
  .reel-window { overflow-x: auto; }
}
