/* Velyra Home V3 - scoped modern layout, existing site navigation retained */
body:has(.v3-home){background:#fbf9ff!important;color:#1a1932!important}
.v3-home{max-width:1280px;margin:0 auto;padding:16px 28px 8px;color:#1d1a35;font-family:inherit}
.v3-home *{box-sizing:border-box}
.v3-home a{text-decoration:none}
.v3-hero{display:grid;grid-template-columns:52% 48%;align-items:center;min-height:550px;position:relative;overflow:hidden;isolation:isolate;border-radius:34px;padding:56px 52px;background:radial-gradient(circle at 82% 15%,#f7c3e5 0,transparent 42%),linear-gradient(125deg,#fff 4%,#fdf5ff 56%,#f0e5ff 100%);box-shadow:0 18px 50px rgba(86,41,110,.07)}
.v3-hero-copy{z-index:2;max-width:590px}.v3-eyebrow,.v3-overline{font-size:11px;letter-spacing:2px;font-weight:900;color:#9a4ed9}.v3-hero h1{font-size:clamp(43px,5vw,70px);line-height:1.045;font-weight:850;letter-spacing:-2.9px;color:#17162f;margin:18px 0 20px}.v3-hero h1 em{font-style:normal;background:linear-gradient(95deg,#7140eb,#e837a4);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.v3-hero p{font-size:18px;line-height:1.65;color:#58566e;max-width:475px;margin:0 0 24px}.v3-trust{display:flex;gap:11px;flex-wrap:wrap;margin-bottom:28px}.v3-trust span{color:#5f5871;background:#ffffffac;border:1px solid #eee2fa;border-radius:50px;padding:9px 12px;font-size:12px;font-weight:700}.v3-hero-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.v3-btn-primary,.v3-btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:51px;border-radius:50px;padding:12px 27px;font-weight:800;font-size:15px!important}.v3-btn-primary{background:linear-gradient(100deg,#663af1,#e93caa);color:#fff!important;box-shadow:0 13px 22px #a94ae242}.v3-btn-outline{border:1px solid #dbc7f0;background:#fff;color:#6438b7!important}.v3-hero-small{display:block;margin-top:19px;font-size:12px;color:#888198}
.v3-hero-visual{height:460px;position:relative;min-width:0}.v3-hero-halo{position:absolute;inset:20px 0 10px 15px;border-radius:50%;background:radial-gradient(circle,#e5b5ecb8,#bca8f344 58%,transparent 75%);filter:blur(17px)}.v3-portrait{position:absolute;overflow:hidden;border:6px solid white;border-radius:24px;background:linear-gradient(135deg,#ddc5ef,#8b66ca);box-shadow:0 20px 55px #51436a33}.v3-portrait-1{left:24%;top:0;width:54%;height:96%;z-index:3;transform:rotate(2deg)}.v3-portrait-2{left:0;top:15%;width:41%;height:72%;z-index:2;transform:rotate(-10deg)}.v3-portrait-3{right:-5%;top:14%;width:39%;height:74%;z-index:2;transform:rotate(9deg)}.v3-portrait img{width:100%;height:100%;object-fit:cover;display:block}.v3-portrait-placeholder{display:grid;place-items:center;height:100%;font-size:75px;color:#fff}.v3-portrait:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#201329b8)}.v3-portrait-name{position:absolute;z-index:1;bottom:14px;left:13px;font-size:19px;font-weight:800;color:#fff}.v3-floating-note{position:absolute;z-index:5;right:4%;bottom:9px;background:white;border:1px solid #eed7fa;padding:13px 20px;border-radius:30px;box-shadow:0 10px 30px #8169a42e;font-size:13px;font-weight:800;color:#7c3ed0}
.v3-steps,.v3-featured{padding:42px 8px 12px}.v3-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.v3-section-heading h2{font-size:29px;line-height:1.2;color:#1a1932;margin:5px 0 0;letter-spacing:-.9px}.v3-section-heading a,.v3-benefit a{font-size:13px!important;font-weight:800;color:#7e40d5!important;white-space:nowrap}.v3-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.v3-step-grid>div{display:flex;align-items:flex-start;flex-direction:column;gap:9px;background:#fff;border:1px solid #f0eaf5;border-radius:19px;padding:21px;min-height:153px;box-shadow:0 6px 20px #31225607}.v3-step-grid b{background:#f0e8ff;color:#7937cd;display:grid;place-items:center;border-radius:50%;height:37px;width:37px;font-size:13px}.v3-step-grid strong{font-size:15px;color:#252139}.v3-step-grid small{color:#767080;font-size:12px;line-height:1.5}
.v3-member-scroller{display:flex;overflow-x:auto;gap:15px;padding:0 0 12px;scroll-snap-type:x mandatory;scrollbar-color:#d6b7f1 transparent}.v3-member-card{flex:0 0 182px;min-width:0;scroll-snap-align:start;border-radius:19px;overflow:hidden;background:#fff;box-shadow:0 8px 25px #29193514}.v3-member-picture{height:215px;background:linear-gradient(125deg,#ecd4ed,#aa9ae3);display:grid;place-items:center;color:white;font-size:46px}.v3-member-picture img{width:100%;height:100%;object-fit:cover}.v3-member-caption{padding:13px 14px 15px;display:flex;flex-direction:column;gap:4px}.v3-member-caption strong{color:#201d35;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v3-member-caption small{color:#898394;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v3-benefits{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding:25px 8px}.v3-benefit{min-height:195px;padding:28px;display:flex;gap:21px;align-items:center;border-radius:24px;overflow:hidden}.v3-benefit-video{background:linear-gradient(110deg,#f2eafd,#fcecff)}.v3-benefit-safety{background:linear-gradient(110deg,#ffeef7,#fae5f5)}.v3-benefit-symbol{flex:0 0 95px;height:100px;display:grid;place-items:center;background:#ffffff9c;color:#9f4fda;border-radius:24px;font-size:62px;box-shadow:0 8px 30px #ba93d128}.v3-benefit h2{font-size:24px;color:#251d39;margin:6px 0}.v3-benefit p{color:#6d6277;line-height:1.5;font-size:14px;margin:0 0 12px}
.v3-match-details{margin:20px 8px 35px;border:1px solid #eadcf5;background:#fff;border-radius:22px;overflow:hidden}.v3-match-details>summary{cursor:pointer;list-style:none;padding:23px 28px;display:flex;justify-content:space-between;align-items:center;color:#27203c}.v3-match-details>summary::-webkit-details-marker{display:none}.v3-match-details summary span:first-child{display:flex;flex-direction:column;gap:4px}.v3-match-details summary strong{font-size:18px}.v3-match-details summary small{color:#777184;font-size:13px}.v3-detail-chevron{font-size:28px;color:#9149d4}.v3-match-details[open] .v3-detail-chevron{transform:rotate(45deg)}.v3-match-details .onboard-box{margin:0 18px 20px!important;max-width:none!important}.v3-match-details .onboard-form{max-width:none!important}
body:has(.v3-home) .live-community-panel{max-width:1225px;margin:14px auto 28px!important;border-radius:23px!important}
body:has(.v3-home) .seo-content{max-width:1225px!important;margin:0 auto 40px!important;color:#27213e!important;padding:0 28px!important}
body:has(.v3-home) .seo-section{background:#fff!important;border:1px solid #f0e9f5!important;border-radius:23px!important;padding:25px!important;margin:15px 0!important;box-shadow:0 8px 25px #40306108!important}
body:has(.v3-home) .seo-section h2{color:#251d39!important;font-size:24px!important}
body:has(.v3-home) .seo-section p{color:#746c80!important}
body:has(.v3-home) .seo-links a{border-radius:40px!important}
body:has(.v3-home) .seo-grid{gap:10px!important}
body:has(.v3-home) .seo-card{box-shadow:none!important;border-radius:14px!important}
body:has(.v3-home) .seo-section:first-child,body:has(.v3-home) .seo-section:nth-child(2){display:none!important}
.v3-dating-near-you .seo-hub-grid{display:flex!important;overflow-x:auto;gap:10px}.v3-dating-near-you .seo-hub-grid .seo-card{flex:0 0 180px!important;padding:15px!important}.v3-dating-near-you .seo-hub-grid .seo-card p{display:none!important}.v3-dating-near-you .seo-hub-grid .seo-card h3{font-size:14px!important;margin:0!important}
.v3-faq-section .faq-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v3-faq-section .faq-item{background:#faf8fd!important;border:1px solid #ede5f5!important;border-radius:13px!important;margin:0!important;padding:17px!important}.v3-faq-section .faq-item h3{margin:0!important;color:#282037!important;font-size:14px!important;cursor:pointer}.v3-faq-section .faq-item h3:after{content:'+';float:right;font-size:22px;font-weight:400}.v3-faq-section .faq-item p{display:none!important;margin:12px 0 0!important;font-size:13px!important;line-height:1.6!important}.v3-faq-section .faq-item.is-open p{display:block!important}.v3-faq-section .faq-item.is-open h3:after{content:'−'}
@media(max-width:900px){.v3-hero{grid-template-columns:1fr;gap:20px;padding:42px 25px}.v3-hero-copy{max-width:unset}.v3-hero-visual{height:350px;max-width:550px;width:100%;margin:auto}.v3-step-grid{grid-template-columns:repeat(2,1fr)}.v3-benefits{grid-template-columns:1fr}}
@media(max-width:600px){.v3-home{padding:10px 13px}.v3-hero{padding:34px 20px;border-radius:23px;min-height:0}.v3-hero h1{font-size:43px;letter-spacing:-2px}.v3-hero p{font-size:15px}.v3-hero-visual{height:280px}.v3-floating-note{font-size:10px;padding:10px}.v3-section-heading h2{font-size:24px}.v3-steps,.v3-featured{padding:30px 0 10px}.v3-step-grid{gap:9px}.v3-step-grid>div{min-height:142px;padding:15px}.v3-member-card{flex-basis:151px}.v3-member-picture{height:180px}.v3-benefit{padding:20px;gap:14px}.v3-benefit-symbol{flex-basis:60px;height:65px;font-size:37px}.v3-benefit h2{font-size:20px}.v3-match-details{margin:18px 0}.v3-match-details>summary{padding:18px}.v3-match-details summary strong{font-size:15px}.v3-faq-section .faq-list{grid-template-columns:1fr}body:has(.v3-home) .seo-content{padding:0 13px!important}body:has(.v3-home) .seo-section{padding:17px!important}}


/* V4: contrast, sizing and density corrections for the live V3 homepage.
   Scoped to the homepage so Messages, Browse, Admin and site navigation are unaffected. */
body:has(.v3-home) .v3-match-details .onboard-box {
  background:#fff !important; border:0 !important; box-shadow:none !important;
  margin:0 18px 20px !important; padding:18px !important;
}
body:has(.v3-home) .v3-match-details .onboard-form,
body:has(.v3-home) .v3-match-details .match-starter {width:100%;max-width:none!important}
body:has(.v3-home) .v3-match-details .match-starter {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body:has(.v3-home) .v3-match-details .match-step {min-width:0;padding:22px!important;border-radius:20px!important;background:#faf8ff!important;border:1px solid #e9ddf4!important;box-shadow:none!important}
body:has(.v3-home) .v3-match-details .match-step-title {color:#312445!important;font-size:14px!important;letter-spacing:.025em!important;margin-bottom:15px!important}
body:has(.v3-home) .v3-match-details .match-step-title span:last-child {color:#786a89!important;font-size:12px!important}
body:has(.v3-home) .v3-match-details .match-card-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body:has(.v3-home) .v3-match-details .match-card-inner {min-height:125px!important;padding:19px 15px!important;background:#fff!important;color:#271d3b!important;border:1.5px solid #dfd4ec!important;border-radius:18px!important;box-shadow:0 4px 16px #45245d0a!important;gap:10px!important}
body:has(.v3-home) .v3-match-details .match-icon {font-size:30px!important}
body:has(.v3-home) .v3-match-details .match-label {color:#271d3b!important;font-size:16px!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
body:has(.v3-home) .v3-match-details .match-sub {color:#65566f!important;font-size:12px!important;font-weight:650!important}
body:has(.v3-home) .v3-match-details .match-card input:checked + .match-card-inner {border-color:#9d58da!important;background:linear-gradient(130deg,#f3edff,#fde9f5)!important;box-shadow:0 6px 19px #9b4ccd24!important}
body:has(.v3-home) .v3-match-details .match-card input:focus-visible + .match-card-inner,
body:has(.v3-home) .v3-match-details .match-chip input:focus-visible + span {outline:3px solid #9254cf;outline-offset:3px}
body:has(.v3-home) .v3-match-details .match-chip span {background:#fff!important;border:1px solid #ddcfec!important;color:#453451!important;font-size:13px!important;min-height:43px!important;padding:8px 15px!important}
body:has(.v3-home) .v3-match-details .match-chip input:checked + span {background:#efe4fe!important;border-color:#9451d4!important;color:#51207d!important}
body:has(.v3-home) .v3-match-details .match-date-card span {background:#fff!important;color:#392847!important;border:1px solid #dfd2eb!important;min-height:92px!important;padding:14px!important}
body:has(.v3-home) .v3-match-details .match-date-card strong {color:#2e213e!important;font-size:15px!important}
body:has(.v3-home) .v3-match-details .match-date-card small,
body:has(.v3-home) .v3-match-details .match-helper-line {color:#665b72!important;font-size:12px!important}
body:has(.v3-home) .v3-match-details .select {background:#fff!important;color:#251d36!important;border:1px solid #d9c9e8!important}
body:has(.v3-home) .live-community-panel {background:linear-gradient(115deg,#f0f4ff,#fff1f8)!important;border:1px solid #e7daf1!important;box-shadow:0 12px 35px #45305716!important;}
body:has(.v3-home) .live-community-badge {background:#fff!important;color:#493260!important;border:1px solid #e2d4ef!important;font-size:12px!important}
body:has(.v3-home) .live-community-caption {color:#5d526b!important;font-size:14px!important}
body:has(.v3-home) .live-stat-grid {gap:14px!important}
body:has(.v3-home) .live-stat-card {min-height:145px!important;background:#ffffffd9!important;border:1px solid #e7dcec!important;border-radius:18px!important;padding:19px!important}
body:has(.v3-home) .live-stat-number {color:#352348!important;text-shadow:none!important;font-size:37px!important}
body:has(.v3-home) .live-stat-label {color:#564663!important;font-size:12px!important;letter-spacing:.02em!important}
body:has(.v3-home) .live-stat-icon {font-size:24px!important}
body:has(.v3-home) .seo-section {height:auto!important;min-height:0!important;overflow:visible!important}
body:has(.v3-home) .seo-section h2,
body:has(.v3-home) .seo-section .seo-subtitle,
body:has(.v3-home) .seo-section .seo-country-row strong {color:#251d38!important}
body:has(.v3-home) .seo-section p {color:#5d536b!important;font-size:15px!important;line-height:1.55!important}
body:has(.v3-home) .seo-links {display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:16px!important}
body:has(.v3-home) .seo-links a {display:inline-flex!important;align-items:center!important;min-height:42px!important;padding:8px 17px!important;background:#f7f3ff!important;border:1px solid #e3d8f1!important;color:#503576!important;border-radius:99px!important;font-size:13px!important;font-weight:750!important;opacity:1!important;visibility:visible!important}
body:has(.v3-home) .seo-links a:hover {background:#eee4fb!important;border-color:#a36cdf!important}
body:has(.v3-home) .v3-dating-near-you .seo-hub-grid {display:flex!important;overflow-x:auto!important;gap:12px!important;padding:6px 1px 12px!important;scroll-snap-type:x proximity}
body:has(.v3-home) .v3-dating-near-you .seo-hub-grid .seo-hub-card {display:flex!important;flex:0 0 220px!important;min-height:105px!important;padding:20px!important;align-items:center!important;background:linear-gradient(130deg,#fff,#f8f3fe)!important;border:1px solid #e1d3ee!important;color:#30223f!important;border-radius:17px!important;box-shadow:0 5px 18px #51407810!important;scroll-snap-align:start}
body:has(.v3-home) .v3-dating-near-you .seo-hub-grid .seo-card h3 {color:#352546!important;font-size:17px!important;line-height:1.3!important}
body:has(.v3-home) .v3-faq-section .faq-item h3 {color:#302542!important}
body:has(.v3-home) .v3-faq-section .faq-item p {color:#5b5168!important}
@media (max-width:850px) {
 body:has(.v3-home) .v3-match-details .match-starter {grid-template-columns:1fr!important}
 body:has(.v3-home) .live-stat-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:540px) {
 body:has(.v3-home) .v3-match-details .onboard-box {margin:0 8px 12px!important;padding:8px!important}
 body:has(.v3-home) .v3-match-details .match-step {padding:15px!important}
 body:has(.v3-home) .v3-match-details .match-card-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.v3-home) .v3-match-details .match-card-inner {min-height:100px!important;padding:13px!important}
 body:has(.v3-home) .v3-match-details .match-label {font-size:14px!important}
 body:has(.v3-home) .live-community-top {flex-direction:column;align-items:flex-start}
 body:has(.v3-home) .live-community-caption {text-align:left!important}
 body:has(.v3-home) .live-stat-card {min-height:130px!important;padding:14px!important}
 body:has(.v3-home) .live-stat-number {font-size:30px!important}
 body:has(.v3-home) .v3-dating-near-you .seo-hub-grid .seo-hub-card {flex-basis:190px!important}
}

/* Shared EN/RU/ES hero geometry. Prevent iOS landscape text autosizing. */
html:has(.v3-home){-webkit-text-size-adjust:100%;text-size-adjust:100%}
.v3-home .v3-hero{grid-template-columns:minmax(0,52fr) minmax(0,48fr)}
.v3-home .v3-hero-copy{min-width:0;width:100%}
.v3-home .v3-eyebrow{display:block;min-height:32px;line-height:16px}
.v3-home .v3-hero h1{font-size:48px;line-height:1.1;letter-spacing:-2px;min-height:106px;margin:10px 0 20px;overflow-wrap:normal}
.v3-home .v3-hero-copy>p{font-size:18px;line-height:1.65;min-height:149px;margin-bottom:24px}
.v3-home .v3-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:28px}
.v3-home .v3-trust span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;font-size:12px;line-height:16px;padding:8px}
.v3-home .v3-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v3-home .v3-hero-actions>a{min-width:0;min-height:54px;padding:10px 14px;font-size:15px!important;line-height:20px;text-align:center;gap:8px}
.v3-home .v3-hero-small{min-height:36px;line-height:18px}
.v3-home .v3-floating-note{max-width:95%;min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:18px}
@media(min-width:901px) and (max-width:1100px){
 .v3-home .v3-hero h1{font-size:34px;min-height:75px;letter-spacing:-1.5px}
 .v3-home .v3-hero{padding:42px 30px}
}
@media(max-width:900px){
 .v3-home .v3-hero{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 .v3-home .v3-hero h1{font-size:27px;line-height:1.15;letter-spacing:-1px;min-height:63px}
 .v3-home .v3-hero-copy>p{font-size:15px;line-height:1.6;min-height:144px}
 .v3-home .v3-eyebrow{font-size:10px;letter-spacing:1px}
 .v3-home .v3-trust span{font-size:10px;line-height:14px;min-height:60px;padding:7px 5px}
 .v3-home .v3-hero-actions>a{font-size:13px!important;min-height:60px;padding:10px;line-height:18px}
 .v3-home .v3-floating-note{font-size:10px;line-height:14px;min-height:48px;padding:10px}
}
