*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F2ED;
  --bg-card: #FDFCFA;
  --text-primary: #1A1814;
  --text-secondary: #6B6660;
  --text-muted: #A09890;
  --border: rgba(26,24,20,0.5);
  --border-strong: rgba(26,24,20,0.2);
  --accent: #1A1814;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.2s ease;
}

html { font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  font-weight: 300;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo span {
  font-style: italic;
  font-weight: 400;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  width: 280px;
}
.nav-center input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  width: 100%;
  font-weight: 300;
}
.nav-center input::placeholder { color: var(--text-muted); }
.nav-center svg { color: var(--text-muted); flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 10px; }

.btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  letter-spacing: 0.1px;
}
.btn:hover { background: rgba(26,24,20,0.05); }
.btn-primary {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}
.btn-primary:hover { background: #333; border-color: #333; }

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ── HERO ROW: tall paint card + side swatch columns ────────────────────── */
.hero-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hero-main {
  flex: 0 0 460px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ── MAIN PAINT CARD ─────────────────────────────────────────────────────── */
.paint-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.main-swatch {
  /* True A4 ratio — needed to give 4 stacked portrait swatches per side
     column enough total height to match without themselves becoming
     square. See conversation notes on the geometric tension between a
     short hero and portrait stacked swatches. */
  aspect-ratio: 1 / 1.4;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  transition: background-color 0.4s ease;
  cursor: default;
}
.swatch-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}
.swatch-tag.unnamed {
  background: rgba(0,0,0,0.15);
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.1);
}
.swatch-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: lowercase;
  transition: color 0.3s ease;
  margin-bottom: 6px;
}
.swatch-name.light { color: rgba(255,255,255,0.95); }
.swatch-name.dark  { color: rgba(0,0,0,0.85); }
.swatch-name.unnamed-text { font-weight: 400; }

.swatch-codes {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}
.swatch-codes.light { color: rgba(255,255,255,0.6); }
.swatch-codes.dark  { color: rgba(0,0,0,0.45); }

.card-info {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.dedication {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  flex: 1;
}
.dedication .by {
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-family: var(--font-mono);
}
.code-chips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chip {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-secondary);
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.chip:hover,
.chip.active {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

/* ── HERO SIDE COLUMNS: Shades & Analogous beside the tall hero card ─────── */
.hero-side-swatches {
  /* Two columns side by side — Shades & Tints and Analogous, each a
     single swatch wide, 4 stacked per column. */
  flex: 0 0 240px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-self: stretch;
}
.hero-side-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.hero-side-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  align-content: space-between;
  gap: 8px;
}
.hero-side-grid .mini-card {
  display: flex;
  flex-direction: column;
}
.hero-side-group .section-header {
  flex-wrap: wrap;
}
.hero-side-group .section-label {
  white-space: nowrap;
  font-size: 9px;
}
.hero-side-grid .mini-name {
  font-size: 9px;
  white-space: normal;
  line-height: 1.25;
}
.hero-side-grid .mini-swatch {
  /* Genuinely portrait, closer to true A4 — per the latest direction,
     no swatch on the page should read as square or landscape. */
  height: auto;
  aspect-ratio: 1 / 1.4;
}
.hero-side-grid .mini-hex {
  font-size: 8px;
}

/* Below ~860px the hero card + a 380px two-grid side panel gets cramped —
   stack them instead of squashing both. This is a deliberately minimal
   first responsive pass on a site that otherwise has none yet; a fuller
   mobile pass is still a separate piece of work. */
@media (max-width: 700px) {
  .container {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .hero-row {
    flex-direction: column;
  }
  .hero-side-swatches {
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .hero-side-group {
    flex: 1;
  }
  /* Desktop shows Shades & Tints and Analogous as two columns beside the
     hero. On mobile there's no room for that, so each group stacks above
     the other, dropping to a compact 2-per-row grid (4 swatches = 2 rows
     of 2 per group). */
  .hero-side-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
  }
  .mini-grid.six {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-side-grid .mini-name,
  .mini-grid.six .mini-name {
    font-size: 9px;
    white-space: normal;
  }
}

/* ── SWATCH SECTIONS ─────────────────────────────────────────────────────── */
.swatch-section { margin-top: 20px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
/* Complementary & Triadic — a row of 6, spanning the full width of the
   hero + side column combined. */
.mini-grid.six {
  grid-template-columns: repeat(6, 1fr);
}

.mini-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  background: var(--bg-card);
}
.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--border-strong);
}
.mini-card.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--text-primary);
}
.mini-swatch {
  height: auto;
  /* Closer to true A4 — per the latest direction, every swatch on the
     page should read as genuinely portrait, not square or near-square. */
  aspect-ratio: 1 / 1.4;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 6px 7px;
  box-sizing: border-box;
}
.mini-name {
  font-size: 10px;
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.mini-name.unnamed {
  font-weight: 300;
}
.mini-hex {
  font-size: 9px;
  font-family: var(--font-mono);
  margin-top: 1px;
  position: relative;
  z-index: 1;
}
.mini-name.light, .mini-hex.light { color: rgba(255,255,255,0.95); }
.mini-name.dark,  .mini-hex.dark  { color: rgba(0,0,0,0.8); }
.mini-name.unnamed.light { color: rgba(255,255,255,0.6); }
.mini-name.unnamed.dark  { color: rgba(0,0,0,0.45); }

/* ── RIGHT PANEL ─────────────────────────────────────────────────────────── */
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 72px;
}
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.panel-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

/* ── CLAIM PANEL ─────────────────────────────────────────────────────────── */
.claim-swatch-preview {
  height: 80px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: background-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.claim-swatch-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.claim-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.claim-desc strong { color: var(--text-primary); font-weight: 500; }

.cta-btn {
  width: 100%;
  padding: 11px;
  background: var(--text-primary);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}
.cta-btn:hover { background: #333; }
.cta-btn.disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}
.gift-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}
.gift-btn:hover { background: rgba(26,24,20,0.04); }
.price-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}
.price-note a { color: var(--text-secondary); text-decoration: underline; cursor: pointer; }

/* ── COLOUR PICKER PANEL ─────────────────────────────────────────────────── */
.picker-wrap { display: flex; flex-direction: column; gap: 10px; }
.picker-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2px;
}
input[type="color"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  padding: 2px;
}
.rgb-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.rgb-field { display: flex; flex-direction: column; gap: 3px; }
.rgb-field label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 400;
}
.rgb-field input[type="number"] {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
  -moz-appearance: textfield;
}
.rgb-field input[type="number"]::-webkit-outer-spin-button,
.rgb-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
.rgb-field input[type="number"]:focus { border-color: var(--border-strong); }

.hex-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.hex-prefix {
  padding: 7px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  background: var(--bg-card);
}
.hex-input-wrap input {
  flex: 1;
  padding: 7px 8px;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  background: transparent;
  outline: none;
  text-transform: uppercase;
}

/* ── NEARBY PANEL ────────────────────────────────────────────────────────── */
.nearby-list { display: flex; flex-direction: column; gap: 8px; }
.nearby-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nearby-item:hover { background: rgba(26,24,20,0.03); }
.nearby-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.nearby-info { flex: 1; min-width: 0; }
.nearby-name {
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nearby-dist {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── LIVE FEED ───────────────────────────────────────────────────────────── */
.feed-list { display: flex; flex-direction: column; gap: 6px; }
.feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  animation: feedIn 0.4s ease;
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feed-dot {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}
.feed-text {
  font-size: 11px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-text strong {
  color: var(--text-primary);
  font-weight: 500;
  font-style: italic;
  text-transform: lowercase;
}
.feed-time {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
}
.footer-stats {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.footer-links { display: flex; gap: 16px; }
.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

/* ── MISC ────────────────────────────────────────────────────────────────── */
.random-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
  transition: color var(--transition);
  margin-top: 2px;
}
.random-btn:hover { color: var(--text-primary); }
.random-btn svg { transition: transform 0.3s ease; }
.random-btn:hover svg { transform: rotate(180deg); }

.named-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 8px;
}
.named-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4CAF50;
}

/* ── AUTH / UTILITY PAGES ────────────────────────────────────────────────────
   Shared styles for login, account, and buy-credits pages — reuses the same
   tokens and component patterns as the main explorer so these feel like
   rooms in the same house, not a different product. */

.auth-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* A single soft-focus colour wash sitting behind the card — fully in the
   background, heavily faded, never overlapping the actual content. */
.colour-wash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.auth-card-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}
.auth-logo a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}
.auth-logo a span {
  font-style: italic;
  font-weight: 400;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 32px rgba(26,24,20,0.06);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  text-align: center;
}
.auth-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
  border: none;
  background: none;
  font-family: var(--font-body);
}
.auth-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(26,24,20,0.08);
}

.auth-field {
  margin-bottom: 14px;
}
.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.auth-field input:focus {
  border-color: var(--border-strong);
}
.auth-field .hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  background: var(--text-primary);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.auth-submit:hover { background: #333; }
.auth-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
}
.auth-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.auth-links a:hover { color: var(--text-primary); text-decoration: underline; }

.auth-message {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: none;
  line-height: 1.5;
}
.auth-message.show { display: block; }
.auth-message.error {
  background: rgba(180, 60, 50, 0.08);
  color: #8a3329;
  border: 1px solid rgba(180, 60, 50, 0.2);
}
.auth-message.success {
  background: rgba(76, 175, 80, 0.08);
  color: #2e6b31;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 20px;
}
.auth-back:hover { color: var(--text-primary); }

/* ── ACCOUNT PAGE specifics ──────────────────────────────────────────────── */
.account-stat-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.account-stat {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.account-stat .stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
}
.account-stat .stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.account-naming-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.account-naming-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.account-naming-item:hover { background: var(--bg); }
.account-naming-swatch {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.account-naming-info { flex: 1; min-width: 0; }
.account-naming-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.account-naming-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.account-naming-status {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--text-muted);
  flex-shrink: 0;
}
.account-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ── BUY CREDITS specifics ──────────────────────────────────────────────── */
.credit-packs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.credit-pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.credit-pack:hover { border-color: var(--border-strong); }
.credit-pack.selected {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--text-primary);
}
.credit-pack-info .pack-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}
.credit-pack-info .pack-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.credit-pack-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
}