/* WIND GAME GR1 (2026-10-25): shared-round pages in the Jackpot look — cards row under the game, live pill,
   bigger timer, casino chips. Scoped to body.gr1 (set by assets/gr1 js); no :has(), no [class*=]. */
body.gr1{--gr1-red:var(--wg-red,#e5243b);--gr1-red2:var(--wg-red-2,#ff5466);--gr1-gold:#f4ce73;--gr1-ink:#f3f3f6;--gr1-mute:#a8a8b6;
  --gr1-card:linear-gradient(165deg,#1b1418f2,#0f0d11f7);--gr1-line:#e5243b55;--gr1-field:#ffffff0a;--gr1-ok:#36e08a;--gr1-bad:#ff5b6c}
html[data-theme="light"] body.gr1{--gr1-ink:#1b1b22;--gr1-mute:#5d5d6b;--gr1-card:linear-gradient(165deg,#fffffff5,#f7f3f4f5);--gr1-line:#e5243b40;--gr1-field:#0000000a;--gr1-ok:#13994f;--gr1-bad:#d93347;--gr1-gold:#a8740a}
/* ---- cards row (desktop: 3 columns like the Jackpot; tablet: 2; phone: 1, after the bet panel) */
.gr1-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:14px;margin:4px 0 18px;color:var(--gr1-ink);
  font-family:inherit;align-items:start}
.gr1-row *{box-sizing:border-box}
.gr1-card{min-width:0;padding:14px 14px 12px;border-radius:20px;background:var(--gr1-card);border:1px solid var(--gr1-line);
  box-shadow:0 14px 34px #0007,inset 0 1px 0 #ffffff0d;display:grid;gap:10px;align-content:start}
html[data-theme="light"] .gr1-card{box-shadow:0 10px 26px #3a0a1218}
.gr1-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.gr1-h b{font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.gr1-h small{font-size:12px;font-weight:800;color:var(--gr1-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.gr1-empty{display:block;margin:0;padding:12px 8px;text-align:center;font-size:13px;color:var(--gr1-mute);list-style:none}
/* players: the moved lrk feed */
.gr1-players .gr1-feed{display:grid!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;min-height:0!important;height:auto!important;visibility:visible!important;opacity:1!important}
.gr1-players .gr1-feed ol{max-height:268px;gap:6px}
.gr1-players .gr1-feed li{background:var(--gr1-field);border:1px solid #ffffff10;border-radius:14px;padding:7px 10px}
html[data-theme="light"] .gr1-players .gr1-feed li{border-color:#0000000f}
.gr1-players .gr1-feed li.me{order:-1;border-color:var(--gr1-gold);background:color-mix(in srgb,var(--gr1-gold) 12%,transparent)}
.gr1-players .gr1-feed .av{width:32px;height:32px}
.gr1-players .gr1-feed .who b,.gr1-players .gr1-feed .sum b{font-size:14px}
/* roulette: round payout limit */
.gr1-cap{margin:0;padding:8px 10px;border-radius:12px;border:1px dashed var(--gr1-line);font-size:12px;line-height:1.4;color:var(--gr1-mute)}
/* winners */
.gr1-wl{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.gr1-wl li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 10px;border-radius:14px;background:var(--gr1-field);border:1px solid #ffffff10}
html[data-theme="light"] .gr1-wl li{border-color:#0000000f}
.gr1-wl li.gr1-empty{display:block}
.gr1-who{display:grid;gap:2px;min-width:0}
.gr1-who b{font-size:14px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr1-who small{font-size:11.5px;font-weight:700;color:var(--gr1-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr1-pay{font-size:14px;font-weight:900;color:var(--gr1-ok);white-space:nowrap;font-variant-numeric:tabular-nums}
.gr1-pay.gr1-zero{color:var(--gr1-mute)}
.gr1-oc{min-width:34px;height:30px;padding:0 9px;border-radius:999px;display:inline-grid;place-items:center;font-size:12.5px;font-weight:900;color:#fff;
  white-space:nowrap;background:#24242c;box-shadow:inset 0 0 0 2px #ffffff26;font-variant-numeric:tabular-nums}
.gr1-oc[data-t="r"]{background:#c8202a}.gr1-oc[data-t="g"]{background:#178a45}.gr1-oc[data-t="y"]{background:#b8861d}
.gr1-oc[data-t="u"]{background:#2f6db3}.gr1-oc[data-t="v"]{background:#6a46c8}.gr1-oc[data-t="b"]{background:#1d1d24}
/* fairness */
.gr1-dl{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:baseline}
.gr1-dl dt{font-size:12px;font-weight:800;color:var(--gr1-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.gr1-dl dd{margin:0;min-width:0;font-size:13px;font-weight:800;overflow:hidden;white-space:nowrap;text-align:right}
.gr1-hash{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px!important;color:var(--gr1-gold)}
.gr1-check{margin:0;padding:8px 10px;border-radius:12px;background:var(--gr1-field);font-size:13px;font-weight:850;color:var(--gr1-mute)}
.gr1-check.ok{color:var(--gr1-ok)}.gr1-check.bad{color:var(--gr1-bad)}
.gr1-note{margin:0;font-size:12px;line-height:1.45;color:var(--gr1-mute)}
.gr1-link{justify-self:start;font-size:12.5px;font-weight:850;color:var(--gr1-red2);text-decoration:none;border-bottom:1px dashed currentColor}
.gr1-link:hover{color:var(--gr1-gold)}
/* ---- one-screen shells (desktop): the game keeps the full first screen, <main> scrolls to the cards */
body.gr1-sm main{scrollbar-width:thin;scrollbar-color:#e5243b88 transparent}
body.gr1-sm main>.gr1-row{flex:none;margin-top:14px}
/* ---- live pill next to the title */
body.gr1 main .intro{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;max-width:none!important}
.gr1-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;background:#ffffff0b;border:1px solid var(--gr1-line);
  font-size:13px;font-weight:800;color:var(--gr1-ink);white-space:nowrap;max-width:100%;overflow:hidden}
.gr1-pill i{width:9px;height:9px;border-radius:50%;background:var(--gr1-ok);box-shadow:0 0 0 3px #36e08a33;flex:none;animation:gr1-blink 1.6s ease-in-out infinite}
.gr1-pill span{color:var(--gr1-mute);overflow:hidden;text-overflow:ellipsis}
.gr1-pill.hot{border-color:var(--gr1-red)}.gr1-pill.hot span{color:var(--gr1-gold)}
@keyframes gr1-blink{50%{opacity:.35}}
/* ---- bigger, clearer timer + phase */
body.gr1 .lrk-hud .lrk-ring,body.gr1 .lrk-hud .lv-ring{width:72px;height:72px}
body.gr1 .lrk-hud .lrk-ring span,body.gr1 .lrk-hud .lv-ring span{font-size:28px}
body.gr1 .lrk-hud .lv-badge b{font-size:15px}
/* ---- casino chips: same red-black kit, with the chip edge */
body.gr1 .lrk-skin .panel .stakes button{position:relative;height:42px!important;min-height:42px!important;font-size:12.5px!important}
body.gr1 .lrk-skin .panel .stakes button::before{content:"";position:absolute;inset:4px;border-radius:999px;border:2px dashed #ffffff30;pointer-events:none}
body.gr1 .lrk-skin .panel .stakes button.selected::before{border-color:#ffffffa0}
/* ---- responsive */
@media (max-width:1180px){.gr1-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.gr1-fair{grid-column:1/-1}}
@media (max-width:760px){.gr1-row{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:10px}.gr1-fair{grid-column:auto}
  .gr1-card{padding:12px;border-radius:18px}.gr1-pill{font-size:12px;padding:6px 11px}
  body.gr1 .lrk-hud .lrk-ring,body.gr1 .lrk-hud .lv-ring{width:58px;height:58px}body.gr1 .lrk-hud .lrk-ring span,body.gr1 .lrk-hud .lv-ring span{font-size:22px}}
@media (prefers-reduced-motion:reduce){.gr1-pill i{animation:none}}
