:root {
  --bg: oklch(98% 0.005 250);
  --bg-2: oklch(96% 0.008 250);
  --surface: #ffffff;
  --surface-2: oklch(97% 0.005 250);
  --border: oklch(90% 0.01 250);
  --border-strong: oklch(82% 0.015 250);
  --ink: oklch(20% 0.02 250);
  --ink-2: oklch(35% 0.02 250);
  --muted: oklch(55% 0.02 250);
  --accent: oklch(55% 0.18 265);
  --accent-2: oklch(60% 0.18 25);
  --code-bg: oklch(96% 0.008 250);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.25);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --r-2xl: 28px;
}

[data-theme="dark"] {
  --bg: oklch(14% 0.015 260);
  --bg-2: oklch(17% 0.02 260);
  --surface: oklch(19% 0.02 260);
  --surface-2: oklch(22% 0.025 260);
  --border: oklch(28% 0.02 260);
  --border-strong: oklch(38% 0.025 260);
  --ink: oklch(96% 0.005 260);
  --ink-2: oklch(85% 0.01 260);
  --muted: oklch(65% 0.02 260);
  --accent: oklch(72% 0.16 265);
  --accent-2: oklch(75% 0.18 25);
  --code-bg: oklch(13% 0.02 260);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
  font-feature-settings: "ss01","cv01";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
pre, code { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.app { min-height: 100vh; display: flex; flex-direction: column; }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 96px 32px 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, oklch(70% 0.18 265 / 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, oklch(70% 0.18 25 / 0.12), transparent 60%),
    var(--bg);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, oklch(55% 0.2 265 / 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, oklch(60% 0.2 25 / 0.2), transparent 60%),
    var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px; color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px oklch(70% 0.18 265 / 0.2);
}
.hero-title {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 48px; }
.search {
  display: flex; align-items: center; gap: 10px;
  width: min(560px, 100%);
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--muted);
}
.search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search-clear {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--border); color: var(--ink-2);
  font-size: 11px;
}
.hero-btn {
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.15s ease;
}
.hero-btn:hover { transform: translateY(-1px); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats b {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ============== CATEGORIES ============== */
.cats {
  position: sticky; top: 0; z-index: 20;
  background: oklch(from var(--bg) l c h / 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.cats-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  transition: all 0.15s ease;
}
.cat:hover { border-color: var(--border-strong); }
.cat.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cat-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cat-count {
  font-size: 11px; color: var(--muted);
  background: var(--bg-2);
  padding: 2px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.cat.active .cat-count { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); }

/* ============== TOOLBAR ============== */
.toolbar { border-bottom: 1px solid var(--border); background: var(--bg); }
.toolbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 12px 32px;
  display: flex; align-items: center; gap: 12px;
}
.toolbar-spacer { flex: 1; }
.seg {
  display: inline-flex; padding: 3px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.seg button {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 500;
}
.seg button.on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.theme-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
}
.theme-btn:hover { background: var(--surface-2); }

/* ============== MAIN ============== */
.main {
  max-width: 1280px; margin: 0 auto;
  padding: 32px;
  flex: 1; width: 100%;
}
.result-meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}
.result-meta .count {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.result-meta .muted { color: var(--muted); }
.chip-q {
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
}

.empty {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

/* ============== GRID ============== */
.grid { display: grid; gap: 18px; }
.grid-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.grid-bento {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(280px, auto);
}
.grid-bento .card.size-m { grid-column: span 4; }
.grid-bento .card.size-l { grid-column: span 6; grid-row: span 2; }
.grid-bento .card.size-w { grid-column: span 8; }
.grid-bento .card.size-t { grid-column: span 4; grid-row: span 2; }

@media (max-width: 1100px) {
  .grid-bento { grid-template-columns: repeat(8, 1fr); }
  .grid-bento .card.size-m { grid-column: span 4; }
  .grid-bento .card.size-l { grid-column: span 8; grid-row: span 1; }
  .grid-bento .card.size-w { grid-column: span 8; }
  .grid-bento .card.size-t { grid-column: span 4; grid-row: span 2; }
}
@media (max-width: 720px) {
  .grid-bento, .grid-grid { grid-template-columns: 1fr; }
  .grid-bento .card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .hero { padding: 64px 20px 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .main { padding: 24px 20px; }
  .cats-inner, .toolbar-inner { padding-left: 20px; padding-right: 20px; }
}

/* ============== CARD ============== */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.card:hover::before {
  border-color: var(--cat-color);
}

.card-media {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  overflow: hidden;
}
.card.size-l .card-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.card.size-t .card-media { aspect-ratio: auto; flex: 1; min-height: 360px; }

.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-media img { transform: scale(1.04); }

.card-stack {
  position: relative; width: 100%; height: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--surface);
}
.card-stack img { width: 100%; height: 100%; object-fit: cover; }

.card-num {
  position: absolute; top: 12px; left: 14px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(8px);
}
.card-cat-tag {
  position: absolute; top: 12px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.92);
  color: oklch(20% 0.02 250);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.card-ko {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.card.size-l .card-ko, .card.size-t .card-ko { font-size: 22px; }
.card-en {
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.01em;
}
.card-uses { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 9px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
}
.card-prompt-wrap {
  margin-top: 4px;
  position: relative;
}
.card-prompt {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 88px;
  overflow: hidden;
  position: relative;
}
.card-prompt::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 28px;
  background: linear-gradient(to bottom, transparent, var(--code-bg));
  pointer-events: none;
}
.card.size-l .card-prompt, .card.size-t .card-prompt { max-height: 140px; }
.copy-btn {
  margin-top: 8px;
  width: 100%;
  padding: 9px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.copy-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* dark tone cards (for dark-themed style examples) */
.card.tone-dark .card-media { background: oklch(15% 0.02 250); }

/* ============== LIST ============== */
.list { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: grid;
  grid-template-columns: 56px 200px 1fr auto;
  gap: 18px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.row:hover { border-color: var(--cat-color, var(--border-strong)); transform: translateX(2px); }
.row-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.row-thumb {
  width: 100%; aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.row-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.row-en { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.row-prompt {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-actions .copy-btn { width: auto; padding: 8px 16px; }

@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; }
  .row-thumb { aspect-ratio: 16/9; }
}

/* ============== COMPARE SLIDER ============== */
.compare {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}
.compare img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.cmp-b-wrap {
  position: absolute; top: 0; left: 0; height: 100%;
  overflow: hidden;
}
.cmp-b-wrap img { width: var(--cmp-w, 100%); }
.cmp-handle {
  position: absolute; top: 0; bottom: 0;
  width: 2px;
  background: white;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  transform: translateX(-50%);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.cmp-handle span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: white;
  color: oklch(20% 0.02 250);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cmp-labels {
  position: absolute; top: 12px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}
.cmp-labels span {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
/* fix cmp-b sizing */
.cmp-b-wrap { width: 50%; }
.cmp-b-wrap img { position: absolute; top: 0; left: 0; width: 100vw; max-width: none; height: 100%; }
.cmp-b { width: 100% !important; }

/* Override: make cmp-b stretch to parent .compare width regardless of wrapper width */
.compare .cmp-b-wrap .cmp-b {
  width: auto !important; height: 100%;
}

/* ============== LIGHTBOX ============== */
.lb-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb {
  background: var(--surface);
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 1240px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 14px;
}
.lb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  max-height: 90vh;
}
.lb-images {
  background: var(--bg-2);
  display: flex; flex-direction: column;
  min-height: 480px;
}
.lb-images .compare { flex: 1; aspect-ratio: 16/9; }
.lb-thumbs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
}
.lb-thumbs img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.lb-info {
  padding: 36px 40px;
  overflow-y: auto;
  max-height: 90vh;
}
.lb-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.lb-info h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.lb-en {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
}
.lb-cat {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 5px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.lb-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.lb-section h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.lb-prompt {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  white-space: pre-wrap;
  word-break: break-word;
}
.lb-copy { margin-top: 12px; }
.lb-tips ul { padding-left: 18px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.lb-tips code { background: var(--code-bg); padding: 1px 6px; border-radius: 4px; font-size: 12px; }
.lb-tips i { color: var(--accent); font-style: normal; font-weight: 500; }

@media (max-width: 900px) {
  .lb-grid { grid-template-columns: 1fr; }
  .lb-info { padding: 24px; max-height: none; }
  .lb-overlay { padding: 12px; }
  .lb { max-height: 95vh; overflow-y: auto; }
}

/* ============== TWEAKS ============== */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
}
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.tweaks-head h3 { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.tweaks-head button { width: 28px; height: 28px; border-radius: 6px; color: var(--muted); }
.tweaks-head button:hover { background: var(--border); color: var(--ink); }
.tweaks-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.tw-sec { display: flex; flex-direction: column; gap: 8px; }
.tw-sec label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tweaks .seg { width: 100%; }
.tweaks .seg button { flex: 1; }

/* ============== TOAST ============== */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  background: oklch(20% 0.02 250);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ============== FOOTER ============== */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 32px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-mark { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.footer-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.footer-meta { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

/* density */
[data-density="compact"] .card-body { padding: 14px 16px 16px; gap: 8px; }
[data-density="compact"] .card-prompt { max-height: 72px; }
