:root {
    --bg-main: #070814;
    --bg-card: rgba(16, 20, 38, 0.72);
    --bg-card-hover: rgba(24, 30, 58, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-glow: rgba(0, 240, 255, 0.35);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.42);

    /* Neon Accent Palettes */
    --cyan-glow: #00f0ff;
    --cyan-bg: rgba(0, 240, 255, 0.12);
    --cyan-border: rgba(0, 240, 255, 0.4);

    --purple-glow: #c084fc;
    --purple-bg: rgba(168, 85, 247, 0.12);
    --purple-border: rgba(168, 85, 247, 0.35);

    --pink-live: #ff2a6d;
    --pink-bg: rgba(255, 42, 109, 0.15);
    --pink-border: rgba(255, 42, 109, 0.4);

    --amber-glow: #ffb800;
    --amber-bg: rgba(255, 184, 0, 0.12);

    --green-glow: #00ff9d;
    --green-bg: rgba(0, 255, 157, 0.12);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Stage color themes */
.theme-0 { --stage-accent: #00f0ff; --stage-accent-bg: rgba(0, 240, 255, 0.15); }
.theme-1 { --stage-accent: #b026ff; --stage-accent-bg: rgba(176, 38, 255, 0.15); }
.theme-2 { --stage-accent: #ff2a6d; --stage-accent-bg: rgba(255, 42, 109, 0.15); }
.theme-3 { --stage-accent: #ffb800; --stage-accent-bg: rgba(255, 184, 0, 0.15); }
.theme-4 { --stage-accent: #00ff9d; --stage-accent-bg: rgba(0, 255, 157, 0.15); }
.theme-5 { --stage-accent: #ff5500; --stage-accent-bg: rgba(255, 85, 0, 0.15); }
.theme-6 { --stage-accent: #0099ff; --stage-accent-bg: rgba(0, 153, 255, 0.15); }
.theme-7 { --stage-accent: #f43f5e; --stage-accent-bg: rgba(244, 63, 94, 0.15); }
.theme-8 { --stage-accent: #10b981; --stage-accent-bg: rgba(16, 185, 129, 0.15); }
.theme-9 { --stage-accent: #8b5cf6; --stage-accent-bg: rgba(139, 92, 246, 0.15); }
.theme-10 { --stage-accent: #ec4899; --stage-accent-bg: rgba(236, 72, 153, 0.15); }
.theme-11 { --stage-accent: #06b6d4; --stage-accent-bg: rgba(6, 182, 212, 0.15); }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

html,
body {
    width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: manipulation;
    overscroll-behavior: none;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(176, 38, 255, 0.09) 0%, transparent 60%),
        radial-gradient(circle at 0% 50%, rgba(255, 42, 109, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #090a1a 0%, #05060f 100%);
    background-attachment: fixed;
}

/* App Viewport Container - strictly locks to 100dvh */
.app-viewport {
    width: 100%;
    height: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(4px, 0.9vh, 8px) clamp(6px, 1.6vw, 10px);
    gap: clamp(3px, 0.7vh, 6px);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

/* Tablet & Desktop Centered Device Frame */
@media (min-width: 650px) {
    .app-viewport {
        max-width: 480px;
        margin: 0 auto;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    }
}

/* Header Styling */
.app-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 24, 46, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(8px, 1.4vh, 12px);
    padding: clamp(4px, 0.7vh, 6px) clamp(8px, 2vw, 12px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 8px;
    z-index: 10;
}

.header-left {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 10px);
    min-width: 0;
    flex: 1 1 auto;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--pink-bg);
    border: 1px solid var(--pink-border);
    color: var(--pink-live);
    font-family: var(--font-heading);
    font-size: clamp(0.55rem, 1.1vh, 0.65rem);
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 2px 6px;
    border-radius: 12px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.pulse-dot {
    width: 5px;
    height: 5px;
    background-color: var(--pink-live);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--pink-live);
    animation: pulseDot 1.4s infinite ease-in-out;
}

.pulse-dot-sm {
    width: 4px;
    height: 4px;
    background-color: var(--cyan-glow);
    border-radius: 50%;
    box-shadow: 0 0 4px var(--cyan-glow);
    animation: pulseDotCyan 1.2s infinite ease-in-out;
    display: inline-block;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 3px var(--pink-live); }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 9px var(--pink-live); }
}

@keyframes pulseDotCyan {
    0%, 100% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 7px var(--cyan-glow); }
}

.festival-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

.app-title {
    font-family: var(--font-heading);
    font-size: clamp(0.82rem, 1.8vh, 1.05rem);
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stage-count-badge {
    font-family: var(--font-heading);
    font-size: clamp(0.52rem, 1.0vh, 0.6rem);
    font-weight: 700;
    color: var(--cyan-glow);
    background: var(--cyan-bg);
    border: 1px solid var(--cyan-border);
    padding: 1px 5px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 6px);
    flex-shrink: 0;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    border-radius: 8px;
    width: clamp(26px, 3.4vh, 32px);
    height: clamp(26px, 3.4vh, 32px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.icon-btn:active,
.icon-btn.active {
    background: var(--cyan-bg);
    border-color: var(--cyan-border);
    color: var(--cyan-glow);
    transform: scale(0.95);
}

.header-clock {
    flex-shrink: 0;
}

.clock-display {
    font-family: var(--font-heading);
    font-size: clamp(0.78rem, 1.6vh, 0.95rem);
    font-weight: 800;
    color: var(--cyan-glow);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: clamp(2px, 0.4vh, 4px) clamp(6px, 1.5vw, 8px);
    border-radius: 7px;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Multi-Day Selector Bar */
.day-selector-bar {
    flex: 0 0 auto;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 1px 0;
}

.day-selector-bar::-webkit-scrollbar {
    display: none;
}

.day-tab {
    flex: 1 1 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    padding: clamp(2px, 0.5vh, 4px) 6px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: clamp(0.58rem, 1.1vh, 0.68rem);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.day-tab.active {
    background: var(--purple-bg);
    border-color: var(--purple-border);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

/* Time Simulator Panel */
.time-sim-bar {
    flex: 0 0 auto;
    background: rgba(14, 18, 36, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    padding: clamp(4px, 0.8vh, 6px) 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: slideDown 0.2s ease-out;
}

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

.sim-row {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sim-row::-webkit-scrollbar { display: none; }

.sim-label {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--cyan-glow);
    letter-spacing: 0.6px;
    white-space: nowrap;
    margin-right: 2px;
}

.sim-btn, .sim-preset-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    border-radius: 4px;
    padding: 2px 5px;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.sim-btn-active, .sim-preset-btn.active {
    background: var(--cyan-bg);
    border-color: var(--cyan-border);
    color: var(--cyan-glow);
    font-weight: 700;
}

.sim-slider-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-range {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    outline: none;
}

.time-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan-glow);
    box-shadow: 0 0 6px var(--cyan-glow);
    cursor: pointer;
}

.sim-time-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan-glow);
    min-width: 38px;
    text-align: right;
}

/* =========================================================================
   MAIN TIMETABLE CONTAINER - Adaptive & Scroll-Free (100dvh Lock)
   ========================================================================= */
.timetable-container {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(3px, 0.7vh, 6px);
    overflow: hidden;
    position: relative;
}

/* 1-Column Layout: Sleek Horizontal Stage Strips (Default for 1-7 Stages) */
.timetable-container.layout-compact-rows {
    display: flex;
    flex-direction: column;
}

.stage-strip {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: stretch;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: clamp(6px, 1.2vh, 10px);
    padding: clamp(3px, 0.6vh, 6px) clamp(6px, 1.4vw, 10px);
    gap: clamp(4px, 1.2vw, 8px);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.stage-strip:active {
    transform: scale(0.99);
    background: var(--bg-card-hover);
    border-color: var(--stage-accent, var(--cyan-glow));
}

/* Left glowing accent line */
.stage-strip-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(2.5px, 0.6vw, 3.5px);
    height: 100%;
    background: var(--stage-accent, var(--cyan-glow));
    box-shadow: 0 0 8px var(--stage-accent, var(--cyan-glow));
}

/* Stage strip meta (Left Column ~26-30% width) */
.stage-strip-meta {
    flex: 0 0 clamp(75px, 26%, 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-left: 2px;
}

.stage-badge-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: clamp(1px, 0.3vh, 3px);
}

.stage-icon {
    font-size: clamp(0.6rem, 1.2vh, 0.75rem);
    line-height: 1;
}

.stage-num {
    font-family: var(--font-heading);
    font-size: clamp(0.48rem, 0.95vh, 0.58rem);
    font-weight: 800;
    color: var(--stage-accent, var(--text-muted));
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.stage-name {
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 1.6vh, 0.95rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}

/* Main Live / Next Cells */
.stage-strip-cell {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: clamp(4px, 0.8vh, 7px);
    padding: clamp(2px, 0.5vh, 5px) clamp(4px, 1.2vw, 8px);
    position: relative;
    overflow: hidden;
}

/* NOW Playing Cell */
.stage-strip-cell.now-cell {
    background: var(--cyan-bg);
    border: 1px solid var(--cyan-border);
    box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.05);
    flex: 1.2 1 0;
}

.stage-strip-cell.now-cell.is-empty {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

/* NEXT Playing Cell */
.stage-strip-cell.next-cell {
    background: var(--purple-bg);
    border: 1px solid var(--purple-border);
    flex: 0.95 1 0;
}

.stage-strip-cell.next-cell.is-empty {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

/* Cell Tag Header Row */
.cell-tag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    margin-bottom: clamp(1px, 0.3vh, 2px);
    line-height: 1;
}

.cell-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-heading);
    font-size: clamp(0.48rem, 0.95vh, 0.58rem);
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 1px 4px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}

.tag-now {
    color: var(--cyan-glow);
    background: rgba(0, 240, 255, 0.18);
}

.tag-next {
    color: var(--purple-glow);
    background: rgba(168, 85, 247, 0.18);
}

.tag-off {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
}

.cell-time {
    font-family: var(--font-body);
    font-size: clamp(0.55rem, 1.1vh, 0.68rem);
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.1px;
}

.cell-remaining {
    font-family: var(--font-heading);
    font-size: clamp(0.48rem, 0.95vh, 0.58rem);
    font-weight: 700;
    color: var(--cyan-glow);
    white-space: nowrap;
    margin-left: auto;
}

.cell-artist-name {
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 1.6vh, 0.96rem);
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
    line-height: 1.15;
}

.now-cell .cell-artist-name {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

.next-cell .cell-artist-name {
    color: rgba(255, 255, 255, 0.9);
}

.cell-artist-empty {
    font-family: var(--font-body);
    font-size: clamp(0.58rem, 1.2vh, 0.72rem);
    font-style: italic;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sleek Progress Bar */
.progress-track {
    width: 100%;
    height: clamp(2px, 0.4vh, 3px);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    margin-top: clamp(1px, 0.4vh, 3px);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f0ff 0%, #b026ff 100%);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(0, 240, 255, 0.7);
    transition: width 0.5s linear;
}

/* =========================================================================
   2-Column Dense Grid Mode (For 8-12+ Stages or when user toggles grid)
   ========================================================================= */
.timetable-container.layout-dense-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: clamp(3px, 0.6vh, 5px);
}

.layout-dense-grid .stage-strip {
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(3px, 0.6vh, 5px) clamp(5px, 1.2vw, 8px);
    gap: 2px;
}

.layout-dense-grid .stage-strip-meta {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 2px;
}

.layout-dense-grid .stage-name {
    font-size: clamp(0.65rem, 1.3vh, 0.8rem);
}

.layout-dense-grid .stage-strip-cell {
    flex: 1 1 0;
    padding: 2px 4px;
}

.layout-dense-grid .cell-artist-name {
    font-size: clamp(0.62rem, 1.3vh, 0.78rem);
}

.layout-dense-grid .cell-time {
    font-size: clamp(0.5rem, 0.95vh, 0.6rem);
}

/* Footer Styling */
.app-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(2px, 0.4vh, 4px) clamp(4px, 1vw, 8px);
    font-size: clamp(0.55rem, 1.05vh, 0.65rem);
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    gap: 8px;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sync-dot {
    width: 4px;
    height: 4px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 5px #00f0ff;
    flex-shrink: 0;
}

.footer-fest-name {
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-tz {
    font-family: monospace;
    opacity: 0.7;
}

/* =========================================================================
   MODALS (Festival Switcher & Stage Schedule Detail Sheet)
   ========================================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 14, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.2s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-sheet {
    width: 100%;
    max-width: 480px;
    max-height: 82vh;
    background: #0d1124;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sheetSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.modal-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.modal-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.modal-search-wrap {
    padding: 10px 16px 4px 16px;
    display: flex;
    gap: 8px;
}

.modal-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    outline: none;
    transition: all 0.2s ease;
}

.modal-search-input:focus {
    background: rgba(0, 240, 255, 0.06);
    border-color: var(--cyan-glow);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

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

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Festival Selection Items */
.fest-item-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.fest-item-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.fest-item-btn.active {
    background: var(--cyan-bg);
    border-color: var(--cyan-border);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.fest-item-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
}

.fest-item-meta {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.fest-item-tag {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--cyan-glow);
    background: rgba(0, 240, 255, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.fest-item-btn.active .fest-item-tag {
    background: var(--cyan-glow);
    color: #070814;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.fest-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px dashed var(--purple-border);
    border-radius: 10px;
    padding: 10px;
    color: var(--purple-glow);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.fest-upload-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--purple-glow);
}

.fest-empty-state {
    padding: 24px 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Stage Timeline Items */
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    gap: 8px;
}

.timeline-item.is-now {
    background: var(--cyan-bg);
    border-color: var(--cyan-border);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.timeline-item.is-next {
    background: var(--purple-bg);
    border-color: var(--purple-border);
}

.timeline-item.is-past {
    opacity: 0.45;
}

.timeline-artist {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.timeline-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.hidden {
    display: none !important;
}