/* Product rooms shell — Hub · Prep · Predict · Scout · HR · Track · Injuries
 WALL v22 · cache ?v=44-kap2-s1: chrome spacing align to desk-theme-v3 (Kap #2 slice 1) */
:root {
 --bg: #0b0d12;
 --card: rgba(22, 24, 32, 0.96);
 --line: rgba(200, 206, 216, 0.14);
 --text: #f4f5f7;
 --muted: #9aa3b2;
 --hot: #C9A24D;
 --warm: #c4a574;
 --ok: #6ee7b7;
 --wall-rose: rgba(201, 162, 77, 0.14);
 --wall-gold: rgba(196, 165, 116, 0.09);
 --wall-base-top: #14161e;
 --wall-base-bot: #0b0d12;
}
* { box-sizing: border-box; }
/* —— NUCLEAR document scroll (Hub + every room) ——
   Never trap the desk in 100vh overflow:hidden shells.
   Only sheets (crew/alex/more) may lock scroll via html class. */
html {
 margin: 0;
 height: auto !important;
 max-height: none !important;
 min-height: 100%;
 min-height: 100dvh;
 overflow-x: hidden !important;
 overflow-y: scroll !important; /* always a scrollport */
 -webkit-text-size-adjust: 100%;
 -webkit-overflow-scrolling: touch;
 scroll-padding-top: 5.5rem;
 touch-action: pan-y !important;
 overscroll-behavior-y: auto;
}
body {
 margin: 0;
 min-height: 100%;
 min-height: 100dvh;
 height: auto !important;
 max-height: none !important;
 overflow-x: hidden !important;
 overflow-y: visible !important; /* html owns the scrollbar */
 -webkit-overflow-scrolling: touch;
 touch-action: pan-y !important;
 position: relative !important;
}
/* Shells grow with content — page scrolls, not inner traps */
body.room-app,
body[data-room],
body.layered,
body.desk-focus,
body.layered.desk-focus,
body.desk-v2 {
 height: auto !important;
 max-height: none !important;
 overflow-x: hidden !important;
 overflow-y: visible !important;
 touch-action: pan-y !important;
}
.page-shell,
.page-shell.desk-workspace,
#desk-stage,
.desk-stage,
.room-main,
.wrap,
.hub-grid {
 overflow: visible !important;
 max-height: none !important;
 height: auto !important;
}
/* Unlock stuck sheet locks unless intentionally open */
html:not(.crew-sheet-open):not(.alex-sheet-open):not(.room-more-open) body {
 position: relative !important;
 top: auto !important;
 width: auto !important;
 left: auto !important;
 right: auto !important;
}
/* Shared product wall — all data-room shells + room-app */
body.room-app,
body[data-room] {
 font-family: Inter, system-ui, -apple-system, sans-serif;
 color: var(--text);
 background-color: var(--bg) !important;
 background-image:
 radial-gradient(900px 420px at 10% -10%, var(--wall-rose), transparent 55%),
 radial-gradient(700px 380px at 100% 0%, var(--wall-gold), transparent 50%),
 linear-gradient(180deg, var(--wall-base-top) 0%, var(--wall-base-bot) 100%) !important;
 background-attachment: scroll !important;
 -webkit-font-smoothing: antialiased;
 /* home indicator safe space so last cards aren't under the bar */
 padding-bottom: env(safe-area-inset-bottom, 0px);
 overscroll-behavior-y: auto;
 touch-action: pan-y;
}
.room-top {
 position: sticky; top: 0; z-index: 40;
 display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
 gap: 0.65rem;
 padding: 0.65rem 1rem;
 padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
 background:
 linear-gradient(180deg, rgba(201, 162, 77,0.07) 0%, rgba(12,14,20,0.97) 65%),
 rgba(12, 14, 20, 0.97);
 border-bottom: 1px solid var(--card-border-hover, var(--line));
 box-shadow: 0 1px 0 rgba(196,165,116,0.14), 0 8px 24px rgba(0,0,0,0.24);
 /* blur can jank iOS scroll — keep light */
 -webkit-backdrop-filter: saturate(1.15) blur(8px);
 backdrop-filter: saturate(1.15) blur(8px);
}
.room-brand {
 display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit;
}
.room-brand img {
 border-radius: 6px; width: 36px; height: 36px;
 box-shadow: 0 0 0 1px rgba(196,165,116,0.35), 0 4px 14px rgba(0,0,0,0.35);
}
.room-brand b {
 font-family: "Space Grotesk", system-ui, sans-serif;
 font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em;
 background: linear-gradient(90deg, #f8fafc 0%, #f1f2f4 55%, var(--warm, #c4a574) 100%);
 -webkit-background-clip: text; background-clip: text; color: transparent;
}
.room-brand span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; font-weight: 600; letter-spacing: 0.01em; }
.room-nav {
 display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center;
}
/* Mobile: bottom dock owns Hub·Prep·HR·Scout·Track — hide top nav to avoid double Scout */
@media (max-width: 719px) {
 body.room-app .room-nav {
 display: none !important;
 }
}
.room-nav a {
 text-decoration: none; color: var(--muted);
 font-size: 0.92rem; font-weight: 650;
 padding: 0.4rem 0.7rem; border-radius: 4px;
 border: 1px solid transparent;
}
.room-nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.room-nav a.on {
 color: #fff;
 border-color: rgba(201, 162, 77,0.45);
 background: rgba(201, 162, 77,0.16);
}
.room-main {
 max-width: 720px;
 margin: 0 auto;
 padding: 1.25rem 1rem max(3.5rem, calc(2rem + env(safe-area-inset-bottom, 0px)));
 /* never create an inner scrollport */
 overflow: visible;
 min-height: 0;
}
.room-head {
 display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
 gap: 0.85rem; margin-bottom: 1.25rem;
}
.room-head h1 {
 margin: 0;
 font-family: "Space Grotesk", system-ui, sans-serif;
 font-size: clamp(1.75rem, 4vw, 2.25rem);
 font-weight: 800; letter-spacing: -0.03em;
}
.room-head .sub { margin: 0.35rem 0 0; font-size: 1.05rem; color: var(--muted); }
.room-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.room-tools button, .room-chip {
 appearance: none; cursor: pointer;
 font: inherit; font-weight: 700; font-size: 1rem;
 padding: 0.55rem 1rem; border-radius: 999px;
 border: 1px solid var(--line);
 background: rgba(20,22,28,0.9); color: var(--text);
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
}
.room-chip .sport-logo,
.room-tools .sport-logo {
 width: 16px;
 height: 16px;
 border-radius: 50%;
 object-fit: contain;
 flex-shrink: 0;
}
.room-tools button:hover, .room-chip:hover { border-color: rgba(201, 162, 77,0.45); }
.room-chip.active {
 background: rgba(201, 162, 77,0.2);
 border-color: rgba(201, 162, 77,0.5);
 color: #fecdd3;
}
.room-tools button.primary {
 background: linear-gradient(135deg, #C9A24D, #C9A24D);
 border-color: transparent; color: #fff;
}
.room-status {
 font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem;
 font-family: ui-monospace, monospace;
}
.room-section-title {
 font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em;
 text-transform: uppercase; color: var(--warm); margin: 1.25rem 0 0.65rem;
}
.room-section-title.hot { color: #fecdd3; }
.game-card {
 border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: 0.75rem;
 background: var(--card); border: 1px solid var(--line);
 /* content-visibility caused jump/scroll glitches on mobile */
}
.game-card .gmeta {
 display: flex; justify-content: space-between; align-items: center;
 font-size: 0.9rem; font-weight: 700; color: var(--muted); margin-bottom: 0.65rem;
}
.game-card .tag.live { color: #fecdd3; }
.mu {
 display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.5rem; align-items: center;
 text-align: center;
}
.mu .logo {
 width: 56px; height: 56px; margin: 0 auto 0.35rem; object-fit: contain;
 border-radius: 12px; background: rgba(0,0,0,0.35);
}
.mu .ab {
 font-family: "Space Grotesk", system-ui, sans-serif;
 font-size: 1.4rem; font-weight: 800;
}
.mu .score { font-size: 1.35rem; font-weight: 800; color: var(--warm); margin-top: 0.15rem; }
.mu .at { font-size: 0.85rem; font-weight: 800; color: #6b7280; letter-spacing: 0.1em; }
.mk {
 display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 0.65rem;
}
.mk span {
 font-size: 0.95rem; font-weight: 650; padding: 0.3rem 0.65rem; border-radius: 999px;
 border: 1px solid rgba(196,165,116,0.3); color: var(--warm);
 background: rgba(196,165,116,0.08);
}
.grades {
 display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.65rem;
}
.grade {
 text-align: center; padding: 0.55rem; border-radius: 12px;
 font-size: 1rem; font-weight: 800;
 border: 1px solid var(--line); background: rgba(0,0,0,0.25);
}
.grade.GOOD { color: var(--ok); border-color: rgba(52,211,153,0.35); }
.grade.TOUGH { color: #E2BB66; border-color: rgba(226, 187, 102,0.35); }
.grade.NEUTRAL { color: #c8ced8; }
.start-btn {
 width: 100%; margin-top: 0.7rem; padding: 0.75rem;
 border-radius: 12px; border: 1px solid var(--line);
 background: rgba(12,14,20,0.8); color: #e8eaed;
 font-size: 1.05rem; font-weight: 700; cursor: pointer;
}
.start-btn:hover { border-color: rgba(201, 162, 77,0.45); }
.start-body {
 margin-top: 0.55rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
}
.start-col h4 {
 margin: 0 0 0.35rem; font-size: 0.95rem; color: var(--warm); font-weight: 800;
}
.start-col ol, .start-col ul {
 margin: 0; padding: 0 0 0 1.15rem; font-size: 1.05rem; line-height: 1.55;
}
.start-col li { margin: 0.15rem 0; }
.play-row {
 display: grid; grid-template-columns: 2rem 1fr auto; gap: 0.5rem;
 align-items: center; padding: 0.7rem 0.35rem;
 border-bottom: 1px solid rgba(200,206,216,0.08);
 font-size: 1.05rem;
}
.play-row .rk { font-weight: 800; color: var(--hot); font-family: "Space Grotesk", sans-serif; }
.play-row .edge { font-family: ui-monospace, monospace; color: var(--warm); font-weight: 700; }
.empty {
 text-align: center; padding: 2rem 1rem; color: var(--muted); font-size: 1.1rem;
}
.more-btn {
 width: 100%; margin-top: 0.5rem; padding: 0.85rem;
 border-radius: 12px; border: 1px dashed rgba(200,206,216,0.3);
 background: transparent; color: var(--muted);
 font-size: 1.05rem; font-weight: 700; cursor: pointer;
}
.more-btn:hover { color: #fff; border-color: rgba(201, 162, 77,0.4); }
@media (max-width: 520px) {
 .start-body { grid-template-columns: 1fr; }
 .room-main { padding: 1rem 0.75rem 2.5rem; }
}
/* —— Shared product room mobile dock (Hub · Prep · HR · Scout · Track) —— */
body.room-app {
 padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}
.room-dock {
 position: fixed;
 left: 0; right: 0; bottom: 0;
 z-index: 50;
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 0.1rem;
 padding: 0.4rem 0.3rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
 background: rgba(10, 12, 18, 0.97);
 border-top: 1px solid rgba(200, 206, 216, 0.12);
 -webkit-backdrop-filter: blur(10px);
 backdrop-filter: blur(10px);
 box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}
.room-dock.has-more {
 grid-template-columns: repeat(6, 1fr);
}
.room-dock a,
.room-dock .dock-more-btn {
 text-decoration: none;
 color: #9aa3b2;
 font-size: 0.58rem;
 font-weight: 750;
 letter-spacing: 0.02em;
 display: flex !important;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 0.18rem;
 padding: 0.3rem 0.05rem;
 border-radius: 12px;
 min-height: 2.75rem;
 touch-action: manipulation;
 -webkit-tap-highlight-color: transparent;
 transition: color 0.14s ease, background 0.14s ease, transform 0.12s ease;
}
.room-dock .dock-more-btn {
 appearance: none;
 border: 0;
 background: transparent;
 font-family: inherit;
 cursor: pointer;
 width: 100%;
}
.room-dock a i,
.room-dock .dock-more-btn i { font-size: 1rem; line-height: 1; }
.room-dock a.on,
.room-dock .dock-more-btn.on {
 color: #fecdd3;
 background: rgba(201, 162, 77, 0.14);
}
.room-dock a:active,
.room-dock .dock-more-btn:active {
 background: rgba(255, 255, 255, 0.06);
 transform: scale(0.96);
}
/* Live game count on Hub dock item */
.room-dock a,
.hub-room-dock a {
 position: relative;
}
.room-dock .dock-live-n,
.hub-room-dock .dock-live-n {
 position: absolute;
 top: 0.08rem;
 right: calc(50% - 1.15rem);
 min-width: 1rem;
 height: 1rem;
 padding: 0 0.22rem;
 border-radius: 999px;
 background: #C9A24D;
 color: #fff;
 font-size: 0.55rem;
 font-weight: 800;
 line-height: 1rem;
 text-align: center;
 box-shadow: 0 0 0 2px rgba(10, 12, 18, 0.95), 0 0 8px rgba(201, 162, 77, 0.4);
 pointer-events: none;
}
.room-dock .dock-live-n[hidden],
.hub-room-dock .dock-live-n[hidden] {
 display: none !important;
}
.room-dock a.has-live i,
.hub-room-dock a.has-live i {
 color: #E2BB66;
}
/* Hub Live door when games are on */
.hub-door.has-live .hd-go {
 color: #fecdd3;
}
.hub-door.has-live {
 border-color: rgba(201, 162, 77, 0.38);
}
/* Sticky Live CTA (above dock) when games are on */
#room-live-cta {
 display: none;
 position: fixed;
 left: 50%;
 bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px) + var(--kb-inset, 0px));
 transform: translateX(-50%) translateY(8px);
 z-index: 88;
 /* stay tappable above room chrome */
 -webkit-user-select: none;
 user-select: none;
 align-items: center;
 gap: 0.4rem;
 padding: 0.45rem 0.95rem;
 min-height: 2.45rem;
 border-radius: 999px;
 text-decoration: none;
 font: 750 0.78rem Inter, system-ui, sans-serif;
 color: #fff;
 background: linear-gradient(135deg, rgba(190, 18, 60, 0.95), rgba(127, 29, 29, 0.96));
 border: 1px solid rgba(226, 187, 102, 0.5);
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(201, 162, 77, 0.25);
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
 max-width: calc(100vw - 2rem);
 opacity: 0;
 transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
#room-live-cta.is-on {
 opacity: 1;
 transform: translateX(-50%) translateY(0);
}
#room-live-cta:active {
 transform: translateX(-50%) scale(0.97);
}
/* Install chip present — lift Live pill so they don't stack */
html.has-install-chip #room-live-cta {
 bottom: calc(7.35rem + env(safe-area-inset-bottom, 0px) + var(--kb-inset, 0px));
}
@media (max-width: 640px) and (orientation: portrait) {
 #room-live-cta {
 max-width: calc(100vw - 1.5rem);
 font-size: 0.76rem;
 min-height: 2.55rem;
 padding: 0.4rem 0.9rem;
 }
}
#room-live-cta .rlc-dot {
 width: 0.5rem;
 height: 0.5rem;
 border-radius: 999px;
 background: #fecdd3;
 box-shadow: 0 0 8px rgba(254, 205, 211, 0.8);
 animation: rlc-pulse 1.4s ease-in-out infinite;
 flex-shrink: 0;
}
#room-live-cta .rlc-go {
 opacity: 0.85;
 font-weight: 800;
}
@keyframes rlc-pulse {
 0%, 100% { opacity: 1; transform: scale(1); }
 50% { opacity: 0.55; transform: scale(0.85); }
}
html.save-data #room-live-cta .rlc-dot,
html.quiet-mode #room-live-cta .rlc-dot,
html.reduce-motion #room-live-cta .rlc-dot {
 animation: none;
}
html.crew-sheet-open #room-live-cta,
html.alex-sheet-open #room-live-cta {
 opacity: 0.2;
 pointer-events: none;
}
body.kb-open #room-live-cta {
 opacity: 0.3;
 pointer-events: none;
}
/* Offline room card — cached room hops when disconnected */
#room-offline-card {
 display: none;
 position: fixed;
 left: 0.75rem;
 right: 0.75rem;
 top: calc(2.75rem + env(safe-area-inset-top, 0px));
 z-index: 118;
 padding: 0.85rem 0.95rem 0.95rem;
 border-radius: 16px;
 background: rgba(18, 12, 16, 0.96);
 border: 1px solid rgba(226, 187, 102, 0.35);
 box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
 color: #fecdd3;
 -webkit-backdrop-filter: blur(12px);
 backdrop-filter: blur(12px);
}
#room-offline-card .roc-title {
 font: 800 0.88rem Inter, system-ui, sans-serif;
 color: #fecdd3;
 margin: 0 0 0.3rem;
 letter-spacing: 0.02em;
}
#room-offline-card .roc-body {
 margin: 0 0 0.65rem;
 font: 500 0.74rem Inter, system-ui, sans-serif;
 color: #94a3b8;
 line-height: 1.4;
}
#room-offline-card .roc-links {
 display: flex;
 flex-wrap: wrap;
 gap: 0.35rem;
 margin-bottom: 0.55rem;
}
#room-offline-card .roc-chip {
 display: inline-flex;
 align-items: center;
 min-height: 2.15rem;
 padding: 0.3rem 0.7rem;
 border-radius: 999px;
 font: 750 0.72rem Inter, system-ui, sans-serif;
 text-decoration: none;
 color: #e2e8f0;
 background: rgba(30, 34, 44, 0.95);
 border: 1px solid rgba(148, 163, 184, 0.28);
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
}
#room-offline-card .roc-chip:active {
 transform: scale(0.97);
 border-color: rgba(226, 187, 102, 0.45);
}
#room-offline-card .roc-retry {
 appearance: none;
 width: 100%;
 min-height: 2.45rem;
 border-radius: 12px;
 border: 1px solid rgba(226, 187, 102, 0.4);
 background: rgba(201, 162, 77, 0.16);
 color: #fecdd3;
 font: 750 0.78rem Inter, system-ui, sans-serif;
 cursor: pointer;
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
}
#room-offline-card .roc-retry:active {
 transform: scale(0.98);
}
@media (min-width: 720px) {
 #room-live-cta { display: none !important; }
 #room-offline-card {
 left: 50%;
 right: auto;
 width: min(22rem, calc(100vw - 2rem));
 transform: translateX(-50%);
 }
 .room-more-sheet,
 .room-more-backdrop { display: none !important; }
}
/* —— More rooms sheet (Live · Board · Predict · Out) —— */
.room-more-backdrop {
 position: fixed;
 inset: 0;
 z-index: 96;
 border: 0;
 padding: 0;
 margin: 0;
 background: rgba(0, 0, 0, 0.55);
 -webkit-backdrop-filter: blur(3px);
 backdrop-filter: blur(3px);
 -webkit-tap-highlight-color: transparent;
 cursor: pointer;
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity 0.2s ease, visibility 0.2s ease;
}
.room-more-backdrop.open {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}
.room-more-sheet {
 position: fixed;
 left: 0;
 right: 0;
 bottom: 0;
 z-index: 97;
 padding: 0.55rem 0.85rem calc(1rem + env(safe-area-inset-bottom, 0px));
 border-radius: 18px 18px 0 0;
 background: rgba(14, 16, 22, 0.98);
 border-top: 1px solid rgba(226, 187, 102, 0.28);
 box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
 -webkit-backdrop-filter: blur(14px);
 backdrop-filter: blur(14px);
 transform: translateY(110%);
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, visibility 0.2s;
}
.room-more-sheet.open {
 transform: translateY(0);
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}
.room-more-sheet .rms-handle {
 width: 2.4rem;
 height: 0.28rem;
 border-radius: 999px;
 background: rgba(148, 163, 184, 0.35);
 margin: 0.15rem auto 0.65rem;
}
.room-more-sheet .rms-title {
 font: 800 0.72rem Inter, system-ui, sans-serif;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: #6b7280;
 margin: 0 0 0.45rem 0.15rem;
}
.room-more-sheet .rms-sports {
 display: flex;
 flex-wrap: wrap;
 gap: 0.35rem;
 margin: 0 0 0.65rem;
}
.room-more-sheet .rms-sp {
 appearance: none;
 flex: 1 1 0;
 min-width: 3.5rem;
 min-height: 2.25rem;
 padding: 0.35rem 0.45rem;
 border-radius: 999px;
 border: 1px solid rgba(148, 163, 184, 0.28);
 background: rgba(22, 24, 32, 0.95);
 color: #94a3b8;
 font: 750 0.72rem Inter, system-ui, sans-serif;
 letter-spacing: 0.04em;
 cursor: pointer;
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
 transition: border-color 0.14s, color 0.14s, background 0.14s;
}
.room-more-sheet .rms-sp.on {
 color: #fecdd3;
 border-color: rgba(201, 162, 77, 0.5);
 background: rgba(201, 162, 77, 0.16);
}
.room-more-sheet .rms-sp:active {
 transform: scale(0.97);
}
.room-more-sheet .rms-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0.45rem;
}
/* Product-room install chip (when not on hub) */
#room-install-chip {
 display: none;
 position: fixed;
 top: max(0.55rem, env(safe-area-inset-top, 0px));
 right: 0.55rem;
 z-index: 110;
 align-items: center;
 gap: 0.2rem;
 padding: 0.2rem 0.25rem 0.2rem 0.2rem;
 border-radius: 999px;
 background: rgba(14, 16, 22, 0.94);
 border: 1px solid rgba(226, 187, 102, 0.4);
 box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
 -webkit-backdrop-filter: blur(10px);
 backdrop-filter: blur(10px);
}
#room-install-chip .ric-btn {
 appearance: none;
 border: 0;
 background: linear-gradient(135deg, #C9A24D, #C9A24D);
 color: #fff;
 font: 750 0.72rem Inter, system-ui, sans-serif;
 padding: 0.4rem 0.75rem;
 border-radius: 999px;
 min-height: 2.15rem;
 cursor: pointer;
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
}
#room-install-chip .ric-x {
 appearance: none;
 border: 0;
 background: transparent;
 color: #94a3b8;
 font: 700 1.05rem Inter, system-ui, sans-serif;
 width: 2rem;
 height: 2rem;
 border-radius: 999px;
 cursor: pointer;
 line-height: 1;
 -webkit-tap-highlight-color: transparent;
}
#room-install-chip .ric-x:active,
#room-install-chip .ric-btn:active {
 transform: scale(0.96);
}
@media (min-width: 720px) {
 #room-install-chip { display: none !important; }
}
html.is-standalone #room-install-chip {
 display: none !important;
}
.room-more-sheet .rms-item {
 display: flex;
 align-items: center;
 gap: 0.55rem;
 min-height: 3rem;
 padding: 0.55rem 0.75rem;
 border-radius: 14px;
 text-decoration: none;
 color: #e2e8f0;
 font: 750 0.82rem Inter, system-ui, sans-serif;
 background: rgba(28, 32, 42, 0.95);
 border: 1px solid rgba(148, 163, 184, 0.18);
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
}
.room-more-sheet .rms-item i {
 color: #E2BB66;
 width: 1.1rem;
 text-align: center;
}
.room-more-sheet button.rms-item {
 appearance: none;
 width: 100%;
 cursor: pointer;
}
.room-more-sheet .rms-item.on {
 background: rgba(232, 196, 122, 0.12);
 border-color: rgba(232, 196, 122, 0.45);
}
.room-more-sheet .rms-item.on i {
 color: #e8c47a;
}
.room-more-sheet .rms-item:disabled {
 opacity: 0.5;
 cursor: default;
}
.room-more-sheet .rms-item:active {
 transform: scale(0.98);
 border-color: rgba(226, 187, 102, 0.4);
}
.room-more-sheet .rms-close {
 appearance: none;
 width: 100%;
 margin-top: 0.65rem;
 min-height: 2.55rem;
 border-radius: 12px;
 border: 1px solid rgba(148, 163, 184, 0.22);
 background: transparent;
 color: #94a3b8;
 font: 750 0.8rem Inter, system-ui, sans-serif;
 cursor: pointer;
 -webkit-tap-highlight-color: transparent;
}
html.room-more-open,
html.room-more-open body {
 overflow: hidden;
}
html.room-more-open #room-live-cta {
 opacity: 0.15;
 pointer-events: none;
}
html.is-standalone body.room-app {
 /* installed PWA — slightly tighter top chrome */
 overscroll-behavior-y: contain;
}
html.room-offline body.room-app {
 /* leave room for offline banner */
 padding-top: 0;
}
html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 scroll-behavior: auto !important;
}
/* Keyboard: lift fixed chrome via --kb-inset from room_mobile.js */
body.kb-open .room-dock,
body.kb-open .hub-room-dock {
 transform: translateY(calc(var(--kb-inset, 0px) * 0.15));
 opacity: 0.35;
 pointer-events: none;
}
body.kb-open #room-toast {
 bottom: calc(0.85rem + var(--kb-inset, 0px)) !important;
}
/* Crew sheet open — lock page scroll under the sheet */
html.crew-sheet-open,
html.crew-sheet-open body,
html.alex-sheet-open,
html.alex-sheet-open body {
 overflow: hidden !important;
 overscroll-behavior: none;
}
html.crew-sheet-open body,
html.alex-sheet-open body {
 /* position:fixed applied inline by room_mobile for scroll restore */
 left: 0;
 right: 0;
}
html.crew-sheet-open .desk-mobile-dock,
html.alex-sheet-open .desk-mobile-dock,
html.crew-sheet-open .room-dock,
html.alex-sheet-open .room-dock,
html.crew-sheet-open .hub-room-dock,
html.alex-sheet-open .hub-room-dock {
 opacity: 0.3;
 pointer-events: none;
}
/* Save-Data: tone down decorative motion */
html.save-data .hr-skel .b,
html.save-data .live-dot,
html.save-data .pulse {
 animation: none !important;
}
/* Landscape phone: compact horizontal dock — more board, less chrome */
@media (max-height: 480px) and (orientation: landscape) {
 body.room-app {
 padding-bottom: calc(2.85rem + env(safe-area-inset-bottom, 0px));
 }
 .room-dock,
 .hub-room-dock {
 padding: 0.18rem 0.25rem calc(0.18rem + env(safe-area-inset-bottom, 0px));
 gap: 0.08rem;
 }
 .room-dock a,
 .hub-room-dock a,
 .room-dock .dock-more-btn,
 .hub-room-dock .dock-more-btn {
 flex-direction: row;
 gap: 0.28rem;
 min-height: 2.15rem;
 font-size: 0.62rem;
 padding: 0.15rem 0.2rem;
 }
 .room-dock a i,
 .hub-room-dock a i,
 .room-dock .dock-more-btn i,
 .hub-room-dock .dock-more-btn i {
 font-size: 0.88rem;
 }
 #room-live-cta {
 bottom: calc(3.15rem + env(safe-area-inset-bottom, 0px));
 font-size: 0.72rem;
 min-height: 2.15rem;
 padding: 0.3rem 0.75rem;
 }
}
html.room-more-open .room-dock,
html.room-more-open .hub-room-dock {
 opacity: 0.3;
 pointer-events: none;
}
html.room-offline body.room-app,
html.room-offline body {
 /* room for offline banner */
 scroll-padding-top: 2.5rem;
}
@media (min-width: 720px) {
 .room-dock { display: none; }
 body.room-app { padding-bottom: env(safe-area-inset-bottom, 0px); }
}
/* Horizontal product nav on small screens */
@media (max-width: 640px) {
 .room-nav {
 flex-wrap: nowrap;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
 max-width: 100%;
 scrollbar-width: none;
 }
 .room-nav::-webkit-scrollbar { display: none; }
 .room-nav a {
 flex: 0 0 auto;
 white-space: nowrap;
 font-size: 0.8rem;
 padding: 0.4rem 0.7rem;
 }
 .room-top {
 padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
 padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
 }
}
/* Portrait phone: bottom dock is primary nav — drop top product strip to stop double chrome */
@media (max-width: 640px) and (orientation: portrait) {
 body.room-app .room-nav {
 display: none !important;
 }
 body.room-app .room-top {
 flex-wrap: nowrap;
 gap: 0.4rem;
 padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
 padding-bottom: 0.5rem;
 }
 body.room-app .room-brand b {
 font-size: 0.95rem;
 }
 body.room-app .room-brand span {
 font-size: 0.72rem;
 }
 body.room-app .room-brand img {
 width: 34px;
 height: 34px;
 }
 body.room-app .room-main {
 padding-top: 0.85rem;
 }
 html {
 scroll-padding-top: 3.5rem;
 }
}
/* Portrait: keep sticky headers from stacking too tall */
@media (max-width: 640px) and (orientation: portrait) {
 body.room-app .room-top {
 z-index: 40;
 }
 body.room-app .room-dock {
 z-index: 50;
 }
}

/* brand v13: the logo is the banner (2026-10-25) */
img.tb-banner { width: auto !important; height: 48px !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; display: block; }
@media (max-width: 480px) { img.tb-banner { height: 42px !important; } }
