/* Selfie discovery marketing preview. Scoped independently of legacy dark panels. */
.page-home .lp-discovery-preview{box-sizing:border-box;width:100%;max-width:480px;margin-inline:auto;padding:24px;border:1px solid #e2e3e7;border-radius:24px;background:#fff;box-shadow:0 18px 48px rgba(22,24,30,.09);color:#101217;font-family:inherit}
.page-home .lp-discovery-preview *{box-sizing:border-box}
.page-home .lp-discovery-preview__header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.page-home .lp-discovery-preview__eyebrow{padding:7px 13px;border-radius:99px;background:#fce9eb;color:#d00000;font-size:10px;font-weight:700;line-height:1.4;letter-spacing:1.1px;text-transform:uppercase}
.page-home .lp-discovery-preview__coming{flex-shrink:0;padding:5px 12px;border:1px solid #c9ccd3;border-radius:99px;color:#626772;font-size:12px;line-height:1.4}
.page-home .lp-discovery-preview__title{margin:0;color:#080b10;font-size:clamp(23px,2.2vw,30px);font-weight:700;line-height:1.2;letter-spacing:-.8px}
.page-home .lp-discovery-preview__intro{margin:7px 0 22px;color:#757981;font-size:17px;font-weight:500;line-height:1.4}
.page-home .lp-discovery-preview__upload{display:grid;grid-template-columns:64px 28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:106px;padding:14px;border:1px dashed #c8cbd2;border-radius:17px;background:#fafafb}
.page-home .lp-discovery-preview__avatar{position:relative;display:block;width:64px;height:72px;border-radius:14px;overflow:hidden;background:#eee}
.page-home .lp-discovery-preview__avatar img{position:absolute;max-width:none;width:600%;height:auto;left:-65%;top:-55%;object-fit:initial}
.page-home .lp-discovery-preview__upload-icon{color:#d00000;font-size:27px;line-height:1}
.page-home .lp-discovery-preview__upload-copy{min-width:0}
.page-home .lp-discovery-preview__upload-copy strong{display:block;color:#101217;font-size:14px;font-weight:600;line-height:1.4}
.page-home .lp-discovery-preview__upload-copy span{display:block;margin-top:3px;color:#7c808a;font-size:11px;line-height:1.4}
.page-home .lp-discovery-preview__choose{min-height:36px;padding:7px 10px;border:1px solid #989da7;border-radius:9px;background:#fff;color:#101217;font-family:inherit;font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap;opacity:1;cursor:not-allowed}
.page-home .lp-discovery-preview__results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 10px}
.page-home .lp-discovery-preview__results-heading h4{display:flex;align-items:center;gap:8px;margin:0;color:#101217;font-size:15px;font-weight:600;line-height:1.4}
.page-home .lp-discovery-preview__results-heading h4 i{color:#d00000;font-size:20px}
.page-home .lp-discovery-preview__results-heading>span{padding:5px 10px;border-radius:99px;background:#f1f2f4;color:#747985;font-size:11px;line-height:1.4;white-space:nowrap}
.page-home .lp-discovery-preview__photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.page-home .lp-discovery-preview__photos figure{position:relative;min-width:0;margin:0;aspect-ratio:3/4;overflow:hidden;border-radius:13px;background:#f0f0f0}
.page-home .lp-discovery-preview__photos img{position:absolute;display:block;max-width:none;width:300%;height:auto;left:0;top:0}
.page-home .lp-discovery-preview__photos figure>span{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#d00000;color:#fff;box-shadow:0 2px 6px #0002;font-size:11px;z-index:1}
.page-home .lp-discovery-preview__photos figure:nth-child(2) img{left:-100%}
.page-home .lp-discovery-preview__photos figure:nth-child(3) img{left:-200%}
.page-home .lp-discovery-preview__photos figure>span svg{display:block;flex:none;width:12px;height:12px;max-width:none}
.page-home .lp-discovery-preview__privacy{display:flex;align-items:center;gap:8px;margin:16px 0 18px;padding:0;background:transparent;color:#7a7f89;font-size:12px;line-height:1.5}
.page-home .lp-discovery-preview__privacy i{flex-shrink:0;font-size:19px}
.page-home .lp-discovery-preview__cta{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;padding:11px 16px;border:1px solid #d00000;border-radius:12px;background:#d00000;color:#fff!important;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;transition:background-color .18s,border-color .18s}
.page-home .lp-discovery-preview__cta i{font-size:20px}
.page-home .lp-discovery-preview__cta:hover{background:#b90000;border-color:#b90000;color:#fff!important}
.page-home .lp-discovery-preview__cta:focus-visible{outline:3px solid #eb8e97;outline-offset:4px}
.page-home #photo-match-steps{scroll-margin-top:110px}
@media(min-width:992px) and (max-width:1199px){.page-home .lp-discovery-preview{padding:20px}.page-home .lp-discovery-preview__upload{grid-template-columns:52px 24px minmax(0,1fr);padding:12px;gap:8px}.page-home .lp-discovery-preview__avatar{width:52px}.page-home .lp-discovery-preview__choose{grid-column:2/4;justify-self:start}}
@media(max-width:479px){.page-home .lp-discovery-preview{padding:19px;border-radius:22px}.page-home .lp-discovery-preview__header{gap:8px;margin-bottom:19px}.page-home .lp-discovery-preview__eyebrow{padding:6px 10px;font-size:9px;letter-spacing:.8px}.page-home .lp-discovery-preview__coming{font-size:11px;padding:5px 10px}.page-home .lp-discovery-preview__intro{font-size:15px;margin-bottom:18px}.page-home .lp-discovery-preview__upload{grid-template-columns:48px 22px minmax(0,1fr);gap:8px;padding:12px}.page-home .lp-discovery-preview__avatar{width:48px;height:60px;grid-row:1/3}.page-home .lp-discovery-preview__upload-icon{font-size:23px}.page-home .lp-discovery-preview__upload-copy strong{font-size:13px}.page-home .lp-discovery-preview__choose{grid-column:2/4;justify-self:start;min-height:34px}.page-home .lp-discovery-preview__results-heading h4{font-size:14px}.page-home .lp-discovery-preview__results-heading>span{font-size:10px;padding:5px 8px}.page-home .lp-discovery-preview__privacy{font-size:11px}.page-home .lp-discovery-preview__cta{font-size:14px}}
@media(prefers-reduced-motion:reduce){.page-home .lp-discovery-preview__cta{transition:none}}

/* Omit the outer selfie-search subtitle on phones. */
@media(max-width:767px){.page-home .lumis-photo-match .lp-discovery-intro-copy{display:none}}

/* Mobile discovery uses the preview card's title instead of a duplicate heading. */
@media(max-width:767px){
 .page-home .lumis-photo-match #photo-match-title{display:none}
 .page-home .lumis-photo-match .lp-discovery-preview{margin-top:20px}
}

/* Two equal portrait previews on phones; preserve the source-panel crop ratio. */
@media(max-width:767px){
 .page-home .lp-discovery-preview__photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .page-home .lp-discovery-preview__photos figure:nth-child(n+3){display:none}
 .page-home .lp-discovery-preview__photos figure{aspect-ratio:3/4}
}
