:root{
  --bg:#0e0e0e; --panel:#181818; --line:#272727;
  --pink:#ededed; --cyan:#cfcfcf; --text:#f2f2f2; --muted:#9a9a9a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;color:var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1000px 700px at -10% 110%, rgba(255,255,255,.05), transparent 55%),
    var(--bg);
  font-family:"Segoe UI",system-ui,-apple-system,Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;line-height:1.65;
}
a{color:var(--cyan);text-decoration:none}
a:hover{text-decoration:underline}
header{padding:14px 20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
header .logo{font-weight:800;letter-spacing:.4px;font-size:18px;color:var(--text);text-decoration:none}
/* Fallback first: without background-clip:text the transparent fill would make
   the wordmark invisible rather than merely un-gradiented. */
header .logo b{color:var(--pink)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  header .logo b{background:linear-gradient(90deg,var(--pink),var(--cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
}
header .spacer{flex:1}
nav.main{display:flex;gap:18px}
nav.main a{color:var(--muted);font-weight:600;font-size:14px;text-decoration:none}
nav.main a:hover{color:var(--text)}
.container{max-width:760px;margin:0 auto;padding:0 20px}
.wide{max-width:970px}
.crumbs{font-size:13px;color:var(--muted);margin:22px 0 6px}
.crumbs a{color:var(--muted)}
article h1,.page h1{font-size:clamp(28px,5vw,40px);line-height:1.12;letter-spacing:-.5px;margin:6px 0 10px;font-weight:800}
.meta{color:var(--muted);font-size:14px;margin-bottom:26px}
article h2{font-size:clamp(20px,3vw,26px);margin:34px 0 10px;font-weight:800;letter-spacing:-.3px}
article h3{font-size:18px;margin:22px 0 8px}
article p,article li{color:#d8cfe2;font-size:17px;line-height:1.75}
article ul,article ol{padding-left:22px}
article li{margin:6px 0}
.lead{font-size:19px;color:var(--muted)}
/* Matches the app's primary button: light fill, dark label, 12px radius. It used
   to be a leftover hot-pink gradient from before the blog went monochrome. */
.cta{display:inline-block;margin:14px 0 4px;background:#ededed;color:#1a1a1a;
  font-weight:700;font-size:15px;line-height:1;text-decoration:none;padding:14px 24px;
  border-radius:12px;transition:background .15s ease,transform .15s ease}
.cta:hover{background:#fff;transform:translateY(-1px);text-decoration:none}
.cta:focus-visible{outline:2px solid #ededed;outline-offset:3px}
.callout{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:24px 0}
.callout p{margin:0}
/* At a glance: the export size, the panel count and the price as sentences.
   Those three facts previously existed only inside JSON-LD and llms.txt, so a
   reader (or a model quoting the page) had nothing to lift. */
.facts{margin:24px 0;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:4px 18px}
.facts>div{display:flex;flex-wrap:wrap;gap:4px 14px;padding:11px 0;border-bottom:1px solid var(--line)}
.facts>div:last-child{border-bottom:0}
.facts dt{font-weight:700;font-size:15px;color:var(--text);flex:0 0 130px}
.facts dd{margin:0;font-size:15px;color:#d8cfe2;flex:1 1 240px}
/* Panel diagrams. The polygons are the same coordinates the editor draws from
   (src/lib/games.ts), so a retraced grid has to be re-exported into these too. */
figure.diagram{margin:28px 0;padding:0}
figure.diagram svg{display:block;width:100%;max-width:400px;height:auto;margin:0 auto;
  background:#121212;border:1px solid var(--line);border-radius:12px}
figure.diagram polygon{fill:#1e1e1e;stroke:#7d7d7d;stroke-width:5;stroke-linejoin:round}
figure.diagram text{fill:#e2e2e2;font:700 40px "Segoe UI",system-ui,sans-serif;text-anchor:middle;dominant-baseline:central}
figure.diagram figcaption{color:var(--muted);font-size:14px;line-height:1.6;margin:12px auto 0;max-width:520px;text-align:center}
.legend{list-style:none;padding-left:0;margin:16px 0}
.legend li{margin:4px 0;font-size:16px}
.legend b{color:var(--text)}
article .faq h3{font-size:19px;margin:26px 0 6px;font-weight:700}
article .faq p{margin-top:0}
/* Wide content scrolls inside itself so the page body never scrolls sideways. */
.tablewrap{overflow-x:auto;margin:24px 0;border:1px solid var(--line);border-radius:12px}
table.data{border-collapse:collapse;width:100%;min-width:560px;font-size:15px}
table.data th,table.data td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);color:#d8cfe2}
table.data th{color:var(--text);font-weight:700;white-space:nowrap}
table.data tr:last-child td{border-bottom:0}
/* blog index cards */
.post-list{display:grid;gap:16px;margin:26px 0}
.post-card{display:block;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px;color:var(--text)}
.post-card:hover{border-color:var(--pink);text-decoration:none;transform:translateY(-2px);transition:.15s}
.post-card .tag{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--pink);font-weight:700}
.post-card h2,.post-card h3{margin:8px 0 8px;font-size:20px;font-weight:700}
.post-card p{margin:0;color:var(--muted);font-size:15px}
.related{margin:40px 0 0;border-top:1px solid var(--line);padding-top:24px}
.related h2{font-size:18px;margin:0 0 12px}
.related a{display:block;margin:6px 0}
/* ads
   The reading column is .container at 760px with 20px padding, so 720px is the
   widest an ad can ever be here. A 728x90 leaderboard does not fit inside that,
   which is why /ad-slots.js asks for responsive rectangles instead. The unused
   .wide class would make room for one, but widening the measure just for an ad
   is not worth it. */
/* Was display:flex. A responsive <ins> is an empty flex item, so it resolved to
   roughly zero width and AdSense logged "No slot size for availableWidth=0" and
   refused to fill. Block level plus a full width ins is what gives it a measure.
   No overflow:hidden either: cropping a creative is a policy violation. */
.ad{position:relative;display:block;margin:26px auto;padding-top:16px;min-height:266px}
.ad ins.adsbygoogle{display:block;width:100%}
/* Not injected yet: the script is inert or that slot has no id. */
.ad:empty{display:none}
/* AdSense stamps this when it has nothing to serve. Collapse rather than leave the
   reserved height as a blank hole. /ad-slots.js does the same for older browsers. */
.ad:has(ins[data-ad-status="unfilled"]){display:none}
/* The padding-top above reserves a strip for this label so it never sits on top of
   the creative, and the reservation already includes it, so filling shifts nothing. */
.ad.live::before{content:"Advertisement";position:absolute;top:3px;left:8px;font-size:9px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);opacity:.55}
.ad-ph{width:100%;min-height:100px;display:flex;align-items:center;justify-content:center;text-align:center;
  border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px;background:rgba(255,255,255,.02);padding:14px}
footer{margin-top:50px;padding:30px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
footer .fnav{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;margin-bottom:14px}
footer .fnav a{color:var(--muted);font-weight:600}
footer .disclaimer{max-width:720px;margin:0 auto 10px;text-align:center;font-size:12px;line-height:1.6;opacity:.8}
footer .copy{text-align:center;font-size:12px;opacity:.7}
@media(max-width:620px){ nav.main{display:none} }
/* Height reserved for the ad at each breakpoint, so fill never pushes the article
   down. 250px covers a 300x250 in the narrow column, 280px covers a 336x280 once
   the column is wide enough to take one. The old 100px was shorter than every
   standard format, so every fill jumped the page. */
@media(min-width:480px){ .ad{min-height:296px} }
