:root {
  --bg: #0d0f14;
  --panel: #151923;
  --panel-2: #1c2230;
  --text: #f2f4f8;
  --muted: #9ba7b7;
  --line: #2a3242;
  --accent: #6f7f95;
  --accent-2: #263140;
  --accent-dark: #0f1722;
  --accent-soft: rgba(111,127,149,.18);
  --ok: #39d98a;
  --bad: #ff5d5d;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: radial-gradient(circle at top left, rgba(74,86,104,.18), transparent 32rem), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: .85rem 1.25rem; background: rgba(13,15,20,.82); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { font-weight: 900; letter-spacing: -.04em; font-size: 1.35rem; }
.nav { display: flex; gap: .4rem; margin-right: auto; }
.nav a { padding: .55rem .75rem; color: var(--muted); border-radius: .8rem; }
.nav a.active, .nav a:hover { background: var(--panel-2); color: var(--text); }
.logout-form { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.userpill, .badge { border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: .35rem .6rem; border-radius: 999px; font-size: .85rem; }
.badge.ok { color: var(--ok); border-color: rgba(57,217,138,.4); }
.badge.bad { color: var(--bad); border-color: rgba(255,93,93,.4); }
.page { width: min(1440px, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0 7rem; }
.hero { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0 1.25rem; padding: 1.25rem; background: linear-gradient(135deg, rgba(31,41,55,.78), rgba(10,14,21,.9)); border: 1px solid rgba(255,255,255,.08); border-radius: 1.4rem; box-shadow: var(--shadow); }
h1, h2, h3 { margin: 0 0 .65rem; letter-spacing: -.03em; }
p { line-height: 1.55; }
.muted { color: var(--muted); margin: 0; }
.small-text { font-size: .9rem; }
.mt { margin-top: 1rem; }
.inline-form { margin: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.sidebar { display: grid; gap: 1rem; }
.card, .side-card, .auth-card, .album-card { background: rgba(21,25,35,.88); border: 1px solid var(--line); border-radius: 1.2rem; box-shadow: var(--shadow); }
.card, .side-card { padding: 1rem; margin-bottom: 1rem; }
.auth-card { width: min(440px, 100%); margin: 8vh auto; padding: 1.4rem; }
.narrow { max-width: 720px; margin-inline: auto; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.album-card { overflow: hidden; }
.cover { position: relative; display: grid; place-items: center; aspect-ratio: 1.5; padding: .8rem; overflow: hidden; background: linear-gradient(135deg, rgba(50,60,76,.82), rgba(13,17,25,.92)), linear-gradient(45deg, #242b3a, #11151e); font-weight: 900; font-size: clamp(1.05rem, 2.5vw, 1.8rem); line-height: 1.05; text-align: center; word-break: break-word; }
.cover.big { width: 128px; height: 128px; border-radius: 1rem; flex: 0 0 auto; font-size: 1.05rem; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover span { position: relative; z-index: 1; max-width: 100%; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.cover.has-image span { opacity: 0; }
.cover.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.22), transparent 55%); pointer-events: none; }
.album-body { padding: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.btn, button, input, select { font: inherit; }
.btn, button.btn, .icon-btn, .play-track { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); border-radius: .85rem; padding: .6rem .82rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.btn:hover, .icon-btn:hover, .play-track:hover { border-color: rgba(111,127,149,.72); color: var(--text); }
.btn.primary { border: 1px solid rgba(255,255,255,.09); background: linear-gradient(135deg, #2f3a4a, #101722); color: white; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.btn.ghost { background: transparent; }
.btn.small, .icon-btn { padding: .45rem .6rem; font-size: .9rem; }
.icon-btn.liked { color: var(--accent); border-color: rgba(111,127,149,.55); }
.search { display: flex; gap: .6rem; flex: 1 1 420px; max-width: 620px; }
.search input { min-width: 0; flex: 1; }
.stack { display: grid; gap: .85rem; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; align-items: end; margin-bottom: 1.2rem; }
label { display: grid; gap: .35rem; color: var(--muted); font-size: .92rem; }
input, select { width: 100%; border: 1px solid var(--line); background: #0f131b; color: var(--text); border-radius: .85rem; padding: .72rem .8rem; outline: none; }
input:focus, select:focus { border-color: var(--accent); }
.notice { padding: .75rem .85rem; border-radius: .85rem; margin: .75rem 0; }
.notice.ok { background: rgba(57,217,138,.12); border: 1px solid rgba(57,217,138,.35); }
.notice.bad { background: rgba(255,93,93,.12); border: 1px solid rgba(255,93,93,.35); }
.empty { padding: 2rem; border: 1px dashed var(--line); border-radius: 1rem; color: var(--muted); text-align: center; }
.track-list { display: grid; gap: .55rem; }
.track-list.compact { margin-bottom: 1.4rem; }
.track-row { display: flex; align-items: center; gap: .7rem; padding: .65rem; border: 1px solid var(--line); background: rgba(28,34,48,.66); border-radius: 1rem; }
.track-row.active { border-color: rgba(111,127,149,.72); background: rgba(111,127,149,.11); }
.track-num { width: 2rem; color: var(--muted); text-align: center; }
.track-main { min-width: 0; flex: 1; display: grid; gap: .15rem; }
.track-main strong, .track-main small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-main small { color: var(--muted); }
.play-track { width: 2.4rem; height: 2.4rem; border-radius: 999px; padding: 0; }
.side-card ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .55rem; }
.side-card li { color: var(--text); }
.side-card small { display: block; color: var(--muted); font-size: .8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-bottom: 1rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.stat strong { display: block; font-size: 1.6rem; }
.stat span { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: .85rem; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.album-hero { justify-content: flex-start; }
.sticky-player { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(1100px, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(180px, 1fr) minmax(340px, 2.4fr) auto; align-items: center; gap: 1rem; padding: .85rem; background: rgba(11,14,21,.96); border: 1px solid rgba(255,255,255,.09); border-radius: 1rem; box-shadow: var(--shadow); backdrop-filter: blur(16px); z-index: 30; }
.sticky-player small { display: block; color: var(--muted); }
.player-meta { min-width: 0; }
.player-meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.custom-audio-player { display: grid; grid-template-columns: auto auto auto auto minmax(120px, 1fr) auto auto 86px; align-items: center; gap: .55rem; padding: .55rem .65rem; background: linear-gradient(180deg, #101722, #070a10); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -18px 36px rgba(0,0,0,.28); }
.custom-audio-player audio { display: none; }
.player-icon { width: 2.25rem; height: 2.25rem; padding: 0; border-radius: 999px; background: #171f2d; border: 1px solid rgba(255,255,255,.1); color: var(--text); line-height: 1; }
.player-icon:hover:not(:disabled) { border-color: rgba(111,127,149,.78); background: #202a3a; }
.player-icon:disabled { opacity: .38; cursor: not-allowed; }
.player-toggle { background: linear-gradient(135deg, #334155, #0f172a); border: 1px solid rgba(255,255,255,.09); font-weight: 900; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.player-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .85rem; min-width: 2.8rem; text-align: center; }
.player-range { appearance: none; -webkit-appearance: none; height: .45rem; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 0; background: #242c3a; cursor: pointer; }
.player-range:disabled { opacity: .45; cursor: not-allowed; }
.player-range::-webkit-slider-thumb { -webkit-appearance: none; width: 1rem; height: 1rem; border-radius: 999px; background: var(--accent); border: 2px solid #fff; box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.player-range::-moz-range-thumb { width: .82rem; height: .82rem; border-radius: 999px; background: var(--accent); border: 2px solid #fff; box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.player-seek { width: 100%; }
.player-volume { width: 86px; }
.player-actions { display: flex; align-items: center; gap: .55rem; justify-content: flex-end; }
.player-like { min-width: 3.4rem; height: 2.25rem; padding: 0 .75rem; border-radius: 999px; background: #171f2d; border: 1px solid rgba(255,255,255,.1); color: var(--text); font-weight: 800; white-space: nowrap; }
.player-like:hover:not(:disabled) { border-color: rgba(111,127,149,.8); background: #202a3a; }
.player-like.liked { color: #fff; background: linear-gradient(135deg, #334155, #111827); border-color: rgba(255,255,255,.12); box-shadow: 0 8px 22px rgba(0,0,0,.24); }
.player-like:disabled { opacity: .68; cursor: wait; }
.footer { color: var(--muted); text-align: center; padding: 1.5rem; border-top: 1px solid var(--line); }
@media (max-width: 980px) {
  .layout, .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero { align-items: flex-start; flex-direction: column; }
  .search { width: 100%; max-width: none; }
  .sticky-player { grid-template-columns: 1fr; }
  .player-actions { justify-content: stretch; }
  .player-actions .btn, .player-actions .player-like { flex: 1; text-align: center; }
  .custom-audio-player { grid-template-columns: auto auto auto 1fr auto auto; }
  .player-time { display: none; }
}
@media (max-width: 620px) {
  .topbar { flex-wrap: wrap; }
  .logout-form { width: 100%; justify-content: space-between; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .track-row { align-items: flex-start; flex-wrap: wrap; }
  .track-main { flex-basis: calc(100% - 4rem); }
  .album-grid { grid-template-columns: 1fr; }
  .custom-audio-player { grid-template-columns: auto auto auto 1fr auto; gap: .45rem; }
  .player-volume { display: none; }
}

.chat-widget { position: fixed; right: 1rem; bottom: 1rem; z-index: 45; }
.chat-launcher { position: relative; width: 3.4rem; height: 3.4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(135deg, #2f3a4a, #0d1320); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.45); font-size: 1.35rem; }
.chat-launcher:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.35); }
.chat-unread { position: absolute; top: -.3rem; right: -.25rem; min-width: 1.35rem; height: 1.35rem; padding: 0 .28rem; display: grid; place-items: center; border-radius: 999px; background: var(--bad); color: white; font-size: .72rem; font-weight: 900; border: 2px solid var(--bg); }
.chat-panel[hidden] { display: none; }
.chat-panel { position: absolute; right: 0; bottom: 4.2rem; width: min(380px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 8rem)); display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden; background: rgba(12,15,22,.98); border: 1px solid rgba(255,255,255,.12); border-radius: 1.1rem; box-shadow: 0 24px 80px rgba(0,0,0,.58); backdrop-filter: blur(18px); }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; background: linear-gradient(135deg, rgba(31,41,55,.9), rgba(9,13,20,.96)); border-bottom: 1px solid var(--line); }
.chat-header strong, .chat-header small { display: block; }
.chat-header small { color: var(--muted); margin-top: .1rem; }
.chat-close { width: 2rem; height: 2rem; padding: 0; border-radius: 999px; background: rgba(255,255,255,.06); }
.chat-online { padding: .55rem .85rem; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-messages { min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: .65rem; padding: .85rem; scrollbar-color: var(--line) transparent; }
.chat-message { display: grid; gap: .28rem; padding: .65rem .72rem; background: rgba(28,34,48,.72); border: 1px solid rgba(255,255,255,.08); border-radius: .9rem; }
.chat-message-meta { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .78rem; }
.chat-message-meta strong { color: var(--text); font-size: .86rem; }
.chat-message-meta strong.admin { color: var(--accent); }
.chat-message-meta span { margin-right: auto; }
.chat-message-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.chat-delete { width: 1.45rem; height: 1.45rem; padding: 0; border-radius: 999px; background: rgba(255,93,93,.12); color: var(--bad); border-color: rgba(255,93,93,.24); }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: .55rem; padding: .75rem; border-top: 1px solid var(--line); background: rgba(7,10,16,.72); }
.chat-form input { min-width: 0; }
@media (max-width: 1180px) {
  .chat-widget { bottom: 6.4rem; }
  .chat-panel { bottom: 4rem; height: min(500px, calc(100vh - 11rem)); }
}
@media (max-width: 620px) {
  .chat-widget { right: .75rem; bottom: 7.1rem; }
  .chat-launcher { width: 3rem; height: 3rem; }
  .chat-panel { width: calc(100vw - 1.5rem); height: min(470px, calc(100vh - 12rem)); }
}
.top-track-play { width: 100%; border: 0; background: transparent; color: var(--text); padding: 0; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem; align-items: center; text-align: left; }
.top-track-play span { width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 999px; background: rgba(111,127,149,.14); border: 1px solid rgba(111,127,149,.28); color: var(--accent); font-size: .72rem; }
.top-track-play strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; font-weight: 700; }
.top-track-play:hover strong, .top-track-play:focus-visible strong { color: var(--accent); }
.top-track-play:focus-visible { outline: 2px solid rgba(111,127,149,.68); outline-offset: .2rem; border-radius: .55rem; }

.top-track-play.active strong { color: var(--accent); }
.top-track-play.active span { background: linear-gradient(135deg, #334155, #111827); color: #fff; border-color: rgba(255,255,255,.12); }

/* v0.2.3 responsive mobile hardening */
html { -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; }
button, .btn, .icon-btn, .play-track, .player-icon, .chat-launcher { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn, button.btn, .icon-btn, .play-track { min-height: 2.4rem; }
.table-wrap { -webkit-overflow-scrolling: touch; }
.table-wrap table { white-space: nowrap; }

@media (max-width: 1180px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .topbar { align-items: flex-start; gap: .65rem; padding: .75rem; }
  .brand { flex: 0 0 auto; line-height: 2.35rem; }
  .nav { order: 3; width: 100%; max-width: 100%; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: thin; }
  .nav a { flex: 0 0 auto; white-space: nowrap; }
  .logout-form { margin-left: auto; }
  .page { width: min(100% - 1.25rem, 1440px); padding-top: .85rem; padding-bottom: 13rem; }
  .hero { border-radius: 1.1rem; padding: 1rem; }
  .album-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-player { bottom: .6rem; width: calc(100% - 1.2rem); grid-template-columns: 1fr; gap: .65rem; padding: .7rem; border-radius: 1.05rem; }
  .player-meta small { display: none; }
  .player-actions { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .55rem; }
  .player-actions .btn, .player-actions .player-like { width: 100%; justify-content: center; }
  .custom-audio-player { width: 100%; grid-template-columns: auto auto auto minmax(90px, 1fr) auto auto; gap: .45rem; }
  .player-current-time, .player-duration { display: none; }
}

@media (max-width: 700px) {
  body { overflow-x: hidden; }
  h1 { font-size: clamp(1.55rem, 8vw, 2.2rem); }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .topbar { position: sticky; }
  .userpill { max-width: 45vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logout-form .btn { padding-inline: .65rem; }
  .hero { margin: .65rem 0 1rem; }
  .search { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
  .search input { min-height: 2.8rem; }
  .album-grid { grid-template-columns: 1fr; gap: .75rem; }
  .album-card { border-radius: 1rem; }
  .cover { aspect-ratio: 1.9; }
  .cover.big { width: 96px; height: 96px; }
  .album-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .album-hero .actions { grid-column: 1 / -1; width: 100%; }
  .actions .btn, .actions .icon-btn, .actions form { flex: 1 1 auto; }
  .actions form .icon-btn, .actions form button { width: 100%; }
  .card, .side-card { padding: .85rem; border-radius: 1rem; }
  .track-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: .55rem; padding: .6rem; }
  .track-num { width: auto; min-width: 1.75rem; }
  .track-main { grid-column: 3; min-width: 0; }
  .track-row form, .track-row > a.btn { grid-column: span 3; width: 100%; }
  .track-row form button, .track-row > a.btn { width: 100%; }
  .side-card ol { padding-left: 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .stat { padding: .75rem; }
  .stat strong { font-size: 1.35rem; }
  .two-col, .form-grid { grid-template-columns: 1fr; }
  .auth-card { margin: 5vh auto; padding: 1rem; }
  .footer { padding-bottom: 11rem; }
}

@media (max-width: 520px) {
  .page { width: calc(100% - .9rem); padding-bottom: 13.5rem; }
  .topbar { padding: .65rem .55rem; }
  .brand { font-size: 1.2rem; }
  .nav { gap: .25rem; }
  .nav a { padding: .52rem .65rem; font-size: .92rem; }
  .logout-form { width: 100%; justify-content: space-between; gap: .45rem; }
  .hero { padding: .85rem; border-radius: 1rem; }
  .search { grid-template-columns: 1fr; width: 100%; }
  .search .btn { width: 100%; }
  .album-hero { grid-template-columns: 1fr; text-align: left; }
  .cover.big { width: 100%; height: auto; aspect-ratio: 2; }
  .album-hero .actions, .actions { align-items: stretch; }
  .actions .btn, .actions .icon-btn, .actions form { flex: 1 1 100%; }
  .track-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .track-num { display: none; }
  .play-track { grid-column: 1; grid-row: 1; }
  .track-main { grid-column: 2 / 4; }
  .track-row form, .track-row > a.btn { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr; }
  .table-wrap { border-radius: .85rem; }
  th, td { padding: .65rem; }
  .sticky-player { bottom: .45rem; width: calc(100% - .7rem); padding: .6rem; gap: .55rem; }
  .player-meta strong { font-size: .95rem; }
  .custom-audio-player { grid-template-columns: auto auto auto minmax(72px, 1fr) auto; padding: .5rem; border-radius: .9rem; }
  .player-icon { width: 2rem; height: 2rem; }
  .player-volume, #playerDuration, #playerCurrentTime { display: none; }
  .player-actions { grid-template-columns: 1fr 1fr; }
  .player-like, .player-actions .btn { min-height: 2.25rem; padding-inline: .55rem; font-size: .88rem; }
  .chat-widget { right: .45rem; bottom: 7.9rem; }
  .chat-launcher { width: 3rem; height: 3rem; }
  .chat-panel { position: fixed; left: .45rem; right: .45rem; bottom: 11.25rem; width: auto; height: min(62vh, calc(100vh - 13rem)); border-radius: 1rem; }
  .chat-form { grid-template-columns: 1fr; }
  .chat-form .btn { width: 100%; }
}

@media (max-width: 380px) {
  .custom-audio-player { grid-template-columns: auto auto minmax(52px, 1fr) auto; }
  #playerPrev { display: none; }
  .player-actions { grid-template-columns: 1fr; }
  .chat-panel { bottom: 13.4rem; height: min(55vh, calc(100vh - 15rem)); }
}


/* v0.2.7 upload progress */
.upload-progress { display: grid; gap: .45rem; padding: .75rem; border: 1px solid rgba(111,127,149,.34); background: rgba(15,19,27,.72); border-radius: .95rem; }
.upload-progress[hidden] { display: none; }
.upload-progress-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .92rem; }
.upload-progress-head span { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 800; }
.upload-progress-bar { height: .7rem; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: #0b0f16; box-shadow: inset 0 1px 8px rgba(0,0,0,.35); }
.upload-progress-bar span { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(135deg, #334155, #6f7f95); transition: width .16s ease; }
.upload-progress.done { border-color: rgba(57,217,138,.34); }
.upload-progress.done .upload-progress-bar span { background: linear-gradient(135deg, #1f7a53, #39d98a); }
.upload-progress.error { border-color: rgba(255,93,93,.42); background: rgba(255,93,93,.08); }
.upload-progress.error .upload-progress-bar span { background: var(--bad); }
.upload-progress p { margin: 0; }
