/* 异界出差官网。
   版面想法:深色 = 夜里的现实世界;金色菱形 = 裂隙;米色纸面 = 委托 / 出差单(和小游戏界面同一套墨线纸面)。
   特色做成一块可以切换的展台,截图做成两条反向滚动的胶片,小游戏做成一张「临时出差单」。 */
:root {
  --bg: #0d0f1a; --bg2: #141729; --bg3: #1b1f38; --line: #2b3050; --text: #ece8dc; --mute: #a4a8bf;
  --gold: #f0b84a; --rift: #57c8ff; --red: #d8483e;
  --paper: #f4ead3; --paper2: #e9dcbd; --ink: #24141c;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --w: 1200px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--rift); outline-offset: 3px; }
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.mark { width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); display: inline-block; box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 14px var(--rift); flex: 0 0 auto; }

/* 进场:只有脚本确认能动之后才先藏起来(脚本没跑 = 内容照常可见) */
.rv-ready [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv-ready [data-rv].in { opacity: 1; transform: none; }

/* ---------- 顶部进度线 / 顶栏 */
.progress { position: fixed; z-index: 60; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--rift)); transform: scaleX(0); transform-origin: 0 50%; }
.nav { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(13, 15, 26, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand:hover .mark { animation: spin .6s var(--ease); }
.brand b { font: 700 20px var(--serif); letter-spacing: .08em; }
.brand i, .fl i { font: 600 10px var(--sans); letter-spacing: .22em; color: var(--mute); font-style: normal; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.links a { position: relative; padding: 6px 0; color: #d9d6cc; white-space: nowrap; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .25s var(--ease); }
.links a:hover, .links a.on { color: #fff; } .links a:hover::after, .links a.on::after { right: 0; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button { padding: 3px 9px; font-size: 13px; color: var(--mute); transition: background .15s, color .15s; }
.lang button:hover { color: #fff; }
.lang button.on { background: var(--text); color: var(--bg); font-weight: 700; }

/* 右侧章节点 */
.pips { position: fixed; z-index: 40; right: 22px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.pips a { position: relative; width: 12px; height: 12px; display: block; }
.pips a::before { content: ""; position: absolute; inset: 1px; border: 1.5px solid rgba(236, 232, 220, .55); transform: rotate(45deg); transition: background .2s, border-color .2s, transform .25s var(--ease); }
.pips a:hover::before { border-color: var(--gold); transform: rotate(45deg) scale(1.25); }
.pips a.on::before { background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.3); box-shadow: 0 0 12px rgba(240, 184, 74, .7); }
.pips a span { position: absolute; right: 24px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font-size: 12.5px; font-weight: 700; padding: 2px 9px; background: var(--gold); color: #1a1205; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.pips a:hover span { opacity: 1; transform: translate(0, -50%); }
.pips.onpaper a::before { border-color: rgba(36, 20, 28, .6); } .pips.onpaper a.on::before { background: var(--red); border-color: var(--ink); box-shadow: none; }

/* 回到顶部 */
.totop { position: fixed; z-index: 45; right: 22px; bottom: 26px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: #1a1205; box-shadow: 4px 4px 0 #6b4a0c; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease), box-shadow .12s; }
.totop.vis { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { transform: translate(-2px, -3px); box-shadow: 6px 7px 0 #6b4a0c; }
.totop svg { width: 24px; height: 24px; }

/* ---------- 按钮 */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; font-weight: 700; font-size: 16px; white-space: nowrap; transition: transform .12s, box-shadow .12s, background .15s, border-color .15s; }
.btn.sm { padding: 8px 16px; font-size: 14px; }
.btn.steam { background: var(--gold); color: #1a1205; box-shadow: 4px 4px 0 #6b4a0c; }
.btn.steam:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #6b4a0c; }
.btn.steam::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); }
.btn.steam:hover::after { animation: shine .7s ease-out; }
.btn.ghost { border: 2px solid rgba(236, 232, 220, .55); color: var(--text); padding: 11px 24px; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(240, 184, 74, .08); transform: translateY(-2px); }
.btn.ink { background: var(--red); color: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: 19px; padding: 13px 34px; overflow: visible; }
.btn.ink:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

/* ---------- 首屏 */
.hero { position: relative; }
.hero .art { position: relative; height: min(32.4vw, 78vh); min-height: 300px; overflow: hidden; }
.hero .art img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; transform: translate3d(0, var(--py, 0px), 0) scale(1.02); animation: drift 26s ease-in-out infinite alternate; will-change: transform; }
.hero .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 15, 26, .55) 0, rgba(13, 15, 26, 0) 22%, rgba(13, 15, 26, 0) 55%, var(--bg) 100%); pointer-events: none; }
.headline { position: relative; margin: -92px auto 0; max-width: var(--w); padding: 0 24px 40px; text-align: center; }
.headline .en { margin: 0; font: 700 14px var(--sans); letter-spacing: .5em; text-indent: .5em; color: var(--gold); animation: rise .8s var(--ease) both .1s; }
.headline h1 { margin: 2px 0 10px; font: 900 clamp(52px, 7.2vw, 96px)/1.15 var(--serif); letter-spacing: .12em; text-indent: .12em; text-shadow: 0 4px 0 rgba(0, 0, 0, .55), 0 0 40px rgba(13, 15, 26, .9); }
.headline h1 span { display: inline-block; animation: letter .9s var(--ease) both; animation-delay: calc(.18s + var(--i) * .07s); white-space: pre; }
html[lang=en] .headline h1 { font-size: clamp(40px, 5.6vw, 78px); letter-spacing: .02em; text-indent: 0; }
html[lang=en] .headline h1 span { animation-delay: calc(.18s + var(--i) * .025s); }
html[lang=en] .brand b, html[lang=en] .fl b, html[lang=en] .sh h2, html[lang=en] .show-text h3 { letter-spacing: .01em; }
.headline .tag { max-width: 760px; margin: 0 auto 28px; color: #d5d2c6; font-size: 17px; animation: rise .8s var(--ease) both .55s; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; animation: rise .8s var(--ease) both .7s; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; list-style: none; margin: 30px 0 0; padding: 0; color: var(--mute); font-size: 14px; animation: rise .8s var(--ease) both .85s; }
.facts li + li::before { content: "◆"; font-size: 8px; margin: 0 14px; color: var(--gold); vertical-align: middle; }
.cue { display: block; width: 26px; height: 42px; margin: 0 auto 26px; border: 2px solid rgba(236, 232, 220, .4); border-radius: 14px; position: relative; }
.cue span { position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; background: var(--gold); transform: rotate(45deg); animation: cue 1.8s ease-in-out infinite; }

/* ---------- 数字条 */
.stats { max-width: var(--w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 12px 22px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.stat b { display: block; font: 900 46px/1.1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat b small { font-size: .5em; margin-left: 3px; }
.stat > span { font-size: 14.5px; color: var(--mute); }

/* ---------- 小节 */
.sec { padding: 96px 24px; position: relative; }
.sec > * { max-width: var(--w); margin-left: auto; margin-right: auto; }
.sh { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 20px; margin-bottom: 44px; }
.sh .eb { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 12px; font: 700 12.5px var(--sans); letter-spacing: .34em; color: var(--gold); }
.sh .eb::before { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.sh .eb::after { content: ""; flex: 0 0 64px; height: 1px; background: currentColor; opacity: .6; }
.sh h2 { margin: 0; font: 900 40px/1.2 var(--serif); letter-spacing: .06em; text-wrap: balance; }
.sh .more { font-size: 14px; font-weight: 700; border-bottom: 2px solid currentColor; transition: color .15s; }
.sh .more:hover { color: var(--red); }

/* 关于:文字 + 预告片 */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.about .txt p { margin: 0 0 16px; color: #d3d0c5; }
.about .txt p:first-child { font: 700 21px/1.7 var(--serif); color: var(--text); }
.frame { position: relative; perspective: 900px; }
.frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold); opacity: .75; transition: inset .3s var(--ease); }
.frame:hover::before { inset: 20px -20px -20px 20px; }
.vbtn { position: relative; display: block; width: 100%; padding: 0; transition: transform .2s ease-out; transform-style: preserve-3d; will-change: transform; }
.vbtn img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #05060c; }
.vbtn .ring { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px; border-radius: 50%; background: rgba(13, 15, 26, .72); border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); transition: transform .2s var(--ease), background .2s; }
.vbtn .ring svg { width: 40px; height: 40px; margin-left: 5px; }
.vbtn .ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.2s ease-out infinite; }
.vbtn:hover .ring { transform: scale(1.12); background: var(--gold); color: #1a1205; }

/* ---------- 特色展台 */
.show { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 0; background: var(--bg2); border: 1px solid var(--line); }
.show-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.st { position: relative; flex: 1 1 0; display: flex; align-items: center; gap: 14px; padding: 8px 20px; text-align: left; color: var(--mute); border-bottom: 1px solid var(--line); transition: color .2s, background .2s, padding .25s var(--ease); min-height: 48px; }
.st:last-child { border-bottom: 0; }
.st i { font: 700 12px var(--sans); font-style: normal; letter-spacing: .08em; color: #6d7392; font-variant-numeric: tabular-nums; transition: color .2s; }
.st span { font: 700 17px var(--serif); letter-spacing: .04em; }
.st:hover { color: #fff; background: rgba(255, 255, 255, .03); padding-left: 26px; }
.st.on { color: #fff; background: var(--bg3); padding-left: 26px; }
.st.on i { color: var(--gold); }
.st::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform .25s var(--ease); }
.st.on::before { transform: scaleY(1); }
.st .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rift); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; }
.st.on .bar { opacity: 1; }
.show-stage { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); min-height: 420px; }   /* 影片那一格尽量接近 16:9(片段是 1280×720,格子太方会把两边裁掉很多) */
.show-video { position: relative; background: #05060c center/cover no-repeat; overflow: hidden; min-height: 100%; }
.show-video video { position: absolute; inset: 0; }
.show-video video { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.show-video video.sw { opacity: 0; }
.clipdots { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.clipdots button { width: 74px; aspect-ratio: 16/9; padding: 0; border: 2px solid rgba(255, 255, 255, .5); background: #000 center/cover; opacity: .7; transition: opacity .15s, border-color .15s, transform .15s; }
.clipdots button:hover { opacity: 1; transform: translateY(-3px); }
.clipdots button.on { opacity: 1; border-color: var(--gold); }
.show-text { padding: 30px 32px 22px; display: flex; flex-direction: column; min-width: 0; }
.show-text h3 { margin: 0 0 14px; font: 900 30px/1.25 var(--serif); letter-spacing: .05em; }
.show-text .body { color: #d3d0c5; font-size: 15.5px; }
.show-text .body p { margin: 0 0 12px; } .show-text .body ul { margin: 0 0 12px; padding-left: 1.2em; } .show-text .body li::marker { color: var(--gold); }
.show-text.sw h3, .show-text.sw .body { animation: swap .45s var(--ease) both; } .show-text.sw .body { animation-delay: .06s; }
.show-nav { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.show-nav button { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--text); transition: border-color .15s, color .15s, background .15s; }
.show-nav button:hover { border-color: var(--gold); color: var(--gold); background: rgba(240, 184, 74, .08); }
.show-nav .count { margin-left: auto; font: 700 13px var(--sans); letter-spacing: .12em; color: var(--mute); font-variant-numeric: tabular-nums; }

/* 没有影片的系统:卡片(鼠标所在处亮一块) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.card { position: relative; padding: 22px 22px 18px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -40%), rgba(240, 184, 74, .16), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(.18); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: #4a4f78; }
.card:hover::before { opacity: 1; } .card:hover::after { transform: scaleX(1); }
.card svg { width: 38px; height: 38px; color: var(--gold); margin-bottom: 10px; display: block; }
.card svg path { stroke-dasharray: 120; stroke-dashoffset: 0; }
.card:hover svg path { animation: draw .9s var(--ease); }
.card h3 { margin: 0 0 8px; font: 900 20px var(--serif); letter-spacing: .04em; position: relative; }
.card p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.75; color: #c4c2ba; position: relative; }

/* ---------- 截图:两条反向滚动的胶片 */
.sec.wide { padding-left: 0; padding-right: 0; overflow: hidden; }
.sec.wide > .sh { padding: 0 24px; }
.reel { max-width: none !important; display: grid; gap: 14px; }
.reel .row { display: flex; gap: 14px; width: max-content; animation: marq 70s linear infinite; }
.reel .row.rev { animation-direction: reverse; animation-duration: 82s; }
.reel:hover .row { animation-play-state: paused; }
.reel button { position: relative; flex: 0 0 auto; width: min(430px, 72vw); padding: 0; overflow: hidden; outline: 1px solid var(--line); }
.reel img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s var(--ease), filter .3s; filter: saturate(.92) brightness(.9); }
.reel button::after { content: ""; position: absolute; inset: 0; border: 0 solid var(--gold); transition: border-width .2s; pointer-events: none; }
.reel button:hover img { transform: scale(1.07); filter: none; }
.reel button:hover::after { border-width: 3px; }

/* ---------- 纸面小节(公告 / 临时出差) */
.paper { background: var(--paper); color: var(--ink); }
#news { clip-path: polygon(0 34px, 30% 0, 55% 26px, 100% 0, 100% 100%, 0 100%); padding-top: 124px; margin-top: -8px; }
.paper + .paper { padding-top: 10px; }
#play { clip-path: polygon(0 0, 100% 0, 100% 100%, 70% calc(100% - 30px), 42% 100%, 0 calc(100% - 26px)); padding-bottom: 130px; margin-bottom: -30px; z-index: 1; }
.paper .sh .eb { color: #8a5a1c; } .paper .sh .eb::before { background: var(--red); }
.newslist { display: grid; gap: 22px; }
.news { display: grid; grid-template-columns: 400px 1fr; background: #fbf5e4; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); text-align: left; width: 100%; padding: 0; transition: transform .15s, box-shadow .15s; }
.news:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.news .pic { overflow: hidden; border-right: 3px solid var(--ink); }
.news img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s var(--ease); }
.news:hover img { transform: scale(1.05); }
.news .nb { padding: 22px 28px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news time { font: 700 13px var(--sans); letter-spacing: .1em; color: #8a5a1c; }
.news h3 { margin: 0; font: 900 24px/1.35 var(--serif); }
.news p { margin: 0; font-size: 15px; color: #54404a; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news .go { margin-top: auto; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.news .go::after { content: "→"; transition: transform .2s var(--ease); }
.news:hover .go::after { transform: translateX(6px); }

/* 临时出差:左边游戏画面,右边一张出差单 */
.playbox { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: stretch; }
.stage { position: relative; aspect-ratio: 16/9; background: #0b0c14; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); overflow: hidden; align-self: start; }
.stage .poster, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.stage .poster { animation: drift 20s ease-in-out infinite alternate; }
.stage .cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: linear-gradient(180deg, rgba(36, 20, 28, .1), rgba(36, 20, 28, .58)); }
.stage .pt { margin: 0; font: 900 clamp(26px, 3.4vw, 44px) var(--serif); color: #fff; letter-spacing: .1em; text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink); }
.btn.go::before { content: ""; position: absolute; inset: -9px; border: 3px solid #fff; opacity: 0; animation: pulse2 1.8s ease-out infinite; pointer-events: none; }
.stage .local { margin: 0; padding: 6px 14px; background: var(--paper); border: 2px solid var(--ink); font-size: 14px; font-weight: 700; }
.stage:fullscreen { border: 0; box-shadow: none; }
/* 全屏提示条:长按 Esc 退出全屏(进全屏 / 每次按 Esc 时从上面落下来;按住时底下的进度线走满;点它也退出) */
.fs-hint { position: absolute; left: 50%; top: 26px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 24px 15px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); font: 800 clamp(18px, 1.55vw, 26px)/1.2 var(--sans); letter-spacing: .05em; white-space: nowrap; cursor: pointer; overflow: hidden; opacity: 0; transform: translate(-50%, -160%); pointer-events: none; transition: opacity .25s, transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.fs-hint[hidden] { display: none; }
.fs-hint.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fs-hint kbd { padding: 3px 12px 4px; background: var(--ink); color: var(--paper); border-radius: 6px; font: inherit; box-shadow: 0 4px 0 rgba(36, 20, 28, .4); animation: fskey 1.1s ease-in-out infinite; }
.fs-hint.hold kbd { animation: none; transform: translateY(3px); box-shadow: 0 1px 0 rgba(36, 20, 28, .4); background: var(--red); }
.fs-bar { position: absolute; left: 0; bottom: 0; height: 6px; width: 0; background: var(--red); }
.fs-hint.hold .fs-bar { width: 100%; transition: width 1.6s linear; }
.fs-hint.nolock .fs-bar { display: none; }
@keyframes fskey { 50% { transform: translateY(3px); box-shadow: 0 1px 0 rgba(36, 20, 28, .4); } }
.slip { position: relative; padding: 24px 24px 22px; background: #fbf5e4; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); display: flex; flex-direction: column; min-height: 100%; }
.slip-h { margin: 0 0 8px; font: 800 12.5px var(--sans); letter-spacing: .3em; color: #8a5a1c; }
.slip h3 { margin: 0 0 8px; font: 900 24px/1.3 var(--serif); }
.slip-p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.75; }
.slip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; font-size: 14.5px; border-top: 2px solid var(--ink); }
.slip dt, .slip dd { margin: 0; padding: 7px 0; border-bottom: 1.5px dashed rgba(36, 20, 28, .35); }
.slip dt { font-weight: 800; color: #8a5a1c; white-space: nowrap; } .slip dd { font-weight: 700; }
.stamp { position: absolute; right: 18px; bottom: 16px; width: 92px; height: 92px; border: 3px solid var(--red); border-radius: 50%; display: grid; place-items: center; color: var(--red); font: 900 25px var(--serif); letter-spacing: .08em; transform: rotate(14deg); opacity: .88; box-shadow: inset 0 0 0 3px #fbf5e4, inset 0 0 0 5px var(--red); pointer-events: none; }
.rv-ready .playbox .stamp { opacity: 0; } .rv-ready .playbox.in .stamp { animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) both .55s; }
html[lang=en] .stamp { font-size: 13.5px; letter-spacing: 0; }
.slip dl { margin-bottom: 180px; }   /* 下面留给「全屏 / 退出」一行 + 右下角的印章 */
.slip .bar { display: flex; gap: 10px; margin-top: -162px; padding-top: 0; }
.tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: #fff8e6; color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-size: 15px; font-weight: 800; transition: transform .12s, box-shadow .12s; }
.tool:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* ---------- 愿望单 */
.wish { position: relative; padding: 0; overflow: hidden; }
.wish > * { max-width: none; }
.wishart { position: absolute; inset: -12% 0; }
.wishart img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.wishart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 15, 26, .96) 0, rgba(13, 15, 26, .9) 42%, rgba(13, 15, 26, .35) 100%); }
.wishbody { position: relative; max-width: var(--w) !important; margin: 0 auto; padding: 130px 24px 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.wishbody h2 { margin: 0; font: 900 40px/1.25 var(--serif); letter-spacing: .05em; }
.wishbody p { margin: 0; max-width: 560px; color: #d5d2c6; }
.wishbody iframe { max-width: 100%; background: #1b2838; }

/* ---------- 配置 */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.spec { border: 1px solid var(--line); background: var(--bg2); transition: border-color .2s, transform .25s var(--ease); }
.spec:hover { border-color: #4a4f78; transform: translateY(-4px); }
.spec h3 { margin: 0; padding: 12px 20px; font: 900 18px var(--serif); letter-spacing: .08em; border-bottom: 1px solid var(--line); color: var(--gold); }
.spec dl { margin: 0; padding: 10px 20px 14px; display: grid; grid-template-columns: 92px 1fr; gap: 6px 14px; font-size: 14.5px; }
.spec dt { color: var(--mute); } .spec dd { margin: 0; }

/* ---------- 页脚 */
.foot { padding: 44px 24px 54px; border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 16px; text-align: center; }
.fl { display: flex; align-items: center; gap: 10px; } .fl b { font: 700 18px var(--serif); letter-spacing: .08em; }
.fm { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 14.5px; }
.fm a { border-bottom: 1px solid var(--line); transition: border-color .15s, color .15s; } .fm a:hover { border-color: var(--gold); color: #fff; }
.legal { margin: 0; font-size: 12.5px; line-height: 1.9; color: #7c8098; }

/* ---------- 弹层(预告片 / 截图 / 公告全文) */
.modal { position: fixed; z-index: 100; inset: 0; background: rgba(5, 6, 12, .93); display: flex; align-items: center; justify-content: center; padding: 56px 72px; animation: fade .2s both; }
.modal[hidden] { display: none; }
.mx { position: absolute; right: 18px; top: 14px; font-size: 26px; color: #fff; padding: 8px; transition: transform .2s var(--ease), color .15s; }
.mx:hover { transform: rotate(90deg); color: var(--gold); }
.mnav { position: absolute; top: 50%; transform: translateY(-50%); font: 300 64px/1 var(--sans); color: #fff; padding: 10px 18px; opacity: .7; transition: opacity .15s, color .15s; }
.mnav:hover { opacity: 1; color: var(--gold); } .mnav.prev { left: 6px; } .mnav.next { right: 6px; }
.mbody { width: 100%; max-height: 100%; display: flex; justify-content: center; align-items: center; animation: pop .3s var(--ease) both; }
.mbody > video, .mbody > img { max-width: 100%; max-height: calc(100vh - 112px); background: #000; outline: 1px solid var(--line); }
.article { width: min(860px, 100%); max-height: calc(100vh - 112px); overflow-y: auto; background: #fbf5e4; color: var(--ink); border: 3px solid var(--ink); }
.article > img { width: 100%; border-bottom: 3px solid var(--ink); }
.article .ab { padding: 26px 38px 34px; }
.article time { font: 700 13px var(--sans); letter-spacing: .1em; color: #8a5a1c; }
.article h1 { margin: 4px 0 18px; font: 900 30px/1.35 var(--serif); }
.article h2 { margin: 26px 0 10px; font: 900 22px var(--serif); }
.article h3 { margin: 18px 0 6px; font: 800 17px var(--sans); }
.article p { margin: 0 0 12px; } .article ul { margin: 0 0 12px; padding-left: 1.3em; }
.article hr { border: 0; border-top: 2px dashed #c9b88f; margin: 22px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.article th, .article td { border: 2px solid var(--ink); padding: 7px 12px; text-align: left; vertical-align: top; }
.article th, .article td:first-child { white-space: nowrap; }
.article th { background: var(--paper2); }
.article blockquote { margin: 0 0 14px; padding: 14px 20px; background: var(--paper2); border-left: 5px solid var(--ink); }
.article blockquote p:last-child { margin: 0; }
.article .src { display: inline-block; margin-top: 10px; font-weight: 800; border-bottom: 2px solid var(--ink); }

/* ---------- 动效 */
@keyframes spin { to { transform: rotate(225deg); } }
@keyframes shine { to { left: 130%; } }
@keyframes drift { from { transform: translate3d(0, var(--py, 0px), 0) scale(1.02); } to { transform: translate3d(-1.2%, var(--py, 0px), 0) scale(1.07); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes letter { from { opacity: 0; transform: translateY(.5em) rotate(6deg); filter: blur(6px); } }
@keyframes cue { 0% { transform: translateY(0) rotate(45deg); opacity: 0; } 30% { opacity: 1; } 80%, 100% { transform: translateY(18px) rotate(45deg); opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pulse2 { 0% { transform: scale(.94); opacity: .7; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes swap { from { opacity: 0; transform: translateX(22px); } }
@keyframes draw { from { stroke-dashoffset: 120; } }
@keyframes marq { to { transform: translateX(calc(-50% - 7px)); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(2.4); } 100% { opacity: .88; transform: rotate(14deg) scale(1); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- 进站动画:Pinnah Studio 标志 → 菱形裂口张开,露出官网
   时间轴(秒):0 一道裂隙横线划开 → 0.35 菱形外框画出来 → 0.8 山峰(Pinnah = 顶峰)画出来 → 1.2 峰顶的裂隙晶体弹出
              → 1.25 PINNAH 六个字母逐个画出来 → 1.75 STUDIO 收拢淡入 → 2.35 标志放大淡出,菱形裂口从中心张开到整屏 → 3.2 结束。
   只在每次打开网站的第一个页面放一遍(sessionStorage),带 #锚点进来 / 系统设了「减少动态效果」不放;点一下、按任意键、滚轮都能跳过(js/site.js)。
   首屏自己的进场动画先停着(html.intro-on),裂口张开那一刻才开始,不然会在遮罩后面白白放完。 */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; cursor: pointer; animation: introGone 0s linear 3.3s forwards; }
.no-intro .intro { display: none; }
.intro.skip { opacity: 0; transition: opacity .28s; }
html.intro-on .hero * { animation-play-state: paused !important; }
.intro-hole { position: absolute; left: 50%; top: var(--hy, 50%); width: .02px; height: .02px; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 0 var(--gold), 0 0 0 220vmax var(--bg); animation: introHole .85s cubic-bezier(.7, 0, .2, 1) 2.35s forwards; }
.intro-line { position: absolute; left: 6vw; right: 6vw; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--rift) 70%, transparent); transform: scaleX(0); animation: introLine 1.05s var(--ease) forwards; }
.intro-logo { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; animation: introLogoOut .45s ease-in 2.25s forwards; }
.intro-mark { width: clamp(110px, 21vmin, 210px); height: auto; overflow: visible; margin-bottom: clamp(22px, 4vmin, 42px); }
.intro-mark path, .intro-word path { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-mark .d { stroke: var(--gold); stroke-width: 3; stroke-linejoin: miter; animation: introDraw .75s var(--ease) .35s forwards; }
.intro-mark .pk { stroke: var(--paper); stroke-width: 5; stroke-linejoin: miter; stroke-linecap: square; animation: introDraw .55s var(--ease) .8s forwards; }
.intro-mark .gem { fill: var(--rift); stroke: none; stroke-dasharray: none; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: introPop .42s cubic-bezier(.3, 1.8, .5, 1) 1.2s forwards; filter: drop-shadow(0 0 8px rgba(87, 200, 255, .75)); }
.intro-word { width: clamp(210px, 32vw, 460px); height: auto; overflow: visible; }
.intro-word path { stroke: var(--paper); stroke-width: 5; stroke-linecap: square; stroke-linejoin: miter; animation: introDraw .5s var(--ease) forwards; animation-delay: calc(1.25s + var(--i) * .07s); }
.intro-sub { margin: clamp(14px, 2.4vmin, 24px) 0 0; font: 700 clamp(12px, 1.5vw, 19px) var(--sans); letter-spacing: 1em; text-indent: 1em; color: var(--gold); opacity: 0; animation: introSub .55s var(--ease) 1.75s forwards; }
@keyframes introGone { to { visibility: hidden; pointer-events: none; } }
@keyframes introLine { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes introDraw { to { stroke-dashoffset: 0; } }
@keyframes introPop { to { transform: scale(1); } }
@keyframes introSub { from { opacity: 0; letter-spacing: 1.7em; text-indent: 1.7em; } to { opacity: 1; letter-spacing: 1em; text-indent: 1em; } }
@keyframes introLogoOut { to { opacity: 0; transform: scale(1.22); } }
@keyframes introHole { 0% { width: .02px; height: .02px; box-shadow: 0 0 0 3px var(--gold), 0 0 0 220vmax var(--bg); } 100% { width: 150vmax; height: 150vmax; box-shadow: 0 0 0 3px var(--gold), 0 0 0 220vmax var(--bg); } }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reel .row { width: auto; overflow-x: auto; }
}

/* ---------- 窄屏 */
@media (max-width: 1100px) { .pips { display: none; } }
@media (max-width: 1000px) {
  .links { display: none; } .lang { margin-left: auto; } .brand i { display: none; }
  .about, .playbox, .specs { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3)::before { display: none; } .stat b { font-size: 36px; }
  .show { grid-template-columns: 1fr; } .show-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .st { flex: 0 0 auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 12px 16px; } .st:hover, .st.on { padding-left: 16px; } .st::before { width: auto; height: 3px; right: 0; bottom: auto; transform: scaleX(0); } .st.on::before { transform: scaleX(1); }
  .show-stage { grid-template-columns: 1fr; min-height: 0; } .show-video { aspect-ratio: 16/9; min-height: 0; } .show-text { padding: 22px 20px 18px; } .show-text h3 { font-size: 26px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; } .news .pic { border-right: 0; border-bottom: 3px solid var(--ink); }
  .sec { padding: 64px 18px; } .sh h2, .wishbody h2 { font-size: 30px; } .wishbody { padding: 90px 18px 64px; } .headline { margin-top: -40px; }
  #news { padding-top: 92px; } #play { padding-bottom: 100px; }
  .modal { padding: 52px 10px; } .mnav { font-size: 44px; padding: 6px; }
  .frame::before { inset: 8px -8px -8px 8px; } .totop { right: 14px; bottom: 16px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; } .nav { gap: 12px; padding: 0 12px; } .nav .btn.sm span { display: none; } .article .ab { padding: 18px; }
  .facts { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 4px 26px; } .facts li + li::before { display: none; } .article td:first-child { white-space: normal; }
  .sh { grid-template-columns: 1fr; } .clipdots button { width: 56px; }
}
