/* ============ MATCH PAGE ============ */
.match-hero {
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 60px;
  position: relative;
}
.match-hero h1 { margin-bottom: 18px; }

.match-filters { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.filter-row .label-v { margin-bottom: 8px; }

.seg {
  display: inline-flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
  flex-wrap: wrap;
}
.seg-btn {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.seg-btn.active { background: var(--ink); color: #fff; }
[data-theme="dark"] .seg-btn.active { background: var(--mango); color: var(--ink); }

/* DECK */
.deck { position: relative; max-width: 440px; margin-inline: auto; }
.card-stack {
  position: relative;
  height: 640px;
}
.card-back-1, .card-back-2 {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.card-back-1 { transform: rotate(-3deg) translateY(-6px) scale(.96); opacity: .6; }
.card-back-2 { transform: rotate(2deg) translateY(-12px) scale(.92); opacity: .35; }

.match-card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  cursor: grab;
}
.match-card:active { cursor: grabbing; }
.mc-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.mc-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.2) 35%, rgba(0,0,0,.95) 100%);
}
.mc-top {
  position: absolute;
  top: 18px; left: 18px; right: 18px;
  display: flex; justify-content: space-between;
}
.mc-score {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--grad-warm);
  color: #fff;
  border-radius: 50%;
  width: 72px; height: 72px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(255,94,98,.45);
  border: 3px solid rgba(255,255,255,.4);
}
.mc-score-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1; }
.mc-score-lbl { font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.mc-top .chip-verified { font-size: .7rem; }

.mc-body {
  position: absolute;
  bottom: 22px;
  left: 22px; right: 22px;
  color: #fff;
}
.mc-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}
.mc-pron {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  margin-left: 6px;
}
.mc-loc { font-size: .9rem; color: rgba(255,255,255,.92); margin-bottom: 12px; }
.mc-loc strong { color: var(--mango); }
.mc-bio {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 16px;
  line-height: 1.4;
}
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mc-interests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
}
.interest {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.92);
}
.interest span {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}

/* ACTION BAR */
.action-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.action-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  color: var(--text-muted);
}
.action-btn:hover { transform: translateY(-4px) scale(1.08); box-shadow: var(--shadow-lg); }
.ab-undo { width: 46px; height: 46px; align-self: center; font-size: 1.4rem; }
.ab-pass { color: #FF3F4A; }
.ab-pass:hover { background: #FF3F4A; color: #fff; }
.ab-superlike { color: var(--indigo); background: rgba(45,63,231,.1); }
.ab-superlike:hover { background: var(--indigo); color: #fff; }
.ab-like { background: var(--sunset); color: #fff; width: 70px; height: 70px; }
.ab-like:hover { background: #e64a4f; box-shadow: 0 12px 30px rgba(255,94,98,.5); }
.ab-msg { color: var(--turquoise); background: rgba(0,201,183,.1); }
.ab-msg:hover { background: var(--turquoise); color: #fff; }

/* SIDEBAR */
.match-side {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.recent-match {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .9rem;
}
.recent-match:last-of-type { border-bottom: none; padding-bottom: 0; }
.recent-match strong { font-weight: 600; }
.match-tip {
  background: var(--grad-warm);
  border-radius: var(--r-md);
  padding: 18px 20px;
  color: #fff;
}
.match-tip p { color: #fff; }
.match-tip strong { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
