/* CigarPass — The Race & Sports Book (racebook.php + assets/js/racebook.js)
   Desktop: the room image fills the space under the header (whole picture visible), and the scoreboards sit on
   its three screens, sized with container units (cqw = 1% of the room's width) so they scale with it.
   Phones: the picture becomes a banner and the scores stack as cards underneath. */

body.rbr-page { background: #070403; }
body.rbr-page .site-footer, body.rbr-page .vhr { display: none !important; }
body.rbr-page.has-vhr { padding-top: var(--header-h, 60px); }   /* the Vherf bar is hidden here, so don't keep its 40px */
.rbr-main { padding: 0; }

/* Fill the window like the other rooms ("cover"): the picture grows until there are no side or top/bottom gaps.
   It never zooms so far that the screens and tabs would be cut off: at most 30% of the width is trimmed (15% a side),
   and the band from the sign down to the league tabs (about 3%–60% of the height) always stays in view.
   Extra height is trimmed from the bottom (the chairs), only a sliver from the ceiling. */
.rbr { --aw: 100vw; --ah: calc(100dvh - var(--header-h, 60px)); --r: 1.7768;
  --w: min(max(var(--aw), calc(var(--ah) * var(--r))), calc(var(--aw) / .7), calc(var(--ah) * var(--r) / .57));
  --d: calc(var(--ah) - var(--w) / var(--r));                     /* window height minus picture height */
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h, 60px); display: flex; align-items: flex-start; justify-content: center; overflow: hidden; background: #070403; }
.rbr-backdrop { position: absolute; inset: -40px; background: url("../../images/racebook-room-m.webp") center / cover no-repeat; filter: blur(28px) brightness(.35) saturate(1.2); }
.rbr-stage { position: relative; flex: none; width: var(--w); aspect-ratio: 1672 / 941; margin-top: max(calc(var(--d) * .5), calc(var(--d) * .1)); container-type: inline-size;
  font-family: var(--font-ui, system-ui, sans-serif); color: #f3e6cf; box-shadow: 0 0 80px rgba(0,0,0,.7); }
.rbr-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rbr-stage picture { position: absolute; inset: 0; }

/* ---- the screens ---- */
.rbr-screen, .rbr-ticker { position: absolute; overflow: hidden; color: #f6ead3; }
.rbr-screen { padding: calc(.9cqw + var(--dip, 0cqw)) 1cqw .9cqw; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(40,70,140,.22), transparent 60%), linear-gradient(180deg, rgba(10,14,24,.94), rgba(6,8,14,.97));
  box-shadow: inset 0 0 1.4cqw rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,214,140,.06); }
.rbr-screen::after, .rbr-ticker::after { /* curved glass: a soft diagonal reflection, a top highlight and faint scanlines */ content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.055) 44%, rgba(255,255,255,.015) 52%, transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.07), transparent 22%),
              repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px);
  border-radius: inherit; }
.rbr-screen, .rbr-ticker { border-radius: 0; }
/* Built in: each screen is cut to the exact glass inside its brass frame (racebook.php sets the shape).
   A thin dark seam and a soft recess where the panel meets the trim, like a real flush-mounted display. */
.rbr-screen::before, .rbr-ticker::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  box-shadow: inset 0 0 0 .07cqw rgba(0,0,0,.85), inset 0 0 .9cqw .15cqw rgba(0,0,0,.55); }
.rbr-screen--left::before  { background: linear-gradient(176deg, rgba(0,0,0,.55) 0, transparent calc(var(--dip) + .7cqw)); }
.rbr-screen--right::before { background: linear-gradient(184deg, rgba(0,0,0,.55) 0, transparent calc(var(--dip) + .7cqw)); }
.rbr-screen--left::after  { background: linear-gradient(100deg, rgba(255,255,255,.07), transparent 35%), linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%), repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px); }
.rbr-screen--right::after { background: linear-gradient(260deg, rgba(255,255,255,.07), transparent 35%), linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%), repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px); }

.rbr-h { display: flex; align-items: baseline; justify-content: space-between; gap: .5cqw; margin: 0 0 .55cqw; padding-bottom: .4cqw; border-bottom: 1px solid rgba(255,200,110,.22);
  font: 700 clamp(9px, .78cqw, 15px)/1 var(--font-plaque, Georgia, serif); letter-spacing: .14em; text-transform: uppercase; color: #e9b85c; }
.rbr-h small { font: 600 clamp(8px, .62cqw, 12px)/1 var(--font-ui, sans-serif); letter-spacing: .04em; color: rgba(246,234,211,.55); text-transform: none; }
.rbr-h .rbr-dot { display: inline-block; width: .5em; height: .5em; margin-right: .35em; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 .6em #ff4b3e; animation: rbr-pulse 1.6s ease-in-out infinite; vertical-align: .05em; }
@keyframes rbr-pulse { 50% { opacity: .35; } }

.rbr-list { flex: 1; min-height: 0; position: relative; }
.rbr-page-set { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .35cqw; transition: opacity .45s ease; }
.rbr-page-set.is-out { opacity: 0; pointer-events: none; }
.rbr-sub { font: 700 clamp(7px, .56cqw, 11px)/1 var(--font-ui, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: rgba(233,184,92,.75); margin: .2cqw 0 .05cqw; }
.rbr-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4cqw; padding: .32cqw .45cqw; border-radius: .3cqw; cursor: pointer;
  background: rgba(255,255,255,.035); border: 1px solid transparent; font-size: clamp(9px, .8cqw, 15px); line-height: 1.25; }
.rbr-row:hover, .rbr-row:focus-visible { background: rgba(233,184,92,.12); border-color: rgba(233,184,92,.35); outline: none; }
.rbr-row.is-feat { border-color: rgba(233,184,92,.5); background: rgba(233,184,92,.1); }
.rbr-row.is-flash, .rbr-tk.is-flash, .rbr-f.is-flash .rbr-ft__sc { animation: rbr-flash 1.8s ease-out; }
@keyframes rbr-flash { 0%, 25% { background-color: rgba(255,205,110,.42); box-shadow: 0 0 1.2cqw rgba(255,200,100,.55); color: #fff3d6; } 100% { background-color: transparent; box-shadow: none; } }
.rbr-row__teams { min-width: 0; display: grid; gap: .1cqw; }
.rbr-t { display: grid; grid-template-columns: 1.15em minmax(0, 1fr) auto; align-items: center; gap: .35em; }
.rbr-t img, .rbr-t .rbr-nologo { width: 1.15em; height: 1.15em; object-fit: contain; }
.rbr-nologo { display: inline-block; border-radius: 50%; background: rgba(255,255,255,.08); }
.rbr-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbr-t b small { font-weight: 600; color: rgba(233,184,92,.85); font-size: .78em; margin-right: .25em; }
.rbr-t .rbr-sc { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 1.6em; text-align: right; }
.rbr-t.is-win b, .rbr-t.is-win .rbr-sc { color: #ffd88a; }
.rbr-t.is-lose { opacity: .62; }
.rbr-row__st { text-align: right; font-size: .82em; color: rgba(246,234,211,.78); white-space: nowrap; display: grid; gap: .1cqw; justify-items: end; }
.rbr-row__st .is-live { color: #ff6b5e; font-weight: 700; }
.rbr-lg { display: inline-block; padding: .12em .4em; border-radius: .25em; font: 700 .72em/1 var(--font-ui, sans-serif); letter-spacing: .06em; color: #1a0f04; background: #e0b15a; }
.rbr-empty { margin: auto; text-align: center; color: rgba(246,234,211,.6); font-size: clamp(9px, .8cqw, 15px); line-height: 1.5; padding: 0 .5cqw; }
.rbr-empty b { display: block; color: #e9b85c; font: 700 1.05em/1.3 var(--font-plaque, serif); letter-spacing: .06em; margin-bottom: .3em; }
.rbr-pager { display: flex; justify-content: center; gap: .35cqw; padding-top: .4cqw; min-height: .9cqw; }
.rbr-pager i { width: .42cqw; height: .42cqw; border-radius: 50%; background: rgba(255,255,255,.2); }
.rbr-pager i.is-on { background: #e9b85c; }
.rbr-pager i[data-page] { position: relative; cursor: pointer; }
.rbr-pager i[data-page]::after { content: ""; position: absolute; inset: -.5cqw -.25cqw; }          /* a bigger target than the dot */
.rbr-pager i[data-page]:hover { background: #ffd88a; }
/* ‹ › on the side screens: show on hover (always, faintly, on touch screens) */
.rbr-flip { position: absolute; bottom: .45cqw; z-index: 3; width: 2.2cqw; height: 1.5cqw; min-width: 26px; min-height: 20px; display: none; place-items: center; padding: 0;
  border: 1px solid rgba(233,184,92,.4); border-radius: .3cqw; background: rgba(10,6,4,.7); color: #ffd88a; cursor: pointer;
  font: 700 clamp(13px, 1.1cqw, 24px)/1 var(--font-ui, sans-serif); opacity: .55; transition: opacity .2s, background .2s; }
.rbr-screen.has-pages .rbr-flip { display: grid; }
.rbr-flip--prev { left: 1.2cqw; }
.rbr-flip--next { right: 1.2cqw; }
.rbr-screen.has-pages:hover .rbr-flip, .rbr-flip:focus-visible { opacity: 1; }
.rbr-flip:hover { background: rgba(233,184,92,.28); }

/* ---- center: the featured game (a wide, short screen: teams side by side, scores beside the logos) ---- */
.rbr-screen--center { padding: .6cqw 1.3cqw .5cqw; }
.rbr-f { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: .3cqw; min-height: 0; overflow: hidden; }
.rbr-f__top { display: flex; justify-content: space-between; align-items: center; gap: 1cqw; font: 700 clamp(8px, .7cqw, 14px)/1 var(--font-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #e9b85c; }
.rbr-f__top .rbr-f__note { flex: 1; text-align: right; color: rgba(246,234,211,.7); letter-spacing: .06em; text-transform: none; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbr-pill { flex: none; border: 1px solid rgba(255,214,140,.65); background: linear-gradient(180deg, rgba(233,184,92,.28), rgba(233,184,92,.12)); color: #ffe0a0; border-radius: 99px;
  padding: .3em .85em; font: 700 clamp(7px, .58cqw, 11px)/1 var(--font-ui, sans-serif); letter-spacing: .1em; cursor: pointer; box-shadow: 0 0 .6cqw rgba(233,184,92,.35); }
.rbr-pill:hover { background: rgba(233,184,92,.4); color: #fff; }
.rbr-ctx { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: .3cqw 1.1cqw; padding: .3cqw .6cqw; border-radius: .3cqw;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-top: 1px solid rgba(233,184,92,.22);
  font-size: clamp(8px, .62cqw, 12px); color: rgba(246,234,211,.85); white-space: nowrap; overflow: hidden; }
.rbr-ctx span { overflow: hidden; text-overflow: ellipsis; }
.rbr-ctx em { font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78em; color: rgba(233,184,92,.8); margin-right: .45em; }
.rbr-ctx__poss em::before { content: "🏈 "; letter-spacing: 0; }
.rbr-ctx .is-live { color: #ff6b5e; }
.rbr-ctx__box { flex: none; margin-left: auto; border: 1px solid rgba(233,184,92,.55); background: rgba(233,184,92,.12); color: #ffd88a; border-radius: .3cqw; padding: .25em .8em;
  font: 700 1em/1.2 var(--font-ui, sans-serif); letter-spacing: .06em; cursor: pointer; }
.rbr-ctx__box:hover { background: rgba(233,184,92,.3); color: #fff; }
.rbr-f__mid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1cqw; padding: .4cqw 1.2cqw 0; }
.rbr-fs__sub.is-live { color: #ff6b5e; font-weight: 700; }
.rbr-ft { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo score" "name name" "rec rec"; align-items: center; justify-items: start; column-gap: 1cqw; row-gap: .15cqw; min-width: 0; }
.rbr-ft--home { grid-template-columns: 1fr auto; grid-template-areas: "score logo" "name name" "rec rec"; justify-items: end; text-align: right; }
.rbr-ft--home .rbr-ft__sc { justify-self: start; }
.rbr-ft:not(.rbr-ft--home) .rbr-ft__sc { justify-self: end; }
.rbr-ft { position: relative; }
.rbr-ft__glow { display: none; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow, #e9b85c) 55%, transparent) 0%, color-mix(in srgb, var(--glow, #e9b85c) 18%, transparent) 40%, transparent 70%); }
.rbr-box .rbr-ft__glow { display: block; }
/* the team-color glow sits right behind the logo */
.rbr-ft > img, .rbr-ft > .rbr-nologo { position: relative; z-index: 1; grid-area: logo; width: 2.9cqw; height: 2.9cqw; object-fit: contain; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow, #e9b85c) 40%, transparent), transparent 72%);
  box-shadow: 0 0 2.2cqw .7cqw color-mix(in srgb, var(--glow, #e9b85c) 38%, transparent); }
.rbr-ft > .rbr-nologo { border: 1px solid rgba(233,184,92,.3); background: rgba(233,184,92,.08); }
.rbr-ft__name { grid-area: name; max-width: 100%; padding-top: .35cqw; font: 700 clamp(10px, 1cqw, 20px)/1.1 var(--font-plaque, serif); letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbr-ft__name small { display: inline-block; margin-right: .3em; font: 700 .68em/1 var(--font-ui, sans-serif); color: #e9b85c; vertical-align: .15em; }
.rbr-ft__rec { grid-area: rec; font-size: clamp(7px, .56cqw, 11px); line-height: 1.1; color: rgba(246,234,211,.6); min-height: 1em; }
.rbr-ft__sc { grid-area: score; font: 800 clamp(18px, 3.1cqw, 62px)/1 var(--font-ui, sans-serif); font-variant-numeric: tabular-nums; letter-spacing: -.02em; text-shadow: 0 0 1.2cqw rgba(255,190,90,.35); }
.rbr-ft.is-win .rbr-ft__sc { color: #ffd88a; }
.rbr-ft.is-lose .rbr-ft__sc { color: rgba(246,234,211,.55); text-shadow: none; }
.rbr-fs { display: grid; justify-items: center; gap: .3cqw; text-align: center; min-width: 8cqw; }
.rbr-fs__state { font: 800 clamp(10px, 1.05cqw, 21px)/1 var(--font-ui, sans-serif); letter-spacing: .05em; color: #f6ead3; white-space: nowrap; }
.rbr-fs__state.is-live { color: #ff6b5e; text-shadow: 0 0 .8cqw rgba(255,80,60,.45); }
.rbr-fs__sub { font-size: clamp(8px, .64cqw, 12px); color: rgba(246,234,211,.7); max-width: 11cqw; line-height: 1.3; }
.rbr-fs__at { font: 700 clamp(7px, .58cqw, 11px)/1 var(--font-ui, sans-serif); letter-spacing: .22em; color: rgba(233,184,92,.85); }
.rbr-diamond { width: 2.2cqw; height: 2.2cqw; position: relative; }
.rbr-diamond i { position: absolute; width: 36%; height: 36%; border: 1px solid rgba(233,184,92,.7); transform: rotate(45deg); }
.rbr-diamond i.is-on { background: #e9b85c; box-shadow: 0 0 .5cqw rgba(233,184,92,.7); }
.rbr-diamond i:nth-child(1) { right: 4%; top: 32%; } .rbr-diamond i:nth-child(2) { left: 32%; top: 4%; } .rbr-diamond i:nth-child(3) { left: 4%; top: 32%; }
.rbr-f__bot { display: grid; gap: .3cqw; }
.rbr-ls { width: auto; margin: 0 auto; border-collapse: collapse; font-size: clamp(8px, .62cqw, 12px); font-variant-numeric: tabular-nums; }
.rbr-ls th, .rbr-ls td { padding: .08cqw .55cqw; text-align: center; line-height: 1.25; }
.rbr-ls th { color: rgba(233,184,92,.8); font-weight: 700; letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.08); }
.rbr-ls td:first-child, .rbr-ls th:first-child { text-align: left; font-weight: 700; padding-right: 1cqw; }
.rbr-ls td:last-child, .rbr-ls th:last-child { font-weight: 800; color: #ffd88a; padding-left: 1cqw; }
.rbr-f__last { font-size: clamp(8px, .62cqw, 12px); color: rgba(246,234,211,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.rbr-f__meta { font-size: clamp(7px, .56cqw, 11px); color: rgba(246,234,211,.5); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- ticker ---- */
.rbr-ticker { display: flex; align-items: center; background: linear-gradient(180deg, #0b0705, #050302); box-shadow: inset 0 0 1cqw rgba(0,0,0,.9);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rbr-ticker__run { display: flex; white-space: nowrap; will-change: transform; animation: rbr-tick var(--dur, 60s) linear infinite; }
.rbr-ticker:hover .rbr-ticker__run { animation-play-state: paused; }
.rbr-tk { display: inline-flex; align-items: center; gap: .5cqw; padding: 0 1.4cqw; font: 600 clamp(9px, .95cqw, 18px)/1 var(--font-ui, sans-serif); color: #ffcf7a; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 .5cqw rgba(255,170,60,.45); border-right: 1px solid rgba(255,200,110,.18); }
.rbr-tk em { font-style: normal; color: rgba(255,207,122,.6); font-size: .78em; letter-spacing: .08em; }
.rbr-tk .is-live { color: #ff6b5e; }
@keyframes rbr-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rbr-ticker__run { animation: none; } }

/* ---- league tabs on the marble ledge ---- */
.rbr-tabs { position: absolute; display: flex; align-items: center; justify-content: center; gap: .6cqw; }
.rbr-tab { position: relative; padding: .55cqw 1.3cqw; border-radius: .35cqw; cursor: pointer; font: 700 clamp(9px, .82cqw, 16px)/1 var(--font-plaque, serif); letter-spacing: .14em;
  color: #e9c27a; background: linear-gradient(180deg, rgba(40,24,12,.88), rgba(14,8,4,.92)); border: 1px solid rgba(233,184,92,.45);
  box-shadow: 0 .2cqw .6cqw rgba(0,0,0,.6), inset 0 1px 0 rgba(255,230,170,.15); transition: background .2s, color .2s; }
.rbr-tab:hover { color: #ffe2a6; border-color: rgba(255,214,140,.8); }
.rbr-tab[aria-pressed=true] { color: #1c1005; background: linear-gradient(180deg, #f3cf7f, #c8913d); border-color: #f3cf7f; }
.rbr-tab.is-soon { opacity: .55; border-style: dashed; color: rgba(233,194,122,.8); }
.rbr-tab.is-soon::after { content: "soon"; position: absolute; left: 50%; bottom: -.62cqw; transform: translateX(-50%); padding: .08cqw .35cqw; border-radius: 99px;
  font: 700 clamp(6px, .45cqw, 9px)/1 var(--font-ui, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: #1c1005; background: rgba(233,184,92,.85); }
.rbr-tab.is-soon:hover { opacity: .85; }
.rbr-toast { position: absolute; left: 50%; top: calc(var(--header-h, 60px) * 0 + 58%); transform: translate(-50%, 8px); z-index: 30; max-width: min(90vw, 520px); padding: .75rem 1.1rem; border-radius: 10px;
  background: rgba(14,8,4,.95); border: 1px solid rgba(233,184,92,.55); color: #f6ead3; font: 500 .9rem/1.4 var(--font-ui, sans-serif); text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.rbr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.rbr-tab b { position: absolute; top: -.55cqw; right: -.5cqw; min-width: 1.3cqw; padding: .15cqw .3cqw; border-radius: 99px; font: 800 clamp(7px, .58cqw, 11px)/1 var(--font-ui, sans-serif); letter-spacing: 0; color: #fff; background: #d8382c; box-shadow: 0 0 .5cqw rgba(216,56,44,.7); }

/* ---- room sign + fine print ---- */
.rbr-sign { position: absolute; left: 50%; top: 5.6%; transform: translateX(-50%); text-align: center; pointer-events: none; padding: .75cqw 2.4cqw .7cqw; border-radius: .35cqw;
  /* a mahogany marquee plate with a brass edge, so the gold lettering reads against the bright ceiling */
  background: linear-gradient(180deg, rgba(58,26,12,.95), rgba(28,11,5,.96)); border: 1px solid rgba(233,184,92,.7);
  box-shadow: 0 0 0 .18cqw rgba(20,8,3,.9), 0 0 0 .26cqw rgba(233,184,92,.45), 0 .5cqw 1.6cqw rgba(0,0,0,.65), inset 0 1px 0 rgba(255,220,160,.2); }
.rbr-sign::before, .rbr-sign::after { content: "◆"; position: absolute; top: 50%; transform: translateY(-50%); font-size: .55cqw; color: rgba(233,184,92,.8); }
.rbr-sign::before { left: .9cqw; } .rbr-sign::after { right: .9cqw; }
.rbr-sign h1 { margin: 0; font: 700 clamp(12px, 1.5cqw, 30px)/1 var(--font-plaque, serif); letter-spacing: .2em; text-transform: uppercase; color: #ffe0a0;
  text-shadow: 0 0 .8cqw rgba(255,190,90,.65), 0 .1cqw .2cqw rgba(0,0,0,.8); white-space: nowrap; }
.rbr-sign p { margin: .45cqw 0 0; font: 600 clamp(8px, .62cqw, 12px)/1 var(--font-ui, sans-serif); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,224,160,.75); }
.rbr-fine { position: fixed; right: 1rem; bottom: .6rem; z-index: 5; margin: 0; font-size: 11px; text-shadow: 0 1px 2px #000; color: rgba(246,234,211,.45); }
.rbr-noscript { text-align: center; color: #e9b85c; }

/* ---- phones: banner + stacked cards ---- */
.rbr-cards { display: none; }
@media (max-width: 760px), (max-height: 430px) and (max-width: 900px) {
  body.rbr-page .site-footer { display: block !important; }
  .rbr { position: static; display: block; overflow: visible; }
  .rbr-backdrop { display: none; }
  .rbr-stage { width: 100%; margin-top: 0; box-shadow: none; }
  .rbr-tabs, .rbr-fine, .rbr-pickem { display: none !important; }
  /* the three screens stay lit as small LED readouts (racebook.js fills them) */
  .rbr-screen, .rbr-screen--center { padding: 4.6cqw .6cqw 0; justify-content: center; align-items: center; text-align: center; }
  .rbr-led { display: flex; flex-direction: column; align-items: center; gap: .5cqw; line-height: 1; font-variant-numeric: tabular-nums; }
  .rbr-led b { font: 800 4.1cqw/1 var(--font-ui, sans-serif); color: #ffe2a6; text-shadow: 0 0 1.4cqw rgba(255,190,90,.75); letter-spacing: .02em; }
  .rbr-led b small { font-size: .45em; margin-left: .15em; letter-spacing: .06em; }
  .rbr-led span { font: 700 1.75cqw/1.1 var(--font-ui, sans-serif); letter-spacing: .18em; text-transform: uppercase; color: rgba(246,234,211,.72); }
  .rbr-led.is-on b { color: #ff7a62; text-shadow: 0 0 1.6cqw rgba(255,75,62,.8); }
  .rbr-led .rbr-dot { display: inline-block; width: .55em; height: .55em; margin-right: .35em; border-radius: 50%; background: #ff4b3e; box-shadow: 0 0 .6em #ff4b3e; animation: rbr-pulse 1.6s ease-in-out infinite; vertical-align: .05em; }
  .rbr-led--game small { font: 700 1.6cqw/1 var(--font-ui, sans-serif); letter-spacing: .22em; color: #e9b85c; }
  .rbr-led--game b { font-size: 3.3cqw; display: flex; align-items: baseline; gap: .9cqw; white-space: nowrap; }
  .rbr-led--game b em { font-style: normal; color: #fff3da; }
  .rbr-led--game b i { font-style: normal; font-size: .6em; opacity: .6; }
  .rbr-led--game span .is-live { color: #ff7a62; }
  .rbr-sign { top: 8%; }
  .rbr-sign h1 { font-size: 4.2cqw; letter-spacing: .14em; }
  .rbr-sign p { font-size: 2.2cqw; }
  .rbr-cards { display: block; padding: .9rem .9rem 2rem; font-family: var(--font-ui, sans-serif); color: #f3e6cf; }
  .rbc-tabs { display: flex; gap: .45rem; overflow-x: auto; padding: .2rem 0 .8rem; scrollbar-width: none; position: sticky; top: var(--header-h, 60px); z-index: 2; background: #070403; }
  .rbc-tabs .rbr-tab { flex: none; font-size: .78rem; padding: .55rem .9rem; border-radius: 8px; }
  .rbc-tabs .rbr-tab b { top: -6px; right: -6px; min-width: 16px; font-size: 10px; padding: 2px 4px; }
  .rbc-feat { border-radius: 14px; padding: 1rem; margin-bottom: 1rem; background: linear-gradient(180deg, #0d1220, #070910); border: 1px solid rgba(233,184,92,.3); container-type: inline-size; }
  .rbc-feat .rbr-f__top { font-size: .72rem; }
  .rbc-feat .rbr-f__mid { gap: .6rem; margin: .9rem 0; }
  .rbc-feat .rbr-ft > img, .rbc-feat .rbr-ft > .rbr-nologo { width: 38px; height: 38px; box-shadow: 0 0 22px 6px color-mix(in srgb, var(--glow, #e9b85c) 35%, transparent); }
  .rbc-feat .rbr-f__mid { grid-template-columns: 1fr; gap: .7rem; }
  .rbc-feat .rbr-fs { order: -1; }
  .rbc-feat .rbr-ft__name { font-size: .95rem; }
  .rbc-feat .rbr-ft__rec { font-size: .72rem; }
  .rbc-feat .rbr-ft__sc { font-size: 2.2rem; }
  .rbc-feat .rbr-ft, .rbc-feat .rbr-ft--home { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo name score" "logo rec score"; justify-items: start; text-align: left; }
  .rbc-feat .rbr-ft .rbr-ft__sc { justify-self: end; }
  .rbc-feat .rbr-ft__name { padding-top: 0; }
  .rbc-feat .rbr-fs__state { font-size: .95rem; }
  .rbc-feat .rbr-fs__sub, .rbc-feat .rbr-f__last, .rbc-feat .rbr-ls, .rbc-feat .rbr-f__meta { font-size: .72rem; }
  .rbc-feat .rbr-fs__sub { max-width: 7.5rem; }
  .rbc-feat .rbr-diamond { width: 34px; height: 34px; }
  .rbc-feat .rbr-ls th, .rbc-feat .rbr-ls td { padding: 3px 4px; }
  .rbc-sec { margin: 1.1rem 0 .5rem; font: 700 .74rem/1 var(--font-plaque, serif); letter-spacing: .16em; text-transform: uppercase; color: #e9b85c; }
  .rbc-list { display: grid; gap: .45rem; }
  .rbc-list .rbr-row { font-size: .9rem; padding: .6rem .7rem; border-radius: 10px; gap: .7rem; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.06); }
  .rbc-list .rbr-row__st { font-size: .76rem; }
  .rbc-empty { color: rgba(246,234,211,.6); font-size: .85rem; padding: .4rem 0; }
  .rbc-feat .rbr-ctx { flex-wrap: wrap; justify-content: flex-start; font-size: .75rem; white-space: normal; padding: .5rem; }
  .rbc-feat .rbr-ctx__box { margin-left: 0; padding: .45rem .9rem; }
  .rbc-feat .rbr-pill { font-size: .62rem; }
  .rbc-feat .rbr-ft__glow { width: 70px; height: 70px; }
  .rbc-tabs .rbr-tab.is-soon::after { bottom: -7px; font-size: 8px; padding: 1px 4px; }
  .rbr-sign { padding: 1.2cqw 3cqw; } .rbr-sign::before, .rbr-sign::after { display: none; }
  .rbr-toast { position: fixed; top: auto; bottom: 1.2rem; }
}

/* ---- Box Score theater view ---- */
.rbr-box { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 3vh 3vw; background: rgba(4,2,1,.78); backdrop-filter: blur(6px); }
.rbr-box[hidden] { display: none; }
body.rbr-box-open { overflow: hidden; }
.rbr-box__card { position: relative; width: min(980px, 100%); max-height: 92vh; overflow: auto; padding: 1.6rem 1.8rem 1.3rem; border-radius: 16px; color: #f6ead3; font-family: var(--font-ui, sans-serif);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(40,70,140,.25), transparent 60%), linear-gradient(180deg, #0c111d, #06080e); border: 1px solid rgba(233,184,92,.45);
  box-shadow: 0 0 0 4px rgba(20,8,3,.9), 0 0 0 5px rgba(233,184,92,.35), 0 30px 80px rgba(0,0,0,.7); }
.rbr-box__x { position: absolute; top: .8rem; right: .9rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(233,184,92,.5); background: rgba(233,184,92,.1); color: #ffd88a; font-size: 1rem; cursor: pointer; }
.rbr-box__x:hover { background: rgba(233,184,92,.3); color: #fff; }
.rbr-box__eyebrow { margin: 0 0 1rem; font: 700 .78rem/1 var(--font-plaque, serif); letter-spacing: .2em; text-transform: uppercase; color: #e9b85c; }
.rbr-box__score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.2rem; margin-bottom: 1.3rem; }
.rbr-box__team { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; }
.rbr-box__team:last-child { grid-template-columns: auto 1fr auto; }
.rbr-box__team .rbr-ft__glow { position: absolute; left: -10px; top: 50%; width: 96px; height: 96px; transform: translateY(-50%); }
.rbr-box__team img, .rbr-box__team .rbr-nologo { position: relative; width: 64px; height: 64px; object-fit: contain; }
.rbr-box__team b { display: block; font: 700 1.15rem/1.2 var(--font-plaque, serif); }
.rbr-box__team b small { font: 700 .7em/1 var(--font-ui, sans-serif); color: #e9b85c; margin-right: .3em; }
.rbr-box__team small { color: rgba(246,234,211,.6); font-size: .8rem; }
.rbr-box__team strong { font: 800 3rem/1 var(--font-ui, sans-serif); font-variant-numeric: tabular-nums; }
.rbr-box__team.is-win strong { color: #ffd88a; } .rbr-box__team.is-lose strong { color: rgba(246,234,211,.5); }
.rbr-box__vs { text-align: center; font: 800 1.05rem/1.2 var(--font-ui, sans-serif); white-space: nowrap; }
.rbr-box__vs .is-live, .rbr-box__facts .is-live { color: #ff6b5e; }
.rbr-box__ls { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; font-variant-numeric: tabular-nums; font-size: .92rem; }
.rbr-box__ls th, .rbr-box__ls td { padding: .5rem .6rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.rbr-box__ls th { color: #e9b85c; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.rbr-box__ls td:first-child { text-align: left; white-space: nowrap; }
.rbr-box__ls td:first-child img, .rbr-box__ls td:first-child .rbr-nologo { width: 22px; height: 22px; vertical-align: middle; margin-right: .5rem; object-fit: contain; }
.rbr-box__ls td:last-child, .rbr-box__ls th:last-child { font-weight: 800; color: #ffd88a; }
.rbr-box__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem 1.4rem; margin: 0 0 1rem; }
.rbr-box__facts div { padding: .6rem .8rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.rbr-box__facts dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(233,184,92,.85); margin-bottom: .25rem; }
.rbr-box__facts dd { margin: 0; font-size: .92rem; line-height: 1.4; }
.rbr-box__note { margin: 0; font-size: .78rem; color: rgba(246,234,211,.5); text-align: center; }
@media (max-width: 640px) {
  .rbr-box { padding: 0; align-items: end; }
  .rbr-box__card { border-radius: 16px 16px 0 0; max-height: 92vh; padding: 1.2rem 1rem 1rem; }
  .rbr-box__score { grid-template-columns: 1fr; gap: .7rem; }
  .rbr-box__vs { order: -1; }
  .rbr-box__team strong { font-size: 2.2rem; }
  .rbr-box__team img, .rbr-box__team .rbr-nologo { width: 44px; height: 44px; }
  .rbr-box__ls { font-size: .8rem; } .rbr-box__ls th, .rbr-box__ls td { padding: .4rem .3rem; }
}

/* No logo from the feed (NFL via BALLDONTLIE): a disc in the team's color with its short name */
.rbr-disc { display: inline-grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tc) 70%, #fff), var(--tc) 55%, color-mix(in srgb, var(--tc) 60%, #000)) !important;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), 0 1px 3px rgba(0,0,0,.5); }
.rbr-disc i { font-style: normal; font-weight: 800; font-size: .42em; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); line-height: 1; }
.rbr-ft__logo.rbr-disc i { font-size: 1.05em; }

/* Box Score: top players */
.rbr-box__players { margin: 0 0 1.1rem; }
.rbr-box__h { margin: 0 0 .7rem; font: 700 .78rem/1 var(--font-plaque, serif); letter-spacing: .2em; text-transform: uppercase; color: #e9b85c; }
.rbr-box__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .rbr-box__cols { grid-template-columns: 1fr; } }
.rbr-box__col { padding: .8rem .9rem; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(233,184,92,.15); }
.rbr-box__col h4 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .55rem; font: 700 .95rem/1.2 var(--font-ui, sans-serif); color: #f6ead3; }
.rbr-box__col h4 img, .rbr-box__col h4 .rbr-nologo { width: 22px; height: 22px; object-fit: contain; }
.rbr-box__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rbr-box__col li { display: flex; justify-content: space-between; gap: .8rem; font-size: .88rem; }
.rbr-box__col li b { font-weight: 600; color: #f6ead3; }
.rbr-box__col li span { color: #ffd88a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rbr-box__muted { margin: 0; color: rgba(246,234,211,.55); font-size: .88rem; }

/* The Pick'em button: a brass plaque on the ledge, right of the league tabs */
.rbr-pickem { position: absolute; left: 50%; top: 58.2%; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: .5em; padding: .55cqw 1.4cqw; border-radius: 99px; text-decoration: none;
  font: 700 clamp(10px, .85cqw, 16px)/1 var(--font-plaque, serif); letter-spacing: .14em; text-transform: uppercase; color: #2a160b;
  background: linear-gradient(180deg, #f6d998, #c8913a); box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.6), 0 0 1.2cqw rgba(233,184,92,.35), inset 0 1px 0 rgba(255,255,255,.5); transition: filter .2s, transform .2s; }
.rbr-pickem:hover { filter: brightness(1.08); transform: translateX(-50%) translateY(-1px); color: #2a160b; }
.rbr-pickem small { font: 800 .7em/1 var(--font-ui, sans-serif); letter-spacing: .1em; padding: .25em .5em; border-radius: 99px; background: rgba(42,22,11,.85); color: #ffd88a; }
/* phones: the same plaque, full width, right under the league tabs */
.rbc-pickem { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: .85rem 1.1rem; border-radius: 12px; text-decoration: none;
  font: 700 .86rem/1 var(--font-plaque, serif); letter-spacing: .14em; text-transform: uppercase; color: #2a160b;
  background: linear-gradient(180deg, #f6d998, #c8913a); box-shadow: 0 6px 18px rgba(0,0,0,.5), 0 0 18px rgba(233,184,92,.25), inset 0 1px 0 rgba(255,255,255,.5); }
.rbc-pickem:hover, .rbc-pickem:focus { color: #2a160b; filter: brightness(1.06); }
.rbc-pickem small { font: 800 .62rem/1 var(--font-ui, sans-serif); letter-spacing: .1em; padding: .3em .55em; border-radius: 99px; background: rgba(42,22,11,.85); color: #ffd88a; }
.rbc-pickem__go { margin-left: auto; font: 400 1.5rem/1 var(--font-ui, sans-serif); }

/* =====================================================================
   THE ROOM COMES TO LIFE (includes/sportsbook_room.php, racebook-fx.js, racebook-room.js)
   ===================================================================== */
/* time-of-day light over the picture (not the screens) */
.rbr-tint { position: absolute; inset: 0; pointer-events: none; transition: background 4s ease, opacity 4s ease; mix-blend-mode: soft-light; opacity: 0; }
.rbr[data-tod="morning"] .rbr-tint { opacity: 1; background: linear-gradient(180deg, rgba(255,236,200,.18), rgba(255,236,200,.06)); }
.rbr[data-tod="day"] .rbr-tint     { opacity: 1; background: linear-gradient(180deg, rgba(255,246,226,.22), rgba(255,240,210,.08)); }
.rbr[data-tod="evening"] .rbr-tint { opacity: 0; }
.rbr[data-tod="late"] .rbr-tint    { opacity: 1; mix-blend-mode: multiply; background: radial-gradient(ellipse 70% 60% at 50% 75%, rgba(255,170,80,.0), rgba(60,24,6,.42)); }

/* candles and the pillar sconces breathing */
.rbr-flames { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.rbr-flames i { position: absolute; width: calc(var(--s) * 4.4cqw); height: calc(var(--s) * 4.4cqw); transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,110,.55), rgba(255,150,60,.18) 38%, transparent 70%); animation: rbr-flicker 2.3s ease-in-out infinite; }
.rbr-flames i:nth-child(2n) { animation-duration: 3.1s; animation-delay: -1.2s; }
.rbr-flames i:nth-child(3n) { animation-duration: 1.7s; animation-delay: -.6s; }
@keyframes rbr-flicker { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); } 22% { opacity: 1; transform: translate(-50%, -52%) scale(1.06); }
  41% { opacity: .62; transform: translate(-49%, -50%) scale(.95); } 63% { opacity: .95; transform: translate(-51%, -51%) scale(1.03); } 80% { opacity: .7; } }
.rbr-sconce { position: absolute; top: 13%; width: 3.2cqw; height: 34%; transform: translateX(-50%); border-radius: 40%;
  background: radial-gradient(ellipse at center, rgba(255,205,130,.34), transparent 70%); animation: rbr-breathe 6s ease-in-out infinite; }
.rbr-sconce + .rbr-sconce { animation-delay: -3s; }
@keyframes rbr-breathe { 0%, 100% { opacity: .55; } 50% { opacity: .95; } }

/* cigar smoke canvas: over the ashtray, rising toward the screens */
.rbr-smoke { position: absolute; left: 45%; top: 42%; width: 16%; height: 42%; pointer-events: none; }

/* the team-color wash on a big play */
.rbr-wash { position: absolute; left: 0; right: 0; top: 44%; bottom: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse 60% 70% at 50% 10%, color-mix(in srgb, var(--wash, #e9b85c) 55%, transparent), transparent 70%); }
.rbr-wash.is-on { animation: rbr-wash 2.6s ease-out; }
@keyframes rbr-wash { 0% { opacity: 0; } 12% { opacity: .9; } 35% { opacity: .55; } 50% { opacity: .8; } 100% { opacity: 0; } }

/* game-day looks: the sign's tagline */
.rbr-sign p.rbr-sign__day { color: #ffd88a; text-shadow: 0 0 .6cqw rgba(255,190,90,.6); }
.rbr--nfl .rbr-sign { box-shadow: 0 0 0 1px rgba(233,184,92,.5), 0 0 2.4cqw rgba(64,120,255,.25), 0 1cqw 2cqw rgba(0,0,0,.6); }
.rbr--cfb .rbr-sign { box-shadow: 0 0 0 1px rgba(233,184,92,.5), 0 0 2.4cqw rgba(255,120,40,.28), 0 1cqw 2cqw rgba(0,0,0,.6); }
.rbr--holiday .rbr-sign { box-shadow: 0 0 0 1px rgba(233,184,92,.55), 0 0 2.4cqw rgba(200,40,40,.3), 0 0 4cqw rgba(40,160,80,.18), 0 1cqw 2cqw rgba(0,0,0,.6); }

/* Game of the Week: a brass plaque on the big screen's frame, spotlights from the ceiling */
.rbr-gotw { position: absolute; left: 50%; top: 15.4%; transform: translateX(-50%); z-index: 7; margin: 0; padding: .3cqw 1.2cqw; border-radius: .3cqw; white-space: nowrap;
  font: 700 clamp(9px, .72cqw, 14px)/1 var(--font-plaque, serif); letter-spacing: .22em; text-transform: uppercase; color: #2a160b;
  background: linear-gradient(180deg, #f6d998, #c8913a); box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.55), 0 0 1.6cqw rgba(233,184,92,.45); }
.rbr-gotw[hidden] { display: none; }
.rbr-gotw span { font-size: .8em; color: #7a3d10; }
.rbr.is-gotw .rbr-stage::after { content: ""; position: absolute; left: 30%; right: 30%; top: 0; height: 46%; pointer-events: none; z-index: 1;
  background: conic-gradient(from 180deg at 50% -10%, transparent 160deg, rgba(255,230,170,.10) 172deg, transparent 180deg, rgba(255,230,170,.10) 188deg, transparent 200deg);
  filter: blur(6px); animation: rbr-breathe 7s ease-in-out infinite; }
.rbr-screen--center.is-gotw { box-shadow: 0 0 0 .12cqw rgba(246,217,152,.75), 0 0 3cqw rgba(233,184,92,.4); }

/* the big-play banner */
.rbr-alert { position: absolute; left: 50%; top: 31%; transform: translate(-50%, -50%) scale(.9); z-index: 8; display: grid; justify-items: center; gap: .25cqw;
  padding: .7cqw 2.2cqw .8cqw; border-radius: .5cqw; pointer-events: none; text-align: center; opacity: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc, #e9b85c) 85%, #000), color-mix(in srgb, var(--tc, #e9b85c) 55%, #000));
  box-shadow: 0 0 0 .12cqw rgba(255,240,210,.65), 0 0 3cqw color-mix(in srgb, var(--tc, #e9b85c) 70%, transparent), 0 1cqw 3cqw rgba(0,0,0,.7);
  animation: rbr-alert-in .45s cubic-bezier(.2,1.4,.4,1) forwards; }
.rbr-alert[hidden] { display: none; }
.rbr-alert b { font: 800 clamp(16px, 2.6cqw, 52px)/1 var(--font-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 .15cqw .5cqw rgba(0,0,0,.5); }
.rbr-alert span { font: 700 clamp(10px, 1cqw, 20px)/1 var(--font-plaque, serif); letter-spacing: .14em; text-transform: uppercase; color: #fff3da; }
.rbr-alert em { font: 700 clamp(9px, .8cqw, 16px)/1 var(--font-ui, sans-serif); font-style: normal; color: rgba(255,248,234,.85); font-variant-numeric: tabular-nums; }
.rbr-alert:not(.is-big) { top: 44.8%; padding: .4cqw 1.4cqw; gap: .15cqw; }
.rbr-alert:not(.is-big) b { font-size: clamp(11px, 1.2cqw, 24px); }
@keyframes rbr-alert-in { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* reactions floating up the big screen */
.rbr-floats { position: absolute; left: 31.8%; width: 36.3%; top: 17.5%; height: 30%; pointer-events: none; overflow: hidden; z-index: 7; }
.rbr-float { position: absolute; bottom: -8%; font-size: clamp(18px, 2.2cqw, 40px); animation: rbr-float 3s ease-out forwards; filter: drop-shadow(0 .2cqw .4cqw rgba(0,0,0,.5)); }
@keyframes rbr-float { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 12% { opacity: 1; transform: translate(calc(var(--dx) * .2), -12%) scale(1.1); }
  100% { opacity: 0; transform: translate(var(--dx), -420%) scale(.9); } }

/* "watching" brass plate */
.rbr-watching { position: absolute; left: 50%; top: 63.6%; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: .6cqw; cursor: pointer;
  padding: .3cqw 1cqw .3cqw .35cqw; border-radius: 99px; border: 1px solid rgba(233,184,92,.55); color: #f6e3c7;
  background: linear-gradient(180deg, rgba(40,22,12,.88), rgba(18,9,5,.92)); box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.5);
  font: 700 clamp(10px, .72cqw, 14px)/1 var(--font-ui, sans-serif); letter-spacing: .06em; }
.rbr-watching[hidden] { display: none; }
.rbr-watching:hover { border-color: #e9b85c; }
.rbr-watching__faces { display: inline-flex; }
.rbr-watching__faces .rbr-av + .rbr-av { margin-left: -.5cqw; }
.rbr-watching__faces:empty { display: none; }
.rbr-av { position: relative; flex: none; width: clamp(18px, 1.5cqw, 30px); height: clamp(18px, 1.5cqw, 30px); border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center;
  font: 700 .62em/1 var(--font-plaque, serif); color: #fff3df; background: radial-gradient(circle at 35% 30%, #c98a3e, #5a2e12 75%); box-shadow: 0 0 0 1.5px rgba(212,154,66,.85); }
.rbr-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rbr-watch-pop { position: absolute; left: 50%; top: 67.5%; transform: translateX(-50%); z-index: 9; width: min(280px, 80vw); max-height: 40vh; overflow: auto; padding: .8rem .9rem;
  border-radius: 12px; background: rgba(20,10,6,.95); border: 1px solid rgba(212,154,66,.5); box-shadow: 0 12px 30px rgba(0,0,0,.6); color: #f6e3c7; font-family: var(--font-ui, sans-serif); }
.rbr-watch-pop h3 { margin: 0 0 .5rem; font: 700 .72rem/1 var(--font-plaque, serif); letter-spacing: .2em; text-transform: uppercase; color: #e9b85c; }
.rbr-watch-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.rbr-watch-pop li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }
.rbr-watch-pop .rbr-av { width: 24px; height: 24px; font-size: 11px; }
.rbr-watch-pop__g { color: rgba(246,234,211,.6); }

/* sound toggle */
.rbr-sound { position: fixed; left: 1rem; top: calc(var(--header-h, 60px) + 14px); z-index: 40; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 99px; cursor: pointer;
  border: 1px solid rgba(212,154,66,.45); background: rgba(16,8,4,.82); color: #f6e3c7; font: 600 12px/1 var(--font-ui, sans-serif); backdrop-filter: blur(6px); }
.rbr-sound[aria-pressed="true"] { border-color: #e9b85c; color: #ffd88a; }
.rbr-sound.is-want { animation: rbr-breathe 1.6s ease-in-out infinite; }

/* the watch party: a tab on the right edge and a slim glass rail */
.rbr-party-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 41; display: flex; flex-direction: column; align-items: center; gap: .4rem; cursor: pointer;
  padding: .9rem .5rem; border-radius: 10px 0 0 10px; border: 1px solid rgba(212,154,66,.55); border-right: 0;
  background: linear-gradient(180deg, rgba(48,26,14,.95), rgba(20,10,6,.95)); color: #f6e3c7; box-shadow: -6px 0 22px rgba(0,0,0,.5); }
.rbr-party-tab b { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11px/1 var(--font-plaque, serif); letter-spacing: .2em; text-transform: uppercase; color: #ffd88a; }
.rbr-party-tab i { min-width: 18px; padding: 3px 5px; border-radius: 99px; background: #e0352b; color: #fff; font: 800 10px/1 var(--font-ui, sans-serif); font-style: normal; }
.rbr-party-tab i[hidden] { display: none; }
.rbr.is-party .rbr-party-tab { right: min(340px, 92vw); }
.rbr-party { position: fixed; right: 0; top: var(--header-h, 60px); bottom: 0; z-index: 42; width: min(340px, 92vw); display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(28,15,9,.93), rgba(12,6,4,.96)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-left: 1px solid rgba(212,154,66,.45); box-shadow: -14px 0 40px rgba(0,0,0,.55); color: #f3e8d6; font-family: var(--font-ui, sans-serif); }
.rbr-party[hidden] { display: none; }
.rbr-party__head { display: flex; align-items: baseline; gap: .6rem; padding: .9rem 1rem .6rem; border-bottom: 1px solid rgba(212,154,66,.2); }
.rbr-party__head h2 { margin: 0; font: 700 .82rem/1 var(--font-plaque, serif); letter-spacing: .2em; text-transform: uppercase; color: #e9b85c; }
.rbr-party__head span { font-size: .78rem; color: rgba(243,232,214,.6); }
.rbr-party__x { margin-left: auto; border: 0; background: none; color: rgba(243,232,214,.7); font-size: 1rem; cursor: pointer; }
.rbr-party__fav { margin: .6rem 1rem 0; align-self: flex-start; padding: .4rem .8rem; border-radius: 99px; cursor: pointer; border: 1px solid rgba(233,184,92,.55); background: rgba(233,184,92,.1); color: #ffd88a; font: 700 .76rem/1 var(--font-ui, sans-serif); letter-spacing: .04em; }
.rbr-party__log { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: .6rem 1rem; display: flex; flex-direction: column; gap: .55rem; scrollbar-width: thin; }
.rbr-party__spacer { flex: 1; }
.rbr-msg { position: relative; display: flex; gap: .55rem; align-items: flex-start; }
.rbr-msg .rbr-av { width: 28px; height: 28px; font-size: 12px; margin-top: 2px; }
.rbr-msg__body { min-width: 0; flex: 1; }
.rbr-msg__head { margin: 0; display: flex; gap: .5rem; align-items: baseline; }
.rbr-msg__head b { font-size: .82rem; color: #ffd88a; }
.rbr-msg__head time { font-size: .68rem; color: rgba(243,232,214,.45); }
.rbr-msg__txt { margin: .1rem 0 0; font-size: .9rem; line-height: 1.4; overflow-wrap: anywhere; }
.rbr-msg.is-me .rbr-msg__head b { color: #9fe0a8; }
.rbr-msg.is-gone .rbr-msg__txt { font-style: italic; color: rgba(243,232,214,.4); }
.rbr-msg__del { position: absolute; right: 0; top: 0; border: 0; background: none; color: rgba(243,232,214,.35); cursor: pointer; font-size: .75rem; }
.rbr-msg__del:hover { color: #ff8a7e; }
.rbr-party__reacts { display: flex; justify-content: space-between; gap: .3rem; padding: .5rem .8rem; border-top: 1px solid rgba(212,154,66,.2); }
.rbr-party__reacts button { flex: 1; padding: .35rem 0; border-radius: 10px; border: 1px solid rgba(212,154,66,.25); background: rgba(0,0,0,.25); font-size: 1.2rem; cursor: pointer; transition: transform .15s, background .15s; }
.rbr-party__reacts button:hover { background: rgba(212,154,66,.15); transform: translateY(-2px); }
.rbr-party__reacts button.is-pop { animation: rbr-pop .35s ease; }
@keyframes rbr-pop { 50% { transform: scale(1.25); } }
.rbr-party__say { display: flex; gap: .4rem; padding: .6rem .8rem 4.6rem; }   /* room under it for the site's Online / IM button */
.rbr-party__say input { flex: 1; min-width: 0; padding: .6rem .8rem; border-radius: 99px; border: 1px solid rgba(212,154,66,.35); background: rgba(0,0,0,.35); color: #f3e8d6; font: 500 .9rem/1.2 var(--font-ui, sans-serif); }
.rbr-party__say input:focus { outline: none; border-color: #e9b85c; }
.rbr-party__say button { padding: .55rem 1rem; border-radius: 99px; border: 0; background: linear-gradient(180deg, #f6d998, #c8913a); color: #2a160b; font: 700 .82rem/1 var(--font-ui, sans-serif); cursor: pointer; }
.rbr-party__login { margin: 0; padding: .7rem 1rem 1rem; font-size: .84rem; color: rgba(243,232,214,.7); }
.rbr-party__login[hidden] { display: none; }
.rbr-party__login a { color: #ffd88a; }

/* favorite teams */
.rbr-favs__card { max-width: 640px; }
.rbr-favs__h { margin: .2rem 0 .3rem; font: 700 1.3rem/1.1 var(--font-plaque, serif); color: #f0c47a; }
.rbr-favs__form { display: grid; gap: .9rem; margin-top: .8rem; }
.rbr-favs__list { display: grid; gap: .8rem; max-height: 50vh; overflow-y: auto; padding-right: .3rem; }
.rbr-favs__form fieldset { border: 1px solid rgba(212,154,66,.25); border-radius: 10px; padding: .5rem .7rem .7rem; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.rbr-favs__form legend { padding: 0 .3rem; font: 700 .7rem/1 var(--font-ui, sans-serif); letter-spacing: .16em; color: #e9b85c; }
.rbr-favs__t { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 99px; border: 1px solid rgba(212,154,66,.25); font-size: .85rem; cursor: pointer; }
.rbr-favs__t:has(input:checked) { border-color: #e9b85c; background: rgba(233,184,92,.14); color: #ffe2a8; }
.rbr-favs__t input { accent-color: #e9b85c; }
.rbr-favs__save { justify-self: start; padding: .65rem 1.3rem; border: 0; border-radius: 99px; background: linear-gradient(180deg, #f6d998, #c8913a); color: #2a160b; font: 700 .88rem/1 var(--font-ui, sans-serif); cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.rbr-star { font-style: normal; color: #ffd36b; margin-left: .25em; font-size: .8em; text-shadow: 0 0 .4em rgba(255,200,90,.6); }
.rbr-row.is-fav { box-shadow: inset .18cqw 0 0 #ffd36b; }

/* the crowd strip under the big game */
.rbr-crowd { display: flex; justify-content: center; flex-wrap: wrap; gap: .4cqw 1.4cqw; margin: -.2cqw 0 .35cqw; font: 600 clamp(9px, .62cqw, 13px)/1.2 var(--font-ui, sans-serif); color: rgba(246,234,211,.85); }
.rbr-crowd em { font-style: normal; color: #e9b85c; letter-spacing: .14em; text-transform: uppercase; margin-right: .5em; font-size: .9em; }
.rbr-crowd__pk { display: inline-flex; align-items: center; gap: .5em; }
.rbr-crowd__pk i { position: relative; width: 6cqw; height: .35cqw; min-height: 4px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.rbr-crowd__pk i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, #f6d998, #c8913a); }
.rbr-crowd__fav { color: #ffe2a8; }

/* feed rotation dots, countdowns, the filled bar, house breaks */
.rbr-rot { display: inline-flex; gap: .25cqw; margin-left: .7cqw; vertical-align: middle; }
.rbr-rot i { width: .35cqw; height: .35cqw; min-width: 4px; min-height: 4px; border-radius: 50%; background: rgba(246,234,211,.3); }
.rbr-rot i.is-on { background: #ffd88a; box-shadow: 0 0 .3cqw #ffd88a; }
.rbr-cd { color: #ffd88a; font-variant-numeric: tabular-nums; }
.rbr-ctx__ls b { color: #e9b85c; font-weight: 700; margin-right: .2em; }
.rbr-break { display: grid; align-content: center; }
.rbr-break__card { padding: .6cqw .4cqw; text-align: center; display: grid; gap: .45cqw; }
.rbr-break__k { margin: 0; font: 700 clamp(8px, .55cqw, 12px)/1 var(--font-ui, sans-serif); letter-spacing: .24em; text-transform: uppercase; color: #e9b85c; }
.rbr-break__t { margin: 0; font: 700 clamp(11px, 1cqw, 22px)/1.15 var(--font-plaque, serif); color: #ffe7b8; text-shadow: 0 0 .6cqw rgba(255,190,90,.35); }
.rbr-break__x { margin: 0; font: 500 clamp(9px, .66cqw, 14px)/1.35 var(--font-ui, sans-serif); color: rgba(246,234,211,.8); }
.rbr-break__go { justify-self: center; margin-top: .2cqw; padding: .3cqw .8cqw; border-radius: 99px; border: 1px solid rgba(233,184,92,.55); color: #ffd88a; text-decoration: none; font: 700 clamp(8px, .56cqw, 12px)/1 var(--font-ui, sans-serif); letter-spacing: .08em; }
.rbr-break__foot { position: absolute; left: 0; right: 0; bottom: .2cqw; text-align: center; font: 500 clamp(8px, .55cqw, 11px)/1.3 var(--font-ui, sans-serif); color: rgba(246,234,211,.5); }
.rbr-list { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .rbr-flames i, .rbr-sconce, .rbr.is-gotw .rbr-stage::after, .rbr-sound.is-want { animation: none; }
  .rbr-wash.is-on { animation-duration: .01s; } .rbr-float { display: none; }
}

/* phones: the room's life stays light; the party is a bottom sheet */
@media (max-width: 760px), (max-height: 430px) and (max-width: 900px) {
  .rbr-watching { top: auto; bottom: 4%; font-size: 10px; }
  .rbr-gotw { top: 13%; font-size: 8px; }
  .rbr-alert.is-big, .rbr-alert { top: 32%; }
  .rbr { position: relative; inset: auto; }
  .rbr-sound { position: absolute; left: .6rem; top: .6rem; padding: .4rem .6rem; }
  .rbr-sound b { display: none; }
  .rbr-party-tab { top: auto; bottom: .7rem; right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; padding: .55rem 1rem; border-radius: 99px; border-right: 1px solid rgba(212,154,66,.55); }
  .rbr-party-tab b { writing-mode: horizontal-tb; transform: none; }
  .rbr.is-party .rbr-party-tab { right: auto; display: none; }
  .rbr-party { top: auto; height: 72vh; width: 100%; border-left: 0; border-top: 1px solid rgba(212,154,66,.45); border-radius: 16px 16px 0 0; }
  .rbr-floats { left: 31.8%; width: 36.3%; }
  .rbr-crowd { font-size: .74rem; gap: .3rem .8rem; margin: .2rem 0 .5rem; }
  .rbr-crowd__pk i { width: 60px; height: 5px; }
}

/* Pick'em leaders: a page on the Live now screen */
.rbr-pkl { display: grid; align-content: start; gap: .22cqw; }
.rbr-pkl__h { display: flex; justify-content: space-between; align-items: baseline; gap: .5cqw; padding-bottom: .2cqw; margin-bottom: .1cqw; border-bottom: 1px solid rgba(233,184,92,.25); text-decoration: none;
  font: 700 clamp(8px, .62cqw, 13px)/1.1 var(--font-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #e9b85c; }
.rbr-pkl__h small { font-size: .85em; letter-spacing: .06em; color: #ff8f80; }
.rbr-pkl__r { display: grid; grid-template-columns: 1.3em 2.2em minmax(0, 1fr) auto 2.6em; align-items: center; gap: .35cqw; padding: .16cqw .3cqw; border-radius: .3cqw;
  font: 600 clamp(8px, .66cqw, 14px)/1.1 var(--font-ui, sans-serif); color: #f6ead3; background: rgba(255,240,215,.04); }
.rbr-pkl__r.is-top { background: linear-gradient(90deg, rgba(233,184,92,.25), rgba(233,184,92,.04)); box-shadow: inset 0 0 0 1px rgba(233,184,92,.45); }
.rbr-pkl__r > b { color: #e9b85c; text-align: center; }
.rbr-pkl__r > i { font-style: normal; font-size: .78em; color: rgba(246,234,211,.35); } .rbr-pkl__r > i.is-up { color: #7fe39a; } .rbr-pkl__r > i.is-down { color: #ff8f80; }
.rbr-pkl__r > span:nth-child(3) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbr-pkl__r strong { text-align: right; font-variant-numeric: tabular-nums; } .rbr-pkl__r strong small { margin-left: .15em; font-size: .78em; color: #f2b84b; }
.rbr-pkl__dots { display: flex; gap: .12cqw; }
.rbr-pd { width: .42cqw; height: .42cqw; min-width: 4px; min-height: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(246,234,211,.25); }
.rbr-pd--w { background: #5fd17e; box-shadow: none; } .rbr-pd--l { background: #e5574a; box-shadow: none; }
.rbr-pd--u { background: #f2b84b; box-shadow: none; opacity: .8; } .rbr-pd--d { background: #e5574a; box-shadow: none; opacity: .6; }
.rbr-pkl__f { margin: .1cqw 0 0; font: 600 clamp(7px, .48cqw, 10px)/1 var(--font-ui, sans-serif); color: rgba(246,234,211,.45); text-align: right; }

/* a line from the house (Pick'em finals, new leaders) in the watch-party chat */
.rbr-msg.is-house .rbr-msg__txt { color: #ffd88a; font-weight: 600; }
.rbr-msg.is-house .rbr-msg__head b { color: #e9b85c; }
