/* ── Zip Blitz — THE ROUND'S END (roundend.js) ───────────────────────────────────
   ONE look for the results of every round, solo (trivia.html) and Multiplayer
   (versus.html). Both pages load this file and neither styles these pieces itself
   (tests/parity.test.mjs "Multiplayer shares the daily"). A page keeps only WHERE the
   pieces sit: trivia.html's pinned .trc-bar, versus.html's #results-footer. */

/* The head: "Zip Blitz · Today", the flower, the title, the points. */
.t-results-label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.t-results-zb[hidden] { display: none; }
/* The flower. Sized so the ten-petal first round still reads as a flower and the
   fifty-petal full day still fits. 112px since the phone round end became a card
   (George, 2026-11-18, WEB_SHELL_SPEC 2.1; canvas EndPh10*). */
.t-bloomslot { width: 112px; height: 112px; margin: 0 auto 12px; }
.t-bloomslot svg { width: 100%; height: 100%; display: block; }
/* The title. Display face, because it is a name rather than a number. */
.t-title { font-family: var(--font-display); font-weight: 600; font-size: 1.62rem;
  letter-spacing: -0.01em; color: var(--text); line-height: 1.15; margin-bottom: 2px; }
.t-score {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; margin-top: 4px;
  color: var(--t-accent-deep, var(--accentDeep));
}
.t-score .t-score-of { color: var(--faint); font-size: 1rem; margin-left: 6px; }
.t-results-time {
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500;
  color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums;
}
/* A room only: where you finished (it can arrive late, so the box keeps its height). Solo has none
   (George, 2026-11-20) and hides it in trivia.html. */
.t-target { font-family: var(--font-ui); font-size: 0.88rem; color: var(--faint);
  margin-top: 3px; min-height: 1.2em; }

/* The bar: the opaque, blurred bottom bar, full-bleed with its own safe-area padding. */
.vs-cd-bar { display: flex; align-items: center; gap: 12px; pointer-events: auto;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1.5px solid var(--rule); }
.vs-cd { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.vs-cd-ring { position: relative; width: 54px; height: 54px; flex-shrink: 0; }
.vs-cd-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--text);
  font-variant-numeric: tabular-nums; }
.vs-cd-txt { text-align: left; min-width: 0; }
.vs-cd-t { font-size: 1rem; font-weight: 600; color: var(--text); }
.vs-cd-s { font-size: 0.85rem; color: var(--muted); }
/* Start: flat, in the next round's colour (painted inline), the same promise as the ring. */
.trc-start { flex-shrink: 0; border: none; color: #fff; font-family: var(--font-ui); font-size: 0.95rem;
  font-weight: 600; border-radius: 999px; padding: 11px 26px; cursor: pointer;
  transition: filter 0.15s, transform 0.1s, opacity 0.15s; }
.trc-start:active { filter: brightness(0.94); transform: translateY(1px); }
/* Tapped and waiting (a room's next round is being set up): disabled, never removed,
   so the bar does not reflow under the thumb that used it. */
.trc-start[disabled] { opacity: 0.55; cursor: default; }
/* The name step owns the bar until a name is saved: only the centred prompt. */
.vs-cd-bar.trc-gated .vs-cd-ring, .vs-cd-bar.trc-gated .vs-cd-s, .vs-cd-bar.trc-gated .trc-start { display: none; }
.vs-cd-bar.trc-gated .vs-cd { opacity: 1; filter: none; justify-content: center; min-height: 54px; }
.vs-cd-bar.trc-gated .vs-cd-txt { text-align: center; }
/* THE DIAL PAUSES (solo, George 2026-11-19: "just change the number in the circle to a pause
   icon and revert it to the number if they tap it again"). The ring is a button; paused, the
   number gives its place to two bars in the round's colour. Nothing else on the bar changes. */
.vs-cd-ring-tap { cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.vs-cd-ring-tap:active { transform: scale(0.96); }
.vs-cd-ring-tap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.vs-cd-pause { position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  gap: 5px; pointer-events: none; }
.vs-cd-pause i { display: block; width: 5px; height: 18px; border-radius: 1.5px; background: currentColor; }
.vs-cd-bar.trc-paused .vs-cd-pause { display: flex; }
.vs-cd-bar.trc-paused .vs-cd-num { visibility: hidden; }
/* The sign-up wall's button is the app's primary action, not a round start. */
.vs-cd-bar.trc-wall .trc-start { background: var(--t-accent, var(--accent)); }
/* A tick seen: a halo in the next round's colour swells out of the ring and the number
   bumps (ROUNDEND.beat). Transform + opacity only, and it ENDS at rest. */
.vs-cd-bar .vs-cd-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  pointer-events: none; opacity: 0; box-shadow: 0 0 0 3px var(--trc-beat, currentColor); }
.vs-cd-bar .vs-cd-ring.trc-beat::after { animation: trcBeatHalo 0.9s ease-out; }
.vs-cd-bar .vs-cd-ring.trc-beat .vs-cd-num { animation: trcBeatNum 0.45s ease-out; }
@keyframes trcBeatHalo { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes trcBeatNum { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .vs-cd-bar .vs-cd-ring.trc-beat::after, .vs-cd-bar .vs-cd-ring.trc-beat .vs-cd-num { animation: none; }
}
/* A walled round's line (ROUNDEND.wallSubHtml): the padlock and "Plus · in 4", solo and room. */
.trc-wall-sub { display: inline-flex; align-items: center; gap: 4px; }
.trc-wall-sub svg { flex: none; }

/* THE SOLO ROUND END'S CARD (moved from trivia.html, 2026-11-21, unchanged): the head sits in it,
   the board link at its foot. List Blitz's round end is the same card (list.html's results are
   #screen-results too, so these rules reach it unchanged). */
.t-rcard { display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--surface, #FFFCF7); border: 1.5px solid var(--rule); border-radius: 20px;
  box-shadow: 0 6px 18px -12px rgba(31,26,20,.18); padding: 22px 16px 0; overflow: hidden; }
/* The head's sizes are roundend.css's, shared with Multiplayer; the card only orders it:
   the flower above the eyebrow. */
#screen-results .t-rcard .t-bloomslot { order: -1; }
#screen-results .t-rcard .t-results-streak:empty { display: none; }
/* The board link at the card's foot, across its whole width, on a hairline. */
#screen-results .t-rcard .t-boardlink { order: 9; align-self: stretch; justify-content: center; margin: 14px -16px 0;
  padding: 0 12px; min-height: 48px; border-radius: 0; border-top: 1.5px solid var(--rule);
  color: var(--t-accent-deep, var(--accentDeep)); font-size: 0.95rem; font-weight: 700; }
#screen-results .t-rcard .t-results-compare, #screen-results .t-rcard .t-results-streak { order: 8; }
/* The board link: a quiet tap, never an interruption (ROUND_END_SPEC §2). --cool, not --accent: the
   accent is for things the screen wants you to do next, and this isn't one. */
.t-boardlink { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border: none;
  background: transparent; color: var(--cool); font-family: var(--font-ui);
  font-size: 0.88rem; font-weight: 600; cursor: pointer; border-radius: 999px;
  -webkit-tap-highlight-color: transparent; }
.t-boardlink:active { background: rgba(91,143,178,0.10); }
.t-boardlink-c { opacity: 0.7; font-size: 1rem; line-height: 1; }

/* THE ROUND END'S COLUMN, trivia's and List Blitz's: the result card, Share & Challenge, Up next, 14px apart. */
#screen-results .t-results { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 14px; }

/* THE SHARE & CHALLENGE CARD (ROUNDEND.shareCardHtml), trivia's, shared with List Blitz (George, 2026-11-22):
   the cards small, "Can your friends beat N?", the faces of three or more friends who have not played (no words
   since 2026-11-26), and the floating teal button. */
.t-schal { background: #F4EEE3; border: 1.5px solid var(--rule); border-radius: 20px; padding: 14px 16px 16px; text-align: left; }
.t-schal[hidden] { display: none; }
.t-schal-top { display: flex; align-items: center; gap: 14px; }
.t-schal-prev { position: relative; flex: none; width: 96px; height: 84px; }
.t-schal-prev img { position: absolute; width: 56px; height: 70px; border-radius: 6px; object-fit: cover;
  box-shadow: 0 3px 10px -4px rgba(31,26,20,.35); border: 1px solid rgba(31,26,20,.08); background: #FFF9F0; }
/* Every card the Share sheet opens with, fanned behind the first (sharepanel.js SHARE.preview). Fanned wider, like a
   hand of cards, so each one shows (George, 2026-11-27: "can the panel pages fan out more so they're more visible?"). */
.t-schal-prev img { transform-origin: 50% 90%; }
.t-schal-prev img:nth-child(1) { left: 0; top: 8px; z-index: 4; transform: rotate(-8deg); }
.t-schal-prev img:nth-child(2) { left: 12px; top: 4px; z-index: 3; transform: rotate(0deg); }
.t-schal-prev img:nth-child(3) { left: 24px; top: 4px; z-index: 2; transform: rotate(8deg); }
.t-schal-prev img:nth-child(4) { left: 34px; top: 8px; z-index: 1; transform: rotate(15deg); }
.t-schal-prev img:nth-child(n+5) { display: none; }
.t-schal-txt { flex: 1; min-width: 0; text-align: center; container-type: inline-size; }
/* ONE LINE (George, 2026-11-27: "'can your friends beat 100' over two lines. it should be a single line"): the
   heading sizes to the column beside the cards (cqi), up to its old 1.08rem, never under the type floor. */
.t-schal-h { font-family: var(--font-display); font-weight: 600; font-size: clamp(0.82rem, 7.1cqi, 1.08rem); line-height: 1.25; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-schal-who > span:last-child { text-align: center; }
.t-schal-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 6px; min-height: 28px; font-size: 0.88rem; color: var(--muted); }
.t-schal-who b { color: var(--text); font-weight: 700; }
.t-schal-faces { display: flex; flex: none; }
.t-schal-faces > * { width: 28px !important; height: 28px !important; font-size: 0.82rem !important; margin-left: -7px; box-shadow: 0 0 0 2px #F4EEE3; border-radius: 50%; }
/* The friends past the faces, as one more disc (2026-11-27). */
.t-schal-faces > .t-schal-more { display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--muted);
  font-family: var(--font-ui); font-weight: 700; border: 1px solid var(--rule); box-sizing: border-box; }
.t-schal-faces > *:first-child { margin-left: 0; }
#screen-results .t-schal .trc-challenge { margin: 14px 0 0; width: 100%; border-radius: 14px; }
.trc-challenge{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 18px;padding:13px 18px;font-family:var(--font-ui);font-size:1rem;font-weight:700;color:#fff;background:linear-gradient(180deg,var(--accent),var(--accentDeep));border:1px solid var(--accentDeep);border-radius:999px;box-shadow:0 4px 0 #0E5346,0 10px 22px rgba(14,83,70,0.30);cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:filter 0.15s,transform 0.08s}
.trc-challenge:active{transform:translateY(2px);box-shadow:0 2px 0 #0E5346,0 6px 14px rgba(14,83,70,0.26)}
.trc-challenge-ic{font-size:1.05rem;line-height:1}
.trc-challenge-tx{white-space:nowrap;line-height:1.25}

/* THE PHONE ROUND END'S TOP BAR (ROUNDEND.topBarHtml): the back arrow, the Blitz's name, its rounds as a
   pill. Moved from trivia.html (2026-11-22) so List Blitz wears the same one; trivia.html keeps its
   desktop overrides (html.re-desk). .t-topbar and .t-back are trivia's in-round bar too. */
.t-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 18px;
}
/* Plain back arrow (no pill/label). */
.t-back {
  background: none; border: none; padding: 8px 12px;
  color: var(--muted); font-size: 1.3rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: color 0.2s, transform 0.08s;
}
.t-back:hover { color: var(--text); }
.t-back:active { transform: scale(0.95); }
.t-rtop { margin-bottom: 10px; gap: 8px; }
.t-rtop .t-back { padding: 8px 6px 8px 2px; color: var(--text); }
.t-rname { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.t-rpill { flex: none; display: flex; gap: 5px; padding: 6px 9px; border-radius: 999px;
  background: var(--surface, #FFFCF7); border: 1.5px solid var(--rule); }
.t-rpill:empty { display: none; }
.t-rpill i { width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box; border: 1.5px dashed var(--tier);
  display: flex; align-items: center; justify-content: center; }
.t-rpill i.done { border: none; background: var(--tier); }
.t-rpill i.done svg { display: block; }
.t-rpill-t { display: none; }

/* THE PHONE ROUND END'S ARRIVAL AND UP NEXT (moved from trivia.html, 2026-11-22, shared with List Blitz).
   Everything EXCEPT the flower and the title is held back while those two land (ROUNDEND.settle adds
   trc-settling) and then faded in around them. They keep their space, opacity never display, so nothing
   reflows when they arrive. Staggered so it reads as one movement rather than a pop. */
.t-upnext:empty { display: none; }
.t-upnext .tt-endshelf { padding: 0; }
.t-upnext :where(.tt-endshelf) .ft-lg-row { margin: 0 -16px; padding: 0 16px 2px; scroll-padding-left: 16px; }

#screen-results.trc-settling .t-score,
#screen-results.trc-settling .t-results-time,
#screen-results.trc-settling .t-target,
#screen-results.trc-settling .t-results-compare,
#screen-results.trc-settling .t-boardlink,
#screen-results.trc-settling .t-schal,
#screen-results.trc-settling .t-upnext { opacity: 0; }

#screen-results .t-score,
#screen-results .t-results-time,
#screen-results .t-target,
#screen-results .t-results-compare,
#screen-results .t-boardlink,
#screen-results .t-schal,
#screen-results .t-upnext { transition: opacity 320ms ease 40ms; }
#screen-results .t-schal { transition-delay: 160ms; }
#screen-results .t-upnext { transition-delay: 220ms; }
#screen-results .t-results-time { transition-delay: 90ms; }
#screen-results .t-target { transition-delay: 140ms; }

/* The pinned bar (mounted on documentElement, so it carries the class itself). */
.trc-bar.trc-settling { opacity: 0; }
.trc-bar { transition: opacity 320ms ease 190ms; }
@media (prefers-reduced-motion: reduce) {
  #screen-results .t-score, #screen-results .t-results-time, #screen-results .t-target,
  #screen-results .t-results-compare, #screen-results .t-boardlink,
  #screen-results .t-schal, #screen-results .t-upnext, .trc-bar { transition: none; }
}
/* WHERE THE NEXT ROUND'S BAR SITS: pinned to the foot, in the game's 480px column, above the board, and
   click-through around its own controls (.vs-cd-bar and the button take pointer events back). */
.trc-bar { position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; z-index: 1650;
  display: flex; flex-direction: column; gap: 12px; padding: 0; background: none; border: none; pointer-events: none; }

/* ── THE DESKTOP ROUND END (WEB_SHELL_SPEC 3.3, phase 4; canvas EndV10*) ─────────────────────────
   html.re-desk is ROUNDEND.watchDesk's: a browser window 1024px and wider, never the iOS app. The phone
   round end above is untouched by anything here. Both pages use these rules (a room's round end is the
   same layout), and each keeps only where its own pieces sit. */
.re-cols { display: none; }
html.re-desk .re-cols { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 36px;
  align-items: start; width: 100%; text-align: left; }
.re-col-hd { margin: 0 0 12px; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); }
/* UP NEXT stays in view beside the board as the page scrolls (canvas note 9), the next round first. */
html.re-desk .re-upnext { position: sticky; top: 24px; display: flex; flex-direction: column; min-width: 0; }
html.re-desk .re-next:empty { display: none; }
html.re-desk .re-next { margin-bottom: 10px; }
/* The next round is a CARD, not a bar: the bar's own pieces (ring, words, Start), on the page's cream with
   a border in that round's colour (--re-c, set by ROUNDEND.barHtml). */
html.re-desk .re-next .vs-cd-bar { padding: 13px 16px; border: 2px solid var(--re-c, var(--rule)); border-radius: 16px;
  background: var(--surface, #FFFCF7); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 6px 18px -12px rgba(31, 26, 20, 0.18); }
html.re-desk .re-next .vs-cd { gap: 14px; }
html.re-desk .re-next .vs-cd-t { font-weight: 700; }
html.re-desk .re-board { min-width: 0; }

/* The head on a desktop: the flower at the left, then the eyebrow, the title, the points with the line
   beside them, the target under (canvas EndV10: "the title with its points beside it, the details under"). */
html.re-desk .re-head { display: grid; grid-template-columns: 136px auto minmax(0, 1fr); align-content: center;
  align-items: baseline; text-align: left; }
html.re-desk .re-head .t-bloomslot { grid-column: 1; grid-row: 1 / span 6; align-self: center; width: 112px; height: 112px; margin: 0; }
html.re-desk .re-head .t-results-label { grid-column: 2 / 4; grid-row: 1; margin-bottom: 4px; }
html.re-desk .re-head .t-title { grid-column: 2 / 4; grid-row: 2; font-size: 2rem; }
html.re-desk .re-head .t-score { grid-column: 2; grid-row: 3; margin-top: 8px; }
html.re-desk .re-head .t-results-time { grid-column: 3; grid-row: 3; margin: 0 0 0 16px; }
html.re-desk .re-head .t-target { grid-column: 2 / 4; grid-row: 4; margin-top: 6px; }
html.re-desk .re-head > :not(.t-bloomslot):not(.t-results-label):not(.t-title):not(.t-score):not(.t-results-time):not(.t-target):not(.t-results-head) { grid-column: 2 / 4; }

/* ── THE DESKTOP ROUND END, THE SOLO PAGES (WEB_SHELL_SPEC 3.3, phase 4; canvas EndV10*) ─────────────────────────
   html.re-desk only (ROUNDEND.watchDesk: a browser 1024px and wider, never the app). The pieces are the
   phone's; only where they sit changes. The shared rules (the head as a row, Up next and the board side by
   side, the next round as a card) are roundend.css's; these are the solo round end's pieces, trivia's and List Blitz's alike
   (both pages draw #screen-results with the same ids). */
/* Not a room's (versus.html's #screen-results.lb-results has its own grid). */
html.re-desk #screen-results:not(.lb-results) { max-width: none; padding: 0 0 56px; }
/* The band across the top (canvas EndV10): the back arrow as a round button, the Blitz's name, and the
   five rounds as a cream pill that says how many are done. */
html.re-desk #screen-results .t-rtop { height: 96px; box-sizing: border-box; margin: 0 0 28px; padding: 0 40px; gap: 16px;
  justify-content: flex-start; background: #12403A; color: #FFF9F0; }
html.re-desk #screen-results .t-rtop .t-back { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 249, 240, 0.4); color: #FFF9F0; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
html.re-desk #screen-results .t-rtop .t-back:hover { background: rgba(255, 249, 240, 0.1); }
html.re-desk #screen-results .t-rname { flex: 0 1 auto; font-weight: 800; font-size: 1.75rem; color: #FFF9F0; }
html.re-desk #screen-results .t-rpill { align-items: center; gap: 6px; padding: 6px 14px 6px 8px; border: none; background: #FFF9F0; }
html.re-desk .t-rpill-t { display: inline; margin-left: 6px; font-size: 0.88rem; font-weight: 800; color: #12403A; white-space: nowrap; }
/* One result card: the head on the left two thirds, Share & Challenge in the right third on a slightly
   darker panel of the same card (canvas note 9). Then Up next and the board. */
html.re-desk #screen-results .t-results { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  row-gap: 32px; column-gap: 0; align-items: stretch; width: 100%; max-width: 1176px; margin: 0 auto; padding: 0 48px; box-sizing: border-box; }
html.re-desk #screen-results .t-results > * { grid-column: 1 / -1; }
html.re-desk #screen-results .t-results { align-content: start; }
html.re-desk .t-schal-txt { text-align: left; }
html.re-desk .t-schal-who { justify-content: flex-start; }
html.re-desk .t-schal-who > span:last-child { text-align: left; }
html.re-desk #screen-results .t-results > #t-rcard { grid-column: 1; padding: 36px 40px; border-radius: 20px 0 0 20px; border-right: none; overflow: visible; }
html.re-desk #screen-results .t-results > #t-schal { grid-column: 2; border-radius: 0 20px 20px 0; padding: 26px 26px 26px 28px;
  display: flex; flex-direction: column; justify-content: center; }
html.re-desk #screen-results .t-results > #t-schal[hidden] { display: none; }
html.re-desk #screen-results .t-results > #t-rcard:has(+ #t-schal[hidden]) { grid-column: 1 / -1; border-radius: 20px; border-right: 1.5px solid var(--rule); }
/* While the flower and the title land, the card is whole: its right third keeps its panel and only
   its contents wait (the phone fades the separate card in; here a missing third reads as a broken card,
   QA pass 2). Up next and the board arrive together after it. */
html.re-desk #screen-results.trc-settling .t-schal { opacity: 1; }
html.re-desk #screen-results .t-schal > * { transition: opacity 320ms ease 160ms; }
html.re-desk #screen-results.trc-settling .t-schal > * { opacity: 0; }
html.re-desk #screen-results .re-cols { transition: opacity 320ms ease 220ms; }
html.re-desk #screen-results.trc-settling .re-cols { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.re-desk #screen-results .t-schal > *, html.re-desk #screen-results .re-cols { transition: none; } }
/* The board is on the page: no link to it. */
html.re-desk #screen-results .t-boardlink { display: none !important; }
html.re-desk .t-schal-prev { width: 160px; height: 148px; }
html.re-desk .t-schal-prev img { width: 96px; height: 120px; }
html.re-desk .t-schal-h { font-size: 1.3rem; }
html.re-desk #screen-results .t-schal .trc-challenge { width: auto; align-self: flex-start; padding: 13px 26px; margin-top: 18px; }
/* The next round's bar is Up next's first card here (#t-renext): in the page, never pinned. */
html.re-desk .re-next .trc-bar { position: static !important; max-width: none; margin: 0; z-index: auto; pointer-events: auto; display: flex !important; }
/* Up next: the app's own cards, as a list down the column (canvas EndV10): the topic's tile at the left,
   its name and line, its state at the right. The shelf's heading is the column's; All topics at its foot. */
html.re-desk #t-reup { max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
html.re-desk #t-reup .t-upnext .tt-endshelf { display: flex; flex-direction: column; }
html.re-desk #t-reup .tt-endshelf .ft-sec-hd { order: 2; justify-content: center; margin: 8px 0 0; }
html.re-desk #t-reup .tt-endshelf .ft-sec-hd h2 { display: none; }
html.re-desk #t-reup .tt-endshelf .ft-sec-hd .tt-seeall { margin: 0 auto; }
html.re-desk #t-reup .tt-endshelf .ft-lg-row { flex-direction: column; gap: 10px; overflow: visible; margin: 0 !important; padding: 0 !important; scroll-snap-type: none; }
html.re-desk #t-reup .tt-endshelf .ft-lg-row > :nth-child(n+8) { display: none; }
html.re-desk #t-reup .tt-endshelf .ft-lg { width: auto !important; flex: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
  column-gap: 14px; row-gap: 2px; align-items: center; padding: 12px 16px; border-radius: 16px; min-height: 72px; box-sizing: border-box; }
html.re-desk #t-reup .tt-endshelf .ft-lg .tt-card-top { display: contents; }
html.re-desk #t-reup .tt-endshelf .ft-lg .tt-new-em { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px;
  background: #E8F2EE; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
html.re-desk #t-reup .tt-endshelf .ft-lg .tt-card-st { grid-column: 3; grid-row: 1 / span 2; margin: 0; align-self: center; }
html.re-desk #t-reup .tt-endshelf .ft-lg .ft-lg-nm { grid-column: 2; grid-row: 1; -webkit-line-clamp: 1; font-size: 0.95rem; }
html.re-desk #t-reup .tt-endshelf .ft-lg .ft-lg-sub { grid-column: 2; grid-row: 2; min-height: 0; -webkit-line-clamp: 1; }
html.re-desk #t-reup .tt-endshelf .ft-lg.tt-daily { grid-template-columns: minmax(0, 1fr) auto; }
html.re-desk #t-reup .tt-endshelf .ft-lg.tt-daily .tt-daily-dots { grid-column: 1; grid-row: 2; }
html.re-desk #t-reup .tt-endshelf .ft-lg.tt-daily .ft-lg-nm { grid-column: 1; grid-row: 1; }
html.re-desk #t-reup .tt-endshelf .ft-lg.tt-daily .ft-lg-sub { grid-column: 1; grid-row: 3; }
html.re-desk #t-reup .tt-endshelf .ft-lg.tt-daily .tt-card-st { grid-column: 2; grid-row: 1 / span 3; }
@media (hover: hover) { html.re-desk #t-reup .tt-endshelf .ft-lg:hover { border-color: var(--accent); } }
