/* TOTM.fm r1 (Archie, 10 Nov): the frozen TOTM palette (obsidian, British racing green, burnt orange; no purple, no mint),
   a beta strip in that palette, the logo's dot alive, and Play that plays the Moment instead of opening OCTA. */
:root{--totm-obsidian:#07090a;--totm-racing:#123d30;--totm-racing-hi:#1b5a46;--totm-burnt:#d77c48;--totm-burnt-hi:#e8935f}

/* the beta strip: racing green with a burnt-orange edge, instead of the old navy */
.titan-advanced-beta{background:linear-gradient(90deg,#0b2a21,var(--totm-racing) 55%,#0b2a21)!important;
  border-top:1px solid rgba(215,124,72,.28)!important;border-bottom:1px solid rgba(215,124,72,.28)!important}
.titan-advanced-beta *{color:#e9e4dc}
.titan-advanced-beta__feedback{background:var(--totm-burnt)!important;color:#0a0b0b!important;border-color:var(--totm-burnt)!important;text-decoration:none!important}
.titan-advanced-beta__feedback:hover{background:var(--totm-burnt-hi)!important}

/* the page under the header wears the header's colours: a low racing-green light on obsidian */
body{background:radial-gradient(1200px 520px at 50% 0,rgba(18,61,48,.38),transparent 70%),var(--totm-obsidian)}

/* the dot in totm.fm breathes and hops, like the On Air dot */
.fm-dot{display:inline-block;animation:totm-dot 2.8s cubic-bezier(.3,.7,.3,1) infinite;transform-origin:50% 80%}
@keyframes totm-dot{0%,62%,100%{transform:translateY(0) scale(1);filter:none}
  70%{transform:translateY(-.32em) scale(1.12);filter:drop-shadow(0 0 6px rgba(239,51,64,.8))}
  78%{transform:translateY(0) scale(.92,1.08)}84%{transform:translateY(-.08em) scale(1.04)}}
@media (prefers-reduced-motion:reduce){.fm-dot{animation:none}}

/* Play the Moment, where Open OCTA used to be */
a.totm-play{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;
  background:var(--totm-burnt);color:#0a0b0b!important;font-weight:700;text-decoration:none}
a.totm-play:hover{background:var(--totm-burnt-hi)}
a.totm-play::before{content:"";width:0;height:0;border-left:8px solid currentColor;border-top:5px solid transparent;border-bottom:5px solid transparent}

/* === r1.1 (11 Nov, Papa): closer hero cards + right-aligned QR tab === */
.totm-listener-hero .flow{
  grid-template-columns:minmax(0,1.05fr) minmax(60px,.55fr) minmax(0,2.7fr) minmax(24px,.3fr) minmax(0,1.05fr);
  gap:20px;
}
.totm-listener-hero .person{align-self:center}
/* QR tab flush with the page's right rail instead of the narrower barcode band */
.bar-inner{width:calc(100% - 10vw);max-width:1760px}
@media(max-width:1000px){.bar-inner{width:calc(100% - 32px)}}
@media(max-width:700px){.bar-inner{width:calc(100% - 28px)}}

/* ---------- TOTM r2 (Papa, 11 Nov): the listening room is three balanced columns, not one tall stack with empty sides ---------- */
/* friend and the services on the left, you on the right, the turntable in the middle; the listening field sits under the left pair and the
   audio analyser under the right figure, so nothing floats in empty space. Desktop only; below 1100 px the page is unchanged. */
@media (min-width:1100px){
.totm-listener-hero .flow{grid-template-columns:minmax(210px,1fr) 130px minmax(0,700px) minmax(210px,1fr)!important;grid-template-rows:auto auto auto auto!important;align-items:start!important;min-height:0!important;column-gap:22px!important;row-gap:14px!important}
.totm-listener-hero .flow>svg{position:absolute!important;inset:0;width:100%;height:100%;pointer-events:none}
.totm-listener-hero .flow>.friend{grid-column:1;grid-row:1;margin-top:90px}
.totm-listener-hero .flow>.services{grid-column:2;grid-row:1;margin-top:90px}
.totm-listener-hero .flow>.person:not(.friend){grid-column:4;grid-row:1;margin-top:90px}
.totm-listener-hero .deck-stage,.totm-listener-hero .turntable-scene{display:contents!important}
.totm-listener-hero .deck-aura{display:none}
.totm-listener-hero .turntable-scene>.deck{grid-column:3;grid-row:1}
.totm-listener-hero .turntable-scene>.deck-caption{grid-column:3;grid-row:2}
.totm-listener-hero .turntable-scene>.deck-progress{grid-column:3;grid-row:3}
.totm-listener-hero .turntable-scene>.deck-under{grid-column:3;grid-row:4}
.totm-listener-hero .turntable-scene>.room-signal{grid-column:1/3;grid-row:2/5;align-self:start}
.totm-listener-hero .turntable-scene>.audio-analyzer{grid-column:4;grid-row:2/5;align-self:start}
}
