/* Play Retro Games Club: one dark theme. Four events, each with its own colour, shown as equals. */
:root{
  --bg:#111316;--raise:#181b20;--well:#14171b;--line:#262a31;--line2:#323741;
  --text:#f1f2f4;--soft:#c6cad1;--muted:#9aa0aa;--dim:#7d838d;
  --blue:#7fa8ff;--yellow:#f2c200;
  --w:#3ddc84;--m:#9ea8ff;--r:#ff8a99;--s:#f2c200;--x:#ffa25c;
  --d:"Bricolage Grotesque","Segoe UI",system-ui,sans-serif;
  --gutter:40px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{color-scheme:dark;scrollbar-color:var(--line2) var(--bg);accent-color:var(--yellow)}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.6 "Atkinson Hyperlegible Next","Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--text)}
img{max-width:100%}
h1,h2,h3{font-family:var(--d);font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:0;text-wrap:balance}
p{margin:0}
p,li{text-wrap:pretty}
input{caret-color:var(--yellow)}
::placeholder{color:var(--muted);opacity:1}
::selection{background:color-mix(in srgb,var(--yellow) 38%,transparent);color:var(--text)}
:focus-visible{outline:2px solid var(--yellow);outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:8px;background:var(--yellow);color:#111;padding:8px 14px;border-radius:20px;z-index:50;font-weight:700}
.skip:focus{left:8px}
.wrap{max-width:1200px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.num,.big,.table{font-variant-numeric:tabular-nums}
.big{font-family:var(--d);font-weight:800;line-height:1;letter-spacing:-.02em}
.muted{color:var(--muted)}
.soft{color:var(--soft)}
.small-t{font-size:14px}
.b{font-weight:700}
.center{text-align:center}
code{background:var(--raise);padding:1px 7px;border-radius:6px;font-size:.9em;color:var(--text)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 22px;border-radius:22px;font-size:16px;font-weight:700;white-space:nowrap;color:var(--text)}
.btn.small{height:38px;padding:0 16px;font-size:15px}
.gold{background:var(--yellow);color:#111}
.gold:hover{background:#ffd633;color:#111}
.ghost{box-shadow:inset 0 0 0 1px var(--line2)}
.ghost:hover{box-shadow:inset 0 0 0 1px var(--soft);color:var(--text)}
.link{font-weight:700;font-size:15px}

/* event tag: a coloured dot and the name */
.tag{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:var(--soft);white-space:nowrap;line-height:1.3}
.tag::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:var(--c,var(--w))}
.w{--c:var(--w)}.m{--c:var(--m)}.r{--c:var(--r)}.s{--c:var(--s)}.x{--c:var(--x)}
.tags{display:flex;gap:6px 14px;flex-wrap:wrap;align-items:center}

/* header */
.top{background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
[id]{scroll-margin-top:96px}
.menu{display:contents}
.menu-btn{display:none}
.top-in{display:flex;align-items:center;gap:32px;min-height:76px}
.logo{display:flex;align-items:center;gap:12px;color:var(--text)}
.logo:hover{color:var(--text)}
.logo img{flex:none;width:34px;height:34px;border-radius:6px}
.logo span{font:700 19px var(--d);letter-spacing:-.01em}
.nav{display:flex;align-items:center;gap:26px}
.nav a{color:var(--soft);font-size:16px;white-space:nowrap}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text)}
.nav a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:8px}
.phone-only{display:none}
.top-right{flex:1 1 240px;display:flex;gap:14px;align-items:center;justify-content:flex-end}
.search{position:relative;flex:0 1 280px;display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:20px;background:var(--raise);color:var(--muted)}
.search:focus-within{box-shadow:inset 0 0 0 1px var(--line2)}
.search input{border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:15px;width:100%;min-width:0}
.results{position:absolute;top:calc(100% + 8px);left:0;right:0;min-width:280px;z-index:30;background:var(--raise);border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,.6),inset 0 0 0 1px var(--line);max-height:60vh;overflow:auto;padding:6px}
.results .grp{font-size:13px;font-weight:700;color:var(--muted);padding:8px 10px 4px}
.results a,.results .item{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:8px;color:var(--text);font-size:15px}
.results a:hover,.results a[aria-selected="true"]{background:var(--line)}
.results .sub{color:var(--muted);font-size:13px;white-space:nowrap}
.results .none{padding:10px;color:var(--muted);font-size:15px}

.main{padding-top:40px;padding-bottom:16px;display:flex;flex-direction:column;gap:56px}
.panel{background:var(--raise);border-radius:12px}
.pad{padding:24px}

/* section headings */
.sec{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.sec h2,.h2{font-size:24px}
.sec a{font-size:15px;font-weight:700}

/* covers */
.cover{display:block;flex:none;object-fit:contain;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.5)}
.cover.blank{background:var(--line);display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px;font-weight:700}

/* ---------------------------------------------------------------- home */
.intro{text-align:center;max-width:720px;margin:0 auto}
.intro h1{font-size:48px;line-height:1.04;font-weight:800}
.intro p{font-size:18px;color:var(--soft);margin:12px auto 0;max-width:600px}
.cta{display:flex;gap:10px;flex-wrap:wrap}
.intro .cta{justify-content:center;margin-top:20px}

.rooms{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:-16px}
.room{position:relative;overflow:hidden;border-radius:12px;background:var(--raise);display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;padding:20px;color:var(--text)}
.room::before{content:"";position:absolute;inset:0;background:var(--c);opacity:.07;transition:opacity .15s ease}
.room:hover{color:var(--text)}
.room:hover::before{opacity:.12}
.room>*{position:relative}
.frame{height:184px;display:flex;align-items:center;justify-content:center}
.frame .cover{max-width:100%;max-height:100%;width:auto;height:auto}
.room h3{font-size:26px;margin:6px 0 2px}
.plat{font-size:14px;color:var(--muted)}
.facts{display:flex;gap:22px;margin:12px 0 10px}
.facts b{display:block;font:800 26px/1 var(--d)}
.facts span{font-size:14px;color:var(--muted)}
.room .first{font-size:14px;color:var(--soft)}
.room .first b{color:var(--text)}
.room .ends{font-size:14px;color:var(--soft);margin-top:6px}
.room .ends b,.left{color:var(--yellow);font-weight:700}
@media (prefers-reduced-motion:reduce){.room::before{transition:none}}

.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.list{list-style:none;margin:0;padding:0}
.list li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}
.list li>span:last-child{flex:none;color:var(--muted)}
.list .rn{display:inline-block;width:22px;color:var(--muted)}
.list small{display:block;font-size:14px;color:var(--muted)}
.list-foot{font-size:14px;color:var(--muted);margin-top:10px}
.noms{margin-top:14px;font-size:15px;color:var(--soft)}
.noms .btn{margin-top:10px}

.how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;counter-reset:step}
.how li{list-style:none}
.how h3{font-size:19px;display:flex;gap:10px;align-items:baseline}
.how h3::before{counter-increment:step;content:counter(step);font:800 19px var(--d);color:var(--yellow)}
.how p{font-size:15px;color:var(--soft);margin-top:6px}
.how-wrap{padding:0;margin:0}

/* The club's running totals: highlights under the home headline. */
.totals{list-style:none;padding:0;margin:32px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;text-align:center}
.totals li{background:var(--raise);border-radius:14px;padding:18px 12px 16px;display:flex;flex-direction:column;gap:4px;box-shadow:inset 0 0 0 1px var(--line)}
.totals b{font:800 34px/1.05 var(--d);color:var(--yellow);font-variant-numeric:tabular-nums}
.totals span{font-size:14px;color:var(--soft);line-height:1.3}

/* reviews: the words, then the score and who */
.reviews{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:0 40px}
.q{padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid var(--line)}
.q p{font-size:15px;overflow-wrap:anywhere}
.q .by{font-size:14px;color:var(--muted);margin-top:4px}
.q .by b{color:var(--yellow)}
.q .by .pname{font-weight:700;color:var(--soft)}
.q .by .pname:hover{color:var(--text)}
.three .reviews{display:block}

/* ---------------------------------------------------------------- inner pages */
.page-head{display:flex;flex-direction:column;gap:10px}
.page-head h1{font-size:44px;font-weight:800;line-height:1.05}
.page-head p{color:var(--soft);font-size:17px;max-width:var(--measure)}
.flow{display:flex;flex-direction:column;gap:18px}

/* game page */
.game-top{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.game-art{position:relative;overflow:hidden;border-radius:12px;background:var(--raise);display:flex;justify-content:center;align-items:center;padding:24px;min-height:260px}
.game-art::before{content:"";position:absolute;inset:0;background:var(--c,var(--w));opacity:.07}
.game-art .cover{position:relative}
.game-info{min-width:0;display:flex;flex-direction:column;gap:18px}
.dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px 24px;margin:0}
.dl div{border-top:1px solid var(--line);padding-top:8px}
.dl dt{font-size:14px;color:var(--muted)}
.dl dd{margin:2px 0 0;font-weight:700}
.links{display:flex;gap:10px;flex-wrap:wrap}
.desc{color:var(--soft);line-height:1.65;max-width:var(--measure);font-size:16px}
.stat-row{display:flex;flex-wrap:wrap;gap:16px 40px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stat b{display:block;font-size:30px}
.stat span{display:block;font-size:14px;color:var(--muted);margin-top:4px}
.run{display:flex;flex-direction:column;gap:18px}
.run-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap}
.run-head h2{font-size:26px}
.run-head .tag{margin-bottom:6px}
.live{font-size:15px;color:var(--soft)}
.honours{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 24px}
.hon{border-top:1px solid var(--line);padding-top:8px}
.hon-k{font-size:14px;color:var(--muted)}
.table{width:100%;border-collapse:collapse;font-size:15px}
.table th{text-align:left;font-size:13px;font-weight:700;color:var(--muted);padding:12px 14px 8px;white-space:nowrap}
.table td{padding:10px 14px;border-top:1px solid var(--line);vertical-align:middle}
.table td.n,.table th.n{text-align:right}
.table .rank{width:52px;color:var(--muted)}
.table-wrap{overflow-x:auto}
.pname{font-weight:700;color:var(--text)}
a.pname:hover{color:var(--blue)}
.chip{display:inline-block;font-size:13px;font-weight:700;padding:2px 9px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line2);color:var(--soft);white-space:nowrap;margin:2px 4px 2px 0}
.chip.first{color:var(--w);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--w) 55%,transparent)}
.chip.fast{color:var(--m);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--m) 55%,transparent)}
.chip.mastered{color:var(--yellow);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--yellow) 55%,transparent)}
.chip.completed{color:#e0c470;box-shadow:inset 0 0 0 1px color-mix(in srgb,#e0c470 45%,transparent)}
.chip.beaten{color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--soft) 50%,transparent)}
.chip.hc{color:var(--r);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--r) 55%,transparent)}
.empty{color:var(--muted);padding:16px 18px;margin:0}

/* filters and game cards */
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.filters input{height:42px;padding:0 16px;border-radius:21px;border:0;background:var(--raise);color:var(--text);font:inherit;font-size:15px;flex:1 1 220px;max-width:340px}
.filters input:focus{outline:0;box-shadow:inset 0 0 0 1px var(--line2)}
.fchip{height:38px;padding:0 14px;border-radius:19px;border:0;box-shadow:inset 0 0 0 1px var(--line2);background:transparent;color:var(--soft);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.fchip:hover{color:var(--text);box-shadow:inset 0 0 0 1px var(--soft)}
.fchip[aria-pressed="true"]{background:var(--text);color:#111;box-shadow:none}
.fcount{color:var(--muted);font-size:14px;margin-left:auto}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:28px 20px}
.card{display:flex;flex-direction:column;gap:6px;color:var(--text)}
.card:hover{color:var(--text)}
.card:hover strong{text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:3px}
.card-art{height:200px;border-radius:10px;background:var(--raise);display:flex;align-items:center;justify-content:center;padding:16px;margin-bottom:6px}
.card-art .cover{max-height:100%;width:auto;height:auto}
.card strong{font-size:16px;line-height:1.3}
.card .muted{font-size:14px}
.card-stats{display:flex;gap:14px;font-size:14px;color:var(--muted)}
.card-stats b{color:var(--text)}

/* member profile */
.streaks{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 24px}
.streak{border-top:1px solid var(--line);padding-top:8px}
.streak b{display:block;font-size:30px;margin:4px 0}
.streak .muted{font-size:14px}
.mini{display:flex;gap:12px;align-items:center;min-width:0}
.mini .cover{box-shadow:none;border-radius:3px}
.mini a{color:var(--text);font-weight:700}.mini a:hover{color:var(--blue)}
.mlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:0 40px;list-style:none;margin:0;padding:0}
.mlist li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}
.mlist li span:last-child{flex:none;color:var(--muted)}

/* leaderboards */
.board-picks{display:flex;flex-direction:column;gap:8px}
html:not(.js-on) .boards .board-picks{display:none}
.board h2{font-size:20px;padding:16px 18px 2px}
.js-on .boards .board h2{display:none}
.js-on .boards:not(.js) [data-board]:not([data-board="all-all"]){display:none}
.table th.key-col,.table td.key-col b{color:var(--yellow)}
.table td.key-col b{font-family:var(--d);font-size:17px}
.table td.zero{color:var(--dim)}
.table tr.row-link{cursor:pointer}
.table tbody tr.row-link:hover{background:rgba(255,255,255,.03)}

/* join page */
.join-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;counter-reset:step}
.step h3{font-size:21px;display:flex;gap:10px;align-items:baseline}
.step h3::before{counter-increment:step;content:counter(step);font:800 21px var(--d);color:var(--yellow)}
.step p{color:var(--soft);margin-top:8px;font-size:16px}
.join-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.join-card{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.join-list{margin:0;padding-left:20px;color:var(--soft);display:flex;flex-direction:column;gap:6px;font-size:16px}
.join-card .btn{margin-top:auto}

/* key to the event names and marks */
.key{font-size:15px;color:var(--soft)}
.key summary{cursor:pointer;color:var(--blue);font-weight:700;display:inline-block;padding:4px 0}
.key dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:6px 32px;margin:10px 0 0;padding:16px 18px;background:var(--raise);border-radius:12px}
.key dl div{display:flex;gap:12px;align-items:baseline}
.key dt{flex:none;min-width:190px}
.key dd{margin:0}

/* pager */
.pager{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:16px}
.table-wrap .pager{margin:0;padding:12px;border-top:1px solid var(--line)}
.pager .fchip{min-width:38px;padding:0 10px}
.pager .fchip[aria-current="page"]{background:var(--text);color:#111;box-shadow:none}
.pager .fchip:disabled{opacity:.35;cursor:default}
.pager .gap{color:var(--dim);padding:0 2px}

/* 404 */
.lost{text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center;padding:56px 0}
.lost b{font-size:112px;color:var(--yellow)}
.lost h1{font-size:32px}
.lost .cta{justify-content:center}

/* footer */
.foot{margin-top:40px;border-top:1px solid var(--line)}
.foot-in{display:flex;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;font-size:14px;color:var(--muted);padding-top:24px;padding-bottom:24px}
.foot a{color:var(--soft)}.foot a:hover{color:var(--text)}

@media (max-width:1000px){
  .rooms{grid-template-columns:1fr}
  .three{grid-template-columns:1fr 1fr}
  .three>:last-child{grid-column:1/-1}
}

@media (max-width:760px){
  :root{--gutter:14px}
  body{font-size:15px}
  .main{gap:32px;padding-top:20px}
  .sec{margin-bottom:6px}
  .sec h2,.h2{font-size:20px}
  /* header: logo and a menu button; the menu opens below with search and links */
  .top-in{gap:12px;min-height:56px;flex-wrap:wrap}
  .logo{flex:1;min-width:0}
  .logo img{width:30px;height:30px}
  .logo span{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .menu-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border-radius:22px;border:0;background:var(--raise);color:var(--text);cursor:pointer}
  .menu-btn .i-close,.top.open .menu-btn .i-open{display:none}
  .top.open .menu-btn .i-close{display:inline}
  .menu{display:none;flex-basis:100%;flex-direction:column;gap:8px;padding-bottom:12px}
  .top.open .menu{display:flex}
  .top-right{order:1;flex:none}
  .top-join{display:none}
  .search{flex:1;height:44px;border-radius:22px}
  .nav{order:2;flex-direction:column;align-items:stretch;gap:0}
  .nav a{display:flex;align-items:center;min-height:48px;font-size:16px;border-top:1px solid var(--line)}
  .nav a[aria-current="page"]{text-decoration:none;color:var(--yellow)}
  .nav a.phone-only{display:flex}
  .nav a.nav-join{justify-content:center;margin-top:8px;border:0;border-radius:22px;background:var(--yellow);color:#111;font-weight:700}
  /* home */
  .intro{text-align:left}
  .intro h1{font-size:28px}
  .intro p{font-size:15px;margin-top:8px}
  .intro .cta{justify-content:flex-start;margin-top:14px}
  .btn{height:40px;padding:0 18px;font-size:15px}
  .rooms{gap:8px;margin-top:-10px}
  .room{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:10px 12px;border-radius:10px}
  .frame{height:78px;align-items:flex-start}
  .room .tag{font-size:13px}
  .room h3{font-size:17px;margin:2px 0 0}
  .room .plat,.room .first{display:none}
  .facts{gap:0;margin:3px 0 1px;font-size:13px;color:var(--soft);flex-wrap:wrap}
  .facts div{display:flex;align-items:baseline;gap:4px}
  .facts div+div::before{content:"\00b7";margin:0 6px;color:var(--muted)}
  .facts b{font:700 13px "Atkinson Hyperlegible Next",system-ui,sans-serif;color:var(--text)}
  .facts span{font-size:13px}
  .room .ends{font-size:13px;margin-top:0}
  .three,.how{grid-template-columns:1fr;gap:28px}
  .how{gap:14px}
  .how h3{font-size:17px}
  .how p{font-size:14px;margin-top:2px}
  .list li{padding:7px 0;font-size:14px}
  .list li:nth-child(n+6){display:none}
  .q p{font-size:14px}
  .q .by{font-size:13px}
  .totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px;text-align:left}
  .totals li{padding:14px 14px 12px}
  .totals b{font-size:26px}
  .totals span{font-size:13px}
  .foot-in{font-size:13px;padding-top:18px;padding-bottom:18px}
  /* inner pages */
  .page-head h1{font-size:30px}
  .page-head p{font-size:15px}
  .game-top{grid-template-columns:96px minmax(0,1fr);gap:16px}
  .game-art{min-height:0;padding:10px}
  .game-art .cover{max-width:100%;height:auto}
  .game-info{display:contents}
  .game-info>*{grid-column:1/-1}
  .game-info>.page-head{grid-column:2;align-self:center}
  .game-top{row-gap:14px}
  .links .btn{white-space:normal;text-align:center}
  .dl{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:6px 16px}
  .dl dt,.dl dd{font-size:14px}
  .desc{font-size:15px}
  .stat-row{gap:12px 28px;padding:12px 0}
  .stat b{font-size:24px}
  .stat span{font-size:13px}
  .run-head h2{font-size:20px}
  .honours,.streaks{grid-template-columns:1fr 1fr;gap:8px 16px}
  .hon,.streak{font-size:14px}
  .streak b{font-size:24px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
  .card-art{height:150px;padding:10px}
  .card strong{font-size:14px}
  .card .muted,.card-stats{font-size:13px}
  .card .tag{font-size:13px}
  .join-steps,.join-options{grid-template-columns:1fr;gap:16px}
  .step h3{font-size:18px}
  .step p,.join-list{font-size:15px}
  .pad{padding:18px}
  .lost b{font-size:80px}
  .lost h1{font-size:24px}
  /* tables: .stack tables turn each row into two lines (main cells, then the extras) */
  .table th,.table td{padding-left:10px;padding-right:10px}
  .table .rank{width:36px}
  .table.stack,.table.stack tbody{display:block}
  .table.stack thead{display:none}
  .table.stack tr{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;padding:10px 12px;border-top:1px solid var(--line)}
  .table.stack tr:first-child{border-top:0}
  .table.stack tr[hidden]{display:none}
  .table.stack tr::after{content:"";order:1;flex-basis:100%;height:0}
  .table.stack td{display:block;padding:0;border:0;width:auto;text-align:left}
  .table.stack td.grow-cell{flex:1 1 0;min-width:0}
  .table.stack td.extra{order:2;font-size:13px;color:var(--muted)}
  .table.stack td.blank{display:none}
  .table.stack td[data-pre]::before{content:attr(data-pre)}
  .table.stack td[data-post]::after{content:attr(data-post)}
  .table .phone-only{display:inline}
  .pname,.mini a{display:inline-block;padding:10px 0;margin:-10px 0}
  .key dl div{flex-direction:column;gap:0}
  .key dt{min-width:0}
}
.cal-tags{display:flex;margin-top:2px;gap:2px 12px}
.cal-tags .tag{font-size:13px;font-weight:400;color:var(--muted)}
.cal-tags .tag::before{width:7px;height:7px}
.page-head .tag{white-space:normal}

/* filter bar: a search box and dropdowns, the same at every width */
.select{appearance:none;-webkit-appearance:none;height:42px;padding:0 40px 0 16px;border-radius:21px;border:0;background:var(--raise) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c6cad1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;color:var(--text);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.select:hover{box-shadow:inset 0 0 0 1px var(--line2)}
.select option{background:var(--raise);color:var(--text)}
.board-picks{display:contents}
html:not(.js-on) .boards .board-picks{display:none}
.noms-h{font:700 15px/1.3 "Atkinson Hyperlegible Next",system-ui,sans-serif;letter-spacing:0;color:var(--soft);margin:18px 0 2px}
.noms .list .tag{font-weight:400;color:var(--text);font-size:15px}

/* games list */
.glist ul{list-style:none;margin:0;padding:0}
.ghead,.grow{display:grid;grid-template-columns:52px minmax(0,1fr) 230px 80px 70px;gap:18px;align-items:center}
.ghead{font-size:13px;font-weight:700;color:var(--muted);padding:0 12px 8px;border-bottom:1px solid var(--line)}
.ghead .n{text-align:right}
.grow{padding:8px 12px;border-bottom:1px solid var(--line);color:var(--text)}
.grow:hover{background:var(--raise);color:var(--text)}
.grow:hover strong{text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:3px}
.g-art{height:56px;display:flex;align-items:center;justify-content:center}
.g-art .cover{max-height:56px;max-width:52px;width:auto;height:auto;box-shadow:none;border-radius:3px}
.g-main{min-width:0}
.g-main strong{display:block;font-size:16px;line-height:1.3}
.g-sub{display:block;font-size:14px;color:var(--muted)}
.g-pick-inline{display:none}
.g-pick{display:flex;flex-direction:column;gap:1px;font-size:14px;min-width:0}
.g-n{text-align:right;font-size:14px;color:var(--muted);white-space:nowrap}
.g-n b{color:var(--text);font-size:16px}
.g-n>span:not(.muted){display:none}

@media (max-width:760px){
  .filters input{flex:1 1 100%;max-width:none;height:44px}
  .filters .select{flex:1 1 0;min-width:0;height:44px}
  .filters .fcount{flex-basis:100%;margin-left:0}
  .pager .fchip{height:44px;min-width:44px}
  .key summary{padding:10px 0}
  .wide-only{display:none}
  .table td.extra.zero{display:none}
  .table.stack tr{padding:8px 12px}
  .page-head .tags{order:2}
  .page-head .tag{font-size:13px}
  .frame{align-items:center}
  .noms .list .tag{font-size:14px}
  .ghead{display:none}
  .grow{grid-template-columns:40px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 12px;padding:8px 0}
  .g-art{grid-row:1/3;height:52px}
  .g-art .cover{max-height:52px;max-width:40px}
  .g-main{grid-row:1/3}
  .g-main strong{font-size:15px}
  .g-sub{font-size:13px}
  .g-pick-inline{display:inline}
  .g-pick-inline .tag{font-size:13px;font-weight:700}
  .g-pick-inline .tag::before{width:7px;height:7px}
  .g-pick{display:none}
  .g-n{grid-column:3;font-size:13px;align-self:end}
  .g-n+.g-n{align-self:start}
  .g-n b{font-size:14px}
  .g-n>span:not(.muted){display:inline}
}
.g-when{display:none}
@media (max-width:760px){
  .g-pick-inline{display:flex;flex-wrap:wrap;gap:0 12px;margin:1px 0}
  .g-pick-inline .tag{font-size:13px;font-weight:700;color:var(--soft)}
  .g-when{display:inline}
  /* home picks: system, length and records stay on phones too */
  .room .plat{display:block;font-size:13px;margin-bottom:2px}
  .room .first{display:block;font-size:13px;margin-top:1px;line-height:1.45}
  .frame{height:96px}
  .room{grid-template-columns:64px minmax(0,1fr)}
}

/* game page: each pick is its own block, opened by a band in its event colour */
.run{gap:32px;margin-top:16px}
.run-head{position:relative;overflow:hidden;border-radius:12px;background:var(--raise);padding:18px 22px;align-items:center}
.run-head::before{content:"";position:absolute;inset:0;background:var(--c);opacity:.09}
.run-head>*{position:relative}
.run-head h2{font-size:26px}
.run-head .tag{margin-bottom:4px}
.run-block h3{display:flex;align-items:baseline;gap:10px;font-size:19px;padding-bottom:10px;margin-bottom:14px;border-bottom:1px solid var(--line2)}
.run-block h3 .count{font:400 15px "Atkinson Hyperlegible Next",system-ui,sans-serif;color:var(--muted)}
.run-block .stat-row{border:0;padding:0 0 18px}
@media (max-width:760px){
  .run{gap:24px}
  .run-head{padding:12px 14px;border-radius:10px}
  .run-head h2{font-size:20px}
  .run-block h3{font-size:17px;padding-bottom:8px;margin-bottom:10px}
  .run-block .stat-row{padding-bottom:12px}
}

/* leaderboard rows: name with the last game beaten, the beaten count, how the clears split by event, then the other counts */
.lb td{vertical-align:middle}
.lb .lb-who .pname{font-weight:700}
.lb-last{display:block;margin-top:3px;font-size:13px;color:var(--muted)}
.lb-last a{color:var(--soft)}
.lb-last a:hover{color:var(--text)}
.lb .lb-total b{font-size:20px}
.lb-split-h,.lb-split{width:380px}
.lb-counts b{font-weight:700;color:var(--soft)}
.lb-bar{display:flex;gap:2px;height:6px;border-radius:3px;overflow:hidden;background:var(--line)}
.lb-bar i{display:block;min-width:3px;background:var(--c)}
.lb-counts{display:flex;flex-wrap:wrap;gap:2px 10px;margin-top:6px;font-size:12px;color:var(--muted)}
.lb-counts>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.lb-counts>span::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c)}
.lb .lb-stat small{display:block;font-size:12px;color:var(--muted)}
@media (max-width:760px){
  .lb .lb-total b{font-size:18px}
  .lb .lb-total span{font-size:13px;color:var(--muted)}
  .table.stack.lb td.lb-split{flex-basis:100%;width:auto;padding:6px 0 2px}
  .table.stack.lb td.lb-stat{order:3}
  .table.stack.lb td.lb-stat:not(.zero){display:inline-flex;align-items:baseline;gap:4px}
  .table.stack.lb td.lb-stat::after{order:1}
  .lb .lb-stat small{order:2;display:inline;font-size:13px}
  .lb-counts{font-size:13px}
}

/* game page: each pick opens with one card, the header band over its results */
.run-card{border-radius:12px;background:var(--raise);border:1px solid var(--line);overflow:hidden}
.run-card .run-head{border-radius:0}
.run-results{padding:20px 22px 22px}
.run-results .stat-row{border:0;padding:0 0 18px;gap:16px 56px}
.run-results .stat b{font-size:42px;color:var(--c)}
.run-results .stat span{font-size:15px;color:var(--soft)}
.run-results .honours{border-top:1px solid var(--line2);padding-top:16px}
.run-results .hon{border-top:0;padding-top:0}
.game-key{margin-top:-28px;padding-top:16px;border-top:1px solid var(--line)}
@media (max-width:760px){
  .run-card{border-radius:10px}
  .run-results{padding:14px 14px 16px}
  .run-results .stat-row{gap:12px 28px;padding-bottom:14px}
  .run-results .stat b{font-size:32px}
  .run-results .stat span{font-size:14px}
  .run-results .honours{padding-top:12px}
}

/* links under a page heading to its related pages */
.page-links{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px;font-weight:700}

/* schedule: one card per event */
.sched{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:16px}
.sched-card{position:relative;overflow:hidden;background:var(--raise);border:1px solid var(--line);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.sched-top{position:relative;overflow:hidden;margin:-18px -20px 0;padding:14px 20px;border-bottom:1px solid var(--line)}
.sched-top::before{content:"";position:absolute;inset:0;background:var(--c);opacity:.09}
.sched-top>*{position:relative}
.sched-top .tag{font-size:16px}
.sched-now{display:flex;gap:12px;align-items:center;color:var(--text)}
.sched-now small{display:block;font-size:13px;color:var(--muted)}
.sched-now strong{display:block;font-family:var(--d);font-size:19px;line-height:1.2}
.sched-now .muted{font-size:14px}
/* Ends on one line, the time left under it. */
.sched-now .muted,.sched-now .left{display:block}
.sched-now .left{font-size:14px}
.sched-art{flex:none;display:flex}
.sched-dl{margin:0;display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:12px}
.sched-dl div{display:flex;gap:12px;font-size:15px}
.sched-dl dt{flex:none;width:96px;color:var(--muted)}
.sched-dl dd{margin:0}
.sched-dl .open{color:var(--w)}
.sched-note{font-size:14px;margin-top:auto}

/* nominations */
.nom-game{display:flex;gap:10px;align-items:center}
.nom-game strong{display:block}
.nom-game strong a{color:var(--text)}
.nom-game .small-t{display:block}
.nom-sum .stat-row{padding-bottom:0}
.run .panel.table-wrap{margin-top:0}

/* disqualified: three columns of plain lists */
.dq-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.dq-h{display:flex;align-items:baseline;gap:10px;font-size:17px;padding-bottom:10px;border-bottom:1px solid var(--line2)}
.dq-h .count{font:400 15px "Atkinson Hyperlegible Next",system-ui,sans-serif;color:var(--muted)}
.dq-list li a{color:var(--text)}
.dq-list li small{display:inline;margin-left:6px}

/* hall of fame */
.hof-list{list-style:none;margin:0;padding:0}
.hof{display:grid;grid-template-columns:minmax(0,280px) 1fr;gap:6px 28px;padding:14px 0;border-bottom:1px solid var(--line)}
.hof-game strong{display:block;font-family:var(--d);font-size:17px}
.hof-game strong a{color:var(--text)}
.hof-game .small-t{display:block;margin-top:2px}
.hof-people{display:flex;flex-direction:column;gap:6px;font-size:15px}
.hof-people .pname{font-weight:700}
.nom-top{max-width:520px}

/* reviews page */
.all-reviews .q-game{font-size:14px;margin-bottom:6px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.all-reviews .q-game a{font-weight:700;color:var(--text)}

/* commands */
.cmd-table code{font-size:15px;white-space:nowrap}
.cmd-go a{font-weight:700;white-space:nowrap}
.cmd-forum{color:var(--soft)}
.cmd-forum b{color:var(--text)}

@media (max-width:1000px){
  .dq-cols{grid-template-columns:1fr;gap:28px}
}
@media (max-width:760px){
  .sched-card{padding:14px 14px 16px;gap:12px}
  .sched-top{margin:-14px -14px 0;padding:12px 14px}
  .sched-dl dt{width:84px}
  .hof{grid-template-columns:1fr;gap:6px}
  .table.stack.cmd-table td.cmd-go,.table.stack.cmd-table td.cmd-forum{order:3;flex-basis:100%}
  .table.stack.cmd-table td.cmd-forum::before{content:"On the forum: ";color:var(--muted)}
}

/* header between phone and wide desktop: five links, so tighter spacing,
   and below 960px the logo drops its name to leave room for search */
@media (min-width:761px) and (max-width:1180px){
  .top-in{gap:20px}
  .nav{gap:18px}
  .nav a{font-size:15px}
  .logo span{white-space:nowrap}
  .search{flex-basis:200px;padding:0 12px}
}
@media (min-width:761px) and (max-width:960px){
  .logo span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}

/* ================================================================
   Readability pass (2026-11-24): clear sections, rows you can tell
   apart, the home page's event colours on rows that belong to one
   event, and brighter small text. Kept last so it sets the rule for
   every page in one place.
   ================================================================ */
:root{--muted:#aab0b9;--dim:#8f959f}
:root{--row:var(--raise);--row-hover:#20242b}

/* Sections: a heading with a rule under it, and more room between them */
.main{gap:72px}
.sec{padding-bottom:10px;margin-bottom:16px;border-bottom:2px solid var(--line2)}
/* in a .flow section the gap already spaces it; the margin on top doubled it (Joey 2026-11-24) */
.flow>.sec{margin-bottom:0}
.sec h2{font-size:26px}
.sec>.muted{font-size:15px;font-weight:700;color:var(--soft);background:var(--raise);border-radius:999px;padding:2px 10px}

/* Event names in their own colour, not grey */
.tag{color:color-mix(in srgb,var(--c,var(--w)) 62%,var(--text))}
.cal-tags .tag{color:color-mix(in srgb,var(--c,var(--w)) 62%,var(--text));font-weight:700}

/* Row strips: each row its own raised strip with a gap, tinted by its
   event the way the home page's game cards are. A strip, not stripes,
   so it stays right when filters and pages hide rows. */
.table tbody tr,.grow,.list li,.mlist li,.q,.hof,.streak{
  --rowbg:color-mix(in srgb,var(--c,var(--row)) 8%,var(--row));
  --rowhi:color-mix(in srgb,var(--c,var(--row)) 15%,var(--row-hover))}

.table{border-collapse:separate;border-spacing:0 5px}
.panel.table-wrap{background:transparent;border-radius:0}
.table thead th{padding:6px 14px 2px;color:var(--soft)}
.table td{border-top:0;background:var(--rowbg);padding:12px 14px}
.table td:first-child{border-radius:10px 0 0 10px}
.table td:last-child{border-radius:0 10px 10px 0}
.table tbody tr.row-link:hover{background:none}
.table tbody tr.row-link:hover td{background:var(--rowhi)}
.table td .pname{color:var(--text)}

/* the top three on a leaderboard */
.lb tbody tr:nth-child(-n+3) .rank{color:var(--yellow);font-weight:800}

.glist ul{display:flex;flex-direction:column;gap:5px}
.ghead{border-bottom:0;color:var(--soft)}
.grow{border-bottom:0;border-radius:10px;background:var(--rowbg)}
.grow:hover{background:var(--rowhi)}

.list{display:flex;flex-direction:column;gap:4px}
.list li{border-bottom:0;background:var(--rowbg);border-radius:8px;padding:10px 12px}
.list li[hidden]{display:none}
.mlist{gap:5px 16px}
.mlist li{border-bottom:0;background:var(--rowbg);border-radius:8px;padding:10px 12px}

.reviews{gap:10px 12px}
.three .reviews{display:flex;flex-direction:column;gap:8px}
.q{background:var(--rowbg);border-radius:10px;padding:14px 16px;border-bottom:0;margin:0}
.q .by{color:var(--soft)}

.hof-list{display:flex;flex-direction:column;gap:6px}
.hof{border-bottom:0;background:var(--rowbg);border-radius:10px;padding:14px 16px}

.streaks{gap:10px}
.streak{border-top:0;background:var(--rowbg);border-radius:10px;padding:12px 14px}

/* small text a step brighter and bigger */
.lb-last{font-size:14px;color:var(--soft)}
.lb-counts{font-size:13px}
.lb .lb-stat small{font-size:13px}
.sched-now small{font-size:14px}
.list small{color:var(--soft)}
.g-sub{color:var(--soft)}
.dq-list li small{color:var(--soft)}

@media (max-width:760px){
  .main{gap:48px}
  .sec h2{font-size:21px}
  .sec{margin-bottom:12px}
  /* stacked tables: the whole row is the strip */
  .table{border-spacing:0}
  .table.stack tbody{display:flex;flex-direction:column;gap:6px}
  .table.stack tr{border-top:0;background:var(--rowbg);border-radius:10px;padding:10px 12px}
  .table.stack tr[hidden]{display:none}
  .table.stack td{background:none}
  .table.stack tbody tr.row-link:hover td{background:none}
  .table.stack tbody tr.row-link:hover{background:var(--rowhi)}
  .table.stack td.extra{font-size:14px;color:var(--soft)}
  .g-sub{font-size:14px}
  .q .by{font-size:14px}
  .q{padding:12px 14px}
}
.lb-split-h,.lb-split{width:410px}
.lb .lb-stat small{white-space:nowrap}
.lb .lb-who{min-width:200px}
@media (max-width:760px){.grow{padding:10px 12px}}

/* ================================================================
   Home: a running special's card spans the grid under the four, and
   Coming up is a strip of date cards across the page.
   ================================================================ */
.room.wide{grid-column:1/-1}
.cal-strip{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px}
.cal-strip li{background:var(--raise);border-radius:10px;padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;min-width:0}
.cal-strip li>time{display:flex;align-items:baseline;gap:6px;font-size:26px;font-weight:800;line-height:1;color:var(--text)}
.cal-strip li>time b{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--yellow)}
.cal-strip strong{font-size:15px;line-height:1.3}
.cal-strip .cal-tags{flex-direction:column;gap:2px;margin:0}
.cal-strip small{font-size:13px;color:var(--soft)}
.noms{margin-top:0}
@media (max-width:760px){
  .cal-strip{grid-template-columns:1fr 1fr;gap:8px}
  .cal-strip li{padding:12px}
  .cal-strip li>time{font-size:22px}
}
/* Join: the playing-now cards share the row, however many picks are running */
.cards.fit{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
@media (max-width:760px){.cards.fit{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The page title and intro sit close to what they introduce */
.main>.page-head{margin-bottom:-40px}
/* A game page opens with the Games tabs; the game sits close under them. */
.main>.sect-tabs:first-child{margin-bottom:-44px}

/* Games: event tabs (a dropdown on phones), and the schedule cards' heading */
.tabs{margin-top:10px}
.tab-row{display:flex;flex-wrap:wrap;gap:8px}
.tab{--c:var(--yellow);display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:0;border-radius:20px;background:var(--raise);color:var(--soft);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.tab::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c)}
.tab[data-tab=""]::before{display:none}
.tab:hover{color:var(--text);background:var(--row-hover)}
.tab[aria-selected="true"]{color:var(--text);background:color-mix(in srgb,var(--c) 16%,var(--raise));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 60%,transparent)}
.tab:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
.tab-select{display:none}
.sched-top .tag{margin:0}
.filters-wide .select{min-width:150px}
.fnone{flex-basis:100%;margin:4px 0 0;font-size:15px}
.linkish{border:0;background:none;padding:0;color:var(--blue);font:inherit;font-weight:700;cursor:pointer}
.linkish:hover{text-decoration:underline}
@media (max-width:760px){
  .main>.page-head{margin-bottom:-28px}
  .main>.sect-tabs:first-child{margin-bottom:-24px}
  .tab-row{display:none}
  .tab-select{display:block;width:100%}
  .filters-wide .select{min-width:0;flex:1 1 40%}
}

/* ================================================================
   Hall of Fame: club totals, medal boards, crown cards
   ================================================================ */
.h1-sub{display:block;font-size:22px;font-weight:700;color:var(--soft);margin-top:8px}
.hof-top{display:flex;flex-direction:column;gap:16px}
.hof-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hof-totals div{position:relative;overflow:hidden;background:var(--raise);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.hof-totals div::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,color-mix(in srgb,var(--yellow) 14%,transparent),transparent 70%)}
.hof-totals b{position:relative;font-family:var(--d);font-size:36px;line-height:1.05;color:var(--yellow)}
.hof-totals span{position:relative;font-size:15px;color:var(--soft)}
.podiums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.podium{background:var(--raise);border-radius:12px;padding:16px 18px}
.podium h2{font-size:17px;margin:0 0 10px;color:var(--soft)}
.podium ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.podium li{--medal:#d08a4e;display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;background:color-mix(in srgb,var(--medal) 9%,var(--bg))}
.podium li.place-1{--medal:var(--yellow);padding:12px 10px}
.podium li.place-2{--medal:#c9ced6}
.medal{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--medal);color:#15171b;font-weight:800;font-size:14px}
.place-1 .medal{width:34px;height:34px;font-size:16px;box-shadow:0 0 0 3px color-mix(in srgb,var(--yellow) 30%,transparent)}
.podium-who{flex:1;min-width:0;display:flex;flex-direction:column}
.podium-who .pname{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.place-1 .podium-who .pname{font-size:17px}
.podium-who small{font-size:13px;color:var(--soft)}
.podium li>b{font-family:var(--d);font-size:20px;color:var(--medal)}
.place-1>b{font-size:26px}

.crown-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,440px),1fr));gap:12px}
.crown-card{position:relative;overflow:hidden;background:var(--raise);border-radius:12px;display:flex;flex-direction:column;gap:12px;padding:0 18px 18px}
.crown-card header{display:flex;align-items:center;gap:10px;margin:0 -18px;padding:14px 18px;background:linear-gradient(90deg,color-mix(in srgb,var(--yellow) 20%,var(--raise)),color-mix(in srgb,var(--yellow) 5%,var(--raise)))}
.crown-ico{color:var(--yellow);flex:none}
.crown-card header strong{font-family:var(--d);font-size:21px}
.crown-n{margin-left:auto;font-size:14px;color:var(--soft)}
.crown-n b{font-size:18px;color:var(--text)}
.crown-tier{display:flex;flex-direction:column;gap:8px}
.crown-tier .chip{align-self:flex-start;margin:0}
.crown-people{display:flex;flex-wrap:wrap;gap:6px}
.pill{display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--bg);font-size:14px}
.pill .pname{font-weight:700;color:var(--text)}
.crown-tier.perfect .pill{background:color-mix(in srgb,var(--yellow) 16%,var(--bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--yellow) 45%,transparent)}
.hof-n{display:block;margin-top:4px;font-size:14px;color:var(--soft)}
.hof-n b{color:var(--text)}
@media (max-width:1000px){
  .podiums{grid-template-columns:1fr}
  .hof-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .hof-totals b{font-size:28px}
  .hof-totals div{padding:12px 14px}
  .crown-card{padding:0 14px 14px}
  .crown-card header{margin:0 -14px;padding:12px 14px}
  .h1-sub{font-size:17px}
}

/* ================================================================
   Reviews: one block per pick, with its average, score spread and
   the written reviews under it
   ================================================================ */
.rv-list{display:flex;flex-direction:column;gap:14px}
.rv-group{--c:var(--w);background:color-mix(in srgb,var(--c) 6%,var(--raise));border-radius:12px;overflow:hidden}
.rv-group[hidden]{display:none}
.rv-head{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;background:color-mix(in srgb,var(--c) 11%,var(--raise))}
.rv-art{display:flex;justify-content:center}
.rv-title{display:flex;flex-direction:column;gap:3px;min-width:0}
.rv-title h2{font-size:22px;margin:0;line-height:1.2}
.rv-title h2 a{color:var(--text)}
.rv-title .muted{font-size:14px;color:var(--soft)}
.rv-score{display:grid;grid-template-columns:auto 110px;grid-template-rows:auto auto;column-gap:14px;align-items:end}
.rv-score>b{grid-row:1;font-family:var(--d);font-size:34px;line-height:1;color:var(--yellow)}
.rv-score>span:not(.spread):not(.spread-ends){grid-row:2;grid-column:1;font-size:13px;color:var(--soft);white-space:nowrap}
.spread{grid-row:1;grid-column:2;display:flex;align-items:flex-end;gap:2px;height:34px}
.spread i{flex:1;background:color-mix(in srgb,var(--c) 70%,var(--text));border-radius:2px 2px 0 0;min-height:0}
.spread-ends{grid-row:2;grid-column:2;display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}
.rv-items{list-style:none;margin:0;padding:8px 18px 4px;display:flex;flex-direction:column}
.rv{display:flex;gap:14px;padding:12px 0;border-top:1px solid color-mix(in srgb,var(--c) 14%,var(--line))}
.rv:first-child{border-top:0}
.rv[data-out],.rv[data-more-hidden]{display:none}
.rv-n{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;font-size:16px;font-weight:800;background:var(--bg)}
.rv-n.high{color:var(--w);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--w) 50%,transparent)}
.rv-n.good{color:var(--yellow);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--yellow) 45%,transparent)}
.rv-n.mid{color:var(--x);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--x) 45%,transparent)}
.rv-n.low{color:var(--r);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--r) 50%,transparent)}
.rv p{margin:0 0 4px;font-size:16px;line-height:1.5}
.rv .by{font-size:14px;color:var(--soft)}
.rv .by .pname{color:var(--text);font-weight:700}
.rv-more{margin:0 18px 14px}
@media (max-width:760px){
  .rv-head{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:12px 14px}
  .rv-score{grid-column:1/-1;grid-template-columns:auto 1fr}
  .rv-title h2{font-size:18px}
  .rv-items{padding:4px 14px}
  .rv-more{margin:0 14px 12px}
  .rv p{font-size:15px}
}
.rv-art .cover{max-width:100%;height:auto}
.tab.w{--c:var(--w)}.tab.m{--c:var(--m)}.tab.r{--c:var(--r)}.tab.s{--c:var(--s)}.tab.x{--c:var(--x)}
.tab-row{gap:6px}
.tab{padding:0 13px;font-size:14px;gap:7px}
.cal-strip .cal-tags{align-items:flex-start}
.cal-strip .cal-tags .tag{white-space:normal;font-size:13px;line-height:1.3;align-items:baseline}
@media (max-width:760px){
  .board-picks{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 100%}
  .board-picks .select{flex:1 1 40%}
  .board-picks #board-sort{flex-basis:100%}
}

/* Games, Nominations, Disqualified: one tab bar above the heading */
.sect-tabs{display:flex;gap:4px 26px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:8px}
.sect-tabs a{position:relative;padding:4px 0 12px;color:var(--soft);font-size:16px;font-weight:700;text-decoration:none}
.sect-tabs a:hover{color:var(--text)}
.sect-tabs a[aria-current="page"]{color:var(--text)}
.sect-tabs a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--yellow)}
.sect-tabs a:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
@media (max-width:760px){.sect-tabs{gap:4px 16px}.sect-tabs a{font-size:15px;padding-bottom:10px}}

/* home calendar: the local time under the date */
.cal-strip li>time small{display:block;flex-basis:100%;font-size:13px;font-weight:700;color:var(--soft);letter-spacing:0}
.cal-strip li>time{flex-wrap:wrap;row-gap:4px}

/* sortable column headings */
.th-sort{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:4px;border-radius:4px}
.th-sort:hover{color:var(--text)}
.th-sort:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
.th-sort::after{content:"";width:0;height:0;border:4px solid transparent;opacity:.35;border-top-color:currentColor;margin-top:4px}
th[aria-sort="descending"] .th-sort,th[aria-sort="ascending"] .th-sort{color:var(--text)}
th[aria-sort="descending"] .th-sort::after{opacity:1}
th[aria-sort="ascending"] .th-sort::after{opacity:1;border-top-color:transparent;border-bottom-color:currentColor;margin:0 0 4px}
th.n .th-sort{flex-direction:row-reverse}

/* streak cards: long event names wrap on phones */
.streak{min-width:0}
.streak .tag{white-space:normal}
.mlist li>span:first-child{min-width:0;flex:1 1 auto}
.mlist li .tag{white-space:normal}
/* a long unbroken name breaks instead of widening the page */
.page-head h1{overflow-wrap:anywhere}
/* Coming up on Games: the date and time stack on phones */
.cal-long li>span:first-child{min-width:0}
@media (max-width:760px){.cal-long li>span:last-child{flex:0 1 auto;max-width:7.5em;text-align:right}}

/* Rules */
.rules-toc{margin-top:4px}
.rule-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:14px}
.rule-card{background:color-mix(in srgb,var(--c) 7%,var(--raise));border-radius:12px;padding:16px 18px}
.rule-card h3{margin-bottom:12px}
.rule-card h3 .tag{font-size:20px;gap:10px;line-height:1.25;white-space:normal}
.rule-card h3 .tag::before{width:11px;height:11px}
@media (max-width:760px){.rule-card h3 .tag{font-size:18px}}
.rule-card ul,.rule-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;color:var(--soft);line-height:1.6;font-size:16px}
.rule-list{max-width:var(--measure)}
.rule-list b{color:var(--text)}
.rule-list ul{margin-top:6px;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.rule-list .chip{margin-right:6px}
.sec.sub h3{font-size:19px}
.weights{max-width:560px}
@media (max-width:760px){.rule-card ul,.rule-list{font-size:15px}}
/* a filter bar outside a .flow section still keeps its distance from the list under it */
:not(.flow)>.filters+*{margin-top:14px}

/* How it works: four steps, the same on the home page and Join */
.how-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;counter-reset:step;margin:0;padding:0}
.how-steps li{list-style:none}
.how-steps h3{font-size:19px;line-height:1.25;display:flex;gap:10px;align-items:baseline}
.how-steps h3::before{counter-increment:step;content:counter(step);font:800 19px var(--d);color:var(--yellow);flex:none}
.how-steps p{font-size:15px;color:var(--soft);margin-top:8px;line-height:1.6}
@media (max-width:1100px){.how-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px}}
@media (max-width:620px){.how-steps{grid-template-columns:1fr;gap:16px}.how-steps h3{font-size:17px}.how-steps p{font-size:14px;margin-top:4px}}

/* Before the deferred script runs: first page only, and room for the sort
   arrows, so nothing jumps when it does (sizes from the templates). */
.js-on [data-page-size="6"]:not(.paged)>tbody>tr:nth-child(n+7),.js-on [data-page-size="6"]:not(.paged)>li:nth-child(n+7),
.js-on [data-page-size="8"]:not(.paged)>tbody>tr:nth-child(n+9),.js-on [data-page-size="8"]:not(.paged)>li:nth-child(n+9),
.js-on [data-page-size="10"]:not(.paged)>tbody>tr:nth-child(n+11),.js-on [data-page-size="10"]:not(.paged)>li:nth-child(n+11),
.js-on [data-page-size="12"]:not(.paged)>tbody>tr:nth-child(n+13),.js-on [data-page-size="12"]:not(.paged)>li:nth-child(n+13),
.js-on [data-page-size="15"]:not(.paged)>tbody>tr:nth-child(n+16),.js-on [data-page-size="15"]:not(.paged)>li:nth-child(n+16),
.js-on [data-page-size="25"]:not(.paged)>tbody>tr:nth-child(n+26),.js-on [data-page-size="25"]:not(.paged)>li:nth-child(n+26),
.js-on [data-page-size="30"]:not(.paged)>tbody>tr:nth-child(n+31),.js-on [data-page-size="30"]:not(.paged)>li:nth-child(n+31){display:none}
.js-on th[data-col]:not(.th-ready)::after{content:"";display:inline-block;width:12px}
.js-on th.n[data-col]:not(.th-ready)::after{content:none}
.js-on th.n[data-col]:not(.th-ready)::before{content:"";display:inline-block;width:12px}
/* member page: the username beside a chosen display name */
.h1-handle{font-size:.5em;font-weight:600;color:var(--soft);letter-spacing:0;white-space:nowrap}

/* Open votes: the ballot as the poll shows it (home and Nominations) */
.vote-cards{display:grid;gap:16px}
.vote-card{background:color-mix(in srgb,var(--c) 6%,var(--raise));border-radius:12px;overflow:hidden}
.vote-head{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:16px 20px;background:color-mix(in srgb,var(--c) 12%,var(--raise))}
.vote-head h3{font-size:22px}
.vote-head .tag{margin-bottom:4px}
.vote-when{font-size:15px;color:var(--soft);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.live-dot{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 30%,transparent)}
.ballot{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px 20px;margin:0;padding:18px 20px;list-style:none}
.ballot li{display:flex;gap:12px;align-items:center;min-width:0}
.ballot-n{font:800 18px var(--d);color:var(--c);width:18px;flex:none;text-align:right}
.ballot-art{flex:none;width:60px;display:flex;justify-content:center}
.ballot-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ballot-t strong{overflow-wrap:anywhere;line-height:1.3}
.vote-go{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;padding:14px 20px 18px;border-top:1px solid color-mix(in srgb,var(--soft) 14%,transparent)}
.vote-go p{font-size:14px;max-width:60ch}
.vote-btns{display:flex;gap:10px;flex-wrap:wrap}
.run .vote-card{margin-top:16px}
@media (max-width:620px){.vote-head,.ballot,.vote-go{padding-left:16px;padding-right:16px}.ballot{grid-template-columns:1fr}.vote-btns{width:100%}.vote-btns .btn{flex:1}}
/* a command never breaks across lines */
code{white-space:nowrap}

/* Section tabs (Hall of Fame, Rules, member pages): the Games tab bar's
   underline; the first section shows before the script runs, so nothing jumps. */
/* the tabs belong to the section under them: 28px apart, not the page gap */
.page-tabs{margin:0 0 -44px}
@media (max-width:760px){.page-tabs{margin-bottom:-24px}}
.sect-tabs a[aria-current="true"]{color:var(--text)}
.sect-tabs a[aria-current="true"]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--yellow)}
.sec-select{display:none}
.page-tabs .sect-tabs{margin-bottom:0}
html.js-on:not(.secs-ready) [data-sec-panel] ~ [data-sec-panel]{display:none}
html:not(.js-on) .sec-select{display:none}
@media (max-width:620px){
  .js-on .page-tabs.many .sect-tabs{display:none}
  .js-on .page-tabs.many .sec-select{display:block;width:100%}
}
/* a list row with a long title: the title, then its event and date under it */
.mlist-two li{flex-direction:column;justify-content:flex-start;gap:4px}
.mlist-two li span:last-child{flex:initial}
.mlist-two li .pname{overflow-wrap:anywhere}
/* the sort button sits in the heading line without making it taller */
th .th-sort{vertical-align:top}
/* One reading width for running text everywhere: page intros, section
   descriptions, rule lists and any paragraph that sets none of its own. */
:root{--measure:90ch}
:where(.main) p{max-width:var(--measure)}

/* Private nominate page (act/, static/act.js): search on the left, the
   picked game's card on the right; one column on phones with the card
   under the list. The event colour comes in through .m/.r/.s on .act-nom. */
.act-nom{display:flex;flex-direction:column;gap:18px}
.act-practice{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--soft)}
.act-practice .chip{margin:0;color:var(--yellow);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--yellow) 55%,transparent)}
.act-ballot p{margin:0;color:var(--soft)}
.act-ballot .tag{font-size:15px;color:color-mix(in srgb,var(--c) 62%,var(--text))}
.act-ballot .act-rule-line{color:var(--muted)}
.act-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start}
.act-q{width:100%;height:48px;padding:0 18px;border:0;border-radius:24px;background:var(--raise);color:var(--text);font:inherit;font-size:16px}
.act-q:focus{outline:0;box-shadow:inset 0 0 0 1px var(--line2)}
.act-q:disabled{opacity:.6}
.act-hint{margin:10px 0 0;font-size:14px;color:var(--muted)}
.act-results{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:5px}
.act-results button{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;width:100%;min-height:56px;padding:8px 12px;border:0;border-radius:10px;background:var(--raise);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.act-results button:hover{background:color-mix(in srgb,var(--c) 12%,var(--row-hover))}
.act-results button[aria-pressed="true"]{background:color-mix(in srgb,var(--c) 16%,var(--raise));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 60%,transparent)}
.act-results button:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}
.act-results button.no{cursor:default;background:var(--well,#14171b)}
.act-results button.no .t{color:var(--muted)}
.act-results img{width:40px;height:40px;border-radius:4px;object-fit:cover;background:var(--line)}
.act-row-text{display:flex;flex-direction:column;min-width:0}
.act-row-text .t{font-size:15px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.act-row-text .c{font-size:13px;color:var(--muted)}
.act-pick{position:sticky;top:96px;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:12px;background:color-mix(in srgb,var(--c) 7%,var(--raise))}
.act-pick-head{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start}
.act-art img{display:block;width:96px;height:96px;border-radius:4px;object-fit:cover;background:var(--line)}
.act-pick h2{margin:0 0 4px;font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.act-console{margin:0 0 6px;color:var(--soft);font-size:15px}
.act-pick-head a{font-size:15px}
.act-rule{margin:0;color:var(--soft);font-size:15px}
.act-go{display:flex;flex-wrap:wrap;gap:10px}
.act-go .btn{min-width:0}
.act-go .btn:disabled{opacity:.55;cursor:default}
.act-status:empty{display:none}
.act-status{padding:12px 14px;border-radius:10px;font-size:15px;line-height:1.5;background:var(--bg)}
.act-status.wait{color:var(--soft)}
.act-status.ok{color:var(--text);background:color-mix(in srgb,var(--w) 14%,var(--bg))}
.act-status.no{color:var(--text);background:color-mix(in srgb,var(--r) 14%,var(--bg))}
.act-form{margin-top:18px}
@media (max-width:760px){
  .act-grid{grid-template-columns:1fr;gap:20px}
  .act-pick{position:static;padding:16px;scroll-margin-top:72px}
  .act-pick-head{grid-template-columns:72px minmax(0,1fr);gap:14px}
  .act-art img{width:72px;height:72px}
  .act-pick h2{font-size:19px}
  .act-go .btn{flex:1 1 140px}
  .act-nom.picked .act-results,.act-nom.picked .act-hint{display:none}
}

/* Rules > Commands: each command's options under its name */
.cmd-opts{list-style:none;padding:0;margin:6px 0 0;display:grid;gap:3px;font-size:13px;line-height:1.4;color:var(--soft)}
.cmd-opts code{font-size:12px}
.cmd-opts .opt{color:var(--muted)}
.nowrap{white-space:nowrap}
