:root {
    --bg-color: #080c14;
    --panel-bg: rgba(13, 20, 35, 0.65);
    --card-bg: rgba(20, 30, 55, 0.45);
    --card-hover-bg: rgba(28, 41, 74, 0.7);
    --border-color: rgba(255, 255, 255, 0.07);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Section theme colors */
    --vip-color: #eab308;
    --vip-glow: rgba(234, 179, 8, 0.2);
    --vip-card-border: rgba(234, 179, 8, 0.15);
    
    --premium-color: #a855f7;
    --premium-glow: rgba(168, 85, 247, 0.2);
    --premium-card-border: rgba(168, 85, 247, 0.15);
    
    --god-color: #f43f5e;
    --god-glow: rgba(244, 63, 94, 0.2);
    --god-card-border: rgba(244, 63, 94, 0.15);
    
    --success-color: #10b981;
    --button-hover: #1e293b;
    
    /* Player specific colors */
    --player-bg: rgba(10, 16, 30, 0.9);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 10% 10%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(234, 179, 8, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 90%, rgba(244, 63, 94, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 240px; /* Spacing so body content isn't covered by bottom drawer or player */
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Container & Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Header Brand Section Styling */
.brand-section {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.brand-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-section:hover .brand-logo-container {
    transform: scale(1.06) rotate(4deg);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    background: rgba(168, 85, 247, 0.12);
}

.brand-logo-icon {
    filter: drop-shadow(0 2px 6px rgba(168, 85, 247, 0.25));
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 40%, #a8a29e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1.15;
}

.cache-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.22rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    width: fit-content;
}

.cache-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.badge-dot.refreshing {
    background-color: var(--vip-color);
    box-shadow: 0 0 8px var(--vip-color);
    animation: pulse 1.5s infinite ease-in-out;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Button Styling */
.btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn:hover {
    background-color: var(--button-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(1px);
}

.btn-refresh {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-refresh:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

/* Sections Grid */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .sections-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Show Columns */
.show-column {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 400px;
    transition: box-shadow 0.3s ease;
}

.show-column.vip-theme {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.show-column.vip-theme:hover {
    box-shadow: 0 10px 40px var(--vip-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.show-column.premium-theme {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.show-column.premium-theme:hover {
    box-shadow: 0 10px 40px var(--premium-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.show-column.god-theme {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.show-column.god-theme:hover {
    box-shadow: 0 10px 40px var(--god-glow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.column-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.column-icon {
    font-size: 1.5rem;
}

.column-title {
    font-size: 1.35rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

.vip-theme .column-title { color: var(--vip-color); }
.premium-theme .column-title { color: var(--premium-color); }
.god-theme .column-title { color: var(--god-color); }

.column-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.column-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.select-toggle {
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    border: none;
    background: none;
    font-weight: 600;
}

.select-toggle:hover {
    color: var(--text-primary);
}

.year-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.year-select:hover, .year-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

.year-select option {
    background: #0f172a;
    color: var(--text-primary);
}

/* Show List & Cards */
.show-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 580px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom Scrollbar for columns */
.show-list::-webkit-scrollbar {
    width: 5px;
}
.show-list::-webkit-scrollbar-track {
    background: transparent;
}
.show-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
}
.show-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.show-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    position: relative;
    transition: all 0.2s ease;
    user-select: none;
}

.show-card:hover {
    background-color: var(--card-hover-bg);
    transform: translateY(-1.5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.show-card.selected {
    background-color: rgba(59, 130, 246, 0.06);
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.05);
}

/* Border highlights based on sections when selected */
.vip-theme .show-card.selected {
    border-color: var(--vip-color);
    background-color: rgba(234, 179, 8, 0.05);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.08);
}

.premium-theme .show-card.selected {
    border-color: var(--premium-color);
    background-color: rgba(168, 85, 247, 0.05);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.08);
}

.god-theme .show-card.selected {
    border-color: var(--god-color);
    background-color: rgba(244, 63, 94, 0.05);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.08);
}

.card-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.card-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background-color: rgba(255, 255, 255, 0.05);
}

.show-card.selected .card-checkbox {
    border-color: transparent;
}

.vip-theme .show-card.selected .card-checkbox { background-color: var(--vip-color); }
.premium-theme .show-card.selected .card-checkbox { background-color: var(--premium-color); }
.god-theme .show-card.selected .card-checkbox { background-color: var(--god-color); }

.card-checkbox::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.show-card.selected .card-checkbox::after {
    opacity: 1;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    word-break: break-word;
}

.card-meta {
    display: flex;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.empty-state {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem 1rem;
    font-size: 0.9rem;
    border: 2px dashed rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* Floating Selection Drawer */
.drawer-container {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(200px); /* Pushed completely out of bounds */
    opacity: 0;
    pointer-events: none;
    width: calc(100% - 4rem);
    max-width: 880px;
    background: rgba(13, 20, 37, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(24px);
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.drawer-container.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Adjust drawer position upwards when the audio player is also active */
body.player-active .drawer-container {
    bottom: 8.5rem; /* Shipped higher to sit beautifully above the floating media player */
}

.drawer-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-count {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
}

.drawer-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.drawer-actions {
    display: flex;
    gap: 1.25rem;
}

/* Dialog/Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 7, 13, 0.85);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background-color: #0c1220;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-title {
    font-size: 1.5rem;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.15s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: -0.75rem;
}

/* Keyboard Shortcut Keycaps & Directory Styling */
kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: 'Outfit', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    transition: transform 0.1s ease, border-bottom-width 0.1s ease;
}

kbd:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
}

kbd.active-press {
    transform: translateY(2px) !important;
    border-bottom-width: 1px !important;
    background: rgba(192, 132, 252, 0.2) !important;
    border-color: rgba(192, 132, 252, 0.4) !important;
    color: #c084fc !important;
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.5) !important;
}

.shortcut-category {
    margin-bottom: 0.5rem;
}

.shortcut-category h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 40vh;
    padding-right: 4px;
}

/* Scrollbar inside modal */
.links-container::-webkit-scrollbar {
    width: 5px;
}
.links-container::-webkit-scrollbar-track {
    background: transparent;
}
.links-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
}

.link-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.link-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow: hidden;
    width: 100%;
}

.link-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-url {
    font-size: 0.75rem;
    color: #3b82f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: monospace;
}

.btn-icon-only {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}

.btn-icon-only:hover {
    background-color: var(--button-hover);
    color: #ffffff;
}

.btn-icon-only.copied {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: var(--success-color);
    color: var(--success-color);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* PREMIUM STREAMING AUDIO PLAYER STYLING */
.audio-player-tray {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(180%);
    width: calc(100% - 4rem);
    max-width: 1450px;
    background: var(--player-bg);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    z-index: 99;
    padding: 0.9rem 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.audio-player-tray.active {
    transform: translateX(-50%) translateY(0);
}

/* Glowing Player Theme Variations */
.audio-player-tray.theme-vip {
    border-color: var(--vip-color);
    box-shadow: 0 10px 35px rgba(234, 179, 8, 0.15);
}
.audio-player-tray.theme-premium {
    border-color: var(--premium-color);
    box-shadow: 0 10px 35px rgba(168, 85, 247, 0.15);
}
.audio-player-tray.theme-god {
    border-color: var(--god-color);
    box-shadow: 0 10px 35px rgba(244, 63, 94, 0.15);
}

.player-inner {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 900px) {
    .player-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}

/* Track Metadata */
.player-metadata {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow: hidden;
}

.player-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-subtitle-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.player-badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.player-badge.vip { background-color: var(--vip-color); color: #000; }
.player-badge.premium { background-color: var(--premium-color); color: #fff; }
.player-badge.god { background-color: var(--god-color); color: #fff; }

.player-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Main Controls & Progress */
.player-center {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

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

.btn-player-action {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.btn-player-action:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-player-action:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-player-play {
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    color: #080c14;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

.btn-player-play:hover {
    background-color: #f1f5f9;
    color: #000000;
    transform: scale(1.05);
}

/* Progress Timeline */
.player-timeline-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.player-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    min-width: 35px;
    font-family: monospace;
}

.timeline-slider-wrapper {
    position: relative;
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#waveform-canvas {
    display: none;
}

.timeline-slider-wrapper.waveform-mode {
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.timeline-slider-wrapper.waveform-mode #waveform-canvas {
    display: block;
}

.timeline-slider-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.timeline-slider-wrapper.waveform-mode:hover {
    background: transparent;
    border: none;
}

.timeline-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: var(--text-primary);
    transition: width 0.1s linear;
}

/* Playhead red circle thumbstick on standard progress bar */
.timeline-progress-bar::after {
    content: '';
    position: absolute;
    right: -6px; /* Centered over the right edge */
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 12px;
    height: 12px;
    background-color: #ff3333; /* Vibrant red */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.9), 0 0 3px rgba(0, 0, 0, 0.6);
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
}

/* Micro-animation: Enlarge playhead thumb stick on timeline hover */
.timeline-slider-wrapper:hover .timeline-progress-bar::after {
    transform: translateY(-50%) scale(1.3);
    background-color: #ff1a1a;
    box-shadow: 0 0 14px rgba(255, 26, 26, 1), 0 0 4px rgba(0, 0, 0, 0.7);
}


.timeline-slider-wrapper.waveform-mode .timeline-progress-bar {
    display: none !important;
}

.timeline-slider-wrapper.waveform-mode .timeline-segment-marker {
    display: none !important;
}

/* Glowing Timeline Theme Colors */
.audio-player-tray.theme-vip .timeline-progress-bar { background-color: var(--vip-color); }
.audio-player-tray.theme-premium .timeline-progress-bar { background-color: var(--premium-color); }
.audio-player-tray.theme-god .timeline-progress-bar { background-color: var(--god-color); }

/* Volume & Utility Actions */
.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
}

.player-volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 160px;
}

.volume-slider-wrapper {
    position: relative;
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-slider-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.volume-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 80%; /* default 80% volume */
    border-radius: 3px;
    background: var(--text-secondary);
}

#player-volume-percentage {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 32px;
    text-align: right;
    font-family: monospace;
    user-select: none;
    cursor: pointer;
}

.audio-player-tray.theme-vip .volume-progress-bar { background-color: var(--vip-color); }
.audio-player-tray.theme-premium .volume-progress-bar { background-color: var(--premium-color); }
.audio-player-tray.theme-god .volume-progress-bar { background-color: var(--god-color); }

/* Play Card indicator */
.show-card.playing-active {
    border-color: rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.08);
}

.vip-theme .show-card.playing-active {
    border-color: var(--vip-color);
    background-color: rgba(234, 179, 8, 0.12); /* More colored in yellowish */
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.15);
}
.vip-theme .show-card.playing-active:hover {
    background-color: rgba(234, 179, 8, 0.18);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.22);
}

.premium-theme .show-card.playing-active {
    border-color: var(--premium-color);
    background-color: rgba(168, 85, 247, 0.12); /* More colored in purpleish */
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.15);
}
.premium-theme .show-card.playing-active:hover {
    background-color: rgba(168, 85, 247, 0.18);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.22);
}

.god-theme .show-card.playing-active {
    border-color: var(--god-color);
    background-color: rgba(244, 63, 94, 0.12); /* More colored in reddish */
    box-shadow: 0 0 16px rgba(244, 63, 94, 0.15);
}
.god-theme .show-card.playing-active:hover {
    background-color: rgba(244, 63, 94, 0.18);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.22);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinning {
    animation: spin 1.2s infinite linear;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: rgba(16, 185, 129, 0.95);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    z-index: 300;
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Premium Skip Selector Styling */
.player-skip-container {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.55rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.player-skip-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.skip-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 700;
    user-select: none;
}

.player-skip-select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 0.1rem;
    font-family: inherit;
    transition: color 0.2s;
    appearance: none; /* Hide default browser arrow on some engines */
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Custom indicator chevron inside dropdown */
.player-skip-container::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.15rem;
    vertical-align: middle;
    border-top: 4px solid var(--text-secondary);
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
    pointer-events: none;
    transition: transform 0.25s ease, border-top-color 0.2s;
}

.player-skip-container:hover::after {
    border-top-color: var(--text-primary);
}

/* Dropdown option background matching the dark premium theme */
.player-skip-select option {
    background-color: #0c1220;
    color: var(--text-primary);
    font-size: 0.85rem;
    padding: 0.5rem;
}

/* Glowing selector borders depending on active track theme */
.audio-player-tray.theme-vip .player-skip-container {
    border-color: rgba(234, 179, 8, 0.15);
}
.audio-player-tray.theme-vip .player-skip-container:hover {
    border-color: var(--vip-color);
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.2);
}

.audio-player-tray.theme-premium .player-skip-container {
    border-color: rgba(168, 85, 247, 0.15);
}
.audio-player-tray.theme-premium .player-skip-container:hover {
    border-color: var(--premium-color);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.2);
}

.audio-player-tray.theme-god .player-skip-container {
    border-color: rgba(244, 63, 94, 0.15);
}
.audio-player-tray.theme-god .player-skip-container:hover {
    border-color: var(--god-color);
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.2);
}

/* ===================================================
   🔍 SEARCH & QUICK FILTERS BAR & PREMIUM QOL STYLES
   =================================================== */

.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.85rem 1.25rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 280px;
    background: rgba(8, 12, 20, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.04);
    background: rgba(8, 12, 20, 0.65);
}

.search-icon {
    color: var(--text-secondary);
    margin-right: 0.75rem;
    flex-shrink: 0;
    opacity: 0.7;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 100%;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.search-clear:hover {
    color: var(--text-primary);
}

.filter-tags {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.45rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.filter-tag.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02);
}

/* Responsiveness for Search and Filters */
@media (max-width: 768px) {
    .controls-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
    }
    .search-box {
        min-width: 100%;
    }
    .filter-tags {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
    }
    .filter-tag {
        text-align: center;
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Glassmorphic Dropdowns & Notifications Bell */
.notifications-container,
.settings-container {
    position: relative;
    display: inline-block;
}

.btn-header-icon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-header-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-header-icon:active {
    transform: translateY(0);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    border: 1.5px solid #000;
}

.glassmorphic-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.glassmorphic-dropdown .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
}

.glassmorphic-dropdown .dropdown-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.btn-clear-notifications {
    background: none;
    border: none;
    color: #c084fc;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn-clear-notifications:hover {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
}

.dropdown-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

/* Custom scrollbar for dropdown lists */
.dropdown-list::-webkit-scrollbar {
    width: 6px;
}
.dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}
.dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.empty-notifications {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Notification Item */
.notification-item {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.2rem;
}

.notification-item-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.notification-item-badge {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.notification-item-time {
    color: var(--text-muted);
}

/* Settings Dropdown Styling */
.settings-dropdown {
    width: 340px;
}

.settings-body {
    padding: 1.2rem;
}

.settings-section-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.settings-section-item label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.device-key-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.device-key-wrapper input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    font-family: monospace;
    transition: border-color 0.2s ease;
}

.device-key-wrapper input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
}

.device-key-wrapper input[readonly] {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-muted);
}

.device-key-wrapper .btn-copy {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.device-key-wrapper .btn-copy:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* Card Customizations Styles */

/* 1. Neon Glowing Card Borders */
.show-card.card-color-red {
    border-color: rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05);
}
.show-card.card-color-red:hover {
    border-color: rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

.show-card.card-color-orange {
    border-color: rgba(249, 115, 22, 0.3) !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.05);
}
.show-card.card-color-orange:hover {
    border-color: rgba(249, 115, 22, 0.6) !important;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}

.show-card.card-color-green {
    border-color: rgba(34, 197, 94, 0.3) !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.05);
}
.show-card.card-color-green:hover {
    border-color: rgba(34, 197, 94, 0.6) !important;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

.show-card.card-color-blue {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.05);
}
.show-card.card-color-blue:hover {
    border-color: rgba(59, 130, 246, 0.6) !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.show-card.card-color-purple {
    border-color: rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.05);
}
.show-card.card-color-purple:hover {
    border-color: rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
}

/* 2. Completed Status Dimming & Checkmark Styling */
.show-card.card-completed {
    opacity: 0.6;
    transform: scale(0.99);
}
.show-card.card-completed:hover {
    opacity: 0.85;
    transform: scale(1) translateY(-1px);
}

/* 3. Card Action Controls & Buttons */
.show-card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-2px);
    z-index: 10;
}

.show-card:hover .show-card-actions,
.show-card-actions:focus-within,
.palette-dropdown.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.card-action-btn {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(8px);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    position: relative;
}

.card-action-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-action-btn.btn-card-complete.is-completed {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.card-action-btn.btn-card-note.has-note {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.note-indicator-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background-color: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 6px #fbbf24;
}


/* Heart Action Button Sizing & Customization */
.btn-card-heart {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, filter 0.2s ease !important;
}

.btn-card-heart.active-heart {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.6)) !important;
    animation: heartBeat 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.btn-player-heart {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease, background-color 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.btn-player-heart:hover {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
    transform: scale(1.15);
}

.btn-player-heart:active {
    transform: scale(0.9);
}

.btn-player-heart.active-heart {
    color: #ef4444;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
    animation: heartBeat 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.95);
    }
    75% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* 4. Bottom-Edge Progress Bar */
.card-bottom-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
}

.card-bottom-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    box-shadow: 0 -2px 6px rgba(59, 130, 246, 0.6);
    transition: width 0.3s ease;
}

.vip-theme .card-bottom-progress-bar {
    background: linear-gradient(90deg, #eab308, #fde047);
    box-shadow: 0 -2px 6px rgba(234, 179, 8, 0.6);
}
.premium-theme .card-bottom-progress-bar {
    background: linear-gradient(90deg, #a855f7, #c084fc);
    box-shadow: 0 -2px 6px rgba(168, 85, 247, 0.6);
}
.god-theme .card-bottom-progress-bar {
    background: linear-gradient(90deg, #f43f5e, #fb7185);
    box-shadow: 0 -2px 6px rgba(244, 63, 94, 0.6);
}

.card-completed .card-bottom-progress-bar {
    background: linear-gradient(90deg, #22c55e, #4ade80) !important;
    box-shadow: 0 -2px 6px rgba(34, 197, 94, 0.6) !important;
}

/* 5. Color Palette Dropdown Menu */
.color-palette-container {
    position: relative;
}

.palette-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    gap: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: all 0.15s ease;
}

.palette-dropdown.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.palette-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.palette-dot:hover {
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.palette-dot.color-none { background: #374151; }
.palette-dot.color-red { background: #ef4444; }
.palette-dot.color-orange { background: #f97316; }
.palette-dot.color-green { background: #22c55e; }
.palette-dot.color-blue { background: #3b82f6; }
.palette-dot.color-purple { background: #a855f7; }

/* 6. Personal Notes Editor Popover (Sleek Card Overlay) */
.note-editor-popover {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    z-index: 110;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.note-editor-popover.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.note-editor-popover textarea {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 0.8rem;
    color: var(--text-primary);
    resize: none;
    font-family: inherit;
    transition: border-color 0.15s ease;
    min-height: 38px;
}

.note-editor-popover textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
}

.note-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.note-editor-actions button {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.15s ease;
    border: none;
}

.note-editor-actions .btn-cancel {
    background: transparent;
    color: var(--text-secondary);
}

.note-editor-actions .btn-cancel:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.note-editor-actions .btn-save {
    background: #3b82f6;
    color: white;
}

.note-editor-actions .btn-save:hover {
    background: #2563eb;
}

.vip-theme .note-editor-actions .btn-save { background: var(--vip-color); color: #000; }
.vip-theme .note-editor-actions .btn-save:hover { background: #ca8a04; }

.premium-theme .note-editor-actions .btn-save { background: var(--premium-color); }
.premium-theme .note-editor-actions .btn-save:hover { background: #9333ea; }

.god-theme .note-editor-actions .btn-save { background: var(--god-color); }
.god-theme .note-editor-actions .btn-save:hover { background: #e11d48; }

/* 7. Hover Tooltip & Notes Indicators */
.note-badge-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: #fbbf24;
    cursor: help;
    transition: transform 0.15s ease;
    vertical-align: middle;
}

.note-badge-indicator:hover {
    transform: scale(1.15);
}

/* Global Notes Tooltip */
.global-notes-tooltip {
    position: fixed;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    max-width: 250px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(251, 191, 36, 0.08);
    backdrop-filter: blur(8px);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    text-align: left;
}

.global-notes-tooltip.visible {
    opacity: 1;
}

.global-notes-tooltip-header {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 4px;
}

/* 8. Search Highlight styling */
.search-highlight {
    background: rgba(251, 191, 36, 0.22); /* amber yellow soft background */
    color: #fbbf24; /* bright matching yellow text */
    padding: 0px 2px;
    border-radius: 4px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* 9. Admin Dashboard & Selection Summary Styles */

/* Selection Summary Widget inside links modal */
.modal-selection-summary {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.summary-widget {
    text-align: center;
    flex: 1;
}

.summary-widget:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-widget-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #a855f7 0%, #fbbf24 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2px;
}

.summary-widget-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Dashboard Panel Layout */
.dashboard-window {
    max-height: 90vh !important;
    overflow-y: auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

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

.dashboard-panel-left, .dashboard-panel-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e2e8f0;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Stat Cards */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 1.5rem;
    padding: 0.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1px;
}

/* Stat Card Colors */
.stat-vip { border-left: 3px solid #fbbf24; }
.stat-vip .stat-value { color: #fbbf24; }

.stat-premium { border-left: 3px solid #f472b6; }
.stat-premium .stat-value { color: #f472b6; }

.stat-god { border-left: 3px solid #60a5fa; }
.stat-god .stat-value { color: #60a5fa; }

.stat-total { border-left: 3px solid #c084fc; }
.stat-total .stat-value { color: #c084fc; }

/* Show distribution Visualizer */
.category-chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.2rem;
}

.chart-bar-wrapper {
    display: flex;
    height: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-bar-segment {
    height: 100%;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-vip { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.segment-premium { background: linear-gradient(90deg, #f472b6, #db2777); }
.segment-god { background: linear-gradient(90deg, #60a5fa, #3b82f6); }

.chart-legend {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-vip { background-color: #fbbf24; }
.dot-premium { background-color: #f472b6; }
.dot-god { background-color: #60a5fa; }

/* Simulator Form */
.simulation-controls-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.sim-input-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 500;
}

.sim-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.sim-input:focus {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(255, 255, 255, 0.07);
}

select.sim-input option {
    background-color: #0c1220;
    color: #ffffff;
}

/* Hacker logs Terminal */
.logs-terminal {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1rem;
    height: 480px;
    overflow-y: auto;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Notification Playback Pulse Glow */
@keyframes cardPulseGlow {
    0% { 
        box-shadow: 0 0 0 0px rgba(168, 85, 247, 0); 
        border-color: rgba(168, 85, 247, 0.2); 
    }
    30% { 
        box-shadow: 0 0 20px 2px rgba(168, 85, 247, 0.6); 
        border-color: rgba(168, 85, 247, 0.8); 
        background-color: rgba(168, 85, 247, 0.15); 
    }
    100% { 
        box-shadow: 0 0 0 0px rgba(168, 85, 247, 0); 
        border-color: rgba(255, 255, 255, 0.08); 
    }
}

.playing-pulse {
    animation: cardPulseGlow 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ======================================================================
   INTERACTIVE SHOW TRANSCRIPTS - SLIDE-OUT PANEL & COMPONENT STYLING
   ====================================================================== */

/* Slide-out Sidebar Panel */
.transcript-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    z-index: 1050; /* Above regular elements and bottom tray */
    background: rgba(10, 15, 30, 0.82);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.transcript-sidebar.active {
    transform: translateX(0);
}

/* Sidebar Header */
.transcript-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.transcript-title-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transcript-title-area h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

.transcript-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s, transform 0.2s;
}

.transcript-close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Sidebar Search */
.transcript-search-container {
    position: relative;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
}

.transcript-search-icon {
    position: absolute;
    left: 2.25rem;
    color: var(--text-muted);
    pointer-events: none;
}

.transcript-search-container input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.55rem 1rem 0.55rem 2.5rem;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    font-family: inherit;
    transition: all 0.25s ease;
}

.transcript-search-container input:focus {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.1);
}

#transcript-search-count {
    position: absolute;
    right: 2.25rem;
    font-size: 0.7rem;
    color: #fbbf24;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.12);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Sidebar Body - Scroll List */
.transcript-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Custom Scrollbar inside Sidebar Body */
.transcript-body::-webkit-scrollbar {
    width: 6px;
}

.transcript-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.transcript-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.transcript-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Empty State / Loading State */
.transcript-empty-state {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
    font-style: italic;
    line-height: 1.5;
}

/* Individual Segment Block */
.transcript-segment {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.transcript-segment:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

/* Active Highlight Segment (Karaoke Highlighting) */
.transcript-segment.active-segment {
    background: rgba(251, 191, 36, 0.06);
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.12);
    transform: scale(1.015);
}

/* Segment Elements */
.segment-timestamp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Outfit', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.segment-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.transcript-segment:hover .segment-text {
    color: var(--text-primary);
}

.transcript-segment.active-segment .segment-text {
    color: #ffffff;
    font-weight: 500;
}

/* Search Highlights */
.transcript-highlight {
    background: rgba(251, 191, 36, 0.35);
    color: #ffffff;
    padding: 0px 2px;
    border-radius: 3px;
    font-weight: 600;
    box-shadow: 0 0 5px rgba(251, 191, 36, 0.6);
}

/* Card Action Button Transcript overrides */
.btn-card-transcript {
    background: rgba(168, 85, 247, 0.1) !important;
    border-color: rgba(168, 85, 247, 0.2) !important;
    color: #c084fc !important;
}

.btn-card-transcript:hover {
    background: rgba(168, 85, 247, 0.22) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    color: #e9d5ff !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.35);
}

/* Active glowing button inside Bottom Player bar */
#btn-player-transcript {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#btn-player-transcript.sidebar-open {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.12);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

#import-status-message.success {
    color: #10b981;
}

#import-status-message.error {
    color: #ef4444;
}

#import-status-message.info {
    color: #60a5fa;
}

/* ================= SIDEBAR TABS & PRANK CALLS CARDS STYLING ================= */

/* Sidebar Tabs Bar styling */
.transcript-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.25rem 0.5rem 0 0.5rem;
    gap: 4px;
}

.transcript-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.65rem 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 6px 6px 0 0;
}

.transcript-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.transcript-tab.active {
    color: #60a5fa;
    border-bottom-color: #3b82f6;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

/* Tab content panel switching */
.sidebar-tab-content {
    display: none;
    flex-grow: 1;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.sidebar-tab-content.active {
    display: flex;
}

.calls-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0; /* Set to 0 to allow edge-to-edge filter header */
    display: flex;
    flex-direction: column;
}

.calls-body::-webkit-scrollbar {
    width: 6px;
}

.calls-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.calls-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.calls-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Premium Prank Call card styling */
.prank-call {
    padding: 1.1rem;
    border-radius: 12px;
    background: rgb(19, 21, 22); /* Dark solid premium elegant background to match your site */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left-width: 6px; /* Thick 6px border to match your exact card style */
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.prank-call:hover {
    background: rgb(24, 26, 28);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Active Highlight Call Card (matches active segment styling with premium gold glow) */
.prank-call.active-call {
    background: rgba(251, 191, 36, 0.08) !important;
    border-color: rgba(251, 191, 36, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 15px rgba(251, 191, 36, 0.15) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.prank-call.active-call::before {
    opacity: 1 !important;
}

.prank-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.prank-call:hover::before {
    opacity: 1;
}

/* Pulsing neon left-borders based on call durations / type classifications */
.prank-call.short-call {
    border-left-color: #ef4444; /* Red for Short (< 2m) */
}
.prank-call.regular-call {
    border-left-color: #10b981; /* Green for Regular (2-15m) */
}
.prank-call.long-call {
    border-left-color: #f97316; /* Orange for Long (> 15m) */
}
.prank-call.zoom-meeting {
    border-left-color: #3b82f6; /* Blue for Zoom Meetings */
}

/* Past prank call highlight */
.prank-call.passed-call {
    background: rgba(59, 130, 246, 0.05) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 10px rgba(59, 130, 246, 0.1) !important;
}

/* Coming up prank call highlight */
.prank-call.coming-call {
    background: rgba(168, 85, 247, 0.05) !important;
    border-color: rgba(168, 85, 247, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 10px rgba(168, 85, 247, 0.1) !important;
}

/* Prank Call Card Elements */
.call-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.call-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
}

.call-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
}

/* Color title text slightly based on the call category to make it punchy and easy to scan! */
.prank-call.short-call .call-name {
    color: #f87171; /* red-400 */
}
.prank-call.regular-call .call-name {
    color: #34d399; /* emerald-400 */
}
.prank-call.long-call .call-name {
    color: #fb923c; /* orange-400 */
}
.prank-call.zoom-meeting .call-name {
    color: #60a5fa; /* blue-400 */
}

.call-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem; /* brought up tight */
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
}

.duration-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.prank-call.short-call .duration-badge {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.15);
}
.prank-call.regular-call .duration-badge {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.prank-call.long-call .duration-badge {
    color: #fb923c;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.15);
}
.prank-call.zoom-meeting .duration-badge {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.call-summary {
    font-size: 0.84rem; /* a tad bigger */
    font-weight: 600; /* bolden the summary content after the label */
    line-height: 1.45;
    color: #ffffff; /* high contrast bright white summary content */
    border-top: none; /* remove separator line to bring it up completely */
    padding-top: 0;
    margin-top: 0.15rem; /* tight gap directly under the call-time */
    word-break: break-word;
}

.call-summary strong {
    color: var(--text-muted); /* ignore/subdue the "Summary:" label */
    font-weight: 500; /* normal/standard weight for label */
    font-size: 0.78rem; /* slightly smaller label */
    margin-right: 4px;
}

/* Progress and Simulator Styles */
.analysis-progress-box {
    animation: fadeIn 0.4s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4)); }
    100% { transform: scale(1); opacity: 0.9; }
}

.pulsing-robot {
    display: inline-block;
    filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.2));
}

/* Admin Dashboard Table Formatting Override */
.analyzer-table th {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 0.4rem;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.analyzer-table td {
    padding: 0.5rem 0.4rem;
}

.analyzer-table tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

/* ================= INTERACTIVE SIDEBAR CALLS FILTER CONTROLS ================= */

.calls-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: rgba(0, 0, 0, 0.18); /* Dark matching contrast */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.calls-count-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(232, 230, 227, 0.85);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.calls-filter-controls {
    display: flex;
    gap: 3px;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.calls-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem; /* Indents the cards list nicely under the header */
}

/* ==========================================================================
   26. PREMIUM QOL UPGRADES: SEGMENTED TIMELINES, PWAS & PLAYLISTS
   ========================================================================== */

/* Segmented Timeline Markers */
.timeline-segment-marker {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 1px;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.timeline-segment-marker:hover {
    opacity: 1.0;
    transform: scaleY(1.4);
    z-index: 10;
}

.timeline-segment-marker.short-call {
    background: linear-gradient(to bottom, #fca5a5, #ef4444);
}

.timeline-segment-marker.regular-call {
    background: linear-gradient(to bottom, #86efac, #22c55e);
}

.timeline-segment-marker.long-call {
    background: linear-gradient(to bottom, #fdba74, #f97316);
}

/* Playlist Builder Elements */
.playlist-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 0.5rem;
    transition: all 0.25s ease;
}

.playlist-item-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.playlist-item-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.playlist-item-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-meta {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.playlist-item-controls {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.playlist-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-btn-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.playlist-btn-action.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Offline Download Loaders and Cards */
.offline-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-weight: 500;
    margin-left: 0.5rem;
}

/* PWA App Install Banner */
.pwa-install-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.3s ease;
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.pwa-install-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    background: #8b5cf6;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.pwa-install-btn:hover {
    background: #a78bfa;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.45);
}

.pwa-install-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.pwa-install-close:hover {
    color: #fff;
}

/* Global Search Dropdown Autocomplete */
.global-search-dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.global-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.global-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.global-search-result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.global-search-result-item:last-child {
    border-bottom: none;
}

.global-search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.global-search-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.global-search-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.global-search-item-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.global-search-item-tag.vip { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.global-search-item-tag.premium { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.global-search-item-tag.god { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.global-search-item-summary {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.global-search-item-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.global-search-section-header {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Collapsible Panel Section Animations */
.collapsible-content {
    max-height: 1200px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.35s ease;
}

.collapsible-content.collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    pointer-events: none;
}

.collapsible-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ================= PREMIUM ACCOUNT & TAB SYSTEM ================= */

.settings-tabs-header {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 0.25rem 0.25rem 0 0.25rem;
}

.settings-tab-btn {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 2px solid transparent;
}

.settings-tab-btn:hover {
    color: var(--text-secondary);
}

.settings-tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.settings-tab-content {
    display: none;
    animation: settingsTabFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.settings-tab-content.active {
    display: block;
}

@keyframes settingsTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Segmented Toggle Controller */
.auth-toggle-wrapper {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--border-color);
}

.auth-toggle-btn {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-toggle-btn:hover {
    color: var(--text-primary);
}

.auth-toggle-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Inputs and Forms inside Dropdowns */
.auth-form-group input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.auth-form-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* User Profile Badge */
.user-role-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.user-role-badge.admin {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.user-role-badge.user {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Pulse Animation for Indicator */
.pulse-dot {
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: statusPulse 1.8s infinite ease-in-out;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* Color coded playlist builder rows based on Tier */
.playlist-item-row.tier-vip {
    background: rgba(234, 179, 8, 0.02);
    border-color: rgba(234, 179, 8, 0.08);
}
.playlist-item-row.tier-vip:hover {
    background: rgba(234, 179, 8, 0.04);
    border-color: rgba(234, 179, 8, 0.15);
}

.playlist-item-row.tier-premium {
    background: rgba(168, 85, 247, 0.02);
    border-color: rgba(168, 85, 247, 0.08);
}
.playlist-item-row.tier-premium:hover {
    background: rgba(168, 85, 247, 0.04);
    border-color: rgba(168, 85, 247, 0.15);
}

.playlist-item-row.tier-god {
    background: rgba(244, 63, 94, 0.02);
    border-color: rgba(244, 63, 94, 0.08);
}
.playlist-item-row.tier-god:hover {
    background: rgba(244, 63, 94, 0.04);
    border-color: rgba(244, 63, 94, 0.15);
}

/* Active playing playlist item row styling */
.playlist-item-row.playing.tier-vip {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.25);
}
.playlist-item-row.playing.tier-vip:hover {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.35);
}

.playlist-item-row.playing.tier-premium {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.25);
}
.playlist-item-row.playing.tier-premium:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.35);
}

.playlist-item-row.playing.tier-god {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.25);
}
.playlist-item-row.playing.tier-god:hover {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.35);
}

/* Drag and Drop visual feedback */
.playlist-item-row[draggable="true"] {
    cursor: grab;
    user-select: none;
}
.playlist-item-row[draggable="true"]:active {
    cursor: grabbing;
}
.playlist-item-row.dragging {
    opacity: 0.45;
    border-style: dashed;
}
.playlist-item-row.drag-over {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transform: scale(1.01);
}

/* Startup Redirect Highlight Flash Pulse */
@keyframes cardHighlightPulse {
    0% {
        border-color: rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
        background-color: rgba(255, 255, 255, 0.15) !important;
        transform: scale(1.02);
    }
    30% {
        border-color: var(--highlight-theme-color, #ffffff) !important;
        box-shadow: 0 0 35px var(--highlight-theme-glow, rgba(255, 255, 255, 0.4)), inset 0 0 20px var(--highlight-theme-glow, rgba(255, 255, 255, 0.1)) !important;
        background-color: var(--highlight-theme-bg, rgba(255, 255, 255, 0.08)) !important;
        transform: scale(1.02);
    }
    100% {
        transform: scale(1.0);
    }
}

.highlight-flash {
    animation: cardHighlightPulse 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    z-index: 10;
}

/* Tier-specific custom colors for card highlights */
.vip-theme .highlight-flash {
    --highlight-theme-color: var(--vip-color);
    --highlight-theme-glow: rgba(234, 179, 8, 0.8);
    --highlight-theme-bg: rgba(234, 179, 8, 0.2);
}

.premium-theme .highlight-flash {
    --highlight-theme-color: var(--premium-color);
    --highlight-theme-glow: rgba(168, 85, 247, 0.8);
    --highlight-theme-bg: rgba(168, 85, 247, 0.2);
}

.god-theme .highlight-flash {
    --highlight-theme-color: var(--god-color);
    --highlight-theme-glow: rgba(244, 63, 94, 0.8);
    --highlight-theme-bg: rgba(244, 63, 94, 0.2);
}

/* Card Visualizer Wave Animation */
.card-visualizer {
    display: none;
    align-items: flex-end;
    gap: 2.5px;
    height: 12px;
    margin-left: 6px;
    opacity: 0.85;
}
.show-card.playing-active .card-visualizer.active {
    display: flex;
}
.visualizer-bar {
    width: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    height: 100%;
    transform-origin: bottom;
    animation: visualizerPulse 1s ease infinite alternate;
}
.visualizer-bar:nth-child(2) { animation-delay: 0.2s; animation-duration: 0.8s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.4s; animation-duration: 1.2s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.1s; animation-duration: 0.9s; }

@keyframes visualizerPulse {
    0% { transform: scaleY(0.15); }
    100% { transform: scaleY(1.0); }
}

/* Color theme visualizer bars */
.vip-theme .card-visualizer .visualizer-bar { background-color: var(--vip-color); }
.premium-theme .card-visualizer .visualizer-bar { background-color: var(--premium-color); }
.god-theme .card-visualizer .visualizer-bar { background-color: var(--god-color); }

/* Glowing heartbeats & beacons */
@keyframes onlinePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
.active-beacon {
    animation: onlinePulse 2s infinite;
}


/* ==========================================================================
   27. PREMIUM AUDIO NOTES & NOTEPAD SYSTEM
   ========================================================================== */

/* Timeline Note Indicators (Pins) */
.timeline-note-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 12px;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    border: 1.5px solid #ffffff;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(236, 72, 153, 0.8), 0 1px 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 6;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-note-marker:hover {
    transform: translate(-50%, -50%) scale(1.35);
    filter: brightness(1.15);
    box-shadow: 0 0 10px rgba(236, 72, 153, 1), 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Waveform Mode Note Markers */
.timeline-slider-wrapper.waveform-mode .timeline-note-marker {
    height: 100%;
    width: 2px;
    background: rgba(236, 72, 153, 0.55);
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(-50%);
    top: 0;
}

.timeline-slider-wrapper.waveform-mode .timeline-note-marker::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #ec4899;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(236, 72, 153, 0.9), 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.timeline-slider-wrapper.waveform-mode .timeline-note-marker:hover {
    background: rgba(236, 72, 153, 0.85);
    transform: translateX(-50%) scaleX(1.5);
}

.timeline-slider-wrapper.waveform-mode .timeline-note-marker:hover::after {
    transform: translateX(-50%) scale(1.4);
    background-color: #f472b6;
    box-shadow: 0 0 10px rgba(236, 72, 153, 1), 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Active Highlight Notes tab color */
.transcript-tab#tab-btn-notes.active {
    color: #f472b6 !important;
    border-bottom-color: #ec4899 !important;
}

/* Notes Tab Content & Notepad wrapper */
.notes-tab-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

.add-note-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.add-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.note-time-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ec4899;
    background: rgba(236, 72, 153, 0.12);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(236, 72, 153, 0.25);
    font-family: monospace;
}

#audio-note-text {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #f8fafc;
    padding: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
    outline: none;
    transition: all 0.2s ease;
    resize: none;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
}

#audio-note-text:focus {
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.15);
    background: rgba(0, 0, 0, 0.45);
}

.notes-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.notes-count-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
}

.audio-notes-list {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 2px;
}

.audio-notes-list::-webkit-scrollbar {
    width: 4px;
}

.audio-notes-list::-webkit-scrollbar-track {
    background: transparent;
}

.audio-notes-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

/* Audio Note Card layout */
.audio-note-card {
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: left;
}

.audio-note-card:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(236, 72, 153, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.audio-note-card.active-note {
    background: rgba(236, 72, 153, 0.04) !important;
    border-color: rgba(236, 72, 153, 0.35) !important;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.12), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.audio-note-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-note-card-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ec4899;
    font-family: monospace;
    background: rgba(236, 72, 153, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(236, 72, 153, 0.15);
}

.audio-note-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.audio-note-card-body {
    font-size: 0.8rem;
    color: #e2e8f0;
    line-height: 1.45;
    word-break: break-word;
}

@media (max-width: 576px) {
    .modal-window {
        padding: 1.25rem;
        gap: 1rem;
        border-radius: 16px;
    }
    .modal-actions {
        flex-direction: column;
        gap: 0.55rem;
        padding-top: 0.75rem;
    }
    .modal-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center;
        padding: 0.65rem;
    }
}

/* Hide mobile tab switcher on desktop viewports */
.mobile-column-tabs {
    display: none;
}

/* Prank Call Annotation Styles */
.prank-call-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-prank-action {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}

.btn-prank-action:hover {
    color: var(--text-primary);
    background-color: rgba(255,255,255,0.08);
}

.btn-prank-action.liked-prank {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.4));
}

.btn-prank-action.liked-prank:hover {
    transform: scale(1.15);
}

.btn-prank-action.noted-prank {
    color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
}

.prank-call-note-display {
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(251, 191, 36, 0.04);
    border-left: 2px solid #fbbf24;
    border-radius: 4px;
    font-size: 0.72rem;
    color: #fce7f3;
    line-height: 1.35;
}

.prank-call-note-editor {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 0.5rem;
    width: 100%;
}

.prank-call-note-editor textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.75rem;
    resize: vertical;
    outline: none;
}

.prank-call-note-editor textarea:focus {
    border-color: rgba(251, 191, 36, 0.4);
}

.prank-call-note-editor-btns {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.prank-call-note-editor-btns button {
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
}

.prank-call-note-save {
    background: #fbbf24;
    color: #000;
}

.prank-call-note-cancel {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    border-color: rgba(255,255,255,0.1);
}

/* Global interactions feed layout cards */
.global-call-card {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.global-call-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.global-call-card-showtitle {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FAVORITE MODE HEART - GLOBAL INTERACTIVE CUSTOMIZATIONS
   ========================================================================== */

/* Always show action panel when heart mode is active to permit direct interaction */
.favorite-mode-heart .show-card-actions {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Note button: hide by default when not hovered and has no note to prevent UI clutter */
.favorite-mode-heart .btn-card-note {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.favorite-mode-heart .show-card:hover .btn-card-note,
.favorite-mode-heart .btn-card-note.has-note {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Heart button: elegant, faint interactive outline by default */
.favorite-mode-heart .btn-card-heart {
    opacity: 0.35;
    background: rgba(20, 20, 20, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.favorite-mode-heart .show-card:hover .btn-card-heart,
.favorite-mode-heart .btn-card-heart.active-heart {
    opacity: 1 !important;
}

/* Crimson glowing card border override for favorited items in heart mode */
.favorite-mode-heart .show-card.card-color-red {
    border-color: rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.08) !important;
}
.favorite-mode-heart .show-card.card-color-red:hover {
    border-color: rgba(239, 68, 68, 0.75) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2) !important;
}

/* ==========================================================================
   Curated Listings Trophy Icon Header Styles & Glow Animations
   ========================================================================== */
.lists-link-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lists-link-container a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.lists-link-container a:hover {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.25);
    background: rgba(168, 85, 247, 0.12) !important;
    border-color: rgba(168, 85, 247, 0.35) !important;
    color: #c084fc !important;
}
