/* Rumblerie hub · tokens and components (Jiggle direction). Plain CSS, no build step. */

/* ---------- Tokens ---------- */
:root {
  --rb-bg: #F7F3EA;
  --rb-surface: #FFFFFF;
  --rb-surface-2: #EFEAE0;
  --rb-line: #E0D9CB;
  --rb-line-strong: #C9C0AE;
  --rb-text: #0E1330;
  --rb-text-2: #4F546E;
  --rb-primary: #2340E8;
  --rb-on-primary: #FFFFFF;
  --rb-focus: #2340E8;
  --rb-link: #2340E8;
  --rb-accent: #FF6B4A;
  --rb-chip-on: #0E1330;
  --rb-chip-on-text: #F7F3EA;
  --rb-art-edge: rgba(14, 19, 48, .10);
  --rb-scrim: rgba(8, 11, 30, .6);
  --rb-shadow-rest: 0 1px 2px rgba(14, 19, 48, .06), 0 1px 0 rgba(14, 19, 48, .04);
  --rb-shadow-lift: 0 16px 32px -12px rgba(14, 19, 48, .30);
  --rb-shadow-press: 0 1px 1px rgba(14, 19, 48, .10);
  --rb-shadow-sheet: 0 30px 80px rgba(8, 11, 30, .35);

  --rb-font-display: 'Unbounded', system-ui, sans-serif;
  --rb-font-body: 'DM Sans', system-ui, sans-serif;

  --rb-r-pill: 999px;
  --rb-r-badge: 8px;
  --rb-r-sm: 12px;
  --rb-r-art: 14px;
  --rb-r-btn: 16px;
  --rb-r-card: 20px;
  --rb-r-panel: 28px;
  --rb-r-sheet: 32px;

  --rb-tap: 48px;
  --rb-gutter: 16px;
  --rb-gap: 12px;
  --rb-ease: cubic-bezier(.2, .8, .3, 1);
  --rb-ease-jiggle: cubic-bezier(.3, 1.5, .5, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --rb-bg: #0E1330;
  --rb-surface: #161C44;
  --rb-surface-2: #20285A;
  --rb-line: #2D3570;
  --rb-line-strong: #4A5396;
  --rb-text: #F7F3EA;
  --rb-text-2: #B4B8D6;
  --rb-primary: #4460F5;
  --rb-on-primary: #FFFFFF;
  --rb-focus: #A9B6FF;
  --rb-link: #A9B6FF;
  --rb-chip-on: #F7F3EA;
  --rb-chip-on-text: #0E1330;
  --rb-art-edge: rgba(255, 255, 255, .12);
  --rb-scrim: rgba(5, 7, 20, .72);
  --rb-shadow-rest: 0 1px 0 rgba(0, 0, 0, .35);
  --rb-shadow-lift: 0 16px 32px -12px rgba(0, 0, 0, .65);
  --rb-shadow-press: none;
  --rb-shadow-sheet: 0 30px 80px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rb-bg: #0E1330;
    --rb-surface: #161C44;
    --rb-surface-2: #20285A;
    --rb-line: #2D3570;
    --rb-line-strong: #4A5396;
    --rb-text: #F7F3EA;
    --rb-text-2: #B4B8D6;
    --rb-primary: #4460F5;
    --rb-on-primary: #FFFFFF;
    --rb-focus: #A9B6FF;
    --rb-link: #A9B6FF;
    --rb-chip-on: #F7F3EA;
    --rb-chip-on-text: #0E1330;
    --rb-art-edge: rgba(255, 255, 255, .12);
    --rb-scrim: rgba(5, 7, 20, .72);
    --rb-shadow-rest: 0 1px 0 rgba(0, 0, 0, .35);
    --rb-shadow-lift: 0 16px 32px -12px rgba(0, 0, 0, .65);
    --rb-shadow-press: none;
    --rb-shadow-sheet: 0 30px 80px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}

/* Logo swap: light artwork by default, dark artwork in dark mode */
.rb-on-dark { display: none; }
:root[data-theme="dark"] .rb-on-light { display: none; }
:root[data-theme="dark"] .rb-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rb-on-light { display: none; }
  :root:not([data-theme="light"]) .rb-on-dark { display: block; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--rb-bg);
  color: var(--rb-text);
  font: 400 1rem/1.45 var(--rb-font-body);
}
img { display: block; max-width: 100%; }
a { color: var(--rb-link); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 3px; }
.rb-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rb-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--rb-gutter); }
.rb-label { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rb-text-2); }
.rb-h2 { margin: 0; font: 700 1.375rem/1.15 var(--rb-font-display); }

/* ---------- Header ---------- */
.rb-header { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.rb-home { display: flex; align-items: center; min-height: var(--rb-tap); border-radius: 14px; }
.rb-home__icon img { width: 44px; height: 44px; }
.rb-home__lockup { display: none; }
.rb-home__lockup img { width: 279px; height: auto; }
.rb-nav { display: flex; align-items: center; gap: .5rem; }
.rb-nav a { display: none; align-items: center; min-height: var(--rb-tap); padding: 0 1rem; border-radius: 14px; color: var(--rb-text); font-weight: 600; text-decoration: none; }
.rb-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--rb-tap); height: var(--rb-tap); padding: 0;
  border: 1.5px solid var(--rb-line); border-radius: 14px;
  background: var(--rb-surface); color: var(--rb-text); cursor: pointer;
}
.rb-icon-btn svg { width: 22px; height: 22px; }
.rb-theme .rb-sun { display: none; }
:root[data-theme="dark"] .rb-theme .rb-sun { display: block; }
:root[data-theme="dark"] .rb-theme .rb-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .rb-theme .rb-sun { display: block; }
  :root:not([data-theme="light"]) .rb-theme .rb-moon { display: none; }
}

/* ---------- Hero ---------- */
.rb-hero { display: grid; gap: 2.5rem; padding: .5rem 0 2.5rem; }
.rb-hero__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rb-hero__logo { width: min(276px, 75vw); height: auto; }
.rb-hero h1 { margin: 1.5rem 0 0; font: 700 1.5625rem/1.18 var(--rb-font-display); letter-spacing: -.01em; }
.rb-hero__sub { margin: .625rem 0 0; color: var(--rb-text-2); }
.rb-steps {
  list-style: none; margin: 1.5rem 0 0; padding: .875rem .5rem; width: 100%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .375rem;
  background: var(--rb-surface-2); border-radius: 20px; font-size: .8125rem; line-height: 1.3;
}
.rb-steps li { display: flex; flex-direction: column; align-items: center; gap: .375rem; }
.rb-steps svg { width: 26px; height: 26px; }

/* ---------- Tonight's pick ---------- */
.rb-pick { background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: 24px; padding: 10px; box-shadow: var(--rb-shadow-rest); }
.rb-pick__body { display: flex; flex-direction: column; gap: .5rem; padding: .875rem .375rem .375rem; }
.rb-pick__name { margin: 0; font: 700 1.625rem/1.1 var(--rb-font-display); }
.rb-pick__hook { margin: 0; color: var(--rb-text-2); }
.rb-actions { display: flex; gap: .625rem; margin-top: .5rem; }

/* ---------- Buttons ---------- */
.rb-play {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: 0 1.5rem; border-radius: var(--rb-r-btn);
  background: var(--rb-primary); color: var(--rb-on-primary);
  font: 700 1.0625rem/1 var(--rb-font-display); text-decoration: none; border: 0; cursor: pointer;
}
.rb-play svg { width: 18px; height: 18px; flex-shrink: 0; }
.rb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; padding: 0 1.25rem; border-radius: var(--rb-r-btn);
  border: 1.5px solid var(--rb-line); background: var(--rb-surface-2); color: var(--rb-text);
  font-weight: 700; text-decoration: none; cursor: pointer;
}
.rb-btn--ghost { background: transparent; }

/* ---------- Meta, chips, badges ---------- */
.rb-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: .875rem; color: var(--rb-text-2); }
.rb-meta { display: inline-flex; align-items: center; gap: .3rem; }
.rb-meta svg { width: 15px; height: 15px; }
.rb-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--rb-r-pill); background: var(--rb-surface-2); color: var(--rb-text); font-size: .75rem; font-weight: 600; }
.rb-badge {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center;
  height: 24px; padding: 0 9px; border-radius: var(--rb-r-badge);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.rb-badge--new { background: var(--rb-accent); color: #0E1330; }
.rb-badge--daily { background: var(--rb-primary); color: #FFFFFF; }

/* ---------- Filters ---------- */
.rb-games__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.rb-count { margin: 0; font-size: .875rem; color: var(--rb-text-2); }
.rb-filters { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0 1.25rem; }
.rb-filters fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rb-filters legend { padding: 0; margin-bottom: .5rem; font-size: .8125rem; font-weight: 700; color: var(--rb-text-2); }
.rb-seg { }
.rb-seg__track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--rb-surface-2); border-radius: var(--rb-r-btn); }
.rb-seg input, .rb-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rb-seg label {
  display: flex; align-items: center; justify-content: center; min-height: var(--rb-tap);
  border-radius: var(--rb-r-sm); font-weight: 700; cursor: pointer; user-select: none;
}
.rb-seg input:checked + label { background: var(--rb-chip-on); color: var(--rb-chip-on-text); }
.rb-seg input:focus-visible + label, .rb-chips input:focus-visible + label { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-chips__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.rb-chips label {
  display: inline-flex; align-items: center; gap: .5rem; min-height: var(--rb-tap); padding: 0 1rem;
  border: 1.5px solid var(--rb-line); border-radius: var(--rb-r-pill); background: var(--rb-surface);
  font-size: .9375rem; font-weight: 600; cursor: pointer; user-select: none;
}
.rb-chips label svg { width: 18px; height: 18px; }
.rb-chips input:checked + label { background: var(--rb-chip-on); border-color: var(--rb-chip-on); color: var(--rb-chip-on-text); }
.rb-clear { min-height: var(--rb-tap); padding: 0 .75rem; border: 0; background: none; color: var(--rb-text-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }
.rb-empty { padding: 2.5rem 1rem; text-align: center; color: var(--rb-text-2); }

/* ---------- Grid and card ---------- */
.rb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rb-gap); }
.rb-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 6px; border-radius: 18px;
  background: var(--rb-surface); border: 1px solid var(--rb-line); box-shadow: var(--rb-shadow-rest);
  color: var(--rb-text); text-decoration: none;
  transition: transform 160ms var(--rb-ease), box-shadow 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.rb-card__art { position: relative; aspect-ratio: 16 / 10; border-radius: 13px; overflow: hidden; background: var(--rb-surface-2); }
.rb-card__art img { width: 100%; height: 100%; object-fit: cover; }
.rb-card__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--rb-art-edge); pointer-events: none; }
.rb-card__body { display: flex; flex-direction: column; gap: 5px; padding: 10px 4px 4px; }
.rb-card__name { font: 600 .9375rem/1.2 var(--rb-font-display); }
.rb-card__hook { font-size: .8125rem; line-height: 1.35; color: var(--rb-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rb-card .rb-meta-row { font-size: .75rem; gap: 4px 10px; }
.rb-card .rb-chip { height: 22px; font-size: .6875rem; padding: 0 8px; }

.rb-card:hover, .rb-card:focus-visible, .rb-card.is-jiggling {
  transform: translateY(-4px); box-shadow: var(--rb-shadow-lift); border-color: var(--rb-line-strong);
  animation: rb-jiggle 420ms var(--rb-ease-jiggle) 1;
}
.rb-card:active { transform: translateY(1px) scale(.98); box-shadow: var(--rb-shadow-press); animation: none; transition-duration: 60ms; }
.rb-card.is-soon { border: 1.5px dashed var(--rb-line); box-shadow: none; color: var(--rb-text-2); }
.rb-card.is-soon:hover, .rb-card.is-soon:active { transform: none; box-shadow: none; animation: none; border-color: var(--rb-line); }
.rb-card.is-soon .rb-card__art img { opacity: .25; filter: grayscale(1); }
.rb-soon-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--rb-r-pill); background: var(--rb-chip-on); color: var(--rb-chip-on-text); font-size: .75rem; font-weight: 700; white-space: nowrap; }

@keyframes rb-jiggle {
  0%   { transform: translateY(-4px) rotate(0); }
  25%  { transform: translateY(-4px) rotate(-1.6deg); }
  50%  { transform: translateY(-4px) rotate(1.2deg); }
  75%  { transform: translateY(-4px) rotate(-.5deg); }
  100% { transform: translateY(-4px) rotate(0); }
}

/* ---------- About and footer ---------- */
.rb-about { margin-top: 2.5rem; display: grid; gap: 1rem; }
.rb-about__note { padding: 1.5rem 1.25rem; background: var(--rb-surface-2); border-radius: 24px; }
.rb-about__note img { width: 56px; height: 56px; }
.rb-about__note p { margin: .625rem 0 0; }
.rb-about__sign { color: var(--rb-text-2); }
.rb-about__tv { padding: 1.5rem 1.25rem; background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: 24px; }
.rb-about__tv p { margin: .625rem 0 0; color: var(--rb-text-2); }
.rb-footer { display: flex; flex-direction: column; gap: .875rem; padding: 2rem 0 2.5rem; margin-top: 2rem; font-size: .875rem; color: var(--rb-text-2); }
.rb-footer p { margin: 0; }
.rb-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.rb-footer a { display: inline-flex; align-items: center; gap: .375rem; min-height: 44px; color: var(--rb-text-2); text-underline-offset: 3px; }
.rb-footer .rb-heart { width: 14px; height: 14px; fill: var(--rb-accent); }

/* ---------- Detail sheet ---------- */
.rb-sheet {
  width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0;
  border: 0; border-radius: 28px 28px 0 0; background: var(--rb-surface); color: var(--rb-text);
  box-shadow: var(--rb-shadow-sheet); overflow: hidden;
}
.rb-sheet[open] { display: flex; flex-direction: column; animation: rb-sheet-up 240ms var(--rb-ease); }
.rb-sheet::backdrop { background: var(--rb-scrim); }
.rb-sheet__scroll { overflow-y: auto; padding: 10px 20px 16px; }
.rb-sheet__grab { width: 40px; height: 5px; margin: 0 auto; border-radius: 3px; background: var(--rb-line); }
.rb-sheet__top { display: flex; justify-content: flex-end; }
.rb-sheet__close { border: 0; background: var(--rb-surface-2); }
.rb-sheet__art { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--rb-surface-2); margin-top: 4px; }
.rb-sheet__art img { width: 100%; height: 100%; object-fit: cover; }
.rb-sheet__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--rb-art-edge); }
.rb-sheet h2 { margin: 1.125rem 0 0; font: 700 1.75rem/1.1 var(--rb-font-display); }
.rb-sheet .rb-meta-row { margin-top: .625rem; font-size: .9375rem; }
.rb-sheet .rb-meta svg { width: 17px; height: 17px; }
.rb-sheet .rb-chip { height: 28px; padding: 0 12px; font-size: .875rem; }
.rb-sheet__pitch { margin: .875rem 0 0; font-size: 1.0625rem; }
.rb-join { margin-top: 1rem; padding: .875rem 1rem; background: var(--rb-surface-2); border-radius: 18px; }
.rb-join h3 { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rb-text-2); }
.rb-join ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: .5rem; font-size: .9375rem; line-height: 1.35; }
.rb-join li { display: flex; gap: .625rem; counter-increment: step; }
.rb-join li::before { content: counter(step); flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rb-chip-on); color: var(--rb-chip-on-text); font-size: .8125rem; font-weight: 700; }
.rb-sheet__bar { display: flex; flex-direction: column; gap: .5rem; padding: 12px 20px 22px; border-top: 1px solid var(--rb-line); background: var(--rb-surface); }
.rb-sheet__bar .rb-actions { margin: 0; }
.rb-sheet__hint { text-align: center; font-size: .8125rem; color: var(--rb-text-2); }
.rb-share { width: 60px; min-height: 60px; padding: 0; }
.rb-share .rb-share__label { display: none; }
.rb-sheet .rb-play { min-height: 60px; font-size: 1.125rem; }

@keyframes rb-sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rb-fade-scale { from { transform: scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rb-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast ---------- */
.rb-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: .75rem 1.25rem; border-radius: var(--rb-r-pill); background: var(--rb-chip-on); color: var(--rb-chip-on-text); font-weight: 600; z-index: 10; }
.rb-toast[hidden] { display: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  :root { --rb-gutter: 24px; }
  .rb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  :root { --rb-gutter: 32px; --rb-gap: 24px; }
  .rb-header { height: 88px; }
  .rb-home__icon { display: none; }
  .rb-home__lockup { display: block; }
  .rb-nav a { display: inline-flex; }
  .rb-hero { grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; padding: 2.5rem 0 4.5rem; }
  .rb-hero__intro { align-items: flex-start; text-align: left; }
  .rb-hero__logo { width: 392px; margin-left: -8px; }
  .rb-hero h1 { margin-top: 2.25rem; font-size: 2.5rem; line-height: 1.12; letter-spacing: -.015em; }
  .rb-hero__sub { font-size: 1.1875rem; }
  .rb-steps { grid-template-columns: 1fr; background: none; padding: 0; margin-top: 2rem; gap: .875rem; font-size: 1.0625rem; text-align: left; }
  .rb-steps li { flex-direction: row; gap: .875rem; }
  .rb-steps .rb-step__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--rb-surface-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .rb-steps svg { width: 24px; height: 24px; }
  .rb-pick { border-radius: var(--rb-r-panel); padding: 12px; }
  .rb-pick__body { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: 1.25rem .75rem .5rem; }
  .rb-pick__name { font-size: 2rem; }
  .rb-pick__hook { font-size: 1.125rem; }
  .rb-pick .rb-actions { flex-direction: row-reverse; margin: 0; flex-shrink: 0; }
  .rb-pick .rb-play { min-height: 60px; flex: 0 0 auto; }
  .rb-h2 { font-size: 1.75rem; }
  .rb-filters { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; padding: 14px 18px; background: var(--rb-surface); border: 1px solid var(--rb-line); border-radius: 22px; }
  .rb-filters fieldset { display: flex; align-items: center; gap: .75rem; }
  .rb-filters legend { float: left; margin: 0; }
  .rb-seg__track { display: flex; }
  .rb-seg label { min-width: 64px; padding: 0 12px; }
  .rb-clear { margin-left: auto; align-self: center; }
  .rb-card { padding: 8px; border-radius: var(--rb-r-card); }
  .rb-card__art { border-radius: var(--rb-r-art); }
  .rb-card__body { gap: 6px; padding: 14px 6px 6px; }
  .rb-card__name { font-size: 1.125rem; }
  .rb-card__hook { font-size: .9375rem; line-height: 1.4; }
  .rb-card .rb-meta-row { font-size: .875rem; margin-top: 4px; }
  .rb-card .rb-chip { height: 24px; font-size: .75rem; }
  .rb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rb-about { grid-template-columns: 1.4fr 1fr; gap: 1.5rem; margin-top: 5.5rem; }
  .rb-about__note { display: flex; gap: 1.75rem; padding: 2.25rem; border-radius: var(--rb-r-panel); }
  .rb-about__note img { width: 88px; height: 88px; flex-shrink: 0; }
  .rb-about__tv { padding: 2.25rem; border-radius: var(--rb-r-panel); }
  .rb-footer { flex-direction: row-reverse; justify-content: space-between; align-items: center; border-top: 1px solid var(--rb-line); margin-top: 4rem; }

  .rb-sheet { width: min(1040px, calc(100vw - 64px)); margin: auto; border-radius: var(--rb-r-sheet); max-height: calc(100dvh - 64px); overflow-y: auto; border: 1px solid var(--rb-line); }
  .rb-sheet[open] {
    display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr auto;
    grid-template-areas: "art top" "art info" "join bar";
    column-gap: 36px; row-gap: 16px; padding: 20px;
    animation: rb-fade-scale 200ms var(--rb-ease);
  }
  .rb-sheet__scroll { display: contents; }
  .rb-sheet__grab { display: none; }
  .rb-sheet__top { grid-area: top; }
  .rb-sheet__art { grid-area: art; margin: 0; border-radius: 20px; align-self: start; }
  .rb-sheet__info { grid-area: info; padding-right: 4px; }
  .rb-join { grid-area: join; margin: 0; padding: 1rem 1.125rem; border-radius: 20px; align-self: start; }
  .rb-sheet h2 { margin-top: .25rem; font-size: 2.5rem; line-height: 1.05; }
  .rb-sheet__pitch { font-size: 1.25rem; margin-top: 1.25rem; }
  .rb-sheet__bar { grid-area: bar; align-self: end; padding: 0 4px 4px 0; border: 0; background: none; }
  .rb-sheet__hint { text-align: left; }
  .rb-share { width: auto; padding: 0 1.375rem; min-height: 68px; }
  .rb-share .rb-share__label { display: inline; }
  .rb-sheet .rb-play { min-height: 68px; font-size: 1.3125rem; }
}

/* TV and big screens */
@media (min-width: 1600px) {
  html { font-size: 125%; }
  .rb-wrap { max-width: 1500px; }
  .rb-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rb-card, .rb-card:hover, .rb-card:focus-visible, .rb-card:active, .rb-card.is-jiggling {
    animation: none; transform: none; transition: border-color 120ms linear;
  }
  .rb-sheet[open] { animation: rb-fade 120ms linear; }
}
