:root {
  color-scheme: light;
  --background: #f6faf8; --surface: #fff; --text-primary: #203b34; --text-secondary: #526b62;
  --accent: #237258; --on-accent: #fff; --accent-soft: #286e5b;
  --border: #c8dcd3; --placeholder: #e8f2ed; --placeholder-line: #d9e8df;
  --progress-complete: #21844a; --progress-review: #2466ce; --progress-incomplete: #151515;
  --story-heading: #417969; --story-overlay: rgb(255 255 255 / .96);
  --story-overlay-mid: rgb(255 255 255 / .9); --story-overlay-edge: rgb(255 255 255 / .08); --story-mobile-overlay: rgb(255 255 255 / .88);
  --max-content-width: 1120px; --reading-width: 720px; --font-family: "Leelawadee UI", Tahoma, system-ui, sans-serif;
  --space: 24px; --header-height: 76px; --sticky-header-height: 76px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #111b2a !important; --surface: #1c293b !important;
  --text-primary: #edf3fa !important; --text-secondary: #b5c3d4 !important;
  --accent: #8ad9c5 !important; --accent-soft: #9de2d0 !important; --on-accent: #122820 !important;
  --border: #3c4e63 !important; --placeholder: #25364b !important; --placeholder-line: #30445c !important;
  --story-heading: #9de2d0 !important; --story-overlay: rgb(17 27 42 / .98);
  --story-overlay-mid: rgb(17 27 42 / .95); --story-overlay-edge: rgb(17 27 42 / .12); --story-mobile-overlay: rgb(28 41 59 / .94);
  --progress-complete: #45b884; --progress-review: #78a6ff; --progress-incomplete: #506079;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text-primary); font: 16px/1.75 var(--font-family); overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
button, .button { min-height: 44px; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid var(--progress-review); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(26px, 4vw, 42px); line-height: 1.4; font-weight: 600; }
h2 { font-size: 25px; font-weight: 600; line-height: 1.4; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.5; }
.draft-banner { padding: 8px 16px; background: var(--placeholder); color: var(--text-secondary); text-align: center; font-size: 13px; }
.site-header { position: sticky; top: 0; z-index: 20; background: transparent; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; min-height: var(--header-height); pointer-events: none; }
.brand { grid-column: 1; grid-row: 1; display: block; min-height: var(--header-height); padding: 24px 28px; line-height: 28px; background: var(--surface); border-radius: 0 0 32px 0; box-shadow: 0 8px 24px rgb(0 0 0 / .06); pointer-events: auto; font-weight: 600; text-decoration: none; font-size: 19px; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; justify-self: start; }
.site-header nav { position: absolute; left: 50%; top: 0; width: max-content; max-width: calc(100% - 520px); height: var(--header-height); padding: 12px 20px; display: flex; gap: 4px; flex-wrap: nowrap; align-items: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; background: var(--surface); border-radius: 0 0 30px 30px; box-shadow: 0 8px 24px rgb(0 0 0 / .06); visibility: hidden; opacity: 0; transform: translate(-50%, -6px); pointer-events: none; transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.site-header nav.open { visibility: visible; opacity: 1; transform: translate(-50%, 0); pointer-events: auto; transition-delay: 0s; }
.header-controls { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 8px; min-height: var(--header-height); padding: 16px 24px; background: var(--surface); border-radius: 0 0 0 32px; box-shadow: 0 8px 24px rgb(0 0 0 / .06); pointer-events: auto; justify-self: end; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 10px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-primary); }
.theme-toggle:hover { background: var(--placeholder); }
.theme-toggle svg { width: 22px; height: 22px; }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 44px; text-decoration: none; padding: 10px 14px; border-radius: 18px; white-space: nowrap; }
.site-header nav a:hover { background: var(--placeholder); }
.site-header nav a[aria-current] { background: var(--placeholder); color: var(--accent-soft); font-weight: 600; }
.menu-toggle, .theme-toggle { -webkit-tap-highlight-color: transparent; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; border-radius: 50%; }
.menu-toggle:hover { background: var(--placeholder); }
.menu-icon { position: relative; display: block; width: 22px; height: 20px; }
.menu-icon span { position: absolute; left: 1px; top: 9px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-icon span:first-child { transform: translateY(-6px); }.menu-icon span:last-child { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: rotate(45deg); }.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: rotate(-45deg); }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--surface); padding: 10px; z-index: 30; }
#main { scroll-margin-top: var(--sticky-header-height); }
.skip-link:focus { top: 8px; }
.container { max-width: var(--max-content-width); margin: auto; padding: 0 var(--space); }
.section { padding-top: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
.hero-home { padding: 70px 0; }
.hero-home p { max-width: 650px; color: var(--text-secondary); }
.eyebrow { display: block; font-size: 13px; letter-spacing: .04em; color: var(--accent-soft); margin-bottom: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--text-primary); padding: 9px 18px; text-decoration: none; background: var(--surface); }
.button.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.button.primary:hover { filter: brightness(1.12); }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.game-card { text-decoration: none; display: block; min-width: 0; width: 100%; aspect-ratio: 2 / 3; position: relative; overflow: hidden; isolation: isolate; border: 4px solid var(--border); border-radius: 16px; background: var(--placeholder); box-shadow: 0 4px 16px rgb(0 0 0 / .06); }
.game-card > .media-image, .game-card > .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
.game-card > .media-image { transition: transform .2s ease; }
.game-card-overlay { position: absolute; inset: auto 0 0; padding: 48px 16px 20px; background: linear-gradient(transparent, rgb(0 0 0 / .88)); opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.game-card-overlay h3 { margin: 0; color: #fff; font-size: 18px; line-height: 1.5; text-shadow: 0 1px 4px #000; }
.game-card:hover, .game-card:focus-visible { border-color: var(--accent); }
.game-card:hover .game-card-overlay, .game-card:focus-visible .game-card-overlay { opacity: 1; transform: none; }
.game-card:hover > .media-image { transform: scale(1.035); }
.article-card p { color: var(--text-secondary); margin-bottom: 12px; }
.meta { font-size: 13px; color: var(--text-secondary); display: block; }
.card-link { display: block; margin-top: 12px; color: var(--accent-soft); text-decoration: underline; }
.placeholder { display: grid; place-items: center; padding: 20px; text-align: center; background: repeating-linear-gradient(135deg, var(--placeholder), var(--placeholder) 12px, var(--placeholder-line) 12px, var(--placeholder-line) 13px); color: var(--text-secondary); min-width: 0; }
.placeholder span { padding: 8px 12px; background: var(--placeholder); }
.placeholder.cover { aspect-ratio: 3 / 4; }
.placeholder.hero { aspect-ratio: 16 / 7; }
.placeholder.story-image { aspect-ratio: 4 / 3; }
.placeholder.gallery-image, .placeholder.article-image { aspect-ratio: 16 / 10; }
.media-image { display: block; max-width: 100%; width: 100%; height: auto; }
.media-image.gallery-image { aspect-ratio: 16 / 10; object-fit: contain; background: var(--placeholder); }
.articles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-card { background: var(--surface); border: 1px solid var(--border); padding: 24px; text-decoration: none; }
.article-card-media { margin: -24px -24px 20px; }
.page-heading { padding: 40px 0 24px; }
.page-heading p { color: var(--text-secondary); margin-bottom: 0; }
.section-nav { position: sticky; top: var(--sticky-header-height); z-index: 2; background: var(--surface); display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.section-nav a { padding: 9px 14px; text-decoration: none; border: 1px solid transparent; }
.section-nav a:hover, .section-nav a:focus-visible { border-color: var(--border); }
.section-nav a[aria-current="location"] { background: var(--placeholder); font-weight: 600; }
.section[id] { scroll-margin-top: calc(var(--sticky-header-height) + 24px); }
.game-detail .section[id] { scroll-margin-top: calc(var(--sticky-header-height) + var(--section-nav-height, 68px) + 16px); }
.game-heading .back-link { display: inline-block; margin-bottom: 24px; }
.game-intro { display: flex; align-items: center; gap: 28px; }
.game-intro > div:last-child { min-width: 0; }
.game-intro h1 { margin-bottom: 12px; }
.game-cover { width: 110px; flex-shrink: 0; border: 1px solid var(--border); padding: 4px; background: var(--surface); }
.game-cover .placeholder { padding: 10px; font-size: 13px; }
.game-cover .placeholder span { padding: 4px; }
.game-title-jp { color: var(--text-secondary); margin-bottom: 10px; }
.game-hero-media { margin-top: 20px; border: 1px solid var(--border); background: var(--surface); }
.game-hero-media .media-image { max-height: 680px; object-fit: contain; }
.game-hero-media.key-visual { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; background: var(--surface); overflow: hidden; }
.key-visual .media-image.hero { height: clamp(360px, 55vw, 680px); object-fit: contain; object-position: left bottom; }
.hero-brand { padding: 28px; text-align: center; color: var(--accent); }
.hero-brand .media-image.hero-logo { width: min(100%, 270px); max-height: 480px; margin: auto; }
.hero-brand p { margin: 20px 0 0; font-size: 22px; }
.game-detail .section > h2 { color: var(--accent-soft); }
.story-image { border: 1px solid var(--border); }
.story-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.story-layout.text-only { grid-template-columns: 1fr; max-width: var(--reading-width); }
.story-scene { position: relative; isolation: isolate; min-height: 680px; padding: 0; margin-top: 44px; background: var(--surface); overflow: hidden; border: 1px solid var(--border); }
.story-scene-art { position: absolute; inset: 0; z-index: -2; }
.story-scene-art .media-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.story-scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--story-overlay) 0%, var(--story-overlay-mid) 30%, var(--story-overlay-edge) 64%, transparent); }
.story-scene-content { padding: 36px 40px 48px; }
.story-scene-content h2 { color: var(--story-heading); font: 600 clamp(52px, 7vw, 88px)/1.2 Georgia, serif; margin: 0 0 40px; }
.story-scene-copy { width: 45%; max-width: 470px; font-size: 18px; line-height: 1.9; }
.story-scene-copy p { margin-bottom: 26px; }
.empty-state { color: var(--text-secondary); margin-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-thumb { padding: 0; background: transparent; border: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; text-align: left; }
.gallery-image-frame { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--border); background: var(--placeholder); }
.gallery-image-frame .media-image, .gallery-image-frame .placeholder { width: 100%; height: 100%; aspect-ratio: auto; }
.gallery-image-frame .media-image { object-fit: cover; object-position: center top; }
.gallery-thumb span { font-size: 14px; }
.gallery-caption { display: block; padding: 8px 0; text-align: left; color: var(--text-secondary); }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.spec-list dt { font-weight: 600; }
.spec-list dd { margin: 0; color: var(--text-secondary); }
.progress-layout { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.donut { width: 210px; aspect-ratio: 1; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--progress-complete) 0% var(--complete-end), var(--progress-review) var(--complete-end) var(--review-end), var(--progress-incomplete) var(--review-end) 100%); display: grid; place-items: center; }
.donut > span { width: 70%; height: 70%; background: var(--background); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13px; line-height: 1.35; }
.donut strong { font-size: 26px; }
.legend { list-style: none; margin: 0; padding: 0; min-width: 230px; }
.legend li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.legend strong { margin-left: auto; }
.dot { width: 12px; height: 12px; border: 1px solid var(--text-secondary); border-radius: 50%; flex-shrink: 0; }
.dot.complete { background: var(--progress-complete); }.dot.review { background: var(--progress-review); }.dot.incomplete { background: var(--progress-incomplete); }
.download-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.download-panel { padding: 24px; background: var(--surface); border: 1px solid var(--border); }
.download-panel p { color: var(--text-secondary); }
.download-panel { align-self: start; }
.download-panel, .installation-panel { min-width: 0; }
.download-info { margin: 0 0 24px; }
.download-info > div { display: flex; gap: 16px; margin: 8px 0; }
.download-info dt { width: 110px; flex-shrink: 0; }.download-info dd { margin: 0; color: var(--text-secondary); }
.download-button { width: 100%; }.download-panel .meta { margin-top: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 24px; }
.installation-list { padding-left: 24px; }.installation-list li { margin-bottom: 14px; }
.video-block { margin: 28px 0 0; }
.video-frame { width: 100%; max-width: 100%; min-width: 0; aspect-ratio: 16 / 9; min-height: 200px; background: var(--placeholder); }
.video-frame iframe { display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
.video-block figcaption { color: var(--text-secondary); font-size: 13px; padding-top: 10px; }
details { margin-top: 20px; }summary { cursor: pointer; padding: 8px 0; }details ul { padding-left: 24px; }
.reading { max-width: var(--reading-width); margin: 0 auto; }
.custom-content-image { max-width: var(--reading-width); margin: 24px auto 0; }.custom-content p { white-space: normal; }.site-contact { display: flex; flex-wrap: wrap; gap: 16px; }
.article-body p { margin-bottom: 26px; }.article-body h2 { margin-top: 40px; }.article-body figure { margin: 30px 0; }.article-body figcaption { font-size: 13px; color: var(--text-secondary); padding-top: 10px; }
.article-heading .back-link { display: inline-block; margin-bottom: 20px; }
.article-heading h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.article-intro { color: var(--text-secondary); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-secondary); font-size: 14px; margin-top: 18px; }
.article-cover { margin-top: 8px; }
.article-note, .article-contents { margin: 28px 0 0; padding: 20px; border: 1px solid var(--border); background: var(--surface); }
.article-contents h2 { font-size: 18px; margin-bottom: 12px; }.article-contents ol { margin: 0; padding-left: 24px; }.article-contents li { padding: 5px 0; }
.article-body > :first-child { margin-top: 0; }.article-body h2, .article-body h3 { scroll-margin-top: calc(var(--sticky-header-height) + 24px); }.article-body h3 { margin-top: 28px; }
.article-list { padding-left: 26px; margin-bottom: 28px; }.article-list li { padding-left: 6px; margin-bottom: 14px; }
.image-credit { display: block; padding-top: 4px; }.article-end { padding: 24px 0; }
.related-articles { margin-top: 8px; }
.site-footer { max-width: var(--max-content-width); margin: auto; padding: 40px var(--space); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--text-secondary); }
.site-footer p { margin: 8px 0; font-size: 14px; }.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
dialog { border: 1px solid var(--border); background: var(--surface); color: var(--text-primary); padding: 24px; max-width: 850px; width: calc(100% - 32px); max-height: calc(100% - 32px); overflow: auto; }
dialog::backdrop { background: rgb(0 0 0 / .65); }.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }.dialog-header button { background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; }
dialog p { margin: 16px 0 0; color: var(--text-secondary); }
.gallery-lightbox { max-height: calc(var(--gallery-viewport-height, 100dvh) - 32px); }
.gallery-large .media-image { max-height: min(var(--gallery-media-height, 60dvh), 600px); }
.gallery-controls { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 20px; }
.gallery-controls button { background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; }.gallery-controls span { flex-shrink: 0; color: var(--text-secondary); }
@media (max-width: 1100px) { .site-header nav { top: calc(100% - 1px); width: max-content; max-width: calc(100% - 24px); height: 64px; padding: 10px 14px; border-radius: 0 0 24px 24px; } }
@media (max-width: 900px) { .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }.spec-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  :root { --space: 18px; }
  .brand { font-size: 16px; padding-inline: 16px; border-bottom-right-radius: 26px; }
  .header-controls { padding-inline: 12px; border-bottom-left-radius: 26px; }
  .site-header nav { padding-inline: 12px; gap: 4px; }
  .site-header nav a { padding: 10px 12px; font-size: 14px; text-align: center; }
  .hero-home { padding: 42px 0; }.section { padding-top: 32px; padding-bottom: 32px; }.page-heading { padding-top: 28px; }
  .articles-grid, .story-layout, .download-layout { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .game-card { border-width: 3px; border-radius: 12px; }
  .game-card-overlay { padding: 36px 10px 12px; }.game-card-overlay h3 { font-size: 15px; }
  .placeholder.hero { aspect-ratio: 4 / 3; }.story-layout { gap: 20px; }.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-intro { align-items: start; gap: 16px; }.game-cover { width: 80px; }.game-intro h1 { font-size: 26px; }.game-intro .eyebrow { font-size: 12px; }.game-intro p { font-size: 14px; }
  .game-hero-media { margin-top: 12px; }.related-grid { gap: 16px; }
  .game-hero-media.key-visual { grid-template-columns: 1.1fr 1fr; }.key-visual .media-image.hero { height: clamp(230px, 68vw, 400px); }.hero-brand { padding: 14px; }.hero-brand p { font-size: 15px; margin-top: 12px; }
  .story-scene { min-height: 0; margin-top: 32px; }.story-scene-art { position: relative; height: 320px; }.story-scene::before { display: none; }.story-scene-content { margin-top: -42px; padding: 26px 22px; background: linear-gradient(180deg, var(--story-mobile-overlay), var(--surface) 100px); }.story-scene-content h2 { font-size: 52px; margin-bottom: 22px; }.story-scene-copy { width: 100%; max-width: none; font-size: 16px; }
  .gallery-controls { gap: 8px; }.gallery-controls button { font-size: 14px; padding: 6px 8px; }
  .article-card-media { margin: -20px -20px 18px; }.article-meta { flex-direction: column; gap: 6px; }.article-note, .article-contents { padding: 16px; }
  .section-nav { gap: 0; }.section-nav a { padding: 8px 10px; font-size: 14px; }
  .spec-list > div { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }.progress-layout { gap: 20px; justify-content: center; }.legend { width: 100%; min-width: 0; }.download-layout { gap: 28px; }.download-panel { padding: 20px; }.article-card { padding: 20px; }
  .site-footer { flex-direction: column; }.footer-links { flex-direction: column; gap: 8px; }
}
@media (hover: none), (pointer: coarse) { .game-card-overlay { opacity: 1; transform: none; } }
@media (max-width: 380px) { .brand { font-size: 14px; padding-inline: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.game-card > .media-image, .game-card-overlay, .site-header nav, .menu-icon span { transition: none; } }

/* Optional per-game artwork; ordinary game pages retain their existing layout. */
.has-game-art { isolation: isolate; background: var(--background); }
.game-atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: linear-gradient(180deg, #9bd8ed, var(--background) 80%); }
.game-scenery { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.game-side-art { position: absolute; bottom: -24px; width: clamp(360px, 31vw, 480px); height: min(88dvh, 900px); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 30px rgb(31 91 130 / .13)); }
.game-side-left { left: calc(50% - var(--game-content-width, 840px) / 2 - 350px); }
.game-side-right { right: calc(50% - var(--game-content-width, 840px) / 2 - 350px); }
.has-game-art .site-header { background: transparent; }
.has-game-art .game-detail { max-width: var(--game-content-width, 840px); margin: 28px auto 0; padding: 0 40px; background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 20px 90px rgb(47 105 130 / .12); }
.has-game-art .game-heading { padding: 30px 0 24px; }
.has-game-art .game-intro { justify-content: center; text-align: center; }
.has-game-art .game-intro h1 { font: 500 clamp(42px, 6vw, 70px)/1.15 Georgia, 'Times New Roman', serif; letter-spacing: .035em; color: var(--accent); }
.has-game-art .game-intro p:last-child { margin: 10px auto 0; max-width: 540px; }
.has-game-art .game-title-jp { letter-spacing: .18em; font-size: 14px; }
.has-game-art .section-nav { background: var(--surface); justify-content: center; border-color: var(--border); }
.has-game-art .game-hero-media { margin-top: 28px; border: 0; }
.has-game-art .game-hero-media > .media-image.hero { width: 100%; max-height: 430px; aspect-ratio: 16 / 9; object-fit: cover; }
.game-hero-media.full-image > .media-image.hero { height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
.has-game-art .story-scene-content h2 { color: var(--accent); }
.has-game-art .section > h2 { letter-spacing: .025em; }
.has-game-art .story-layout { grid-template-columns: 1fr; gap: 24px; }
.has-game-art .story-layout .story-image { max-height: 400px; width: 100%; object-fit: cover; }
.has-game-art .download-layout { grid-template-columns: 1fr; gap: 28px; }
.has-game-art .site-footer { max-width: var(--game-content-width, 840px); background: color-mix(in srgb, var(--surface) 95%, transparent); }
:root[data-theme="dark"] .game-atmosphere::after { content: ''; position: absolute; inset: 0; background: rgb(5 12 23 / .4); }
:root[data-theme="dark"] .has-game-art .site-header, :root[data-theme="dark"] .has-game-art .game-detail { border-color: var(--border); }
:root[data-theme="dark"] [data-builder-id][style*="background-color"] { background-color: var(--surface) !important; }
.artwork-credit { font-size: 12px; color: var(--text-secondary); padding: 20px 0 0; }
@media (max-width: 1199px) {
 .game-side-art { opacity: .24; width: 320px; height: 75dvh; }
 .game-side-left { left: -90px; }.game-side-right { right: -90px; }
 .has-game-art .game-detail { max-width: min(var(--game-content-width, 840px), calc(100% - 64px)); }
}
@media (max-width: 640px) {
 .game-side-art { display: none; }
 .has-game-art .game-detail { max-width: calc(100% - 24px); margin-top: 18px; padding: 0 18px; }
 .has-game-art .game-heading { padding-top: 22px; }
 .has-game-art .game-intro h1 { font-size: 52px; }
 .has-game-art .section-nav { justify-content: flex-start; }
 .has-game-art .game-hero-media { margin-top: 20px; }
 .has-game-art .site-footer { margin: 0 12px; padding: 28px 18px; }
}
