/* =============================================
   REBEL MEDIA NETWORK RADIO - STYLESHEET
   UUX Edition — Unified User Experience
   Brand: #FF6A00 (Orange), #000 (Black), #FFF (White), #BFBFBF (Grey)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* ── Colours ── */
    --orange: #FF6A00;
    --orange-dark: #E05E00;
    --orange-light: #FF8A33;
    --black: #000000;
    --black-soft: #0A0A0A;
    --black-card: #111111;
    --black-surface: #1A1A1A;
    --white: #FFFFFF;
    --grey: #BFBFBF;
    --grey-dark: #666666;
    --grey-light: #E5E5E5;

    /* ── Typography ── */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --text-xs:   0.68rem;   /* 10.9px — labels, badges */
    --text-sm:   0.8rem;    /* 12.8px — captions, meta */
    --text-base: 0.9rem;    /* 14.4px — body */
    --text-md:   1rem;      /* 16px   — prominent body */
    --text-lg:   1.1rem;    /* 17.6px — subheadings */
    --text-xl:   1.3rem;    /* 20.8px — headings */
    --lh-tight:  1.2;
    --lh-snug:   1.45;
    --lh-base:   1.65;
    --lh-loose:  1.85;

    /* ── Spacing scale (8-pt grid) ── */
    --sp-1:  4px;
    --sp-2:  8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  20px;
    --sp-6:  24px;
    --sp-8:  32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;

    /* ── Shape ── */
    --radius:    12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* ── Shadows ── */
    --shadow:        0 4px 24px rgba(0,0,0,0.4);
    --shadow-sm:     0 2px 10px rgba(0,0,0,0.3);
    --shadow-orange: 0 4px 30px rgba(255,106,0,0.25);
    --shadow-card:   0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 20px rgba(0,0,0,0.25);

    /* ── Motion ── */
    --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-in:   cubic-bezier(0.4, 0.0, 1.0, 1);
    --ease:      cubic-bezier(0.4, 0.0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast:  150ms;
    --dur-base:  250ms;
    --dur-slow:  380ms;
    --transition: var(--dur-base) var(--ease);

    /* ── Accessibility ── */
    --focus-ring: 0 0 0 3px rgba(255,106,0,0.55);
    --focus-ring-offset: 0 0 0 2px var(--black);

    /* ── Z-index scale ── */
    --z-below:   -1;
    --z-base:     1;
    --z-card:    10;
    --z-sticky:  100;
    --z-header:  1000;
    --z-nav:     1001;
    --z-overlay: 1002;
    --z-panel:   1003;
    --z-toast:   9999;
    --z-cookie:  10000;

    /* ── Layout ── */
    --max-width: 1320px;
    --header-height: 72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

/* ── Skip to content (Accessibility) ── */
.skip-link {
    position: absolute;
    top: -60px;
    left: var(--sp-6);
    z-index: var(--z-cookie);
    padding: var(--sp-3) var(--sp-6);
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-base);
    border-radius: 0 0 var(--radius) var(--radius);
    text-decoration: none;
    transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ── Global focus ring ── */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    box-shadow: var(--focus-ring-offset), var(--focus-ring);
}
body {
    font-family: var(--font-body);
    background:
        radial-gradient(ellipse at 20% 15%, rgba(255,106,0,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 5%, rgba(255,106,0,0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 60%, rgba(255,106,0,0.03) 0%, transparent 50%),
        var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover, a:visited, a:active, a:focus { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
input, textarea, select { font-family: inherit; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* === UTILITY === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-4) 0; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--sp-3);
    position: relative;
    display: inline-block;
    line-height: var(--lh-tight);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    opacity: 0.75;
    transition: width var(--dur-slow) var(--ease-out);
}
.section-title:hover::after { width: 72px; }
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(255,106,0,0.08);
    color: var(--orange);
    border: 1px solid rgba(255,106,0,0.2);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
}
.badge-onair {
    background: rgba(239,68,68,0.08);
    color: #EF4444;
    border: 1px solid rgba(239,68,68,0.2);
    gap: 6px;
    border-radius: 20px;
    padding: 4px 12px 4px 8px;
    animation: onairPulse 2s ease-in-out infinite;
}
.onair-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF4444;
    animation: onairBlink 1s ease-in-out infinite;
}
@keyframes onairPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
    50% { box-shadow: 0 0 12px 2px rgba(239,68,68,0.3); }
}
@keyframes onairBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--text-xs);
    line-height: 1;
    min-height: 36px;
    transition: all var(--dur-fast) var(--ease);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    box-shadow: 0 2px 12px rgba(255,106,0,0.18);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255,106,0,0.3);
}

.btn-outline {
    border-color: rgba(255,106,0,0.35);
    color: var(--orange);
    background: rgba(255,106,0,0.04);
}
.btn-outline:hover {
    background: rgba(255,106,0,0.12);
    border-color: var(--orange);
    transform: translateY(-1px);
}

.btn-ghost {
    color: var(--grey);
    border-color: rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    font-size: var(--text-xs);
    padding: var(--sp-2) var(--sp-4);
    min-height: 32px;
}
.btn-ghost:hover {
    border-color: rgba(255,106,0,0.3);
    background: rgba(255,106,0,0.07);
    color: var(--orange);
}

.btn-secondary {
    color: var(--orange);
    border-color: rgba(255,106,0,0.3);
    background: rgba(255,106,0,0.06);
}
.btn-secondary:hover {
    border-color: var(--orange);
    background: rgba(255,106,0,0.14);
    transform: translateY(-1px);
}

/* === HEADER / NAVBAR === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: var(--header-height);
    padding-top: env(safe-area-inset-top, 0px);
    transition: all var(--transition);
}
.header.scrolled {
    background: rgba(0,0,0,0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
/* Desktop: logo first, burger hidden */
.header-inner .burger { order: -1; }
.header-inner .logo   { order: -1; margin-right: auto; }
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none !important;
}
.logo:hover, .logo:visited, .logo:active, .logo:focus {
    text-decoration: none !important;
}
.logo img {
    height: 48px;
    width: 48px;
    border-radius: 10px;
    object-fit: cover;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--white);
}
.logo-text span { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--grey);
    border-radius: var(--radius-sm);
    transition: color var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}
.nav a:hover {
    color: var(--orange);
}
.nav a.active {
    color: var(--orange);
}

/* Burger Menu Button - hidden on desktop */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Mobile menu - removed, nav always visible on desktop */

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    padding-top: calc(var(--header-height) + 32px);
    overflow: hidden;
}
/* ── Animated gradient orbs ── */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}
.hero::before {
    width: 500px; height: 500px;
    top: -10%; left: -5%;
    background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, transparent 70%);
    animation: heroOrbFloat1 12s ease-in-out infinite;
}
.hero::after {
    width: 400px; height: 400px;
    bottom: -15%; right: -8%;
    background: radial-gradient(circle, rgba(100,60,255,0.08) 0%, transparent 70%);
    animation: heroOrbFloat2 15s ease-in-out infinite;
}
@keyframes heroOrbFloat1 {
    0%,100% { transform: translate(0,0) scale(1); opacity: 0.6; }
    33% { transform: translate(30px,-20px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-15px,15px) scale(0.95); opacity: 0.5; }
}
@keyframes heroOrbFloat2 {
    0%,100% { transform: translate(0,0) scale(1); opacity: 0.4; }
    50% { transform: translate(-25px,-30px) scale(1.15); opacity: 0.7; }
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255,255,255,0.5) 50px, rgba(255,255,255,0.5) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.5) 50px, rgba(255,255,255,0.5) 51px);
    animation: heroGridReveal 2s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
@keyframes heroGridReveal {
    to { opacity: 0.025; }
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

/* ── Staggered entrance animations ── */
.hero-left { position: relative; display: grid; }

/* Title — blur-to-sharp reveal with vertical slide */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(8px);
    animation: heroTitleReveal 1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-title .line:nth-child(2) {
    animation-delay: 0.15s;
}
.hero-title .accent {
    color: var(--orange);
    display: inline-block;
    animation: heroTitleReveal 1s cubic-bezier(0.16,1,0.3,1) 0.15s forwards,
               heroAccentGlow 8s ease-in-out 2s infinite;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(8px);
}
@keyframes heroTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
@keyframes heroAccentGlow {
    0%,100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 30px rgba(255,106,0,0.25), 0 0 60px rgba(255,106,0,0.08); }
}

/* Subtitle — fade up with delay */
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--grey);
    margin-bottom: 24px;
    max-width: 480px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.35s forwards;
}
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero states ── */
.hero-state { display:block; }
.hero-state-default { opacity:1; position:relative; }
.hero-state-playing { display:none; }

/* Play button — spring entrance */
.hero-btn-default { display:inline-flex; align-items:center; gap:6px; }
.hero-btn-playing { display:none; align-items:center; gap:8px; }

.btn-hero-play {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    margin-top: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: heroBtnSpring 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.55s forwards;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
@keyframes heroBtnSpring {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.btn-hero-play:hover {
    background: rgba(255,106,0,0.12);
    border-color: rgba(255,106,0,0.3);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,106,0,0.12);
}
.btn-hero-play:active {
    transform: scale(0.95);
    box-shadow: none;
}
.btn-hero-play svg { opacity: 0.8; }

/* Pause button */
.btn-hero-pause {
    position: relative; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; margin-top: 16px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px; cursor: pointer;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s;
}
.btn-hero-pause:hover { background: rgba(255,106,0,0.12); border-color: rgba(255,106,0,0.3); color: var(--orange); transform: translateY(-2px); }
.btn-hero-pause:active { transform: scale(0.95); }
.btn-hero-pause svg { opacity: 0.8; }

/* Waveform bars */
.hero-waveform-mini { display:flex; align-items:flex-end; gap:2px; height:14px; }
.hero-waveform-mini span { display:block; width:3px; background:var(--orange); border-radius:2px; animation:heroWave .9s ease-in-out infinite alternate; transform-origin:bottom; }
.hero-waveform-mini span:nth-child(1){height:5px;animation-delay:0s}
.hero-waveform-mini span:nth-child(2){height:10px;animation-delay:.15s}
.hero-waveform-mini span:nth-child(3){height:14px;animation-delay:.05s}
.hero-waveform-mini span:nth-child(4){height:9px;animation-delay:.2s}
.hero-waveform-mini span:nth-child(5){height:6px;animation-delay:.1s}
@keyframes heroWave{from{transform:scaleY(0.3)}to{transform:scaleY(1)}}

/* Cast button */
.btn-hero-cast {
    display:flex; align-items:center; justify-content:center;
    width:46px; height:46px; border-radius:50%;
    background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15);
    color:rgba(255,255,255,0.7); cursor:pointer;
    backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    opacity: 0;
    animation: heroBtnSpring 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.7s forwards;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-hero-cast:hover { background:rgba(255,106,0,0.12); border-color:rgba(255,106,0,0.35); color:var(--orange); transform: scale(1.08); }
.btn-hero-cast.active { color:var(--orange); border-color:rgba(255,106,0,0.45); background:rgba(255,106,0,0.08); }

/* Hero donate strip */
.hero-donate-strip { background:rgba(255,255,255,0.03); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); padding:14px 0; }
.hero-donate-inner { max-width:var(--max-width); margin:0 auto; padding:0 24px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.hero-donate-text { flex:1; min-width:200px; font-size:.82rem; color:var(--grey); line-height:1.5; }
.hero-donate-btns { display:flex; gap:8px; flex-shrink:0; flex-wrap:wrap; }
.hero-donate-btn { display:inline-flex; align-items:center; gap:5px; padding:7px 14px; border-radius:20px; background:rgba(255,106,0,0.1); border:1px solid rgba(255,106,0,0.25); color:var(--orange); font-size:.78rem; font-weight:600; text-decoration:none; transition:background .2s,border-color .2s,transform .2s; }
.hero-donate-btn:hover { background:rgba(255,106,0,0.18); border-color:rgba(255,106,0,0.45); transform:translateY(-1px); }

/* ── Playing state ── */
.hero-state-playing {
    position: relative;
    min-height: 280px;
    animation: heroStateIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes heroStateIn {
    from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-mod-photo {
    position: absolute;
    left: 0; top: -20px; bottom: -40px; width: 320px;
    z-index: 1; pointer-events: none;
    mask-image: linear-gradient(to right, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%);
    animation: heroPhotoIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}
@keyframes heroPhotoIn {
    from { opacity: 0; transform: translateX(-30px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-mod-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-mod-text { position: relative; z-index: 2; margin-left: 200px; padding-top: 40px; }
.hero-title-playing {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem) !important;
    line-height: 0.95; letter-spacing: 3px;
    margin-bottom: 8px !important;
    animation: none !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-mod-name { font-size: 1.1rem; letter-spacing: 2px; color: var(--white); margin-bottom: 24px; font-weight: 600; }

/* ── Hero tag (if used) ── */
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(255,106,0,0.15); border: 1px solid rgba(255,106,0,0.3);
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; color: var(--orange);
    margin-bottom: 24px;
    opacity: 0; animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
.hero-tag .pulse { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; animation: blink 1.4s ease-in-out infinite; }

/* ── Radio panel — slide in from right ── */
.hero-radio-panel {
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px);
    animation: heroPanelSlide 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
    display: flex;
    flex-direction: column;
}
@keyframes heroPanelSlide {
    to { opacity: 1; transform: translateX(0); }
}

/* -- Zuletzt Gespielt Section -- */
.hrp-recent {
    padding: 20px 28px;
}
.hrp-recent-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grey);
    margin-bottom: 10px;
}
.hrp-recent-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hrp-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), border-color 0.2s;
    opacity: 0;
    transform: translateY(8px);
    animation: heroTrackIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hrp-track:nth-child(1) { animation-delay: 0.6s; }
.hrp-track:nth-child(2) { animation-delay: 0.7s; }
.hrp-track:nth-child(3) { animation-delay: 0.8s; }
.hrp-track:nth-child(4) { animation-delay: 0.9s; }
.hrp-track:nth-child(5) { animation-delay: 1.0s; }
@keyframes heroTrackIn {
    to { opacity: 1; transform: translateY(0); }
}
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
}
.hrp-track:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,106,0,0.25);
}
.hrp-track-art {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--black-surface);
}
.hrp-track-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hrp-track-info { flex: 1; min-width: 0; }
.hrp-track-song {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hrp-track-artist {
    font-size: 0.75rem;
    color: var(--grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}
.player-play-btn {
    width: 64px; height: 64px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-orange);
}
.player-play-btn:hover {
    background: var(--orange-dark);
    transform: scale(1.08);
}
.player-play-btn svg { width: 28px; height: 28px; fill: var(--white); }

.player-volume {
    display: flex;
    align-items: center;
    gap: 12px;
}
.player-volume svg { width: 20px; height: 20px; color: var(--grey); flex-shrink: 0; }
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--black-surface);
    border-radius: 2px;
    outline: none;
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
}
.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255,106,0,0.5);
}

/* === NOW PLAYING BAR (Sticky Bottom) === */
.now-playing-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,106,0,0.15);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom,0px);
    transition: border-color var(--transition);
}
.now-playing-bar.visible { border-top-color: rgba(255,106,0,0.3); }

/* Chevron oben mittig */
.np-chevron-trigger {
    position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
    width: 52px; height: 22px;
    background: rgba(10,10,10,0.97);
    border: 1px solid rgba(255,106,0,0.2); border-bottom: none;
    border-radius: 26px 26px 0 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: rgba(255,255,255,0.55); z-index: 2;
    transition: color .2s;
}
.np-chevron-trigger:hover { color: var(--orange); }
.np-chevron-trigger.open svg { transform: rotate(180deg); }
.np-chevron-trigger svg { transition: transform .3s ease; }

.now-playing-bar-inner {
    display: flex; align-items: stretch; gap: 0;
    height: 110px;
}
/* Artwork */
.np-art {
    width: 110px; min-width: 110px; height: 100%; max-height: 110px;
    align-self: stretch;
    border-radius: 0; overflow: hidden; flex-shrink: 0;
    cursor: pointer; background: #000; position: relative;
}
.np-art img { width:100%; height:100%; object-fit:cover; display:block; padding:0; }
.np-art::after { display:none; }
.np-art .np-play-icon { display:none !important; }
/* Info */
.np-info {
    flex:1; min-width:0;
    display:flex; flex-direction:column; justify-content:center;
    padding:0 14px; overflow:hidden;
}
.np-song { font-weight:700; font-size:.95rem; color:var(--white); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.2; }
.np-artist { font-size:.78rem; color:var(--grey); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; line-height:1.2; }
.np-controls { display:flex; align-items:center; gap:8px; flex-wrap:nowrap; margin-top:6px; }
@media(max-width:600px){
    #sleep-wrap { display:none !important; }
    .np-more-btn { display:flex !important; }
    .now-playing-bar-inner { height:90px; }
    .np-art { width:90px; min-width:90px; height:100%; max-height:90px; align-self:stretch; }
}
@media(max-width:480px){
    .now-playing-bar-inner { height:80px; }
    .np-art { width:80px; min-width:80px; height:100%; align-self:stretch; }
}

.np-art img { width: 100%; height: 100%; object-fit: cover; }
.np-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: inherit;
}
.np-art:hover::after { opacity: 1; }
.np-art .np-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
    pointer-events: none;
}
.np-art:hover .np-play-icon { opacity: 1; }
.np-art .np-play-icon svg { width: 20px; height: 20px; fill: var(--white); filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.np-art .np-play-icon .icon-pause { display: none; }
.is-playing .np-art .np-play-icon .icon-play { display: none; }
.is-playing .np-art .np-play-icon .icon-pause { display: block; }
.np-info { flex: 1; min-width: 0; }
.np-song {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.np-artist {
    font-size: 0.8rem;
    color: var(--grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.np-controls { display: flex; align-items: center; gap: 12px; }
.np-play-btn {
    width: 40px; height: 40px;
    background: var(--orange);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.np-play-btn:hover { background: var(--orange-dark); }
.np-play-btn svg { width: 18px; height: 18px; fill: var(--white); }
.np-airplay-btn {
    display: none; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.06); color: var(--grey);
    transition: all 0.2s;
}
.np-airplay-btn:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.np-airplay-btn.active { color: var(--orange); background: rgba(255,106,0,0.12); }

/* ── Player Tool Buttons (Sleep, EQ, Cast) ── */
.np-tool-wrap { position: relative; }
.np-tool-btn {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.06); color: var(--grey);
    border: none; cursor: pointer; transition: all 0.2s; position: relative;
}
.np-tool-btn:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.np-tool-btn.active { color: var(--orange); background: rgba(255,106,0,0.12); }
.np-tool-btn svg { width: 18px; height: 18px; }
.np-tool-badge {
    position: absolute; top: -2px; right: -2px;
    font-size: 0.6rem; font-weight: 700; color: var(--white);
    background: var(--orange); border-radius: 8px; padding: 1px 4px;
    line-height: 1.1; min-width: 14px; text-align: center;
}
.np-tool-badge:empty { display: none; }

/* Dropdown Menus */
.np-dropdown {
    display: none; position: absolute; bottom: calc(100% + 8px); right: 0;
    background: rgba(18,18,22,0.97); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; padding: 8px 0; min-width: 160px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5); z-index: 100;
    animation: npDropIn 0.15s ease-out;
}
.np-dropdown.open { display: block; }
@keyframes npDropIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.np-dropdown-title {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
    color: var(--grey); padding: 4px 16px 8px; border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 4px;
}
.np-dropdown-item {
    display: block; width: 100%; padding: 8px 16px; border: none;
    background: transparent; color: rgba(255,255,255,0.8); font-size: 0.85rem;
    text-align: left; cursor: pointer; transition: all 0.15s;
}
.np-dropdown-item:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.np-dropdown-item.active { color: var(--orange); font-weight: 600; }
.np-dropdown-off { color: #ef5350; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 4px; }

/* Sleep Timer Countdown Toast */
.sleep-toast {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    background: rgba(18,18,22,0.95); color: var(--orange); font-size: 0.85rem;
    font-weight: 600; padding: 8px 20px; border-radius: 20px;
    border: 1px solid rgba(255,106,0,0.3);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 9999; animation: toastIn 0.3s ease-out;
    pointer-events: none;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ── Song History Spotify/Apple Links ── */
.hrp-track-links {
    display: flex; align-items: center; gap: 6px;
    flex-shrink: 0; padding-left: 8px;
}
.hrp-svc-link {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    transition: all 0.2s; text-decoration: none;
}
.hrp-svc-link svg { fill: currentColor; width: 16px; height: 16px; }
.hrp-svc-link:hover { transform: scale(1.15); }
.hrp-spotify { color: #1DB954; background: rgba(29,185,84,0.15); }
.hrp-spotify:hover { background: rgba(29,185,84,0.3); }
.hrp-apple { color: #FA243C; background: rgba(250,36,60,0.12); }
.hrp-apple:hover { background: rgba(250,36,60,0.25); }
.hrp-youtube { color: #FF0000; background: rgba(255,0,0,0.12); }
.hrp-youtube:hover { background: rgba(255,0,0,0.25); }

/* Song Vote Buttons (Like / Dislike) */
.np-rate {
    display: flex;
    align-items: center;
    gap: 4px;
}
.np-vote-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--grey);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.np-vote-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.np-vote-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.np-vote-btn:active svg { transform: scale(1.2); }
.np-vote-btn.active:first-child {
    color: #4CAF50; background: rgba(76,175,80,0.12); border-color: rgba(76,175,80,0.25);
}
.np-vote-btn.active:first-child svg { fill: #4CAF50; stroke: #4CAF50; }
.np-vote-btn.active:last-child {
    color: #ef5350; background: rgba(239,83,80,0.12); border-color: rgba(239,83,80,0.25);
}
.np-vote-btn.active:last-child svg { fill: #ef5350; stroke: #ef5350; }
.np-vote-count { font-size: 0.72rem; font-weight: 600; }
.np-vote-count:empty { display: none; }
.np-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}
.np-volume svg { width: 18px; height: 18px; color: var(--grey); }
.np-volume .volume-slider { width: 100px; }

/* === NEWS / ARTICLES === */
.news-section { position: relative; z-index: 3; }
/* === NEWS HERO === */
.news-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    margin-bottom: 16px;
}
.news-hero:hover {
    border-color: rgba(255,106,0,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.04);
}
.news-hero-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--black-surface);
}
.news-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.news-hero:hover .news-hero-img img { transform: scale(1.05); }
.news-hero-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}
.news-hero-excerpt {
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-hero-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.82rem;
    transition: color 0.2s;
}
.news-hero:hover .news-hero-link { color: var(--orange-dark); }

/* === EVENT HERO === */
.event-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    margin-bottom: 16px;
}
.event-hero:hover {
    border-color: rgba(255,106,0,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.04);
}
.event-hero-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--black-surface);
    position: relative;
}
.event-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.event-hero:hover .event-hero-img img { transform: scale(1.05); }
.event-hero-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}
.event-hero-excerpt {
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === SUB GRID (3 cards below hero) === */
.news-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.news-grid .news-card:first-child {
    grid-column: 1 / -1;
}
.news-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease),
                background var(--dur-base) var(--ease);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    border-color: rgba(255,106,0,0.28);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.045);
}
.news-card:active { transform: translateY(-1px); }
.news-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--black-surface);
    flex-shrink: 0;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: var(--sp-4) var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-2);
    font-size: var(--text-xs);
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.news-card-title {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--sp-2);
    line-height: var(--lh-snug);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--white);
}
.news-card-excerpt {
    font-size: var(--text-sm);
    color: var(--grey);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: var(--lh-base);
    margin-top: auto;
    padding-top: var(--sp-1);
}

/* === SCHEDULE === */

.schedule-section { min-height: auto !important; padding-bottom: 40px; }

.schedule-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding: 4px;
    background: rgba(255,255,255,0.025);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    scrollbar-width: none;
}
.schedule-tabs::-webkit-scrollbar { display: none; }
.schedule-tab {
    flex: 1;
    min-width: 44px;
    padding: 8px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey-dark);
    border-radius: 9px;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
}
.schedule-tab:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.schedule-tab.active {
    background: rgba(255,106,0,0.12);
    color: var(--orange);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,106,0,0.1);
}
.schedule-tab:focus-visible { box-shadow: var(--focus-ring-offset), var(--focus-ring); }

.schedule-list { display: flex; flex-direction: column; gap: 6px; }
.schedule-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.schedule-item:hover {
    border-color: rgba(255,106,0,0.2);
    background: rgba(255,255,255,0.04);
    transform: translateX(2px);
}
.schedule-item.is-live {
    border-color: rgba(255,106,0,0.35);
    background: rgba(255,106,0,0.04);
    box-shadow: 0 0 16px rgba(255,106,0,0.06);
}
.schedule-time {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: var(--orange);
    white-space: nowrap;
    min-width: 90px;
    flex-shrink: 0;
}
.schedule-show-title {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--white);
}
.schedule-show-host {
    font-size: 0.75rem;
    color: var(--grey);
    margin-top: 1px;
}

/* Schedule channel image */
.schedule-item img {
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ON AIR badge */
.badge-onair {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,106,0,0.12);
    border: 1px solid rgba(255,106,0,0.25);
    color: var(--orange);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: onairPulse 2s ease-in-out infinite;
}
.onair-dot {
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
}
@keyframes onairPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); }
    50% { box-shadow: 0 0 0 4px rgba(255,106,0,0.08); }
}

/* Schedule empty state */
.schedule-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--grey-dark);
    font-size: 0.85rem;
}

/* Mobile schedule */
@media (max-width: 900px) {
    .schedule-tabs { margin-bottom: 12px; }
    .schedule-tab { padding: 8px 4px; font-size: 0.72rem; letter-spacing: 0.5px; }
    .schedule-item { padding: 12px 14px; gap: 12px; }
    .schedule-time { font-size: 0.72rem; min-width: 80px; }
    .schedule-show-title { font-size: 0.82rem; }
    .schedule-item img { width: 36px !important; height: 36px !important; border-radius: 8px !important; }
}
@media (max-width: 480px) {
    .schedule-tabs { padding: 3px; border-radius: 10px; }
    .schedule-tab { padding: 7px 2px; font-size: 0.68rem; min-width: 38px; border-radius: 7px; }
    .schedule-item { padding: 10px 12px; gap: 10px; border-radius: 10px; }
    .schedule-time { font-size: 0.68rem; min-width: 72px; }
    .schedule-show-title { font-size: 0.78rem; }
    .schedule-item img { width: 32px !important; height: 32px !important; border-radius: 6px !important; }
    .badge-onair { padding: 2px 8px; font-size: 0.58rem; }
}
@media (max-width: 360px) {
    .schedule-tab { font-size: 0.62rem; padding: 6px 1px; }
    .schedule-time { font-size: 0.65rem; min-width: 65px; }
}

/* === EVENTS === */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--sp-4);
}
.event-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.event-card:hover {
    border-color: rgba(255,106,0,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.04);
}
.event-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--black-surface);
    position: relative;
}
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,106,0,0.08);
    color: var(--orange);
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255,106,0,0.2);
    text-align: center;
    line-height: 1.1;
    backdrop-filter: blur(8px);
}
.event-date-badge .day {
    font-family: var(--font-display);
    font-size: 1.3rem;
    display: block;
}
.event-date-badge .month {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.event-card-body { padding: var(--sp-4) var(--sp-5); }
.event-card-title {
    font-weight: 700;
    font-size: var(--text-md);
    margin-bottom: var(--sp-2);
    line-height: var(--lh-snug);
}
.event-card-location {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: var(--text-sm);
    color: var(--grey);
}
.event-card-location svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }

/* === SONG REQUEST === */
.request-section {
    background: linear-gradient(135deg, rgba(255,106,0,0.08) 0%, var(--black) 50%, rgba(255,106,0,0.05) 100%);
    position: relative;
}
.request-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
    align-items: center;
}
.request-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 2px;
    margin-bottom: var(--sp-3);
    line-height: var(--lh-tight);
}
.request-text h2 span { color: var(--orange); }
.request-text p { color: var(--grey); font-size: var(--text-base); line-height: var(--lh-base); }

.request-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
}
.form-input {
    padding: var(--sp-4) var(--sp-5);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--lh-base);
    transition: border-color var(--dur-fast) var(--ease),
                box-shadow var(--dur-fast) var(--ease),
                background var(--dur-fast) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.form-input:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
}
.form-input:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255,106,0,0.04);
    box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
.form-input::placeholder { color: var(--grey-dark); }
.form-input:disabled { opacity: 0.45; cursor: not-allowed; }
textarea.form-input { resize: vertical; min-height: 110px; }

/* === QUALITY INDICATOR === */
.quality-wrap { position: relative; }
.np-quality-btn {
    display: flex; align-items: center; gap: 5px;
    height: 32px; padding: 0 10px;
    border-radius: 16px; background: rgba(255,255,255,0.06);
    color: var(--grey); transition: all 0.2s; cursor: pointer;
}
.np-quality-btn:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.quality-dot {
    width: 7px; height: 7px; border-radius: 50%;
    display: inline-block; flex-shrink: 0;
}
.quality-dot.q-low, .qp-opt-dot.q-low { background: #f59e0b; }
.quality-dot.q-normal, .qp-opt-dot.q-normal { background: #22c55e; }
.quality-dot.q-high, .qp-opt-dot.q-high { background: #3b82f6; }
.quality-dot.q-auto, .qp-opt-dot.q-auto {
    background: conic-gradient(#f59e0b 0deg, #22c55e 120deg, #3b82f6 240deg, #f59e0b 360deg);
}
.quality-panel {
    position: absolute; bottom: 44px; right: 0;
    width: 260px; background: rgba(17,17,17,0.97);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 0;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none;
    transform: translateY(8px) scale(0.96);
    transition: all 0.2s ease; z-index: 100;
    overflow: hidden;
}
.quality-panel.open {
    opacity: 1; pointer-events: auto;
    transform: translateY(0) scale(1);
}
.qp-header {
    font-family: var(--font-display);
    font-size: 0.72rem; letter-spacing: 2.5px;
    color: var(--grey-dark); padding: 14px 16px 6px;
}
.qp-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1px; padding: 6px 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.qp-stat { display: flex; flex-direction: column; gap: 1px; padding: 4px 0; }
.qp-stat-label { font-size: 0.62rem; color: var(--grey-dark); letter-spacing: 0.5px; }
.qp-stat-value { font-size: 0.78rem; color: var(--white); font-weight: 500; }
.qp-options { padding: 8px; }
.qp-option {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 8px 10px; border-radius: 8px;
    background: transparent; border: none; color: var(--grey);
    cursor: pointer; transition: all 0.15s; text-align: left;
}
.qp-option:hover { background: rgba(255,255,255,0.05); }
.qp-option.active { background: rgba(255,106,0,0.08); color: var(--white); }
.qp-option.active .qp-opt-dot { box-shadow: 0 0 6px currentColor; }
.qp-opt-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.qp-opt-text { display: flex; flex-direction: column; }
.qp-opt-text strong { font-size: 0.8rem; font-weight: 500; color: inherit; }
.qp-opt-text small { font-size: 0.65rem; color: var(--grey-dark); }
.qp-footer {
    font-size: 0.68rem; color: var(--orange); text-align: center;
    padding: 8px 16px 12px; letter-spacing: 1px;
    font-family: var(--font-display);
}


/* === PWA INSTALL PROMPT === */
.pwa-install-banner {
    position: fixed; bottom: 80px; left: 16px; right: 16px;
    max-width: 400px; margin: 0 auto;
    background: var(--black-card); border: 1px solid rgba(255,106,0,0.2);
    border-radius: 16px; padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
    z-index: 8000; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.pwa-install-banner .pwa-icon {
    width: 44px; height: 44px; border-radius: 10px;
    flex-shrink: 0; object-fit: cover;
}
.pwa-install-info { flex: 1; min-width: 0; }
.pwa-install-info strong { display: block; font-size: 0.88rem; color: var(--white); }
.pwa-install-info span { font-size: 0.75rem; color: var(--grey); }
.pwa-install-btn {
    font-family: var(--font-display); font-size: 0.8rem;
    letter-spacing: 1.5px; padding: 8px 18px;
    background: var(--orange); color: #fff;
    border: none; border-radius: 8px; cursor: pointer;
    transition: background 0.2s; white-space: nowrap;
}
.pwa-install-btn:hover { background: var(--orange-dark); }
.pwa-install-close {
    position: absolute; top: -6px; right: -6px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--black-surface); border: 1px solid rgba(255,255,255,0.1);
    color: var(--grey); display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.7rem;
}

/* === FOOTER === */
.footer {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0 24px;
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 80px;
    margin-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--grey); font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-brand-label {
    font-size: 0.78rem;
    color: var(--grey-dark);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-brand-name span { color: var(--orange); }
.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--orange);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a {
    color: var(--grey);
    font-size: var(--text-base);
    transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
}
.footer-links a:hover { color: var(--orange); padding-left: var(--sp-2); }
.footer-social {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast) var(--ease),
                transform var(--dur-fast) var(--ease-spring),
                color var(--dur-fast) var(--ease);
    color: var(--grey);
}
.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-social a:active { transform: translateY(-1px); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--grey-dark);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Scroll-triggered reveal ── */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
    will-change: opacity, transform;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.stagger-grid > *:nth-child(1) { transition-delay: 0ms; }
.stagger-grid > *:nth-child(2) { transition-delay: 60ms; }
.stagger-grid > *:nth-child(3) { transition-delay: 120ms; }
.stagger-grid > *:nth-child(4) { transition-delay: 180ms; }
.stagger-grid > *:nth-child(5) { transition-delay: 240ms; }
.stagger-grid > *:nth-child(6) { transition-delay: 300ms; }
.stagger-grid > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-grid.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* === ARTICLE DETAIL PAGE === */
.article-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}
.article-hero-img {
    width: 100%;
    max-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-content {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--grey-light);
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin: 40px 0 16px;
    letter-spacing: 1px;
}
.article-content p { margin-bottom: 20px; }
.article-content img {
    border-radius: var(--radius);
    margin: 32px 0;
}

/* === CONTACT PAGE === */
.contact-section { padding-top: calc(var(--header-height) + 60px); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: all var(--transition);
}
.contact-info-card:hover {
    border-color: rgba(255,106,0,0.2);
    background: rgba(255,255,255,0.05);
}
.contact-info-icon {
    width: 48px; height: 48px;
    background: rgba(255,106,0,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--orange); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 24px; }
    .hero-mod-photo { width: 260px; }
    .hero-mod-text { margin-left: 160px; }
    .hero::before { width: 350px; height: 350px; }
    .hero::after { width: 280px; height: 280px; }
    .hero-radio-panel { transform: none; opacity: 1; animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s both; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-grid .news-card:first-child { grid-column: 1 / -1; }
    .news-sub-grid { grid-template-columns: 1fr 1fr; }
    .news-sub-grid .news-card:last-child:nth-child(3) { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-social { justify-content: center; }
    .footer-links { align-items: center; }
    .request-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    :root { --header-height: 64px; }
    .header-inner { flex-wrap: nowrap; gap: 0; }
    .header-inner .burger { order: 0; margin-right: 10px; }
    .header-inner .logo   { order: 0; margin-right: auto; }
    .header-inner .nav-auth { order: 0; }
    .section { padding: 12px 0; }

    /* Burger Button - min 44px touch target */
    .burger {
        display: flex;
        min-width: 44px;
        min-height: 44px;
    }

    /* Mobile Nav - FULLSCREEN OVERLAY */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(8,8,8,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: calc(72px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }
    .nav.open { opacity: 1; pointer-events: auto; }
    .nav a {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
        font-family: var(--font-display, sans-serif);
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 14px 20px;
        min-height: auto;
        display: block;
        text-align: center;
        white-space: nowrap;
        border-radius: 0;
        border-bottom: none;
        color: rgba(255,255,255,0.9);
        transition: color 0.2s;
    }
    .nav a:hover, .nav a.active { color: var(--orange); }

    /* Mobile: Musiksender Toggle */
    /* Desktop channel toggle button — hidden on mobile */

    /* Overlay not needed for fullscreen */
    .nav-overlay.open { display: none; }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 24px);
        padding-bottom: 0;
    }
    .hero::before { width: 250px; height: 250px; filter: blur(60px); top: -5%; left: -8%; }
    .hero::after { width: 200px; height: 200px; filter: blur(60px); bottom: -10%; right: -5%; }
    .hero-content { gap: 20px; }
    .hero-title { font-size: clamp(2.2rem, 10vw, 4rem); }
    .hero-title .line { transform: translateY(24px) scale(0.98); filter: blur(4px); }
    .hero-subtitle { font-size: 1rem; margin-bottom: 20px; }
    .hero-radio-panel { margin-top: 0; transform: none; animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.4s both; }
    .hrp-track { animation-delay: 0.5s !important; }
    .hrp-track:nth-child(2) { animation-delay: 0.55s !important; }
    .hrp-track:nth-child(3) { animation-delay: 0.6s !important; }
    .hrp-recent { padding: 16px 20px; }
    .btn-hero-play { animation-delay: 0.4s; }
    .btn-hero-cast { animation-delay: 0.5s; }
    .hero-donate-inner { flex-direction: column; text-align: center; gap: 10px; }
    .hero-donate-text { min-width: auto; }
    .hero-donate-btns { justify-content: center; }

    /* News & Events grids */
    .news-grid { grid-template-columns: 1fr; }
    .news-sub-grid { grid-template-columns: 1fr; }
    .news-hero { grid-template-columns: 1fr; }
    .news-hero-body { padding: 24px; }
    .news-hero-title { font-size: 1.4rem; }
    .event-hero { grid-template-columns: 1fr; }
    .event-hero-body { padding: 24px; }
    .event-hero-title { font-size: 1.4rem; }

    .events-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand p { max-width: 100%; }
    .footer-social { justify-content: center; }
    .footer-links { align-items: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* Schedule */
    /* Schedule — handled in schedule section */

    /* Now Playing Bar */
    .now-playing-bar-inner { padding: 10px 16px; gap: 12px; height: 90px; }
    .np-art { width: 90px; min-width:90px; height:100%; align-self:stretch; }
    .np-song { font-size: 0.85rem; }
    .np-artist { font-size: 0.75rem; }
    .np-volume { display: none; }
    .np-vote-btn { padding: 5px 8px; gap: 3px; }
    .np-vote-btn svg { width: 14px; height: 14px; }
    .np-vote-count { font-size: 0.68rem; }
    .np-tool-btn { width: 28px; height: 28px; }
    .np-tool-btn svg { width: 15px; height: 15px; }
    .np-controls { gap: 8px; }
    .hrp-svc-link { width: 28px; height: 28px; }
    .hrp-svc-link svg { width: 14px; height: 14px; }

    /* Scroll to top */
    .scroll-top {
        bottom: calc(125px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* Article detail */
    .article-content { font-size: 1rem; }

    /* Track cards */
    .hrp-recent { padding: 16px 20px; }
    .hrp-track { padding: 10px 12px; }
    .hrp-track-art { width: 40px; height: 40px; }
}

/* ==  Small phones (iPhone SE, Galaxy S, etc.) === */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 10px 0; }
    .hero { padding-top: calc(var(--header-height) + 16px); padding-bottom: 0; }
    .hero::before { width: 180px; height: 180px; filter: blur(50px); }
    .hero::after { width: 150px; height: 150px; filter: blur(50px); }
    .hero-content { gap: 12px; padding: 0 16px; }
    .hero-title { font-size: clamp(2rem, 12vw, 3.2rem); margin-bottom: 12px; }
    .hero-title .line { transform: translateY(16px); filter: blur(3px); }
    .hero-subtitle { font-size: 0.92rem; margin-bottom: 16px; max-width: 100%; }
    .btn-hero-play { padding: 9px 20px; font-size: 0.72rem; letter-spacing: 1.5px; justify-content: center; }
    .btn-hero-cast { width: 40px; height: 40px; }
    .btn-hero-cast svg { width: 18px; height: 18px; }
    .hero-tag { font-size: 0.68rem; padding: 5px 12px; }
    .hero-radio-panel { border-radius: 12px; }
    .hrp-track { padding: 8px 12px; }

    .section-title { font-size: 1.6rem; }

    /* Now Playing Bar compact */
    .now-playing-bar-inner { padding: 8px 12px; gap: 10px; height: 80px; }
    .np-art { width: 80px; min-width:80px; height:100%; max-height:80px; align-self:stretch; }
    .np-song { font-size: 0.8rem; }
    .np-artist { font-size: 0.7rem; }
    .np-vote-count { display: none; }
    .np-vote-btn { padding: 6px; border-radius: 50%; }
    .np-controls { gap: 6px; }
    .hrp-track-links { gap: 4px; }
    .np-dropdown { right: -8px; min-width: 140px; }

    /* Channel panel */
    .channel-overlay-panel { width: 100% !important; max-width: 100% !important; border-radius: 16px 16px 0 0 !important; }

    /* Footer compact */
    .footer { padding: 40px 0 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
    .footer-grid { gap: 24px; }
    .footer-title { font-size: 1rem; margin-bottom: 14px; }
    .footer-links a { font-size: 0.85rem; }
    .footer-social a { width: 36px; height: 36px; }
    .footer-social a svg { width: 16px; height: 16px; }
    .footer-bottom { font-size: 0.72rem; }

    /* Buttons touch-friendly */
    .btn { min-height: 44px; padding: 12px 24px; font-size: 0.85rem; }
    .btn-ghost { min-height: 36px; }

    /* Cookie banner */
    .cookie-consent { padding: 16px; margin: 0 8px; }
    .cookie-consent-actions { flex-direction: column; gap: 6px; }
    .cookie-consent-actions .btn { width: 100%; }

    /* Donate strip */
    .hero-donate-strip { padding: 12px 0; }
    .hero-donate-inner { padding: 0 16px; }
    .hero-donate-text { font-size: 0.78rem; }
    .hero-donate-btn { padding: 6px 12px; font-size: 0.72rem; }

    /* Card pseudo-elements */
    .card::before, .news-card::before, .ep-card::before { height: 40%; }
}

/* ==  Very small phones (iPhone SE 1st gen, 320px) === */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero { padding-top: calc(var(--header-height) + 12px); }
    .hero::before, .hero::after { display: none; }
    .hero-title { font-size: 2rem; margin-bottom: 10px; }
    .hero-title .line { filter: none; transform: translateY(12px); }
    .hero-subtitle { font-size: 0.85rem; margin-bottom: 12px; }
    .hero-mod-photo { width: 180px; opacity: 0.35; }
    .hero-mod-text { margin-left: 100px; padding-top: 20px; }
    .hero-title-playing { font-size: 2.2rem !important; }
    .hero-state-playing { min-height: 200px; }
    .btn-hero-play { padding: 8px 16px; font-size: 0.68rem; }
    .btn-hero-cast { width: 36px; height: 36px; }
    .logo-text { font-size: 1.3rem; }
    .section-title { font-size: 1.4rem; }
    .footer-grid { gap: 20px; }
    .hrp-recent { padding: 12px 14px; }
    .hrp-track { padding: 8px 10px; gap: 10px; }
    .hrp-track-art { width: 36px; height: 36px; }
    .hrp-track-song { font-size: 0.8rem; }
    .hrp-track-artist { font-size: 0.7rem; }
    .now-playing-bar-inner { height: 72px; padding: 6px 10px; gap: 8px; }
    .np-art { width: 72px; min-width: 72px; }
    .np-chevron-trigger { width: 28px; height: 28px; }
    .np-chevron-trigger svg { width: 16px; height: 16px; }
}

/* ==  Landscape phones === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding-top: calc(var(--header-height) + 12px); padding-bottom: 0; min-height: auto; }
    .hero::before, .hero::after { display: none; }
    .hero-content { grid-template-columns: 1fr 1fr; gap: 16px; }
    .hero-title { font-size: 2rem; margin-bottom: 8px; }
    .hero-title .line { filter: none; transform: none; opacity: 1; animation: none; }
    .hero-subtitle { font-size: 0.85rem; margin-bottom: 10px; }
    .btn-hero-play { opacity: 1; transform: none; animation: none; padding: 7px 16px; }
    .btn-hero-cast { opacity: 1; animation: none; width: 38px; height: 38px; }
    .hero-radio-panel { opacity: 1; transform: none; animation: none; }
    .hrp-track { opacity: 1; transform: none; animation: none; }
    .section { padding: 6px 0; }
    .nav { padding-top: calc(60px + env(safe-area-inset-top, 0px)); }
    .nav a { padding: 8px 20px; font-size: 1.2rem; }
}

/* ==  Touch-device optimizations === */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover transforms on touch — use :active instead */
    .news-card:hover, .card:hover, .ep-card:hover, .channel-card:hover { transform: none; box-shadow: none; }
    .news-card:active, .card:active { transform: scale(0.985); border-color: rgba(255,106,0,0.28); }
    .event-card:hover { transform: none; }
    .event-card:active { transform: scale(0.985); }
    .hrp-track:hover { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.07); }
    .hrp-track:active { background: rgba(255,255,255,0.06); border-color: rgba(255,106,0,0.25); }
    .btn:hover { transform: none; box-shadow: none; }
    .btn:active { transform: scale(0.96) !important; }
    .btn-hero-play:hover { transform: none; box-shadow: none; }
    .btn-hero-play:active { transform: scale(0.95); background: rgba(255,106,0,0.15); }
    .btn-hero-cast:hover { transform: none; }
    .btn-hero-cast:active { transform: scale(0.9); background: rgba(255,106,0,0.15); }
    .btn-hero-pause:hover { transform: none; }
    .btn-hero-pause:active { transform: scale(0.95); }
    .footer-social a:hover { transform: none; background: rgba(255,255,255,0.06); color: var(--grey); }
    .footer-social a:active { background: var(--orange); color: var(--white); transform: scale(0.93); }
    .footer-links a:hover { padding-left: 0; }
    .footer-links a:active { color: var(--orange); }
    .scroll-top:hover { transform: translateY(0); }
    .scroll-top:active { transform: scale(0.9); }
    .channel-btn:hover { transform: none; }
    .channel-btn:active { transform: scale(0.95); }
    .hero-donate-btn:hover { transform: none; }
    .hero-donate-btn:active { transform: scale(0.95); background: rgba(255,106,0,0.2); }
    /* Ensure all touch targets are at least 44px */
    .nav a,
    .footer-links a,
    .schedule-tab { min-height: 44px; display: flex; align-items: center; }
    .np-chevron-trigger { min-width: 44px; min-height: 44px; }
}

/* ==  Prefers reduced motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-in,
    .stagger-grid > * { opacity: 1; transform: none; transition: none; }
    .hero-title .line,
    .hero-title .accent,
    .hero-subtitle,
    .btn-hero-play,
    .btn-hero-cast,
    .hero-tag,
    .hero-radio-panel,
    .hrp-track,
    .hero-bg-pattern { opacity: 1; transform: none; filter: none; animation: none; }
    .hero::before, .hero::after { animation: none; }
    .section-title:hover::after { width: 48px; transition: none; }
}


/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 130px;
    right: 24px;
    z-index: 998;
    width: 48px;
    height: 48px;
    background: rgba(255,106,0,0.1);
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    backdrop-filter: blur(8px);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: rgba(255,106,0,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255,106,0,0.25);
}
.scroll-top:active {
    transform: translateY(0) scale(0.95);
}

/* ═══════════════════════════════════════════════
   ADMIN STYLES — UUX Edition
   ═══════════════════════════════════════════════ */

/* ── Layout ── */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--black-card);
    border-right: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    z-index: var(--z-sticky);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
.admin-sidebar .logo { padding: 0 var(--sp-5); margin-bottom: var(--sp-8); }
.admin-main {
    margin-left: 0;
    padding: var(--sp-8);
    background: var(--black-soft);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Nav ── */
.admin-nav { display: flex; flex-direction: column; flex: 1; padding: var(--sp-2) 0; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--grey);
    transition: color var(--dur-fast) var(--ease),
                background var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease);
    border-left: 2px solid transparent;
    text-decoration: none;
    min-height: 40px;
}
.admin-nav a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.admin-nav a.active {
    color: var(--orange);
    border-left-color: var(--orange);
    background: rgba(255,106,0,0.07);
}
.admin-nav a svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.7; transition: opacity var(--dur-fast) var(--ease); }
.admin-nav a.active svg,
.admin-nav a:hover svg { opacity: 1; }
.admin-nav-section {
    padding: var(--sp-2) var(--sp-5) var(--sp-1);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    margin-top: var(--sp-2);
}
.admin-nav-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: var(--sp-2) var(--sp-5);
}

/* ── User bar ── */
.admin-user-bar {
    padding: var(--sp-3) var(--sp-5);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: var(--grey);
    margin-top: auto;
}
.admin-user-bar span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-bar a {
    color: var(--grey-dark);
    font-size: var(--text-xs);
    white-space: nowrap;
    transition: color var(--dur-fast) var(--ease);
}
.admin-user-bar a:hover { color: var(--orange); }

/* ── Mobile bar ── */
.admin-mobile-bar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: var(--black-card);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--sp-4);
    z-index: var(--z-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.admin-mobile-title {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 2px;
}
.admin-mobile-title span { color: var(--orange); }
.admin-burger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: var(--sp-1);
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: background var(--dur-fast) var(--ease);
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
}
.admin-burger:hover { background: rgba(255,255,255,0.06); }
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: calc(var(--z-header) - 1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.admin-sidebar-overlay.open { display: block; }

/* ── Page header ── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-8);
    flex-wrap: wrap;
    gap: var(--sp-3);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-title,
.admin-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    line-height: var(--lh-tight);
}
.page-header-actions { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-8);
}

/* ── Cards ── */
.admin-card,
.card,
.api-card,
.donate-card,
.an-card,
.compose-card {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-6);
    margin-bottom: var(--sp-6);
    transition: border-color var(--dur-fast) var(--ease);
}
.admin-card:hover,
.an-card:hover,
.api-card:hover,
.donate-card:hover { border-color: rgba(255,255,255,0.09); }

.card-title,
.api-card .card-title,
.donate-card .card-title {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 2.5px;
    color: var(--grey-dark);
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ── Stats ── */
.admin-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
}
.stat-card {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-6);
    transition: border-color var(--dur-fast) var(--ease),
                transform var(--dur-fast) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease);
}
.stat-card:hover { border-color: rgba(255,106,0,0.2); transform: translateY(-2px); }
.stat-card:hover::before { opacity: 1; }
.stat-card .stat-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,106,0,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--sp-3);
}
.stat-card .stat-icon svg { width: 18px; height: 18px; color: var(--orange); }
.stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--orange);
    letter-spacing: 1px;
    line-height: 1;
}
.stat-card .stat-label {
    font-size: var(--text-xs);
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--sp-1);
}

/* ── Tables ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.admin-table,
.an-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th,
.an-table th {
    text-align: left;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey-dark);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
    position: sticky;
    top: 0;
    background: var(--black-card);
    z-index: 1;
}
.admin-table td,
.an-table td {
    padding: var(--sp-4);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: var(--text-base);
    vertical-align: middle;
}
.admin-table tr:last-child td,
.an-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr,
.an-table tbody tr {
    transition: background var(--dur-fast) var(--ease);
}
.admin-table tbody tr:hover td,
.an-table tr:hover td { background: rgba(255,255,255,0.025); }

/* ── Table actions ── */
.actions { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
.admin-table .actions a,
.admin-table .actions button,
.act, .act-edit, .act-del, .act-archive, .act-pin {
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: background var(--dur-fast) var(--ease),
                color var(--dur-fast) var(--ease);
    cursor: pointer;
    border: none;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    text-decoration: none;
}
.action-edit, .act-edit {
    background: rgba(255,106,0,0.1);
    color: var(--orange);
}
.action-edit:hover, .act-edit:hover {
    background: var(--orange);
    color: var(--white);
}
.action-delete, .act-del {
    background: rgba(239,68,68,0.1);
    color: #ef5350;
}
.action-delete:hover, .act-del:hover {
    background: #ef5350;
    color: var(--white);
}
.act-archive {
    background: rgba(255,255,255,0.05);
    color: var(--grey);
}
.act-archive:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.act-pin {
    background: rgba(33,150,243,0.1);
    color: #42a5f5;
}
.act-pin:hover { background: rgba(33,150,243,0.2); }

/* ── Bulk action bar ── */
.bulk-bar, .shows-bulk-bar {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    background: rgba(255,106,0,0.06);
    border: 1px solid rgba(255,106,0,0.2);
    border-radius: var(--radius);
    margin-bottom: var(--sp-4);
    flex-wrap: wrap;
}
.bulk-count, .shows-bulk-count {
    font-size: var(--text-sm);
    color: var(--orange);
    font-weight: 600;
    margin-right: auto;
}

/* ── Forms ── */
.admin-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.admin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.admin-form .form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group label,
.compose-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
}
.form-textarea,
.compose-textarea,
.compose-input,
.compose-select {
    padding: var(--sp-4) var(--sp-5);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--lh-base);
    transition: border-color var(--dur-fast) var(--ease),
                box-shadow var(--dur-fast) var(--ease),
                background var(--dur-fast) var(--ease);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-textarea:hover,
.compose-input:hover,
.compose-select:hover,
.compose-textarea:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
}
.form-textarea:focus,
.compose-input:focus,
.compose-select:focus,
.compose-textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255,106,0,0.04);
    box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
.compose-hint {
    font-size: var(--text-sm);
    color: var(--grey-dark);
    line-height: var(--lh-base);
    margin-top: var(--sp-1);
}
.compose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.compose-actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

/* ── Alerts ── */
.alert {
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-5);
    font-size: var(--text-base);
    line-height: var(--lh-base);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}
.alert-success, .alert-ok {
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.25);
    color: #4caf50;
}
.alert-error, .alert-danger {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    color: #ef5350;
}
.alert-info {
    background: rgba(33,150,243,0.08);
    border: 1px solid rgba(33,150,243,0.25);
    color: #42a5f5;
}
.alert-warning {
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.25);
    color: #f59e0b;
}

/* ── Badges ── */
.badge-green  { display:inline-flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:var(--text-xs);font-weight:700;background:rgba(76,175,80,0.12);color:#4caf50; }
.badge-red    { display:inline-flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:var(--text-xs);font-weight:700;background:rgba(239,68,68,0.12);color:#ef5350; }
.badge-blue   { display:inline-flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:var(--text-xs);font-weight:700;background:rgba(33,150,243,0.12);color:#42a5f5; }
.badge-orange { display:inline-flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:var(--text-xs);font-weight:700;background:rgba(255,106,0,0.12);color:var(--orange); }
.badge-yellow { display:inline-flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:var(--text-xs);font-weight:700;background:rgba(245,158,11,0.12);color:#f59e0b; }
.badge-grey   { display:inline-flex;align-items:center;padding:2px 10px;border-radius:10px;font-size:var(--text-xs);font-weight:700;background:rgba(255,255,255,0.06);color:var(--grey); }

/* ── Toggle ── */
.toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-label {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease);
}
.toggle-label::after {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 18px; height: 18px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--dur-fast) var(--ease-spring);
}
.toggle input:checked + .toggle-label { background: var(--orange); }
.toggle input:checked + .toggle-label::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-label {
    box-shadow: var(--focus-ring-offset), var(--focus-ring);
}

/* ── Tabs ── */
.tabs {
    display: flex;
    gap: var(--sp-1);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: var(--sp-6);
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--grey);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease);
    white-space: nowrap;
    background: none;
    border-top: none; border-left: none; border-right: none;
    margin-bottom: -1px;
    min-height: 40px;
}
.tab:hover { color: var(--white); }
.tab.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ── Quick action buttons ── */
.db-actions { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-6); flex-wrap: wrap; }
.db-action-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--grey);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease),
                background var(--dur-fast) var(--ease),
                border-color var(--dur-fast) var(--ease);
    cursor: pointer;
    min-height: 36px;
    backdrop-filter: blur(8px);
}
.db-action-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); }
.db-action-primary { color: var(--orange) !important; background: rgba(255,106,0,0.08); border-color: rgba(255,106,0,0.25); }
.db-action-primary:hover { background: rgba(255,106,0,0.16); border-color: rgba(255,106,0,0.4); }
.db-action-spacer { flex: 1; }
.db-action-ext {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-3);
    font-size: var(--text-xs);
    color: var(--grey-dark);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    min-height: 32px;
}
.db-action-ext:hover { color: var(--grey); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }

/* ── Dashboard hero ── */
.db-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: var(--sp-5);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.db-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) saturate(1.4);
    opacity: 0.18;
    transition: background-image 1s var(--ease);
}
.db-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-8);
    gap: var(--sp-6);
    background: linear-gradient(135deg,rgba(0,0,0,0.55) 0%,rgba(0,0,0,0.15) 100%);
}
.db-hero-left { flex: 1; min-width: 0; }
.db-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 3px;
    color: #EF4444;
    margin-bottom: var(--sp-4);
}
.db-hero-np { display: flex; align-items: center; gap: var(--sp-5); }
.db-hero-cover {
    width: 80px; height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 28px rgba(0,0,0,0.6);
    transition: box-shadow var(--dur-base) var(--ease);
}
.db-hero-info { flex: 1; min-width: 0; }
.db-hero-title { font-size: var(--text-xl); font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: var(--lh-snug); }
.db-hero-artist { font-size: var(--text-base); color: var(--grey); margin-top: var(--sp-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-hero-show { font-size: var(--text-xs); color: var(--grey-dark); margin-top: var(--sp-1); letter-spacing: 0.5px; }
.db-hero-stats { display: flex; align-items: center; flex-shrink: 0; }
.db-hero-stat { text-align: center; padding: 0 var(--sp-6); }
.db-hero-stat-val { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); letter-spacing: 1px; line-height: 1; }
.db-hero-stat-lbl { font-size: 0.58rem; color: var(--grey-dark); letter-spacing: 1.5px; margin-top: var(--sp-1); }
.db-hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }
.db-hero-live { color: #EF4444; display: flex; align-items: center; gap: var(--sp-2); justify-content: center; }
.db-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #EF4444;
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(239,68,68,0.6);
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Dashboard KPI strip ── */
.db-kpi-strip { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.db-kpi {
    flex: 1; min-width: 120px;
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-4) var(--sp-5);
    transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-out);
}
.db-kpi:hover { border-color: rgba(255,106,0,0.2); transform: translateY(-1px); }
.db-kpi-val { font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); letter-spacing: 1px; line-height: 1; }
.db-kpi-lbl { font-size: var(--text-xs); color: var(--grey-dark); letter-spacing: 1px; text-transform: uppercase; margin-top: var(--sp-1); }

/* ── Dashboard sections ── */
.db-section { margin-bottom: var(--sp-5); }
.db-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: var(--sp-4);
    cursor: pointer;
    user-select: none;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.db-section-head-left { display: flex; align-items: center; gap: var(--sp-3); }
.db-section-arrow { color: var(--grey-dark); transition: transform var(--dur-fast) var(--ease); }
.db-section-body { margin-top: var(--sp-3); }
.db-sub-label { font-size: var(--text-xs); color: var(--grey-dark); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: var(--sp-3); }
.db-section-counts { display: flex; gap: var(--sp-3); }
.db-section-count-like { color: #4CAF50; font-size: var(--text-sm); font-weight: 600; }
.db-section-count-dis  { color: #ef5350; font-size: var(--text-sm); font-weight: 600; }

/* ── Dashboard activity feed ── */
.db-activity-feed { display: flex; flex-direction: column; gap: var(--sp-2); }
.db-feed-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-sm);
    transition: background var(--dur-fast) var(--ease);
}
.db-feed-item:hover { background: rgba(255,255,255,0.03); }
.db-feed-icon {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.db-feed-icon-message  { background: rgba(33,150,243,0.12); color: #42a5f5; }
.db-feed-icon-upload   { background: rgba(255,106,0,0.12); color: var(--orange); }
.db-feed-icon-article  { background: rgba(76,175,80,0.12); color: #4caf50; }
.db-feed-title  { font-size: var(--text-sm); font-weight: 500; line-height: var(--lh-snug); }
.db-feed-meta   { font-size: var(--text-xs); color: var(--grey-dark); margin-top: 2px; }
.db-feed-body   { flex: 1; min-width: 0; }
.db-feed-badge  { margin-left: auto; flex-shrink: 0; }
.db-feed-filter { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }

/* ── Channel tabs ── */
.db-ch-tabs { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.db-ch-tab-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.db-ch-tab-name { font-size: var(--text-xs); font-weight: 600; }
.db-ch-tab-img { width: 24px; height: 24px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.db-ch-fbtn-img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.db-ch-filter { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); flex-wrap: wrap; }

/* ── Dashboard tiles ── */
.db-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-3); }
.db-tile {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-4);
    transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-out);
    position: relative;
}
.db-tile-clickable { cursor: pointer; }
.db-tile-clickable:hover { border-color: rgba(255,106,0,0.25); transform: translateY(-2px); }
.db-tile-head { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.db-tile-img { width: 32px; height: 32px; border-radius: var(--radius-sm); object-fit: cover; }
.db-tile-name { font-size: var(--text-sm); font-weight: 600; line-height: var(--lh-snug); }
.db-tile-lbl { font-size: var(--text-xs); color: var(--grey-dark); }
.db-tile-val { font-family: var(--font-display); font-size: 1.4rem; color: var(--orange); letter-spacing: 1px; }
.db-tile-stats { display: flex; gap: var(--sp-3); margin-top: var(--sp-2); }
.db-tile-stat { font-size: var(--text-xs); color: var(--grey); }
.db-tile-badge, .db-tile-badge-streams {
    position: absolute; top: var(--sp-3); right: var(--sp-3);
}
.db-tile-spark { height: 24px; display: flex; align-items: flex-end; gap: 2px; margin-top: var(--sp-2); }
.db-tile-spark-bar { flex: 1; background: rgba(255,106,0,0.3); border-radius: 2px 2px 0 0; min-height: 3px; transition: background var(--dur-fast) var(--ease); }
.db-tile-clickable:hover .db-tile-spark-bar { background: rgba(255,106,0,0.6); }

/* ── Sparklines / charts ── */
.db-spark { display: flex; align-items: flex-end; gap: 2px; }
.db-spark-bar { flex: 1; background: rgba(255,106,0,0.25); border-radius: 2px 2px 0 0; min-height: 2px; }
.db-spark-info { font-size: var(--text-xs); color: var(--grey-dark); margin-top: var(--sp-1); }
.an-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.an-bar-fill { height: 100%; background: var(--orange); border-radius: 3px; transition: width 0.6s var(--ease-out); }
.an-section-label, .an-chart-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 1.5px;
    color: var(--grey-dark);
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}
.an-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-5); }
.an-grid-half { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-5); }
.an-empty { color: var(--grey-dark); font-size: var(--text-sm); padding: var(--sp-5) 0; text-align: center; }

/* ── Period picker ── */
.db-period-tabs, .db-vote-tabs { display: flex; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.db-period-tab {
    padding: var(--sp-1) var(--sp-3);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    color: var(--grey);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
    min-height: 28px;
}
.db-period-tab:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.db-period-tab.active { background: rgba(255,106,0,0.1); color: var(--orange); border-color: rgba(255,106,0,0.3); }
.db-period-label { font-size: var(--text-xs); color: var(--grey-dark); margin-left: auto; align-self: center; }
.db-period-bar { height: 3px; background: rgba(255,255,255,0.04); border-radius: 2px; margin: var(--sp-3) 0; }

/* ── Agg grid ── */
.db-agg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--sp-3); }
.db-agg-box {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: var(--sp-4);
    transition: border-color var(--dur-fast) var(--ease);
}
.db-agg-box:hover { border-color: rgba(255,106,0,0.2); }
.db-agg-val { font-family: var(--font-display); font-size: 1.5rem; color: var(--orange); letter-spacing: 1px; }
.db-agg-label { font-size: var(--text-xs); color: var(--grey-dark); text-transform: uppercase; letter-spacing: 1px; margin-top: var(--sp-1); }

/* ── Top song rankings ── */
.top-song-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-sm);
    transition: background var(--dur-fast) var(--ease);
}
.top-song-row:hover { background: rgba(255,255,255,0.03); }
.top-song-rank { font-family: var(--font-display); font-size: 1.2rem; color: var(--grey-dark); min-width: 24px; text-align: right; }
.top-song-cover { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.top-song-info { flex: 1; min-width: 0; }
.top-song-title { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-song-artist { font-size: var(--text-xs); color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-song-streams { font-family: var(--font-display); font-size: 1rem; color: var(--orange); flex-shrink: 0; }

/* ── Rating rows ── */
.db-rating-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.db-rating-row:last-child { border-bottom: none; }
.db-rating-rank { font-family: var(--font-display); font-size: 1rem; color: var(--grey-dark); min-width: 20px; }
.db-rating-info { flex: 1; min-width: 0; }
.db-rating-title  { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-rating-artist { font-size: var(--text-xs); color: var(--grey); }
.db-rating-count  { font-size: var(--text-sm); font-weight: 600; color: var(--orange); flex-shrink: 0; }

/* ── Messages ── */
.msg-stats { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.msg-stat-card {
    flex: 1; min-width: 120px;
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-4) var(--sp-5);
    transition: border-color var(--dur-fast) var(--ease);
}
.msg-stat-card:hover { border-color: rgba(255,106,0,0.2); }
.msg-stat-value { font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); letter-spacing: 1px; }
.msg-stat-value--unread { color: #ef5350; }
.msg-stat-label { font-size: var(--text-xs); color: var(--grey-dark); text-transform: uppercase; letter-spacing: 1px; margin-top: var(--sp-1); }
.send-bar { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-4); flex-wrap: wrap; }

/* ── Shows ── */
.shows-day-strip { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.shows-day-card {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-3) var(--sp-4);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    min-height: 40px;
}
.shows-day-card:hover { border-color: rgba(255,106,0,0.2); background: rgba(255,255,255,0.04); }
.shows-day-card--active { border-color: var(--orange); background: rgba(255,106,0,0.08); }
.shows-day-label { font-size: var(--text-sm); font-weight: 600; }
.shows-day-count { font-size: var(--text-xs); color: var(--grey-dark); margin-top: 2px; }

/* ── A/B test ── */
.ab-results { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.ab-result-card {
    flex: 1; min-width: 160px;
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: var(--sp-5);
    text-align: center;
}
.ab-result-val { font-family: var(--font-display); font-size: 1.8rem; color: var(--orange); letter-spacing: 1px; }
.ab-box { background: rgba(255,255,255,0.02); border-radius: var(--radius); padding: var(--sp-4); margin-bottom: var(--sp-3); }
.ab-toggle { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }

/* ── Category / status filter ── */
.cat-filter { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5); }

/* ── Template picker ── */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-3); }
.tpl-card {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: var(--sp-5);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-out);
    text-align: center;
}
.tpl-card:hover { border-color: rgba(255,106,0,0.3); transform: translateY(-2px); }
.tpl-card-emoji { font-size: 2rem; margin-bottom: var(--sp-2); display: block; }
.tpl-card-name { font-size: var(--text-sm); font-weight: 600; }
.tpl-modal { position: fixed; inset: 0; z-index: var(--z-panel); display: flex; align-items: center; justify-content: center; }
.tpl-modal-box {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    max-width: 480px;
    width: 100%;
    animation: scaleIn var(--dur-base) var(--ease-spring);
}
.tpl-modal-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: var(--sp-5); }

/* ── Preview ── */
.preview-frame { border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius); overflow: hidden; }

/* ── Login / blocked page ── */
.login-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--sp-6); }
.login-brand { text-align: center; margin-bottom: var(--sp-8); }
.login-brand-name { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 3px; }
.login-brand-name span { color: var(--orange); }
.login-brand-sub { font-size: var(--text-sm); color: var(--grey-dark); letter-spacing: 2px; text-transform: uppercase; margin-top: var(--sp-1); }
.login-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: var(--sp-12) var(--sp-10);
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 2px 0 rgba(255,255,255,0.06) inset, 0 24px 64px rgba(0,0,0,0.5);
    animation: fadeInUp var(--dur-slow) var(--ease-out);
}
.login-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.login-field-wrap { position: relative; }
.login-field-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
    margin-bottom: var(--sp-2);
}
.login-field-input {
    width: 100%;
    padding: var(--sp-4);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-md);
    transition: border-color var(--dur-fast) var(--ease),
                box-shadow var(--dur-fast) var(--ease);
    -webkit-appearance: none;
}
.login-field-input:focus {
    outline: none;
    border-color: rgba(255,106,0,0.5);
    box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
.login-pw-toggle {
    position: absolute;
    right: var(--sp-3);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--grey-dark);
    cursor: pointer;
    padding: var(--sp-2);
    transition: color var(--dur-fast) var(--ease);
}
.login-pw-toggle:hover { color: var(--white); }
.login-btn {
    width: 100%;
    padding: var(--sp-4);
    background: var(--orange);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-out);
    min-height: 48px;
}
.login-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.login-btn:active { transform: scale(0.98); }
.login-btn-ghost {
    width: 100%;
    padding: var(--sp-3);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--grey);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
    min-height: 40px;
}
.login-btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.login-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef5350;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
}
.login-attempts-hint {
    font-size: var(--text-xs);
    color: var(--grey-dark);
    text-align: center;
    margin-top: var(--sp-1);
}
.login-footer {
    text-align: center;
    margin-top: var(--sp-5);
    font-size: var(--text-xs);
    color: var(--grey-dark);
}

/* ── Blocked screen ── */
.blocked-card { @extend .login-card; border-color: rgba(239,68,68,0.25); max-width: 420px; }
.blocked-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--sp-5);
}
.blocked-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: var(--sp-2); text-align: center; }
.blocked-text { font-size: var(--text-sm); color: var(--grey); margin-bottom: var(--sp-6); text-align: center; line-height: var(--lh-base); }
.blocked-details { background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); padding: var(--sp-4); }
.blocked-detail-row { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-2) 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.blocked-detail-row:last-child { border-bottom: none; }
.blocked-detail-label { font-size: var(--text-xs); color: var(--grey-dark); }
.blocked-detail-value { font-size: var(--text-sm); font-weight: 500; }
.blocked-timer { font-family: var(--font-display); font-size: 2rem; color: #ef5350; text-align: center; margin-top: var(--sp-4); letter-spacing: 2px; }

/* ── Logout screen ── */
.logout-card { @extend .login-card; text-align: center; max-width: 380px; }
.logout-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,106,0,0.1);
    border: 1px solid rgba(255,106,0,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--sp-5);
}
.logout-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: var(--sp-2); }
.logout-text { font-size: var(--text-sm); color: var(--grey); margin-bottom: var(--sp-5); line-height: var(--lh-base); }
.logout-countdown { font-family: var(--font-display); font-size: 1rem; color: var(--grey-dark); margin-bottom: var(--sp-4); letter-spacing: 2px; }
.logout-progress { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-bottom: var(--sp-6); }
.logout-progress-fill { height: 100%; background: var(--orange); border-radius: 2px; transition: width 1s linear; }
.logout-actions { display: flex; gap: var(--sp-3); flex-direction: column; }
.logout-btn { width: 100%; padding: var(--sp-4); border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 700; cursor: pointer; transition: all var(--dur-fast) var(--ease); min-height: 48px; }
.logout-btn-primary { background: var(--orange); border: none; color: var(--white); }
.logout-btn-primary:hover { background: var(--orange-dark); }
.logout-btn-secondary { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--grey); }
.logout-btn-secondary:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* ── 2FA ── */
.tfa-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,106,0,0.1);
    border: 1px solid rgba(255,106,0,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--sp-5);
}
.tfa-code-input {
    width: 100%;
    padding: var(--sp-4);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 1.4rem;
    letter-spacing: 8px;
    text-align: center;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
    -webkit-appearance: none;
}
.tfa-code-input:focus { border-color: rgba(255,106,0,0.5); box-shadow: 0 0 0 3px rgba(255,106,0,0.15); }

/* ── Btn variants for admin ── */
.btn-admin-primary {
    background: var(--orange);
    color: var(--white);
    border: 1px solid var(--orange);
    box-shadow: 0 2px 12px rgba(255,106,0,0.2);
}
.btn-admin-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn-danger {
    background: rgba(239,68,68,0.1);
    color: #ef5350;
    border: 1px solid rgba(239,68,68,0.25);
}
.btn-danger:hover { background: #ef5350; color: var(--white); border-color: #ef5350; }
.pk { font-size: var(--text-xs); color: var(--grey-dark); }
.pin-icon { color: var(--orange); }

/* ── Empty state ── */
.empty {
    text-align: center;
    padding: var(--sp-12) var(--sp-6);
    color: var(--grey-dark);
    font-size: var(--text-base);
}

/* ── Row checkboxes ── */
.bulk-cb, .bulk-cb-head, .row-check {
    accent-color: var(--orange);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ── Toast ── */
.toast {
    position: fixed;
    top: var(--sp-6);
    right: var(--sp-6);
    z-index: var(--z-toast);
    padding: var(--sp-4) var(--sp-6);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-weight: 500;
    animation: slideInRight var(--dur-slow) var(--ease-out) both;
    box-shadow: var(--shadow);
    max-width: 360px;
    line-height: var(--lh-snug);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}
.toast-success { background: #1a8b4e; color: white; border-left: 3px solid #4caf50; }
.toast-error   { background: #c53030; color: white; border-left: 3px solid #ef5350; }
.toast-info    { background: #1565c0; color: white; border-left: 3px solid #42a5f5; }
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Admin responsive ── */
@media (max-width: 900px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed;
        top: 0; bottom: 0;
        left: -260px;
        width: 260px;
        height: 100vh;
        transition: left var(--dur-base) var(--ease);
        z-index: var(--z-header);
    }
    .admin-sidebar.open { left: 0; }
    .admin-main { margin-left: 0; padding: calc(56px + var(--sp-5)) var(--sp-4) var(--sp-5); }
    .admin-mobile-bar { display: flex; }
    .page-header { margin-bottom: var(--sp-5); }
    .admin-form .form-row { grid-template-columns: 1fr; }
    .compose-grid { grid-template-columns: 1fr; }
    .an-grid, .an-grid-half { grid-template-columns: 1fr; }
    .db-hero-content { flex-direction: column; align-items: flex-start; padding: var(--sp-5); }
    .db-hero-stats { width: 100%; justify-content: center; }
    .db-tile-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .admin-stats, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .msg-stats { flex-direction: column; }
    .db-kpi-strip { gap: var(--sp-3); }
    .toast { right: var(--sp-4); left: var(--sp-4); max-width: none; }
}

/* ==  COOKIE CONSENT BANNER === */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 106, 0, 0.25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cookie-consent.visible {
    display: block;
    animation: slideUpConsent 0.4s ease-out;
}
@keyframes slideUpConsent {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-consent-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
}
.cookie-consent-text h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--orange);
}
.cookie-consent-text p {
    color: var(--grey);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 4px;
}
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.cookie-consent-actions .btn {
    flex: 1;
    min-width: 130px;
    justify-content: center;
    font-size: 0.84rem;
    padding: 10px 14px;
}
.cookie-settings-detail {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--white);
    font-size: 0.88rem;
}
.cookie-option input[type="checkbox"] {
    accent-color: var(--orange);
    width: 17px;
    height: 17px;
}
@media (max-width: 640px) {
    .cookie-consent-actions { flex-direction: column; }
    .cookie-consent-actions .btn { min-width: auto; }
}

/* ==  AD CONTAINERS === */
/* ═══ AD BANNERS ═══ */
.rmn-ad { padding: 16px 0; overflow: hidden; }
.rmn-ad-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.rmn-ad-label {
    display: block;
    text-align: center;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.15);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.rmn-ad ins.adsbygoogle {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    overflow: hidden;
    min-height: 90px;
}
@media(max-width: 768px) {
    .rmn-ad { padding: 12px 0; }
    .rmn-ad-inner { padding: 0 16px; }
    .rmn-ad ins.adsbygoogle { border-radius: 8px; min-height: 50px; }
}
@media(max-width: 480px) {
    .rmn-ad-inner { padding: 0 12px; }
}

/* ==  SMOOTH SCHEDULE TABS === */
.schedule-list.is-loading { opacity: 0.3; transition: opacity 0.15s ease; }


/* ==  ARCHIVE FILTERS === */
.archive-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.archive-select {
    flex: 1;
    min-width: 160px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: border 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23BFBFBF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.archive-select:focus { border-color: var(--orange); }
.archive-select option { background: var(--black-card); color: var(--white); }
.archive-select { color-scheme: dark; }

@media (max-width: 640px) {
    .archive-filters { flex-direction: column; }
    .archive-select { min-width: auto; }
}

/* ==  LEGAL CONTENT (Admin-managed pages) === */
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--orange);
}
.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--white);
}
.legal-content p { margin-bottom: 12px; }
.legal-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { opacity: 0.8; }
.legal-content strong { color: var(--white); }
.legal-content ul, .legal-content ol { margin: 12px 0 12px 24px; }
.legal-content li { margin-bottom: 6px; }

/* ==  SECTION HEADINGS === */























.channel-overlay {
    display:none; position:fixed; inset:0;
    background:rgba(0,0,0,0.55); z-index:10003;
    backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
}
.channel-overlay.open { display:block; }
.channel-panel {
    position:fixed; bottom:0; left:0; right:0;
    width:100%; height:auto; max-height:90vh;
    background:rgba(12,12,12,0.99);
    backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
    border-top:1px solid rgba(255,106,0,0.2); border-radius:20px 20px 0 0;
    z-index:10004; overflow-y:auto;
    padding:0 0 calc(20px + env(safe-area-inset-bottom,0px));
    transform:translateY(100%);
    transition:transform 0.32s cubic-bezier(0.32,0.72,0,1);
}
.channel-overlay.open .channel-panel { transform:translateY(0); }
.channel-panel-handle { width:40px; height:4px; background:rgba(255,255,255,.2); border-radius:2px; margin:12px auto 0; }
.channel-panel-header { display:flex; justify-content:space-between; align-items:center; padding:12px 20px 6px; margin-bottom:0; }
.channel-panel-header h3 { font-family:var(--font-display); font-size:.9rem; letter-spacing:2px; }
.channel-section-title { padding:0 20px; margin:14px 0 8px; }
.channel-grid { padding:0 20px; grid-template-columns:repeat(4,1fr); }
.channel-hero { display:none; }
.channel-close { background: none; border: none; color: var(--grey); font-size: 1.5rem; cursor: pointer; padding: 4px 10px; border-radius: 8px; transition: all 0.2s; line-height: 1; }
.channel-close:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.channel-section-title { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,0.35); margin: 20px 0 10px; }
.channel-section-title:first-of-type { margin-top: 0; }
.channel-hero {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,106,0,0.08) 0%, rgba(0,0,0,0.3) 100%);
    border-radius: 12px;
}
.channel-hero-title {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--white);
}
.channel-hero-orange { color: var(--orange); }
.channel-hero-sub {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--grey);
    line-height: 1.5;
}
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.channel-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; background: transparent; border: none; border-radius: 12px; padding: 6px 4px; cursor: pointer; transition: all 0.2s; text-decoration: none; color: var(--white); }
.channel-btn:hover { background: rgba(255,255,255,0.04); transform: scale(1.05); }
.channel-btn.active { background: rgba(255,106,0,0.06); }
.channel-btn.active img { box-shadow: 0 0 0 2px var(--orange); }
.channel-btn img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.channel-btn-label { font-size: 0.68rem; font-weight: 600; text-align: center; line-height: 1.2; }

/* Homepage channels */
.channel-home-grid { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; padding: 8px 0; }
.channel-home-item { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; transition: transform 0.2s; text-decoration: none; color: var(--white); }
.channel-home-item:hover { transform: scale(1.04); }
.channel-home-item img { width: 160px; height: 160px; border-radius: 16px; object-fit: cover; border: 2px solid rgba(255,255,255,0.06); transition: border-color 0.3s, box-shadow 0.3s; }
.channel-home-item:hover img { border-color: rgba(255,106,0,0.35); }
.channel-home-item.active img { border-color: var(--orange); box-shadow: 0 0 24px rgba(255,106,0,0.2); }
.channel-home-item span { font-size: 0.85rem; font-weight: 600; }

@media(max-width: 600px) {
    .channel-home-item img { width: 110px; height: 110px; border-radius: 12px; }
    .channel-home-item span { font-size: 0.75rem; }
    .channel-home-grid { gap: 12px; }
    .channel-btn img { width: 60px; height: 60px; }
    .channel-btn-label { font-size: 0.6rem; }
}
@media(max-width: 380px) {
    .channel-home-item img { width: 90px; height: 90px; border-radius: 10px; }
    .channel-home-grid { gap: 8px; }
    .channel-grid { gap: 6px; }
    .channel-btn img { width: 52px; height: 52px; }
    .channel-btn { padding: 4px 2px; }
}

/* ═══════════════════════════════════════════════
   UUX ADDITIONS — Unified UX helpers
   ═══════════════════════════════════════════════ */

/* ── Loading skeleton ── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ── Status / feedback states ── */
.text-muted   { color: var(--grey-dark); }
.text-grey    { color: var(--grey); }
.text-orange  { color: var(--orange); }
.text-success { color: #4CAF50; }
.text-danger  { color: #ef5350; }
.text-warning { color: #f59e0b; }

/* ── Dividers ── */
.divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: var(--sp-8) 0;
}
.divider-orange {
    background: linear-gradient(90deg, transparent, rgba(255,106,0,0.4), transparent);
}

/* ── Visually hidden (accessible) ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Truncation utilities ── */
.truncate     { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Image loading states ── */
img { background: var(--black-surface); }
img[loading="lazy"] { content-visibility: auto; }

/* ── Nav link underline micro-animation (desktop) ── */
@media (min-width: 901px) {
    .nav a {
        position: relative;
    }
    .nav a::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 16px;
        right: 16px;
        height: 2px;
        background: var(--orange);
        border-radius: 1px;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform var(--dur-fast) var(--ease-out);
    }
    .nav a:hover::after,
    .nav a.active::after { transform: scaleX(1); }
}

/* ── Now Playing Bar — slide in with spring ── */
/* now-playing-bar is always visible */

/* ── np-play-btn pulse on playing state ── */
@keyframes playPulse {
    0%, 100% { box-shadow: var(--shadow-orange); }
    50%       { box-shadow: 0 0 0 8px rgba(255,106,0,0.12), var(--shadow-orange); }
}
body.is-playing .np-play-btn {
    animation: playPulse 2.5s ease-in-out infinite;
}

/* ── Toast improved ── */
.toast {
    transition: opacity var(--dur-base) var(--ease),
                transform var(--dur-base) var(--ease-out);
}

/* ── Contact info card hover — consistent with news cards ── */
.contact-info-card {
    transition: border-color var(--dur-fast) var(--ease),
                background var(--dur-fast) var(--ease),
                transform var(--dur-fast) var(--ease-out);
}
.contact-info-card:hover { transform: translateY(-2px); }

/* ── Scroll to top — spring effect ── */
.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255,106,0,0.3);
}

/* ── High contrast mode support ── */
@media (forced-colors: active) {
    .btn-primary { forced-color-adjust: none; }
    .badge { forced-color-adjust: none; }
    :focus-visible { outline: 3px solid Highlight; }
}

/* ── Print styles ── */
@media print {
    .header,
    .now-playing-bar,
    .scroll-top,
    .cookie-consent,
    .pwa-install-banner,
    .burger { display: none !important; }
    body { background: #fff; color: #000; }
    .hero { padding-top: 0; }
}

/* ═══════════════════════════════════════════════════════
   NAV AUTH — Login Button + User Menu
═══════════════════════════════════════════════════════ */
.nav-auth {
    display: flex;
    align-items: center;
    margin-left: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}
.nav-auth-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.nav-auth-btn:hover {
    color: var(--orange);
    border-color: rgba(255,106,0,0.4);
    background: rgba(255,106,0,0.06);
}
.nav-user-wrap {
    display: flex;
    align-items: center;
    position: relative;
}
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255,106,0,0.35);
    border-radius: 20px;
    padding: 4px 10px 4px 6px;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
    max-width: 140px;
}
.nav-user-btn:hover {
    color: var(--orange);
    border-color: rgba(255,106,0,0.6);
    background: rgba(255,106,0,0.06);
}
.nav-user-btn svg { flex-shrink: 0; }
.nav-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90px;
}
.nav-user-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 160px;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    z-index: 2000;
}
.nav-user-menu.open { display: block; }
.nav-user-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    text-align: left;
}
.nav-user-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.nav-user-admin:hover { color: var(--orange); }
.nav-user-logout:hover { color: #ff5555; }
.nav-user-menu .nav-user-item + .nav-user-item {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════════════ */
@keyframes authSpin {
    to { transform: rotate(360deg); }
}
@keyframes authModalIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
}
.auth-modal-overlay.open { display: block; }
.auth-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 390px;
    background: #0e0e0e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px 32px 32px;
    z-index: 9001;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}
.auth-modal.open {
    display: block;
    animation: authModalIn 0.22s cubic-bezier(0.34,1.56,0.64,1) both;
}
.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-modal-close:hover { color: rgba(255,255,255,0.8); }
.auth-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,106,0,0.1);
    border: 1px solid rgba(255,106,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--orange);
}
.auth-modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
    margin-bottom: 4px;
}
.auth-modal-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}
.auth-error {
    display: none;
    background: rgba(255,80,80,0.08);
    border: 1px solid rgba(255,80,80,0.25);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 0.8rem;
    padding: 10px 12px;
    margin-bottom: 16px;
    line-height: 1.4;
}
.auth-field-wrap { margin-bottom: 14px; }
.auth-field-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 6px;
}
.auth-field-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.auth-field-input:focus {
    border-color: rgba(255,106,0,0.5);
    background: rgba(255,106,0,0.04);
}
.auth-pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.auth-pw-toggle:hover { color: rgba(255,255,255,0.7); }
.auth-field-input[type="password"] { padding-right: 36px; }
.auth-submit-btn {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
}
.auth-submit-btn:hover { background: #e05e00; }
.auth-submit-btn:active { transform: scale(0.98); }
.auth-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-code-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 14px 12px;
    color: #fff;
    font-size: 1.6rem;
    font-family: var(--font-display);
    letter-spacing: 6px;
    text-align: center;
    outline: none;
    margin-bottom: 14px;
    transition: border-color 0.2s;
}
.auth-code-input:focus { border-color: rgba(59,130,246,0.5); }
.auth-back-btn {
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    background: none;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}
.auth-back-btn:hover { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.2); }

/* Mobile: full-width modal */
@media (max-width: 480px) {
    .auth-modal {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        padding: 28px 20px 32px;
    }
    .auth-modal.open {
        animation: authSlideUp 0.25s cubic-bezier(0.34,1.2,0.64,1) both;
    }
    @keyframes authSlideUp {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .nav-user-name { display: none; }
    .nav-user-btn { padding: 4px 6px; border-radius: 50%; }
}

/* ═══ PLAYER CHANNEL TOGGLE ═══ */
.np-channel-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.25s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
    margin-left: 4px;
}
.np-channel-btn:hover {
    color: var(--orange);
    border-color: rgba(255,106,0,0.4);
    background: rgba(255,106,0,0.06);
}
.np-channel-btn.open {
    color: var(--orange);
    border-color: rgba(255,106,0,0.5);
    transform: rotate(180deg);
}

/* ═══ CHANNEL PANEL — anchored to player bottom ═══ */
/* ═══ AJAX NAV LOADING INDICATOR ═══ */
@keyframes navLoadPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
.now-playing-bar.nav-loading {
    animation: navLoadPulse 0.8s ease-in-out infinite;
}
.now-playing-bar.nav-loading::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    animation: navLoadSlide 1s linear infinite;
}
@keyframes navLoadSlide {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}
.np-sleep-opt {
    display:block; width:100%; text-align:left;
    background:none; border:none; cursor:pointer;
    color:rgba(255,255,255,.75); padding:7px 10px;
    font-size:.82rem; border-radius:6px;
}
.np-sleep-opt:hover { background:rgba(255,255,255,.08); color:#fff; }

#sleep-wrap { overflow: visible !important; }

#sleep-popup { pointer-events: none; }

#sleep-popup[style*="display: block"], #sleep-popup[style*="display:block"] { pointer-events: auto; }

.np-art-overlay {
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    background:rgba(0,0,0,0); transition:background .2s;
}
.np-art:hover .np-art-overlay { background:rgba(0,0,0,0.45); }
.np-art-play, .np-art-pause {
    opacity:0; transition:opacity .2s;
    filter:drop-shadow(0 1px 4px rgba(0,0,0,0.6));
}
.np-art:hover .np-art-play,
.np-art:hover .np-art-pause { opacity:1; }
body.is-playing .np-art-play { display:none !important; }
body.is-playing .np-art-pause { display:block !important; }
body:not(.is-playing) .np-art-play { display:block !important; }
body:not(.is-playing) .np-art-pause { display:none !important; }


.news-card-date-badge {
    position: absolute; top: 9px; left: 9px;
    display: flex; flex-direction: column; align-items: center;
    background: rgba(0,0,0,.75); color: var(--orange);
    border-radius: 6px; padding: 5px 8px;
    backdrop-filter: blur(6px); pointer-events: none; z-index: 2;
    min-width: 36px; text-align: center; line-height: 1;
}
.news-card-date-badge .ncdb-day { font-size: 1.1rem; font-weight: 800; display: block; }
.news-card-date-badge .ncdb-month { font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: 2px; }


/* ══════════════════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVENESS FIXES
══════════════════════════════════════════════════════ */

/* Kontakt / Song Upload / Newsletter form boxes */
@media (max-width: 600px) {
    .ktk-box, .su-box { padding: 20px 16px !important; }
    .ktk-row { grid-template-columns: 1fr !important; }
    .su-row { grid-template-columns: 1fr !important; }
    .ktk-select, .ktk-input, .upload-input { font-size: 1rem; }
    .ktk-step { font-size: 0.9rem; }
}

/* Player bar: hide volume on small screens */
@media (max-width: 380px) {
    #np-volume { display: none !important; }
    .np-more-btn { display: none !important; }
}

/* Chat widget: smaller on mobile */
@media (max-width: 480px) {
    #rmn-chat-widget { right: 10px; bottom: 120px; }
    #rmn-chat-panel { width: calc(100vw - 24px); right: -10px; }
    #rmn-chat-btn { width: 40px; height: 40px; }
}

/* Ads: ensure no overflow */
.rmn-ad { overflow: hidden; }
.rmn-ad-inner { overflow: hidden; }

/* News sub-grid: 1 col on mobile */
@media (max-width: 600px) {
    .news-sub-grid { grid-template-columns: 1fr !important; }
    .news-card { max-width: 100%; }
    .news-card-img { height: 200px; }
}

/* Hero images: proper sizing */
@media (max-width: 600px) {
    .hero-content { padding: 0 4px; }
}

/* Scroll top: ensure above player + chat */
@media (max-width: 600px) {
    .scroll-top { right: 12px; }
}

/* Timer popup: keep on screen on mobile */
@media (max-width: 480px) {
    #sleep-popup { left: 8px !important; right: 8px; min-width: unset; width: calc(100vw - 16px); }
}

/* Channel panel: ensure full width on small screens */
@media (max-width: 480px) {
    .channel-panel { border-radius: 16px 16px 0 0; }
    .channel-panel-header { padding: 10px 16px 4px; }
    .channel-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mini player in empfang.php */
@media (max-width: 480px) {
    #emp-artwork { width: 52px !important; min-width: 52px !important; height: 52px !important; }
}

/* Moderator profile on mobile */
@media (max-width: 640px) {
    .mod-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .mod-avatar { width: 100px !important; height: 100px !important; }
}

/* Events filter pills: scroll horizontally */
@media (max-width: 600px) {
    .ep-filter-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
    .ep-filter-bar::-webkit-scrollbar { display: none; }
    .ep-filter-btn { white-space: nowrap; flex-shrink: 0; }
}

/* News filter tabs */
@media (max-width: 600px) {
    .np-filter-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
    .np-filter-bar::-webkit-scrollbar { display: none; }
    .np-filter-btn { white-space: nowrap; flex-shrink: 0; }
}

/* Footer: better mobile padding */
@media (max-width: 480px) {
    .footer { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 140px); }
}

/* Buttons: full width on small screens in forms */
@media (max-width: 480px) {
    .hero-state-default { display: flex; flex-direction: column; }
    .btn-hero-play { flex: 1; justify-content: center; }
    .btn-hero-cast { position: relative; right: auto; bottom: auto; }
}

/* Table/grid overflow protection */
@media (max-width: 600px) {
    table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Auth modal — fullscreen on mobile like burger nav */
@media (max-width: 900px) {
    .auth-modal-overlay {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .auth-modal {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
        border: none;
        background: rgba(8,8,8,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: calc(72px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        animation: none !important;
    }
    .auth-modal.open {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
    }
    .auth-modal-close {
        position: fixed;
        top: calc(14px + env(safe-area-inset-top, 0px));
        right: 16px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #auth-modal-form, #auth-2fa-step {
        width: 100%;
        max-width: 360px;
    }
}