/* Ignixs — angular music platform theme */
:root {
  --bg: #0b0c0f;
  --panel: #14161c;
  --panel-2: #1a1d26;
  --text: #eef0f4;
  --muted: #9aa3b2;
  --accent: #ff6a2b;
  --accent-2: #8b5cf6;
  --danger: #e5484d;
  --success: #30a46c;
  --warning: #f5a524;
  --border: #2a2f3a;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius-xs: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --cut-sm: 6px;
  --cut-md: 10px;
  --cut-lg: 18px;
  --sidebar-w: 240px;
  --player-h: 76px;
  --topbar-h: 56px;
  --font: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --content-max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Shell */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  grid-template-rows: var(--topbar-h) 1fr var(--player-h);
  grid-template-areas:
    "sidebar topbar"
    "sidebar main"
    "player player";
  min-height: 100vh;
  min-height: 100dvh;
}
.sidebar {
  grid-area: sidebar;
  background: #0e1015;
  border-right: 1px solid var(--border);
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  z-index: 30;
}
.topbar {
  grid-area: topbar;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(11,12,15,.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main {
  grid-area: main;
  overflow: auto;
  padding: 1.25rem 1.25rem 2rem;
  padding-bottom: calc(2rem + var(--player-h));
}
.player-bar {
  grid-area: player;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--player-h);
  background: #10131a;
  border-top: 1px solid var(--border);
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px,1.2fr) minmax(240px,1.6fr) minmax(140px,1fr);
  gap: .75rem;
  align-items: center;
  padding: 0 .9rem;
}

.brand {
  display: flex; align-items: center; gap: .65rem;
  padding: .35rem .5rem .85rem;
  color: var(--text); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  flex-shrink: 0;
}
.brand-logo {
  width: 40px; height: 40px; object-fit: contain; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: transparent;
}
.brand-text { font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.brand-com {
  font-size: .72em;
  font-weight: 700;
  letter-spacing: 0;
  opacity: .75;
  margin-left: .05em;
}
.brand-tag { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.flash.warn { border-color: rgba(245,165,36,.5); background: rgba(245,165,36,.1); }
/* Must beat .form-grid { display:grid } so mode toggles actually hide */
.is-hidden,
[hidden] {
  display: none !important;
}

/* Artist public profile */
.artist-profile { --artist-accent: var(--accent); }
.artist-profile .btn { background: var(--artist-accent); color: #111; }
.artist-profile .btn.secondary { background: transparent; color: var(--text); }
.artist-profile .artist-hero-inner { gap: 1rem; padding: 1rem 1.1rem; min-height: 180px; }
.artist-profile .artist-avatar { width: 96px; height: 96px; }
.artist-profile .h-scroll {
  display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .35rem; -webkit-overflow-scrolling: touch;
}
.artist-profile .h-scroll::-webkit-scrollbar { height: 8px; }
.artist-profile .h-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.artist-profile .h-card {
  flex: 0 0 calc((100% - 3.75rem) / 6); min-width: 130px; max-width: 180px;
  scroll-snap-align: start;
}
.artist-profile .h-card.video {
  flex-basis: calc((100% - 1.5rem) / 3); min-width: 200px; max-width: 280px;
}
@media (max-width: 900px) {
  .artist-profile .h-card { flex-basis: 42%; min-width: 140px; }
  .artist-profile .h-card.video { flex-basis: 70%; min-width: 220px; }
}
.artist-profile .section { margin: 1.1rem 0; }
.artist-profile .section-head { margin-bottom: .55rem; }
.artist-profile .bio-block { max-width: 48rem; }


.nav-section { margin-top: .5rem; }
.nav-label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding: .4rem .55rem;
}
.nav-link {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .65rem; color: var(--text); text-decoration: none;
  border-radius: var(--radius-sm); font-weight: 550;
}
.nav-link:hover { background: var(--panel); text-decoration: none; }
.nav-link.active {
  background: linear-gradient(90deg, rgba(255,106,43,.18), transparent);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  border-left: 2px solid var(--accent);
}

.search-form { flex: 1; max-width: 520px; }
.search-form input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .55rem .75rem;
}
.topbar-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem .95rem; border: 0; cursor: pointer; font-weight: 700;
  background: var(--accent); color: #111; text-decoration: none;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  border-radius: 0;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary, .btn.secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); clip-path: none; border-radius: var(--radius-sm);
}
.btn-ghost {
  background: transparent; color: var(--text); border: 0; clip-path: none;
  border-radius: var(--radius-sm); padding: .45rem .65rem; font-weight: 600;
}
.btn-ghost:hover { background: var(--panel); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: .35rem .65rem; font-size: .85rem; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  background: transparent; border: 0; color: var(--text); border-radius: var(--radius-sm); cursor: pointer;
}
.icon-btn:hover { background: var(--panel); }

/* Cards / media */
.page-header { margin-bottom: 1.25rem; }
.page-header h1 { margin: 0 0 .35rem; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.02em; }
.page-header p { margin: 0; color: var(--muted); }
.section { margin: 2rem 0 2.4rem; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1rem;
}
.section-head h2 {
  margin: 0; font-size: 1.3rem; letter-spacing: -.03em; font-weight: 700;
}
.section-head .help { margin: .2rem 0 0; font-size: .85rem; }
.section-head .see-all {
  font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.section-head .see-all:hover { color: var(--accent); }

/* Grid still used in studio / admin lists */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

/* Homepage horizontal shelves (mockup look, real thumbnails) */
.home-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: .15rem .15rem .85rem;
  margin: 0 -.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.14) transparent;
  -webkit-overflow-scrolling: touch;
}
.home-carousel::-webkit-scrollbar { height: 6px; }
.home-carousel::-webkit-scrollbar-track { background: transparent; }
.home-carousel::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.14);
  border-radius: 99px;
}
.home-carousel::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.24); }
.home-carousel .media-card {
  flex: 0 0 168px;
  width: 168px;
  max-width: 168px;
  scroll-snap-align: start;
}
@media (max-width: 520px) {
  .home-carousel .media-card { flex-basis: 148px; width: 148px; max-width: 148px; }
}

.media-card {
  background: #16161c;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.media-card:hover {
  border-color: rgba(255,255,255,.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.media-card a { color: inherit; text-decoration: none; }
.media-card .art {
  aspect-ratio: 1;
  background: var(--panel-2);
  position: relative;
  overflow: hidden;
}
.media-card .art img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.media-card.featured-frame {
  clip-path: polygon(var(--cut-md) 0, 100% 0, 100% calc(100% - var(--cut-md)), calc(100% - var(--cut-md)) 100%, 0 100%, 0 var(--cut-md));
  border-color: rgba(255,106,43,.45);
}
.media-card .meta { padding: .75rem .8rem .9rem; }
.media-card .title {
  font-weight: 700; font-size: .92rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.media-card .sub {
  color: var(--muted); font-size: .8rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: .15rem;
}
.media-card .meta-actions {
  display: flex; gap: .35rem; margin-top: .4rem; flex-wrap: wrap;
}
.play-overlay {
  position: absolute; right: .55rem; bottom: .55rem;
  width: 42px; height: 42px; border: 0; cursor: pointer;
  background: var(--accent); color: #111; font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(255,106,43,.4);
  opacity: 0; transition: opacity .18s ease, transform .18s ease;
}
.media-card:hover .play-overlay, .media-card:focus-within .play-overlay {
  opacity: 1; transform: scale(1.04);
}

.list-table { width: 100%; border-collapse: collapse; }
.list-table th, .list-table td {
  text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.list-table th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.list-table tr:hover td { background: rgba(255,255,255,.02); }
.track-row-art {
  width: 42px; height: 42px; object-fit: cover; border-radius: var(--radius-sm); background: var(--panel-2);
}

/* Admin + public play charts */
.stats-rank-list, .chart-list { list-style: none; margin: 0; padding: 0; }
.stats-rank-list li {
  display: grid;
  grid-template-columns: 1.5rem 40px 1fr auto;
  gap: .65rem;
  align-items: center;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.stats-rank-list li:last-child { border-bottom: 0; }
.stats-rank-list img {
  width: 40px; height: 40px; object-fit: cover; border-radius: 4px; background: #000;
}
.stats-rank-list .rank { color: var(--muted); font-weight: 700; font-size: .85rem; }
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.charts-grid.single { grid-template-columns: 1fr; max-width: 42rem; }
@media (max-width: 860px) {
  .charts-grid { grid-template-columns: 1fr; }
}
.chart-list { display: flex; flex-direction: column; gap: .35rem; }
.chart-row {
  display: grid;
  grid-template-columns: 2.25rem minmax(56px, 72px) 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .55rem .65rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.chart-rank {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
}
.chart-row:nth-child(-n+3) .chart-rank { color: var(--accent); }
.chart-art {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.chart-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chart-art .play-overlay { opacity: 0; transition: opacity .15s ease; }
.chart-row:hover .chart-art .play-overlay,
.chart-art:focus-within .play-overlay { opacity: 1; }
.chart-meta { min-width: 0; }
.chart-title {
  font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chart-title a { color: var(--text); text-decoration: none; }
.chart-title a:hover { color: var(--accent); }
.chart-artist {
  color: var(--muted); font-size: .88rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chart-artist a { color: var(--muted); }
.chart-artist a:hover { color: var(--accent); }
.chart-plays { text-align: right; white-space: nowrap; }
.chart-plays strong { display: block; font-size: 1.05rem; }
@media (max-width: 520px) {
  .chart-row {
    grid-template-columns: 1.75rem 52px 1fr;
  }
  .chart-plays { grid-column: 3; text-align: left; }
}

/* Beta badge + bug report FAB + chat */
.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .2rem .55rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #1a1208;
  background: linear-gradient(135deg, #ffb347, var(--accent));
  border-radius: 999px;
  flex-shrink: 0;
}
.beta-badge-footer { margin-right: .35rem; vertical-align: middle; }
.topbar .beta-badge { margin: 0 .35rem; }
.report-bug-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--player-h) + 1rem);
  z-index: 60;
  background: var(--danger);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(229, 72, 77, .45);
}
.report-bug-fab:hover { filter: brightness(1.08); color: #fff; text-decoration: none; }
.btn.danger, a.btn.danger {
  background: var(--danger);
  color: #fff;
  border: 0;
}
/* —— Community chat —— */
.chat-page-header { margin-bottom: 1rem; }
.chat-layout {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 220px);
  gap: 1rem;
  align-items: stretch;
  max-width: 56rem;
}
@media (max-width: 800px) {
  .chat-layout { grid-template-columns: 1fr; }
  .chat-side { display: none !important; }
}
.chat-shell {
  display: flex;
  flex-direction: column;
  min-height: 62vh;
  max-height: 72vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255,106,43,.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139,92,246,.07), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
}
.chat-shell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.22);
}
.chat-room-title { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.chat-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(48,164,108,.25);
  animation: chat-pulse 2s ease infinite;
}
@keyframes chat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
.chat-messages {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  scroll-behavior: smooth;
}
.chat-empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  max-width: 18rem;
}
.chat-empty-icon { font-size: 2rem; margin-bottom: .5rem; opacity: .85; }
.chat-empty strong { display: block; color: var(--text); margin-bottom: .35rem; }
.chat-msg {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .55rem .65rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.02);
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.chat-msg:hover { background: rgba(255,255,255,.04); border-color: var(--border); }
.chat-msg.is-artist {
  border-left: 2px solid rgba(255,106,43,.45);
}
.chat-msg.is-deleted { opacity: .5; }
.chat-av-wrap { flex-shrink: 0; }
.chat-av {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: #000;
  border: 2px solid var(--border);
}
.chat-av-fallback {
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem;
  color: #111;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
}
.chat-msg-body { min-width: 0; flex: 1; }
.chat-msg-head {
  margin-bottom: .2rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .45rem;
}
.chat-name { font-weight: 700; letter-spacing: .01em; }
.chat-time { font-size: .78rem; color: var(--muted); }
.chat-badge {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .12rem .4rem; border-radius: 99px;
  border: 1px solid var(--border); color: var(--muted);
}
.chat-badge-artist {
  color: #ffc9a8;
  border-color: rgba(255,106,43,.45);
  background: rgba(255,106,43,.12);
}
.chat-msg-text {
  white-space: pre-wrap; word-break: break-word;
  line-height: 1.45; color: #e8eaf0;
}
.chat-msg-reply {
  font-size: .82rem; color: var(--muted);
  border-left: 2px solid var(--accent);
  padding: .25rem .5rem;
  margin: .25rem 0 .4rem;
  background: rgba(255,106,43,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.chat-msg-img img {
  max-width: min(280px, 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-top: .4rem;
}
.chat-msg-actions { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .4rem; opacity: .0; transition: opacity .15s; }
.chat-msg:hover .chat-msg-actions { opacity: 1; }
@media (hover: none) { .chat-msg-actions { opacity: .85; } }
.chat-act {
  background: transparent; border: 0; color: var(--muted);
  font-size: .78rem; font-weight: 600; cursor: pointer;
  padding: .15rem .4rem; border-radius: var(--radius-sm);
}
.chat-act:hover { color: var(--text); background: rgba(255,255,255,.06); }
.chat-act.danger:hover { color: var(--danger); }
.chat-compose {
  border-top: 1px solid var(--border);
  padding: .85rem 1rem;
  display: grid; gap: .5rem;
  background: rgba(0,0,0,.28);
}
.chat-compose textarea {
  width: 100%; resize: vertical; min-height: 3.2rem;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--panel-2); padding: .65rem .75rem;
}
.chat-compose textarea:focus {
  border-color: rgba(255,106,43,.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,106,43,.12);
}
.chat-compose-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chat-send-btn { margin-left: auto; min-width: 5.5rem; }
.chat-reply-preview {
  font-size: .85rem; color: var(--muted);
  padding: .4rem .55rem;
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.chat-side { padding: 0; overflow: hidden; align-self: start; max-height: 72vh; }
.chat-side-title {
  margin: 0; font-size: .85rem; padding: .75rem .85rem;
  border-bottom: 1px solid var(--border); text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted);
}
.chat-member-list {
  list-style: none; margin: 0; padding: .5rem 0; max-height: 50vh; overflow: auto;
}
.chat-member-list li {
  display: flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; font-size: .9rem;
}
.chat-member-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); flex-shrink: 0;
}

/* Player like */
#player-like.active,
.icon-btn.active[data-like] { color: var(--accent); }
#player-like { font-size: 1.15rem; line-height: 1; }

/* Staff nav bug traffic lights */
.admin-nav .nav-link.nav-alert-red { color: #ff6b6b !important; font-weight: 800; }
.admin-nav .nav-link.nav-alert-orange { color: #f5a524 !important; font-weight: 700; }
.admin-nav .nav-link.nav-alert-green { color: #30a46c !important; }

/* —— Platform news (studio) —— */
.news-dash { margin-bottom: 1.5rem; }
.news-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin-top: .65rem;
}
.news-list { display: grid; gap: .85rem; max-width: 42rem; }
.news-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255,106,43,.07), transparent 40%),
    var(--panel);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.news-card:hover {
  border-color: rgba(255,106,43,.45);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: inherit;
}
.news-card--compact { padding: .85rem; }
.news-card-kicker {
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: .3rem;
}
.news-card-title {
  margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.3; color: var(--text);
}
.news-card--compact .news-card-title { font-size: .95rem; }
.news-card-preview {
  margin: 0 0 .55rem; font-size: .88rem; color: var(--muted); line-height: 1.4;
}
.news-card-meta {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  font-size: .8rem;
}
.news-card-cta { color: var(--accent); font-weight: 700; }
.news-article { padding: 1.25rem 1.35rem; max-width: 44rem; margin-bottom: 1.5rem; }
.news-article-body {
  margin-top: 1rem; line-height: 1.6; white-space: normal;
  font-size: 1.02rem; color: #e4e7ee;
}
.news-thread { display: grid; gap: .65rem; max-width: 36rem; }
.news-bubble {
  padding: .7rem .85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.news-bubble.is-you { border-left: 3px solid var(--accent-2); }
.news-bubble.is-staff {
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(255,106,43,.08), var(--panel-2));
}
.news-bubble-meta {
  display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
  margin-bottom: .3rem; font-size: .85rem;
}
.news-bubble-body { white-space: pre-wrap; line-height: 1.45; }
.news-thread-section { max-width: 44rem; }

/* Forms */
.form-card, .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
}
.form-grid { display: grid; gap: .85rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
label.field { display: grid; gap: .3rem; font-size: .85rem; color: var(--muted); }
label.field > span { font-weight: 600; }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=number], input[type=datetime-local], input[type=file], select, textarea {
  width: 100%;
  background: #0f1116;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem .7rem;
}
textarea { min-height: 110px; resize: vertical; }
.help { color: var(--muted); font-size: .82rem; }
.checkbox-row { display: flex; align-items: center; gap: .5rem; color: var(--text); }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  padding: .15rem .45rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; background: var(--panel-2); color: var(--muted);
  border: 1px solid var(--border);
}
.badge.explicit { color: #fff; background: #333; }
.badge.ok { color: var(--success); border-color: rgba(48,164,108,.4); }
.badge.warn { color: var(--warning); border-color: rgba(245,165,36,.4); }
.badge.danger { color: var(--danger); border-color: rgba(229,72,77,.4); }
.badge.accent { color: var(--accent); border-color: rgba(255,106,43,.4); }

/* Flash */
.flash-stack { display: grid; gap: .5rem; margin-bottom: 1rem; }
.flash {
  padding: .7rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--panel);
}
.flash.success { border-color: rgba(48,164,108,.5); background: rgba(48,164,108,.1); }
.flash.error { border-color: rgba(229,72,77,.5); background: rgba(229,72,77,.1); }
.flash.info { border-color: rgba(139,92,246,.45); background: rgba(139,92,246,.1); }

/* Empty */
.empty {
  padding: 2rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: var(--radius-md);
}

/* Player */
.player-meta { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.player-art {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  object-fit: contain; background: #000; flex-shrink: 0;
}
.player-titles { min-width: 0; }
.player-titles .t {
  font-weight: 700; font-size: .9rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-titles .a {
  color: var(--muted); font-size: .8rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-buy {
  display: inline-block;
  margin-top: .15rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(135deg, #ffb347, var(--accent));
  padding: .12rem .45rem;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
}
.player-buy:hover { filter: brightness(1.08); text-decoration: none; color: #1a1208; }
.player-buy[hidden] { display: none !important; }
.btn.accent-buy,
a.btn.accent-buy {
  background: linear-gradient(135deg, #ffb347, var(--accent));
  color: #1a1208;
  border: 0;
  font-weight: 700;
}
.btn.accent-buy:hover { filter: brightness(1.06); color: #1a1208; text-decoration: none; }
.player-controls { display: grid; gap: .35rem; justify-items: center; }
.player-buttons { display: flex; align-items: center; gap: .25rem; }
.player-buttons button {
  background: transparent; border: 0; color: var(--text); cursor: pointer;
  width: 36px; height: 36px; border-radius: 999px;
}
.player-buttons button:hover { background: var(--panel); }
.player-buttons .play-main {
  width: 42px; height: 42px; background: var(--text); color: #111; font-weight: 800;
}
.progress-row {
  display: grid; grid-template-columns: 40px 1fr 40px; gap: .45rem; align-items: center;
  width: min(100%, 520px); font-size: .72rem; color: var(--muted);
}
.progress-row input[type=range] { width: 100%; accent-color: var(--accent); }
.player-extra {
  display: flex; align-items: center; justify-content: flex-end; gap: .45rem;
}
.volume-wrap { display: flex; align-items: center; gap: .35rem; }
.volume-wrap input[type=range] { width: 90px; accent-color: var(--accent); }

/* Full player */
.full-player {
  position: fixed; inset: 0; z-index: 80; background: #07080b;
  display: none; flex-direction: column;
}
.full-player.open { display: flex; }
.full-player-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(40px) brightness(.35); transform: scale(1.1);
}
.full-player-inner {
  position: relative; z-index: 1; margin: auto; width: min(960px, 100%);
  padding: 1.25rem; display: grid; gap: 1.25rem;
}
.full-art-wrap {
  aspect-ratio: 1; max-height: min(52vh, 480px); margin: 0 auto; width: min(100%, 480px);
  display: grid; place-items: center; background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
}
.full-art-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.queue-panel {
  position: fixed; right: 0; top: var(--topbar-h); bottom: var(--player-h);
  width: min(360px, 100%); background: #10131a; border-left: 1px solid var(--border);
  z-index: 40; transform: translateX(100%); transition: transform .2s ease;
  display: flex; flex-direction: column;
}
.queue-panel.open { transform: translateX(0); }
.queue-panel header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1rem; border-bottom: 1px solid var(--border);
}
.queue-list { overflow: auto; padding: .5rem; }
.queue-item {
  display: grid; grid-template-columns: 40px 1fr auto; gap: .55rem; align-items: center;
  padding: .45rem; border-radius: var(--radius-sm);
}
.queue-item:hover, .queue-item.active { background: var(--panel); }
.queue-item img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); }

/* Visualizer canvas */
#visualizer-canvas {
  width: 100%; height: 64px; display: block; opacity: .85;
}

/* Artist profile theming scope */
.artist-profile {
  --artist-accent: var(--accent);
  --artist-accent-2: var(--accent-2);
  --artist-bg: transparent;
}
.artist-hero {
  position: relative; min-height: 220px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,106,43,.18), rgba(139,92,246,.12)), var(--panel);
  overflow: hidden;
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
}
.artist-hero.has-banner { background-size: cover; background-position: center; }
.artist-hero-inner {
  position: relative; z-index: 1; display: flex; gap: 1rem; align-items: end;
  padding: 1.25rem; min-height: 220px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
.artist-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,.2); background: var(--panel-2);
}
.tabs {
  display: flex; gap: .35rem; flex-wrap: wrap; border-bottom: 1px solid var(--border);
  margin: 1rem 0; padding-bottom: .35rem;
}
.tabs a {
  padding: .45rem .75rem; color: var(--muted); text-decoration: none; font-weight: 650;
  border-radius: var(--radius-sm);
}
.tabs a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.tabs a.active {
  color: #fff; background: rgba(255,106,43,.15);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
}

/* Studio / admin shared */
.studio-shell, .admin-shell {
  display: grid; grid-template-columns: 220px 1fr; min-height: 100vh;
}
.studio-nav, .admin-nav {
  background: #0e1015; border-right: 1px solid var(--border); padding: 1rem .75rem;
}
.studio-main, .admin-main { padding: 1.25rem; }
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem;
}
.stat {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: .9rem;
}
.stat .n { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: .82rem; }

.staff-actions {
  position: fixed; right: 1rem; bottom: calc(var(--player-h) + 1rem);
  z-index: 60;
}
.staff-actions details {
  background: #1a1020; border: 1px solid rgba(139,92,246,.5); border-radius: var(--radius-md);
  min-width: 200px;
}
.staff-actions summary {
  cursor: pointer; padding: .55rem .8rem; font-weight: 700; color: #d4c4ff; list-style: none;
}
.staff-actions .menu { padding: .35rem; display: grid; gap: .2rem; }
.staff-actions a, .staff-actions button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0;
  color: var(--text); padding: .45rem .55rem; border-radius: var(--radius-sm); cursor: pointer;
}
.staff-actions a:hover, .staff-actions button:hover { background: var(--panel); text-decoration: none; }

.impersonation-banner {
  position: sticky; top: 0; z-index: 100;
  background: #5c1a1a; color: #fff; padding: .55rem 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}

/* Mobile */
.menu-toggle { display: none; }
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 40;
}
/* [hidden] uses !important elsewhere — open state must beat it when attribute is removed */
.mobile-nav-backdrop.open {
  display: block !important;
}
@media (max-width: 960px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "topbar"
      "main"
      "player";
  }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: min(280px, 86vw);
    transform: translateX(-105%); transition: transform .2s ease; z-index: 45;
    height: 100dvh;
    max-height: 100dvh;
  }
  .sidebar.open { transform: translateX(0); }
  .menu-toggle { display: inline-grid; }
  .player-bar {
    grid-template-columns: 1fr auto;
    height: auto; min-height: var(--player-h); padding: .55rem .7rem;
  }
  .player-extra { display: none; }
  .player-controls { grid-column: 1 / -1; }
  .form-grid.two { grid-template-columns: 1fr; }
  .studio-shell, .admin-shell { grid-template-columns: 1fr; }
  .studio-nav, .admin-nav {
    position: sticky; top: 0; z-index: 10; display: flex; gap: .35rem; overflow: auto;
    border-right: 0; border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 640px) {
  .main { padding: 1rem .85rem 2rem; }
  .grid-cards { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .75rem; }
  .artist-avatar { width: 84px; height: 84px; }
}

/* YouTube watch modal */
.yt-modal {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 1rem;
}
.yt-modal[hidden] { display: none !important; }
.yt-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.72);
}
.yt-modal-panel {
  position: relative; z-index: 1; width: min(960px, 100%);
  background: #10131a; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow); overflow: hidden;
}
.yt-modal-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1rem; border-bottom: 1px solid var(--border);
}
.yt-modal-frame-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.yt-modal-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-bar[data-source="youtube"] .player-art { object-fit: cover; }

/* Featured Artist Hero (homepage) */
.featured-artist-hero-section { margin-bottom: 1.75rem; }
.fah-rotator { position: relative; }
.featured-artist-hero {
  position: relative;
  display: none;
  min-height: clamp(240px, 36vw, 340px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.featured-artist-hero.is-active { display: block; }
.fah-bg {
  position: absolute; inset: 0;
  background-image: var(--fah-banner, none);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.05);
}
.featured-artist-hero:not([style*="--fah-banner"]) .fah-bg {
  background: radial-gradient(120% 90% at 10% 20%, rgba(255,106,43,.35), transparent 55%),
              radial-gradient(90% 80% at 90% 80%, rgba(139,92,246,.3), transparent 50%),
              linear-gradient(135deg, #14161c, #0b0c0f);
}
.fah-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,9,12,.92) 0%, rgba(8,9,12,.78) 42%, rgba(8,9,12,.35) 70%, rgba(8,9,12,.55) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%);
}
.fah-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 280px);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.85rem);
  min-height: inherit;
}
.fah-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .65rem;
}
.fah-identity { display: flex; align-items: center; gap: .85rem; margin-bottom: .65rem; }
.fah-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.18);
  background: #000;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.fah-name { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.15; }
.fah-name a { color: var(--text); text-decoration: none; }
.fah-name a:hover { color: var(--accent); }
.fah-meta { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.fah-bio {
  margin: 0 0 1rem;
  color: #d5dae3;
  font-size: .95rem;
  line-height: 1.5;
  max-width: 38rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fah-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.fah-media { justify-self: end; width: min(100%, 280px); }
.fah-media-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  background: #000;
}
.fah-media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fah-play { opacity: .95; }
.fah-media-meta { margin-top: .55rem; }
.fah-media-title {
  font-weight: 700; font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fah-media-sub { color: var(--muted); font-size: .8rem; }
.fah-dots {
  display: flex; justify-content: center; gap: .4rem;
  margin-top: .7rem;
}
.fah-dot {
  width: 8px; height: 8px; border-radius: 999px;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.25);
}
.fah-dot.is-active { background: var(--accent); width: 18px; }
@media (max-width: 760px) {
  .fah-inner {
    grid-template-columns: 1fr;
    padding: 1.1rem 1rem 1.25rem;
  }
  .fah-media { justify-self: stretch; width: 100%; max-width: 320px; }
  .fah-media-frame { aspect-ratio: 16/10; }
  .fah-avatar { width: 56px; height: 56px; }
}

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

/* clip-path fallback: keep rectangular if unsupported (progressive enhancement) */
@supports not (clip-path: polygon(0 0)) {
  .btn, .nav-link.active, .brand-mark, .artist-hero, .media-card.featured-frame {
    clip-path: none;
    border-radius: var(--radius-md);
  }
}

/* Artist posts — hero top-left, text flows beside then under; embed + links below */
.artist-post {
  padding: 1rem 1.1rem;
  margin: 0;
  overflow: hidden;
}
.artist-post-main {
  display: flow-root; /* contain floats */
}
.artist-post-hero {
  float: left;
  width: min(42%, 200px);
  margin: 0 1rem 0.65rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.artist-post-hero img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.artist-post-copy {
  min-width: 0;
}
.artist-post-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.artist-post-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
  color: var(--text);
}
.artist-post-meta {
  margin: 0.55rem 0 0;
  clear: none;
}
.artist-post-embed {
  clear: both;
  margin-top: 0.9rem;
  position: relative;
  /* Cap at 720p frame (1280×720) — never full-bleed huge on wide layouts */
  width: 100%;
  max-width: 1280px;
  max-height: 720px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
/* Prefer a sensible in-post size; still ≤ 720p */
.artist-post .artist-post-embed {
  max-width: min(100%, 720px);
}
.artist-post-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
  max-height: 100%;
}
.artist-post-links {
  clear: both;
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.artist-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (max-width: 520px) {
  .artist-post-hero {
    width: min(38%, 140px);
    margin-right: 0.75rem;
  }
}

/* Soft navigation — keep player alive; only main content swaps */
html.ignixs-navigating .main {
  opacity: .72;
  pointer-events: none;
  transition: opacity .12s ease;
}
html.ignixs-navigating::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: ignixs-nav-bar 1s linear infinite;
}
@keyframes ignixs-nav-bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Site footer (legal links only) */
.site-footer {
  position: relative;
  z-index: 5;
  padding: 1rem 1.25rem calc(1.25rem + var(--player-h));
  border-top: 1px solid var(--border);
  background: #0e1015;
  text-align: center;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.25rem;
  font-size: .88rem;
}
.site-footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}
.site-footer-note {
  margin: .65rem 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.legal-doc h2 {
  margin: 1.35rem 0 .5rem;
  font-size: 1.1rem;
}
.legal-doc ul {
  margin: .4rem 0 .8rem 1.2rem;
  padding: 0;
}
.legal-doc li { margin: .3rem 0; }

/* Add to playlist modal */
.playlist-add-modal {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center; padding: 1rem;
}
.playlist-add-modal[hidden] { display: none !important; }
.playlist-add-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.65);
}
.playlist-add-panel {
  position: relative; z-index: 1; width: min(380px, 100%);
  background: #10131a; border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: .85rem 1rem 1rem;
}
.playlist-add-panel header {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.playlist-add-list {
  display: flex; flex-direction: column; gap: .35rem;
  max-height: 220px; overflow: auto; margin-bottom: .75rem;
}
.playlist-add-item { width: 100%; text-align: left; justify-content: flex-start; }
.playlist-add-new {
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.playlist-add-new input {
  flex: 1; min-width: 8rem;
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .4rem .55rem; color: var(--text);
}
.btn-add-pl {
  width: 28px; height: 28px; padding: 0;
  display: inline-grid; place-items: center;
  font-weight: 800; font-size: 1rem; line-height: 1;
  border-radius: var(--radius-sm);
}
.track-row-actions { display: inline-flex; gap: .3rem; align-items: center; }

/* Upload progress meter */
.upload-progress {
  margin: .75rem 0 0;
  display: none;
}
.upload-progress.is-active { display: block; }
.upload-progress-bar {
  height: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.upload-progress-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .15s ease;
}
.upload-progress-label {
  margin-top: .35rem;
  font-size: .82rem;
  color: var(--muted);
}
