/* JL Prime — "Pasar Malam": a Singapore night market where every game is a stall.
   Design: docs/redesign/ (direction C, with B's stats strip and countdown band). */
:root {
  --sky-1: #140f38;
  --sky-2: #2b1856;
  --sky-3: #5b2366;
  --street: #23161f;
  --street-2: #2e1d29;
  --wood: #6b4a2e;
  --stall: #3a2633;
  --stall-edge: #4d3443;
  --text: #ffffff;
  --muted: #f1dcc9;          /* 11:1 on --street */
  --bulb: #ffdf8a;
  --gold: #ffd54a;
  --gold-2: #ffa81f;
  --gold-edge: #b86e00;
  --gold-ink: #3a2200;
  --neon: #ff7ab8;
  --teal: #36e0c8;
  --board: #1f3b33;          /* chalk menu board */
  --chalk: #f4f1e6;
  --shutter-1: #9aa0b4;
  --shutter-2: #767c91;
  --yt: #d6002a;
  --yt-edge: #7d0019;
  --focus: #ffffff;
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Baloo 2", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--street); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 10px; z-index: 50; font-weight: 800; }
.skip:focus { left: 8px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 16px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: var(--gold-ink); font: 800 1.05rem/1.1 var(--body); text-decoration: none;
  box-shadow: 0 5px 0 var(--gold-edge), 0 0 30px rgba(255, 213, 74, .35); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--gold-edge), 0 0 40px rgba(255, 213, 74, .5); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--gold-edge); }
.btn.yt { background: var(--yt); color: #fff; box-shadow: 0 5px 0 var(--yt-edge), 0 0 24px rgba(214, 0, 42, .3); }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: .95rem; border-radius: 13px; box-shadow: 0 4px 0 var(--gold-edge); }
.btn.yt.sm { box-shadow: 0 4px 0 var(--yt-edge); }
.tlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--bulb); text-underline-offset: 4px; }
.ytico { width: 24px; height: 17px; flex: none; }

/* Header: a little signboard over the night sky */
.top { position: absolute; inset: 0 0 auto; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; font: 800 1.35rem/1 var(--display); }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 0 12px rgba(255, 213, 74, .45)); }
.top nav { display: flex; align-items: center; gap: 2px; }
.top nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 800; text-decoration: none; color: var(--muted); border-radius: 10px; }
.top nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top nav .btn { margin-left: 8px; }

/* Hero: night sky, string lights, neon sign */
.hero { position: relative; overflow: hidden; padding: 112px 0 0; text-align: center;
  background: radial-gradient(1000px 360px at 50% 100%, rgba(255, 140, 90, .35), transparent 70%), linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 50%, var(--sky-3) 88%, #7a2d5d 100%); }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 26%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 82% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 72% 40%, #fff 50%, transparent 51%); }
/* the lights hang in swags just under the header bar (76 px), never across the logo, links or button */
.lights { position: absolute; left: 0; right: 0; top: 80px; height: 40px; pointer-events: none; }
.lights svg { width: 100%; height: 100%; overflow: visible; }
.lights circle { fill: var(--bulb); r: 6px; filter: drop-shadow(0 0 6px rgba(255, 215, 120, .9)); animation: twinkle 3.6s ease-in-out infinite; }
.lights circle:nth-child(3n) { fill: #ff9fca; } .lights circle:nth-child(4n) { fill: #8ff0e0; }
.lights circle:nth-child(2n) { animation-delay: -1.2s; } .lights circle:nth-child(3n) { animation-delay: -2.4s; }
@keyframes twinkle { 50% { opacity: .65; } }
.kicker { position: relative; display: inline-block; font: 700 1.6rem/1 var(--hand); color: var(--teal); transform: rotate(-3deg); margin-top: 28px; }
h1 { position: relative; margin: 6px auto 12px; font: 800 clamp(2.8rem, 8vw, 6.2rem)/.95 var(--display); letter-spacing: -.01em;
  color: #fff7e8; text-shadow: 0 0 8px rgba(255, 230, 180, .6), 0 0 28px rgba(255, 122, 184, .55), 0 0 60px rgba(255, 122, 184, .35); }
h1 .g { display: block; color: var(--gold); text-shadow: 0 0 8px rgba(255, 213, 74, .7), 0 0 30px rgba(255, 168, 31, .55), 0 0 70px rgba(255, 168, 31, .35); }
.hero p.sub { position: relative; max-width: 34em; margin: 0 auto 24px; font-size: 1.12rem; font-weight: 700; color: var(--muted); }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; }
.hero > .wrap { position: relative; z-index: 2; }

/* Stats strip (from direction B) */
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin: 34px auto 0; padding: 20px 0 0; max-width: 640px; border-top: 1px solid rgba(255, 255, 255, .16); list-style: none; }
.stats li { display: flex; flex-direction: column; align-items: center; }
.stats b { font: 800 1.7rem/1.1 var(--display); color: var(--gold); text-shadow: 0 0 18px rgba(255, 213, 74, .4); }
.stats span { color: var(--muted); font-size: .9rem; font-weight: 700; }

/* The row of mini stalls along the hero street (also "more games" on game pages) */
/* 2D Singapore skyline drawn by tools/skyline.py: Flyer, Esplanade, ArtScience, MBS, Supertrees, HDB */
/* --sky-h grows with the width so the drawing (1200×300, tallest point 206 units above the bottom) is never cropped at the top. */
.street { --sky-h: max(150px, 17.5vw); position: relative; z-index: 1; margin-top: calc(var(--sky-h) - 6px); }
.skyline { position: absolute; z-index: 0; left: 0; right: 0; bottom: calc(100% - 26px); height: var(--sky-h); pointer-events: none; }
.skyline img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.row { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding: 0 12px; }
.mstall { --a1: #e8343b; --a2: #fff3dc; --s: 17px; position: relative; width: 136px; flex: none; text-decoration: none; display: block; transition: transform .2s; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45)); }
.mstall:hover { transform: translateY(-5px); }
/* stripes and scallops tile with background-repeat: round, so every awning ends on a whole stripe (no stray half scallop at the edge) */
.mstall .aw, .stall .aw, .special .aw, .game-sign .aw { position: relative; display: block; background: linear-gradient(90deg, var(--a1) 50%, var(--a2) 50%) 0 0 / calc(var(--s, 22px) * 2) 100% round; }
/* soft shading so awnings look like curved canvas, not flat stripes */
.mstall .aw::before, .stall .aw::before, .special .aw::before, .game-sign .aw::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .2)); }
.mstall .aw { height: 30px; border-radius: 12px 12px 3px 3px; z-index: 2; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35); }
.mstall .aw::after, .stall .aw::after, .special .aw::after, .game-sign .aw::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--s, 22px) / 2.2);
  background: radial-gradient(circle at 25% 0, var(--a1) calc(var(--s, 22px) / 2.2), transparent calc(var(--s, 22px) / 2.2 + 1px)) 0 0 / calc(var(--s, 22px) * 2) 100% round,
              radial-gradient(circle at 75% 0, var(--a2) calc(var(--s, 22px) / 2.2), transparent calc(var(--s, 22px) / 2.2 + 1px)) 0 0 / calc(var(--s, 22px) * 2) 100% round; }
/* inside the stall: warm light from a hanging bulb, wooden posts either side */
.mstall .stand { position: relative; display: grid; place-items: center; height: 96px; margin: 0 5px; padding-top: 14px;
  background: radial-gradient(70px 56px at 50% 12%, rgba(255, 214, 140, .6), rgba(255, 214, 140, 0) 75%), linear-gradient(180deg, #4d2f40, #2c1b27);
  border-left: 6px solid #7a5434; border-right: 6px solid #7a5434; box-shadow: inset 1px 0 0 #9b6e46, inset -1px 0 0 #9b6e46; }
.mstall .bulb { position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 8px 3px rgba(255, 215, 120, .75); }
.mstall .bulb::before { content: ""; position: absolute; left: 3px; bottom: 100%; width: 2px; height: 9px; background: #2a1a24; }
.micon { width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
/* the counter, with the game's name painted on it */
.mstall .plank { position: relative; display: block; padding: 6px 6px 7px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 26px), linear-gradient(180deg, #8f5e38, #6b4428);
  border-top: 3px solid #b07c4e; box-shadow: 0 3px 0 #45291a;
  font: 700 .85rem/1.15 var(--display); color: #ffeccc; text-align: center; text-shadow: 0 1px 0 rgba(0, 0, 0, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* lamp glow on the ground in front of open stalls */
.mstall::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -22px; height: 20px; background: radial-gradient(closest-side, rgba(255, 200, 120, .32), transparent); pointer-events: none; }
/* closed stalls: light off, icon dimmed, a handwritten tag */
.mstall.shut .stand { background: linear-gradient(180deg, #3a2635, #251720); }
.mstall.shut .bulb { background: #6d6170; box-shadow: none; }
.mstall.shut .micon { filter: grayscale(.35) brightness(.72); }
.mstall.shut::after { opacity: .25; }
.mstall .soon { position: absolute; right: -2px; bottom: 6px; transform: rotate(6deg); background: #fff6c9; color: #3a2200; font: 700 1.05rem/1 var(--hand); padding: 3px 8px 4px; box-shadow: 0 4px 8px rgba(0, 0, 0, .4); }
.mstall.tall { width: 164px; --s: 20px; } .mstall.tall .aw { height: 36px; } .mstall.tall .stand { height: 118px; } .mstall.tall .micon { width: 84px; height: 84px; border-radius: 22px; }
.mstall.tall .plank { font-size: .95rem; }
.pavement { height: 64px; background: linear-gradient(180deg, #4a2c3c, var(--street)); border-top: 3px solid #5c3a4c; position: relative; }
.run-in { background: url(/img/stalls/nova-run.webp) 0 0 / 1000% 100% no-repeat; image-rendering: pixelated; animation: run .9s steps(10) infinite; }
@keyframes run { to { background-position: 111.11% 0; } }

/* Drawn icons for games without art yet */
.art { display: grid; place-items: center; }
.art svg { width: 62%; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.art .eye { fill: #fff; stroke: none; } .art .faint { opacity: .5; }
.art.robot { background: linear-gradient(135deg, #ff7a59, #d7307a); }
.art.arrows { background: linear-gradient(135deg, #2bd1c4, #2a6fdb); }
.art.merlion { background: linear-gradient(135deg, #ff5a6e, #c21f4a); }

/* Sections */
section { padding: 84px 0; position: relative; }
.hero { padding-bottom: 0; }
.hand { font: 700 1.6rem/1 var(--hand); color: var(--teal); display: inline-block; transform: rotate(-2deg); }
h2 { font: 800 clamp(2rem, 4.8vw, 3.2rem)/1.05 var(--display); margin: 6px 0 8px; }
.lead { color: var(--muted); font-weight: 700; font-size: 1.08rem; margin: 0 0 34px; }
.chip { display: inline-block; font: 800 .74rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.chip.live { background: #5ff2a6; color: #062b18; }
.chip.soon { background: var(--gold); color: var(--gold-ink); }
.chip.dev { background: #efe6ff; color: #2b1856; }
.bulbs { height: 18px; margin-top: 16px; background: radial-gradient(circle, #fff3c4 3px, rgba(255, 215, 120, .6) 5px, transparent 9px) 0 0 / 40px 18px repeat-x; }

/* Tonight's special: the market's best stall. One awning over the whole stall, a warm lit interior between
   wooden posts, the game's name / what it is / chalk slate / Play on the left, phones on a wooden display on the right. */
.featured-sec { scroll-margin-top: 8px; }
.special { --s: 40px; --post: 14px; position: relative; border-radius: 26px 26px 18px 18px; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .7); }
.special .aw { height: 58px; border-radius: 22px 22px 4px 4px; z-index: 3; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35); }
.sp-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "title title" "info show"; grid-template-rows: auto 1fr; gap: 0 44px;
  margin: 0 8px; padding: 40px 40px 0; border-left: var(--post) solid #7a5434; border-right: var(--post) solid #7a5434; box-shadow: inset 2px 0 0 #9b6e46, inset -2px 0 0 #9b6e46;
  /* lit interior: warm lamplight over a deep version of the game's colour, faint back-wall planks */
  background: radial-gradient(42% 60% at 74% 0, var(--glow), transparent 75%), radial-gradient(60% 50% at 20% 0, rgba(255, 214, 140, .14), transparent 80%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 64px),
    linear-gradient(180deg, color-mix(in srgb, var(--a1) 42%, #120a2a), color-mix(in srgb, var(--a1) 22%, #120a2a)); }
.special { --glow: rgba(255, 214, 140, .34); }
/* two hanging lamps over the display */
.lamp { position: absolute; top: 0; width: 34px; height: 16px; border-radius: 17px 17px 4px 4px; background: #2a1a24; z-index: 2; }
.lamp::before { content: ""; position: absolute; left: 16px; bottom: 100%; width: 2px; height: 10px; background: #2a1a24; }
.lamp::after { content: ""; position: absolute; left: 9px; top: 12px; width: 16px; height: 10px; border-radius: 0 0 10px 10px; background: #fff3c4; box-shadow: 0 0 14px 6px rgba(255, 215, 120, .7); }
.lamp.l1 { left: 62%; top: 12px; } .lamp.l2 { left: 86%; top: 12px; }
.sp-title { grid-area: title; display: flex; align-items: center; gap: 18px; }
.sp-title .icon { width: 84px; height: 84px; border-radius: 22px; flex: none; box-shadow: 0 0 0 3px #fff, 0 12px 24px rgba(0, 0, 0, .45); }
.special h3 { font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.02 var(--display); margin: 8px 0 0; }
.special h3 a, .stall h3 a { text-decoration: none; }
.special h3 a:hover, .stall h3 a:hover { text-decoration: underline; }
.special .meta { margin: 6px 0 0; color: #e6defc; font-weight: 800; }
.sp-info { grid-area: info; padding: 22px 0 34px; display: flex; flex-direction: column; }
.sp-info .what { margin: 0 0 20px; color: #f3eefe; font-weight: 700; font-size: 1.06rem; max-width: 34em; }
/* the chalk slate hangs on the stall's back wall */
.slate { background: var(--board); background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 6px 6px; color: var(--chalk);
  border: 8px solid var(--wood); border-radius: 10px; padding: 14px 20px 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 12px 22px -8px rgba(0, 0, 0, .55); }
.slate .hd { font: 700 1.8rem/1 var(--hand); color: var(--gold); margin: 0 0 4px; }
.slate ul { list-style: none; margin: 0; padding: 0; font: 700 1.38rem/1.2 var(--hand); }
.slate li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 2px dashed rgba(244, 241, 230, .22); }
.slate li:last-child { border-bottom: 0; }
.slate li span:last-child { color: var(--teal); }
.sp-info .acts { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.special .ios-line { margin: 0; }
.special .small-links a { color: var(--chalk); }
/* the display: lead phone in front on a wooden plinth, the others a step lower behind it, all standing on one shelf */
.sp-show { grid-area: show; align-self: end; position: relative; padding-top: 24px; }
.sp-show::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 60%; background: radial-gradient(closest-side, rgba(255, 214, 140, .28), transparent); pointer-events: none; }
/* the stall's neon sign on the back wall (static glow, no flashing) */
.neon { position: relative; margin: 0 0 22px; text-align: center; font: 700 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--hand); color: #fff4fa; transform: rotate(-3deg);
  text-shadow: 0 0 4px #fff, 0 0 12px var(--neon), 0 0 28px var(--neon), 0 0 54px rgba(255, 122, 184, .6); }
.sp-stand { position: relative; display: flex; justify-content: center; align-items: flex-end; max-width: 640px; margin-inline: auto; padding-bottom: 22px; }
.sp-stand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 46px), linear-gradient(180deg, #a06a40, #6b4428); border-top: 4px solid #c48d5a; box-shadow: 0 10px 18px -6px rgba(0, 0, 0, .6); }
.phone { position: relative; z-index: 1; width: 32%; margin: 0 -4%; padding: 6px; background: #120d1a; border-radius: 24px; box-shadow: 0 0 0 2px #3c3552, 0 18px 26px -14px rgba(0, 0, 0, .8); transition: transform .2s; }
.phone img { width: 100%; height: auto; aspect-ratio: 9/16; object-fit: cover; border-radius: 18px; }
.phone::before { content: ""; position: absolute; left: 50%; top: 10px; width: 22%; height: 5px; margin-left: -11%; border-radius: 3px; background: #120d1a; z-index: 1; }
.phone.lead { order: 2; z-index: 2; width: 44%; }
/* the plinth under the lead phone */
.phone.lead::after { content: ""; position: absolute; left: -8%; right: -8%; top: calc(100% + 0px); height: 30px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #b47a4a, #7d5030); border-top: 3px solid #d29c66; }
.phone.lead { margin-bottom: 30px; }
.phone:nth-child(2) { order: 1; transform: rotate(-2deg); } .phone:nth-child(3) { order: 3; transform: rotate(2deg); }
.phone:hover { transform: translateY(-8px); }
.sp-counter { position: relative; height: 34px; margin: 0; border-radius: 0 0 16px 16px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 2px, transparent 2px 38px), linear-gradient(180deg, #8f5e38, #5e3b22); border-top: 5px solid #b07c4e; box-shadow: inset 0 -6px 0 #45291a; }

.menu { background: var(--board); background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 6px 6px; border-left: 10px solid var(--wood); padding: 30px; color: var(--chalk); display: flex; flex-direction: column; }
.menu .hd { font: 700 2.2rem/1 var(--hand); color: var(--gold); margin: 0 0 6px; }
.menu p { font-weight: 700; margin: 0 0 16px; }
.menu ul { list-style: none; margin: 0 0 22px; padding: 0; font: 700 1.5rem/1.25 var(--hand); }
.menu li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px dashed rgba(244, 241, 230, .25); padding: 6px 0; }
.menu li span:last-child { color: var(--teal); }
.menu .acts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
/* under the menu: "Coming soon to iPhone" on its own line, then the small links (gaps, no "·" separators to strand at a line end) */
.menu-foot { margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.menu .ios-line { margin: 0; }
.small-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; font-size: .92rem; font-weight: 700; }
.menu .small-links { font: 700 .92rem/1.3 var(--body); margin: 0; }
.menu .small-links li { display: block; border: 0; padding: 0; }
.small-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--chalk); text-underline-offset: 3px; }
.ios-soon { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(54, 224, 200, .14); color: var(--teal); font-weight: 800; white-space: nowrap; }
.ios-soon::before { content: ""; width: 12px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Crect x='1' y='.5' width='10' height='14' rx='2.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3Ccircle cx='6' cy='12' r='.9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Crect x='1' y='.5' width='10' height='14' rx='2.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3Ccircle cx='6' cy='12' r='.9'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Stalls */
.market { padding-top: 20px; scroll-margin-top: 8px; }
.stalls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.stall { --a1: #e8343b; --a2: #fff3dc; --s: 34px; position: relative; display: flex; flex-direction: column; scroll-margin-top: 16px; }
.stall .sign { position: relative; z-index: 5; align-self: center; margin-bottom: -8px; background: #2a1a24; border: 3px solid var(--gold); color: var(--gold); border-radius: 12px; padding: 4px 16px; font: 800 1rem/1.3 var(--display); box-shadow: 0 0 18px rgba(255, 213, 74, .35); white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
.stall.off .sign { border-color: #b7aec4; color: #e9e2f2; box-shadow: none; }
.stall .aw { height: 48px; border-radius: 14px 14px 0 0; z-index: 4; }
.stall .window { position: relative; height: 190px; background: #120c14; overflow: hidden; border-left: 6px solid var(--stall-edge); border-right: 6px solid var(--stall-edge); }
.stall .window > img { width: 100%; height: 100%; object-fit: cover; }
.stall .window.snacks { background: linear-gradient(180deg, #c9f0e4, #ffe7b8); }
.stall .window.snacks > img { position: absolute; height: auto; z-index: 1; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); }
.stall .window.snacks .tray { position: absolute; left: 6%; right: 6%; bottom: 14px; height: 26px; border-radius: 10px; background: #c98d5a; box-shadow: inset 0 -6px 0 #9c6538; }
.stall:not(.off) .window::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 215, 120, .35), transparent 40%); }
.stall .window .bulbs { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--s) / 2.2 + 2px); margin: 0; }
.stall .shutter { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: var(--down, 100%); background: repeating-linear-gradient(180deg, var(--shutter-1) 0 9px, var(--shutter-2) 9px 12px); box-shadow: 0 6px 12px rgba(0, 0, 0, .45); display: grid; place-items: center; }
.stall .shutter::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 46px; height: 8px; margin-left: -23px; border-radius: 4px; background: #555a6b; }
.stall .note { position: absolute; z-index: 3; right: 12px; bottom: 14px; transform: rotate(4deg); background: #fff6c9; color: #3a2200; font: 700 1.3rem/1.05 var(--hand); padding: 8px 12px 10px; box-shadow: 0 6px 12px rgba(0, 0, 0, .4); max-width: 60%; text-align: center; }
.stall .paint { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 255, 255, .75); overflow: hidden; }
.stall .paint-icon { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* upcoming stall without art: shutter half up, the game's icon glowing inside in its awning colour, on a little shelf */
.stall .window.peek { background: #160d18; }
.stall .peek .glow { position: absolute; inset: 0; background: radial-gradient(85% 90% at 30% 100%, var(--a1), transparent 70%); opacity: .75; }
.stall .peek::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(180deg, #8f5e38, #6b4428); border-top: 2px solid #b07c4e; }
.stall .peek-icon { position: absolute; z-index: 1; left: 16%; bottom: 14px; width: 56px; height: 56px; border-radius: 17px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8), 0 8px 18px rgba(0, 0, 0, .5); }
.stall .counter { background: linear-gradient(180deg, #3d2836, #2f1f2a); border: 6px solid var(--stall-edge); border-top: 8px solid var(--wood); border-radius: 0 0 16px 16px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.stall h3 { font: 800 1.4rem/1.1 var(--display); margin: 6px 0 0; }
.stall .genre { margin: 0; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #d9c3e6; }
.stall p { margin: 0; color: var(--muted); font-weight: 600; }
.stall .acts { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.stall .chip { align-self: flex-start; }
.stall .policy a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-size: .9rem; color: #d9c3e6; }
.run-in { position: absolute; z-index: 2; left: 40%; bottom: 6px; width: 84px; height: 84px; }
.lane { margin: 54px 0 22px; }
.stalls.small { grid-template-columns: repeat(4, 1fr); gap: 30px 20px; }
.stalls.small .stall { --s: 26px; }
.stalls.small .window { height: 130px; }
.stalls.small .aw { height: 38px; }
.stalls.small .paint { width: 66px; height: 66px; }
.stalls.small h3 { font-size: 1.2rem; }
.stalls.small .note { font-size: 1.1rem; }
.stalls.small .run-in { width: 64px; height: 64px; }
.sub-line { margin: 40px 0 0; text-align: center; font-weight: 700; color: var(--muted); }

/* Next stall opening: countdown band (from direction B) */
.nextup { margin-top: 44px; border-radius: 28px; overflow: hidden; position: relative; background: #5c0a12; box-shadow: 0 0 0 3px #8a1a24; }
.nextup .bg { position: absolute; inset: 0; background-position: center 22%; background-size: cover; opacity: .55; }
.nextup .inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 20px; padding: 40px 48px; background: linear-gradient(90deg, rgba(60, 4, 10, .94), rgba(60, 4, 10, .55) 60%, rgba(60, 4, 10, .1)); }
.nextup .hand { color: var(--gold); }
.nextup h3 { font: 800 clamp(1.8rem, 3.6vw, 2.7rem)/1.05 var(--display); margin: 8px 0 10px; }
.nextup p { color: #ffe6dc; font-weight: 700; margin: 0 0 18px; max-width: 30em; }
.count { display: flex; gap: 12px; margin-bottom: 22px; }
.count div { min-width: 92px; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 213, 74, .35); text-align: center; }
.count b { display: block; font: 800 1.9rem/1 var(--display); color: var(--gold); }
.count span { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ffe6dc; }
.nextup .cars { position: relative; height: 260px; }
.nextup .cars img { position: absolute; height: auto; }
.nextup .cars .gc { width: 200px; right: 0; bottom: -40px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.nextup .cars .c1 { width: 58px; left: 8%; top: 20px; transform: rotate(-90deg); }
.nextup .cars .c2 { width: 58px; left: 30%; top: 130px; }

/* Open-air screening */
.screening { background: linear-gradient(180deg, var(--street), #1a1030); scroll-margin-top: 8px; }
.vgrid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 28px; align-items: start; }
.vgrid.one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.vgrid.one .tv.short { max-width: 300px; }
.vcol { display: grid; gap: 28px; min-width: 0; }
.vcol:empty { display: none; }
.tv { margin: 0; position: relative; padding: 14px; background: #f4f1e6; border-radius: 10px; box-shadow: 0 0 0 4px var(--wood), 0 30px 60px -20px rgba(0, 0, 0, .7); scroll-margin-top: 16px; }
.tv button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; border-radius: 4px; }
.tv button:focus-visible { outline-color: var(--yt); }
.tv img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.tv.short img { aspect-ratio: 9/16; }
.tv .play { position: absolute; inset: 0; margin: auto; width: 80px; height: 58px; border-radius: 16px; background: var(--yt); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); transition: transform .15s; }
.tv .play::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.tv button:hover .play { transform: scale(1.08); }
.tv figcaption { color: #2b1a24; font-weight: 800; margin-top: 10px; }
.tv iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.tv.short iframe { aspect-ratio: 9/16; }
.subscribe { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px 28px; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 2px rgba(255, 122, 184, .45), 0 0 30px rgba(255, 122, 184, .15); }
.subscribe strong { font: 800 1.45rem/1.1 var(--display); display: block; }
.subscribe p { margin: 4px 0 0; color: var(--muted); font-weight: 700; }

/* About: a kopitiam corner of the market. Text + order chit on the left, the drawn shop on the right. */
.about { scroll-margin-top: 8px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.about p.big { font-size: 1.15rem; font-weight: 700; color: var(--muted); margin: 0 0 18px; max-width: 32em; }
/* order chit: a torn-off receipt with the studio's numbers */
.chit { position: relative; max-width: 330px; margin: 12px 0 14px; padding: 16px 20px 18px; background: #fffdf4; color: #2b1a24; transform: rotate(-1.5deg);
  font: 700 .98rem/1.35 ui-monospace, "SF Mono", Menlo, Consolas, monospace; box-shadow: 0 16px 26px -10px rgba(0, 0, 0, .6); }
.chit::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 7px; background: conic-gradient(from 135deg at 50% 0, #fffdf4 90deg, transparent 0) 0 0 / 14px 100% repeat-x; }
.chit-hd { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px dashed #b9ab9c; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #8a1f2a; }
.chit ul { list-style: none; margin: 0; padding: 0; }
.chit li { display: flex; align-items: baseline; gap: 8px; padding: 2px 0; }
.chit li span { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.chit li span::after { content: ""; flex: 1; border-bottom: 2px dotted #c8bcae; }
.chit li b { font-weight: 800; }
.chit-ft { margin: 10px 0 0; padding-top: 8px; border-top: 2px dashed #b9ab9c; text-align: center; font: 700 1.25rem/1 var(--hand); color: #5b4a52; }
/* the shop: signboard, fluorescent tube, drinks-stall board, tiled lower wall, table scene */
.kopitiam { --wall: #f7e6c4; position: relative; margin: 0; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(70% 40% at 50% 14%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(180deg, transparent 60%, #2f7a5a 60%, #2f7a5a calc(60% + 6px), transparent calc(60% + 6px)),
    linear-gradient(180deg, var(--wall) 60%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(47, 122, 90, .16) 0 2px, transparent 2px 30px),
    repeating-linear-gradient(180deg, rgba(47, 122, 90, .16) 0 2px, transparent 2px 30px), #dff0e3;
  box-shadow: 0 0 0 6px #4d3443, 0 34px 70px -24px rgba(0, 0, 0, .75); }
.kt-sign { align-self: stretch; margin: 0; padding: 14px 16px 12px; text-align: center; background: linear-gradient(180deg, #b0242d, #8e1a22); border-bottom: 5px solid #5e1016; }
.kt-sign span { display: block; font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 0 #5e1016; }
.kt-sign small { display: block; margin-top: 4px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #ffe6dc; }
.kt-tube { width: 46%; height: 8px; margin: 14px 0 0; border-radius: 4px; background: #fffef6; box-shadow: 0 0 18px 6px rgba(255, 255, 240, .75); }
.kt-board { position: relative; z-index: 1; width: min(76%, 360px); margin: 22px 0 0; background: #fff; color: #23161f; border: 7px solid #24533f; border-radius: 6px; box-shadow: 0 14px 22px -10px rgba(40, 20, 10, .5); }
.kt-hd { margin: 0; padding: 7px 10px 6px; text-align: center; background: #c8202a; color: #fff; font: 800 1.05rem/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.kt-board ul { list-style: none; margin: 0; padding: 4px 16px 8px; font: 800 1.02rem/1.25 var(--body); }
.kt-board li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #e6ddd0; }
.kt-board li:last-child { border-bottom: 0; }
.kt-board li b { color: #1b6e50; font-weight: 900; }
.kt-front { display: block; width: 100%; height: auto; margin-top: -6px; }

/* Contact: info booth */
.contact { text-align: center; scroll-margin-top: 8px; }
.booth { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 34px 30px; border-radius: 22px; background: #2f1f2a; box-shadow: 0 0 0 3px var(--stall-edge); max-width: 560px; }
.booth .sign { font: 800 1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.booth h2 { margin: 0; }
.booth p { margin: 0 0 8px; color: var(--muted); font-weight: 700; }

footer { background: #170e15; border-top: 3px solid var(--stall-edge); padding: 34px 0 40px; color: var(--muted); font-weight: 600; font-size: .95rem; }
footer .frow { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; align-items: center; }
footer a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
footer p { margin: 4px 0; }
footer .fb { display: flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--display); color: #fff; }
footer .fb img { width: 40px; height: 40px; }
.footer-yt { display: inline-flex; align-items: center; gap: 8px; }

/* Game pages (/games/<slug>/) */
.game-top { position: relative; overflow: hidden; padding: 96px 0 56px;
  background: radial-gradient(900px 300px at 50% 100%, rgba(255, 140, 90, .3), transparent 70%), linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 60%, var(--sky-3) 100%); }
.game-top > .wrap { position: relative; z-index: 2; }
.crumb { margin: 0 0 18px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--bulb); text-decoration: none; }
.game-sign { --s: 40px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, var(--stall), #2f1f2a); box-shadow: 0 0 0 3px var(--stall-edge), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.game-sign .aw { height: 54px; }
.game-hero { display: flex; align-items: center; gap: 22px; padding: 18px 30px 30px; }
.game-hero .icon { width: 112px; height: 112px; border-radius: 28px; flex: none; box-shadow: 0 0 0 4px #fff, 0 12px 26px rgba(0, 0, 0, .45); }
.game-hero h1 { text-align: left; margin: 8px 0 6px; font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.game-hero .genre { margin: 0; color: var(--muted); font-weight: 800; }
.game-body { padding-top: 56px; }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 34px; align-items: start; }
.game-grid .menu { border-left: 0; border-top: 10px solid var(--wood); border-radius: 0 0 18px 18px; }
.h-sm { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 0; }
.shots { list-style: none; margin: 0; padding: 4px 4px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 220px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots li { scroll-snap-align: start; }
.shots, .hero .row { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
/* wide screens: all game-page screenshots side by side, no cut-off phone and no scrollbar */
@media (min-width: 941px) { .game-grid .shots { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); overflow: visible; } }
.shots img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6), 0 0 0 3px rgba(255, 255, 255, .7); }
.more-games .row { flex-wrap: wrap; justify-content: flex-start; padding: 0; margin-top: 26px; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .4s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .vgrid, .about-grid, .nextup .inner, .game-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "show" "info"; padding: 30px 28px 0; }
  .sp-show { padding-top: 26px; }
  .neon { display: none; }
  .lamp.l1 { left: 22%; } .lamp.l2 { left: 72%; }
  .about-grid { gap: 40px; }
  .kopitiam { max-width: 560px; width: 100%; margin-inline: auto; }
  .stalls, .stalls.small { grid-template-columns: repeat(2, 1fr); }
  .nextup .cars { height: 200px; }
  .vgrid .tv.short { max-width: 300px; }
}
@media (max-width: 720px) {
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 100px; }
  .lights { top: 74px; }
  .kicker { margin-top: 24px; font-size: 1.35rem; }
  h1 { font-size: 3.05rem; }
  .hero p.sub { font-size: 1.02rem; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 26px; }
  .stats b { font-size: 1.35rem; }
  .street { margin-top: calc(var(--sky-h) - 6px); }
  .hero .row { justify-content: flex-start; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; gap: 12px; }
  .hero .mstall.tall { order: -1; }
  .hero .row { padding-bottom: 24px; }
  .mstall { width: 116px; scroll-snap-align: start; } .mstall.tall { width: 132px; }
  .mstall .stand { height: 82px; } .mstall.tall .stand { height: 96px; }
  .micon { width: 54px; height: 54px; border-radius: 15px; } .mstall.tall .micon { width: 66px; height: 66px; border-radius: 18px; }
  .mstall .plank { font-size: .8rem; }
  .stalls, .stalls.small { grid-template-columns: minmax(0, 1fr); }
  .stalls.small .window { height: 120px; } .stalls.small .paint { width: 54px; height: 54px; }
  .special { --s: 30px; --post: 9px; }
  .special .aw { height: 44px; }
  .sp-body { margin: 0 5px; padding: 40px 16px 0; }
  .sp-title { gap: 14px; } .sp-title .icon { width: 66px; height: 66px; border-radius: 18px; }
  .phone { padding: 4px; border-radius: 16px; } .phone img { border-radius: 12px; } .phone::before { top: 7px; height: 4px; }
  .phone.lead { margin-bottom: 20px; } .phone.lead::after { height: 20px; }
  .sp-stand { padding-bottom: 16px; } .sp-stand::after { height: 16px; }
  .slate { padding: 12px 14px 8px; } .slate ul { font-size: 1.28rem; }
  .menu { padding: 24px; }
  .nextup .inner { padding: 28px 22px 0; }
  .count div { min-width: 0; flex: 1; }
  .nextup .cars { height: 200px; overflow: hidden; margin: 0 -22px; }
  .nextup .cars .gc { width: 110px; right: 24px; bottom: -6px; }
  .nextup .cars .c1 { left: 14%; top: 50px; } .nextup .cars .c2 { left: 40%; top: 80px; }
  .tv.short { max-width: 260px; margin-inline: auto; }
  section { padding: 64px 0; }
  .booth { padding: 26px 18px; }
  .chit { max-width: none; }
  .kt-board ul { padding: 2px 12px 6px; font-size: .95rem; }
  .kt-board { width: 84%; margin-top: 18px; }
  .game-top { padding: 84px 0 40px; }
  .game-hero { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 20px 24px; }
  .game-hero .icon { width: 88px; height: 88px; border-radius: 22px; }
  .game-body { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .btn:active, .mstall:hover, .phone:hover { transform: none; }
  .phone:nth-child(2):hover { transform: rotate(-2deg); } .phone:nth-child(3):hover { transform: rotate(2deg); }
}

/* Privacy policy and support pages: the game's sign as a slim band, then the text on a paper notice
   pinned to the stall (dark ink on cream for easy long reading). */
.doc-top { position: relative; overflow: hidden; padding: 96px 0 0; background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 70%, var(--street)); }
.doc-top > .wrap { position: relative; z-index: 2; max-width: 860px; }
.doc-sign { --s: 32px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--stall), #2f1f2a); box-shadow: 0 0 0 3px var(--stall-edge), 0 24px 50px -20px rgba(0, 0, 0, .6); }
.game-sign.doc-sign .aw { height: 40px; }
.doc-hero { display: flex; align-items: center; gap: 16px; padding: 14px 24px 20px; }
.doc-hero .icon { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(0, 0, 0, .4); }
.doc-hero .genre { margin: 0; color: var(--muted); font-weight: 800; }
.doc-kind { margin: 0; font: 800 clamp(1.6rem, 4.6vw, 2.3rem)/1.1 var(--display); }
.doc-tabs { display: flex; gap: 8px; margin: 18px 0 0; }
.doc-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px 12px 0 0; font-weight: 800; text-decoration: none; color: var(--muted); background: rgba(255, 255, 255, .08); }
.doc-tabs a[aria-current="page"] { background: #fffaf0; color: #2a1d26; }
.doc-body { padding: 0 0 72px; }
.doc-body > .wrap { max-width: 860px; }
.notice { background: #fffaf0; color: #2a1d26; border-radius: 18px; padding: clamp(22px, 5vw, 48px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); font-size: 1.04rem; line-height: 1.65; }
.notice.tabbed { border-top-left-radius: 0; }
.notice h1 { font: 800 clamp(1.7rem, 4.4vw, 2.4rem)/1.15 var(--display); margin: 0 0 6px; text-align: left; color: #2a1d26; text-shadow: none; }
.notice h2 { font: 800 1.35rem/1.25 var(--display); margin: 32px 0 8px; color: #4a2340; }
.notice p, .notice ul { margin: 0 0 14px; }
.notice ul { padding-left: 1.3em; }
.notice li { margin-bottom: 6px; }
.notice a { color: #b0216b; font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.notice .muted { color: #6b5866; font-weight: 700; margin-bottom: 22px; }
.notice :focus-visible { outline-color: #2a1d26; }
