:root {
    --bg-color: #0a0a12;
    --text-color: #e0e0e0;
    --primary-color: #00f2ff; /* Neon Cyan */
    --secondary-color: #7000ff; /* Electric Purple */
    --accent-color: #ff007a; /* Neon Pink */
    --card-bg: rgba(255, 255, 255, 0.05);
    --top-bar-bg: #050508;
    --nav-bg: rgba(10, 10, 18, 0.9);
    --font-main: 'Rajdhani', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--top-bar-bg);
    color: var(--primary-color);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
}

.welcome-msg {
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-color);
}

/* Nav Bar */
.nav-bar {
    background-color: var(--nav-bg);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;
    height: 100%;
}

.nav-links > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-bar a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-bar a i {
    font-size: 0.7rem;
}

.nav-bar a:hover, .nav-bar a.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #11111a;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 20px;
    font-size: 0.8rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:hover {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Header */
.header {
    height: min(80vh, 500px);
    background-color: #111; /* Fallback */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
}

.header-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
}

.header-banner img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    display: block;
}

.header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.9) 0%, rgba(112, 0, 255, 0.2) 100%);
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.5));
}

.header p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--primary-color);
}

/* Content */
.content {
    padding: 100px 0;
}

.content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--primary-color);
}

.homepage-charts-section {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(0, 242, 255, 0.12), transparent 32%),
        radial-gradient(circle at bottom left, rgba(123, 63, 228, 0.14), transparent 34%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.homepage-charts-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 24px;
}

.homepage-charts-kicker {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(0, 242, 255, 0.72);
}

.homepage-charts-header h3 {
    margin: 0;
    font-size: 1.85rem;
}

.homepage-charts-intro {
    max-width: 540px;
    margin: 0;
    color: rgba(224, 224, 224, 0.72);
    line-height: 1.6;
    text-align: right;
}

.homepage-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.homepage-chart-card {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(4, 10, 24, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.homepage-chart-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 242, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 48px rgba(0, 0, 0, 0.32);
}

.homepage-chart-glow {
    position: absolute;
    inset: auto -40px -60px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0.45;
    pointer-events: none;
    filter: blur(18px);
}

.homepage-chart-card--elite20 .homepage-chart-glow {
    background: rgba(0, 242, 255, 0.28);
}

.homepage-chart-card--rising15 .homepage-chart-glow {
    background: rgba(98, 255, 146, 0.22);
}

.homepage-chart-card--covers .homepage-chart-glow {
    background: rgba(255, 181, 71, 0.22);
}

.homepage-chart-card--collaborations .homepage-chart-glow {
    background: rgba(191, 135, 255, 0.24);
}

.homepage-chart-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.homepage-chart-head h3 {
    margin: 6px 0 0;
    font-size: 1.25rem;
    color: #f4fbff;
}

.homepage-chart-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(224, 224, 224, 0.72);
}

.homepage-chart-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.18);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    white-space: nowrap;
}

.homepage-chart-meta,
.homepage-chart-block {
    position: relative;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.homepage-chart-meta-label,
.homepage-chart-block-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(224, 224, 224, 0.6);
}

.homepage-chart-meta-value {
    margin-top: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: rgba(244, 251, 255, 0.94);
}

.homepage-chart-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.homepage-chart-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
}

.homepage-chart-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.16);
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.homepage-chart-entry-copy,
.homepage-chart-climber-title {
    color: rgba(244, 251, 255, 0.92);
    line-height: 1.5;
}

.homepage-chart-climber-title {
    margin-top: 12px;
    font-family: var(--font-heading);
}

.homepage-chart-climber-shift {
    margin-top: 8px;
    color: rgba(224, 224, 224, 0.66);
    font-size: 0.92rem;
}

.homepage-chart-empty {
    margin-top: 12px;
    color: rgba(224, 224, 224, 0.58);
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: var(--top-bar-bg);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

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

/* Auth Page */
.auth-page {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.tab-btn.active {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.auth-form {
    padding: 40px;
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.auth-form h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.disclaimer-box {
    margin: 25px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 0;
}

.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #aaa;
}

.auth-form .cta-button {
    width: 100%;
    margin-top: 10px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    margin: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
}

.alert-error {
    background: rgba(255, 0, 122, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.alert-success {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-color);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.35);
    box-shadow: 0 0 18px rgba(0, 242, 255, 0.12);
}

.btn-primary:hover {
    transform: translateY(-1px);
    border-color: var(--primary-color);
    box-shadow: 0 0 22px rgba(0, 242, 255, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 242, 255, 0.28);
}

/* TikTok Live Music */
.live-music-page {
    padding: 80px 0;
    min-height: 80vh;
}

.live-music-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.live-music-header h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.live-music-subtitle {
    color: rgba(224, 224, 224, 0.75);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.live-music-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.admin-live-page {
    padding: 0;
    height: calc(100vh - 56px);
    overflow: hidden;
}

.admin-live-page .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.admin-live-body {
    overflow: hidden;
}

.admin-live-shell {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.admin-live-meta {
    margin-top: 10px;
    color: rgba(224, 224, 224, 0.85);
}

.admin-live-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 18px;
    align-items: start;
    flex: 1;
    min-height: 0;
}

.admin-live-left,
.admin-live-right {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.admin-live-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-live-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-live-now {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(224, 224, 224, 0.8);
    text-align: left;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-live-visualizer {
    background: rgba(0, 0, 0, 0.35);
    padding: 10px;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-live-visualizer canvas {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 12px;
}

.admin-live-player {
    padding: 12px 16px 16px;
}

.admin-live-player audio {
    display: none;
}

.admin-live-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-live-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(224, 224, 224, 0.92);
    padding: 8px 8px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-live-tab.active {
    background: rgba(0, 255, 255, 0.10);
    border-color: rgba(0, 255, 255, 0.25);
}

.admin-live-tab i {
    font-size: 0.9rem;
}

.admin-live-tab-text {
    display: inline;
}

.admin-live-tabpanels {
    padding: 10px 12px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.admin-live-tabpanel {
    display: none;
}

.admin-live-tabpanel.active {
    display: block;
}

.admin-live-track-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.admin-live-track-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 14px 14px;
    overflow: hidden;
    position: relative;
}

.admin-live-track-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 120px at 20% 0%, rgba(0, 255, 255, 0.14), transparent 60%),
                radial-gradient(900px 120px at 80% 100%, rgba(255, 120, 220, 0.10), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.admin-live-track-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.admin-live-track-title::before {
    content: '♫';
    color: rgba(0, 255, 255, 0.85);
    font-size: 1rem;
}

.admin-live-track-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.admin-live-track-line {
    font-family: var(--font-body);
    color: rgba(224, 224, 224, 0.9);
    font-size: 0.78rem;
    line-height: 1.25;
    word-break: break-word;
    letter-spacing: 0.2px;
}

.admin-live-track-line::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 255, 255, 0.75);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.45);
    margin-right: 10px;
    transform: translateY(-1px);
}

.admin-live-track-card[data-track-slot="current"] .admin-live-track-line::before {
    background: rgba(255, 210, 90, 0.85);
    box-shadow: 0 0 18px rgba(255, 210, 90, 0.45);
}

.admin-live-track-card[data-track-slot="prev"] .admin-live-track-line::before {
    background: rgba(255, 120, 220, 0.70);
    box-shadow: 0 0 18px rgba(255, 120, 220, 0.35);
}

.admin-live-track-card[data-track-slot="next"] .admin-live-track-line::before {
    background: rgba(0, 255, 255, 0.75);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.45);
}

.admin-live-track-card[data-track-slot="current"] {
    border-color: rgba(255, 210, 90, 0.22);
}

.admin-live-track-card[data-track-slot="next"] {
    border-color: rgba(0, 255, 255, 0.22);
}

.admin-live-track-card[data-track-slot="prev"] {
    border-color: rgba(255, 120, 220, 0.18);
}

.admin-live-track-card[data-track-slot="next"] {
    cursor: pointer;
}

.admin-live-track-card[data-track-slot="next"]:hover {
    background: rgba(0, 255, 255, 0.06);
}

.admin-live-track-card[data-track-slot="prev"] {
    cursor: pointer;
}

.admin-live-track-card[data-track-slot="prev"]:hover {
    background: rgba(255, 120, 220, 0.05);
}

.admin-live-track-active {
    box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.18), 0 18px 50px rgba(0, 0, 0, 0.35);
}

.admin-live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-live-btnrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-live-week {
    color: rgba(224, 224, 224, 0.85);
    font-family: var(--font-body);
}

.admin-live-table {
    font-size: 0.74rem;
}

.admin-live-table th,
.admin-live-table td {
    padding: 8px 10px;
}

.admin-live-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 7, 12, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 56px;
}

.admin-live-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 56px;
    padding: 0;
}

.admin-live-topbar-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 1rem;
}

.admin-live-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-live-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    color: rgba(224, 224, 224, 0.9);
}

.admin-live-switch input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.admin-live-preview {
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.admin-live-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.admin-live-preview-center img {
    max-height: 160px;
    width: auto;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .admin-live-tab-text {
        display: none;
    }
    .admin-live-tabs {
        gap: 8px;
        padding: 10px 12px;
    }
}

.admin-live-setting {
    display: grid;
    gap: 6px;
}

.admin-live-right-hidden {
    display: none;
}

@media (max-width: 980px) {
    .admin-live-layout {
        grid-template-columns: 1fr;
    }
    .admin-live-grid {
        grid-template-columns: 1fr;
    }
}

.live-music-panel {
    grid-column: span 12;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
}

.panel-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.live-music-form {
    display: grid;
    gap: 14px;
}

.live-music-form .form-row {
    display: grid;
    gap: 8px;
}

.live-music-form label {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.8);
    font-size: 0.9rem;
}

.live-music-form input[type="text"],
.live-music-form input[type="file"] {
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-color);
}

.live-music-hint {
    color: rgba(224, 224, 224, 0.65);
    font-size: 0.9rem;
}

.live-music-inline-alert {
    min-height: 22px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: rgba(224, 224, 224, 0.75);
}

.live-music-inline-alert.is-error {
    color: #ff4d6d;
}

.live-music-inline-alert.is-success {
    color: var(--primary-color);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

.live-music-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.live-music-table thead th {
    text-align: left;
    padding: 14px 14px;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.live-music-table tbody td {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(224, 224, 224, 0.95);
}

.live-music-table tbody tr:last-child td {
    border-bottom: none;
}

.live-music-table tbody tr[draggable="true"] {
    cursor: grab;
}

.table-btn {
    padding: 8px 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    border: 1px solid rgba(0, 242, 255, 0.22);
    background: rgba(0, 242, 255, 0.08);
    color: rgba(224, 224, 224, 0.95);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.table-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 242, 255, 0.45);
}

.table-btn.danger {
    border-color: rgba(255, 77, 109, 0.28);
    background: rgba(255, 77, 109, 0.12);
}

.table-btn.danger:hover {
    border-color: rgba(255, 77, 109, 0.55);
}

.panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.panel-meta {
    color: rgba(224, 224, 224, 0.65);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.queue-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.85);
}

.queue-total-time {
    color: var(--primary-color);
}

.queue-help {
    margin-top: 12px;
    color: rgba(224, 224, 224, 0.6);
    font-size: 0.9rem;
}

.player-wrap {
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    padding: 12px;
}

.player-wrap audio {
    width: 100%;
}

/* Prompt Creator */
.pc-page {
    padding: 80px 0;
    min-height: 80vh;
}

.pc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.pc-header h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.pc-subtitle {
    color: rgba(224, 224, 224, 0.75);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.pc-two-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 18px;
    align-items: start;
}

.pc-left,
.pc-right {
    min-width: 0;
}

.pc-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
}

.pc-panel-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.pc-grid {
    display: grid;
    gap: 18px;
}

.pc-block {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
}

.pc-block-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.9);
    margin-bottom: 12px;
}

.pc-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-family: var(--font-heading);
}

.pc-radio input {
    accent-color: var(--primary-color);
}

.pc-field {
    display: grid;
    gap: 10px;
}

.pc-select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-color);
}

.pc-help {
    margin-top: 10px;
    color: rgba(224, 224, 224, 0.6);
    font-size: 0.9rem;
}

.pc-guide {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.pc-guide li {
    line-height: 1.35;
}

.pc-guide strong {
    color: rgba(224, 224, 224, 0.85);
}

.pc-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.pc-subcard {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 12px;
}

.pc-warn {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 196, 0, 0.22);
    background: rgba(255, 196, 0, 0.06);
    color: rgba(224, 224, 224, 0.85);
    font-family: var(--font-heading);
}

.pc-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.pc-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pc-switch-track {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(0, 242, 255, 0.28);
    background: rgba(0, 242, 255, 0.08);
    position: relative;
    flex-shrink: 0;
}

.pc-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(224, 224, 224, 0.9);
    transition: transform 0.18s ease, background 0.18s ease;
}

.pc-switch input:checked + .pc-switch-track::after {
    transform: translateX(20px);
    background: var(--primary-color);
}

.pc-switch-label {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.85);
}

.pc-hybrid {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.pc-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.pc-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.9);
}

.pc-check input {
    accent-color: var(--primary-color);
}

.pc-details {
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
    padding: 10px 12px;
}

.pc-details summary {
    cursor: pointer;
    user-select: none;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.85);
}

.pc-details[open] summary {
    color: var(--primary-color);
}

.pc-btn {
    border: 1px solid rgba(0, 242, 255, 0.22);
    background: rgba(0, 242, 255, 0.08);
    color: rgba(224, 224, 224, 0.92);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    font-family: var(--font-heading);
}

.pc-btn:hover {
    background: rgba(0, 242, 255, 0.12);
}

.pc-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pc-textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text-color);
    resize: vertical;
    min-height: 110px;
}

.pc-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.pc-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(224, 224, 224, 0.85);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.pc-count {
    color: rgba(224, 224, 224, 0.65);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.pc-saved {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.pc-saved-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.pc-saved-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.9);
}

.pc-saved-meta {
    color: rgba(224, 224, 224, 0.6);
    font-size: 0.9rem;
}

.pc-saved-actions {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pc-btn.danger {
    border-color: rgba(255, 79, 111, 0.25);
    background: rgba(255, 79, 111, 0.08);
}

.pc-btn.danger:hover {
    background: rgba(255, 79, 111, 0.12);
}

.pc-msg {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(224, 224, 224, 0.85);
    font-family: var(--font-heading);
}

.pc-copy.copied {
    border-color: rgba(0, 242, 255, 0.45);
}

/* TikTok Schedule */
.schedule-page {
    padding: 80px 0;
    min-height: 80vh;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.schedule-header h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.schedule-subtitle {
    color: rgba(224, 224, 224, 0.75);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.schedule-card-top {
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.schedule-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 242, 255, 0.22);
    background: rgba(0, 242, 255, 0.06);
    color: rgba(224, 224, 224, 0.9);
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.schedule-host {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
}

.schedule-host-label {
    color: rgba(224, 224, 224, 0.65);
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.schedule-host-value {
    color: var(--text-color);
    font-family: var(--font-heading);
}

.schedule-structure {
    padding: 10px 22px 22px;
}

.schedule-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-time {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.8);
    font-size: 0.9rem;
}

.schedule-label {
    color: rgba(224, 224, 224, 0.95);
}

.team-page {
    padding: 80px 0;
    min-height: 80vh;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.team-header h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.team-subtitle {
    color: rgba(224, 224, 224, 0.75);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.team-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-card.is-soon {
    opacity: 0.8;
}

.team-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    border: 1px solid rgba(0, 242, 255, 0.22);
    background: rgba(0, 242, 255, 0.06);
    box-shadow: 0 0 14px rgba(0, 242, 255, 0.08);
    letter-spacing: 1px;
}

.team-name {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 1.1rem;
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.team-role {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(224, 224, 224, 0.85);
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.admin-page {
    padding: 80px 0;
    min-height: 80vh;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(224, 224, 224, 0.9);
    font-family: var(--font-heading);
    cursor: pointer;
}

.admin-tab.active {
    border-color: rgba(0, 242, 255, 0.45);
    color: var(--primary-color);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.12);
}

.admin-tabpanel {
    display: none;
}

.admin-tabpanel.active {
    display: block;
}

.admin-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.admin-control {
    display: grid;
    gap: 8px;
    min-width: 240px;
}

.admin-label {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.8);
    font-size: 0.9rem;
}

.admin-meta {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.65);
    font-size: 0.9rem;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.admin-inline-input {
    width: 110px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-color);
}

.admin-inline-input[readonly] {
    opacity: 0.75;
}

.admin-small {
    color: rgba(224, 224, 224, 0.65);
    font-size: 0.85rem;
}

.admin-merch-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.admin-merch-grid > .admin-control {
    grid-column: span 6;
    min-width: 0;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.merch-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.merch-media {
    background: rgba(0, 0, 0, 0.25);
}

.merch-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.merch-media video {
    width: 100%;
    display: block;
    background: rgba(0, 0, 0, 0.4);
}

.merch-body {
    padding: 14px 16px 16px;
    display: grid;
    gap: 8px;
}

.merch-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 1.05rem;
}

.merch-price {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.merch-desc {
    color: rgba(224, 224, 224, 0.8);
    font-size: 0.95rem;
    line-height: 1.35;
}

.merch-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.merch-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .admin-merch-grid > .admin-control {
        grid-column: span 12;
    }
    .merch-media img {
        height: 200px;
    }
}

/* Artists */
.artist-page {
    padding: 80px 0;
    min-height: 80vh;
}

.artist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

.artist-header h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.artist-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.artist-search {
    min-width: 240px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
}

.artist-sort {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
}

.artist-search-btn {
    padding: 12px 20px;
}

.alpha-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.alpha-filter a {
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.alpha-filter a:hover,
.alpha-filter a.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.15);
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.artist-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    text-align: center;
}

.artist-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.06);
}

.artist-avatar {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.25);
    background: rgba(0, 242, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.artist-avatar-blank {
    width: 100%;
    height: 100%;
}

.artist-initials {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.artist-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    align-items: center;
}

.artist-name {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.artist-handle {
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.9rem;
}

.artist-empty {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

/* Artist Profile */
.profile-page {
    padding: 80px 0;
    min-height: 80vh;
}

.profile-hero {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    margin-bottom: 22px;
}

.profile-banner {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 18px;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 255, 0.25);
    background: rgba(0, 242, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.profile-name {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 6px;
}

.profile-handle {
    color: rgba(224, 224, 224, 0.75);
    margin-bottom: 6px;
}

.profile-meta-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 242, 255, 0.25);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.profile-genre {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(112, 0, 255, 0.35);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.profile-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.profile-form select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
    font-family: var(--font-main);
}

.profile-form input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: var(--text-color);
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.genre-pill {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.genre-pill input {
    width: 16px;
    height: 16px;
}

.genre-pill span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: rgba(224, 224, 224, 0.9);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.profile-tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(112, 0, 255, 0.35);
    color: rgba(224, 224, 224, 0.9);
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.linktree {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.linktree-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}

.linktree-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.linktree-link:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.linktree-label {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.linktree-url {
    color: rgba(224, 224, 224, 0.75);
    font-size: 0.85rem;
    word-break: break-word;
}

.linktree-copy {
    width: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(224, 224, 224, 0.9);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.linktree-copy:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.linktree-copy.copied {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 242, 255, 0.08);
}

.profile-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.profile-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-muted {
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.9rem;
}

.profile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.profile-divider-lg {
    margin: 18px 0;
}

.profile-card .pc-help {
    display: block;
    margin-top: 10px;
    color: rgba(224, 224, 224, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

.profile-checklist {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.profile-check-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.profile-check-item input {
    margin-top: 4px;
}

.profile-check-item label {
    margin: 0;
}

.profile-video {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.profile-video video {
    width: 100%;
    height: auto;
    display: block;
}

.profile-video.portrait video {
    max-height: 520px;
    object-fit: contain;
}

.profile-video.landscape video {
    max-height: 420px;
    object-fit: contain;
}

.profile-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.profile-card {
    padding: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.profile-card-wide {
    grid-column: 1 / -1;
}

.profile-card h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.profile-section-title {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin: 18px 0 12px;
}

.profile-private {
    margin-bottom: 22px;
}

.profile-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: all 0.3s ease;
    min-height: 120px;
    resize: vertical;
}

.profile-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.profile-form-actions {
    margin-top: 10px;
}

.profile-notfound {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.chart-public-list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
}

.chart-public-item {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    width: 100%;
    max-width: none;
}

.chart-public-head {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.chart-public-head.no-logo {
    grid-template-columns: 1fr;
}

.chart-public-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.chart-public-meta {
    min-width: 0;
}

.chart-public-type {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.75);
    font-size: 0.85rem;
}

.chart-public-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 1.05rem;
    width: 100%;
    overflow-wrap: anywhere;
}

.chart-public-sub {
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.9rem;
}

.chart-spotify-embed {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: clamp(180px, 24vw, 232px);
    max-width: 100%;
    border: 0;
    box-sizing: border-box;
}

.chart-snippet {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.chart-snippet-status {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.9rem;
}

.chart-page {
    padding: 80px 0;
    min-height: 80vh;
}

.chart-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.chart-top-card {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
}

.chart-top-label {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.9rem;
}

.chart-top-value {
    margin-top: 6px;
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 1.05rem;
}

.chart-entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 14px;
}

.chart-entry-card {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: none;
}

.chart-entry-head {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
}

.chart-entry-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.chart-entry-title {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.95);
    font-size: 1.05rem;
}

.chart-entry-artist {
    color: rgba(224, 224, 224, 0.75);
    font-size: 0.9rem;
}

.chart-entry-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.chart-action-btn {
    padding: 8px 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(224, 224, 224, 0.92);
    cursor: pointer;
}

.chart-action-btn.is-on {
    border-color: rgba(0, 242, 255, 0.45);
    color: var(--primary-color);
}

.chart-comments {
    display: none;
    gap: 10px;
}

.chart-comments.is-open {
    display: grid;
}

.chart-comments textarea,
.chart-comments input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-color);
}

.chart-comment-list {
    display: grid;
    gap: 8px;
}

.chart-comment {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.chart-comment-meta {
    font-family: var(--font-heading);
    color: rgba(224, 224, 224, 0.7);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.chart-comment-text {
    color: rgba(224, 224, 224, 0.9);
    font-size: 0.95rem;
    line-height: 1.35;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 0;
    }
    .nav-bar a {
        padding: 10px 8px;
        font-size: 0.75rem;
    }
    .pc-two-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        clip-path: circle(0px at 100% 0%);
        transition: clip-path 0.5s ease-in-out;
        border-bottom: 1px solid var(--primary-color);
        overflow-y: auto;
        gap: 0;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0%);
    }

    .nav-links > li {
        width: 100%;
        display: block;
        height: auto;
    }

    .nav-bar a {
        padding: 15px 25px;
        width: 100%;
        justify-content: space-between;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        display: none; /* Toggle with JS */
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 40px;
        font-size: 0.9rem;
    }

    .artist-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .artist-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .artist-search {
        width: 100%;
        min-width: 0;
    }

    .artist-sort {
        width: 100%;
    }

    .artist-search-btn {
        width: 100%;
    }

    .profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-music-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .live-music-table {
        min-width: 620px;
    }

    .pc-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .schedule-row {
        grid-template-columns: 1fr;
    }

    /* Burger Animation */
    #mobile-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    #mobile-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header h1 { font-size: 2.5rem; }
    .header p { font-size: 1.1rem; }
    
    .content {
        padding: 60px 0;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}
