.rt-page { max-width: 1120px; margin-bottom: 64px; }
.rt-intro { max-width: 860px; margin: 28px auto; text-align: center; }
.rt-eyebrow { display: block; color: #836941; font-size: .7778rem; font-weight: 700; letter-spacing: .08em; line-height: 1.6; text-transform: uppercase; }
.rt-intro h1 { margin: 10px 0 17px; font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.rt-lead { color: var(--muted); font-size: 1.0556rem; }
.rt-source-note { color: var(--muted); font-size: .9444rem; }
.rt-trainer { scroll-margin-top: 20px; }
.rt-trainer h2 { margin: 0; font-size: 1.4444rem; font-weight: 600; letter-spacing: -.02em; }
.rt-trainer h3 { font-size: 1.2222rem; font-weight: 600; }
.rt-trainer button, .rt-trainer select { min-height: 44px; touch-action: manipulation; }
.rt-trainer button:disabled, .rt-trainer select:disabled { opacity: .5; cursor: default; }
.rt-trainer select { width: 100%; min-width: 0; padding: 9px 28px 9px 10px; border: 1px solid #aebbb0; border-radius: 4px; color: var(--ink); background: #fff; font-size: .8889rem; }
.rt-muted, .rt-small { color: var(--muted); font-size: .8333rem; }
.rt-small { margin: 10px 0; line-height: 1.65; }
.rt-field-title { display: flex; align-items: center; gap: 8px; min-height: 28px; margin-bottom: 6px; font-size: .8889rem; font-weight: 600; }
.rt-trainer .rt-info { position: relative; display: inline-grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; min-height: 24px; padding: 0; border: 1px solid #b4a078; border-radius: 50%; color: #725d36; background: #fff9eb; font: italic 700 .8rem/1 Georgia, serif; cursor: help; }
.rt-info::before { position: absolute; inset: -10px; content: ""; }
.rt-info:hover, .rt-info[aria-expanded="true"] { background: #f2e6c9; }
.rt-tooltip { position: fixed; z-index: 1000; width: 300px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); overflow: auto; padding: 12px 14px; border: 1px solid #d5c6a8; border-radius: 4px; background: #fff9eb; color: #263b33; box-shadow: 0 6px 18px #00000026; font-size: .8889rem; line-height: 1.6; }
.rt-tabs { display: flex; gap: 8px; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.rt-tabs button { flex: 1; padding: 13px 10px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font-size: 1rem; font-weight: 600; }
.rt-tabs button[aria-selected="true"] { border-bottom-color: var(--green); color: var(--green); }
.rt-tabs button:hover { background: var(--cream); }
.rt-play-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(290px, 1fr); gap: 24px; align-items: start; }
.rt-game, .rt-sidebar { min-width: 0; }
.rt-wheel-strip { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; padding: 10px 18px; border: 1px solid #d8dfd4; border-bottom: 0; border-radius: 9px 9px 0 0; background: #f5f6f0; }
.rt-wheel { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; }
.rt-wheel svg { display: block; width: 100%; height: 100%; }
.rt-wheel-outcome { position: absolute; inset: 28%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid #9e8553; border-radius: 50%; color: #fff4d5; background: #143e31; text-align: center; box-shadow: 0 0 0 7px #173f324d; }
.rt-wheel-outcome[data-win="true"] { border-color: #edce83; box-shadow: 0 0 0 7px #bda05d33, 0 0 25px #d3b77333; }
.rt-wheel-outcome > strong { font-size: clamp(1.5rem, 15cqi, 3rem); line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.rt-wheel-outcome > span:last-child { font-size: clamp(.5rem, 3.2cqi, .7778rem); line-height: 1.3; }
.rt-wheel-outcome .rt-celebration { font-size: clamp(.8rem, 8cqi, 1.5rem); line-height: 1.2; }
.rt-round-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #d8dfd4; border-radius: 7px; background: #fff; }
#rt-wheel-rotor, #rt-ball-orbit { transform-box: view-box; transform-origin: 160px 160px; }
.rt-wheel text { fill: #fff7e5; font-family: var(--font); font-size: 12px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.rt-wheel-pocket.rt-pocket--landed { stroke: #ffeb9e; stroke-width: 3; vector-effect: non-scaling-stroke; }
.rt-round-heading { display: flex; align-items: center; gap: 10px; }
.rt-round-heading .rt-eyebrow { font-size: .6667rem; letter-spacing: .055em; line-height: 1.4; }
.rt-last-result { display: flex; align-items: center; gap: 10px; margin: 0; }
.rt-result-number { display: grid; flex: 0 0 auto; place-items: center; width: 43px; height: 48px; border: 1px solid #aebeb0; border-radius: 5px; color: var(--green); background: #fff; font-size: 1.5rem; font-weight: 650; }
.rt-result-number.rt-red { color: #fff; background: #a63943; border-color: #a63943; }
.rt-result-number.rt-black { color: #fff; background: #24372f; border-color: #24372f; }
.rt-result-number.rt-green { color: #fff; background: #236548; border-color: #236548; }
.rt-last-result strong { font-size: 1.0556rem; font-weight: 600; line-height: 1.3; }
.rt-last-result p { margin: 3px 0 0; color: var(--muted); font-size: .8333rem; line-height: 1.45; }
.rt-meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rt-main-meter { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rt-meters span { display: block; color: var(--muted); font-size: .7778rem; line-height: 1.35; }
.rt-meters strong { display: block; font-size: 1.3333rem; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rt-meters small { display: block; color: var(--muted); font-size: .6667rem; line-height: 1.25; }
.rt-meters strong small { display: inline; font-size: .7222rem; font-weight: 400; }
.rt-table-console { padding: 18px; border: 1px solid #d8dfd4; border-radius: 0 0 9px 9px; background: #fff; }
.rt-trainer .rt-table-heading { margin: 0 0 14px; font-size: 1.1111rem; }
.rt-bet-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; margin-bottom: 13px; }
.rt-tool-field { min-width: 0; }
.rt-chip-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.rt-chip-picker legend { margin-bottom: 6px; font-size: .8889rem; font-weight: 600; line-height: 1.35; }
.rt-chip-picker legend .rt-muted { font-size: .7222rem; font-weight: 400; }
.rt-chip-picker > div { display: flex; gap: 5px; }
.rt-trainer [data-tone="white"], .rt-chip-choice[data-chip="100"] { --chip-color: #f2eee1; --chip-edge: #5b6b81; --chip-ink: #26384b; --chip-dark: #b4b4aa; }
.rt-trainer [data-tone="red"], .rt-chip-choice[data-chip="500"] { --chip-color: #b52a3b; --chip-edge: #f8e8db; --chip-ink: #fff7e9; --chip-dark: #7c1628; }
.rt-trainer [data-tone="blue"], .rt-chip-choice[data-chip="1000"] { --chip-color: #235f9a; --chip-edge: #e8eddf; --chip-ink: #fff8ec; --chip-dark: #173e6a; }
.rt-trainer [data-tone="green"], .rt-chip-choice[data-chip="2500"] { --chip-color: #248261; --chip-edge: #f1e6cd; --chip-ink: #fff7e8; --chip-dark: #12563f; }
.rt-trainer [data-tone="black"] { --chip-color: #293336; --chip-edge: #e7ddc6; --chip-ink: #fff7e9; --chip-dark: #141d20; }
.rt-trainer .rt-chip-choice { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; min-height: 38px; aspect-ratio: 1; padding: 0; border: 2px solid var(--chip-dark); border-radius: 50%; color: var(--chip-ink); background: radial-gradient(circle,var(--chip-color) 0 56%,transparent 58%),repeating-conic-gradient(from 12deg,var(--chip-edge) 0deg 18deg,var(--chip-color) 18deg 60deg); font-size: .8889rem; font-weight: 750; box-shadow: inset 0 0 0 1px #fff6,0 2px 2px #142a2533; }
.rt-trainer .rt-chip-choice[aria-pressed="true"] { outline: 2px solid #a77c31; outline-offset: 3px; }
.rt-actionbar { display: flex; align-items: end; justify-content: space-between; gap: 10px; min-width: 0; margin: 0; padding-top: 2px; }
.rt-primary, .rt-secondary, .rt-spin { padding: 10px 16px; border: 1px solid var(--green); border-radius: 5px; font-size: .9444rem; font-weight: 600; line-height: 1.4; }
.rt-primary { color: #fff; background: var(--green); }
.rt-primary:hover:not(:disabled) { background: var(--green-dark); }
.rt-secondary { color: var(--green); background: #fff; }
.rt-secondary:hover:not(:disabled) { background: #eef3ec; }
.rt-spin { flex: 0 0 auto; min-width: 88px; min-height: 54px !important; padding: 10px 12px; border: 2px solid #96703e; background: #edd7a2; color: #244334; font-size: 1.1111rem; box-shadow: inset 0 0 0 2px #fff0c7; }
.rt-spin:hover:not(:disabled) { background: #f7e6bc; }
.rt-text-button { padding: 7px 4px; border: 0; color: var(--green); background: transparent; font-size: .8333rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.rt-text-button:hover { color: var(--green-dark); }
.rt-button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rt-table-note { min-height: 42px; margin: 0 0 12px; color: var(--muted); font-size: .8333rem; line-height: 1.5; }
.rt-bet-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 12px; border: 1px solid #d3c7a4; border-radius: 5px; background: #faf7ee; }
.rt-bet-options button { padding: 8px 10px; border: 1px solid #b6bea9; border-radius: 4px; background: #fff; color: var(--green); font-size: .8333rem; }
.rt-bet-options > span { flex-basis: 100%; margin: 0; }
.rt-mobile-bets { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 5px; }
.rt-mobile-bets > summary { min-height: 46px; padding: 11px 13px; color: var(--green); font-size: .8889rem; font-weight: 600; cursor: pointer; }
.rt-mobile-bets .rt-side-card { padding: 15px; border: 0; }
.rt-felt { padding: 12px; border: 3px solid #b0945b; border-radius: 9px; background: #174e3e; box-shadow: inset 0 0 0 3px #103e31; }
.rt-number-board { position: relative; display: grid; grid-template-columns: 34px repeat(12, minmax(0, 1fr)) 37px; grid-template-rows: repeat(3, 47px); gap: 1px; }
.rt-trainer .rt-spot { position: relative; min-width: 0; min-height: 44px; padding: 5px 1px; border: 1px solid #e2e8cfa6; border-radius: 2px; color: #fff8e5; background: #174e3e; font-size: .8889rem; line-height: 1.2; font-weight: 600; }
.rt-trainer .rt-spot:disabled { opacity: .65; }
.rt-trainer .rt-spot:hover:not(:disabled), .rt-spot.rt-inspect { box-shadow: inset 0 0 0 3px #eed69b; }
.rt-spot:focus-visible { outline-color: #ffebad; outline-offset: -4px; }
.rt-spot.rt-red { background: #a33a43; }
.rt-spot.rt-black { background: #22392f; }
.rt-spot.rt-zero { grid-column: 1; grid-row: 1 / span 3; background: #22634b; }
.rt-number { grid-column: var(--rt-x); grid-row: var(--rt-y); }
.rt-column { grid-column: 14; grid-row: var(--rt-y); }
.rt-spot.rt-landed::after { position: absolute; bottom: 4px; left: 4px; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: #fff2b3; content: ""; box-shadow: 0 0 0 2px #1b382e; }
.rt-trainer .rt-spot.rt-spot--won { border-color: #ffe5a0; box-shadow: inset 0 0 0 3px #ffe5a0, 0 0 9px #f9df8e66; }
.rt-trainer .rt-spot.rt-paid-coverage { box-shadow: inset 0 0 0 2px #d8c17c; }
.rt-trainer .rt-spot.rt-landed { z-index: 1; border-color: #ffeb9e; box-shadow: inset 0 0 0 3px #ffeb9e, 0 0 0 1px #ffeb9e; }
.rt-win-flag { position: absolute; bottom: 2px; left: 4px; z-index: 6; color: #fff0b6; font-size: 9px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; }
.rt-column .rt-win-flag { bottom: 1px; left: 50%; transform: translateX(-50%); padding: 1px 2px; border-radius: 2px; color: #174832; background: #ffe7a0; white-space: nowrap; }
.rt-chip-layer { position: absolute; inset: 0; pointer-events: none; }
.rt-table-chip, .rt-spot-badge { position: absolute; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 2px solid var(--chip-dark); border-radius: 50%; background: radial-gradient(circle,var(--chip-color) 0 56%,transparent 58%),repeating-conic-gradient(from 12deg,var(--chip-edge) 0deg 18deg,var(--chip-color) 18deg 60deg); color: var(--chip-ink); box-shadow: 0 2px 6px #0008,inset 0 0 0 1px #fff7; font-size: 15px; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.rt-table-chip { transform: translate(-50%, -50%); }
.rt-spot-badge { top: 50%; right: 2px; transform: translateY(-50%); pointer-events: none; }
.rt-outside .rt-has-chip > span:first-child, .rt-dozens .rt-has-chip > span:first-child { display: block; padding-right: 36px; }
.rt-table-chip[data-state="won"], .rt-spot-badge[data-state="won"] { z-index: 5; outline: 2px solid #ffdf86; outline-offset: 1px; box-shadow: 0 0 0 3px #dcc17255,0 2px 10px #0008,inset 0 0 0 1px #fff7; }
.rt-table-chip[data-state="won"]::after, .rt-spot-badge[data-state="won"]::after { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #fff3c6; border-radius: 50%; color: #174832; background: #ffe7a0; content: "✓"; font-size: 12px; font-weight: 800; }
.rt-table-chip[data-state="lost"], .rt-spot-badge[data-state="lost"] { opacity: .5; filter: grayscale(.8); box-shadow: 0 1px 3px #0004; }
.rt-table-chip[data-state="refund"], .rt-spot-badge[data-state="refund"] { outline: 2px solid #bad4e0; outline-offset: 1px; box-shadow: 0 2px 6px #0007,inset 0 0 0 1px #fff7; }
.rt-dozens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-top: 5px; }
.rt-outside { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; margin-top: 4px; }
.rt-spot.rt-outside-red { background: #8e3540; }
.rt-spot.rt-outside-black { background: #22392f; }
.rt-table-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 15px; margin-top: 7px; }
.rt-table-actions > span { color: var(--muted); font-size: .6667rem; }
.rt-inline-status { margin: 8px 0 0; color: #5d4932; font-size: .8889rem; }
.rt-inline-status:empty { display: none; }
.rt-feedback { margin: 18px 0; padding: 18px 20px; border: 1px solid #d5c99f; border-radius: 6px; background: #faf7ed; }
.rt-feedback-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.rt-result-summary { min-width: 0; }
.rt-feedback strong { display: block; margin-bottom: 5px; font-size: 1.1111rem; font-weight: 600; }
.rt-feedback p { margin: 0; color: var(--muted); font-size: .9444rem; }
.rt-feedback[data-wins]:not([data-wins="0"]) { border: 2px solid #86a77e; background: #f1f6ec; }
.rt-feedback .rt-eyebrow { margin-bottom: 5px; }
.rt-feedback .rt-celebration { display: inline-block; margin-right: 3px; font-size: 1.4rem; vertical-align: middle; }
.rt-win-return { display: block; margin-top: 4px; color: #1b6847; font-size: 1.3333rem; font-variant-numeric: tabular-nums; }
.rt-feedback .rt-overall { margin-top: 10px; color: #45513f; font-weight: 650; }
.rt-feedback[data-net="positive"] .rt-overall { color: #1b6847; }
.rt-feedback[data-net="negative"] .rt-overall { color: #a23137; }
.rt-winning-list { margin: 14px 0; padding: 0; list-style: none; }
.rt-winning-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 14px; padding: 8px 0; border-top: 1px solid #ceddc4; font-size: .8333rem; }
.rt-winning-list li > span:first-child { color: #1b6847; font-weight: 650; }
.rt-feedback .rt-result-math { margin-top: 12px; font-size: .8333rem; }
.rt-next-step { min-width: 0; padding: 13px 15px; border-left: 3px solid #a18956; background: #fffdf7; }
.rt-trainer .rt-next-step h3 { margin: 0 0 6px; font-size: .9444rem; }
.rt-next-step p { font-size: .8889rem; line-height: 1.6; }
.rt-next-step .rt-small { margin-top: 8px; }
.rt-positive { color: #1b6847; }
.rt-negative { color: #a23137; }
.rt-signed { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-details { margin-top: 17px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; }
.rt-details > summary, .rt-side-card > summary { cursor: pointer; font-size: .9444rem; font-weight: 600; }
.rt-details > summary { min-height: 30px; }
.rt-details[open] > summary, .rt-side-card[open] > summary { margin-bottom: 13px; }
.rt-details .data-table { font-size: .8333rem; }
.rt-details .data-table th, .rt-details .data-table td { padding: 10px 12px; }
.rt-breakdown-total { padding-top: 9px; border-top: 1px solid var(--line); font-size: .9444rem; }
.rt-history-balls { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; padding: 0; list-style: none; }
.rt-history-balls li { display: grid; place-items: center; width: 32px; height: 35px; border-radius: 3px; color: #fff; background: #24372f; font-size: .8333rem; }
.rt-history-balls li.rt-red { background: #a33a43; }
.rt-history-balls li.rt-green { background: #236548; }
.rt-sidebar { display: flex; flex-direction: column; gap: 17px; }
.rt-side-card { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.rt-side-card h2 { font-size: 1.1667rem; }
.rt-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px 18px; margin-bottom: 14px; }
.rt-section-heading .rt-eyebrow { margin-bottom: 5px; }
.rt-score { color: var(--green); font-size: .8889rem; font-weight: 600; }
.rt-bet-list, .rt-saved-layouts { margin: 12px 0 0; padding: 0; list-style: none; }
.rt-bet-list { max-height: 420px; overflow: auto; scrollbar-gutter: stable; }
.rt-bet-list li { display: grid; grid-template-columns: minmax(0, 1fr) 30px 30px; gap: 4px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rt-bet-list li.rt-empty { display: block; padding: 20px 0; color: var(--muted); font-size: .8889rem; }
.rt-bet-list .rt-bet-name { min-height: 44px; padding: 0 5px 0 0; border: 0; text-align: left; background: transparent; color: var(--ink); font-size: .8333rem; line-height: 1.45; }
.rt-bet-name strong, .rt-bet-name small { display: block; }
.rt-bet-name small { color: var(--muted); font-size: .7222rem; }
.rt-bet-list li.rt-settled-bet { display: block; margin-top: 7px; padding: 10px 12px; border: 1px solid #d9ded4; border-radius: 5px; background: #f6f7f2; }
.rt-bet-list .rt-settled-bet .rt-bet-name { width: 100%; }
.rt-bet-status { display: block; margin-top: 5px; font-size: .7778rem; font-weight: 600; }
.rt-bet-list .rt-settled-bet[data-state="won"] { border-color: #91ae82; background: #edf5e6; }
.rt-settled-bet[data-state="won"] .rt-bet-status { color: #1b6847; }
.rt-settled-bet[data-state="lost"] .rt-bet-status { color: #796663; }
.rt-bet-list .rt-settled-bet[data-state="refund"] { border-color: #a4c1cb; background: #f0f6f8; }
.rt-settled-bet[data-state="refund"] .rt-bet-status { color: #315d72; }
.rt-bet-list .rt-bet-edit { width: 30px; min-height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 4px; color: var(--green); background: #f8faf5; font-size: 1rem; }
.rt-coverage { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.rt-coverage > strong { font-size: 1.4444rem; font-weight: 600; }
.rt-coverage > p { margin: 5px 0 8px; font-size: .8333rem; color: var(--muted); }
.rt-coverage .rt-field-title { font-size: .7778rem; }
.rt-saved-layouts li { display: flex; align-items: start; gap: 5px; margin-top: 9px; }
.rt-saved-layouts li button:first-child { flex: 1; padding: 9px; border: 1px solid var(--line); border-radius: 4px; text-align: left; color: var(--green); background: #f8faf5; font-size: .8333rem; }
.rt-saved-layouts small { display: block; color: var(--muted); font-size: .7222rem; }
.rt-session-stats { margin: 0; font-size: .8333rem; }
.rt-session-stats > div { display: flex; justify-content: space-between; gap: 15px; padding: 6px 0; }
.rt-session-stats dt { color: var(--muted); }
.rt-session-stats dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.rt-session-chart { display: block; width: 100%; margin-top: 16px; border-bottom: 1px solid var(--line); }
.rt-reset-confirm { margin: 12px 0; padding: 12px; border: 1px solid #d7c499; border-radius: 4px; background: #faf7ed; font-size: .8889rem; }
.rt-reset-confirm p { margin-bottom: 8px; }
.rt-example-buttons { display: grid; gap: 8px; }
.rt-example-buttons button { font-size: .8333rem; }
.rt-example-result { font-size: .8333rem; }
.rt-example-result:not(:empty) { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rt-example-result p { margin: 8px 0 0; }
.rt-challenge { margin-bottom: 23px; padding: 22px; border: 1px solid #cec39e; border-radius: 7px; background: #faf7ed; }
.rt-challenge > p { margin-bottom: 12px; }
.rt-challenge .rt-section-heading h2 { font-size: 1.2222rem; }
.rt-filters, .rt-lab-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0 24px; }
.rt-filters button, .rt-lab-presets button { padding: 9px 14px; border: 1px solid #bdc8b9; border-radius: 4px; color: var(--green); background: #fff; font-size: .8889rem; }
.rt-filters button[aria-pressed="true"], .rt-lab-presets button[aria-pressed="true"] { border-color: var(--green); background: #e8eee2; }
.rt-question { max-width: 850px; padding: 27px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcf8; }
.rt-question h3 { margin: 8px 0 14px; font-size: 1.4444rem; }
.rt-options { display: grid; gap: 9px; margin: 22px 0; }
.rt-options button { padding: 13px 16px; border: 1px solid #bfc9ba; border-radius: 4px; background: #fff; color: var(--ink); text-align: left; font-size: 1rem; line-height: 1.5; }
.rt-options button:hover:not(:disabled) { background: #edf2e7; }
.rt-options button[data-correct="true"] { border: 2px solid #61805b; background: #eaf3e3; color: #214530; opacity: 1; }
.rt-options button[data-wrong="true"] { border: 2px solid #b27860; background: #fff1e8; color: #6b3b2f; opacity: 1; }
.rt-question-feedback { padding: 17px; margin: 18px 0; border-left: 3px solid #9b8352; background: #f4f0e2; font-size: .9444rem; }
.rt-question-feedback strong { display: block; margin-bottom: 6px; }
.rt-question-feedback p { margin: 0; }
.rt-lab-layout { padding: 16px 20px; border: 1px solid var(--line); border-radius: 5px; background: var(--cream); font-size: .9444rem; }
.rt-lab-zero { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 25px 0 18px; }
.rt-lab-zero label { font-weight: 600; }
.rt-lab-zero select { max-width: 300px; }
.rt-outcome-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 6px; }
.rt-outcome-grid button { padding: 9px 2px; border: 1px solid #b6c2b0; border-radius: 4px; color: #294433; background: #edf3e5; font-size: .9444rem; font-weight: 600; }
.rt-outcome-grid button[data-net="loss"] { color: #7e3436; background: #fbefeb; border-color: #d4b8ab; }
.rt-outcome-grid button[data-net="even"] { color: #5f634f; background: #f3f2e9; border-color: #ccceba; }
.rt-outcome-grid button[aria-pressed="true"] { outline: 3px solid #876b39; outline-offset: 1px; }
.rt-outcome-grid small { display: block; font-size: .6667rem; }
.rt-outcome-key { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.rt-outcome-key span:first-child { color: #1b6847; }
.rt-outcome-key span:last-child { color: #96383a; }
.rt-lab-detail { margin-top: 15px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 5px; background: #fafbf7; }
.rt-lab-detail h3 { margin: 0 0 10px; }
.rt-lab-detail p { margin: 7px 0; font-size: .9444rem; }
.rt-lab-detail ul { margin: 10px 0 0; padding-left: 20px; font-size: .8889rem; }
.rt-sample-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 13px; margin-top: 18px; }
.rt-sample-controls label { display: block; margin-bottom: 6px; font-size: .8889rem; font-weight: 600; }
.rt-sample-controls select { min-width: 160px; }
.rt-sample-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 22px 0; }
.rt-sample-stats dt { color: var(--muted); font-size: .8333rem; }
.rt-sample-stats dd { margin: 4px 0 0; font-size: 1.2222rem; font-weight: 600; font-variant-numeric: tabular-nums; }
#rt-sample-chart { display: block; width: 100%; border: 1px solid var(--line); border-radius: 5px; background: #fafbf7; }
.rt-reading { max-width: 820px; margin: 56px auto 0; }
.rt-reading h2 { margin: 6px 0 20px; font-size: 1.7778rem; font-weight: 600; letter-spacing: -.02em; }
.rt-reading h3 { margin: 30px 0 13px; font-size: 1.2778rem; font-weight: 600; }
.rt-reading p, .rt-reading li { color: #4a5b50; }
.rt-reading li { margin-bottom: 14px; padding-left: 4px; }
.rt-start-steps { padding-left: 24px; }
.rt-worked { margin-top: 28px; padding: 20px 24px; border-left: 3px solid #a18959; background: #f6f5ec; }
.rt-worked h3 { margin-top: 0; }
.rt-worked p:last-child { margin-bottom: 0; }
.rt-sources { padding-top: 30px; border-top: 1px solid var(--line); }
.rt-sources p { font-size: .9444rem; }
@media (max-width: 1100px) {
    .rt-play-grid { grid-template-columns: minmax(0, 1fr); }
    .rt-sidebar { display: flex; flex-direction: column; align-items: stretch; }
    .rt-number-board { grid-template-rows: repeat(3, 52px); }
    .rt-trainer .rt-spot { font-size: 1rem; }
}
@media (max-width: 760px) {
    .rt-intro { margin-top: 24px; }
    .rt-intro h1 { font-size: 2rem; }
    .rt-source-note { font-size: .8889rem; }
    .rt-tabs { gap: 0; }
    .rt-tabs button { padding: 12px 6px; font-size: .8333rem; }
    .rt-trainer h2 { font-size: 1.2778rem; }
    .rt-wheel-strip { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; }
    .rt-wheel { width: min(100%, 300px); justify-self: center; }
    .rt-wheel-strip .rt-meters { gap: 9px; }
    .rt-meters strong { font-size: 1.2222rem; }
    .rt-meters small { font-size: .6111rem; }
    .rt-bet-tools { gap: 12px; }
    .rt-feedback-top { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .rt-outcome-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .rt-sample-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rt-reading h2 { font-size: 1.5556rem; }
    .rt-reading { margin-top: 42px; }
}
@media (max-width: 600px) {
    .rt-number-board { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 44px repeat(12, 44px) 44px; gap: 2px; }
    .rt-number { grid-column: var(--rt-vx); grid-row: var(--rt-vy); }
    .rt-spot.rt-zero { grid-column: 1 / -1; grid-row: 1; }
    .rt-column { grid-column: var(--rt-vx); grid-row: 14; }
    .rt-outside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rt-trainer .rt-spot { font-size: 1rem; }
    .rt-bet-options { position: sticky; top: 8px; z-index: 15; max-height: 50vh; overflow: auto; box-shadow: 0 3px 10px #173d3326; }
    .rt-felt { padding: 10px; }
    .rt-dozens { gap: 3px; margin-top: 6px; }
}
@media (max-width: 480px) {
    .rt-wheel-strip { gap: 15px; padding: 13px; }
    .rt-round-heading { align-items: start; gap: 8px; }
    .rt-round-heading .rt-eyebrow { font-size: .6111rem; }
    .rt-last-result { gap: 8px; }
    .rt-result-number { width: 38px; height: 43px; font-size: 1.2778rem; }
    .rt-last-result strong { font-size: .8889rem; }
    .rt-last-result p { font-size: .7222rem; }
    .rt-meters { gap: 10px; }
    .rt-meters strong { font-size: 1.1667rem; }
    .rt-meters span { font-size: .7222rem; }
    .rt-table-console { padding: 13px; }
    .rt-outside .rt-has-chip > span:first-child { font-size: .7778rem; }
    .rt-bet-tools { grid-template-columns: minmax(0, 1fr); }
    .rt-chip-picker > div { gap: 5px; }
    .rt-trainer .rt-chip-choice { width: 32px; height: 32px; min-height: 32px; }
    .rt-round-panel { padding: 12px; }
    .rt-tool-field { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; }
    .rt-tool-field:last-child { grid-column: auto; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
    .rt-field-title { margin-bottom: 0; font-size: .8333rem; gap: 7px; }
    .rt-trainer select { padding-left: 7px; font-size: .8333rem; }
    .rt-actionbar { gap: 8px; }
    .rt-spin { min-width: 77px; padding: 10px 7px; font-size: 1rem; }
    .rt-table-note { min-height: 0; font-size: .8333rem; }
    .rt-table-actions > span { font-size: .7222rem; }
    .rt-feedback, .rt-side-card { padding: 17px; }
    .rt-details { padding: 14px; }
    .rt-question { padding: 19px; }
    .rt-question h3 { font-size: 1.2778rem; }
    .rt-options button { font-size: .9444rem; }
    .rt-filters button { padding-inline: 11px; font-size: .8333rem; }
    .rt-outcome-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .rt-lab-layout { padding: 13px 15px; }
    .rt-lab-detail { padding: 16px; }
    .rt-challenge { padding: 18px; }
    .rt-worked { padding: 18px; }
    .rt-reading .data-table { font-size: .8333rem; }
    .rt-reading .data-table th, .rt-reading .data-table td { padding: 10px; }
}
@media (max-width: 360px) {
    .rt-outside .rt-spot { min-height: 68px; }
    .rt-outside .rt-has-chip > span:first-child { position: absolute; top: 5px; left: 6px; padding-right: 0; white-space: nowrap; }
    .rt-outside .rt-spot-badge { top: auto; right: 5px; bottom: 5px; transform: none; }
}
