/* leaderboard.css (26 Oct 2026): the game leaderboards, on the night of the game pages (colors follow the text color) */
.lb{display:grid;gap:12px;width:100%;max-width:440px;margin:24px auto 0;padding:20px 22px;border-radius:20px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);text-align:left;color:inherit}
.lb-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.lb-k{margin:0;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#FBCB05}
.lb-g{margin:0;font-size:13px;opacity:.7}
.lb-list{margin:0;padding:0;list-style:none;display:grid;gap:2px}
.lb-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:38px;padding:0 10px;border-radius:10px;font-variant-numeric:tabular-nums}
.lb-list li:nth-child(-n+3) .lb-n{color:#141416;background:var(--m)}
.lb-list li:nth-child(1){--m:#FBCB05}.lb-list li:nth-child(2){--m:#d7d9de}.lb-list li:nth-child(3){--m:#e3a46b}
.lb-list li.is-mine{background:rgba(25,170,227,.22)}
.lb-n{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:12px;font-weight:600}
.lb-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.lb-s{font-size:15px}.lb-s small{font-size:11px;font-weight:400;opacity:.6}
.lb-empty{margin:4px 0;font-size:14px;opacity:.7}
.lb-form{display:grid;gap:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.12)}
.lb-l{font-size:14px;opacity:.85}
.lb-row{display:flex;gap:8px}
.lb-in{width:100%;box-sizing:border-box;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:rgba(255,255,255,.1);color:inherit;font:inherit;font-size:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.lb-in:focus{outline:2px solid #FBCB05;outline-offset:1px}
.lb-ck{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;font-size:13px;line-height:1.45;opacity:.85;cursor:pointer}
.lb-ck input{width:18px;height:18px;margin:1px 0 0;accent-color:#FBCB05}
.lb-ck a{color:inherit}
.lb-form .lb-go{justify-self:start}
.lb-row input{flex:1;min-width:0;min-height:44px;padding:0 14px;border:0;border-radius:12px;background:rgba(255,255,255,.1);color:inherit;font:inherit;font-size:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.lb-row input:focus{outline:2px solid #FBCB05;outline-offset:1px}
.lb-go{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:#fff;color:#141416;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.lb-go:active{transform:scale(.97)}.lb-go:disabled{opacity:.5}
.lb-msg{min-height:1.2em;font-size:13px;color:#FBCB05}
.lb-done{margin:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);font-size:15px}
/* on the Play page, the two boards side by side */
.gm-lbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:920px;margin:clamp(40px,5vw,64px) auto 0}
.gm-lbs .lb{max-width:none;margin:0}
.gm-lbs-h{max-width:920px;margin:clamp(56px,7vw,88px) auto 0;text-align:center;color:#fff;font-size:clamp(28px,3.4vw,44px);letter-spacing:-.035em;font-weight:600}
.gm-lbs-h span{color:#FBCB05}
@media (max-width:760px){.gm-lbs{grid-template-columns:1fr}}
/* 27 Oct 2026: the simple form (email, one button); a light version for light grounds */
.lb-form .lb-go{justify-self:stretch;width:100%;min-height:48px;font-size:16px}
.lb-in-s{min-height:40px;font-size:15px}
.lb-note{margin:0;font-size:12px;line-height:1.45;opacity:.6}.lb-note a{color:inherit}
.lb-ck{font-size:13px;opacity:.8}
.lb.lb-light{background:rgba(20,20,22,.04);box-shadow:inset 0 0 0 1px rgba(20,20,22,.08)}
.lb.lb-light .lb-k{color:#141416}
.lb.lb-light .lb-in{background:#fff;box-shadow:inset 0 0 0 1px rgba(20,20,22,.16)}
.lb.lb-light .lb-in:focus{outline-color:#19AAE3}
.lb.lb-light .lb-go{background:#141416;color:#fff}
.lb.lb-light .lb-form,.lb.lb-light .lb-done{border-top-color:rgba(20,20,22,.1)}
.lb.lb-light .lb-msg{color:#c2410c}
.lb.lb-light .lb-ck input{accent-color:#141416}
.lb.lb-light .lb-list li.is-mine{background:rgba(25,170,227,.14)}
.lb{color:#f5f5f7}.lb.lb-light{color:#141416}
.lb p,.lb .lb-l,.lb .lb-ck span{color:inherit!important}
.lb .lb-form .lb-go{display:block;min-height:48px!important;height:auto;padding:12px 18px!important;line-height:1.2;font-size:16px!important}
/* 31 Oct 2026 (FX: nobody can tell the house players): every player has a small ColorLoop agent after the name; one line under
   the board says it includes a few house players */
.lb-av{display:inline-block;width:18px;height:16px;margin-left:6px;object-fit:contain;vertical-align:-2px}
.lb-house{margin:4px 0 0;padding:0 10px;font-size:12px;opacity:.6}
/* several players on one screen (31 Oct 2026): a Save button each, the form under the one who saves */
.lb-mp{display:grid;gap:8px;padding-top:10px;border-top:1px solid rgba(255,255,255,.12)}
.lb-mp-list{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.lb-mp-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:44px}
.lb-mp-list>li.lb-mp-f{display:block}
.lb-mp-p{display:flex;align-items:center;gap:8px;min-width:0;font-size:15px}
.lb-mp-p span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-mp-p img{flex:none;width:24px;height:22px;object-fit:contain}
.lb .lb-mp-list .lb-mp-go{display:block;min-height:36px!important;height:auto;padding:8px 16px!important;line-height:1.2;font-size:14px!important;font-weight:600;border-radius:999px}   /* under a game's button reset too (Brand match) */
.lb-mp-done{font-size:13px;opacity:.85}
.lb-mp-f .lb-form{padding-top:2px;border-top:0}
.lb.lb-light .lb-mp{border-top-color:rgba(20,20,22,.1)}
.lb{align-content:start}   /* a shorter board beside a longer one keeps its list under its title (31 Oct 2026) */
