/* Home-only radio room. Shared navigation, player, alerts and town pages retain their behavior. */
body.radio-room-home{--rr-surface:#14232e;--rr-inset:#0d1c27;--rr-border:#354956;--rr-muted:#aec0cc;background:#0c1720;color:#e9eff4}
.radio-room-home .scanner-page-shell{max-width:1200px}
.radio-room-home .scanner-header{background:#14232e;box-shadow:none;border-bottom:1px solid var(--rr-border)}
.radio-room-home .scanner-brand-kicker{color:#f1bf63}
.rr-home{padding-top:24px;display:flex;flex-direction:column;gap:24px}
.rr-heading,.rr-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.rr-heading h1{font-size:26px;letter-spacing:-.03em;font-weight:600;margin-top:5px}
.rr-kicker{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--rr-muted)}
.rr-shortcuts{display:flex;gap:8px;flex-wrap:wrap}
.rr-shortcuts a,.rr-favorites button{border:1px solid var(--rr-border);border-radius:7px;padding:10px 12px;min-height:44px;font-size:13px;background:var(--rr-surface)}
.rr-shortcuts a:hover,.rr-favorites button:hover{border-color:#f1bf63}
.rr-console{--rr-color:#ff969e;--rr-tint:#3d222c;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;padding:20px;border:1px solid var(--rr-border);border-top:3px solid var(--rr-color);border-radius:10px;background:var(--rr-surface)}
.rr-console[data-service=police]{--rr-color:#85b7ff;--rr-tint:#142c49}
.rr-display{background:var(--rr-tint);padding:18px;border-radius:7px;min-width:0}
.rr-display h2{font:500 23px/1.35 'Roboto Mono',monospace;color:var(--rr-color);margin:8px 0 12px;overflow-wrap:anywhere}
.rr-display #rr-transcript{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.rr-recorded{font-size:12px;color:var(--rr-muted);margin-top:16px}
.rr-controls{display:flex;flex-direction:column;justify-content:center;gap:10px}
.rr-controls button{padding:12px;border:1px solid var(--rr-border);border-radius:7px;min-height:44px;background:var(--rr-inset);font-size:14px}
.rr-controls #rr-play,.rr-controls button[aria-pressed=true]{background:var(--rr-tint);border-color:var(--rr-color);color:var(--rr-color)}
.rr-controls button:disabled{opacity:.5;cursor:default}
.rr-controls a{font-size:13px;text-align:center;padding:8px;color:var(--rr-color)}
.rr-controls #rr-status{font-size:12px;color:var(--rr-muted);text-align:center}
.rr-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:26px;align-items:start}
.rr-columns>section{min-width:0}
.rr-section-heading{margin-bottom:14px}
.rr-section-heading h2{font-size:17px;font-weight:600}
.rr-section-heading>a,.rr-muted{font-size:12px;color:var(--rr-muted)}
.rr-home a:hover{text-decoration:underline;text-underline-offset:3px}
.rr-home :is(button,a,input):focus-visible{outline:2px solid #f1bf63;outline-offset:4px}
.rr-favorites{scroll-margin-top:130px;border-bottom:1px solid var(--rr-border);padding-bottom:18px}
.rr-favorites .rr-section-heading{margin-bottom:8px}
.rr-favorites h2{font-size:14px}
#rr-favorite-links{display:flex;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--rr-muted)}
#rr-favorite-links a{border:1px solid #85b7ff;color:#85b7ff;background:#142c49;padding:8px 12px;border-radius:7px;min-height:44px;display:inline-flex;align-items:center}
#rr-favorite-links a[data-service=fire]{border-color:#ff969e;color:#ff969e;background:#3d222c}
.rr-home #towns{scroll-margin-top:130px}
.rr-home #town-grid>.glass{background:var(--rr-surface);border:1px solid var(--rr-border);border-radius:9px;box-shadow:none;padding:16px;transform:none;min-width:0}
.rr-home #town-grid h3{text-align:left;font-size:17px;margin-bottom:14px}
.rr-home #town-grid [data-feed]{min-width:0;max-width:none;border-radius:6px;position:relative}
.rr-home #town-grid [data-feed$=pd]{color:#85b7ff;border-top:3px solid #85b7ff;background:#142c49}
.rr-home #town-grid [data-feed$=fd]{color:#ff969e;border-top:3px solid #ff969e;background:#3d222c}
.rr-home #town-grid .max-w-\[130px\]{max-width:none;min-width:0}
.rr-home #town-grid .text-slate-500,.rr-home #town-grid .text-slate-600{color:var(--rr-muted)}
.rr-home .town-tab-active::after{display:none}
.rr-home #call-card-grid{display:grid;grid-template-columns:1fr;gap:0}
.rr-home .call-card-entry{padding:16px 0;background:transparent;border:0;border-bottom:1px solid var(--rr-border);border-radius:0;box-shadow:none;animation:none;opacity:1;transform:none}
.rr-home .call-card-meta{letter-spacing:.03em;font-size:11px;flex-wrap:wrap;gap:8px}
.rr-home .call-card-title{font-size:15px;margin-top:8px}
.rr-home .call-card-transcript{font-size:13px;min-height:0;color:var(--rr-muted);line-height:1.6}
.rr-home .call-card-footer{display:none}
.rr-home .home-wave-btn{min-width:44px;min-height:44px}
.rr-home .home-wave-time{color:var(--rr-muted)}
.rr-home .scanner-town-filters{display:flex;gap:6px;flex-wrap:wrap;overflow:visible;padding:0 0 12px}
.rr-home .town-filter-tab{padding:7px 10px;border:1px solid var(--rr-border);border-radius:6px;min-height:44px;font-size:12px;color:var(--rr-muted);background:var(--rr-surface)}
.rr-home .town-filter-tab[aria-pressed=true]{color:#f1bf63;border-color:#f1bf63;background:#34291a}
.rr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid var(--rr-border);padding-top:20px}
.rr-stats>div{display:flex;gap:4px;flex-direction:column}
.rr-stats>div>span:first-child{font-size:21px;font-family:'Roboto Mono',monospace}
.rr-stats>div>span:last-child,.rr-footer{font-size:12px;color:var(--rr-muted)}
.rr-footer{border-top:1px solid var(--rr-border);padding-top:14px;line-height:1.6}
.rr-live-inner{display:flex;align-items:center;gap:16px;max-width:1152px;margin:auto;flex-wrap:wrap}
@media(max-width:800px){.rr-columns{grid-template-columns:1fr}.rr-home{gap:20px}.rr-console{grid-template-columns:1fr}.rr-controls{display:grid;grid-template-columns:1fr 1fr}.rr-controls #rr-status{grid-column:1/-1}.rr-heading h1{font-size:24px}}
@media(max-width:420px){.rr-console{padding:12px}.rr-display{padding:14px}.rr-display h2{font-size:19px}.rr-controls{grid-template-columns:1fr}.rr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.radio-room-home .live-indicator,.radio-room-home .live-dot,.radio-room-home .waveform{animation:none}}
/* The app shell locks body scrolling; the homepage must own its scroll area. */
.radio-room-home > .scanner-main {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-y: contain;
}
.radio-room-home > .scanner-header,
.radio-room-home > .scanner-live-now-bar { flex-shrink: 0; }
