:root {
  color-scheme: dark;
  --ink: #121619;
  --ink-deep: #0d1114;
  --ink-lift: #1b2024;
  --paper: #eee5d1;
  --paper-ink: #2d2720;
  --white: #f7edda;
  --muted: #bcb6a8;
  --gold: #e1bb78;
  --line: #bd99614a;
  --serif: "Songti TC", "Noto Serif CJK TC", "PMingLiU", "Noto Serif TC", serif;
  --sans: "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font: 16px/1.76 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
p, figure, h1, h2, h3 { margin: 0; }
h1,h2,h3 { font-family: var(--serif); }
h2 { font-size: clamp(2.4rem, 5.15vw, 4.7rem); line-height: 1.19; letter-spacing: .025em; }
h3 { font-size: 1.65rem; line-height: 1.4; letter-spacing: .045em; }
:focus-visible { outline: 2px solid #eac680; outline-offset: 4px; }
.paper :focus-visible { outline-color: #784a24; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 16px; color: #171311; background: var(--gold); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 2; background: #111518; border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 1.45rem; font-weight: 750; line-height: 1; letter-spacing: .15em; }
.brand-seal { display: grid; width: 27px; height: 29px; place-items: center; padding-left: .1em; border: 1px solid #cc765b; border-radius: 2px; background: #843d2f; color: #f8ddbf; font-size: 1.02rem; }
.nav nav { display: flex; gap: clamp(20px, 4.5vw, 62px); font-size: .875rem; color: #ded5c4; }
.nav nav a, .nav-release { padding-block: 9px; }
.nav nav a:hover, .site-footer a:hover { color: var(--gold); }
.nav-release { justify-self: end; display: inline-flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--gold); border-bottom: 1px solid #987c54; }
.nav-release:hover { border-color: var(--gold); }
.hero { isolation: isolate; position: relative; min-height: clamp(580px, 48vw, 740px); background: #191e29; display: grid; align-items: center; overflow: hidden; }
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art { object-fit: cover; object-position: 60% 53%; }
.hero-shade {
  background:
    linear-gradient(90deg,#0c1017ef 0%,#0f131cba 27%,#0d121a40 53%,transparent 76%),
    linear-gradient(0deg,#0d1115f2 0%,#0d11152b 34%,transparent 69%,#10141b24);
}
.hero-content { padding-block: 70px 84px; }
.hero-copy { max-width: 465px; }
.eyebrow { color: var(--gold); display: flex; align-items: center; gap: 10px; font: 700 .77rem/1.45 var(--sans); letter-spacing: .17em; }
.eyebrow span { width: 17px; height: 1px; background: currentColor; }
.eyebrow b { margin-inline: -6px; font-weight: 400; }
.hero h1 { margin: 23px 0 14px -4px; }
.hero h1 img { width: min(100%, 405px); height: auto; filter: drop-shadow(0 8px 14px #06080aa0); }
.hero-tagline { font: 700 clamp(1.45rem, 2.7vw, 2.18rem)/1.35 var(--serif); letter-spacing: .11em; }
.hero-description { max-width: 365px; margin-top: 17px; color: #e1dacc; font-size: .975rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 11px; padding: 9px 21px; border: 1px solid transparent; font-size: .88rem; font-weight: 760; letter-spacing: .04em; white-space: nowrap; transition: background .16s ease, border-color .16s ease; }
.primary { background: #e5bf7d; color: #1e1a16; border-color: #f8d99b; }
.primary:hover { background: #f5dba6; }
.outline { border-color: #d2ba8e8f; background: #12161aab; color: var(--white); }
.outline:hover { border-color: var(--gold); background: #34302a; }
.triangle { display: inline-block; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.hero-location { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #efdfc5; font-size: .76rem; letter-spacing: .16em; }
.hero-location span { width: 5px; height: 5px; background: #dbac66; transform: rotate(45deg); }
.fact-strip { background: var(--ink-lift); border-block: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
.facts > div { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 10px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts strong { font: 700 clamp(.99rem, 1.6vw, 1.3rem)/1.4 var(--serif); letter-spacing: .065em; }
.facts span { margin-top: 4px; color: #bdb4a3; font-size: .72rem; letter-spacing: .12em; }
.paper { color-scheme: light; color: var(--paper-ink); background: radial-gradient(ellipse at 0% 0%, #f9efda, transparent 65%), var(--paper); }
.paper .eyebrow { color: #8d4f39; }
.world { padding-block: clamp(68px, 10vw, 131px); }
.world-grid { display: grid; grid-template-columns: minmax(232px, .83fr) minmax(0, 1.55fr); gap: clamp(30px, 6.2vw, 100px); align-items: center; }
.world-copy h2, .section-heading h2 { margin-top: 14px; }
.world-copy p:not(.eyebrow) { margin-top: 18px; color: #584939; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 23px; padding-bottom: 4px; border-bottom: 1px solid #9d5e43; color: #793f2b; font-weight: 730; font-size: .89rem; }
.text-link:hover { color: #4f2b20; }
.world-figure { padding: 7px; border: 1px solid #a38b6785; }
.world-figure img { width: 100%; height: auto; }
.world-figure figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 9px 7px 3px; color: #695343; font: 700 .8rem/1.5 var(--serif); letter-spacing: .15em; }
.ink { background: var(--ink); }
.gameplay { padding-top: clamp(67px, 8vw, 109px); padding-bottom: clamp(60px, 8vw, 100px); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.3vw, 30px); margin-top: 34px; }
.feature { border-bottom: 1px solid var(--line); padding-bottom: 25px; }
.feature-image { display: block; position: relative; overflow: hidden; border: 1px solid #ad936764; background: #282925; }
.feature-image img { width: 100%; height: auto; transition: transform .25s ease; }
.feature-image:hover img { transform: scale(1.045); }
.feature-image span { position: absolute; right: 7px; bottom: 7px; width: 31px; height: 31px; display: grid; place-items: center; color: #ffedce; background: #101315ed; border: 1px solid #b1915d99; }
.feature h3 { margin-block: 16px 6px; }
.feature p { max-width: 28em; color: var(--muted); font-size: .94rem; }
.media-section { padding-block: clamp(52px, 7vw, 92px) clamp(64px, 8vw, 105px); background: var(--ink-deep); border-top: 1px solid var(--line); }
.media-heading { display: flex; gap: 20px; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.gallery-frame { border: 1px solid #a78b606e; background: #161b1e; }
.gallery-frame > img { width: 100%; height: auto; aspect-ratio: 1440 / 663; object-fit: cover; }
.gallery-frame figcaption { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 8px 11px 8px 17px; }
.gallery-frame figcaption > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 13px; }
#gallery-caption { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .07em; }
#gallery-count { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.gallery-nav { display: flex; gap: 7px; }
.gallery-nav button { width: 44px; height: 44px; border: 1px solid #a78b606e; background: #22292b; line-height: 1; font-size: 1.15rem; }
.gallery-nav button:hover { background: #41372a; border-color: var(--gold); }
.thumbnails { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.thumbnails button { border: 1px solid #a78b6059; background: var(--ink); padding: 2px; opacity: .72; min-height: 41px; }
.thumbnails button img { width: 100%; height: auto; }
.thumbnails button:hover, .thumbnails button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.release { padding-block: clamp(49px, 7vw, 89px); }
.release-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 34px); align-items: center; }
.app-icon { width: clamp(78px, 11vw, 128px); height: auto; border-radius: 20%; box-shadow: 0 9px 20px #3c2a203b; }
.release-copy h2 { margin: 3px 0 4px; font-size: clamp(2rem, 4vw, 3.5rem); }
.release-status { margin-top: 2px; color: #704631; font-size: .86rem; }
.dark-button { background: #231e1c; color: var(--white); border-color: #231e1c; }
.dark-button:hover { background: #473228; border-color: #473228; }
.footer-inner { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner > span, .footer-inner > a:last-child { color: var(--muted); font-size: .76rem; }
dialog { border: 1px solid #af915d; color: var(--white); background: var(--ink); padding: 0; width: min(940px, calc(100vw - 30px)); max-height: calc(100dvh - 30px); }
dialog::backdrop { background: #080a0ded; }
.dialog-head { padding: 7px 8px 7px 16px; display: flex; justify-content: space-between; align-items: center; }
.dialog-head h2 { font-size: 1.25rem; }
.dialog-head button { width: 44px; height: 44px; background: #25292b; border: 1px solid var(--line); font-size: 1.7rem; line-height: 1; }
.dialog-head button:hover { border-color: var(--gold); }
dialog video { width: 100%; display: block; aspect-ratio: 16 / 9; max-height: calc(100dvh - 145px); background: #000; }
.video-fallback { padding: 9px 16px; font-size: .8rem; color: var(--muted); }
.video-fallback a { color: var(--gold); text-decoration: underline; text-underline-offset: .17em; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 575px; }
  .hero-art { object-position: 64% center; }
  .hero h1 img { max-width: 352px; }
  .world-grid { gap: 35px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .nav { grid-template-columns: auto 1fr auto; height: 60px; gap: 12px; }
  .nav nav { justify-content: center; gap: clamp(10px, 3vw, 19px); font-size: .75rem; white-space: nowrap; }
  .nav-release { gap: 2px; font-size: .74rem; white-space: nowrap; }
  .nav-release span { display: none; }
  .brand { font-size: 1.12rem; gap: 5px; letter-spacing: .07em; }
  .brand-seal { width: 21px; height: 23px; font-size: .83rem; }
  .hero { min-height: 600px; align-items: end; }
  .hero-art { height: 68%; object-position: 71% top; }
  .hero-shade { background: linear-gradient(0deg,#10151b 0%,#10151b 23%,#10151be8 36%,#10151b16 69%,#10151b12 100%); }
  .hero-content { padding-block: 237px 72px; }
  .hero h1 { margin-block: 15px 10px; }
  .hero h1 img { width: 245px; }
  .hero-description { margin-top: 13px; max-width: 330px; font-size: .88rem; }
  .hero-actions { margin-top: 22px; gap: 9px; }
  .hero-location { bottom: 15px; font-size: .67rem; }
  .facts { width: 100%; grid-template-columns: repeat(2, 1fr); padding-block: 12px; }
  .facts > div { padding: 9px; }
  .facts > div:nth-child(odd) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .world-grid { grid-template-columns: 1fr; gap: 29px; }
  .feature-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 24px; }
  .feature { padding-bottom: 20px; }
  .feature h3 { margin-top: 12px; }
  .media-heading { align-items: center; margin-bottom: 22px; }
  .media-heading .button { padding: 8px 12px; }
  .thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .release-inner { grid-template-columns: auto 1fr; gap: 14px; }
  .release-inner .button { grid-column: 1 / -1; justify-self: start; }
  .release-copy p:not(.eyebrow) { font-size: .85rem; }
  .footer-inner { min-height: 68px; }
  .footer-inner > span { display: none; }
}
@media (max-width: 345px) {
  .nav { gap: 8px; }
  .nav .brand-seal { display: none; }
  .hero-actions .button { padding-inline: 14px; }
  .hero { min-height: 570px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
