/* Black Deck page (blackdeck/index.php). Single dark look; desktop first, phones only need to work.
   The game's own styles (.lg-*) come from game/lg-game.js. */
:root{--bg:#0b0d15;--panel:#151927;--line:#2a3045;--fg:#d9dcea;--muted:#8b91ab;--accent:#a9b6ff;--ink:#ffd9a0;
  --ui:'Alegreya Sans',system-ui,-apple-system,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,Meiryo,sans-serif;color-scheme:dark;
  --stage-w:min(100%,calc((100vh - 118px) * 1376 / 768));--stage-play:min(100%,calc((100vh - 24px) * 1376 / 768))}
@supports (height:100dvh){:root{--stage-w:min(100%,calc((100dvh - 118px) * 1376 / 768));--stage-play:min(100%,calc((100dvh - 24px) * 1376 / 768))}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{min-height:100%;margin:0}
body{background:var(--bg);color:var(--fg);font:16px/1.4 var(--ui);display:flex;flex-direction:column;align-items:center;gap:10px;
  padding:10px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px))}
button{font:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Fonts and languages (en es pt fr de it tr ja ru). Coverage of the faces in use: IM Fell English (+ SC), the game's pen
   and ink, has Latin only: no Turkish g-breve / s-cedilla / dotted I, no Cyrillic. Pirata One and Cinzel have Latin +
   Latin-Ext (Turkish yes, Cyrillic no). Alegreya Sans (page UI) has Latin-Ext and Cyrillic. None has Japanese.
   Fallbacks: EB Garamond (Latin-Ext + Cyrillic, an old-style serif close to IM Fell; Google serves it in unicode-range
   subsets, so a page only fetches the subsets its text needs), then Georgia, then Japanese: Noto Serif JP (a webfont,
   linked by index.php only for a ja page; also served in unicode-range slices, so only the glyphs in use download),
   then the system Mincho fonts (absent on a default Windows install). For tr and ru the whole pen / ink text switches to EB Garamond, so letters never mix faces inside a word;
   for ja the Mincho comes right after IM Fell. Display text keeps Pirata One first: the "Black Deck" brand stays
   gothic, and Cyrillic / Japanese words in it fall back whole. The game sets these variables on .lg-overlay;
   .stage .lg-overlay wins over it. */
:root{--jp-serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",YuMincho,"MS PMincho";
  --jp-sans:"Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,"Noto Sans JP",Meiryo}
.stage .lg-overlay,.gc-pop,.bd-toast-wrap,.bd-social{
  --lg-f-pen:'IM Fell English','EB Garamond','IM Fell English SC',Georgia,var(--jp-serif),serif;
  --lg-f-ink:'IM Fell English SC','IM Fell English','EB Garamond',Georgia,var(--jp-serif),serif;
  --lg-f-display:'Pirata One','EB Garamond',Georgia,var(--jp-serif),serif;
  --lg-f-num:'Cinzel','EB Garamond',Georgia,'Times New Roman',var(--jp-serif),serif;
  --lg-f-ui:'Alegreya Sans','Trebuchet MS',system-ui,var(--jp-sans),sans-serif;
  --lg-f-card:Georgia,"Palatino Linotype","Book Antiqua",Palatino,"Times New Roman",var(--jp-serif),serif}
.stage .lg-overlay:lang(tr),.gc-pop:lang(tr),.bd-toast-wrap:lang(tr),.bd-social:lang(tr),.stage .lg-overlay:lang(ru),.gc-pop:lang(ru),.bd-toast-wrap:lang(ru),.bd-social:lang(ru){
  --lg-f-pen:'EB Garamond',Georgia,serif;--lg-f-ink:'EB Garamond',Georgia,serif}
.stage .lg-overlay:lang(ja),.gc-pop:lang(ja),.bd-toast-wrap:lang(ja),.bd-social:lang(ja){
  --lg-f-pen:'IM Fell English',var(--jp-serif),serif;--lg-f-ink:'IM Fell English SC',var(--jp-serif),serif}
/* Japanese has no italic: ja text stays upright and the browser never fakes a slant (font-synthesis). Lines break
   between phrases, not inside words (word-break:auto-phrase, inherited; nothing here or in the game sets word-break or
   line-break); the two overflow-wrap:anywhere rules (card names, toast) step back to break-word, so they only break
   a phrase that cannot fit at all. */
html:lang(ja){word-break:auto-phrase;font-synthesis:none}
.stage .lg-overlay:lang(ja) *,.gc-pop:lang(ja) *,.bd-toast-wrap:lang(ja) *,.bd-social:lang(ja) *{font-style:normal;font-synthesis:none}
.stage .lg-overlay:lang(ja) .lg-name,.bd-toast-wrap:lang(ja) .bd-toast-s{overflow-wrap:break-word}
/* tr, ru: EB Garamond is taller than IM Fell (ascent + descent about 1.3em), so the scoreboard head and the end-of-game
   stats get line boxes it fits in (their line-height 1 / 1.2 let it spill 2-3px below the box). */
.gc-sb-head:is(:lang(tr),:lang(ru)) :is(.gc-sb-k,.gc-sb-t,.gc-sb-run,.gc-sb-run b),
.stage .lg-overlay:is(:lang(tr),:lang(ru)) .lg-e-stats :is(dt,dd){line-height:1.3}

/* top bar: back link, title, leaderboard, the bell (signed in), settings (sound, IMs), language, who is signed in (signed out: Sign in); Play is
   in the scene (the title screen, below) */
.gc-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;width:100%;max-width:var(--stage-w);min-height:46px;transition:max-width .45s ease}
.gc-home{color:var(--muted);text-decoration:none;font-size:14px;white-space:nowrap}
.gc-home:hover{color:var(--fg)}
.gc-title{margin:0;font:400 28px/1 'Pirata One',Georgia,serif;color:var(--ink);letter-spacing:.02em;white-space:nowrap}
.gc-spacer{flex:1}
.gc-btn{font:600 14px/1 var(--ui);color:var(--fg);background:var(--line);border:1px solid #3a4260;border-radius:999px;padding:8px 14px;cursor:pointer;white-space:nowrap}
.gc-btn:hover{border-color:var(--muted)}
.gc-btn:disabled{opacity:.6;cursor:default}
.gc-who{display:inline-flex;align-items:center;gap:8px;min-height:32px}
.gc-me{color:var(--muted);font-size:14px}
.gc-me b{color:var(--fg);font-weight:600}
.gc-link{background:none;border:0;padding:0;color:var(--accent);text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-size:14px}
.gc-lang{position:relative}
.gc-lang-btn{display:inline-flex;align-items:center;gap:7px}
.gc-flag{display:block;flex:none;width:18px;height:12px;box-shadow:0 0 0 1px rgba(128,128,128,.6)}   /* hairline: white flags still show */
.gc-lang-list{position:absolute;right:0;top:calc(100% + 6px);z-index:1200;min-width:170px;margin:0;padding:5px;list-style:none;
  background:#151023;border:1px solid rgba(255,200,140,.35);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.6)}
.gc-lang-opt{display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:6px;cursor:pointer;font:500 14px/1.2 var(--ui);color:var(--fg);white-space:nowrap}
.gc-lang-opt:hover,.gc-lang-opt:focus{background:rgba(255,177,92,.16);outline:none}
.gc-lang-opt:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.gc-lang-opt[aria-selected="true"]{color:#ffe2b0;font-weight:700}
/* the settings panel (host.js setMenu): a round gear button (as tall as the others) opens it under itself, the same
   dark panel as the language list; the two sound switches are rows with a small track that shows aria-pressed */
.gc-set{position:relative}
.gc-set-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0}
.gc-set-btn svg{display:block;width:16px;height:16px;transition:transform .3s ease}
.gc-set-btn[aria-expanded="true"]{border-color:var(--muted)}
.gc-set-btn[aria-expanded="true"] svg{transform:rotate(45deg)}
.gc-set-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:1200;display:flex;flex-direction:column;gap:2px;min-width:200px;padding:5px;
  background:#151023;border:1px solid rgba(255,200,140,.35);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.6)}
.gc-set-panel:focus{outline:none}
.gc-set-opt{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:8px 10px;border:0;border-radius:6px;background:none;
  cursor:pointer;font:500 14px/1.2 var(--ui);color:var(--fg);text-align:left;white-space:nowrap}
.gc-set-opt:hover,.gc-set-opt:focus{background:rgba(255,177,92,.16);outline:none}
.gc-set-opt:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.gc-set-opt::after{content:"";flex:none;width:26px;height:14px;border-radius:7px;background:radial-gradient(circle at 7px 50%,var(--muted) 4px,transparent 4.5px) #2a3045;
  box-shadow:inset 0 0 0 1px #3a4260}
.gc-set-opt[aria-pressed="true"]::after{background:radial-gradient(circle at 19px 50%,#ffe2b0 4px,transparent 4.5px) #e8791f;box-shadow:none}
.gc-set-opt[hidden]{display:none}                                  /* the IM switch: signed in only */
/* the bell (host.js, signed in only): the gear's round button and dark panel (setMenu), beside it; a red dot on the
   button's corner holds the unread count; the panel lists who passed the player and on which boards, unread ones lit */
.gc-bell-btn{position:relative}
.gc-bell-btn[aria-expanded="true"] svg{transform:none}
.gc-bell-dot{position:absolute;top:-5px;right:-5px;box-sizing:border-box;min-width:16px;height:16px;padding:0 4px;border-radius:8px;
  background:#e5352b;color:#fff;font:700 10px/16px var(--ui);text-align:center;box-shadow:0 0 0 2px var(--bg);pointer-events:none}
.gc-bell-dot[hidden]{display:none}
.gc-bell-panel{box-sizing:border-box;width:300px;max-width:calc(100vw - 16px)}
.gc-bell-list{margin:0;padding:0;list-style:none;max-height:min(360px,60vh);overflow-y:auto;display:flex;flex-direction:column;gap:2px}
.gc-bell-item{padding:8px 10px;border-radius:6px;font:400 14px/1.35 var(--ui);color:var(--fg)}
.gc-bell-item b{font-weight:600;color:#ffe2b0}
.gc-bell-new{background:rgba(255,177,92,.12)}
.gc-bell-ago{color:var(--muted);font-size:12px;white-space:nowrap}
/* under the line, the boards of that run (host.js drawBell): "Today #3 → #4 · All time #8 → #9", each kept whole */
.gc-bell-ranks{display:block;margin-top:2px;font-size:13px}
.gc-bell-rank{white-space:nowrap}
.gc-bell-empty{margin:0;padding:8px 10px;color:var(--muted);font:400 14px/1.4 var(--ui)}
body.cards-on .gc-bar{display:none}

/* the scene: 1376x768, as large as the window allows; the game (ledger layout) mounts inside it */
.stage{position:relative;flex:none;width:100%;max-width:var(--stage-w);aspect-ratio:1376/768;border-radius:6px;overflow:hidden;
  background:var(--panel) url("scene/backdrop.webp") 50% 50%/100% 100% no-repeat;transition:max-width .45s ease}
/* The game's layout in the stage, in one place: three columns, the board on the left, the middle column, the ledger
   page on the right. They share one top line and one bottom line (the board and the page are both 86 tall, centred:
   --bd-line from the top and from the bottom) and four equal gutters from edge to edge (--lg-gutter). The deck and the
   Lightning slot head the middle column, level with the board's top row; the live feed (and later the chat, host.js
   .bd-col) fills it from the board's second row (--bd-row: one card row and its gap) down to the bottom line.
   lg-game.js reads --lg-gutter; the rest are the game's own sums (.lg-board, .lg-sheet, --lg-pw), for everything here
   that sits beside the game: the Leaderboard, the toast, the middle column, the banner. 1cqh = the game's --u (one
   hundredth of the stage height; the stage is always 1376x768, so nothing squeezes). The middle column runs from
   --bd-col-l (from the left edge) to --bd-col-r (from the right edge); --bd-pw is the deck's width. Narrow screens
   (the game covers the screen there) have their own layout. */
.stage{--lg-gutter:5cqh;--bd-line:7cqh;--bd-gap:1.4cqh;
  --bd-bw:calc((86cqh - 2 * var(--bd-gap)) / 1.5 + 2 * var(--bd-gap));--bd-sw:calc(86cqh * 654 / 977);
  --bd-row:calc((86cqh - 2 * var(--bd-gap)) / 3 + var(--bd-gap));--bd-pw:calc((var(--bd-row) - 2 * var(--bd-gap)) / 3);
  --bd-col-l:calc(var(--lg-gutter) * 2 + var(--bd-bw));--bd-col-r:calc(var(--lg-gutter) * 2 + var(--bd-sw))}
body.cards-on .stage{max-width:var(--stage-play)}
.stage canvas{display:block;width:100%;height:100%}
.stage.gc-static #c{visibility:hidden}          /* no WebGL / lost context: the still picture behind it shows */
.crowfx{position:absolute;inset:0;z-index:8;pointer-events:none}
/* the start screen: Play in the middle of the scene, over the middle column (host.js shows it once the game is
   mounted), gone while a game runs and back at game over (body.bd-over).
   Play's face is its ::after and a frosted halo its ::before (a smoked glass as the chat's, blurred harder, fading out
   at the edges), so the feed lines behind it never mix with it. No filter on Play itself: that would cut the halo's
   blur off from what lies behind it. --bd-halo-y: how far the halo reaches over and under the button; --bd-play-h:
   the button's height (26px type at 1.1 and its padding); both for its place on wide screens (below). */
.stage{--bd-halo-y:40px;--bd-play-h:48px}
.bd-tplay{position:absolute;left:50%;top:50%;z-index:7;--bd-play-y:-50%;transform:translate(-50%,var(--bd-play-y));margin:0;padding:calc(.26em + 2px) calc(1.1em + 2px) calc(.34em + 2px);
  border:0;border-color:#492813;border-radius:10px;background:none;color:#7a4320;
  font:400 26px/1.1 "Pirata One",Georgia,"Times New Roman","Noto Serif JP",serif;letter-spacing:.04em;white-space:nowrap;cursor:pointer;
  text-shadow:0 1px 0 rgba(255,255,255,.45)}
.bd-tplay::before,.bd-tplay::after{content:'';position:absolute;z-index:-1;pointer-events:none}
.bd-tplay::before{inset:calc(-1 * var(--bd-halo-y)) -76px;border-radius:50%;background:radial-gradient(closest-side,rgba(14,4,30,.42),rgba(14,4,30,.24) 60%,rgba(14,4,30,0));
  -webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  -webkit-mask:radial-gradient(closest-side,#000 60%,transparent);mask:radial-gradient(closest-side,#000 60%,transparent)}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .bd-tplay::before{background:radial-gradient(closest-side,rgba(14,4,30,.6),rgba(14,4,30,0))}
}
.bd-tplay::after{inset:0;border:2px solid;border-color:inherit;border-radius:inherit;background:linear-gradient(180deg,#f1e7d0,#cdb68c);
  box-shadow:0 8px 22px rgba(0,0,0,.55),inset 0 -3px 0 rgba(90,55,25,.25),inset 0 0 0 1px rgba(255,255,255,.35)}
.bd-tplay:hover::after{background:linear-gradient(180deg,#f6eedd,#d6c196)}
.bd-tplay:active{transform:translate(-50%,calc(var(--bd-play-y) + 1px))}
.bd-tplay:focus-visible{outline:2px solid var(--fg);outline-offset:4px}
body.cards-on:not(.bd-over) .bd-tplay{display:none}
/* wide screens, the start screen (since v1.15): Play a little lower, in a band of its own between the live feed's
   list and the chat's, so neither the button nor its halo lies over a feed line (where the newest ones come in) or a
   chat line. The feed's list ends 52.04% down the stage (.bd-col's top 7 + 29.13 = 36.13%, plus --bd-act, 35% of the
   column's 56.87%, less 4%: .bd-col / .bd-feed below); Play's top edge sits the halo's reach under it (a flatter halo
   here, 28px over and under, so the chat keeps its room), and the chat's list starts where the halo's solid part
   ends (its faint rim may touch the first line, which fades there anyway). The chat off: the feed's list keeps that
   height (the column under Play stays empty), as Play would lie over it otherwise. At game over the column is folded
   to its lower half (.bd-col-min, host.js) and Play stays in the middle, over it, as before. */
@media (min-width:861px) and (min-height:441px){
  body:not(.cards-on) .stage{--bd-halo-y:28px}
  body:not(.cards-on) .bd-tplay{top:calc(52.04% + var(--bd-halo-y));--bd-play-y:0%}
  body:not(.cards-on) .bd-feed-wrap .bd-chat{top:calc(var(--bd-act) - var(--u) * 4 + var(--bd-halo-y) + var(--bd-play-h) + 8px)}
  body:not(.cards-on) .bd-feed-wrap .bd-col.bd-col-nocmp .bd-feed{bottom:calc(100% - var(--bd-act) + var(--u) * 4)}
}
.gc-help{margin:0;max-width:var(--stage-w);color:var(--muted);font-size:14px;text-align:center}
body.cards-on .gc-help{display:none}

/* Leaderboard (top bar, host.js openBoard): the parchment board over the board and the middle column, between the
   shared top and bottom lines (the game's layout, .stage above), over the scene or over a running game (the ledger
   overlay is z-index 5 in the stage; on phones it covers the screen at 1000); the ledger page stays clear. --u is
   one hundredth of the stage height. */
.gc-pop{position:absolute;inset:0;z-index:10;container-type:size;--u:1cqh;pointer-events:none}
.gc-pop[hidden]{display:none}
.gc-pop-in{position:absolute;left:var(--lg-gutter);top:var(--bd-line);height:calc(var(--u) * 86);pointer-events:auto;
  width:calc(100cqw - var(--lg-gutter) - var(--bd-col-r));
  overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(44,26,12,.45) transparent;animation:gc-pop .35s ease both}
@keyframes gc-pop{from{opacity:0}to{opacity:1}}
@media (max-width:860px),(max-height:440px){
  .gc-pop{position:fixed;z-index:1050;container-type:normal;--u:6.4px;pointer-events:auto;overflow-y:auto;overscroll-behavior:contain;
    background:rgba(8,5,18,.95);padding:max(14px,env(safe-area-inset-top,0px)) 16px 28px}
  .gc-pop-in{position:relative;left:auto;top:auto;transform:none;width:min(100%,420px);height:auto;margin:0 auto;overflow:visible}
}

/* the board's list (host.js fillLists): one at a time under four tabs, Daily · Weekly · Monthly · All time, on
   the parchment board, centred and no wider than a list reads well. --u and the --lg-f-* fonts come from the game's
   overlay (end of a game) or from .gc-pop (Leaderboard). */
.gc-sb-lists{display:flex;flex-direction:column;align-self:center;width:min(100%,calc(var(--u) * 72));min-width:0}
/* the tabs (role tablist): the list titles in the board's ink type, the picked one dark and underlined in the mark
   colour, the others soft; they wrap on a narrow board */
.gc-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:calc(var(--u) * .4) calc(var(--u) * 1.6);
  border-bottom:max(1px,calc(var(--u) * .16)) solid var(--gl-line)}
.gc-tabs[hidden],.gc-list-panel[hidden],.gc-list-meta[hidden],.gc-list-empty[hidden]{display:none}
.gc-tab{appearance:none;margin:0 0 calc(var(--u) * -.16);padding:calc(var(--u) * .6) calc(var(--u) * .3) calc(var(--u) * .5);border:0;
  border-bottom:max(2px,calc(var(--u) * .35)) solid transparent;border-radius:0;background:none;
  font:400 calc(var(--u) * 2.3)/1.1 var(--lg-f-ink);letter-spacing:.05em;color:var(--gl-soft);cursor:pointer}
.gc-tab:hover{color:var(--gl-ink)}
.gc-tab[aria-selected="true"]{color:var(--gl-ink);border-bottom-color:var(--gl-mark);cursor:default}
.gc-tab:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:1px}
.gc-list-panel{min-width:0;border-radius:calc(var(--u) * .4)}
.gc-list-panel:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:2px}
/* under the tabs: the list's note (Second Life time, "from Oct 20", "November") and, on the Leaderboard's Today, the
   day picker */
.gc-list-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:calc(var(--u) * .5) calc(var(--u) * 1.2);
  margin:calc(var(--u) * .7) 0 calc(var(--u) * .5)}
.gc-list-note{margin:0;font:italic 400 calc(var(--u) * 1.8)/1.2 var(--lg-f-pen);color:var(--gl-soft)}
.gc-list-note:empty{display:none}
.gc-list{min-width:0}
/* each list's rows (up to 100) scroll in their own box, about ten rows high, so the board never grows; the scrollbar
   in parchment ink. My row beyond the rows shown sits under the box (.gc-list-below). */
.gc-list-scroll{max-height:calc(var(--u) * 36);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:rgba(106,74,42,.6) rgba(44,26,12,.1);border-radius:calc(var(--u) * .4)}
.gc-list-scroll::-webkit-scrollbar{width:8px}
.gc-list-scroll::-webkit-scrollbar-track{background:rgba(44,26,12,.1);border-radius:4px}
.gc-list-scroll::-webkit-scrollbar-thumb{background:rgba(106,74,42,.6);border-radius:4px}
.gc-list-scroll:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:2px}
.gc-list-below{margin-top:0}
@media (max-width:860px),(max-height:440px){.gc-list-scroll{max-height:300px}}
/* game over (wider screens): the scoreboard has only the board's height, so its list is a little shorter */
@media (min-width:861px) and (min-height:441px){.lg-scores .gc-list-scroll{max-height:calc(var(--u) * 28)}}
.gc-list-t{width:100%;border-collapse:collapse}
.gc-list-t th,.gc-list-t td{padding:calc(var(--u) * .3) calc(var(--u) * .5);border-bottom:max(1px,calc(var(--u) * .12)) dotted var(--gl-line);text-align:left;font-weight:400}
.gc-list-t .gc-list-r{width:1%;min-width:calc(var(--u) * 3.6);white-space:nowrap;font:400 calc(var(--u) * 1.75)/1.3 var(--lg-f-num);color:var(--gl-soft);font-variant-numeric:lining-nums tabular-nums}
/* ranks 1-3: a medal left of the number (host.js medal); the numbers keep to the right edge, so they line up under
   the medalled ones */
.gc-list-t td.gc-list-r{text-align:right}
.gc-medal{display:inline-block;width:calc(var(--u) * 2.1);height:calc(var(--u) * 2.7);margin-right:calc(var(--u) * .45);vertical-align:-.5em;
  filter:drop-shadow(0 max(1px,calc(var(--u) * .12)) 0 rgba(44,26,12,.35))}
.gc-list-t .gc-list-n{max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 calc(var(--u) * 2.2)/1.25 var(--lg-f-pen);color:var(--gl-ink)}
.gc-list-t .gc-list-s{width:1%;white-space:nowrap;text-align:right;font:700 calc(var(--u) * 1.9)/1.3 var(--lg-f-num);color:var(--gl-gold);font-variant-numeric:lining-nums tabular-nums}
.gc-list-t tr.gc-mine th,.gc-list-t tr.gc-mine td{background:var(--gl-mine-bg);color:var(--gl-mine-fg)}
.gc-list-t tr.gc-mine .gc-list-n{font-weight:700}
.gc-list-t tr.gc-mine td:first-child{box-shadow:inset max(2px,calc(var(--u) * .45)) 0 0 var(--gl-mark)}
.gc-list-gap td{padding:0;border-bottom:0;text-align:center;line-height:1.1;color:var(--gl-soft)}
.gc-list-empty{margin:calc(var(--u) * .8) 0;font:italic 400 calc(var(--u) * 2)/1.3 var(--lg-f-pen);color:var(--gl-soft)}
/* guests (signed out, today's boards only): a small "guest" after the name; on the Leaderboard, under the visitor's own
   guest row, a line with a small link to the name step ("To get on the scoreboard, click here"; host.js guestNudge) */
.gc-guest-tag{margin-left:calc(var(--u) * .7);font:italic 400 calc(var(--u) * 1.5)/1 var(--lg-f-pen);color:var(--gl-soft)}
.gc-list-t tr.gc-mine .gc-guest-tag{color:inherit;opacity:.75}
.gc-list-nudge td{padding:calc(var(--u) * .2) calc(var(--u) * .5) calc(var(--u) * .5);border-bottom:max(1px,calc(var(--u) * .12)) dotted var(--gl-line);text-align:right;
  font:italic 400 calc(var(--u) * 1.8)/1.2 var(--lg-f-pen);color:var(--gl-soft)}
/* the nudge's link (the Leaderboard row's and the scoreboard's, .gc-link): a button that reads as a link in the text */
.gc-list-nudge-btn,.gc-link{appearance:none;display:inline;margin:0;padding:0;border:0;border-radius:2px;background:none;color:var(--gl-mark);font:inherit;
  text-decoration:underline;text-underline-offset:.15em;cursor:pointer}
.gc-list-nudge-btn:hover,.gc-link:hover{color:#5a2004}
.gc-list-nudge-btn:focus-visible,.gc-link:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:2px}
.gc-sb-nudge{color:var(--gl-ink)}
/* the Leaderboard's day picker (beside the Today tab's note; only when there is more than today) */
.gc-sb-days{display:flex;align-items:center;justify-content:center;gap:calc(var(--u) * .8)}
.gc-sb-days:empty,.gc-sb-days[hidden]{display:none}
.gc-sb-day-sel{color-scheme:light;padding:calc(var(--u) * .4) calc(var(--u) * 1);border:max(1px,calc(var(--u) * .17)) solid rgba(44,26,12,.6);border-radius:calc(var(--u) * .7);
  background:rgba(255,251,238,.9);color:#24140a;font:400 calc(var(--u) * 2)/1.2 var(--lg-f-pen);cursor:pointer}
.gc-sb-day-sel:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:1px}

/* game over: the scoreboard in the board area (game/lg-game.js endBoard), parchment and ink like the ledger */
.gc-sb{--gl-ink:#24140a;--gl-soft:#6a4a2a;--gl-line:rgba(44,26,12,.42);--gl-gold:#6b4300;--gl-mine-bg:rgba(255,170,60,.42);--gl-mine-fg:#2a1000;--gl-mark:#8a3a08;
  box-sizing:border-box;min-height:100%;display:flex;flex-direction:column;gap:calc(var(--u) * 1.1);
  padding:calc(var(--u) * 2.2) calc(var(--u) * 3.2) calc(var(--u) * 2);color:#2c1a0c;font:400 calc(var(--u) * 2.15)/1.3 var(--lg-f-pen);
  background:radial-gradient(ellipse at 50% 30%,#f6ead0 0%,#ecdcb4 62%,#d6bc8a 100%);
  border:max(1px,calc(var(--u) * .16)) solid rgba(44,26,12,.55);border-radius:calc(var(--u) * 1.2);
  box-shadow:0 calc(var(--u) * 1.2) calc(var(--u) * 3) rgba(0,0,0,.6),inset 0 0 calc(var(--u) * 3) rgba(110,70,25,.28)}
.gc-sb-head{text-align:center}
.gc-sb-k{margin:0;font:400 calc(var(--u) * 1.7)/1 var(--lg-f-ink);letter-spacing:.22em;text-transform:uppercase;color:#6a4a2a}
.gc-sb-t{margin:calc(var(--u) * .4) 0 0;font:400 calc(var(--u) * 4.5)/1 var(--lg-f-display);color:#3a1d0c}
.gc-sb-run{margin:calc(var(--u) * .6) 0 0;font:italic 400 calc(var(--u) * 2.1)/1.2 var(--lg-f-pen);color:#4a2c14}
.gc-sb-run b{font:700 calc(var(--u) * 2.7)/1 var(--lg-f-num);font-style:normal;color:#6b4300;font-variant-numeric:lining-nums}
.gc-sb-save{display:flex;flex-direction:column;align-items:center;gap:calc(var(--u) * .7);padding:calc(var(--u) * 1.1) calc(var(--u) * 1.2);text-align:center;
  border-top:max(1px,calc(var(--u) * .16)) dotted rgba(44,26,12,.5);border-bottom:max(1px,calc(var(--u) * .16)) dotted rgba(44,26,12,.5)}
.gc-sb-line{margin:0;max-width:calc(var(--u) * 66);text-wrap:balance}
.gc-sb-soft{font-style:italic;color:#5a3a1e}
.gc-sb-rank{margin:0;font:400 calc(var(--u) * 2.6)/1.2 var(--lg-f-ink);color:#24140a}
.gc-sb-dot{color:#8a6a4a}
.gc-sb-best{margin:0;font:italic 400 calc(var(--u) * 2.3)/1.1 var(--lg-f-pen);color:#9a1212}
.gc-sb-msg{margin:0;max-width:calc(var(--u) * 66);font-style:italic;color:#9a1212}
.gc-sb-msg:empty,.gc-sb-save:empty{display:none}
.gc-sb-form{display:flex;flex-direction:column;align-items:center;gap:calc(var(--u) * .9);width:100%}
.gc-sb-field{display:flex;flex-direction:column;gap:calc(var(--u) * .4);width:min(100%,calc(var(--u) * 38));text-align:left}
.gc-sb-label{font:400 calc(var(--u) * 1.8)/1 var(--lg-f-ink);letter-spacing:.06em;color:#4a2c14}
.gc-sb-input{width:100%;padding:calc(var(--u) * .9) calc(var(--u) * 1.2);border:max(1px,calc(var(--u) * .17)) solid rgba(44,26,12,.6);border-radius:calc(var(--u) * .7);
  background:rgba(255,251,238,.9);color:#24140a;font:500 calc(var(--u) * 2.4)/1.2 var(--ui)}
.gc-sb-input:focus{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:1px}
.gc-sb-code{text-align:center;letter-spacing:.3em;font-variant-numeric:tabular-nums}
.gc-sb-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:calc(var(--u) * 1)}
.gc-sb-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:calc(var(--u) * 4.4);margin:0;padding:calc(var(--u) * .7) calc(var(--u) * 1.8);
  border:max(1px,calc(var(--u) * .17)) solid rgba(44,26,12,.55);border-radius:calc(var(--u) * .8);background:rgba(255,248,228,.3);color:#2c1a0c;
  font:400 calc(var(--u) * 2.1)/1 var(--lg-f-ink);letter-spacing:.03em;cursor:pointer}
.gc-sb-btn:hover{background:rgba(255,248,228,.6);border-color:#2c1a0c}
.gc-sb-main{background:#3b2414;border-color:#3b2414;color:#f3e6c8}
.gc-sb-main:hover{background:#563620;border-color:#563620}
.gc-sb-btn:disabled{opacity:.6;cursor:default}
.gc-sb-btn:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:2px}
.gc-sb-lists{flex:1 1 auto}
.lg-scores{scrollbar-width:thin;scrollbar-color:rgba(44,26,12,.45) transparent}
.gc-sb-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:calc(var(--u) * 1)}
.gc-sb-foot:empty{display:none}                                   /* the start screen's board has no buttons */
/* the start screen's board (host.js st.home, since v1.15): the Leaderboard's parchment, open on the right of the scene
   in the ledger's place (free before a game: the shared top and bottom lines, --bd-line, and the right gutter), so it
   never covers the middle column (the feed, the chat, Play) or the version line under it; its list fills what the
   board has left and scrolls. Under the game's overlay (4; graveyard.css .bd-social), gone while a game is open
   (the ledger is there, and the game-over scoreboard). Narrow screens: under the feed's column in the page (.bd-dock,
   below; host.js placeCol). */
.bd-start{z-index:4}
.bd-start-in{position:absolute;right:var(--lg-gutter);top:var(--bd-line);width:var(--bd-sw);height:calc(var(--u) * 86);pointer-events:auto;
  overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(44,26,12,.45) transparent;animation:gc-pop .35s ease both}
.bd-start-in .gc-sb{height:100%;min-height:0}
.bd-start-in .gc-sb-lists,.bd-start-in .gc-list-panel,.bd-start-in .gc-list-box,.bd-start-in .gc-list{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.bd-start-in .gc-list-scroll{flex:0 1 auto;min-height:0;max-height:none}
body.cards-on .bd-start-in{display:none}
.stage:has(> #gcPop:not([hidden])) .bd-start-in{visibility:hidden}   /* the Leaderboard open: its lists once, not twice */
/* game over: the corner x (= Close, the game's own close) */
.gc-sb{position:relative}
.gc-sb-x{appearance:none;position:absolute;top:calc(var(--u) * .9);right:calc(var(--u) * .9);display:inline-flex;align-items:center;justify-content:center;
  width:calc(var(--u) * 4.4);height:calc(var(--u) * 4.4);margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#4a2c14;
  font:400 calc(var(--u) * 3.4)/1 var(--ui);cursor:pointer}
.gc-sb-x:hover{background:rgba(44,26,12,.12);color:#24140a}
.gc-sb-x:focus-visible{outline:max(2px,calc(var(--u) * .25)) solid #8a4510;outline-offset:2px}

/* the version and the Release notes link (host.js verTag): small and quiet at the bottom-right of the scene; while
   playing it sits under the ledger (which leaves 7 u below it, --bd-line), over the game's overlay (5), under the boards (10).
   The dot: notes this browser has not opened yet. Narrow screens, while playing: the game's copy (.gc-ver-game) at
   the foot of the full-screen game. */
.gc-ver{position:absolute;right:10px;bottom:5px;z-index:6;display:flex;align-items:baseline;gap:8px;pointer-events:none;
  font:400 12px/1.2 var(--ui);color:rgba(222,214,236,.62);text-shadow:0 0 3px rgba(5,3,12,.95),0 0 8px rgba(5,3,12,.85)}
.gc-ver-link{position:relative;margin:0;padding:2px 0;border:0;background:none;color:rgba(240,226,204,.85);font:inherit;text-shadow:inherit;
  text-decoration:underline;text-decoration-color:rgba(240,226,204,.4);text-underline-offset:2px;cursor:pointer;pointer-events:auto}
.gc-ver-link:hover{color:#f6ead0;text-decoration-color:currentColor}
.gc-ver-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}
.gc-ver-dot{display:none;position:absolute;top:0;right:-9px;width:7px;height:7px;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 1px rgba(10,5,20,.85)}   /* the main site's News dot */
.gc-ver-new .gc-ver-dot{display:block}
.gc-ver-new .gc-ver-link{margin-right:9px}
.gc-ver:not(.gc-ver-new) .gc-ver-sr{display:none}
.gc-ver-game{display:none}
/* the release notes (host.js openNotes): a small parchment panel (.gc-sb, the Leaderboard's look) at the bottom-right
   of the scene, just above the link (over the ledger while playing); narrow screens: full screen, as the Leaderboard */
.gc-notes-pop{z-index:12}
.gc-notes{position:absolute;right:calc(var(--u) * 1.6);bottom:calc(var(--u) * 5.5);width:min(calc(var(--u) * 84),calc(100cqw - var(--u) * 3.2));
  min-height:0;max-height:calc(100cqh - var(--u) * 8);overflow:auto;overscroll-behavior:contain;pointer-events:auto;
  scrollbar-width:thin;scrollbar-color:rgba(44,26,12,.45) transparent;animation:gc-pop .35s ease both}
.gc-notes .gc-sb-head{padding:0 calc(var(--u) * 4)}
.gc-notes-body{display:flex;flex-direction:column;gap:calc(var(--u) * 1.6)}
.gc-notes-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:calc(var(--u) * .4) calc(var(--u) * 1.2);margin:0 0 calc(var(--u) * .7);padding-bottom:calc(var(--u) * .5);
  border-bottom:max(1px,calc(var(--u) * .16)) solid var(--gl-line);font:italic 400 calc(var(--u) * 2)/1.2 var(--lg-f-pen);color:var(--gl-soft)}
.gc-notes-h b{font:400 calc(var(--u) * 3)/1 var(--lg-f-display);font-style:normal;color:#3a1d0c}
.gc-notes-l{display:flex;flex-direction:column;gap:calc(var(--u) * .55);margin:0;padding:0 0 0 calc(var(--u) * 2.4);
  font:400 calc(var(--u) * 2.2)/1.28 var(--lg-f-pen);color:var(--gl-ink);text-align:left}
.gc-notes-l li::marker{color:var(--gl-mark)}
@media (max-width:860px),(max-height:440px){
  .gc-ver{right:8px;bottom:4px;font-size:11px}
  .lg-ledger > .gc-ver-game{position:relative;right:auto;bottom:auto;display:flex;justify-content:flex-end;margin:-20px 16px 0;padding-bottom:14px}
  .gc-notes-pop{z-index:1060}
  .gc-notes{position:relative;right:auto;bottom:auto;width:min(100%,420px);max-height:none;margin:0 auto;overflow:visible}
}

/* the event toast (events.js): small parchment note at the top of the middle column, on the top line beside the
   game's deck and Lightning slot, so it never covers them, the cards or the ledger's buttons (the game's layout,
   .stage above; --u = 1/100 of the stage height). Narrow screens: the top edge of the screen, over the full-screen game. */
.bd-toast-wrap{position:absolute;inset:0;z-index:11;container-type:size;--u:1cqh;pointer-events:none}
.bd-toast{position:absolute;top:var(--bd-line);left:calc(var(--bd-col-l) + var(--bd-pw) + var(--bd-gap) * 2);
  right:var(--bd-col-r);min-width:min(200px,calc(100cqw - 24px));pointer-events:auto;
  padding:7px 8px 9px 12px;color:#2c1a0c;font:400 clamp(12px,calc(var(--u) * 1.9),15px)/1.3 var(--lg-f-pen);text-align:left;
  background:radial-gradient(ellipse at 50% 30%,#f6ead0 0%,#ecdcb4 65%,#d6bc8a 100%);border:1px solid rgba(44,26,12,.55);border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,.55),inset 0 0 14px rgba(110,70,25,.25);opacity:0;transform:translateY(-6px);transition:opacity .35s ease,transform .35s ease}
.bd-toast.bd-show{opacity:1;transform:none}
.bd-toast-head{display:flex;align-items:center;gap:8px}
.bd-toast-head strong{flex:1;min-width:0;font:400 clamp(10px,calc(var(--u) * 1.5),12px)/1 var(--lg-f-ink);letter-spacing:.16em;text-transform:uppercase;color:#6a4a2a}
.bd-toast-time{font-size:.85em;color:#6a4a2a;white-space:nowrap}
.bd-toast-x{flex:none;width:24px;height:24px;margin:-3px -2px -3px 0;padding:0;border:0;border-radius:50%;background:none;color:#4a2c14;font:400 18px/1 var(--ui);cursor:pointer}
.bd-toast-x:hover{background:rgba(44,26,12,.12)}
.bd-toast-x:focus-visible{outline:2px solid #8a4510;outline-offset:1px}
.bd-toast-t{margin:4px 0 0;font:400 1.2em/1.15 var(--lg-f-display);color:#7a1d0c}
.bd-toast-s{margin:3px 0 0;overflow-wrap:anywhere;color:#24140a}
@media (max-width:860px),(max-height:440px){
  .bd-toast-wrap{position:fixed;inset:0 0 auto 0;z-index:1100;container-type:normal;--u:6.4px}
  .bd-toast{position:relative;top:auto;left:auto;right:auto;min-width:0;width:min(360px,calc(100% - 24px));margin:max(8px,env(safe-area-inset-top,0px)) auto 0}
}
@media (prefers-reduced-motion:reduce){.bd-toast{transition:none;transform:none}}
/* the graphics note (scene.js, software rendering): the toast's parchment, centred at the foot of the scene; shown only
   while the game is closed, so it never covers the board, the ledger, the guide panel or the top bar */
.bd-toast-wrap.bd-gpu-wrap{position:absolute;inset:auto 0 0 0;z-index:11;display:flex;justify-content:center;padding:0 12px 12px;
  container-type:normal;--u:7px}
.bd-gpu-wrap .bd-toast{position:relative;top:auto;left:auto;right:auto;width:min(380px,100%);min-width:0;margin:0;transform:translateY(6px)}
.bd-gpu-wrap .bd-toast.bd-show{transform:none}
body.cards-on .bd-gpu-wrap{display:none}
.bd-gpu-copy{margin:7px 0 1px;padding:5px 11px;border:1px solid rgba(44,26,12,.55);border-radius:6px;background:#3b2414;color:#f6ead0;
  font:400 1em/1.2 var(--lg-f-ink);cursor:pointer}
.bd-gpu-copy:hover{background:#563620}
.bd-gpu-copy:focus-visible{outline:2px solid #8a4510;outline-offset:2px}
.bd-gpu-msg{margin:5px 0 0;font-size:.92em;color:#4a2c14}
@media (prefers-reduced-motion:reduce){.bd-gpu-wrap .bd-toast{transform:none}}
/* the new-version strip (host.js renderUpd; its wrap is a .bd-toast-wrap, for the place and the fonts): the toast's
   parchment, one slim line centred in the band above the shared top line (--bd-line), so it covers neither the board,
   the scoreboard nor the ledger; shown only while no run is on (the scene, or the game-over scoreboard). Narrow
   screens: the top of the scene (never over the top bar), and over the full-screen game (its game-over scoreboard) the
   foot of the screen, over the game (1100, as the toast). */
.bd-upd-wrap[hidden]{display:none}
.bd-upd{position:absolute;top:calc(var(--bd-line) / 2);left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;
  width:max-content;max-width:calc(100cqw - 24px);padding:3px 4px 3px 14px;pointer-events:auto;
  color:#24140a;font:400 clamp(12px,calc(var(--u) * 1.9),15px)/1.2 var(--lg-f-pen);text-align:left;
  background:radial-gradient(ellipse at 50% 30%,#f6ead0 0%,#ecdcb4 65%,#d6bc8a 100%);border:1px solid rgba(44,26,12,.55);border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,.55),inset 0 0 14px rgba(110,70,25,.25);animation:gc-pop .35s ease both}
.bd-upd-t{flex:1;min-width:0;margin:0}
.bd-upd-go{flex:none;margin:0;padding:3px 10px;border:1px solid rgba(44,26,12,.55);border-radius:6px;background:#3b2414;color:#f6ead0;
  font:400 1em/1.2 var(--lg-f-ink);cursor:pointer}
.bd-upd-go:hover{background:#563620}
.bd-upd-go:focus-visible{outline:2px solid #8a4510;outline-offset:2px}
.bd-upd-x{flex:none;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:50%;background:none;color:#4a2c14;font:400 18px/1 var(--ui);cursor:pointer}
.bd-upd-x:hover{background:rgba(44,26,12,.12)}
.bd-upd-x:focus-visible{outline:2px solid #8a4510;outline-offset:1px}
@media (max-width:860px),(max-height:440px){
  .bd-toast-wrap.bd-upd-wrap{position:absolute;inset:0 0 auto 0;z-index:11}
  body.cards-on .bd-toast-wrap.bd-upd-wrap{position:fixed;inset:auto 0 0 0;z-index:1100}
  .bd-upd{position:relative;top:auto;left:auto;transform:none;width:min(360px,calc(100% - 16px));max-width:none;margin:8px auto 0}
  body.cards-on .bd-upd{margin:0 auto max(10px,env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){.bd-upd{animation:none}}

/* The middle column (host.js .bd-col; the game's layout, .stage above): from the board's second row down to the
   shared bottom line, under the game's deck and Lightning slot: two lists, each newest at its foot (the last 50
   lines) and each scrolling on its own: on top the live feed (--bd-act of the column; its top fades the older lines
   out), under it the chat (the rest), and under that the chat's box; the chat off (.bd-col-nocmp), the feed alone
   fills the column. The live feed's lines: ghost violet italic with a dark halo so they read on the night scene; the
   older ones fade step by step (the oldest faint but legible). The
   chat's lines (.bd-cl): upright, left-aligned, each on its own small pane of the box's smoked glass (--bd-glass), the
   writer's name in bold, then the text, so they never pass for a feed line; the player's own lines (and "You passed
   X!") gold. Every line ends in its time (.bd-ago, below). Since v1.15 no feed line goes for its age: newer lines push
   the oldest out. Only the lines and the box take clicks; the rest of the
   column lets them through to the scene. Outside a game the column sits just under where the game's overlay goes
   (z 4); during a game (body.cards-on) it comes over the overlay (6: the overlay is see-through there) so the chat
   can be used, keeps to its lower half (.bd-col-min) until it is clicked, and folds again after a while unused
   (host.js). While the first game's coach shows (it sits in this column too) the column starts under it, folded or
   opened (.bd-col-coach, --bd-coach-b from host.js), or steps aside when there is no room (.bd-col-aside), so it
   never lies over the coach or takes the clicks of its buttons. The Leaderboard (10) covers it; the end-of-game scoreboard stays over the board. The pass banner
   (below) hangs over the column, over everything there (12, over the toast too). Narrow screens: the column leaves
   the scene for the page under it (.bd-dock, host.js; the game covers the screen there and hides it), the banner at
   the top of the screen, over the game. Reduced motion: the lines only fade, the column does not slide, the banner
   fades in and out. */
.bd-social{position:absolute;inset:0;container-type:size;--u:1cqh;pointer-events:none}
.bd-feed-wrap{z-index:4}
body.cards-on .bd-feed-wrap{z-index:6}
.bd-pass-wrap{z-index:12}
.bd-col{position:absolute;top:calc(var(--bd-line) + var(--bd-row));bottom:var(--bd-line);left:var(--bd-col-l);right:var(--bd-col-r);
  --bd-cmp-h:clamp(30px,calc(var(--u) * 4.8),42px);transition:top .45s cubic-bezier(.2,.8,.3,1);
  --bd-at:255 206 84;                                           /* a line that @mentions the player: its tint, r g b (green: 120 220 130) */
  --bd-act:35%;                                                 /* the live feed's share of the column, from the top */
  --bd-glass:rgba(14,4,30,.12);--bd-glass-f:blur(1.5px)}        /* the smoked glass: the box's (at rest) and each chat line's */
.bd-col.bd-col-min{top:calc(var(--bd-line) + var(--bd-row) + (100cqh - 2 * var(--bd-line) - var(--bd-row)) / 2)}
.bd-col.bd-col-coach{top:max(calc(var(--bd-line) + var(--bd-row) + (100cqh - 2 * var(--bd-line) - var(--bd-row)) / 2),var(--bd-coach-b,0px))}
.bd-col.bd-col-aside{visibility:hidden}
.bd-feed,.bd-chat{position:absolute;left:0;right:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:none;                                         /* each scrolls (wheel, touch) but shows no bar: a new line flashed one */
  display:flex;flex-direction:column;margin:0;padding:0;list-style:none;pointer-events:none}
.bd-feed::-webkit-scrollbar,.bd-chat::-webkit-scrollbar{display:none}
.bd-feed{top:0;bottom:calc(100% - var(--bd-act) + var(--u) * 4);align-items:center;   /* a clear gap over the chat */
  -webkit-mask-image:linear-gradient(to bottom,transparent,#000 calc(var(--u) * 4));mask-image:linear-gradient(to bottom,transparent,#000 calc(var(--u) * 4))}
/* the chat's list: no fading top (a mask there would cut the lines' glass off from the scene behind it) */
.bd-chat{top:calc(var(--bd-act) + var(--u) * 1.2);bottom:calc(var(--bd-cmp-h) + var(--bd-cmp-x,0px) + var(--u) * 1.2);align-items:flex-start;gap:4px}
.bd-col.bd-col-nocmp .bd-feed{bottom:0}
.bd-col.bd-col-nocmp .bd-chat{display:none}
.bd-feed>li:first-child,.bd-chat>li:first-child{margin-top:auto}   /* few lines: they sit at the bottom */
.bd-fl{flex:none;margin-top:4px;max-width:100%;pointer-events:auto;animation:bd-grow .7s cubic-bezier(.2,.8,.3,1)}
.bd-fi{display:block;text-align:center;text-wrap:balance;overflow-wrap:break-word;font:italic 500 clamp(14px,calc(var(--u) * 2.6),19px)/1.22 var(--lg-f-pen);
  color:#f1e6ff;text-shadow:0 0 2px rgba(14,4,30,.95),0 0 5px rgba(14,4,30,.85),0 0 12px rgba(170,110,255,.75),0 0 26px rgba(130,70,255,.45);
  transition:opacity .8s ease,letter-spacing 2.4s ease,filter 2.4s ease;animation:bd-fade .7s ease backwards,bd-waver 4s ease-in-out infinite alternate}
.bd-fi::after{content:'';display:block;width:34px;height:1px;margin:2px auto 0;background:linear-gradient(90deg,rgba(200,150,255,.75),transparent)}
.bd-fi.bd-you{color:#ffd970;text-shadow:0 0 2px rgba(30,14,0,.95),0 0 5px rgba(30,14,0,.85),0 0 10px rgba(255,200,90,.8),0 0 22px rgba(255,170,60,.45)}
.bd-fi.bd-you::after{background:linear-gradient(90deg,rgba(255,200,90,.75),transparent)}
.bd-fl.bd-quiet{animation:none}
.bd-fl.bd-quiet .bd-fi{animation:bd-waver 4s ease-in-out infinite alternate}
.bd-fl:nth-last-child(2) .bd-fi{opacity:.92}
.bd-fl:nth-last-child(3) .bd-fi{opacity:.84}
.bd-fl:nth-last-child(4) .bd-fi{opacity:.76;letter-spacing:.01em}
.bd-fl:nth-last-child(5) .bd-fi{opacity:.68;letter-spacing:.02em}
.bd-fl:nth-last-child(6) .bd-fi{opacity:.6;letter-spacing:.03em}
.bd-fl:nth-last-child(7) .bd-fi{opacity:.53;letter-spacing:.04em}
.bd-fl:nth-last-child(8) .bd-fi{opacity:.47;letter-spacing:.05em}
.bd-fl:nth-last-child(9) .bd-fi{opacity:.41;letter-spacing:.06em}
.bd-fl:nth-last-child(10) .bd-fi{opacity:.36;letter-spacing:.07em}
.bd-fl:nth-last-child(n+11) .bd-fi{opacity:.3;letter-spacing:.07em}
/* each line's time (host.js agoWrap, since v1.15): "· 3 hr. ago", small, upright and quieter than its line, kept
   with its dot; in a chat line after the text, before the icons */
.bd-ago{white-space:nowrap;font-style:normal;font-weight:400;font-size:.78em;letter-spacing:normal;opacity:.72}
.bd-fi .bd-ago{font-family:var(--lg-f-ui)}
.bd-ci .bd-ago{opacity:.62}
/* a chat line: name and text, upright, left-aligned; long words break anywhere. Its pane hugs it (the list's gap
   between two), the box's glass and tint; where backdrop-filter is missing, a plain darker tint instead */
.bd-fl.bd-cl{margin-top:0;padding:2px 6px;border-radius:7px;background-color:var(--bd-glass);
  -webkit-backdrop-filter:var(--bd-glass-f);backdrop-filter:var(--bd-glass-f)}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .bd-fl.bd-cl{background-color:rgba(14,4,30,.5)}
}
/* the chat's top edge: a line fades out over its last 3em as it scrolls past it (a scroll-driven animation; a mask on
   the list would cut the panes' glass off from the scene); browsers without one keep the plain edge */
@supports (animation-timeline:view()){
  .bd-chat>.bd-cl{animation:bd-grow .7s cubic-bezier(.2,.8,.3,1),bd-cl-edge linear both;
    animation-timeline:auto,view();animation-range:normal,cover calc(100% - 3em) cover 100%}
  .bd-chat>.bd-cl.bd-quiet{animation:bd-cl-edge linear both;animation-timeline:view();animation-range:cover calc(100% - 3em) cover 100%}
}
@keyframes bd-cl-edge{to{opacity:0}}
.bd-ci{display:block;padding:0 2px;text-align:start;overflow-wrap:anywhere;font:400 clamp(13px,calc(var(--u) * 2.15),16px)/1.3 var(--lg-f-ui);
  color:#ece4fa;text-shadow:0 0 2px rgba(14,4,30,.95),0 0 5px rgba(14,4,30,.9),0 0 10px rgba(14,4,30,.6)}
.bd-cn{font-weight:700;color:#cdb6ff}
.bd-ci.bd-you{color:#ffe6a6;text-shadow:0 0 2px rgba(30,14,0,.95),0 0 5px rgba(30,14,0,.85),0 0 10px rgba(255,190,80,.45)}
.bd-ci.bd-you .bd-cn{color:#ffd970}
/* @mentions (host.js, the line's "to"): each name a small pill in front of the text; a line that names the player
   (.bd-atme, not one of their own) takes the warm tint of --bd-at (.bd-col), its pills too */
.bd-at{display:inline-block;padding:0 .4em;border-radius:999px;background:rgba(205,182,255,.15);color:#e6daff;font-weight:600;
  line-height:1.3;white-space:nowrap}
.bd-fl.bd-cl.bd-atme{background-image:linear-gradient(90deg,rgb(var(--bd-at) / .22),rgb(var(--bd-at) / .07));
  box-shadow:inset 2px 0 0 rgb(var(--bd-at) / .85)}
.bd-atme .bd-at{background:rgb(var(--bd-at) / .26);color:rgb(var(--bd-at))}
/* translation on request (host.js, the owner's "Translate chat"): a small quiet translate icon at the end of someone
   else's line (a button; its box is larger than the glyph for the finger, at least 24 px, its top and bottom margins
   give the room back so the line keeps its height, nothing on its left: it never reaches over the text). A click asks
   for the translation (.bd-tri-busy: the glyph pulses meanwhile); it then opens a small line just under the message,
   in the stream: "Translated by Lindo Translator · Show original" (the action swaps the text to the original and
   back). No translation: .bd-trn, a short note in the same quiet line. .bd-trw keeps the icon on the last word's line */
.bd-trw,.bd-rxw{white-space:nowrap}
.bd-tri,.bd-rxa{display:inline-grid;place-items:center;width:1.6em;height:1.6em;min-width:24px;min-height:24px;margin:-.3em -.25em -.3em 0;
  margin-block:calc((1em - max(1.6em,24px)) / 2);padding:0;border:0;border-radius:3px;
  background:none;font:inherit;color:rgba(205,182,255,.5);cursor:pointer;vertical-align:middle;-webkit-tap-highlight-color:transparent;transition:color .2s ease}
.bd-tri svg,.bd-rxa svg{display:block;width:.95em;height:.95em;filter:drop-shadow(0 0 1.5px rgba(14,4,30,.95))}
.bd-tri:hover,.bd-tri:focus-visible,.bd-tri[aria-expanded="true"],
.bd-rxa:hover,.bd-rxa:focus-visible,.bd-rxa[aria-expanded="true"]{color:rgba(205,182,255,.88)}
.bd-tri:focus-visible,.bd-rxa:focus-visible{outline:1px solid rgba(205,182,255,.55);outline-offset:-2px}
/* both on a line: the react button starts past the translate icon's box (its -.25em on the right undone, plus a 2 px
   gap), so the two tap areas never overlap */
.bd-trw + .bd-rxw .bd-rxa{margin-left:calc(.25em + 2px)}
.bd-tri.bd-tri-busy{color:rgba(205,182,255,.88);cursor:progress}
.bd-tri.bd-tri-busy svg{animation:bd-tri-ask .7s ease-in-out infinite alternate}
@keyframes bd-tri-ask{to{opacity:.3}}
.bd-trx,.bd-trn{display:block;margin:1px 0 2px;padding:0 2px;text-align:start;overflow-wrap:anywhere;
  font:italic 400 clamp(11px,calc(var(--u) * 1.75),13px)/1.3 var(--lg-f-ui);color:rgba(205,182,255,.6);
  text-shadow:0 0 2px rgba(14,4,30,.95),0 0 5px rgba(14,4,30,.9);animation:bd-fade .25s ease}
.bd-trx[hidden]{display:none}
.bd-trx-go{margin:0;padding:0 .1em;border:0;border-radius:2px;background:none;font:inherit;color:rgba(228,214,255,.8);text-shadow:inherit;cursor:pointer;
  text-decoration:underline;text-decoration-color:rgba(205,182,255,.3);text-underline-offset:2px;-webkit-tap-highlight-color:transparent}
.bd-trx-go:hover,.bd-trx-go:focus-visible{color:#efe4ff;text-decoration-color:currentColor}
.bd-trx-go:focus-visible{outline:1px solid rgba(205,182,255,.55);outline-offset:1px}
/* reactions (host.js, since v1.14): the react button (.bd-rxa, the translate icon's look, after it) shows, where
   there is a pointer, while its line is hovered or holds the focus (touch screens: always); its picker (.bd-rxp)
   opens just under the line, in the stream: the five emojis on a small dark pane (the @ list's look), the viewer's
   own ringed. The chips (.bd-rxs) under the line: "👍 2" pills that wrap in the narrow column, the viewer's own
   pressed (brighter, ringed) */
@media (hover:hover){
  .bd-rxa{opacity:0;transition:color .2s ease,opacity .15s ease}
  .bd-cl:hover .bd-rxa,.bd-cl:focus-within .bd-rxa,.bd-rxa[aria-expanded="true"]{opacity:1}
}
.bd-rxs{display:flex;flex-wrap:wrap;gap:3px 4px;margin:2px 0 1px;padding:0 2px}
.bd-rxs[hidden],.bd-rx[hidden]{display:none}
.bd-rx{display:inline-flex;align-items:center;gap:.3em;height:1.7em;min-height:22px;margin:0;padding:0 .5em;
  border:1px solid rgba(205,182,255,.16);border-radius:999px;background:rgba(205,182,255,.09);
  font:600 clamp(11px,calc(var(--u) * 1.75),13px)/1 var(--lg-f-ui);font-variant-numeric:tabular-nums;color:rgba(230,218,255,.85);
  text-shadow:0 0 2px rgba(14,4,30,.9);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s ease,border-color .15s ease}
.bd-rx:hover{background:rgba(205,182,255,.17);border-color:rgba(205,182,255,.3)}
.bd-rx[aria-pressed="true"]{background:rgba(205,182,255,.26);border-color:rgba(205,182,255,.62);color:#fff;
  box-shadow:0 0 6px rgba(170,110,255,.35)}
.bd-rx:focus-visible{outline:2px solid rgba(205,182,255,.75);outline-offset:1px}
.bd-rxs[aria-busy="true"] .bd-rx{opacity:.6;cursor:progress}
.bd-rx-e,.bd-rxo{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-weight:400;text-shadow:none}
.bd-rx-e{font-size:1.15em;line-height:1}
.bd-rxp{display:flex;flex-wrap:wrap;gap:2px;width:max-content;max-width:100%;margin:3px 0 2px;padding:3px;
  background:rgba(22,9,44,.97);border:1px solid rgba(205,182,255,.22);border-radius:9px;box-shadow:0 4px 14px rgba(0,0,0,.5);
  animation:bd-fade .15s ease}
.bd-rxo{display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:7px;background:none;
  font-size:18px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .12s ease,transform .12s ease}
.bd-rxo:hover,.bd-rxo:focus-visible{background:rgba(205,182,255,.16);transform:scale(1.12)}
.bd-rxo:focus-visible{outline:2px solid rgba(205,182,255,.75);outline-offset:-1px}
.bd-rxo[aria-pressed="true"]{background:rgba(205,182,255,.26);box-shadow:inset 0 0 0 1px rgba(205,182,255,.62)}
/* the chat's box (the owner's choice: "smoked glass", no border, its edges fading into the scene): the field, the
   count (while it has the focus, or the seconds to wait), a dim send button (an arrowhead); for those who may not
   write, the line that says how. The glass is ::before, a little larger than the box, masked by a blurred rounded rect */
.bd-cmp{position:absolute;left:0;right:0;bottom:0;min-height:var(--bd-cmp-h);margin:0;display:flex;align-items:center;gap:8px;
  padding:3px 4px 3px 10px;pointer-events:auto;font:400 clamp(13px,calc(var(--u) * 2.1),15px)/1.2 var(--lg-f-ui);isolation:isolate;
  --bd-cmp-ih:calc(var(--bd-cmp-h) - 6px)}                      /* the field's height (one row; the tags can add rows above) */
.bd-cmp::before{content:'';position:absolute;inset:-14px -16px;z-index:-1;pointer-events:none;
  background:var(--bd-glass);-webkit-backdrop-filter:var(--bd-glass-f);backdrop-filter:var(--bd-glass-f);transition:background .2s ease;
  --bd-cmp-m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 74' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-60%25' width='140%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='7'/%3E%3C/filter%3E%3Crect x='14' y='11' width='312' height='52' rx='16' fill='%23fff' filter='url(%23f)'/%3E%3C/svg%3E");
  -webkit-mask:var(--bd-cmp-m) center/100% 100% no-repeat;mask:var(--bd-cmp-m) center/100% 100% no-repeat}
.bd-cmp:focus-within::before{background:radial-gradient(ellipse at 50% 50%,rgba(120,70,220,.1),transparent 70%),rgba(14,4,30,.26)}
.bd-cmp-in{flex:1 1 6em;min-width:6em;height:var(--bd-cmp-ih);padding:0 2px;background:transparent;border:0;outline:0;color:#efe4ff;font:inherit;
  text-shadow:0 0 2px rgba(14,4,30,.95),0 0 6px rgba(14,4,30,.8)}             /* the glass is faint: the text keeps a dark halo */
.bd-cmp-in::placeholder{color:rgba(225,210,250,.55);opacity:1;text-shadow:0 0 2px rgba(14,4,30,.95),0 0 6px rgba(14,4,30,.8)}
.bd-cmp-n{flex:none;font-size:12px;line-height:1;font-variant-numeric:tabular-nums;color:rgba(241,230,255,.5);visibility:hidden}
.bd-cmp:focus-within .bd-cmp-n,.bd-cmp.bd-cmp-wait .bd-cmp-n{visibility:visible}
.bd-cmp.bd-cmp-wait .bd-cmp-n{color:#ffd970}
.bd-cmp-go{flex:none;display:grid;place-items:center;width:30px;height:calc(var(--bd-cmp-h) - 10px);max-height:28px;padding:0;cursor:pointer;
  color:rgba(225,210,250,.6);background:none;border:0;transition:color .2s ease,filter .2s ease}
.bd-cmp-go svg{display:block;width:15px;height:15px}
.bd-cmp:focus-within .bd-cmp-go{color:rgba(235,222,255,.85)}
.bd-cmp-go:not(:disabled):hover,.bd-cmp-go:focus-visible{color:#efe4ff;filter:drop-shadow(0 0 4px rgba(190,140,255,.85));outline:none}
.bd-cmp-go:disabled{opacity:.4;cursor:default}
/* the tags (@mentions) in front of the field, one row with it that wraps; each "@Name x" */
.bd-cmp-tags{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px}
.bd-chip{display:inline-flex;align-items:center;max-width:100%;height:1.6em;padding:0 0 0 .5em;border-radius:999px;
  background:rgba(205,182,255,.17);color:#efe4ff;font-size:.92em;font-weight:600;white-space:nowrap;text-shadow:0 0 2px rgba(14,4,30,.9)}
.bd-chip-n{overflow:hidden;text-overflow:ellipsis}
.bd-chip-x{display:grid;place-items:center;width:1.5em;height:100%;margin:0;padding:0;border:0;border-radius:999px;background:none;
  font:inherit;font-weight:400;color:rgba(239,228,255,.65);cursor:pointer;-webkit-tap-highlight-color:transparent}
.bd-chip-x:hover,.bd-chip-x:focus-visible{color:#fff;background:rgba(205,182,255,.2);outline:none}
/* the suggestion list: over the box, from its left edge */
.bd-at-list{position:absolute;left:4px;bottom:calc(100% + 6px);z-index:2;min-width:min(180px,100%);max-width:calc(100% - 8px);margin:0;padding:3px;
  list-style:none;background:rgba(22,9,44,.97);border:1px solid rgba(205,182,255,.22);border-radius:7px;box-shadow:0 6px 18px rgba(0,0,0,.5)}
.bd-at-list[hidden]{display:none}
.bd-at-opt{padding:5px 9px;border-radius:5px;color:#ece4fa;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bd-at-opt:hover{background:rgba(205,182,255,.1)}
.bd-at-opt[aria-selected="true"]{background:rgba(205,182,255,.2);color:#fff}
.bd-cmp-guest{justify-content:center;padding:4px 10px;font-style:italic;color:rgba(225,210,250,.6);text-align:center;line-height:1.2}
/* its words as a link to the top bar's Sign in (host.js hintFill), while the server can sign in */
.bd-cmp-link{appearance:none;display:inline;margin:0;padding:0;border:0;border-radius:2px;background:none;font:inherit;color:rgba(235,222,255,.85);
  text-decoration:underline;text-decoration-color:rgba(205,182,255,.45);text-underline-offset:.15em;cursor:pointer}
.bd-cmp-link:hover,.bd-cmp-link:focus-visible{color:#efe4ff;text-decoration-color:currentColor}
.bd-cmp-link:focus-visible{outline:2px solid rgba(205,182,255,.75);outline-offset:2px}
/* what the server said about the last line (refused, too fast, a wait counting down): just over the box */
.bd-cmp-say{position:absolute;left:0;right:0;bottom:calc(var(--bd-cmp-h) + var(--bd-cmp-x,0px) + 4px);margin:0;padding:4px 8px;pointer-events:none;
  font:italic 400 clamp(12px,calc(var(--u) * 1.9),14px)/1.3 var(--lg-f-ui);color:#ffd9a0;text-align:center;
  background:rgba(14,4,30,.6);border-radius:5px;text-shadow:0 0 3px rgba(14,4,30,.9)}
.bd-cmp-say:empty{display:none}
@keyframes bd-grow{from{max-height:0;margin-top:0;opacity:0}to{max-height:60px}}
@keyframes bd-fade{from{opacity:0}}
@keyframes bd-waver{from{transform:translateX(-3px)}to{transform:translateX(3px)}}
/* the pass banner (host.js showPassBanner): the banner picture, its cloth alone on top tinted by an SVG colour
   matrix (#bd-tint-gold / red / purple; no mask or blend mode, which break while it moves in Chrome), and the text.
   It hangs from the top of the stage over the middle column, centred on its part beside the game's deck (the
   toast's place; 30 u wide, so it never reaches the deck), drops in with a little swing, hangs, and rises away (4.4 s; host.js BN_MS). */
.bd-bn{position:absolute;top:0;width:calc(var(--u) * 30);
  left:calc((var(--bd-col-l) + var(--bd-pw) + var(--bd-gap) * 2 + 100cqw - var(--bd-col-r)) / 2 - var(--u) * 15);
  container-type:inline-size;transform-origin:50% 2%;visibility:hidden;filter:drop-shadow(0 calc(var(--u) * 1.6) calc(var(--u) * 2) rgba(0,0,0,.6))}
.bd-bn img{display:block;width:100%;height:auto}
.bd-bn .bd-bn-cloth{position:absolute;left:0;top:0;height:100%}
.bd-bn-gold .bd-bn-cloth{filter:url(#bd-tint-gold)}
.bd-bn-red .bd-bn-cloth{filter:url(#bd-tint-red)}
.bd-bn-purple .bd-bn-cloth{filter:url(#bd-tint-purple)}
.bd-bn-txt{position:absolute;left:17%;right:17%;top:17%;height:30%;display:grid;place-items:center;text-align:center;
  font:400 calc(var(--fs,13) * 1cqw)/1.08 var(--lg-f-display);color:#2a1708;text-shadow:0 1px 0 rgba(255,235,190,.35);text-wrap:balance}
.bd-bn-txt span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-width:100%;overflow:hidden;padding-block:.1em}
.bd-bn.bd-bn-drop{visibility:visible;animation:bd-bn-drop 4.4s linear both}
@keyframes bd-bn-drop{
  0%{transform:translateY(-115%) rotate(0deg);animation-timing-function:cubic-bezier(.45,0,.85,.45)}
  14%{transform:translateY(2.5%) rotate(1.6deg);animation-timing-function:ease-out}
  18%{transform:translateY(-1.4%) rotate(-1.2deg);animation-timing-function:ease-in-out}
  21.5%{transform:translateY(.5%) rotate(.6deg);animation-timing-function:ease-in-out}
  25%{transform:translateY(0) rotate(-.2deg)}
  28%{transform:translateY(0) rotate(0deg)}
  82%{transform:translateY(0) rotate(0deg);animation-timing-function:ease-in-out}
  86%{transform:translateY(1.5%) rotate(0deg);animation-timing-function:cubic-bezier(.5,0,.9,.4)}
  100%{transform:translateY(-115%) rotate(0deg)}
}
@keyframes bd-bn-fade{0%{opacity:0}10%{opacity:1}88%{opacity:1}100%{opacity:0}}
.bd-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* narrow screens: the column under the scene, in the page (host.js moves it there), as wide as the scene: the live
   feed (about four lines), the chat (about seven; the chat off: the feed alone, about eight), each scrolling, and the
   box under them */
.bd-dock{position:relative;inset:auto;width:100%;max-width:var(--stage-w);container-type:normal;--u:6.4px;pointer-events:auto}
.bd-dock .bd-col{position:relative;inset:auto;display:flex;flex-direction:column;gap:6px;transition:none}
.bd-dock .bd-feed,.bd-dock .bd-chat{position:relative;inset:auto;padding:0 4px}
.bd-dock .bd-feed{max-height:min(15vh,110px)}
.bd-dock .bd-chat{max-height:min(28vh,200px)}
.bd-dock .bd-col.bd-col-nocmp .bd-feed{max-height:min(40vh,280px)}
.bd-dock .bd-cmp,.bd-dock .bd-cmp-say{position:relative;inset:auto;flex:none}
.bd-dock .bd-cmp{min-height:40px;--bd-cmp-ih:34px}
.bd-dock .bd-cmp::before{inset:-10px 0}                                  /* no glass past the page's sides */
/* the start screen's board under the column (the Leaderboard's narrow size; its list scrolls in 300px) */
.bd-dock .bd-start-in{position:relative;inset:auto;width:min(100%,420px);height:auto;margin:16px auto 0;overflow:visible;animation:none}
.bd-dock .bd-start-in .gc-sb{height:auto}
@media (max-width:860px),(max-height:440px){
  .bd-social{container-type:normal;--u:6.4px}
  .bd-fi{font-size:15px}
  .bd-ci{font-size:15px}
  .bd-pass-wrap{position:fixed;inset:0;z-index:1100}
  .bd-bn{top:-2px;left:calc(50% - min(17vw,70px));width:min(34vw,140px);filter:drop-shadow(0 8px 10px rgba(0,0,0,.6))}
}
@media (prefers-reduced-motion:reduce){
  .bd-fl{animation:none}
  @supports (animation-timeline:view()){                                 /* a chat line: the top edge's fade alone */
    .bd-chat>.bd-cl{animation:bd-cl-edge linear both;animation-timeline:view();animation-range:cover calc(100% - 3em) cover 100%}
  }
  .bd-col{transition:none}
  .bd-fi{animation:bd-fade .7s ease backwards;transition:opacity .8s ease;letter-spacing:normal!important;filter:none!important}
  .bd-fl.bd-quiet .bd-fi{animation:none}
  .bd-bn.bd-bn-drop{animation-name:bd-bn-fade;animation-timing-function:linear}
  .bd-tri.bd-tri-busy svg{animation:none;opacity:.55}
  .bd-rxp{animation:none}
  .bd-rxa,.bd-rx,.bd-rxo{transition:none}
  .bd-rxo:hover,.bd-rxo:focus-visible{transform:none}
}

@media (max-width:600px){
  body{padding-top:8px;gap:8px}
  .gc-title{font-size:24px}
  .gc-bar{gap:8px 10px}
}
@media (prefers-reduced-motion:reduce){.stage,.gc-bar,.gc-set-btn svg{transition:none}.gc-pop-in,.gc-notes,.bd-start-in{animation:none}}
