/* The single, physical-looking wheel is the only visual focal point. */
.roulette-upgraded { --rt-ink:#eaf5ed; --rt-muted:#a9c3bd; --rt-line:#46666a; --rt-panel:#172b34; --rt-panel2:#213a42; --rt-lime:#d7f497; --rt-gold:#facb80; color:var(--rt-ink) }
.roulette-upgraded [hidden] { display:none !important; }
.roulette-upgraded :is(button,input,select):focus-visible { outline:3px solid #d7f497; outline-offset:3px }
.roulette-upgraded button { cursor:pointer; }
.rt-site-header { position:relative; justify-content:space-between; }
.rt-site-header .qb-brand { position:absolute; left:50%; transform:translateX(-50%); white-space:nowrap }
.rt-header-spacer { width:126px; }
.rt-hero .qb-emoji { background:linear-gradient(145deg,#58745e,#244c53); box-shadow:inset 0 2px 10px #ffffff22,0 10px 22px #0004; }
.rt-panel { position:relative; border:1px solid var(--rt-line); border-radius:21px; background:linear-gradient(155deg,#223c44,#172b33 65%); box-shadow:0 18px 38px #0003; overflow:hidden; margin:0 0 20px; }
.rt-setup { padding:26px clamp(16px,3.5vw,32px) 24px; }
.rt-mode-toggle { display:flex; gap:6px; padding:5px; border:1px solid #526b69; border-radius:13px; background:#13272e; width:max-content; max-width:100%; margin-bottom:25px; }
.rt-mode-toggle button { padding:12px 22px; color:#b8d1c8; font-weight:800; font-size:14px; background:transparent; border:0; border-radius:9px; }
.rt-mode-toggle button.is-active { color:#20332e; background:var(--rt-lime); box-shadow:0 3px 11px #0004; }
.rt-panel-top,.rt-arena-top { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:18px; }
.rt-overline { color:var(--rt-gold); font-size:11px; letter-spacing:.13em; font-weight:900; margin:0 0 7px; }
.roulette-upgraded .rt-panel h2 { font-size:clamp(20px,3vw,27px); color:#f8fff7; margin:0 0 5px; }
.rt-muted { color:var(--rt-muted); line-height:1.6; font-size:12px; margin:5px 0 14px; }
.rt-count { border:1px solid #698376; padding:8px 12px; border-radius:999px; color:#daebc6; background:#25434a; white-space:nowrap; font-size:12px; font-weight:800; }
.rt-players { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:21px 0 16px; }
.rt-player { display:flex; align-items:center; gap:9px; border:1px solid #4c6769; border-radius:12px; background:#182e37; padding:7px; min-width:0; }
.rt-player .rt-avatar { background:#38565d; border:1px solid #69817d; width:43px; height:43px; flex:0 0 43px; border-radius:11px; font-size:27px; line-height:1; }
.rt-player input { border:0; padding:9px 4px; min-width:0; flex:1; background:transparent; color:#f2ffef; font-size:14px; font-weight:750; outline:none; }
.rt-player input::placeholder { color:#809b96; }
.rt-player .rt-remove,.rt-menu-chip button { width:32px; min-width:32px; height:32px; border:0; color:#c6d7d0; background:transparent; font-size:20px; line-height:1; border-radius:7px; }
.rt-player .rt-remove:hover,.rt-menu-chip button:hover { background:#ff8c8450; color:#fff; }
.rt-add-row { display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin:14px 0 0; }
.rt-add-row input { min-width:170px; flex:1; border-radius:10px; border:1px solid #607977; background:#11262f; color:#eaf8ed; padding:12px 13px; font-size:13px; }
.rt-add-row input::placeholder { color:#a2b8b4; }
.rt-btn-secondary,.rt-btn-text,.rt-btn-primary { border-radius:11px; min-height:43px; padding:11px 17px; font-weight:850; font-size:13px; transition:filter .15s ease; }
.rt-btn-secondary { border:1px solid #71928c; background:#2c4e53; color:#ebfbec; }
.rt-btn-text { border:1px solid transparent; background:transparent; color:#bcd4cf; }
.rt-btn-primary { color:#1b322e; background:var(--rt-lime); border:1px solid #e1faae; box-shadow:0 4px 0 #93b761,0 8px 22px #0004; font-size:15px; }
.rt-btn-primary:hover,.rt-btn-secondary:hover { filter:brightness(1.1); }
.rt-btn-primary:disabled,.rt-btn-secondary:disabled { opacity:.5; cursor:not-allowed; filter:none; box-shadow:none }
.rt-setup-bottom { display:flex; align-items:stretch; gap:14px; margin-top:22px; }
.rt-selector { border:1px solid #4e6f6d; background:#1b343d; border-radius:13px; padding:17px; flex:1; }
.rt-selector label { font-weight:850; color:#e6f5ea; margin-right:15px; font-size:13px; }
.rt-selector select { appearance:auto; background:#2d4a4e; color:#f5fff1; border:1px solid #71928c; border-radius:9px; padding:7px 9px; min-width:90px; }
.rt-selector small,.rt-prob small { display:block; color:#a8c3bc; font-size:11px; margin-top:9px; line-height:1.5; }
.rt-prob { flex:0 0 200px; display:flex; flex-direction:column; justify-content:center; border:1px solid #6f7656; border-radius:13px; background:#31423d; padding:14px 18px; }
.rt-prob span { color:#d4e9c7; font-size:12px; font-weight:750; }
.rt-prob strong { font-size:32px; line-height:1.2; color:var(--rt-lime); font-variant-numeric:tabular-nums; }
.rt-setup-actions { border-top:1px solid #496167; margin-top:24px; padding-top:21px; display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.rt-setup-actions .rt-btn-primary { min-width:240px; }
.rt-setup-actions span { color:var(--rt-muted); font-size:11px; }
.rt-error { font-size:12px; color:#ffbeb4; min-height:0; margin:10px 0 0; }
.rt-lunch-selected,.rt-menu-options { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.rt-lunch-selected { padding:13px; min-height:57px; margin-top:15px; border:1px dashed #789383; border-radius:13px; background:#172f35; }
.rt-menu-chip { display:inline-flex; align-items:center; padding:3px 3px 3px 11px; border-radius:99px; background:#37534d; border:1px solid #75907f; color:#f2ffeb; gap:2px; font-weight:750; font-size:12px; }
.rt-menu-chip button { font-size:17px; height:28px; width:28px; min-width:28px; }
.rt-categories { display:flex; overflow-x:auto; gap:7px; padding:5px 0; margin-top:17px; }
.rt-categories button { flex:0 0 auto; padding:8px 12px; background:#1b343d; color:#bfd5cf; border:1px solid #537373; border-radius:99px; font-size:12px; font-weight:700; }
.rt-categories button[aria-pressed="true"] { background:#d8f19d; color:#263734; border-color:#d8f19d; }
.rt-menu-options { margin:12px 0 8px; }
.rt-menu-options button { border:1px solid #557472; border-radius:10px; color:#eef8ef; background:#254148; padding:11px 12px; font-size:13px; }
.rt-menu-options button[aria-pressed="true"] { background:#3c604b; border-color:#d4ed9a; }
.rt-arena { padding:24px clamp(14px,3vw,28px) 26px; }
.rt-game-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(245px,.7fr); gap:26px; align-items:center; }
.rt-stage { min-width:0; display:flex; align-items:center; flex-direction:column; justify-content:center; padding:14px 0; background:radial-gradient(circle at center,#39646140,transparent 65%); }
.rt-stage-rim { position:relative; width:min(100%,520px); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 35% 22%,#e9f9b3,#98ad79 62%,#49645c 90%); border:8px solid #aac7a7; box-shadow:inset 0 0 0 5px #29433f,0 0 0 5px #28454b,0 18px 48px #0008,0 0 44px #d3f3a717; padding:6px; }
#rt-wheel { display:block; width:100%; height:100%; border-radius:50%; filter:drop-shadow(0 3px 4px #0007); will-change:transform; transform-origin:50% 50%; }
.rt-indicator { position:absolute; left:50%; top:-27px; transform:translateX(-50%); z-index:7; color:#ffda8c; font-size:38px; filter:drop-shadow(0 3px 2px #131f25); text-shadow:0 0 16px #ffc15f88; line-height:1; }
.rt-center-button { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:23%; height:23%; z-index:5; border:5px solid #eaf9df; border-radius:50%; background:radial-gradient(circle at 32% 25%,#dffca5,#89a95b); box-shadow:0 4px 0 #4b7257,0 5px 19px #0008; color:#1a382b; font-weight:950; font-size:clamp(16px,3vw,26px); }
.rt-center-button:disabled { opacity:.8; cursor:wait; }
.rt-wheel-caption { font-weight:750; font-size:12px; color:#d2e9d8; text-align:center; margin-top:25px; min-height:22px; }
.rt-sidebar { display:grid; gap:12px; }
.rt-live-box,.rt-selected-box { padding:18px; background:#122c35; border:1px solid #496b70; border-radius:13px; }
.rt-live-label { display:block; color:#c1d5cb; font-size:12px; font-weight:800; margin-bottom:6px; }
.rt-live-box strong { display:block; color:#fff5de; font-size:clamp(22px,3.2vw,30px); white-space:normal; word-break:keep-all; }
.rt-live-box small { color:#9fb9b4; display:block; font-size:11px; margin-top:5px; }
.rt-odds-box { border-color:#787d5c; background:#334239; }
.rt-odds-box strong { color:var(--rt-lime); font-size:35px; font-variant-numeric:tabular-nums; }
.rt-selected-box h3 { font-size:14px; margin:0 0 11px; color:#ecf8ee; }
.rt-selected-box ol { display:flex; flex-wrap:wrap; list-style:none; margin:0; padding:0; gap:7px; }
.rt-selected-box li:not(.rt-empty-result) { border:1px solid #8fbc85; background:#35584c; color:#f7ffe6; border-radius:99px; padding:7px 12px; font-weight:850; font-size:13px; }
.rt-selected-box .rt-empty-result { color:#99b4ae; font-size:12px; }
.rt-controls { display:grid; gap:9px; }
.rt-controls .rt-btn-primary { min-height:54px; }
.rt-controls .rt-btn-text { min-height:36px; }
.rt-celebrate { position:absolute; pointer-events:none; inset:0; overflow:hidden; }
.rt-confetti { position:absolute; top:30%; width:9px; height:14px; opacity:0; animation:rt-confetti 1.35s ease-out forwards; }
@keyframes rt-confetti { 0% { opacity:1; transform:translate(0,0) rotate(0) } 85% { opacity:1 } 100% { opacity:0; transform:translate(var(--tx),var(--ty)) rotate(var(--rot)) } }
.rt-history { padding:21px 24px; }
.rt-history-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:15px; }
.rt-history-heading h2 { font-size:16px!important; margin:0 0 3px!important; }
.rt-history-heading p { font-size:11px; color:#b3c8c1; margin:0; }
.rt-records { display:flex; flex-wrap:wrap; gap:8px; }
.rt-record { display:flex; align-items:center; gap:9px; border:1px solid #577471; border-radius:10px; padding:10px 12px; background:#213c42; font-size:12px; }
.rt-record strong { color:#eeffcf; font-weight:800; }
.rt-record time { font-size:10px; color:#a2bdb7; }
.rt-sr-only { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; padding:0; }
@media(max-width:760px) {
  .rt-game-layout { grid-template-columns:1fr; gap:8px; }
  .rt-stage-rim { max-width:460px; }
  .rt-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rt-selected-box,.rt-controls { grid-column:1/-1; }
  .rt-live-box { padding:13px; }
}
@media(max-width:540px) {
  .rt-site-header .qb-brand { font-size:12px; }
  .rt-site-header .qb-brand span { margin-left:0; }
  .rt-header-spacer { display:none; }
  .rt-site-header .qb-back { font-size:10px; padding:9px; }
  .rt-mode-toggle { width:100%; }
  .rt-mode-toggle button { flex:1; padding:11px 5px; font-size:12px; }
  .rt-players { grid-template-columns:1fr; }
  .rt-setup-bottom { flex-direction:column; }
  .rt-prob { flex:auto; }
  .rt-panel-top,.rt-arena-top { align-items:flex-start; flex-wrap:wrap; gap:8px; }
  .rt-setup { padding:17px 14px; }
  .rt-stage-rim { border-width:6px; }
  .rt-indicator { top:-22px; font-size:32px; }
  .rt-setup-actions .rt-btn-primary { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .rt-confetti { animation:none; display:none }
  .rt-btn-primary,.rt-btn-secondary { transition:none }
}

/* Polished roulette: sea-glass wheel and warm metallic controls. */
.roulette-upgraded { --rt-ink:#f5f4e9; --rt-muted:#acc1c1; --rt-line:#48636c; --rt-panel:#152c35; --rt-lime:#f1d49c; --rt-gold:#e7c590; background:radial-gradient(ellipse 90% 44% at 50% -4%,#2b4951 0,#101d24 83%); color:var(--rt-ink); }
.roulette-upgraded .qb-layout { max-width:1160px; }
.roulette-upgraded .qb-game-nav a { background:#1a313b; border-color:#3d5a61; }
.roulette-upgraded .qb-game-nav a[aria-current="page"] { background:#e2c495; color:#243740; border-color:#f0d9b0; box-shadow:inset 0 1px #fff4d5; }
.roulette-upgraded .qb-soundbar { background:linear-gradient(130deg,#1c323c,#193038); border-color:#3e5960; border-radius:15px; }
.roulette-upgraded .qb-soundbar button[aria-pressed="true"] { background:#e0c79a; border-color:#f2dfb8; color:#253b3d; }
.roulette-upgraded .qb-volume-label input { accent-color:#e7c590; }
.rt-hero { margin:22px 0 25px; }
.rt-hero .qb-emoji { background:radial-gradient(circle at 28% 18%,#bbd0c7 0,#416b72 40%,#263d49 85%); border:1px solid #b7a77f; border-radius:22px; box-shadow:inset 0 2px 2px #ffffff46,inset -7px -10px 22px #0c222355,0 14px 33px #050d1259; }
.rt-hero h1 { font-size:clamp(31px,5vw,45px); letter-spacing:-.045em; font-weight:850; }
.rt-hero .qb-eyebrow { color:#dfc8a0; }
.roulette-upgraded .rt-panel { border:1px solid #47626b; border-radius:22px; background:linear-gradient(148deg,#213b45 0%,#172d37 55%,#132935 100%); box-shadow:0 20px 44px #05121a56,inset 0 1px 0 #ffffff10; }
.rt-setup { padding:clamp(20px,3.5vw,36px); }
.rt-setup::before { content:""; pointer-events:none; position:absolute; inset:0 0 auto; height:2px; background:linear-gradient(90deg,transparent,#e4c88d9c 44%,transparent); }
.rt-mode-toggle { border-color:#536b70; background:#102934; border-radius:14px; margin-bottom:26px; }
.rt-mode-toggle button.is-active { color:#233742; background:linear-gradient(160deg,#f5dfa9,#dab984); box-shadow:0 2px 9px #06141b7b,inset 0 1px #fff4d4; }
.rt-overline { color:#ddc79c; font-weight:750; letter-spacing:.01em; font-size:12px; }
.roulette-upgraded .rt-panel h2 { letter-spacing:-.034em; font-weight:830; }
.rt-count { border-color:#5d797e; background:#294550; color:#e5ebd7; font-variant-numeric:tabular-nums; }
.rt-player { background:#142c37; border-color:#42606a; border-radius:13px; padding:8px 10px; }
.rt-player:focus-within { border-color:#dfc894; box-shadow:0 0 0 2px #e4ca903d; }
.rt-player .rt-avatar { border:1px solid #748f8a; background:linear-gradient(150deg,#446a70,#2d4955); border-radius:12px; }
.rt-player .rt-avatar:hover { background:#456d73; }
.rt-add-row input { background:#122b35; border-color:#526f74; border-radius:11px; min-height:46px; }
.rt-btn-secondary { border-color:#779298; background:linear-gradient(165deg,#35545f,#24434e); color:#f4f7e8; }
.rt-btn-text { color:#bbd0cb; }
.rt-btn-text:hover { color:#f6e0b7; background:#ffffff0b; }
.rt-btn-primary { border:1px solid #f6dfad; background:linear-gradient(155deg,#f4dca8,#d3ac71); color:#253840; box-shadow:inset 0 1px #fff5dd,0 3px 0 #8d714e,0 10px 24px #060f145e; border-radius:12px; letter-spacing:-.01em; }
.rt-btn-primary:hover:not(:disabled) { filter:brightness(1.06); transform:translateY(-1px); }
.rt-btn-primary:active:not(:disabled) { transform:translateY(2px); box-shadow:inset 0 1px #fff5dd,0 1px 0 #8d714e,0 5px 15px #060f145e; }
.rt-selector { background:#162f39; border-color:#42656b; }
.rt-selector select { background:#284b54; border-color:#7d9187; color:#fff7e8; }
.rt-prob { background:#303f3c; border-color:#857c5c; }
.rt-prob strong { color:#f5d699; }
.rt-setup-actions { border-color:#3d5b64; }
.rt-arena { padding:clamp(18px,3vw,35px); }
.rt-game-layout { grid-template-columns:minmax(0,1.28fr) minmax(270px,.72fr); gap:clamp(17px,2.5vw,32px); align-items:center; }
.rt-stage { position:relative; min-height:510px; padding:24px 8px 5px; background:none; }
/* The decorative circle is anchored to the wheel, not to the stage plus its caption. */
.rt-wheel-frame { position:relative; flex:0 0 auto; width:min(100%,490px); aspect-ratio:1; display:grid; place-items:center; isolation:isolate; }
.rt-wheel-frame::before { content:""; position:absolute; inset:-4%; pointer-events:none; z-index:-1; border:1px solid #ddc48b38; border-radius:50%; background:radial-gradient(circle at center,#416b7250 0,#1f3d4846 44%,transparent 75%); box-shadow:0 0 0 13px #e4ca8610,0 0 0 33px #d4c28f08,0 0 55px 9px #3f717a52; }
.rt-stage-rim { position:relative; width:100%; max-width:none; height:100%; aspect-ratio:1; padding:9px; border:7px solid #a8976e; border-radius:50%; background:conic-gradient(from -30deg,#dcc698,#927c59,#f5dba2,#8d7655,#e9d6ac,#88785c,#dcc698); box-shadow:inset 0 0 0 3px #2c4445,inset 0 0 0 6px #f6e3b691,0 0 0 2px #c4ae8266,0 15px 0 #0b222c,0 26px 45px #06141cba,0 0 43px #c9ad7145; }
.rt-stage-rim::before { content:""; position:absolute; inset:2px; border:2px solid #263944; border-radius:50%; pointer-events:none; z-index:2; box-shadow:inset 0 0 8px #061c26a6; }
#rt-wheel { filter:drop-shadow(0 3px 5px #091e2980); }
.rt-indicator { width:52px; height:58px; top:-30px; z-index:7; display:grid; place-items:center; font-size:0; text-shadow:none; filter:drop-shadow(0 5px 5px #071924c7); }
.rt-indicator::before { content:""; display:block; width:100%; height:100%; clip-path:polygon(50% 100%,4% 18%,13% 5%,87% 5%,96% 18%); background:linear-gradient(90deg,#886c43 0%,#fde2a4 35%,#ffecc3 52%,#c9a26d 79%,#7d6342 100%); }
.rt-indicator::after { content:""; position:absolute; top:12px; left:21px; width:10px; height:10px; border-radius:50%; background:#3e6371; border:1px solid #fff0c9; box-shadow:0 1px 3px #14232a6e; }
.rt-center-button { position:absolute; width:23%; height:23%; z-index:8; border:5px solid #f6e8bc; background:radial-gradient(circle at 30% 20%,#fff1ce,#e1c183 62%,#ad8855 100%); color:#243945; box-shadow:inset 0 3px 6px #ffffff9e,inset 0 -7px 12px #a57f5180,0 0 0 4px #19303bbd,0 5px 0 #846641,0 12px 24px #061219b3; font-size:clamp(15px,2.6vw,22px); letter-spacing:-.04em; text-shadow:0 1px #fff9e0ac; transition:filter .16s ease,box-shadow .16s ease; }
.rt-center-button:not(:disabled):hover { filter:brightness(1.08); box-shadow:inset 0 3px 6px #ffffffb8,inset 0 -7px 12px #a57f51,0 0 0 4px #19303bbd,0 5px 0 #846641,0 12px 30px #e7c59054; }
.rt-center-button:disabled { opacity:1; cursor:wait; filter:saturate(.65); }
.rt-arena.is-complete .rt-center-button { background:radial-gradient(circle at 30% 18%,#fff4d7,#f2cb93 55%,#c89062); border-color:#fff1d0; animation:rt-ready-glow 1s ease-out 1; }
@keyframes rt-ready-glow { 0% { box-shadow:0 0 0 0 #ffdca88c,0 0 0 4px #19303bbd; } 100% { box-shadow:0 0 0 21px #ffdca800,0 0 0 4px #19303bbd; } }
.rt-wheel-caption { display:inline-flex; align-items:center; justify-content:center; max-width:90%; padding:10px 18px; margin-top:34px; background:#172e38; border:1px solid #43616c; border-radius:999px; color:#d9e8df; font-size:12px; font-weight:750; line-height:1.55; }
.rt-wheel-caption.is-result { border-color:#c69f70; color:#fff0ce; background:#3c3932; }
.rt-sidebar { gap:12px; align-self:stretch; align-content:center; }
.rt-live-box,.rt-selected-box { border:1px solid #42606c; border-radius:16px; background:linear-gradient(150deg,#1c3842,#142c36); padding:19px 20px; }
.rt-live-box:first-child { border-color:#62828b; background:linear-gradient(140deg,#2a4c56,#1d3540); }
.rt-live-box strong { color:#fff3d7; font-weight:860; letter-spacing:-.027em; }
.rt-live-label { color:#bbd0ca; font-size:12px; }
.rt-odds-box { background:#213d40; border-color:#697d67; }
.rt-odds-box strong { color:#eed3a0; font-weight:870; }
.rt-selected-box { border-color:#786f5b; background:linear-gradient(155deg,#303b39,#203338); }
.rt-selected-box h3 { margin-bottom:12px; color:#f4e3bb; }
.rt-selected-box li:not(.rt-empty-result) { padding:8px 12px; color:#ffeac4; border:1px solid #b59a69; background:#46504a; border-radius:10px; }
.rt-controls { padding-top:6px; gap:10px; }
.rt-controls .rt-btn-primary { min-height:58px; font-size:16px; }
.rt-controls .rt-btn-text { min-height:42px; border:1px solid #44616a; }
.rt-arena.is-complete .rt-selected-box { border-color:#c7a275; box-shadow:inset 0 1px #f6e3bb24,0 0 20px #cba47716; }
.rt-history { background:#192f39; padding:22px 26px; }
.rt-record { background:#233f49; border-color:#48656c; }
.rt-record strong { color:#ffe2ad; }
@media(max-width:900px) { .rt-game-layout { grid-template-columns:minmax(0,1.1fr) minmax(250px,.85fr); gap:20px; } .rt-stage { min-height:0; } }
@media(max-width:760px) { .rt-game-layout { grid-template-columns:1fr; gap:14px; } .rt-stage { padding:25px 0 9px; min-height:0; } .rt-stage-rim { width:min(100%,480px); } .rt-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); align-content:stretch; } .rt-selected-box,.rt-controls { grid-column:1/-1; } }
@media(max-width:520px) { .rt-hero { margin-top:10px; } .rt-stage { padding:15px 0 0; } .rt-stage-rim { width:min(100%,420px); padding:6px; border-width:5px; } .rt-indicator { top:-22px; width:43px; height:49px; } .rt-indicator::after { width:8px; height:8px; left:17px; top:10px; } .rt-center-button { width:26%; height:26%; border-width:3px; font-size:clamp(13px,4.5vw,18px); } .rt-wheel-caption { margin-top:26px; padding:9px 12px; font-size:11px; } .rt-live-box,.rt-selected-box { padding:14px; } .rt-live-box strong { font-size:21px; } .rt-odds-box strong { font-size:30px; } .rt-arena { padding:16px 10px 20px; } .rt-history { padding:18px 15px; } }
@media(prefers-reduced-motion:reduce) { .rt-center-button, .rt-arena.is-complete .rt-center-button { transition:none; animation:none; } }

/* Keep the wheel-sized halo concentric at every responsive breakpoint. */
@media(max-width:760px) { .rt-wheel-frame { width:min(100%,480px); } }
@media(max-width:520px) { .rt-wheel-frame { width:min(100%,420px); } }

/* Ladder-style participant editor; retain roulette mode switching and multi-name paste. */
.rt-player-settings { margin:19px 0 0; }
.rt-player-count-field { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; padding:14px 17px; border:1px solid #527475; background:#19343b; border-radius:13px; }
.rt-player-count-field label { flex:0 0 auto; color:#f1f7e8; font-size:13px; font-weight:850; }
.rt-player-count-field select { min-width:115px; min-height:43px; padding:8px 12px; border:1px solid #84a39e; border-radius:9px; background:#294b53; color:#f5ffee; font-size:14px; font-weight:750; }
.rt-player-count-field span { flex:1 1 230px; color:#b5cbc7; font-size:12px; }
.rt-player-list-heading { margin:23px 0 10px; }
.rt-player-list-heading h3 { margin:0; padding-left:13px; border-left:4px solid #e9cb92; color:#f3f7e9; font-size:17px; }
.rt-player-list-heading p { margin:6px 0 0; color:#b4c9c2; font-size:12px; line-height:1.6; }
.rt-player-settings + .rt-players { margin:0 0 17px; }
.rt-player .rt-player-number { flex:0 0 20px; width:20px; color:#adc5b8; font:750 11px/1.2 system-ui,sans-serif; text-align:center; }
.rt-player .rt-remove:disabled { opacity:.35; cursor:not-allowed; }
.rt-player:focus-within { border-color:#d6eea2; }
@media(max-width:700px){ .rt-player-count-field {padding:12px;} .rt-player-count-field span {flex-basis:100%;} }

/* Dice-style roster actions: shared ParticipantEditor rows remain game-owned. */
.roulette-upgraded .rt-players {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0;}
.roulette-upgraded .rt-player {min-height:59px;gap:7px;padding:7px 8px;}
.roulette-upgraded .rt-player .rt-player-number {flex:0 0 18px;min-width:18px;}
.roulette-upgraded .rt-player .rt-avatar {display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font:25px/1 system-ui,sans-serif;}
.roulette-upgraded .rt-player input.ug-participant-name {flex:1 1 0;min-width:0;width:100%;min-height:40px;padding:6px 2px;border:0;font-size:16px;font-weight:750;text-overflow:ellipsis;}
.roulette-upgraded .rt-player .rt-remove {display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;}
.roulette-upgraded .rt-player .rt-remove:disabled {opacity:.3;cursor:not-allowed;}
.roulette-upgraded .rt-player-controls {grid-column:1/-1;display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:5px;}
.roulette-upgraded .rt-player-add {min-height:42px;padding:9px 15px;border:1px solid #e6d09d;border-radius:10px;background:#f1d49c;color:#253c34;font-size:13px;font-weight:800;cursor:pointer;}
.roulette-upgraded .rt-player-add:disabled {opacity:.45;cursor:not-allowed;}
.roulette-upgraded .rt-member-count {color:#bad0c5;font-size:12px;}
.roulette-upgraded .rt-roster-extra {margin-top:16px;padding:10px 13px;border:1px solid #526e70;border-radius:11px;background:#19313b;}
.roulette-upgraded .rt-roster-extra summary {min-height:31px;display:list-item;cursor:pointer;color:#d6e3d8;font-size:12px;font-weight:750;line-height:2.5;}
.roulette-upgraded .rt-roster-extra .rt-add-row {margin:8px 0 1px;}
.roulette-upgraded .rt-roster-extra:not([open]) .rt-add-row {display:none;}
@media(max-width:600px){.roulette-upgraded .rt-players {grid-template-columns:minmax(0,1fr);gap:8px;}.roulette-upgraded .rt-player input.ug-participant-name {font-size:16px;}}
@media(prefers-reduced-motion:reduce){.roulette-upgraded .rt-player {transition:none;}}

/* Coffee mission preset cards, lunch quick-tools, and wheel spin-style controls. */
.rt-mission-box {
  margin-top: 18px;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #48636c;
  background: #142c36;
}
.rt-mission-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.rt-mission-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 850;
  color: #f3f7e9;
}
.rt-mission-label::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 14px;
  border-radius: 4px;
  background: var(--rt-gold, #e7c590);
}
.rt-mission-badge {
  font-size: 11.5px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #8a7856;
  background: #2e3d39;
  color: #f5d699;
  white-space: nowrap;
}
.rt-mission-badge.is-empty {
  border-color: #4f686e;
  background: #1d353e;
  color: #a9c3bd;
}
.rt-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.rt-mission-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1.5px solid #48646b;
  background: #1a343f;
  color: #eef6ed;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.rt-mission-chip:hover {
  transform: translateY(-1.5px);
  border-color: #c8ae7d;
  background: #213f4b;
}
.rt-mission-chip:active {
  transform: translateY(0.5px) scale(0.99);
}
.rt-mission-icon {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #264550;
  border: 1px solid #597980;
  font-size: 20px;
  line-height: 1;
}
.rt-mission-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rt-mission-copy strong {
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rt-mission-copy small {
  font-size: 11px;
  color: #acc1c1;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rt-mission-check {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid #5a777d;
  background: #142a33;
  color: transparent;
  font-size: 11px;
  font-weight: 900;
}
.rt-mission-chip.is-selected {
  border-color: #f2d49a;
  background: linear-gradient(145deg, #3a4f49, #253b3d);
  box-shadow: 0 6px 16px #06131a55, 0 0 0 2px #f2d49a38;
}
.rt-mission-chip.is-selected .rt-mission-check {
  background: #f1d49c;
  border-color: #fff3d6;
  color: #253840;
}
.rt-mission-summary {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px dashed #67807c;
  background: #10242c;
  color: #e4efe6;
  font-size: 12px;
  font-weight: 750;
}
@keyframes rt-mission-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.018); box-shadow: 0 0 0 3px #ecc18b55; }
  100% { transform: scale(1); }
}
.rt-mission-summary.is-pulsing {
  animation: rt-mission-pulse 0.34s ease-out;
}
.rt-lunch-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.rt-lunch-tool-btn {
  min-height: 37px;
  padding: 7px 13px;
  font-size: 12px;
  border-radius: 999px;
}
.rt-spin-mode-box {
  padding: 15px 18px;
  border: 1px solid #42606c;
  border-radius: 16px;
  background: linear-gradient(150deg, #1c3842, #142c36);
}
.rt-spin-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}
.rt-spin-mode-btn {
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid #4e6d74;
  background: #152b34;
  color: #cde0db;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.14s ease;
}
.rt-spin-mode-btn:hover {
  transform: translateY(-1px);
  border-color: #d6be8c;
}
.rt-spin-mode-btn.is-active {
  background: linear-gradient(155deg, #f4dca8, #d3ac71);
  border-color: #f8e5bc;
  color: #253840;
  box-shadow: 0 3px 10px #08151c45;
}
@media(max-width:760px) {
  .rt-spin-mode-box { grid-column: 1 / -1; }
}
@media(max-width:560px) {
  .rt-mission-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .rt-mission-chip, .rt-spin-mode-btn, .rt-mission-summary.is-pulsing {
    transition: none !important;
    animation: none !important;
  }
}
