:root {
  color-scheme: dark;
  --bg: #1c1a1e;
  --text: #fff5eb;
  --muted: #b9acb3;
  --subtle: #98838e;
  --border: rgba(228, 207, 217, .17);
  --pink: #ff6388;
  --rose: #e8a3b6;
  --loading-overlay: rgba(33, 30, 34, .78);
  --button: linear-gradient(110deg, #df425e, #b83151);
  --radius: 13px;
}
* { box-sizing: border-box; }
html { background: #151417; font-size: 16px; }
body { margin: 0; color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
.app { max-width: 480px; min-height: 100svh; margin: 0 auto; background: radial-gradient(ellipse at 0 15%, #402832 0, transparent 65%), linear-gradient(140deg, #252126, var(--bg)); }
.page { padding: 0 24px 25px; min-height: 100svh; display: flex; flex-direction: column; }
.header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; min-height: 96px; padding: 20px 0 16px; background: linear-gradient(#252026 78%, rgba(37,32,38,.92)); backdrop-filter: blur(14px); }
.back { border: 1px solid #51484e; background: rgba(255,255,255,.025); border-radius: 24px; padding: 6px 12px; font-size: 14px; white-space: nowrap; color: #e2cfd1; }
.header-title { font-size: 12px; letter-spacing: .5px; color: #c4adb5; flex: 1; line-height: 1.3; }
.language { border: 1px solid #5a4f55; border-radius: 24px; padding: 8px 10px; background: transparent; color: var(--text); font-size: 14px; width: 65px; }
.logo-slot { display: block; width: 51px; height: 43px; margin-left: 12px; flex-shrink: 0; }
.logo-slot img, .icon-slot img { width: 100%; height: 100%; object-fit: contain; }
.progress { display: flex; gap: 6px; margin: 27px 0 31px; }
.progress span { flex: 1; height: 3px; border-radius: 3px; background: #40343c; }
.progress .done { background: #cb6a83; }
.progress .current { background: var(--pink); }
.eyebrow { margin: 0 0 12px; color: #cd8d9e; font: bold 12px/1.6 Georgia, 'Times New Roman', serif; letter-spacing: 1.8px; }
h1 { font: bold 38px/1.13 Georgia, 'Times New Roman', serif; letter-spacing: -1.3px; margin: 0 0 18px; }
.description { margin: 0 0 31px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.content { flex: 1; }
.field { display: block; margin: 0 0 22px; }
.field-label { display: block; color: #dbc9cf; margin-bottom: 10px; font-size: 16px; }
.input, .select { width: 100%; min-height: 64px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid #51464d; background: rgba(255,255,255,.02); color: var(--text); font-size: 18px; outline: none; }
.input::placeholder { color: #8c7b86; opacity: 1; }
.input:focus, .select:focus { border-color: #d08ca3; }
.select { padding-right: 16px; }
.select option { background: #282229; }
.hint { display: block; font-size: 14px; color: var(--subtle); margin: 10px 0 0; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--rose); font-size: 16px; letter-spacing: 1px; }
.location-button { margin: 0 0 26px; text-align: left; }
.actions { margin-top: 32px; }
.primary { width: 100%; min-height: 64px; padding: 16px 12px; border-radius: var(--radius); border: 1px solid #e55a78; background: var(--button); font-size: 18px; color: #fff6f0; box-shadow: 0 8px 24px rgba(181,39,74,.12); }
.primary:disabled { background: rgba(255,255,255,.045); color: #8d7b86; border-color: #3c353e; box-shadow: none; }
.footer { text-align: center; margin: 11px 0 0; color: #8e7f8c; letter-spacing: 1px; font-size: 14px; }
.name-page .actions { margin-top: auto; padding-top: 40px; }
.segments-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 4px 0 22px; }
.segments-row.units-only { justify-content: flex-end; }
.segments { display: inline-flex; border: 1px solid var(--border); background: rgba(255,255,255,.025); border-radius: 28px; padding: 4px; }
.segments button { border: 1px solid transparent; background: transparent; padding: 5px 13px; border-radius: 22px; color: #a993a0; font-size: 15px; }
.segments button.selected { background: #49323d; color: #f3d5dc; border-color: #77505e; }
.measure-card { padding: 33px 22px 25px; border: 1px solid var(--border); border-radius: 23px; background: rgba(255,255,255,.015); }
.measure-display { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adjust { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.02); color: #d9becb; font-size: 24px; line-height: 1; }
.measure-value { font: 76px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -3px; text-align: center; white-space: nowrap; }
.measure-value.imperial { font-size: 52px; }
.measure-unit { text-align: center; color: #bea2af; margin: 10px 0 30px; font-size: 14px; }
.range { width: 100%; margin: 0; height: 20px; accent-color: #eb678b; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: var(--subtle); font-size: 13px; letter-spacing: 1px; margin-top: 9px; }
.weight-note { margin-top: 20px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.option { min-height: 63px; border: 1px solid #4c4149; background: rgba(255,255,255,.02); border-radius: var(--radius); color: #cbbac3; padding: 14px 10px; font-size: 16px; line-height: 1.45; }
.option.selected { border-color: #f67598; background: rgba(202,70,108,.12); color: #ffe0e8; }
.education .option { min-height: 76px; }
.education .option:last-child { grid-column: 1 / -1; min-height: 54px; }
.icon-slot { display: block; width: 60px; height: 60px; border: 1px solid rgba(198,112,143,.25); border-radius: 18px; background: rgba(190,83,122,.08); margin: 0 0 24px; padding: 16px; }
.review-card { padding: 4px 20px; margin-top: 35px; border: 1px solid var(--border); border-radius: 19px; }
.review-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 0; border-bottom: 1px solid rgba(225,199,215,.08); font-size: 16px; }
.review-row:last-child { border-bottom: 0; }
.review-row dt { color: #a991a0; flex-shrink: 0; }
.review-row dd { margin: 0; text-align: right; color: #f1d7df; overflow-wrap: anywhere; }
.edit { display: block; text-align: center; margin: 20px auto 10px; color: var(--muted); letter-spacing: 0; }
.account-content { padding-top: 6px; }
.account-content h1 { font-size: 36px; }
.account-content .input { min-height: 55px; padding: 14px 17px; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 78px; }
.visibility { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #c19aa9; font-size: 14px; padding: 5px 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; color: #9d8492; font-size: 12px; margin: 24px 0 34px; white-space: nowrap; }
.breadcrumbs span { height: 1px; flex: 1; background: #57424e; min-width: 8px; }
.breadcrumbs strong { color: #eba5ba; font-weight: normal; }
.email-address { color: #efcdd9; overflow-wrap: anywhere; }
.code { text-align: center; letter-spacing: 12px; font-size: 24px; min-height: 78px; padding-left: 30px; }
.resend { display: block; margin: 22px auto 0; }
.feedback { font-size: 14px; color: var(--rose); margin: 16px 0 0; }
.feedback:empty { display: none; }
.hero { min-height: 100svh; position: relative; overflow: hidden; background: #383034; display: flex; flex-direction: column; touch-action: pan-y; }
.hero-media { position: absolute; inset: 0; transition: opacity .18s, transform .18s; }
.hero-media img, .hero-media video { height: 100%; width: 100%; object-fit: cover; display: block; }
.discovery-carousel { overflow: hidden; }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform .35s ease; }
.carousel-slide { flex: 0 0 100%; min-width: 0; height: 100%; }
.discovery-action:disabled { opacity: .45; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(18,14,18,.52)); pointer-events: none; }
.hero-header { z-index: 1; display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 36px 28px 0; }
.hero-header .language { background: rgba(40,30,34,.3); }
.hero-header .logo-slot { margin-left: 10px; }
.discover { z-index: 1; width: calc(100% - 96px); min-height: 58px; margin: auto 48px 60px; border: 1px solid #d8c8ca; border-radius: 3px; background: rgba(110,99,105,.45); color: #fff5ed; font-size: 18px; }
.discovery-actions { z-index: 1; margin: auto 40px 14px; display: flex; justify-content: space-around; }
.discovery-action { border: 0; background: transparent; display: flex; align-items: center; flex-direction: column; gap: 9px; padding: 0 10px; font-size: 16px; }
.action-circle { width: 68px; height: 68px; border-radius: 50%; border: 1px solid #d3c2c3; background: rgba(84,70,75,.65); display: grid; place-items: center; padding: 20px; }
.action-circle img { width: 100%; height: 100%; object-fit: contain; }
.like { color: #ff6385; }
.like .action-circle { border-color: #ff889f; background: #ee365c; }
.action-circle svg { width: 100%; height: 100%; color: var(--text); }
.swipe-hint { position: relative; z-index: 1; font-size: 16px; text-align: center; margin: 20px 12px; color: #eee2df; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.loading-page { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; padding: 40px 28px 25px; }
.loading-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.loading-page::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--loading-overlay); pointer-events: none; }
.loading-page > .loading-logo, .loading-page > .loading-content, .loading-page > .footer { position: relative; z-index: 2; }
.loading-logo { align-self: flex-end; margin-left: 0; }
.loading-content { margin: auto 0; padding: 40px 0; }
.loading-content h1 { font-size: 43px; margin-bottom: 22px; }
.loading-content .description { margin-bottom: 46px; }
.loading-status { display: flex; justify-content: space-between; color: #d8bdc9; font-size: 14px; margin-bottom: 12px; }
#loading-percent { font-variant-numeric: tabular-nums; color: var(--rose); }
.loading-track { height: 5px; overflow: hidden; border-radius: 5px; background: #44353f; }
.loading-fill { width: 100%; height: 100%; background: linear-gradient(90deg, #cb6a83, var(--pink)); transform: scaleX(0); transform-origin: left; }
.loading-note { margin: 19px 0 0; color: var(--subtle); font-size: 14px; }
.loading-content noscript { color: var(--muted); font-size: 14px; }
.loading-content a { color: var(--rose); }
.compatibility-page { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; padding: 40px 28px 25px; }
.compatibility-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.compatibility-page::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--loading-overlay); pointer-events: none; }
.compatibility-page > .logo-slot, .compatibility-content, .compatibility-page > .footer { position: relative; z-index: 2; }
.compatibility-page > .logo-slot { align-self: flex-end; margin-left: 0; }
.compatibility-content { margin: auto 0; padding: 40px 0; }
.compatibility-content .description { margin-bottom: 0; }
@media (max-width: 360px) { .page { padding-left: 20px; padding-right: 20px; } .header { gap: 7px; } .logo-slot { width: 40px; margin-left: 2px; } h1 { font-size: 34px; } .option { font-size: 14px; } .segments button { padding: 5px 10px; } .breadcrumbs { font-size: 11px; gap: 5px; } .review-row { font-size: 14px; } }
@media (min-height: 740px) { .name-page .field { margin-top: 5px; } .hero .discover { margin-bottom: 8.5svh; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
