/* Archivo and Inter (SIL Open Font License), Latin subset, served from this site so no visitor data goes to Google. */
@font-face { font-family:Archivo; src:url(/fonts/archivo.woff2) format('woff2'); font-weight:500 800; font-display:swap; }
@font-face { font-family:Inter; src:url(/fonts/inter.woff2) format('woff2'); font-weight:400 600; font-display:swap; }
:root {
  --bg:#141215; --raise:#1c191d; --raise2:#252127; --line:#2c282e; --text:#efeaf1; --muted:#9a929e;
  --accent:#e0529c; --accent2:#f07db8; --gold:#ffc21a; --green:#5bd46a; --red:#e0473a; --r:4px; --w:1120px;
}
* { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--bg); color:var(--text); font:16px/1.6 Inter,system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
img { display:block; max-width:100%; image-rendering:pixelated; }
button, input { font:inherit; color:inherit; }
.wrap { max-width:var(--w); margin:auto; padding:0 24px; }
h1, h2, h3 { font-family:Archivo,sans-serif; letter-spacing:-.01em; line-height:1.1; }
.muted { color:var(--muted); }
.small { font-size:13px; }
code { font:500 14px ui-monospace,Consolas,monospace; background:var(--line); padding:1px 6px; border-radius:3px; }
[hidden] { display:none !important; }

/* Pixel frames: 12px (or 8px) PNGs drawn in Aseprite, stretched with nine-slice border-image at 3x. */
.pb { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:46px; padding:0 6px;
  border:12px solid transparent; border-image:url(/px/btn.png) 4 fill / 12px; image-rendering:pixelated;
  background:none; color:#1a0d14; font:600 15px Inter,sans-serif; text-decoration:none; white-space:nowrap; cursor:pointer; }
.pb:hover { border-image-source:url(/px/btn-hover.png); }
.pb:active { border-image-source:url(/px/btn-down.png); }
.pb.ghost { border-image-source:url(/px/btn-ghost.png); color:var(--text); }
.pb.ghost:hover, .pb.ghost.sel { border-image-source:url(/px/btn-ghost-hover.png); }
.pb.gold { border-image-source:url(/px/btn-gold.png); color:#2a1a00; }
.pb.sm { height:38px; border-width:9px; border-image-width:9px; font-size:13px; padding:0 4px; }
.pb.wide { width:100%; margin-top:18px; }
.co .pb.paypal { margin-top:12px; }
.pb:disabled { opacity:.5; cursor:wait; }
.pb:focus-visible { outline:2px solid var(--accent2); outline-offset:2px; }
.panel { border:12px solid transparent; border-image:url(/px/panel.png) 4 fill / 12px; image-rendering:pixelated; padding:8px 12px; }
.panel.pink { border-image-source:url(/px/panel-pink.png); }
.panel.gold, .ev.on { border-image-source:url(/px/panel-gold.png); }
.bar { height:24px; border:9px solid transparent; border-image:url(/px/bar-track.png) 3 fill / 9px; position:relative; }
.bar i { position:absolute; inset:-9px auto -9px -9px; min-width:18px; border:9px solid transparent; border-image:url(/px/bar-gold.png) 3 fill / 9px; }
.bar.pink i { border-image-source:url(/px/bar-pink.png); }
.ic { width:32px; height:32px; flex:none; }
.ic.s { width:24px; height:24px; }
.av { width:22px; height:22px; flex:none; }

/* Header */
header { border-bottom:1px solid var(--line); }
header .wrap { display:flex; align-items:center; gap:28px; height:72px; }
header nav { display:flex; gap:4px; font-size:14px; font-weight:500; color:var(--muted); }
header nav a { padding:7px 11px; border-radius:var(--r); text-decoration:none; white-space:nowrap; transition:color .15s, background .15s; }
header nav a:hover { color:var(--text); background:var(--raise); }
header nav a[aria-current] { color:var(--text); font-weight:600; background:var(--raise2); box-shadow:inset 0 -2px 0 var(--accent); }
.search { margin-left:auto; position:relative; display:flex; align-items:center; gap:8px; height:40px; width:240px; padding:0 10px;
  background:var(--raise); border:1px solid var(--line); border-radius:var(--r); }
.search:focus-within { border-color:var(--accent); }
.search input { background:none; border:0; outline:0; width:100%; font-size:14px; }
.search input::placeholder { color:var(--muted); }
.sugg { position:absolute; top:46px; left:-1px; right:-1px; background:var(--raise); border:1px solid var(--line); border-radius:var(--r); z-index:5; font-size:14px; }
.sugg a { display:flex; gap:8px; align-items:center; padding:8px 10px; border-top:1px solid var(--line); text-decoration:none; }
.sugg a:first-child { border-top:0; }
.sugg a[aria-selected="true"], .sugg a:hover { background:var(--line); }
.sugg a small { margin-left:auto; color:var(--green); font-size:11px; font-weight:600; }
.sugg p { padding:8px 10px; color:var(--muted); }

/* Event strip: one row of compact cards that refreshes itself every 30 seconds. */
#events { padding-block:20px; }
.events { display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:14px; }
#events { position:relative; }
.strip-head { display:flex; align-items:center; gap:16px; margin-bottom:12px; font-size:13px; color:var(--muted); }
.strip-head .online { display:inline-flex; align-items:center; gap:8px; }
.ic.ping { width:16px; height:16px; }
.strip-head b { color:var(--text); font-weight:600; }
#events .notify { position:absolute; right:24px; top:20px; margin:0; }
.rush-names { font-size:13px; font-weight:600; color:var(--text); }
.ev { display:flex; align-items:flex-start; gap:12px; min-width:0; }
.ev > .ic, .ev-icons { margin-top:2px; }
.ev-icons { display:flex; flex:none; }
.ev-icons .ic + .ic { margin-left:-10px; }
.ev-body { flex:1; min-width:0; display:grid; gap:4px; }
.ev .t { display:flex; align-items:center; gap:8px; min-width:0; font:700 15px Archivo,sans-serif; }
.ev .t { flex-wrap:wrap; row-gap:2px; }
.ev .t > span:first-child { min-width:0; overflow-wrap:break-word; }
.ev-row { display:flex; align-items:baseline; gap:6px; }
.ev .clock { font:800 22px Archivo,sans-serif; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ev .count { margin-left:auto; font:800 16px Archivo,sans-serif; font-variant-numeric:tabular-nums; }
.ev .count small { color:var(--muted); font-weight:600; }
.ev .sub { color:var(--muted); font-size:12.5px; line-height:1.35; }
.ev .bar { margin-top:4px; }
.ev.status { align-items:center; }
.tag { font:600 11px Inter,sans-serif; letter-spacing:.06em; padding:2px 6px; border-radius:3px; flex:none; background:var(--line); color:var(--muted); }
.tag.live { background:var(--gold); color:#2a1a00; }
.dot { width:10px; height:10px; flex:none; background:var(--green); }
.dot.off { background:var(--muted); }
.notify { margin-top:10px; background:none; border:0; color:var(--accent); font-size:13px; font-weight:600; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }

/* Home */
.intro { display:grid; grid-template-columns:1fr 1.15fr; gap:48px; align-items:center; padding-block:40px 16px; }

.hero { width:100%; height:auto; aspect-ratio:1920/972; object-fit:cover; border-radius:var(--r); image-rendering:auto; }
.eyebrow, .num { color:var(--accent); font-weight:600; font-size:14px; }
.num { font-size:13px; }
.intro h1 { font-size:clamp(38px,5vw,60px); font-weight:800; margin:12px 0 18px; }
.intro p { color:var(--muted); font-size:17px; max-width:520px; }
.actions { display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; }
.sec { border-top:1px solid var(--line); padding-block:48px; }
.sec0 { padding-bottom:48px; }
/* Off-screen sections skip rendering until they scroll into view. */
.sec { content-visibility:auto; contain-intrinsic-size:auto 700px; }
.sec h2, .page-top h2 { font-size:32px; margin:8px 0 6px; }
.head { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:24px; }
.head p { max-width:640px; }
.head > a { color:var(--accent); font-size:14px; font-weight:600; white-space:nowrap; }
.page-top { padding-block:36px 8px; }
.page-top .head { margin-bottom:16px; }
.big { font-size:44px; font-weight:800; margin-bottom:6px; }
.narrow { max-width:560px; padding-bottom:64px; }
.narrow h2 { display:flex; align-items:center; gap:10px; font-size:24px; margin-bottom:12px; }
.grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.boards { padding-bottom:48px; }

.panel h3 { display:flex; align-items:center; gap:10px; font-size:18px; margin-bottom:12px; }
.panel h3 small, .panel h3 a { margin-left:auto; font:500 13px Inter,sans-serif; color:var(--muted); }
.panel h3 a { color:var(--accent); font-weight:600; }
.lb ol { list-style:none; }
.lb li { display:flex; align-items:center; gap:10px; padding:7px 0; border-top:1px solid var(--line); font-size:14px; }
.lb li:first-child { border-top:0; }
.lb li a { text-decoration:none; overflow:hidden; text-overflow:ellipsis; }
.lb li a:hover { color:var(--accent2); }
.lb li em { font-style:normal; color:var(--muted); width:22px; height:22px; display:grid; place-items:center; font-weight:700; font-size:12px; }
.lb li:nth-child(-n+3) em { color:#1a0d14; box-shadow:inset 0 -3px 0 #0003; }
.lb li:nth-child(1) em { background:var(--gold); }
.lb li:nth-child(2) em { background:#cfd6e0; }
.lb li:nth-child(3) em { background:#d8935a; }
.lb li b { margin-left:auto; font-variant-numeric:tabular-nums; }

.store-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:16px; }
.item { display:flex; flex-direction:column; text-decoration:none; }
.item:hover h3 { color:var(--accent2); }
.item h3 { margin:10px 0 4px; font-size:20px; }
.item .price { font:800 28px Archivo,sans-serif; margin:12px 0; }
.item .price small { font:500 13px Inter,sans-serif; color:var(--muted); }
.item ul { color:var(--muted); font-size:14px; margin:0 0 14px 18px; }
.item .pb { margin-top:auto; align-self:flex-start; }

.vote { display:grid; grid-template-columns:1fr 1.25fr; gap:32px; align-items:start; }
.sec .vote, section.vote { padding-bottom:48px; }
.sites { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.site { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; }
.site .pb { margin-left:auto; }
.pin { display:flex; justify-content:space-between; font-size:14px; margin:18px 0 8px; }

/* Profile */
.prof { display:grid; grid-template-columns:200px 1fr; gap:40px; padding-block:40px 32px; align-items:center; }
.prof .body { height:240px; width:auto; margin:auto; image-rendering:auto; }
.prof h1 { font-size:clamp(36px,5vw,56px); font-weight:800; display:flex; align-items:center; gap:16px; flex-wrap:wrap; overflow-wrap:anywhere; }
.chip { font:600 12px Inter,sans-serif; letter-spacing:.04em; padding:4px 8px; border-radius:3px; background:#e0529c22; color:var(--accent2); border:1px solid #e0529c66; }
.badge { height:21px; width:auto; image-rendering:pixelated; }
.meta { display:flex; flex-wrap:wrap; gap:8px 24px; color:var(--muted); font-size:14px; margin-top:14px; }
.meta b { color:var(--text); font-weight:600; }
.money { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.stat .k { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:13px; font-weight:600; }
.stat .v { font:800 28px Archivo,sans-serif; margin-top:6px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.stat .d { color:var(--muted); font-size:13px; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:16px; }
.rows div { display:flex; justify-content:space-between; padding:7px 0; border-top:1px solid var(--line); font-size:14px; }
.rows div:first-child { border-top:0; }
.rows b { font-variant-numeric:tabular-nums; }
.cal { display:grid; grid-template-columns:repeat(16,1fr); gap:4px; }
.cal i { aspect-ratio:1; background:var(--line); }
.cal i.y { background:var(--accent); }
.cal i.t { background:var(--gold); }
.prog { display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--muted); margin:14px 0 6px; }
.prog a { color:var(--accent); }
.fishes { display:flex; flex-wrap:wrap; gap:3px; }
.fishes img { width:40px; height:40px; padding:4px; background:var(--raise2); }
.fishes img.no { filter:brightness(0) invert(1) opacity(.14); }
.tiers { display:grid; gap:16px; padding-bottom:48px; }
.tier h3 small { margin-left:auto; }

/* Store item + checkout */
.lay { display:grid; grid-template-columns:1fr 400px; gap:24px; align-items:start; padding-block:16px 48px; }
.lbl { font-size:13px; font-weight:600; color:var(--muted); margin:18px 0 8px; }
.buy .lbl:first-child { margin-top:0; }
.opt { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.opt input { position:absolute; opacity:0; pointer-events:none; }
.opt label:has(input:disabled) { opacity:.5; cursor:not-allowed; }
.input { height:44px; display:flex; align-items:center; gap:10px; padding:0 12px; background:var(--bg); border:1px solid var(--line); border-radius:var(--r); }
.input:focus-within { border-color:var(--accent); }
.input input { flex:1; min-width:0; background:none; border:0; outline:0; font-size:15px; }
.found { font-size:13px; font-weight:600; white-space:nowrap; }
.found.ok { color:var(--green); }
.found.bad { color:var(--red); }
.qty { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.qty input { width:70px; text-align:center; font:800 24px Archivo,sans-serif; background:none; border:0; outline:0; -moz-appearance:textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance:none; }
.perks { color:var(--muted); font-size:14px; margin-left:18px; }
.total { display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--line); margin-top:18px; padding-top:12px; font:800 24px Archivo,sans-serif; }
.err { color:var(--red); font-size:14px; margin-top:10px; }
table { width:100%; border-collapse:collapse; font-size:14px; }
td, th { padding:7px 0; border-top:1px solid var(--line); text-align:left; vertical-align:top; }
tr:first-child td, tr:first-child th { border-top:0; }
th { color:var(--muted); font-size:13px; font-weight:600; }
.drops td:last-child, .orders td:last-child { text-align:right; font-variant-numeric:tabular-nums; font-weight:600; white-space:nowrap; padding-left:12px; }
.ranks td, .ranks th { padding-right:16px; }
.rare { font:600 11px Inter,sans-serif; padding:2px 6px; border-radius:3px; margin-left:8px; }
.rare.gold { background:var(--gold); color:#2a1a00; }
.rare.purple { background:#9b4dff; color:#fff; }
.rare.pink { background:var(--accent); color:#1a0d14; }
.co .qr { background:#fff; padding:12px; width:240px; height:auto; margin:16px auto 12px; }
.wait { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 10px; font-size:14px; margin-top:12px; }
.sum div { display:flex; justify-content:space-between; gap:12px; font-size:14px; padding:6px 0; }
.sum .tot { border-top:1px solid var(--line); margin-top:6px; padding-top:12px; font:800 24px Archivo,sans-serif; }
.steps { color:var(--muted); font-size:14px; margin:12px 0 14px 18px; }
.steps li { padding:3px 0; }
.steps code { color:var(--text); }
.linkform { display:flex; gap:12px; margin:8px 0 6px; }
.linkform input { flex:1; min-width:0; height:46px; padding:0 14px; background:var(--bg); border:1px dashed var(--accent); border-radius:var(--r);
  font:800 22px ui-monospace,monospace; letter-spacing:.12em; text-transform:uppercase; outline:0; }
.orders .st.delivered { color:var(--green); }
.orders .st.pending, .orders .st.paid { color:var(--gold); }
.orders .st.failed, .orders .st.expired { color:var(--red); }

/* Changelog */
.log { display:grid; gap:16px; padding-bottom:48px; }
.log > * { max-width:800px; width:100%; }
.log .when { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:13px; font-weight:600; }
.log h3 { margin:8px 0 10px; font-size:22px; }
.log .body p { color:var(--muted); font-size:15px; }
.log .body p + p { margin-top:6px; }
.log .body .li { padding-left:16px; position:relative; }
.log .body .li::before { content:''; position:absolute; left:2px; top:.7em; width:6px; height:6px; background:var(--accent); }

.legal { max-width:760px; padding-bottom:64px; }
.legal h1 { font-size:40px; font-weight:800; margin-bottom:6px; }
.legal h2 { font-size:22px; margin:32px 0 10px; }
.legal p, .legal li { color:#cfc8d3; }
.legal p + p { margin-top:10px; }
.legal ul { margin:10px 0 0 20px; display:grid; gap:6px; }
.legal a, .agree a { color:var(--accent2); }
.legal b { color:var(--text); }
.agree { margin-top:12px; }
.legal-note { flex-basis:100%; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; font-size:12px; }
.legal-note a { color:var(--muted); }
.legal-note a:hover { color:var(--accent2); }
footer .wrap { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:24px; border-top:1px solid var(--line); color:var(--muted); font-size:14px; }

/* Team */
.team { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:16px; }
.members { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
.member { display:flex; align-items:center; gap:10px; min-width:0; padding:6px; text-decoration:none; font-size:14px; font-weight:600; border-radius:var(--r); }
.member:hover { background:var(--raise2); color:var(--accent2); }
.member .av { width:32px; height:32px; }
.member span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.member .ping { width:16px; height:16px; margin-left:auto; }
.role.streamers { border-image-source:url(/px/panel-pink.png); }

/* Socials and item icons */
.hero-socials { display:flex; flex-wrap:wrap; gap:8px 18px; }
.hero-socials { margin-top:18px; }
.social { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:14px; font-weight:600; text-decoration:none; }
.social:hover { color:var(--text); }
.item-ic { width:48px; height:48px; image-rendering:pixelated; }
.item-head { display:flex; align-items:center; gap:20px; }
.item-head .item-ic { width:72px; height:72px; }
table.arena td, table.arena th { text-align:left; }
table.arena td:not(:first-child), table.arena th:not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
.pager { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.week-head { margin:-6px 0 14px; }
.week-head b { color:var(--text); font-variant-numeric:tabular-nums; }
.week .lb li { flex-wrap:wrap; row-gap:2px; }
.week .reward { flex-basis:100%; padding-left:32px; color:var(--muted); font-size:12px; }
.week h3 small { margin-left:auto; }
.arena-easy .diff { color:#5bd46a; } .arena-medium .diff { color:#ffd24f; } .arena-hard .diff { color:#f26b5f; }
.arena-insane .diff { color:#c08bff; } .arena-nightmare .diff { color:#e0473a; }
.log h4 { font:700 16px Archivo,sans-serif; margin:14px 0 6px; }

/* YakiSlots */
.slots .two { margin-top:16px; }
.slots .foot { margin-top:12px; }
.slot-row { margin-top:16px; }
.slot-row .nums { display:grid; grid-template-columns:repeat(6, 1fr); gap:12px; }
.slot-row .nums span { display:block; color:var(--muted); font-size:12.5px; font-weight:600; }
.slot-row .nums b { font:800 22px Archivo,sans-serif; font-variant-numeric:tabular-nums; }
.win { color:var(--green); }
.loss { color:#f26b5f; }
.stat.gold { border-image-source:url(/px/panel-gold.png); }
.tiers-caught span { display:flex; align-items:center; gap:10px; }
.tiers-caught img { width:28px; height:28px; }
[data-refresh].updating { opacity:.85; transition:opacity .3s; }

@media (max-width:900px) {
  .slot-row .nums { grid-template-columns:repeat(3, 1fr); }
  header .wrap { flex-wrap:wrap; height:auto; gap:10px 16px; padding-block:12px; }
  header nav { order:3; flex-basis:100%; overflow-x:auto; gap:4px; margin-inline:-6px; padding-inline:6px; scrollbar-width:none;
    mask-image:linear-gradient(90deg, #000 85%, transparent); }
  header nav::-webkit-scrollbar { display:none; }
  .search { width:auto; flex:1; }
  .intro, .vote, .lay, .prof, .two { grid-template-columns:1fr; gap:24px; }
  .grid3, .money { grid-template-columns:1fr 1fr; }
  .prof { text-align:left; }
  .prof .body { height:180px; }
}
@media (max-width:560px) {
  header .logo img { width:34px; height:34px; }
  header .pb.sm { font-size:0; gap:0; }
  header .pb.sm .ic, header .pb.sm .av { margin:0; }
  .search { height:38px; }
  #events .notify { position:static; display:block; margin:0 0 10px; }
  .strip-head { margin-bottom:10px; }
  .ev { gap:8px; }
  .ev > .ic, .ev-icons .ic { width:24px; height:24px; }
  .ev .clock { font-size:18px; }
  .intro { padding-block:24px 8px; }
  .intro p { font-size:15px; }
  .actions .pb { flex:1; }
  .prof { gap:12px; padding-block:24px; }
  .prof .body { height:150px; }
  .stat .v { font-size:22px; }
  .slot-row .nums { grid-template-columns:repeat(2, 1fr); }
  .lay { grid-template-columns:minmax(0, 1fr); }
  .co .qr { width:100%; max-width:260px; }
  .item-head { gap:12px; }
  .item-head .item-ic { width:48px; height:48px; }
  .team, .members { grid-template-columns:1fr 1fr; }
  .team { grid-template-columns:1fr; }
  .fishes img { width:34px; height:34px; }
  .cal { grid-template-columns:repeat(11, 1fr); }
  table { font-size:13px; }
  .ranks { display:block; overflow-x:auto; }
  footer .wrap { flex-direction:column; padding:20px 16px; }
  .wrap { padding:0 16px; }
  .grid3, .sites, .opt { grid-template-columns:1fr; }
  .money { grid-template-columns:1fr 1fr; gap:10px; }
  .ev .count { margin-left:0; }
  .head { flex-direction:column; align-items:start; }
  .sec h2, .page-top h2 { font-size:26px; }
  .big { font-size:34px; }
  header .pb.sm { padding:0; }
}

/* Page switches (Store, Vote, ...): a short cross-fade with a small lift, done by the browser's
   cross-document view transitions. Browsers without support just navigate normally. */
@view-transition { navigation: auto; }
::view-transition-old(main) { animation:page-out .14s ease-in both; }
::view-transition-new(main) { animation:page-in .22s ease-out both; }
main { view-transition-name:main; }
header, footer { view-transition-name:none; }
@keyframes page-out { to { opacity:0; transform:translateY(-4px); } }
@keyframes page-in { from { opacity:0; transform:translateY(6px); } }
@media (prefers-reduced-motion:reduce) {
  ::view-transition-old(main), ::view-transition-new(main) { animation:none; }
}

/* Phones: groups of cards swipe sideways instead of stacking into very long pages.
   Kept last so it wins over the one-column rules above. */
@media (max-width:560px) {
  .events, .swipe { display:grid; grid-auto-flow:column; grid-template-columns:none; overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; scrollbar-width:none; margin-inline:-16px; padding-inline:16px; scroll-padding-inline:16px; gap:10px; }
  .events::-webkit-scrollbar, .swipe::-webkit-scrollbar { display:none; }
  .events > *, .swipe > * { scroll-snap-align:start; }
  .events { grid-auto-columns:minmax(220px, 72%); }
  .swipe { grid-auto-columns:86%; align-items:start; }
  .boards .lb ol { max-height:60vh; overflow-y:auto; }
  .sites { grid-template-columns:1fr 1fr; gap:8px; }
  .site { flex-direction:column; align-items:flex-start; gap:8px; }
  .site .pb { margin-left:0; align-self:stretch; }
}

/* Leaderboard "See all" popup */
.board-dlg { margin:auto; width:min(520px, calc(100vw - 24px)); max-height:min(80vh, 760px); padding:0; border:0; background:transparent; color:var(--text); overflow:auto; }
.board-dlg::backdrop { background:#000a; }
.board-dlg .panel { background:var(--bg); }
.dlg-x { position:sticky; top:0; float:right; z-index:1; width:32px; height:32px; margin:4px 4px -36px 0; border:0; background:var(--raise2); color:var(--text); font-size:20px; cursor:pointer; }
.dlg-x:hover { color:var(--accent2); }
