/* ==========================================================================
   Identidade RetroVault Premium
   Camada visual quente inspirada no logo do site: madeira escura, latão,
   creme e vermelho. Carregada por último para unificar página e televisor.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ambiente e página
   -------------------------------------------------------------------------- */

html {
  background: var(--navy-1000);
  scrollbar-color: var(--steel-600) var(--navy-1000);
}

body {
  background: var(--navy-950);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 12%, var(--gold) 46%, var(--gold) 54%, var(--red) 88%, transparent);
  opacity: .8;
  pointer-events: none;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

.scene {
  background:
    radial-gradient(ellipse 38% 23% at 50% 18%, rgba(var(--gold-rgb), .115) 0%, transparent 72%),
    radial-gradient(ellipse 52% 44% at 50% 42%, rgba(126, 60, 27, .46) 0%, transparent 71%),
    radial-gradient(ellipse 32% 31% at 50% 47%, rgba(var(--gold-rgb), .10) 0%, transparent 72%),
    linear-gradient(180deg, #1a0d08 0%, #0d0704 48%, #030201 100%);
}

.scene::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(245, 223, 182, .028) 0 1px, transparent 1px 9rem),
    linear-gradient(180deg, rgba(255, 235, 205, .022), transparent 62%);
  background-size: 9rem 100%, 100% 100%;
  opacity: .85;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 88%);
}

.scene::after {
  background: radial-gradient(ellipse 70% 70% at 50% 46%, transparent 34%, rgba(0, 0, 0, .72) 100%);
}

.scene__stars {
  background-image:
    radial-gradient(circle, rgba(255, 230, 190, .5) 0 .55px, transparent .85px),
    radial-gradient(circle, rgba(var(--red-rgb), .46) 0 .7px, transparent 1px);
  opacity: .16;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .62) 44%, transparent 80%);
}

.scene__grid {
  left: -24%;
  bottom: -18%;
  width: 148%;
  height: 58%;
  transform: perspective(38rem) rotateX(66deg);
  background-image:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .62) 0 1px, transparent 1px 8rem),
    repeating-linear-gradient(0deg, rgba(245, 223, 182, .035) 0 1px, transparent 1px 2.6rem),
    linear-gradient(180deg, rgba(140, 90, 50, .2), rgba(14, 6, 3, .28));
  background-size: 8rem 100%, 100% 2.6rem, 100% 100%;
  opacity: .48;
  mask-image: linear-gradient(to top, #000 4%, rgba(0, 0, 0, .46) 56%, transparent 96%);
}

.scene__flare {
  background:
    radial-gradient(ellipse at center, rgba(var(--gold-rgb), .14) 0%, rgba(var(--red-rgb), .075) 25%, transparent 66%);
  filter: blur(1.5rem);
}

.scene__scan {
  background: repeating-linear-gradient(to bottom, rgba(255, 241, 210, .024) 0 1px, transparent 1px 4px);
  opacity: .2;
  mix-blend-mode: soft-light;
}

.skip-link {
  background: var(--gold-bright);
  color: var(--navy-1000);
  box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   Cabeçalho e marca
   -------------------------------------------------------------------------- */

.site-header::after {
  content: "";
  position: absolute;
  right: var(--page-padding);
  bottom: -.65rem;
  left: var(--page-padding);
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), .48), rgba(var(--red-rgb), .3) 36%, rgba(var(--gold-rgb), .06) 86%, transparent);
  pointer-events: none;
}

.brand {
  gap: .85rem;
}

.brand__logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: clamp(3.7rem, 6.2vh, 4.75rem);
  filter: drop-shadow(0 .55rem 1.1rem rgba(0, 0, 0, .58)) drop-shadow(0 0 1.5rem rgba(var(--gold-rgb), .12));
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.brand:hover .brand__logo {
  filter: drop-shadow(0 .55rem 1.1rem rgba(0, 0, 0, .58)) drop-shadow(0 0 2rem rgba(var(--red-rgb), .19));
  transform: translateY(-1px);
}

.brand__lockup {
  gap: .26rem;
}

.brand__tagline {
  color: var(--gold-bright);
  font-size: clamp(.52rem, .75vw, .61rem);
  letter-spacing: .31em;
}

.brand__edition {
  color: var(--steel-500);
  font-family: var(--font-mono);
  font-size: clamp(.4rem, .58vw, .47rem);
  font-weight: 500;
  letter-spacing: .19em;
  line-height: 1.2;
}

.brand__badge {
  align-self: center;
  margin-left: .12rem;
  border-color: rgba(var(--red-rgb), .85);
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, .28), 0 .25rem .6rem rgba(0, 0, 0, .42);
}

.header-plate {
  border-color: rgba(var(--gold-rgb), .3);
  background: linear-gradient(180deg, rgba(42, 25, 16, .92), rgba(10, 6, 4, .94));
  box-shadow: inset 0 1px 0 rgba(255, 238, 205, .11), inset 0 0 0 1px rgba(0, 0, 0, .6), 0 .6rem 1.5rem -1rem #000;
  color: var(--steel-300);
}

.header-plate__lamp {
  border-color: #230604;
  background: var(--led-on);
  box-shadow: inset 0 0 2px #290604, 0 0 .45rem rgba(var(--red-rgb), .55);
}

.header-plate__block small {
  color: var(--steel-500);
}

.header-plate__block strong {
  color: var(--cream);
}

.header-plate__rule {
  background: linear-gradient(transparent, rgba(var(--gold-rgb), .28), transparent);
}

/* --------------------------------------------------------------------------
   Palco, status e ações
   -------------------------------------------------------------------------- */

.stage-kicker {
  color: var(--steel-300);
}

.stage-kicker span {
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .8));
}

.stage-kicker span:last-child {
  background: linear-gradient(90deg, rgba(var(--red-rgb), .72), transparent);
}

.stage-wall-copy {
  top: clamp(2.6rem, 7vh, 5.4rem);
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--gold-rgb), .19);
  opacity: .9;
}

.stage-wall-copy span:first-child {
  color: rgba(245, 223, 182, .024);
  -webkit-text-stroke-color: rgba(var(--gold-rgb), .23);
}

.stage-wall-copy span:last-child {
  -webkit-text-stroke-color: rgba(var(--red-rgb), .17);
  transform: translateX(6%);
}

.tv-status {
  border-left-color: rgba(var(--red-rgb), .78);
  background: linear-gradient(90deg, rgba(22, 12, 7, .9), rgba(8, 4, 2, .3) 86%, transparent);
  color: var(--steel-200);
}

.tv-status__lamp {
  border-color: #220604;
  background: var(--led-off);
}

.tv-status__lamp.is-on {
  background: radial-gradient(circle at 40% 32%, #fff4da, var(--led-on) 48%, #a30d05 100%);
  box-shadow: inset 0 0 1px #fff, 0 0 .5rem rgba(var(--red-rgb), .75), 0 0 1rem rgba(var(--red-rgb), .3);
}

.tv-shortcut {
  color: var(--steel-500);
}

kbd {
  border-color: rgba(var(--gold-rgb), .22);
  border-bottom-color: #000;
  background: linear-gradient(180deg, #2b1a10, #0d0704);
  box-shadow: inset 0 1px 0 rgba(255, 239, 210, .09), 0 2px 0 #000;
  color: var(--cream);
}

.settings-trigger {
  border-color: rgba(var(--gold-rgb), .38);
  border-bottom-color: #000;
  background: linear-gradient(180deg, #2b1a10, #0c0704);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .12), 0 .45rem .9rem -.4rem rgba(0, 0, 0, .9);
  color: var(--gold-bright);
}

.settings-trigger:hover {
  border-color: rgba(var(--gold-rgb), .75);
  background: linear-gradient(180deg, #3b2416, #120a05);
  color: var(--cream);
}

.settings-trigger[aria-expanded="true"] {
  border-color: #ff745f;
  color: var(--cream);
  background: linear-gradient(180deg, #f0442e, var(--red) 45%, var(--red-deep));
  box-shadow: inset 0 1px 0 rgba(255, 235, 215, .35), 0 .5rem 1.2rem rgba(var(--red-rgb), .18);
}

.settings-trigger[aria-expanded="true"] svg {
  color: var(--cream);
}

.site-footer {
  color: var(--steel-500);
}

.site-footer p span {
  color: var(--steel-300);
}

.site-footer i {
  background: var(--red);
  box-shadow: 0 0 .4rem rgba(var(--red-rgb), .45);
}

.site-footer__phase {
  color: var(--gold);
}

.site-footer__phase span {
  color: var(--steel-600);
}

.noscript-card {
  border-color: rgba(var(--gold-rgb), .55);
  background: #160d08;
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Televisor: madeira, latão e Vermelho
   -------------------------------------------------------------------------- */

.tv-set {
  filter: drop-shadow(0 2.8rem 2.2rem rgba(0, 0, 0, .75));
}

.tv-aura {
  background: radial-gradient(ellipse at center, rgba(126, 60, 27, .4), transparent 64%);
}

.tv-set[data-state="booting"] .tv-aura,
.tv-set[data-state="on"] .tv-aura {
  background:
    radial-gradient(ellipse at center, rgba(var(--gold-rgb), .17), transparent 55%),
    radial-gradient(ellipse at center, rgba(var(--red-rgb), .16), transparent 70%);
  filter: blur(3.4rem);
}

.tv-cabinet {
  border-color: rgba(var(--gold-rgb), .34);
  background:
    linear-gradient(148deg, rgba(255, 236, 205, .16) 0%, rgba(255, 255, 255, .035) 8%, transparent 18%),
    repeating-linear-gradient(91deg, rgba(12, 5, 2, .36) 0 1px, transparent 1px 4px, rgba(255, 199, 145, .035) 4px 5px, transparent 5px 11px),
    repeating-linear-gradient(87deg, transparent 0 27px, rgba(0, 0, 0, .15) 27px 28px, transparent 28px 57px),
    linear-gradient(180deg, #654026 0%, #472b19 9%, #2b180e 30%, #180d08 66%, #24130b 90%, #4a2c19 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 208, .3),
    inset 1px 0 0 rgba(255, 226, 183, .08),
    inset -1px 0 0 rgba(0, 0, 0, .7),
    inset 0 -1px 2px rgba(0, 0, 0, .95),
    inset 0 -12px 22px rgba(0, 0, 0, .38),
    0 2px 0 #030201,
    0 14px 24px -18px #000,
    0 36px 70px -34px rgba(0, 0, 0, .98);
}

.tv-cabinet::before {
  background-image: var(--texture-grain), url("../assets/wood-grain.png");
  background-position: center, center;
  background-size: 11rem 11rem, cover;
  background-repeat: repeat, no-repeat;
  opacity: .25;
  mix-blend-mode: soft-light;
}

.tv-cabinet::after {
  inset: 3px;
  border: 1px solid rgba(var(--gold-rgb), .34);
  border-radius: calc(var(--tv-radius) - 5px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 1.6rem rgba(0, 0, 0, .3);
}

.cabinet-crown {
  border-bottom-color: rgba(var(--gold-rgb), .25);
  color: var(--steel-500);
}

.cabinet-crown__model {
  color: var(--gold-bright);
}

.cabinet-crown__vents {
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .8) 0 2px, rgba(255, 214, 164, .055) 2px 3px, transparent 3px 7px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 238, 205, .07);
}

.screen-bezel {
  border-color: rgba(var(--gold-rgb), .26);
  background:
    linear-gradient(145deg, rgba(255, 239, 208, .09), transparent 16%),
    linear-gradient(180deg, #21150e 0%, #100a06 30%, #060302 78%, #1a100a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 205, .18),
    inset 0 0 0 1px rgba(var(--gold-rgb), .12),
    inset 0 -2px 5px rgba(0, 0, 0, .95),
    inset 0 0 0 4px rgba(0, 0, 0, .52),
    0 1px 0 rgba(255, 238, 205, .05),
    0 12px 22px -16px #000;
}

.screen {
  background: #020100;
  box-shadow:
    inset 0 0 3.5rem rgba(0, 0, 0, .94),
    inset 0 0 0 .12rem rgba(255, 237, 205, .03),
    0 0 0 .12rem #1a0e08,
    0 0 0 .2rem rgba(var(--gold-rgb), .3);
}

.tv-set[data-state="booting"] .screen,
.tv-set[data-state="on"] .screen {
  box-shadow:
    inset 0 0 3.25rem rgba(0, 0, 0, .88),
    inset 0 0 0 .1rem rgba(255, 238, 205, .04),
    0 0 0 .12rem #170c07,
    0 0 0 .2rem rgba(var(--gold-rgb), .38),
    0 0 3.2rem rgba(var(--red-rgb), .09);
}

.screen-meta {
  color: var(--steel-500);
}

.screen-meta__brand {
  color: var(--cream);
  font-size: clamp(.5rem, .62vw, .58rem);
  letter-spacing: .14em;
}

.screen-meta__brand b {
  color: var(--red);
  font-weight: 500;
}

.screen-meta__spec {
  color: var(--steel-200);
  font-size: clamp(.42rem, .54vw, .5rem);
}

/* Painel físico ------------------------------------------------------------ */

.control-panel {
  border-color: rgba(var(--gold-rgb), .22);
  background:
    linear-gradient(140deg, rgba(255, 237, 205, .11), transparent 22%),
    linear-gradient(180deg, #2d1b11 0%, #1a0f09 19%, #0b0604 73%, #180d08 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 208, .19),
    inset 0 -3px 8px rgba(0, 0, 0, .8),
    inset 0 0 0 1px rgba(0, 0, 0, .55),
    0 10px 18px -16px #000;
}

.control-panel::after {
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .4), rgba(var(--red-rgb), .3), transparent);
}

.control-panel__identity {
  padding: .5rem .28rem .58rem;
  border: 1px solid rgba(var(--gold-rgb), .18);
  border-radius: .4rem;
  background: linear-gradient(180deg, rgba(255, 238, 205, .045), rgba(0, 0, 0, .16));
  box-shadow: inset 0 1px 0 rgba(255, 238, 205, .075), 0 1px 0 rgba(0, 0, 0, .5);
}

.control-panel__monogram {
  position: relative;
  display: grid;
  width: clamp(2.1rem, 3.4vw, 2.6rem);
  height: clamp(1.75rem, 2.8vw, 2.15rem);
  margin-bottom: .18rem;
  place-items: center;
  border: 1px solid rgba(var(--gold-rgb), .62);
  border-radius: .22rem;
  background: linear-gradient(180deg, #1a0e08, #070302);
  box-shadow: inset 0 1px 0 rgba(255, 239, 208, .16), inset 0 -3px 6px rgba(0, 0, 0, .7), 0 2px 4px rgba(0, 0, 0, .4);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: .03em;
  line-height: 1;
  text-indent: .02em;
}

.control-panel__monogram::after {
  content: "";
  position: absolute;
  top: .22rem;
  right: .22rem;
  width: .24rem;
  height: .24rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 .3rem rgba(var(--red-rgb), .5);
}

.control-panel__identity strong {
  color: var(--cream);
  font-size: clamp(.68rem, .98vw, .84rem);
}

.control-panel__identity span:not(.control-panel__monogram) {
  color: var(--steel-400);
  font-size: clamp(.3rem, .42vw, .37rem);
}

.power-led {
  background: var(--led-off);
  box-shadow: inset 0 0 2px #000, 0 1px 1px rgba(255, 235, 205, .1);
}

.tv-set[data-state="on"] .power-led {
  background: radial-gradient(circle at 42% 35%, #fff3d6, var(--led-on) 48%, #a30d05 100%);
  box-shadow: inset 0 0 1px #fff, 0 0 .42rem rgba(var(--red-rgb), .9), 0 0 1.1rem rgba(var(--red-rgb), .38);
}

.tv-set[data-state="booting"] .power-led {
  animation: brand-led-boot 420ms steps(2, end) 4;
}

.tv-set[data-state="powering-off"] .power-led {
  animation: brand-led-off 540ms ease-out both;
}

.power-button {
  border-color: #2b0503;
  background: radial-gradient(circle at 36% 28%, #ff6550 0%, var(--red) 32%, #b5170c 66%, #4b0703 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 236, 215, .4),
    inset 0 -5px 7px rgba(0, 0, 0, .58),
    0 2px 0 #240503,
    0 5px 9px rgba(0, 0, 0, .72);
  color: var(--cream);
}

.power-button::before {
  border-color: rgba(255, 236, 215, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 .2rem rgba(80, 6, 2, .28);
}

.power-button svg {
  filter: drop-shadow(0 1px 0 rgba(60, 4, 1, .7));
}

.tv-set[data-state="on"] .power-button {
  color: #fff8eb;
  box-shadow:
    inset 0 2px 1px rgba(255, 244, 226, .46),
    inset 0 -5px 7px rgba(0, 0, 0, .55),
    0 2px 0 #240503,
    0 5px 9px rgba(0, 0, 0, .72),
    0 0 1.15rem rgba(var(--red-rgb), .3);
}

.power-button:hover:not(:disabled) {
  color: #fffaf0;
}

.readout {
  border-color: rgba(var(--gold-rgb), .2);
  background:
    repeating-linear-gradient(to bottom, rgba(255, 236, 205, .045) 0 1px, transparent 1px 3px),
    #070302;
  box-shadow: inset 0 2px 4px #000, 0 1px 0 rgba(255, 238, 205, .07);
  color: var(--cream);
  text-shadow: 0 0 .45rem rgba(var(--gold-rgb), .42);
}

.tv-set[data-state="off"] .readout,
.tv-set[data-state="powering-off"] .readout {
  color: rgba(var(--gold-rgb), .24);
}

.control-caption,
.rocker__label {
  color: var(--steel-300);
}

.rocker-button {
  border-color: #260a05;
  background: linear-gradient(180deg, #392015 0%, #1b0f09 42%, #090403 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 205, .18), inset 0 -3px 4px rgba(0, 0, 0, .7), 0 1px 0 #000;
  color: var(--cream);
}

.rocker-button:hover:not(:disabled) {
  color: var(--gold-bright);
}

.rocker-button:active:not(:disabled) {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .92), 0 0 0 #000;
}

.sound-toggle {
  border-color: rgba(var(--gold-rgb), .24);
  background: linear-gradient(180deg, #2b1a10, #0b0604);
  box-shadow: inset 0 1px 0 rgba(255, 238, 205, .11), 0 2px 4px -1px #000;
  color: var(--steel-200);
}

.sound-toggle[aria-pressed="true"] {
  border-color: rgba(var(--red-rgb), .55);
  color: var(--warning);
  background: linear-gradient(180deg, #3b120b, #130503);
}

.control-panel__footer {
  color: var(--steel-500);
}

.control-panel__footer i {
  background: var(--red);
}

/* Alto-falantes e pés ----------------------------------------------------- */

.sound-deck {
  border-color: rgba(var(--gold-rgb), .18);
  border-top-color: rgba(var(--gold-rgb), .48);
  background:
    linear-gradient(180deg, rgba(255, 238, 205, .08), transparent 22%),
    linear-gradient(180deg, #2b1a10 0%, #140b07 42%, #080302 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 205, .14),
    inset 0 -2px 4px rgba(0, 0, 0, .9),
    0 1px 0 rgba(255, 238, 205, .05);
}

.sound-deck__logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: clamp(2.35rem, 4.1vw, 2.95rem);
  filter: drop-shadow(0 .2rem .4rem rgba(0, 0, 0, .55));
}

.sound-deck__brand strong {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(.72rem, 1.1vw, .9rem);
  font-weight: 400;
  letter-spacing: .08em;
}

.sound-deck__brand small {
  color: var(--gold);
}

.speaker-grille {
  border-color: rgba(var(--gold-rgb), .22);
  background-color: #070302;
  background-image:
    repeating-linear-gradient(to bottom, rgba(245, 223, 182, .27) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, rgba(0, 0, 0, .95), transparent 8%, transparent 92%, rgba(0, 0, 0, .95));
  box-shadow: inset 0 2px 7px #000, inset 0 0 0 1px rgba(var(--gold-rgb), .12), 0 1px 0 rgba(255, 238, 205, .06);
}

.sound-deck__badges span {
  border-color: rgba(var(--gold-rgb), .22);
  color: var(--steel-300);
}

.tv-feet::before,
.tv-feet::after {
  background: linear-gradient(180deg, #3b2315, #120904);
  box-shadow: inset 0 1px 0 rgba(var(--gold-rgb), .24), inset 0 -2px 3px rgba(0, 0, 0, .7);
}

.screw {
  border-color: rgba(var(--gold-rgb), .3);
  background: radial-gradient(circle at 38% 32%, #e4c38f, #8f6a3d 42%, #2b180d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 246, 225, .35), 0 1px 1px rgba(0, 0, 0, .75);
}

.screw::after {
  background: #2a160c;
}

/* --------------------------------------------------------------------------
   Tela: identificação, cartões e OSD
   -------------------------------------------------------------------------- */

.screen__off {
  background:
    linear-gradient(116deg, transparent 0 12%, rgba(255, 232, 198, .1) 14.5%, transparent 20%, transparent 71%, rgba(var(--red-rgb), .04) 76%, transparent 83%),
    radial-gradient(ellipse at 26% 17%, rgba(255, 220, 174, .1), transparent 42%),
    radial-gradient(ellipse at 72% 92%, rgba(var(--red-rgb), .05), transparent 48%),
    linear-gradient(158deg, #140c08 0%, #050302 46%, #0d0704 100%);
}

.screen__off::after {
  background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, .7) 100%);
}

.screen__picture {
  background: #020100;
}

.screen__glass {
  background:
    linear-gradient(118deg, rgba(255, 244, 224, .08) 0%, rgba(255, 244, 224, .018) 13%, transparent 25%, transparent 73%, rgba(255, 226, 184, .035) 100%),
    radial-gradient(ellipse at 20% 0%, rgba(255, 241, 216, .09), transparent 33%);
  box-shadow: inset 0 0 1.4rem rgba(255, 238, 205, .03), inset 0 0 4rem rgba(0, 0, 0, .32);
}

.broadcast {
  background: #080403;
  color: var(--cream);
}

.broadcast--ident {
  background:
    radial-gradient(circle at 50% 48%, rgba(143, 16, 9, .45) 0%, rgba(57, 16, 8, .58) 35%, transparent 70%),
    radial-gradient(ellipse at 50% 20%, rgba(var(--gold-rgb), .1), transparent 56%),
    linear-gradient(180deg, #1b0d08 0%, #090403 100%);
}

.broadcast--ident::before {
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(var(--gold-rgb), .14) 50%, transparent 50.15%),
    linear-gradient(180deg, transparent 49.85%, rgba(var(--red-rgb), .08) 50%, transparent 50.15%);
}

.broadcast--ident::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: .5cqw;
  background: linear-gradient(90deg, var(--red), var(--gold) 48%, var(--red));
  opacity: .8;
}

.ident__rings {
  border-color: rgba(var(--gold-rgb), .4);
  box-shadow:
    0 0 0 3.4cqw rgba(var(--gold-rgb), .025),
    0 0 0 8.4cqw rgba(var(--red-rgb), .018),
    0 0 0 14.4cqw rgba(var(--gold-rgb), .012);
}

.ident__rings::before {
  border-color: rgba(255, 241, 216, .1);
  border-right-color: rgba(var(--gold-rgb), .52);
  border-bottom-color: transparent;
}

.ident__rings::after {
  border-color: rgba(var(--red-rgb), .3);
}

.ident__top,
.ident__bottom {
  color: rgba(255, 241, 216, .56);
}

.ident__top {
  border-bottom-color: rgba(var(--gold-rgb), .24);
}

.ident__bottom {
  border-top-color: rgba(var(--gold-rgb), .24);
}

.ident__center {
  gap: .8cqw;
}

.ident__logo {
  display: block;
  width: 40cqw;
  height: auto;
  margin-bottom: 1.2cqw;
  filter: drop-shadow(0 1.2cqw 2.4cqw rgba(0, 0, 0, .58)) drop-shadow(0 0 2.2cqw rgba(var(--gold-rgb), .16));
}

.ident__kicker {
  color: var(--cream);
  font-size: 1.5cqw;
  letter-spacing: .46em;
  text-indent: .46em;
}

.ident__sub {
  color: var(--gold);
  font-size: 1.12cqw;
  letter-spacing: .2em;
}

.brand-chip {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.5cqw;
  height: 2.5cqw;
  place-items: center;
  border: 1px solid rgba(var(--gold-rgb), .7);
  border-radius: .18cqw;
  background: linear-gradient(180deg, #1b0d08, #070302);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.25cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: inset 0 .12cqw 0 rgba(255, 240, 210, .15), 0 .2cqw .5cqw rgba(0, 0, 0, .4);
}

.ident__logo + .ident__kicker {
  margin-top: .2cqw;
}

/* Cartão de barras ------------------------------------------------------- */

.broadcast--bars {
  background: #0f0b08;
}

.bars__plate {
  border-color: rgba(var(--gold-rgb), .75);
  background: rgba(8, 4, 2, .93);
  box-shadow: 0 .9cqw 2.6cqw rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 239, 210, .045);
}

.bars__brand {
  color: var(--gold-bright);
}

.bars__plate strong {
  color: var(--cream);
}

.bars__sub {
  color: var(--gold);
}

.bars__lower {
  border-top-color: rgba(var(--gold-rgb), .28);
  background: linear-gradient(180deg, #18100b 0%, #080403 100%);
}

.bars__lower-top,
.bars__lower-bottom {
  color: rgba(255, 241, 216, .58);
}

.bars__lower-top span:first-child {
  color: var(--gold-bright);
}

.bars__lower-bottom span:nth-child(3) {
  color: var(--gold);
}

/* Cena original de demonstração ----------------------------------------- */

.broadcast--pixel {
  background:
    radial-gradient(ellipse at 50% 70%, rgba(var(--red-rgb), .34), transparent 50%),
    radial-gradient(ellipse at 50% 24%, rgba(var(--gold-rgb), .1), transparent 54%),
    linear-gradient(180deg, #070302 0%, #1d0a07 47%, #3a120c 73%, #090302 100%);
}

.pixel__stars--a {
  background-image:
    radial-gradient(circle, rgba(255, 241, 216, .88) 0 .1cqw, transparent .16cqw),
    radial-gradient(circle, rgba(var(--gold-rgb), .78) 0 .1cqw, transparent .17cqw);
  opacity: .62;
}

.pixel__stars--b {
  background-image: radial-gradient(circle, rgba(255, 176, 137, .72) 0 .08cqw, transparent .15cqw);
  opacity: .38;
}

.pixel__sun {
  background: linear-gradient(180deg, #fff1cf 0%, #f3ca82 37%, #e28a45 65%, var(--red) 100%);
  box-shadow: 0 0 7cqw rgba(var(--red-rgb), .38);
}

.pixel__mountains--far {
  background: #2c1812;
}

.pixel__mountains--near {
  background: #120a07;
}

.pixel__grid {
  background-image:
    linear-gradient(rgba(var(--red-rgb), .34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--red-rgb), .34) 1px, transparent 1px);
}

.pixel__top,
.pixel__footer {
  color: rgba(255, 241, 216, .58);
}

.pixel__top {
  border-bottom-color: rgba(var(--gold-rgb), .25);
}

.pixel__footer {
  border-top-color: rgba(var(--gold-rgb), .25);
}

.pixel__top span:first-child,
.pixel__footer span:first-child {
  color: var(--gold-bright);
}

.pixel__title > span {
  color: var(--gold);
}

.pixel__title strong {
  color: var(--cream);
  text-shadow: .45cqw .42cqw 0 var(--red-deep), -.22cqw -.2cqw 0 var(--gold-deep);
}

.pixel__title small {
  color: rgba(255, 241, 216, .58);
}

.pixel__ship {
  filter: drop-shadow(0 0 1.2cqw rgba(245, 223, 182, .3));
}

/* OSD --------------------------------------------------------------------- */

.osd {
  border-color: rgba(var(--gold-rgb), .32);
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(10, 5, 3, .95), rgba(12, 6, 3, .68));
  box-shadow: 0 .55cqw 1.4cqw rgba(0, 0, 0, .56), inset 0 0 0 1px rgba(255, 240, 210, .045);
}

.osd__number {
  color: var(--cream);
  text-shadow: 0 0 1.1cqw rgba(var(--gold-rgb), .4);
}

.osd__tag {
  color: rgba(255, 241, 216, .62);
}

.osd__title {
  color: var(--cream);
}

.osd--volume .osd__tag {
  color: var(--gold-bright);
}

.volume-meter span.is-on {
  background: var(--gold-bright);
}

.volume-value {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Painel de ajustes
   -------------------------------------------------------------------------- */

.settings-panel {
  border-color: rgba(var(--gold-rgb), .26);
  border-top: 2px solid rgba(var(--red-rgb), .78);
  background:
    linear-gradient(148deg, rgba(255, 238, 205, .09), transparent 13%),
    linear-gradient(180deg, #21140d 0%, #110a06 28%, #070302 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 205, .13),
    inset 0 -2px 8px rgba(0, 0, 0, .8),
    0 1.2rem 2.5rem -1.8rem rgba(0, 0, 0, .95);
}

.settings-panel__head {
  border-bottom-color: rgba(var(--gold-rgb), .22);
}

.settings-panel__kicker {
  color: var(--gold);
}

.settings-panel h2 {
  color: var(--cream);
}

.settings-close {
  border-color: rgba(var(--gold-rgb), .3);
  background: linear-gradient(180deg, #352116, #0c0704);
  color: var(--cream);
}

.settings-close:hover {
  border-color: rgba(var(--red-rgb), .65);
  color: var(--gold-bright);
}

.settings-group {
  border-color: rgba(var(--gold-rgb), .14);
  background: rgba(8, 4, 2, .4);
  box-shadow: inset 0 1px 0 rgba(255, 238, 205, .045), inset 0 0 2.5rem rgba(0, 0, 0, .2);
}

.settings-group legend {
  color: var(--steel-300);
}

.switch-row--master {
  border-color: rgba(var(--gold-rgb), .25);
  background: linear-gradient(90deg, rgba(var(--gold-rgb), .08), transparent 80%);
}

.switch-copy strong,
.range-row__head strong {
  color: var(--cream);
}

.switch-copy small {
  color: var(--steel-400);
}

.switch {
  border-color: #250a05;
  background: #080302;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 238, 205, .08);
}

.switch::before {
  border-color: #1c0704;
  background: linear-gradient(180deg, #e0c49a, #9b764d 45%, #3e2a1b);
  box-shadow: inset 0 1px 0 rgba(255, 246, 225, .35), 0 1px 2px rgba(0, 0, 0, .7);
}

.switch-row input:checked + .switch {
  border-color: rgba(var(--red-rgb), .6);
  background: #2a0804;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .85), 0 0 .55rem rgba(var(--red-rgb), .18);
}

.switch-row input:checked + .switch::before {
  background: linear-gradient(180deg, #fff1d0, var(--gold) 54%, #916435);
  box-shadow: inset 0 1px 0 rgba(255, 249, 235, .55), 0 0 .5rem rgba(var(--red-rgb), .42);
}

.range-row output {
  color: var(--gold-bright);
}

input[type="range"]::-webkit-slider-runnable-track {
  border-color: #160703;
  background: linear-gradient(90deg, var(--gold) 0 var(--range-progress, 50%), #080302 var(--range-progress, 50%) 100%);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 238, 205, .07);
}

input[type="range"]::-moz-range-track {
  border-color: #160703;
  background: #080302;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .95);
}

input[type="range"]::-moz-range-progress {
  background: var(--gold);
}

input[type="range"]::-webkit-slider-thumb {
  border-color: #2b0a04;
  background: linear-gradient(180deg, #ffe9c9, #d5ae72 48%, #916435);
  box-shadow: inset 0 1px 0 rgba(255, 249, 235, .6), 0 2px 4px rgba(0, 0, 0, .7);
}

input[type="range"]::-moz-range-thumb {
  border-color: #2b0a04;
  background: linear-gradient(180deg, #ffe9c9, #d5ae72 48%, #916435);
  box-shadow: inset 0 1px 0 rgba(255, 249, 235, .6), 0 2px 4px rgba(0, 0, 0, .7);
}

.settings-panel__foot {
  border-top-color: rgba(var(--gold-rgb), .2);
}

.settings-panel__foot p {
  color: var(--steel-400);
}

.settings-reset {
  border-color: rgba(var(--gold-rgb), .3);
  background: linear-gradient(180deg, #2b1a10, #0b0604);
  color: var(--steel-200);
}

.settings-reset:hover {
  border-color: rgba(var(--red-rgb), .6);
  color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   Ajustes responsivos da marca
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .sound-deck__logo {
    height: clamp(2.1rem, 3.6vw, 2.55rem);
  }
}

@media (max-width: 860px) {
  .brand__logo {
    height: clamp(3rem, 6.5vw, 3.7rem);
  }

  .ident__logo {
    width: 48cqw;
  }
}

@media (max-width: 620px) {
  .site-header::after {
    bottom: -.45rem;
  }

  .brand {
    gap: .5rem;
  }

  .brand__logo {
    height: clamp(2.8rem, 8vw, 3.35rem);
  }

  .brand__lockup {
    display: none;
  }

  .brand__badge {
    margin-left: 0;
  }

  .stage-wall-copy {
    display: none;
  }

  .sound-deck__logo {
    height: clamp(1.9rem, 5.4vw, 2.25rem);
  }

  .sound-deck__brand {
    gap: .42rem;
  }
}

@media (max-width: 620px) {
  .ident__kicker {
    font-size: .55rem;
    letter-spacing: .22em;
    text-indent: .22em;
  }

  .ident__sub {
    font-size: .46rem;
    letter-spacing: .1em;
  }
}

@media (max-width: 560px) {
  .control-panel__footer {
    display: flex;
    grid-area: 1 / 2;
    justify-self: center;
    align-self: center;
    gap: .3rem;
    color: var(--steel-300);
    font-size: .38rem;
  }
}

@media (max-width: 430px) {
  .brand__logo {
    height: 2.8rem;
  }

  .stage-kicker {
    color: var(--steel-300);
  }

  .sound-deck__logo {
    height: 1.9rem;
  }

  .ident__logo {
    width: 58cqw;
  }

  .ident__kicker {
    font-size: .56rem;
    letter-spacing: .22em;
    text-indent: .22em;
  }
}

@media (max-width: 350px) {
  .ident__logo {
    width: 58cqw;
  }
}

@media (max-width: 300px) {
  .brand__logo {
    height: 2.45rem;
  }

  .sound-deck__logo {
    height: 1.65rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .brand__logo {
    height: 2.55rem;
  }

  .brand__lockup {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Animações do LED vermelho
   -------------------------------------------------------------------------- */

@keyframes brand-led-boot {
  0%, 100% { opacity: .24; box-shadow: none; }
  50% { opacity: 1; background: radial-gradient(circle at 42% 35%, #fff3d6, var(--led-on) 48%, #a30d05 100%); box-shadow: 0 0 .5rem rgba(var(--red-rgb), .8); }
}

@keyframes brand-led-off {
  0% { opacity: 1; background: var(--led-on); box-shadow: 0 0 .55rem rgba(var(--red-rgb), .75); }
  30% { opacity: .65; }
  100% { opacity: 1; background: var(--led-off); box-shadow: inset 0 0 2px #000; }
}