/**
 * FlatRadyo Broadcast & Chat Lounge UI - v9 Design System
 * Midnight Slate Lounge + Sunset Coral + Warm Amber Gold + Mint Live Pulse
 */
:root {
    --pt-bg: #0f1117;
    --pt-surface: #161922;
    --pt-card: #1d212e;
    --pt-border: rgba(255, 255, 255, 0.08);
    --pt-border-strong: rgba(255, 90, 95, 0.42);

    --pt-primary: #ff5a5f;
    --pt-primary-light: #ff7e82;
    --pt-primary-dark: #e03e44;
    --pt-primary-rgb: 255, 90, 95;

    --pt-gold: #f59e0b;
    --pt-mint: #22c55e;
    --pt-text: #f8fafc;
    --pt-sub: #cbd5e1;
    --pt-muted: #94a3b8;
    --pt-container: 1320px;
}

[data-pt-theme="amber"] {
    --pt-primary: #f59e0b;
    --pt-primary-light: #fbbf24;
    --pt-primary-dark: #d97706;
    --pt-primary-rgb: 245, 158, 11;
}
[data-pt-theme="amethyst"] {
    --pt-primary: #a855f7;
    --pt-primary-light: #c084fc;
    --pt-primary-dark: #7e22ce;
    --pt-primary-rgb: 168, 85, 247;
}
[data-pt-theme="emerald"] {
    --pt-primary: #10b981;
    --pt-primary-light: #34d399;
    --pt-primary-dark: #059669;
    --pt-primary-rgb: 16, 185, 129;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    background: var(--pt-bg);
    color: var(--pt-text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 86px;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.pt-lounge-aura {
    position: fixed; inset: 0; pointer-events: none; z-index: -1;
    background:
        radial-gradient(ellipse 68% 42% at 14% 0%, rgba(var(--pt-primary-rgb), 0.11), transparent 60%),
        radial-gradient(ellipse 52% 38% at 88% 8%, rgba(245, 158, 11, 0.08), transparent 58%);
}

/* Toast */
.pt-toast {
    position: fixed; top: 20px; right: 20px;
    background: rgba(22, 25, 34, 0.96); border: 1px solid var(--pt-border-strong); color: #fff;
    padding: 12px 18px; border-radius: 14px; display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 700; box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
    transform: translateY(-20px); opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 99999;
}
.pt-toast.show { transform: translateY(0); opacity: 1; }
.pt-toast i { color: var(--pt-primary-light); font-size: 15px; }

.pt-container { width: 100%; max-width: var(--pt-container); margin: 0 auto; padding: 0 24px; }
.pt-main { padding: 26px 0 44px 0; }
.pt-section { margin-bottom: 36px; }

/* Header */
.pt-header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(15, 17, 23, 0.9);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--pt-border);
}
.pt-nav-bar {
    max-width: var(--pt-container); margin: 0 auto; padding: 11px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.pt-nav-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pt-burger {
    display: none; width: 38px; height: 38px; border-radius: 11px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pt-border); color: #fff;
    font-size: 15px; cursor: pointer; align-items: center; justify-content: center;
}
.pt-brand { display: inline-flex; align-items: center; }
.pt-brand img { max-height: 32px; width: auto; }
.pt-topnav { display: flex; align-items: center; gap: 2px; }
.pt-topnav a { font-size: 13px; font-weight: 600; color: var(--pt-sub); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.pt-topnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.pt-topnav a.active { color: #fff; background: var(--pt-primary); font-weight: 800; }

.pt-nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pt-onair-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.36);
    padding: 6px 12px; border-radius: 999px; color: #86efac;
    font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.pt-live-dot, .pt-mint-dot, .pt-pulse-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--pt-mint);
    animation: ptPulse 1.4s infinite; display: inline-block; flex-shrink: 0;
}
.pt-pulse-dot { background: var(--pt-primary-light); }
@keyframes ptPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.pt-icon-pill {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pt-border);
    color: var(--pt-sub); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.pt-icon-pill:hover { border-color: var(--pt-primary); color: #fff; }
.pt-sid-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px;
    background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.36);
    color: #fbbf24; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.pt-auth-pill, .pt-user-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pt-border);
    color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pt-user-pill img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--pt-primary); }
.pt-chat-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px;
    background: linear-gradient(135deg, var(--pt-primary), var(--pt-primary-dark));
    color: #fff; font-size: 12.5px; font-weight: 800;
    box-shadow: 0 6px 20px rgba(var(--pt-primary-rgb), 0.28); white-space: nowrap;
}
.pt-chat-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* Mobile Drawer */
.pt-rail-overlay { display: none; position: fixed; inset: 0; background: rgba(7, 9, 14, 0.72); backdrop-filter: blur(4px); z-index: 1090; }
.pt-rail-overlay.open { display: block; }
.pt-rail {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: #141720;
    border-right: 1px solid var(--pt-border); padding: 18px 14px 24px 14px;
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto; z-index: 1100;
    transform: translateX(-100%); transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1);
}
.pt-rail.open { transform: translateX(0); }
.pt-rail-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--pt-border); margin-bottom: 8px; }
.pt-rail-brand { display: flex; align-items: center; gap: 8px; }
.pt-rail-brand img { max-height: 28px; }
.pt-brand-badge { font-size: 9px; font-weight: 800; color: var(--pt-primary-light); background: rgba(var(--pt-primary-rgb), 0.14); padding: 2px 8px; border-radius: 999px; }
.pt-rail-close { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid var(--pt-border); color: var(--pt-sub); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pt-rail-user-card { padding: 10px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); margin-bottom: 6px; }
.pt-rail-user-row { display: flex; align-items: center; gap: 10px; }
.pt-rail-user-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pt-primary); }
.pt-rail-user-meta strong { display: block; font-size: 13px; color: #fff; }
.pt-rail-user-meta span { font-size: 11px; font-weight: 700; display: block; }
.pt-rail-admin-pill { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: rgba(var(--pt-primary-rgb), 0.14); color: var(--pt-primary-light); font-size: 12px; font-weight: 700; margin-top: 8px; }
.pt-rail-admin-pill.is-danger { background: rgba(244, 63, 94, 0.14); color: #fda4af; }
.pt-rail-guest-links { display: flex; gap: 6px; }
.pt-rail-login-pill { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: linear-gradient(135deg, var(--pt-primary), var(--pt-primary-dark)); color: #fff; font-size: 12px; font-weight: 800; }
.pt-rail-staff-pill { width: 36px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--pt-border); color: var(--pt-sub); display: inline-flex; align-items: center; justify-content: center; }
.pt-rail-group { font-size: 10px; font-weight: 800; letter-spacing: 0.9px; color: var(--pt-muted); text-transform: uppercase; padding: 10px 10px 4px 10px; }
.pt-rail-nav { display: flex; flex-direction: column; gap: 2px; }
.pt-rail-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: var(--pt-sub); }
.pt-rail-link i { width: 18px; text-align: center; color: var(--pt-muted); }
.pt-rail-link.active { background: rgba(var(--pt-primary-rgb), 0.16); color: var(--pt-primary-light); }
.pt-rail-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--pt-border); }
.pt-theme-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--pt-muted); font-weight: 700; }
.pt-theme-pills { display: flex; gap: 6px; }
.pt-theme-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.28); cursor: pointer; padding: 0; }
.pt-theme-dot.coral { background: #ff5a5f; }
.pt-theme-dot.amber { background: #f59e0b; }
.pt-theme-dot.amethyst { background: #a855f7; }
.pt-theme-dot.emerald { background: #10b981; }

/* =====================================================================
   HERO: Broadcast Lounge Stage (Live Radio + Active Chat Rooms)
   ===================================================================== */
.pt-lounge-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 24px;
    margin-bottom: 40px;
    align-items: stretch;
}
.pt-lounge-left {
    background: linear-gradient(145deg, rgba(28, 32, 46, 0.95), rgba(20, 23, 33, 0.98));
    border: 1px solid var(--pt-border);
    border-radius: 26px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}
.pt-lounge-status-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-status-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pt-border);
    font-size: 11px; font-weight: 800; color: var(--pt-sub);
}
.pt-status-chip.is-online { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }
.pt-lounge-h1, .pt-hero-h1 {
    font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; line-height: 1.18; color: #fff;
}
.pt-lounge-h1 span, .pt-hero-h1 span { color: var(--pt-primary-light); }
.pt-lounge-lead { font-size: 14px; color: var(--pt-sub); line-height: 1.62; }

.pt-lounge-console {
    background: rgba(13, 15, 21, 0.72);
    border: 1px solid var(--pt-border-strong);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pt-console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pt-console-dj { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.pt-console-avatar { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.pt-console-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--pt-primary); }
.pt-avatar-live-ring { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--pt-mint); border: 2px solid #0d0f15; }
.pt-console-info { min-width: 0; flex: 1; }
.pt-console-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; color: var(--pt-primary-light); letter-spacing: 0.7px; }
.pt-console-info strong { display: block; font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-console-song { display: block; font-size: 12.5px; color: var(--pt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-console-listeners {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pt-border);
    font-size: 12px; font-weight: 700; color: var(--pt-sub); white-space: nowrap;
}
.pt-console-listeners i { color: var(--pt-gold); }
.pt-console-wave { background: rgba(255, 255, 255, 0.025); border-radius: 12px; padding: 4px 10px; border: 1px solid rgba(255,255,255,0.05); }
#ptHeroWaveCanvas { width: 100%; height: 40px; display: block; }
.pt-console-actions { display: flex; align-items: center; gap: 10px; }
.pt-console-actions .pt-btn-lg { flex: 1; padding: 12px 18px; font-size: 13.5px; }

.pt-lounge-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-btn-chat-hero {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #15803d); color: #fff;
    font-size: 13.5px; font-weight: 800; box-shadow: 0 8px 22px rgba(34, 197, 94, 0.28);
}
.pt-btn-chat-hero:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* Hero Right: Active Chat Rooms Panel */
.pt-lounge-right { display: flex; flex-direction: column; gap: 14px; }
.pt-rooms-panel {
    flex: 1; background: var(--pt-surface); border: 1px solid var(--pt-border);
    border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.pt-rooms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pt-rooms-kicker { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.9px; color: var(--pt-mint); }
.pt-rooms-head h2 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: #fff; }
.pt-rooms-list { display: flex; flex-direction: column; gap: 10px; }
.pt-room-card {
    display: flex; align-items: center; gap: 13px; padding: 12px 14px;
    border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--pt-border);
}
.pt-room-card:hover { border-color: rgba(34, 197, 94, 0.48); background: rgba(34, 197, 94, 0.07); transform: translateX(3px); }
.pt-room-thumb { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.pt-room-thumb img { width: 100%; height: 100%; border-radius: 13px; object-fit: cover; border: 1px solid var(--pt-border); }
.pt-room-ico-fallback { width: 100%; height: 100%; border-radius: 13px; background: rgba(var(--pt-primary-rgb), 0.16); color: var(--pt-primary-light); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pt-room-online-dot { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--pt-mint); border: 2px solid var(--pt-surface); }
.pt-room-meta { min-width: 0; flex: 1; }
.pt-room-meta strong { display: block; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-room-meta span { display: block; font-size: 11.5px; color: var(--pt-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-room-enter { font-size: 12px; font-weight: 800; color: #86efac; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }

.pt-lounge-metrics {
    margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--pt-border);
}
.pt-lounge-metrics > div { text-align: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,0.03); }
.pt-lounge-metrics strong { display: block; font-size: 16px; font-weight: 900; color: #fff; }
.pt-lounge-metrics span { font-size: 10.5px; color: var(--pt-muted); font-weight: 600; }

.pt-lounge-notices { display: flex; flex-direction: column; gap: 8px; }
.pt-notice-pill {
    display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 15px;
    background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.28);
    font-size: 12.5px; font-weight: 600; color: #fde68a;
}
.pt-notice-pill span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Section Headers & Buttons */
.pt-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pt-section-tag { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--pt-primary-light); margin-bottom: 3px; }
.pt-section-head h2 { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 9px; }
.pt-section-head h2 i { color: var(--pt-primary-light); font-size: 18px; }
.pt-link-accent { font-size: 12.5px; font-weight: 700; color: var(--pt-primary-light); }

.pt-btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: none;
    background: linear-gradient(135deg, var(--pt-primary), var(--pt-primary-dark));
    color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
.pt-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.pt-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 15px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pt-border);
    color: var(--pt-sub); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.pt-btn-outline:hover { border-color: var(--pt-primary); color: #fff; background: rgba(var(--pt-primary-rgb), 0.14); }
.pt-btn-gold {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #d97706); color: #16110a; font-size: 13px; font-weight: 800;
}

/* Panels & Tabs */
.pt-panel { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: 24px; padding: 24px; }
.pt-head-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-input-inline { background: rgba(255,255,255,0.05); border: 1px solid var(--pt-border); border-radius: 999px; padding: 8px 15px; font-size: 12.5px; color: #fff; outline: none; min-width: 200px; }
.pt-input-inline:focus { border-color: var(--pt-primary); }
.pt-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.pt-tab-btn { padding: 7px 15px; border-radius: 999px; border: 1px solid var(--pt-border); background: rgba(255,255,255,0.03); color: var(--pt-muted); font-size: 12.5px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pt-tab-btn.active { background: var(--pt-primary); border-color: var(--pt-primary); color: #fff; }
.pt-tab-link-end { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--pt-primary-light); display: inline-flex; align-items: center; gap: 5px; }
.pt-tab-pane { display: none; }
.pt-tab-pane.active { display: block; }
.pt-tabs-scope { width: 100%; }

/* Section 1: SID Radio Station Visual Grid */
.pt-station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pt-station-card {
    display: flex; align-items: center; gap: 13px; padding: 14px;
    border-radius: 18px; background: var(--pt-card); border: 1px solid var(--pt-border);
}
.pt-station-card:hover { transform: translateY(-2px); border-color: var(--pt-border-strong); }
.pt-station-card img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; border: 1px solid var(--pt-border); flex-shrink: 0; }
.pt-station-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pt-station-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt-station-top strong { font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-station-genre { font-size: 11.5px; color: var(--pt-muted); }
.pt-station-now { font-size: 11px; color: var(--pt-primary-light); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.pt-badge-pill { font-size: 9.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.pt-badge-live { background: rgba(34, 197, 94, 0.16); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.35); }
.pt-badge-list { background: rgba(255, 255, 255, 0.08); color: var(--pt-sub); }
.pt-empty-state { padding: 28px; text-align: center; color: var(--pt-muted); font-size: 13px; }

/* Section 2: DJ Lounge Cards */
.pt-dj-lounge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pt-dj-lounge-card {
    background: var(--pt-card); border: 1px solid var(--pt-border); border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
}
.pt-dj-lounge-card:hover { transform: translateY(-4px); border-color: var(--pt-border-strong); }
/* Section 2: DJ Lounge Cards (Rich Studio Portraits) */
.pt-dj-lounge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pt-dj-lounge-card {
    background: linear-gradient(160deg, rgba(29, 33, 46, 0.96), rgba(20, 23, 33, 0.98));
    border: 1px solid var(--pt-border); border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.pt-dj-lounge-card:hover { transform: translateY(-4px); border-color: var(--pt-border-strong); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42); }
.pt-dj-lounge-img { position: relative; padding-top: 78%; background: #12151e; overflow: hidden; }
.pt-dj-lounge-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 0.35s ease; }
.pt-dj-lounge-card:hover .pt-dj-lounge-img img { transform: scale(1.05); }
.pt-dj-img-fade { position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to top, rgba(16, 19, 27, 0.95), transparent); pointer-events: none; }
.pt-dj-sched-pill {
    position: absolute; bottom: 10px; left: 10px; right: 10px;
    background: rgba(15, 17, 23, 0.85); backdrop-filter: blur(8px);
    border: 1px solid var(--pt-border); border-radius: 999px;
    padding: 4px 10px; font-size: 10.5px; font-weight: 700; color: var(--pt-sub);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-dj-lounge-info { padding: 14px 16px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pt-dj-lounge-info strong { display: block; font-size: 15.5px; font-weight: 800; color: #fff; }
.pt-dj-show-name { display: block; font-size: 12px; font-weight: 700; color: var(--pt-primary-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-dj-bio { font-size: 12px; color: var(--pt-muted); line-height: 1.5; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-dj-card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--pt-muted); }

/* Section 3: Releases + Top 5 */
.pt-music-hub { display: grid; grid-template-columns: 1.6fr 0.85fr; gap: 22px; align-items: start; }
.pt-releases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.pt-release-tile { background: var(--pt-card); border: 1px solid var(--pt-border); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; }
.pt-release-tile:hover { transform: translateY(-3px); border-color: var(--pt-border-strong); }
.pt-release-cover { position: relative; padding-top: 100%; border-radius: 13px; overflow: hidden; background: #12151e; }
.pt-release-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.pt-release-tile:hover .pt-release-cover img { transform: scale(1.05); }
.pt-release-float-play {
    position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; border: none;
    background: var(--pt-primary); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,0.55);
}
.pt-release-info { padding: 10px 4px 2px 4px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pt-release-info h3 { font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-release-info span { font-size: 12px; color: var(--pt-primary-light); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-rel-meta-row { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--pt-muted); }
.pt-rel-quick-btn { background: rgba(255,255,255,0.06); border: 1px solid var(--pt-border); color: var(--pt-sub); font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; cursor: pointer; }
.pt-rel-quick-btn:hover { border-color: var(--pt-primary); color: #fff; background: rgba(var(--pt-primary-rgb), 0.16); }

.pt-top5-list { display: flex; flex-direction: column; gap: 10px; }
.pt-top5-row { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.pt-top5-row.is-top1 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(255, 90, 95, 0.08)); border-color: rgba(245, 158, 11, 0.35); }
.pt-top5-rank { width: 28px; height: 28px; border-radius: 9px; background: rgba(var(--pt-primary-rgb), 0.16); color: var(--pt-primary-light); font-weight: 900; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pt-top5-row.is-top1 .pt-top5-rank { background: var(--pt-gold); color: #16110a; }
.pt-top5-meta { min-width: 0; flex: 1; }
.pt-top5-meta strong { display: block; font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-top5-meta span { font-size: 11.5px; color: var(--pt-muted); display: block; }

/* Section 5: Visual News Magazine */
.pt-news-magazine { display: grid; grid-template-columns: 1.05fr 1.05fr; gap: 20px; align-items: stretch; }
.pt-news-feature-card {
    background: var(--pt-card); border: 1px solid var(--pt-border); border-radius: 22px; overflow: hidden;
    display: flex; flex-direction: column; transition: border-color 0.2s ease, transform 0.2s ease;
}
.pt-news-feature-card:hover { border-color: var(--pt-border-strong); transform: translateY(-2px); }
.pt-news-feature-img { position: relative; height: 290px; background: #12151e; overflow: hidden; }
.pt-news-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.pt-news-feature-card:hover .pt-news-feature-img img { transform: scale(1.04); }
.pt-news-feature-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pt-news-feature-body h3 { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 800; color: #fff; line-height: 1.28; }
.pt-news-feature-body p { font-size: 13.5px; color: var(--pt-sub); line-height: 1.62; }
.pt-news-cards-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Section 6: Poetry Salon & Articles */
.pt-poetry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pt-poem-lounge-card {
    background: linear-gradient(155deg, rgba(255, 90, 95, 0.08), rgba(29, 33, 46, 0.96));
    border: 1px solid rgba(var(--pt-primary-rgb), 0.26); border-radius: 22px; padding: 24px;
    display: flex; flex-direction: column;
}
.pt-poem-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pt-poem-tag { font-size: 10px; font-weight: 800; color: var(--pt-primary-light); background: rgba(var(--pt-primary-rgb), 0.14); border: 1px solid rgba(var(--pt-primary-rgb), 0.32); padding: 3px 10px; border-radius: 999px; letter-spacing: 0.7px; }
.pt-poem-quote-mark { font-family: 'Playfair Display', Georgia, serif; font-size: 38px; line-height: 1; color: rgba(var(--pt-primary-rgb), 0.38); }
.pt-poem-lounge-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.pt-poem-lounge-card blockquote { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 14.5px; line-height: 1.75; color: var(--pt-sub); padding-left: 14px; border-left: 2px solid var(--pt-primary); margin-bottom: 18px; }
.pt-poem-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--pt-muted); font-weight: 700; }

.pt-article-card { height: 100%; }
.pt-article-author-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pt-article-author-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--pt-border-strong); flex-shrink: 0; }
.pt-article-author-row strong { display: block; font-size: 12.5px; color: #fff; }
.pt-article-author-row small { font-size: 11px; color: var(--pt-muted); }

/* Section 5: VIP Banner */
.pt-vip-wide-banner {
    background: linear-gradient(125deg, rgba(245, 158, 11, 0.14), rgba(var(--pt-primary-rgb), 0.08), rgba(22, 25, 34, 0.96));
    border: 1px solid rgba(245, 158, 11, 0.34); border-radius: 24px; padding: 28px;
    display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 24px; align-items: center;
}
.pt-vip-wide-left, .pt-vip-wide-right { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.pt-vip-wide-right { background: rgba(15, 17, 23, 0.68); border: 1px solid var(--pt-border); border-radius: 18px; padding: 20px; width: 100%; }
.pt-vip-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.9px; color: var(--pt-gold); display: inline-flex; align-items: center; gap: 6px; }
.pt-vip-wide-left h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.pt-vip-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 2px 0; }
.pt-vip-chips span { font-size: 11.5px; font-weight: 700; color: #fde68a; background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.25); padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.pt-vip-wide-right h3 { font-size: 16px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 7px; }
.pt-vip-wide-right p { font-size: 12.5px; color: var(--pt-sub); }
.pt-newsletter-inline { display: flex; gap: 8px; width: 100%; }
.pt-newsletter-inline .pt-input { flex: 1; }

/* Sub-Pages Shared Cards, Forms, Details, Comments, Ads */
.pt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pt-card { background: var(--pt-card); border: 1px solid var(--pt-border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.pt-card:hover { transform: translateY(-3px); border-color: var(--pt-border-strong); }
.pt-card-thumb { position: relative; padding-top: 58%; background: #12151e; overflow: hidden; cursor: pointer; }
.pt-card-thumb.square { padding-top: 100%; }
.pt-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-card-badge { position: absolute; top: 10px; left: 10px; background: rgba(15,17,23,0.85); border: 1px solid var(--pt-border-strong); color: var(--pt-primary-light); font-size: 9.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.pt-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15,17,23,0.34); font-size: 38px; color: var(--pt-primary-light); }
.pt-card-body { padding: 15px 16px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.pt-card-body h3 { font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-card-body p { font-size: 12.5px; color: var(--pt-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--pt-muted); }
.pt-read-more { color: var(--pt-primary-light); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.pt-radio-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 15px; background: var(--pt-card); border: 1px solid var(--pt-border); }
.pt-radio-row:hover { border-color: var(--pt-border-strong); }

.pt-ad-slot { margin: 18px 0; text-align: center; background: rgba(255,255,255,0.02); border: 1px dashed var(--pt-border); border-radius: 16px; padding: 14px; overflow: hidden; }
.pt-ad-label { font-size: 9px; letter-spacing: 1px; color: var(--pt-muted); margin-bottom: 6px; font-weight: 800; }
.pt-input, .pt-select, .pt-textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); border-radius: 12px; padding: 10px 14px; color: #fff; font-family: inherit; font-size: 13px; outline: none; }
.pt-input:focus, .pt-select:focus, .pt-textarea:focus { border-color: var(--pt-primary); }
.pt-select option { background: #161922; color: #fff; }
.pt-form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pt-muted { color: var(--pt-muted); font-size: 12.5px; }
.pt-count-badge { font-size: 12px; font-weight: 700; color: var(--pt-primary-light); background: rgba(var(--pt-primary-rgb), 0.14); padding: 4px 12px; border-radius: 999px; }
.pt-breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--pt-muted); margin-bottom: 18px; }
.pt-breadcrumb a:hover { color: var(--pt-primary-light); }
.pt-detail-shell { max-width: 920px; margin: 0 auto; }
.pt-detail-title { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: #fff; line-height: 1.24; margin-bottom: 12px; }
.pt-detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--pt-muted); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--pt-border); }
.pt-detail-hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 18px; margin-bottom: 22px; border: 1px solid var(--pt-border); }
.pt-prose { font-size: 15px; line-height: 1.85; color: var(--pt-sub); }
.pt-prose p { margin-bottom: 16px; }
.pt-prose img { border-radius: 14px; margin: 16px auto; }
.pt-prose a { color: var(--pt-primary-light); text-decoration: underline; }
.pt-reactions-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; padding: 15px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--pt-border); }
.pt-react-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); color: var(--pt-sub); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pt-react-btn.active, .pt-react-btn:hover { border-color: var(--pt-primary); background: rgba(var(--pt-primary-rgb), 0.16); color: #fff; }
.pt-comments-box { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--pt-border); }
.pt-comment-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.pt-comment-list { display: flex; flex-direction: column; gap: 10px; }
.pt-comment-item { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--pt-border); }
.pt-comment-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; color: var(--pt-muted); }
.pt-comment-top strong { color: var(--pt-primary-light); }
.pt-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.pt-page-link { padding: 8px 14px; border-radius: 10px; background: var(--pt-card); border: 1px solid var(--pt-border); font-size: 13px; font-weight: 700; color: var(--pt-sub); }
.pt-page-link.active, .pt-page-link:hover { background: var(--pt-primary); border-color: var(--pt-primary); color: #fff; }

/* Premium Studio Glass Modals */
.pt-modal-backdrop { position: fixed; inset: 0; background: rgba(7, 9, 14, 0.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 18px; z-index: 99999; }
.pt-modal-backdrop.open { display: flex; animation: ptModalIn 0.2s ease-out; }
@keyframes ptModalIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
.pt-modal-card { width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; background: linear-gradient(160deg, #1d212e, #141720); border: 1px solid rgba(255,255,255,0.12); border-radius: 24px; padding: 28px; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,0.88); }
.pt-modal-glow-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--pt-primary), var(--pt-gold)); }
.pt-modal-glow-bar.is-poem { background: linear-gradient(90deg, #f43f5e, #a855f7, #f59e0b); }
.pt-video-modal { max-width: 920px; padding: 0; overflow: hidden; }
.pt-video-modal-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #10131b; border-bottom: 1px solid var(--pt-border); font-size: 11.5px; font-weight: 800; letter-spacing: 0.7px; color: var(--pt-primary-light); }
.pt-video-modal-bar .pt-modal-close { position: static; width: 30px; height: 30px; }
.pt-modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.18s; }
.pt-modal-close:hover { background: var(--pt-primary); }
.pt-ratio-16x9 { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; }
.pt-video-modal .pt-ratio-16x9 { border-radius: 0; }
.pt-ratio-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pt-modal-head { margin-bottom: 18px; padding-right: 34px; }
.pt-modal-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.8px; color: var(--pt-primary-light); text-transform: uppercase; margin-bottom: 5px; }
.pt-modal-head h3, .pt-poem-modal-bar h3, .pt-rel-modal-top h3 { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.pt-modal-head p { font-size: 13px; color: var(--pt-muted); }
.pt-modal-form { display: flex; flex-direction: column; gap: 10px; }
.pt-modal-form label { font-size: 12px; font-weight: 700; color: var(--pt-sub); }
.pt-modal-form input { width: 100%; padding: 12px 15px; border-radius: 13px; background: rgba(255,255,255,0.05); border: 1px solid var(--pt-border); color: #fff; font-size: 14px; outline: none; }
.pt-modal-form input:focus { border-color: var(--pt-primary); background: rgba(255,255,255,0.08); }
.pt-modal-foot-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--pt-border); }
.pt-modal-foot-links a { font-size: 12.5px; font-weight: 700; color: var(--pt-primary-light); display: inline-flex; align-items: center; gap: 5px; }

.pt-search-modal { max-width: 620px; }
.pt-modal-search-bar { display: flex; gap: 10px; }
.pt-search-input-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.pt-search-input-wrap i { position: absolute; left: 16px; color: var(--pt-muted); font-size: 14px; pointer-events: none; }
.pt-modal-search-bar input { width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--pt-border); color: #fff; font-size: 14px; outline: none; }
.pt-modal-search-bar input:focus { border-color: var(--pt-primary); }
.pt-search-quick-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pt-search-quick-tags a { font-size: 12px; font-weight: 600; color: var(--pt-sub); padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--pt-border); display: inline-flex; align-items: center; gap: 6px; }
.pt-search-quick-tags a:hover { border-color: var(--pt-primary); color: #fff; }

.pt-sid-modal { max-width: 520px; }
.pt-sid-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pt-sid-steps span { font-size: 12px; color: var(--pt-sub); background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); padding: 8px 12px; border-radius: 12px; display: flex; align-items: center; gap: 8px; }
.pt-sid-steps strong { width: 20px; height: 20px; border-radius: 50%; background: var(--pt-primary); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.pt-release-modal { max-width: 780px; }
.pt-rel-modal-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; padding-right: 30px; }
.pt-rel-modal-top img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; border: 1px solid var(--pt-border-strong); box-shadow: 0 12px 28px rgba(0,0,0,0.45); flex-shrink: 0; }
.pt-rel-modal-info { flex: 1; min-width: 0; }
.pt-rel-modal-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pt-lyrics-panel { margin-top: 18px; border-radius: 16px; border: 1px solid var(--pt-border); background: rgba(255,255,255,0.025); overflow: hidden; }
.pt-lyrics-head { padding: 10px 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.8px; color: var(--pt-primary-light); border-bottom: 1px solid var(--pt-border); background: rgba(255,255,255,0.03); }
.pt-rel-lyrics-box { max-height: 230px; overflow-y: auto; padding: 16px; font-size: 13.5px; line-height: 1.78; color: var(--pt-sub); white-space: pre-line; }

.pt-poem-modal { max-width: 680px; }
.pt-poem-modal-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-right: 38px; margin-bottom: 16px; }
.pt-poem-font-tools { display: flex; gap: 6px; }
.pt-poem-font-tools button { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--pt-border); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.pt-poem-font-tools button:hover { border-color: var(--pt-primary); }
.pt-poem-modal-body { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; line-height: 1.9; color: #f8fafc; white-space: pre-line; padding: 22px; border-radius: 18px; background: rgba(var(--pt-primary-rgb), 0.06); border: 1px solid rgba(var(--pt-primary-rgb), 0.22); max-height: 52vh; overflow-y: auto; }

/* Footer & Bottom Persistent Player */
.pt-footer { margin-top: 36px; background: #0a0c10; border-top: 1px solid var(--pt-border); padding: 42px 0 28px 0; }
.pt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--pt-border); }
.pt-footer-brand img { max-height: 34px; margin-bottom: 12px; }
.pt-footer-brand p { font-size: 12.5px; color: var(--pt-muted); line-height: 1.6; }
.pt-socials { display: flex; gap: 8px; margin-top: 14px; }
.pt-socials a { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--pt-border); display: inline-flex; align-items: center; justify-content: center; color: var(--pt-sub); }
.pt-footer-col h3 { font-size: 12px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 12px; }
.pt-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pt-footer-col a { font-size: 12.5px; color: var(--pt-muted); }
.pt-footer-col a:hover { color: var(--pt-primary-light); }
.pt-footer-bottom { padding-top: 16px; display: flex; justify-content: space-between; font-size: 12px; color: var(--pt-muted); flex-wrap: wrap; gap: 10px; }
.pt-footer-xml { display: inline-flex; align-items: center; gap: 5px; color: var(--pt-primary-light); font-weight: 700; }

.pt-player-bar {
    position: fixed; bottom: 0; left: 0; right: 0; height: 76px;
    background: rgba(15, 17, 23, 0.96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid var(--pt-border); padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; z-index: 9999;
}
.pt-player-laser { position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--pt-primary), var(--pt-gold), transparent); }
.pt-player-left { display: flex; align-items: center; gap: 12px; width: 34%; min-width: 240px; }
.pt-vinyl-wrap { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, #2a2f3e 22%, #13161f 26%, #202432 60%, #0d0f15 100%); border: 2px solid var(--pt-border); position: relative; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pt-vinyl-wrap.spinning { animation: ptSpin 5s linear infinite; border-color: var(--pt-primary); }
@keyframes ptSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pt-vinyl-art { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s; }
.pt-vinyl-art.loaded { opacity: 0.92; }
.pt-vinyl-hole { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--pt-primary); border: 2px solid #0f1117; }
.pt-play-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--pt-primary), var(--pt-primary-dark)); color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.pt-play-btn.playing { background: linear-gradient(135deg, #22c55e, #15803d); }
.pt-player-meta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pt-player-badges { display: flex; align-items: center; gap: 5px; }
.pt-dj-badge { background: rgba(255,255,255,0.08); font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #fff; white-space: nowrap; }
.pt-mode-badge { background: rgba(var(--pt-primary-rgb), 0.16); color: var(--pt-primary-light); font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.pt-hd-badge { background: rgba(245, 158, 11, 0.16); color: #fbbf24; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 6px; }
.pt-song-bar { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); border-radius: 999px; padding: 2px 9px; height: 23px; min-width: 0; }
.pt-song-bar i { font-size: 10px; color: var(--pt-primary-light); flex-shrink: 0; }
.pt-song-viewport { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.pt-song-text { font-size: 11.5px; font-weight: 600; color: var(--pt-sub); display: block; overflow: hidden; text-overflow: ellipsis; }
.pt-copy-btn { background: transparent; border: none; color: var(--pt-muted); cursor: pointer; font-size: 11px; flex-shrink: 0; }
.pt-player-center { width: 32%; display: flex; justify-content: center; }
.pt-visualizer-box { width: 100%; max-width: 340px; height: 42px; background: rgba(255,255,255,0.025); border: 1px solid var(--pt-border); border-radius: 12px; padding: 2px 8px; }
.pt-visualizer-box canvas { width: 100%; height: 100%; display: block; }
.pt-player-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 30%; }
.pt-listeners-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pt-listeners-pill i { color: var(--pt-gold); }
.pt-tool-btn { width: 33px; height: 33px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--pt-border); color: var(--pt-sub); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pt-volume-box { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.04); border: 1px solid var(--pt-border); padding: 5px 10px; border-radius: 999px; }
.pt-volume-box i { font-size: 12px; color: var(--pt-muted); cursor: pointer; }
.pt-volume-slider { width: 68px; accent-color: var(--pt-primary); cursor: pointer; }

.pt-history-pop { position: fixed; bottom: 86px; right: 22px; width: 310px; background: rgba(22, 25, 34, 0.98); border: 1px solid var(--pt-border); border-radius: 18px; padding: 14px; display: none; flex-direction: column; gap: 8px; z-index: 10000; }
.pt-history-pop.open { display: flex; }
.pt-history-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 800; padding-bottom: 8px; border-bottom: 1px solid var(--pt-border); }
.pt-history-head button { background: transparent; border: none; color: var(--pt-muted); cursor: pointer; }
.pt-history-list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.pt-history-item { font-size: 11.5px; color: var(--pt-sub); padding: 7px 10px; background: rgba(255,255,255,0.03); border-radius: 9px; display: flex; align-items: center; gap: 7px; }

/* Responsive Breakpoints */
@media (max-width: 1140px) {
    .pt-topnav { display: none; }
    .pt-burger { display: inline-flex; }
    .pt-lounge-hero, .pt-music-hub, .pt-news-magazine, .pt-vip-wide-banner { grid-template-columns: 1fr; }
    .pt-station-grid, .pt-dj-lounge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .pt-releases-grid, .pt-grid-3, .pt-grid-4, .pt-poetry-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-player-center { display: none; }
    .pt-player-left { flex: 1 1 0%; width: auto; min-width: 0; }
    .pt-player-right { flex: 0 0 auto; width: auto; }
}
@media (max-width: 640px) {
    body { padding-bottom: 72px; }
    .pt-container, .pt-nav-bar { padding-left: 12px; padding-right: 12px; }
    .pt-nav-bar { padding-top: 9px; padding-bottom: 9px; gap: 8px; }
    .pt-nav-left { gap: 8px; }
    .pt-brand img { max-height: 26px; max-width: 105px; object-fit: contain; }
    .pt-nav-right { gap: 6px; }
    .pt-burger, .pt-icon-pill, .pt-sid-pill, .pt-auth-pill, .pt-user-pill, .pt-chat-btn {
        width: 34px; height: 34px; padding: 0; justify-content: center; flex-shrink: 0;
    }
    .pt-desktop-only, .pt-vinyl-wrap, .pt-hd-badge, .pt-volume-box { display: none; }
    .pt-sid-pill span, .pt-auth-pill span, .pt-user-pill span, .pt-chat-btn span { display: none; }
    .pt-lounge-left { padding: 20px; }
    .pt-lounge-h1, .pt-hero-h1 { font-size: 24px; }
    .pt-station-grid, .pt-dj-lounge-grid, .pt-releases-grid, .pt-news-cards-2x2, .pt-poetry-grid, .pt-grid-2, .pt-grid-3, .pt-grid-4, .pt-form-grid-2, .pt-footer-grid, .pt-sid-steps { grid-template-columns: 1fr; }
    .pt-newsletter-inline, .pt-rel-modal-top, .pt-modal-search-bar { flex-direction: column; align-items: stretch; }
    .pt-player-bar { height: 62px; padding: 0 12px; gap: 8px; }
    .pt-play-btn { width: 38px; height: 38px; font-size: 13px; }
    .pt-listeners-pill { font-size: 10.5px; padding: 4px 8px; }
    .pt-history-pop { left: 10px; right: 10px; width: auto; bottom: 70px; }
}
