/* The results window (Chris, 25 Oct 2026: "a better results Window for each reveal - a Compsup underlying theme - the same for
   every operator - within the reveal window"; the approved mockup is design/results-window/). Its own file, loaded after every
   look (partials/look-styles) - Ruby's candy and each template alike - because it is the platform's, not the operator's: none
   of it reads a look's tokens, and look-layout.py, which copies site.css's layout into the templates without its colours,
   never sees it. It takes the game's place in the reveal's box, at least as tall as the game was (host.js end() and
   reveal-page.js set its min-height), grows with its prizes up to 70% of the screen and then scrolls only the list. Gold is a
   win's colour, cyan site credit's. Markup: partials/std-reveal-results. */
:is(.st-std,.st-linecard) .st-rw{--rw-midnight:#05112B;--rw-navy:#011A44;--rw-blue:#0459D6;--rw-cyan:#05CCF8;--rw-violet:#5E24F3;--rw-gold:#FFC83D;
  --rw-ink:#F4F7FF;--rw-muted:#A9B6D3;--rw-line:rgba(5,204,248,.22);
  width:100%;max-width:640px;max-height:70vh;max-height:70svh;margin:0 auto;border-radius:14px;overflow:hidden;color:var(--rw-ink);text-align:left;
  font:500 15px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  background:radial-gradient(120% 70% at 50% -10%,rgba(4,110,255,.38),transparent 60%),radial-gradient(90% 60% at 100% 110%,rgba(94,36,243,.28),transparent 60%),var(--rw-midnight)}
:is(.st-std,.st-linecard) .st-rw:not([hidden]){display:flex;flex-direction:column}
:is(.st-std,.st-linecard) .st-rw p{margin:0}
:is(.st-std,.st-linecard) .st-rw .st-rw__head{display:flex;align-items:center;gap:10px;padding:14px 16px 10px;border-bottom:1px solid var(--rw-line)}
:is(.st-std,.st-linecard) .st-rw .st-rw__mark{flex:0 0 22px;width:22px;height:22px}
:is(.st-std,.st-linecard) .st-rw .st-rw__title{margin:0;font:800 16px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.01em;color:var(--rw-ink);text-transform:none}
:is(.st-std,.st-linecard) .st-rw .st-rw__title:focus-visible{outline:2px solid var(--rw-cyan);outline-offset:3px;box-shadow:none}
:is(.st-std,.st-linecard) .st-rw .st-rw__tickets{margin-left:auto;padding:6px 10px;border:1px solid var(--rw-line);border-radius:99px;font:600 12px/1 system-ui,sans-serif;color:var(--rw-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
:is(.st-std,.st-linecard) .st-rw .st-rw__hero{padding:16px 16px 6px;text-align:center}
:is(.st-std,.st-linecard) .st-rw .st-rw__count{font:800 26px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--rw-ink)}
:is(.st-std,.st-linecard) .st-rw .st-rw__totals{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0 4px}
:is(.st-std,.st-linecard) .st-rw .st-rw__tot{min-width:120px;padding:10px 14px;border:1px solid var(--rw-line);border-radius:12px;background:rgba(255,255,255,.05);text-align:left}
:is(.st-std,.st-linecard) .st-rw .st-rw__tot span{display:block;font:600 11px/1.2 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--rw-muted)}
:is(.st-std,.st-linecard) .st-rw .st-rw__tot strong{display:block;font:800 22px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-variant-numeric:tabular-nums}
:is(.st-std,.st-linecard) .st-rw .st-rw__tot--cash{border-color:rgba(255,200,61,.55);background:linear-gradient(180deg,rgba(255,200,61,.14),rgba(255,200,61,.04))}
:is(.st-std,.st-linecard) .st-rw .st-rw__tot--cash strong{color:var(--rw-gold)}
:is(.st-std,.st-linecard) .st-rw .st-rw__tot--credit strong{color:var(--rw-cyan)}
:is(.st-std,.st-linecard) .st-rw .st-rw__list{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;margin:0;padding:8px 12px 18px;list-style:none;
  -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 18px),transparent)}
:is(.st-std,.st-linecard) .st-rw .st-rw__prize{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;margin:0 0 6px;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.045)}
:is(.st-std,.st-linecard) .st-rw .st-rw__prize:first-child{background:linear-gradient(90deg,rgba(255,200,61,.16),rgba(255,255,255,.045) 70%);box-shadow:inset 3px 0 0 var(--rw-gold)}
:is(.st-std,.st-linecard) .st-rw .st-rw__pic{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;object-fit:cover;background:rgba(255,255,255,.08);color:#fff;font:800 13px/1 system-ui,sans-serif;overflow:hidden}
:is(.st-std,.st-linecard) .st-rw .st-rw__pic--cash{background:linear-gradient(135deg,#2bb673,#0f7a47)}
:is(.st-std,.st-linecard) .st-rw .st-rw__pic--credit{background:linear-gradient(135deg,#046EFF,var(--rw-violet))}
:is(.st-std,.st-linecard) .st-rw .st-rw__pic--item{background:linear-gradient(135deg,#e2a23b,#a35d10)}
:is(.st-std,.st-linecard) .st-rw .st-rw__what{display:grid;gap:2px;min-width:0}
:is(.st-std,.st-linecard) .st-rw .st-rw__name{font:700 15px/1.25 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow-wrap:anywhere}
:is(.st-std,.st-linecard) .st-rw .st-rw__tix{font:500 12px/1.3 system-ui,sans-serif;color:var(--rw-muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
:is(.st-std,.st-linecard) .st-rw .st-std__link{display:block;font:600 12px/1.3 system-ui,sans-serif;color:var(--rw-muted)}
:is(.st-std,.st-linecard) .st-rw .st-std__link a{color:var(--rw-cyan);text-decoration:underline}
:is(.st-std,.st-linecard) .st-rw .st-rw__right{display:grid;justify-items:end;gap:4px;text-align:right}
:is(.st-std,.st-linecard) .st-rw .st-rw__n{padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.1);font:700 12px/1 system-ui,sans-serif;white-space:nowrap}
:is(.st-std,.st-linecard) .st-rw .st-rw__val{font:800 15px/1 system-ui,sans-serif;color:var(--rw-gold);font-variant-numeric:tabular-nums;white-space:nowrap}
:is(.st-std,.st-linecard) .st-rw .st-rw__prize--credit .st-rw__val{color:var(--rw-cyan)}
:is(.st-std,.st-linecard) .st-rw .st-rw__none{flex:1 1 auto;display:grid;place-content:center;gap:10px;padding:22px;text-align:center}
:is(.st-std,.st-linecard) .st-rw .st-rw__none-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto;border:1px solid var(--rw-line);border-radius:16px;background:rgba(5,204,248,.12);color:var(--rw-cyan)}
:is(.st-std,.st-linecard) .st-rw .st-rw__none-head{font:800 20px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
:is(.st-std,.st-linecard) .st-rw .st-rw__draw{padding:10px 12px;border:1px solid var(--rw-line);border-radius:12px;background:rgba(255,255,255,.05);font-weight:600}
:is(.st-std,.st-linecard) .st-rw .st-rw__foot{display:flex;gap:8px;padding:12px 14px 14px;border-top:1px solid var(--rw-line);background:rgba(1,26,68,.6)}
:is(.st-std,.st-linecard) .st-rw .st-rw__foot:not(:has(>:not([hidden]))){display:none}   /* nothing to offer: no empty strip */
:is(.st-std,.st-linecard) .st-rw .st-rw__foot>*{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;margin:0;padding:0 12px;border-radius:12px;
  font:700 15px/1.1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:center;text-decoration:none;cursor:pointer;box-shadow:none}
:is(.st-std,.st-linecard) .st-rw .st-rw__foot>[hidden]{display:none}
:is(.st-std,.st-linecard) .st-rw .st-rw__foot [data-std-act]{border:1px solid rgba(255,255,255,.28);background:transparent;color:var(--rw-ink)}
:is(.st-std,.st-linecard) .st-rw .st-rw__btn--go{border:0;background:var(--rw-blue);color:#fff}
:is(.st-std,.st-linecard) .st-rw .st-rw__foot>:focus-visible{outline:3px solid var(--rw-cyan);outline-offset:2px;box-shadow:none}
@media (prefers-reduced-motion:no-preference){:is(.st-std,.st-linecard) .st-rw:not([hidden]){animation:st-rw-in .4s cubic-bezier(.2,.8,.2,1)}}
@keyframes st-rw-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
