/* The E redesign of the screens before the table (Figma "AI" page, Section 7 and "Lobby states · E"): the first screen with its tiles, the pages before a
   lobby (the invitation, Oops, a full table, Hmm) and the lobby itself. Loaded after lobby.css and only ever applies to body.lv-page, so the table is untouched. */

/* (the tokens are on :root: the game's own panels, styled at the end of this file, use them too) */
:root {
  --e-head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --e-body: "Figtree", "Trebuchet MS", system-ui, sans-serif;
  --e-text: #fffbf5;
  --e-soft: rgba(255, 255, 255, .72);
  --e-faint: rgba(255, 255, 255, .5);
  --e-gold: #e8aa2c;
  --e-yellow: #ffcf21;
  --e-cyan: #0fbbff;
  --e-err: #ff6b70;
  --e-ink: #2b1d00;
  /* glass: the icon buttons, the ghost button, the fields */
  --e-glass: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  --e-glass-hi: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .09));
  --e-glass-lo: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  --e-line: rgba(255, 255, 255, .2);
  /* the blue panel: the seats, the chat, the sheets (the same blue glass as the profile cards) */
  --e-panel: linear-gradient(160deg, rgba(22, 140, 200, .62) 0%, rgba(14, 64, 94, .36) 45%, rgba(16, 22, 28, .15) 100%), #151c23;
  --e-ease: cubic-bezier(.23, 1, .32, 1);
}

/* ===== The background: a deep slate with soft coloured light. Phone: three glows; wide screen: "Centre stage" (a cool light behind the column, glows in the corners, a vignette) ===== */
/* (only the default background: a background picked in Settings keeps its own rules in lobby.css) */
html:has(body.lv-page) {
  background-image:
    radial-gradient(260px 200px at 12% 26%, rgba(255, 138, 43, .16), rgba(255, 138, 43, 0)),
    radial-gradient(240px 230px at 92% 44%, rgba(25, 195, 255, .16), rgba(25, 195, 255, 0)),
    radial-gradient(260px 210px at 15% 82%, rgba(255, 79, 147, .13), rgba(255, 79, 147, 0)),
    linear-gradient(180deg, #0c1116 0, #0f151b 60px, #1a2530 220px, #24323f 42%, #1a242e 72%, #0c1116 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
html body.lv-page::before { display: none; }
@media (min-width: 701px) {
  html:has(body.lv-page) {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, 0) 140px),
      radial-gradient(ellipse at 50% 50%, rgba(5, 8, 13, 0) 40%, rgba(5, 8, 13, .55) 100%),
      radial-gradient(min(44vw, 620px) min(52vh, 560px) at 50% 46%, rgba(25, 195, 255, .14), rgba(25, 195, 255, 0)),
      radial-gradient(min(40vw, 560px) 420px at 6% 4%, rgba(255, 138, 43, .2), rgba(255, 138, 43, 0)),
      radial-gradient(min(28vw, 380px) 300px at 94% 4%, rgba(25, 195, 255, .12), rgba(25, 195, 255, 0)),
      radial-gradient(min(40vw, 560px) 420px at 96% 88%, rgba(255, 79, 147, .15), rgba(255, 79, 147, 0)),
      radial-gradient(min(30vw, 420px) 300px at 6% 90%, rgba(255, 138, 43, .1), rgba(255, 138, 43, 0)),
      linear-gradient(180deg, #2b3b4a 0%, #1d2833 45%, #121920 100%);
  }
}

/* ===== The page ===== */
body.lv-page .lv { gap: 24px; justify-content: flex-start; padding: calc(12px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); font-family: var(--e-body); color: var(--e-text); }
/* (the tiles' hover art reaches past their edges: it never makes the page scroll sideways) */
body.lv-page .lv { overflow-x: clip; }
body.lv-page .lv.table { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); gap: 24px; }
body.lv-page .lvcol { max-width: 288px; gap: 24px; }
body.lv-page .lv.table .lvcol { max-width: 296px; gap: 12px; }
@media (max-width: 599px) { body.lv-page .lvcol, body.lv-page .lv.table .lvcol { max-width: none; } }
@media (min-width: 701px) { body.lv-page .lv { padding-top: calc(16px + env(safe-area-inset-top, 0px)); } }

/* ===== The top bar: glass icon buttons 40 square, the logo (no glow) ===== */
.ebar { flex: none; width: 100%; max-width: 288px; height: 40px; display: flex; align-items: center; justify-content: space-between; }
.lv.table .ebar { max-width: 296px; }
@media (max-width: 599px) { .ebar, .lv.table .ebar { max-width: none; } }
/* Desktop: a wider 360px column on every page, top bar matching */
@media (min-width: 701px) { body.lv-page .lvcol, body.lv-page .lv.table .lvcol, .ebar, .lv.table .ebar { max-width: 360px; } }
.ebar.mid { display: grid; grid-template-columns: 40px 1fr 40px; }
.ebar.mid .elogo { justify-self: center; }
.lv .elogo { all: unset; display: block; width: 60px; height: 40px; position: relative; cursor: pointer; border-radius: 8px; transition: transform .16s var(--e-ease); }
.elogo img { position: relative; display: block; width: 60px; height: 40px; }
.lv .elogo:active { transform: scale(.95); }
.lv .elogo:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.lv button.eib { all: unset; box-sizing: border-box; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 16px; background: var(--e-glass); border: 1px solid var(--e-line); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .12s var(--e-ease); }
@media (hover: hover) and (pointer: fine) { .lv button.eib:hover { border-color: rgba(255, 255, 255, .34); } }
.lv button.eib:active { background: var(--e-glass-lo); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); transform: scale(.96); }
.lv button.eib:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lv button.eib:disabled { opacity: .4; cursor: default; }
.eib.none { display: block; width: 40px; height: 40px; visibility: hidden; }
/* (signed in: my avatar, to my profile) */
/* (only the emoji: no coloured circle behind it; the colour is set inline, hence !important) */
.lv button.eib.eme .lav { border: 0; background: none !important; }

/* ===== Titles and lines ===== */
body.lv-page .lvhead { gap: 8px; }
body.lv-page .lvhead .lvtitle, body.lv-page .lv.table .lvtitle { margin: 0; font: 800 32px/1.1 var(--e-head); letter-spacing: -.02em; color: #fff; overflow-wrap: break-word; min-width: 0; }
body.lv-page .lvsub { font: 400 14px/1.3 var(--e-body); color: var(--e-soft); opacity: 1; }
body.lv-page .lvhint { font: 400 12px/1.3 var(--e-body); color: var(--e-faint); }

/* ===== The forms: no card any more, just the column ===== */
body.lv-page .lvcard:not(.lvreg) { padding: 0; gap: 16px; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.lv-page .lvcard.form { gap: 16px; }
body.lv-page .lvcard.form .lvhead { margin-bottom: 8px; }
.lv .lvav .lav { border: 0; }
.lvavhint { margin: -8px 0 0; font: 400 12px/1.3 var(--e-body); color: var(--e-gold); }
.lv .eme.big { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lv .eme.big b { font: 600 16px/1.2 var(--e-head); }

/* The field */
body.lv-page .lvfieldwrap { gap: 6px; margin: 0; }
body.lv-page .lv .lvinput { height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); color: #fff; font: 400 16px/20px var(--e-body); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
body.lv-page .lv .lvinput:not(:placeholder-shown) { font-weight: 400; }
body.lv-page .lv .lvinput::placeholder { color: rgba(255, 255, 255, .45); opacity: 1; }
body.lv-page .lv .lvinput:focus { border-color: rgba(255, 255, 255, .9); background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
body.lv-page .lv .lvinput.err { padding: 0 16px; border: 1px solid #ff5a5f; background: linear-gradient(180deg, rgba(255, 90, 95, .12), rgba(255, 90, 95, .04)); }
body.lv-page .lvhelp { font: 600 13px/1.3 var(--e-body); color: var(--e-err); text-align: left; }
body.lv-page .lvhelp:empty { display: none; }

/* Continue with Google, and the line under it */
body.lv-page .lvsignup { margin: 0; gap: 12px; }
body.lv-page #app .pgoogle { height: 48px; border-radius: 16px; background: linear-gradient(180deg, #fffdf8, #eeeae3); color: #292923; font: 600 17px/20px var(--e-body); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 4px 14px rgba(0, 0, 0, .25); transition: transform .12s var(--e-ease), box-shadow .15s ease, background .15s ease; }
@media (hover: hover) and (pointer: fine) { body.lv-page #app .pgoogle:hover { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 6px 18px rgba(0, 0, 0, .3); } }
body.lv-page #app .pgoogle:active { transform: translateY(1px); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2); }
body.lv-page #app .pgoogle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.lv-page .psignup p { font: 400 14px/1.3 var(--e-body); color: var(--e-soft); }
body.lv-page .psignup p b { font-weight: 700; }
body.lv-page .lvsignup p b { font-weight: inherit; }
body.lv-page .gpause .psignup p b { color: var(--e-gold); }
body.lv-page .perr, body.lv-page .psignup p.perr { font: 600 14px/1.3 var(--e-body); color: var(--e-err); }

/* ===== The yellow button (the one main action of a screen) ===== */
body.lv-page .lv button.lvbtn, body.lv-page #app .gpause .pbtn.bot { all: unset; box-sizing: border-box; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; padding: 0 24px; border-radius: 16px; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); font: 600 18px/1 var(--e-head); letter-spacing: -.01em; box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 6px 18px rgba(255, 184, 0, .35), 0 2px 4px rgba(0, 0, 0, .3); cursor: pointer; transition: transform .12s var(--e-ease), box-shadow .15s ease, background .15s ease; }
@media (hover: hover) and (pointer: fine) { body.lv-page .lv button.lvbtn:hover:not(:disabled), body.lv-page #app .gpause .pbtn.bot:hover { box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 8px 24px rgba(255, 184, 0, .55), 0 2px 4px rgba(0, 0, 0, .3); filter: none; } }
body.lv-page .lv button.lvbtn:active:not(:disabled), body.lv-page #app .gpause .pbtn.bot:active { background: linear-gradient(180deg, #edae00, #d49c00); box-shadow: inset 0 0 0 1px rgba(168, 106, 0, .6), inset 0 2px 4px rgba(0, 0, 0, .28), 0 1px 2px rgba(0, 0, 0, .25); transform: translateY(1px); }
body.lv-page .lv button.lvbtn:focus-visible, body.lv-page #app .gpause .pbtn.bot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.lv-page .lv button.lvbtn:disabled { opacity: .4; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .4); cursor: default; transform: none; }
body.lv-page .lv button.lvbtn.loading:disabled { opacity: 1; cursor: progress; box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 6px 18px rgba(255, 184, 0, .35); }
body.lv-page .lvspin { border-color: rgba(43, 29, 0, .25); border-top-color: var(--e-ink); }

/* The ghost button (a second action in a sheet) */
body.lv-page #app .gpause .pbtn.botall { height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); color: #fff; font: 600 18px/1 var(--e-head); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 12px rgba(0, 0, 0, .25); transition: background .15s ease, transform .12s var(--e-ease); }
@media (hover: hover) and (pointer: fine) { body.lv-page #app .gpause .pbtn.botall:hover { } }
body.lv-page #app .gpause .pbtn.botall:active { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3); transform: translateY(1px); }
body.lv-page #app .gpause .pbtn.botall:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ===== The first screen's tiles: art from Figma (assets/img/home), the words in the page. Text scales with the tile, as in Figma at 140 wide ===== */
.etiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; width: 100%; }
.lv .etile { all: unset; box-sizing: border-box; position: relative; display: block; aspect-ratio: 140 / 200; container-type: inline-size; color: #fff; text-align: center; cursor: pointer; border-radius: 24px; -webkit-tap-highlight-color: transparent; transition: transform .16s var(--e-ease), opacity .2s ease; }
.lv .etile.rules { grid-column: 1 / -1; aspect-ratio: 288 / 119; }
.etart { position: absolute; inset: 0; pointer-events: none; }
.etart img { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; max-width: none; }
.etart img.on { left: -21.43%; top: -11%; width: 142.86%; height: 127%; opacity: 0; transition: opacity .22s ease; }
.etile.rules .etart img.on { left: -10.42%; top: -18.49%; width: 120.83%; height: 145.38%; }
.ett { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; padding-top: 5.7cqw; font: 800 12.86cqw/1.2 var(--e-head); letter-spacing: -.02em; }
.ett .big { font-size: 20cqw; line-height: 1; }
.etile.lobby .ett .big { color: var(--e-yellow); }
.etile.bot .ett .big { color: var(--e-cyan); }
.etile.rules .ett { padding-top: 2.78cqw; font-size: 8.33cqw; }
.etile small { position: absolute; left: 5.7cqw; right: 5.7cqw; bottom: 9cqw; font: 400 8.57cqw/1.05 var(--e-body); letter-spacing: .01em; }
.etile.lobby small { color: #b1b1b1; }
.etile.bot small { color: #e4d8d8; }
@media (hover: hover) and (pointer: fine) {
  .lv .etile:not(:disabled):hover { z-index: 1; }
  .lv .etile:not(:disabled):hover .etart img.on { opacity: 1; }
}
.lv .etile:not(:disabled):active { transform: scale(.97); }
.lv .etile:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lv .etile:focus-visible .etart img.on { opacity: 1; }
.lv .etile:disabled { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: reduce) { .lv .etile { transition: opacity .2s ease; } .lv .etile:not(:disabled):active { transform: none; } }

/* The social links sit at the bottom of the first screen */
.lv.home .lvcol { flex: 1 1 auto; }
.lv.home > .lvcol { margin-top: 24px; } /* 48 from the header: the page gap plus this */
.lv.home .lvcol > .psocial { margin-top: auto; padding-top: 16px; }
body.lv-page .psocial a { color: rgba(255, 255, 255, .6); }
.lv.home .psocial a { width: 42px; height: 42px; }
.lv.home .psocial a svg { width: 22px; height: 22px; }

/* ===== The lobby ===== */
/* The seats */
body.lv-page .lvseats { gap: 4px; }
body.lv-page .lvseat { height: auto; aspect-ratio: 1 / 1; justify-content: center; border-radius: 12px; padding: 8px 4px; gap: 6px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.lv-page .lvseat:not(.open):not(.invited) { background: var(--e-panel); }
body.lv-page .lvseat b { font: 400 13px/16px var(--e-body); color: #fff; }
body.lv-page .lvseat small.gone { font-family: var(--e-body); color: var(--e-err); }
body.lv-page .lvseat .lav { border: 0; }
body.lv-page .lvseat.open { background: none; border: 1.5px dashed rgba(255, 255, 255, .75); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 8px 4px; }
body.lv-page .lvseat.open b { font: 400 12px/14px var(--e-body); color: rgba(255, 255, 255, .85); }
body.lv-page .lv .lvseat button.lvtag.small { padding: 0 10px; height: 28px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .2); color: #fff; font: 600 12px/1 var(--e-body); }
@media (hover: hover) { body.lv-page .lvseat.open.canfill:hover { background: rgba(255, 255, 255, .06); } body.lv-page .lv .lvseat button.lvtag.small:hover { background: rgba(255, 255, 255, .3); } }
body.lv-page .lvseat.invited { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .3); padding: 4px; gap: 2px; justify-content: center; }
body.lv-page .lvseat.invited b { font: 400 11px/13px var(--e-body); color: rgba(255, 255, 255, .5); }
body.lv-page .lvseat.invited small { font: 700 11px/13px var(--e-body); color: #fff; }
/* (close buttons have no background) */
body.lv-page .lv .lvseat button.lvx { right: 2px; top: 2px; width: 18px; height: 18px; background: none; color: #fff; }
body.lv-page .lv .lvseat button.lvx svg { width: 9px; height: 9px; }
@media (hover: hover) and (pointer: fine) { body.lv-page .lv .lvseat button.lvx:hover { background: none; color: var(--e-yellow); } }

/* The invite link */
body.lv-page .lvinvite { gap: 8px; }
body.lv-page .lvinvite .lvline { font: 400 15px/1.2 var(--e-body); color: var(--e-text); }
body.lv-page .lvinvite .lvlink { gap: 4px; }
body.lv-page .lvinvite .lvurl { height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: none; color: rgba(255, 251, 245, .7); font: 400 15px/38px var(--e-body); }
body.lv-page .lv .lvinvite button.lvcopy { width: 40px; height: 40px; border: 1px solid var(--e-line); border-radius: 16px; background: var(--e-glass); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
@media (hover: hover) and (pointer: fine) { body.lv-page .lv .lvinvite button.lvcopy:hover { } }
body.lv-page .lv .lvinvite button.lvcopy:active { background: var(--e-glass-lo); transform: scale(.96); }

/* The chat: the same glass as the table chat */
body.lv-page .lv section.lvchat { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)), rgba(0, 0, 0, .12); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.lv-page .lv.table .lvinvite + .lvchat { margin-top: 0; }
body.lv-page .lvhd { margin: 8px 8px 0; }
body.lv-page .lvhd .lvcname { font: 600 18px/1.2 var(--e-head); color: #fff; }
body.lv-page .lv button.lvcx { color: #fff; }
body.lv-page .lvsys span { font-family: var(--e-body); font-weight: 600; background: rgba(240, 235, 227, .3); }
body.lv-page .lvchat .gemoji { height: 40px; margin: 0 8px; background: rgba(255, 255, 255, .12); }
body.lv-page .lvcform { gap: 4px; padding: 8px; }
body.lv-page .lv input.lvcin { height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff; font-family: var(--e-body); }
body.lv-page .lv input.lvcin::placeholder { color: rgba(255, 255, 255, .55); }
body.lv-page .lv input.lvcin:focus { background: rgba(255, 255, 255, .26); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
body.lv-page .lv button.lvsend { width: 40px; height: 40px; }

/* Under the chat: Start (host) or the wait (guest) */
body.lv-page .lv.table .lvchat + .lvact, body.lv-page .lv.table .lvchat + .lvwait { margin-top: 4px; }
body.lv-page .lvact { gap: 10px; }
body.lv-page .lvnote { font: 400 13px/1.3 var(--e-body); color: #eee6dc; }
body.lv-page .lvnote.err { color: var(--e-err); }
body.lv-page .lvwait { height: 48px; justify-content: center; background: none; font: 600 16px/1 var(--e-body); color: #fff; }
body.lv-page .lvdots i, body.lv-page .lvdots i:nth-child(2), body.lv-page .lvdots i:nth-child(3) { width: 7px; height: 7px; background: #fff; }

/* ===== The sheets over the lobby (Fill this seat, Settings) and Settings in the page ===== */
body.lv-page .psheet { --panel-bg: var(--e-panel); background: var(--e-panel); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 -8px 30px rgba(0, 0, 0, .35); }
body.lv-page .gpause.lvinline .psheet { box-shadow: none; }
body.lv-page .psheet .ptitle { font: 600 18px/1.2 var(--e-head); color: #fff; text-transform: none; text-shadow: none; letter-spacing: 0; }
body.lv-page .psheet .px { color: #fff; background: none; }
body.lv-page .pdiv { align-self: stretch; width: auto; background: rgba(255, 255, 255, .18); }
body.lv-page .gpause .pbtn + .pbtn { margin-top: -4px; }
body.lv-page .gpause .pbgtitle { font: 400 15px/1.2 var(--e-body); color: var(--e-soft); }
body.lv-page .gpause .pbgrow { gap: 12px; }
body.lv-page .gpause button.bgsw { width: 56px; height: 56px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .12); }
body.lv-page .gpause button.bgsw.on { border-color: #fff; }
body.lv-page .prows { margin-top: 0; }
body.lv-page .prow { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); font: 600 16px/1.2 var(--e-head); color: #fff; }
/* The switch */
body.lv-page .ptoggle { width: 44px; height: 26px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
body.lv-page .ptoggle::after { top: 2px; left: 2px; width: 22px; height: 22px; border: 0; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
body.lv-page .ptoggle.on { background: linear-gradient(180deg, #ffe36b, #f7b500); box-shadow: inset 0 -2px 0 rgba(168, 106, 0, .35); }
body.lv-page .ptoggle.on::after { transform: translateX(18px); }

/* The keyboard is open for the chat (phone): the chat keeps the blue panel and sits under the top bar (back and the logo stay in view), down to the keyboard */
@media (max-width: 700px) {
  body.lv-page .lv.kb .lvchat:not(.shut) { top: calc(var(--vvt, 0px) + max(12px, env(safe-area-inset-top, 0px)) + 56px); left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); height: calc(var(--vvh, 100dvh) - max(12px, env(safe-area-inset-top, 0px)) - 64px) !important; background: var(--e-panel); border: 1px solid rgba(255, 255, 255, .14); }
  body.lv-page .lv.kb::before { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* (what the chat covers is not seen around it) */
  body.lv-page .lv.kb > .lvcol > :not(.lvchat) { visibility: hidden; }
}

/* ===== Profiles, Friends, Edit profile and Registration before sitting down: the panel's own top bar above, blue glass cards below
   (Figma "My profile · E", "Friends profile · E", "My friends · E", "Edit profile · E"). In the game's sheets the first card's wrapper does nothing. ===== */
.pcard { display: contents; }
body.lv-page {
  --e-blue: linear-gradient(160deg, rgba(22, 140, 200, .62) 0%, rgba(14, 64, 94, .36) 45%, rgba(16, 22, 28, .15) 100%), #151c23;
}
body.lv-page .lv.acct .lvcol { gap: 16px; }
body.lv-page .lv .lvcard.lvreg { align-items: stretch; gap: 16px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) :is(.pcard, .wsong, .psess, .plist, .preg) { padding: 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: var(--e-blue); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* The top bar: back, the title (and when they joined), and edit / ⋮ / close */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) > .phead { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 8px; height: auto; min-height: 40px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) > .phead > i { width: 40px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore) { box-sizing: border-box; width: 40px; height: 40px; border-radius: 16px; border: 1px solid var(--e-line); background: var(--e-glass); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; transition: background .15s ease, transform .12s var(--e-ease); }
@media (hover: hover) and (pointer: fine) { #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore):hover { color: #fff; } }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore):active { background: var(--e-glass-lo); transform: scale(.96); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead .pback svg { width: 10px; height: 16px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead .pedit svg { width: 20px; height: 20px; }
/* (close buttons have no background) */
body.lv-page .lv .lvreg .phead .px { width: 40px; height: 40px; color: #fff; background: none; }
body.lv-page .lv .lvreg .phead .px svg { width: 22px; height: 22px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead .pmenu { top: 46px; }
body.lv-page .lv .lvreg .puser, body.lv-page .lv .lvreg .phead .ptitle { margin: 0; font: 800 20px/1.15 var(--e-head); letter-spacing: -.01em; color: #fff; text-align: center; text-transform: none; text-shadow: none; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pjoined { margin-top: 2px; font: 400 13px/1.2 var(--e-body); color: var(--e-faint); }
body.lv-page .lv .lvreg > .ptitle { margin: 0; min-height: 40px; display: flex; align-items: center; justify-content: center; font: 800 20px/1.15 var(--e-head); color: #fff; text-transform: none; text-shadow: none; }

/* The profile card: the avatar and the numbers, the name and the bio */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pprof { gap: 16px; padding: 0; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pcard { display: flex; flex-direction: column; gap: 10px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pmerow { gap: 16px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pstats { gap: 20px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pstat { gap: 2px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pstat b { font: 700 17px/1.2 var(--e-head); color: #fff; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pstat small { font: 400 14px/1.2 var(--e-body); color: rgba(255, 255, 255, .6); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pstat.gold b, body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pstat.gold small { color: var(--e-gold); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pwho { gap: 6px; padding: 0; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pnamerow { height: auto; min-height: 26px; flex-wrap: wrap; row-gap: 6px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pnamerow .pname { flex: 0 1 auto; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pwho .pname { font: 800 21px/1.2 var(--e-head); letter-spacing: -.01em; color: #fff; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pbio { font: 400 15px/1.4 var(--e-body); color: rgba(255, 255, 255, .8); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pbadge { padding: 4px 10px; font: 600 13px/1 var(--e-body); }

/* Win song */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsong { gap: 10px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) :is(.wsongt, .psesst) { margin: 0; font: 400 15px/1.2 var(--e-body); color: rgba(255, 255, 255, .72); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsrow { gap: 10px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsprof { display: flex; flex-direction: column; gap: 10px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsart { width: 44px; height: 44px; border-radius: 6px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wswho b { font: 400 17px/1.25 var(--e-body); color: #fff; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wswho small { font: 400 14px/1.25 var(--e-body); color: rgba(255, 255, 255, .6); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .3); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); color: #fff; font: 600 14px/1 var(--e-head); box-shadow: none; }
@media (hover: hover) { #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag:not(:disabled):not(.on):hover { } }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag.on { background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); border-color: rgba(255, 246, 196, .6); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsbtns { gap: 6px; }

/* Last 5 sessions */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .psess { gap: 12px; margin: 0; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .psess .psesst { margin: 0; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pswho b { font: 400 15px/1.2 var(--e-body); color: #fff; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pswho small { font: 400 12px/1.2 var(--e-body); color: rgba(255, 255, 255, .5); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .psscore { font-family: var(--e-body); color: rgba(255, 255, 255, .6); }

/* Signed out, on someone's profile: the sign-up under the cards */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinvite { font: 400 14px/1.3 var(--e-body); color: var(--e-soft); text-align: center; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinvite b { color: var(--e-gold); }

/* Friends: the search and the rows */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .plist { gap: 16px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .psearch .pfield { padding-left: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") 14px 50% / 20px no-repeat, linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfriends { gap: 4px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfriend { gap: 16px; min-height: 56px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfwho .pname { font: 700 18px/1.2 var(--e-head); color: #fff; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfwho small { font: 400 14px/1.2 var(--e-body); color: rgba(255, 255, 255, .55); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfstat { gap: 8px; font: 400 14px/1.2 var(--e-body); color: rgba(255, 255, 255, .75); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfstat i { width: 8px; height: 8px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfhint { font: 400 13px/1.3 var(--e-body); color: rgba(255, 255, 255, .6); text-align: center; }
@media (hover: hover) { #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfriend:hover .pname { color: var(--e-yellow); } }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pnone b { font-family: var(--e-head); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pnone p { font-family: var(--e-body); }

/* Edit profile and Registration: labelled fields in the card */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .preg { gap: 16px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .preg .phint { margin: -8px 0 0; font: 400 13px/1.3 var(--e-body); color: var(--e-gold); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinput { gap: 8px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinput > span { font: 400 15px/1.2 var(--e-body); color: rgba(255, 255, 255, .8); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinput > small, body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .preg .pcount2 { font: 400 13px/1.3 var(--e-body); color: rgba(255, 255, 255, .55); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .preg .pcount2 { margin-top: -10px; text-align: right; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinput.bad > small { color: var(--e-err); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfield { height: 48px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); color: #fff; font: 400 17px/1.3 var(--e-body); transition: border-color .15s ease, box-shadow .15s ease; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) textarea.pfield { height: 112px; padding: 14px 16px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfield::placeholder { color: rgba(255, 255, 255, .45); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfield:focus { border-color: rgba(255, 255, 255, .9); box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); outline: none; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pinput.bad .pfield { border-color: #ff5a5f !important; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pselect::after { right: 20px; border-color: rgba(255, 255, 255, .8); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pcheck span { font: 400 13px/1.35 var(--e-body); color: rgba(255, 255, 255, .75); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pcheck.on i { background: linear-gradient(180deg, #ffe36b, #f7b500); border-color: rgba(168, 106, 0, .6); color: var(--e-ink); }
body.lv-page .lv .lvreg .pdelete { font: 400 14px/1.2 var(--e-body); color: var(--e-err); }
body.lv-page .lv .lvreg .ptext { font: 400 15px/1.4 var(--e-body); color: rgba(255, 255, 255, .8); }
/* The save button is the yellow one, Close / Cancel the ghost */
body.lv-page .lv .lvreg .pbtn.go { height: 48px; margin-top: 4px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); font: 600 18px/1 var(--e-head); box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 6px 18px rgba(255, 184, 0, .35), 0 2px 4px rgba(0, 0, 0, .3); }
body.lv-page .lv .lvreg .pbtn.go:hover:not(:disabled) { filter: none; box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 8px 24px rgba(255, 184, 0, .55), 0 2px 4px rgba(0, 0, 0, .3); }
body.lv-page .lv .lvreg .pbtn.go:active:not(:disabled) { background: linear-gradient(180deg, #edae00, #d49c00); transform: translateY(1px); }
body.lv-page .lv .lvreg .pbtn.go:disabled { opacity: .4; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); box-shadow: none; }
body.lv-page .lv .lvreg .pbtn.line { height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); color: #fff; font: 600 18px/1 var(--e-head); }
body.lv-page .lv .lvreg .pbtn.line:hover { }
body.lv-page .lv .lvreg .pbtn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* The avatar picker (Edit profile, Registration): a light glass box of emoji, nothing behind them; the one picked is a little bigger */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .ppick { gap: 16px; margin-top: 0; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .ppick .pavatars { grid-template-columns: repeat(9, 24px); height: 104px; padding: 12px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .06); }
body.lv-page .lv .lvreg .ppick .pavatars button { width: 24px; height: 24px; font-size: 21px; line-height: 24px; border-radius: 0; background: none; box-shadow: none; transition: transform .14s var(--e-ease); }
body.lv-page .lv .lvreg .ppick .pavatars button.on { background: none; box-shadow: none; transform: scale(1.18); }
@media (hover: hover) and (pointer: fine) { body.lv-page .lv .lvreg .ppick .pavatars button:hover { transform: scale(1.12); } }
body.lv-page .lv .lvreg .ppick .pavatars button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pcolors { gap: 8px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pcolors > span { font: 400 15px/1.2 var(--e-body); color: rgba(255, 255, 255, .8); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pcolrow button { width: 24px; height: 24px; }

/* The round buttons of a song (play / pause, remove): round glass, not pills */
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag.wsplay { width: 32px; height: 32px; padding: 0; border-radius: 50%; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag svg { width: 11px; height: 12px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag.wsplaylbl svg { width: 9px; height: 10px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsbadge { height: 32px; border-radius: 6px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsbadge img { width: auto; height: 32px; }

/* Pick a custom win song */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wspick { gap: 14px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsintro { padding: 0; font: 400 14px/1.35 var(--e-body); color: rgba(255, 255, 255, .72); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsfind { gap: 10px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsexplicit { gap: 8px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsexplicit i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsexplicit.on i { background: linear-gradient(180deg, #ffe36b, #f7b500); border-color: rgba(168, 106, 0, .6); color: var(--e-ink); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsexplicit span { font: 400 14px/1.2 var(--e-body); color: rgba(255, 255, 255, .72); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wslist { gap: 6px; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wslist .wsitem { min-height: 56px; gap: 10px; padding: 6px; border-radius: 12px; outline: 0; transition: background .15s ease; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wslist .wsitem.playing { background: rgba(255, 207, 33, .1); box-shadow: inset 0 0 0 1px rgba(255, 207, 33, .5); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wspicked { gap: 10px; margin-bottom: 4px; padding: 10px; border-radius: 16px; outline: 0; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wspicked .wsitem { padding: 0; min-height: 0; background: none; box-shadow: none; }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsnote { font: 400 14px/1.35 var(--e-body); color: rgba(255, 255, 255, .7); }
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wsnote.err { color: var(--e-err); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pclear { color: rgba(255, 255, 255, .7); }

/* Delete my account: the red twin of the yellow button */
body.lv-page .lv .lvreg .pbtn.danger { box-sizing: border-box; width: 100%; height: 48px; margin: 4px 0 0; padding: 0 24px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #ff6b70, #d9363e); color: #fff; font: 600 18px/1 var(--e-head); letter-spacing: -.01em; box-shadow: inset 0 0 0 1px rgba(255, 196, 198, .45), inset 0 1.5px 0 rgba(255, 255, 255, .35), inset 0 -2.5px 0 rgba(120, 10, 20, .45), 0 6px 18px rgba(255, 70, 80, .3), 0 2px 4px rgba(0, 0, 0, .3); transition: transform .12s var(--e-ease), background .15s ease; }
@media (hover: hover) and (pointer: fine) { body.lv-page .lv .lvreg .pbtn.danger:hover:not(:disabled) { filter: none; } }
body.lv-page .lv .lvreg .pbtn.danger:active:not(:disabled) { background: linear-gradient(180deg, #e84c52, #bf2a32); transform: translateY(1px); }
body.lv-page .lv .lvreg .pbtn.danger:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.lv-page .lv .lvreg .pbtn.danger:disabled { opacity: .4; box-shadow: none; }

/* The ⋮ menu on a player's profile: a small blue glass panel */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead .pmenu { top: 48px; width: 200px; gap: 2px; padding: 6px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: linear-gradient(160deg, rgba(30, 120, 170, .45), rgba(14, 50, 72, .25) 60%), #121920; box-shadow: 0 16px 40px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform-origin: top right; animation: epop .16s var(--e-ease); }
@keyframes epop { from { opacity: 0; transform: scale(.94); } }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pmenu button { height: 44px; padding: 0 12px; border-radius: 10px; font: 600 15px/1.2 var(--e-body); color: #fff; }
@media (hover: hover) and (pointer: fine) { #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pmenu button:not(:disabled):hover { background: rgba(255, 255, 255, .1); } }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pmenu button:active { background: rgba(255, 255, 255, .06); }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pmenu button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pmenu button.red { color: var(--e-err); }
@media (prefers-reduced-motion: reduce) { body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead .pmenu { animation: none; } }

/* Report, Thanks and the team’s messages (notices.ts), on every page, the table too: the blue panel, the E type and buttons */
body .fxn-veil { background: rgba(6, 10, 14, .6); }
body .fxn-box { width: min(328px, 100%); gap: 16px; padding: 16px 16px 20px; border: 1px solid rgba(255, 255, 255, .16); background: var(--e-panel); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); font-family: var(--e-body); }
body .fxn-box h2 { min-height: 40px; padding: 0 40px; font: 800 20px/1.15 var(--e-head); letter-spacing: -.01em; text-transform: none; text-shadow: none; color: #fff; }
body .fxn-box p { font: 400 15px/1.4 var(--e-body); color: rgba(255, 255, 255, .78); }
body .fxn-x, body button.fxn-x { top: 16px; right: 12px; width: 40px; height: 40px; color: #fff; }
body .fxn-box .fxn-reasons button { min-height: 48px; padding: 12px 16px; border: 1px solid var(--e-line); background: var(--e-glass); font: 600 15px/1.25 var(--e-body); color: #fff; transition: background .15s ease, border-color .15s ease; }
@media (hover: hover) and (pointer: fine) { body .fxn-box .fxn-reasons button:hover { } }
body .fxn-box .fxn-reasons button.on { background: rgba(255, 207, 33, .14); border-color: var(--e-yellow); }
body .fxn-box :is(.fxn-reasons button, .fxn-go, textarea):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body .fxn-box textarea { min-height: 96px; padding: 12px 16px; border: 1px solid var(--e-line); background: rgba(255, 255, 255, .06); font: 400 16px/1.35 var(--e-body); color: #fff; }
body .fxn-box textarea::placeholder { color: rgba(255, 255, 255, .5); }
body .fxn-box textarea:focus { border-color: rgba(255, 255, 255, .6); }
body .fxn-count { margin: -10px 0 0; font: 400 12px/1 var(--e-body); color: rgba(255, 255, 255, .5); }
body .fxn-box .fxn-go { height: 48px; margin-top: 4px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); font: 600 18px/1 var(--e-head); letter-spacing: -.01em; box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 6px 18px rgba(255, 184, 0, .35), 0 2px 4px rgba(0, 0, 0, .3); }
body .fxn-box .fxn-go:active:not(:disabled) { background: linear-gradient(180deg, #edae00, #d49c00); transform: translateY(1px); }
body .fxn-box .fxn-go:disabled { opacity: .4; box-shadow: none; }
body .fxn-err { color: var(--e-err) !important; font-weight: 600 !important; }

/* ===== In game (Figma "In game · E"): Settings, the pause states, Leave this game?, the chat (the sheet on a phone, the dock on a wide screen).
   The game's own look (cards, seats, the action bar) is untouched; only these panels move to the blue panel, the E type and the E buttons. ===== */

/* The sheet: Settings and every state of a pause (also over the lobby, where the page's own rules win where they differ) */
body .gpause .psheet { --panel-bg: var(--e-panel); background: var(--e-panel); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 36px rgba(0, 0, 0, .45); color: #fff; font-family: var(--e-body); }
body .gpause .pinner { gap: 16px; padding: 16px; }
body .gpause .ptitle { font: 600 18px/1.2 var(--e-head); letter-spacing: 0; color: #fff; text-transform: none; text-shadow: none; }
body .gpause .psheet[data-kind="settings"] .phead { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
body .gpause .psheet .px { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: none; }
body .gpause .psheet .px svg { width: 22px; height: 22px; }
body .gpause .ptitle + .ptext { margin-top: -6px; }
body .gpause .ptext { font: 400 15px/1.4 var(--e-body); color: rgba(255, 255, 255, .78); }
body .gpause .ptext b { font-weight: 700; color: #fff; }
body .gpause .ptime { gap: 2px; }
body .gpause .ptime .pclock { font: 800 40px/1.05 var(--e-head); letter-spacing: -.02em; color: #fff; }
body .gpause .pcount { font: 600 14px/1.3 var(--e-body); letter-spacing: 0; color: rgba(255, 255, 255, .7); }
body .gpause .ptime .pcount { opacity: 1; }
/* The countdown: a yellow arc on a faint ring, nothing filled behind the number */
body .gpause .pring { width: 64px; height: 64px; background: none; }
body .gpause .pring::before { inset: 0; background: conic-gradient(var(--e-yellow) var(--p), rgba(255, 255, 255, .18) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px)); }
body .gpause .pring b { font: 800 22px/1 var(--e-head); letter-spacing: -.02em; }

/* The buttons: yellow (Pause, I'm ready, Accept), glass (My profile, Open chat, Decline), plain (Quit session) */
body .gpause .pbtn { height: 48px; border: 0; border-radius: 16px; font: 600 18px/1 var(--e-head); letter-spacing: -.01em; }
body .gpause .pinner > .pbtn + .pbtn { margin-top: -8px; }
body .gpause .pgroup .pbtn + .pbtn { margin-top: 0; }
body .gpause :is(.pbtn.go, .pbtn.gold) { border: 0; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 6px 18px rgba(255, 184, 0, .35), 0 2px 4px rgba(0, 0, 0, .3); }
@media (hover: hover) and (pointer: fine) { body .gpause :is(.pbtn.go, .pbtn.gold):hover:not(:disabled) { filter: none; box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 8px 24px rgba(255, 184, 0, .55), 0 2px 4px rgba(0, 0, 0, .3); } }
body .gpause :is(.pbtn.go, .pbtn.gold):active:not(:disabled) { background: linear-gradient(180deg, #edae00, #d49c00); box-shadow: inset 0 0 0 1px rgba(168, 106, 0, .6), inset 0 2px 4px rgba(0, 0, 0, .28); transform: translateY(1px); }
body .gpause :is(.pbtn.go, .pbtn.gold):disabled { opacity: .4; box-shadow: none; }
body .gpause :is(.pbtn.teal, .pbtn.line) { border: 1px solid rgba(255, 255, 255, .3); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); color: #fff; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { body .gpause :is(.pbtn.teal, .pbtn.line):hover:not(:disabled) { filter: none; box-shadow: none; } }
body .gpause :is(.pbtn.teal, .pbtn.line):active:not(:disabled) { background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); transform: scale(.98); box-shadow: none; }
body .gpause .pbtn.line:disabled { opacity: .5; }
body .gpause .pbtn.plain { height: 44px; font-size: 16px; color: #fff; background: none; }
@media (hover: hover) and (pointer: fine) { body .gpause .pbtn.plain:hover { background: rgba(255, 255, 255, .06); } }
body .gpause .pbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Background, Sound effects, the social links */
body .gpause .pbgtitle { font: 400 15px/1.2 var(--e-body); color: rgba(255, 255, 255, .72); }
body .gpause .pbgrow { gap: 12px; }
body .gpause button.bgsw { width: 56px; height: 56px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .12); }
body .gpause button.bgsw.on { border-color: #fff; }
body .gpause .prows { margin-top: 0; }
body .gpause .prow { height: auto; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); font: 600 16px/1.2 var(--e-head); color: #fff; }
body .gpause .ptoggle { width: 44px; height: 26px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); }
body .gpause .ptoggle::after { top: 2px; left: 2px; width: 22px; height: 22px; border: 0; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
body .gpause .ptoggle.on { background: linear-gradient(180deg, #ffe36b, #f7b500); box-shadow: inset 0 -2px 0 rgba(168, 106, 0, .35); }
body .gpause .ptoggle.on::after { transform: translateX(18px); }
body .gpause .psocial a { color: rgba(255, 255, 255, .7); }

/* Leave this game? (and any other .modalbox): the blue panel, the buttons stacked */
#app .modalbox { max-width: 328px; gap: 16px; padding: 16px; border: 1px solid rgba(255, 255, 255, .14); background: var(--e-panel); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); color: #fff; }
@media (min-width: 701px) { #app .modalbox { max-width: 360px; } }
#app .modalbox .mhead { height: 40px; padding-left: 40px; }
#app .modalbox h2 { font: 600 18px/1.2 var(--e-head); letter-spacing: 0; color: #fff; text-transform: none; text-shadow: none; }
#app .modalbox .mx { width: 40px; height: 40px; color: #fff; }
@media (hover: hover) { #app .modalbox .mx:hover { color: #fff; opacity: .75; } }
#app .modalbox .mx svg { width: 22px; height: 22px; }
#app .modalbox p { font: 400 15px/1.4 var(--e-body); color: rgba(255, 255, 255, .78); }
#app .modalbox .mbtns { flex-direction: column; gap: 8px; }
#app .modalbox .mbtn { flex: none; height: 48px; border: 0; font: 600 18px/1 var(--e-head); letter-spacing: -.01em; }
#app .modalbox .mbtn.danger { border: 0; background: linear-gradient(180deg, #ff6b70, #d9363e); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 196, 198, .45), inset 0 1.5px 0 rgba(255, 255, 255, .35), inset 0 -2.5px 0 rgba(120, 10, 20, .45), 0 6px 18px rgba(255, 70, 80, .3), 0 2px 4px rgba(0, 0, 0, .3); }
@media (hover: hover) and (pointer: fine) { #app .modalbox .mbtn.danger:hover { } }
#app .modalbox .mbtn.line { border: 1px solid rgba(255, 255, 255, .3); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); color: #fff; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { #app .modalbox .mbtn.line:hover { } }

/* The chat: on a phone a sheet that floats 8px above the bottom; on a wide screen the dock, bottom left */
.gchat { padding-bottom: max(8px, env(safe-area-inset-bottom, 0px)); }
/* (the chat is the same glass as the action panel) */
html body #app .gchat .gsheet { gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)), rgba(0, 0, 0, .12); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; font-family: var(--e-body); }
html body #app .tbl section.gdock { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)), rgba(0, 0, 0, .12); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; font-family: var(--e-body); }
.gchat .ghead { height: 40px; }
.gchat .ghead b { font: 600 18px/1.2 var(--e-head); }
.gchat .gx { right: 0; width: 40px; height: 40px; }
.gchat .gx svg { width: 22px; height: 22px; }
.tbl .gdock .gdh { border-bottom: 0; }
.tbl .gdock .gdh b { font: 600 16px/1 var(--e-head); }
/* It's your turn: the yellow strip */
.gchat .gturn { padding: 8px 8px 8px 10px; gap: 10px; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45); }
.gchat .gturnt { font: 700 16px/1.2 var(--e-body); color: var(--e-ink); }
.gchat .gturn .tring { --c: var(--e-ink); }
.gchat .gturn .tring b { color: var(--e-ink); }
.gchat .gtag { padding: 8px 12px; border-radius: 99px; background: rgba(43, 29, 0, .14); color: var(--e-ink); font: 600 13px/1 var(--e-body); }
/* The messages */
:is(.gchat, .gdock) .lvsys span { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .2); font-family: var(--e-body); font-weight: 600; }
:is(.gchat, .gdock) .lvmn { font-family: var(--e-body); font-weight: 700; }
:is(.gchat, .gdock) .lvb { font-family: var(--e-body); font-weight: 600; border-radius: 16px 16px 16px 4px; }
:is(.gchat, .gdock) .lvm.mine .lvb { border-radius: 16px 16px 4px 16px; }
/* The emoji row, the field and the round buttons */
.gchat .gemoji, .tbl .gdock .gemoji { background: rgba(255, 255, 255, .12); }
html body :is(.gchat, .gdock) input.gin { padding: 0 16px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff; font-family: var(--e-body); }
html body :is(.gchat, .gdock) input.gin::placeholder { color: rgba(255, 255, 255, .55); }
html body :is(.gchat, .gdock) input.gin:focus { border: 0; background: rgba(255, 255, 255, .26); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
html body :is(.gsheet, .gdock) :is(.gsmile, .gsounds) { border: 1px solid rgba(255, 255, 255, .3); background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .09)); color: #fff; }
@media (hover: hover) and (pointer: fine) { html body :is(.gsheet, .gdock) :is(.gsmile, .gsounds):hover:not(:disabled) { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .12)); } }
html body :is(.gsheet, .gdock) :is(.gsmile, .gsounds).on { background: rgba(255, 255, 255, .22); }
/* The send button, lobby and table alike (Figma "Chat input · E"): a dark round button, darker than the field, with an even faint rim and the filled paper plane */
html body :is(.gsheet, .gdock) .gsend, body.lv-page .lv button.lvsend { border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .06)); color: #fff; }
@media (hover: hover) and (pointer: fine) { html body :is(.gsheet, .gdock) .gsend:hover:not(:disabled), body.lv-page .lv button.lvsend:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .1)); } }
html body :is(.gsheet, .gdock) .gsend:disabled { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .3); opacity: 1; }
/* (the plane sits a little right of centre, as in Figma, so it looks centred: its point is thin and its tail is wide) */
html body :is(.gchat, .gdock) .gsend svg, body.lv-page .lvsend svg { width: 14px; height: 13px; transform: translateX(1.5px); }
.gchat .gsend svg, body.lv-page .lvsend svg { width: 16px; height: 15px; }
html body .gchat .gform, body.lv-page .lvcform { gap: 4px; }

/* ===== The action bar (Figma "In game · Your turn · E", "In game · Play again · E"): the bar at the bottom of a phone, the panel bottom right on a wide screen.
   The main action is the yellow button, every other one is glass; my turn rims the panel in yellow. ===== */
/* (the glass of the square side buttons, Figma "Actions panel · glass": it takes on the background's colour; the blur, strong enough that the dots never show through, and a dark
   wash under the glass keep the text readable on any background) */
html body .tbl .tbar { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)), rgba(0, 0, 0, .12); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); font-family: var(--e-body); -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; }
html body .tbl .tbar.myturn { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)), rgba(0, 0, 0, .12); border: 1px solid rgba(255, 207, 33, .9); box-shadow: 0 0 16px rgba(255, 221, 0, .45), 0 4px 12px rgba(0, 0, 0, .25); }
html body .tbl .tbar.myturn::before { display: none; }
/* Phone: one line of help over the buttons */
.tbl .tbar .tline { font: 400 calc(var(--u) * 14) / calc(var(--u) * 20) var(--e-body); color: #fff; }
.tbl .tbar .tline em { font-weight: 700; color: var(--e-yellow); }
/* Wide screen: the header (the turn ring or the letter, the title) and two lines of help */
.tbl .tbar .thdr { border-bottom-color: rgba(255, 255, 255, .12); }
.tbl .tbar .htitle { font: 600 calc(var(--u) * 18) / 1.15 var(--e-head); color: #fff; }
.tbl .tbar .tletter { border: 0; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); font: 800 calc(var(--u) * 20) / 1 var(--e-head); box-shadow: inset 0 -2px 0 rgba(168, 106, 0, .4); }
.tbl .tbar .tlead { font: 700 calc(var(--u) * 14) / 1.35 var(--e-body); color: var(--e-yellow); }
.tbl .tbar .tdesc { font: 400 calc(var(--u) * 14) / 1.35 var(--e-body); color: #fff; }
/* The buttons: glass by default */
html body .tbl .tactions button { height: calc(var(--u) * 48); padding: 0 calc(var(--u) * 20); border: 1px solid rgba(255, 255, 255, .3); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .09)); color: #fff; font: 600 calc(var(--u) * 17) / 1 var(--e-head); letter-spacing: -.01em; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); filter: none; transition: transform .12s var(--e-ease), background .15s ease, box-shadow .15s ease, opacity .2s ease; }
html body .tbl .tactions.tight button { padding: 0 calc(var(--u) * 12); }
@media (hover: hover) and (pointer: fine) { html body .tbl .tactions button:hover:not(:disabled) { filter: none; transform: none; box-shadow: none; } }
html body .tbl .tactions button:active:not(:disabled) { transform: scale(.98); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: none; }
html body .tbl .tactions button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* The main action: Say FOMO, Play again, playing a special card, Throw at random, Resume game */
html body .tbl .tactions button:is([data-act="next"], [data-act="cancel"], [data-act="throwRandom"], [data-act="togglePause"], [data-act="playSeen"], [data-act="modeSwap"], [data-act="playPlotTwist"], [data-act="modeThrowback"], [data-act="playGhosted"], .primary, .donebtn) { border: 0; background: linear-gradient(180deg, #ffe36b, #f7b500); color: var(--e-ink); box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 6px 18px rgba(255, 184, 0, .35), 0 2px 4px rgba(0, 0, 0, .3); }
@media (hover: hover) and (pointer: fine) { html body .tbl .tactions button:is([data-act="next"], [data-act="cancel"], [data-act="throwRandom"], [data-act="togglePause"], [data-act="playSeen"], [data-act="modeSwap"], [data-act="playPlotTwist"], [data-act="modeThrowback"], [data-act="playGhosted"], .primary, .donebtn):hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(255, 246, 196, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(168, 106, 0, .45), 0 8px 24px rgba(255, 184, 0, .55), 0 2px 4px rgba(0, 0, 0, .3); } }
html body .tbl .tactions button:is([data-act="next"], [data-act="cancel"], [data-act="throwRandom"], [data-act="togglePause"], [data-act="playSeen"], [data-act="modeSwap"], [data-act="playPlotTwist"], [data-act="modeThrowback"], [data-act="playGhosted"], .primary, .donebtn):active:not(:disabled) { transform: translateY(1px); background: linear-gradient(180deg, #edae00, #d49c00); box-shadow: inset 0 0 0 1px rgba(168, 106, 0, .6), inset 0 2px 4px rgba(0, 0, 0, .28); }
/* Not now (Say FOMO while it isn't my turn, and the like): faded, flat */
html body .tbl .tactions button:disabled, html body .tbl .tactions button:disabled:is([data-act], .primary, .donebtn) { opacity: .5; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .75); box-shadow: none; cursor: default; transform: none; }
html body .tbl .tbar.ghosted .tactions button:hover { box-shadow: none !important; }

/* ===== Clean edges, everywhere: each container has one 1px light edge and nothing else. The fill stops inside the border (so the border is not
   drawn over the panel's own gradient, which made it a brighter, thicker line at the top left), and the solid panels have no backdrop blur
   (their fill is opaque, so the blur only smeared a dark halo round the rounded corners). ===== */
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) :is(.pcard, .wsong, .psess, .plist, .preg, .wspicked), body.lv-page .lvseat, body.lv-page .lv section.lvchat, body.lv-page .lv.kb .lvchat:not(.shut),
body .psheet, body.lv-page .psheet, body .fxn-box, #app .modalbox, 
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead .pmenu {
  background-clip: padding-box !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
/* The glass bits (buttons, fields, rows) keep their blur but also keep their fill inside the border (!important: their hover and pressed states set the background shorthand again) */
.lv button.eib, #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore), #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag, #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .pfield, body.lv-page .lv .lvinput,
body.lv-page .lv .lvinvite button.lvcopy, body.lv-page .lvinvite .lvurl, body.lv-page .lv .lvreg .pbtn.line, body.lv-page #app .gpause .pbtn.botall, body.lv-page .lv button.lvsend,
body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .ppick .pavatars, body.lv-page .prow, body .gpause .prow, body .gpause :is(.pbtn.teal, .pbtn.line), #app .modalbox .mbtn.line, body .fxn-box .fxn-reasons button,
body .fxn-box textarea, html body .tbl .tactions button, html body :is(.gsheet, .gdock) :is(.gsend, .gsmile, .gsounds), #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .psearch .pfield {
  background-clip: padding-box !important;
}

/* ===== Hover: never a snap. The lighter fill of a hovered button is a white layer behind its label that fades in over 200ms, ease-in (and back out
   over 200ms, ease-out); its glow grows on the same curve. (Gradients can't be faded into one another, so the hover rules no longer swap the fill.)
   A press hides the layer at once, so the pressed colour is the true one. ===== */
.lv button.eib, body.lv-page #app .pgoogle, body.lv-page .lv button.lvbtn, body.lv-page #app .gpause .pbtn.bot, body.lv-page #app .gpause .pbtn.botall,
body.lv-page .lv .lvinvite button.lvcopy, #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore), #app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag,
body.lv-page .lv .lvreg :is(.pbtn.go, .pbtn.line, .pbtn.danger), body .fxn-box :is(.fxn-reasons button, .fxn-go), body .gpause .pbtn, #app .modalbox .mbtn, html body .tbl .tactions button { position: relative; isolation: isolate; }
.lv button.eib::after,
body.lv-page #app .pgoogle::after,
body.lv-page .lv button.lvbtn::after,
body.lv-page #app .gpause .pbtn.bot::after,
body.lv-page #app .gpause .pbtn.botall::after,
body.lv-page .lv .lvinvite button.lvcopy::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore)::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag::after,
body.lv-page .lv .lvreg :is(.pbtn.go, .pbtn.line, .pbtn.danger)::after,
body .fxn-box :is(.fxn-reasons button, .fxn-go)::after,
body .gpause .pbtn::after,
#app .modalbox .mbtn::after,
html body .tbl .tactions button::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, .12); opacity: 0; pointer-events: none; transition: opacity .2s ease-out;
}
@media (hover: hover) and (pointer: fine) {
.lv button.eib:hover:not(:disabled)::after,
body.lv-page #app .pgoogle:hover:not(:disabled)::after,
body.lv-page .lv button.lvbtn:hover:not(:disabled)::after,
body.lv-page #app .gpause .pbtn.bot:hover:not(:disabled)::after,
body.lv-page #app .gpause .pbtn.botall:hover:not(:disabled)::after,
body.lv-page .lv .lvinvite button.lvcopy:hover:not(:disabled)::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore):hover:not(:disabled)::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag:hover:not(:disabled)::after,
body.lv-page .lv .lvreg :is(.pbtn.go, .pbtn.line, .pbtn.danger):hover:not(:disabled)::after,
body .fxn-box :is(.fxn-reasons button, .fxn-go):hover:not(:disabled)::after,
body .gpause .pbtn:hover:not(:disabled)::after,
#app .modalbox .mbtn:hover:not(:disabled)::after,
html body .tbl .tactions button:hover:not(:disabled)::after { opacity: 1; transition: opacity .2s ease-in; }
.lv button.eib:hover:not(:disabled),
body.lv-page #app .pgoogle:hover:not(:disabled),
body.lv-page .lv button.lvbtn:hover:not(:disabled),
body.lv-page #app .gpause .pbtn.bot:hover:not(:disabled),
body.lv-page #app .gpause .pbtn.botall:hover:not(:disabled),
body.lv-page .lv .lvinvite button.lvcopy:hover:not(:disabled),
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore):hover:not(:disabled),
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag:hover:not(:disabled),
body.lv-page .lv .lvreg :is(.pbtn.go, .pbtn.line, .pbtn.danger):hover:not(:disabled),
body .fxn-box :is(.fxn-reasons button, .fxn-go):hover:not(:disabled),
body .gpause .pbtn:hover:not(:disabled),
#app .modalbox .mbtn:hover:not(:disabled),
html body .tbl .tactions button:hover:not(:disabled) { transition: transform .12s var(--e-ease), box-shadow .2s ease-in, opacity .2s ease; }
}
.lv button.eib:active::after,
body.lv-page #app .pgoogle:active::after,
body.lv-page .lv button.lvbtn:active::after,
body.lv-page #app .gpause .pbtn.bot:active::after,
body.lv-page #app .gpause .pbtn.botall:active::after,
body.lv-page .lv .lvinvite button.lvcopy:active::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore):active::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag:active::after,
body.lv-page .lv .lvreg :is(.pbtn.go, .pbtn.line, .pbtn.danger):active::after,
body .fxn-box :is(.fxn-reasons button, .fxn-go):active::after,
body .gpause .pbtn:active::after,
#app .modalbox .mbtn:active::after,
html body .tbl .tactions button:active::after { opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .lv button.eib::after,
body.lv-page #app .pgoogle::after,
body.lv-page .lv button.lvbtn::after,
body.lv-page #app .gpause .pbtn.bot::after,
body.lv-page #app .gpause .pbtn.botall::after,
body.lv-page .lv .lvinvite button.lvcopy::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .phead :is(.pback, .pedit, .pmore)::after,
#app :is(body :is(body.lv-page .lvreg, body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])), body.tbl-page .psheet:is([data-kind="profile"], [data-kind="register"])) .wstag::after,
body.lv-page .lv .lvreg :is(.pbtn.go, .pbtn.line, .pbtn.danger)::after,
body .fxn-box :is(.fxn-reasons button, .fxn-go)::after,
body .gpause .pbtn::after,
#app .modalbox .mbtn::after,
html body .tbl .tactions button::after { transition: none; } }

/* ===== In game on a phone: the four round buttons beside the hand (throw, settings, voice, chat) become the E icon button (Figma "Icon button · E"):
   40 x 40, 16 corners, the glass fill and edge, a soft shadow; pressed sinks in, disabled fades to .4. Turned on (chat or reactions open) they keep the white face. ===== */
@media (max-width: 700px) {
  html body .tbl :is(.tbtn, .tburger) { width: 40px; height: 40px; border-radius: 16px; background: var(--e-glass); border: 1px solid var(--e-line); background-clip: padding-box; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; transition: background .2s ease-out, border-color .2s ease-out, transform .12s var(--e-ease); }
  html body .tbl :is(.tbtn, .tburger):active:not(:disabled) { background: var(--e-glass-lo); border-color: transparent; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); transform: scale(.96); }
  html body .tbl :is(.tbtn, .tburger):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  html body .tbl .tbtn:disabled, html body .tbl .tbtn:disabled:hover, html body .tbl .tbtn:disabled:active { background: var(--e-glass); border-color: var(--e-line); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); opacity: .4; transform: none; }
  html body .tbl .tbtn.on, html body .tbl .tbtn.on:hover, html body .tbl .tbtn.on:active { background: #fff; border-color: #fff; color: #292923; }
  html body .tbl .tbtn.tthrow.on, html body .tbl .tbtn.tthrow.on:hover { background: rgba(232, 170, 44, .2); border-color: #e8aa2c; color: inherit; }
  html body .tbl .tbtn.unread::after { right: 4px; top: 4px; box-shadow: none; }
}
@media (max-width: 700px) and (hover: hover) and (pointer: fine) {
  html body .tbl :is(.tbtn, .tburger):hover:not(:disabled):not(.on) { background: var(--e-glass-hi); border-color: rgba(255, 255, 255, .34); transition-timing-function: ease-in; }
}

/* ===== The action bar's buttons (Figma "Actions panel", "Button · E"): one row, never stacked. Colour by role:
   Say FOMO green, Discard & Draw purple, Use (an action card) yellow, Take #n and Back the grey Ghost. ===== */
html body .tbl .tactions { flex-wrap: nowrap; }
html body .tbl .tactions button { flex: 0 1 auto; min-width: 0; }
html body .tbl .tactions:has(> button:not([data-idle]) + button:not([data-idle])) button { flex: 1 1 auto; }
/* (two buttons: the main one takes the room left, Take #n and Leave keep to their own width) */
html body .tbl .tactions:has(> button:not([data-idle]) + button:not([data-idle])) button:is([data-act="takeDiscard"], [data-act="leaveLobby"]) { flex: 0 0 auto; }
html body .tbl .tactions button[data-act="fomo"] { border: 0; background: linear-gradient(180deg, #b5f06b, #5fbf23); color: #0f2400; box-shadow: inset 0 0 0 1px rgba(234, 255, 201, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(47, 122, 12, .45), 0 6px 18px rgba(111, 214, 42, .35), 0 2px 4px rgba(0, 0, 0, .3); }
html body .tbl .tactions button[data-act="discardDraw"] { border: 0; background: linear-gradient(180deg, #c9a2ff, #8448f5); color: #fff; box-shadow: inset 0 0 0 1px rgba(239, 226, 255, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(67, 23, 158, .45), 0 6px 18px rgba(157, 92, 255, .35), 0 2px 4px rgba(0, 0, 0, .3); }
@media (hover: hover) and (pointer: fine) {
  html body .tbl .tactions button[data-act="fomo"]:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(234, 255, 201, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(47, 122, 12, .45), 0 8px 24px rgba(111, 214, 42, .55), 0 2px 4px rgba(0, 0, 0, .3); }
  html body .tbl .tactions button[data-act="discardDraw"]:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(239, 226, 255, .55), inset 0 1.5px 0 rgba(255, 255, 255, .55), inset 0 -2.5px 0 rgba(67, 23, 158, .45), 0 8px 24px rgba(157, 92, 255, .55), 0 2px 4px rgba(0, 0, 0, .3); }
}
html body .tbl .tactions button[data-act="fomo"]:active:not(:disabled) { transform: translateY(1px); background: linear-gradient(180deg, #5bb722, #52a41e); box-shadow: inset 0 0 0 1px rgba(47, 122, 12, .6), inset 0 2px 4px rgba(0, 0, 0, .28); }
html body .tbl .tactions button[data-act="discardDraw"]:active:not(:disabled) { transform: translateY(1px); background: linear-gradient(180deg, #7f45eb, #723ed3); box-shadow: inset 0 0 0 1px rgba(67, 23, 158, .6), inset 0 2px 4px rgba(0, 0, 0, .28); }

/* On a phone: one line of text over one row of 44px buttons; 8 above, 16 at the sides and below, 8 between */
@media (max-width: 700px) {
  /* never shorter than its usual size (one line over one row of buttons), even when a state (ghosted, a swap, aiming) leaves it without text or buttons: the rest just stays empty */
  html body .tbl .tbar { min-height: 94px; justify-content: flex-start; padding: 8px 16px 16px; gap: 8px; }
  /* no blur behind the bar on a phone: only the plain background is under it, so it looks the same, and Safari on iPhone could stop drawing the blurred bar mid-turn (it went invisible while its buttons still worked) */
  html body .tbl .tbar, html body .tbl .tbar.myturn { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  /* the four side buttons sit 8 above the bar: the bar is 8 from the bottom and 94 tall (1 + 8 + 16 + 8 + 44 + 16 + 1) */
  html body .tbl { --b1: 110px; --b2: 156px; }
  html body .tbl .tbar .tline { font: 400 12px/16px var(--e-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  html body .tbl .tactions { align-self: stretch; gap: 8px; }
  html body .tbl .tactions button, html body .tbl .tactions.tight button { height: 44px; padding: 0 16px; font: 600 16px/1 var(--e-head); }
}
/* The glass panels (the action panel, the chat): the fill stops inside the border, and the blur stays on */
html body #app .gchat .gsheet, html body #app .tbl section.gdock, html body .tbl .tbar, html body .tbl .tbar.myturn { background-clip: padding-box !important; }

/* Difficulty (Settings, only while a bot is at the table): a row like Sound effects, a line with a stop for each level and a round thumb on the chosen one */
.pdiff { --c: #ffae3a; --w: calc(100% - 44px); box-sizing: border-box; width: 100%; margin-top: 8px; padding: 12px 14px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); color: #fff; }
.pdiff[data-level="easy"] { --c: #ffd84a; }
.pdiff[data-level="hard"] { --c: #ff7a2f; }
.pdiff .pdhead { display: flex; align-items: center; justify-content: space-between; font: 600 16px/1.2 var(--e-head); }
.pdiff .pdhead b { font-weight: 700; color: var(--c); transition: color .2s ease; }
.pdiff .pdtrack { position: relative; height: 26px; margin-top: 8px; }
.pdiff .pdtrack::before, .pdiff .pdfill { content: ""; position: absolute; left: 18px; right: 18px; top: 9px; height: 8px; border-radius: 4px; }
.pdiff .pdtrack::before { background: rgba(255, 255, 255, .18); }
.pdiff .pdfill { background: linear-gradient(90deg, #ffd84a, #ff7a2f); clip-path: inset(0 calc((100% - 8px) * (1 - var(--i) / 2)) 0 0 round 4px); transition: clip-path .25s var(--e-ease, ease); }
.pdiff button.pdstop { all: unset; box-sizing: border-box; position: absolute; top: 0; left: calc(22px + var(--k) * var(--w) / 2 - 22px); width: 44px; height: 26px; cursor: pointer; z-index: 1; -webkit-tap-highlight-color: transparent; }
.pdiff button.pdstop::after { content: ""; position: absolute; top: 10px; left: 19px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.pdiff button.pdstop:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 13px; }
.pdiff .pdthumb { position: absolute; top: 0; left: calc(22px + var(--i) * var(--w) / 2 - 13px); width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); pointer-events: none; z-index: 2; transition: left .25s var(--e-ease, ease); }
.pdiff .pdthumb::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--c); transition: background .2s ease; }
.pdiff .pdnames { position: relative; height: 16px; margin-top: 4px; font: 500 12px/16px var(--e-body, inherit); color: rgba(255, 255, 255, .55); }
.pdiff .pdnames span { position: absolute; top: 0; left: calc(22px + var(--k) * var(--w) / 2); transform: translateX(-50%); white-space: nowrap; transition: color .2s ease; }
.pdiff .pdnames span.on { color: #fff; font-weight: 700; }
.pdiff.ro button.pdstop { cursor: default; }
.pdiff.ro { opacity: .8; }
@media (prefers-reduced-motion: reduce) { .pdiff .pdfill, .pdiff .pdthumb, .pdiff .pdhead b, .pdiff .pdnames span, .pdiff .pdthumb::after { transition: none; } }
