/* REEL — mobile-first dark theme.
 *
 * Defaults target ~375px phone width. Media queries scale up.
 * Bottom tab bar replaces top nav for app-feel.
 */

:root {
  --bg:        #0f1115;
  --panel:     #181b22;
  --panel-2:   #1f232c;
  --text:      #e6e8ec;
  --muted:     #8c93a3;
  --accent:    #ff5a7a;
  --accent-2:  #5ea2ff;
  --loved:     #ff5a7a;
  --liked:     #5ea2ff;
  --unsure:    #f1c453;
  --disliked:  #888;
  --border:    #2a2f3a;

  --nav-h:           60px;
  --safe-bottom:     env(safe-area-inset-bottom, 0px);
  --content-pad:     16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
body {
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 16px);
}

a { color: var(--accent-2); text-decoration: none; }
a:active { opacity: .7; }

/* ---------- Status header (slim, sticky) ---------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--content-pad);
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.app-header .brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--accent);
}
.app-header .status {
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-header .status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--disliked);
}
.app-header .status.ok .dot { background: #4ec27c; }

/* ---------- Main content ---------- */
.container {
  padding: 16px var(--content-pad) 24px;
  max-width: 1200px;
  margin: 0 auto;
}

h1 { font-size: 22px; margin: 0 0 4px; font-weight: 700; letter-spacing: -0.2px; }
h2 { font-size: 14px; margin: 24px 0 12px; color: var(--muted);
     font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
p.lead { color: var(--muted); margin: 0 0 16px; font-size: 13px; }

.lead a { color: var(--accent-2); }
.lead a + a { margin-left: 4px; }

.alert {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--unsure);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.alert code {
  background: var(--panel-2);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11px;
}

/* ---------- Card grid (mobile-first) ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--panel-2);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.poster.empty {
  background: linear-gradient(135deg, var(--panel-2) 0%, var(--panel) 100%);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12px;
  text-align: center;
  padding: 12px;
}

.card .body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.card .title {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .title .meta {
  font-weight: 400;
  font-size: 11px;
}
.card .meta { font-size: 11px; color: var(--muted); }
.card .imdb { font-weight: 600; color: var(--accent); font-size: 12px; }
.card .reasons {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .borderline {
  font-size: 9px;
  color: var(--unsure);
  background: rgba(241,196,83,.12);
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  font-weight: 600;
  letter-spacing: .5px;
}
.card .score {
  font-size: 9.5px;
  color: var(--muted);
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
  opacity: .7;
}

/* ---------- Rating-row list (Library) ---------- */
.list { display: flex; flex-direction: column; }
.list-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.list-row .row-thumb {
  width: 48px;
  height: 72px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
  background: var(--panel-2);
}
.list-row .row-thumb.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 4px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
}
.list-row .row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.list-row .row-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.list-row .row-title .year { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.list-row .row-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.list-row .row-notes {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

.bucket {
  font-size: 9px;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  display: inline-block;
}
.bucket-loved          { background: rgba(255,90,122,.18); color: var(--loved); }
.bucket-liked          { background: rgba(94,162,255,.18); color: var(--liked); }
.bucket-neutral        { background: rgba(180,180,200,.16); color: #b0b5c4; }
.bucket-watchlist      { background: rgba(78,194,124,.18); color: #4ec27c; }
.bucket-unsure         { background: rgba(241,196,83,.18); color: var(--unsure); }
.bucket-disliked       { background: rgba(136,136,136,.18); color: var(--disliked); }
.bucket-not_interested { background: rgba(136,136,136,.10); color: var(--disliked); opacity: .75; }
.bucket-unseen         { background: rgba(136,136,136,.10); color: var(--muted); }

/* ---------- Form (Rate) ---------- */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}
label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}
input, textarea, select {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;             /* 16px prevents iOS zoom on focus */
  font-family: inherit;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-2);
}
textarea { resize: vertical; }
button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 4px;
}
button:active { filter: brightness(0.9); }

/* ---------- Bottom tab bar ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(24, 27, 34, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex;
  padding: 6px 0 calc(6px + var(--safe-bottom));
  z-index: 100;
}
.bottom-nav .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: color .15s;
}
.bottom-nav .tab .tab-icon {
  width: 24px; height: 24px;
  display: block;
}
.bottom-nav .tab.active {
  color: var(--accent);
}

/* ---------- Threshold chips ---------- */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.chip {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.chip.active {
  background: rgba(94,162,255,.12);
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* ---------- Wildcard section ---------- */
.wildcard-wrap {
  margin-top: 32px;
}
.wildcard-wrap .grid {
  grid-template-columns: minmax(0, 260px);
  max-width: 260px;
}
.wildcard-wrap .card {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 30px rgba(255,90,122,.15);
}

/* ---------- App header search ---------- */
.header-right { display: flex; align-items: center; gap: 14px; }
.header-action {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.header-action:active { background: var(--panel-2); }
.header-action img { width: 22px; height: 22px; opacity: .85; }

/* ---------- Card / row hover-feel (now links) ---------- */
.card { color: inherit; text-decoration: none; transition: transform .1s; }
.card:active { transform: scale(.985); }
.list-row { color: inherit; text-decoration: none; }
.list-row:active { background: var(--panel); }

/* ---------- Movie detail page ---------- */
.md-hero {
  display: flex; gap: 14px;
  margin: 4px 0 20px;
  align-items: flex-start;
}
.md-poster {
  flex-shrink: 0;
  width: 130px;
  aspect-ratio: 2 / 3;
  background-size: cover; background-position: center;
  background-color: var(--panel-2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.md-poster.empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 700; font-size: 11px;
  text-align: center; padding: 8px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
}
.md-info { flex: 1; min-width: 0; }
.md-info h1 { font-size: 22px; line-height: 1.15; margin: 0 0 8px; }
.md-info h1 .meta { font-weight: 400; font-size: 14px; color: var(--muted); }
.md-meta-line {
  font-size: 13px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 6px;
}
.md-meta { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.md-synopsis { font-size: 14px; color: var(--text); line-height: 1.55; }

/* ---------- Match score ---------- */
.match-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 18px;
  border-radius: 14px;
  margin: 22px 0 28px;
  border: 1px solid var(--border);
}
.match-card .match-pct {
  font-size: 38px; font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}
.match-card .match-pct .pct {
  font-size: 18px; font-weight: 700;
  opacity: .8; margin-left: 2px;
}
.match-card .match-body { flex: 1; }
.match-card .match-label {
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
}
.match-card .match-sub {
  font-size: 11px; color: var(--muted);
  margin-top: 4px; line-height: 1.4;
}

.match-strong { background: linear-gradient(135deg, rgba(255,90,122,.18), rgba(255,90,122,.06));
                border-color: rgba(255,90,122,.4); }
.match-strong .match-pct, .match-strong .match-label { color: var(--accent); }
.match-good   { background: linear-gradient(135deg, rgba(94,162,255,.16), rgba(94,162,255,.05));
                border-color: rgba(94,162,255,.4); }
.match-good .match-pct, .match-good .match-label { color: var(--accent-2); }
.match-warm   { background: linear-gradient(135deg, rgba(241,196,83,.14), rgba(241,196,83,.05));
                border-color: rgba(241,196,83,.3); }
.match-warm .match-pct, .match-warm .match-label { color: var(--unsure); }
.match-cold   { background: var(--panel); }
.match-cold .match-pct, .match-cold .match-label { color: var(--muted); }
.match-none   { background: var(--panel); }
.match-none .match-pct, .match-none .match-label { color: var(--muted); }

/* ---------- Trailer embed ---------- */
.trailer-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin: 4px 0 20px;
}
.trailer-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Where to watch ---------- */
.providers { margin: 4px 0 6px; }
.provider-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.provider-row:last-child { border-bottom: 0; }
.provider-kind {
  flex-shrink: 0;
  width: 56px;
  font-size: 11px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .7px;
}
.provider-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.provider {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  text-decoration: none; color: var(--text);
  font-size: 12px; font-weight: 600;
}
.provider:active { background: var(--panel-2); }
.provider img {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--panel-2);
  display: block;
}
.provider-note {
  font-size: 10px; color: var(--muted);
  margin: 8px 0 22px;
  letter-spacing: .3px;
}

/* ---------- AI insight ---------- */
.insight-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 4px 0 24px;
}
.insight-card .insight-body {
  font-size: 14px; color: var(--text);
  line-height: 1.55; white-space: pre-wrap;
}
.insight-card .insight-meta {
  font-size: 11px; color: var(--muted);
  margin-top: 8px; letter-spacing: .3px;
}

/* ---------- Your review ---------- */
.your-rating { display: flex; gap: 8px; align-items: center; margin: 6px 0 8px; }
.md-critique {
  font-size: 14px; color: var(--text);
  font-style: italic; line-height: 1.55;
  background: var(--panel-2);
  border-left: 3px solid var(--border);
  padding: 10px 14px; border-radius: 8px;
  margin: 4px 0 12px;
}
.re-rate {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.re-rate > summary {
  cursor: pointer; font-weight: 700; font-size: 13px;
  color: var(--accent-2);
  list-style: none;
}
.re-rate > summary::-webkit-details-marker { display: none; }
.re-rate[open] { padding-bottom: 18px; }
.inline-rate { gap: 12px; }

/* ---------- Search ---------- */
.search-form {
  display: flex; gap: 8px; margin-bottom: 18px; max-width: 520px;
}
.search-form input { flex: 1; font-size: 16px; }
.search-form button { margin: 0; padding: 12px 16px; }

/* ---------- Onboarding: welcome hero ---------- */
.hero { margin: 8px 0 24px; }
.hero h1 { font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.hero-lead {
  color: var(--muted); font-size: 14px; line-height: 1.55;
  margin: 0 0 20px; max-width: 520px;
}
.cta {
  display: inline-block;
  background: var(--accent); color: white;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  letter-spacing: .2px;
  box-shadow: 0 10px 25px rgba(255,90,122,.25);
}
.cta:active { filter: brightness(.92); text-decoration: none; }
.how {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.how li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px;
}
.how-n {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,90,122,.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.how-h { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.how-p { color: var(--muted); font-size: 12px; line-height: 1.4; }

/* ---------- Onboarding: progress ---------- */
.progress { margin: 4px 0 20px; max-width: 520px; }
.progress-track {
  height: 6px; background: var(--panel-2); border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 999px;
  transition: width .4s cubic-bezier(.4,.2,.2,1);
}
.progress-meta {
  font-size: 12px; color: var(--muted);
  margin-top: 8px; letter-spacing: .3px;
}
.progress-meta strong { color: var(--text); font-weight: 700; }

/* ---------- Auth options (login page) ---------- */
.auth-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; max-width: 520px; }
.auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}
.auth-btn .auth-icon { width: 20px; height: 20px; display: block; }
.auth-btn:active { filter: brightness(.92); }
.auth-btn-primary {
  background: var(--panel-2);
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.auth-btn-apple { background: #000; color: #fff; border-color: #000; }
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12px; margin: 16px 0;
  max-width: 520px; letter-spacing: .5px; text-transform: uppercase;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ---------- Swipe stage ---------- */
.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--accent-2); font: inherit; font-size: 13px;
  text-decoration: underline; text-underline-offset: 2px;
}

.comment-wrap { margin-bottom: 12px; }
.comment-wrap textarea {
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
  width: 100%; resize: vertical;
}

.swipe-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 2 / 3.1;
  perspective: 1200px;
}
.swipe-card {
  position: absolute;
  inset: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  will-change: transform;
}
/* Stack depth: behind cards scaled down slightly */
.swipe-card:nth-last-child(2) {
  transform: scale(.97) translateY(8px);
  z-index: 1;
}
.swipe-card:nth-last-child(3) {
  transform: scale(.94) translateY(16px);
  z-index: 0;
}
.swipe-card:nth-last-child(n+4) {
  transform: scale(.91) translateY(24px);
  z-index: 0;
  opacity: 0;
}
.swipe-card:last-child { z-index: 3; cursor: grab; }
.swipe-card:last-child:active { cursor: grabbing; }

.swipe-poster {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--panel-2);
}
.swipe-poster.empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 700; font-size: 20px;
  text-align: center; padding: 20px;
}

.swipe-stamp {
  position: absolute;
  top: 24px;
  font-size: 28px;
  font-weight: 900;
  padding: 6px 14px;
  border: 4px solid currentColor;
  border-radius: 8px;
  letter-spacing: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .1s;
}
.swipe-stamp.like {
  right: 20px;
  color: #4ec27c;
  transform: rotate(-15deg);
}
.swipe-stamp.nope {
  left: 20px;
  color: var(--accent);
  transform: rotate(15deg);
}

.swipe-info {
  padding: 12px 14px 14px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.swipe-title {
  font-weight: 700; font-size: 17px; line-height: 1.25;
}
.swipe-title .meta { font-weight: 400; font-size: 13px; color: var(--muted); }
.swipe-meta { font-size: 13px; color: var(--muted); }
.swipe-meta .imdb { color: var(--accent); font-weight: 700; }
.swipe-dir { font-size: 12px; color: var(--muted); }
.swipe-synopsis {
  font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 12px;
}
.swipe-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .1s;
}
.swipe-btn:active { transform: scale(0.9); }
.swipe-btn svg {
  width: 24px; height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.swipe-btn.nope {
  background: rgba(136,136,136,.16);
  color: var(--text);
}
.swipe-btn.seen {
  background: rgba(94,162,255,.16);
  color: var(--accent-2);
  width: 48px; height: 48px;
}
.swipe-btn.seen svg { width: 20px; height: 20px; }
.swipe-btn.love {
  background: rgba(255,90,122,.16);
  color: var(--accent);
  width: 48px; height: 48px;
}
.swipe-btn.love svg { width: 20px; height: 20px; fill: currentColor; }
.swipe-btn.like {
  background: rgba(78,194,124,.16);
  color: #4ec27c;
}

.swipe-footer {
  text-align: center; font-size: 11px; color: var(--muted);
  letter-spacing: .5px; text-transform: uppercase;
}

.empty-state {
  text-align: center; padding: 60px 16px;
}
.empty-state h2 { color: var(--text); text-transform: none; letter-spacing: 0; font-size: 18px; }

/* ---------- Unified swipe stamps (both modes) ---------- */
.swipe-stamp.st-love {
  left: 50%; top: 18px; transform: translateX(-50%) rotate(-4deg);
  color: var(--accent);
}
.swipe-stamp.st-like { right: 18px; top: 22px; transform: rotate(-12deg); color: #4ec27c; }
.swipe-stamp.st-skip { left: 18px; top: 22px; transform: rotate(12deg); color: var(--muted); }
.swipe-stamp.st-nope {
  left: 50%; bottom: 80px; top: auto; transform: translateX(-50%) rotate(4deg);
  color: var(--disliked);
}

/* ---------- Critique input (always visible) ---------- */
.critique-wrap {
  position: relative;
  margin: 0 0 14px;
}
.critique-wrap textarea {
  width: 100%;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 40px 10px 12px;
  font-size: 14px; font-family: inherit;
  resize: none;
  line-height: 1.4;
}
.critique-wrap textarea:focus {
  outline: none; border-color: var(--accent-2);
}
.critique-mic {
  position: absolute;
  right: 10px; top: 8px;
  width: 22px; height: 22px;
  opacity: .55;
  pointer-events: none;
}

/* ---------- Rate panel (6 buttons, 3x2 grid) ---------- */
.rate-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 10px;
}
.rb {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: .2px;
}
.rb:active { transform: scale(.96); filter: brightness(.92); }
.rb img { width: 28px; height: 28px; display: block; }

.rb-love    { background: rgba(255,90,122,.08); border-color: rgba(255,90,122,.30); color: var(--accent); }
.rb-like    { background: rgba(78,194,124,.08); border-color: rgba(78,194,124,.30); color: #4ec27c; }
.rb-neutral { background: rgba(180,180,200,.06); border-color: rgba(180,180,200,.25); color: #b0b5c4; }
.rb-nope    { background: rgba(136,136,136,.08); border-color: rgba(136,136,136,.30); color: var(--text); }
.rb-meh     { background: rgba(241,196,83,.08); border-color: rgba(241,196,83,.30); color: var(--unsure); }
.rb-skip    { background: var(--panel-2); color: var(--muted); }

/* ---------- Inline star (replaces ★) ---------- */
.star {
  width: 14px; height: 14px;
  vertical-align: middle;
  margin-right: 2px;
  display: inline-block;
}
.star-lg { width: 18px; height: 18px; }
.imdb-row {
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--accent); font-weight: 700; font-size: 13px;
}
