.soc-fab{position:fixed;right:16px;bottom:16px;z-index:2147483100;min-height:48px;padding:0 22px;border:0;border-radius:24px;background:var(--gold);color:var(--on-gold);
  font:700 17px/1 var(--display);cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.45);display:flex;align-items:center;gap:10px}
.soc-fab:hover{background:#ffe07a}
.soc-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#c5281c;color:#fff;font:700 13px/1 var(--body)}
.soc-drawer{position:fixed;z-index:2147483101;right:0;top:0;bottom:0;width:min(400px,100vw);display:flex;flex-direction:column;background:var(--bar);
  border-left:1px solid var(--rule);box-shadow:-8px 0 30px rgba(0,0,0,.4)}
.soc-drawer[hidden]{display:none}
.soc-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--rule);font:700 20px var(--display)}
.soc-x{width:44px;height:44px;border:0;border-radius:22px;background:var(--panel);font-size:26px;line-height:1;cursor:pointer}
.soc-tabs{display:flex;gap:6px;padding:10px 12px 0}
.soc-tabs button{flex:1;min-height:44px;border:0;border-radius:12px 12px 0 0;background:var(--panel);font:600 15px var(--body);cursor:pointer}
.soc-tabs [aria-selected="true"]{background:var(--gold);color:var(--on-gold)}
.soc-note{margin:0;padding:0 16px;min-height:22px;color:var(--gold);font-size:15px}
.soc-body{flex:1;overflow-y:auto;padding:4px 16px 20px;display:flex;flex-direction:column;gap:10px}
.soc-body h3{margin:12px 0 0;font:700 15px var(--display);color:var(--muted);letter-spacing:.06em;text-transform:uppercase}
.soc-body input[type=text],.soc-body input[type=password],.soc-body select{min-height:44px;width:100%;padding:0 14px;border:2px solid transparent;border-radius:12px;background:var(--panel);font-size:16px}
.soc-body input:focus,.soc-body select:focus{outline:none;border-color:var(--gold)}
.soc-body input::placeholder{color:var(--muted)}
.soc-body button{min-height:44px;padding:0 14px;border:0;border-radius:12px;background:var(--panel);font:600 15px var(--body);cursor:pointer}
.soc-body button:hover{background:var(--panel-hi)}
.soc-body .soc-primary{background:var(--gold);color:var(--on-gold);font-family:var(--display);font-weight:700}
.soc-body .soc-primary:hover{background:#ffe07a}
.soc-body .soc-quiet{background:none;color:var(--muted);text-decoration:underline;padding:0 8px}
.soc-body .soc-danger{background:#c5281c}
.soc-form,.soc-add,.soc-send{display:flex;gap:8px}
.soc-form{flex-direction:column}
.soc-row{display:flex;gap:8px;flex-wrap:wrap}
.soc-row>*{flex:1 1 140px}
.soc-item{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.soc-name{flex:1;min-width:120px;font-weight:600;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis}
.soc-name small,.soc-sub{color:var(--muted);font-weight:400;font-size:14px;margin:0}
.soc-dot{width:12px;height:12px;border-radius:50%;border:2px solid var(--muted);flex:none}
.soc-dot.on{background:#4fd18b;border-color:#4fd18b}
.soc-chat{display:flex;align-items:center;gap:10px;width:100%;text-align:left}
.soc-check{display:flex;align-items:center;gap:10px;min-height:44px}
.soc-check input{width:22px;height:22px;min-height:0}
.soc-acct{margin-top:18px;border-top:1px solid var(--rule);padding-top:12px}
.soc-acct summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.soc-acct form,.soc-acct>button{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.soc-thread-head{display:flex;align-items:center;gap:8px}
.soc-thread-head strong{flex:1;font-family:var(--display)}
.soc-msgs{flex:1;min-height:180px;max-height:var(--chat-h,50vh);font-size:var(--chat-size,14px);overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:8px;background:var(--bg);border-radius:12px}
.soc-msg{align-self:flex-start;max-width:85%;padding:8px 12px;border-radius:14px;background:var(--panel);display:flex;flex-direction:column;overflow-wrap:anywhere}
.soc-msg.mine{align-self:flex-end;background:var(--panel-hi)}
.soc-msg small{color:var(--muted);font-size:12px}
.soc-sys{margin:0;text-align:center;color:var(--muted);font-size:14px}
.soc-party{padding:12px;border-radius:12px;background:var(--panel)}
.soc-party p{margin:4px 0 0}
@media(max-width:560px){.soc-fab{right:12px;bottom:12px}}
@media(prefers-reduced-motion:no-preference){.soc-drawer{animation:soc-in .15s ease-out}@keyframes soc-in{from{transform:translateX(30px);opacity:0}}}
.soc-badge[hidden]{display:none}

.soc-ranks .rank-card{background:var(--soc-card,#17365f);border-radius:12px;padding:12px;margin-bottom:10px;text-align:center}
.rank-tier{font-size:24px;font-weight:800}.rank-score{font-size:16px;margin:2px 0 8px}
.rank-bar{height:8px;border-radius:4px;background:#0b1d36;overflow:hidden;margin-bottom:6px}.rank-bar i{display:block;height:100%;background:#ffd23f}
.rank-list{list-style:none;margin:0;padding:0}.rank-list li{display:flex;gap:8px;padding:5px 6px;border-bottom:1px solid #2d4f7e}
.rank-list li span{flex:1;overflow:hidden;text-overflow:ellipsis}.rank-list li em{opacity:.7;font-style:normal;font-size:12px}.rank-list li.me{background:#17365f;border-radius:6px}

.soc-me{background:var(--soc-card,#17365f);border-radius:10px;padding:8px 10px;margin-bottom:10px}
.soc-mename{display:flex;gap:8px;align-items:center}.soc-mename b{flex:1;overflow:hidden;text-overflow:ellipsis}

.soc-toasts{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:60;display:flex;flex-direction:column;gap:8px;width:min(92vw,420px)}
.soc-toast{display:flex;gap:8px;align-items:center;background:#17365f;color:#fff;border:2px solid #ffd23f;border-radius:12px;padding:10px 12px;box-shadow:0 6px 20px rgba(0,0,0,.4)}
.soc-toast span{flex:1}

.tile .who{position:absolute;left:8px;right:8px;top:8px;padding:3px 8px;border-radius:10px;background:var(--gold,#ffd23f);color:var(--on-gold,#1b1b1b);font:700 12px/1.3 var(--display,inherit);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shelf>h2 .quick{margin-left:auto;font:700 15px var(--body);padding:8px 18px;border-radius:999px;border:0;background:var(--gold);color:var(--on-gold);cursor:pointer;align-self:center}
.shelf>h2 .quick:hover{filter:brightness(1.08)}
.shelf>h2 .quick:focus-visible,#find-match:focus-visible{outline:3px solid #fff;outline-offset:2px}
#find-match{font:inherit;padding:8px 16px;border-radius:8px;border:0;background:var(--gold);color:#0b1d36;font-weight:700;cursor:pointer}
.soc-item small{display:block;color:var(--muted,#9bb);font-size:12px}
.soc-row label{display:flex;gap:6px;align-items:center}

.soc-coins{position:fixed;right:16px;bottom:72px;z-index:2147483100;min-height:34px;padding:0 14px;border:0;border-radius:17px;background:var(--panel);color:#ffd23f;font:700 15px var(--display);cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.4)}
.soc-coins:hover{background:var(--panel-hi)}.soc-coins[hidden]{display:none}
.nm-b{font-style:normal}.rainbow{background:linear-gradient(90deg,#ff5a5a,#ffb703,#4fd18b,#38bdf8,#a78bfa);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}
.wal-card{background:var(--soc-card,#17365f);border-radius:12px;padding:12px;text-align:center}.wal-n{font:800 32px var(--display);color:#ffd23f}
.shop-item{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--rule)}
.shop-t{display:flex;flex-direction:column;gap:2px;min-width:0}.shop-t small{color:var(--muted);font-size:13px;line-height:1.3}
.shop-item button{flex:none;font-size:13px}
.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.shop-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;font-weight:700}.shop-card small{color:var(--muted);font-weight:400;font-size:12px}
.shop-card.worn{outline:2px solid var(--gold)}.shop-card:disabled{opacity:.5}
.wal-hist{list-style:none;margin:0;padding:0;font-size:14px}.wal-hist li{display:flex;justify-content:space-between;padding:3px 0;border-bottom:1px solid var(--rule)}
.wal-hist .pos{color:#4fd18b}.wal-hist .neg{color:#ff8f8f}
@media(max-width:560px){.soc-coins{right:12px;bottom:68px}}

/* everything in the drawer is readable: light text on the dark panels, never the browser's default black */
.soc-drawer,.soc-drawer *{color-scheme:dark}
.soc-drawer button,.soc-drawer input,.soc-drawer select,.soc-drawer textarea{color:var(--text);font-family:var(--body);font-size:16px}
.soc-drawer input,.soc-drawer select{caret-color:var(--gold);-webkit-text-fill-color:var(--text)}
.soc-drawer input::placeholder{color:#c9d6e8;opacity:1;-webkit-text-fill-color:#c9d6e8}
.soc-drawer option{background:#10294a;color:#fff}
.soc-drawer .soc-primary,.soc-drawer .soc-tabs [aria-selected="true"],.soc-toast .soc-primary{color:var(--on-gold);-webkit-text-fill-color:var(--on-gold)}
.soc-drawer .soc-danger{color:#fff}
.soc-drawer .soc-quiet{color:#d6e2f2}
.soc-drawer input:focus,.soc-drawer select:focus{outline:3px solid var(--gold);outline-offset:1px;background:#1f4676}
.soc-drawer input[type=checkbox]{accent-color:var(--gold);-webkit-text-fill-color:initial}
.soc-sub,.soc-name small,.soc-msg small,.soc-sys,.sub{color:#c9d6e8}
.soc-body h3{color:#c9d6e8}
.soc-msg{font-size:16px}.soc-name{font-size:16px}
.soc-toast{color:var(--text)}.soc-toast button{color:var(--text)}
.rank-list li b.neg{color:#ff8f8f}

.soc-sub a{text-decoration:underline;text-underline-offset:3px}
.soc-sug{display:grid;gap:4px;margin:0 0 10px}.soc-sug .soc-item{padding:6px 8px}.soc-gift input{width:90px;min-height:36px}

/* chat under a party game */
.game-chat{max-width:960px;margin:12px auto 0;padding:10px 12px;background:var(--panel);border:1px solid var(--rule);border-radius:var(--r)}
.game-chat h2{font:700 15px var(--display);margin:0 0 6px;color:var(--gold)}
.game-chat .gc-msgs{height:var(--gchat-h,120px);overflow-y:auto;display:flex;flex-direction:column;gap:4px;font-size:var(--chat-size,14px);padding:4px;background:var(--bar);border-radius:8px}
.game-chat .gc-msgs .soc-msg{display:flex;gap:6px;align-items:baseline;color:var(--text)}
.game-chat .gc-msgs .soc-msg small{color:var(--muted);font-size:12px;flex:none}
.game-chat .gc-msgs .soc-msg.mine small{color:var(--gold)}
.game-chat .gc-msgs .soc-sys{margin:0;color:var(--muted);font-size:13px;font-style:italic}
.game-chat .gc-send{display:flex;gap:8px;margin-top:8px}
.game-chat .gc-send input{flex:1;min-width:0;color:var(--text);background:var(--bg);border:1px solid var(--rule);border-radius:10px;padding:8px 10px}
.game-chat .gc-send input::placeholder{color:var(--muted);opacity:1}
.game-chat .gc-send button{background:var(--gold);color:var(--on-gold);border:0;border-radius:10px;padding:8px 16px;font-weight:700;cursor:pointer}
.game-chat .gc-note{margin:4px 0 0;color:var(--muted);font-size:13px;min-height:1.1em}
.soc-check{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:6px}
.soc-acct select{margin-top:6px;width:100%}
.bm-card{position:fixed;left:16px;bottom:16px;z-index:2147483099;width:min(340px,calc(100vw - 32px));padding:14px 16px;border:1px solid var(--rule);border-radius:var(--r);background:var(--bar);color:var(--text);box-shadow:0 8px 28px rgba(0,0,0,.5)}
.bm-t{display:block;font:700 18px var(--display)}
.bm-p{margin:6px 0 10px;font:500 15px/1.4 var(--body);color:var(--muted)}
.bm-row{display:flex;flex-wrap:wrap;gap:8px}
.bm-b{min-height:44px;padding:0 14px;border:1px solid var(--rule);border-radius:10px;background:var(--panel);color:var(--text);font:600 14px var(--body);cursor:pointer}
.bm-b:hover{background:var(--panel-hi)}
.bm-main{background:var(--gold);color:var(--on-gold);border-color:var(--gold)}
.bm-main:hover{background:#ffe07a}
.bm-quiet{background:transparent;color:var(--muted)}
@media (max-width:520px){.bm-card{bottom:80px}}

.quest{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--rule)}.quest-t{display:flex;flex-direction:column;gap:2px}.quest-t small{color:var(--soc-dim,#b6c6dc)}.quest-bar{grid-column:1/-1;height:6px;border-radius:3px;background:rgba(255,255,255,.14);overflow:hidden;order:3}.quest-bar i{display:block;height:100%;background:#4be37a}.quest.done{opacity:.55}.quest.bonus{border-bottom:0}.quest button{font-size:13px}
/* Report a bug (social.js): a quiet button under the game, a small tab in full screen, and a text box */
.bar .bug-btn{background:transparent;color:var(--text);box-shadow:inset 0 0 0 2px var(--rule)}
.bar .bug-btn:hover{background:var(--panel)}
.fs-bug{display:none;position:absolute;bottom:10px;right:10px;z-index:5;min-height:36px;padding:0 14px;border:0;border-radius:18px;background:rgba(5,14,28,.8);color:#fff;font:700 14px var(--display);cursor:pointer;opacity:.55}
.fs-bug:hover,.fs-bug:focus-visible{opacity:1}
.screen:fullscreen .fs-bug{display:block;bottom:6px;right:6px;min-height:30px;padding:0 12px;font-size:13px;opacity:.4}
.screen:fullscreen .fs-bug:hover,.screen:fullscreen .fs-bug:focus-visible{opacity:1}
.bug-modal{position:fixed;inset:0;z-index:2147483200;display:grid;place-items:center;padding:16px;background:rgba(3,9,20,.7)}
.bug-card{width:min(480px,100%);display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:16px;background:var(--bar);border:1px solid var(--rule);box-shadow:0 12px 40px rgba(0,0,0,.55);color:var(--text)}
.bug-card h2{margin:0;font:700 22px var(--display)}
.bug-lab{font:600 15px var(--body);color:var(--muted)}
.bug-card textarea{width:100%;min-height:140px;padding:12px 14px;border:2px solid transparent;border-radius:12px;background:var(--panel);color:var(--text);font:400 16px/1.4 var(--body);resize:vertical}
.bug-card textarea:focus{outline:none;border-color:var(--gold)}
.bug-fine{margin:0;color:var(--muted);font-size:14px}
.bug-msg{margin:0;min-height:20px;color:var(--gold);font-size:15px}
.bug-row{display:flex;gap:8px;justify-content:flex-end}
.bug-row button{min-height:44px;padding:0 20px;border:0;border-radius:22px;font:700 16px var(--display);cursor:pointer}
.bug-cancel{background:var(--panel);color:var(--text)}
.bug-send{background:var(--gold);color:var(--on-gold)}
.bug-send:disabled{opacity:.5;cursor:default}

.wel-modal{position:fixed;inset:0;z-index:2147483100;display:grid;place-items:center;padding:16px;background:rgba(3,9,20,.7)}
.wel-card{position:relative;width:min(440px,100%);display:flex;flex-direction:column;gap:12px;padding:22px 20px 18px;border-radius:16px;background:var(--bar);border:1px solid var(--rule);box-shadow:0 12px 40px rgba(0,0,0,.55);color:var(--text)}
.wel-card h2{margin:0;padding-right:36px;font:700 24px var(--display)}
.wel-card p{margin:0;font:400 16px/1.45 var(--body);color:var(--muted)}
.wel-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;border-radius:22px;background:transparent;color:var(--text);font:400 26px/1 var(--body);cursor:pointer}
.wel-x:hover{background:var(--panel)}
.wel-row{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:4px}
.wel-row button{min-height:44px;padding:0 20px;border:0;border-radius:22px;font:700 16px var(--display);cursor:pointer}
.wel-later{background:var(--panel);color:var(--text)}
.wel-main{background:var(--gold);color:var(--on-gold)}
.wel-modal button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
/* the Lobby tile on a game with public lobbies (car games): a square button with the number of players in the lobby */
.bar .lobby-tile{width:116px;height:116px;min-height:0;padding:8px;border-radius:14px;flex-direction:column;justify-content:center;gap:2px;text-align:center;line-height:1.1;flex:none}
.lobby-tile .lt-num{font:800 38px/1 var(--display)}
.lobby-tile .lt-sub{font:600 12px/1.15 system-ui,sans-serif;opacity:.85}
.lobby-tile .lt-go{margin-top:4px;font:800 13px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.04em}
.lobby-tile.here{background:#3fb37f;color:#06210f}
.lobby-tile:disabled{opacity:.7;cursor:wait}
.lobby-tile:focus-visible{outline:3px solid #fff;outline-offset:2px}
.mast-links .mast-bug{display:flex;align-items:center;min-height:40px;padding:0 16px;border:0;border-radius:20px;font:600 16px/1 var(--body);background:transparent;color:var(--text);box-shadow:inset 0 0 0 2px var(--rule);cursor:pointer}
.mast-links .mast-bug:hover{background:var(--panel)}
.mast-links .mast-bug[hidden]{display:none}
body:has(#mastBug:not([hidden])) #fnd-bug-btn{display:none!important}
@media(max-width:560px){.mast-links:has(.mast-bug:not([hidden])){flex-wrap:wrap}.mast-links .mast-bug{padding:0 14px;flex:0 1 auto}}

/* sign-up, log-in, recovery and friends additions (2026-11-15) */
.soc-auth-tabs{display:flex;gap:6px}
.soc-auth-tabs button{flex:1;min-height:48px;border-radius:12px;font:700 16px var(--display)}
.soc-auth-tabs [aria-selected="true"]{background:var(--gold);color:var(--on-gold);-webkit-text-fill-color:var(--on-gold)}
.soc-lab{display:block;margin:8px 0 2px;font:600 14px var(--body);color:#c9d6e8}
.soc-pw{display:flex;gap:6px;align-items:stretch}
.soc-pw input{flex:1;min-width:0}
.soc-body .soc-pw .soc-showpw{flex:none;min-width:64px;padding:0 12px}
.soc-rules{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;font-size:14px;color:#c9d6e8}
.soc-rules li.ok{color:#7be3a8;font-weight:600}
.soc-hint{margin:2px 0 0;font-size:14px;min-height:20px;color:#c9d6e8}
.soc-hint.ok{color:#7be3a8}.soc-hint.bad{color:#ffb4a8}
.soc-chips{display:flex;flex-wrap:wrap;gap:8px}
.soc-body .soc-chip{min-height:44px;border-radius:22px;padding:0 16px;background:var(--panel-hi);border:1px solid var(--gold);font-weight:700}
.soc-err{margin:4px 0;padding:10px 12px;border-radius:10px;background:#5a1d17;color:#ffd9d3;font-size:15px}
.soc-err[hidden]{display:none}
.soc-body .soc-inline{min-height:40px;padding:0 4px;display:inline;text-decoration:underline}
.soc-recover{display:flex;flex-direction:column;gap:12px}
.soc-code{padding:18px 12px;border-radius:14px;background:var(--bg);border:2px solid var(--gold);text-align:center;font:800 clamp(24px,7vw,34px)/1.25 var(--display);letter-spacing:.04em;overflow-wrap:anywhere;user-select:all}
.soc-suggest{display:flex;flex-direction:column;gap:6px}
.soc-link input{width:100%}
.soc-bycode form{display:flex;flex-direction:row;gap:8px}
.soc-bycode input{flex:1;min-width:0}
@media(max-width:380px){.soc-rules{grid-template-columns:1fr}}
.soc-link .soc-row>input{flex:1 1 100%}
.soc-linktxt{margin:4px 0;padding:10px 12px;border-radius:10px;background:var(--bg);font:700 15px/1.35 var(--display);text-align:center;overflow-wrap:anywhere;user-select:all}

/* reset notice, out of coins, forgot-password chooser (2026-11-15) */
.soc-way{min-height:52px;text-align:left;padding:0 16px}
.wel-card .soc-code{margin:2px 0}
.wel-card .soc-big,.wel-card .soc-big2{min-height:56px;font:800 20px var(--display);border:0;border-radius:28px;cursor:pointer;padding:0 22px}
.wel-card .soc-big2{background:var(--gold);color:var(--on-gold)}
.soc-rescue{display:flex;flex-direction:column;gap:8px}
.soc-earn{display:grid;gap:8px;max-height:50vh;overflow-y:auto}
.soc-earn-card{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:12px;background:var(--panel);color:var(--text);text-decoration:none;min-height:48px}
.soc-earn-card:hover,.soc-earn-card:focus-visible{background:var(--panel-hi);outline:3px solid var(--gold)}
.soc-earn-card strong{font:700 17px var(--display)}.soc-earn-card span{font-size:14px;color:#c9d6e8}
.wel-x{position:absolute;right:10px;top:10px;width:44px;height:44px;border:0;border-radius:22px;background:var(--panel);color:var(--text);font-size:24px;cursor:pointer}
button.soc-earn-card{border:0;text-align:left;width:100%;font:inherit;cursor:pointer}
.soc-news{list-style:none;margin:6px 0 10px;padding:0;display:grid;gap:10px;max-height:min(52vh,420px);overflow:auto}
.soc-news li{display:flex;flex-direction:column;gap:3px;background:var(--panel);border-radius:12px;padding:10px 12px}
.soc-news li strong{font:700 16px var(--display)}.soc-news li span{font-size:14px;color:#dbe6f4;line-height:1.45}
.soc-news li .soc-news-tag{align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--on-gold,#0b1d36);background:var(--gold);border-radius:999px;padding:1px 8px}
a.soc-news-all{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* "someone joined a lobby" banner (social.js lobbyBanner): top centre just under the logo strip, small */
.soc-lobbybox{position:fixed;left:50%;top:52px;transform:translateX(-50%);z-index:60;width:min(92vw,460px);display:flex;flex-direction:column;gap:8px;pointer-events:none}
.soc-lobbybox .soc-toast{pointer-events:auto;padding:8px 10px;font-size:14px;line-height:1.3}
.soc-lobby-banner button{min-height:32px;padding:0 14px;border:0;border-radius:16px;font:700 14px/1 var(--body,system-ui);cursor:pointer;flex:none;background:var(--panel-hi,#26467a)}
.soc-lobby-banner button.soc-primary{background:var(--gold,#ffd23f)}
.soc-lobby-banner button[aria-label=Dismiss]{background:transparent;padding:0 8px;font-size:20px}
body:has(#screen) .soc-lobbybox{top:34px}
/* Full-screen sign-in for signed-out visitors (2026-11-18): the drawer itself, full screen, with a heading, what an account is for, the
   usual create / log-in forms (their buttons right under the boxes) and "Play as guest" at the bottom. The lobby banner stays on top. */
html.soc-gate-on,html.soc-gate-on body{overflow:hidden}
.soc-drawer.soc-gate{left:0;right:0;top:0;bottom:0;width:auto;z-index:2147483150;align-items:center;overflow-y:auto;background:var(--bg,#0b1d36);animation:none}
.soc-drawer.soc-gate .soc-head,.soc-drawer.soc-gate .soc-tabs,.soc-drawer.soc-gate .soc-note:empty{display:none}
.soc-drawer.soc-gate .soc-body{width:min(460px,100%);padding:32px 18px 40px;margin:0 auto;flex:none;overflow:visible}
.soc-gate-top h2{font:800 clamp(24px,5vw,32px)/1.15 var(--display,inherit);margin:0 0 10px;color:var(--gold,#ffd23f)}
.soc-gate-top p{margin:0}
.soc-gate-list{margin:6px 0 20px;padding-left:20px;line-height:1.55}
.soc-gate-foot{margin-top:28px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2);text-align:center;display:grid;gap:12px;justify-items:center}
.soc-gate-foot .soc-sub{margin:0}
.soc-drawer .soc-gate-guest{min-height:48px;padding:0 30px;border:2px solid var(--gold,#ffd23f);border-radius:24px;background:transparent;color:var(--gold,#ffd23f);-webkit-text-fill-color:var(--gold,#ffd23f);font:700 17px var(--display,inherit);cursor:pointer}
.soc-drawer .soc-gate-guest:disabled{opacity:.6;cursor:default}
html.soc-gate-on .soc-lobbybox{z-index:2147483160}
.soc-drawer.soc-gate .soc-gate-foot{position:sticky;bottom:0;background:var(--bg,#0b1d36);margin-top:18px;padding:14px 0 16px;box-shadow:0 -12px 18px var(--bg,#0b1d36)}
.soc-auth-tabs [aria-selected="true"]:hover{background:#ffe07a}
