:root{--accent:#fa4c29;--dark:#1b1f27;--bg:#f4f5f7;--text:#20232b;--muted:#68707d;--card:#fff;--border:#e6e8ef;--success:#168a42;--warning:#a66a00;--danger:#b00020}
*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:var(--bg);color:var(--text)}
.topbar{margin:24px auto;max-width:1360px;padding:22px 28px;background:var(--dark);color:#fff;border-radius:20px;display:flex;justify-content:space-between;gap:18px;align-items:center}
.topbar span{color:#b8bec9;margin-left:10px;font-size:14px}.topbar nav{display:flex;gap:14px;flex-wrap:wrap}.topbar a{color:#fff;text-decoration:none}
.container{max-width:1360px;margin:30px auto 70px;padding:0 20px}.hero,.card,.notice{background:var(--card);border-radius:24px;padding:32px;box-shadow:0 12px 35px rgba(0,0,0,.07);margin-bottom:24px}.notice{border-left:6px solid var(--accent)}
.public-hero{background:linear-gradient(135deg,#1b1f27,#2e3440);color:#fff}.public-hero p{color:#d8dbe3}.public-hero .eyebrow{color:#ffb39f!important}
.hero h1{font-size:44px;margin:0 0 12px}.hero p,.card p,.muted{color:var(--muted);font-size:17px;line-height:1.5}.public-hero .muted{color:#d8dbe3}.eyebrow{color:var(--accent)!important;font-weight:bold;text-transform:uppercase;letter-spacing:.08em;font-size:13px!important}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}.button,button{display:inline-block;padding:13px 18px;border-radius:12px;background:var(--accent);color:#fff;text-decoration:none;font-weight:bold;border:0;cursor:pointer}.button.secondary{background:var(--dark)}.public-hero .button.secondary{background:#fff;color:#1b1f27}button:disabled{opacity:.45;cursor:not-allowed}
.grid{margin-top:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}.card h2{margin-top:0}.artist-card{min-height:220px}
.vote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px}.vote-card{background:#fff;border-radius:24px;padding:22px;display:flex;gap:18px;box-shadow:0 12px 35px rgba(0,0,0,.07)}.vote-card h2{margin:0 0 4px}.vote-card h3{margin:0 0 8px}.song-cover{width:96px;height:96px;border-radius:16px;object-fit:cover;background:#f0f1f5;display:flex;align-items:center;justify-content:center;font-size:36px;color:#999;flex:0 0 96px}.placeholder{font-weight:bold}
table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}th,td{padding:14px 16px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}td:first-child{font-weight:bold}
input,select,textarea{display:block;width:100%;max-width:680px;padding:12px;margin-top:6px;border:1px solid var(--border);border-radius:10px}textarea{min-height:90px}label{display:block;margin:14px 0;font-weight:bold}.checkbox{font-weight:normal;display:flex;gap:10px;align-items:flex-start;max-width:850px}.checkbox input{width:auto;margin:3px 0 0}.inline-form{display:grid;gap:8px;min-width:280px}.inline-form input,.inline-form select{max-width:100%;margin-top:0}.success{color:var(--success);font-weight:bold}.warning{color:var(--warning);font-weight:bold}.bad{color:var(--danger);font-weight:bold}

.metric-card h2{font-size:38px;margin:0 0 8px}.metric-card p:last-child{margin-bottom:0}

.search-box{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.search-box input{max-width:520px;margin-top:0}
.song-detail{display:flex;gap:28px;align-items:center}
.song-cover.large{width:180px;height:180px;font-size:72px;flex:0 0 180px}
@media(max-width:720px){.song-detail{display:block}.song-cover.large{margin-bottom:20px}}

pre{white-space:pre-wrap;word-break:break-word;background:#111827;color:#f9fafb;padding:18px;border-radius:14px;overflow:auto}

.profile-badge{display:inline-flex;gap:8px;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;font-size:13px}


/* SPRINT25 MOBILE */
.table-wrap{overflow-x:auto}
table{min-width:720px}
@media(max-width:820px){
  body{font-size:15px}
  .container{padding:14px}
  nav{display:flex;flex-wrap:wrap;gap:8px}
  nav a{padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.08)}
  .grid{grid-template-columns:1fr!important}
  .card,.hero{padding:18px}
  input,select,textarea,button,.button{width:100%;max-width:100%;box-sizing:border-box}
  .actions{display:grid;grid-template-columns:1fr;gap:10px}
  .inline-form{display:grid;gap:8px}
  table{display:block;overflow-x:auto;width:100%}
  .metric-card h2{font-size:30px}
}
@media(max-width:520px){
  h1{font-size:28px}
  h2{font-size:22px}
  .song-cover.large{width:140px;height:140px}
}

/* SPRINT33: strukturierte Navigation und Voting 2.0 */
.topbar{align-items:flex-start}.brand{min-width:160px}.main-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-start}.main-nav>a,.nav-group>summary{color:#fff;text-decoration:none;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.08);cursor:pointer;list-style:none}.nav-group{position:relative}.nav-group summary::-webkit-details-marker{display:none}.nav-group[open]>summary{background:rgba(250,76,41,.32)}.nav-group a{display:block;color:#fff;text-decoration:none;padding:9px 12px;border-radius:8px;white-space:nowrap}.nav-group a:hover,.main-nav>a:hover{background:rgba(255,255,255,.14)}.nav-group[open]{background:rgba(0,0,0,.16);border-radius:14px;padding:0 4px 6px}.nav-group[open] a{margin-top:4px}
.coming-soon{border-left:8px solid var(--accent)}.status-list ul{margin-top:4px;color:var(--muted);line-height:1.7}
.vote-list{display:grid;gap:12px}.vote-list-head{display:grid;grid-template-columns:50px 1fr minmax(230px,auto);gap:14px;padding:10px 18px;color:var(--muted);font-weight:bold}.vote-row{display:grid;grid-template-columns:50px auto 1fr minmax(230px,auto);gap:14px;align-items:center;background:#fff;border-radius:18px;padding:16px 18px;box-shadow:0 10px 26px rgba(0,0,0,.06)}.vote-position{font-size:20px;font-weight:bold;color:var(--accent)}.vote-main strong,.vote-main span{display:block}.vote-main a{color:var(--text);text-decoration:none}.vote-main a:hover{text-decoration:underline}.points-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.points-actions button{min-width:40px;padding:10px 12px;border-radius:10px;background:var(--dark)}.points-actions button:hover{background:var(--accent)}.points-label{font-size:13px;color:var(--muted);font-weight:bold}.vote-actions{margin-top:12px}.vote-grid-modern .vote-card,.vote-grid-cover_focus .vote-card{display:flex;align-items:center}.vote-card.cover-focus{display:block;text-align:center}.vote-card.cover-focus .song-cover{width:150px;height:150px;margin:0 auto 16px;font-size:60px}.vote-card .points-actions{margin-top:14px}.button.small{padding:8px 11px;font-size:13px}.danger{background:var(--danger)!important}
@media(max-width:820px){.topbar{display:block}.brand{margin-bottom:14px}.main-nav,.nav-group{display:block}.main-nav>a,.nav-group>summary{display:block;margin-bottom:6px}.nav-group[open]{margin-bottom:8px}.vote-list-head{display:none}.vote-row{grid-template-columns:auto 1fr;gap:12px}.vote-row .song-cover{grid-row:1/3}.vote-row .vote-main{grid-column:2}.vote-row .points-actions{grid-column:1/3}.points-actions button{flex:1}.vote-card{display:block}.vote-card .song-cover{margin-bottom:14px}}

/* SPRINT34: Dropdown-Navigation, Chartaktionen, Voting-UX */
.field-help{display:block;color:var(--muted);font-weight:normal;font-size:13px;margin-top:6px;line-height:1.4}.action-row{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.inline-action{display:inline;margin:0}.small,button.small{padding:8px 11px;font-size:13px;border-radius:10px}.warning-button{background:#b86b00!important}.button.secondary{background:var(--dark)}
.main-nav{align-items:center}.nav-group{position:relative;padding:0;margin:0}.nav-group[open]{background:transparent;padding:0}.nav-group>summary{display:block}.nav-group>a,.nav-group a{display:none}.nav-group[open] a,.nav-group:hover a{display:block}.nav-group[open]{background:transparent}.nav-group[open]>summary,.nav-group:hover>summary{background:rgba(250,76,41,.32)}.nav-group[open]::after,.nav-group:hover::after{content:"";position:absolute;left:0;right:0;top:100%;height:6px}.nav-group[open] a,.nav-group:hover a{background:#101722;margin:0;padding:11px 16px;min-width:190px}.nav-group[open] a:first-of-type,.nav-group:hover a:first-of-type{border-top-left-radius:12px;border-top-right-radius:12px;margin-top:6px}.nav-group[open] a:last-of-type,.nav-group:hover a:last-of-type{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.nav-group[open] a:hover,.nav-group:hover a:hover{background:#1f2937;color:#fff}.nav-group{z-index:20}.nav-group a{position:relative;z-index:25}.topbar{overflow:visible}.main-nav{overflow:visible}
.vote-list{background:#fff;border-radius:18px;box-shadow:0 10px 26px rgba(0,0,0,.06);overflow:hidden;gap:0}.vote-list-head{grid-template-columns:80px minmax(320px,1fr) minmax(360px,auto);gap:18px;padding:20px 28px;border-bottom:1px solid var(--border);background:#fafbfc}.vote-row{grid-template-columns:80px minmax(320px,1fr) minmax(360px,auto);gap:18px;border-radius:0;box-shadow:none;border-bottom:1px solid var(--border);padding:24px 28px}.vote-row:last-child{border-bottom:0}.vote-position{font-size:28px;line-height:1;color:var(--accent);text-align:center;border-right:1px solid var(--border);padding-right:20px}.artist-title-line{font-size:22px;white-space:normal}.artist-title-line .artist-name{font-weight:800}.artist-title-line .song-title{font-weight:400}.title-separator{color:#111827}.points-actions{display:grid;grid-template-columns:auto repeat(5,64px);gap:14px;align-items:center;justify-content:end}.points-actions .points-label{font-size:0;width:0;overflow:hidden}.points-actions button{min-width:64px;height:54px;border-radius:10px;background:var(--dark);font-size:22px;font-weight:800;line-height:1}.points-actions button:hover,.points-actions button:focus{background:var(--accent);transform:translateY(-1px)}
@media(max-width:900px){.nav-group[open] a,.nav-group:hover a{position:static;min-width:0}.vote-list{background:transparent;box-shadow:none}.vote-row{grid-template-columns:52px 1fr;gap:14px;background:#fff;border-radius:18px;margin-bottom:12px;box-shadow:0 10px 26px rgba(0,0,0,.06);padding:18px}.vote-position{text-align:left;border-right:0;padding-right:0;font-size:24px}.artist-title-line{font-size:19px}.points-actions{grid-column:1/3;grid-template-columns:repeat(5,1fr);gap:8px;justify-content:stretch}.points-actions button{min-width:0;width:100%;height:48px}.vote-list-head{display:none}}

/* SPRINT35: echtes Dropdown, kompakte Tabellen und Theme-Vorschau */
.topbar{align-items:center;position:relative;z-index:1000}.main-nav{align-items:center}.nav-group{position:relative;display:inline-block}.nav-trigger{background:rgba(255,255,255,.08);color:#fff;border:0;padding:8px 12px;border-radius:10px;font-weight:700;cursor:pointer;width:auto}.nav-trigger:hover,.nav-group:focus-within .nav-trigger,.nav-group:hover .nav-trigger{background:rgba(250,76,41,.32)}.dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:235px;background:#101722;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:8px;box-shadow:0 18px 45px rgba(0,0,0,.28);z-index:5000}.nav-group:hover .dropdown-menu,.nav-group:focus-within .dropdown-menu{display:block}.dropdown-menu a{display:block!important;color:#fff;text-decoration:none;padding:11px 13px;border-radius:10px;white-space:nowrap;background:transparent!important}.dropdown-menu a:hover{background:#1f2937!important;color:#fff}.main-nav>a{display:inline-block;background:rgba(255,255,255,.08);padding:8px 12px;border-radius:10px}.main-nav>a:hover{background:rgba(250,76,41,.32)}
.nav-group>summary,.nav-group>a{display:none!important}.nav-group[open]{background:transparent!important;padding:0!important}
.dashboard-section{margin:28px 0}.section-title{margin:0 0 14px;font-size:24px}.metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:22px}.mini-card{background:#fff;border-radius:18px;padding:18px;box-shadow:0 10px 28px rgba(0,0,0,.06)}.mini-card strong{font-size:30px;display:block}.mini-card span{color:var(--muted);font-weight:700}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.module-card{background:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(0,0,0,.06)}.module-card h3{margin:0 0 8px}.module-card p{color:var(--muted);line-height:1.45}.status-pill{display:inline-block;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2ff;color:#1b1f27}.status-active{background:#eaf8ef;color:#168a42}.status-archived{background:#f4e9ea;color:#8d162f}.status-draft,.status-inactive{background:#f5f0e7;color:#a66a00}
.artist-title-line a,.artist-title-line span{display:inline!important}.artist-title-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-vote-list .vote-main a{display:inline!important}.compact-vote-list .title-separator{display:inline!important}.points-actions{align-items:center}.points-actions button{vertical-align:middle}.field-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.field-row input[type=color]{width:56px;height:46px;padding:4px;border-radius:12px;cursor:pointer}.field-row input[type=text]{max-width:220px}.theme-preview{border:1px solid var(--border);border-radius:16px;padding:16px;max-width:520px;margin:10px 0 20px;background:#fff}.theme-preview-header{height:40px;border-radius:12px;background:var(--preview-secondary,#1b1f27);margin-bottom:12px}.theme-preview-button{display:inline-block;border-radius:10px;background:var(--preview-primary,#fa4c29);color:#fff;padding:10px 14px;font-weight:700}.theme-preview-card{border:1px solid var(--border);border-left:5px solid var(--preview-primary,#fa4c29);border-radius:12px;padding:12px;margin-top:12px;color:#333}.help-inline{display:block;color:var(--muted);font-weight:normal;font-size:13px;line-height:1.4;margin-top:6px}.actions-wide{min-width:360px}.live-vote-group{margin-bottom:22px}.live-vote-group h2{margin:0 0 10px}.live-vote-summary{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.result-actions{display:flex;gap:8px;flex-wrap:wrap}.button.danger,button.danger{background:var(--danger)!important}.button.warning,button.warning{background:#b86b00!important}
@media(max-width:900px){.topbar{display:block}.dropdown-menu{position:static;box-shadow:none;margin:6px 0 10px}.nav-group,.nav-trigger,.main-nav>a{display:block;width:100%;text-align:left;margin-bottom:6px}.artist-title-line{white-space:normal}.actions-wide{min-width:0}.result-actions .button,.result-actions button{width:100%}}

/* SPRINT36.1: UI Hotfix – ruhige Aktionsbuttons */
.action-row .button.small:not(.danger),.action-row button.small:not(.danger){background:var(--dark)!important;color:#fff!important}
.action-row .button.small:not(.danger):hover,.action-row button.small:not(.danger):hover{background:#2a303b!important;color:#fff!important}
.action-row .danger{background:var(--danger)!important;color:#fff!important}
.action-row .danger:hover{background:#8f001a!important;color:#fff!important}
.filter-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.filter-form label{min-width:320px;margin:0}.filter-form select{margin-top:6px}.advanced-fields{border:1px solid var(--border);border-radius:14px;padding:12px 16px;margin:16px 0;background:#fafbfc}.advanced-fields summary{cursor:pointer;font-weight:700}.status-geplant{background:#eef2ff;color:#3343a2}.status-abgelaufen{background:#f5f0e7;color:#a66a00}.status-active{background:#eaf8ef;color:#168a42}.status-archived{background:#f4e9ea;color:#8d162f}


/* SPRINT37: Global Design System */
body.theme-standard-light{--accent:#fa4c29;--dark:#1b1f27;--bg:#f4f5f7;--text:#20232b;--muted:#68707d;--card:#ffffff;--border:#e6e8ef}
body.theme-modern-radio{--accent:#fa4c29;--dark:#101827;--bg:#f6f7fb;--text:#1f2937;--muted:#6b7280;--card:#ffffff;--border:#e5e7eb}
body.theme-eiskalt{--accent:#4aa3ff;--dark:#0a2342;--bg:#eef7ff;--text:#102030;--muted:#557089;--card:#ffffff;--border:#cde7ff}
body.theme-usercharts-pro-dark{--accent:#ff5a1f;--dark:#05070a;--bg:#090d13;--text:#f4f4f5;--muted:#a5adba;--card:#14181f;--border:#252b35;--success:#22c55e;--warning:#f59e0b;--danger:#ef4444}
body.theme-usercharts-pro-dark .topbar{background:#0b0f14;border:1px solid #252b35;box-shadow:0 18px 50px rgba(0,0,0,.35)}
body.theme-usercharts-pro-dark .hero,body.theme-usercharts-pro-dark .card,body.theme-usercharts-pro-dark .notice,body.theme-usercharts-pro-dark .mini-card,body.theme-usercharts-pro-dark .module-card,body.theme-usercharts-pro-dark table,body.theme-usercharts-pro-dark .vote-row,body.theme-usercharts-pro-dark .vote-list,body.theme-usercharts-pro-dark .vote-card{background:var(--card);color:var(--text);border:1px solid var(--border);box-shadow:0 18px 50px rgba(0,0,0,.25)}
body.theme-usercharts-pro-dark th,body.theme-usercharts-pro-dark td{border-color:var(--border)}
body.theme-usercharts-pro-dark input,body.theme-usercharts-pro-dark select,body.theme-usercharts-pro-dark textarea{background:#0f141c;color:var(--text);border-color:var(--border)}
body.theme-usercharts-pro-dark .dropdown-menu{background:#0f141c;border-color:#252b35}
body.theme-usercharts-pro-dark .dropdown-menu a:hover{background:#1f2937!important}
body.theme-usercharts-pro-dark .theme-preview{background:#14181f;border-color:#252b35}
body.theme-usercharts-pro-dark .theme-preview-card{background:#0f141c;color:#f4f4f5;border-color:#252b35}
body.theme-eiskalt .topbar{background:linear-gradient(135deg,#0a2342,#1f4e79)}
body.theme-eiskalt .hero,body.theme-eiskalt .card,body.theme-eiskalt .mini-card,body.theme-eiskalt .module-card{box-shadow:0 14px 35px rgba(74,163,255,.12)}
body.theme-custom{--accent:#fa4c29;--dark:#1b1f27}
.global-theme-preview{max-width:760px}


/* SPRINT37.3: Admin Branding Logo */
.brand{display:flex;align-items:center;gap:10px}
.brand-logo{display:block;max-width:220px;max-height:56px;width:auto;height:auto;object-fit:contain}
.brand .brand-fallback{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.branding-preview{display:flex;gap:18px;align-items:center;flex-wrap:wrap;background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:14px;margin:10px 0 16px}
.branding-preview img{max-width:320px;max-height:200px;height:200px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:10px;padding:8px}
body.theme-usercharts-pro-dark .branding-preview{background:#0f141c;border-color:#252b35}
body.theme-usercharts-pro-dark .branding-preview img{background:#14181f;border-color:#252b35}
body.theme-usercharts-pro-dark .brand-logo{filter:none}

/* SPRINT37.4: Pro Dark Admin Framework Merge */
body.theme-usercharts-pro-dark .topbar{display:none}
body.theme-usercharts-pro-dark .container{max-width:none;margin:0;padding:0}
body.theme-usercharts-pro-dark .notice{margin:0 0 16px;background:#14181f;border-color:#ff5a1f;color:#f4f4f5}
.pro-dashboard-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr;background:#07090d;color:#f4f4f5}
.pro-sidebar{background:#090c11;border-right:1px solid #242a34;padding:22px 18px;position:sticky;top:0;height:100vh;overflow:auto}
.pro-brand{margin-bottom:22px}.pro-sidebar-logo{display:block;height:200px;width:auto;max-width:100%;object-fit:contain;margin:0 auto 18px}.pro-logo{font-size:18px;font-weight:900;letter-spacing:.02em;margin-bottom:28px;color:#fff}.pro-logo span{color:#ff5a1f}.pro-sidebar p{font-size:12px;font-weight:800;text-transform:uppercase;color:#a5adba;margin:0 0 12px}.pro-sidebar>a,.pro-side-group a{display:flex;align-items:center;gap:10px;color:#f4f4f5;text-decoration:none;padding:11px 14px;border-radius:10px;margin:4px 0;font-weight:700}.pro-sidebar>a:hover,.pro-sidebar>a.active,.pro-side-group a:hover{background:linear-gradient(90deg,rgba(255,90,31,.45),rgba(255,90,31,.12));color:#fff}.pro-sidebar .logout{margin-top:24px;border-top:1px solid #242a34;padding-top:18px;color:#ff7b4c}
.pro-side-group{margin:8px 0;border-radius:12px;overflow:hidden;border:1px solid transparent}.pro-side-group summary{list-style:none;cursor:pointer;color:#f4f4f5;font-weight:900;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.03);display:flex;align-items:center;justify-content:space-between}.pro-side-group summary::-webkit-details-marker{display:none}.pro-side-group summary:after{content:'▾';font-size:12px;color:#a5adba;transition:.18s transform}.pro-side-group:not([open]) summary:after{transform:rotate(-90deg)}.pro-side-group[open] summary{background:linear-gradient(90deg,rgba(255,90,31,.45),rgba(255,90,31,.12));color:#fff}.pro-side-group a{margin-left:12px!important;padding:9px 14px!important;font-weight:700!important;color:#d1d5db!important;background:transparent!important}.pro-side-group a:hover{background:rgba(255,90,31,.16)!important;color:#fff!important}
.pro-dashboard-main{padding:26px 32px 46px;overflow:hidden;min-width:0}.pro-dashboard-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.pro-dashboard-title h1{margin:0;font-size:26px;color:#fff}.pro-dashboard-title span{color:#d1d5db;font-size:14px}.pro-admin-content{background:linear-gradient(180deg,#171a21,#11151b);border:1px solid #2a303b;border-radius:14px;padding:24px;box-shadow:0 14px 36px rgba(0,0,0,.24)}
body.theme-usercharts-pro-dark .pro-admin-content .hero,body.theme-usercharts-pro-dark .pro-admin-content .card,body.theme-usercharts-pro-dark .pro-admin-content .notice,body.theme-usercharts-pro-dark .pro-admin-content .mini-card,body.theme-usercharts-pro-dark .pro-admin-content .module-card{background:#14181f;border:1px solid #2a303b;box-shadow:none;color:#f4f4f5}body.theme-usercharts-pro-dark .pro-admin-content h1,body.theme-usercharts-pro-dark .pro-admin-content h2,body.theme-usercharts-pro-dark .pro-admin-content h3{color:#fff}body.theme-usercharts-pro-dark .pro-admin-content p,body.theme-usercharts-pro-dark .pro-admin-content .muted{color:#a5adba}body.theme-usercharts-pro-dark .pro-admin-content table{background:#11151b;color:#f4f4f5;border:1px solid #2a303b;border-radius:10px;min-width:0}body.theme-usercharts-pro-dark .pro-admin-content th,body.theme-usercharts-pro-dark .pro-admin-content td{border-color:#2a303b;color:#e5e7eb}body.theme-usercharts-pro-dark .pro-admin-content th{background:#0f141c;color:#fff}body.theme-usercharts-pro-dark .pro-admin-content input,body.theme-usercharts-pro-dark .pro-admin-content select,body.theme-usercharts-pro-dark .pro-admin-content textarea{background:#0f141c;color:#f4f4f5;border-color:#333b48}body.theme-usercharts-pro-dark .pro-admin-content .button:not(.danger),body.theme-usercharts-pro-dark .pro-admin-content button:not(.danger){background:#1b1f27!important;color:#fff!important;border:1px solid #333b48}body.theme-usercharts-pro-dark .pro-admin-content .button:not(.danger):hover,body.theme-usercharts-pro-dark .pro-admin-content button:not(.danger):hover{background:#2a303b!important}body.theme-usercharts-pro-dark .pro-admin-content .danger{background:#dc2626!important;color:#fff!important}.brand-logo{height:200px!important;max-height:200px!important;width:auto;max-width:100%;object-fit:contain}
@media(max-width:900px){.pro-dashboard-shell{display:block}.pro-sidebar{height:auto;position:relative}.pro-dashboard-main{padding:18px}.pro-admin-content{padding:16px}.pro-side-group summary{padding:11px 12px}.pro-side-group a{margin-left:0!important}.pro-sidebar-logo{height:140px}}


/* SPRINT37.4.1: Sidebar CSS Fix */
body.theme-usercharts-pro-dark .pro-dashboard-shell{display:grid!important;grid-template-columns:280px 1fr!important;min-height:100vh!important}
body.theme-usercharts-pro-dark .pro-sidebar a{display:block!important;text-decoration:none!important;color:#f4f4f5!important}
body.theme-usercharts-pro-dark .pro-side-group a{display:block!important;margin-left:16px!important}
body.theme-usercharts-pro-dark .pro-side-group summary{display:block!important;color:#fff!important}
body.theme-usercharts-pro-dark .pro-admin-content a:not(.button):not(.pro-button){color:#ff8a5c}


/* SPRINT37.4.2: Sidebar & Branding Fix */
.pro-logo{font-size:20px;font-weight:900;letter-spacing:.02em;margin-bottom:28px;color:#fff;text-align:center}
.pro-logo span{color:inherit}
.pro-logo::first-letter{color:inherit!important}
.brand-logo,.frontend-logo,.login-logo{height:200px!important;max-height:200px!important;width:auto!important;max-width:100%;object-fit:contain}
.pro-sidebar-logo{height:200px!important;max-height:200px!important;width:auto!important;max-width:100%;object-fit:contain;margin:0 auto 18px;display:block}
.brand .brand-logo + .brand-fallback{display:none}
body.theme-usercharts-pro-dark .pro-brand{min-height:210px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
@media(max-width:900px){.brand-logo,.frontend-logo,.login-logo,.pro-sidebar-logo{height:200px!important;max-height:200px!important}.pro-brand{min-height:210px!important}}


/* SPRINT37.4.3: Frontend Branding Fix */
.frontend-logo{height:200px!important;max-height:200px!important;width:auto!important;max-width:100%;object-fit:contain}
.topbar .brand{min-height:210px;align-items:center}
.branding-preview img{height:200px!important;max-height:200px!important;width:auto!important;max-width:100%;object-fit:contain}
body.theme-usercharts-pro-dark .topbar:not(.admin-hidden){min-height:240px}

/* SPRINT37.4.4: Frontend Logo Visibility Fix */
body.theme-usercharts-pro-dark .topbar{display:flex!important;min-height:240px;align-items:center}
body.theme-usercharts-pro-dark .topbar .brand{min-height:210px;display:flex;align-items:center;gap:16px}
body.theme-usercharts-pro-dark .topbar .brand-logo,body.theme-usercharts-pro-dark .topbar .frontend-logo{height:200px!important;max-height:200px!important;width:auto!important;max-width:100%;object-fit:contain;display:block!important}
body.theme-usercharts-pro-dark .topbar .brand-fallback{display:none!important}
@media(max-width:900px){body.theme-usercharts-pro-dark .topbar{display:block!important}body.theme-usercharts-pro-dark .topbar .brand{min-height:210px}}


/* SPRINT37.4.5: Frontend Header Alignment & About Page */
body:not(.theme-usercharts-pro-dark) .topbar,
body.theme-usercharts-pro-dark .topbar{justify-content:flex-start!important;padding-left:0!important;margin-left:0!important;width:100%!important}
.topbar .brand{margin-left:0!important;padding-left:0!important;justify-content:flex-start!important;text-align:left!important}
.topbar .brand > span{display:none!important}
.topbar .brand-logo,.topbar .frontend-logo{margin-left:0!important}
body.theme-usercharts-pro-dark .topbar{display:flex!important;justify-content:flex-start!important;padding-left:0!important}
body.theme-usercharts-pro-dark .topbar .brand{justify-content:flex-start!important;margin-left:0!important;padding-left:0!important}


/* SPRINT37.5.1: Chart/Voting list layout fix */
.compact-vote-list{width:100%;overflow:hidden}
.compact-vote-list .vote-list-head{display:grid!important;grid-template-columns:64px 92px minmax(220px,1fr) minmax(330px,auto)!important;gap:18px!important;align-items:center!important;padding:16px 24px!important}
.compact-vote-list .vote-row{display:grid!important;grid-template-columns:64px 92px minmax(220px,1fr) minmax(330px,auto)!important;gap:18px!important;align-items:center!important;min-height:104px!important;padding:18px 24px!important}
.compact-vote-list .vote-position{grid-column:1!important;text-align:center!important;border-right:1px solid var(--border)!important;padding-right:14px!important;font-size:24px!important}
.compact-vote-list .song-cover{grid-column:2!important;width:64px!important;height:64px!important;min-width:64px!important;border-radius:14px!important;margin:0!important;object-fit:cover!important;font-size:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.compact-vote-list .vote-main{grid-column:3!important;min-width:0!important;justify-self:start!important;text-align:left!important;font-size:20px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.compact-vote-list .vote-main a,.compact-vote-list .vote-main span{display:inline!important;white-space:nowrap!important}
.compact-vote-list .points-actions{grid-column:4!important;display:grid!important;grid-template-columns:repeat(5,54px)!important;gap:10px!important;align-items:center!important;justify-content:end!important;justify-self:end!important;min-width:300px!important}
.compact-vote-list .points-actions .points-label{display:none!important}
.compact-vote-list .points-actions button{width:54px!important;min-width:54px!important;height:46px!important;font-size:18px!important;border-radius:10px!important;padding:0!important}
body.theme-usercharts-pro-dark .compact-vote-list{background:#14181f!important;border-color:#252b35!important}
body.theme-usercharts-pro-dark .compact-vote-list .vote-row{background:#14181f!important;border-bottom:1px solid #252b35!important;box-shadow:none!important}
body.theme-usercharts-pro-dark .compact-vote-list .vote-list-head{background:#0f141c!important;border-bottom:1px solid #252b35!important}
body.theme-usercharts-pro-dark .compact-vote-list .song-cover{background:#20242d!important;border:1px solid #333b48!important}
@media(max-width:900px){
  .compact-vote-list .vote-list-head{display:none!important}
  .compact-vote-list .vote-row{grid-template-columns:44px 64px 1fr!important;gap:12px!important;padding:16px!important;min-height:0!important;border-radius:16px!important;margin-bottom:12px!important}
  .compact-vote-list .vote-position{grid-column:1!important;border-right:0!important;padding-right:0!important;font-size:22px!important}
  .compact-vote-list .song-cover{grid-column:2!important;width:56px!important;height:56px!important;min-width:56px!important}
  .compact-vote-list .vote-main{grid-column:3!important;font-size:17px!important;white-space:normal!important}
  .compact-vote-list .vote-main a,.compact-vote-list .vote-main span{white-space:normal!important}
  .compact-vote-list .points-actions{grid-column:1/4!important;grid-template-columns:repeat(5,1fr)!important;min-width:0!important;width:100%!important;justify-self:stretch!important;justify-content:stretch!important;margin-top:10px!important}
  .compact-vote-list .points-actions button{width:100%!important;min-width:0!important;height:44px!important}
}

/* SPRINT37.5.2: Modern/Cover voting card layout fix */
.vote-grid.vote-grid-modern,
.vote-grid.vote-grid-cover_focus{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.vote-grid-modern .vote-card,
.vote-grid-cover_focus .vote-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
  padding:18px!important;
  border-radius:18px!important;
}
.vote-grid-modern .vote-card .song-cover,
.vote-grid-cover_focus .vote-card .song-cover{
  width:72px!important;
  height:72px!important;
  min-width:72px!important;
  max-width:72px!important;
  border-radius:14px!important;
  margin:0!important;
  grid-column:1!important;
  grid-row:1!important;
  object-fit:cover!important;
  font-size:18px!important;
}
.vote-grid-modern .vote-card .vote-main,
.vote-grid-cover_focus .vote-card .vote-main{
  min-width:0!important;
  width:100%!important;
  grid-column:2!important;
  overflow:hidden!important;
}
.vote-grid-modern .vote-card h2,
.vote-grid-modern .vote-card h3,
.vote-grid-cover_focus .vote-card h2,
.vote-grid-cover_focus .vote-card h3{
  margin:0 0 4px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.15!important;
}
.vote-grid-modern .vote-card h2 a,
.vote-grid-modern .vote-card h3 a,
.vote-grid-cover_focus .vote-card h2 a,
.vote-grid-cover_focus .vote-card h3 a{
  color:inherit!important;
  text-decoration:none!important;
}
.vote-grid-modern .vote-card .muted,
.vote-grid-cover_focus .vote-card .muted{
  margin:8px 0 10px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.vote-grid-modern .vote-card .points-actions,
.vote-grid-cover_focus .vote-card .points-actions{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(38px,1fr))!important;
  gap:8px!important;
  justify-content:stretch!important;
  align-items:center!important;
  margin-top:12px!important;
}
.vote-grid-modern .vote-card .points-actions .points-label,
.vote-grid-cover_focus .vote-card .points-actions .points-label{display:none!important}
.vote-grid-modern .vote-card .points-actions button,
.vote-grid-cover_focus .vote-card .points-actions button{
  min-width:0!important;
  width:100%!important;
  height:42px!important;
  padding:0!important;
  border-radius:10px!important;
  font-size:17px!important;
  font-weight:800!important;
}
.vote-grid-modern .vote-card .vote-actions button,
.vote-grid-cover_focus .vote-card .vote-actions button{
  width:100%!important;
  min-width:0!important;
}
body.theme-usercharts-pro-dark .vote-grid-modern .vote-card,
body.theme-usercharts-pro-dark .vote-grid-cover_focus .vote-card{
  background:#14181f!important;
  border:1px solid #333b48!important;
  box-shadow:0 14px 34px rgba(0,0,0,.24)!important;
}
body.theme-usercharts-pro-dark .vote-grid-modern .song-cover,
body.theme-usercharts-pro-dark .vote-grid-cover_focus .song-cover{
  background:#20242d!important;
  border:1px solid #333b48!important;
}
@media(max-width:700px){
  .vote-grid.vote-grid-modern,.vote-grid.vote-grid-cover_focus{grid-template-columns:1fr!important;gap:12px!important}
  .vote-grid-modern .vote-card,.vote-grid-cover_focus .vote-card{grid-template-columns:64px minmax(0,1fr)!important;padding:14px!important;gap:12px!important}
  .vote-grid-modern .vote-card .song-cover,.vote-grid-cover_focus .vote-card .song-cover{width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important}
  .vote-grid-modern .vote-card .points-actions,.vote-grid-cover_focus .vote-card .points-actions{grid-template-columns:repeat(5,minmax(32px,1fr))!important;gap:6px!important}
  .vote-grid-modern .vote-card .points-actions button,.vote-grid-cover_focus .vote-card .points-actions button{height:40px!important;font-size:15px!important}
}


/* SPRINT37.5.3: Modern & Cover Theme Redesign */
body.theme-usercharts-pro-dark .container{overflow-x:hidden!important}
body.theme-usercharts-pro-dark .hero{padding:28px 34px!important;margin-bottom:20px!important;min-height:0!important}
body.theme-usercharts-pro-dark .hero h1{font-size:clamp(34px,4vw,58px)!important;margin:8px 0 12px!important;line-height:1.02!important}
body.theme-usercharts-pro-dark .hero p{max-width:760px!important;margin:10px 0!important}

.vote-grid.vote-grid-modern,
.vote-grid.vote-grid-cover_focus{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
  display:grid!important;
  gap:22px!important;
  padding:0 8px 28px!important;
  box-sizing:border-box!important;
}
.vote-grid.vote-grid-modern{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.vote-grid.vote-grid-cover_focus{grid-template-columns:repeat(4,minmax(0,1fr))!important}

.vote-grid-modern .vote-card,
.vote-grid-cover_focus .vote-card{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:rgba(20,24,31,.92)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.24)!important;
  border-radius:22px!important;
}

.vote-grid-modern .vote-card{
  display:grid!important;
  grid-template-columns:94px minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  padding:22px!important;
  min-height:190px!important;
}
.vote-grid-cover_focus .vote-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
  gap:14px!important;
  padding:24px!important;
  min-height:330px!important;
}

.vote-grid-modern .vote-card .song-cover{
  width:88px!important;height:88px!important;min-width:88px!important;max-width:88px!important;
  border-radius:18px!important;grid-column:1!important;grid-row:1!important;margin:0!important;object-fit:cover!important;
}
.vote-grid-cover_focus .vote-card .song-cover{
  width:150px!important;height:150px!important;min-width:150px!important;max-width:150px!important;
  border-radius:22px!important;margin:0 auto!important;object-fit:cover!important;
}
.vote-grid-modern .vote-card .vote-main{grid-column:2!important;min-width:0!important;width:100%!important;overflow:visible!important}
.vote-grid-cover_focus .vote-card .vote-main{min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important}

.vote-grid-modern .vote-card h2,
.vote-grid-modern .vote-card h3,
.vote-grid-cover_focus .vote-card h2,
.vote-grid-cover_focus .vote-card h3{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.15!important;
  margin:0 0 5px!important;
  max-width:100%!important;
  word-break:normal!important;
}
.vote-grid-modern .vote-card h2,
.vote-grid-cover_focus .vote-card h2{font-size:21px!important;font-weight:900!important}
.vote-grid-modern .vote-card h3,
.vote-grid-cover_focus .vote-card h3{font-size:17px!important;font-weight:800!important;color:#f3f4f6!important}
.vote-grid-modern .vote-card .muted,
.vote-grid-cover_focus .vote-card .muted{
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;margin:10px 0 14px!important;color:#d1d5db!important;line-height:1.25!important;
}

.vote-grid-modern .vote-card .points-actions,
.vote-grid-cover_focus .vote-card .points-actions{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(38px,1fr))!important;
  gap:9px!important;
  align-items:center!important;
  justify-content:stretch!important;
  margin-top:auto!important;
}
.vote-grid-modern .vote-card .points-actions button,
.vote-grid-cover_focus .vote-card .points-actions button{
  min-width:0!important;width:100%!important;height:44px!important;padding:0!important;border-radius:10px!important;font-size:18px!important;font-weight:900!important;
  background:#1f2430!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)!important;
}
.vote-grid-modern .vote-card .points-actions button:hover,
.vote-grid-cover_focus .vote-card .points-actions button:hover{background:#ff5a1f!important;transform:translateY(-1px)}

@media(max-width:1500px){.vote-grid.vote-grid-modern,.vote-grid.vote-grid-cover_focus{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1100px){.vote-grid.vote-grid-modern,.vote-grid.vote-grid-cover_focus{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){
  .vote-grid.vote-grid-modern,.vote-grid.vote-grid-cover_focus{grid-template-columns:1fr!important;padding:0 0 22px!important;gap:14px!important}
  .vote-grid-modern .vote-card{grid-template-columns:72px minmax(0,1fr)!important;padding:16px!important;gap:14px!important;min-height:0!important}
  .vote-grid-modern .vote-card .song-cover{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;border-radius:14px!important}
  .vote-grid-cover_focus .vote-card{padding:18px!important;min-height:0!important}
  .vote-grid-cover_focus .vote-card .song-cover{width:120px!important;height:120px!important;min-width:120px!important;max-width:120px!important}
  .vote-grid-modern .vote-card h2,.vote-grid-cover_focus .vote-card h2{font-size:19px!important}
  .vote-grid-modern .vote-card h3,.vote-grid-cover_focus .vote-card h3{font-size:16px!important}
  .vote-grid-modern .vote-card .points-actions,.vote-grid-cover_focus .vote-card .points-actions{grid-template-columns:repeat(5,minmax(34px,1fr))!important;gap:7px!important}
  .vote-grid-modern .vote-card .points-actions button,.vote-grid-cover_focus .vote-card .points-actions button{height:40px!important;font-size:16px!important}
}


/* SPRINT37.5.4: Sidebar active state */
body.theme-usercharts-pro-dark .pro-sidebar a.active{background:linear-gradient(90deg,rgba(255,90,31,.55),rgba(255,90,31,.16))!important;color:#fff!important;font-weight:900!important}
body.theme-usercharts-pro-dark .pro-side-group:not([open]) a{display:none!important}


/* SPRINT37.9: Media Library & Navigation Cleanup */
.media-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px}.media-tabs a{background:#1b1f27;color:#fff;text-decoration:none;border-radius:999px;padding:9px 14px;font-weight:800}.media-tabs a.active,.media-tabs a:hover{background:var(--accent);color:#fff}.media-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.media-filter label{min-width:260px}.media-thumb{width:72px;height:72px;object-fit:cover;border-radius:12px;background:#111827;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:900}.media-thumb-generic{font-size:13px;border:1px solid var(--border)}body.theme-usercharts-pro-dark .media-tabs a{background:#11151b;border:1px solid #2a303b}body.theme-usercharts-pro-dark .media-tabs a.active,body.theme-usercharts-pro-dark .media-tabs a:hover{background:#ff5a1f}
