:root {
  color-scheme: dark;
  --ink: #101b16;
  --paper: #f8f2df;
  --muted: #bcc4b4;
  --gold: #e9bf6b;
  --line: rgba(215, 187, 121, .29);
  --serif: "Cinzel", Georgia, "Noto Serif SC", "Songti SC", "Yu Mincho", serif;
  font-family: "DM Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--paper);
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; }
svg { display: inline-block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid #ffe7a6; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: .5rem; left: 1rem; padding: .8rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell { width: min(1216px, 88%); margin-inline: auto; }
.header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--line); background: #101b16; }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; white-space: nowrap; font: 900 1.38rem/1 var(--serif); letter-spacing: -.055em; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px #817139; }
.brand b { color: var(--gold); }
.header nav { display: flex; align-self: stretch; gap: clamp(1.3rem, 3.1vw, 3.4rem); margin-inline: auto; }
.header nav a { position: relative; display: flex; align-items: center; font-size: .9375rem; font-weight: 600; color: #d0d4c6; }
.header nav a[aria-current], .header nav a:hover { color: var(--gold); }
.header nav a[aria-current]::after { content: ""; position: absolute; bottom: -1px; inset-inline: 0; height: 2px; background: var(--gold); }
.language { position: relative; display: inline-flex; align-items: center; color: #e7e6d8; }
.language > svg:first-child { position: absolute; left: .74rem; pointer-events: none; width: 1rem; height: 1rem; color: var(--gold); }
.language select { appearance: none; cursor: pointer; border: 1px solid #59614a; border-radius: 3px; background: #15221b; color: inherit; padding: .52rem 1.9rem .52rem 2.15rem; font-size: .875rem; font-weight: 600; }
.language select:hover { border-color: var(--gold); }
.language .chevron { position: absolute; right: .58rem; width: .78rem; height: .78rem; pointer-events: none; }
.hero { position: relative; isolation: isolate; background: #111f18; }
.hero-image, .hero-vignette { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-image { left: 20%; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-vignette { background: linear-gradient(90deg, #101b15 5%, #111f18 19%, rgba(17,31,24,.97) 26%, rgba(17,31,24,.83) 34%, rgba(17,31,24,.42) 48%, transparent 65%), linear-gradient(0deg, rgba(12,22,16,.86), transparent 28%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(555px, 43vw, 665px); padding-block: 3.5rem 4rem; }
.hero-copy { position: relative; max-width: min(48%, 550px); }
.genre { display: flex; align-items: center; gap: .82rem; color: #ebcd82; font-size: .875rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.diamond, .heading-rule i, .seam i { display: block; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.genre .diamond { width: 8px; height: 8px; outline: 1px solid #b29556; outline-offset: 3px; margin-inline: 4px; }
h1 { margin: 1.15rem 0 1.3rem; width: fit-content; font: 900 clamp(4.4rem, 6.9vw, 7rem)/1.04 var(--serif); letter-spacing: -.055em; text-shadow: 0 3px 8px #12181044; }
h1 span, h1 strong { display: block; }
h1 strong { font-weight: inherit; color: #f3ca77; }
:lang(en) h1, :lang(ja) h1 { font-family: Georgia, "Noto Serif JP", "Yu Mincho", serif; }
html:lang(en) h1 { text-transform: uppercase; font-size: clamp(5.2rem, 7.65vw, 8rem); line-height: .88; letter-spacing: -.055em; }
html:lang(ja) h1 { font-size: clamp(3.8rem, 5.65vw, 5.8rem); }
.hero-lead { max-width: 25em; color: #e4e4d6; font-size: 1.0625rem; line-height: 1.8; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; gap: .6rem; padding: .75rem 1.42rem; border: 1px solid; border-radius: 3px; font-size: 1rem; font-weight: 700; transition: background .18s, transform .18s; }
.button svg { width: 1.15rem; height: 1.15rem; }
.button:hover { transform: translateY(-2px); }
.play { color: #232719; border-color: #f1d28c; background: linear-gradient(180deg, #f7d68b, #e6b459); box-shadow: inset 0 0 0 2px #edc775, 0 3px 12px #050b0645; }
.play:hover { background: #f9db98; }
.guide { border-color: #879074; color: #f3f0de; background: #15241cd4; }
.guide:hover { background: #2a392b; }
.gallery { position: absolute; right: 0; bottom: 1.5rem; display: grid; justify-items: end; gap: .45rem; }
.gallery figcaption { display: flex; align-items: center; gap: .5rem; color: #f9f1de; font-size: .8125rem; line-height: 1.5; text-shadow: 0 1px 5px #000; }
.gallery figcaption span { color: #ead2a2; }
.gallery figcaption i { width: 15px; height: 1px; background: #d6bf8d; }
.gallery figcaption strong { font-weight: 600; }
.thumbnails { display: flex; gap: 7px; }
.thumbnails button { width: 58px; height: 42px; padding: 2px; background: #0f1916aa; border: 1px solid #b4b9a093; border-radius: 2px; }
.thumbnails button[aria-pressed="true"] { border: 2px solid #f3d48b; padding: 1px; }
.thumbnails img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.thumbnails button:hover img, .thumbnails button[aria-pressed="true"] img { opacity: 1; }
.seam { position: absolute; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, #384334, #b3985b 27%, #dabe79 50%, #a98b54 73%, #354033); }
.seam i { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%) rotate(45deg); border: 3px solid #19251c; outline: 1px solid #b49a5a; }
.section { padding: clamp(3.2rem, 5.2vw, 5rem) 0; }
.modes { background: radial-gradient(ellipse at 50% 15%, #243427 0%, transparent 64%), #17251d; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.section h2 { font: 800 clamp(2rem, 3vw, 3rem)/1.2 var(--serif); text-align: center; letter-spacing: -.035em; }
.heading-rule { position: relative; width: clamp(28px, 5vw, 70px); height: 1px; background: linear-gradient(90deg, transparent, #b0965b); }
.heading-rule i { position: absolute; top: -2px; right: 0; width: 5px; height: 5px; }
.heading-rule:last-child { transform: rotate(180deg); }
.section-lead { margin: .75rem auto 1.9rem; color: var(--muted); font-size: 1rem; line-height: 1.65; text-align: center; }
.mode-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.95rem, 1.6vw, 1.4rem); }
.mode { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #122019; }
.mode > img { width: 100%; height: auto; aspect-ratio: 2.38; object-fit: cover; border-bottom: 1px solid var(--line); }
.mode-content { position: relative; padding: 1.35rem 1.4rem 1.45rem; }
.mode-content svg { position: absolute; color: var(--gold); width: 1.45rem; height: 1.45rem; top: 1.56rem; }
.mode h3 { margin-left: 2.05rem; font: 700 1.4rem/1.35 var(--serif); }
.mode p, .profile-copy p { margin-top: .65rem; color: #c4ccbd; line-height: 1.8; }
.heroes { border-top: 1px solid var(--line); background: #101b16; }
.roster { display: grid; grid-template-columns: minmax(190px, .75fr) 2.5fr; gap: 1rem; max-width: 1020px; margin: auto; }
.hero-list { display: grid; gap: .5rem; }
.hero-list button { display: flex; align-items: center; gap: .85rem; padding: .38rem .9rem; min-height: 52px; text-align: start; color: var(--muted); background: #19261e; border: 1px solid #344334; border-radius: 2px; font-weight: 600; }
.hero-list button:hover, .hero-list button[aria-pressed="true"] { color: var(--paper); border-color: #b49a63; background: #2b3324; }
.hero-list button[aria-pressed="true"] { box-shadow: inset 3px 0 #e2b86b; }
.hero-list img { width: 43px; height: 42px; object-fit: contain; }
.profile { --glow: #86532c; position: relative; display: grid; align-items: center; grid-template-columns: .95fr 1.35fr; gap: 1.1rem; padding: 1.7rem 2rem 1.7rem 1.4rem; background: radial-gradient(ellipse farthest-side at 17% 77%, var(--glow) -80%, transparent 100%), #1a281f; border: 1px solid var(--line); border-radius: 3px; }
.profile[data-element="frost"] { --glow: #436f94; }
.profile[data-element="storm"] { --glow: #745c8a; }
.profile[data-element="forest"] { --glow: #56834b; }
.portrait { position: relative; display: grid; place-items: center; isolation: isolate; }
.portrait::before { content: ""; position: absolute; z-index: -1; inset: 7% 8%; border-radius: 50%; border: 1px solid var(--line); outline: 1px dashed #bfa96e40; outline-offset: 5px; }
.portrait img { width: 100%; max-width: 225px; height: 195px; object-fit: contain; filter: drop-shadow(0 8px 5px #09130c7a); }
.technique { display: inline-flex; align-items: center; gap: .55rem; font-size: .875rem; color: var(--gold); font-weight: 600; }
.technique svg { width: 1rem; height: 1rem; }
.profile-copy h3 { margin-top: .65rem; font: 700 clamp(1.65rem, 2.4vw, 2.3rem)/1.2 var(--serif); }
footer { background: #0c1511; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 1.4rem; padding-block: 1.5rem; }
.footer-inner .brand { font-size: 1.08rem; }
.footer-inner > span { color: var(--muted); font-size: .875rem; }
.back { margin-left: auto; color: var(--gold); font-size: .9375rem; }
.back:hover { text-decoration: underline; }
@media (max-width: 850px) {
  .shell { width: 90%; }
  .header-inner { gap: 1.1rem; }
  .hero-copy { max-width: 54%; }
  .hero-inner { min-height: 520px; }
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-content { padding: 1rem; }
  .mode-content svg { top: 1.18rem; width: 1.15rem; height: 1.15rem; }
  .mode h3 { margin-left: 1.6rem; font-size: 1.2rem; }
  .roster { grid-template-columns: minmax(165px, .7fr) 2fr; }
  .profile { padding: 1.15rem; gap: .75rem; }
}
@media (max-width: 680px) {
  :root { scroll-padding-top: 103px; }
  .header-inner { flex-wrap: wrap; justify-content: space-between; padding-top: .65rem; gap: .25rem 1rem; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 32px; height: 32px; }
  .header nav { order: 3; width: 100%; justify-content: center; margin: 0; gap: clamp(1.2rem, 8.5vw, 3rem); }
  .header nav a { min-height: 40px; font-size: .875rem; }
  .language select { padding-block: .46rem; }
  .hero-inner { display: block; min-height: 0; padding: clamp(11rem, 53vw, 19rem) 0 1.9rem; }
  .hero-image { left: 0; height: clamp(23rem, 91vw, 33rem); }
  .hero-image img { object-position: 50% 39%; }
  .hero-vignette { background: linear-gradient(0deg, #111f18 3%, #111f18 22%, rgba(17,31,24,.9) 36%, rgba(17,31,24,.44) 55%, transparent 76%); }
  .hero-copy { max-width: 100%; }
  .genre { font-size: .8125rem; letter-spacing: .13em; }
  h1, html:lang(en) h1, html:lang(ja) h1 { margin: .85rem 0 .7rem; font-size: clamp(2.7rem, 10vw, 4rem); line-height: 1.08; }
  h1 span, h1 strong { display: inline; }
  .hero-lead { font-size: 1rem; line-height: 1.65; max-width: 33em; }
  .actions { margin-top: 1.2rem; gap: .6rem; }
  .button { min-height: 46px; padding-inline: 1.05rem; }
  .gallery { position: static; margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
  .gallery figcaption { gap: .3rem; }
  .thumbnails { gap: 5px; }
  .thumbnails button { width: 42px; height: 32px; }
  .section { padding: 2.75rem 0; }
  .section-lead { margin-bottom: 1.4rem; }
  .mode-grid, .roster { grid-template-columns: 1fr; }
  .mode-content { padding: 1.15rem 1.2rem; }
  .mode-content svg { top: 1.35rem; }
  .mode h3 { font-size: 1.35rem; }
  .hero-list { grid-template-columns: 1fr 1fr; }
  .hero-list button { padding-inline: .6rem; gap: .55rem; font-size: .9375rem; }
  .hero-list img { width: 32px; }
  .profile { grid-template-columns: .75fr 1.25fr; min-height: 202px; }
  .portrait img { height: auto; max-height: 150px; }
  .footer-inner { flex-wrap: wrap; gap: .65rem 1rem; }
  .footer-inner > span { width: 100%; order: 3; }
}
@media (max-width: 380px) {
  .gallery figcaption { flex-direction: column; align-items: start; }
  .gallery figcaption i { display: none; }
  .profile { grid-template-columns: 1fr; text-align: center; }
  .portrait img { max-height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
