:root {
  color-scheme: light;
  --bg: #f6f4fb;
  --bg-soft: #efecf7;
  --panel: rgba(255, 255, 255, .88);
  --panel-solid: #ffffff;
  --panel-hover: #f3eff9;
  --line: rgba(55, 40, 76, .09);
  --line-strong: rgba(55, 40, 76, .15);
  --text: #292433;
  --muted: #746d80;
  --subtle: #9992a4;
  --violet: #8263ce;
  --violet-light: #7151b7;
  --coral: #d96f78;
  --mint: #268d77;
  --yellow: #a47120;
  --danger: #cc4e60;
  --gradient: linear-gradient(135deg, #aa8afa 0%, #886ee8 48%, #ef929e 135%);
  --radius: 22px;
  --shadow: 0 20px 55px rgba(59, 43, 83, .09);
  --surface-soft: rgba(100, 73, 137, .045);
  --surface-hover: rgba(100, 73, 137, .065);
  --noise-opacity: .055;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0b10;
  --bg-soft: #0f1119;
  --panel: rgba(19, 21, 31, .86);
  --panel-solid: #141620;
  --panel-hover: #191c28;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .13);
  --text: #f5f3f7;
  --muted: #9295a6;
  --subtle: #636777;
  --violet: #a78bfa;
  --violet-light: #c4b5fd;
  --coral: #fb8c8c;
  --mint: #75dbc1;
  --yellow: #eac98a;
  --danger: #ff929b;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --surface-soft: rgba(255, 255, 255, .035);
  --surface-hover: rgba(255, 255, 255, .05);
  --noise-opacity: .18;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 10;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
input { min-width: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
::selection { background: rgba(167, 139, 250, .35); color: white; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #303241; border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

.ambient { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.ambient-one { width: 700px; height: 600px; top: -260px; left: -180px; background: radial-gradient(circle, rgba(110, 77, 176, .15), transparent 68%); }
.ambient-two { width: 700px; height: 700px; top: -280px; right: -180px; background: radial-gradient(circle, rgba(214, 118, 146, .11), transparent 68%); }
.page-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; position: relative; }

.site-header { height: 86px; position: relative; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .035); }
.header-inner { width: min(1200px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--gradient); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(137, 105, 222, .25), inset 0 1px rgba(255, 255, 255, .35); }
.brand-mark svg { width: 25px; height: 25px; stroke-width: 1.9; }
.brand-name { font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: 2px; }
.brand-name > span { display: block; font-size: 7px; font-weight: 600; color: var(--muted); letter-spacing: 2.05px; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 8px; position: absolute; left: 50%; transform: translateX(-50%); }
.main-nav a { display: flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 500; transition: .2s ease; }
.main-nav a svg { width: 16px; height: 16px; }
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.main-nav a.active { color: var(--text); background: rgba(167, 139, 250, .1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .1); }
.main-nav a.active svg { color: var(--violet-light); }
.header-share { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c6c4d1; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; transition: .2s; }
.header-share > svg { width: 16px; height: 16px; }
.header-share .small-icon { width: 12px; height: 12px; color: var(--subtle); }
.header-share:hover { border-color: rgba(167, 139, 250, .35); background: rgba(167, 139, 250, .06); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 37px; height: 37px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--violet-light); transition: border-color .2s, background .2s, transform .2s; }
.theme-toggle:hover { border-color: rgba(167, 139, 250, .4); background: rgba(167, 139, 250, .1); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-moon { display: block; }

.hero { min-height: 400px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; padding: 58px 20px 48px; gap: 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #aba2c5; font-size: 10px; letter-spacing: 2.5px; font-weight: 600; }
.eyebrow svg { width: 14px; height: 14px; color: var(--violet); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(117, 219, 193, .08), 0 0 12px rgba(117, 219, 193, .35); display: inline-block; flex: 0 0 auto; }
.hero h1, .contribute-hero h1, .queue-hero h1 { font-size: clamp(38px, 4.4vw, 57px); line-height: 1.2; letter-spacing: -2.3px; margin: 20px 0 18px; font-weight: 700; }
.hero h1 > span, .contribute-hero h1 > span, .queue-hero h1 > span { background: linear-gradient(110deg, #c4b5fd, #a78bfa 45%, #f0a3b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { margin: 0; color: var(--muted); line-height: 1.9; font-size: 14px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.button { min-height: 44px; border: 0; border-radius: 12px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 13px; transition: transform .2s, box-shadow .2s, background .2s, opacity .2s; }
.button svg { width: 17px; height: 17px; }
.button-primary { background: var(--gradient); color: white; box-shadow: 0 8px 25px rgba(134, 100, 218, .2), inset 0 1px rgba(255, 255, 255, .25); }
.button-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(134, 100, 218, .32); }
.button-primary:active:not(:disabled) { transform: translateY(0); }
.button-primary:disabled { opacity: .38; box-shadow: none; }
.button-ghost { background: rgba(255, 255, 255, .025); color: #d6d3df; border: 1px solid var(--line-strong); }
.button-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.button-arrow { margin-left: 7px; opacity: .75; }
.hero-visual { height: 310px; position: relative; display: grid; place-items: center; }
.vinyl { width: 225px; height: 225px; border-radius: 50%; position: relative; display: grid; place-items: center; background: repeating-radial-gradient(circle at center, #20212c 0, #20212c 2px, #161721 3px, #161721 5px); box-shadow: -22px 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px rgba(142, 109, 209, .08); transform: rotate(-12deg); }
.vinyl::after { content: ''; position: absolute; width: 12px; height: 12px; background: #0c0d13; border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 255, 255, .1); }
.vinyl-shine { position: absolute; inset: 7px; border-radius: 50%; background: conic-gradient(from 30deg, transparent, rgba(255, 255, 255, .07), transparent 25%, transparent 60%, rgba(167, 139, 250, .07), transparent); }
.vinyl-label { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #9f82dc, #d18fa8); color: #fff; box-shadow: inset 0 0 0 8px rgba(0, 0, 0, .05); }
.vinyl-label svg { width: 32px; height: 32px; opacity: .8; }
.orbit { position: absolute; border: 1px solid rgba(167, 139, 250, .08); border-radius: 50%; }
.orbit-one { width: 290px; height: 290px; }
.orbit-two { width: 340px; height: 340px; border-style: dashed; opacity: .6; }
.floating-note { position: absolute; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(25, 25, 38, .8); backdrop-filter: blur(15px); border-radius: 13px; display: flex; align-items: center; gap: 10px; box-shadow: 0 15px 35px rgba(0, 0, 0, .25); }
.floating-note > svg { color: var(--violet-light); width: 22px; height: 22px; }
.floating-note > span:not(.format-gem) { font-size: 11px; font-weight: 600; line-height: 1.4; }
.floating-note small { display: block; color: var(--subtle); font-size: 6px; letter-spacing: 1.25px; margin-top: 3px; }
.note-one { top: 28px; right: -3px; transform: rotate(4deg); }
.note-two { bottom: 23px; left: -4px; transform: rotate(-3deg); }
.format-gem { color: var(--mint); font-size: 10px; border: 1px solid rgba(117, 219, 193, .25); background: rgba(117, 219, 193, .06); padding: 5px; border-radius: 6px; font-weight: 700; }

.stats-strip { min-height: 98px; border: 1px solid var(--line); border-radius: 18px; background: rgba(19, 21, 30, .58); display: flex; align-items: center; padding: 20px 28px; gap: 28px; margin-bottom: 26px; backdrop-filter: blur(16px); }
.stat-item { display: flex; align-items: center; gap: 13px; min-width: 130px; }
.stat-icon { width: 41px; height: 41px; border-radius: 12px; display: grid; place-items: center; }
.stat-icon svg { width: 20px; height: 20px; }
.stat-icon.violet { color: var(--violet-light); background: rgba(167, 139, 250, .09); }
.stat-icon.coral { color: var(--coral); background: rgba(251, 140, 140, .08); }
.stat-icon.mint { color: var(--mint); background: rgba(117, 219, 193, .07); }
.stat-item strong { display: block; font-size: 23px; line-height: 1.1; letter-spacing: -.5px; }
.stat-item div > span { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; }
.stat-divider { height: 35px; width: 1px; background: var(--line); }
.stats-caption { margin-left: auto; color: var(--subtle); font-size: 10px; display: flex; align-items: center; gap: 9px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.library-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; margin-bottom: 50px; }
.library-panel { padding: 28px 28px 20px; min-height: 580px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.section-kicker { display: block; color: #787186; font-size: 8px; letter-spacing: 2px; font-weight: 600; margin-bottom: 5px; }
.panel-heading h2, .cart-heading h2 { font-size: 20px; letter-spacing: -.5px; margin: 0; line-height: 1.35; }
.soft-badge { display: flex; align-items: center; gap: 7px; background: rgba(167, 139, 250, .07); color: #a8a0bc; border: 1px solid rgba(167, 139, 250, .1); border-radius: 20px; padding: 5px 10px; font-size: 9px; }
.soft-badge svg { width: 13px; height: 13px; color: var(--violet); }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 23px 0 20px; }
.search-field { height: 51px; display: flex; align-items: center; gap: 11px; flex: 1; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(8, 9, 14, .42); transition: border .2s, box-shadow .2s; }
.search-field:focus-within { border-color: rgba(167, 139, 250, .55); box-shadow: 0 0 0 3px rgba(167, 139, 250, .07); }
.search-field > svg { color: #77798a; width: 18px; height: 18px; }
.search-field input { color: var(--text); background: transparent; border: 0; outline: 0; width: 100%; font-size: 13px; }
.search-field input::placeholder { color: #646777; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field.compact { height: 39px; border-radius: 10px; padding: 0 12px; max-width: 330px; }
.search-field.compact input { font-size: 11px; }
.search-field kbd { font-family: inherit; font-size: 8px; color: var(--subtle); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; white-space: nowrap; }
.filter-tabs { padding: 3px; display: flex; gap: 2px; border-radius: 10px; background: rgba(255, 255, 255, .035); }
.filter-tabs button { border: 0; background: transparent; color: var(--muted); padding: 5px 11px; border-radius: 7px; font-size: 9px; transition: .2s; }
.filter-tabs button.active { background: #2b2939; color: var(--violet-light); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.track-list-header, .track-row { display: grid; grid-template-columns: minmax(0, 1fr) 82px 113px; gap: 12px; align-items: center; }
.track-list-header { color: var(--subtle); font-size: 8px; letter-spacing: .6px; padding: 0 11px 9px; border-bottom: 1px solid var(--line); }
.track-list-header > :not(:first-child) { text-align: right; }
.track-row { min-height: 76px; padding: 11px; border-bottom: 1px solid rgba(255, 255, 255, .045); border-radius: 10px; transition: background .2s; }
.track-row:hover { background: rgba(255, 255, 255, .025); }
.track-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cover { width: 47px; height: 47px; position: relative; flex: 0 0 auto; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg, #312b45, #1b1d28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #8f80b5; }
.cover-fallback svg { width: 20px; height: 20px; }
.track-copy { min-width: 0; }
.track-copy strong { display: block; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-copy > span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-copy i { font-style: normal; color: #444755; margin: 0 5px; }
.track-format, .track-state { text-align: right; }
.format-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 39px; height: 20px; border-radius: 5px; font-size: 8px; font-weight: 700; letter-spacing: .5px; border: 1px solid; }
.format-tag.mp3 { color: #b5a6e7; background: rgba(167, 139, 250, .07); border-color: rgba(167, 139, 250, .16); }
.format-tag.flac { color: var(--mint); background: rgba(117, 219, 193, .06); border-color: rgba(117, 219, 193, .15); }
.track-format small, .track-state small { display: block; color: var(--subtle); font-size: 8px; margin-top: 5px; }
.status-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; white-space: nowrap; }
.status-badge svg { width: 11px; height: 11px; }
.status-completed { color: var(--mint); }
.status-queued { color: var(--yellow); }
.status-downloading, .status-uploading { color: var(--violet-light); }
.status-failed { color: var(--danger); }
.status-downloading svg, .status-uploading svg { animation: softPulse 1.4s infinite; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 15px; padding-top: 18px; color: var(--muted); font-size: 10px; }
.icon-button { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); border-radius: 8px; transition: .2s; }
.icon-button svg { width: 13px; height: 13px; }
.icon-button:hover:not(:disabled) { border-color: rgba(167, 139, 250, .35); color: var(--violet-light); }
.icon-button:disabled { opacity: .25; }
.flip { transform: rotate(180deg); }
.empty-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px 20px; }
.empty-icon { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: rgba(167, 139, 250, .06); color: #8c79b7; transform: rotate(-6deg); margin-bottom: 20px; }
.empty-icon svg { width: 30px; height: 30px; }
.empty-state h3 { margin: 0 0 7px; font-size: 15px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }
.text-link { color: var(--violet-light); font-size: 11px; display: inline-flex; gap: 6px; align-items: center; margin-top: 17px; }
.text-link svg { width: 13px; height: 13px; }
.library-aside { display: grid; gap: 20px; }
.share-card { position: relative; overflow: hidden; padding: 29px 26px 22px; min-height: 305px; border-radius: var(--radius); background: linear-gradient(150deg, #262039, #191923 70%); border: 1px solid rgba(180, 151, 233, .15); box-shadow: var(--shadow); }
.share-card-glow { position: absolute; width: 230px; height: 230px; border-radius: 50%; top: -130px; right: -100px; background: rgba(167, 139, 250, .16); filter: blur(30px); }
.share-cloud { position: absolute; right: 22px; top: 25px; color: rgba(194, 174, 232, .2); }
.share-cloud svg { width: 50px; height: 50px; stroke-width: 1; }
.share-card h3 { font-size: 25px; line-height: 1.35; letter-spacing: -.6px; margin: 15px 0 12px; }
.share-card > p { color: #9690a6; font-size: 10px; line-height: 1.9; max-width: 240px; margin: 0 0 20px; }
.share-card > p strong { color: var(--text); font-weight: 600; }
.share-terms { display: block; color: var(--subtle); font-size: 8px; line-height: 1.7; margin: -12px 0 16px; }
.share-card > a { display: flex; align-items: center; justify-content: space-between; background: rgba(196, 181, 253, .1); border: 1px solid rgba(196, 181, 253, .15); color: var(--violet-light); border-radius: 10px; padding: 10px 13px; font-size: 11px; font-weight: 500; transition: .2s; }
.share-card > a:hover { background: rgba(196, 181, 253, .16); }
.share-card > a svg { width: 14px; height: 14px; }
.share-foot { margin-top: 17px; color: #716b80; font-size: 8px; display: flex; align-items: center; gap: 8px; }
.share-foot .live-dot { width: 4px; height: 4px; }
.rules-card { padding: 23px; box-shadow: none; }
.aside-title { display: flex; align-items: center; gap: 9px; }
.aside-title svg { width: 16px; height: 16px; color: var(--violet); }
.aside-title h3 { font-size: 13px; margin: 0; }
.rule-list { list-style: none; padding: 0; margin: 21px 0; display: grid; gap: 17px; }
.rule-list li { display: flex; gap: 11px; }
.rule-list li > span { color: #6f628b; font-size: 9px; border: 1px solid rgba(167, 139, 250, .12); background: rgba(167, 139, 250, .05); width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; flex: 0 0 auto; }
.rule-list strong { display: block; font-size: 10px; font-weight: 500; }
.rule-list p { color: var(--subtle); font-size: 9px; margin: 3px 0 0; line-height: 1.7; }
.aside-contribute { border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; color: #a9a1ba; font-size: 10px; }
.aside-contribute svg { width: 14px; height: 14px; color: var(--violet); }

.contribute-hero { min-height: 245px; display: flex; align-items: center; justify-content: space-between; padding: 43px 20px 37px; gap: 30px; }
.contribute-hero h1 { font-size: clamp(32px, 3.9vw, 47px); margin: 15px 0 11px; }
.contribute-hero > div > p { margin: 0; color: var(--muted); font-size: 12px; }
.quota-card { min-width: 335px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 17px; padding: 18px; background: rgba(20, 21, 31, .55); }
.quota-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(167, 139, 250, .08); color: var(--violet-light); display: grid; place-items: center; }
.quota-icon svg { width: 18px; height: 18px; }
.quota-card small, .quota-card div > span { display: block; }
.quota-card small { font-size: 8px; color: var(--subtle); margin-bottom: 3px; }
.quota-card strong { display: block; font-size: 12px; font-weight: 600; }
.quota-card div > span { color: var(--muted); font-size: 8px; margin-top: 3px; }
.quota-ring { width: 46px; height: 46px; position: relative; margin-left: auto; }
.quota-ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.quota-ring circle { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 2.5; }
.quota-ring circle.progress { stroke: var(--violet); stroke-dasharray: 106.8; stroke-dashoffset: 0; transition: stroke-dashoffset 1s; }
.quota-ring > span { position: absolute; inset: 0; display: grid !important; place-items: center; color: var(--violet-light) !important; font-size: 10px !important; font-weight: 600; margin: 0 !important; }
.queue-hero { min-height: 245px; display: flex; align-items: center; justify-content: space-between; padding: 43px 20px 37px; gap: 30px; }
.queue-hero h1 { font-size: clamp(32px, 3.9vw, 47px); margin: 15px 0 11px; }
.queue-hero > div > p { margin: 0; color: var(--muted); font-size: 12px; }
.queue-live-card { min-width: 285px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 17px; padding: 20px; background: var(--panel); box-shadow: var(--shadow); }
.queue-live-card small, .queue-live-card div > span { display: block; }
.queue-live-card small { font-size: 8px; color: var(--subtle); letter-spacing: 1px; margin-bottom: 3px; }
.queue-live-card strong { display: block; font-size: 13px; font-weight: 600; }
.queue-live-card div > span { color: var(--muted); font-size: 8px; margin-top: 6px; }
.queue-live-card .live-dot { width: 4px; height: 4px; margin-right: 6px; }
.queue-panel { padding: 28px 28px 20px; min-height: 480px; margin-bottom: 50px; }
.queue-heading-actions { display: flex; align-items: center; gap: 13px; }
.queue-list-header { margin-top: 24px; }
.drive-guide { display: flex; align-items: center; gap: 17px; margin: 0 0 24px; padding: 20px 22px; border: 1px solid rgba(167, 139, 250, .17); border-radius: 18px; background: linear-gradient(115deg, rgba(167, 139, 250, .1), var(--panel) 65%); box-shadow: var(--shadow); }
.drive-guide-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--violet-light); background: rgba(167, 139, 250, .12); }
.drive-guide-icon svg { width: 23px; height: 23px; }
.drive-guide-copy { min-width: 0; }
.drive-guide-copy h2 { margin: 0 0 5px; font-size: 16px; line-height: 1.4; }
.drive-guide-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.drive-guide-copy p strong { color: var(--violet-light); }
.drive-guide-copy p small { margin-left: 6px; color: var(--subtle); font-size: 9px; }
.drive-guide-action { margin-left: auto; flex: 0 0 auto; }
.contribute-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.search-panel { padding: 27px; min-height: 615px; }
.source-badge { font-size: 8px; color: var(--subtle); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
.search-form { display: flex; gap: 10px; margin-top: 23px; }
.search-submit { min-width: 125px; min-height: 51px; }
.search-submit svg { width: 15px; height: 15px; }
.clear-search { border: 0; background: transparent; padding: 3px; color: var(--subtle); display: grid; place-items: center; }
.clear-search svg { width: 15px; height: 15px; }
.hot-searches { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 12px 0 22px; }
.hot-searches > span { color: var(--subtle); font-size: 9px; margin-right: 2px; }
.hot-searches button { border: 0; background: rgba(255, 255, 255, .035); color: var(--muted); border-radius: 6px; font-size: 9px; padding: 3px 8px; transition: .2s; }
.hot-searches button:hover { color: var(--violet-light); background: rgba(167, 139, 250, .08); }
.search-meta { color: var(--subtle); font-size: 9px; padding: 13px 2px 9px; border-top: 1px solid var(--line); }
.search-meta strong { color: #bab4c9; font-weight: 500; }
.search-results { border-top: 1px solid var(--line); }
.search-results:has(.search-welcome) { border-top: 0; }
.search-welcome { min-height: 330px; }
.result-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 35px; gap: 13px; align-items: center; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.result-row .cover { width: 45px; height: 45px; }
.result-row .track-copy strong { font-size: 11px; }
.result-row.in-cart { background: rgba(167, 139, 250, .025); }
.format-options { display: flex; gap: 5px; }
.format-option { position: relative; cursor: pointer; }
.format-option input { position: absolute; opacity: 0; pointer-events: none; }
.format-option > span { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 49px; height: 27px; padding: 0 7px; border-radius: 7px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 8px; font-weight: 600; transition: .2s; }
.format-option > span svg { width: 10px; height: 10px; display: none; }
.format-option input:checked + span { color: var(--violet-light); border-color: rgba(167, 139, 250, .35); background: rgba(167, 139, 250, .1); }
.format-option input:checked + span svg { display: block; }
.format-option.flac-option input:checked + span { color: var(--mint); border-color: rgba(117, 219, 193, .3); background: rgba(117, 219, 193, .07); }
.format-option input:disabled + span { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.format-option:focus-within > span { outline: 2px solid rgba(167, 139, 250, .4); outline-offset: 2px; }
.add-track { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(167, 139, 250, .2); background: rgba(167, 139, 250, .07); color: var(--violet-light); transition: .2s; }
.add-track svg { width: 15px; height: 15px; }
.add-track:hover:not(:disabled) { background: var(--gradient); color: white; transform: scale(1.05); }
.add-track:disabled { border-color: var(--line); color: #4e4b5b; background: transparent; }
.add-track.added { color: var(--mint); border-color: rgba(117, 219, 193, .16); background: rgba(117, 219, 193, .05); }
.existing-note { color: var(--mint); font-size: 8px; }
.cart-panel { position: sticky; top: 20px; overflow: hidden; min-height: 480px; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 22px 18px; }
.cart-heading > div { display: flex; align-items: center; gap: 10px; }
.cart-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: rgba(167, 139, 250, .08); color: var(--violet-light); }
.cart-icon svg { width: 16px; height: 16px; }
.cart-heading h2 { font-size: 15px; }
.cart-heading div div > span { display: block; color: var(--subtle); font-size: 8px; margin-top: 3px; }
.cart-count { font-size: 9px; color: var(--violet-light); background: rgba(167, 139, 250, .07); padding: 4px 8px; border-radius: 7px; }
.cart-progress { height: 2px; background: rgba(255, 255, 255, .04); }
.cart-progress > span { display: block; height: 100%; width: 0; background: var(--gradient); transition: width .3s; }
.cart-items { padding: 11px 17px; min-height: 218px; max-height: 390px; overflow: auto; }
.cart-empty { min-height: 205px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cart-empty > span { width: 45px; height: 45px; border: 1px dashed rgba(167, 139, 250, .2); border-radius: 13px; display: grid; place-items: center; color: #716185; margin-bottom: 11px; }
.cart-empty > span svg { width: 19px; height: 19px; }
.cart-empty p { font-size: 11px; margin: 0 0 3px; color: #8f899c; }
.cart-empty small { font-size: 8px; color: var(--subtle); }
.cart-item { padding: 11px 2px; border-bottom: 1px solid rgba(255, 255, 255, .05); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.cart-item:last-child { border-bottom: 0; }
.cart-item .cover { width: 36px; height: 36px; border-radius: 8px; }
.cart-item .track-main { gap: 9px; }
.cart-item .track-copy strong { font-size: 10px; }
.cart-item .track-copy > span { font-size: 8px; margin-top: 2px; }
.remove-cart { width: 25px; height: 25px; border: 0; background: transparent; color: var(--subtle); border-radius: 7px; display: grid; place-items: center; }
.remove-cart:hover { color: var(--danger); background: rgba(255, 146, 155, .06); }
.remove-cart svg { width: 13px; height: 13px; }
.cart-item-formats { grid-column: 1 / -1; padding-left: 45px; display: flex; gap: 5px; }
.cart-item-formats button { border: 0; padding: 0; background: transparent; }
.cart-item-formats .format-tag { min-width: 34px; height: 17px; font-size: 7px; opacity: .8; }
.cart-footer { padding: 16px 21px 19px; border-top: 1px solid var(--line); background: rgba(8, 9, 14, .15); }
.cart-rule { display: flex; align-items: flex-start; gap: 7px; color: var(--subtle); font-size: 8px; line-height: 1.8; margin-bottom: 13px; }
.cart-rule svg { width: 12px; height: 12px; margin-top: 1px; }
.submit-cart { width: 100%; }
#submit-note { text-align: center; color: var(--subtle); font-size: 8px; margin: 9px 0 0; }
.submissions-panel { padding: 25px 27px; margin: 24px 0 50px; }
.refresh-button { display: flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--muted); font-size: 9px; padding: 5px; }
.refresh-button:hover { color: var(--violet-light); }
.refresh-button svg { width: 13px; height: 13px; }
.submission-list { margin-top: 18px; }
.submission-row { display: grid; grid-template-columns: minmax(0, 1fr) 65px 100px 90px; align-items: center; gap: 12px; padding: 10px 5px; border-top: 1px solid rgba(255, 255, 255, .045); }
.submission-row .cover { width: 37px; height: 37px; border-radius: 8px; }
.submission-row .track-copy strong { font-size: 10px; }
.submission-row .track-copy > span { font-size: 8px; }
.submission-time { text-align: right; color: var(--subtle); font-size: 8px; }
.empty-inline { color: var(--subtle); font-size: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 70px; }
.empty-inline svg { width: 17px; height: 17px; color: #6d5e87; }

.governance-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 16px 20px; border: 1px solid rgba(164, 113, 32, .18); border-radius: 16px; background: linear-gradient(110deg, rgba(164, 113, 32, .07), var(--panel) 70%); }
.governance-banner-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--yellow); background: rgba(164, 113, 32, .1); }
.governance-banner-icon svg { width: 19px; height: 19px; }
.governance-banner > div { min-width: 0; }
.governance-banner strong { display: block; font-size: 12px; }
.governance-banner p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.governance-banner > a { margin-left: auto; display: flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--yellow); font-size: 10px; font-weight: 600; }
.governance-banner > a svg { width: 14px; height: 14px; }
.notice-hero { min-height: 245px; display: flex; align-items: center; justify-content: space-between; padding: 43px 20px 37px; gap: 30px; }
.notice-hero h1 { font-size: clamp(32px, 3.9vw, 47px); line-height: 1.2; letter-spacing: -2px; margin: 15px 0 11px; }
.notice-hero h1 > span { background: linear-gradient(110deg, #c4b5fd, #a78bfa 45%, #f0a3b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notice-hero > div > p { margin: 0; color: var(--muted); font-size: 12px; }
.notice-hero-badge { min-width: 300px; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); box-shadow: var(--shadow); }
.notice-hero-badge > svg { width: 30px; height: 30px; color: var(--yellow); }
.notice-hero-badge small, .notice-hero-badge div > span { display: block; }
.notice-hero-badge small { color: var(--subtle); font-size: 8px; letter-spacing: 1px; }
.notice-hero-badge strong { display: block; margin: 3px 0; font-size: 13px; }
.notice-hero-badge div > span { color: var(--muted); font-size: 8px; }
.notice-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 24px; align-items: start; margin-bottom: 50px; }
.removal-panel { padding: 28px; min-height: 560px; border-color: rgba(164, 113, 32, .18); background: linear-gradient(145deg, rgba(164, 113, 32, .045), var(--panel) 42%); }
.removal-heading { display: flex; align-items: center; gap: 13px; }
.removal-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: var(--yellow); background: rgba(164, 113, 32, .13); }
.removal-icon svg { width: 23px; height: 23px; }
.removal-heading h2 { margin: 0; font-size: 19px; line-height: 1.35; }
.removal-heading div > span { display: block; margin-top: 4px; color: var(--subtle); font-size: 9px; }
.removal-count { margin-left: auto; flex: 0 0 auto; padding: 4px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 8px; }
.removal-intro { margin: 22px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.removal-list { border-top: 1px solid var(--line); }
.removal-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.removal-track { min-width: 0; }
.removal-track strong { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.removal-track span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.removal-meta { display: grid; justify-items: end; gap: 3px; flex: 0 0 auto; color: var(--muted); font-size: 9px; }
.removal-meta time { color: var(--subtle); font-size: 8px; }
.removal-format { color: var(--yellow); font-size: 8px; font-weight: 700; }
.removal-empty { min-height: 285px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.removal-empty > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--mint); background: rgba(38, 141, 119, .07); }
.removal-empty h3 { margin: 15px 0 5px; font-size: 14px; }
.removal-empty p { margin: 0; color: var(--muted); font-size: 10px; }
.removal-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding: 12px; border-radius: 10px; background: var(--surface-soft); color: var(--subtle); font-size: 9px; line-height: 1.7; }
.removal-note svg { width: 14px; height: 14px; margin-top: 1px; }
.notice-aside { display: grid; gap: 16px; }
.report-panel { padding: 25px; }
.report-heading-icon { color: var(--yellow); }
.report-intro { margin: 12px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.report-form { display: grid; gap: 13px; }
.report-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-field { display: grid; gap: 6px; min-width: 0; }
.report-field > span { color: var(--muted); font-size: 9px; }
.report-field b { color: var(--danger); font-weight: 500; }
.report-field input, .report-field select, .report-field textarea { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 10px; outline: 0; background: var(--surface-soft); color: var(--text); padding: 10px 11px; font-size: 11px; transition: border-color .2s, box-shadow .2s; }
.report-field input, .report-field select { height: 40px; }
.report-field textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
.report-field input::placeholder, .report-field textarea::placeholder { color: var(--subtle); }
.report-field input:focus, .report-field select:focus, .report-field textarea:focus { border-color: rgba(167, 139, 250, .55); box-shadow: 0 0 0 3px rgba(167, 139, 250, .07); }
.report-declaration { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.7; cursor: pointer; }
.report-declaration input { margin: 3px 0 0; accent-color: var(--violet); }
#report-submit { width: 100%; margin-top: 2px; }
.report-receipt { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(38, 141, 119, .18); border-radius: 10px; background: rgba(38, 141, 119, .06); color: var(--mint); }
.report-receipt > svg { width: 18px; height: 18px; }
.report-receipt strong { display: block; font-size: 11px; }
.report-receipt span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.notice-privacy { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: var(--surface-soft); }
.notice-privacy > svg { width: 16px; height: 16px; margin-top: 2px; color: var(--violet-light); }
.notice-privacy strong { display: block; color: var(--text); font-size: 10px; }
.notice-privacy p { margin: 4px 0 0; font-size: 9px; line-height: 1.8; }
.footer-disclaimer a { color: var(--violet-light); text-decoration: underline; text-underline-offset: 2px; }

.skeleton-row { min-height: 70px; display: flex; align-items: center; gap: 12px; padding: 11px; }
.skeleton-row > span { width: 45px; height: 45px; border-radius: 10px; background: #20212b; }
.skeleton-row > div { flex: 1; }
.skeleton-row i { display: block; width: 38%; height: 8px; background: #20212b; border-radius: 5px; margin: 7px 0; }
.skeleton-row i + i { width: 60%; height: 6px; }
.skeleton-row b { width: 50px; height: 18px; background: #20212b; border-radius: 5px; }
.skeleton-row > span, .skeleton-row i, .skeleton-row b { background-image: linear-gradient(90deg, #1b1c25, #252631, #1b1c25); background-size: 200% 100%; animation: shimmer 1.6s infinite; }
.toast-region { position: fixed; z-index: 100; top: 22px; right: 22px; display: grid; gap: 10px; width: min(370px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid rgba(117, 219, 193, .17); border-radius: 13px; background: rgba(24, 28, 34, .96); backdrop-filter: blur(20px); box-shadow: 0 15px 45px rgba(0, 0, 0, .4); color: #d8d7de; font-size: 11px; opacity: 0; transform: translateY(-10px); transition: .25s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.error { border-color: rgba(255, 146, 155, .22); }
.toast-icon { color: var(--mint); display: grid; place-items: center; }
.toast.error .toast-icon { color: var(--danger); }
.toast-icon svg { width: 17px; height: 17px; }
.toast > span:nth-child(2) { flex: 1; }
.toast button { border: 0; background: transparent; color: var(--subtle); padding: 2px; }
.toast button svg { width: 13px; height: 13px; }
.site-footer { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; border-top: 1px solid var(--line); min-height: 95px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; color: var(--subtle); font-size: 9px; }
.site-footer > div { display: flex; align-items: center; gap: 9px; color: #85808e; }
.footer-mark { color: #79668e; }
.footer-mark svg { width: 17px; height: 17px; }
.footer-disclaimer { flex-basis: 100%; margin: 0; color: var(--subtle); font-size: 9px; line-height: 1.8; }

:root[data-theme="light"] ::selection { color: var(--text); }
:root[data-theme="light"] ::-webkit-scrollbar-thumb { background: #d5cede; }
:root[data-theme="light"] .site-header { border-bottom-color: var(--line); }
:root[data-theme="light"] .main-nav a:hover { background: var(--surface-hover); }
:root[data-theme="light"] .header-share { color: var(--muted); }
:root[data-theme="light"] .eyebrow { color: #786b8c; }
:root[data-theme="light"] .hero h1 > span,
:root[data-theme="light"] .contribute-hero h1 > span,
:root[data-theme="light"] .queue-hero h1 > span,
:root[data-theme="light"] .notice-hero h1 > span { background-image: linear-gradient(110deg, #7655b5, #8b64c7 45%, #c56883); }
:root[data-theme="light"] .button-ghost { background: rgba(255, 255, 255, .6); color: var(--text); }
:root[data-theme="light"] .button-ghost:hover { background: #fff; border-color: rgba(130, 99, 206, .35); }
:root[data-theme="light"] .floating-note { background: rgba(255, 255, 255, .88); border-color: var(--line-strong); box-shadow: var(--shadow); }
:root[data-theme="light"] .stats-strip { background: rgba(255, 255, 255, .65); }
:root[data-theme="light"] .section-kicker { color: var(--subtle); }
:root[data-theme="light"] .soft-badge { color: var(--muted); }
:root[data-theme="light"] .search-field { background: rgba(248, 246, 251, .8); }
:root[data-theme="light"] .search-field > svg,
:root[data-theme="light"] .search-field input::placeholder { color: var(--subtle); }
:root[data-theme="light"] .filter-tabs,
:root[data-theme="light"] .hot-searches button { background: var(--surface-soft); }
:root[data-theme="light"] .filter-tabs button.active { background: #eae3f5; box-shadow: 0 2px 8px rgba(74, 52, 105, .08); }
:root[data-theme="light"] .track-row,
:root[data-theme="light"] .result-row,
:root[data-theme="light"] .cart-item,
:root[data-theme="light"] .submission-row { border-bottom-color: var(--line); }
:root[data-theme="light"] .track-row:hover { background: var(--surface-hover); }
:root[data-theme="light"] .cover { background: linear-gradient(135deg, #e9e2f4, #ddd5e9); box-shadow: inset 0 0 0 1px rgba(85, 59, 116, .06); }
:root[data-theme="light"] .cover-fallback { color: #826ca6; }
:root[data-theme="light"] .track-copy i { color: #b7afc1; }
:root[data-theme="light"] .format-tag.mp3 { color: var(--violet-light); }
:root[data-theme="light"] .icon-button { background: rgba(255, 255, 255, .6); }
:root[data-theme="light"] .share-card { background: linear-gradient(150deg, #eee7f8, #fff 75%); border-color: rgba(130, 99, 206, .16); }
:root[data-theme="light"] .share-card > p { color: var(--muted); }
:root[data-theme="light"] .share-foot { color: var(--subtle); }
:root[data-theme="light"] .aside-contribute { color: var(--muted); }
:root[data-theme="light"] .quota-card { background: rgba(255, 255, 255, .68); }
:root[data-theme="light"] .quota-ring circle { stroke: var(--line-strong); }
:root[data-theme="light"] .quota-ring circle.progress { stroke: var(--violet); }
:root[data-theme="light"] .search-meta strong { color: var(--muted); }
:root[data-theme="light"] .add-track:disabled { color: var(--subtle); }
:root[data-theme="light"] .cart-empty p { color: var(--muted); }
:root[data-theme="light"] .cart-progress { background: var(--line); }
:root[data-theme="light"] .cart-footer { background: var(--surface-soft); }
:root[data-theme="light"] .skeleton-row > span,
:root[data-theme="light"] .skeleton-row i,
:root[data-theme="light"] .skeleton-row b { background-color: #e8e3ee; background-image: linear-gradient(90deg, #eeeaf3, #e2dcea, #eeeaf3); }
:root[data-theme="light"] .toast { background: rgba(255, 255, 255, .97); color: var(--text); box-shadow: 0 15px 45px rgba(52, 38, 70, .16); }
:root[data-theme="light"] .site-footer > div { color: var(--muted); }

.admin-login-shell { min-height: 620px; display: grid; place-items: center; padding: 55px 20px; }
.admin-login-card { width: min(440px, 100%); padding: 38px; }
.admin-login-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: var(--violet-light); background: rgba(167, 139, 250, .1); }
.admin-login-icon svg { width: 26px; height: 26px; }
.admin-login-card h1 { margin: 14px 0 8px; font-size: 28px; letter-spacing: -1px; }
.admin-login-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-login-form { display: grid; gap: 17px; margin-top: 27px; }
.admin-login-form .button { width: 100%; margin-top: 4px; }
.admin-login-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 9px; }
.admin-login-note svg { width: 14px; height: 14px; margin-top: 1px; }
.admin-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 48px 4px 30px; }
.admin-hero h1 { margin: 13px 0 7px; font-size: clamp(32px, 4vw, 45px); letter-spacing: -1.8px; }
.admin-hero h1 span { margin-left: 10px; color: var(--violet-light); }
.admin-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-hero-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.admin-notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; padding: 16px 19px; border: 1px solid rgba(164, 113, 32, .18); border-radius: 15px; background: rgba(164, 113, 32, .055); }
.admin-notice > svg { width: 18px; height: 18px; margin-top: 2px; color: var(--yellow); }
.admin-notice strong { display: block; font-size: 11px; }
.admin-notice p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.admin-overview { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 22px; margin-bottom: 22px; }
.admin-keyword-panel, .admin-metrics-panel { padding: 25px; }
.admin-panel-icon { color: var(--violet-light); }
.admin-panel-intro { margin: 14px 0 18px; color: var(--muted); font-size: 10px; }
.admin-keyword-form { display: flex; gap: 10px; }
.admin-keyword-form .search-field { height: 44px; }
.admin-keyword-form .button { flex: 0 0 auto; }
.admin-whitelist-form { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(240px, 1.2fr) auto; gap: 10px; }
.admin-whitelist-form .search-field { height: 44px; min-width: 0; }
.admin-whitelist-form .button { align-self: stretch; }
.admin-whitelist-table th:first-child { width: 27%; }
.admin-whitelist-table th:nth-child(3) { width: 25%; }
.admin-ip { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .2px; }
.admin-rule-hint { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.admin-rule-hint span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--subtle); font-size: 8px; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 25px; }
.admin-metrics > div { padding: 14px 10px; text-align: center; border-radius: 12px; background: var(--surface-soft); }
.admin-metrics strong { display: block; color: var(--violet-light); font-size: 25px; line-height: 1.2; }
.admin-metrics span { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }
.admin-last-updated { margin: 17px 0 0; color: var(--subtle); font-size: 8px; text-align: center; }
.admin-table-panel { padding: 25px; margin-bottom: 22px; }
.admin-table-wrap { overflow-x: auto; margin-top: 19px; }
.admin-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.admin-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--subtle); font-size: 8px; font-weight: 500; letter-spacing: .5px; text-align: left; }
.admin-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table th:first-child, .admin-table td:first-child { padding-left: 4px; }
.admin-jobs-table th:first-child { width: 22%; }
.admin-jobs-table th:nth-child(4) { width: 27%; }
.admin-keyword, .admin-job-title { display: block; overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-job-subtitle { display: block; margin-top: 3px; color: var(--subtle); font-size: 8px; }
.admin-status { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 6px; font-size: 8px; white-space: nowrap; }
.admin-status.completed { color: var(--mint); background: rgba(38, 141, 119, .08); }
.admin-status.pending { color: var(--yellow); background: rgba(164, 113, 32, .08); }
.admin-status.running { color: var(--violet-light); background: rgba(167, 139, 250, .09); }
.admin-status.failed { color: var(--danger); background: rgba(204, 78, 96, .08); }
.admin-status.review { color: var(--coral); background: rgba(217, 111, 120, .08); }
.admin-status.cancelled { color: var(--muted); background: var(--surface-soft); }
.admin-result { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-result.has-error { color: var(--danger); }
.admin-table-action { padding: 5px 9px; border: 1px solid rgba(167, 139, 250, .2); border-radius: 7px; background: rgba(167, 139, 250, .06); color: var(--violet-light); font-size: 9px; }
.admin-table-action:hover { background: rgba(167, 139, 250, .13); }
.admin-table-action.danger { border-color: rgba(204, 78, 96, .16); background: rgba(204, 78, 96, .05); color: var(--danger); }
.admin-table-action:disabled { opacity: .45; }
.admin-muted { color: var(--subtle); font-size: 8px; }
.admin-empty { min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--subtle); text-align: center; }
.admin-empty svg { width: 25px; height: 25px; margin-bottom: 10px; color: var(--violet); }
.admin-empty p { margin: 0; font-size: 10px; }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes softPulse { 50% { opacity: .4; } }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-spin { animation: spin 1s linear infinite; }

@media (max-width: 1000px) {
  .notice-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
  .stats-caption { display: none; }
  .stats-strip { justify-content: space-around; }
  .library-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
  .contribute-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
  .library-panel, .search-panel { padding: 22px; }
  .hero { grid-template-columns: 1.4fr .6fr; }
  .floating-note { display: none; }
  .vinyl { width: 190px; height: 190px; }
  .orbit-one { width: 235px; height: 235px; }
  .orbit-two { width: 270px; height: 270px; }
  .result-row { grid-template-columns: minmax(0, 1fr) auto; }
  .result-row .add-track { grid-column: 2; grid-row: 2; justify-self: end; margin-top: -30px; }
  .format-options { grid-column: 1; padding-left: 57px; }
}

@media (max-width: 780px) {
  .page-shell, .header-inner, .site-footer { width: min(100% - 30px, 620px); }
  .main-nav a.nav-notice { display: none; }
  .notice-layout { grid-template-columns: 1fr; }
  .notice-hero { padding: 40px 4px 28px; align-items: flex-start; }
  .notice-hero-badge { min-width: 0; width: 300px; }
  .site-header { height: 74px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-name { font-size: 18px; }
  .brand-name > span { font-size: 6px; }
  .main-nav { position: static; transform: none; margin-left: auto; margin-right: 10px; gap: 2px; }
  .main-nav a { padding: 8px 10px; font-size: 11px; }
  .main-nav a svg { display: none; }
  .header-actions { gap: 6px; }
  .theme-toggle { width: 34px; height: 34px; }
  .header-share { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .header-share span, .header-share .small-icon { display: none; }
  .hero { grid-template-columns: 1fr; padding: 50px 5px 35px; min-height: 0; }
  .hero h1 { font-size: 43px; }
  .hero-visual { display: none; }
  .stats-strip { padding: 17px; gap: 12px; }
  .stat-item { min-width: 0; gap: 9px; }
  .stat-icon { width: 35px; height: 35px; }
  .stat-item strong { font-size: 19px; }
  .stat-item div > span { font-size: 8px; }
  .library-layout, .contribute-layout { grid-template-columns: 1fr; }
  .library-aside { grid-template-columns: 1fr 1fr; }
  .share-card { min-height: 100%; }
  .contribute-hero, .queue-hero { padding: 40px 4px 28px; align-items: flex-start; }
  .quota-card, .queue-live-card { min-width: 0; width: 300px; }
  .quota-ring { display: none; }
  .drive-guide { padding: 18px; }
  .drive-guide-action { padding: 0 13px; }
  .cart-panel { position: static; }
  .cart-items { max-height: none; }
  .submissions-panel { margin-top: 18px; }
}

@media (max-width: 580px) {
  .page-shell, .header-inner, .site-footer { width: calc(100% - 24px); }
  .governance-banner { flex-wrap: wrap; padding: 15px; }
  .governance-banner > div { flex: 1; }
  .governance-banner p { line-height: 1.7; }
  .governance-banner > a { width: 100%; justify-content: flex-end; }
  .notice-hero { flex-direction: column; gap: 22px; }
  .notice-hero h1 { font-size: 35px; letter-spacing: -1.5px; }
  .notice-hero-badge { width: 100%; }
  .removal-panel, .report-panel { padding: 19px 15px; border-radius: 17px; }
  .removal-heading { align-items: flex-start; flex-wrap: wrap; }
  .removal-heading h2 { font-size: 16px; }
  .removal-count { margin-left: 56px; }
  .removal-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .removal-meta { justify-items: start; grid-template-columns: auto 1fr; column-gap: 8px; }
  .removal-meta time { grid-column: 1 / -1; }
  .report-field-row { grid-template-columns: 1fr; }
  .brand-name > span { display: none; }
  .brand { gap: 8px; }
  .brand-name { font-size: 16px; letter-spacing: 1px; }
  .main-nav { margin-right: 5px; }
  .main-nav a { padding: 7px 8px; font-size: 10px; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: 37px; letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 12px; }
  .desktop-only { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .stats-strip { gap: 7px; min-height: 84px; padding: 14px 10px; }
  .stat-divider { display: none; }
  .stat-item { flex-direction: column; text-align: center; gap: 6px; }
  .stat-icon { width: 30px; height: 30px; border-radius: 9px; }
  .stat-icon svg { width: 15px; height: 15px; }
  .stat-item strong { font-size: 17px; }
  .stat-item div > span { margin-top: 3px; }
  .library-panel, .search-panel, .submissions-panel, .queue-panel { padding: 19px 14px; border-radius: 17px; }
  .panel-heading h2 { font-size: 18px; }
  .library-toolbar { align-items: stretch; flex-direction: column; }
  .search-field.compact { max-width: none; }
  .filter-tabs { align-self: flex-start; }
  .track-list-header { display: none; }
  .track-row { grid-template-columns: minmax(0, 1fr) 80px; padding: 12px 4px; gap: 7px; }
  .track-format { display: none; }
  .track-main { gap: 9px; }
  .track-copy strong { font-size: 11px; }
  .track-copy > span { font-size: 8px; }
  .cover { width: 42px; height: 42px; }
  .library-aside { grid-template-columns: 1fr; }
  .contribute-hero, .queue-hero { flex-direction: column; gap: 22px; }
  .contribute-hero h1, .queue-hero h1 { font-size: 35px; }
  .quota-card, .queue-live-card { width: 100%; }
  .quota-ring { display: block; }
  .drive-guide { flex-wrap: wrap; gap: 13px; padding: 17px; }
  .drive-guide-copy { flex: 1; }
  .drive-guide-copy p small { display: block; margin: 3px 0 0; }
  .drive-guide-action { width: 100%; margin-left: 0; }
  .search-form { flex-direction: column; }
  .search-submit { width: 100%; min-height: 43px; }
  .hot-searches { margin-bottom: 16px; }
  .result-row { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px; padding: 13px 2px; }
  .result-row .track-main { grid-column: 1; }
  .result-row .add-track { grid-column: 2; grid-row: 1; margin: 0; }
  .format-options { grid-column: 1 / -1; padding-left: 51px; }
  .format-option > span { min-width: 55px; }
  .submission-row { grid-template-columns: minmax(0, 1fr) 80px; gap: 6px; }
  .submission-row > .format-tag, .submission-time { display: none; }
  .submissions-panel .panel-heading { align-items: flex-end; }
  .refresh-button { font-size: 0; }
  .refresh-button svg { width: 16px; height: 16px; }
  .site-footer { flex-direction: column; justify-content: center; gap: 7px; text-align: center; }
  .toast-region { right: 16px; top: 15px; }
}

@media (max-width: 420px) {
  .brand-name { display: none; }
  .main-nav { margin-right: 5px; }
  .main-nav a { padding: 7px 6px; }
  .header-actions { gap: 5px; }
}

@media (max-width: 780px) {
  .admin-overview { grid-template-columns: 1fr; }
  .admin-table { min-width: 720px; }
}

@media (max-width: 580px) {
  .admin-login-shell { min-height: 540px; padding: 35px 0; }
  .admin-login-card, .admin-keyword-panel, .admin-metrics-panel, .admin-table-panel { padding: 20px 16px; border-radius: 17px; }
  .admin-hero { align-items: flex-start; flex-direction: column; padding-top: 35px; }
  .admin-hero h1 { font-size: 34px; }
  .admin-hero-actions { width: 100%; }
  .admin-hero-actions .button { flex: 1; padding: 0 10px; }
  .admin-keyword-form { flex-direction: column; }
  .admin-keyword-form .button { width: 100%; }
  .admin-whitelist-form { grid-template-columns: 1fr; }
  .admin-whitelist-form .button { width: 100%; min-height: 44px; }
  .admin-metrics strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
