/* Square image windows preserve portrait proportions at every screen size. */
.brand{display:block;width:190px;line-height:0}.brand img{width:100%;height:auto;display:block}
main{padding-top:26px}.intro{margin-bottom:22px}.intro h1{font-size:38px;letter-spacing:-1.8px;line-height:1.15}.eyebrow{font-size:12px}.mini-stack{display:none}
.model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 26px}
.model-card{background:white;min-height:0;overflow:visible;border-radius:0;display:flex;flex-direction:column;padding:0 6px}
.model-card:after{display:none}.model-photo{position:relative;inset:auto;aspect-ratio:1;width:100%;border-radius:50%;flex-shrink:0;background-size:300% 200%;z-index:0}
.model-card:hover .model-photo{transform:none}.card-top{top:12px;left:16px;right:16px;z-index:1}.online{font-size:12px}.heart{width:44px;height:44px;box-shadow:0 2px 14px #07111f18}
.card-copy{position:static;color:var(--ink);padding:14px 2px 0}.card-copy h3{font-size:24px}.card-copy .meta{font-size:13px;color:#687583}.tags{margin-bottom:12px;gap:6px}.tags span{font-size:12px;background:#edf4ff;color:#235eb8;padding:6px 10px}
.chat-btn{background:var(--blue);color:white;min-height:44px;border-radius:999px}.chat-btn:hover{background:#0652d7}
.banner{grid-template-columns:220px 1fr auto;padding:0 28px 0 0;gap:28px;min-height:220px;background:#eff5ff;color:var(--ink)}
.group-photo{width:220px;height:250px;object-fit:cover;object-position:50% 24%;display:block}.banner span{color:#275fc0}.banner button{background:var(--blue);color:white}.banner button span{color:white}.banner h2{line-height:1.3}
.composer input{font-size:16px}.chat-panel{max-height:calc(100dvh - 36px)}button:focus-visible,a:focus-visible{outline:3px solid #77acff;outline-offset:3px}.trust{font-size:13px}
@media(max-width:850px){.model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}.banner{grid-template-columns:170px 1fr;padding:0 22px 0 0;gap:18px}.group-photo{width:170px;height:100%;grid-row:1/3;min-height:240px}.banner>div{align-self:end;padding-top:20px}.banner button{grid-column:2;align-self:start;justify-self:start;margin-bottom:20px}.card-copy h3{font-size:21px}}
@media(max-width:560px){.brand{width:155px}.topbar{padding:0 14px;height:70px}main{padding:18px 16px 28px}.intro h1{font-size:30px;letter-spacing:-1px;margin:10px 0}.eyebrow{letter-spacing:.6px;margin:0}.sub{font-size:16px}.filters{gap:8px;margin-bottom:22px}.chip{font-size:14px;min-height:44px}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.model-card{padding:0;min-height:0}.card-top{left:5px;right:1px;top:5px}.online{font-size:12px;padding:6px 8px}.heart{width:36px;height:36px}.card-copy{padding-top:12px}.card-copy h3{font-size:21px}.card-copy .meta{font-size:12px;line-height:1.4;min-height:34px;margin:4px 0 8px}.tags{flex-wrap:wrap;gap:4px;min-height:58px;align-content:start}.tags span{font-size:12px;padding:5px 8px}.chat-btn{font-size:14px;padding:11px 5px;min-height:44px}.banner{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;margin-top:30px}.group-photo{width:100%;height:auto;aspect-ratio:1.25;min-height:0;object-fit:cover;object-position:50% 24%}.banner>div{padding:20px 20px 12px;align-self:auto}.banner h2{font-size:23px;margin-top:8px}.banner button{margin:0 20px 20px;align-self:stretch;min-height:46px}.chat-panel{max-height:100dvh;height:100dvh;padding-bottom:env(safe-area-inset-bottom)}.trust{font-size:12px;gap:10px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* A single portrait sheet keeps discovery bubbles and chat avatars in sync. */
.model-photo,.sprite{background-image:url('assets/characters-unique.png')}
.teaser{font-size:16px;line-height:1.45;color:#43546c;margin:8px 0 12px;min-height:47px}
.card-copy{flex:1;display:flex;flex-direction:column}.chat-btn{margin-top:auto}
.bubble{font-size:16px}.bubble small{font-size:12px}.quick-replies button{font-size:14px}
@media(max-width:560px){.teaser{font-size:14px;min-height:61px}.tags span{font-size:14px}.tags{min-height:66px}.card-copy .meta{font-size:13px}.chat-panel{height:100dvh}}

/* Uploaded Elsa portrait: the same proportional crop at every size. */
.model-photo.elsa-photo,.sprite.p3{background-image:url('assets/elsa-beach.jpeg');background-size:135% auto;background-position:30% 25%!important;background-repeat:no-repeat}

/* Tap portraits to explore a character before starting a chat. */
button.model-photo{border:0;padding:0;display:block;background-color:#edf2f7}
.card-top{pointer-events:none}.card-top .heart{pointer-events:auto}
.model-photo.p1,.sprite.p1{background-image:url('assets/sofia-enhanced.png');background-size:cover;background-position:50% 30%!important}
.model-photo.p5,.sprite.p5{background-image:url('assets/maeve-original.jpeg');background-size:140% auto;background-position:50% 30%!important}
.profile-dialog{border:0;border-radius:28px;padding:0;width:min(860px,calc(100% - 32px));max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 24px 90px #07111f40}
.profile-dialog::backdrop{background:#07111f80;backdrop-filter:blur(5px)}
.profile-layout{display:grid;grid-template-columns:40% 60%}
.profile-portrait{width:100%;aspect-ratio:1;align-self:start;border-radius:24px;margin-top:68px}
.profile-portrait.p1,.profile-portrait.p5{aspect-ratio:2/3;background-position:center!important}
.profile-body{padding:36px 30px 24px;min-width:0}
.close-profile{position:absolute;right:14px;top:14px;width:40px;height:40px;border-radius:50%;border:1px solid #dfe5ed;background:white;color:var(--ink);font-size:26px;z-index:1}
.profile-label{font-size:12px!important;letter-spacing:1.2px;color:#2865c7;font-weight:700;padding-right:24px}
.profile-body h2{font:800 32px Manrope,sans-serif;margin:10px 0 6px}
.profile-meta{color:#667489;font-size:14px!important}
.profile-body h3{font-size:16px;margin:24px 0 8px}
.profile-body p{font-size:16px;line-height:1.6;margin:8px 0}
.profile-vibe{color:#235eb8;font-weight:600}
.profile-interests{display:flex;flex-wrap:wrap;gap:8px}
.profile-interests span{font-size:14px;border-radius:30px;padding:8px 12px;background:#edf4ff;color:#235eb8}
.profile-prompt{background:#f4f7fc;border-radius:16px;padding:16px;margin:24px 0 18px}
.profile-prompt span{font-size:14px;color:#67768b}.profile-prompt p{margin-bottom:0;font-weight:600}
.profile-note{font-size:12px!important;color:#6d7580;margin-top:12px!important}
body:has(dialog[open]){overflow:hidden}
@media(max-width:600px){.profile-dialog{max-height:92dvh;border-radius:24px}.profile-layout{display:block}.profile-portrait{margin:0 auto;border-radius:24px 24px 0 0;max-width:100%;aspect-ratio:1}.profile-portrait.p1,.profile-portrait.p5{aspect-ratio:4/5;background-position:50% 22%!important}.profile-body{padding:22px}.profile-body h2{font-size:28px}.profile-label{padding:0}.close-profile{position:sticky;float:right;margin:12px 12px -52px 0;top:12px}}

.profile-portrait.p5{background-size:115% auto;background-position:50% 47%!important}

/* Athletic portraits share one proportional sheet across cards and chats. */
.model-photo.p2,.model-photo.p3,.model-photo.p4,.model-photo.p6,
.sprite.p2,.sprite.p3,.sprite.p4,.sprite.p6{background-image:url('assets/characters-athletic.png');background-size:201% auto;background-repeat:no-repeat}
.model-photo.p2,.sprite.p2{background-position:0 0!important}
.model-photo.p3,.sprite.p3{background-position:100% 0!important}
.model-photo.p4,.sprite.p4{background-position:0 75%!important}
.model-photo.p6,.sprite.p6{background-position:100% 75%!important}
.profile-portrait.p2,.profile-portrait.p3,.profile-portrait.p4,.profile-portrait.p6{aspect-ratio:2/3;background-size:201% 201%}
.profile-portrait.p2{background-position:0 0!important}
.profile-portrait.p3{background-position:100% 0!important}
.profile-portrait.p4{background-position:0 100%!important}
.profile-portrait.p6{background-position:100% 100%!important}

.sport-label{font-size:14px;color:#235eb8;font-weight:700;line-height:1.4;margin:0 0 4px}

/* Gymnastics and surfing portraits for the two uploaded characters. */
.model-photo.p1,.sprite.p1,.model-photo.p5,.sprite.p5{background-image:url('assets/sofia-maeve-sports.png');background-size:201% auto;background-repeat:no-repeat}
.model-photo.p1,.sprite.p1{background-image:url('assets/sofia-fictional-face.png');background-position:0 0!important}
.model-photo.p5,.sprite.p5{background-position:100% 0!important}
.profile-portrait.p1,.profile-portrait.p5{aspect-ratio:2/3;background-size:201% auto}
.profile-portrait.p1{background-position:0 0!important}
.profile-portrait.p5{background-position:100% 0!important}

/* Cohesive profile cards, with portrait-first hierarchy and aligned actions. */
.model-grid{gap:18px;align-items:stretch}
.model-card{min-width:0;padding:18px;border:1px solid #e3eaf4;border-radius:24px;background:linear-gradient(180deg,#f2f7ff 0,#fff 48%);box-shadow:0 4px 18px #18396208;transition:border-color .2s,box-shadow .2s}
.model-card:hover{border-color:#b5cff8;box-shadow:0 8px 26px #18396210}
.model-card>.model-photo{width:min(100%,210px);align-self:center;box-shadow:0 0 0 5px white,0 4px 18px #16386916}
.model-card .card-top{top:10px;left:auto;right:10px}
.model-card .heart{width:44px;height:44px;background:#fffffff2;border:1px solid #e3eaf4;box-shadow:0 2px 8px #07111f08;font-size:24px}
.model-card .heart.saved{background:#fff0f4;border-color:#ffd6e1}
.model-card .card-copy{padding:16px 0 0;min-width:0}
.card-heading{display:flex;align-items:center;justify-content:center;gap:8px}
.model-card .card-copy h3{font-size:22px;line-height:1.3;margin:0;letter-spacing:-.5px}
.card-heading h3 span{font-weight:500;color:#69788e;font-size:.8em;letter-spacing:0}
.availability{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#16864b;box-shadow:0 0 0 3px #e2f5e9}
.model-card .card-copy .meta{text-align:center;font-size:12px;line-height:1.5;min-height:0;margin:3px 0 6px;color:#687583}
.model-card .sport-label{align-self:center;font-size:14px;line-height:1.4;margin:0;color:#235eb8}
.model-card .teaser{font-size:16px;line-height:1.5;min-height:0;margin:12px 0;color:#44536a;text-align:center}
.model-card .tags{justify-content:center;flex-wrap:wrap;gap:5px;min-height:0;margin:0 0 14px}
.model-card .tags span{font-size:12px;line-height:1.4;padding:5px 8px;background:#f1f5fb;color:#526681;white-space:normal;overflow-wrap:anywhere}
.model-card .chat-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 8px;font-size:14px;line-height:1.4;border-radius:13px;box-shadow:0 3px 8px #176bff20}
.model-card .chat-btn span{font-size:18px;line-height:1}
@media(max-width:560px){
 .model-grid{gap:12px 10px}
 .model-card{padding:12px 10px 10px;border-radius:20px}
 .model-card>.model-photo{width:calc(100% - 8px);box-shadow:0 0 0 3px white,0 3px 12px #16386912}
 .model-card .card-top{top:5px;right:3px}
 .model-card .card-copy{padding-top:12px}
 .model-card .card-copy h3{font-size:20px}
 .model-card .card-copy .meta{font-size:12px;margin:3px 0 5px}
 .model-card .teaser{font-size:14px;line-height:1.45;margin:10px 0}
 .model-card .tags{gap:4px;margin-bottom:12px}
 .model-card .tags span{padding:4px 6px}
 .model-card .chat-btn{gap:4px;padding:10px 4px}
}
@media(max-width:350px){.model-grid{grid-template-columns:1fr}.model-card{padding:16px}.model-card>.model-photo{max-width:190px}}

/* Portrait and description form one continuous, compact card. */
.model-card{padding:16px 0 0;overflow:hidden;background:#edf4ff;border-color:#dce6f4;gap:0}
.model-card>.model-photo{width:calc(100% - 40px);max-width:210px;margin:0 auto 14px}
.model-card .card-copy{position:relative;inset:auto;width:100%;flex:1;padding:14px;background:#fff;border-top:1px solid #e0e9f6;border-radius:0;gap:0}
.model-card .card-heading{justify-content:flex-start}
.model-card .card-copy .meta{text-align:left;margin:3px 0 6px}
.model-card .sport-label{align-self:flex-start}
.model-card .teaser{text-align:left;margin:8px 0 10px;font-size:16px;line-height:1.45}
.model-card .tags{justify-content:flex-start;margin-bottom:12px}
.model-card .chat-btn{margin-top:auto}
@media(max-width:560px){
 .model-card{padding:12px 0 0;border-radius:18px}
 .model-card>.model-photo{width:calc(100% - 28px);margin-bottom:12px}
 .model-card .card-copy{padding:10px}
 .model-card .card-copy h3{font-size:19px}
 .model-card .teaser{font-size:14px;line-height:1.45;margin:7px 0 9px}
 .model-card .tags{margin-bottom:10px}
}

/* Supplied character portraits, consistently cropped across cards, profiles and plans. */
.model-photo.p1,.sprite.p1{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:6.869479882237488% 1.1549566891241578%!important;background-repeat:no-repeat;}
.model-photo.p2,.sprite.p2{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:29.34249263984298% 0.6737247353224254%!important;background-repeat:no-repeat;}
.model-photo.p3,.sprite.p3{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:52.10991167811579% 1.539942252165544%!important;background-repeat:no-repeat;}
.model-photo.p4,.sprite.p4{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:76.34936211972521% 1.3474494706448508%!important;background-repeat:no-repeat;}
.model-photo.p5,.sprite.p5{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:98.23356231599607% 1.3474494706448508%!important;background-repeat:no-repeat;}
.model-photo.p6,.sprite.p6{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:6.378802747791953% 60.05774783445621%!important;background-repeat:no-repeat;}
.model-photo.p7,.sprite.p7{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:29.538763493621197% 62.56015399422522%!important;background-repeat:no-repeat;}
.model-photo.p8,.sprite.p8{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:52.89499509322866% 60.2502406159769%!important;background-repeat:no-repeat;}
.model-photo.p9,.sprite.p9{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:76.34936211972521% 60.05774783445621%!important;background-repeat:no-repeat;}
.model-photo.p10,.sprite.p10{background-image:url("assets/roster-clean.jpeg")!important;background-size:736.875% 749.375%!important;background-position:99.01864573110893% 59.769008662175175%!important;background-repeat:no-repeat;}
.profile-portrait.sprite{aspect-ratio:1!important}.model-choices{grid-template-columns:repeat(5,minmax(0,1fr))}.paywall-faces{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin:16px 0}.paywall-faces .sprite{width:44px;height:44px;border-radius:50%;border:2px solid white;box-shadow:0 1px 4px #16386925}.discovery-banner-photo.sprite{display:block;min-height:100%;width:100%;height:100%;border-radius:0}.group-photo.sprite{display:block}.gallery-photo{max-width:340px;margin:auto}.gallery-controls{max-width:340px;margin:8px auto 0}@media(max-width:620px){.model-choices{grid-template-columns:repeat(3,1fr)}.paywall-faces .sprite{width:38px;height:38px}.discovery-banner-photo.sprite{height:280px;min-height:0}}
