@font-face {
  font-family: "Jersey 10";
  src: url("fonts/Jersey10-Regular.woff") format("woff");
  font-display: swap;
}

:root {
  --night: #070f24;
  --navy: #0b1a3a;
  --navy-2: #12244d;
  --navy-3: #1c3366;
  --line: #2b4a8a;
  --pants: #e8eefc;
  --pants-shade: #a9b9e6;
  --text: #dfe7fb;
  --muted: #93a4cf;
  --gold: #ffcc4d;
  --gold-deep: #c98a12;
  --pink: #ff7aa8;
  --mint: #6ef0c2;
  --px: 4px;
  --wrap: 1120px;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pixel: "Jersey 10", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; }
.pixelated { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--gold); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

h1, h2, h3, .pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: .02em; line-height: 1; }

/* Notched pixel frame: the four box-shadows cut the corners like a sprite border. */
.px-frame {
  background: var(--navy-2);
  box-shadow:
    0 calc(var(--px) * -1) 0 0 var(--line),
    0 var(--px) 0 0 var(--line),
    calc(var(--px) * -1) 0 0 0 var(--line),
    var(--px) 0 0 0 var(--line),
    var(--px) calc(var(--px) * 3) 0 0 rgba(0, 0, 0, .45);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 15, 36, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(43, 74, 138, .5);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--pants); text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--pixel); font-size: 28px; line-height: 1; }
.nav { display: flex; gap: 6px; }
.nav a {
  font-family: var(--pixel); font-size: 24px; color: var(--muted); text-decoration: none;
  padding: 6px 12px; line-height: 1;
}
.nav a[aria-current="page"] { color: var(--pants); background: var(--navy-2); }
.codes-home-link { display: inline-block; padding-block: 10px; font-family: var(--pixel); font-size: 26px; text-decoration: none; }
/* 44 px square: Apple's minimum touch target */
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn i { display: block; width: 24px; height: 4px; background: var(--pants); margin: 0 0 4px; transition: transform .12s steps(2), opacity .12s steps(2); }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn {
  --bg: var(--gold); --fg: var(--night); --edge: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--pixel); font-size: 28px; line-height: 1;
  color: var(--fg); background: var(--bg); text-decoration: none;
  padding: 14px 22px 12px; border: 0; cursor: pointer;
  box-shadow:
    0 -4px 0 0 var(--bg), 0 4px 0 0 var(--bg), -4px 0 0 0 var(--bg), 4px 0 0 0 var(--bg),
    inset 0 -6px 0 0 var(--edge), 4px 12px 0 0 rgba(0, 0, 0, .45);
  transition: transform .08s steps(2);
}
.btn:active { transform: translateY(3px); }
/* Game-blue secondary button, the same blue as the in-game buy buttons */
.btn.ghost { --bg: #0095e9; --fg: #fff; --edge: #0067a8; }

/* Hero */
.hero { padding: 0; position: relative; min-height: min(calc(100svh - 64px), 820px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
#meadow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; background: var(--night); }
.hero-inner { text-align: center; padding: 16px 0 164px; }
/* Heroes stand on the meadow at a whole-pixel scale (the sprites use 8 px art pixels) */
.party { position: absolute; left: max(16px, 6vw); bottom: 34px; display: flex; align-items: flex-end; gap: 6px; z-index: -1; }
.party img { width: 102px; height: auto; animation: bob 1.6s steps(2) infinite; }
.party img.wide { width: 156px; }
.party img:nth-child(2) { animation-delay: .4s; }
.party img:nth-child(3) { animation-delay: .8s; }
.party img.strike { animation: strike .3s steps(3) 1; }
@keyframes strike { 40% { transform: translateX(18px) rotate(4deg); } }
.pop-hit { position: absolute; z-index: 2; pointer-events: none; font-family: var(--pixel); font-size: 26px; line-height: 1; white-space: nowrap; color: #fff;
  text-shadow: 0 2px 0 #1d1420, 2px 0 0 #1d1420, -2px 0 0 #1d1420, 0 -2px 0 #1d1420; }
.pop-hit.crit { color: #ffcc4d; font-size: 32px; }
.pop-hit.gold { color: #ffcc4d; }
.pop-hit.gold::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 4px; background: #ffcc4d; box-shadow: inset -3px -3px 0 #c98a12, 0 0 0 2px #1d1420; vertical-align: 2px; }
.pop-hit.heal { color: #7dff6b; font-size: 22px; }
.pop-number { position: fixed; z-index: 51; pointer-events: none; font-family: var(--pixel); font-size: 44px; line-height: 1; color: #7dff6b; text-shadow: 0 3px 0 #1d3b1a, 3px 0 0 #1d3b1a, -3px 0 0 #1d3b1a, 0 -3px 0 #1d3b1a; }
.logo-stage { position: relative; width: min(200px, 52vw); margin: 0 auto 18px; cursor: pointer; }
.logo-stage img { width: 100%; height: auto; display: block; animation: strut 1.2s steps(2) infinite; transform-origin: 50% 100%; }
.logo-stage::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -14px; height: 12px;
  background: rgba(0, 0, 0, .45); border-radius: 0; animation: shadow 1.2s steps(2) infinite;
  clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%);
}
.logo-stage.jump img { animation: jump .6s steps(6) 1; }
@keyframes strut { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes shadow { 50% { transform: scaleX(.9); opacity: .7; } }
@keyframes jump { 40% { transform: translateY(-70px) rotate(8deg); } 70% { transform: translateY(-20px) rotate(-4deg); } }

.kicker { font-family: var(--pixel); font-size: 26px; color: var(--mint); margin: 0 0 6px; line-height: 1; }
.logo-stage + .kicker { margin-top: 30px; }
section[id] { scroll-margin-top: 64px; }
.hero h1 { font-size: clamp(60px, 12vw, 112px); color: var(--pants); margin: 0; text-shadow: 0 6px 0 var(--line), 0 12px 0 rgba(0,0,0,.5); }
.hero h1 em { text-shadow: 0 6px 0 var(--gold-deep), 0 12px 0 rgba(0,0,0,.5); }
.hero h1 em { font-style: normal; color: var(--gold); }
.tagline { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 560px; margin: 22px auto 30px; }
.cta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Marquee strip */
.ticker { background: var(--gold); color: var(--night); overflow: hidden; border-block: 4px solid var(--gold-deep); }
.ticker div { display: flex; width: max-content; animation: tick 28s linear infinite; }
.ticker span { font-family: var(--pixel); font-size: 32px; line-height: 1; padding: 12px 22px 10px; white-space: nowrap; }
.ticker span::after { content: "\2726"; margin-left: 44px; color: var(--gold-deep); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .kicker { color: var(--pink); }
.section-head h2 { font-size: clamp(48px, 7vw, 76px); color: var(--pants); margin: 0; }
.section-head p { color: var(--muted); max-width: 600px; margin: 14px auto 0; }

/* Game card */
.game {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  background: linear-gradient(145deg, #151a38, #0e1b38);
}
.game-banner { grid-column: 1 / -1; display: block; height: clamp(180px, 26vw, 300px); overflow: hidden; border-bottom: 1px solid #ffffff26; background: #81dce3; }
.game-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; image-rendering: pixelated; }
.game-art {
  min-width: 0; padding: 24px 28px 28px; border-right: 1px solid #293654;
  background:
    radial-gradient(ellipse at 50% 38%, #49305d88, transparent 65%),
    radial-gradient(circle, #9d84cf20 1px, transparent 1px), #0c142c;
  background-size: auto, 12px 12px, auto;
  display: flex; flex-direction: column; justify-content: center;
}
.gallery-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.gallery-topline > span:last-child { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.badge-soon { font-family: var(--pixel); font-size: 22px; line-height: 1; background: #ff7aa81a; border: 1px solid #ff7aa84d; color: #ff9bbb; padding: 7px 10px; }
.gallery-stage { position: relative; display: grid; place-items: center; isolation: isolate; padding: 0 0 14px; }
.gallery-feature { display: block; position: relative; width: 56%; max-width: 252px; z-index: 1; text-decoration: none; box-shadow: 0 16px 40px #0008, 0 0 0 1px #c9b6ff66; background: #0b1123; }
.gallery-feature img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.gallery-zoom { position: absolute; bottom: 12px; right: 10px; padding: 3px 8px; border: 1px solid #ffffff40; background: #070f24e6; color: #fff; font-size: 11px; }
.gallery-preview { position: absolute; width: 39%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; opacity: .65; box-shadow: 0 12px 32px #0006; }
.gallery-preview-left { left: 0; transform: rotate(-7deg); }
.gallery-preview-right { right: 0; transform: rotate(7deg); }
.gallery-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 40px; margin: 12px 0 8px; color: var(--pants); font-family: var(--pixel); font-size: 23px; line-height: 1.1; }
#gallery-count { flex-shrink: 0; font: 11px var(--body); letter-spacing: .12em; color: var(--muted); }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 5px 3px 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.gallery-thumb { display: block; flex: 1 0 0; min-width: 0; border: 2px solid transparent; opacity: .5; transition: opacity .15s, border-color .15s; }
.gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; }
.gallery-thumb[aria-current="true"] { border-color: var(--gold); opacity: 1; box-shadow: 0 0 12px #ffcc4d22; }
.gallery-thumb:hover, .gallery-thumb:focus-visible { opacity: 1; }
.gallery-feature:focus-visible, .gallery-thumb:focus-visible, .dialog-controls button:focus-visible, .gallery-close:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.game-body { padding: 40px 36px; align-self: center; min-width: 0; }
.game-body h3 { font-size: clamp(44px, 4.5vw, 60px); margin: 0 0 8px; color: var(--pants); }
.genre { font-family: var(--pixel); font-size: 22px; color: var(--mint); margin: 0 0 24px; line-height: 1.1; }
.game-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.game-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; box-shadow: 0 0 0 1px #ffffff26, 0 6px 16px #0005; }
.game-heading h3 { font-size: clamp(36px, 3.8vw, 48px); }
.game-heading .genre { font-size: 20px; margin: 0; line-height: 1.2; }
.game-body .game-intro { font-family: var(--pixel); font-size: 34px; line-height: 1.12; color: var(--pants); margin: 0 0 16px; }
.game-intro span { color: var(--gold); }
.game-body > p:not(.genre):not(.game-intro):not(.soon-note) { font-size: 15px; line-height: 1.75; color: #b9c6e2; margin: 0; }
.game-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0; border-block: 1px solid #ffffff14; padding: 16px 0; }
.game-stats > div { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid #ffffff14; }
.game-stats > div:first-child { padding-left: 0; border: 0; }
.game-stats dt { font-size: 12px; color: var(--muted); line-height: 1.4; }
.game-stats dd { order: -1; font: 36px/1 var(--pixel); color: var(--gold); margin: 0; }
.game-body ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6; color: #c7d2eb; }
.game-body li { padding-left: 20px; position: relative; }
.game-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--mint); box-shadow: 2px 2px 0 #285749; }
.soon-note { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.status-dot { flex-shrink: 0; width: 6px; height: 6px; background: var(--mint); box-shadow: 0 0 8px #6ef0c24d; }
.game-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.game-links .btn { font-size: 23px; padding: 10px 16px; gap: 16px; }
.game-codes-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; font-family: var(--pixel); font-size: 23px; text-decoration: none; }
.screenshot-dialog { padding: 16px; border: 1px solid #4c507a; background: #0c142c; color: var(--pants); max-width: min(94vw, 620px); max-height: 96dvh; overflow: auto; box-shadow: 0 24px 100px #0009; }
.screenshot-dialog::backdrop { background: #030713eb; backdrop-filter: blur(8px); }
.screenshot-dialog > img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(96dvh - 160px); margin: auto; object-fit: contain; }
.screenshot-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.gallery-close, .dialog-controls button { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid #ffffff30; background: #1c2844; color: var(--pants); cursor: pointer; font-size: 24px; }
.dialog-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.dialog-caption { font: 22px/1.1 var(--pixel); text-align: center; }
html:has(.screenshot-dialog[open]) { overflow: hidden; }
@media (max-width: 1020px) and (min-width: 861px) {
  .game-art { padding-inline: 20px; }
  .game-body { padding: 28px 24px; }
  .gallery-feature { width: 63%; }
}

/* About */
.bloom-page section { scroll-margin-top: 80px; }
.bloom-hero { padding: 72px 0 64px; background: radial-gradient(ellipse at 88% 35%, #ff7aa810, transparent 55%); }
.bloom-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 56px; }
.bloom-studio-link { display: inline-block; color: var(--muted); font-size: 13px; margin-bottom: 28px; text-decoration: none; }
.bloom-hero-copy > .kicker { color: var(--mint); margin: 0 0 12px; }
.bloom-hero h1 { font-size: clamp(54px, 6.5vw, 84px); color: var(--pants); margin: 0 0 24px; }
.bloom-hero h1 span { display: block; color: var(--pink); font-size: 32px; letter-spacing: .12em; margin-top: 12px; }
.bloom-hero .bloom-lead { font: 42px/1.05 var(--pixel); color: var(--gold); margin: 0 0 20px; }
.bloom-hero-copy > p:not(.kicker):not(.bloom-lead) { color: #b9c6e2; max-width: 480px; font-size: 16px; line-height: 1.8; margin: 0 0 26px; }
.bloom-hero .cta { justify-content: flex-start; gap: 16px; }
.bloom-hero .btn { font-size: 24px; padding: 12px 20px; }
.bloom-platforms { display: flex; gap: 24px; margin-top: 28px; }
.bloom-platforms > span { font: 24px/1.1 var(--pixel); color: var(--pants); }
.bloom-platforms small { display: block; font: 11px/1.5 var(--body); color: var(--muted); margin-top: 5px; }
.bloom-key-art { position: relative; min-width: 0; }
.bloom-key-art > img { display: block; width: 100%; height: auto; border: 2px solid #839aba; box-shadow: 12px 12px 0 #0004; image-rendering: pixelated; }
.bloom-starting-party { position: absolute; display: flex; align-items: flex-end; justify-content: center; gap: 12px; bottom: 48px; left: 0; right: 0; filter: drop-shadow(4px 4px 0 #0007); }
.bloom-starting-party img { width: 68px; height: auto; }
.bloom-starting-party img:last-child { width: 104px; }
.bloom-key-art > p { font: 25px/1.1 var(--pixel); color: var(--mint); text-align: center; margin: 76px 0 0; }
.bloom-highlights { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid #ffffff1a; margin: 0; }
.bloom-highlights > div { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; border-left: 1px solid #ffffff1a; }
.bloom-highlights > div:first-child { border-left: 0; }
.bloom-highlights dt { font-size: 13px; color: var(--muted); }
.bloom-highlights dd { order: -1; margin: 0; font: 48px/1 var(--pixel); color: var(--gold); }
.bloom-highlights > div:last-child dd { color: var(--mint); }
.bloom-page .section-head { max-width: 820px; margin-inline: auto; }
.bloom-page .section-head h2 { font-size: clamp(44px, 5.5vw, 64px); }
.bloom-features { border-block: 1px solid #ffffff0d; background: #0b1630; }
.bloom-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bloom-feature { border: 1px solid #3d507a; background: var(--night); overflow: hidden; }
.bloom-feature-art { display: grid; place-items: end center; padding: 24px 16px 0; background: radial-gradient(ellipse at 50% 60%, #7f476b55, transparent 70%), #101a32; }
.bloom-feature-art img { display: block; width: min(68%, 174px); height: auto; box-shadow: 0 4px 20px #0006; }
.bloom-feature > div:last-child { padding: 24px; }
.bloom-feature .kicker { color: var(--mint); font-size: 21px; margin-top: 0; }
.bloom-feature h3 { color: var(--pants); font-size: 36px; margin: 0 0 14px; }
.bloom-feature p:last-child { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }
.bloom-roster-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.bloom-roster-copy .kicker { color: var(--pink); }
.bloom-roster-copy h2 { font-size: clamp(44px, 5vw, 64px); color: var(--pants); margin: 0 0 24px; }
.bloom-roster-copy h2 span { color: var(--gold); }
.bloom-roster-copy > p:not(.kicker) { font-size: 16px; color: var(--muted); line-height: 1.8; }
.bloom-roster-copy > a { display: inline-block; font: 25px/1.2 var(--pixel); margin-top: 16px; }
.bloom-roster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bloom-roster-grid figure { margin: 0; background: #13203e; border: 1px solid #40517c; }
.bloom-roster-grid img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.bloom-roster-grid figcaption { display: grid; place-items: center; min-height: 44px; padding: 8px 4px; text-align: center; font: 19px/1.05 var(--pixel); color: var(--pants); }
.bloom-return { padding-top: 0; }
.bloom-return-card { display: flex; gap: 28px; align-items: flex-start; padding: 44px; background: linear-gradient(130deg, #1d2047, #112240); }
.bloom-return-card > img { width: 88px; height: 88px; border-radius: 16px; }
.bloom-return h2 { font-size: 48px; color: var(--pants); margin: 0 0 16px; }
.bloom-return .kicker { color: var(--mint); margin-top: 0; }
.bloom-return p:not(.kicker) { max-width: 680px; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(48px, 7vw, 72px); margin: 0 0 18px; color: var(--pants); }
.about h2 span { color: var(--gold); }
.about p { color: var(--text); }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; }
.about-links a { display: inline-flex; align-items: center; gap: 10px; font: 24px/1.2 var(--pixel); padding-block: 8px; text-decoration: none; }
.facts { margin: 0; padding: 30px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--pixel); font-size: clamp(28px, 2.6vw, 36px); white-space: nowrap; line-height: 1; color: var(--gold); }
.facts .game-name { white-space: normal; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 88px; }
.value { padding: 28px 26px; }
/* Pixel-drawn SVG icons on a bevelled tile, 4 px per art pixel like the rest of the page */
.value .icon {
  color: var(--night); background: var(--mint); width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: inset 4px 4px 0 rgba(255, 255, 255, .35), inset -4px -4px 0 rgba(0, 0, 0, .2);
}
.value .icon svg { display: block; }
.value:nth-child(2) .icon { background: var(--gold); }
.value:nth-child(3) .icon { background: var(--pink); }
.value h3 { font-size: 34px; margin: 0 0 8px; color: var(--pants); }
.value p { margin: 0; color: var(--muted); font-size: 16px; }

/* Answers remain in the HTML and work with JavaScript disabled. */
.faq-teaser { padding-top: 0; }
.faq-teaser-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px; }
.faq-teaser h2 { font-size: 40px; margin: 0 0 12px; max-width: 620px; }
.faq-teaser p { color: var(--muted); margin-bottom: 0; }
.faq-teaser .btn { flex-shrink: 0; font-size: 24px; }
.faq-page { padding: 48px 0 96px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.faq-page-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.faq-page-head h1 { font-size: clamp(46px, 6vw, 76px); color: var(--pants); margin: 0 0 20px; }
.faq-page-head h1 span { color: var(--gold); }
.faq-page-head > div > p { max-width: 700px; color: var(--muted); }
.faq-page-head .faq-reviewed { font-size: 12px; }
.faq-page-head > img { width: 112px; height: 112px; border-radius: 20px; box-shadow: 0 0 0 2px #ffffff26, 8px 8px 0 #0005; }
.faq-tools { margin: 32px 0 48px; padding: 24px; border: 1px solid var(--line); background: var(--navy); }
.faq-tools label { display: block; font: 26px/1.2 var(--pixel); margin-bottom: 12px; }
.faq-search-row { display: flex; gap: 12px; flex-wrap: wrap; }
.faq-search-row input { flex: 1 1 300px; min-width: 0; padding: 12px 14px; border: 1px solid #52658e; background: var(--night); color: var(--pants); font: 16px var(--body); }
.faq-search-row button { padding: 10px 14px; min-height: 44px; background: var(--navy-2); border: 1px solid #52658e; color: var(--pants); font: 16px var(--body); cursor: pointer; }
.faq-search-row input:focus-visible, .faq-search-row button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.faq-tools > p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.faq-page-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.faq-jumps { position: sticky; top: 96px; align-self: start; display: grid; gap: 8px; }
.faq-jumps a { padding: 10px 12px; font-size: 14px; text-decoration: none; border-left: 2px solid var(--line); }
.faq-jumps a:hover, .faq-jumps a:focus-visible { color: var(--pants); border-color: var(--gold); background: var(--navy-2); }
.faq-category { scroll-margin-top: 90px; margin-bottom: 52px; }
.faq-category > h2 { font-size: 44px; color: var(--pants); margin: 0 0 12px; }
.faq-category > .kicker { color: var(--mint); margin-top: 0; }
.faq-category-intro { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.faq-question { scroll-margin-top: 90px; }
.faq-help { padding: 32px; margin-top: 32px; }
.faq-help h2, .faq-empty h2 { font-size: 40px; margin: 0 0 12px; }
.faq-help p, .faq-empty p { color: var(--muted); }
.faq-help .btn { font-size: 24px; }
.faq-category[hidden], .faq-question[hidden], .faq-tools[hidden], .faq-empty[hidden] { display: none; }
.faq-list { min-width: 0; }
.faq-list details { margin: 0; border: 0; border-bottom: 1px solid #ffffff1a; padding: 0; background: transparent; }
.faq-list details:first-child { border-top: 1px solid #ffffff1a; }
.faq-list summary { padding: 20px 8px 20px 0; font-size: 17px; line-height: 1.5; }
.faq-list details[open] summary { color: var(--gold); }
.faq-list details p { color: #b9c6e2; font-size: 15px; line-height: 1.8; padding-right: 16px; margin: 0 0 22px; }
.faq-list summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }

/* Contact */
.contact { text-align: center; padding: 64px 32px; max-width: 820px; margin: 0 auto; }
.contact h2 { font-size: clamp(48px, 7vw, 72px); margin: 0 0 12px; color: var(--pants); }
.contact p { color: var(--muted); margin: 0 auto 30px; max-width: 520px; }
.contact .contact-help { margin: 28px auto 0; font-size: 14px; line-height: 1.8; }
.mails { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 2px solid rgba(43, 74, 138, .5); padding: 40px 0; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer span a { color: var(--pants); }
.lang-switch { display: inline-block; margin-bottom: 18px; font-size: 15px; }
.site-footer a:hover { color: var(--pants); }
.privacy-choice { color: var(--muted); font: inherit; min-height: 44px; text-align: left; padding: 0; border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.privacy-choice:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.analytics-banner { position: fixed; bottom: 16px; left: 16px; right: 16px; margin-inline: auto; max-width: 850px; z-index: 40; display: flex; align-items: center; gap: 24px; background: #0b1630; border: 2px solid var(--line); box-shadow: 0 8px 40px #000a; padding: 20px 24px; }
.analytics-banner[hidden] { display: none; }
.analytics-banner h2 { color: var(--pants); font-size: 28px; margin: 0 0 8px; }
.analytics-banner p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.analytics-actions { display: flex; gap: 10px; flex-shrink: 0; }
.analytics-actions button { min-height: 44px; padding: 10px 12px; background: var(--navy-2); border: 1px solid var(--mint); color: var(--pants); font: 16px var(--body); cursor: pointer; }
.analytics-actions button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Hover lifts only on real pointers; on phones a tap would leave the button stuck in its hover state */
@media (hover: hover) {
  a:hover { color: #fff; }
  .nav a:hover { color: var(--pants); background: var(--navy-2); }
  .btn:hover { color: var(--fg); transform: translateY(-3px); }
  .btn:hover:active { transform: translateY(3px); }
  .site-footer a:hover { color: var(--pants); }
}

/* Legal / support pages */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(52px, 9vw, 80px); color: var(--pants); margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 38px; color: var(--gold); margin: 48px 0 10px; }
.doc h3 { font-size: 28px; color: var(--pants); margin: 28px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc .card { padding: 22px 24px; margin: 22px 0; }
.doc .card p { margin: 0; }
details { background: var(--navy-2); border-left: 4px solid var(--line); margin: 12px 0; padding: 4px 20px; }
details[open] { border-color: var(--gold); }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--pants); }

/* Reveal on scroll (only when JS has run) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s steps(4); }
.js .reveal.in { opacity: 1; transform: none; }

.confetti { position: fixed; width: 8px; height: 8px; pointer-events: none; z-index: 50; }

@media (max-width: 860px) {
  .game, .about { grid-template-columns: 1fr; }
  .game-art { border-right: 0; border-bottom: 1px solid #293654; }
  .gallery-stage { max-width: 480px; width: 100%; align-self: center; }
  .gallery-thumbs, .gallery-caption, .gallery-topline { width: 100%; max-width: 520px; align-self: center; }
  .game-body { padding: 32px 24px 36px; }
  .values { grid-template-columns: 1fr; margin-top: 64px; }
  .faq-page-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-jumps { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .faq-search-row input { flex-basis: 100%; }
  .faq-page-head > img { width: 80px; height: 80px; }
  .faq-teaser-card { align-items: flex-start; flex-direction: column; }
  .analytics-banner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .bloom-hero-grid, .bloom-roster-layout { grid-template-columns: 1fr; gap: 44px; }
  .bloom-key-art { max-width: 600px; width: 100%; justify-self: center; }
  .bloom-feature-grid { grid-template-columns: 1fr; }
  .bloom-feature { display: grid; grid-template-columns: 160px minmax(0, 1fr); }
  .bloom-feature-art { padding: 16px; align-items: center; }
  .bloom-feature-art img { width: 100%; }
  section { padding: 80px 0; }
}
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--night); padding: 4px 16px 12px; border-bottom: 2px solid var(--line); box-shadow: 0 16px 24px rgba(0, 0, 0, .5); }
  .nav.open { display: flex; }
  .nav a { font-size: 28px; padding: 14px 8px 12px; border-bottom: 2px solid rgba(43, 74, 138, .35); }
  .nav a:last-child { border-bottom: 0; }
  .nav a:active { color: var(--pants); background: var(--navy-2); }
  .brand span { font-size: 24px; }
}
@media (max-width: 640px) {
  .btn { font-size: 26px; }
  .game-body h3 { font-size: clamp(40px, 10vw, 52px); }
  .game-heading { gap: 12px; }
  .game-heading h3 { font-size: clamp(28px, 7.5vw, 40px); }
  .game-heading .genre { font-size: 18px; }
  .game-icon { width: 52px; height: 52px; flex-basis: 52px; border-radius: 10px; }
  .mails .btn { width: 100%; justify-content: center; font-size: 22px; }
  .facts { padding: 24px 20px; gap: 22px 16px; }
  .facts dd { font-size: 28px; }
  .party { left: 8px; bottom: 24px; gap: 2px; }
  /* 3 px per art pixel: small enough that the slimes read as a fight, still whole pixels */
  .party img { width: 51px; }
  .party img.wide { width: 78px; }
  /* Whole hero, meadow included, fits one phone screen */
  .hero-inner { padding: 8px 0 120px; }
  .logo-stage { width: 150px; margin-bottom: 10px; }
  .logo-stage + .kicker { margin-top: 22px; font-size: 22px; }
  .tagline { font-size: 17px; margin: 16px auto 22px; }
  .cta { gap: 14px; }
  .cta .btn { font-size: 22px; padding: 12px 16px 10px; }
  .pop-hit { font-size: 20px; }
  .pop-hit.crit { font-size: 24px; }
  .ticker span { font-size: 24px; padding: 9px 16px 7px; }
  .ticker span::after { margin-left: 28px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, .about h2, .contact h2 { font-size: 46px; }
  .game-art { padding: 20px 16px 18px; }
  .gallery-feature { width: 64%; max-width: 260px; }
  .gallery-thumb { flex: 1 0 38px; min-height: 44px; }
  .gallery-thumbs { gap: 6px; }
  .gallery-caption { font-size: 22px; }
  .gallery-topline > span:last-child { font-size: 9px; }
  .game-body { padding: 26px 20px 30px; }
  .about { gap: 28px; }
  /* Value cards become compact rows: icon beside the text */
  .values { gap: 16px; margin-top: 40px; }
  .value { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; padding: 18px; }
  .value .icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
  .value h3 { font-size: 28px; margin: 0; }
  .contact { padding: 40px 20px; }
  .faq-page { padding-top: 24px; }
  .faq-page-head > img { display: none; }
  .faq-tools { padding: 18px; }
  .faq-search-row button { flex: 1 1 0; padding-inline: 8px; font-size: 14px; }
  .faq-category > h2 { font-size: 36px; }
  .faq-teaser-card { padding: 24px; }
  .faq-teaser h2 { font-size: 34px; }
  .faq-help { padding: 24px 20px; }
  .analytics-banner { bottom: 8px; left: 8px; right: 8px; padding: 16px; }
  .analytics-actions { flex-wrap: wrap; }
  .analytics-actions button { font-size: 14px; }
  .bloom-hero { padding: 36px 0 44px; }
  .bloom-hero h1 { font-size: clamp(48px, 12vw, 64px); }
  .bloom-hero h1 span { font-size: 26px; }
  .bloom-hero .bloom-lead { font-size: 36px; }
  .bloom-hero .btn { font-size: 22px; padding: 12px 16px; }
  .bloom-studio-link { margin-bottom: 24px; }
  .bloom-highlights { grid-template-columns: repeat(2, 1fr); }
  .bloom-highlights > div { padding: 20px; }
  .bloom-highlights > div:nth-child(odd) { border-left: 0; }
  .bloom-highlights > div:nth-child(n+3) { border-top: 1px solid #ffffff1a; }
  .bloom-feature { grid-template-columns: 110px minmax(0, 1fr); }
  .bloom-feature-art { padding: 12px; }
  .bloom-feature > div:last-child { padding: 20px 16px; }
  .bloom-feature h3 { font-size: 30px; }
  .bloom-feature .kicker { font-size: 18px; }
  .bloom-feature p:last-child { font-size: 14px; }
  .bloom-roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .bloom-roster-grid figcaption { font-size: 18px; }
  .bloom-return-card { padding: 28px 24px; gap: 20px; flex-direction: column; }
  .bloom-return h2 { font-size: 40px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; width: 100%; }
  /* Footer links get a full finger-sized row instead of a 15 px text line */
  .site-footer nav a { display: block; padding: 12px 0; }
  .site-footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
}
/* Safari on a 6.1" iPhone leaves ~660 px under its bars: shrink the logo so the buttons stay clear of the meadow */
@media (max-width: 640px) and (max-height: 760px) {
  .logo-stage { width: 112px; margin-bottom: 8px; }
  .logo-stage + .kicker { margin-top: 18px; }
  .hero h1 { font-size: 56px; }
  .tagline { margin: 12px auto 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
