:root {
  color-scheme: light;
  --blue: #1768ff;
  --blue-soft: #e9f1ff;
  --orange: #ff5538;
  --orange-soft: #fff0eb;
  --yellow: #ffca38;
  --ink: #10131a;
  --muted: #747985;
  --line: #e7e9ee;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --success: #15a36d;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  color: var(--ink);
  background: #eef1f7;
  display: grid;
  place-items: center;
  overflow: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.ambient { position: fixed; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(100px); opacity: .22; pointer-events: none; }
.ambient-a { left: -18vw; top: -18vw; background: var(--blue); }
.ambient-b { right: -20vw; bottom: -20vw; background: var(--orange); }

.phone-shell {
  width: min(100%, 430px);
  height: min(900px, 100dvh);
  background: var(--paper);
  border: 1px solid rgba(16,19,26,.08);
  border-radius: 38px;
  box-shadow: 0 28px 90px rgba(24,35,60,.18);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.app { height: 100%; overflow: hidden; position: relative; background: var(--paper); }
.screen { height: 100%; position: relative; padding-bottom: 70px; background: var(--paper); animation: enter .25s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }

.brand-lockup { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand-lockup img { width: 38px; height: 38px; object-fit: contain; }
.brand-lockup strong { font-size: 23px; font-weight: 950; letter-spacing: -.08em; }
.brand-lockup.large img { width: 52px; height: 52px; }
.brand-lockup.large strong { font-size: 28px; }

.bottom-nav {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  padding: 7px 10px 10px;
}
.nav-item { border: 0; background: transparent; color: #9aa0aa; display: grid; place-items: center; align-content: center; gap: 5px; font-size: 11px; font-weight: 750; position: relative; }
.nav-item i { display: block; width: 24px; height: 4px; border-radius: 99px; background: transparent; }
.nav-item.active { color: var(--blue); }
.nav-item.active i { background: var(--blue); }
.nav-item b { position: absolute; top: 1px; right: 24%; min-width: 17px; height: 17px; border-radius: 9px; background: var(--orange); color: white; display: grid; place-items: center; font-size: 9px; }

.app-header, .discover-header {
  height: 64px;
  padding: 12px 18px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
}
.app-header { justify-content: space-between; }
.app-header h1 { font-size: 27px; margin: 0; letter-spacing: -.05em; }
.header-action, .city-button { border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 800; padding: 10px 4px; }
.discover-header .brand-lockup { margin-right: auto; }
.city-button { color: var(--ink); }
.city-button::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 6px; }
.filter-button { width: 42px; height: 42px; border: 0; background: #f2f4f7; border-radius: 14px; display: grid; align-content: center; gap: 4px; padding: 0 11px; }
.filter-button span { height: 2px; background: var(--ink); border-radius: 2px; }
.filter-button span:nth-child(2) { width: 70%; justify-self: end; }

.discover-screen { padding-bottom: 180px; }
.discover-content { height: 100%; overflow-y: auto; scrollbar-width: none; }
.discover-content::-webkit-scrollbar, .scroll-content::-webkit-scrollbar, .overlay-scroll::-webkit-scrollbar { display: none; }
.hero-photo { width: calc(100% - 28px); height: min(45vh, 380px); min-height: 340px; margin: 0 14px; border: 0; padding: 0; border-radius: 30px; overflow: hidden; position: relative; background: #dbe7f7; text-align: left; }
.hero-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(8,12,22,.42)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.photo-count { position: absolute; z-index: 2; right: 17px; top: 17px; padding: 7px 12px; border-radius: 18px; background: rgba(15,20,31,.45); color: white; font-size: 12px; font-weight: 800; }
.photo-note { position: absolute; z-index: 2; left: 20px; top: 24px; max-width: 150px; color: white; font-size: 20px; line-height: 1.35; font-weight: 850; text-shadow: 0 2px 12px rgba(0,0,0,.22); }
.photo-slogan { position: absolute; z-index: 2; right: 18px; bottom: 17px; color: white; text-align: right; font-size: 10px; line-height: 1.45; font-weight: 750; text-shadow: 0 2px 10px rgba(0,0,0,.32); }
.profile-summary { padding: 18px 20px 10px; }
.identity { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.identity h1, .detail-body h1 { margin: 0 0 4px; font-size: 31px; letter-spacing: -.06em; }
.identity h1 span { font-weight: 500; }
.identity p { margin: 2px 0; font-size: 13px; color: #4f5560; }
.verified { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 5px; border-radius: 50%; background: var(--blue); color: white; font-size: 12px; vertical-align: 4px; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-row span { padding: 7px 10px; border-radius: 12px; background: var(--blue-soft); color: #2158af; font-size: 11px; font-weight: 750; }
.tag-row span:nth-child(2) { background: var(--orange-soft); color: #b84935; }
.tag-row span:nth-child(3) { background: #fff6d9; color: #8a6511; }
.identity .tag-row { max-width: 134px; justify-content: end; }
.bio { font-size: 13px; line-height: 1.65; margin: 13px 0 12px; }
.prompt-row { width: 100%; border: 0; border-radius: 17px; padding: 12px 14px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; text-align: left; }
.prompt-row small { display: block; color: var(--blue); font-size: 10px; font-weight: 800; margin-bottom: 3px; }
.prompt-row strong { font-size: 13px; }
.prompt-row b { color: var(--blue); font-size: 22px; }

.decision-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 12;
  height: 110px;
  padding: 7px 22px 8px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 8px;
  background: rgba(255,255,255,.98);
  border-top: 1px solid #f1f2f4;
}
.decision { border: 0; background: transparent; display: grid; justify-items: center; align-content: center; gap: 5px; font-size: 10px; font-weight: 800; }
.decision span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; font-size: 25px; line-height: 1; }
.decision.pass span { background: #f1f2f5; }
.decision.super span { background: var(--orange); color: white; }
.decision.like span { background: var(--blue); color: white; }

.content-screen { display: flex; flex-direction: column; }
.scroll-content { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 24px; scrollbar-width: none; }
.segmented { margin: 2px 16px 14px; display: grid; grid-template-columns: repeat(3,1fr); background: var(--surface); padding: 4px; border-radius: 14px; }
.segmented button { border: 0; background: transparent; padding: 9px; border-radius: 11px; font-size: 12px; font-weight: 700; color: var(--muted); }
.segmented .active { background: white; color: var(--ink); box-shadow: 0 4px 14px rgba(31,42,67,.08); }

.post { padding: 15px 0 18px; border-bottom: 1px solid var(--line); }
.post header { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.post header div { display: grid; gap: 3px; }
.post header span { font-size: 11px; color: var(--muted); }
.post header button { border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.avatar { width: 48px; height: 48px; object-fit: cover; border-radius: 16px; background: var(--blue-soft); }
.post .avatar { width: 44px; height: 44px; border-radius: 14px; }
.post > p { margin: 12px 0; font-size: 14px; line-height: 1.65; }
.post-image { width: 100%; height: 240px; object-fit: cover; border-radius: 22px; object-position: center 30%; }
.post footer { display: flex; gap: 18px; margin-top: 12px; align-items: center; color: var(--muted); font-size: 12px; }
.post footer button { border: 0; background: var(--orange-soft); color: var(--orange); border-radius: 12px; padding: 8px 12px; font-size: 12px; font-weight: 750; }

.message-home { padding-top: 4px; }
.likes-banner { width: 100%; border: 0; background: var(--ink); color: white; border-radius: 23px; padding: 14px; display: grid; grid-template-columns: 55px 1fr auto; gap: 12px; align-items: center; text-align: left; }
.likes-banner > span { width: 55px; height: 55px; display: grid; place-items: center; align-content: center; border-radius: 18px; background: var(--orange); font-size: 10px; }
.likes-banner > span b { font-size: 22px; }
.likes-banner p { margin: 4px 0 0; color: #afb4be; font-size: 11px; }
.likes-banner i { font-style: normal; color: var(--yellow); font-size: 12px; font-weight: 800; }
.section-title { display: flex; align-items: end; justify-content: space-between; margin: 22px 2px 12px; }
.section-title h2 { margin: 0; font-size: 21px; }
.section-title button { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 750; }
.match-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.match-strip button { width: 66px; flex: 0 0 auto; border: 0; background: transparent; display: grid; gap: 7px; justify-items: center; font-size: 11px; }
.match-strip .avatar { width: 62px; height: 62px; border-radius: 21px; outline: 3px solid var(--orange-soft); }
.soft-empty { background: var(--surface); border-radius: 18px; padding: 15px; }
.soft-empty p, .list-empty { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.conversation { width: 100%; border: 0; background: white; display: grid; grid-template-columns: 52px 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.conversation > span { display: grid; gap: 4px; min-width: 0; }
.conversation small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation time { color: #a2a6af; font-size: 10px; align-self: start; padding-top: 5px; }
.unread { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--orange); color: white; font-size: 9px; margin-left: 5px; }

.me-card { display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: center; padding: 10px 2px 18px; }
.me-card .avatar { width: 82px; height: 82px; border-radius: 27px; padding: 7px; object-fit: contain; background: var(--surface); }
.me-card h1 { margin: 0 0 4px; font-size: 25px; letter-spacing: -.04em; }
.me-card h1 span { font-weight: 500; }
.me-card p { margin: 0 0 9px; color: var(--muted); font-size: 12px; }
.me-card > button { border: 0; color: var(--blue); background: var(--blue-soft); padding: 8px 10px; border-radius: 11px; font-size: 11px; font-weight: 800; }
.membership-card { width: 100%; border: 0; padding: 15px; background: var(--ink); color: white; border-radius: 22px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; text-align: left; }
.membership-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: var(--yellow); color: var(--ink); font-weight: 950; font-size: 19px; }
.membership-card p { margin: 4px 0 0; color: #b7bbc5; font-size: 11px; }
.membership-card b { color: var(--yellow); font-size: 24px; }
.completeness { margin: 14px 0; padding: 15px; border-radius: 20px; background: var(--surface); }
.completeness header { display: flex; justify-content: space-between; font-size: 13px; }
.completeness > div { height: 7px; margin: 11px 0; border-radius: 5px; background: #dfe3ea; overflow: hidden; }
.completeness i { height: 100%; display: block; border-radius: 5px; background: var(--blue); }
.completeness i.completion-82 { width: 82%; }
.completeness i.completion-96 { width: 96%; }
.completeness p { margin: 0; color: var(--muted); font-size: 11px; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats button { border: 0; background: transparent; padding: 14px 4px; display: grid; gap: 3px; }
.stats strong { font-size: 20px; }
.stats span { color: var(--muted); font-size: 10px; }
.menu-list { border: 1px solid var(--line); border-radius: 21px; overflow: hidden; }
.menu-list button { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: white; padding: 14px 15px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.menu-list button:last-child { border-bottom: 0; }
.menu-list button span { display: grid; gap: 3px; }
.menu-list small { color: var(--muted); font-size: 10px; }
.menu-list b { color: #a7acb6; }

.overlay-page { position: absolute; z-index: 30; inset: 0; background: white; display: flex; flex-direction: column; animation: slide-in .24s ease both; }
@keyframes slide-in { from { transform: translateX(24px); opacity: .7; } }
.overlay-header { height: 58px; flex: 0 0 auto; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); text-align: center; }
.overlay-header button, .chat-header > button { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 800; }
.overlay-header button:first-child, .chat-header > button:first-child { text-align: left; }
.overlay-header button:last-child, .chat-header > button:last-child { text-align: right; }
.overlay-scroll { flex: 1; overflow-y: auto; scrollbar-width: none; }
.detail-photo { height: 490px; position: relative; }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.detail-photo span { position: absolute; right: 17px; top: 17px; color: white; background: rgba(10,14,24,.45); border-radius: 15px; padding: 6px 10px; font-size: 11px; }
.detail-body { padding: 20px 18px 110px; }
.detail-body p { line-height: 1.65; font-size: 14px; }
.detail-meta { color: var(--muted); margin-top: 0; }
.answer-card, .meet-card { padding: 18px; border-radius: 20px; margin-top: 18px; }
.answer-card { background: var(--blue-soft); }
.meet-card { background: var(--orange-soft); }
.answer-card small, .meet-card small { color: var(--blue); font-weight: 800; }
.answer-card h2 { margin: 6px 0 8px; font-size: 18px; }
.answer-card p, .meet-card p { margin-bottom: 0; }
.meet-card strong { display: block; margin-top: 7px; }
.detail-actions { position: absolute; left: 0; right: 0; bottom: 0; height: 82px; padding: 10px 15px 16px; display: grid; grid-template-columns: 1fr 2fr; gap: 9px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.detail-actions button { border: 0; border-radius: 18px; font-weight: 850; background: var(--surface); }
.detail-actions .accent { background: var(--blue); color: white; }

.chat-header { height: 62px; display: grid; grid-template-columns: 55px 1fr 55px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--line); }
.chat-header > div { display: flex; align-items: center; justify-content: center; gap: 8px; }
.chat-header .avatar { width: 37px; height: 37px; border-radius: 13px; }
.chat-header span { display: grid; text-align: left; }
.chat-header small { color: var(--success); font-size: 9px; }
.message-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: #f8f9fb; }
.safety-note { align-self: center; max-width: 92%; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.45; padding: 8px 12px; }
.bubble { max-width: 78%; padding: 11px 13px; border-radius: 17px; font-size: 13px; line-height: 1.5; }
.bubble.them { align-self: flex-start; background: white; border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: white; border-bottom-right-radius: 5px; }
.composer { min-height: 65px; padding: 9px 11px 12px; display: flex; gap: 8px; border-top: 1px solid var(--line); background: white; }
.composer input { flex: 1; min-width: 0; border: 0; border-radius: 15px; padding: 0 14px; background: var(--surface); outline: none; }
.composer button { border: 0; border-radius: 15px; background: var(--blue); color: white; padding: 0 16px; font-weight: 800; }

.modal, .sheet-backdrop { position: absolute; z-index: 50; inset: 0; background: rgba(10,14,24,.62); backdrop-filter: blur(8px); }
.modal { display: grid; place-items: center; padding: 24px; }
.match-panel { width: 100%; padding: 28px 22px 20px; border-radius: 28px; background: white; text-align: center; }
.paired-faces { height: 95px; display: flex; justify-content: center; align-items: center; margin-bottom: 16px; }
.paired-faces .avatar { width: 86px; height: 86px; border-radius: 29px; border: 5px solid white; box-shadow: 0 9px 24px rgba(17,25,42,.18); }
.paired-faces .avatar + .avatar { margin-left: -18px; }
.match-panel h1 { margin: 6px 0 10px; font-size: 31px; letter-spacing: -.05em; }
.match-panel > p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.kicker { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .08em; }

.sheet-backdrop { display: flex; align-items: end; }
.bottom-sheet { width: 100%; max-height: 84%; overflow-y: auto; padding: 9px 19px 23px; border-radius: 28px 28px 0 0; background: white; animation: sheet-up .22s ease both; scrollbar-width: none; }
@keyframes sheet-up { from { transform: translateY(30px); opacity: .7; } }
.sheet-handle { display: block; width: 38px; height: 4px; margin: 0 auto 13px; border-radius: 2px; background: #d6d9df; }
.sheet-title { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 16px; }
.sheet-title h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.sheet-title p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.sheet-title button { border: 0; background: transparent; color: var(--blue); padding: 5px; font-size: 12px; font-weight: 800; }
.sheet-form, .stack-form { display: grid; gap: 13px; }
.sheet-form label, .stack-form label, .onboarding-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 800; }
.sheet-form input, .sheet-form textarea, .stack-form input, .stack-form textarea, .onboarding-form input { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px; outline: none; background: white; resize: none; }
.sheet-form input:focus, .sheet-form textarea:focus, .stack-form input:focus, .stack-form textarea:focus, .onboarding-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-row, .toggle-list label { display: flex !important; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.toggle-row span, .toggle-list span { display: grid; gap: 3px; }
.toggle-row small, .toggle-list small { color: var(--muted); font-size: 10px; font-weight: 500; }
input[type="checkbox"] { width: 44px; height: 24px; accent-color: var(--blue); }
input[type="range"] { accent-color: var(--blue); }
.button { min-height: 50px; width: 100%; border: 0; border-radius: 16px; font-weight: 850; }
.button.primary { background: var(--blue); color: white; }
.button.quiet { background: var(--surface); margin-top: 9px; }
.choice-list { display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.choice-list button { border: 0; border-bottom: 1px solid var(--line); background: white; padding: 15px; display: flex; justify-content: space-between; text-align: left; }
.choice-list button:last-child { border-bottom: 0; }
.choice-list button.selected { color: var(--blue); font-weight: 800; }
.choice-list button:disabled { color: #b3b7c0; }
.publish-hint, .privacy-note { padding: 13px; border-radius: 15px; background: var(--surface); }
.publish-hint p, .privacy-note p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.verification-panel { text-align: center; }
.verification-panel img { width: 94px; height: 94px; margin: 8px auto 15px; border-radius: 28px; object-fit: cover; background: var(--surface); }
.verification-panel h3 { margin: 0 0 8px; font-size: 20px; }
.verification-panel p { color: var(--muted); line-height: 1.6; font-size: 12px; }
.safety-grid { display: grid; gap: 10px; margin-bottom: 14px; }
.safety-grid article { display: grid; grid-template-columns: 40px 1fr; gap: 2px 10px; padding: 13px; border-radius: 17px; background: var(--surface); }
.safety-grid b { grid-row: 1 / span 2; color: var(--blue); font-size: 19px; }
.safety-grid p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.membership-hero { text-align: center; padding: 4px 8px 16px; }
.membership-hero img { width: 78px; height: 78px; object-fit: contain; margin: 0 auto 10px; }
.membership-hero h3 { margin: 0; font-size: 21px; }
.membership-hero ul { text-align: left; display: grid; gap: 9px; padding: 0; margin: 17px 0; list-style: none; }
.membership-hero li { padding: 10px 12px; border-radius: 13px; background: var(--surface); }
.membership-hero li::before { content: '✓'; color: var(--blue); font-weight: 900; margin-right: 8px; }
.purchase-note { text-align: center; color: var(--muted); font-size: 10px; }
.likes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.likes-grid button { border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--surface); text-align: left; }
.likes-grid img { width: 100%; height: 180px; object-fit: cover; }
.likes-grid span { display: block; padding: 10px; font-size: 11px; font-weight: 750; }
.likes-grid.locked img { filter: blur(16px); transform: scale(1.08); }
.report-reasons { display: grid; gap: 8px; }
.report-reasons button { border: 0; background: var(--surface); padding: 14px; border-radius: 14px; text-align: left; }
.danger-note { color: #c93636; font-size: 10px; line-height: 1.5; }

.empty-state { height: calc(100% - 64px); padding: 35px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state img { width: 90px; }
.empty-state h2 { margin: 16px 0 7px; }
.empty-state p { color: var(--muted); line-height: 1.6; font-size: 13px; }

.onboarding { height: 100%; display: flex; flex-direction: column; background: white; }
.onboarding header { padding: 21px 20px 10px; display: flex; align-items: center; justify-content: space-between; }
.trust-copy { font-size: 10px; color: var(--muted); font-weight: 700; }
.welcome-copy { padding: 23px 24px 10px; }
.welcome-copy h1, .setup-title h1 { margin: 7px 0 10px; font-size: 36px; line-height: 1.12; letter-spacing: -.065em; }
.welcome-copy p, .setup-title p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 13px; }
.meeting-visual { flex: 1; min-height: 270px; margin: 10px 20px 14px; border-radius: 30px; overflow: hidden; position: relative; background: var(--blue-soft); }
.meeting-visual::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(8,13,24,.5)); }
.meeting-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.meeting-visual div { position: absolute; z-index: 2; left: 18px; bottom: 18px; color: white; display: grid; }
.meeting-visual strong { font-size: 29px; letter-spacing: -.04em; }
.meeting-visual span { font-size: 15px; }
.onboarding-form { padding: 0 20px; display: grid; gap: 10px; }
.legal { margin: 10px 28px 16px; color: #9398a2; text-align: center; font-size: 9px; line-height: 1.5; }
.back-text { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 800; }
.setup-title { padding: 30px 24px 10px; }
.setup-avatar { display: grid; justify-items: center; gap: 8px; margin: 8px 0 14px; }
.setup-avatar img { width: 86px; height: 86px; object-fit: contain; border-radius: 28px; background: var(--surface); padding: 8px; }
.setup-avatar button { border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 800; }
.stack-form { padding: 0 22px 20px; overflow-y: auto; }
.interest-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 20px 24px; }
.interest { border: 1px solid var(--line); background: white; border-radius: 17px; min-height: 55px; font-weight: 750; }
.interest.selected { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.finish-button { width: calc(100% - 48px); margin: auto 24px 28px; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%,15px); opacity: 0; pointer-events: none; background: var(--ink); color: white; border-radius: 999px; padding: 10px 16px; font-size: 11px; transition: .2s; box-shadow: 0 10px 35px rgba(15,20,31,.28); }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 480px) {
  body { display: block; background: white; }
  .ambient { display: none; }
  .phone-shell { width: 100%; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-height: 760px) {
  .hero-photo { min-height: 270px; height: 38vh; }
  .profile-summary { padding: 10px 20px 6px; }
  .profile-summary .bio { margin: 8px 0; line-height: 1.5; }
  .profile-summary .prompt-row { padding-top: 9px; padding-bottom: 9px; }
  .welcome-copy { padding-top: 10px; }
  .meeting-visual { min-height: 210px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
