/* Boastle public site.
   Voice: a scoreboard crossed with a newspaper puzzle page. Confident, plain, fast.
   Colour: white and true black; green is the winner's colour, used for the main action and the scores that matter.
   Type: Schibsted Grotesk (headlines 800, tight), IBM Plex Mono for every number. No emoji, gradients or soft shadows. */
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/fonts/schibsted-grotesk-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #f2f2ee; --paper: #0b0b0b; --soft: #151514; --line: #2a2a27; --muted: #a2a29b; --green: #2bbf5a; --green-ink: #49d677; --green-wash: #10261a; --red: #ff6b5e; --panel: #141413;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 6px; --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 76px); }
.hero h1 { font-size: clamp(42px, 5.4vw, 70px); }
h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.fine { font-size: 14px; color: var(--muted); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 640px; margin: 18px 0 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(4vw, 18px); }
.i { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: 12px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font: 700 15px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn.green { background: var(--green); border-color: var(--green); color: #0b0b0b; }
.btn.green:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.btn.small { height: 34px; padding: 0 11px; font-size: 13px; border-width: 1.5px; }
.btn.big { height: 54px; padding: 0 24px; font-size: 17px; }
.btn.done { background: var(--green-wash); border-color: var(--green-wash); color: var(--green-ink); }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

/* header / footer */
header.site { border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 25px var(--sans); letter-spacing: -0.045em; }
.brand img { display: block; }
.links { display: flex; gap: 20px; margin-left: auto; overflow-x: auto; }
.links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 21px 0 18px; border-bottom: 3px solid transparent; white-space: nowrap; }
.links a:hover, .links a[aria-current] { border-bottom-color: var(--green); }
footer.site { background: #0b0b0b; border-top: 1px solid var(--line); color: #f2f2ee; margin-top: 80px; padding: 48px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h3 { font: 500 13px var(--mono); color: #9c9c95; margin-bottom: 10px; letter-spacing: 0; }
.foot a { display: block; color: #f2f2ee; text-decoration: none; font-size: 15px; padding: 3px 0; }
.foot a:hover { color: #2bbf5a; }
.foot a.brand { display: inline-flex; color: #fff; padding: 0; } .foot p { color: #9c9c95; margin-top: 10px; }
.legal { font-size: 13px; color: #8a8a83; margin-top: 30px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero-board { margin: 0; background: var(--panel); border: 1px solid var(--line); color: #f2f2ee; border-radius: 12px; padding: 22px; }
.hero-board figcaption { display: flex; justify-content: space-between; align-items: baseline; font: 800 22px var(--sans); letter-spacing: -0.02em; border-bottom: 1px solid #2a2a27; padding-bottom: 12px; }
.hero-board figcaption .num { font-size: 14px; font-weight: 400; color: #9c9c95; }
.hero-board ol { list-style: none; margin: 0; padding: 0; }
.hero-board li { display: grid; grid-template-columns: 26px 34px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #1f1f1d; }
.hero-board li > .num { color: #2bbf5a; font-size: 18px; }
.hero-board li a { color: #fff; font-weight: 700; text-decoration: none; font-size: 18px; } .hero-board li a:hover { text-decoration: underline; }
.hero-board .cat { font: 400 13px var(--mono); color: #9c9c95; }
.hb-foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; font-size: 14px; color: #9c9c95; flex-wrap: wrap; }
.hb-foot b { color: #fff; } .hb-foot .num { color: #2bbf5a; }
.hb-foot a { margin-left: auto; color: #0b0b0b; background: #2bbf5a; text-decoration: none; font-weight: 700; padding: 7px 12px; border-radius: var(--r); display: inline-flex; gap: 6px; align-items: center; }
.ticker { background: var(--green); color: #0b0b0b; border-block: 2px solid #0b0b0b; }
.ticker .wrap { display: flex; gap: clamp(18px, 4vw, 48px); flex-wrap: wrap; padding-block: 13px; font-weight: 600; font-size: 15px; }
.ticker b { font-size: 17px; margin-right: 6px; }

/* sections */
.band { margin-top: 52px; }
.band::before { content: ""; display: block; height: 2px; background: var(--ink); margin-bottom: 18px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.band-head a { font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.band-head a:hover { color: var(--green-ink); }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); }
.split > .band { margin-top: 48px; }
.page-head { padding-top: clamp(30px, 5vw, 64px); padding-bottom: 10px; }
.kicker { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; } .crumbs a { color: var(--muted); }
.empty { color: var(--muted); padding: 14px 0; }
.spons { font: 500 12px var(--mono); color: var(--muted); }
.tag { font: 500 12px var(--mono); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; }

/* tiles */
.tile { --c: #2a2a27; width: 46px; height: 46px; border-radius: 8px; background: var(--c); color: #fff; display: inline-grid; line-height: 1; place-items: center; font: 800 21px var(--sans); flex: none; }
.tile.sm { width: 32px; height: 32px; font-size: 15px; border-radius: 6px; }
.tile.xs { width: 22px; height: 22px; font-size: 11px; border-radius: 4px; }
.tile.xl { width: 76px; height: 76px; font-size: 36px; border-radius: 12px; }

/* game list */
.glist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.grow { display: grid; grid-template-columns: auto 46px 1fr auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.grow:not(:has(.rank)) { grid-template-columns: 46px 1fr auto; }
.grow .rank { font-size: 15px; color: var(--muted); padding-top: 12px; width: 26px; }
.gname { font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.015em; }
.gname:hover { text-decoration: underline; }
.gmeta { display: block; font-size: 14px; color: var(--muted); margin-top: 1px; }
.gmeta .i { margin-right: 4px; }
.grow p { margin: 5px 0 0; font-size: 15px; max-width: 620px; }
.new { color: var(--green-ink); font-weight: 700; } .has-btn { font-weight: 700; color: var(--ink); }
.gside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.players { font-size: 15px; } .players::after { content: " playing"; font-family: var(--sans); color: var(--muted); font-size: 13px; letter-spacing: 0; }
.gact { display: flex; gap: 6px; }
.glist.compact .grow p { display: none; }

/* rank list + mini list */
.rank-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rank-list li { display: grid; grid-template-columns: 30px 32px 1fr auto 62px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rank-list a { font-weight: 700; text-decoration: none; font-size: 17px; } .rank-list a:hover { text-decoration: underline; }
.rank-list .rk { color: var(--muted); } .rank-list li:nth-child(-n+3) .rk { color: var(--ink); font-weight: 500; }
.chg { font-size: 13px; text-align: right; color: var(--muted); } .chg.up { color: var(--green-ink); } .chg.down { color: var(--red); }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-list li.empty { display: block; }
.mini-list .tile, .rank-list .tile { align-self: start; }
.mini-list a { font-weight: 700; text-decoration: none; } .mini-list span { display: block; font-size: 14px; color: var(--muted); }

/* categories */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.cat-grid a { display: grid; gap: 6px; padding: 20px; text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 140px; align-content: start; }
.cat-grid a:hover { background: var(--ink); color: var(--paper); }
.cat-grid .i { width: 30px; height: 30px; color: var(--green); }
.cat-grid b { font-size: 19px; letter-spacing: -0.015em; } .cat-grid .num { font-size: 13px; color: var(--muted); }
.cat-grid a:hover .num { color: inherit; }
.dice { cursor: pointer; }
.other-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.other-cats a { display: inline-flex; gap: 7px; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 8px 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.other-cats a:hover { background: var(--ink); color: var(--paper); }
.h1i { width: 0.8em; height: 0.8em; color: var(--green); margin-right: 12px; vertical-align: -0.05em; }

/* steps, tiers, code */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; font-size: 16px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 40px var(--mono); color: var(--green); letter-spacing: -0.04em; margin-bottom: 6px; }
.steps b { display: block; font-size: 19px; margin-bottom: 4px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.tiers > li { padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.tiers > li:last-child { border-right: 0; } .tiers > li.hot { background: var(--panel); color: #f2f2ee; outline: 2px solid var(--green); outline-offset: -2px; }
.tiers .price { font-size: 40px; font-weight: 500; margin: 10px 0 8px; } .tiers .price small { font-size: 15px; color: var(--muted); }
.tiers ul { padding-left: 18px; margin: 0 0 20px; flex: 1; font-size: 15px; } .tiers li li { margin: 6px 0; }
.code { background: var(--panel); border: 1px solid var(--line); color: #f2f2ee; border-radius: 10px; padding: 18px 20px; overflow-x: auto; font: 14px/1.6 var(--mono); margin: 0; }

/* directory */
.finder { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: 28px; max-width: 820px; }
.finder input { height: 54px; border: 2px solid var(--ink); border-radius: var(--r); padding: 0 16px; font: 17px var(--sans); background: var(--paper); color: var(--ink); }
.finder .btn { height: 54px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip .num { color: var(--muted); font-size: 12px; } .chip .i { color: var(--green); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); } .chip.on .num { color: #9c9c95; }
.sortbar { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 8px; font-size: 14px; }
.sortbar select { font: 600 14px var(--sans); border: 1.5px solid var(--line); border-radius: var(--r); padding: 6px 8px; background: var(--paper); color: var(--ink); margin-left: 6px; }
.found { border: 2px solid var(--ink); border-radius: 10px; padding: 18px 20px; margin-bottom: 24px; }
.found h2 { font-size: 20px; margin-bottom: 8px; }
.soon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.soon.col { grid-template-columns: 1fr; }
.soon li { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.soon .date { justify-self: start; background: var(--ink); color: var(--paper); font-size: 13px; padding: 2px 8px; border-radius: 4px; }
.soon b { font-size: 18px; } .soon p { margin: 0; font-size: 15px; } .soon .btn { justify-self: start; margin-top: 6px; }
.devstrip { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.devstrip p { margin: 6px 0 0; }

/* game page */
.gp-head { display: flex; gap: 20px; align-items: center; margin-top: 26px; }
.gp-head h1 { font-size: clamp(40px, 6vw, 68px); }
.gp-head .gmeta { font-size: 16px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.gp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.panel { border: 1.5px solid var(--line); border-radius: 10px; padding: 20px; }
.panel h2 { font-size: 20px; margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 14px; margin: 0 0 16px; }
.kv dt { font-size: 13px; color: var(--muted); } .kv dd { margin: 0; font-size: 28px; font-weight: 500; } .kv small { font-size: 14px; color: var(--muted); }
.dist div { display: grid; grid-template-columns: 22px 1fr 34px; align-items: center; gap: 8px; font-size: 13px; margin: 3px 0; }
.dist i { display: block; height: 16px; background: var(--green); border-radius: 3px; }
.stars { display: inline-flex; gap: 2px; vertical-align: -1px; }
.stars i { width: 14px; height: 14px; background: var(--line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--green); } .stars i.half { background: linear-gradient(90deg, var(--green) 50%, var(--line) 50%); }
.rate-form { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.rate-form input[name=review] { height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; font: 16px var(--sans); background: var(--paper); color: var(--ink); }
.rate-form .msg { grid-column: 1 / -1; }
.star-input { border: 0; margin: 0; padding: 0; display: flex; gap: 4px; }
.star-input legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.star-input input { position: absolute; opacity: 0; }
.star-input label { width: 40px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--r); font: 500 15px var(--mono); cursor: pointer; }
.star-input input:checked + label { background: var(--green); border-color: var(--green); color: #0b0b0b; }
.star-input input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.reviews { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 12px 0; border-bottom: 1px solid var(--line); } .reviews p { margin: 4px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font: 500 22px var(--mono); color: var(--green); } .faq details[open] summary::after { content: "−"; }
.faq p { margin: 8px 0 0; max-width: 760px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); padding: 6px 10px 6px 6px; text-decoration: none; font-weight: 700; font-size: 15px; }
.pills a:hover { border-color: var(--ink); }
.msg { min-height: 20px; font-size: 14px; margin: 0; } .msg.ok { color: var(--green-ink); } .msg.err { color: var(--red); }

/* daily five */
.five { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 32px; align-items: start; }
.five-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.five-list li { display: grid; grid-template-columns: 48px 46px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.five-list .big { font-size: 34px; color: var(--green); font-weight: 500; } .five-list p { margin: 4px 0 0; font-size: 15px; }
.five-list li.done .big { color: var(--muted); }
.board { position: sticky; top: 84px; } .board .btn { margin-top: 12px; width: 100%; }
.lb { list-style: none; margin: 0 0 12px; padding: 0; }
.lb li { display: grid; grid-template-columns: 26px 1fr auto 46px; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lb .pts { text-align: right; font-weight: 500; } .lb li:first-child b { color: var(--green-ink); }

/* community */
.suggest { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 6px; }
.suggest input { height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; font: 16px var(--sans); background: var(--paper); color: var(--ink); }
.votes { list-style: none; margin: 0; padding: 0; }
.votes li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.votes b { display: block; font-size: 17px; }
.vote { width: 56px; height: 56px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 14px; padding: 4px 0; }
.vote:hover, .vote.on { border-color: var(--green); color: var(--green-ink); } .vote.on { background: var(--green-wash); }

@media (max-width: 960px) {
  .hero, .split, .five, .gp-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .tiers { grid-template-columns: 1fr; } .tiers > li { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .board { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar { gap: 12px; } .links { display: none; }
  .grow, .grow:not(:has(.rank)) { grid-template-columns: 46px 1fr; } .grow .rank { display: none; }
  .gside { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .finder { grid-template-columns: 1fr 1fr; } .finder input { grid-column: 1 / -1; }
  .rate-form, .suggest { grid-template-columns: 1fr; }
  .five-list li { grid-template-columns: 36px 40px 1fr; } .five-list li .btn { grid-column: 2 / -1; justify-self: start; }
  .rank-list li { grid-template-columns: 26px 32px 1fr auto; } .rank-list .chg { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .chip, .cat-grid a { transition: background .12s, color .12s, border-color .12s; } }

/* invite page */
.invite { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 40px; align-items: start; }
.invite h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1; margin-bottom: 14px; }
.invite .lede b { font-family: var(--mono); font-weight: 500; }
.join { margin-top: 26px; }
.join label { display: block; font-weight: 700; margin-bottom: 8px; }
.join .formrow { display: flex; gap: 8px; }
.join input { flex: 1; min-width: 0; height: 54px; border: 2px solid var(--ink); border-radius: var(--r); padding: 0 16px; font: 17px var(--sans); background: var(--paper); color: var(--ink); }
.join .btn { height: 54px; }
.join .fine { margin-top: 8px; }
.steps-band { padding-bottom: 56px; }
@media (max-width: 800px) { .invite { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; } }

/* wordmark: boastle.app with a green tile for the dot */
.wm { white-space: nowrap; }
.wm .wm-dot { display: inline-block; width: 0.2em; height: 0.2em; border-radius: 0.045em; background: var(--green, #1fa64a); margin: 0 0.05em 0 0.06em; vertical-align: baseline; }
.wm em { font-style: normal; font-weight: inherit; color: var(--green); }
footer.site .wm em { color: #2bbf5a; } footer.site .wm .wm-dot { background: #1fa64a; }

/* daily archive + games-like pages */
.daynav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; margin: 10px 0 0; }
.like-list { list-style: none; margin: 0; padding: 0; }
.like-list li { display: grid; grid-template-columns: 40px 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.like-list .rank { font-size: 26px; color: var(--green); font-weight: 500; }
.like-list p { margin: 4px 0 0; font-size: 15px; }
@media (max-width: 600px) { .like-list li { grid-template-columns: 30px 40px minmax(0, 1fr); } .like-list li > .btn { grid-column: 3; justify-self: start; } }

/* Light theme, chosen by the visitor (dark is the default). */
:root[data-theme="light"] { --ink: #0b0b0b; --paper: #fff; --soft: #f4f4f1; --line: #e3e3df; --muted: #5d5d58; --green: #1fa64a; --green-ink: #0f7a33; --green-wash: #e8f6ec; --red: #c8352b; --panel: #0b0b0b; color-scheme: light; }
:root[data-theme="light"] header.site .brand img, :root[data-theme="light"] header.bar .brand img { content: url(/mark.svg); }
:root[data-theme="light"] .hero-board, :root[data-theme="light"] .five, :root[data-theme="light"] .code { border-color: var(--panel); }
.theme-btn { background: none; border: 1.5px solid var(--line); color: var(--ink); width: 36px; height: 36px; border-radius: var(--r); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.theme-btn:hover { border-color: var(--ink); }
.theme-btn .i { width: 18px; height: 18px; }
.split::before { grid-column: 1 / -1; }
.mini-list .tile.sm { display: inline-grid; place-items: center; font: 800 15px var(--sans); color: #fff; margin: 0; }

/* challenge page */
.challenge { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 40px; align-items: start; }
.ch-score { display: flex; gap: 18px; align-items: center; margin: 8px 0 22px; }
.ch-score .gname { display: block; font-weight: 700; font-size: 18px; }
.ch-score b { display: block; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--green); font-weight: 500; }
.challenge h1 { font-size: clamp(36px, 5.4vw, 60px); }
.challenge .cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; }
.lb li .num .i { color: var(--green); }
@media (max-width: 800px) { .challenge { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; } }

/* privacy, terms, reset, admin */
.legal { max-width: 760px; padding-top: 40px; }
.legal section { margin-top: 30px; } .legal h2 { margin-bottom: 10px; } .legal li { margin-bottom: 8px; }
.narrow { max-width: 620px; }
.admin { padding-top: 32px; display: grid; gap: 20px; }
.admin .kv.big { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1.5px solid var(--line); border-radius: 10px; margin: 0; }
.admin .kv.big div { padding: 14px 16px; border-right: 1px solid var(--line); } .admin dt { font-size: 13px; color: var(--muted); } .admin dd { margin: 0; font-size: 30px; }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kf { font-size: 64px; color: var(--green); margin: 6px 0; line-height: 1; }
.abars { display: flex; align-items: flex-end; gap: 6px; height: 160px; border-bottom: 1.5px solid var(--ink); padding-top: 18px; }
.abars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.abars i { width: 100%; background: var(--green); border-radius: 3px 3px 0 0; } .abars span { font-size: 12px; } .abars small { position: absolute; bottom: -22px; font: 11px var(--mono); color: var(--muted); }
.admin .panel .abars { margin-bottom: 30px; }
.alist { list-style: none; margin: 0; padding: 0; } .alist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: center; }
@media (max-width: 800px) { .agrid { grid-template-columns: 1fr; } }
.lb li.fine { display: block; }
