/* ── Theme vars ── */
:root,
.theme-obsidian {
  --bg-base: #16161a;
  --bg-sidebar: #1c1c22;
  --bg-card: #232330;
  --bg-card-hover: #2a2a38;
  --bg-input: #1a1a24;
  --text-primary: #ededf0;
  --text-secondary: #8b8b96;
  --text-muted: #5c5c66;
  --accent: #a78bfa;
  --accent-hover: #8b5cf6;
  --accent-dim: rgba(167, 139, 250, 0.12);
  --border: #2a2a33;
  --border-strong: #3a3a44;
  --up: #34d399;
  --down: #f87171;
}
.theme-frost {
  --bg-base: #0e1524;
  --bg-sidebar: #121a2e;
  --bg-card: #182338;
  --bg-card-hover: #1e2b44;
  --bg-input: #0e1524;
  --border: #1c2e4a;
  --border-strong: #28405c;
  --accent: #60a5fa;
  --accent-hover: #3b82f6;
  --accent-dim: rgba(96, 165, 250, 0.12);
}
.theme-rose {
  --bg-base: #1a0e18;
  --bg-sidebar: #201420;
  --bg-card: #2a1a2a;
  --bg-card-hover: #342034;
  --bg-input: #1a0e18;
  --border: #36203a;
  --border-strong: #462a4c;
  --accent: #f472b6;
  --accent-hover: #ec4899;
  --accent-dim: rgba(244, 114, 182, 0.12);
}
.theme-emerald {
  --bg-base: #0c1810;
  --bg-sidebar: #101e16;
  --bg-card: #162820;
  --bg-card-hover: #1c3028;
  --bg-input: #0c1810;
  --border: #1a3226;
  --border-strong: #264434;
  --accent: #34d399;
  --accent-hover: #10b981;
  --accent-dim: rgba(52, 211, 153, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: 'Geist', -apple-system, sans-serif;
  font-size: 13px;
  background: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.demo-badge {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 100;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  pointer-events: none;
}


.app { display: flex; height: 100vh; }

/* ── Sidebar ── */
.sidebar {
  width: 56px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  flex-shrink: 0;
}
.sidebar-logo {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
  margin-bottom: 14px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar-bottom { display: flex; flex-direction: column; gap: 4px; }
.nav-divider { width: 24px; height: 1px; background: var(--border); margin: 6px auto; }
.nav-item {
  width: 36px; height: 36px;
  border: 0; background: transparent;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { background: var(--bg-card-hover); color: var(--text-secondary); }
.nav-item.active { background: var(--accent-dim); color: var(--accent); }

/* ── Content ── */
.content { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.page { display: none; flex: 1; overflow-y: auto; }
.page.active { display: flex; flex-direction: column; }

.page-header {
  padding: 18px 22px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.page-header h1 { font-size: 17px; font-weight: 600; }
.page-actions { display: flex; gap: 6px; align-items: center; }
.page-body { padding: 18px 22px; flex: 1; overflow-y: auto; }

.demo-note {
  color: var(--text-muted);
  font-size: 11px;
}

/* ── Overview ── */
.ov-scroll { padding: 18px 22px; overflow-y: auto; flex: 1; }
.ov-hero {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 14px;
  overflow: hidden;
}
.ov-hero-glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  pointer-events: none;
}
.ov-hero-content { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ov-hero-left { display: flex; gap: 12px; align-items: center; }
.ov-hero-logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 18px;
}
.ov-hero-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ov-hero-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ov-hero-right { display: flex; align-items: center; gap: 12px; }
.ov-hero-status { display: flex; align-items: center; gap: 7px; }
.ov-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 8px var(--up);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.5; } }
.ov-status-text { font-size: 12px; color: var(--text-secondary); }
.ov-launch-btn {
  border: 1px solid var(--border-strong);
  background: var(--bg-card-hover);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 7px;
  display: flex; gap: 6px; align-items: center;
  font-size: 12px; font-weight: 500;
  cursor: pointer;
}
.ov-launch-btn:hover { background: var(--bg-card); }
.ov-launch-icon { width: 12px; height: 12px; }

.ov-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.ov-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 3px;
}
.ov-stat-value { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ov-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ov-stat-license .ov-stat-license-inner { display: flex; align-items: center; gap: 6px; }
.ov-stat-license .license-star { color: var(--accent); }
.ov-stat-license .ov-stat-value { color: var(--accent); font-size: 18px; }

.ov-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}
.ov-bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.ov-bento-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ov-bento-title { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.ov-bento-link { border: 0; background: transparent; color: var(--accent); font-size: 11px; cursor: pointer; }
.ov-bento-link:hover { color: var(--accent-hover); }

.explore-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cat-chip {
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  padding: 8px 10px;
  border-radius: 8px;
  display: flex; gap: 7px; align-items: center;
  font-size: 11.5px;
  cursor: pointer;
  text-align: left;
}
.cat-chip:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.cat-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cat-dot-pets { background: #a78bfa; }
.cat-dot-eggs { background: #fbbf24; }
.cat-dot-vehicles { background: #60a5fa; }
.cat-dot-toys { background: #f472b6; }
.cat-dot-strollers { background: #34d399; }
.cat-dot-food { background: #fb923c; }
.cat-count { margin-left: auto; color: var(--text-muted); font-size: 10.5px; }

.ov-changes-list { display: flex; flex-direction: column; gap: 6px; }
.ov-change-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-size: 11.5px;
}
.ov-change-img { width: 24px; height: 24px; border-radius: 4px; background: var(--bg-input); object-fit: contain; flex-shrink: 0; }
.ov-change-name { flex: 1; color: var(--text-primary); }
.ov-change-delta { font-weight: 600; font-size: 11px; }
.ov-change-delta.up { color: var(--up); }
.ov-change-delta.down { color: var(--down); }

/* ── Game Items grid ── */
.gi2-controls {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.gi2-search {
  flex: 1; position: relative;
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
}
.gi2-search svg { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }
.gi2-search input {
  flex: 1; border: 0; background: transparent;
  color: var(--text-primary); font-family: inherit; font-size: 12px;
  padding: 8px 0;
  outline: none;
}
.gi2-sort {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.gi2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.gi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px 12px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 8px;
  transition: all 0.15s;
}
.gi-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.gi-card-img {
  aspect-ratio: 1;
  background: var(--bg-input);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.gi-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gi-card-name { font-size: 12px; font-weight: 600; }
.gi-card-meta { display: flex; justify-content: space-between; align-items: center; }
.gi-card-value { font-size: 12px; color: var(--accent); font-weight: 600; }
.gi-card-cat { font-size: 9.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Item Detail ── */
.gi-back-btn {
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}
.gi-back-btn:hover { color: var(--text-primary); }

.gi-detail-header {
  display: flex; gap: 18px; align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
}
.gi-detail-img-wrap {
  width: 90px; height: 90px;
  background: var(--bg-input);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.gi-detail-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gi-detail-info { flex: 1; }
.gi-detail-info h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.gi-detail-meta { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.gi-detail-value { font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }

.gi-variants-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.gi-variant-picker { display: flex; gap: 20px; }
.gi-var-group { display: flex; flex-direction: column; gap: 6px; }
.gi-var-group-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.gi-var-group-btns { display: flex; gap: 6px; }
.gi-vbtn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.gi-vbtn img { width: 14px; height: 14px; }
.gi-vbtn:hover { background: var(--bg-card-hover); }
.gi-vbtn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.gi-history-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.gi-history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.card-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.gi-history-range { display: flex; gap: 2px; }
.gi-range-btn {
  border: 0; background: transparent;
  color: var(--text-muted); font-family: inherit;
  padding: 4px 9px; border-radius: 5px; font-size: 11px;
  cursor: pointer;
}
.gi-range-btn:hover { color: var(--text-secondary); background: var(--bg-input); }
.gi-range-btn.active { color: var(--accent); background: var(--accent-dim); }
.gi-chart { height: 220px; width: 100%; }

/* ── Value Changes ── */
.vu-time-filters { display: flex; gap: 2px; }
.vu-time-btn {
  border: 0; background: transparent;
  color: var(--text-muted); font-family: inherit;
  padding: 4px 10px; border-radius: 5px; font-size: 11px;
  cursor: pointer;
}
.vu-time-btn:hover { color: var(--text-secondary); background: var(--bg-input); }
.vu-time-btn.active { color: var(--accent); background: var(--accent-dim); }
.vu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.vu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; gap: 12px; align-items: center;
}
.vu-card-img {
  width: 44px; height: 44px;
  background: var(--bg-input);
  border-radius: 8px;
  padding: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.vu-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vu-card-info { flex: 1; min-width: 0; }
.vu-card-name { font-size: 12.5px; font-weight: 600; }
.vu-card-time { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.vu-card-delta { text-align: right; }
.vu-card-delta-pct { font-size: 14px; font-weight: 700; }
.vu-card-delta-pct.up { color: var(--up); }
.vu-card-delta-pct.down { color: var(--down); }
.vu-card-delta-abs { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ── Trade History ── */
.th-count { color: var(--text-muted); font-size: 11px; }
.th-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.th-sum-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 3px;
}
.th-sum-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.th-sum-value { font-size: 18px; font-weight: 700; }
.th-sum-value.up { color: var(--up); }

.th-list { display: flex; flex-direction: column; gap: 12px; }

.th-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.th-entry::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  border-radius: 3px 0 0 3px;
  opacity: 0.8;
}
.th-entry.th-win::before  { background: linear-gradient(180deg, #22c55e, #16a34a); }
.th-entry.th-loss::before { background: linear-gradient(180deg, #ef4444, #dc2626); }
.th-entry.th-fair::before { background: linear-gradient(180deg, var(--accent), #7c3aed); }
.th-entry:hover { border-color: var(--border-strong); }

.th-entry-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 0 20px;
}
.th-time { font-size: 11px; color: var(--text-muted); flex: 1; }
.th-verdict {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1;
}
.th-verdict-win { background: rgba(34,197,94,0.12); color: #22c55e; }
.th-verdict-loss { background: rgba(239,68,68,0.12); color: #ef4444; }
.th-verdict-fair { background: var(--accent-dim); color: var(--accent); }
.th-pct { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.th-pct.win  { color: #22c55e; }
.th-pct.loss { color: #ef4444; }
.th-pct.fair { color: var(--text-muted); }

.th-entry-body {
  display: flex;
  gap: 0;
  padding: 10px 16px 14px 20px;
}
.th-side {
  flex: 1; min-width: 0;
  padding: 0 8px;
}
.th-side:first-child { padding-left: 0; }
.th-side:last-child  { padding-right: 0; }
.th-divider-v {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
  flex-shrink: 0;
  margin: 4px 4px;
}

.th-side-label {
  font-size: 12px; font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.th-username {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.th-side-val {
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  font-variant-numeric: tabular-nums;
}

.th-items { display: flex; flex-direction: column; gap: 4px; }
.th-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  min-height: 40px;
  transition: background 0.15s, border-color 0.15s;
}
.th-item:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.th-item-img-wrap { position: relative; flex-shrink: 0; width: 30px; height: 30px; }
.th-item-img {
  width: 30px; height: 30px;
  border-radius: 6px;
  object-fit: contain;
  background: rgba(0,0,0,0.15);
  padding: 2px;
}
.th-badge-strip {
  position: absolute;
  bottom: -2px; right: -4px;
  display: flex; gap: 1px;
}
.th-badge-icon {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-input);
  display: block;
}

.th-item-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.th-item-name {
  font-size: 11.5px; font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.2;
}
.th-item-meta { font-size: 10px; color: var(--text-muted); line-height: 1; }
.th-item-demand[data-demand="Insane"]    { color: #f472b6; }
.th-item-demand[data-demand="Very High"] { color: #fb923c; }
.th-item-demand[data-demand="Good"]      { color: #22c55e; }
.th-item-demand[data-demand="Fair"]      { color: var(--accent); }
.th-item-demand[data-demand="Low"]       { color: var(--text-muted); }

.th-item-val {
  font-size: 11px; font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.th-footer {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 12px 20px;
  border-top: 1px solid var(--border);
}
.th-quality-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.th-quality-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--bg-input);
  border-radius: 2px;
  overflow: hidden;
}
.th-quality-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}
.th-quality-pct {
  font-size: 10.5px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* ── Settings ── */
.settings-group { margin-bottom: 18px; }
.settings-group-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0 4px;
}
.settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
}
.setting-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  gap: 16px;
}
.setting-info { flex: 1; }
.setting-name { font-size: 12.5px; font-weight: 500; }
.setting-desc { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
.setting-divider { height: 1px; background: var(--border); margin: 0 16px; }

.toggle { position: relative; display: inline-block; width: 36px; height: 20px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s;
}
.toggle-track::before {
  content: "";
  position: absolute;
  left: 2px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.18s;
}
.toggle input:checked + .toggle-track { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .toggle-track::before { background: white; left: calc(100% - 16px); }

.select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 28px 6px 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 11.5px;
  cursor: pointer;
}
.range-value {
  color: var(--text-secondary);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
}

.theme-picker { display: flex; gap: 6px; }
.theme-swatch {
  width: 28px; height: 28px;
  border: 2px solid var(--border);
  background: transparent;
  border-radius: 7px;
  padding: 2px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.theme-swatch:hover { border-color: var(--border-strong); }
.theme-swatch.active { border-color: var(--accent); }
.swatch-color { display: block; width: 100%; height: 100%; border-radius: 3px; }
.swatch-obsidian { background: linear-gradient(135deg, #a78bfa, #16161a); }
.swatch-frost { background: linear-gradient(135deg, #60a5fa, #0e1524); }
.swatch-rose { background: linear-gradient(135deg, #f472b6, #1a0e18); }
.swatch-emerald { background: linear-gradient(135deg, #34d399, #0c1810); }

/* ── Scrollbars ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
