:root { --ink: #17182a; --muted: #62657c; --line: #dcdde8; --tg: #2aabee; --ok: #12a15c; --dark: #0f1018; --page-width: 480px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 16px/1.5 "Heebo", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-tap-highlight-color: transparent; }
body.dark { background: var(--dark); color: #fff; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
.screen { max-width: var(--page-width); margin: 0 auto; height: 100dvh; position: relative; overflow: hidden; }
.screen > div { height: 100%; display: flex; flex-direction: column; }

.btn { display: block; width: 100%; border: 0; border-radius: 16px; padding: 16px 12px; font: 700 18px "Heebo", sans-serif; text-align: center; text-decoration: none; }
.btn:active { transform: scale(.98); }
.fine { font-size: 12px; line-height: 1.45; text-align: center; margin: 10px 0 0; }
.fine a { color: inherit; text-underline-offset: 2px; }
.no { display: block; width: 100%; background: none; border: 0; font-size: 14px; margin-top: 8px; padding: 6px; text-decoration: underline; text-underline-offset: 2px; }

/* 2: age page with her photo */
.age { justify-content: flex-end; background: #000 center top / cover; }
.shade { padding: 110px 22px calc(22px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, #0b0b12ee 46%); }
.age h1, .match h1 { font-size: 32px; font-weight: 800; margin: 0; }
.t { margin: 0 0 18px; color: #e3e4ee; }
.age .btn, .match .btn { background: #fff; color: var(--ink); }
.age .fine, .age .no { color: #c3c5d6; }

/* 3: short profile */
.pro .cover { height: 32%; background: center 20% / cover; flex: none; }
.pro .face { width: 104px; height: 104px; border-radius: 50%; border: 5px solid #fff; background: center / cover; margin: -52px 20px 0; flex: none; }
.pro .who { padding: 6px 20px 0; }
.pro h1 { margin: 0; font-size: 26px; font-weight: 800; }
.pro .who p { margin: 0 0 12px; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 4px; flex: 1; min-height: 0; }
.grid3 div { background: center top / cover; border-radius: 6px; }
.cta { background: #fff; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex: none; }
.cta .btn { background: var(--tg); color: #fff; }
.cta .fine, .cta .no { color: var(--muted); }

/* 4: chat look */
.tg { background: linear-gradient(160deg, #cfe6c8, #b9d9e4); }
.tg .bar { background: #fff; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex: none; }
.tg .bar i { width: 42px; height: 42px; border-radius: 50%; background: center / cover; flex: none; }
.tg .bar b { display: block; line-height: 1.2; }
.tg .bar span { font-size: 13px; color: var(--muted); transition: color .3s; }
.tg .bar span.on { color: var(--tg); }
.tg .body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; gap: 7px; }
.msg { background: #fff; border-radius: 16px 16px 16px 5px; padding: 8px 13px; max-width: 82%; align-self: flex-start; box-shadow: 0 1px 1px #0001; animation: rise .25s ease-out; }
.msg.pic { padding: 4px; } .msg.pic img { display: block; width: 190px; max-height: 34dvh; object-fit: cover; border-radius: 12px; }
.keys { display: flex; gap: 5px; padding: 13px 14px; }
.keys i { width: 8px; height: 8px; border-radius: 50%; background: #a9acbd; animation: hop 1s infinite ease-in-out; }
.keys i:nth-child(2) { animation-delay: .15s; } .keys i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.cta[data-step] { animation: rise .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* 5: choose one of four */
.pick { padding: 18px 10px 10px; position: relative; }
.pick h1 { margin: 0; font-size: 24px; font-weight: 800; text-align: center; }
.pick > p { margin: 0 0 12px; color: #b9bbcc; text-align: center; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; flex: 1; min-height: 0; }
.grid2 button { border: 0; padding: 0; background: #222 center top / cover; border-radius: 14px; position: relative; overflow: hidden; color: #fff; }
.grid2 span { position: absolute; inset: auto 0 0 0; padding: 26px 10px 8px; font-weight: 700; text-align: start; background: linear-gradient(transparent, #000c); }
.veil { position: absolute; inset: 0; background: #0009; }
.sheet { position: absolute; inset: auto 0 0 0; background: #fff; color: var(--ink); border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); animation: rise .25s ease-out; }
.sheet h2 { margin: 0; font-size: 22px; }
.sheet .t { color: var(--muted); margin-bottom: 14px; }
.sheet .btn { background: var(--tg); color: #fff; }
.sheet .fine, .sheet .no { color: var(--muted); }

/* 6: three questions */
.q { padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); height: 100%; display: flex; flex-direction: column; }
.q .step { font-size: 13px; color: #8d90a6; margin: 0 0 8px; }
.dots { display: flex; gap: 6px; margin-bottom: 34px; } .dots i { flex: 1; height: 4px; border-radius: 2px; background: #2c2e40; } .dots i.f { background: #fff; }
.q h1 { font-size: 28px; font-weight: 800; margin: 0 0 20px; line-height: 1.25; }
.opt { display: block; width: 100%; text-align: start; background: none; border: 1.5px solid #3a3d54; border-radius: 16px; padding: 15px 18px; margin-bottom: 10px; font-weight: 500; font-size: 17px; }
.opt:active { background: #fff; color: var(--ink); }
.q .fine { color: #8d90a6; margin-top: auto; }
.match { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; background: #000 center top / cover; }
.match small { background: var(--ok); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 500; }
.match h1 { margin-top: 8px; }

/* "adults only" screen */
.stop { position: fixed; inset: 0; z-index: 9; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; }
.stop .badge { width: 88px; height: 88px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; font-weight: 800; font-size: 28px; margin-bottom: 20px; direction: ltr; }
.stop h2 { margin: 0 0 6px; font-size: 24px; } .stop p { margin: 0 0 22px; color: #b9bbcc; }
.stop .btn { background: #fff; color: var(--ink); max-width: 260px; }

.terms { max-width: var(--page-width); margin: 0 auto; padding: 24px 20px; }
.terms h1 { font-size: 24px; }
