:root {
  --ink: #2c2926;
  --muted: #766f68;
  --paper: #fffaf4;
  --surface: #ffffff;
  --soft: #f6eee5;
  --coral: #ff4b2b;
  --coral-dark: #d9361a;
  --gold: #d89f45;
  --sage: #4f7b68;
  --trust: #003b70;
  --line: #eadfd4;
  --danger: #a9343d;
  --shadow-soft: 0 6px 20px rgba(79, 52, 35, .08);
  --shadow: 0 14px 40px rgba(79, 52, 35, .11);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius: 24px;
  --tap: 44px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: clip; background: radial-gradient(circle at 85% 0%, #fde9d5 0, transparent 30rem), var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img, video { max-width: 100%; }
.ui-icon { width: 1.22em; height: 1.22em; display: inline-block; flex: 0 0 auto; vertical-align: -.16em; }
:focus-visible { outline: 3px solid rgba(184, 76, 76, .32); outline-offset: 3px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: .78rem; }
.eyebrow { color: var(--coral); font-weight: 800; letter-spacing: .11em; text-transform: uppercase; font-size: .72rem; }
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); }
.seo-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 max(1rem, calc((100vw - 1100px)/2)); border-bottom: 1px solid var(--line); }
.seo-header > a { font: 700 1.5rem Georgia, serif; text-decoration: none; }
.seo-header nav { display: flex; gap: 1rem; }
.seo-fallback { width: min(100% - 2rem, 1100px); margin: auto; padding: 5rem 0; }
.seo-fallback section { max-width: 780px; padding: 2rem 0; }
.seo-fallback h1 { font: 600 clamp(3rem, 8vw, 6rem)/.98 Georgia, serif; }
.seo-fallback h2 { font: 600 2rem Georgia, serif; }
.seo-fallback p { color: var(--muted); line-height: 1.7; }
.noscript-note { padding: 1rem; text-align: center; }
.brand-mark { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; margin: auto; border-radius: 22px; background: #fff8f2 url('/images/brand/sinta-profile-icon.png') center/82% no-repeat; color: transparent; font-size: 0; box-shadow: var(--shadow); }

.btn { border: 0; border-radius: 14px; min-height: 46px; padding: .78rem 1.15rem; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; font-weight: 750; text-decoration: none; transition: transform .18s, background .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: var(--coral); box-shadow: 0 8px 24px rgba(184, 76, 76, .24); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-soft { color: var(--coral-dark); background: #f9e3dd; }
.btn-ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.btn-danger { color: white; background: var(--danger); }
.btn-sm { min-height: 36px; padding: .5rem .78rem; border-radius: 11px; font-size: .86rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; font-size: 1.15rem; }
.btn-icon .ui-icon { width: 21px; height: 21px; }
.btn-icon.active { color: white; border-color: var(--coral); background: var(--coral); }
.btn-block { width: 100%; }

.field { display: grid; gap: .4rem; }
.field label, .field > span { color: #514b45; font-weight: 700; font-size: .86rem; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; color: var(--ink); background: white; border: 1px solid #dbcfc4; border-radius: 13px; transition: border .18s, box-shadow .18s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(184, 76, 76, .09); outline: none; }
.password-control { position: relative; }
.password-control input { padding-right: 3.25rem; }
.password-toggle { position: absolute; top: 50%; right: .35rem; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; color: #625a54; background: transparent; border: 0; border-radius: 10px; transform: translateY(-50%); cursor: pointer; }
.password-toggle:hover { color: var(--coral-dark); background: var(--soft); }
.password-toggle:focus-visible { outline: 3px solid rgba(184,76,76,.28); outline-offset: 1px; }
.password-eye { width: 21px; height: 21px; }
.password-eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .password-eye-slash { display: block; }
.form-grid { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.check-row { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.4; font-size: .88rem; color: var(--muted); }
.check-row input { margin-top: .2rem; accent-color: var(--coral); }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(360px, .85fr); }
.auth-story { padding: clamp(2rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; position: relative; overflow: hidden; background: #973f45; color: white; }
.auth-story::after { content: ''; position: absolute; width: 520px; height: 520px; right: -220px; bottom: -210px; border: 70px solid rgba(255,255,255,.08); border-radius: 50%; }
.auth-brand { display: flex; gap: .8rem; align-items: center; font: 700 1.35rem Georgia, serif; position: relative; z-index: 1; }
.auth-brand .brand-mark { width: 44px; height: 44px; margin: 0; background: #fffaf4 url('/images/brand/sinta-profile-icon.png') center/82% no-repeat; color: transparent; }
.auth-copy { max-width: 650px; position: relative; z-index: 1; }
.auth-copy h1 { font: 600 clamp(2.8rem, 6vw, 5.6rem)/.98 Georgia, serif; letter-spacing: -.045em; margin: .7rem 0 1.3rem; }
.auth-copy p { max-width: 540px; font-size: 1.08rem; line-height: 1.65; color: #f7e7e0; }
.auth-story-footer { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.auth-story-footer a { color: white; font-size: .82rem; font-weight: 750; }
.trust-points { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.trust-points span { padding: .62rem .8rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: .82rem; }
.auth-panel { min-height: 100vh; padding: 2rem clamp(1.25rem, 5vw, 5rem); display: grid; place-items: center; }
.auth-card { width: min(100%, 460px); }
.auth-card h2 { font: 600 2rem Georgia, serif; margin: .4rem 0; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .35rem; margin: 1.5rem 0; background: var(--soft); border-radius: 14px; }
.auth-tab { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 750; }
.auth-tab.active { background: white; color: var(--ink); box-shadow: 0 3px 10px rgba(45,35,26,.07); }
.demo-box { margin-top: 1.25rem; padding: 1rem; background: #f2f5ee; border: 1px solid #dce7d8; border-radius: 16px; }
.demo-box strong { display: block; margin-bottom: .35rem; }
.demo-actions { display: flex; gap: .5rem; margin-top: .7rem; }
.demo-code { margin-top: .75rem; padding: .7rem; color: var(--coral-dark); background: white; border: 1px dashed #b8c8ad; border-radius: 12px; text-align: center; font: 800 1.5rem ui-monospace, monospace; letter-spacing: .2em; }

/* Progressive signup and onboarding */
.signup-page, .onboarding-page { min-height: 100vh; background: radial-gradient(circle at 12% 10%, #f9dcd0 0, transparent 28rem), var(--paper); }
.signup-header, .onboarding-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 max(1rem, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,250,244,.9); backdrop-filter: blur(16px); }
.signup-header > div, .onboarding-header > div { display: flex; align-items: center; gap: .55rem; }
.signup-shell { width: min(100% - 2rem, 1080px); min-height: calc(100vh - 72px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: 3rem 0; }
.signup-intro h1, .onboarding-steps h1 { max-width: 680px; margin: .55rem 0 1rem; font: 600 clamp(3rem, 7vw, 5.2rem)/.98 Georgia, serif; letter-spacing: -.05em; }
.signup-intro > p, .onboarding-steps > p { max-width: 580px; color: var(--muted); line-height: 1.7; }
.signup-promise { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.signup-promise span { display: inline-flex; align-items: center; gap: .4rem; padding: .62rem .75rem; color: #385747; background: #edf4ee; border-radius: 999px; font-size: .78rem; font-weight: 750; }
.signup-card, .onboarding-card { padding: clamp(1.25rem, 4vw, 2rem); background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.signup-card h2, .onboarding-card h2 { margin: .5rem 0; font: 600 2rem Georgia, serif; }
.signup-progress { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; margin-bottom: .8rem; }
.signup-progress span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); background: var(--soft); border-radius: 50%; font-weight: 800; }
.signup-progress span.active, .signup-progress span.done { color: white; background: var(--coral); }
.signup-progress i { height: 3px; background: var(--soft); }
.signup-actions, .onboarding-actions { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .35rem; }
.signup-actions .btn, .onboarding-actions .btn { min-width: 130px; }
.onboarding-layout { width: min(100% - 2rem, 1180px); margin: 0 auto; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding: 3rem 0 5rem; }
.onboarding-steps { position: sticky; top: 2rem; align-self: start; }
.onboarding-steps h1 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
.onboarding-steps ol { display: grid; gap: .45rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.onboarding-steps li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: .75rem; padding: .65rem; color: var(--muted); border-radius: var(--radius-sm); }
.onboarding-steps li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-weight: 800; }
.onboarding-steps li small, .onboarding-steps li strong { display: block; }
.onboarding-steps li small { margin-bottom: .12rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; }
.onboarding-steps li.active { color: var(--trust); background: white; box-shadow: var(--shadow-soft); }
.onboarding-steps li.active > span { color: white; border-color: var(--trust); background: var(--trust); }
.onboarding-steps li.done > span { color: white; border-color: var(--sage); background: var(--sage); }
.onboarding-content { min-width: 0; display: grid; align-content: start; gap: 1rem; }
.onboarding-mobile-progress { display: none; }
.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.choice-card { min-height: 52px; display: flex; align-items: center; gap: .55rem; padding: .7rem; color: #514b45; background: #fbf8f4; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 700; }
.choice-card:has(input:checked) { color: var(--trust); border-color: #88aabb; background: #edf4f8; }
.choice-card input { accent-color: var(--trust); }
.onboarding-prompts { display: grid; gap: 1rem; padding-top: .5rem; }
.photo-reminder, .photo-required-window { display: flex; gap: .85rem; padding: 1rem; color: #69452e; background: #fff2da; border: 1px solid #f1d09d; border-radius: var(--radius-md); }
.photo-reminder .ui-icon, .photo-required-window > .ui-icon { width: 30px; height: 30px; flex: 0 0 30px; }
.photo-reminder p, .photo-required-window p { margin: .25rem 0 0; line-height: 1.45; font-size: .82rem; }
.photo-required-window.complete { color: #385747; background: #edf4ee; border-color: #cfe1d3; }
.onboarding-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 1.2rem 0; }
.onboarding-media-add { min-height: 150px; }
.onboarding-media-add small { display: block; margin-top: .25rem; }
.onboarding-public-preview { width: min(100%, 430px); margin: 1.25rem auto; }
.onboarding-public-preview .profile-card { min-height: 570px; box-shadow: 0 24px 55px rgba(56, 36, 26, .16); }
.onboarding-profile-start { margin-top: 1rem; padding: 1.15rem; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.onboarding-profile-start p { margin-bottom: 0; }
.profile-card-preview { pointer-events: none; }
.profile-view-preview { display: inline-flex; justify-content: center; }
.btn:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }

/* Public presentation */
.landing { min-height: 100vh; overflow: hidden; background: #fffaf4; }
.landing-header { min-height: 76px; position: relative; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding: 0 max(1.25rem, calc((100vw - 1280px) / 2)); background: rgba(255,250,244,.96); border-bottom: 1px solid rgba(234,223,212,.8); backdrop-filter: blur(16px); }
.landing-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font: 700 1.3rem Georgia, serif; text-decoration: none; }
.landing-brand .brand-mark { width: 42px; height: 42px; flex: 0 0 42px; margin: 0; border-radius: 14px; font-size: 1.2rem; }
.landing-brand small { padding-left: .2rem; color: var(--muted); font: 500 .7rem Inter, sans-serif; letter-spacing: .04em; }
.landing-header nav { display: flex; align-items: center; gap: .25rem; }
.landing-header nav a { padding: .6rem .7rem; color: #514b45; border-radius: 9px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.landing-header nav a:hover { background: var(--soft); }
.landing-header-actions { justify-self: end; display: flex; align-items: center; gap: .5rem; }
.landing-login, .landing-footer button { padding: .6rem .7rem; color: var(--ink); border: 0; background: transparent; font-weight: 750; }
.language-picker { position: relative; }
.language-trigger { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: .38rem; padding: .45rem .6rem; color: var(--ink); background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 11px; font-size: .74rem; font-weight: 800; }
.language-trigger:hover { background: white; }
.language-menu { min-width: 190px; position: absolute; z-index: 80; top: calc(100% + .55rem); right: 0; overflow: hidden; padding: .35rem; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgba(46,33,27,.18); }
.language-menu button { width: 100%; min-height: 42px; display: grid; grid-template-columns: 25px 1fr 18px; align-items: center; gap: .5rem; padding: .55rem .65rem; color: var(--ink); background: transparent; border: 0; border-radius: 9px; text-align: left; font-size: .8rem; }
.language-menu button:hover, .language-menu button[aria-checked="true"] { background: var(--soft); }
.language-menu b { color: var(--sage); }
.landing-hero { min-height: 780px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 450px); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: 5rem max(1.25rem, calc((100vw - 1280px) / 2)); color: white; background: #30231e; }
.landing-hero-image, .landing-hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.landing-hero-image { object-fit: cover; object-position: center; }
.landing-hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(28,20,17,.9) 0%, rgba(38,26,22,.7) 42%, rgba(37,25,21,.24) 70%, rgba(25,18,16,.42) 100%), linear-gradient(0deg, rgba(22,15,13,.38), transparent 40%); }
.landing-hero-copy { max-width: 690px; }
.landing-kicker { display: inline-flex; padding: .5rem .7rem; color: #fff3e7; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(10px); }
.landing-hero-copy h1 { max-width: 690px; margin: 1.2rem 0 1.35rem; font: 600 clamp(3.2rem, 6vw, 6.5rem)/.94 Georgia, serif; letter-spacing: -.052em; text-wrap: balance; }
.landing-hero-copy h1 em { color: #f4c98a; font-weight: 500; }
.landing-hero-copy > p { max-width: 590px; margin: 0; color: #f4e9e1; font-size: 1.08rem; line-height: 1.7; }
.landing-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.landing-hero-actions a { color: white; font-size: .8rem; font-weight: 800; text-decoration: none; }
.landing-cta-proof { margin-top: .7rem; color: #f4e9e1; font-size: .74rem; font-weight: 800; letter-spacing: .03em; }
.landing-trust-inline { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.8rem; color: #fff; font-size: .76rem; font-weight: 750; }
.landing-trust-inline span::first-letter { color: #f4c98a; }
.landing-auth-card { width: 100%; position: relative; z-index: 2; justify-self: end; padding: 1.65rem; color: var(--ink); background: rgba(255,252,248,.97); border: 1px solid rgba(255,255,255,.55); border-radius: 24px; box-shadow: 0 28px 80px rgba(20,12,9,.3); backdrop-filter: blur(18px); }
.landing-auth-card h2 { margin: .35rem 0 .3rem; font: 600 1.85rem Georgia, serif; }
.landing-auth-card > p { margin-top: 0; }
.landing-auth-card .auth-tabs { margin: 1.15rem 0; }
.landing-auth-card .form-grid { gap: .75rem; }
.landing-auth-card .field input, .landing-auth-card .field select { min-height: 44px; }
.landing-auth-card .demo-box { margin-top: 1rem; padding: .8rem; }
.landing-auth-card .demo-actions { flex-wrap: wrap; }
.landing-signup-note { margin: .9rem 0 0 !important; padding-top: .85rem; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.landing-signup-note button { padding: .25rem; color: var(--coral); background: transparent; border: 0; font-weight: 800; }
.landing-scroll { position: absolute; left: max(1.25rem, calc((100vw - 1280px) / 2)); bottom: 1.6rem; display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.72); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.landing-scroll span { font-size: 1.1rem; }
.landing-proof { width: min(100% - 2rem, 1280px); display: grid; grid-template-columns: repeat(4, 1fr); margin: -1px auto 0; background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; box-shadow: 0 12px 34px rgba(75,49,33,.06); }
.landing-proof div { padding: 1.25rem 1.5rem; border-right: 1px solid var(--line); }
.landing-proof div:last-child { border-right: 0; }
.landing-proof strong, .landing-proof span { display: block; }
.landing-proof strong { margin-bottom: .25rem; font: 600 1.15rem Georgia, serif; }
.landing-proof span { color: var(--muted); font-size: .74rem; }
.landing-section, .landing-editorial { width: min(100% - 2rem, 1280px); margin: 0 auto; padding: 7rem 0; }
.landing-section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); align-items: end; gap: 3rem; margin-bottom: 2rem; }
.landing-section-head h2, .landing-how h2, .landing-safety h2, .landing-final h2 { max-width: 780px; margin: .55rem 0 0; font: 600 clamp(2.35rem, 4.8vw, 4.7rem)/1.02 Georgia, serif; letter-spacing: -.045em; }
.landing-section-head > p { margin: 0; color: var(--muted); line-height: 1.7; }
.landing-profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.landing-profile-card { min-height: 430px; position: relative; overflow: hidden; background: #725047; border-radius: 24px; box-shadow: 0 16px 40px rgba(75,49,33,.12); }
.landing-profile-card > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease; }
.landing-profile-card:hover > img { transform: scale(1.025); }
.landing-profile-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(28,20,18,.88)); }
.landing-profile-overlay { position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; color: white; }
.landing-online { display: inline-flex; padding: .3rem .45rem; color: #eaf7ee; background: rgba(54,104,74,.8); border-radius: 999px; font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.landing-profile-overlay h3 { margin: .55rem 0 .15rem; font: 600 1.55rem Georgia, serif; }
.landing-profile-overlay p { margin: 0 0 .6rem; color: #eee2dc; font-size: .75rem; }
.landing-profile-overlay > div { display: flex; flex-wrap: wrap; gap: .35rem; }
.landing-profile-overlay > div span { padding: .28rem .42rem; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .62rem; }
.landing-centered { display: grid; justify-content: center; gap: .55rem; margin-top: 2rem; text-align: center; }
.landing-centered small { color: var(--muted); }
.landing-how { padding: 7rem max(1.25rem, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); color: white; background: #3f3330; }
.landing-how .eyebrow, .landing-safety .eyebrow { color: #f2be75; }
.landing-how-intro p { color: #d9c9c2; line-height: 1.7; }
.landing-how-intro a { color: #f4c98a; font-weight: 800; text-decoration: none; }
.landing-steps { display: grid; }
.landing-steps article { display: grid; grid-template-columns: 70px 1fr; gap: 1.1rem; padding: 1.55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.landing-steps article:first-child { padding-top: 0; }
.landing-steps article > span { color: #f4c98a; font: italic 500 1.6rem Georgia, serif; }
.landing-steps h3 { margin: 0 0 .4rem; font: 600 1.35rem Georgia, serif; }
.landing-steps p { margin: 0; color: #d9c9c2; line-height: 1.6; }
.landing-translation { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .55fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: 7rem max(1.25rem, calc((100vw - 1280px) / 2)); background: #fffaf4; }
.landing-translation h2, .landing-bridge h2, .landing-faq h2 { max-width: 780px; margin: .55rem 0 1rem; font: 600 clamp(2.35rem, 4.8vw, 4.7rem)/1.02 Georgia, serif; letter-spacing: -.045em; }
.landing-translation > div > p { max-width: 720px; color: var(--muted); line-height: 1.7; }
.translation-demo { max-width: 660px; display: grid; gap: .65rem; margin-top: 1.5rem; }
.translation-demo article { padding: 1rem 1.15rem; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
.translation-demo article:last-child { margin-left: 2.5rem; background: #edf4ee; border-color: #d4e3d8; }
.translation-demo small { color: var(--coral); font-weight: 800; }
.translation-demo p { margin: .35rem 0 0; }
.translation-demo .btn { justify-self: start; color: var(--ink); background: white; }
.landing-translation > aside { padding: 2rem; background: #3f3330; color: white; border-radius: 28px; box-shadow: var(--shadow); }
.landing-translation > aside p { color: #d9c9c2; line-height: 1.6; }
.landing-translation > aside .landing-shield { background: #b76452; }
.landing-bridge { padding: 6rem max(1.25rem, calc((100vw - 980px) / 2)); color: white; text-align: center; background: #71554c; }
.landing-bridge h2 { margin-inline: auto; }
.landing-bridge p { max-width: 760px; margin: 1.2rem auto 0; color: #f2e7e0; font-size: 1rem; line-height: 1.8; }

.landing-video { padding: 7rem max(1.25rem, calc((100vw - 1280px) / 2)); background: linear-gradient(180deg, #fffaf4 0%, #f2e4da 100%); }
.landing-video-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); align-items: end; gap: 3rem; margin-bottom: 2rem; }
.landing-video-head h2 { max-width: 850px; margin: .55rem 0 0; font: 600 clamp(2.35rem, 4.8vw, 4.7rem)/1.02 Georgia, serif; letter-spacing: -.045em; }
.landing-video-head > p { margin: 0; color: var(--muted); line-height: 1.75; }
.landing-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #201c1b; border-radius: 28px; box-shadow: 0 28px 70px rgba(50,32,27,.22); }
.landing-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #201c1b; }
.landing-video-play { position: absolute; z-index: 2; inset: 50% auto auto 50%; display: inline-flex; align-items: center; gap: .8rem; padding: .65rem 1.1rem .65rem .65rem; color: white; background: rgba(38,29,27,.86); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; box-shadow: 0 12px 35px rgba(0,0,0,.35); transform: translate(-50%,-50%); backdrop-filter: blur(10px); cursor: pointer; }
.landing-video-play[hidden] { display: none; }
.landing-video-play:hover { background: rgba(183,100,82,.96); transform: translate(-50%,-50%) scale(1.03); }
.landing-video-play:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.landing-video-play span { display: grid; width: 3.1rem; height: 3.1rem; place-items: center; padding-left: .18rem; color: #4e3029; background: white; border-radius: 50%; font-size: 1.1rem; }
.landing-video-play strong { padding-right: .35rem; font-size: .88rem; letter-spacing: .01em; }
.landing-video-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 1.15rem; }
.landing-video-footer p { margin: 0; color: var(--muted); font-size: .85rem; }
.landing-video-footer a { color: #8d4035; font-weight: 800; text-decoration: none; }
.landing-video-footer a:hover { text-decoration: underline; }
.landing-center-promo { width:min(100% - 2rem,1180px); display:grid; grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr); gap:clamp(2rem,7vw,6rem); align-items:center; margin:auto; padding:5rem 0; }
.landing-center-promo h2 { margin:.6rem 0 1rem; font:600 clamp(2.5rem,5vw,4.5rem)/1 Georgia,serif; letter-spacing:-.04em; }
.landing-center-promo p { max-width:680px; color:var(--muted); font-size:1.05rem; line-height:1.7; }
.landing-center-topics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.landing-center-topics span { min-height:84px; display:grid; place-items:center; padding:1rem; color:var(--coral-dark); background:#fff; border:1px solid var(--line); border-radius:18px; font-weight:850; box-shadow:0 10px 28px rgba(75,49,33,.06); }
.landing-center-topics span:last-child { grid-column:span 2; }

.landing-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.landing-video-card { min-width: 0; padding: 1rem; background: rgba(255,255,255,.72); border: 1px solid rgba(141,64,53,.13); border-radius: 30px; box-shadow: 0 18px 55px rgba(50,32,27,.11); }
.landing-video-card-head { min-height: 75px; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .35rem .35rem .85rem; }
.landing-video-card-head h3 { margin: .28rem 0 0; font: 600 clamp(1.55rem, 2.2vw, 2.3rem)/1.08 Georgia, serif; letter-spacing: -.03em; }
.landing-video-country { color: #9d4d40; font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.landing-video-description { min-height: 3rem; margin: 0; padding: 0 .35rem 1rem; color: var(--muted); line-height: 1.55; }
.landing-video-languages { flex: 0 0 auto; display: inline-flex; gap: .2rem; padding: .22rem; background: #eee1d8; border: 1px solid #dec9bb; border-radius: 999px; }
.landing-video-languages button { min-width: 2.65rem; padding: .48rem .65rem; color: #6f554d; background: transparent; border: 0; border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .04em; cursor: pointer; }
.landing-video-languages button:hover { color: #4e3029; background: rgba(255,255,255,.66); }
.landing-video-languages button.active, .landing-video-languages button[aria-pressed="true"] { color: white; background: #9d4d40; box-shadow: 0 3px 10px rgba(78,48,41,.18); }
.landing-video-languages button:focus-visible { outline: 3px solid rgba(157,77,64,.35); outline-offset: 2px; }
.landing-video-card .landing-video-frame { border-radius: 20px; box-shadow: 0 18px 45px rgba(50,32,27,.2); }
.landing-video-card .landing-video-footer { align-items: flex-start; padding: 0 .35rem .25rem; }
.landing-video-card .landing-video-footer p { max-width: 48%; }
.landing-video-card .landing-video-footer a { max-width: 48%; text-align: right; }


.landing-editorial { padding-bottom: 7.5rem; }
.landing-story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.landing-story-grid a { min-height: 490px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 1.6rem; color: white; background: #3f3330; border-radius: 25px; text-decoration: none; }
.landing-story-grid a::after { content: ''; position: absolute; z-index: -1; inset: 20% 0 0; background: linear-gradient(transparent, rgba(25,18,16,.9)); }
.landing-story-grid img { width: 100%; height: 100%; position: absolute; z-index: -2; inset: 0; object-fit: cover; transition: transform .5s ease; }
.landing-story-grid a:hover img { transform: scale(1.025); }
.landing-story-grid span { color: #f4c98a; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.landing-story-grid h3 { max-width: 470px; margin: .45rem 0 .8rem; font: 600 2rem/1.1 Georgia, serif; }
.landing-story-grid small { font-weight: 800; }
.landing-safety { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); padding: 7rem max(1.25rem, calc((100vw - 1280px) / 2)); background: #eaf2ec; }
.landing-safety-copy > p { max-width: 700px; color: #57655d; line-height: 1.75; }
.landing-safety-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.5rem; font-size: .82rem; font-weight: 750; }
.landing-safety-card { padding: 2rem; background: rgba(255,255,255,.88); border: 1px solid #d5e2d8; border-radius: 26px; box-shadow: 0 18px 50px rgba(56,83,66,.11); }
.landing-shield { width: 58px; height: 64px; display: grid; place-items: center; margin-bottom: 1rem; color: white; background: var(--sage); border-radius: 18px 18px 24px 24px; font: 700 1.4rem Georgia, serif; }
.landing-safety-card > strong { font: 600 1.55rem Georgia, serif; }
.landing-safety-card > p, .landing-safety-card > small { display: block; color: var(--muted); line-height: 1.6; }
.landing-safety-card > div { display: flex; justify-content: space-between; margin: 1.3rem 0 .45rem; font-size: .82rem; }
.landing-safety-card progress { width: 100%; height: 8px; margin-bottom: 1rem; accent-color: var(--sage); }
.landing-faq { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding: 7rem max(1.25rem, calc((100vw - 1280px) / 2)); background: white; }
.landing-faq > div:first-child > p { color: var(--muted); line-height: 1.7; }
.faq-list { display: grid; align-content: start; }
.faq-list details { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::after { content: '+'; color: var(--coral); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: .5rem 2rem .2rem 0; color: var(--muted); line-height: 1.65; }
.landing-final { padding: 8rem 1.25rem; text-align: center; background: #fffaf4; }
.landing-final h2 { margin-inline: auto; }
.landing-final p { color: var(--muted); }
.landing-final .btn { margin-top: 1rem; padding-inline: 1.6rem; }
.landing-footer { padding: 2.5rem max(1.25rem, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; color: #eaddd7; background: #2f2724; }
.landing-footer .landing-brand { color: white; }
.landing-footer > p { max-width: 520px; margin: 0; color: #cdbbb3; font-size: .78rem; line-height: 1.55; }
.landing-footer nav { display: flex; align-items: center; gap: .8rem; }
.landing-footer nav a, .landing-footer nav button { color: white; font-size: .78rem; }
.landing-footer .demo-footer { color: #cbbab2; border-left: 1px solid #665750; }
.landing-footer > small { grid-column: 1 / -1; color: #9f8f88; }
.auth-recovery { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1.5rem; padding: 2rem 1rem; background: radial-gradient(circle at 85% 0%, #f6d7c6 0, transparent 30rem), #fffaf4; }
.recovery-language { position: fixed; z-index: 20; top: 1rem; right: 1rem; }
.recovery-card { width: min(100%, 470px); padding: 1.7rem; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.recovery-card h1 { margin: .4rem 0; font: 600 2rem Georgia, serif; }
.auth-recovery-note { color: var(--muted); font-size: .75rem; }

.app-shell { min-height: 100vh; }
.app-main { min-width: 0; }
.desktop-rail { display: none; }
.topbar { height: 72px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 max(1rem, calc((100vw - 1240px)/2)); background: rgba(255,250,244,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(234,223,212,.72); }
.topbar-brand { display: flex; align-items: center; gap: .65rem; font: 700 1.25rem Georgia, serif; text-decoration: none; }
.topbar-brand .brand-mark { width: 40px; height: 40px; margin: 0; border-radius: 14px; font-size: 1.2rem; }
.top-actions { display: flex; align-items: center; gap: .45rem; }
.top-actions button { position: relative; }
.avatar-nav { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.badge { min-width: 18px; height: 18px; position: absolute; top: -3px; right: -2px; display: grid; place-items: center; padding: 0 4px; background: var(--coral); color: white; border: 2px solid var(--paper); border-radius: 999px; font-size: .65rem; font-weight: 800; }
.page { width: min(100% - 2rem, 1240px); margin: 0 auto; padding: 2rem 0 7rem; }
.page-narrow { max-width: 780px; }
.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.page-header h1 { margin: .25rem 0 0; font: 600 clamp(2rem, 4vw, 3.4rem)/1.05 Georgia, serif; letter-spacing: -.035em; }
.page-header p { margin: .55rem 0 0; color: var(--muted); }

.bottom-nav { position: fixed; z-index: 25; bottom: max(.45rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(calc(100% - .75rem), 680px); min-height: 70px; display: grid; grid-template-columns: repeat(5, 1fr); padding: .38rem; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: 0 14px 45px rgba(67,46,30,.2); border-radius: 22px; backdrop-filter: blur(16px); }
.nav-item { border: 0; border-radius: 16px; color: var(--muted); background: transparent; display: grid; place-items: center; align-content: center; gap: .15rem; font-size: .7rem; font-weight: 700; }
.nav-item .nav-icon { min-width: var(--tap); min-height: 25px; display: grid; place-items: center; line-height: 1; }
.nav-item .nav-icon .ui-icon { width: 21px; height: 21px; }
.nav-item.active, .nav-item[aria-current="page"] { color: var(--coral); background: #fff0e9; }
.nav-item:focus-visible, .profile-card:focus-within, .btn-icon:focus-visible { outline: 3px solid rgba(36,74,99,.28); outline-offset: 2px; }

.discover-tools { display: flex; gap: .7rem; align-items: center; }
.filter-chips { display: flex; gap: .55rem; overflow: auto; padding: .2rem 0 1.3rem; scrollbar-width: none; }
.chip { white-space: nowrap; border: 1px solid var(--line); background: white; color: var(--muted); border-radius: 999px; padding: .56rem .8rem; font-size: .82rem; font-weight: 700; }
.chip.active { background: var(--ink); color: white; border-color: var(--ink); }
.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.load-more { display: flex; justify-content: center; padding: 1.4rem 0 0; }
.profile-card { position: relative; min-width: 0; min-height: 470px; overflow: hidden; border-radius: var(--radius); background: #e8d3c1; box-shadow: 0 6px 22px rgba(62,42,27,.1); isolation: isolate; transition: transform .22s, box-shadow .22s; }
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profile-card > img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.profile-card::after { content: ''; position: absolute; inset: 35% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(22,16,15,.88)); }
.profile-hit { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; }
.profile-info { position: absolute; z-index: 3; left: 1rem; right: 1rem; bottom: 1rem; color: white; pointer-events: none; }
.profile-name { display: flex; align-items: center; gap: .4rem; font: 600 1.45rem Georgia, serif; }
.verified { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #5187b7; color: white; font: 800 .65rem sans-serif; }
.profile-location { margin-top: .28rem; color: rgba(255,255,255,.82); font-size: .83rem; }
.profile-location .ui-icon { width: 14px; height: 14px; }
.profile-bio { min-height: 2.6em; display: -webkit-box; overflow: hidden; margin: .55rem 0 0; color: rgba(255,255,255,.9); font-size: .78rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.profile-card-meta { display: flex; justify-content: space-between; gap: .5rem; margin-top: .5rem; color: rgba(255,255,255,.72); font-size: .66rem; }
.profile-tags { display: flex; gap: .35rem; margin-top: .7rem; }
.profile-tags span { padding: .36rem .55rem; border-radius: 999px; background: rgba(255,255,255,.17); backdrop-filter: blur(10px); font-size: .7rem; }
.profile-view { position: relative; z-index: 5; pointer-events: auto; min-height: 38px; margin-top: .65rem; padding: .45rem .7rem; color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.38); border-radius: 10px; font-size: .72rem; font-weight: 800; }
.profile-actions { position: absolute; z-index: 4; right: .75rem; top: .75rem; display: grid; gap: .5rem; }
.profile-actions .btn-icon { border: 0; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn-icon.interaction-favorite.active { color: #3d2f1a; border-color: #f1c75b; background: #f1c75b; }
.btn-icon.interaction-like.active { color: white; border-color: var(--coral); background: var(--coral); }
.field-error { margin: .45rem 0 0; color: var(--danger); font-size: .76rem; font-weight: 750; line-height: 1.4; }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(164,57,57,.12); }
.status-dot { width: 10px; height: 10px; display: inline-block; border-radius: 50%; background: #57b578; border: 2px solid white; }
.video-pill { position: absolute; z-index: 3; top: .8rem; left: .8rem; display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .65rem; border-radius: 999px; color: white; background: rgba(20,17,16,.52); backdrop-filter: blur(10px); font-size: .72rem; font-weight: 750; }
.compatibility-pill { position: absolute; z-index: 3; top: 3.45rem; left: .8rem; padding: .4rem .6rem; border-radius: 999px; color: #294937; background: rgba(237,247,239,.92); font-size: .68rem; font-weight: 800; }

.search-layout { display: grid; gap: 1.2rem; }
.search-sidebar { display: none; }
.result-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: 1rem; background: rgba(255,255,255,.84); border: 1px solid var(--line); border-radius: var(--radius-md); }
.result-toolbar strong { font: 600 1.3rem Georgia, serif; }
.active-filter-summary { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.active-filter-summary span { padding: .28rem .48rem; color: var(--muted); background: var(--soft); border-radius: 999px; font-size: .68rem; }
.clear-result-filters { margin-top: .5rem; padding: 0; color: var(--coral-dark); background: transparent; border: 0; font-size: .72rem; font-weight: 750; text-decoration: underline; }
.result-controls { display: flex; align-items: end; gap: .55rem; }
.sort-control { display: grid; gap: .25rem; color: var(--muted); font-size: .7rem; font-weight: 750; }
.sort-control select { min-height: 42px; padding: .5rem 2rem .5rem .65rem; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.compact-toggle { display: none; border-radius: var(--radius-sm); }
.search-mobile-filter { flex: 0 0 auto; }
.empty-state { grid-column: 1/-1; padding: 4rem 1.5rem; text-align: center; border: 1px dashed #d7c8bb; border-radius: var(--radius); background: rgba(255,255,255,.55); }
.empty-state .empty-icon { font-size: 2.5rem; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; justify-items: end; background: rgba(31,26,23,.42); backdrop-filter: blur(3px); }
.sheet { width: min(100%, 480px); height: 100%; overflow: auto; padding: 1.3rem; background: var(--paper); box-shadow: -20px 0 50px rgba(30,22,17,.15); animation: slide-in .22s ease-out; }
@keyframes slide-in { from { transform: translateX(30px); opacity: .5 } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.sheet-head h2 { margin: 0; font: 600 1.6rem Georgia, serif; }
.sheet-actions { position: sticky; bottom: 0; display: flex; gap: .7rem; padding: 1rem 0 .3rem; background: linear-gradient(transparent, var(--paper) 20%); }

.detail-hero { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.detail-photo { aspect-ratio: 4/5; position: sticky; top: 94px; overflow: hidden; border-radius: 30px; background: #ead8c9; box-shadow: var(--shadow); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-gallery { overflow: visible; background: transparent; box-shadow: none; }
.gallery-stage { height: 100%; position: relative; overflow: hidden; background: #ead8c9; border-radius: 30px; box-shadow: var(--shadow); }
.gallery-stage > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; z-index: 2; right: 1rem; top: 1rem; padding: .38rem .58rem; color: white; background: rgba(22,16,15,.55); border-radius: 999px; font-size: .72rem; font-weight: 800; backdrop-filter: blur(8px); }
.gallery-arrow { width: var(--tap); height: var(--tap); position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; color: white; background: rgba(22,16,15,.52); border: 0; border-radius: 50%; transform: translateY(-50%); backdrop-filter: blur(8px); }
.gallery-arrow.previous { left: .75rem; }
.gallery-arrow.next { right: .75rem; }
.gallery-video-main { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: .65rem; color: white; background: linear-gradient(145deg, #7e4f49, #2b3f4c); border: 0; }
.gallery-video-main .ui-icon { width: 48px; height: 48px; }
.gallery-video-main strong { font: 600 1.6rem Georgia, serif; }
.gallery-video-main span { opacity: .8; }
.gallery-thumbs { height: 72px; display: flex; gap: .5rem; overflow-x: auto; padding-top: .65rem; }
.gallery-thumb { width: 58px; min-width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; color: var(--muted); background: white; border: 2px solid transparent; border-radius: 12px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--coral); box-shadow: 0 0 0 2px rgba(205,95,78,.16); }
.detail-video { position: absolute; left: 1rem; bottom: 1rem; padding: .7rem .9rem; border: 0; color: white; background: rgba(25,21,18,.62); backdrop-filter: blur(10px); border-radius: 999px; font-weight: 750; }
.detail-head h1 { font: 600 clamp(2.4rem, 6vw, 4.5rem)/1 Georgia, serif; letter-spacing: -.05em; margin: .4rem 0 .7rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .45rem; color: var(--muted); }
.detail-meta span { padding: .55rem .7rem; background: var(--soft); border-radius: 999px; font-size: .82rem; }
.detail-cta { display: flex; gap: .65rem; margin: 1.5rem 0; }
.compatibility-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; margin-bottom: 1rem; color: #385747; background: #edf4ee; border-radius: 17px; }
.compatibility-card > div { min-width: 78px; text-align: center; }
.compatibility-card strong { display: block; font: 600 1.7rem Georgia, serif; }
.compatibility-card span { font-size: .68rem; }
.compatibility-card p { margin: 0; line-height: 1.5; font-size: .82rem; }
.detail-section { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.detail-section h2 { font: 600 1.25rem Georgia, serif; margin: 0 0 .7rem; }
.detail-section p { color: #5d5650; line-height: 1.7; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.fact { padding: .9rem; background: white; border: 1px solid var(--line); border-radius: 15px; }
.fact small { display: block; color: var(--muted); margin-bottom: .25rem; }
.answer-list { display: grid; gap: .65rem; }
.answer-list article { padding: .9rem 1rem; background: white; border: 1px solid var(--line); border-radius: 15px; }
.answer-list small { color: var(--coral); font-weight: 750; }
.answer-list p { margin: .35rem 0 0; }
.safety-callout { display: flex; gap: .75rem; padding: 1rem; color: #466152; background: #edf4ee; border-radius: 16px; line-height: 1.45; font-size: .85rem; }

.card { padding: 1.25rem; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 4px 18px rgba(58,39,24,.05); }
.section-stack { display: grid; gap: 1rem; }
.match-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.match-card { padding: .7rem; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: white; }
.match-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.match-card strong { display: block; margin: .55rem 0 .35rem; }
.likes-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1.15rem; padding: .4rem; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--radius-md); }
.likes-tab { min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .85rem; color: var(--muted); background: transparent; border: 0; border-radius: var(--radius-sm); font-weight: 750; }
.likes-tab span { display: inline-flex; align-items: center; gap: .35rem; }
.likes-tab .ui-icon { width: 17px; height: 17px; }
.likes-tab b { min-width: 25px; padding: .2rem .38rem; color: var(--ink); background: var(--soft); border-radius: 999px; font-size: .72rem; }
.likes-tab.active { color: white; background: var(--ink); box-shadow: var(--shadow-soft); }
.likes-tab.active b { color: var(--ink); background: white; }
.likes-empty { min-height: 380px; display: grid; place-items: center; align-content: center; }

.conversation-list { display: grid; gap: .6rem; }
.conversation { width: 100%; min-width: 0; display: grid; grid-template-columns: 58px 1fr auto; gap: .8rem; align-items: center; padding: .75rem; text-align: left; border: 1px solid transparent; border-radius: 17px; background: transparent; }
.conversation:hover { background: white; border-color: var(--line); }
.conversation img { width: 58px; height: 58px; object-fit: cover; border-radius: 19px; }
.conversation-copy { min-width: 0; }
.conversation-copy strong { display: block; margin-bottom: .22rem; }
.conversation-copy p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; color: var(--muted); font-size: .86rem; }
.unread { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; color: white; background: var(--coral); font-size: .72rem; font-weight: 800; }
.chat-page { height: calc(100vh - 72px - 6.4rem); max-width: 820px; display: grid; grid-template-rows: auto 1fr auto; padding-bottom: 0; }
.chat-head { display: flex; align-items: center; gap: .75rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.chat-head img { width: 48px; height: 48px; object-fit: cover; border-radius: 16px; }
.chat-head .grow { flex: 1; }
.chat-profile { min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .25rem; color: var(--ink); text-align: left; background: transparent; border: 0; border-radius: var(--radius-sm); }
.chat-profile span { min-width: 0; display: grid; gap: .18rem; }
.chat-profile small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.messages { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: .55rem; padding: 1rem .2rem; }
.chat-history-more { display: flex; justify-content: center; padding: .25rem 0 .55rem; }
.push-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; margin-bottom: 1.25rem; }
.push-card h2 { margin: 0 0 .35rem; }
.push-card p { margin: .15rem 0 .85rem; }
.push-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.message-day { align-self: stretch; display: flex; align-items: center; gap: .7rem; margin: .3rem 0; color: var(--muted); font-size: .68rem; font-weight: 750; }
.message-day::before, .message-day::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.message-day span { padding: .25rem .5rem; background: var(--paper); border-radius: 999px; }
.bubble { max-width: 78%; align-self: flex-start; padding: .75rem .9rem; border-radius: 6px 17px 17px 17px; background: white; border: 1px solid var(--line); line-height: 1.45; }
.bubble.mine { align-self: flex-end; color: white; background: var(--coral); border-color: var(--coral); border-radius: 17px 6px 17px 17px; }
.message-version small { display: block; margin-bottom: .25rem; opacity: .7; font-size: .62rem; font-weight: 750; }
.message-version p { margin: 0; }
.message-foot { display: flex; justify-content: flex-end; align-items: center; gap: .55rem; margin-top: .35rem; opacity: .75; font-size: .65rem; }
.message-status { display: inline-flex; align-items: center; gap: .2rem; }
.message-status .ui-icon { width: 12px; height: 12px; }
.bubble-translate { margin-top: .45rem; border: 0; padding: 0; color: inherit; background: transparent; text-decoration: underline; font-size: .72rem; opacity: .82; }
.translation { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid rgba(120,100,90,.25); }
.message-risk { margin-top: .55rem; padding: .55rem; color: #6f362b; background: #fff0d8; border-radius: 9px; font-size: .72rem; font-weight: 700; }
.bubble.mine .message-risk { color: #5d2d25; background: #fff2da; }
.typing { min-height: 18px; padding-left: .4rem; color: var(--muted); font-size: .75rem; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding: .7rem 0 max(.7rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.composer input { min-width: 0; min-height: 48px; padding: 0 1rem; border: 1px solid #d7cabf; border-radius: 999px; background: white; }
.composer .btn { border-radius: 999px; }
.icebreaker-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: 1rem; }
.icebreaker-suggestions .chip { max-width: 280px; white-space: normal; line-height: 1.35; }
.chat-safety { max-width: 520px; display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; padding: .65rem .8rem; color: #466152; background: #edf4ee; border-radius: 12px; font-size: .76rem; }
.chat-safety .ui-icon { flex: 0 0 auto; }

.notice-list { display: grid; gap: .7rem; }
.notice { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: .8rem; padding: 1rem; color: var(--ink); text-align: left; background: white; border: 1px solid var(--line); border-radius: 17px; }
.notice.unseen { border-left: 4px solid var(--coral); }
.notice-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--soft); border-radius: 14px; }
.notice > span:last-child { min-width: 0; display: grid; gap: .2rem; }
.notice strong { font-size: .95rem; }
.notice > span:last-child > span { color: var(--muted); font-size: .84rem; }
.notice small { color: var(--muted); }
.skeleton-page { display: grid; gap: 1rem; }
.skeleton { position: relative; overflow: hidden; background: #e9dfd7; border-radius: var(--radius-md); }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: translateX(-100%); animation: skeleton-wave 1.2s infinite; }
@keyframes skeleton-wave { to { transform: translateX(100%); } }
.skeleton-title { width: min(55%, 460px); height: 72px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.skeleton-card { min-height: 420px; }
.skeleton-row { height: 76px; }
.skeleton-hero { height: 420px; }
.error-state > .ui-icon { width: 42px; height: 42px; color: var(--coral); }
.notice p { margin: 0; color: var(--muted); font-size: .83rem; }

.profile-editor { display: grid; grid-template-columns: 260px 1fr; gap: 1.3rem; align-items: start; }
.profile-side { position: sticky; top: 94px; }
.avatar-large { width: 150px; height: 150px; margin: 0 auto 1rem; object-fit: cover; border-radius: 45px; background: var(--soft); }
.profile-summary { text-align: center; }
.profile-summary h2 { margin: .3rem 0; font: 600 1.45rem Georgia, serif; }
.completion { height: 7px; margin: 1rem 0 .4rem; overflow: hidden; border-radius: 99px; background: var(--soft); }
.completion span { height: 100%; display: block; border-radius: inherit; background: var(--sage); }
.completion-0 span { width: 0; } .completion-10 span { width: 10%; } .completion-20 span { width: 20%; }
.completion-30 span { width: 30%; } .completion-40 span { width: 40%; } .completion-50 span { width: 50%; }
.completion-60 span { width: 60%; } .completion-70 span { width: 70%; } .completion-80 span { width: 80%; }
.completion-90 span { width: 90%; } .completion-100 span { width: 100%; }
.editor-section h2 { margin-top: 0; font: 600 1.35rem Georgia, serif; }
.form-subsection { display: grid; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-subsection h3 { margin: 0; font: 600 1.15rem Georgia, serif; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.media-item, .media-add { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 14px; background: var(--soft); }
.media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item video { width: 100%; height: 100%; object-fit: cover; }
.media-video { display: grid; place-items: center; color: white; background: #4c3d46; }
.video-tile-icon { font-size: 2rem; }
.media-status { position: absolute; left: .35rem; bottom: .35rem; padding: .25rem .4rem; border-radius: 7px; color: white; background: rgba(20,15,12,.68); font-size: .62rem; }
.media-status.status-pending { color: #5f401b; background: #ffe4a8; }
.media-status.status-approved { background: #35644d; }
.media-status.status-rejected { background: var(--danger); }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.section-title-row h2 { margin: 0; }
.pending-summary, .pending-media-link { padding: .38rem .58rem; color: #68471f; background: #ffe4a8; border: 0; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.pending-media-link.reviewed { color: #315944; background: #e5f1e8; }
.media-moderation-notice { margin: .8rem 0 0; padding: .75rem .9rem; color: #68471f; background: #fff5dc; border-left: 3px solid var(--gold); border-radius: 9px; font-size: .85rem; }
.media-remove { position: absolute; right: .35rem; top: .35rem; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(20,15,12,.64); color: white; }
.media-add { display: grid; place-content: center; text-align: center; border: 1px dashed #cdbdaf; color: var(--muted); cursor: pointer; font-size: .78rem; }
.media-add b { font-size: 1.5rem; }
.settings-links { display: grid; gap: .3rem; }
.settings-link { width: 100%; display: flex; justify-content: space-between; padding: .8rem; text-align: left; border: 0; border-radius: 10px; background: transparent; }
.settings-link:hover { background: var(--soft); }

.legal { color: #514b45; line-height: 1.72; }
.legal h1 { color: var(--ink); font: 600 2.7rem Georgia, serif; }
.legal h2 { color: var(--ink); margin-top: 2rem; font: 600 1.35rem Georgia, serif; }
.legal-nav { display: flex; gap: .5rem; overflow: auto; padding-bottom: 1rem; }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.safety-card { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 17px; }
.safety-card b { display: block; margin: .4rem 0; }

.trust-hero { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }
.trust-hero h2 { margin: 0 0 .25rem; font: 600 1.5rem Georgia, serif; }
.trust-score { width: 108px; height: 108px; flex: 0 0 108px; display: grid; place-content: center; text-align: center; border-radius: 50%; position: relative; }
.score-0 { background: conic-gradient(var(--sage) 0%, var(--soft) 0); } .score-10 { background: conic-gradient(var(--sage) 10%, var(--soft) 0); }
.score-20 { background: conic-gradient(var(--sage) 20%, var(--soft) 0); } .score-30 { background: conic-gradient(var(--sage) 30%, var(--soft) 0); }
.score-40 { background: conic-gradient(var(--sage) 40%, var(--soft) 0); } .score-50 { background: conic-gradient(var(--sage) 50%, var(--soft) 0); }
.score-60 { background: conic-gradient(var(--sage) 60%, var(--soft) 0); } .score-70 { background: conic-gradient(var(--sage) 70%, var(--soft) 0); }
.score-80 { background: conic-gradient(var(--sage) 80%, var(--soft) 0); } .score-90 { background: conic-gradient(var(--sage) 90%, var(--soft) 0); }
.score-100 { background: conic-gradient(var(--sage) 100%, var(--soft) 0); }
.trust-score::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: white; }
.trust-score strong, .trust-score span { position: relative; z-index: 1; }
.trust-score strong { font: 600 2rem Georgia, serif; }
.trust-score span { color: var(--muted); font-size: .72rem; }
.trust-checks { display: grid; gap: .4rem; margin-bottom: 1rem; }
.trust-check { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; padding: .7rem; border-radius: 12px; background: #fbf7f2; }
.trust-check > span { color: var(--muted); font-size: 1.15rem; }
.trust-check.done > span { color: var(--sage); }
.trust-check small { color: var(--muted); }
.privacy-action { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.privacy-action h2 { margin: 0 0 .35rem; font: 600 1.35rem Georgia, serif; }
.privacy-action p { margin: 0; }
.privacy-action .btn { flex: 0 0 auto; }
.danger-zone { border-color: #e5b9b5; }
.security-events { display: grid; gap: .65rem; }
.security-events > div { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: .75rem; padding: .75rem; border-radius: 13px; background: #fbf7f2; }
.security-events strong, .security-events small { display: block; }
.security-events small { margin-top: .15rem; color: var(--muted); }
.security-event-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #3f694d; background: #e8f2ea; border-radius: 12px; font-weight: 800; }

.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.stat { padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 18px; }
.stat strong { display: block; font: 600 2rem Georgia, serif; }
.stat span { color: var(--muted); font-size: .8rem; }
.admin-tabs { display: flex; gap: .5rem; margin: 1.2rem 0; overflow: auto; }
.admin-pending-banner { width: 100%; margin: 0 0 1rem; padding: 1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #5e3c16; background: #fff0c9; border: 1px solid #edcc86; border-radius: var(--radius-md); text-align: left; }
.admin-pending-banner span { font-size: .86rem; }
.admin-media-queue > .section-title-row { margin-bottom: 1rem; }
.media-filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.media-batch-bar { position: sticky; top: 68px; z-index: 6; display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; padding: .75rem .85rem; background: rgba(255,252,248,.96); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft); backdrop-filter: blur(8px); }
.media-selection-count { color: var(--muted); font-size: .8rem; font-weight: 750; }
.media-batch-actions { display: flex; gap: .45rem; margin-left: auto; }
.admin-media-queue .section-title-row p { margin: .25rem 0 0; }
.admin-media-member h3 { margin: .8rem 0 .15rem; }
.media-review-label { display: block; margin: .65rem 0; color: #68471f; font-size: .78rem; font-weight: 750; }
.media-review-label.status-approved { color: #315944; }
.media-review-label.status-rejected { color: var(--danger); }
.admin-actions { display: flex; gap: .4rem; }
.admin-media { position: relative; }
.admin-media.selected { outline: 3px solid #4f7f5f; outline-offset: 2px; }
.media-select-check { position: absolute; z-index: 2; top: .7rem; left: .7rem; min-height: 36px; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .55rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-soft); font-size: .74rem; font-weight: 800; cursor: pointer; }
.media-select-check input { width: 18px; height: 18px; accent-color: #4f7f5f; }
.admin-media img, .admin-media video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: #211c1a; }
.moderation-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.moderation-card h3 { margin: .55rem 0 .3rem; }
.moderation-card blockquote { margin: .65rem 0; padding: .65rem .8rem; border-left: 3px solid var(--line); background: #fbf7f2; }
.risk-level-3 { border-left: 5px solid var(--danger); }
.risk-level-2 { border-left: 5px solid #d99552; }
.table-wrap { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th, td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); background: #fbf7f2; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.status { display: inline-flex; padding: .3rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 750; background: #e8f2ea; color: #3f694d; }
.status.suspended, .status.open { color: #934043; background: #f8e4e2; }

.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; background: rgba(35,28,24,.5); backdrop-filter: blur(4px); }
.modal { width: min(100%, 480px); max-height: 90vh; overflow: auto; padding: 1.25rem; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.modal h2 { margin: .2rem 0 .6rem; font: 600 1.6rem Georgia, serif; }
.modal-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.2rem; }
.profile-video-player { width: 100%; max-height: 62vh; border-radius: 15px; background: #1e1a18; }
.video-placeholder { min-height: 230px; display: grid; place-content: center; gap: .7rem; padding: 1rem; text-align: center; color: white; background: linear-gradient(145deg,#5c4250,#886657); border-radius: 15px; }
.video-placeholder > span { font-size: 2.5rem; }
.toast-region { position: fixed; z-index: 100; right: 1rem; top: 1rem; display: grid; gap: .5rem; }
.toast { max-width: 360px; padding: .85rem 1rem; color: white; background: #332e2a; border-radius: 13px; box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.error { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) } }
.spinner { width: 22px; height: 22px; display: inline-block; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

@media (min-width: 1024px) {
  .app-shell { display: block; }
  .app-main { margin-left: 236px; }
  .desktop-rail { width: 236px; position: fixed; z-index: 30; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 1.35rem 1rem; color: #f7f2ed; background: #203f52; box-shadow: 10px 0 35px rgba(31,54,68,.1); }
  .rail-brand { display: flex; align-items: center; gap: .72rem; padding: .15rem .45rem 1.45rem; color: white; text-decoration: none; font: 700 1.25rem Georgia, serif; }
  .rail-brand .brand-mark { width: 42px; height: 42px; flex: 0 0 42px; margin: 0; border-radius: 14px; font-size: 1.2rem; box-shadow: none; }
  .desktop-nav { display: grid; gap: .38rem; }
  .desktop-nav .nav-item { min-height: 52px; grid-template-columns: 38px 1fr; justify-items: start; align-content: center; padding: 0 .7rem; color: #d7e2e8; border-radius: 14px; font-size: .86rem; text-align: left; }
  .desktop-nav .nav-item .nav-icon { min-width: 32px; color: #aec7d5; }
  .desktop-nav .nav-item.active, .desktop-nav .nav-item[aria-current="page"] { color: white; background: rgba(255,255,255,.12); }
  .desktop-nav .nav-item.active .nav-icon { color: #f4a6a1; }
  .desktop-rail > small { margin: auto .7rem 0; color: #aec7d5; }
  .bottom-nav { display: none; }
  .topbar { padding-inline: 2rem; }
  .page { width: min(100% - 4rem, 1240px); padding-bottom: 3rem; }
  .chat-page { height: calc(100vh - 72px); }
  .search-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .search-sidebar { max-height: calc(100vh - 112px); position: sticky; top: 94px; display: block; overflow-y: auto; padding: 1rem; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); scrollbar-width: thin; }
  .search-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
  .search-sidebar-head h2 { margin: 0; font: 600 1.35rem Georgia, serif; }
  .search-mobile-filter { display: none; }
  .compact-toggle { display: grid; }
  .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
  .search-grid.compact .profile-card { min-height: 350px; border-radius: var(--radius-md); }
  .search-grid.compact .profile-bio, .search-grid.compact .profile-card-meta, .search-grid.compact .profile-tags { display: none; }
  .search-grid.compact .profile-name { font-size: 1.15rem; }
}

@media (max-width: 1000px) {
  .landing-video-grid { grid-template-columns: 1fr; }
  .landing-video-card-head { min-height: auto; }
  .landing-header { grid-template-columns: 1fr auto; }
  .landing-header > nav { display: none; }
  .landing-brand small { display: none; }
  .landing-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); gap: 2rem; }
  .landing-hero-copy h1 { font-size: clamp(3.2rem, 7vw, 5rem); }
  .landing-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-profile-card { min-height: 520px; }
  .landing-how { gap: 3rem; }
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .match-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .signup-header, .onboarding-header { min-height: 64px; padding-inline: .75rem; }
  .signup-header .landing-login { display: none; }
  .signup-shell { width: min(100% - 1.25rem, 560px); min-height: auto; display: block; padding: 2.5rem 0 4rem; }
  .signup-intro { margin-bottom: 2rem; }
  .signup-intro h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .signup-promise { display: grid; }
  .onboarding-layout { width: min(100% - 1.25rem, 620px); display: block; padding: 1.2rem 0 6rem; }
  .onboarding-steps { display: none; }
  .onboarding-mobile-progress { display: grid; gap: .4rem; margin-bottom: 1.25rem; color: var(--muted); font-size: .78rem; font-weight: 750; }
  .onboarding-mobile-progress progress { width: 100%; accent-color: var(--coral); }
  .option-grid { grid-template-columns: 1fr; }
  .onboarding-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onboarding-public-preview { width: min(100%, 390px); }
  .onboarding-actions { position: sticky; z-index: 8; bottom: .5rem; margin: 1rem -.4rem -.4rem; padding: .55rem; background: rgba(255,255,255,.92); border-radius: var(--radius-md); backdrop-filter: blur(12px); }
  .result-toolbar { display: block; }
  .result-controls { margin-top: .8rem; }
  .sort-control { flex: 1; }
  .sort-control select { width: 100%; }
  .landing-header { min-height: 66px; padding: 0 1rem; }
  .landing-header-actions .landing-login { display: none; }
  .landing-hero { min-height: auto; display: block; padding: 4rem 1rem 3rem; }
  .landing-hero-shade { background: linear-gradient(90deg, rgba(28,20,17,.88), rgba(38,26,22,.45)), linear-gradient(0deg, rgba(22,15,13,.64), transparent 65%); }
  .landing-hero-copy { padding: 2rem 0 3rem; }
  .landing-hero-copy h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .landing-auth-card { max-width: 520px; margin: 0 auto; }
  .landing-scroll { display: none; }
  .landing-proof { grid-template-columns: repeat(2, 1fr); border-radius: 0 0 18px 18px; }
  .landing-proof div:nth-child(2) { border-right: 0; }
  .landing-proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .landing-section, .landing-editorial { width: min(100% - 1.25rem, 1280px); padding: 4.5rem 0; }
  .landing-section-head { grid-template-columns: 1fr; gap: 1rem; }
  .landing-section-head h2, .landing-how h2, .landing-safety h2, .landing-final h2 { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .landing-profile-card { min-height: 420px; }
  .landing-how, .landing-safety { grid-template-columns: 1fr; padding: 4.5rem 1rem; }
  .landing-translation, .landing-faq { grid-template-columns: 1fr; padding: 4.5rem 1rem; }
  .landing-translation h2, .landing-bridge h2, .landing-faq h2 { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .landing-bridge { padding: 4.5rem 1rem; }

  .landing-video { padding: 4.5rem .625rem; }
  .landing-center-promo { grid-template-columns:1fr; padding:4.5rem 0; }
  .landing-center-promo h2 { font-size:clamp(2.3rem,11vw,3.5rem); }
  .landing-video-head { grid-template-columns: 1fr; gap: 1rem; padding-inline: .375rem; }
  .landing-video-head h2 { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .landing-video-frame { border-radius: 18px; }
  .landing-video-play { gap: .5rem; padding: .45rem .75rem .45rem .45rem; }
  .landing-video-play span { width: 2.6rem; height: 2.6rem; }
  .landing-video-play strong { font-size: .78rem; }
  .landing-video-footer { align-items: flex-start; flex-direction: column; padding-inline: .375rem; }
  .landing-story-grid { grid-template-columns: 1fr; }
  .landing-story-grid a { min-height: 400px; }
  .landing-safety-list { grid-template-columns: 1fr; }
  .landing-final { padding: 5rem 1rem; }
  .landing-footer { grid-template-columns: 1fr; gap: 1.2rem; }
  .landing-footer > small { grid-column: auto; }
  .auth-shell { display: block; }
  .auth-story { min-height: 340px; padding: 1.5rem; }
  .auth-copy h1 { font-size: 3rem; }
  .auth-story > small { display: none; }
  .auth-panel { min-height: auto; padding: 2rem 1rem 4rem; }
  .topbar { height: 62px; padding: 0 1rem; }
  .guides-nav-link { display: none; }
  .page { width: min(100% - 1.25rem, 1240px); padding-top: 1.25rem; }
  .page-header { align-items: center; }
  .page-header h1 { font-size: 2rem; }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .profile-card { min-height: 430px; border-radius: 20px; }
  .profile-info { left: .75rem; right: .75rem; bottom: .75rem; }
  .profile-name { font-size: 1.2rem; }
  .profile-tags span:nth-child(n+3) { display: none; }
  .detail-hero { display: block; }
  .detail-photo { position: relative; top: 0; width: calc(100% + 1.25rem); margin: -1.25rem -.625rem 1.5rem; aspect-ratio: 4/4.7; border-radius: 0 0 28px 28px; }
  .profile-gallery { margin-bottom: 5.6rem; }
  .gallery-stage { border-radius: 0 0 28px 28px; }
  .gallery-thumbs { padding-inline: .625rem; }
  .detail-cta { position: sticky; z-index: 10; bottom: 82px; padding: .5rem; margin-inline: -.5rem; background: rgba(255,250,244,.9); backdrop-filter: blur(10px); border-radius: 18px; }
  .detail-cta .btn-primary { flex: 1; }
  .profile-editor { display: block; }
  .profile-side { position: static; margin-bottom: 1rem; }
  .avatar-large { width: 110px; height: 110px; border-radius: 34px; }
  .match-grid { grid-template-columns: repeat(3, 1fr); }
  .likes-tabs { grid-template-columns: repeat(4, minmax(130px, 1fr)); overflow-x: auto; }
  .likes-tab { min-width: 130px; }
  .safety-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .moderation-card { display: block; }
  .moderation-card .field-row { margin-top: .8rem; }
  .media-batch-bar { top: 62px; align-items: stretch; flex-direction: column; }
  .media-batch-actions { width: 100%; margin-left: 0; }
  .media-batch-actions .btn { flex: 1; }
  .privacy-action { display: block; }
  .privacy-action .btn { width: 100%; margin-top: .9rem; }
}
@media (max-width: 430px) {
  .landing-header .btn { min-height: 38px; padding: .5rem .7rem; }
  .landing-brand { font-size: 1.1rem; }
  .landing-brand .brand-mark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 12px; }
  .landing-hero { padding-inline: .65rem; }
  .landing-hero-copy { padding-inline: .35rem; }
  .landing-hero-copy > p { font-size: .98rem; }
  .landing-trust-inline { display: grid; }
  .landing-auth-card { padding: 1.15rem; border-radius: 20px; }
  .landing-proof { width: calc(100% - 1.25rem); }
  .landing-proof div { padding: 1rem; }
  .landing-profile-grid { grid-template-columns: 1fr; }
  .landing-profile-card { min-height: 460px; }
  .auth-copy h1 { font-size: 2.6rem; }
  .trust-points span:nth-child(3) { display: none; }
  .profile-grid, .skeleton-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: 520px; }
  .profile-location { font-size: .74rem; }
  .field-row { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: repeat(2, 1fr); }
  .likes-tabs { width: calc(100% + 1.25rem); margin-inline: -.625rem; border-radius: 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .topbar-brand > span:last-child { display: none; }
}
@media (max-width: 370px) {
  .bottom-nav { width: calc(100% - .35rem); padding-inline: .2rem; }
  .nav-item { font-size: .62rem; }
  .nav-item .nav-icon { min-width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.check-row a { color: var(--coral-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.public-information { min-height: 100vh; background: var(--cream); }
.public-information > .legal { padding-top: 42px; }
.public-information-actions { display: flex; justify-content: center; padding: 0 24px 48px; }
.public-information .landing-footer { margin-top: 0; }
@media (max-width: 760px) {
  .public-information > .legal { padding-top: 24px; }
  .public-information .landing-footer nav { align-items: flex-start; }
}

.auth-methods { display:grid; gap:.65rem; }
.oauth-button { min-height:46px; display:flex; align-items:center; justify-content:center; gap:.7rem; width:100%; padding:.72rem 1rem; color:var(--ink); background:#fff; border:1px solid #d7d2cb; border-radius:10px; font:750 .9rem/1 inherit; cursor:pointer; transition:border-color .18s,box-shadow .18s,transform .18s; }
.oauth-button:not(:disabled):hover { border-color:#a9a098; box-shadow:0 8px 22px rgba(42,33,27,.09); transform:translateY(-1px); }
.oauth-button:focus-visible { outline:3px solid rgba(199,91,84,.25); outline-offset:2px; }
.oauth-button:disabled { opacity:.58; cursor:not-allowed; background:#f6f4f1; }
.oauth-mark { width:1.25rem; display:inline-grid; place-items:center; font-size:1.12rem; font-weight:900; }
.google-mark { color:#4285f4; text-shadow:1px 0 #34a853,-1px 0 #ea4335; }
.apple-mark { color:#111; font:1.25rem/1 -apple-system,BlinkMacSystemFont,"Segoe UI Symbol",sans-serif; }
.provider-setup-note { display:block; margin:.1rem .4rem 0; color:var(--muted); text-align:center; line-height:1.45; }
.auth-divider { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:.75rem; margin:.9rem 0; color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; }
.auth-divider::before,.auth-divider::after { content:""; height:1px; background:var(--line); }
.password-fallback { display:block; margin:.85rem auto 0; padding:.35rem; color:var(--muted); background:transparent; border:0; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.auth-privacy-note { margin:.75rem 0 0; text-align:center; line-height:1.5; }
.signup-auth-choice .auth-methods { margin-top:.85rem; }

.center-member-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.center-member-card { min-height:300px; display:flex; flex-direction:column; padding:1.35rem; overflow:hidden; }
.center-member-card.unlocked { background:linear-gradient(145deg,#fff,#fff5ed); border-color:#e8cfc0; }
.center-card-top,.center-card-meta,.center-reader-head > div { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.55rem 1rem; }
.center-universe,.center-access-badge { font-size:.72rem; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.center-universe { color:var(--coral-dark); }
.center-access-badge { display:inline-flex; align-items:center; gap:.35rem; padding:.4rem .55rem; color:#52655a; background:#edf4ee; border-radius:999px; }
.center-member-card.locked .center-access-badge { color:#74675f; background:#f1ece7; }
.center-member-card h2 { margin:1.1rem 0 .65rem; font:600 1.7rem/1.15 Georgia,serif; }
.center-member-card > p { color:var(--muted); line-height:1.65; }
.center-card-meta { margin:auto 0 1rem; padding-top:1.2rem; color:var(--muted); font-size:.76rem; }
.center-future-offer { display:flex; align-items:center; justify-content:space-between; gap:2rem; margin-top:1.2rem; padding:1.4rem; }
.center-future-offer h2 { margin:.35rem 0; }
.center-future-offer p { max-width:720px; margin:0; color:var(--muted); line-height:1.6; }
.center-reader { padding-bottom:5rem; }
.center-reader-head { margin:2rem 0; padding-bottom:2rem; border-bottom:1px solid var(--line); }
.center-reader-head h1 { margin:.55rem 0 .8rem; font:600 clamp(2.6rem,6vw,4.8rem)/1 Georgia,serif; letter-spacing:-.04em; }
.center-reader-head > p { max-width:720px; color:var(--muted); font-size:1.05rem; line-height:1.7; }
.center-reader-head > div { justify-content:flex-start; color:var(--muted); font-size:.8rem; }
.center-lock-panel { display:flex; gap:1rem; align-items:flex-start; margin:1.5rem 0; padding:1.35rem; background:#fff3ea; border-color:#efd1bf; }
.center-lock-panel > .ui-icon { width:2rem; height:2rem; color:var(--coral-dark); }
.center-lock-panel h2 { margin:0 0 .4rem; }
.center-lock-panel p { color:var(--muted); }
.dossier-content { color:#403b37; font:1.03rem/1.82 Georgia,serif; }
.dossier-content h1 { display:none; }
.dossier-content h2 { margin:2.6rem 0 .8rem; font:600 2rem/1.2 Georgia,serif; }
.dossier-content h3 { margin:2rem 0 .6rem; font:600 1.45rem/1.25 Georgia,serif; }
.dossier-content h4 { margin:1.5rem 0 .45rem; font:700 1.08rem/1.35 Inter,sans-serif; }
.dossier-content ul,.dossier-content ol { padding-left:1.35rem; }
.dossier-content li { margin:.55rem 0; }
.dossier-subtitle { color:var(--muted); font-size:1.12rem; }
.dossier-table-scroll { margin:1.5rem 0; overflow-x:auto; }
.dossier-content table { width:100%; border-collapse:collapse; font: .86rem/1.5 Inter,sans-serif; background:#fff; }
.dossier-content th,.dossier-content td { min-width:140px; padding:.75rem; border:1px solid var(--line); text-align:left; vertical-align:top; }
.dossier-content th { color:#fff; background:#4c3a35; }
.dossier-translation-note { margin:0 0 2rem; padding:1rem 1.15rem; border:1px solid #e8d7c4; border-radius:14px; background:#fff7ed; font: .9rem/1.55 Inter,sans-serif; }
.dossier-translation-note strong { color:#9b402f; }
.dossier-translation-note p { margin:.35rem 0 0; color:var(--muted); }
.center-legal-note { margin-top:3rem; padding-top:1.5rem; border-top:1px solid var(--line); color:var(--muted); line-height:1.6; }
.couple-empty,.couple-project-card { padding:2rem; text-align:center; }
.couple-empty > .ui-icon,.couple-mark .ui-icon { width:3rem; height:3rem; color:var(--coral); }
.couple-empty h2,.couple-project-card h2 { margin:.8rem 0; font:600 2rem Georgia,serif; }
.couple-empty p,.couple-project-card p { max-width:620px; margin:.5rem auto 1.4rem; color:var(--muted); line-height:1.65; }
.couple-project-card.confirmed { background:linear-gradient(145deg,#fff,#fff0e7); border-color:#eccdbb; }
.couple-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:.7rem; }
.couple-exit { margin-top:1rem; padding:1.35rem; }
.couple-exit p { color:var(--muted); line-height:1.6; }

@media (max-width:760px) {
  .center-nav-link { display:inline-grid; }
  .center-member-grid { grid-template-columns:1fr; }
  .center-future-offer { display:block; }
  .center-future-offer .status { display:inline-block; margin-top:1rem; }
  .center-reader-head h1 { font-size:2.55rem; }
  .dossier-content h2 { font-size:1.65rem; }
}
