@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #121010;
  --bg-soft: #161311;
  --card: #1a1715;
  --elev: #1f1b18;
  --cream: #f3ece2;
  --muted: #bfb5a8;
  --dim: #8a8076;
  --faint: #6f665d;
  --line: #241f1c;
  --line-2: #2c2723;
  --line-3: #3a342f;
  --gold: #c9a96e;
  --gold-soft: #e3cc9f;
  --out: #efe6d8;
  --ink: #1a1714;
  --desk: #ebe5dc;
  --desk-ink: #1a1714;
  --desk-mute: #6f665d;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --phone-w: 390px;
  --phone-h: 844px;
  --nav-h: 80px;
  --radius-phone: 44px;
  --safe-top: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { background: var(--desk); }
body {
  font-family: var(--sans);
  color: var(--cream);
  background: var(--desk);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Desktop stage */
.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 48px;
  gap: 22px;
}
.stage-meta {
  text-align: center;
  color: var(--desk-ink);
  max-width: 420px;
}
.stage-meta h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.4px;
  line-height: 1;
}
.stage-meta h1 em {
  font-style: italic;
  color: #8a6f3d;
}
.stage-meta p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--desk-mute);
}

.phone {
  width: var(--phone-w);
  height: var(--phone-h);
  background: var(--bg);
  color: var(--cream);
  border-radius: var(--radius-phone);
  border: 8px solid #000;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 40px 80px rgba(26, 23, 20, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.status {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 0;
  font-size: 12px;
  font-weight: 600;
  color: #cfc6ba;
  letter-spacing: 0.02em;
  height: 36px;
}
.status-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  opacity: 0.85;
}
.status-icons span {
  display: block;
  background: #cfc6ba;
  border-radius: 1px;
}
.status-icons .sig { width: 14px; height: 8px; clip-path: polygon(0 100%, 30% 60%, 60% 80%, 100% 0, 100% 100%); }
.status-icons .wifi { width: 12px; height: 8px; border-radius: 0; background: none; border: 1.5px solid #cfc6ba; border-bottom: none; border-radius: 8px 8px 0 0; transform: scale(0.85); }
.status-icons .bat { width: 18px; height: 8px; border-radius: 2px; background: none; border: 1.2px solid #cfc6ba; position: relative; }
.status-icons .bat::after {
  content: "";
  position: absolute;
  inset: 1.5px 2px 1.5px 1.5px;
  background: #cfc6ba;
  border-radius: 1px;
}
.status-icons .bat::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: #cfc6ba;
  border-radius: 0 1px 1px 0;
}

.app {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  animation: rise 0.34s ease both;
}
.view.back { animation-name: riseBack; }
@keyframes rise {
  from { opacity: 0; transform: translate3d(18px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes riseBack {
  from { opacity: 0; transform: translate3d(-18px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}
.scroll.with-nav { padding-bottom: 16px; }
.scroll::-webkit-scrollbar { width: 0; height: 0; }

/* Top bars */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 12px;
  flex: none;
}
.logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.2px;
  line-height: 1;
  font-weight: 400;
}
.logo em { color: var(--gold); font-style: italic; }
.title-serif {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.2px;
}
.gh {
  font-size: 12px;
  color: #a59b8f;
  border: 1px solid var(--line-3);
  border-radius: 20px;
  padding: 6px 12px;
  white-space: nowrap;
}
.gh.btn:hover { color: var(--cream); border-color: var(--gold); }
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #cfc6ba;
  border-radius: 50%;
}
.icon-btn:hover { color: var(--cream); }
.icon-btn svg { width: 20px; height: 20px; }

/* Nav */
.nav {
  flex: none;
  height: var(--nav-h);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 16px;
  background: var(--bg);
  z-index: 5;
}
.nav button {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.01em;
  padding: 0;
}
.nav button.on { color: var(--cream); }
.nav .dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin: 6px auto 0;
  background: transparent;
}
.nav button.on .dot { background: var(--gold); }

/* Photos / abstract art */
.photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #4a3b31 0%, #2a211c 55%, #1a1512 100%);
}
.hero-art, .av, .av-lg, .plan .pp { position: relative; }
.hero-art .photo,
.av .photo,
.av-lg .photo,
.plan .pp .photo {
  position: absolute;
  inset: 0;
  height: 100%;
}
.photo.tone-tolu { background: linear-gradient(160deg, #4a3b31 0%, #2a211c 55%, #1a1512 100%); }
.photo.tone-amaka { background: linear-gradient(160deg, #3d4240 0%, #262a29 55%, #161817 100%); }
.photo.tone-emeka { background: linear-gradient(160deg, #2e3344 0%, #1c1f2c 55%, #12141b 100%); }
.photo.tone-bisola { background: linear-gradient(160deg, #4a3236 0%, #2a1c20 55%, #171013 100%); }
.photo.tone-ibrahim { background: linear-gradient(160deg, #3a3f34 0%, #24271f 55%, #141612 100%); }
.photo.tone-ade { background: linear-gradient(160deg, #3d4240 0%, #262a29 55%, #161817 100%); }
.photo.tone-kemi { background: linear-gradient(160deg, #4a3b31 0%, #2a211c 55%, #1a1512 100%); }
.photo.tone-seun { background: linear-gradient(160deg, #3d4240 0%, #262a29 55%, #161817 100%); }
.photo.tone-chidi { background: linear-gradient(160deg, #3a3830 0%, #24231e 55%, #141411 100%); }
.photo.tone-zainab { background: linear-gradient(160deg, #43363c 0%, #2a2226 55%, #161214 100%); }
.photo.tone-kunle { background: linear-gradient(160deg, #2f3a3c 0%, #1d2426 55%, #111516 100%); }
.photo.tone-you { background: linear-gradient(160deg, #3c332c 0%, #241f1b 55%, #14110f 100%); }
.photo-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.photo-art .mono {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: rgba(243, 236, 226, 0.22);
  font-style: italic;
}
.photo-art .ring {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 210px;
  height: 210px;
  margin: -105px 0 0 -105px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 50%;
}
.photo-art .ring.s {
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border-color: rgba(243, 236, 226, 0.08);
}
.photo-art .blob {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.16), transparent 70%);
  right: -30px;
  top: 20px;
}
.photo-art .arc {
  position: absolute;
  left: -40px;
  bottom: 40px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(243, 236, 226, 0.08);
  border-radius: 50%;
  clip-path: inset(0 0 50% 0);
}
.photo[data-shot="1"] .photo-art .mono { font-size: 88px; top: 50%; }
.photo[data-shot="2"] { filter: saturate(0.85) brightness(1.08); }
.photo[data-shot="2"] .photo-art .mono { font-style: normal; font-size: 72px; }
.photo[data-shot="3"] .photo-art .ring { width: 260px; height: 260px; margin: -130px 0 0 -130px; }

.bars {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
  z-index: 2;
}
.bars span {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}
.bars span.on { background: #f3ece2; }

.ov {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(transparent, rgba(10, 9, 8, 0.88));
  z-index: 1;
}
.nm {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
}
.nm.sm { font-size: 30px; }
.ver {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -4px;
}
.ver::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 6px;
  height: 3.5px;
  border: 1.5px solid #121010;
  border-top: none;
  border-right: none;
  transform: rotate(-50deg);
}
.meta {
  font-size: 13px;
  color: #bfb5a8;
  margin-top: 6px;
}
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag {
  font-size: 11.5px;
  padding: 6px 11px;
  border-radius: 14px;
  background: #1f1b18;
  color: #cfc6ba;
}
.tag.g {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
}
.tag.ghost {
  background: transparent;
  border: 1px solid var(--line-3);
}

.card { margin: 0 16px; border-radius: 26px; overflow: hidden; }
.prompt {
  margin: 14px 16px 0;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
}
.pk {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.pv {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  color: var(--cream);
}

.acts {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
  padding: 18px 0 8px;
  flex: none;
}
.acts.overlay {
  position: absolute;
  bottom: calc(var(--nav-h) + 8px);
  left: 0;
  right: 0;
  padding: 0;
  z-index: 4;
}
.c {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a59b8f;
  background: rgba(18, 16, 16, 0.72);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}
.c svg { width: 22px; height: 22px; }
.c.lg {
  width: 74px;
  height: 74px;
  background: var(--gold);
  border: none;
  color: #121010;
}
.c.lg svg { width: 28px; height: 28px; }
.c:hover { transform: scale(1.05); }
.c:active { transform: scale(0.96); }
.c.lg:hover { background: #d4b67a; }

.sec {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7d746a;
  margin: 20px 24px 8px;
}
.pad { padding: 0 24px; }
.pad.tags { margin-top: 0; }

/* Chat */
.hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  position: relative;
  overflow: hidden;
}
.av.sm { width: 36px; height: 36px; }
.hn { font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.hs { font-size: 11.5px; color: #8a8076; margin-top: 2px; }
.match-banner {
  text-align: center;
  padding: 18px 0 6px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
}
.bub {
  max-width: 76%;
  padding: 11px 15px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.4;
  margin: 8px 18px;
}
.bub.in {
  background: #1f1b18;
  color: #e8e0d5;
  border-bottom-left-radius: 6px;
}
.bub.out {
  background: #efe6d8;
  color: #1a1714;
  margin-left: auto;
  border-bottom-right-radius: 6px;
}
.time {
  text-align: center;
  font-size: 10.5px;
  color: var(--faint);
  margin: 12px 0 2px;
}
.pcard {
  margin: 14px 18px 0;
  border: 1px solid var(--gold);
  border-radius: 22px;
  padding: 16px 18px;
}
.pt { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.prow {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #bfb5a8;
  margin-top: 8px;
  gap: 8px;
}
.btn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 16px;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}
.btn.gh, .gh {
  width: auto;
  flex: none;
  margin-top: 0;
}
.btn.gold { background: var(--gold); color: #121010; }
.btn.gold:hover { background: #d4b67a; }
.btn.ghost { border: 1px solid var(--line-3); color: #cfc6ba; }
.btn.ghost:hover { color: var(--cream); border-color: var(--gold); }
.btn:disabled { opacity: 0.55; cursor: default; }
.composer {
  flex: none;
  margin: 10px 18px 18px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 4px 6px 4px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 13px;
  color: var(--cream);
  outline: none;
}
.composer input::placeholder { color: var(--faint); }
.composer .send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #121010;
  display: grid;
  place-items: center;
  flex: none;
}
.composer .send svg { width: 16px; height: 16px; }

/* Dates */
.seg {
  display: flex;
  gap: 22px;
  padding: 0 24px 16px;
  font-size: 13px;
  color: #7d746a;
  flex: none;
}
.seg button { color: #7d746a; padding-bottom: 6px; border-bottom: 1.5px solid transparent; }
.seg button.on { color: #f3ece2; border-bottom-color: var(--gold); }
.plan {
  margin: 0 16px 14px;
  border-radius: 22px;
  background: #1a1715;
  overflow: hidden;
  display: flex;
  text-align: left;
  width: calc(100% - 32px);
  color: inherit;
}
.plan .pp { width: 104px; flex: none; min-height: 96px; }
.plan .pb { padding: 15px 16px; flex: 1; min-width: 0; }
.pw {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.pn {
  font-family: var(--serif);
  font-size: 21px;
  margin-top: 3px;
  line-height: 1.15;
}
.pd { font-size: 12px; color: #8a8076; margin-top: 5px; }
.quiet {
  margin: 8px 16px 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #8a8076;
  text-align: left;
  width: calc(100% - 32px);
}
.quiet b { color: #cfc6ba; font-weight: 500; display: inline; }
.quiet .arr { color: var(--gold); font-size: 18px; flex: none; }

/* Matches list */
.match-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  width: 100%;
  text-align: left;
  color: inherit;
}
.match-row:hover { background: rgba(255, 255, 255, 0.02); }
.match-row .av { width: 54px; height: 54px; }
.mr-name { font-size: 16px; font-weight: 500; }
.mr-sub { font-size: 13px; color: #8a8076; margin-top: 3px; }
.mr-time { font-size: 11px; color: var(--faint); margin-left: auto; flex: none; }

/* Onboarding */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 28px 28px;
}
.hero-art {
  flex: 1;
  min-height: 180px;
  margin: 8px 0 28px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #4a3b31 0%, #2a211c 50%, #121010 100%);
}
.hero-copy h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.3px;
}
.hero-copy p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #bfb5a8;
}
.hero-actions { margin-top: 28px; }
.skip {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: #8a8076;
}
.skip:hover { color: var(--gold-soft); }
.proto-note {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #6f665d;
}

.form { padding: 8px 24px 28px; }
.form h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}
.form .lead {
  margin: 10px 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #bfb5a8;
}
label.fld {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7d746a;
  margin: 16px 0 8px;
}
.field {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--cream);
  outline: none;
  background: #161311;
}
.field:focus { border-color: var(--gold); }
.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice button {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid var(--line-3);
  color: #cfc6ba;
}
.choice button.on {
  background: var(--gold);
  color: #121010;
  border-color: var(--gold);
}

/* Verification frames */
.verify-frame {
  margin: 12px 0 20px;
  border-radius: 24px;
  border: 1px dashed var(--line-3);
  height: 220px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #161311;
}
.verify-frame.oval {
  height: 280px;
  border: none;
  background: transparent;
}
.verify-frame .id-card {
  width: 210px;
  height: 132px;
  border-radius: 14px;
  border: 1px solid var(--line-3);
  background: linear-gradient(160deg, #2a241f, #161311);
  position: relative;
}
.verify-frame .id-card::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #3a342f;
}
.verify-frame .id-card::after {
  content: "";
  position: absolute;
  left: 72px;
  top: 24px;
  width: 110px;
  height: 8px;
  border-radius: 4px;
  background: #3a342f;
  box-shadow: 0 16px 0 #2c2723, 0 32px 0 #2c2723;
}
.face-oval {
  width: 160px;
  height: 210px;
  border-radius: 80px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 80px rgba(18, 16, 16, 0.45);
}
.verify-frame.scanning .scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  animation: scan 1.1s ease-in-out infinite;
  box-shadow: 0 0 12px var(--gold);
}
@keyframes scan {
  from { top: 10%; }
  to { top: 90%; }
}
.verify-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: 13.5px;
  margin-bottom: 12px;
}
.verify-ok svg { width: 18px; height: 18px; flex: none; }

/* Companion */
.banner {
  margin: 0 16px 16px;
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #e8e0d5;
  background: rgba(201, 169, 110, 0.07);
}
.banner b { color: var(--gold-soft); font-weight: 600; }
.dur { display: flex; gap: 8px; margin-top: 8px; padding: 0; }
.dur button {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line-3);
  border-radius: 12px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: #cfc6ba;
}
.dur button.on { background: var(--gold); color: #121010; border-color: var(--gold); }
.selectish {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  width: 100%;
  background: #161311;
  text-align: left;
}
.selectish span.sub { color: #8a8076; }
.tot {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 16px;
  font-weight: 600;
  gap: 12px;
}
.tot .amt { color: var(--gold-soft); }
.safe { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.block {
  margin: 0 16px 14px;
  padding: 16px 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: #161311;
}

/* Sheets / modals */
.sheet-back {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.64);
  z-index: 20;
  display: flex;
  align-items: flex-end;
  animation: fade 0.2s ease;
}
.sheet {
  width: 100%;
  background: #1a1715;
  border-radius: 28px 28px 0 0;
  padding: 16px 22px 32px;
  animation: rise 0.28s ease;
}
.sheet .handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-3);
  margin: 0 auto 16px;
}
.sheet h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}
.sheet p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #bfb5a8; }

.match-modal {
  position: absolute;
  inset: 0;
  z-index: 22;
  background: rgba(10, 9, 8, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  text-align: center;
  animation: fade 0.3s ease;
}
.match-modal .pair {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
}
.match-modal .av-lg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(201, 169, 110, 0.4);
}
.match-modal h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
}
.match-modal p { margin: 8px 0 28px; color: #bfb5a8; font-size: 14.5px; }

.toast {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 108px;
  background: #1f1b18;
  border: 1px solid var(--line-3);
  color: var(--cream);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 16px;
  text-align: center;
  z-index: 15;
  animation: fade 0.2s ease;
}

.empty {
  padding: 48px 32px;
  text-align: center;
  color: #8a8076;
}
.empty h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 8px;
}

.done-day {
  padding: 40px 28px;
  text-align: center;
}
.done-day h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}
.done-day p { margin-top: 10px; color: #bfb5a8; font-size: 14.5px; line-height: 1.5; }

.me-head { padding: 8px 24px 18px; }
.me-head .photo { height: 180px; border-radius: 24px; }
.fine { font-size: 12px; color: #6f665d; line-height: 1.45; padding: 8px 24px 20px; }

.av .photo-art .mono {
  font-size: 22px;
  top: 50%;
  color: rgba(243, 236, 226, 0.62);
}
.av .photo-art .ring,
.av .photo-art .ring.s,
.av .photo-art .arc { display: none; }
.av .photo-art .blob {
  width: 48px;
  height: 48px;
  right: -10px;
  top: -6px;
}

.home-pill {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 120px;
  height: 5px;
  margin-left: -60px;
  background: #3a342f;
  border-radius: 3px;
  z-index: 8;
  pointer-events: none;
}

/* Discover composition: fit the classic mockup on a 844px frame */
.discover { position: relative; }
.discover .scroll { padding-bottom: 170px; }
.discover .photo { height: 440px; }

.profile-view .photo { height: 300px; }
.profile-view .acts { padding-bottom: 24px; }

/* Mobile: full bleed, no desktop chrome */
@media (max-width: 520px) {
  html, body { background: var(--bg); height: 100%; }
  .stage { padding: 0; min-height: 100%; min-height: 100dvh; }
  .stage-meta { display: none; }
  .phone {
    width: 100%;
    height: 100%;
    height: 100dvh;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .status { display: none; }
  .app { padding-top: env(safe-area-inset-top, 0px); }
  .av .photo-art .mono {
  font-size: 22px;
  top: 50%;
  color: rgba(243, 236, 226, 0.62);
}
.av .photo-art .ring,
.av .photo-art .ring.s,
.av .photo-art .arc { display: none; }
.av .photo-art .blob {
  width: 48px;
  height: 48px;
  right: -10px;
  top: -6px;
}

.home-pill { display: none; }
  .nav { padding-bottom: env(safe-area-inset-bottom, 0px); height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .view, .view.back, .sheet, .sheet-back, .match-modal, .toast {
    animation: none;
  }
}
