:root {
  color-scheme: dark;
  --bg: #0a0a0d;
  --sidebar: #0d0d12;
  --panel: #131319;
  --panel-strong: #1a1a22;
  --line: #2b2b35;
  --text: #f4f1ec;
  --muted: #9996a1;
  --soft: #d2ced5;
  --red: #df193c;
  --red-hover: #f12a4b;
  --purple: #8b6fff;
  --green: #62d49c;
  --amber: #e7b85a;
  --radius: 14px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--bg); color: var(--text); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; padding: 10px 14px; border-radius: 8px; background: #fff; color: #111; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; z-index: 40; top: 0; height: 100vh; border-right: 1px solid var(--line); background: var(--sidebar); padding: 22px 16px; display: flex; flex-direction: column; }
.brand { margin: 0 4px 28px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); }
.brand span { font-weight: 850; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 4px; }
.side-link { border-radius: 9px; padding: 11px 12px; color: var(--muted); font-size: 14px; font-weight: 720; text-decoration: none; }
.side-link:hover { background: #16161d; color: var(--text); }
.side-link.active { background: #22131a; color: #fff; box-shadow: inset 3px 0 0 var(--red); }
.sidebar-account { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 10px 0; }
.sidebar-account span, .sidebar-account small { display: block; }
.sidebar-account span { font-weight: 750; }
.sidebar-account small { margin-top: 3px; color: var(--muted); }
.sidebar-account button { margin-top: 12px; border: 0; padding: 0; background: none; color: #df9eaa; cursor: pointer; }
.sidebar-scrim { display: none; }

.admin-main { min-width: 0; }
.topbar { position: sticky; z-index: 30; top: 0; min-height: 72px; border-bottom: 1px solid var(--line); background: rgba(10,10,13,.92); backdrop-filter: blur(16px); padding: 0 30px; display: flex; align-items: center; gap: 16px; }
.topbar p, .topbar span { margin: 0; display: block; }
.topbar p { font-size: 14px; font-weight: 800; }
.topbar span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.view-site { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; color: var(--soft); font-size: 12px; font-weight: 750; text-decoration: none; }
.view-site:hover { border-color: #4b4b58; background: var(--panel-strong); }
.menu-button { display: none; }

.workspace { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 42px 0 80px; }
.page-title { margin-bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.page-title h1 { margin: 0; font-family: Georgia, "Songti SC", STSong, "Times New Roman", serif; font-size: clamp(38px, 4vw, 58px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.eyebrow { margin: 0 0 8px; color: #d9b46b; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.button { min-height: 40px; border: 1px solid transparent; border-radius: 999px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--red-hover); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--soft); }
.button.secondary:hover { border-color: #4d4d59; background: var(--panel-strong); }
.button.secondary.danger { border-color: rgba(243,123,144,.45); color: #f37b90; }
.button.secondary.danger:hover { border-color: #f37b90; background: rgba(243,123,144,.08); }
.button.small { min-height: 34px; padding: 0 13px; font-size: 12px; }
.button.full { width: 100%; }
.field { width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; outline: none; background: #0f0f14; color: var(--text); }
.field:focus { border-color: #676776; box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.field:disabled { color: #77747d; }
.textarea { min-height: 105px; padding-top: 11px; resize: vertical; }

.metric-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--panel); }
.metric span, .metric small { display: block; color: var(--muted); }
.metric span { font-size: 12px; font-weight: 750; }
.metric strong { display: block; margin: 12px 0 7px; font-family: Georgia, "Songti SC", STSong, "Times New Roman", serif; font-size: 34px; font-weight: 500; }
.metric small { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.metric.warning { border-color: rgba(231,184,90,.35); }

.dashboard-grid { margin-bottom: 22px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.editor-grid { margin-bottom: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--panel); }
.panel + .panel { margin-top: 22px; }
.dashboard-grid .panel + .panel, .split-grid .panel + .panel, .editor-grid .panel + .panel { margin-top: 0; }
.panel h2 { margin: 0; font-family: Georgia, "Songti SC", STSong, "Times New Roman", serif; font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.panel-heading { margin-bottom: 20px; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.panel-heading > a { flex: none; color: #d7cbe8; font-size: 12px; font-weight: 750; }
.panel-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.readiness-list { display: grid; gap: 19px; }
.readiness-list > div > span, .readiness-list > div > strong { font-size: 12px; }
.readiness-list > div > strong { float: right; }
.progress { clear: both; height: 6px; margin-top: 9px; overflow: hidden; border-radius: 99px; background: #282831; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), #ff617b); }
.import-progress-card { margin-bottom: 20px; border: 1px solid rgba(231,184,90,.28); border-radius: 13px; padding: 18px; display: grid; gap: 17px; background: linear-gradient(135deg, rgba(231,184,90,.07), rgba(139,111,255,.05)); }
.import-progress-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.import-progress-heading span, .import-progress-heading strong, .import-current-series span, .import-current-series strong, .import-current-series small { display: block; }
.import-progress-heading span, .import-current-series span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.import-progress-heading strong { margin-top: 4px; font-size: 17px; }
.import-current-series { min-width: 0; }
.import-current-series strong { margin-top: 5px; overflow: hidden; font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.import-current-series small { margin-top: 6px; color: var(--amber); font-size: 11px; }
.import-progress-row > div:first-child { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.import-progress-row strong { color: var(--soft); }
.secondary-progress span { background: linear-gradient(90deg, var(--purple), #b7a6ff); }
.activity-list { display: grid; }
.activity-list > div { position: relative; display: grid; grid-template-columns: 15px 1fr; gap: 10px; padding: 0 0 18px; }
.activity-list > div:last-child { padding-bottom: 0; }
.activity-list > div:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1px; background: var(--line); }
.activity-dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px #201d31; }
.activity-list p { margin: 0; color: var(--soft); font-size: 12px; line-height: 1.45; }
.activity-list strong, .activity-list small { display: block; }
.activity-list strong { color: var(--text); font-size: 13px; }
.activity-list small { margin-top: 4px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-top: 1px solid var(--line); padding: 13px 11px; text-align: left; vertical-align: middle; font-size: 12px; white-space: nowrap; }
th { border-top: 0; padding-top: 0; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--soft); }
td strong { color: var(--text); }
.episode-copy { min-width: 280px; max-width: 480px; white-space: normal; }
.episode-copy strong, .episode-copy small { display: block; }
.episode-copy small { margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.series-cell { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.series-cell img { width: 37px; height: 52px; border-radius: 6px; object-fit: cover; }
.series-cell .poster-empty { width: 37px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; text-align: center; }
.series-cell span, .series-cell small { display: block; }
.series-cell small { max-width: 210px; margin-top: 3px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; }
.text-link, .text-button { color: #d8caea; font-weight: 750; }
.text-button { border: 0; padding: 0; background: none; cursor: pointer; }
.status { display: inline-flex; min-height: 24px; align-items: center; border: 1px solid #3b3b46; border-radius: 999px; padding: 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; }
.status.published, .status.available, .status.active, .status.approved { border-color: rgba(98,212,156,.34); background: rgba(98,212,156,.08); color: var(--green); }
.status.processing, .status.scheduled, .status.ongoing { border-color: rgba(231,184,90,.34); background: rgba(231,184,90,.08); color: var(--amber); }
.status.pending { border-color: rgba(231,184,90,.34); background: rgba(231,184,90,.08); color: var(--amber); }
.status.draft, .status.inactive, .status.disabled { color: #aaa6b1; }
.status.unavailable, .status.rejected { border-color: rgba(223,25,60,.34); color: #f37b90; }

.toolbar { margin-bottom: 16px; display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.form-grid label { color: var(--soft); font-size: 12px; font-weight: 750; }
.form-grid label .field { margin-top: 7px; }
.form-grid .full { grid-column: 1 / -1; }
.compact-create { margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.compact-field { min-width: 170px; padding: 8px 10px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.poster-panel img { width: 100%; aspect-ratio: 2 / 3; margin: 18px 0; border-radius: 10px; object-fit: cover; }
.description-textarea { min-height: 180px; }
.taxonomy-field { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 15px; }
.taxonomy-field legend { padding: 0 7px; color: var(--text); font-size: 12px; font-weight: 800; }
.taxonomy-field > p, .taxonomy-empty { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.taxonomy-group + .taxonomy-group { margin-top: 15px; }
.taxonomy-group > strong { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.taxonomy-options { display: flex; flex-wrap: wrap; gap: 8px; }
.taxonomy-options label { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; background: #101015; color: var(--soft); font-size: 11px; font-weight: 700; cursor: pointer; }
.taxonomy-options input { accent-color: var(--purple); }

.review-grid { display: grid; gap: 14px; }
.review-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; background: #101015; }
.review-poster { width: 130px; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; background: #0b0b0f; color: var(--muted); font-size: 11px; }
.review-poster img { width: 100%; height: 100%; object-fit: cover; }
.review-copy { min-width: 0; }
.review-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.review-card-heading strong, .review-card-heading small { display: block; }
.review-card-heading strong { font-size: 16px; }
.review-card-heading small, .review-progress { margin-top: 5px; color: var(--muted); font-size: 11px; }
.review-copy > p { margin: 14px 0; color: var(--soft); font-size: 12px; line-height: 1.65; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.review-checks { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.review-checks span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; color: var(--muted); font-size: 10px; font-weight: 800; }
.review-checks .ready { border-color: rgba(98,212,156,.28); color: var(--green); }
.review-checks .missing { border-color: rgba(231,184,90,.3); color: var(--amber); }
.review-copy .form-actions { margin-top: 15px; }
.review-summary { margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; background: var(--panel); }
.review-summary div span, .review-summary div strong { display: block; }
.review-summary div span { color: var(--muted); font-size: 10px; }
.review-summary div strong { margin-top: 4px; font-size: 13px; }
.review-summary > a { margin-left: auto; }

.simple-list > div { border-top: 1px solid var(--line); padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.simple-list > div:first-child { border-top: 0; padding-top: 0; }
.simple-list span, .simple-list small { display: block; }
.simple-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.toggle { min-height: 31px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; }
.toggle.on { border-color: rgba(98,212,156,.38); color: var(--green); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: var(--soft); font-size: 11px; }

.shelf-admin-list { display: grid; gap: 10px; }
.hero-admin-list { display: grid; gap: 10px; margin-top: 20px; }
.hero-admin-list article { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 11px; padding: 10px; background: #101015; }
.hero-admin-list img { width: 180px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; }
.hero-admin-list strong, .hero-admin-list small { display: block; }
.hero-admin-list small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.hero-admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hero-admin-actions button:disabled { opacity: .35; cursor: default; }
.text-button.danger { color: #f37b90; }
.shelf-admin-list article { border: 1px solid var(--line); border-radius: 11px; padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; background: #101015; }
.shelf-admin-list h3, .shelf-admin-list p { margin: 0; }
.shelf-admin-list h3 { font-size: 14px; }
.shelf-admin-list p { margin-top: 4px; color: var(--muted); font-size: 11px; }
.shelf-order { display: grid; gap: 4px; }
.shelf-order button { border: 0; padding: 0; background: none; color: var(--muted); font-size: 10px; cursor: pointer; }
.shelf-order button:disabled { opacity: .3; cursor: default; }
.shelf-editor { grid-column: 1 / -1; }
.shelf-editor summary { width: max-content; list-style: none; }
.shelf-editor summary::-webkit-details-marker { display: none; }
.shelf-editor form { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.shelf-series-options { margin-bottom: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px 16px; }
.shelf-series-options label { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: 12px; }

.chart-list { display: grid; gap: 20px; }
.chart-list > div > div:first-child { margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.chart-list strong { font-size: 12px; }
.chart-list span { color: var(--muted); font-size: 11px; }
.bar { height: 12px; overflow: hidden; border-radius: 99px; background: #272730; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6c4fe6, #bc6ce8); }
.period { color: var(--muted); font-size: 11px; }
.check-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--soft); font-size: 12px; }
.check-list li::before { content: "✓"; margin-right: 9px; color: var(--green); font-weight: 900; }
.empty-state { min-height: 180px; display: grid; place-content: center; text-align: center; }
.empty-state p { color: var(--muted); }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 20px; background: radial-gradient(circle at 50% -10%, #26151e, transparent 42%), var(--bg); }
.login-card { width: min(100%, 430px); border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: rgba(19,19,25,.96); box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.login-brand { margin-bottom: 36px; display: flex; align-items: center; gap: 12px; }
.login-brand img { width: 44px; height: 44px; border-radius: 50%; }
.login-brand strong, .login-brand span { display: block; }
.login-brand span { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.login-card h1 { margin: 0; font-family: Georgia, "Songti SC", STSong, "Times New Roman", serif; font-size: 46px; font-weight: 500; letter-spacing: -.03em; }
.login-intro { margin: 9px 0 25px; color: var(--muted); line-height: 1.6; }
.login-card form { display: grid; gap: 16px; }
.login-card label { color: var(--soft); font-size: 12px; font-weight: 750; }
.login-card label .field { margin-top: 7px; }
.form-message { min-height: 18px; margin: 0; color: #ff8296; font-size: 12px; }
.login-note { margin: 18px 0 0; color: #77747e; font-size: 10px; line-height: 1.5; text-align: center; }

.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: min(360px, calc(100% - 44px)); border: 1px solid #42424e; border-radius: 11px; padding: 12px 15px; background: #1b1b22; color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.4); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid .panel + .panel { margin-top: 0; }
}

@media (max-width: 820px) {
  .admin-shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; z-index: 35; inset: 0; border: 0; background: rgba(0,0,0,.62); }
  .sidebar-open .sidebar-scrim { display: block; }
  .menu-button { min-height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; display: inline-flex; align-items: center; background: transparent; color: var(--soft); }
  .topbar { min-height: 64px; padding: 0 18px; }
  .workspace { width: min(100% - 30px, 1180px); padding-top: 32px; }
  .editor-grid, .split-grid { grid-template-columns: 1fr; }
  .editor-grid .panel + .panel, .split-grid .panel + .panel { margin-top: 0; }
  .poster-panel img { width: min(220px, 100%); }
  .hero-admin-list article { grid-template-columns: 140px minmax(0, 1fr); }
  .hero-admin-list img { width: 140px; }
  .hero-admin-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .review-summary > a { margin-left: 0; }
}

@media (max-width: 560px) {
  .topbar > div { display: none; }
  .page-title { align-items: flex-start; flex-direction: column; }
  .page-title .button { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .toolbar { grid-template-columns: 1fr; }
  .shelf-admin-list article { grid-template-columns: auto minmax(0, 1fr) auto; }
  .shelf-admin-list article > .button { grid-column: 2 / -1; }
  .hero-admin-list article { grid-template-columns: 1fr; }
  .hero-admin-list img { width: 100%; }
  .hero-admin-actions { grid-column: auto; }
  .review-card { grid-template-columns: 1fr; }
  .review-poster { width: min(180px, 100%); }
  .login-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.status.failed { border-color: rgba(223,25,60,.34); color: #f37b90; }
.file-field { padding: 7px 9px; }
.file-field::file-selector-button { min-height: 28px; margin-right: 10px; border: 0; border-radius: 999px; padding: 0 11px; background: #2a2a34; color: var(--soft); cursor: pointer; }
.upload-progress { display: grid; gap: 8px; }
.upload-progress[hidden] { display: none; }
.upload-progress > div { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
.upload-progress progress { width: 100%; height: 9px; accent-color: var(--red); }
.cell-note, .cell-error { display: block; max-width: 420px; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-note { color: var(--muted); }
.cell-error { color: #f37b90; }
.episode-number-field { display: inline-flex; align-items: center; gap: 7px; color: var(--soft); }
.episode-number-field .compact-field { width: 82px; min-width: 0; }
.compact-empty { min-height: 120px; }
.status.queued, .status.discovering, .status.downloading { border-color: rgba(231,184,90,.34); background: rgba(231,184,90,.08); color: var(--amber); }
.status.completed { border-color: rgba(98,212,156,.34); background: rgba(98,212,156,.08); color: var(--green); }
