:root {
  color-scheme: dark;
  --ink: #0b0c0d;
  --ink-2: #121314;
  --surface: #181817;
  --surface-2: #20201e;
  --line: rgba(237, 211, 164, 0.16);
  --text: #f2eee6;
  --muted: #aaa69e;
  --amber: #d2a05a;
  --gold: #f0d4a1;
  --blue: #7891a0;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(196, 137, 67, .10), transparent 25rem),
    radial-gradient(circle at 12% 48%, rgba(65, 91, 104, .08), transparent 24rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang^="zh"] body { font-family: "Noto Sans CJK", "Microsoft YaHei", "PingFang SC", Inter, ui-sans-serif, system-ui, sans-serif; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { font-family: "Noto Serif CJK", "Songti SC", "Microsoft YaHei", serif; letter-spacing: -.02em; }
html[lang="ja"] body { font-family: "Noto Sans JP", "Yu Gothic", Meiryo, Inter, sans-serif; }
html[lang="ko"] body { font-family: "Noto Sans KR", "Malgun Gothic", Inter, sans-serif; }

a { color: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-180%); background: var(--gold); color: #111; padding: 10px 14px; border-radius: 2px; }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(11, 12, 13, .84);
  backdrop-filter: blur(16px);
}
.nav-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; text-decoration: none; font-weight: 660; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; border: 1px solid rgba(240,212,161,.35); position: relative; transform: rotate(45deg); }
.brand-mark::before { content: "H"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-family: Georgia, serif; font-size: 15px; transform: rotate(-45deg); }
.site-nav { display: flex; order: 1; min-width: 0; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 30px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .9rem; letter-spacing: .05em; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.header-actions { display: flex; order: 2; flex-shrink: 0; align-items: center; gap: 12px; margin-left: auto; }
.language-picker { display: block; position: relative; width: 218px; }
.language-icon { position: absolute; z-index: 1; top: 50%; left: 12px; width: 18px; height: 18px; color: var(--gold); pointer-events: none; transform: translateY(-50%); }
.language-select { display: block; width: 100%; min-height: 44px; padding: 8px 28px 8px 40px; border: 1px solid rgba(240,212,161,.28); border-radius: 0; background: #121313; color: var(--gold); font: inherit; font-size: 1rem; cursor: pointer; }
.language-select:hover, .language-select:focus { border-color: rgba(240,212,161,.55); outline: none; }
.language-select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.menu-toggle { display: none; min-height: 44px; background: none; color: var(--text); border: 0; padding: 8px; font: inherit; cursor: pointer; }

.eyebrow { margin: 0 0 16px; color: var(--amber); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 700; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.05; }
h1 { font-size: clamp(3.7rem, 10vw, 8.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
p { margin: 0; }
.lede { max-width: 720px; color: #d2cec5; font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.6; }
.muted { color: var(--muted); }

.hero { min-height: min(860px, calc(100vh - 74px)); display: grid; align-items: center; padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; right: -10vw; top: 10%; border: 1px solid rgba(210,160,90,.14); border-radius: 50%; box-shadow: 0 0 120px rgba(210,160,90,.06), inset 0 0 100px rgba(210,160,90,.04); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .65fr); gap: clamp(50px, 9vw, 120px); align-items: end; position: relative; z-index: 1; }
.hero-title span { display: block; }
.hero-title .studio { margin-bottom: 12px; color: var(--muted); font-family: Inter, sans-serif; font-size: clamp(.82rem, 1.3vw, 1rem); font-weight: 650; letter-spacing: .28em; text-transform: uppercase; }
.hero-title .rewrite { color: var(--text); text-shadow: 0 18px 80px rgba(216,164,89,.15); }
.hero-copy { padding-bottom: 12px; border-left: 1px solid var(--line); padding-left: 30px; }
.hero-copy .lede { margin-bottom: 30px; }
.hero-kicker { margin-top: 26px; color: var(--muted); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid rgba(240,212,161,.34); color: var(--gold); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--gold); color: #17130d; transform: translateY(-2px); }

.section { padding: clamp(82px, 11vw, 150px) 0; border-top: 1px solid rgba(255,255,255,.055); }
.section-head { display: grid; grid-template-columns: minmax(0,.7fr) minmax(280px,.45fr); gap: 50px; align-items: end; margin-bottom: 54px; }
.section-head p { color: var(--muted); max-width: 530px; }
.story-panel { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 560px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.story-copy { padding: clamp(36px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.story-copy h2 { margin-bottom: 26px; }
.story-copy p { color: #c4c0b8; max-width: 600px; }
.story-visual { position: relative; min-height: 420px; background:
  linear-gradient(150deg, transparent 10%, rgba(216,164,89,.12) 48%, transparent 49%),
  radial-gradient(circle at 64% 26%, rgba(235,185,107,.3), transparent 10%),
  linear-gradient(135deg, #202527, #111313 58%, #19130e); }
.story-visual::before { content: ""; position: absolute; left: 28%; top: 14%; width: 48%; height: 64%; border-left: 1px solid rgba(240,212,161,.25); border-right: 1px solid rgba(240,212,161,.09); transform: skew(-7deg); box-shadow: 34px 0 90px rgba(222,164,86,.08); }
.story-visual::after { content: "FIRST STORY · CORY"; position: absolute; left: 26px; bottom: 24px; color: rgba(240,212,161,.7); font-size: .71rem; letter-spacing: .18em; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--ink-2); padding: 38px 34px 44px; }
.feature-no { color: var(--amber); font-size: .75rem; letter-spacing: .16em; }
.feature h3 { margin: 52px 0 16px; }
.feature p { color: var(--muted); }

.frames { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: repeat(2, 280px); gap: 16px; }
.frame { position: relative; overflow: hidden; border: 1px solid var(--line); background: #171918; }
.frame:first-child { grid-row: 1 / 3; }
.frame-art { position: absolute; inset: 0; transition: transform .7s ease; }
.frame:hover .frame-art { transform: scale(1.025); }
.frame-a .frame-art { background: linear-gradient(160deg, transparent 30%, rgba(14,15,15,.82) 68%), radial-gradient(circle at 68% 30%, rgba(236,186,108,.26), transparent 18%), linear-gradient(145deg,#24292a,#151716 58%,#261b10); }
.frame-b .frame-art { background: radial-gradient(circle at 28% 34%, rgba(99,132,145,.2), transparent 24%), linear-gradient(135deg,#171e20,#111212 62%,#191713); }
.frame-c .frame-art { background: radial-gradient(circle at 70% 36%, rgba(229,167,79,.19), transparent 22%), linear-gradient(150deg,#201a14,#121313 66%,#1d2527); }
.frame-caption { position: absolute; inset: auto 22px 20px; z-index: 1; }
.frame-caption strong { display: block; font-family: Georgia,serif; font-size: 1.25rem; font-weight: 500; }
.frame-caption span { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.capture-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }

.trials { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(42px,8vw,100px); align-items: center; }
.trial-mark { aspect-ratio: 1; max-width: 440px; border-radius: 50%; border: 1px solid rgba(118,145,160,.24); display: grid; place-items: center; position: relative; box-shadow: inset 0 0 120px rgba(118,145,160,.07), 0 0 100px rgba(118,145,160,.05); }
.trial-mark::before, .trial-mark::after { content: ""; position: absolute; width: 62%; height: 1px; background: rgba(118,145,160,.35); }
.trial-mark::after { transform: rotate(90deg); }
.trial-mark span { position: relative; z-index: 1; color: #a9bec8; letter-spacing: .25em; font-weight: 700; font-size: .8rem; }
.trials-copy h2 { margin-bottom: 26px; }
.trials-copy p { color: var(--muted); margin-bottom: 16px; }

.store-band { padding: 68px 0; background: linear-gradient(100deg, rgba(196,135,59,.11), rgba(95,118,128,.06)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.store-row { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.store-row h2 { font-size: clamp(2rem,4vw,3.4rem); }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-button { min-width: 174px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.16); color: #d7d3cc; }
.store-button small, .store-button strong { display: block; }
.store-button small { color: var(--muted); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.store-button strong { font-size: .95rem; font-weight: 600; }

.page-hero { padding: clamp(90px,12vw,160px) 0 clamp(72px,9vw,120px); border-bottom: 1px solid rgba(255,255,255,.06); }
.page-hero h1 { font-size: clamp(3.2rem,8vw,7rem); margin-bottom: 30px; }
.page-hero h1, .prose, .support-card { overflow-wrap: anywhere; }
.page-hero h1 { hyphens: auto; }
.page-hero .lede { max-width: 800px; }
.content-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(48px,9vw,120px); }
.side-label { color: var(--amber); font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; position: sticky; top: 110px; align-self: start; }
.prose { max-width: 790px; }
.prose h2 { font-size: clamp(1.8rem,3vw,2.7rem); margin: 64px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c4c0b8; }
.prose p + p { margin-top: 18px; }
.prose ul { padding-left: 20px; margin: 18px 0 0; }
.prose li + li { margin-top: 10px; }
.notice { border-left: 2px solid var(--amber); background: rgba(210,160,90,.07); padding: 24px 26px; margin: 34px 0; }
.notice strong { display: block; margin-bottom: 8px; color: var(--gold); }
.support-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.support-card { min-height: 220px; padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.support-card h2 { font-size: 1.7rem; margin-bottom: 18px; }
.support-card p { color: var(--muted); }
.placeholder { display: inline-block; margin-top: 18px; padding: 10px 12px; border: 1px dashed rgba(240,212,161,.4); color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }

.site-footer { padding: 46px 0; color: var(--muted); border-top: 1px solid rgba(255,255,255,.06); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal][data-visible="true"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 18px; flex-direction: column; align-items: flex-start; gap: 18px; background: #151616; border: 1px solid var(--line); }
  .site-nav[data-open="true"] { display: flex; }
  .hero { min-height: auto; }
  .hero-grid, .section-head, .story-panel, .trials, .content-grid { grid-template-columns: 1fr; }
  .hero-copy { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
  .story-visual { grid-row: 1; min-height: 340px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature h3 { margin-top: 30px; }
  .frames { grid-template-columns: 1fr; grid-template-rows: 400px 260px 260px; }
  .frame:first-child { grid-row: auto; }
  .trial-mark { margin: 0 auto; max-width: 320px; }
  .store-row, .footer-row { align-items: flex-start; flex-direction: column; }
  .side-label { position: static; }
  .support-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(3.25rem, 19vw, 5rem); }
  .hero { padding-top: 64px; }
  .store-buttons, .store-button { width: 100%; }
  .frames { grid-template-rows: 330px 230px 230px; }
  .support-card { min-height: 0; }
}

/* Real portrait captures in the existing screenshot section. Never crop game UI. */
.frames { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 24px; align-items: start; }
.frame { margin: 0; min-width: 0; }
.frame:first-child { grid-row: auto; }
.frame > a { display: block; }
.frame img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #08090c; }
.frame-caption { position: static; padding: 14px 16px; font-size: 1rem; color: var(--text); }
.frame a:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.story-visual { background: #08090c; min-height: 0; display: flex; align-items: center; }
.story-visual::before, .story-visual::after { content: none; }
.story-visual img { width: 100%; height: auto; }
.contact-link { display: inline-block; margin-top: 18px; color: var(--gold); overflow-wrap: anywhere; }
@media (max-width: 820px) { .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 16px; } .story-visual { max-width: 440px; margin: auto; } }
@media (max-width: 560px) { .frames { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 24px; } }

/* Story submissions: extend the existing charcoal and gold theme. */
.submission-page { min-width: 0; }
.submission-intro { padding: clamp(52px,7vw,96px) 0; border-bottom: 1px solid var(--line); }
.submission-intro-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(32px,6vw,80px); align-items: center; }
.submission-intro h1 { font-size: clamp(2.4rem,4.8vw,4.7rem); line-height: 1.15; margin: 0 0 26px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.submission-intro .lede { font-size: 1.1rem; color: #c4c0b8; }
.submission-contact { border-left: 2px solid var(--amber); padding: 28px; background: rgba(210,160,90,.06); min-width: 0; }
.submission-contact h2 { font-size: 1.7rem; }
.submission-contact .contact-link { margin: 18px 0 24px; font-size: 1.05rem; }
.submission-email { width: 100%; text-align: center; white-space: normal; }
.submission-payment { color: var(--muted); margin: 20px 0 0; }
.submission-section { padding: clamp(48px,6vw,76px) 0; }
.submission-section + .submission-section { border-top: 1px solid var(--line); }
.submission-section h2 { font-size: clamp(1.8rem,3vw,2.5rem); }
.submission-criteria { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 36px; }
.submission-criteria article { border-top: 1px solid var(--line); padding-top: 24px; min-width: 0; }
.submission-criteria h3 { margin: 18px 0 12px; font-size: 1.2rem; }
.submission-criteria p, .submission-template-panel > p { color: #c4c0b8; }
.submission-details { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,6vw,80px); align-items: start; }
.submission-details .prose h2 { margin: 0 0 20px; }
.submission-format { margin-top: 28px; }
.submission-template-panel { min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.submission-template-panel h2 { font-size: 1.5rem; margin: 0 0 14px; }
.submission-template-panel > p { margin: 0 0 20px; }
#submission-template { display: block; width: 100%; height: 32rem; padding: 18px; resize: vertical; border: 1px solid var(--line); border-radius: 0; background: var(--ink); color: var(--text); font: inherit; line-height: 1.65; }
.submission-template-actions { margin-top: 18px; }
.submission-template-actions .button { font: inherit; cursor: pointer; white-space: normal; }
.submission-template-panel .submission-copy-status { min-height: 1.65em; margin: 14px 0 0; color: var(--gold); }
.submission-page a:focus-visible, .submission-page button:focus-visible, #submission-template:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
/* Give longer translated navigation labels space before switching to the menu. */
@media (min-width: 821px) and (max-width: 1100px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 18px; flex-direction: column; align-items: flex-start; gap: 18px; background: #151616; border: 1px solid var(--line); }
  .site-nav[data-open="true"] { display: flex; }
}
@media (max-width: 820px) {
  .submission-intro-grid, .submission-details, .submission-criteria { grid-template-columns: 1fr; }
  .submission-intro h1 { font-size: clamp(2.3rem,8vw,3.8rem); }
  .submission-contact, .submission-template-panel { padding: 24px; }
  .submission-criteria { gap: 28px; }
}

/* Six-item navigation */
@media(min-width:901px){.site-nav{gap:18px}.nav-row{gap:20px}}
@media(max-width:1180px){.menu-toggle{display:block}.nav-row{position:relative}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0e1012;border:1px solid var(--line);padding:22px;flex-direction:column;align-items:stretch;gap:18px}.site-nav[data-open="true"]{display:flex}.site-nav a{font-size:16px}}

/* Keep the language control visible and comfortably sized on narrow screens. */
@media (max-width: 600px) {
  .nav-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 12px 0; }
  .nav-row > .brand { grid-column: 1; grid-row: 1; }
  .header-actions { display: contents; }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .language-picker { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}

/* Custom story commissions: the existing studio palette and type. */
.commission-process { list-style: none; padding: 0; margin: 36px 0 44px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.commission-process li { border-top: 1px solid var(--line); padding-top: 20px; min-width: 0; }
.commission-process li > span:last-child { display: block; margin-top: 14px; font-size: 1rem; color: var(--text); overflow-wrap: anywhere; }
.commission-terms { padding: 28px; background: rgba(210,160,90,.045); border-left: 2px solid var(--amber); }
.commission-terms h3 { margin: 0 0 18px; font-size: 1.2rem; }
.commission-terms ul { padding-left: 22px; margin: 0; color: #c4c0b8; }
.commission-terms li + li { margin-top: 14px; }
.submission-contact p, .submission-page .prose li { overflow-wrap: anywhere; }
@media (max-width: 760px) { .commission-process { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; } .commission-terms { padding: 22px; } }
@media (max-width: 380px) { .commission-process { grid-template-columns: 1fr; } .submission-template-panel { padding: 18px; } }

/* Published Android download entry. */
a.store-button { display: inline-block; text-decoration: none; border-color: var(--amber); }
a.store-button:hover, a.store-button:focus-visible { background: var(--surface-2); outline: 2px solid var(--gold); outline-offset: 3px; }
.page-hero .actions, .share-join .actions { margin-top: 24px; }

/* Dual-story presentation; existing media and navigation are retained. */
.hero-lia-art { margin: 0 0 28px; border: 1px solid var(--line); background: var(--surface); }
.hero-lia-art img { width: 100%; height: clamp(220px, 28vw, 340px); object-fit: cover; object-position: 50% 28%; }
.hero-lia-art figcaption { padding: 9px 14px; color: var(--gold); font-size: .85rem; }
.dual-story-heading { margin-bottom: 34px; }
.dual-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.dual-story-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); border: 1px solid var(--line); background: rgba(24,24,23,.6); overflow: hidden; }
.dual-story-card > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: top center; }
.dual-story-card-copy { padding: 30px 24px; align-self: center; }
.dual-story-card-copy .eyebrow { margin-bottom: 12px; }
.dual-story-card-copy h3 { line-height: 1.2; margin-bottom: 20px; overflow-wrap: anywhere; }
.dual-story-card-copy > p:last-child { color: var(--muted); }
.lia-art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lia-art-grid figure { margin: 0; }
.lia-art-grid img { width: 100%; height: auto; border: 1px solid var(--line); }
.lia-art-grid figcaption { color: var(--muted); font-size: .82rem; padding-top: 10px; }
.release-availability { max-width: 720px; margin-top: 18px; color: var(--muted); font-size: .85rem; }
main > .release-availability { width: min(calc(100% - 40px), var(--max)); margin: 24px auto; }
@media (max-width: 1050px) { .dual-story-grid { gap: 20px; } .dual-story-card { grid-template-columns: 1fr; } .dual-story-card > img { height: 340px; min-height: 0; object-position: 50% 22%; } }
@media (max-width: 600px) { .dual-story-grid { grid-template-columns: 1fr; } .dual-story-card { grid-template-columns: minmax(0,.7fr) minmax(0,1fr); } .dual-story-card > img { height: 100%; min-height: 280px; } .dual-story-card-copy { padding: 24px 18px; } .lia-art-grid { grid-template-columns: 1fr; gap: 30px; } .hero-lia-art img { height: 280px; } }

/* Mobile homepage: copy and downloads precede story artwork. */
@media (max-width: 820px) {
  body[data-route="/"] { min-width: 0; }
  body[data-route="/"] .hero { padding: 24px 0 40px; }
  body[data-route="/"] .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  body[data-route="/"] .hero-title,
  body[data-route="/"] .hero-copy { display: contents; opacity: 1; transform: none; transition: none; }
  body[data-route="/"] .hero-title > .studio { order: 0; margin: 0 0 8px; }
  body[data-route="/"] .hero-title > .rewrite { order: 1; margin: 0 0 20px; }
  body[data-route="/"] .hero-copy > .eyebrow { order: 2; margin: 0 0 12px; }
  body[data-route="/"] .hero-copy > .lede { order: 3; margin: 0 0 20px; }
  body[data-route="/"] .hero-copy > .actions { order: 4; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  body[data-route="/"] .hero-copy > .hero-lia-art { order: 5; margin: 32px 0 0; }
  body[data-route="/"] .hero-title > .hero-kicker { order: 6; margin: 18px 0 0; }
  body[data-route="/"] .hero-copy > .release-availability { order: 7; margin: 16px 0 0; }
  body[data-route="/"] .hero-grid > *,
  body[data-route="/"] .hero-title > *,
  body[data-route="/"] .hero-copy > * { min-width: 0; max-width: 100%; }
  body[data-route="/"] .hero .actions .button { width: 100%; min-width: 0; padding: 12px 18px; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  body[data-route="/"] .hero .actions .button:first-child { min-height: 64px; background: var(--gold); border-color: var(--gold); color: #17130d; font-size: .88rem; }
  body[data-route="/"] .hero .actions .button:first-child:hover { background: var(--amber); border-color: var(--amber); }
  body[data-route="/"] .hero .actions .button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
}

/* Website analytics is optional and never blocks the page or store links. */
.website-analytics-panel { position: fixed; z-index: 100; inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); width: auto; max-width: 38rem; max-height: calc(100dvh - 2rem); overflow: auto; margin-left: auto; padding: 1.1rem; border: 1px solid #78766f; border-radius: .65rem; background: #151718; color: #f3f0e8; box-shadow: 0 .5rem 2rem #0008; }
.website-analytics-panel[hidden] { display: none; }
.website-analytics-panel h2 { margin: 0 0 .5rem; font-size: 1.1rem; line-height: 1.35; }
.website-analytics-panel p { margin: 0 0 .9rem; font-size: .9rem; line-height: 1.55; }
.website-analytics-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.website-analytics-actions button { flex: 1 1 9rem; min-height: 44px; padding: .7rem .85rem; border: 1px solid #b2aca0; border-radius: .3rem; background: #25292b; color: #fff; font: inherit; font-size: .9rem; line-height: 1.35; cursor: pointer; }
.website-analytics-actions button:hover { background: #343a3c; }
.website-analytics-preference { margin-top: .75rem; padding: .4rem 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.website-analytics-actions button:focus-visible, .website-analytics-preference:focus-visible { outline: 2px solid #f4cb7f; outline-offset: 3px; }

/* Android 689 public launch. Reuses the approved unmodified artwork. */
.brand-r { width:32px; height:32px; object-fit:contain; border-radius:6px; }
.launch-hero { padding:64px 0 72px; border-bottom:1px solid var(--line); }
.launch-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:56px; align-items:center; }
.launch-copy { min-width:0; }
.launch-status { color:var(--gold); margin-bottom:22px; }
.launch-copy h1 { font-size:clamp(3rem,5.8vw,5.3rem); letter-spacing:.025em; margin:0 0 18px; line-height:1; }
.launch-title { font-family:Georgia,serif; font-size:clamp(1.8rem,3vw,2.7rem); line-height:1.2; margin:0 0 24px; color:var(--text); }
.launch-facts { color:var(--muted); margin-bottom:26px; }
.launch-art { margin:0; min-width:0; }
.launch-art img { width:100%; height:auto; aspect-ratio:1; border:1px solid var(--line); }
.launch-art figcaption { font-size:.75rem; line-height:1.5; color:var(--muted); margin-top:8px; }
.launch-copy .actions { display:flex; flex-wrap:wrap; gap:12px; }
.button-primary { background:var(--gold); color:#17130d; border-color:var(--gold); }
.button-primary:hover { background:var(--amber); border-color:var(--amber); }
.launch-copy .release-availability { font-size:.82rem; margin-top:18px; }
.launch-copy .capture-note { font-size:.78rem; margin-top:8px; }
.launch-screens .frame:first-child { grid-column:auto; grid-row:auto; }
.share-hero > .launch-art { max-width:620px; margin:32px auto; }
@media(max-width:820px) {
 .launch-hero { padding:32px 0 40px; }
 .launch-grid { grid-template-columns:minmax(0,1fr); gap:30px; }
 .launch-status { margin-bottom:16px; }
 .launch-copy h1 { font-size:clamp(2.9rem,10vw,4.7rem); }
 .launch-title { margin-bottom:18px; }
 .launch-facts { margin-bottom:20px; }
 .launch-copy .button { white-space:normal; text-align:center; overflow-wrap:anywhere; min-height:48px; }
 .launch-copy .actions { flex-direction:column; align-items:stretch; }
 .launch-art { max-width:620px; width:100%; justify-self:center; }
}
