/* Contained feedback; no screen flashes, camera movement or infinite decoration. */
#fm-gem-rush .gr-daily-feature{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:18px;border:1px solid light-dark(#cbb184,#776544);border-radius:16px;background:light-dark(#fbf5e8,#2a2a30);margin:15px 0;color:var(--gr-text)}
#fm-gem-rush .gr-daily-feature>div{min-width:0}#fm-gem-rush .gr-daily-feature small{display:block;font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--gr-gold)}
#fm-gem-rush .gr-daily-feature h3{font-size:24px;margin:7px 0;letter-spacing:-.03em}#fm-gem-rush .gr-daily-feature p{font-size:12px;line-height:1.5;margin:0;color:var(--gr-muted)}
#fm-gem-rush .gr-daily-feature button{min-height:46px;font-size:13px;padding:10px 15px;border:1px solid var(--gr-gold);border-radius:10px;background:var(--gr-surface);color:var(--gr-text);font-weight:800;cursor:pointer}
#fm-gem-rush [data-regular-select]{display:block;margin:10px auto 0;min-height:44px;border:0;background:transparent;color:var(--gr-gold);font-weight:750;text-decoration:underline;cursor:pointer}
#fm-gem-rush[data-mode=host] .gr-race,#fm-gem-rush[data-mode=host] .gr-score-bot,#fm-gem-rush[data-mode=daily] .gr-race,#fm-gem-rush[data-mode=daily] .gr-score-bot{display:none}
#fm-gem-rush[data-mode=host] .gr-scores,#fm-gem-rush[data-mode=daily] .gr-scores{grid-template-columns:1fr 90px}
#fm-gem-rush[data-mode=host] .gr-result-score>span,#fm-gem-rush[data-mode=host] .gr-result-score>div:last-child,#fm-gem-rush[data-mode=daily] .gr-result-score>span,#fm-gem-rush[data-mode=daily] .gr-result-score>div:last-child{display:none}
#fm-gem-rush .gr-cell[aria-pressed=true]{background:#d9b87322;box-shadow:inset 0 0 0 2px #d9b873}
#fm-gem-rush .gr-cell[aria-pressed=true] .gr-sprite{transform:scale(1.035);filter:drop-shadow(0 2px 3px #0005)}
#fm-gem-rush [data-chain-tier=burst] .gr-cell[aria-pressed=true]{box-shadow:inset 0 0 0 2px #d3b6ef;background:#ae8ed52a}
#fm-gem-rush [data-chain-tier=blast] .gr-cell[aria-pressed=true]{box-shadow:inset 0 0 0 3px #a2d5df;background:#71b2c12a}
#fm-gem-rush .gr-pop-ring{position:absolute;border:2px solid #d9b873;border-radius:50%;width:24px;height:24px;margin:-12px;animation:gr-contained-pop .32s ease-out forwards;opacity:.75}
#fm-gem-rush .gr-float{font-size:clamp(23px,5vw,32px);text-shadow:0 2px 0 #392440;max-width:90%;text-align:center}
#fm-gem-rush .gr-spark{width:4px;height:4px;border-radius:50%;background:#d9b873}
#fm-gem-rush .gr-finish-layer{position:relative;inset:auto;display:block;padding:0;background:transparent;backdrop-filter:none}
#fm-gem-rush[data-phase=over] .gr-arena{padding:0!important;border:0;background:transparent;box-shadow:none;overflow:visible}
#fm-gem-rush[data-phase=over] .gr-board,#fm-gem-rush[data-phase=over] .gr-lines,#fm-gem-rush[data-phase=over] .gr-floats{display:none}
#fm-gem-rush .gr-finish-card{max-width:none;padding:26px 22px;background:var(--gr-surface);border-color:var(--gr-edge);box-shadow:none}
#fm-gem-rush .gr-finish-card h3{font-size:clamp(27px,5vw,39px);line-height:1.12;margin:12px 0}
#fm-gem-rush [data-replay]{min-height:58px;font-size:19px;margin:20px 0 7px;box-shadow:0 3px 0 light-dark(#561e42,#92643e)}
#fm-gem-rush [data-replay-hint]{font-size:12px!important;margin:7px 0 15px!important}
#fm-gem-rush [data-tickets]{font-size:20px;margin:15px 0 6px}
#fm-gem-rush [data-share-native]{min-height:48px;font-size:15px;font-weight:850;width:100%;margin-bottom:10px}
#fm-gem-rush .gr-secondary-details{margin-top:18px;border-top:1px solid var(--gr-edge);padding-top:8px;text-align:left}
#fm-gem-rush .gr-secondary-details>summary{min-height:44px;padding:10px 0;font-size:13px;cursor:pointer;color:var(--gr-muted);font-weight:750}
#fm-gem-rush .gr-daily-leaders{margin-top:22px;border-top:1px solid var(--gr-edge);padding-top:16px}
#fm-gem-rush .gr-daily-leaders h3{font-size:23px}#fm-gem-rush .gr-daily-leaders p{font-size:12px;color:var(--gr-muted)}
#fm-gem-rush .gr-daily-leaders ol{padding:0;list-style:none}#fm-gem-rush .gr-daily-leaders li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--gr-edge);padding:12px 0;font-size:14px;overflow-wrap:anywhere}
#fm-gem-rush[data-phase=playing] .gr-daily-leaders,#fm-gem-rush[data-phase=countdown] .gr-daily-leaders{display:none}
@keyframes gr-contained-pop{to{transform:scale(2.2);opacity:0}}
@media(max-width:440px){#fm-gem-rush .gr-daily-feature{grid-template-columns:1fr;padding:15px}#fm-gem-rush .gr-daily-feature button{width:100%}#fm-gem-rush .gr-finish-card{padding:20px 16px}}
@media(prefers-reduced-motion:reduce){#fm-gem-rush .gr-pop-ring,#fm-gem-rush .gr-spark{display:none!important}#fm-gem-rush .gr-float{animation:none!important}#fm-gem-rush .gr-cell[aria-pressed=true] .gr-sprite{transform:none!important}}

#fm-gem-rush .gr-daily-leaders>summary{font-size:15px;font-weight:800;min-height:46px;padding:9px 0;cursor:pointer;color:var(--gr-text)}
#fm-gem-rush[data-phase=preview] .gr-tour-help,#fm-gem-rush[data-phase=loading] .gr-tour-help{display:none!important}
