
        /* ═══ RESET + TOKENS ════════════════════════════════════════ */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            /* ── Sito ──────────────────────────────────────────────── */
            --site-accent: #c8102e;
            --site-border: #e5e5e5;
            --site-muted:  #666;
            --site-radius: 4px;
            --site-max:    1140px;
            --nav-h:       60px;
            --bar-h:       88px;
            /* ── Player ────────────────────────────────────────────── */
            --radius-card:    8px;
            --radius-cover:   4px;
            --text-primary:   rgba(255,255,255,1);
            --text-secondary: rgba(255,255,255,0.55);
            --track-fill:     rgba(255,255,255,0.9);
            --track-empty:    rgba(255,255,255,0.2);
            --btn-hover:      rgba(255,255,255,0.12);
        }

        /* ═══ BODY ══════════════════════════════════════════════════ */
        body {
            font-family: 'Inter', sans-serif;
            background: #fff; color: #1a1a1a;
            font-size: 15px; line-height: 1.6;
            display: block !important; padding: 0 !important; min-height: auto !important;
        }
        body.bar-active { padding-bottom: var(--bar-h); }

        /* ═══ NAVIGAZIONE ═══════════════════════════════════════════ */
        .site-nav {
            position: sticky; top: 0; z-index: 200;
            background: #1a1a1a; height: var(--nav-h);
            display: flex; align-items: center;
            border-bottom: 2px solid var(--site-accent);
        }
        .nav-inner { max-width: var(--site-max); margin: 0 auto; padding: 0 1.5rem; width: 100%; display: flex; align-items: center; justify-content: space-between; }
        .nav-logo { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: #fff; text-decoration: none; }
        .nav-logo span { color: var(--site-accent); }
        .nav-links { display: flex; list-style: none; }
        .nav-links a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-decoration: none; padding: 0 1rem; height: var(--nav-h); display: flex; align-items: center; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; }
        .nav-links a:hover { color: #fff; }
        .nav-links a.active { color: #fff; border-bottom-color: var(--site-accent); }

        /* ═══ MAIN CONTENT ══════════════════════════════════════════ */
        #main-content { min-height: 60vh; }
        #main-content.loading { pointer-events: none; }

        /* ═══ PLAYER BAR ══════════════════════════════════════════════ */
        .player-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: #13151f; border-top: 1px solid rgba(255,255,255,0.12); box-shadow: 0 -4px 24px rgba(0,0,0,0.4); height: var(--bar-h); display: flex; align-items: center; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); }
        .player-bar.visible { transform: translateY(0); }
        .player-bar-inner { max-width: var(--site-max); margin: 0 auto; width: 100%; padding: 0 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
        .bar-cover { width: 56px; height: 56px; border-radius: var(--site-radius); object-fit: cover; flex-shrink: 0; cursor: pointer; }
        .bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
        .bar-badge { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
        .bar-title { font-family: 'Ubuntu', sans-serif; font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .bar-artist { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
        .bar-controls { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
        .bar-btn { background: none; border: none; padding: 0; cursor: pointer; color: rgba(255,255,255,0.75); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: background 0.15s, color 0.15s; font-size: 1.6rem; position: relative; }
        .bar-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
        .bar-skip-lbl { position: absolute; font-family: 'Inter', sans-serif; font-size: 0.45rem; font-weight: 800; color: rgba(255,255,255,0.85); top: 50%; left: 50%; transform: translate(-50%, -55%); pointer-events: none; line-height: 1; }
        .bar-btn.play { background: rgba(255,255,255,0.9); color: #111; border-radius: 50%; width: 44px; height: 44px; font-size: 1.1rem; }
        .bar-btn.play:hover { background: #fff; }
        .bar-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.1); }
        .bar-progress-fill { height: 100%; background: var(--site-accent); width: 0%; transition: width 0.5s linear; }
        .bar-time { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; flex-shrink: 0; display: flex; gap: 0.2rem; align-items: center; }
        .bar-time span { color: rgba(255,255,255,0.35); }
        .bar-expand { flex-shrink: 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--site-accent); cursor: pointer; padding: 0.3rem 0.6rem; border-radius: var(--site-radius); border: 1px solid rgba(200,16,46,0.3); transition: background 0.15s; white-space: nowrap; }
        .bar-expand:hover { background: rgba(200,16,46,0.1); }

        /* ── Bar info button e pannello ─────────────────────────── */
        .bar-info-panel {
            position: absolute; bottom: 100%; left: 0; right: 0;
            background: #13151f; border-top: 1px solid rgba(255,255,255,0.1);
            /* Grid trick: anima l'altezza da 0 a auto senza conoscerla —
               stesso meccanismo del playlist-drawer nel player */
            display: grid; grid-template-rows: 0fr; opacity: 0;
            transition: grid-template-rows 0.3s cubic-bezier(0.4,0,0.2,1),
                        opacity 0.25s ease;
            will-change: grid-template-rows, opacity;
            box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
        }
        .bar-info-panel.open { grid-template-rows: 1fr; opacity: 1; }
        /* Wrapper richiesto dal grid trick */
        .bar-info-panel-inner { min-height: 0; overflow: hidden; padding: 1rem 1.5rem; }
        .bar-info-panel-badge    { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.2rem; }
        .bar-info-panel-title    { font-family: 'Ubuntu', sans-serif; font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.45rem; }
        .bar-info-panel-desc     { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin-bottom: 0.5rem; }
        .bar-info-panel-label    { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 0.2rem; margin-top: 0.4rem; }
        .bar-info-panel-list     { margin: 0; padding-left: 1rem; display: flex; flex-direction: column; gap: 0.15rem; }
        .bar-info-panel-list li  { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
        .bar-info-panel-credits  { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

        /* ═══ LAYOUT PAGINE ════════════════════════════════════════ */
        .page-wrap { max-width: var(--site-max); margin: 0 auto; padding: 3rem 1.5rem 5rem; display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
        .breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--site-muted); margin-bottom: 1.25rem; }
        .breadcrumb a { color: var(--site-accent); text-decoration: none; }
        .breadcrumb i { font-size: 0.6rem; }
        .page-title    { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 0.6rem; }
        .page-subtitle { font-size: 0.95rem; color: var(--site-muted); line-height: 1.65; margin-bottom: 2rem; }
        .section-label   { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--site-accent); margin-bottom: 0.5rem; }
        .section-heading { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
        .article-body p  { font-size: 0.92rem; line-height: 1.8; color: #333; margin-bottom: 1.1rem; }
        hr.divider       { border: none; border-top: 1px solid var(--site-border); margin: 2rem 0; }
        hr.divider.accent{ border-color: var(--site-accent); width: 40px; margin-left: 0; border-width: 2px; }

        .articles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 1.5rem; }
        .article-card  { border: 1px solid var(--site-border); border-radius: var(--site-radius); overflow: hidden; color: inherit; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow 0.2s; }
        .article-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
        .article-card img  { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
        .article-card-body { padding: 1rem; flex: 1; }
        .card-cat   { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--site-accent); margin-bottom: 0.35rem; }
        .card-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; }
        .card-meta  { font-size: 0.7rem; color: var(--site-muted); }

        .player-section .player-wrap  { max-width: 100% !important; }
        .player-section .controls-col { padding: 1.25rem 2rem !important; }
        .player-section { margin-bottom: 2rem; }

        .ep-info-box       { border-left: 3px solid var(--site-accent); padding: 0.85rem 1.1rem; background: #f9f8f5; border-radius: 0 var(--site-radius) var(--site-radius) 0; margin: 1.5rem 0; font-size: 0.85rem; color: var(--site-muted); }
        .ep-info-box strong{ color: #1a1a1a; }

        .sidebar        { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
        .sidebar-widget { border: 1px solid var(--site-border); border-radius: var(--site-radius); overflow: hidden; margin-bottom: 1.5rem; }
        .widget-header  { background: #1a1a1a; padding: 0.6rem 1rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
        .widget-body    { padding: 0.75rem 1rem; }
        .sidebar-link   { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--site-border); font-size: 0.82rem; color: #1a1a1a; text-decoration: none; }
        .sidebar-link:last-child { border-bottom: none; }
        .sidebar-link:hover { color: var(--site-accent); }

        /* ═══ FOOTER ════════════════════════════════════════════════ */
        .site-footer  { background: #1a1a1a; color: rgba(255,255,255,0.55); padding: 3rem 1.5rem 2rem; font-size: 0.8rem; }
        .footer-inner { max-width: var(--site-max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
        .footer-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; margin-bottom: 0.6rem; }
        .footer-brand span  { color: var(--site-accent); }
        .footer-heading     { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.6rem; }
        .footer-links       { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
        .footer-links a     { color: rgba(255,255,255,0.55); text-decoration: none; }
        .footer-links a:hover { color: #fff; }
        .footer-copy        { max-width: var(--site-max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.7rem; }

        /* ═══ RESPONSIVE SITO ════════════════════════════════════════ */
        @media (max-width: 768px) {
            /* ── Layout sito ───────────────────────────────────────── */
            .page-wrap     { grid-template-columns: 1fr; }
            .articles-grid { grid-template-columns: 1fr; }
            .sidebar       { position: static; }
            .footer-inner  { grid-template-columns: 1fr; gap: 1.5rem; }

            /* ── Hamburger ─────────────────────────────────────────── */
            .nav-links {
                display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
                background: #1a1a1a; border-bottom: 2px solid var(--site-accent);
                flex-direction: column; padding: 0.5rem 0; z-index: 199;
                box-shadow: 0 8px 24px rgba(0,0,0,0.35);
            }
            .nav-links.open { display: flex; }
            .nav-links a { height: 48px; padding: 0 1.5rem; border-bottom: none; margin-bottom: 0; width: 100%; }
            .nav-hamburger {
                display: flex; flex-direction: column; justify-content: center; gap: 5px;
                background: none; border: none; cursor: pointer;
                padding: 0.5rem; width: 44px; height: 44px; flex-shrink: 0;
            }
            .nav-hamburger span {
                display: block; height: 2px; width: 22px;
                background: rgba(255,255,255,0.85); border-radius: 2px;
                transition: transform 0.25s ease, opacity 0.2s ease; transform-origin: center;
            }
            .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
            .nav-hamburger.open span:nth-child(2) { opacity: 0; }
            .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

            /* ── Player bar mobile: solo cover + testo + play ──────── */
            .bar-time, .bar-expand, .player-bar .info-btn,
            #barSkipBack, #barSkipFwd { display: none; }
            .bar-info { cursor: pointer; }

            /* bar-info-panel: altezza massima su mobile ────────────── */
            .bar-info-panel-inner { max-height: 50vh; overflow-y: auto; }
        }

        /* Hamburger nascosto su desktop */
        .nav-hamburger { display: none; }

        /* ═══ PLAYER MOUNT NASCOSTO ══════════════════════════════════
           Mai display:none — pauserebbe l'audio su Safari.           */
        #main-player-mount {
            position: fixed; top: -9999px; left: -9999px;
            width: 1px; height: 1px; overflow: hidden;
            pointer-events: none; visibility: hidden;
        }

        /* ═══════════════════════════════════════════════════════════
           PLAYER
        ════════════════════════════════════════════════════════════ */
        .player-wrap { width: 100%; max-width: 820px; display: flex; flex-direction: column; }

        .player-card {
            position: relative; width: 100%; border-radius: var(--radius-card); overflow: hidden;
            box-shadow: 0 32px 64px rgba(10,12,30,0.45), 0 0 0 1px rgba(255,255,255,0.07);
            transition: border-radius 0.35s cubic-bezier(0.4,0,0.2,1); z-index: 2;
        }
        .player-card.drawer-open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

        .bg-blur {
            position: absolute; inset: 0;
            background-size: cover; background-position: center;
            filter: blur(30px) saturate(0.5) brightness(0.22);
            transform: scale(1.08) translateZ(0); will-change: transform; z-index: 0;
            transition: background-image 0.5s ease;
        }
        .bg-veil { position: absolute; inset: 0; background: rgba(15,18,38,0.72); z-index: 1; }

        .player-inner { position: relative; z-index: 2; display: flex; flex-direction: row; align-items: flex-start; width: 100%; }

        .cover-col { flex: 0 0 280px; width: 280px; aspect-ratio: 1/1; align-self: flex-start; position: relative; overflow: hidden; }

        .mobile-meta { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: flex-end; }
        .mobile-gradient { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, transparent 100%); }
        .mobile-text { position: relative; z-index: 1; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.1rem; }

        .cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.4s ease; }

        .controls-col { flex: 1 1 auto; height: 280px; display: flex; flex-direction: column; justify-content: center; padding: 1.25rem 2rem; gap: 0.7rem; min-width: 0; }

        .track-meta { display: flex; flex-direction: column; gap: 0.22rem; min-width: 0; }
        .track-badge { font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.2rem; }

        @keyframes marquee-scroll {
            0%        { transform: translateX(0); }
            10%       { transform: translateX(0); }
            80%       { transform: translateX(var(--marquee-offset, -50%)); }
            90%, 100% { transform: translateX(var(--marquee-offset, -50%)); }
        }
        .marquee-wrap { overflow: hidden; white-space: nowrap; min-width: 0; }
        .marquee-inner { display: inline-block; white-space: nowrap; will-change: transform; }
        .marquee-wrap.is-overflow .marquee-inner { animation: marquee-scroll 5s ease-in-out infinite; }

        .track-title  { font-family: 'Ubuntu', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; line-height: 1.25; transition: opacity 0.3s ease; }
        .track-artist { font-family: 'Ubuntu', sans-serif; font-size: 0.88rem; font-weight: 400; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .track-date   { font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em; color: rgba(255,255,255,0.35); margin-top: 0.2rem; }

        .progress-area { display: flex; flex-direction: column; gap: 0.3rem; }
        .progress-track { position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; }
        .progress-track input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 3; -webkit-appearance: none; appearance: none; }
        .progress-rail { position: absolute; left: 0; right: 0; height: 3px; background: var(--track-empty); border-radius: 2px; overflow: hidden; transition: height 0.2s ease; pointer-events: none; }
        .progress-track:hover .progress-rail { height: 5px; }
        .progress-fill  { height: 100%; background: var(--track-fill); width: 0%; }
        .progress-thumb { position: absolute; top: 50%; width: 14px; height: 14px; background: #fff; border-radius: 50%; transform: translate(-50%, -50%) scale(0); pointer-events: none; transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1); box-shadow: 0 2px 8px rgba(0,0,0,0.4); z-index: 2; }
        .progress-track:hover .progress-thumb { transform: translate(-50%, -50%) scale(1); }
        .time-labels { display: flex; justify-content: space-between; font-size: 0.68rem; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

        .main-controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
        .ctrl-btn { background: none; border: none; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.15s ease, transform 0.15s ease; flex-shrink: 0; }
        .ctrl-btn:hover  { background: var(--btn-hover); }
        .ctrl-btn:active { transform: scale(0.86); }
        .ctrl-btn.skip { width: 58px; height: 58px; font-size: 2rem; color: rgba(255,255,255,0.85); position: relative; }
        .ctrl-btn.skip .skip-label { position: absolute; font-family: 'Inter', sans-serif; font-size: 0.55rem; font-weight: 800; letter-spacing: -0.01em; color: rgba(255,255,255,0.85); top: 50%; left: 50%; transform: translate(-50%, -55%); line-height: 1; pointer-events: none; }
        .ctrl-btn.play { width: 50px; height: 50px; font-size: 1.35rem; background: rgba(255,255,255,0.92); color: #111; box-shadow: 0 4px 18px rgba(0,0,0,0.4); }
        .ctrl-btn.play:hover  { background: #fff; }
        .ctrl-btn.play:active { transform: scale(0.88); }

        /* ─── Controlli secondari — layout piatto ───────────────── */
        .secondary-controls { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; }
        .secondary-controls .vol-slider  { flex: 1 1 auto; min-width: 0; }
        .secondary-controls .vol-icon,
        .secondary-controls .speed-btn,
        .secondary-controls .repeat-btn,
        .secondary-controls .share-btn,
        .secondary-controls .playlist-btn { flex-shrink: 0; }

        .progress-buffer { position: absolute; left: 0; height: 100%; background: rgba(255,255,255,0.18); width: 0%; pointer-events: none; border-radius: 2px; }

        .play-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(0,0,0,0.15); border-top-color: #111; border-radius: 50%; animation: spin 0.7s linear infinite; position: absolute; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .player-card.is-loading .play-spinner         { display: block; }
        .player-card.is-loading .play-icon,
        .player-card.is-loading .pause-icon           { display: none !important; }

        @keyframes cover-pulse { 0% { transform: scale(1); } 50% { transform: scale(1.018); } 100% { transform: scale(1); } }
        .player-card.is-playing .cover-image { animation: cover-pulse 3.5s ease-in-out infinite; will-change: transform; }
        @media (prefers-reduced-motion: reduce) {
            .player-card.is-playing .cover-image { animation: none; will-change: auto; }
            .ep-playing span { animation: none; height: 10px !important; }
            .play-spinner    { animation: none; }
        }

        .ep-toast { position: fixed; top: calc(var(--nav-h) + 0.75rem); bottom: auto; left: 50%; transform: translateX(-50%) translateY(-12px); background: rgba(18,20,40,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 0.65rem 1.1rem; display: flex; align-items: center; gap: 0.6rem; font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.85); backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1); z-index: 9999; white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis; }
        .ep-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
        .ep-toast .toast-dot { width: 6px; height: 6px; background: rgba(255,255,255,0.6); border-radius: 50%; flex-shrink: 0; }

        .error-badge { display: none; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,140,100,0.85); margin-top: 0.15rem; }
        .player-card.has-error .error-badge { display: block; }

        .ctrl-btn:focus-visible, .speed-btn:focus-visible, .vol-mute-btn:focus-visible, .playlist-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }

        .ctrl-btn.mode-btn { width: 32px; height: 32px; font-size: 0.95rem; color: rgba(255,255,255,0.4); border-radius: 6px; flex-shrink: 0; }
        .ctrl-btn.mode-btn:hover  { color: var(--text-primary); background: var(--btn-hover); }
        .ctrl-btn.mode-btn.active { color: var(--text-primary); }

        .ep-fav { flex-shrink: 0; background: none; border: none; padding: 0; cursor: pointer; color: rgba(255,255,255,0.2); font-size: 0.85rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: color 0.15s ease, transform 0.2s cubic-bezier(0.34,1.56,0.64,1); margin-left: auto; }
        .ep-fav:hover  { color: rgba(255,255,255,0.55); }
        .ep-fav.active { color: #ff6b8a; transform: scale(1.1); }
        .ep-fav.active:hover { color: #ff4d70; }

        .ep-row.upcoming       { opacity: 0.5; cursor: default; pointer-events: none; }
        .ep-row.upcoming:hover { background: transparent; }
        .badge-upcoming { display: inline-block; font-size: 0.52rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,200,100,0.75); border: 1px solid rgba(255,200,100,0.35); border-radius: 4px; padding: 1px 5px; margin-left: 0.4rem; vertical-align: middle; }

        .resume-notice { display: none; align-items: center; gap: 0.4rem; font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.38); margin-top: 0.1rem; cursor: pointer; }
        .resume-notice.show { display: flex; }
        .resume-notice:hover { color: rgba(255,255,255,0.65); }
        .resume-notice .resume-dot { width: 5px; height: 5px; background: rgba(255,255,255,0.4); border-radius: 50%; }

        .share-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--text-secondary); font-size: 1rem; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; transition: color 0.15s ease, background 0.15s ease; position: relative; }
        .share-btn:hover { color: var(--text-primary); background: var(--btn-hover); }
        .share-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
        .share-btn.copied { color: rgba(120,220,150,0.9); }

        .info-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--text-secondary); font-size: 1rem; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; transition: color 0.15s ease, background 0.15s ease; }
        .info-btn:hover  { color: var(--text-primary); background: var(--btn-hover); }
        .info-btn.active { color: var(--text-primary); background: rgba(255,255,255,0.15); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); }

        .vol-mute-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--text-secondary); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; transition: color 0.15s ease, background 0.15s ease; }
        .vol-mute-btn:hover { color: var(--text-primary); background: var(--btn-hover); }
        .vol-icon { font-size: 0.9rem; color: var(--text-secondary); flex-shrink: 0; }

        input.vol-slider { -webkit-appearance: none; appearance: none; flex: 1; height: 3px; border-radius: 2px; outline: none; border: none; cursor: pointer; background: linear-gradient(to right, rgba(255,255,255,0.85) var(--vol-pct, 100%), rgba(255,255,255,0.2) var(--vol-pct, 100%)); }
        input.vol-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,0.35); cursor: pointer; transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1); }
        input.vol-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }
        input.vol-slider::-moz-range-thumb     { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 1px 5px rgba(0,0,0,0.35); }
        input.vol-slider::-moz-range-track     { height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; }
        input.vol-slider::-moz-range-progress  { height: 3px; background: rgba(255,255,255,0.85); border-radius: 2px; }

        .speed-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--text-secondary); font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; display: flex; align-items: center; justify-content: center; width: 42px; height: 32px; border-radius: 6px; flex-shrink: 0; white-space: nowrap; transition: color 0.15s ease, background 0.15s ease; }
        .speed-btn:hover { color: var(--text-primary); background: var(--btn-hover); }

        .playlist-btn { background: none; border: none; padding: 0; cursor: pointer; color: var(--text-secondary); font-size: 1.05rem; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; transition: color 0.15s ease, background 0.15s ease; position: relative; }
        .playlist-btn:hover  { color: var(--text-primary); background: var(--btn-hover); }
        .playlist-btn.active { color: var(--text-primary); background: rgba(255,255,255,0.15); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); }
        .playlist-btn .ep-dot { position: absolute; top: 3px; right: 3px; width: 5px; height: 5px; background: #fff; border-radius: 50%; opacity: 0; transition: opacity 0.2s ease; }
        .playlist-btn.has-more .ep-dot { opacity: 1; }

        /* ═══════════════════════════════════════════════════════════
           DRAWER PLAYLIST / INFO
        ════════════════════════════════════════════════════════════ */
        .playlist-drawer { width: 100%; background: rgba(12,14,30,0.97); border-bottom-left-radius: var(--radius-card); border-bottom-right-radius: var(--radius-card); display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease; will-change: grid-template-rows, opacity; box-shadow: 0 24px 48px rgba(10,12,30,0.5); position: relative; z-index: 1; }
        .playlist-drawer.open { grid-template-rows: 1fr; opacity: 1; }
        .drawer-inner  { min-height: 0; overflow: hidden; }
        .drawer-scroll { overflow-y: auto; max-height: 320px; padding: 0.5rem 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
        .drawer-scroll::-webkit-scrollbar       { width: 4px; }
        .drawer-scroll::-webkit-scrollbar-track { background: transparent; }
        .drawer-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

        /* ─── Toolbar dentro il drawer ──────────────────────────── */
        .drawer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.6rem 1rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
        .drawer-season-select { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: 5px; padding: 0.3rem 0.55rem; cursor: pointer; outline: none; transition: border-color 0.15s; }
        .drawer-season-select:focus  { border-color: rgba(255,255,255,0.25); }
        .drawer-season-select option { background: #1a1c2e; color: #fff; }
        .drawer-sort-btn { display: flex; align-items: center; gap: 0.3rem; font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.55); background: none; border: 1px solid rgba(255,255,255,0.1); border-radius: 5px; padding: 0.3rem 0.55rem; cursor: pointer; transition: color 0.15s, border-color 0.15s; }
        .drawer-sort-btn:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.25); }
        .drawer-sort-btn i { font-size: 0.8rem; transition: transform 0.25s ease; }
        .drawer-sort-btn.asc i { transform: rotate(180deg); }

        /* ─── Riga episodio ─────────────────────────────────────── */
        .ep-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 1.5rem; cursor: pointer; border-radius: 0; transition: background 0.15s ease; position: relative; }
        .ep-row:hover  { background: rgba(255,255,255,0.05); }
        .ep-row.active { background: rgba(255,255,255,0.08); }
        .ep-row.active::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; background: #fff; border-radius: 0 2px 2px 0; }
        .ep-thumb  { flex-shrink: 0; width: 44px; height: 44px; border-radius: 4px; object-fit: cover; background: rgba(255,255,255,0.06); }
        .ep-info   { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
        .ep-badge  { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
        .ep-title  { font-family: 'Ubuntu', sans-serif; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ep-row.active .ep-title { color: #fff; }
        .ep-meta   { font-size: 0.68rem; color: rgba(255,255,255,0.35); display: flex; gap: 0.5rem; }
        .ep-playing { flex-shrink: 0; display: none; align-items: flex-end; gap: 2px; height: 14px; }
        .ep-row.active.is-playing .ep-playing { display: flex; }
        .ep-playing span { display: block; width: 3px; background: rgba(255,255,255,0.7); border-radius: 1px; animation: eq-bar 0.8s ease infinite alternate; }
        .ep-playing span:nth-child(1) { height: 6px;  animation-delay: 0s;    }
        .ep-playing span:nth-child(2) { height: 12px; animation-delay: 0.2s;  }
        .ep-playing span:nth-child(3) { height: 8px;  animation-delay: 0.35s; }
        @keyframes eq-bar { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }

        /* ═══════════════════════════════════════════════════════════
           MOBILE PLAYER
        ════════════════════════════════════════════════════════════ */
        @media (max-width: 599.98px) {
            .player-inner    { flex-direction: column; align-items: stretch; }
            .cover-col       { flex: 0 0 auto; width: 100%; aspect-ratio: 1/1; align-self: auto; }
            .controls-col    { height: auto; padding: 1.25rem 1.75rem 2rem; gap: 1.3rem; }
            .mobile-meta     { display: flex; }
            .track-meta      { display: none; }
            .vol-slider      { display: none; }
            .vol-icon.right  { display: none; }
            .secondary-controls { gap: 0; }
            .bg-blur { filter: none !important; transform: none !important; will-change: auto; background-image: none !important; background: var(--player-bg, #0d1020); transition: background-color 0.5s ease; }
            .player-card.is-playing .cover-image { animation: none !important; will-change: auto; }
            .ep-playing span { animation-duration: 1.4s; }
            .drawer-scroll   { max-height: 280px; }
        }

        /* ═══════════════════════════════════════════════════════════
           CARD RUBRICA (pagina podcast listing)
        ════════════════════════════════════════════════════════════ */
        .rubrica-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
        .rubrica-card { border: 1px solid var(--site-border); border-radius: var(--site-radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
        .rubrica-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
        @media (hover: hover) {
            .rubrica-card:hover { transform: translateY(-2px); }
            .rubrica-card:hover .rubrica-card-cover img { transform: scale(1.04); }
            .rubrica-card-play:hover { background: #fff; transform: scale(1.08); }
        }
        .rubrica-card-cover { position: relative; aspect-ratio: 16/7; overflow: hidden; }
        .rubrica-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
        .rubrica-card:hover .rubrica-card-cover img { transform: scale(1.04); }
        .rubrica-card-cover-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%); }
        .rubrica-card-cover-meta    { position: absolute; bottom: 0.75rem; left: 0.85rem; right: 0.85rem; }
        .rubrica-card-cover-title   { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.25; }
        .rubrica-card-cover-sub     { font-size: 0.68rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }
        .rubrica-card-body    { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.65rem; }
        .rubrica-card-desc    { font-size: 0.82rem; color: var(--site-muted); line-height: 1.55; flex: 1; }
        .rubrica-card-footer  { display: flex; align-items: center; justify-content: space-between; padding-top: 0.65rem; border-top: 1px solid var(--site-border); }
        .rubrica-card-stats   { font-size: 0.7rem; color: var(--site-muted); display: flex; gap: 0.75rem; }
        .rubrica-card-cta     { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--site-accent); }
        .rubrica-card-last      { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; background: #13151f; border-top: 1px solid rgba(255,255,255,0.08); text-decoration: none; color: inherit; transition: background 0.15s; }
        .rubrica-card-last:hover { background: #1c1f30; }
        .rubrica-card-last-link  { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
        .rubrica-card-last-thumb { width: 40px; height: 40px; border-radius: var(--site-radius); object-fit: cover; flex-shrink: 0; }
        .rubrica-card-last-info  { flex: 1; min-width: 0; }
        .rubrica-card-last-label { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
        .rubrica-card-last-title { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .rubrica-card-play   { flex-shrink: 0; width: 36px; height: 36px; background: rgba(255,255,255,0.9); color: #111; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: background 0.15s, transform 0.15s; }
        .rubrica-card-play i { margin-left: 2px; }
        .rubrica-card-play.playing i { margin-left: 0; }

        /* ═══════════════════════════════════════════════════════════
           RUBRICA HERO (pagina singola podcast)
        ════════════════════════════════════════════════════════════ */
        .rubrica-hero       { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.75rem; }
        .rubrica-hero-cover { width: 120px; height: 120px; border-radius: var(--site-radius); object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
        .rubrica-hero-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--site-accent); margin-bottom: 0.3rem; }
        .rubrica-hero-title { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.45rem; }
        .rubrica-hero-desc  { font-size: 0.86rem; color: var(--site-muted); line-height: 1.6; }
        @media (max-width: 768px) {
            .rubrica-hero       { flex-direction: column; }
            .rubrica-hero-cover { width: 90px; height: 90px; }
        }

/* ═══ FULLSCREEN PLAYER OVERRIDES ══════════════════════════ */
body.fullscreen-mode {
    overflow: hidden; /* Blocca lo scroll della pagina intera */
    background-color: #000;
}
.fullscreen-player-wrap {
    z-index: 1050; /* Sopra a tutto */
}
/* Adattiamo la tua progress bar al nuovo layout */
.fullscreen-player-wrap .progress-track { height: 24px; }
.fullscreen-player-wrap .progress-rail { height: 4px; }
.fullscreen-player-wrap .progress-track:hover .progress-rail { height: 6px; }
