.button{
    border:0;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 25px;
    border-radius:100px;
    font-size:13px;
    font-weight:800;
    transition:var(--transition)
}

.button-primary{
    background:var(--color-accent);
    color:#050505
}

.button-primary:hover{
    background:var(--color-accent-secondary);
    transform:translateY(-2px)
}

.button-outline{
    border:1px solid rgba(255,255,255,.2);
    background:transparent;
    color:#fff
}

.button-outline:hover{
    border-color:#fff
}


/* =========================================================
   RADIO PLAYER
   ========================================================= */

.radio-player{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:2000;
    height:var(--player-height);
    border-top:1px solid rgba(255,255,255,.1);
    background:rgba(8,8,8,.96);
    backdrop-filter:blur(20px)
}

.player-container{
    width:min(calc(100% - 40px),var(--container));
    height:100%;
    margin-inline:auto;
    display:flex;
    align-items:center;
    gap:25px
}


/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.player-info{
    min-width:0;
    flex:1;
    display:flex;
    align-items:center;
    gap:14px
}

.player-cover{
    width:52px;
    height:52px;
    flex:0 0 52px;
    overflow:hidden;
    border-radius:7px;
    background:var(--color-surface)
}

.player-cover img{
    width:100%;
    height:100%;
    object-fit:cover
}

.player-track{
    min-width:0
}

.player-status{
    display:block;
    margin-bottom:4px;
    color:var(--color-accent);
    font-size:9px;
    font-weight:800;
    letter-spacing:.12em
}

.player-track strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px
}

.player-track>span:last-child{
    display:block;
    margin-top:2px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--color-text-secondary);
    font-size:11px
}


/* =========================================================
   VISUALIZER
   ========================================================= */

.player-visualizer-wrap{
    position:relative;
    width:min(42vw,520px);
    height:54px;
    flex:0 1 520px;
    overflow:hidden;
    pointer-events:none
}

#player-visualizer{
    display:block;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0
}


/* =========================================================
   CONTROLES
   ========================================================= */

.player-controls{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px
}

.player-visualizer-style{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
    background:rgba(255,255,255,.04);
    color:var(--color-text-secondary);
    cursor:pointer;
    font-size:13px;
    transition:var(--transition)
}

.player-visualizer-style:hover{
    border-color:rgba(245,166,35,.55);
    background:rgba(245,166,35,.09);
    color:var(--color-accent);
    transform:translateY(-1px)
}

.player-visualizer-style:active{
    transform:scale(.96)
}

.player-visualizer-style:focus-visible{
    outline:2px solid var(--color-accent);
    outline-offset:3px
}

.radio-player .player-action{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
    background:rgba(255,255,255,.04);
    color:var(--color-text-secondary);
    cursor:pointer;
    font-size:13px;
    line-height:1;
    text-decoration:none;
    transition:var(--transition)
}

.radio-player .player-action i{
    display:block;
    line-height:1;
}

.player-action:hover{
    border-color:rgba(245,166,35,.55);
    background:rgba(245,166,35,.09);
    color:var(--color-accent);
    transform:translateY(-1px)
}

.player-action:active{
    transform:scale(.96)
}

.player-action:focus-visible{
    outline:2px solid var(--color-accent);
    outline-offset:3px
}

.player-action.is-favorite{
    border-color:rgba(245,166,35,.36);
    background:rgba(245,166,35,.09);
    color:var(--color-accent)
}


.player-action.is-unavailable{
    opacity:.52;
}

.player-action:disabled{
    opacity:.34;
    cursor:default;
    transform:none
}

.player-action:disabled:hover{
    border-color:rgba(255,255,255,.14);
    background:rgba(255,255,255,.04);
    color:var(--color-text-secondary);
    transform:none
}

.radio-toast{
    position:fixed;
    left:50%;
    bottom:calc(var(--player-height) + 22px);
    z-index:2600;
    max-width:min(420px,calc(100% - 32px));
    padding:11px 15px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:999px;
    background:rgba(12,12,12,.96);
    box-shadow:0 12px 36px rgba(0,0,0,.34);
    color:#fff;
    font-size:12px;
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,10px);
    transition:opacity .22s ease,transform .22s ease
}

.radio-toast.is-visible{
    opacity:1;
    transform:translate(-50%,0)
}


 .player-visualizer-style{
    color:var(--color-accent)
}


.player-visualizer-style:disabled{
    opacity:.42;
    cursor:default;
    transform:none
}

.player-play{
    width:52px;
    height:52px;
    border:0;
    border-radius:50%;
    background:var(--color-accent);
    color:#050505;
    cursor:pointer;
    font-size:15px;
    transition:var(--transition)
}

.player-play:hover{
    background:var(--color-accent-secondary);
    transform:scale(1.05)
}

.player-play:active{
    transform:scale(.97)
}

.player-play:focus-visible{
    outline:2px solid var(--color-accent);
    outline-offset:3px
}

.player-play{
    position:relative;
    isolation:isolate
}

.player-play::before{
    content:"";
    position:absolute;
    inset:-7px;
    border-radius:50%;
    border:2px solid transparent;
    pointer-events:none;
    opacity:0;
    transform:rotate(0deg)
}

.radio-player.buffering .player-play::before{
    opacity:1;
    border-color:rgba(245,166,35,.22);
    border-top-color:var(--color-accent);
    border-right-color:var(--color-accent);
    animation:playerConnectionSpin .95s linear infinite
}

.radio-player.reconnecting .player-play::before{
    animation-duration:.7s
}

.radio-player.buffering .player-play{
    box-shadow:0 0 0 5px rgba(245,166,35,.08),0 0 24px rgba(245,166,35,.18)
}

@keyframes playerConnectionSpin{
    to{transform:rotate(360deg)}
}

.player-play .pause-icon{
    display:none
}

.radio-player.playing .player-play .play-icon{
    display:none
}

.radio-player.playing .player-play .pause-icon{
    display:inline
}


/* =========================================================
   VOLUME
   ========================================================= */

.player-volume{
    display:flex;
    align-items:center;
    gap:8px
}

.player-volume-button{
    width:34px;
    height:34px;
    padding:0;
    border:0;
    background:transparent;
    color:#fff;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    transition:var(--transition)
}

.player-volume-button:hover{
    background:rgba(255,255,255,.08)
}

.player-volume-button:focus-visible{
    outline:2px solid var(--color-accent);
    outline-offset:2px
}

.volume-icon{
    display:block;
    font-size:15px;
    line-height:1
}

.player-volume-range{
    width:80px;
    height:4px;
    padding:0;
    margin:0;
    appearance:none;
    -webkit-appearance:none;
    background:rgba(255,255,255,.18);
    border-radius:100px;
    cursor:pointer
}

.player-volume-range::-webkit-slider-runnable-track{
    height:4px;
    background:rgba(255,255,255,.18);
    border-radius:100px
}

.player-volume-range::-webkit-slider-thumb{
    width:12px;
    height:12px;
    margin-top:-4px;
    appearance:none;
    -webkit-appearance:none;
    border:0;
    border-radius:50%;
    background:var(--color-accent);
    cursor:pointer
}

.player-volume-range::-moz-range-track{
    height:4px;
    background:rgba(255,255,255,.18);
    border-radius:100px
}

.player-volume-range::-moz-range-progress{
    height:4px;
    background:var(--color-accent);
    border-radius:100px
}

.player-volume-range::-moz-range-thumb{
    width:12px;
    height:12px;
    border:0;
    border-radius:50%;
    background:var(--color-accent);
    cursor:pointer
}


/* =========================================================
   LIVE
   ========================================================= */

.player-live{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    white-space:nowrap
}

.live-dot{
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:var(--color-accent);
    box-shadow:0 0 0 5px rgba(245,166,35,.1);
    animation:livePulse 1.5s infinite
}

@keyframes livePulse{
    0%{
        opacity:1
    }

    50%{
        opacity:.4
    }

    100%{
        opacity:1
    }
}

.player-live.is-connecting .live-dot{
    animation:liveConnecting .8s infinite
}

.player-live.is-reconnecting .live-dot{
    animation:liveConnecting .5s infinite
}

.player-live.is-error .live-dot{
    animation:none;
    opacity:.45
}

@keyframes liveConnecting{
    0%{
        opacity:.3;
        transform:scale(.8)
    }

    50%{
        opacity:1;
        transform:scale(1.15)
    }

    100%{
        opacity:.3;
        transform:scale(.8)
    }
}


/* =========================================================
   PLAYER — ESTADOS
   ========================================================= */

.radio-player.buffering .player-play{
    opacity:.8
}

.radio-player.reconnecting .player-play{
    opacity:.65
}

.radio-player.playing
.player-visualizer-wrap{
    opacity:1
}

.player-visualizer-wrap{
    opacity:.9;
    transition:opacity .3s ease
}


/* =========================================================
   PROGRAMAÇÃO — DIAS
   ========================================================= */

.schedule-days{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:10px;
    margin-bottom:45px
}

.schedule-day{
    min-width:0;
    min-height:68px;
    padding:12px 10px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:12px;
    background:var(--color-surface);
    color:var(--color-text-secondary);
    cursor:pointer;
    text-align:center;
    transition:var(--transition)
}

.schedule-day:hover{
    border-color:rgba(245,166,35,.5);
    color:#fff;
    transform:translateY(-2px)
}

.schedule-day span{
    display:block;
    margin-bottom:4px;
    font-size:9px;
    font-weight:800;
    letter-spacing:.12em
}

.schedule-day strong{
    display:block;
    font-size:11px;
    font-weight:800;
    color:inherit
}

.schedule-day.active{
    border-color:var(--color-accent);
    background:var(--color-accent);
    color:#050505;
    box-shadow:0 8px 25px rgba(245,166,35,.14)
}

.schedule-day.active strong{
    color:#050505
}

.schedule-day-panel[hidden]{
    display:none
}

.schedule-day-heading{
    margin-bottom:22px
}

.schedule-day-heading .eyebrow{
    display:block;
    margin-bottom:6px
}

.schedule-day-heading h2{
    margin:0;
    font-size:24px
}

.schedule-item-days{
    display:block;
    margin-bottom:6px;
    color:var(--color-accent);
    font-size:9px;
    font-weight:800;
    letter-spacing:.12em
}

.schedule-item{
    display:grid;
    grid-template-columns:minmax(180px,240px) 1fr;
    gap:25px;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:inherit
}

.schedule-item:first-child{
    border-top:1px solid rgba(255,255,255,.08)
}

.schedule-item:hover h3{
    color:var(--color-accent)
}

.schedule-time{
    display:flex;
    align-items:center;
    gap:15px
}

.schedule-image{
    width:72px;
    height:72px;
    flex:0 0 72px;
    overflow:hidden;
    border-radius:8px;
    background:var(--color-surface)
}

.schedule-image img{
    width:100%;
    height:100%;
    object-fit:cover
}

.schedule-hours{
    font-size:13px;
    font-weight:800;
    white-space:nowrap
}

.schedule-item h3{
    margin:0 0 6px;
    font-size:18px;
    transition:var(--transition)
}

.schedule-item p{
    margin:0;
    color:var(--color-text-secondary);
    font-size:12px;
    line-height:1.6
}


/* =========================================================
   RESPONSIVO — PLAYER
   ========================================================= */

@media (max-width:900px){

    .player-container{
        gap:16px
    }

    .player-visualizer-wrap{
        width:32vw;
        flex-basis:32vw
    }

    .player-volume-range{
        width:65px
    }

    .player-live{
        display:none
    }

}


@media (max-width:700px){

    .radio-player{
        height:74px
    }

    .player-container{
        width:calc(100% - 24px);
        gap:12px
    }

    .player-info{
        gap:10px
    }

    .player-cover{
        width:44px;
        height:44px;
        flex-basis:44px
    }

    .player-track strong{
        font-size:12px
    }

    .player-track>span:last-child{
        font-size:10px
    }

    .player-status{
        font-size:8px
    }

    .player-visualizer-wrap{
        display:none
    }

    .player-visualizer-style{
        display:grid
    }

    .player-play{
        width:46px;
        height:46px
    }

    .player-volume-range{
        display:none
    }

}


@media (max-width:520px){

    .player-container{
        gap:10px
    }

    .player-cover{
        width:40px;
        height:40px;
        flex-basis:40px
    }

    .player-track strong{
        font-size:11px
    }

    .player-track>span:last-child{
        font-size:9px
    }

    .player-controls{
        gap:6px
    }

    .player-volume-button{
        width:30px;
        height:30px
    }

    .player-play{
        width:44px;
        height:44px;
        font-size:13px
    }

}


/* =========================================================
   RESPONSIVO — PROGRAMAÇÃO
   ========================================================= */

@media (max-width:800px){

    .schedule-days{
        grid-template-columns:repeat(4,1fr)
    }

    .schedule-item{
        grid-template-columns:1fr;
        gap:15px
    }

}


@media (max-width:560px){

    .schedule-days{
        grid-template-columns:repeat(2,1fr)
    }

    .schedule-day{
        min-height:60px
    }

    .schedule-item{
        padding:16px 0
    }

    .schedule-image{
        width:60px;
        height:60px;
        flex-basis:60px
    }

    .schedule-item h3{
        font-size:16px
    }

}
/* =========================================================
   PLAYER / HOME — TRANSIÇÕES, LINK DO PROGRAMA E MARQUEE
   ========================================================= */

.player-program-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.player-program-link:hover #player-title,
.home-now-playing-link:hover #home-now-playing-name {
    color: var(--color-accent);
}

.player-program-link.is-disabled,
.home-now-playing-link.is-disabled {
    pointer-events: none;
}

#player-title,
#player-artist,
#player-cover,
#home-now-playing-name {
    transition: opacity .18s ease, color .25s ease;
}

#player-title.is-fading,
#player-artist.is-fading,
#player-cover.is-fading,
#home-now-playing-name.is-fading.is-fading {
    opacity: 0;
}

.player-song-marquee {
    display: block;
    position: relative;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.player-song-marquee > span {
    display: inline-block;
    white-space: nowrap;
}

.player-song-marquee.is-marquee > span {
    animation: playerSongMarquee var(--marquee-duration) ease-in-out infinite alternate;
}

@keyframes playerSongMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(var(--marquee-distance)); }
}

.home-now-playing-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    #player-title,
    #player-artist,
    #player-cover,
    #home-now-playing-name {
        transition: none;
    }

    .player-song-marquee.is-marquee > span {
        animation: none;
    }
}


/* =========================================================
   PARCEIROS
   ========================================================= */
.partners-intro {
    max-width: 720px;
    margin-bottom: 45px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.partner-card {
    min-height: 230px;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
}

.partner-card-label {
    display: block;
    margin-bottom: 18px;
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.partner-card h3 {
    margin: 0 0 10px;
}

.partner-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CROSSFADE REAL — IMAGENS E TEXTOS
   ========================================================= */
.crossfade-media {
    position: relative;
}

.crossfade-media-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.crossfade-media-layer.is-visible {
    opacity: 1;
}

.crossfade-text {
    position: relative;
}

.crossfade-text-layer {
    transition: opacity 1s ease, color .4s ease;
}

.crossfade-text-layer:not(.is-visible) {
    opacity: 0;
}

.crossfade-text-layer.is-visible {
    opacity: 1;
}

.crossfade-text > .crossfade-text-layer + .crossfade-text-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.player-song-marquee.crossfade-text {
    height: 1.2em;
}

.player-song-marquee.crossfade-text > .crossfade-text-layer {
    overflow: visible;
}

.player-program-link:hover .crossfade-text-layer,
.home-now-playing-link:hover .crossfade-text-layer {
    color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
    .crossfade-media-layer,
    .crossfade-text-layer {
        transition: none;
    }
}

/* =========================================================
   CONTATO — FEEDBACK / ANTI-SPAM
   ========================================================= */
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-feedback {
    min-height: 22px;
    margin: 4px 0 14px;
    font-size: 13px;
    line-height: 1.45;
}

.contact-form-feedback.is-success { color: var(--color-accent); }
.contact-form-feedback.is-error { color: #ff6b6b; }
.contact-form button[disabled] { cursor: wait; opacity: .72; }


.radio-player .is-admin-hidden {
    display: none !important;
}

.player-listeners {
    margin-left: 5px;
    color: var(--color-text-secondary);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.player-listeners.is-hidden {
    display: none;
}


/* ==========================================================================
   PWA — CONVITE DE INSTALAÇÃO
   ========================================================================== */

.pwa-install-prompt {
    position: fixed;
    right: 22px;
    bottom: calc(var(--player-height) + 22px);
    z-index: 2500;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: min(470px, calc(100% - 44px));
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(12,12,12,.96);
    box-shadow: 0 22px 65px rgba(0,0,0,.38);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease;
}

.pwa-install-prompt[hidden] {
    display: none;
}

.pwa-install-prompt.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pwa-install-prompt > img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 11px;
}

.pwa-install-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.pwa-install-copy strong {
    font-size: 13px;
}

.pwa-install-copy span {
    color: var(--color-text-secondary);
    font-size: 11px;
    line-height: 1.45;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pwa-install-button,
.pwa-install-close {
    border: 1px solid var(--color-border);
    background: rgba(255,255,255,.035);
    color: var(--color-text);
    cursor: pointer;
}

.pwa-install-button {
    height: 36px;
    padding: 0 13px;
    border-color: rgba(245,166,35,.38);
    border-radius: 999px;
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 800;
}

.pwa-install-button:hover {
    background: rgba(245,166,35,.09);
}

.pwa-install-button[hidden] {
    display: none;
}

.pwa-install-close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
}

.player-request {
    text-decoration: none;
}

.request-prefill-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(245,166,35,.18);
    border-radius: var(--radius-small);
    background: rgba(245,166,35,.055);
    color: var(--color-text-secondary);
    font-size: 11px;
    line-height: 1.55;
}

.request-prefill-note i {
    margin-top: 2px;
    color: var(--color-accent);
}

.track-action[href] {
    text-decoration: none;
}


/* ==========================================================================
   FASE 4.2 — PLAYER / ACABAMENTO DE UX
   ========================================================================== */

.radio-player .player-action,
.radio-player .player-visualizer-style,
.radio-player .player-play,
.radio-player .player-volume-button {
    -webkit-tap-highlight-color: transparent;
}

.radio-player .player-action,
.radio-player .player-visualizer-style,
.radio-player .player-volume-button {
    position: relative;
}

.radio-player .player-action:hover,
.radio-player .player-visualizer-style:hover,
.radio-player .player-volume-button:hover {
    border-color: rgba(245,166,35,.42);
    color: var(--color-accent);
    background: rgba(245,166,35,.07);
}

.radio-player .player-action:focus-visible,
.radio-player .player-visualizer-style:focus-visible,
.radio-player .player-play:focus-visible,
.radio-player .player-volume-button:focus-visible,
.radio-player .player-volume-range:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.radio-player .player-action.is-unavailable {
    opacity: .42;
    cursor: default;
}

.radio-player .player-action.is-unavailable:hover {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color: var(--color-text-secondary);
}

/* Tooltip CSS: não cria dependência de JavaScript nem altera o clique. */
@media (hover: hover) and (pointer: fine) {
    .radio-player [data-player-tooltip]::after {
        content: attr(data-player-tooltip);
        position: absolute;
        left: 50%;
        bottom: calc(100% + 10px);
        z-index: 20;
        padding: 6px 8px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 6px;
        background: rgba(7,7,7,.96);
        color: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,.28);
        font-size: 9px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .02em;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transform: translate(-50%, 4px);
        transition: opacity .16s ease, transform .16s ease;
    }

    .radio-player [data-player-tooltip]:hover::after,
    .radio-player [data-player-tooltip]:focus-visible::after {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Volume recebe uma área de interação mais clara sem aumentar o player. */
.radio-player .player-volume-range {
    cursor: pointer;
}

.radio-player .player-volume-button {
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        opacity .2s ease;
}

/* Pré-Fase 11 — identidade editorial dos perfis da comunidade */
.audience-profile-functions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.audience-profile-function{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid rgba(245,166,35,.34);border-radius:999px;background:rgba(245,166,35,.09);color:#f5a623;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.audience-staff-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0;padding:18px 20px;border:1px solid rgba(245,166,35,.24);border-radius:16px;background:linear-gradient(135deg,rgba(245,166,35,.10),rgba(255,255,255,.025));color:inherit;text-decoration:none;transition:border-color .2s ease,transform .2s ease,background .2s ease}
.audience-staff-card:hover{border-color:rgba(245,166,35,.62);transform:translateY(-2px);background:linear-gradient(135deg,rgba(245,166,35,.15),rgba(255,255,255,.035))}
.audience-staff-card span{display:grid;gap:3px}.audience-staff-card small{color:#f5a623;font-size:.68rem;font-weight:800;letter-spacing:.12em}.audience-staff-card strong{font-size:1.05rem}.audience-staff-card em{color:rgba(255,255,255,.62);font-size:.82rem;font-style:normal}.audience-staff-card b{color:#f5a623;white-space:nowrap}
.dj-profile-genres{margin:8px 0 16px;color:#f5a623;font-weight:700;letter-spacing:.03em}
@media(max-width:640px){.audience-staff-card{align-items:flex-start;flex-direction:column}.audience-staff-card b{align-self:flex-start}}
/* Fase 11F — player LIVE / ON-DEMAND */
.player-back-live{border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.42);color:#fff;border-radius:999px;padding:8px 12px;font:inherit;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.player-back-live:hover{border-color:var(--accent,#f5b800)}.player-back-live.is-hidden{display:none}.radio-player.is-on-demand .player-status{color:var(--accent,#f5b800)}.ondemand-card .card-media{aspect-ratio:1/1;overflow:hidden}.ondemand-card .card-media img{width:100%;height:100%;object-fit:cover}.ondemand-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}


/* ==========================================================================
   FASE 14B · COMPONENT VARIANTS
   ========================================================================== */

/* BUTTONS */
body.theme-buttons-global--soft .button {
    border-radius: var(--radius-medium);
}
body.theme-buttons-global--square .button {
    border-radius: var(--radius-small);
}

/* HEADER / NAVIGATION */
@media (min-width: 901px) {
    body.theme-navigation-header--centered .header-inner {
        display: grid;
        grid-template-columns: 180px minmax(0,1fr) 180px;
        align-items: center;
    }
    body.theme-navigation-header--centered .main-nav {
        justify-self: center;
    }
    body.theme-navigation-header--centered .header-audience-link {
        justify-self: end;
    }
    body.theme-navigation-header--compact .site-header {
        height: 70px;
    }
    body.theme-navigation-header--compact .logo img {
        width: 58px;
    }
    body.theme-navigation-header--compact .main-nav {
        gap: 22px;
    }
    body.theme-navigation-header--compact .main-nav a {
        font-size: 13px;
    }
}

/* CONTENT CARDS */
body.theme-cards-content--glass :is(
    .feature-card,.program-card,.news-card,.dj-card,.event-card,.home-discovery-card,
    .home-editorial-card,.home-partner-card,.ondemand-card,.schedule-overview-card,
    .special-schedule-card,.about-pillar-card,.partner-brand-card,.partner-opportunity-card
) {
    background: color-mix(in srgb, var(--color-surface) 70%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--theme-shadow);
    border-color: color-mix(in srgb, var(--color-text) 12%, transparent);
}

body.theme-cards-content--editorial :is(
    .feature-card,.program-card,.news-card,.dj-card,.event-card,.home-discovery-card,
    .home-editorial-card,.home-partner-card,.ondemand-card,.schedule-overview-card,
    .special-schedule-card,.about-pillar-card,.partner-brand-card,.partner-opportunity-card
) {
    background: var(--color-bg-secondary);
    border-color: transparent;
    border-radius: var(--radius-small);
    box-shadow: none;
}

body.theme-cards-content--editorial :is(
    .feature-card,.program-card,.news-card,.dj-card,.event-card,.home-discovery-card,
    .home-editorial-card,.home-partner-card,.ondemand-card
):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

body.theme-cards-content--minimal :is(
    .feature-card,.program-card,.news-card,.dj-card,.event-card,.home-discovery-card,
    .home-editorial-card,.home-partner-card,.ondemand-card,.schedule-overview-card,
    .special-schedule-card,.about-pillar-card,.partner-brand-card,.partner-opportunity-card
) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.theme-cards-content--minimal :is(
    .feature-card,.program-card,.news-card,.dj-card,.event-card,.home-discovery-card,
    .home-editorial-card,.home-partner-card,.ondemand-card
):hover {
    transform: none;
}

/* PAGE HEADERS */
body.theme-page-header--editorial .page-header {
    padding: 96px 0 58px;
    border-bottom-color: transparent;
}
body.theme-page-header--editorial .page-header h1 {
    max-width: 900px;
    font-size: clamp(42px,6vw,72px);
}
body.theme-page-header--compact .page-header {
    padding: 78px 0 44px;
}
body.theme-page-header--compact .page-header h1 {
    font-size: clamp(38px,5vw,60px);
    margin-bottom: 14px;
}
body.theme-page-header--compact .page-header p {
    font-size: 16px;
}

/* PLAYER SHELL */
body.theme-player-shell--glass .radio-player {
    background: color-mix(in srgb, var(--color-bg) 78%, transparent);
    border-top-color: color-mix(in srgb, var(--color-text) 14%, transparent);
    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);
    box-shadow: 0 -14px 40px rgba(0,0,0,.22);
}

body.theme-player-shell--glass .radio-player :is(.player-action,.player-visualizer-style) {
    background: color-mix(in srgb, var(--color-surface-light) 60%, transparent);
}

body.theme-player-shell--minimal .radio-player {
    background: var(--color-bg);
    border-top-color: var(--color-border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

body.theme-player-shell--minimal .radio-player :is(.player-action,.player-visualizer-style) {
    border-color: transparent;
    background: transparent;
}

body.theme-player-shell--minimal .player-cover {
    border-radius: var(--radius-small);
}

/* Hero variant is structural and rendered by pages/home.php.
   These selectors expose an official component contract for 14C+. */
.hero[data-theme-component="home.hero"] {
    --theme-hero-variant-ready: 1;
}
/* Fase 16B · identidade pública */
.audience-profile-headline{color:#f5a623;font-weight:700}.audience-profile-links{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.audience-profile-links a{padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#fff;text-decoration:none}.audience-profile-links a:hover{border-color:#f5a623;color:#f5a623}.audience-profile-programs{margin-top:28px;padding-top:24px;border-top:1px solid rgba(255,255,255,.09)}.audience-profile-program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.audience-profile-program-grid a{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:12px;color:#fff;text-decoration:none}.audience-profile-program-grid span{color:#f5a623;font-size:.8rem}@media(max-width:640px){.audience-profile-program-grid{grid-template-columns:1fr}}


/* ==========================================================================
   PÓS-19F — SOCIAL SHARE DIALOG
   ========================================================================== */

body.social-share-open {
    overflow: hidden;
}

.social-share-dialog[hidden] {
    display: none !important;
}

.social-share-dialog {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: grid;
    place-items: center;
    padding: 22px;
}

.social-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(5px);
}

.social-share-panel {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)),
        #111113;
    box-shadow: 0 28px 90px rgba(0,0,0,.58);
}

.social-share-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.social-share-head h2 {
    margin: 5px 0 0;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.social-share-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: #171719;
    color: #fff;
    cursor: pointer;
}

.social-share-copy {
    margin: 0 0 18px;
    color: rgba(255,255,255,.62);
    line-height: 1.55;
}

.social-share-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.social-share-option {
    min-width: 0;
    min-height: 96px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 12px 8px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: #171719;
    color: rgba(255,255,255,.88);
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    text-align: center;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background-color .16s ease,
        color .16s ease;
}

.social-share-option i {
    font-size: 1.55rem;
    color: var(--color-accent);
}

.social-share-option:hover {
    transform: translateY(-2px);
    border-color: rgba(245,166,35,.45);
    background: #1d1d20;
    color: #fff;
}

.social-share-option:focus-visible,
.social-share-close:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.social-share-note {
    display: block;
    margin-top: 16px;
    color: rgba(255,255,255,.42);
    line-height: 1.5;
}

@media (max-width: 680px) {
    .social-share-dialog {
        align-items: end;
        padding: 12px;
    }

    .social-share-panel {
        width: 100%;
        padding: 20px 16px 18px;
        border-radius: 18px 18px 12px 12px;
    }

    .social-share-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .social-share-option {
        min-height: 86px;
    }
}

@media (max-width: 420px) {
    .social-share-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-share-option {
        transition: none;
    }
}
