/* One continuous phone profile: a restrained navy frame around rich, personal content. */
#detailSheet [data-profile-section="fun"]:has([data-profile-overview]){border:0;background:transparent;box-shadow:none}
#detailSheet [data-profile-section="fun"]>.profile-group-heading{margin-bottom:6px}
#detailSheet [data-profile-section="fun"]:has([data-profile-overview])>.profile-group-content{padding:4px 0 10px}
.profile-scroll-overview{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:12px;color:#edf5fa;color-scheme:dark}
.profile-scroll-card{min-width:0;padding:11px 12px 12px;border:1px solid #427e9c;border-radius:13px;background:radial-gradient(ellipse at 100% 0%,#10354b88,transparent 65%),linear-gradient(120deg,#021c30,#062337);box-shadow:inset 0 1px 0 #a6e7ff12,0 3px 12px #020d1c26;color:#e6f1f7;color-scheme:dark}
.profile-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:38px;margin:0 0 10px;border-bottom:1px solid #548ea955;padding-bottom:5px}
.profile-overview-heading h3{margin:0;padding:0;border:0;color:#f5f5f7;font:700 29px/1.05 'EB Garamond',Georgia,serif;letter-spacing:-.5px}
.profile-overview-more{display:grid;place-items:center;width:40px;min-height:38px;margin:-4px -7px -4px 0;padding:0;border:0;background:none;color:#aee6f2;font:32px/1 Arial,sans-serif}
.profile-overview-compare{display:flex;align-items:center;gap:5px;flex:none;min-height:36px;border:1px solid #477d9f;border-radius:22px;padding:5px 9px;background:linear-gradient(#12374f,#0a2840);color:#d9f2f8;font:600 12px/1.1 Arial,sans-serif}
.profile-overview-compare svg{width:18px;height:17px;fill:#a6e8ef}
.profile-scroll-card button{cursor:pointer;-webkit-tap-highlight-color:transparent}
.profile-scroll-card button:focus-visible,.profile-overview-lens:focus-visible{outline:2px solid #81e6f5;outline-offset:3px}
.profile-overview-empty{color:#99b6c8;font:12px/1.4 Arial,sans-serif}
.profile-overview-personality{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:7px;align-items:center;min-width:0}
.profile-overview-radar{display:block;width:100%;max-width:210px;height:auto;margin:auto;overflow:visible}
.profile-overview-radar-grid circle,.profile-overview-radar-grid path{fill:none;stroke:#4d7c9d;stroke-width:.7;opacity:.85}
.profile-overview-radar-grid path{stroke-dasharray:2 3}
.profile-overview-radar-shape{fill:#14c3cc44;stroke:#63e5ec;stroke-width:2;filter:drop-shadow(0 0 3px #53dce777)}
.profile-overview-radar-dot{fill:#e6ffff;stroke:#2bc3d5;stroke-width:1.5;filter:drop-shadow(0 0 3px #8ff7ff)}
.profile-overview-radar text{fill:#e2eef4;font:500 11px Arial,sans-serif}
.profile-overview-radar tspan{fill:#69dce7;font:600 13px Arial,sans-serif}
.profile-overview-lens{position:relative;min-width:0;min-height:208px;border-left:1px solid #548ea955;padding-left:7px;touch-action:pan-x pan-y;user-select:none}
#detailSheet.fun-topic-open .fun-topic-page{touch-action:auto}
.profile-overview-lens-buttons{display:none!important}
.profile-overview-lens .pl-arch{padding:0;border:0;background:transparent!important;box-shadow:none!important;color:#f1f8fa}
.profile-overview-lens .pl-aline{display:flex;flex-direction:column;gap:0;min-height:0;text-align:center}
.profile-overview-lens .pl-acopy{text-align:center;width:100%;margin-top:17px}
.profile-overview-lens .neoes-personality-art{width:100%;height:136px;max-width:154px;aspect-ratio:auto;margin:0 auto}
.profile-overview-lens .pl-aface{display:block;width:120px;height:136px;object-fit:cover;border-radius:9px;margin:auto;box-shadow:none}
.profile-overview-lens .pl-aem{line-height:136px;font-size:64px}
.profile-overview-lens .pl-atitle{display:block;color:#f7f6f4;font:700 23px/1.02 'EB Garamond',Georgia,serif;overflow-wrap:anywhere}
.profile-overview-lens .pl-atag{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:#bacbdc;font:11px/1.35 Arial,sans-serif}
.profile-overview-lens-controls{position:absolute;inset:0 0 auto 7px;height:150px;pointer-events:none}
.profile-overview-lens-dots{position:absolute;top:139px;left:0;right:0;display:flex;justify-content:center;gap:5px}
.profile-overview-lens-dots i{display:block;width:5px;height:5px;border-radius:50%;border:1px solid #779bbb;background:transparent}
.profile-overview-lens-dots i.on{background:#52dfed;border-color:#52dfed;box-shadow:0 0 4px #2bddea55}
.profile-overview-favorites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.profile-overview-color{position:relative;isolation:isolate;padding-bottom:4px}
.profile-overview-color .profile-overview-heading{position:relative;z-index:1;min-height:26px;margin-bottom:0;padding-bottom:0;border:0;background:transparent;box-shadow:none;pointer-events:none}
.profile-overview-color .profile-overview-heading h3{font-size:23px;letter-spacing:0;overflow-wrap:anywhere;background:transparent;box-shadow:none;text-shadow:0 1px 3px #031828,0 0 6px #03182880}
/* The centered splash is taller than its compact slot. Let its upper droplets
   reach behind the transparent heading instead of cutting a horizontal edge. */
.profile-overview-color .profile-style-view{overflow:visible}
.profile-overview-favorite{min-width:0;padding:2px 8px 9px 0;color:inherit;font-family:Arial,sans-serif}
.profile-overview-favorite:nth-child(odd){border-right:1px solid #548ea955}
.profile-overview-favorite:nth-child(even){padding-left:9px;padding-right:0}
.profile-overview-favorite:nth-child(n+3){padding-top:10px;padding-bottom:0;border-top:1px solid #548ea955}
.profile-overview-favorite-rail{display:flex;width:100%;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x pan-y;overscroll-behavior-x:contain}
.profile-overview-favorite-rail::-webkit-scrollbar{display:none}
.profile-overview-favorite-slide{display:flex;flex:0 0 100%;align-items:center;align-self:stretch;gap:8px;box-sizing:border-box;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;font:inherit;scroll-snap-align:start;scroll-snap-stop:always}
.profile-scroll-card .profile-overview-favorite-slide:focus-visible{outline-offset:-2px;border-radius:7px}
.profile-overview-favorite-art{display:block;flex:none;width:58px;height:66px;overflow:hidden;border:1px solid #6ac6d5aa;border-radius:7px;background:#10354c}
.profile-overview-favorite-art img{display:block;width:100%;height:100%;object-fit:cover}
.profile-overview-favorite-copy{display:block;min-width:0;font:12px/1.35 Arial,sans-serif;color:#c8d9e5}
.profile-overview-favorite-copy strong{display:block;margin-bottom:4px;color:#f7f5f3;font:700 17px/1 'EB Garamond',Georgia,serif}
.profile-overview-favorite-copy>span{display:block;max-width:100%;margin-top:2px;overflow-wrap:anywhere;white-space:normal}
.profile-overview-favorite-copy small{display:block;margin-top:2px;color:#94cfdc;font-size:10px}
.profile-overview-personal-fact{font:12px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
.profile-overview-personal-fact p{flex:1;min-width:0;margin:0;white-space:pre-wrap;color:#c8d9e5}
.profile-overview-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-overview-daily-card{display:block;min-width:0}
.profile-overview-choice{display:block;width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;text-align:left;color:#eff5fb;font-family:Arial,sans-serif}
.profile-overview-choice-picture{display:block;position:relative;width:100%;aspect-ratio:1.18;overflow:hidden;border:1px solid #6ab4cf;border-radius:7px;background:linear-gradient(135deg,#143d55,#061c30)}
.profile-overview-choice-picture img{display:block;width:100%;height:100%;object-fit:cover}
.profile-overview-choice-picture>span{position:absolute;inset:0;display:grid;place-items:center;padding:8px;text-align:center;font:600 16px/1.1 'EB Garamond',Georgia,serif;color:#c9e0eb}
.profile-overview-choice strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font:600 12px/1.25 Arial,sans-serif;margin-top:5px;min-height:30px}
.profile-overview-choice.without-picture strong:empty{min-height:0;margin:0}
.profile-overview-choice small{display:block;margin-top:4px;color:#72dbe9;font:600 9px/1.2 Arial,sans-serif;letter-spacing:.8px;text-transform:uppercase}
.profile-inline-travel-card{position:relative}
.profile-inline-travel-card>.profile-overview-heading{position:absolute;top:11px;left:12px;z-index:1;min-height:44px;margin:0;padding:0;border:0;pointer-events:none}
.profile-overview-travel{min-width:0;min-height:0}
.profile-overview-travel [data-profile-travel-status],.profile-overview-travel .neoes-travel-loading{display:grid;place-items:center;min-height:var(--profile-travel-content-height,calc(var(--profile-travel-map-height,210px) + var(--profile-travel-results-height,128px) + 68px));margin:0;background:radial-gradient(ellipse at 50% 40%,#154358,#031b2d 68%);border-radius:9px;color:#a7c7d7;font:16px 'EB Garamond',Georgia,serif}
.profile-overview-travel [data-profile-travel-status][hidden]{display:none}
.profile-overview-travel .neoes-travel{border:0;border-radius:0;padding:0;background:none;box-shadow:none}
.profile-overview-travel .neoes-travel-head{min-height:44px;padding:0}
.profile-overview-travel .neoes-travel-head h3{visibility:hidden}
.profile-overview-travel .neoes-travel-map{margin:0}
.profile-overview-travel .neoes-travel-lists{margin-left:0;margin-right:0}
.profile-overview-connections{margin:2px 0 8px;padding:9px 9px 8px}
.profile-overview-connections>.profile-overview-heading{margin-bottom:6px}
.profile-connection-row{display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#39647d transparent;padding:0 0 2px;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.profile-connection{position:relative;flex:0 0 184px;min-width:0;min-height:64px;padding-right:7px;border-right:1px solid #548ea955;scroll-snap-align:start}
.profile-connection:last-child{border:0}
.profile-connection-person{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:8px;padding:0;border:0;background:none;text-align:left;color:#eff6fb;width:100%}
.profile-connection-person .photo{width:64px;height:64px;border-radius:50%;border:1px solid #54d3de;object-fit:contain}
.profile-connection-person strong{font:600 12px/1.2 Arial,sans-serif;margin-top:2px;overflow-wrap:anywhere}
#detailSheet .profile-connection-summary.sim-tile{display:block;width:calc(100% - 52px);min-width:0;margin:-15px 0 0 52px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:left;color:#b2cddd;font:11px/1.3 Arial,sans-serif;white-space:normal}
@media(max-width:374px){
 .profile-scroll-card{padding:10px 9px 11px}
 .profile-overview-heading h3{font-size:27px}
 .profile-inline-travel-card>.profile-overview-heading{top:10px;left:9px}
 .profile-overview-compare{padding:5px 7px;font-size:11px}
 .profile-overview-favorite-slide{gap:6px}
 .profile-overview-favorite-art{width:48px;height:62px}
 .profile-overview-lens .neoes-personality-art{height:126px}
 .profile-overview-lens .pl-aface{height:126px;width:110px}
 .profile-overview-lens .pl-acopy{margin-top:17px}
 .profile-overview-lens-dots{top:129px;gap:4px}
 .profile-overview-lens{min-height:199px;padding-left:5px}
 .profile-overview-lens .pl-atitle{font-size:21px}
 .profile-overview-lens .pl-atag{font-size:10px}
}
/* The portrait participates in both text rows, reserving its complete height
   while a long name or shared preference can grow the card naturally. */
.profile-connection-person{display:contents}
.profile-connection-person .photo{position:relative;left:auto;top:auto;grid-column:1;grid-row:1 / span 2;align-self:start}
.profile-connection-person strong{display:block;grid-column:2;grid-row:1;margin:2px 0 0}
#detailSheet .profile-connection-summary.sim-tile{margin:4px 0 0 52px}
.profile-connection-person .photo{overflow:hidden;display:grid;place-items:center}
.profile-connection-person .photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.profile-connection-person .photo.portrait-frame img{inset:auto;left:0;top:0;object-fit:contain;object-position:center}
.profile-connection-person .photo.has-source-frame img{left:var(--portrait-frame-x);top:var(--portrait-frame-y);width:var(--portrait-frame-w);height:var(--portrait-frame-h);object-fit:fill}

/* The same Compare-style capsule is used by Personality, Picks and Travel.
   Its selected background reaches the straight seam and the outer edge. */
.profile-audience-pill{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;flex:0 1 auto;width:max-content;max-width:170px;min-width:0;height:32px;padding:0;gap:0;border:1px solid #477d9f;border-radius:18px;background:linear-gradient(#12374f,#0a2840);box-shadow:inset 0 1px #cce9f515;color:#d9f2f8}
.profile-audience-pill .profile-audience-option{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;max-width:none;min-height:30px;margin:0;padding:2px 7px;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:600 11px/1.08 Arial,sans-serif;text-shadow:none;white-space:nowrap;cursor:pointer}
/* Extend each half vertically to 44px without enlarging the visible capsule or
   crossing the seam. Its header reserves the same clear 44px tap row. */
.profile-audience-pill .profile-audience-option::after{content:'';position:absolute;inset:-7px 0}
.profile-audience-pill .profile-audience-option:first-child{border-radius:16px 0 0 16px}
.profile-audience-pill .profile-audience-option:last-child{border-radius:0 16px 16px 0}
.profile-audience-pill .profile-audience-option+button{border-left:1px solid #6b98b280}
.profile-audience-pill .profile-audience-option[aria-pressed="true"]{background:linear-gradient(#2b536b,#193d55);color:#f5fcff;box-shadow:inset 0 1px #d7f3ff26;text-shadow:none}
.profile-audience-option svg{display:block;flex:none;width:13px;height:14px;fill:#b8e7f5}
.profile-audience-option span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-overview-heading:has(.profile-audience-pill){min-height:44px;align-items:center}
.profile-overview-heading:has(.profile-audience-pill) h3{font-size:27px}
.profile-scroll-overview [hidden]{display:none!important}

/* Personal pictures retain the existing safe uploader/lightbox and form a
   compact square-photo ribbon at the beginning of Fun stuff. */
#detailSheet .profile-scroll-overview>.profile-interest-photos{position:relative;min-width:0;margin:0;padding:11px 12px 12px;border:1px solid #427e9c}
.profile-interest-photo-viewport{position:relative;min-width:0}
.profile-interest-photo-viewport::before,.profile-interest-photo-viewport::after{content:'';position:absolute;top:0;z-index:1;width:14px;height:106px;opacity:0;pointer-events:none;transition:opacity .12s}
.profile-interest-photo-viewport::before{left:0;background:linear-gradient(90deg,#2b8bb854,transparent);box-shadow:-3px 0 7px #3ee5ff21}
.profile-interest-photo-viewport::after{right:0;background:linear-gradient(270deg,#2b8bb854,transparent);box-shadow:3px 0 7px #3ee5ff21}
.profile-interest-photos.has-left .profile-interest-photo-viewport::before,.profile-interest-photos.has-right .profile-interest-photo-viewport::after{opacity:1}
#detailSheet .profile-scroll-overview .interest-status:empty{display:none}
#detailSheet .profile-scroll-overview .interest-photo-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;touch-action:pan-x pan-y;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0}
.profile-scroll-overview .interest-photo-strip::-webkit-scrollbar{display:none}
#detailSheet .profile-scroll-overview .interest-photo{flex:0 0 106px;min-width:0;margin:0;scroll-snap-align:start}
#detailSheet .profile-scroll-overview .interest-photo>button{display:block;width:106px;height:106px;padding:0;overflow:hidden;border:1px solid #6e97ad;border-radius:6px;background:#102d40}
#detailSheet .profile-scroll-overview .profile-interest-photos:not(.is-editing) .interest-photo img{display:block;width:100%;height:100%;object-fit:cover}
#detailSheet .profile-scroll-overview .profile-interest-photos:not(.is-editing) .interest-photo figcaption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font:11px/1.25 Arial,sans-serif;color:#b9d0df;margin:3px 0 0}

/* Keep the luminous circular radar and its point-local values coordinated.
   The graph and Team map occupy exactly the same region. */
.profile-overview-personality{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:6px;min-height:276px;--pl-edge:#5a8da7;--pl-ink:#e2eef7;--pl-muted:#adc8d7}
.profile-inline-plot{position:relative;min-width:0;align-self:stretch;display:flex;align-items:center;min-height:244px}
.profile-inline-plot>[data-profile-personal-plot],.profile-inline-team-plot{width:100%;min-width:0}
.profile-inline-plot .pl-flower{display:block;width:100%;height:auto;max-width:none;margin:0;overflow:visible}
.neoes-personality .pl-flower.pl-inline-radar{aspect-ratio:312 / 430}
.profile-overview-personality .pl-flower .pl-radar-label{fill:#e2eef7;font-size:22px;font-weight:600}
.profile-overview-personality .pl-flower .pl-inline-radar-value{fill:#78ebf4;font-size:26px;font-weight:700;paint-order:stroke;stroke:#082339;stroke-width:3px;stroke-linejoin:round}
.profile-overview-personality .pl-flower .pl-radar-score{fill:#20bad946;stroke:#69e8ef;stroke-width:3;filter:drop-shadow(0 0 4px #53dce777)}
.profile-overview-personality .pl-flower .pl-radar-dot{fill:#eaffff;stroke:#62d5e3;filter:drop-shadow(0 0 4px #63e0ef)}
.profile-team-map .pl-refresh,.profile-team-map .pl-expand{position:absolute;z-index:6;display:grid;place-items:center;box-sizing:border-box;width:34px;height:34px;min-height:34px;padding:7px;border:1px solid #7398b0;border-radius:7px;background:#0a2a4055;color:#bfdeed;box-shadow:none}
.profile-team-map .pl-refresh svg,.profile-team-map .pl-expand svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.profile-team-map .pl-refresh{top:1px;left:1px;right:auto}
.profile-team-map .pl-expand{top:1px;right:1px;bottom:auto}
.profile-inline-team-plot{position:absolute;inset:0}
.profile-inline-team-plot .pl-map{height:100%;border-radius:7px;background:linear-gradient(#0e3049,#071f33);color:#c7dce8}
.profile-inline-team-plot .pl-map .pl-ax{font-size:7px;letter-spacing:0;color:#b1ccde}
.profile-inline-team-plot .pl-zone{font-size:7px;opacity:.48}
.profile-inline-team-plot .pl-pd{width:5px;height:5px;background:#78e4f0}
.profile-inline-team-plot .pl-you{width:23px;height:23px}
.profile-inline-team-plot .pl-fam img{width:14px;height:14px}
.profile-inline-team-plot .pl-fam .nm{display:none}
.profile-inline-team-plot .pl-mapnote{display:none}
.pl-you[data-person-label]::after{content:attr(data-person-label)}
.profile-overview-lens{min-height:267px;padding-left:6px;align-self:center}
.profile-inline-lens-prompt{min-height:34px;margin:0 0 5px;text-align:center;color:#c4dce7;font:600 14px/1.2 Arial,sans-serif}
.profile-overview-lens .neoes-personality-art{height:157px;max-width:160px;object-fit:contain}
.profile-overview-lens .pl-aface{height:157px;width:120px;object-fit:cover}
.profile-overview-lens .pl-aface,.profile-overview-lens .neoes-personality-art{-webkit-user-drag:none}
.profile-overview-lens .pl-aem{line-height:157px}
.profile-overview-lens .pl-acopy{margin-top:14px}
.profile-overview-lens .pl-atitle{font-size:24px}
.profile-overview-lens-controls{top:35px;height:175px}
.profile-overview-lens-dots{top:159px}

/* Each category has a native independent rail. Its tallest saved caption sets
   a stable rail height, so wrapping does not move the profile during a swipe. */
.profile-overview-favorite h4{margin:0 0 5px;color:#f7f5f3;font:700 19px/1.1 'EB Garamond',Georgia,serif}
.profile-overview-favorite{padding-bottom:10px}
.profile-overview-favorite-slide{display:flex;flex-direction:column;gap:4px;flex-basis:100%;min-height:0;scroll-snap-align:center;justify-content:flex-start;text-align:center;user-select:none}
.profile-overview-favorite.has-multiple .profile-overview-favorite-slide{flex-basis:calc(100% - 44px)}
.profile-overview-favorite.has-multiple .profile-overview-favorite-slide:last-child{margin-right:44px}
.profile-overview-favorite-rail{gap:8px;min-height:0}
.profile-overview-favorite-art{width:100%;height:122px;flex:none;border:0;border-radius:0;background:none;overflow:visible}
.profile-overview-favorite-art img{object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.profile-favorite-actors .profile-overview-favorite-art{width:100%;max-width:100%;margin-inline:auto;box-sizing:border-box;overflow:visible;border:0;border-radius:0;background:none}
.profile-favorite-actors .profile-overview-favorite-art img{object-fit:contain;object-position:center}
.profile-overview-favorite-copy{width:100%;font-size:15px;font-weight:600;line-height:1.25}
.profile-overview-favorite-copy>span{display:block;box-sizing:border-box;overflow-wrap:anywhere;white-space:normal;min-height:0;margin:0;padding:0 2px}
.profile-overview-favorite.has-multiple .profile-overview-favorite-slide:not(.is-current) .profile-overview-favorite-copy{visibility:hidden}
.profile-overview-favorite-slide.without-picture{justify-content:center}
.profile-overview-favorite-slide.without-picture .profile-overview-favorite-copy>span{-webkit-line-clamp:6;min-height:0}
.profile-rail-viewport{position:relative;min-width:0}
.profile-rail-viewport::before,.profile-rail-viewport::after{content:'';position:absolute;top:0;bottom:32px;z-index:1;width:14px;opacity:0;pointer-events:none;transition:opacity .12s}
.profile-rail-viewport::before{left:0;background:linear-gradient(90deg,#2b8bb854,transparent);box-shadow:-3px 0 7px #3ee5ff21}
.profile-rail-viewport::after{right:0;background:linear-gradient(270deg,#2b8bb854,transparent);box-shadow:3px 0 7px #3ee5ff21}
.profile-rail-viewport.has-left::before,.profile-rail-viewport.has-right::after{opacity:1}
.profile-personal-fact-body{position:relative;min-width:0;padding:2px 8px 6px 24px}
.profile-personal-fact-body::before{content:'“';position:absolute;left:0;top:-3px;color:#8fbbd0;font:38px/1 'EB Garamond',Georgia,serif;pointer-events:none}
.profile-overview-personal-fact>.profile-overview-heading{margin-bottom:7px}
.profile-overview-personal-fact .profile-personal-fact-body p{color:#e0edf5;text-align:left;font:600 22px/1.25 'EB Garamond',Georgia,serif;overflow-wrap:anywhere}
.profile-overview-personal-fact.has-long-fact .profile-personal-fact-body p{font-size:18px;line-height:1.3}
.profile-overview-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:10px 9px;overflow:visible;align-items:start}
.profile-overview-picks .profile-overview-choice{width:100%}
.profile-overview-picks .profile-overview-choice-picture{aspect-ratio:1.18;border:0;background:none}
.profile-overview-picks .profile-overview-choice-picture img{object-fit:contain!important;object-position:center!important}
.profile-overview-picks .profile-overview-choice strong{display:block;min-height:0;margin-top:4px;overflow:visible;text-align:center;font:600 13px/1.2 Arial,sans-serif}
.profile-scroll-card:has([data-profile-picks-grid]){padding-bottom:8px}
.profile-recent-daily{min-width:0;margin-top:14px;padding-top:10px;border-top:1px solid #548ea955}
.profile-recent-daily>h4{margin:0 0 7px;color:#cce3ef;font:650 21px/1.15 'EB Garamond',Georgia,serif}
.profile-recent-daily .profile-daily-previews{position:relative;display:flex;align-items:flex-start;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y;scrollbar-width:none;padding:1px 0 5px;min-height:0}
.profile-recent-daily .profile-daily-preview{display:flex;flex-direction:column;flex:0 0 calc((100% - 27px)/3.35);width:calc((100% - 27px)/3.35);min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:#edf5fa;scroll-snap-align:start;text-align:center;font:600 13px/1.25 Arial,sans-serif;overflow-wrap:anywhere}
.profile-recent-daily .profile-daily-preview-art{display:grid;place-items:center;width:100%;aspect-ratio:1.18;overflow:hidden}
.profile-recent-daily .profile-daily-preview-art>img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.profile-recent-daily .profile-daily-choice{padding:4px 0 0}
.profile-recent-daily .profile-daily-stat,.profile-recent-daily .profile-daily-question,.profile-recent-daily .profile-daily-preview time{display:none}
/* One continuous profile, with three native horizontal answer rails. */
.profile-inline-picks{min-width:0;padding-bottom:5px}
.profile-inline-picks>.profile-overview-heading{gap:5px;margin-bottom:6px}
.profile-inline-picks-row{min-width:0;margin:0 0 13px}
.profile-inline-picks-row:last-child{margin-bottom:0}
.profile-inline-picks-row h4{margin:0 0 4px;color:#d5e7f0;font:650 20px/1.15 'EB Garamond',Georgia,serif}
.profile-inline-picks-rail{position:relative;display:flex;align-items:flex-start;gap:9px;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y;padding:1px 0 4px}
.profile-inline-picks-rail::-webkit-scrollbar{display:none}
.profile-inline-pick,.profile-inline-picks .profile-daily-preview{display:flex;flex-direction:column;align-items:center;flex:0 0 calc((100% - 27px)/3.35);width:calc((100% - 27px)/3.35);min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#edf5fa;scroll-snap-align:start;text-align:center;font:600 13px/1.2 Arial,sans-serif;overflow-wrap:anywhere}
.profile-inline-pick-art,.profile-inline-picks .profile-daily-preview-art{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1.18;overflow:hidden;background:none;border:0;border-radius:0}
.profile-inline-pick-art img,.profile-inline-picks .profile-daily-preview-art img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.profile-inline-pick strong,.profile-inline-picks .profile-daily-choice{display:block;width:100%;margin:3px 0 0;padding:0;font:600 12px/1.2 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere}
.profile-inline-pick small,.profile-inline-picks .profile-daily-stat{display:block;margin-top:3px;color:#b7d0df;font:500 12px/1.25 Arial,sans-serif}
.profile-inline-pick.is-selected strong,.profile-inline-tastes-none.is-selected{color:#83e4ef}
.profile-inline-pick.is-selected .profile-inline-pick-art::after{content:'';position:absolute;top:50%;left:50%;width:82%;aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #83e4efb8;border-radius:50%;pointer-events:none;box-sizing:border-box}
.profile-inline-picks .profile-daily-question{display:none}
.profile-inline-picks .profile-daily-preview time{display:block;order:-1;margin:0 0 3px;color:#b7d0df;font:500 12px/1.2 Arial,sans-serif;font-variant-numeric:tabular-nums}
.profile-inline-picks-empty{margin:3px 0 6px;color:#b7d0df;font:400 12px/1.3 Arial,sans-serif}
.profile-inline-tastes-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.profile-inline-tastes-heading>span{color:#b7d0df;font:600 13px/1.2 Arial,sans-serif;white-space:nowrap}
.profile-inline-tastes-topic{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 4px}
.profile-inline-tastes-topic button{min-height:44px;padding:3px 0;border:0;border-radius:0;background:none;box-shadow:none;color:#d5e7f0;font:600 12px/1.25 Arial,sans-serif;text-align:left}
.profile-inline-tastes-question{flex:1;min-width:0;overflow-wrap:anywhere}
.profile-inline-tastes-topic .profile-inline-tastes-next{flex:none;color:#9ad6ed;font-size:11px;white-space:nowrap}
.profile-inline-tastes-none{margin:3px 0;color:#b7d0df;font:500 12px/1.25 Arial,sans-serif}
.profile-inline-picks button:focus-visible{outline:2px solid #83e4ef;outline-offset:3px}
.fun-topic-page .profile-ribbon-item.has-illustration{flex-direction:column;justify-content:flex-start;height:100px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--ink)}
.fun-topic-page .profile-ribbon-item.has-illustration>img{flex:none;width:100%;height:70px;object-fit:contain;object-position:center;background:transparent}
.fun-topic-page .profile-ribbon-item.has-illustration>.profile-ribbon-name{position:static;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:30px;margin-top:2px;padding:0 2px;background:none;color:var(--ink);text-shadow:none;overflow-wrap:anywhere;white-space:normal;font:600 10.5px/1.25 Arial,sans-serif}
.profile-overview-travel .neoes-travel-head{min-height:44px;gap:6px}
.profile-overview-travel .neoes-travel-head h3{min-width:0;flex:1}
.profile-inline-travel-card>.profile-overview-heading h3{font-size:27px}
@media(max-width:374px){
 .profile-overview-heading:has(.profile-audience-pill) h3,.profile-inline-travel-card>.profile-overview-heading h3{font-size:24px}
 .profile-audience-pill{max-width:158px}
 .profile-audience-pill .profile-audience-option{font-size:10px;padding-inline:4px;gap:3px}
 .profile-overview-personality{min-height:266px}
 .profile-overview-lens{min-height:257px}
 .profile-overview-lens .neoes-personality-art,.profile-overview-lens .pl-aface{height:147px}
 .profile-overview-lens-dots{top:149px}
 .profile-overview-favorite-art{width:100%;height:88px}
 .profile-overview-lens .pl-atitle{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.profile-rail-viewport::before,.profile-rail-viewport::after,.profile-interest-photo-viewport::before,.profile-interest-photo-viewport::after{transition:none}}

/* Every interpretation owns a separate art, progress and caption row. Neither
   variable portrait shapes nor longer captions can paint over the dots. */
.profile-overview-lens{--profile-lens-art-height:153px;min-height:0;align-self:start;display:block}
.profile-overview-lens-rail{display:flex;position:relative;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y}
.profile-overview-lens-rail::-webkit-scrollbar{display:none}
.profile-overview-lens-slide{flex:0 0 100%;width:100%;min-width:0;display:grid;grid-template-rows:34px auto;row-gap:4px;align-content:start;scroll-snap-align:start;scroll-snap-stop:always}
.profile-inline-lens-prompt{margin:0;min-height:34px;align-content:center;font-size:13px}
.profile-overview-lens .pl-aline{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--profile-lens-art-height) 18px auto;justify-items:center;gap:0}
.profile-overview-lens .pl-aem,.profile-overview-lens .pl-aface,.profile-overview-lens .neoes-personality-art{grid-area:1/1;align-self:center;max-width:100%;margin:0 auto;height:var(--profile-lens-art-height)}
.profile-overview-lens .pl-aface{width:120px;object-fit:contain;object-position:center;border:0;outline:0;border-radius:8px;background:transparent;box-shadow:none}
.profile-overview-lens .profile-inline-face-frame{grid-area:1/1;align-self:center;width:128px;height:128px;max-width:100%;border-radius:11px;background:transparent}
.profile-overview-lens .profile-inline-face-frame .pl-aface{position:absolute;inset:auto;left:0;top:0;width:100%;height:100%;max-width:none;border-radius:0}
.profile-overview-lens .profile-inline-face-frame.has-source-frame .pl-aface{left:var(--portrait-frame-x);top:var(--portrait-frame-y);width:var(--portrait-frame-w);height:var(--portrait-frame-h);object-fit:fill}
.profile-overview-lens .pl-aem{line-height:var(--profile-lens-art-height)}
.profile-overview-lens .profile-overview-lens-controls{grid-area:2/1;position:static;inset:auto;display:grid;place-items:center;width:100%;height:18px;pointer-events:none}
.profile-overview-lens .profile-overview-lens-dots{position:static;inset:auto;display:flex;justify-content:center;align-items:center;gap:5px;min-height:18px}
.profile-overview-lens>.profile-overview-lens-controls{position:absolute;top:calc(38px + var(--profile-lens-art-height));left:6px;right:0;width:auto}
.profile-overview-lens .profile-overview-lens-dots{width:100%;gap:0;pointer-events:auto}
.profile-overview-lens-dots button{display:grid;place-items:center;flex:1 1 0;min-width:0;min-height:18px;height:18px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.profile-overview-lens-dots button.on i{background:#52dfed;border-color:#52dfed;box-shadow:0 0 4px #2bddea55}
.profile-overview-lens .pl-acopy{grid-area:3/1;margin:0;text-align:center;min-width:0}
.profile-overview-lens .pl-atitle{font-size:23px;line-height:1.08}
.profile-overview-lens .pl-atag{display:block;overflow:visible;margin-top:4px;font-size:11px;line-height:1.3;-webkit-line-clamp:unset}
/* A translucent sculpted pebble uses the actual interpretation hue. The large
   base-color region stays visible; highlights do not replace it with white. */
.profile-overview-lens .neoes-personality-art[data-pl-art="color"]{width:110px;height:124px;max-width:86%;border:0;outline:0;border-radius:47% 53% 63% 37% / 61% 42% 58% 39%;transform:rotate(-11deg);background-color:var(--pl-interpretation-color);background-image:radial-gradient(ellipse at 31% 18%,#ffffffb3,transparent 28%),radial-gradient(ellipse at 70% 85%,#d3edff6b,transparent 35%),linear-gradient(130deg,#ffffff0d 35%,#02152766);background-size:100% 100%;background-position:center;box-shadow:inset 4px 5px 7px #e9f8ff47,inset -5px -8px 13px #06152366,0 8px 10px -6px #0009;filter:none}

/* Small Favorites sets show one complete item. Dots belong below its caption,
   while larger Picks and photo ribbons retain their quieter edge cues. */
.profile-overview-favorite-rail{gap:0;overflow-y:hidden}
.profile-overview-favorite.has-multiple .profile-overview-favorite-slide{flex-basis:100%;margin-right:0}
.profile-overview-favorite-slide{align-items:center}
.profile-overview-favorite .profile-rail-viewport::before,.profile-overview-favorite .profile-rail-viewport::after{display:none}
.profile-overview-favorite-art{height:122px;max-width:100%;margin-inline:auto}
.profile-overview-favorite h4{text-align:center;margin-bottom:7px}
.profile-favorite-dots{display:flex;justify-content:center;align-items:center;gap:6px;min-height:18px;margin-top:2px}
.profile-favorite-dots i{display:block;width:5px;height:5px;border:1px solid #779bbb;border-radius:50%;background:transparent}
.profile-favorite-dots i.on{background:#75d5e2;border-color:#75d5e2}
.profile-overview-favorite-copy{font-size:14px;line-height:1.25}
.profile-overview-favorite-slide.without-picture{min-height:0}
.profile-connection-row{gap:6px;align-items:flex-start}
.profile-connection{display:flex;flex-direction:column;flex:0 0 calc((100% - 18px)/4);align-items:center;justify-content:flex-start;gap:3px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:center;color:inherit;font:inherit}
.profile-connection-person{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;min-width:0;text-align:center}
.profile-connection-person .photo{flex:none;max-width:100%;margin:0 auto}
.profile-connection-person strong{width:100%;margin:0;font:600 12px/1.2 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere}
#detailSheet .profile-connection-summary{display:block;min-width:0;width:100%;margin:0;padding:0;text-align:center;color:#78ebf4;font:700 23px/1.1 Georgia,serif;white-space:nowrap}
.profile-connection-row,.profile-overview-favorite-rail,.profile-overview-picks,.interest-photo-strip{overscroll-behavior-y:auto}
@media(max-width:374px){.profile-overview-lens{--profile-lens-art-height:143px}.profile-overview-lens .pl-atitle{font-size:21px}.profile-overview-favorite-art{height:112px}.profile-overview-favorite-copy{font-size:13px}}
/* Editor repair/polish: the parent owns vertical scrolling; rails/maps keep
   their own horizontal gestures inside bounded, shrinkable content. */
body.in-edit-mode #detailSheet .sheet-body{overflow-x:hidden;overscroll-behavior-x:none}
body.in-edit-mode #detailSheet .detail-info,
body.in-edit-mode #detailSheet .profile-group,
body.in-edit-mode #detailSheet .profile-group-content,
body.in-edit-mode #detailSheet .info-section,
body.in-edit-mode #detailSheet .info-card{min-width:0;max-width:100%;box-sizing:border-box}
body.in-edit-mode #detailSheet .inline-edit-input,
body.in-edit-mode #detailSheet .inline-edit-textarea,
body.in-edit-mode #detailSheet .ff-tags-wrap{min-width:0;max-width:100%;box-sizing:border-box}
body.in-edit-mode #detailSheet .row-line .val{min-width:0;overflow-wrap:anywhere}
body.in-edit-mode #detailHero .hero-actions{display:flex;align-items:center;gap:2px}
body.in-edit-mode #detailHero.hero-collapsed .profile-edit-indicator{display:inline;max-width:none;padding:0 3px;background:transparent;backdrop-filter:none;text-shadow:none;color:var(--ink-2);font:600 11px/1.2 Arial,sans-serif;white-space:nowrap}
body.in-edit-mode #detailHero.hero-collapsed .hero-caption{right:160px}
body.in-edit-mode #detailHero.hero-collapsed .hero-name h2{font-size:15px;line-height:1.1}
body.in-edit-mode #detailHero.hero-collapsed .hero-name .sub{display:none}
body.in-edit-mode #detailHero .hero-actions .profile-save-action{min-width:55px;width:55px;font-size:14px}
body.in-edit-mode #profileDraftStatus{margin:0;padding:5px 2px;color:var(--warn);font-size:13px;line-height:1.3}
body.in-edit-mode #profileDraftStatus:empty{display:none}
body.in-edit-mode #detailSheet .detail-info>.profile-milestones{position:sticky;top:0;z-index:4;margin:0 -1px 5px;padding:0 7px 2px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--card) 94%,transparent);backdrop-filter:blur(8px);color:var(--ink);box-sizing:border-box}
body.in-edit-mode .profile-milestones>summary{display:grid;grid-template-columns:18px minmax(0,1fr);gap:0 5px;min-height:43px;padding:3px 0;font-size:13px;line-height:1.2}
body.in-edit-mode .profile-milestone-bar{grid-column:2;width:100%;height:5px;margin:1px 0 3px}
body.in-edit-mode .profile-milestones ul{max-height:240px;overflow-y:auto;overscroll-behavior:contain}
body.in-edit-mode #detailSheet [data-profile-section="basics"] .info-title{font-size:21px;line-height:1.15;min-height:40px;margin:1px 0 2px;padding:1px 2px}
body.in-edit-mode #detailSheet [data-profile-section="basics"] .info-title .neoes-icon{width:36px;height:36px;min-width:36px;margin-right:5px}
body.in-edit-mode #detailSheet [data-profile-section="basics"] .info-section+.info-section{padding-top:6px;border-top:1px solid var(--line);margin-top:7px}
body.in-edit-mode #detailSheet .row-pair.profile-editor-dates{display:block}
body.in-edit-mode #detailSheet .profile-editor-dates .cell{display:grid;grid-template-columns:70px minmax(0,1fr);column-gap:10px;align-items:center;min-height:43px;width:100%;padding:6px 12px;border:0;box-sizing:border-box}
body.in-edit-mode #detailSheet .profile-editor-dates .cell+.cell{border-top:1px solid var(--line)}
body.in-edit-mode #detailSheet #detailEditTopRow{display:block;padding:1px 2px 6px;margin:0}
body.in-edit-mode #detailEditTopRow>.col{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:4px 12px;min-height:60px}
body.in-edit-mode #detailEditTopRow .pic-btn{display:flex;align-items:center;gap:10px;min-height:60px;padding:0;border:0;background:none}
body.in-edit-mode #detailEditTopRow .photo-wrap{margin:0;width:54px;height:54px}
body.in-edit-mode #detailEditTopRow .photo{width:54px;height:54px}
body.in-edit-mode #detailEditTopRow .pic-btn .lbl{font-size:15px;line-height:1.2;color:var(--ink);margin:0}
body.in-edit-mode #detailEditTopRow .portrait-adjust-link,body.in-edit-mode #detailEditTopRow .remove-link{min-height:44px;margin:0;padding:4px 0;font-size:12px}
.profile-inline-tastes,.profile-inline-daily{padding-top:8px;border-top:1px solid #548ea955}
.profile-inline-tastes-heading{align-items:center;gap:4px;min-height:44px}
.profile-inline-tastes-heading h4{margin:0;font-size:23px}
.profile-taste-navigation{display:inline-flex;align-items:center;flex:none;gap:3px;color:inherit;font:600 13px/1.2 Arial,sans-serif;white-space:nowrap}
.profile-taste-navigation>button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:none;color:inherit;font:28px/1 Georgia,serif}
.profile-inline-tastes-question{margin:0 0 5px;color:#edf5fa;font:600 19px/1.18 'EB Garamond',Georgia,serif;overflow-wrap:anywhere}
.profile-overview-favorite h4{font-size:21px;line-height:1;margin-bottom:5px}
#detailSheet .profile-connection-summary{font-size:17.25px}
/* The keyboard may shrink only the visual viewport. Shrink the existing scroll
   region by that inset so its last input can move above the keyboard too. */
body.in-edit-mode #detailSheet .sheet-body{bottom:var(--profile-editor-keyboard-inset,0px)}
