/* RÁDIO SÓ FLASHBACK | REFORMA MOBILE 06/11/2026
   Arquivo carregado DEPOIS dos estilos anteriores. Tudo neste arquivo
   está limitado ao viewport mobile para preservar a versão desktop. */

/* Estes atalhos só aparecem no sanduíche dos aparelhos móveis. */
.sf-mobile-menu-entry { display: none !important; }

@media (max-width: 890px) {
  .site-shell {
    --sf-mobile-disc: min(82vw, 41.5dvh, 385px);
    --sf-mobile-top: clamp(96px, 11.8dvh, 127px);
  }

  /* Header: apenas a marca e o menu sanduíche. */
  .site-header {
    top: 0;
    height: 95px;
    padding: 0 12px !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
  .site-header .brand {
    position: absolute;
    top: 8px;
    left: 12px;
    right: 57px;
    min-width: 0;
    display: flex;
    justify-content: center;
    text-align: center;
    filter: drop-shadow(0 0 13px rgba(22, 169, 255, .38));
  }
  .site-header .brand-bars { display: none !important; }
  .site-header .brand-words { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .site-header .brand-radio {
    font: italic 500 clamp(19px, 5.6vw, 27px)/1.08 Georgia, serif !important;
    color: #e8f9ff;
    letter-spacing: .3px;
    text-shadow: 0 0 8px #2fb5ff, 0 0 18px #1475eb;
  }
  .site-header .brand-name {
    display: block;
    width: 100%;
    font: 800 clamp(26px, 8.4vw, 44px)/1.02 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif !important;
    letter-spacing: -.45px !important;
    text-transform: uppercase;
    white-space: nowrap;
    filter: drop-shadow(0 0 6px rgba(135, 51, 255, .3));
  }
  .site-header .brand-name span {
    color: #3fe5ff;
    text-shadow: 0 0 7px #007fff, 0 0 17px #006aff;
  }
  .site-header .brand-name em {
    font-style: normal;
    background: linear-gradient(100deg, #ff8eea, #ff37ca 48%, #b155ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 5px rgba(255, 55, 207, .56));
  }
  .site-header .brand-tag { display: none !important; }
  .site-header .navigation { position: absolute; top: 22px; right: 14px; gap: 0; }
  .site-header .navigation > .nav-link { display: none !important; }
  .site-header .menu-wrap { margin: 0 !important; }
  .site-header .hamburger { width: 40px !important; gap: 6px !important; padding: 6px !important; }
  .site-header .hamburger span { width: 30px !important; height: 3px !important; }
  .site-header .menu-panel {
    right: -5px !important;
    top: 48px !important;
    width: min(285px, calc(100vw - 25px)) !important;
    max-height: calc(100dvh - 87px);
    overflow-y: auto;
  }
  .site-header .sf-mobile-menu-entry { display: flex !important; }
  .site-header .sf-mobile-menu-entry:nth-child(4) {
    border-bottom: 1px solid rgba(64, 204, 255, .55);
  }

  /* A ficha é preservada no PC, mas extinta da tela no mobile. */
  .site-shell > #sfInfoBox { display: none !important; }

  /* Disco ampliado sem esticar a capa ou perder o halo e os polegares. */
  .site-shell .song-center { top: var(--sf-mobile-top) !important; }
  .site-shell .song-center #albumOrbit {
    width: var(--sf-mobile-disc) !important;
    max-width: calc(100vw - 32px);
  }
  .site-shell .song-center .album-frame { width: 100% !important; height: 100% !important; }
  .site-shell .song-center #trackHeading {
    margin-top: 38px !important;
    max-width: calc(100vw - 24px) !important;
    width: calc(100vw - 24px) !important;
  }
  .site-shell .spectrum-wrap {
    top: calc(var(--sf-mobile-top) + var(--sf-mobile-disc) + 110px) !important;
    bottom: auto !important;
    height: clamp(52px, 9dvh, 78px) !important;
  }

  /* A letra é o único painel informativo que fica na home mobile. */
  .site-shell > #sfLyricsOpen {
    bottom: clamp(151px, 19.5dvh, 178px) !important;
    height: 48px !important;
  }

  /* Pop-up de voto sobre o VINIL, não sobre os controles do rodapé. */
  #sfMobileVoteToast {
    --sf-vote-accent: #34cbff;
    position: absolute;
    z-index: 12;
    top: 48%;
    left: 50%;
    width: 79%;
    padding: 36px 10px 28px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    border: 2px solid var(--sf-vote-accent);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(3, 21, 52, .95), rgba(5, 10, 28, .94));
    box-shadow: 0 0 14px #13afff, 0 0 35px #0076fc99, inset 0 0 26px #046aff55;
    pointer-events: none;
    animation: sf-mobile-vote-feedback 2s ease-out both;
  }
  #sfMobileVoteToast[data-vote="down"] { --sf-vote-accent: #ff589b; box-shadow: 0 0 14px #fa3a91, 0 0 35px #ff317766; }
  #sfMobileVoteToast .sf-mobile-vote-icon {
    position: absolute;
    top: -31px;
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    font-size: 33px;
    background: #071c45;
    border-radius: 50%;
    border: 2px solid var(--sf-vote-accent);
    box-shadow: 0 0 18px var(--sf-vote-accent);
  }
  #sfMobileVoteToast .sf-mobile-vote-message {
    color: #f5fcff;
    font: 800 clamp(16px, 4.8vw, 25px)/1.2 'Barlow Condensed', Inter, sans-serif;
    text-shadow: 0 0 8px #158cff;
    text-wrap: balance;
  }
  #sfMobileVoteToast .sf-mobile-vote-check {
    position: absolute;
    bottom: -17px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #23f2a4;
    border-radius: 50%;
    background: #0b2a31;
    color: #42ffc0;
    font: 800 23px/1 Inter, sans-serif;
    box-shadow: 0 0 15px #18ef9caa;
  }
}

/* Celulares mais baixos precisam preservar espaço para play e volume. */
@media (max-width: 690px) and (max-height: 730px) {
  .site-shell {
    --sf-mobile-disc: min(76vw, 35dvh, 315px);
    --sf-mobile-top: 91px;
  }
  .site-shell .song-center #trackHeading { margin-top: 29px !important; }
  .site-shell .spectrum-wrap {
    top: calc(var(--sf-mobile-top) + var(--sf-mobile-disc) + 106px) !important;
    height: 48px !important;
  }
  .site-shell > #sfLyricsOpen {
    bottom: 150px !important;
    height: 45px !important;
  }
}

@media (max-width: 355px) {
  .site-header .brand-name { font-size: clamp(25px, 8vw, 32px) !important; }
  .site-header .navigation { right: 9px; }
  .site-shell .song-center #trackHeading { margin-top: 31px !important; }
}

@media (min-width: 691px) and (max-width: 890px) {
  .site-shell > #sfLyricsOpen { bottom: clamp(190px, 20dvh, 242px) !important; }
}

@media (max-width: 890px) {
  @keyframes sf-mobile-vote-feedback {
    0% { opacity: 0; transform: translate(-50%, -43%) scale(.95); }
    12%, 75% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -54%) scale(1.025); }
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 890px) {
  #sfMobileVoteToast { animation: none !important; }
}
