/* Brush with Temptation — 介紹網頁
   美術跟遊戲 UI（game/assets/ui、game/ui_kit.gd）：深海軍藍＋細金邊＋米色畫紙、白鳥校徽、紅印章、藍色水彩筆刷。
   字型跟遊戲：源泉圓體（內文、標題）＋清松手寫體（便利貼）。 */

:root {
  color-scheme: light;
  --navy-900: #0a1126;
  --navy-800: #0d1733;
  --navy-700: #15234a;
  --navy-600: #1d3366;
  --navy-500: #27427f;
  --gold: #dcc08a;
  --gold-2: #b8925a;
  --gold-3: #8a6833;
  --cream: #f6efe2;
  --paper: #f3ead9;
  --page: #fbf6ec;
  --ink: #1b2547;
  --text: #2b2f45;
  --muted: #676b80;
  --sky: #8cbcff;
  --name: #cfe0ff;
  --seal: #c4433a;
  --line: rgba(27, 37, 71, .16);
  --gold-grad: linear-gradient(135deg, #f3dca3 0%, #b88f4f 28%, #f7e5ae 50%, #a27a3c 74%, #e8cb8a 100%);

  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-body: "GenSen", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif;
  --f-hand: "JasonHand", "GenSen", cursive;
  --lh: 1.85;
}
.lang-en { --lh: 1.7; }
.lang-ja {
  --f-body: "GenSen", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-hand: "JasonHandJa", "JasonHand", "GenSen", cursive;
}
.lang-zh-hans { --f-body: "GenSen", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper) var(--paper-img);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
svg { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.paper { background: var(--paper) var(--paper-img); }
.night {
  position: relative; isolation: isolate; overflow: hidden; color: #dfe5f5;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(63, 106, 168, .32), transparent 70%),
    linear-gradient(180deg, var(--navy-700), var(--navy-900));
}
/* 白鳥校徽水印（深藍校徽反白） */
.night::before, .story::before, .foot::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(760px, 90vw); aspect-ratio: 1; right: -12%; top: 6%;
  background: var(--crest-img) center / contain no-repeat;
  filter: brightness(0) invert(1); opacity: .045;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 6px; background: var(--navy-800); color: #fff;
  transition: top .2s;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- 金色飾線（跟評分單） ---------- */

.ornament { display: flex; align-items: center; gap: 10px; width: min(240px, 70%); margin: 18px auto 0; color: var(--gold-2); }
.ornament i { flex: 1; height: 5px; border-block: 1px solid currentColor; }
.ornament b { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.ornament b::before, .ornament b::after {
  content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  background: currentColor; transform: rotate(45deg);
}
.ornament b::before { left: -12px; }
.ornament b::after { right: -12px; }
.ornament-left { margin: 18px 0 30px; }
.night .ornament { color: var(--gold); }

/* ---------- buttons：遊戲選項（深藍膠囊＋金邊） ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 12px 24px; font-weight: 700; font-size: .95rem; line-height: 1.2;
  letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s, color .2s, background-color .2s;
}
.btn svg { fill: currentColor; stroke: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 32px 15px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-choice {
  position: relative; color: #fff; border-color: var(--gold);
  background: linear-gradient(180deg, #2a4a8c 0%, #1a3168 50%, #132654 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 3px rgba(10, 17, 38, .35), 0 12px 26px -14px rgba(8, 13, 26, .9);
}
.btn-choice::before {
  content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); margin-right: 2px;
}
.btn-choice:has(svg)::before { display: none; }
.btn-choice:hover {
  color: #fff; border-color: #f3dca3; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 3px rgba(10, 17, 38, .35), 0 0 0 4px rgba(220, 192, 138, .18), 0 16px 30px -14px rgba(8, 13, 26, .9);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- section heads ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-3);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
.night .eyebrow, .gallery .eyebrow, .closing .eyebrow { color: var(--gold); }

.sec-head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: .06em; }
.lang-en .sec-head h2 { letter-spacing: .01em; }
.night .sec-head h2, .gallery .sec-head h2 { color: var(--cream); }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- nav ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream); transition: background-color .3s, box-shadow .3s; }
.nav::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 17, 38, .62), rgba(10, 17, 38, 0));
  transition: opacity .3s;
}
.nav.is-solid, .page-press .nav, .page-404 .nav {
  background: rgba(13, 23, 51, .95);
  box-shadow: 0 1px 0 rgba(220, 192, 138, .45), 0 12px 30px -20px rgba(0, 0, 0, .6);
}
.nav.is-solid::before, .page-press .nav::before, .page-404 .nav::before { opacity: 0; }
.nav-in {
  width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto;
  height: 70px; display: flex; align-items: center; gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap;
  color: var(--cream); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
}
.nav-brand:hover { color: #fff; }
.nav-brand img { width: 40px; height: 40px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.nav-brand i { font-style: normal; font-weight: 400; color: var(--gold); }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a {
  position: relative; isolation: isolate; padding: 8px 14px;
  color: var(--cream); text-decoration: none; font-size: .92rem; font-weight: 700; white-space: nowrap; letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
/* 遊戲選單嘅藍色水彩筆刷 hover */
.nav-links a::before {
  content: ""; position: absolute; z-index: -1; left: -4px; right: -4px; top: 18%; bottom: 10%;
  background: var(--stroke-img) center / 100% 100% no-repeat;
  opacity: 0; transform: scaleX(.3); transform-origin: left center;
  transition: opacity .25s, transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a.is-here { color: #fff; }
.nav-links a:hover::before, .nav-links a.is-here::before { opacity: .9; transform: none; }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links + .nav-tools { margin-left: 0; }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(220, 192, 138, .7); background: rgba(10, 17, 38, .35);
  color: var(--cream); font-weight: 700; font-size: .85rem; cursor: pointer;
}
.lang-btn svg { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.lang-btn:hover { background: rgba(10, 17, 38, .6); border-color: var(--gold); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 6px; list-style: none;
  min-width: 170px; background: var(--navy-800); border: 1px solid rgba(220, 192, 138, .6); border-radius: 10px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
  animation: pop .18s var(--ease);
}
.lang-menu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--cream); font-size: .95rem; }
.lang-menu a:hover { background: rgba(140, 188, 255, .14); color: #fff; }
.lang-menu a[aria-current] { color: var(--gold); font-weight: 700; }
.lang-menu a[aria-current]::after { content: " ◆"; font-size: .7em; }

.nav-burger { display: none; }

@media (max-width: 980px) {
  .nav-burger {
    display: grid; place-content: center; gap: 6px; width: 42px; height: 42px;
    border: 1px solid rgba(220, 192, 138, .6); border-radius: 8px; background: rgba(10, 17, 38, .4); cursor: pointer;
  }
  .nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s var(--ease); }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 70px 0 auto; margin: 0; padding: 10px var(--gutter) 24px;
    flex-direction: column; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid rgba(220, 192, 138, .5);
    box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid rgba(220, 192, 138, .18); }
  .nav-links a::before { left: 0; right: auto; width: 60%; }
  .nav-cta { display: none; }
  .nav-links + .nav-tools { margin-left: auto; }
}
@media (max-width: 440px) { .nav-brand span { display: none; } }

/* ---------- 遊戲對話框（hero、角色台詞共用） ---------- */

.vn-box {
  position: relative; padding: 26px 34px 24px; color: #fff;
  background: linear-gradient(180deg, rgba(42, 74, 140, .94) 0%, rgba(26, 49, 104, .95) 45%, rgba(17, 33, 72, .96) 100%);
  border: 1.5px solid var(--gold); border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 4px rgba(10, 17, 38, .3), 0 20px 44px -20px rgba(0, 0, 0, .8);
}
.vn-name {
  position: absolute; top: -17px; left: 24px; padding: 3px 20px;
  background: linear-gradient(180deg, #2c4d92, #1a3168); border: 1.5px solid var(--gold); border-radius: 8px;
  color: var(--name); font-weight: 700; font-size: .95rem; letter-spacing: .1em;
}
.vn-line { margin: 0; font-size: 1.12rem; line-height: 1.85; white-space: pre-line; text-shadow: 0 2px 0 rgba(8, 13, 26, .55); }
.vn-next {
  position: absolute; right: 22px; bottom: 14px;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--gold);
  animation: bob 1.1s ease-in-out infinite;
}

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900);
  min-height: max(700px, 100svh); max-height: 1200px;
  display: grid; grid-template-rows: 1fr auto;
}
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 38%; animation: heroIn 1.4s var(--ease) both; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 17, 38, 0) 52%, rgba(10, 17, 38, .55) 80%, var(--navy-900) 100%);
}
.petals { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-in {
  width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; align-self: center;
  padding: 100px 0 26px;
}
.hero-in > * { max-width: 560px; }
.hero-logo { margin: 0 0 4px -12px; animation: rise 1.1s .25s var(--ease) both; }
.hero-logo img { width: min(540px, 44vw); filter: drop-shadow(0 10px 22px rgba(13, 23, 51, .35)); }
.hero-kicker {
  display: inline-block; margin: 0 0 22px; padding: 8px 30px;
  background: rgba(13, 23, 51, .86); color: var(--cream);
  font-weight: 700; font-size: .95rem; letter-spacing: .06em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 50%, 100% 100%, 0 100%, 13px 50%);
  box-shadow: inset 0 3px 0 -2px var(--gold), inset 0 -3px 0 -2px var(--gold);
  animation: rise 1s .4s var(--ease) both;
}
.hero-choices { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; animation: rise 1s .55s var(--ease) both; }
.hero-choices:empty { display: none; }
.sns.sns-hero { animation: rise 1s .7s var(--ease) both; margin-bottom: 26px; }
.hero-status { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; animation: rise 1s .85s var(--ease) both; }
.hero-status div {
  padding: 8px 16px; border-radius: 6px;
  background: rgba(13, 23, 51, .78); border: 1px solid rgba(220, 192, 138, .55);
}
.hero-status dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.hero-status dd { margin: 0; font-weight: 700; color: #fff; }
.hero-status .hero-early { margin-top: 3px; font-size: .8rem; font-weight: 700; }
.hero-early a { color: #ffb4a8; text-decoration: none; border-bottom: 1px dotted currentColor; }
.hero-early a:hover { color: #fff; }
.hero-box { width: min(1080px, 100% - 2 * var(--gutter)); margin: 0 auto 30px; animation: rise 1s 1s var(--ease) both; }
.hero-box .vn-line { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.vn-click { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: filter .2s; }
.vn-click:hover { filter: brightness(1.08); }
.vn-click:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hero-box .vn-click .vn-line { min-height: calc(2 * 1.85em); }
.vn-line .tw-rest { visibility: hidden; }

@media (max-width: 760px) {
  .hero { display: block; min-height: 0; max-height: none; }
  .hero-art { position: relative; aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; }
  .hero-art img { object-position: 48.6% 30%; } /* 凜身體中線（原圖 x≈49%，4:5 框換算 48.6%）置中（使用者 10-23） */
  .hero-art::after { background: linear-gradient(to bottom, rgba(10, 17, 38, 0) 60%, var(--navy-900) 99%); }
  .petals { height: 78svh; }
  .hero-in { margin-top: -26vw; padding: 0 0 26px; text-align: center; position: relative; }
  .hero-in > * { max-width: none; }
  .hero-logo { margin: 0 -6px 6px; }
  .hero-logo img { width: 100%; }
  .hero-choices { flex-direction: column; }
  .hero-choices .btn { width: 100%; }
  .sns.sns-hero { justify-content: center; flex-wrap: nowrap; gap: 6px; }
  .sns-hero li a { width: 40px; height: 40px; }
  .hero-status { justify-content: center; }
  .hero-status div { flex: 1 1 140px; }
  .hero-box { margin-bottom: 40px; }
  .hero-box .vn-box { padding: 24px 22px 22px; }
}

/* ---------- 社交 icon ---------- */

.sns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
/* 品牌色（使用者 10-23：彩色比黑白易認）；X、Threads 官方就係黑底白字 */
.sns-x_en, .sns-x_ja, .sns-threads { --brand: #000; }
.sns-bluesky { --brand: #1185fe; }
.sns-instagram { --brand: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sns-youtube { --brand: #ff0000; }
.sns-patreon { --brand: #ff424d; }
.sns-steam { --brand: linear-gradient(135deg, #111d2e, #1b4c7a); }
.sns a {
  position: relative; display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; background: var(--brand, var(--navy-800)); border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.sns svg { width: 19px; height: 19px; fill: currentColor; }
.sns a:hover { color: #fff; border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(220, 192, 138, .45), 0 10px 18px -8px rgba(0, 0, 0, .6); }
.sns-badge {
  position: absolute; right: -4px; bottom: -4px; padding: 1px 4px; border-radius: 4px;
  background: var(--gold); color: var(--navy-800); font-size: 9px; font-weight: 700; line-height: 1.3; letter-spacing: .04em;
}

/* 底部固定列（離開 hero 先出） */
.dock {
  position: fixed; z-index: 45; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  transform: translate(-50%, 0); transition: transform .45s var(--ease), opacity .3s;
}
.js .dock { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.js .dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sns-dock {
  flex-wrap: nowrap; gap: 8px; padding: 7px 12px;
  background: rgba(13, 23, 51, .92); border: 1px solid rgba(220, 192, 138, .65); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .7);
}
.sns-dock a { width: 38px; height: 38px; border-width: 1px; box-shadow: none; }
.sns-dock svg { width: 17px; height: 17px; }
@media (max-width: 640px) {
  .dock { left: 0; right: 0; bottom: 0; transform: none; }
  .js .dock { transform: translateY(110%); }
  .js .dock.is-on { transform: none; }
  .sns-dock {
    justify-content: space-around; border-radius: 0; border-width: 1px 0 0;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
  }
  body { padding-bottom: 54px; }
}

/* ---------- 金畫框＋說明牌 ---------- */

.frame {
  position: relative; display: block; margin: 0; padding: 9px;
  background: var(--gold-grad);
  box-shadow: 0 0 0 1px #6a4f22, inset 0 0 0 1px rgba(255, 244, 214, .6), 0 26px 46px -24px rgba(10, 17, 38, .75);
}
.frame > img { width: 100%; border: 6px solid #faf5ea; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.plaque {
  display: inline-block; margin: 16px auto 0; padding: 6px 16px; max-width: 92%;
  background: #f8f2e4; border: 1px solid rgba(184, 146, 90, .75); border-radius: 2px;
  color: var(--ink); font-size: .84rem; line-height: 1.55; text-align: center; letter-spacing: .02em;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45);
}
.exhibit { margin: 0; display: grid; justify-items: center; }
.exhibit .frame { width: 100%; }

/* ---------- story：入學手冊 ---------- */

.story { position: relative; isolation: isolate; overflow: hidden; padding: clamp(84px, 11vw, 150px) 0; }
.story::before { filter: none; opacity: .06; right: auto; left: -14%; top: 10%; }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.handbook {
  position: relative;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px) clamp(104px, 9vw, 124px) calc(clamp(28px, 4vw, 52px) + 52px);
  background: var(--page) var(--paper-img);
  box-shadow: inset 0 0 0 12px var(--page), inset 0 0 0 13px rgba(184, 146, 90, .7), inset 0 0 0 16px var(--page), inset 0 0 0 17px rgba(184, 146, 90, .45),
    0 34px 60px -34px rgba(13, 23, 51, .55), 0 2px 6px rgba(13, 23, 51, .08);
}
/* 手冊書脊（深藍＋金線＋金色校徽章） */
.handbook::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 46px;
  background:
    var(--medal-img) center 28px / 38px no-repeat,
    linear-gradient(90deg, transparent 0 34px, var(--gold-2) 34px 35px, transparent 35px 38px, var(--gold-2) 38px 39px, transparent 39px),
    linear-gradient(90deg, #142250, #1d3163 55%, #16264f);
}
.handbook > .eyebrow { margin-bottom: 14px; }
.story-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.5; letter-spacing: .04em; }
.lang-en .story-title { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: 0; }
.handbook > p:not(.eyebrow) { max-width: 34em; }
.story-punch { margin: 26px 0 0; }
.story-punch span {
  font-weight: 700; color: var(--ink); font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: .04em;
  padding: 0 6px 10px;
  background: var(--stroke-img) left bottom / 100% 42% no-repeat;
  text-shadow: 0 0 3px var(--paper), 0 0 6px var(--paper);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lang-ja :is(h1, h2, h3), .lang-ja .story-punch { word-break: auto-phrase; }
.handbook-seal {
  position: absolute; right: clamp(20px, 3vw, 36px); bottom: clamp(18px, 2.5vw, 30px); width: 92px; height: 92px;
  background: var(--seal-img) center / contain no-repeat; opacity: .82; transform: rotate(-9deg);
  mix-blend-mode: multiply; pointer-events: none;
}

.story-art { position: relative; padding-bottom: 26%; }
.story-art .exhibit { position: relative; }
.frame-a { transform: rotate(.8deg); }
.frame-b { position: absolute !important; width: 54%; left: -9%; bottom: -2%; transform: rotate(-3deg); }
.frame-b .plaque { font-size: .8rem; }
.js .frame-a.reveal { transform: translateY(24px) rotate(.8deg); }
.js .frame-a.reveal.is-in { transform: rotate(.8deg); }
.js .frame-b.reveal { transform: translateY(40px) rotate(-3deg); transition-delay: .15s; }
.js .frame-b.reveal.is-in { transform: rotate(-3deg); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-art { padding-bottom: 34%; margin-top: 8px; }
  .frame-b { width: 62%; left: auto; right: -2%; }
}
@media (max-width: 520px) {
  .handbook { padding-left: calc(22px + 40px); padding-right: 22px; }
  .handbook::before { width: 38px; background-size: 30px, auto, auto; background-position: center 24px, 0 0, 0 0; }
  .handbook-seal { width: 70px; height: 70px; }
}

/* ---------- characters ---------- */

.cast { padding: clamp(84px, 10vw, 130px) 0 clamp(70px, 8vw, 110px); }
.cast-tabs { --face: 110px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; margin-bottom: 18px; }
.cast-tab {
  display: grid; justify-items: center; align-content: start; gap: 8px; padding: 6px 4px; border: 0; background: none; cursor: pointer;
  color: rgba(223, 229, 245, .6); font-weight: 700; font-size: .85rem; letter-spacing: .03em;
  transition: color .2s, transform .25s var(--ease);
}
/* 分頁寫全名（使用者 10-23），長名換行 */
.cast-tab span { max-width: 7.5em; line-height: 1.35; text-align: center; }
.cast-tab img {
  width: var(--face); height: var(--face); border-radius: 50%; object-fit: cover;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 55%, #fff), color-mix(in srgb, var(--accent) 30%, var(--navy-600)));
  box-shadow: 0 0 0 2px rgba(220, 192, 138, .45), 0 0 0 5px var(--navy-800);
  filter: saturate(.75) brightness(.85);
  transition: box-shadow .25s, filter .25s;
}
.cast-tab:hover { color: var(--cream); transform: translateY(-2px); }
.cast-tab:hover img { filter: none; }
.cast-tab[aria-selected="true"] { color: var(--gold); }
.cast-tab[aria-selected="true"] img {
  filter: none;
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 5px var(--navy-800), 0 0 0 6.5px var(--gold), 0 0 28px rgba(220, 192, 138, .45);
}

.cast-panel {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 56px);
  min-height: 640px;
}
.js .cast-panel:not(.is-active) { display: none; }
.js .cast-panel.is-active { animation: panelIn .6s var(--ease); }

.cast-figure { position: relative; height: clamp(540px, 80vh, 820px); display: flex; justify-content: center; }
.cast-halo {
  position: absolute; z-index: -1; left: 50%; top: 5%; width: min(88%, 500px); aspect-ratio: 1; translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 42%, transparent) 0%, color-mix(in srgb, var(--accent) 12%, transparent) 50%, transparent 68%);
  box-shadow: inset 0 0 0 1px rgba(220, 192, 138, .35);
}
.cast-halo::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 1px solid rgba(220, 192, 138, .18);
}
.cast-sprite {
  position: relative; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
}
.cast-sprite.is-single { cursor: default; }
/* 葵：剪影＋問號（下篇先登場） */
.cast-tab { position: relative; }
.cast-q {
  position: absolute; top: 6px; left: 50%; width: var(--face); height: var(--face); translate: -50% 0;
  display: grid; place-content: center; pointer-events: none;
  font-style: normal; font-weight: 700; font-size: calc(var(--face) * .4); color: var(--gold);
  text-shadow: 0 0 10px rgba(10, 17, 38, .9), 0 2px 0 var(--navy-900);
}
.cast-sprite.is-silhouette img {
  filter: drop-shadow(0 0 1.5px rgba(214, 228, 255, .95)) drop-shadow(0 0 24px rgba(231, 166, 196, .5));
}
.cast-mystery { position: absolute; inset: 0; pointer-events: none; }
.cast-mystery i {
  position: absolute; font-style: normal; font-weight: 700; line-height: 1; color: var(--gold);
  text-shadow: 0 0 24px rgba(220, 192, 138, .55), 0 4px 0 var(--navy-900);
  animation: float 4s ease-in-out infinite alternate;
}
.cast-mystery i:nth-child(1) { font-size: clamp(5rem, 9vw, 8rem); left: 50%; top: 16%; translate: -50% 0; }
.cast-mystery i:nth-child(2) { font-size: clamp(2.4rem, 4vw, 3.4rem); left: 16%; top: 40%; opacity: .7; animation-delay: -1.3s; }
.cast-mystery i:nth-child(3) { font-size: clamp(3rem, 5vw, 4.4rem); right: 14%; top: 30%; opacity: .8; animation-delay: -2.6s; }
.cast-sprite img {
  position: absolute; left: 50%; top: 3%; translate: -50% 0;
  height: 116%; width: auto; max-width: none;
  opacity: 0; transition: opacity .45s ease, transform .6s var(--ease);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}
.cast-sprite.is-single img { height: 108%; }
.cast-sprite img.is-on { opacity: 1; }
.cast-sprite:hover img.is-on { transform: translateY(-6px); }
.cast-sprite.is-pop img.is-on { animation: pop .4s var(--ease); }
.cast-sprite:focus-visible { outline-offset: -6px; }
.cast-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 17, 38, .7); border: 1px solid rgba(220, 192, 138, .4);
}
.cast-dots i { width: 7px; height: 7px; background: rgba(223, 229, 245, .3); transform: rotate(45deg); transition: background-color .3s, transform .3s; }
.cast-dots i.is-on { background: var(--gold); transform: rotate(45deg) scale(1.3); }

.cast-info { max-width: 520px; }
.cast-role {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
  color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .24em;
}
.cast-role::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.cast-name { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: .1em; line-height: 1.25; margin-bottom: 8px; }
.lang-en .cast-name { letter-spacing: .02em; font-size: clamp(2.1rem, 3.8vw, 3.1rem); line-height: 1.1; }
.cast-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.cast-sub { color: color-mix(in srgb, var(--accent) 60%, #fff); letter-spacing: .16em; font-size: .92rem; }
.cast-age { font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 3px; border: 1px solid rgba(220, 192, 138, .6); color: var(--gold); }
.cast-desc { margin-bottom: 36px; color: rgba(231, 235, 247, .88); }
.vn-quote { margin-bottom: 18px; }
.vn-quote .vn-line { font-size: 1.02rem; font-weight: 700; padding-right: 10px; }
.cast-hint { font-size: .85rem; color: rgba(223, 229, 245, .55); margin: 0; }
.cast-hint::before { content: "✎ "; color: var(--gold); }

@media (max-width: 900px) {
  .cast-tabs {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none;
  }
  .cast-tabs::-webkit-scrollbar { display: none; }
  .cast-tab { scroll-snap-align: center; flex: none; }
  .cast-tabs { --face: 86px; gap: 10px 22px; }
  .cast-panel { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .cast-figure { height: min(118vw, 560px); }
  .cast-info { max-width: none; }
}

/* ---------- gameplay ---------- */

.play { padding: clamp(84px, 10vw, 130px) 0; }
.feat {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  margin-bottom: clamp(70px, 9vw, 120px);
}
.feat-rev { grid-template-columns: .85fr 1.15fr; }
.feat-rev .feat-shot { order: 2; }
.feat-cap {
  margin: 9px 0 0; padding: 9px 14px 10px; background: #f8f2e4; border: 1px solid rgba(184, 146, 90, .75);
  color: var(--ink); font-size: .84rem; line-height: 1.6; letter-spacing: .02em;
}
.feat-cap b {
  display: inline-block; margin-right: .6em; padding: 1px 9px; border-radius: 999px;
  background: var(--navy-800); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .06em;
}
.feat-no {
  display: grid; place-content: center; width: 54px; height: 54px; margin: 0 0 18px; border-radius: 50%;
  background: linear-gradient(180deg, #2a4a8c, #132654); border: 1.5px solid var(--gold);
  color: var(--gold); font-weight: 700; font-size: 1rem; letter-spacing: .06em; line-height: 1;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(184, 146, 90, .6);
}
.feat-text h3 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); margin-bottom: 14px; letter-spacing: .04em; }
.lang-en .feat-text h3 { letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 3px 12px; border-radius: 3px; font-size: .82rem; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(27, 37, 71, .28);
}

.sticky {
  position: absolute; top: 9%; right: 7%; width: 34%; aspect-ratio: 1 / .92;
  display: grid; place-content: center; padding: 6% 7%; text-align: center;
  background: linear-gradient(180deg, #ffe0ea, #ffd6e2 70%, #fbc8d8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 16px 26px -14px rgba(0, 0, 0, .55);
  transform: rotate(3deg); transform-origin: top center;
  font-family: var(--f-hand); color: #4b3a52; line-height: 1.35;
  animation: sway 6s ease-in-out infinite alternate;
}
.sticky::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 54%; height: 20px; margin-left: -27%;
  background: rgba(255, 255, 255, .55); transform: rotate(-2deg);
}
.sticky p { margin: 0; font-size: clamp(1.05rem, 2.1vw, 1.6rem); }
.sticky .sticky-sign { margin-top: .5em; text-align: right; font-size: .85em; opacity: .8; }

.langs {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px;
  margin: 0 auto; padding: 16px 20px; width: fit-content; max-width: 100%;
  border-block: 1px solid rgba(184, 146, 90, .6);
}
.langs-label { width: 100%; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .28em; color: var(--gold-3); margin-bottom: 4px; }
.langs a { padding: 4px 14px; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink); }
.langs a + a::before { content: "◆"; font-size: .55em; color: var(--gold-2); margin: 0 12px 0 -14px; vertical-align: middle; }
.langs a:hover { color: var(--navy-500); }
.langs a[aria-current] { color: var(--navy-500); text-decoration: underline; text-decoration-color: var(--gold-2); text-underline-offset: 6px; }

@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .feat-rev .feat-shot { order: 0; }
}

/* ---------- opening ---------- */

.opening { padding: clamp(90px, 11vw, 140px) 0; }
.opening .sec-head h2 { letter-spacing: .16em; }
.opening-gloss { margin: 18px 0 0; color: #b9c1e2; font-size: .95rem; }
.opening-gloss span { margin: 0 10px; color: var(--gold); }
.player {
  position: relative; max-width: 1040px; margin-inline: auto; aspect-ratio: 16 / 9; background: #000;
  border: 12px solid transparent; border-image: var(--gold-grad) 1;
  box-shadow: 0 0 0 1px #6a4f22, 0 40px 90px -30px #000;
}
.player video, .player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-cover {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  background-size: cover; background-position: center; color: #fff;
}
.player-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 38, .1), rgba(10, 17, 38, .6)); }
.player-btn {
  position: relative; display: grid; place-content: center; width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(180deg, rgba(42, 74, 140, .9), rgba(19, 38, 84, .9)); border: 1.5px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease);
}
.player-btn::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(220, 192, 138, .55);
  animation: ripple 2.4s ease-out infinite;
}
.player-btn svg { width: 34px; height: 34px; fill: var(--gold); margin-left: 4px; }
.player-label { position: relative; font-weight: 700; letter-spacing: .06em; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); display: grid; justify-items: center; gap: 2px; }
.player-label small { font-weight: 400; opacity: .8; font-size: .8rem; }
.player-cover:hover .player-btn { transform: scale(1.08); }
.player.is-playing .player-cover { display: none; }

/* ---------- gallery：畫展牆 ---------- */

.gallery {
  position: relative; padding: clamp(90px, 11vw, 140px) 0; color: var(--cream);
  background:
    radial-gradient(ellipse 55% 30% at 50% 0%, rgba(255, 236, 196, .14), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #1b284d, #111a36);
}
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 52px) clamp(22px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.shots .frame { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.shots .frame > img { aspect-ratio: 16 / 9; object-fit: cover; }
.shots .frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px #6a4f22, inset 0 0 0 1px rgba(255, 244, 214, .6), 0 0 34px rgba(255, 226, 160, .22), 0 34px 50px -24px #000;
}
/* 畫框上方射燈 */
.shots .exhibit::before {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; top: -34px; height: 70%;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 232, 180, .14), transparent 75%);
  pointer-events: none;
}
.shots .exhibit { position: relative; isolation: isolate; }
.js .shots li.reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .shots li.reveal:nth-child(3n) { transition-delay: .16s; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; } }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: rgba(8, 12, 28, .94); }
.lightbox img {
  max-width: min(92vw, 1600px); max-height: 80dvh; width: auto;
  border: 8px solid transparent; border-image: var(--gold-grad) 1;
  box-shadow: 0 30px 80px -20px #000; touch-action: pan-y; user-select: none;
}
.lb-cap {
  position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); margin: 0;
  display: flex; justify-content: center; gap: 16px; padding: 0 80px; text-align: center; font-size: .95rem; color: #dfe3f5;
}
.lb-count { color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-btn {
  position: absolute; display: grid; place-content: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(220, 192, 138, .6); background: rgba(13, 23, 51, .7); cursor: pointer;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(220, 192, 138, .25); }
.lb-btn svg { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; width: 22px; height: 22px; }
.lb-close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 64px; margin: 0; }
  .lb-cap { padding: 0 16px; bottom: 16px; flex-direction: column; gap: 2px; }
}

/* ---------- closing：黃昏校門 ---------- */

.closing {
  position: relative; isolation: isolate; overflow: hidden; color: var(--cream); text-align: center;
  min-height: clamp(560px, 80svh, 760px); display: grid; place-items: center; padding: 90px 0;
}
.closing-art { position: absolute; inset: 0; z-index: -1; }
.closing-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.closing-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(10, 17, 38, .55), rgba(10, 17, 38, .85));
}
.closing-in { display: grid; justify-items: center; }
.closing-medal { width: 92px; height: 92px; margin-bottom: 18px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.closing h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: .06em; text-shadow: 0 3px 16px rgba(0, 0, 0, .5); }
.closing-body { max-width: 30em; margin: 16px auto 26px; color: rgba(246, 239, 226, .9); }
.closing-steam { margin: 0 0 26px; }
.steam-soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 999px;
  background: rgba(13, 23, 51, .75); border: 1px dashed rgba(220, 192, 138, .8); color: var(--cream); font-weight: 700; font-size: .95rem;
}
.steam-soon svg { fill: var(--gold); width: 20px; height: 20px; }
.sns-closing { justify-content: center; gap: 12px; }
.sns-closing a { width: 52px; height: 52px; }
.sns-closing svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .sns.sns-closing { flex-wrap: nowrap; gap: 6px; }
  .sns-closing li a { width: 42px; height: 42px; }
  .sns-closing svg { width: 19px; height: 19px; }
}

/* ---------- footer ---------- */

.foot {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #c3c9e4; padding: 56px 0 44px; font-size: .92rem;
  border-top: 1px solid rgba(220, 192, 138, .5);
}
.foot::before { width: 420px; right: -80px; top: -60px; opacity: .035; }
.foot-in { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; gap: 24px; }
.foot-studio { display: flex; align-items: center; gap: 16px; }
.foot-studio img { border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--gold); }
.foot-studio p { margin: 0; }
.foot-team { color: #fff; font-weight: 700; }
.foot-adults { opacity: .75; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: #e2e6f7; text-decoration: none; }
.foot-links a:hover { color: var(--gold); text-decoration: underline; }
.foot-copy { margin: 0; opacity: .55; font-size: .85rem; }

/* ---------- language toast ---------- */

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: max(84px, calc(env(safe-area-inset-bottom) + 70px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  width: max-content; max-width: calc(100% - 32px); padding: 12px 14px 12px 20px;
  border-radius: 12px; background: var(--page); border: 1px solid var(--gold-2);
  box-shadow: 0 24px 50px -20px rgba(10, 17, 38, .6);
  transform: translate(-50%, 0); animation: toastIn .5s var(--ease);
}
.toast p { margin: 0; font-weight: 700; color: var(--ink); }

/* ---------- press ---------- */

.press-hero { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 80px; }
.press-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: .06em; margin-bottom: 16px; }
.lang-en .press-hero h1 { letter-spacing: .01em; }
.press-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.press-lead { color: rgba(223, 229, 245, .85); max-width: 30em; margin: 0; }
.press-logo { width: 100%; max-width: 540px; justify-self: end; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.press-body { max-width: 980px; padding-bottom: 110px; }
.press-sec { padding: 56px 0 8px; border-top: 1px solid rgba(184, 146, 90, .45); }
.press-sec:first-child { border-top: 0; }
.press-sec h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: .06em; margin-bottom: 24px; }
.press-sec h2::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 14px 0 2px; background: var(--gold-2); transform: rotate(45deg); vertical-align: middle; }
.press-sec h3 { font-size: 1.12rem; margin: 30px 0 12px; }
.press-big { font-size: 1.22rem; font-weight: 700; color: var(--ink); }
.press-quote { padding: 18px 22px; background: var(--page); border: 1px solid rgba(184, 146, 90, .6); box-shadow: inset 0 0 0 4px var(--page), inset 0 0 0 5px rgba(184, 146, 90, .3); }
.press-list { padding-left: 1.2em; }
.press-list li { margin-bottom: 10px; }
.press-list li::marker { color: var(--gold-2); }
.press-list b, .press-sec p b { color: var(--ink); }
/* 基本資料：跟遊戲評分單（深藍框、淡藍標題格） */
.facts { margin: 0; display: grid; border: 1.5px solid var(--navy-600); background: #fff; }
.facts div { display: grid; grid-template-columns: 220px 1fr; }
.facts div + div { border-top: 1px solid rgba(29, 51, 102, .55); }
.facts dt { padding: 12px 18px; font-weight: 700; color: var(--ink); background: #dfe6f3; border-right: 1px solid rgba(29, 51, 102, .55); }
.facts dd { margin: 0; padding: 12px 18px; }
.press-cast { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.press-cast li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.press-cast img {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--accent) 55%, #fff), color-mix(in srgb, var(--accent) 30%, var(--navy-600)));
  box-shadow: 0 0 0 2px var(--gold-2), 0 0 0 5px var(--paper), 0 0 0 6px rgba(184, 146, 90, .6);
}
.press-cast h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.press-cast small { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.press-cast p { margin: 0; }
.press-note { color: var(--muted); }
.press-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.press-shots img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border: 5px solid #faf5ea; outline: 1px solid rgba(184, 146, 90, .7); box-shadow: 0 14px 26px -16px rgba(10, 17, 38, .55); }
.press-shots p { margin: 10px 0 0; font-size: .88rem; line-height: 1.5; }
.press-dl { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.press-dl a {
  padding: 2px 10px; border-radius: 3px; border: 1px solid var(--navy-600); background: #fff;
  font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--ink);
}
.press-dl a:hover { background: var(--navy-600); color: #fff; }
.press-files { list-style: none; margin: 0; padding: 0; border: 1.5px solid var(--navy-600); background: #fff; }
.press-files li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; }
.press-files li + li { border-top: 1px solid rgba(29, 51, 102, .4); }
@media (max-width: 900px) {
  .press-hero-in { grid-template-columns: 1fr; }
  .press-logo { justify-self: start; order: -1; }
  .press-shots { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; }
  .facts dt { border-right: 0; }
}
@media (max-width: 520px) { .press-shots { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 120px var(--gutter) 60px; text-align: center; }
.sticky-lg { position: relative; inset: auto; width: 180px; margin-bottom: 20px; }
.sticky-lg p { font-size: 3rem; }
.nf-lang h1 { font-size: 1.25rem; margin-bottom: 6px; }
.nf-lang p { margin: 0; color: var(--muted); }

/* ---------- motion ---------- */

@keyframes heroIn { from { transform: scale(1.05); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes pop { 0% { transform: scale(.985); } 60% { transform: scale(1.015); } 100% { transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sway { from { transform: rotate(3deg); } to { transform: rotate(1deg); } }
@keyframes ripple { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes float { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-14px) rotate(4deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes toastIn { from { transform: translate(-50%, 24px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
