/* Reference U01: composition shared by connected and legacy pages. No hidden control is force-shown. */
.u01-reference{--u01-line:#6763ad70;--u01-panel:linear-gradient(125deg,#111a38f5,#100c28ef);--u01-ink:#f2f2ff;--u01-muted:#bdc5e2}
.u01-reference :focus-visible{outline:2px solid #54d8ff;outline-offset:3px}
.u01-reference [hidden]{display:none!important}
.u01-reference .myhero{background-position:center 56%;min-height:230px;max-height:260px}
.u01-reference .myhero{position:relative;isolation:isolate}.u01-owner-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.u01-reference .myhero:has(.u01-owner-cover) .hero-copy{background:#050a22b8;border-radius:12px;padding:14px;width:fit-content}
.u01-reference [data-page="my-world"] #e01Identity{position:relative;margin:-28px 0 16px;padding:20px;display:flex;align-items:center;gap:18px;border:1px solid var(--u01-line);border-radius:18px;background:var(--u01-panel);box-shadow:0 12px 36px #03051a80;min-height:110px}
.u01-identity-text{flex:1;min-width:0}.u01-identity-avatar{width:78px;height:78px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;border:2px solid #bc8aff;background:linear-gradient(140deg,#233c66,#522d65);font-size:28px;object-fit:cover;box-shadow:0 0 20px #814cff60}
.u01-tabs{display:flex;gap:8px;overflow-x:auto;padding:8px 0 14px;scrollbar-width:thin}.u01-tabs a,.u01-tabs button{white-space:nowrap;min-height:44px;border:1px solid var(--u01-line);border-radius:10px;background:#121a34;color:var(--u01-ink);padding:10px 14px;text-decoration:none}.u01-tabs [aria-pressed="true"]{border-color:#5ddaff;background:linear-gradient(130deg,#313882,#115575)}
.u01-reference .e01-dashboard{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.u01-reference .e01-dashboard .e01-card{padding:16px;background:var(--u01-panel);border:1px solid var(--u01-line)}
.u01-reference .e01-dashboard [data-section="people"]{grid-column:span 2}.u01-reference .e01-dashboard [data-section="people"] .u01-person-preview{display:flex;align-items:center;gap:10px;margin:10px 0}.u01-person-preview img{width:42px;height:42px;object-fit:cover;border-radius:50%}
.u01-reference [data-page="people"] .e01-people{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.u01-reference .e01-people .e01-card{position:relative;padding:12px;background:var(--u01-panel);border-radius:14px;border:1px solid var(--u01-line)}
.u01-reference .e01-people .e01-person-cover{height:100px;width:100%;object-fit:cover}.u01-reference .e01-people .e01-avatar{width:76px;height:76px;border:2px solid #bd9cff;object-fit:cover}.u01-reference .e01-people h3{font-size:16px}.u01-reference .e01-people p{font-size:12px;line-height:1.5}.u01-reference .e01-people .e01-actions{display:grid;gap:6px}.u01-reference .e01-people .e01-actions>*{text-align:center;min-height:44px}
.u01-discovery{margin:22px 0}.u01-discovery h2{margin-bottom:12px}.u01-discovery-row{display:flex;gap:10px;overflow:auto;padding:4px 0 10px}.u01-discovery-row button{min-width:116px;min-height:64px;border:1px solid var(--u01-line);border-radius:12px;background:linear-gradient(140deg,#16264b,#211837);color:#f2efff;padding:12px}.u01-discovery-row button[aria-pressed="true"]{border-color:#46d8ff;box-shadow:inset 0 -3px #46d8ff}
.u01-discovery-row [data-country]:not([data-country=""]){padding-top:110px;width:142px;flex-shrink:0;position:relative;overflow:hidden}.u01-discovery-row [data-country]:not([data-country=""])::before{content:"";position:absolute;top:0;left:0;right:0;height:100px;background-image:url('/app/p03-e02/assets/countries.webp');background-size:300% 200%;background-position:var(--country-position)}.u01-discovery-row [data-country="TR"]{--country-position:0% 0%}.u01-discovery-row [data-country="US"]{--country-position:50% 0%}.u01-discovery-row [data-country="DE"]{--country-position:100% 0%}.u01-discovery-row [data-country="GB"]{--country-position:0% 100%}.u01-discovery-row [data-country="FR"]{--country-position:50% 100%}.u01-discovery-row [data-country="ES"]{--country-position:100% 100%}
.u01-reference [data-page="my-world"]>.a01-rail,.u01-reference [data-page="people"]>.a01-rail{margin-top:24px}
.u01-reference .profileEditor{max-width:1180px;margin:auto;padding:26px 24px 100px;color:var(--u01-ink)}
.u01-reference .profileEditorIntro{padding:20px 0}.u01-reference .profileEditorIntro h1{font-size:clamp(26px,3vw,40px)}
.u01-reference .profileEditor .createColumns{display:block}.u01-reference .u01-profile-grid:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.u01-profile-grid>fieldset{margin:0!important;min-width:0;padding:20px!important;border:1px solid var(--u01-line)!important;border-radius:16px!important;background:var(--u01-panel)!important;color:var(--u01-ink)!important}
.u01-profile-grid>fieldset legend{color:#ede6ff;font-size:17px;font-weight:650;padding:0 8px}.u01-profile-grid label{display:grid;gap:7px;margin:12px 0;color:#ece9ff}
.u01-profile-grid input:not([type="checkbox"]),.u01-profile-grid textarea,.u01-profile-grid select{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;background:#060d25!important;color:#f3f2ff!important;border:1px solid #68669c!important;border-radius:10px;padding:10px}
.u01-profile-grid #profileVisuals{grid-column:1;grid-row:1}.u01-profile-grid #profileLocation{grid-column:2;grid-row:1}.u01-profile-grid #profileIdentity{grid-column:1;grid-row:2}.u01-profile-grid #profileInterests{grid-column:2;grid-row:2}.u01-profile-grid .profileSaveBar{grid-column:1/-1;position:sticky;bottom:0;z-index:8;background:#080d23f5;padding:16px;border:1px solid var(--u01-line);border-radius:12px}
.u01-interest-chips{display:flex;flex-wrap:wrap;gap:8px}.u01-interest-chips button{min-height:44px;padding:8px 13px;border:1px solid #656492;border-radius:24px;background:#101834;color:#f4f0ff}.u01-interest-chips [aria-pressed="true"]{background:#3a3788;border-color:#7bddff}.u01-native-interest{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%)}
.u01-reference .profilePreviewAside{margin-top:20px;max-width:100%;padding:20px;border:1px solid var(--u01-line);border-radius:16px;background:var(--u01-panel)}
.u01-account #joinStage{max-width:1100px;margin:24px auto;padding:24px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;background:linear-gradient(100deg,#050b2299,#080b22e8),url('/app/p03-e02/assets/invite.webp') center/cover;border:1px solid var(--u01-line);border-radius:22px;color:var(--u01-ink)}
.u01-account .accountEntryIntro{grid-column:1/-1}.u01-account .accountEntryLayout{display:contents}.u01-account .accountEntryCenter{grid-column:2;grid-row:2/span 2;min-width:0;background:var(--u01-panel);border:1px solid #9980da80;border-radius:20px;padding:24px}.u01-account .accountModuleRail{grid-column:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.u01-account .accountModuleRail>h2{grid-column:1/-1}.u01-account .accountModuleCard{min-width:0;padding:10px}.u01-account .accountModuleCard img{height:70px;object-fit:cover}.u01-account .accountModuleCard p{display:none}.u01-account .u01-welcome{grid-column:1;grid-row:2}.u01-welcome h2{white-space:pre-line;font-size:32px;line-height:1.2;margin:18px 0}.u01-welcome p{line-height:1.7;color:var(--u01-muted)}
.u01-account .authGrid{display:block}.u01-account #login,.u01-account #resetRequest{padding:18px 0;background:transparent;border:0}.u01-account #login input,.u01-account #resetRequest input{width:100%;min-height:48px;margin:8px 0;background:#060d25;color:#fff;border:1px solid #68669c;border-radius:10px;padding:12px}
.u01-public{background:#04091c!important;color:var(--u01-ink)!important}.u01-public>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 24px;background:#03081ce8;border-bottom:1px solid var(--u01-line)}.u01-public>header .brand{display:flex;align-items:center;gap:8px;color:white;font-size:22px}.u01-public>header .brand img{width:44px;height:44px}.u01-public>header nav{display:flex;gap:18px;flex-wrap:wrap}.u01-public .showcase-main{max-width:1180px;margin:auto;padding:24px}.u01-public .profile-cover{min-height:220px;background:linear-gradient(90deg,#0b123377,#1d113300),url('/app/p03-e02/assets/my-world.webp') center 56%/cover}.u01-public .profileIdentityR142F{background:var(--u01-panel)!important;border:1px solid var(--u01-line);border-radius:16px;margin-top:-26px;position:relative;padding:20px}.u01-public .profileColumnsR142F{grid-template-columns:220px minmax(0,1fr) 230px;gap:16px}.u01-public .profilePanelR142F,.u01-public .p01-area-card{background:var(--u01-panel)!important;color:var(--u01-ink)!important;border-color:var(--u01-line)!important}.u01-public .profilePanelR142F p,.u01-public .p01-area-card p{color:var(--u01-muted)!important}
@media(max-width:900px){.u01-reference [data-page="people"] .e01-people{grid-template-columns:repeat(3,minmax(0,1fr))}.u01-reference .e01-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.u01-public .profileColumnsR142F{grid-template-columns:1fr}.u01-public>header nav{gap:10px;font-size:12px}}
@media(max-width:600px){.u01-reference .myhero{min-height:190px}.u01-reference [data-page="my-world"] #e01Identity{flex-wrap:wrap;padding:14px;margin-top:-16px;gap:12px}.u01-identity-avatar{width:58px;height:58px}.u01-reference [data-page="people"] .e01-people{grid-template-columns:repeat(2,minmax(0,1fr))}.u01-reference .profileEditor{padding:16px 14px 110px}.u01-reference .u01-profile-grid:not([hidden]){grid-template-columns:1fr!important}.u01-profile-grid>*{grid-column:1!important;grid-row:auto!important}.u01-account #joinStage{display:flex;flex-direction:column;margin:12px;padding:16px}.u01-account .accountEntryLayout{display:flex;flex-direction:column;gap:16px}.u01-account .accountEntryCenter{order:-1;padding:18px}.u01-account .u01-welcome h2{font-size:25px}.u01-public .showcase-main{padding:14px}.u01-public .profile-cover{min-height:170px}.u01-reference .e01-dashboard [data-section="people"]{grid-column:1/-1}}

/* U01-R2: fix measured mobile identity collapse and legacy light-theme specificity. */
@media(max-width:600px){body.u01-reference [data-page="my-world"] #e01Identity{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;align-items:center}.u01-reference #e01Identity>.u01-identity-text{grid-column:2;min-width:0;width:100%}.u01-reference #e01Identity>.outline{grid-column:1/-1;justify-self:start}.u01-reference #e01Identity>.e01-alert{grid-column:1/-1;margin:0}}
body.u01-reference.u01-public{background:#04091c!important;color:#f2f2ff!important}
body.u01-reference.u01-public .showcase-main,body.u01-reference.u01-public #showcaseHero{background:transparent!important;color:#f2f2ff!important}
body.u01-reference.u01-public :is(.profileIdentityR142F,.profilePanelR142F,.p01-area-card,.profileMainTabsR142F,.showcase-tabs,.profileStatsR142F){background:var(--u01-panel)!important;color:#f2f2ff!important;border-color:#6763ad70!important}
body.u01-reference.u01-public :is(.profileIdentityR142F,.profilePanelR142F,.p01-area-card) :is(h1,h2,h3,strong,a){color:#f0eaff!important}
body.u01-reference.u01-public :is(.profileIdentityR142F,.profilePanelR142F,.p01-area-card) :is(p,small){color:#bdc5e2!important}

/* U01-R3: scoped overrides for legacy account !important layout and profile surfaces. */
body.u01-reference.u01-account #joinStage{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,1fr)!important;gap:18px!important;align-items:start!important}
body.u01-reference.u01-account #joinStage .accountEntryLayout{display:contents!important}
body.u01-reference.u01-account #joinStage .accountModuleRail{grid-template-rows:none!important;grid-auto-rows:auto!important;align-content:start!important;min-height:0!important;padding:0!important}
body.u01-reference.u01-account #joinStage .accountEntryCenter{grid-column:2!important;grid-row:2/span 3!important;max-width:none!important;width:100%;box-sizing:border-box}
body.u01-reference.u01-account #joinStage .accountModuleCard img{min-height:0!important;height:70px!important;width:100%;border-radius:8px}
body.u01-reference.u01-account #joinStage :is(.accountModuleLabel,.accountModuleAction){color:#bdc5e2!important}
body.u01-reference.u01-public :is(header,footer,.wvSiteFooter,#woryvoPoweredBy){background:#080d23!important;color:#f2f2ff!important;border-color:#6763ad70!important}
body.u01-reference.u01-public :is(header,footer,.wvSiteFooter) a{color:#d5d9ff!important;background:#121a34!important;border-color:#6763ad70!important}
body.u01-reference.u01-public :is(.p01-coming,.profileStatsR142F,.profilePanelR142F){background:var(--u01-panel)!important;color:#f2f2ff!important}
body.u01-reference.u01-public :is(.p01-profile-areas,.profileStatsR142F) :is(summary,small,.p01-branches,.p01-loaded-count){color:#bdc5e2!important}
body.u01-reference.u01-public .profileStatsR142F :is(a,strong,span){color:#f2f2ff!important}
@media(max-width:700px){body.u01-reference.u01-account #joinStage{grid-template-columns:minmax(0,1fr)!important;margin:12px!important;padding:16px!important}body.u01-reference.u01-account #joinStage .accountEntryCenter{grid-column:1!important;grid-row:3!important}body.u01-reference.u01-account #joinStage .u01-welcome{grid-column:1!important;grid-row:2!important}}

/* U01-R4: retain the established heading palette; scope mobile and metric fixes. */
body.u01-reference.u01-public .p01-profile-areas .p01-area-heading small{color:#e1d1ff!important}
body.u01-reference.u01-public .profileMetricR142F{background:#111a38!important;border:1px solid #6763ad70!important}
body.u01-reference.u01-public .profileMetricR142F strong{color:#f2f2ff!important}
body.u01-reference.u01-public .profileMetricR142F span,body.u01-reference.u01-public .profileCounterNoteR142F{color:#bdc5e2!important}
body.u01-reference #woryvoPoweredBy{background:#080d23!important;color:#bdc5e2!important;border-top:1px solid #6763ad70}
@media(max-width:600px){body.u01-reference.u01-account #joinStage .accountModuleRail{grid-template-columns:minmax(0,1fr)!important}body.u01-reference.u01-account #joinStage .accountModuleCard{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;align-items:center}body.u01-reference.u01-account #joinStage .accountModuleCard>div{min-width:0}body.u01-reference.u01-account #joinStage .accountModuleCard h3{word-break:normal;overflow-wrap:normal}}
