/* U02: compact connected panels. Original forms, permission checks and APIs own state. */
html body.u02-page{color-scheme:dark;background:radial-gradient(ellipse at 80% 0,#30235355,transparent 55%),#070c1a!important;color:#eef2ff!important;font:14px/1.55 system-ui,sans-serif}
body.u02-page *{box-sizing:border-box}
body.u02-page [hidden]{display:none!important}
body.u02-page :is(main,.creationPage){width:100%;max-width:1180px!important;margin:auto!important;padding:20px 22px 90px!important;min-width:0}
body.u02-page :is(h1,h2,h3,strong,label,summary){color:#eef2ff!important}
body.u02-page :is(p,small){color:#b5c2de!important}
body.u02-page a{color:#b7a6ff}
body.u02-page :is(button,.secondary,.event-primary-link){border:1px solid #626787!important;border-radius:10px;background:#202640!important;color:#f1edff!important;padding:10px 14px;min-height:44px;font:inherit;cursor:pointer}
body.u02-page :is(input,select,textarea){background:#0b1427!important;border:1px solid #515e7f!important;border-radius:9px!important;color:#eff2ff!important;max-width:100%;min-width:0;font:inherit;padding:10px;min-height:44px}
body.u02-page :is(input,select,textarea):focus-visible,body.u02-page :is(a,button,summary):focus-visible{outline:2px solid #8ce6ef;outline-offset:3px}
body.u02-page :is(.togetherPanel,.togetherRoom,.event-card,details,#eventsList>article,#eventDetail>article,.creationPreview,#composer,.createColumns>aside){background:#101a2d!important;border:1px solid #34415b!important;border-radius:14px!important;color:#eef2ff!important;padding:16px;box-shadow:none!important;min-width:0}
body.u02-page :is(.togetherHero,.event-discovery-intro,.creationIntro){min-height:0!important;background:linear-gradient(90deg,#0c1429f5,#0c1429a8),url('/app/p03-e02/assets/meydan.webp') center 40%/cover!important;border:1px solid #4c496d!important;border-radius:14px;padding:18px 22px!important;margin:0 0 16px!important}
body.u02-events .event-discovery-intro{background-image:linear-gradient(90deg,#0c1429f5,#0c1429a8),url('/app/p03-e02/assets/events.webp')!important}
body.u02-page :is(.togetherHero,.event-discovery-intro,.creationIntro) h1{font-size:clamp(25px,3vw,34px)!important;margin:5px 0!important;color:#f4f0ff!important;line-height:1.2}
body.u02-page .togetherHero h1 span{font-size:14px;font-weight:400;color:#b4c3de;margin-left:10px}
body.u02-page :is(.eyebrow,.event-eyebrow){font-size:10px;letter-spacing:2px;color:#c2afff!important}
body.u02-page .togetherHero p{max-width:760px;margin:6px 0;font-size:13px}
body.u02-page .togetherHero [role=status]:empty{display:none}
body.u02-page .togetherColumns{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:16px;align-items:start}
body.u02-page .togetherColumns>section{margin:0 0 16px!important}
body.u02-page .togetherColumns h2{font-size:19px;margin:0 0 12px}
body.u02-page #togetherFilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
body.u02-page #togetherFilters label,body.u02-page #togetherCreateForm label{display:grid;gap:5px;margin:0 0 10px}
body.u02-page #togetherList>article{padding:14px;margin:0;background:#101a2d!important;border:0;border-bottom:1px solid #34415b;border-radius:0;min-height:0}
body.u02-page #togetherList h3{font-size:16px;margin:0 0 6px}
body.u02-page #togetherList p{margin:4px 0}
.u02-local-nav,.u02-activities{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 12px}
.u02-local-nav a{padding:9px 12px;background:#19223a;border:1px solid #3d4665;border-radius:9px;text-decoration:none;font-weight:600}
body.u02-page .u02-activities button{display:flex;align-items:center;gap:9px;padding:8px 12px}
.u02-activities button span{font-size:20px;color:#b9a4ff}
body.u02-page .u02-activities [aria-pressed=true]{border-color:#a894ff!important;background:#393064!important}
body.u02-events #eventsSearch{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;background:#101a2d!important;padding:16px;border:1px solid #34415b;border-radius:14px}
body.u02-events #eventsSearch label{display:grid;gap:6px;margin:0}
body.u02-events #eventsList{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
body.u02-events #eventsList>article{margin:0!important;display:flex;flex-direction:column;gap:8px}
body.u02-events #eventsList .event-artwork{width:100%;height:160px;object-fit:cover;border-radius:8px}
body.u02-events #eventsList>article>a{font-size:17px;font-weight:650}
body.u02-events main>details{margin:14px 0}
body.u02-events #eventCreateForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.u02-events #eventCreateForm label{display:grid;gap:6px}
body.u02-events #eventCreateForm>p,body.u02-events .event-form-actions{grid-column:1/-1}
body.u02-events #eventSession{padding:10px 12px;color:#bbc8df;background:#101a2d;border-radius:10px;margin-bottom:12px}
/* ORBIT is the entry; the existing editor is kept intact for deep links and drafts. */
body.u02-create #creationChoices{display:none!important}
body.u02-create .u02-quick #creationChoices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.u02-create .u02-quick #creationChoices button{min-height:110px!important;padding:12px!important;border-radius:12px!important;background:#17233c!important;color:#eff2ff!important}
body.u02-create .u02-quick #creationChoices small{color:#bac6df!important}
body.u02-create .u02-quick #creationChoices .creationIcon{background:#27365a!important;color:#c0acff!important}
html[data-create-view=editor] .u02-orbit,html[data-create-view=results] .u02-orbit{display:none!important}
.u02-orbit-heading{padding:8px 2px 18px}.u02-orbit-heading>span{letter-spacing:2px;font-size:10px;color:#c5b3ff}.u02-orbit-heading h2{font-size:24px;margin:5px 0}.u02-orbit-heading p{margin:0}
.u02-orbit-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}
.u02-orbit-card{display:flex;flex-direction:column;gap:6px;min-height:120px;min-width:0;padding:16px;border:1px solid #54547b;border-radius:14px;background:linear-gradient(140deg,#29264b,#111a30);text-decoration:none;transition:border-color .2s,transform .2s}
.u02-orbit-card:nth-child(n+6){background:#111a30;min-height:108px}.u02-orbit-card>span{font-size:26px;color:#9be4ec}.u02-orbit-card strong{font-size:15px}.u02-orbit-card small{font-size:12px}.u02-orbit-card:hover{border-color:#b69cff;transform:translateY(-2px)}
body.u02-page .createFlowNav a{background:#202640!important;color:#e5ddff!important}
body.u02-page .launchFooter,body.u02-page .infoFooter{background:#080e20!important;color:#c2cbe2!important}
/* Shared header uses the original session controls and complete destinations list. */
html body #wvUnifiedHeader{background:#080f20!important;color:#eff2ff!important;border-bottom:1px solid #39405b!important;padding:10px 20px;gap:10px}
html body #wvUnifiedHeader>a{display:flex;align-items:center;gap:8px;font-size:15px;flex-shrink:0}
html body #wvUnifiedHeader>a img{width:32px;height:32px;object-fit:contain}
html body #wvUnifiedHeader a,html body #wvUnifiedHeader summary{color:#d8e1f6!important}
html body #wvUnifiedHeader a:hover,html body #wvUnifiedHeader a[aria-current=page]{background:#282444!important;color:#e6d7ff!important}
html body #wvUnifiedHeader details[open]>nav{background:#101a2d!important;border-color:#495573!important;max-width:calc(100vw - 24px)}
html body #wvUnifiedHeader button{background:#232b44!important;color:#f0eaff!important}
html body>footer#wvCreditFooter>#woryvoPoweredBy{background:#080e20!important;color:#bdc5e2!important;border-top-color:#414967!important}
/* No duplicate dashboard below the dedicated onboarding screen; explicit ?open= tools are untouched. */
body.u01-reference #app:has(>#worldSetup:not([hidden]))>:not(#worldSetup):not(#worldSetupSecurity){display:none!important}
body.u01-reference .worldSetup input,body.u01-reference .worldSetup select{color:#f0edff!important;background:#0c162d!important}
body.u01-reference .worldSetup button[aria-pressed=true]{color:#fff!important;background:#3f3476!important;border-color:#ad98ee!important}
body.u01-reference .u01-profile-grid .profileSaveBar{grid-row:100}
@media(max-width:900px){body.u02-page .togetherColumns{grid-template-columns:minmax(0,1fr)!important}body.u02-events #eventsList{grid-template-columns:repeat(2,minmax(0,1fr))}.u02-orbit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.u02-page :is(main,.creationPage){padding:12px 12px 100px!important}body.u02-page :is(.togetherHero,.event-discovery-intro,.creationIntro){padding:16px!important}body.u02-page .togetherHero h1 span{display:block;margin:8px 0 0}body.u02-events #eventsSearch{grid-template-columns:repeat(2,minmax(0,1fr))}body.u02-events #eventsList,body.u02-events #eventCreateForm{grid-template-columns:minmax(0,1fr)}.u02-orbit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.u02-orbit-card{min-height:116px;padding:13px}.u02-orbit-card:nth-child(5){grid-column:1/-1;min-height:94px}body.u02-create .u02-quick #creationChoices{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.u01-reference.u01-account #joinStage .accountEntryIntro{grid-row:1!important}body.u01-reference.u01-account #joinStage .accountEntryCenter{grid-column:1!important;grid-row:2!important}body.u01-reference.u01-account #joinStage .u01-welcome{grid-column:1!important;grid-row:3!important}body.u01-reference.u01-account #joinStage .accountModuleRail{grid-row:auto!important}
html body #wvUnifiedHeader{padding:8px 12px}.u02-mobile-dock{position:fixed;z-index:110;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:#090f23f5;border-top:1px solid #465176;backdrop-filter:blur(12px)}.u02-mobile-dock a{display:grid;justify-items:center;gap:3px;font:11px/1.3 system-ui;color:#dce4fa!important;text-decoration:none;padding:4px 0;min-height:44px}.u02-mobile-dock a>span{font-size:20px}.u02-mobile-dock a:nth-child(3){color:#e6cfff!important}.u02-mobile-dock a[aria-current=page]{background:#302846;border-radius:10px}
body:has(.u02-mobile-dock) :is(.mobileCompanion,.mobileCompanionNav,.wvMobileNav,.wvBottomDock,.wvDockInfo){display:none!important}}
@media(min-width:601px){.u02-mobile-dock{display:none}}
@media(prefers-reduced-motion:reduce){.u02-orbit-card{transition:none;transform:none!important}}

body.u01-reference #app .worldSetupActions,body.u01-reference #app .worldSetupChoices label:has(input:checked){background:#292447!important;color:#f2edff!important;border-color:#8070b0!important}
body.u01-reference #app .worldSetupActions p{color:#d5cbe9!important}
body.u01-reference .hero.worldhero,body.u01-reference .hero.myhero,body.u01-reference .hero.peoplehero{min-height:160px!important;height:auto!important;padding-top:20px!important;padding-bottom:20px!important}
body.u01-reference .profile-cover{min-height:180px!important}
@media(max-width:600px){body.u01-reference .hero.worldhero,body.u01-reference .hero.myhero,body.u01-reference .hero.peoplehero{min-height:140px!important;padding-top:16px!important;padding-bottom:16px!important}body.u01-reference .profile-cover{min-height:140px!important}}

/* U02-R1: scoped contrast repair. No layout, API or session logic changes. */
html:has(body.u02-page){--wv-bg:#070c1a!important;--wv-panel:#101a2d!important;--wv-text:#eef2ff!important;--wv-muted:#b5c2de!important;--wv-accent:#c5b4ff!important}
html body.u02-page.u02-page :is(h1,h2,h3,strong,b,label,summary){color:#eef2ff!important}
html body.u02-page.u02-page :is(p,small){color:#b5c2de!important}
html body.u02-page.u02-page :is(input,select,textarea){background:#0b1427!important;color:#eff2ff!important;border-color:#657393!important}
html body.u02-page.u02-page :is(input,select,textarea):disabled{background:#1c263a!important;color:#abb9d3!important}
html body #wvUnifiedHeader#wvUnifiedHeader a,html body .u02-mobile-dock.u02-mobile-dock a,html body.u02-page .u02-local-nav a,html body.u02-page .infoFooter a{background:#1d2942!important;color:#eef2ff!important;border-color:#52627f!important}
html body #wvUnifiedHeader#wvUnifiedHeader>a{background:transparent!important}
html body #wvUnifiedHeader#wvUnifiedHeader a[aria-current=page],html body .u02-mobile-dock.u02-mobile-dock a[aria-current=page]{background:#403361!important;color:#fff!important}
html body.u02-page #eventsList#eventsList a,html body.u02-page #togetherMain#togetherMain :is(h2,h3){color:#dfd4ff!important}
html body:is(.u02-page,.u01-reference) .wvPromotionBanner.wvPromotionBanner{background:#111b30!important;color:#eef2ff!important;border-color:#465574!important}
html body:is(.u02-page,.u01-reference) .wvPromotionBanner.wvPromotionBanner :is(h3,strong){color:#eef2ff!important}
html body:is(.u02-page,.u01-reference) .wvPromotionBanner.wvPromotionBanner :is(p,small){color:#bac9e2!important}
html body:is(.u02-page,.u01-reference) .wvPromotionBanner.wvPromotionBanner :is(a,.wvPromotionIcon){background:#24314d!important;color:#e3d8ff!important;border-color:#617293!important}
html body.u01-reference #worldSetupSecurity#worldSetupSecurity{background:#101a2d!important;color:#eef2ff!important;border-color:#465574!important}
html body.u01-reference #worldSetupSecurity#worldSetupSecurity summary{color:#eef2ff!important}
/* Auto row avoids the 99 empty grid tracks caused by the previous fixed row. */
html body.u01-reference #profileEditForm .profileSaveBar{grid-row:auto!important;order:99;align-self:end}
html body.u01-reference .profileSteps a,html body.u01-reference #profileEditStatus,html body.u01-reference #profileEditForm [role=status],html body.u01-reference #profileEditForm [id$=Status],html body.u01-reference #profileSaveState{background:#16213b!important;color:#d7e2f8!important;border-color:#586886!important}
