:root {
  color-scheme: dark;
  --bg: #0e0b16;
  --bg-2: #15101f;
  --panel: #1b1528;
  --panel-2: #251c37;
  --text: #fdf7fb;
  --muted: #a89bbb;
  --pink: #fd5068;
  --pink-2: #ff7a5c;
  --green: #1be3a2;
  --blue: #5cc8ff;
  --orange: #ff9a51;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 16% 0%, rgba(253, 80, 104, 0.22), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(27, 227, 162, 0.14), transparent 26rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { display: block; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(14, 11, 22, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .75rem; min-width: max-content; }
.brand small { display: block; color: var(--muted); font-size: .76rem; margin-top: .1rem; }
.logo {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(253, 80, 104, .4);
}
nav { display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; }
nav a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  padding: .5rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  transition: color .15s ease, background .15s ease;
}
nav a svg { opacity: .85; }
nav a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
nav a.active { color: var(--text); background: rgba(253, 80, 104, .16); }
nav a.active svg { opacity: 1; color: var(--pink); }

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: var(--text);
}

.app-shell { width: min(1120px, 100%); margin: 0 auto; padding: clamp(1rem, 4vw, 3rem); }

/* ---------- Buttons ---------- */
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  padding: .82rem 1.15rem;
  background: rgba(255, 255, 255, .09);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  touch-action: manipulation;
  transition: transform .12s ease, filter .15s ease, background .15s ease;
}
.button:hover, button:hover { filter: brightness(1.08); }
.button:active, button:active { transform: scale(.97); }
.button.primary, button.primary { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; box-shadow: 0 12px 30px rgba(253, 80, 104, .35); }
.button.good, button.good { background: var(--green); color: #06231a; }
.button.bad, button.bad { background: rgba(255, 90, 110, .18); color: #ffb4c5; }
button:disabled { opacity: .55; cursor: wait; transform: none; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: var(--text);
}
.icon-btn svg { width: 1.3rem; height: 1.3rem; }

/* ---------- Hero ---------- */
.hero { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); align-items: center; min-height: calc(100dvh - 7rem); }
.hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); line-height: .9; margin: 0; letter-spacing: -.02em; }
.hero p, .muted { color: var(--muted); line-height: 1.6; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; align-items: center; }

/* ---------- Cards / panels ---------- */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.panel, .profile-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.profile-card { cursor: pointer; text-align: center; transition: transform .18s ease, border-color .18s ease; }
.profile-card:hover { transform: translateY(-4px); border-color: rgba(253, 80, 104, .4); }
.avatar {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.4rem;
  color: #151020;
  margin: 0 auto .8rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

/* ---------- Swipe deck (Tinder style) ---------- */
.swipe-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: calc(100dvh - 9rem);
}
.swipe-head {
  width: min(420px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.swipe-as { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-weight: 600; }
.mini-avatar { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #151020; font-size: .85rem; flex: none; }

.deck {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 2 / 3;
  max-height: 64vh;
  isolation: isolate;
}
.swipe-card {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 1.7rem;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  will-change: transform;
  transform-origin: center bottom;
}
.swipe-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.swipe-card .card-info {
  position: absolute;
  inset: auto 0 0;
  padding: 6rem 1.25rem 1.4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .92));
}
.swipe-card .card-info h2 { margin: 0 0 .55rem; font-size: 1.8rem; line-height: 1.05; }
.swipe-card .card-info h2 span { color: var(--muted); font-weight: 500; font-size: 1.1rem; }
.swipe-card .card-info p { margin: .65rem 0 0; color: rgba(253, 247, 251, .82); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* drag stamps */
.stamp {
  position: absolute;
  top: 1.6rem;
  padding: .35rem .9rem;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: .06em;
  border: .28rem solid currentColor;
  border-radius: .8rem;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}
.stamp-like { left: 1.4rem; color: var(--green); transform: rotate(-16deg); }
.stamp-nope { right: 1.4rem; color: var(--pink); transform: rotate(16deg); }
.stamp-super { left: 50%; top: 38%; transform: translateX(-50%) rotate(-8deg); color: var(--blue); }

/* action row */
.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  position: relative;
  z-index: 1;
}
.circle-btn {
  display: grid;
  place-items: center;
  width: 3.9rem;
  height: 3.9rem;
  padding: 0;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  transition: transform .12s ease, box-shadow .15s ease;
}
.circle-btn:hover { transform: translateY(-3px) scale(1.05); }
.circle-btn.pass { color: var(--pink); }
.circle-btn.super { width: 3.2rem; height: 3.2rem; color: var(--blue); }
.circle-btn.like { color: var(--green); }
.circle-btn svg { width: 1.7rem; height: 1.7rem; }
.circle-btn.super svg { width: 1.4rem; height: 1.4rem; }

.deck-empty { display: grid; place-items: center; text-align: center; height: 100%; padding: 2rem; gap: .4rem; }

.card-detail-btn {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.card-detail-btn svg { width: 1.3rem; height: 1.3rem; }

/* slide-up filter sheet */
.filter-sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  margin: 0 auto;
  width: min(460px, 100%);
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
  transform: translateY(110%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.filter-sheet.open { transform: translateY(0); }

.sheet-grab { flex: none; width: 2.6rem; height: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .25); margin: .7rem auto .1rem; }
.sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: .35rem 1.1rem .55rem 1.25rem; }
.sheet-head h2 { margin: 0; font-size: 1.3rem; }
.sheet-close { width: 2.4rem; height: 2.4rem; }
.sheet-close svg { width: 1.15rem; height: 1.15rem; }

.sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: .35rem 1.25rem 1.1rem;
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.sheet-foot {
  flex: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  padding: .85rem 1.25rem;
  padding-bottom: calc(.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.field { display: grid; gap: .5rem; }
.field-label { color: var(--muted); font-weight: 600; font-size: .9rem; }

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3rem;
  padding: .3rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: .95rem;
}
.segmented .seg {
  padding: .65rem .4rem;
  min-height: 0;
  border-radius: .68rem;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}
.segmented .seg.active { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; }

.range-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; }
.range-row input { text-align: center; }
.range-sep { color: var(--muted); font-weight: 700; }

.length-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: .55rem .5rem; }
.length-tag { color: var(--muted); font-weight: 600; font-size: .88rem; }
.length-grid input { text-align: center; padding-left: .4rem; padding-right: .4rem; }
.length-grid .unit { color: var(--muted); font-size: .9rem; font-weight: 600; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--text); font-weight: 600; padding: .15rem 0; cursor: pointer; }
.switch {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 3.1rem;
  height: 1.8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
}
.switch::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(1.3rem); }
.switch:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.button.ghost, button.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(8, 5, 14, .6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---------- Forms ---------- */
.filters label, .form label { display: grid; gap: .35rem; color: var(--muted); font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: .8rem .9rem;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--pink); }
textarea { min-height: 7rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.library-tools, .form { display: grid; gap: 1rem; }
.settings-profile { display: grid; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1.1rem; background: rgba(255, 255, 255, .03); }
.settings-profile-head { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; }
input[type="color"] { height: 3rem; padding: .25rem; cursor: pointer; }
.filters { display: grid; gap: .8rem; }

/* ---------- Posters / badges (home + detail) ---------- */
.poster-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 1.6rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-fade { position: absolute; inset: auto 0 0; padding: 6rem 1.25rem 1.25rem; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); }
.poster-fade h2 { margin: 0 0 .45rem; font-size: 1.9rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.badge { background: rgba(255, 255, 255, .12); color: var(--text); border: 1px solid rgba(255, 255, 255, .12); padding: .3rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }

/* ---------- Match modal ---------- */
.match-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 5, 14, .85);
  z-index: 60;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.match-box { width: min(460px, 100%); text-align: center; }
.match-box h1 { font-size: clamp(2.6rem, 10vw, 4.2rem); margin: .6rem 0; background: linear-gradient(135deg, var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mini-poster { width: 140px; aspect-ratio: 2/3; object-fit: cover; border-radius: 1rem; margin: 0 auto; box-shadow: var(--shadow); }

/* ---------- Detail modal ---------- */
.detail-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 5, 14, .85);
  z-index: 60;
  animation: fade .2s ease;
}
.detail-box { width: min(560px, 100%); max-height: 88dvh; overflow-y: auto; position: relative; text-align: left; }
.detail-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: #fff;
}
.detail-close svg { width: 1.1rem; height: 1.1rem; }
.detail-head { display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: start; }
.detail-head img { width: 120px; aspect-ratio: 2/3; object-fit: cover; border-radius: .9rem; background: var(--panel); }
.detail-head h1 { margin: 0 0 .4rem; font-size: 1.55rem; line-height: 1.12; padding-right: 2rem; }
.detail-head .badge-row { margin-top: .6rem; }
.detail-summary { color: rgba(253, 247, 251, .85); line-height: 1.65; margin: 1.1rem 0 .4rem; }

/* ---------- Match / library grids ---------- */
.swipe-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(260px, 1fr); gap: 2rem; align-items: start; }
.matches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.matches-grid > * { min-width: 0; }
.match-card { display: block; transition: transform .15s ease; }
.match-card:hover { transform: translateY(-4px); }
.match-card a { display: block; color: inherit; }
.match-card .bad { width: 100%; margin-top: .7rem; }
.match-card img, .library-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 1rem; background: var(--panel); margin-bottom: .6rem; }
.match-poster { position: relative; }
.match-poster .card-detail-btn { top: .55rem; right: .55rem; width: 2.4rem; height: 2.4rem; }
.match-poster .card-detail-btn svg { width: 1.2rem; height: 1.2rem; }
.library-card { display: grid; gap: .5rem; min-width: 0; }
.library-card h2 { margin: 0; font-size: 1.1rem; line-height: 1.15; overflow-wrap: anywhere; }
.library-card p { overflow-wrap: anywhere; }
.library-actions { display: grid; gap: .45rem; margin-top: .15rem; }
.library-actions button { width: 100%; padding-left: .7rem; padding-right: .7rem; }
.like-toggle svg { width: 1.05rem; height: 1.05rem; flex: none; }
.like-toggle.liked { background: rgba(253, 80, 104, .18); color: var(--pink); }

/* ---------- Date night ---------- */
.date-night {
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: calc(100dvh - 9rem);
}
.date-intro { display: grid; gap: 1rem; justify-items: center; width: min(420px, 100%); }
.date-intro h1 { margin: 0; font-size: clamp(2.4rem, 8vw, 3.6rem); letter-spacing: -.02em; }
.date-intro .field { width: 100%; }
.reveal-btn { font-size: 1.05rem; padding: .9rem 1.7rem; }
.reveal-btn svg { width: 1.2rem; height: 1.2rem; }
.date-result { width: min(520px, 100%); }
.date-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.1rem;
  text-align: left;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
}
.date-result.show .date-card { opacity: 1; transform: none; }
.date-card img { width: 120px; aspect-ratio: 2/3; object-fit: cover; border-radius: .9rem; background: var(--panel); }
.date-card h2 { margin: 0 0 .35rem; font-size: 1.35rem; line-height: 1.1; }
.date-card .actions { margin-top: .85rem; }

/* date night suspense reel */
.date-suspense { display: grid; gap: 1.1rem; justify-items: center; }
.reel {
  position: relative;
  width: min(230px, 62vw);
  aspect-ratio: 2 / 3;
  border-radius: 1.2rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .55);
}
.reel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .45s ease; }
.reel.obscured img { filter: blur(15px) brightness(.5) saturate(.85); }
.reel img.flip { animation: reelflip .14s ease; }
@keyframes reelflip { from { opacity: .25; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.reel-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .7);
  pointer-events: none;
}
.reel-count svg { width: 3.4rem; height: 3.4rem; opacity: .85; animation: countpulse 1.1s ease-in-out infinite; }
@keyframes countpulse { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
.reel-count.pop { animation: countpop .55s ease; }
@keyframes countpop { 0% { transform: scale(.4); opacity: 0; } 35% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: .9; } }
.date-suspense.settled .reel { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(253, 80, 104, .45), 0 26px 64px rgba(0, 0, 0, .55); animation: settlepop .55s cubic-bezier(.2, 1.4, .4, 1); }
.date-suspense.settled .reel img { filter: none; }
@keyframes settlepop { 0% { transform: scale(.9); } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
.suspense-label { color: var(--muted); font-weight: 600; font-size: 1.05rem; }
.date-suspense.settled .suspense-label { color: var(--text); }

.error { color: #ffb4c5; }
.success { color: #9cffdc; }
.install { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.loading { color: var(--muted); padding: 2rem; text-align: center; }

@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; padding: .7rem 1rem; }
  .brand small { display: none; }
  .nav-toggle { display: grid; }
  nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    margin-top: .6rem;
  }
  nav.open { display: flex; }
  nav a { padding: .85rem .9rem; border-radius: .8rem; font-size: 1rem; }

  .app-shell { padding: .75rem; }
  .hero, .swipe-layout, .two-col { grid-template-columns: 1fr; }
  .hero { gap: 1.25rem; min-height: auto; padding: 1.5rem 0; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4rem); }

  /* Keep the whole swipe UI on one screen so the buttons never scroll off */
  .swipe-page { min-height: calc(100dvh - 5rem); gap: .7rem; }
  .swipe-head { width: 100%; max-width: 420px; }
  .deck {
    width: 100%;
    max-width: min(420px, calc((100dvh - 15rem) * 0.667));
    aspect-ratio: 2 / 3;
    max-height: none;
  }
  .swipe-card .card-info { padding: 3.2rem 1rem 1.05rem; }
  .swipe-card .card-info h2 { font-size: 1.35rem; }
  .swipe-card .card-info h2 span { font-size: .95rem; }
  .swipe-card .card-info p { -webkit-line-clamp: 2; font-size: .85rem; margin-top: .4rem; }
  .swipe-actions { gap: 1.4rem; }
  .circle-btn { width: 3.6rem; height: 3.6rem; }
  .circle-btn.super { width: 3rem; height: 3rem; }

  .date-night { min-height: calc(100dvh - 6rem); gap: 1.4rem; }
  .date-card { grid-template-columns: 96px 1fr; gap: .9rem; }
  .date-card img { width: 96px; }
  .date-card h2 { font-size: 1.2rem; }
  .matches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .match-card h2 { font-size: 1.05rem; }
  .match-box h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .detail-modal, .match-modal { padding: .6rem; }
  .detail-box { max-height: 92dvh; }
  .detail-head { grid-template-columns: 84px 1fr; gap: .85rem; }
  .detail-head img { width: 84px; }
  .detail-head h1 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
