/* /nizur-cursor.css */
@media (pointer:fine){
  html,body,body *{cursor:url('/assets/ui/nizur-cursor.svg') 4 3,default!important}
  a,button,[role="button"],input[type="button"],input[type="submit"],select,label,.clickable,[data-clickable]{cursor:url('/assets/ui/nizur-cursor-link.svg') 4 3,pointer!important}
  input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],textarea,[contenteditable="true"]{cursor:text!important}
  canvas{cursor:url('/assets/ui/nizur-cursor.svg') 4 3,crosshair!important}
  canvas.camera-dragging{cursor:url('/assets/ui/nizur-cursor-link.svg') 4 3,grabbing!important}
  #nizurCursorAura{display:none!important}
  .nizur-click-pulse{position:fixed;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border:1.5px solid rgba(78,221,255,.86);border-radius:50%;pointer-events:none;z-index:2147483647;box-shadow:0 0 14px rgba(100,92,255,.3);animation:nizurClickPulse .34s cubic-bezier(.2,.8,.25,1) forwards}
  @keyframes nizurClickPulse{0%{transform:scale(.55);opacity:.95}100%{transform:scale(2.6);opacity:0}}
}

/* /safety.css */
.safetyActions{position:fixed;top:60px;right:14px;z-index:50;display:flex;gap:6px}.safetyActions button{background:#202b3c;color:#fff;border:1px solid #53637c;border-radius:5px;padding:7px;font:11px system-ui;cursor:pointer}.safetyLinks{display:flex;gap:20px;justify-content:center;padding:20px;font:13px system-ui}.safetyLinks a{color:#92d2ff}.chatReport{margin-left:8px;border:0;background:transparent;color:#c2d7e8;cursor:pointer;font-size:10px}

/* /ui-refresh.css */
/* Nizur Play 8.4 — compact navigation, calm surfaces, playful accents. */
:root{--ui-bg:#f7f8fc;--ui-panel:#ffffff;--ui-raised:#eff5fa;--ui-line:#e5e5ef;--ui-text:#25243b;--ui-muted:#66677c;--ui-accent:#186bb4;color-scheme:light}
body{background:var(--ui-bg)!important;color:var(--ui-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #186bb4!important;outline-offset:4px}
header.topbar{background:#eef4f9!important;border-bottom:1px solid var(--ui-line);box-shadow:none;backdrop-filter:none;gap:18px}
.brandMark{background:var(--ui-accent)!important;border-radius:12px!important}.brandText em{color:var(--ui-accent)!important}
.mainNav .navItem{color:var(--ui-muted);border-radius:10px;min-height:44px}.mainNav .navItem.active{background:#eef4f9!important;color:#586876!important;border-color:#eef4f9!important}.mainNav .navItem:hover{background:var(--ui-raised)!important;color:white}
.userChip,.nizurBalance{background:var(--ui-raised)!important;border:1px solid var(--ui-line)!important;border-radius:12px!important}.userAvatar{background:#eef4f9!important;border-radius:9px!important}.logoutBtn{background:transparent!important;border-color:var(--ui-line)!important}
main{max-width:1440px;margin:auto}.discoveryHero{background:linear-gradient(115deg,#eef4f9,#eef4f9)!important;border:1px solid #eef4f9!important;border-radius:22px;min-height:290px;box-shadow:none}.discoveryHero h1{font-size:clamp(32px,3.5vw,50px);letter-spacing:-.045em;line-height:1.08}.discoveryHero p{color:#586876}.welcomeBadge,.eyebrow{letter-spacing:.12em}.heroActions .primaryAction,.shopBuy,.saveAvatar{background:var(--ui-accent)!important;color:#eef4f9!important;font-weight:750;box-shadow:none!important}.heroActions .quietAction{background:#eef4f9!important;border-color:#eef4f9!important;color:#586876!important}
.gameCard,.communityCard,.newShopCard,.card,.avatarPreviewCard,.avatarCatalog,.accountSidebar,.authCard{background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important;border-radius:16px!important;box-shadow:none!important}.gameCard:hover,.communityCard:hover,.newShopCard:hover{border-color:#586876!important;transform:translateY(-3px)}
.gameThumb,.communityPreview{background:#eef4f9!important}.gameContent,.communityMeta{padding:18px!important}.communityMeta h2{font-size:19px!important}.communityMeta p{color:var(--ui-muted)!important}.communityCreatorRow{border-color:var(--ui-line)!important}.communityCreatorAvatar{width:42px!important;height:42px!important;border-radius:12px!important;background:#eef4f9!important;border:1px solid #eef4f9!important;flex-shrink:0}.communityCreatorAvatar img{padding:0!important;width:100%!important;height:100%!important;object-fit:contain}.communityCreatorText small{color:#586876!important;font-size:9px!important}.communityCreatorText b{font-size:13px!important}.communityPlay{background:var(--ui-accent)!important;color:#eef4f9!important}.communityOnline{color:#586876!important}.communityStudioBadge{background:#eef4f9!important;color:#586876!important;border-color:#eef4f9!important}
.shopHero{background:linear-gradient(110deg,#eef4f9,#eef4f9)!important;border:1px solid #eef4f9!important;border-radius:18px!important;min-height:170px!important}.shopHero h1{font-size:clamp(30px,3vw,42px);letter-spacing:-.04em}.shopBag .uiIcon{width:80px;height:80px}.shopFilters{gap:8px;overflow-x:auto;flex-wrap:nowrap;padding:24px 0 16px}.shopFilters button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:#eef4f9!important;border:1px solid var(--ui-line)!important;color:#586876!important;border-radius:11px!important;min-height:44px}.shopFilters button.active{background:#586876!important;color:#eef4f9!important;border-color:#586876!important}.shopTools{display:flex;align-items:end;gap:14px;margin:0 0 24px}.shopTools label{display:grid;gap:7px;font-size:12px;color:#586876;font-weight:650}.shopSearch{flex:1}.shopTools input,.shopTools select{background:var(--ui-panel);border:1px solid #eef4f9;border-radius:10px;height:44px;padding:0 14px;color:var(--ui-text);width:100%}.shopTools #shopResults{white-space:nowrap;color:var(--ui-muted);font-size:12px;padding-bottom:13px}.newShopGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.newShopCard{padding:12px!important}.shopVisual{height:auto!important;aspect-ratio:1;background:radial-gradient(ellipse at 50% 35%,#eef4f9,#eef4f9 75%)!important;border-radius:12px!important;overflow:hidden;margin-bottom:14px!important}.shopVisual img{width:100%;height:100%;object-fit:contain;padding:14px;box-sizing:border-box}.shopCategory{color:#586876!important;letter-spacing:.08em;font-size:10px}.newShopCard h3{font-size:16px;line-height:1.4;margin:6px 2px 15px;overflow-wrap:anywhere}.shopCardFooter{border-color:var(--ui-line)!important;gap:8px;flex-wrap:wrap}.shopPrice{color:#586876!important;font-size:12px}.shopBuy{border-radius:9px!important;min-height:42px!important;padding:9px 16px!important}.shopBuy:disabled{opacity:.5;cursor:wait}
.uiIcon{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center;flex:none;vertical-align:middle}.uiIcon svg{width:100%;height:100%}.authGo{display:flex;align-items:center;justify-content:center;gap:9px}.authInput>.uiIcon{color:#586876}.safeTip .uiIcon{width:16px;height:16px;margin-right:6px}.accessorySlotTabs button{display:inline-flex;align-items:center;gap:5px}.communityFallback .uiIcon{width:54px;height:54px}.communityPlay .uiIcon{width:19px;height:19px}.adminGameThumb .uiIcon{width:38px;height:38px}
.modelPreview{display:flex!important;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;position:relative}.modelPreview>svg{width:42px;height:42px;color:#586876}.modelPreview>small{font-size:11px;color:#586876;padding:8px;text-align:center}.modelPreview img{max-width:100%;max-height:100%;object-fit:contain}.previewRetry{font-size:11px!important;padding:8px!important;margin:8px!important;background:#eef4f9!important;color:white!important;border:1px solid #586876!important}.accessoryCatalogThumb{width:100%;height:96px}.accessoryCatalogThumb img{width:100%;height:100%}
.avatarPreviewCard,.avatarCatalog{border-radius:18px!important}.preview3d{background:radial-gradient(ellipse at 50% 40%,#eef4f9,#eef4f9 75%)!important;border-color:#eef4f9!important}.catalogTab{background:#eef4f9!important;border-color:#eef4f9!important}.catalogTab.active{background:#eef4f9!important;border-color:#586876!important;color:#586876!important}.catalogItem{background:#eef4f9!important;border-color:#eef4f9!important}.catalogItem.selected{background:#eef4f9!important;border-color:#186bb4!important}.itemImage,.itemEmoji{background:#eef4f9!important}
#admin .adminTitle h1{font-size:clamp(28px,3vw,40px);letter-spacing:-.035em}#admin .adminTitle p{color:var(--ui-muted)}.adminQuickNav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 28px}.adminQuickNav button{display:flex;align-items:center;gap:8px;background:#eef4f9;color:#586876;border:1px solid #eef4f9;border-radius:10px;min-height:44px;padding:10px 14px;font-size:13px}.adminQuickNav button:hover{background:#eef4f9;border-color:#586876}#admin .adminAccordion{background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important;border-radius:14px!important;scroll-margin-top:145px}#admin .adminAccordion>summary{background:#eef4f9!important;padding:20px!important}#admin .adminAccordion>summary h2{font-size:18px}#admin .adminAccordion>summary p{color:var(--ui-muted)!important;line-height:1.5}#admin .adminAccordionBody{padding:20px!important}.adminBadge{border-radius:7px!important;font-size:10px;letter-spacing:.06em}.adminGameRow,.adminFaceRow,.adminAccessoryRow,.adminUserRow,.basePriceRow,.adminMiniRow,.accessoryCategoryRow{background:#eef4f9!important;border-color:#eef4f9!important;border-radius:12px!important}#admin input,#admin textarea,#admin select{background:#eef4f9!important;border-color:#eef4f9!important;color:#586876!important}#admin .adminHelp{color:#586876;line-height:1.6}#admin button.danger{background:#eef4f9!important;color:#586876!important;border:1px solid #eef4f9!important}#admin .adminGameList{gap:16px}.adminLibraryHead p{color:#586876}#adminStudioGamesCard{scroll-margin-top:145px}.accountCardTitle p,.accountProfile small{color:#586876!important}
@media(min-width:1500px){header.topbar{padding-left:32px;padding-right:32px}}
@media(max-width:1100px){.newShopGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.mainNav .navItem{padding:0 9px}}
@media(max-width:700px){.newShopGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shopTools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.shopSearch{grid-column:1/-1}.shopTools select{max-width:220px}.shopTools #shopResults{justify-self:end}.shopFilters button{padding:9px 12px!important}.shopFilters .uiIcon{width:18px;height:18px}.shopCardFooter{display:grid!important;grid-template-columns:1fr}.shopBuy{width:100%}.newShopCard h3{font-size:14px;min-height:40px}.communityGrid{grid-template-columns:1fr!important}#communityGamesGrid.communityGrid{grid-template-columns:1fr!important}.adminQuickNav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.adminQuickNav button{flex-shrink:0;font-size:12px}#admin .adminAccordion>summary{padding:14px!important}#admin .adminAccordionBody{padding:12px!important}.adminGameRow,.adminAccessoryRow{min-width:0}.adminGameControls,.adminAccessoryActions{flex-wrap:wrap}.discoveryHero{min-height:280px}.discoveryHero .playIllustration{opacity:.2}.userChip{display:flex!important;padding:0!important;border:0!important}.userChip>b{display:none}.userAvatar{width:32px!important;height:32px!important}.headerActions{gap:6px}.nizurBalance small{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
[hidden]{display:none!important}
/* Native details markers must stay within their visible section. */
#admin[hidden] .adminAccordion>summary::after{content:none}
.shopFilters,.mainNav,.adminQuickNav{scrollbar-width:none}.shopFilters::-webkit-scrollbar,.mainNav::-webkit-scrollbar,.adminQuickNav::-webkit-scrollbar{display:none}
@media(max-width:900px){.mainNav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;min-width:0}.mainNav .navItem{flex:none}}

/* Nizur Play — light discovery experience */
html{color-scheme:light;scroll-padding-top:110px}body{--ink:#21303d;--muted:#69667f;--purple:#186bb4;background:#f7f8fc!important;color:var(--ink)!important}body,button,input,select,textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}h1,h2,h3,strong,b{color:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{min-height:44px}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #186bb4!important;outline-offset:4px}svg{flex-shrink:0}header.topbar{height:88px!important;position:sticky;top:0;padding:0 30px!important;background:#ffffffed!important;backdrop-filter:blur(16px);border-bottom:1px solid #e7ecf1;gap:24px;z-index:40}.brand{padding:0;background:none!important;flex-shrink:0}.brandMark{background:#186bb4!important;width:42px;height:42px;border-radius:14px!important;color:white!important}.brandMark svg{stroke:white!important}.brandText{font-size:20px;color:#22313f!important;letter-spacing:-1px}.brandText em{color:#186bb4!important}.mainNav{position:fixed!important;top:88px;bottom:0;left:0;width:202px!important;max-width:202px!important;padding:30px 16px;background:#fff;border-right:1px solid #e7ecf1;display:flex!important;flex-direction:column!important;align-items:stretch;gap:8px;overflow:auto}.mainNav .navItem{width:100%;justify-content:flex-start;border:0!important;border-radius:13px;padding:13px 16px!important;color:#6a6680!important;gap:12px}.mainNav .navItem.active{background:#eaf5fe!important;color:#266aa6!important}.mainNav .navItem:hover{background:#f2f8fe!important;color:#266aa6!important}.mainNav .navItem svg{width:21px;height:21px}.globalSearch{display:flex;align-items:center;gap:12px;max-width:520px;flex:1;margin:0 auto;background:#f4f7f9;border:1px solid #edf1f5;border-radius:14px;padding:0 16px;height:46px}.globalSearch svg{width:21px;height:21px;fill:none;stroke:#77718b;stroke-width:1.8}.globalSearch input{width:100%;border:0!important;background:transparent!important;box-shadow:none!important;color:#24323f!important;margin:0;padding:10px 0!important;font-size:14px}.headerActions{margin:0;gap:12px}.userChip,.nizurBalance{color:#2a3c4c!important;background:#f4f8fb!important;border-color:#eaf0f6!important}.userAvatar{background:#e3f1fe!important}.logoutBtn{color:#6a6680!important}.coinDot{background:#fff0c8!important;color:#795210!important}main{max-width:1600px!important;margin:0 auto 0 202px!important;padding:38px 42px 56px!important}.view{min-width:0}.eyebrow{font-size:10px;font-weight:800;color:#6f8598!important;letter-spacing:.16em}.discoveryHeading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.discoveryHeading h1{font-size:clamp(30px,3.1vw,44px);letter-spacing:-1.8px;margin:6px 0 0;line-height:1.15}.discoveryNote{color:#7a758c;font-size:13px;padding-bottom:5px}.featuredGame{position:relative;min-height:340px;border-radius:26px;overflow:hidden;background:#dbf0ec;isolation:isolate;box-shadow:0 12px 32px #21405b0c}.featuredGame>.gameThumb{position:absolute;inset:0;width:100%;height:100%!important;border-radius:0!important}.featuredGame>.gameThumb img,.featuredGame>.gameThumb svg{width:100%;height:100%;object-fit:cover}.featuredGame:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#172b36eb 0%,#172b3699 45%,transparent 80%);z-index:0}.featuredCopy{position:relative;z-index:1;width:60%;padding:40px;color:#fff}.featureBadge{display:inline-block;background:#ffffff24;border:1px solid #ffffff40;padding:8px 12px;border-radius:30px;font-size:10px;font-weight:800;letter-spacing:.1em;color:white}.featuredCopy h2{font-size:clamp(30px,3.8vw,52px);line-height:1.04;letter-spacing:-1.8px;margin:20px 0 12px;color:white}.featuredCopy p{color:#edf4f6;font-size:14px;max-width:340px;line-height:1.6;margin:0 0 22px}.featuredCopy button{background:#fff!important;color:#2b3b49!important;border-radius:12px;padding:13px 26px;box-shadow:0 4px 14px #0002}.featuredCopy button:hover{background:#e2f0fd!important;transform:translateY(-2px)}.exploreBar{display:flex;align-items:center;justify-content:space-between;margin:34px 0 20px;gap:16px}.exploreBar h2{font-size:25px;letter-spacing:-.7px;margin:5px 0 0}.exploreBar a{color:#186bb4;font-size:12px;font-weight:750;text-decoration:none}.gameCategories{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px;scroll-margin-top:110px}.gameCategories button{background:white;color:#686279;border:1px solid #e1e7ed;border-radius:30px;padding:10px 21px;font-size:13px}.gameCategories button[aria-pressed=true]{background:#186bb4;color:white;border-color:#186bb4;box-shadow:0 4px 10px #186bb425}.gameResults{font-size:12px;color:#787187;margin:14px 0}.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.game.managedGame{padding:0!important;background:#fff!important;border:1px solid #e4eaf0!important;border-radius:20px!important;overflow:hidden;box-shadow:0 5px 20px #23364705!important;transition:transform .2s,box-shadow .2s}.game.managedGame:hover{transform:translateY(-5px);box-shadow:0 12px 30px #23364712!important}.game .gameThumb{height:auto!important;aspect-ratio:16/10;border-radius:0!important;position:relative;background:#eaf0f6!important;overflow:hidden}.gameThumb img,.gameArtSvg{width:100%;height:100%;object-fit:cover;transition:transform .3s}.game:hover .gameThumb img{transform:scale(1.035)}.gameVisualLabel{position:absolute!important;top:12px!important;left:12px!important;bottom:auto!important;background:#ffffffed!important;color:#374958!important;padding:6px 10px;border-radius:20px;font-size:10px!important;letter-spacing:.02em!important;box-shadow:0 2px 6px #0001}.gameContent{padding:18px!important}.gameContent h2{font-size:19px!important;letter-spacing:-.45px;margin:0 0 8px;color:#283642!important}.gameContent p{font-size:12px;color:#777086!important;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;margin:0 0 18px}.gameCardFooter{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf2f6;padding-top:14px;gap:10px}.gameMiniMeta{color:#766d89!important;font-size:11px!important}.playButton{display:flex;gap:7px;align-items:center;background:#e9f4fe!important;color:#266aa6!important;border-radius:10px;padding:9px 16px!important;min-height:40px}.playButton svg{width:16px;height:16px;fill:currentColor}.playButton:hover{background:#186bb4!important;color:white!important}.gamesLoading{grid-column:1/-1;color:#63717e;background:#edf3f9;border-radius:16px;padding:32px}.createBanner{display:flex;align-items:center;gap:22px;background:#eaf3fa;border:1px solid #dceaf7;border-radius:20px;padding:24px 28px;margin-top:32px}.createSymbol{display:grid;place-items:center;background:#fff;width:68px;height:68px;border-radius:19px;transform:rotate(-8deg)}.createSymbol svg{width:37px;height:37px;fill:none;stroke:#1b6bb1;stroke-width:1.4}.createBanner h2{font-size:20px;letter-spacing:-.5px;margin:6px 0}.createBanner p{font-size:12px;color:#697b8a;margin:0}.createBanner button{margin-left:auto;white-space:nowrap;background:#fff;color:#336999;border:1px solid #d5e5f3;border-radius:12px;font-size:12px}.isSignedOut .mainNav,.isSignedOut .globalSearch{display:none!important}.isSignedOut main{margin:0 auto!important;padding:40px!important}.authShell{max-width:1150px;min-height:650px;background:#ecf5fd!important;border:1px solid #e0eefb!important;border-radius:30px;box-shadow:none!important;overflow:hidden}.authHero{background:radial-gradient(ellipse at 50% 30%,#d5eafd,#ecf5fd 70%)!important;color:#263d51!important}.authHero h1{color:#263d51!important;letter-spacing:-1.8px}.authHero p{color:#65798a!important}.authHero>b{color:#186bb4!important}.authHero .welcomeBadge{background:white!important;color:#5a7c99!important}.authPills span{background:#fff!important;border:1px solid #d8e8f6!important;color:#5a7790!important}.authCard{color:#2a3a48!important;padding:36px!important;border-radius:24px!important;box-shadow:0 12px 40px #3b526710!important}.authTabs{background:#eff5fa!important}.authTabs button{color:#82718c!important}.authTabs button.active{background:#fff!important;color:#186bb4!important;box-shadow:0 2px 8px #23364710}.authInput{background:#f8fafc!important;border-color:#dce3ea!important;color:#81728d!important}.authInput input{color:#28343f!important}.authCard h2{font-size:28px!important}.authCard p,.authCard label,.safeTip{color:#677684!important}.authGo,.saveAvatar,.shopBuy{background:#186bb4!important;color:#fff!important;border-radius:12px!important}.authGo .uiIcon{color:white}.authCard #msg{color:#b52f4c!important}.shopHero{background:#e9f4fe!important;color:#2b4459!important}.shopHero p,.pageIntro p,.accountTitle p,.avatarTitle p,.catalogHint,.adminHelp{color:#746782!important}.newShopCard,.communityCard,.card,.avatarCatalog,.avatarPreviewCard,.accountSidebar{background:white!important;color:#2a3844!important;border-color:#dee6ed!important;box-shadow:0 5px 20px #23364705!important}.shopVisual,.preview3d{background:radial-gradient(ellipse at 50% 40%,#edf6fe,#dfeaf3)!important}.shopPrice{color:#405466!important}.catalogTab,.catalogItem{background:#f8fcff!important;color:#435667!important;border-color:#dee7ef!important}.catalogTab.active,.catalogItem.selected{background:#e8f4fe!important;border-color:#236aa9!important;color:#396993!important}.itemName,.panelHeading,.catalogHeader strong,.accountProfile strong{color:#2a3f51!important}.itemImage,.itemEmoji{background:#ebf4fb!important}.itemMeta,.catalogHeader span,.panelHeading span,.accountProfile small,.accountCardTitle p{color:#6b7e8e!important}.communityMeta p,.communityCreatorText small{color:#796c88!important}.communityOnline{color:#357349!important}.communityStudioBadge{background:#e9f4fe!important;color:#3b6991!important}.communityCard h2{color:#283846!important}.accountMenuItem,.accountTip{background:#eff6fd!important;color:#4c6a85!important}.accountForm input,.shopTools input,.shopTools select,#admin input,#admin textarea,#admin select{background:#f9fbfd!important;color:#283846!important;border:1px solid #d4dfe8!important}.accountForm button{background:#186bb4!important;color:#fff!important}#admin .adminAccordion{background:white!important;color:#2d3e4d!important}#admin .adminAccordion>summary{background:#eff5fa!important}#admin .adminAccordionBody{color:#344351}#admin .adminHelp{color:#687988!important}.adminGameRow,.adminFaceRow,.adminAccessoryRow,.adminUserRow,.basePriceRow,.adminMiniRow,.accessoryCategoryRow{background:#f8fcff!important;color:#364b5d!important;border-color:#dce6ef!important}.skipLink{z-index:100}.uiIcon{color:inherit}body,button,a,input,canvas{cursor:auto}button,a{cursor:pointer}
@media(min-width:1800px){main{margin-right:auto!important;margin-left:230px!important}}
@media(max-width:1100px){header.topbar{padding:0 20px!important;gap:20px}.mainNav{width:170px!important;max-width:170px!important;padding:24px 10px}main{margin-left:170px!important;padding:28px 24px!important}.brandText{font-size:17px}.globalSearch{max-width:380px}.games{gap:14px}.gameContent{padding:14px!important}.gameContent h2{font-size:17px!important}.featuredCopy{width:70%}.discoveryNote{display:none}.createBanner{padding:20px}.createSymbol{display:none}.userChip>b{display:none}}
@media(max-width:760px){header.topbar{height:72px!important;gap:12px;padding:0 16px!important;flex-wrap:nowrap!important}.brandText{font-size:17px}.brandMark{width:34px;height:34px}.headerActions{margin-left:auto}.globalSearch{position:absolute;top:83px;left:16px;right:16px;max-width:none;margin:0;background:white;box-shadow:0 3px 12px #23374808}.mainNav{top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;height:70px;flex-direction:row!important;padding:6px 8px!important;border-right:0;border-top:1px solid #e0e8ef;gap:4px;background:#fffffff5;align-items:center;overflow-x:auto;z-index:50}.mainNav .navItem{width:auto;min-width:65px;flex-direction:column;gap:4px;padding:7px 10px!important;font-size:10px!important;border-radius:10px}.mainNav .navItem svg{width:19px;height:19px}main{margin:0!important;padding:82px 16px 95px!important}.discoveryHeading{margin-bottom:20px}.discoveryHeading h1{font-size:30px;letter-spacing:-1.2px}.featuredGame{min-height:330px;border-radius:20px}.featuredCopy{width:90%;padding:28px 24px}.featuredCopy h2{font-size:38px;max-width:270px}.featuredCopy p{font-size:12px;max-width:250px}.featuredGame:after{background:linear-gradient(90deg,#172b36e8,#172b3670)}.exploreBar{margin-top:28px}.exploreBar h2{font-size:22px}.exploreBar a{font-size:10px;max-width:82px;line-height:1.6}.gameCategories{flex-wrap:nowrap;overflow:auto;padding-bottom:6px;gap:8px}.gameCategories button{white-space:nowrap;padding:9px 16px;font-size:12px;min-height:42px}.games{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game .gameThumb{aspect-ratio:4/3}.gameContent{padding:12px!important}.gameContent h2{font-size:16px!important;min-height:38px}.gameContent p{display:none}.gameCardFooter{flex-wrap:wrap;gap:8px}.gameMiniMeta{font-size:10px!important}.playButton{width:100%;justify-content:center}.gameVisualLabel{top:8px!important;left:8px!important;font-size:8px!important;padding:5px 8px}.createBanner{padding:20px;flex-wrap:wrap;gap:14px}.createBanner h2{font-size:19px}.createBanner button{margin:0}.isSignedOut main{padding:20px 16px!important}.authShell{display:flex!important;flex-direction:column!important;min-height:0}.authHero{padding:28px!important;text-align:center}.authHero .playIllustration{height:160px!important;position:static!important;opacity:1!important;width:100%!important}.authHero h1{font-size:32px!important}.authHero .authPills{display:none}.authCard{margin:0 12px 12px!important;padding:24px!important}.authHero p{font-size:13px!important}.avatarStudio{grid-template-columns:1fr}.avatarTitle h1{font-size:29px}.accountLayout{grid-template-columns:1fr}.nizurBalance{padding:7px!important;font-size:11px}.userAvatar{width:30px!important;height:30px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
@media(min-width:761px){.mainNav{height:calc(100dvh - 88px)!important;justify-content:flex-start!important}.globalSearch{width:min(38vw,520px);flex:1 1 420px!important}.globalSearch input{min-width:0;max-width:none!important}.headerActions{flex:0 0 auto}}
.authGo{box-shadow:none!important}.nizurBalance b{color:#435e76!important}.safetyHelpLink{color:#186bb4!important}
header.topbar{display:flex!important;backdrop-filter:none!important;transform:none!important;filter:none!important}.mainNav{margin:0!important}.mainNav .navItem span{display:inline!important}.gameCategories{justify-content:flex-start!important}.authHero .playIllustration{display:block!important}.safetyLink{color:#186bb4!important}
@media(max-width:760px){.mainNav{justify-content:flex-start!important;min-height:70px}.mainNav .navItem{height:56px!important}.globalSearch{flex:none!important}.headerActions{gap:5px}.brandText{font-size:16px!important}.gameCategories{width:100%;max-width:100%}}
.gameCategories button{display:block!important;flex:0 0 auto}.gameDisabled{opacity:1!important}.gameDisabled .gameThumb{filter:grayscale(.65)}.gameDisabled .gameContent{opacity:1}.gameDisabled .playButton{opacity:.65}

.shopFilters .uiIcon{display:inline-flex;flex:0 0 24px;width:24px;height:24px;align-items:center;justify-content:center}.shopFilters .uiIcon svg{width:24px;height:24px;overflow:visible}.categoryEffectOrbit{transform-origin:12px 12px;animation:category-effect-orbit 8s linear infinite}.categoryEffectTwinkle{animation:category-effect-twinkle 2s ease-in-out infinite;filter:drop-shadow(0 0 3px #83dbff)}@keyframes category-effect-orbit{to{transform:rotate(360deg)}}@keyframes category-effect-twinkle{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.categoryEffectOrbit,.categoryEffectTwinkle{animation:none}}

/* /social-shop.css */
/* A calm, catalogue-first marketplace and profiles with the existing Nizur identity. */
#shop,#avatar,#account{--panel:#ffffff;--line:#dedfe3;--muted:#696d76;--accent:#30343b;max-width:1440px;margin:auto}#shop h1,#avatar h1,#account h1{font-size:32px;letter-spacing:-.8px}#shop .shopHero,#avatar .avatarTitle{background:none;border:0;padding:24px 0}#shop .shopBag{display:none}#shop .shopFilters{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--line);padding-bottom:12px}#shop .shopFilters button{border-radius:7px;background:transparent;color:#4c5058;border:1px solid transparent}#shop .shopFilters button.active{background:#2d3138;color:#ffffff}#shop .shopTools{padding:18px 0;align-items:end}#shop .newShopGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:16px}#shop .newShopCard{border:0;border-radius:10px;background:#ffffff;overflow:hidden;box-shadow:none;padding:0}#shop .shopVisual{height:190px;margin:0;border-radius:0;background:radial-gradient(ellipse at center,#45484f,#2b2d33);cursor:pointer}#shop .shopVisual img{width:100%;height:100%;object-fit:contain}#shop .newShopCard h3,#shop .shopCategory,#shop .shopCardFooter{margin:10px 12px}#shop .newShopCard h3{font-size:15px;min-height:38px}#shop .shopCategory{font-size:11px;color:#737780}#shop .shopCardFooter{display:grid;gap:8px}#shop .shopBuy{width:100%;border-radius:6px;background:#e7e8eb;color:#ffffff}#shop .shopPrice{font-size:13px}.tryOnButton{margin:0 12px 12px;border:1px solid #555963;background:transparent;color:#373b43;border-radius:6px;min-height:34px}.tryOnDialog{color:#292d34;background:#ffffff;border:1px solid #555963;border-radius:16px;max-width:540px;width:calc(100% - 32px);padding:24px}.tryOnDialog::backdrop{background:#000a}.tryOnPreview{height:320px;background:radial-gradient(ellipse,#45484f,#2a2d33);border-radius:12px}.tryOnPreview img{height:100%;width:100%;object-fit:contain}.tryOnActions{display:flex;gap:10px;margin-top:16px}.tryOnDialog h2{margin-top:0}#avatar .avatarPreviewCard{background:#24262c;border:1px solid var(--line);border-radius:10px;position:sticky;top:96px}#avatar .avatarCatalog{background:var(--panel);border:1px solid var(--line);border-radius:10px}#avatar .catalogTabs{border-bottom:1px solid var(--line)}#avatar .catalogTab{border-radius:6px;background:transparent}#avatar .catalogTab.active{background:#e7e8eb;color:#ffffff}#avatar .catalogItem{border-radius:8px;background:#eff0f2;border:2px solid transparent}#avatar .catalogItem.selected{border-color:#2d3138}.savedLooksPanel,.socialPanel{padding:24px;border-radius:10px;border:1px solid var(--line);background:var(--panel);margin-bottom:20px}.savedLooksPanel{margin-top:24px}.savedLooksPanel h2{font-size:20px}.savedLooksPanel form{display:flex;gap:12px;flex-wrap:wrap}.looksGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.lookCard{display:grid;gap:8px}.lookPreview{height:180px;background:#eff0f2;border-radius:8px}.lookPreview img{height:100%;width:100%;object-fit:contain}.lookCard button{border-radius:6px}.profileHero{display:flex;align-items:center;gap:24px;padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:10px;margin:20px 0;flex-wrap:wrap}.profilePortrait{height:190px;width:170px;background:#eff0f2;border-radius:12px}.profilePortrait img{width:100%;height:100%;object-fit:contain}.profileHero h2{font-size:32px;margin:8px 0}.profileHero p{color:var(--muted)}.profileHero>div:nth-child(2){flex:1}.profileHero button,.socialPanel button,.savedLooksPanel button{border-radius:6px;background:#e7e8eb;color:#292d34}.socialPanel h3{margin-top:0;font-size:20px}.socialPanel textarea{width:100%;box-sizing:border-box;resize:vertical;padding:12px;border:1px solid #555963;background:#2b2e35;color:white;border-radius:7px;font:inherit}.joinSetting{display:flex;align-items:center;gap:10px;margin:16px 0}.joinSetting input{width:18px;height:18px}.playerSearch form>div{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.playerSearch input{flex:1;min-width:180px}.friendsGrid,.historyGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:16px}.friendCard{display:flex;align-items:center;gap:12px;background:#292d34;border-radius:8px;padding:12px;flex-wrap:wrap}.friendCard>div{flex:1}.friendPortrait{padding:0!important;background:#363940!important;border:0;width:64px;height:72px;border-radius:8px!important}.friendPortrait img{height:100%;width:100%;object-fit:contain}.friendCard small{display:block;color:var(--muted);margin-top:5px}.friendCard .profileLink{background:none;color:#292d34;text-align:left;padding:0;border:0}.historyCard{display:grid;gap:12px;padding:18px;border:1px solid #4b4e57;background:#292d34;border-radius:8px;color:#2d3138;text-decoration:none}.historyCard small{color:var(--muted)}.historyCard span{font-weight:700}.accountSecurity summary{cursor:pointer;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:8px;margin-bottom:16px}#socialStatus{min-height:24px}.shopOwnership{display:flex;align-items:center;gap:7px}.shopOwnership input{width:18px;height:18px}@media(max-width:650px){.profileHero{padding:16px;gap:14px}.profilePortrait{width:110px;height:140px}.profileHero h2{font-size:25px}.socialPanel,.savedLooksPanel{padding:16px}.friendsGrid,.historyGrid{grid-template-columns:1fr}#avatar .avatarPreviewCard{position:static}#shop .newShopGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#shop .shopVisual{height:150px}}

.friendCard,.historyCard{background:#f4f5f7;color:#292d34}.profileHero,.socialPanel,.savedLooksPanel{color:#292d34}.socialPanel textarea{background:#f8f8fa;color:#292d34;border-color:#d0d2d8}#shop .shopFilters button.active{background:#30343b;color:white}#avatar .catalogTab.active{background:#30343b;color:white}.tryOnDialog{color:#292d34;background:white}.tryOnButton{color:#3b3f47;border-color:#d4d6dd}.profileHero .eyebrow{color:#696d76}.historyCard span{color:#396993}
.socialBell{position:relative;display:flex;align-items:center;gap:6px;background:#1c293b;color:#f7faff;border:1px solid #33465f;border-radius:12px;padding:10px}.socialBell svg{width:24px;height:24px}.socialBell span,.unreadCount{border-radius:20px;padding:2px 6px;background:#176bb5;color:white;font-size:12px}.friendPopover{position:fixed;right:20px;top:82px;width:min(360px,calc(100vw - 32px));max-height:65vh;overflow:auto;z-index:110;background:#172334;color:#f5f8ff;border:1px solid #38506a;border-radius:16px;padding:18px;box-shadow:0 16px 40px #0008}.requestRow{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0;border-bottom:1px solid #344154}.requestRow strong{width:100%}.chatDock,.privateChat{position:fixed;bottom:0;right:18px;width:300px;z-index:90;background:#152233;color:#f7faff;border:1px solid #354861;border-radius:16px 16px 0 0;box-shadow:0 10px 40px #0008}.chatToggle{width:100%;text-align:left;padding:16px;background:transparent;color:white;border:0}.chatBody{padding:12px}.chatBody input,.privateChat input{width:100%;min-width:0;box-sizing:border-box;background:#0e1929;color:white;border:1px solid #405675;border-radius:12px;padding:12px}.chatFriends{max-height:310px;overflow:auto}.chatFriend{display:block;width:100%;text-align:left;padding:12px;border:0;border-bottom:1px solid #344154;background:transparent;color:white}.chatFriend small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#bac9df;margin-top:5px}.privateChat{right:334px;width:320px}.privateChat header{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #354861}.privateMessages{height:300px;overflow:auto;padding:12px}.messageBubble{max-width:85%;background:#2d3d53;border-radius:14px;padding:9px 12px;margin:8px 0;overflow-wrap:anywhere}.messageBubble.mine{margin-left:auto;background:#446989}.messageBubble p{margin:0;color:white}.messageBubble time{font-size:10px;color:#d1ddef}.privateChat form{display:flex;gap:6px;padding:12px}.chatError{font-size:13px;padding:0 12px;color:#ffc1c1}.profileRows>div{display:flex;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #344154}.profileDetails summary{font-size:18px;font-weight:700;cursor:pointer;padding:8px}.profileDetails form{margin-top:16px}.profilePortrait{border-radius:50%;overflow:hidden}.isSignedOut .chatDock,.isSignedOut .privateChat,.isSignedOut .socialBell,.isSignedOut .friendPopover{display:none!important}@media(max-width:700px){.chatDock{right:8px;width:250px}.privateChat{right:8px;bottom:54px;width:min(340px,calc(100vw - 16px));z-index:95}.privateMessages{height:min(300px,40vh)}.headerActions{gap:5px}.socialBell{padding:8px}}
/* Social controls also live outside the main account panel. */
:is(.friendPopover,.chatDock,.privateChat) {color-scheme:dark;--panel:#152233;--line:#354861;--muted:#b9c7db}
:is(.friendPopover,.chatDock,.privateChat) button{appearance:none;background:#24334b;color:#f5f8ff;border:1px solid #435573;border-radius:10px;min-height:38px;padding:9px 12px;font:inherit;font-weight:600;cursor:pointer}
:is(.friendPopover,.chatDock,.privateChat) button:hover{background:#334560;border-color:#376995}
:is(.friendPopover,.chatDock,.privateChat) button:focus-visible{outline:2px solid #aed7fb;outline-offset:3px}
:is(.friendPopover,.chatDock,.privateChat) button:disabled{opacity:.55;cursor:default}
.chatDock .chatToggle,.chatDock .chatFriend{background:transparent;border:0;border-radius:0;color:#f5f8ff}
.chatDock .chatToggle{padding:16px;border-radius:16px 16px 0 0}.chatDock .chatFriend{border-bottom:1px solid #344154;padding:12px}
.privateChat form button{background:#42688a;border-color:#316a9b;color:#fff}
:is(.friendPopover,.chatDock,.privateChat) :is(input,select,textarea){color-scheme:dark;background:#0e1929;color:#f5f8ff;border:1px solid #405675}
:is(.friendPopover,.chatDock,.privateChat) input::placeholder{color:#afbed3;opacity:1}

.chatAvatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;flex:none;overflow:hidden;border-radius:50%;background:#b8c4d5;border:1px solid #63728a}.chatAvatar img{width:100%;height:100%;object-fit:cover;display:block}.chatAvatar svg{width:20px;height:20px}.chatAvatar small,.chatAvatar .previewRetry{display:none}.chatDock .chatFriend{display:flex;align-items:center;gap:10px}.chatFriendInfo{min-width:0;flex:1}.chatFriendInfo strong{display:block}.privateChat header{gap:9px}.privateChat header strong{flex:1;min-width:0;overflow-wrap:anywhere}.chatMessageRow{display:flex;align-items:flex-start;gap:8px;margin:10px 0}.chatMessageRow.mine{flex-direction:row-reverse}.chatMessageRow .messageBubble{margin:0;max-width:calc(100% - 44px);box-sizing:border-box}.chatMessageRow .chatAvatar{width:28px;height:28px;min-width:28px}.requestRow .chatAvatar{width:34px;height:34px;min-width:34px}.requestRow strong{width:auto;flex:1;align-self:center}.requestRow button{flex:0 1 auto}

/* /experience.css */
:root{color-scheme:dark;--ui-bg:#0b101a;--ui-panel:#151d2b;--ui-raised:#1d2738;--ui-line:#2a3548;--ui-text:#edf2fa;--ui-muted:#96a6bf;--ui-accent:#a4a2ff;--panel:#151d2b;--line:#2a3548;--muted:#96a6bf;--ink:#edf2fa;--green:#8dd8ba;--accent:#a4a2ff}html{background:#0b101a;scroll-behavior:smooth}body{background:radial-gradient(ellipse at 75% 0,#172033 0,transparent 46%),#0b101a!important;color:#edf2fa!important;font-family:Inter,system-ui,sans-serif;min-height:100dvh}body.isSignedOut{background:radial-gradient(ellipse at 75% 25%,#253545,transparent 60%),#0b101a!important}button,a,input,select,textarea{font:inherit}button,a{transition:background .18s,border-color .18s,transform .18s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a4a2ff!important;outline-offset:3px}input,select,textarea{background:#101824!important;color:#edf2fa!important;border:1px solid #354258!important;border-radius:10px;padding:11px 13px}input::placeholder,textarea::placeholder{color:#788ba6!important}input[type="checkbox"]{accent-color:#a4a2ff}input[type="color"]{padding:3px}input[type="file"]{font-size:12px}button{color:#edf2fa}button:disabled{cursor:not-allowed!important}.eyebrow{color:#94a9ce!important;letter-spacing:.15em;font-size:10px;font-weight:800}h1,h2,h3,strong{color:#edf2fa}p{line-height:1.65}.topbar{background:#0d1422eb!important;border-bottom:1px solid #263247!important;box-shadow:none!important;backdrop-filter:blur(18px);z-index:100}.brandText,.brandText em{color:#eef0ff!important}.brandMark{background:#a4a2ff!important;border-radius:12px!important}.brandMark svg{stroke:#141d31!important;fill:none!important}.brandMark path:first-child{fill:none}.mainNav .navItem{color:#91a4c1!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;gap:11px}.mainNav .navItem svg{stroke:currentColor!important;fill:none!important;width:20px;height:20px}.mainNav .navItem:hover{background:#1e2a3e!important;color:#f2f5ff!important}.mainNav .navItem.active{background:#252942!important;border-color:#3c4265!important;color:#c6c4ff!important}.globalSearch{background:#172132!important;border:1px solid #2c3a52!important;border-radius:12px!important;color:#91a4c1!important}.globalSearch input{background:none!important;border:0!important;color:#e8eef9!important}.userChip,.nizurBalance{background:#1b2638!important;border:1px solid #34415c!important;color:#e7edfa!important;border-radius:12px!important}.userAvatar{background:#25364d!important;border-radius:9px!important}.nizurBalance small{color:#9facbf!important}.coinDot{background:#e8c779!important;color:#273041!important}.logoutBtn{background:#182336!important;border:1px solid #2c3a52!important;color:#c9d6ea!important}.view{animation:viewIn .26s ease-out}.view[hidden]{display:none!important}@keyframes viewIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.islandHero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #35495a;border-radius:24px;min-height:450px;background:#233d43;box-shadow:0 20px 70px #0003;margin:0 0 36px}.islandHeroStill,.islandHero canvas,.islandHeroShade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.islandHero canvas{opacity:0;transition:opacity .6s}.islandHero.renderReady canvas{opacity:1}.islandHeroShade{background:linear-gradient(90deg,#0b172eea,#10243970 48%,#0e192000),linear-gradient(0deg,#071420b8,transparent 45%);z-index:1}.islandHeroCopy{position:relative;z-index:2;padding:56px;max-width:590px}.heroPill{display:inline-flex;gap:8px;align-items:center;color:#c1ead6;letter-spacing:.12em;font-size:9px;font-weight:800;padding:9px 12px;border:1px solid #8dd8ba45;background:#102b2978;border-radius:30px}.onlineSpark{width:6px;height:6px;border-radius:50%;background:#9be0bf;box-shadow:0 0 13px #8cecc1}.islandHero h1{font-size:clamp(36px,4.8vw,66px);font-weight:800;letter-spacing:-.055em;line-height:1.03;margin:22px 0;color:#f4f7fa}.islandHeroCopy p{font-size:14px;line-height:1.8;color:#c1d0df;margin:0 0 28px}.islandHeroActions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.islandHeroActions a,.islandHeroActions button{display:inline-flex;align-items:center;gap:9px;border-radius:10px;padding:13px 18px;border:1px solid #cadde83c;background:#172435a6;color:#e6edf5;text-decoration:none;font-size:12px;font-weight:750;min-height:44px;box-sizing:border-box;cursor:pointer}.islandHeroActions .heroPlay{background:#b4ecd3;color:#12372d;border-color:#b4ecd3;box-shadow:0 4px 20px #71c39b28}.islandHeroActions svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}.islandHeroActions .heroPlay svg{fill:currentColor;stroke:none}.heroPlay:hover{transform:translateY(-2px);background:#d0f8e5!important}.heroWorldTag{position:absolute;z-index:2;right:28px;bottom:26px;display:flex;align-items:flex-end;flex-direction:column;gap:5px;color:#c6d8e6;font-size:10px}.heroWorldTag strong{font-size:16px;color:white}.heroCoordinates{font-size:8px;letter-spacing:.16em;color:#b4ecd3}.sectionHeading,.exploreBar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:28px 0 20px}.sectionHeading h2,.exploreBar h2{font-size:22px;letter-spacing:-.03em;margin:8px 0 0}.sectionHeading a,.exploreBar a{display:flex;align-items:center;gap:7px;color:#aeb5ff!important;text-decoration:none;font-size:12px;font-weight:700}.sectionHeading svg{width:15px;stroke:currentColor;fill:none;stroke-width:1.6}.creationRow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.creationCard{display:grid;grid-template-columns:56px 1fr;column-gap:13px;row-gap:6px;padding:16px;background:#172132;border:1px solid #2b3a52;border-radius:13px;text-decoration:none;color:#e5edf8}.creationCard:hover{border-color:#727fb6;transform:translateY(-2px)}.creationCover{grid-row:1/3;height:58px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(145deg,#354b5e,#27304b);overflow:hidden}.creationCover svg{width:28px;height:28px;color:#bdd0e7}.creationCover img{width:100%;height:100%;object-fit:cover}.creationCard strong{font-size:12px;align-self:end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creationCard>span{font-size:10px;color:#9aacc7}.myCreations{margin-bottom:36px}.gameCategories{gap:9px;flex-wrap:wrap}.gameCategories button,.shopFilters button{background:#182337!important;color:#aebed5!important;border:1px solid #2c3b52!important;border-radius:8px!important}.gameCategories button[aria-pressed="true"],.shopFilters button.active{background:#303550!important;color:#d1cfff!important;border-color:#656598!important}.games{gap:20px}.game,.gameCard,.communityCard,.newShopCard,.card,.accountSidebar,.avatarPreviewCard,.avatarCatalog,.authCard{background:#151e2c!important;color:#e9eff9!important;border:1px solid #2b374b!important;border-radius:15px!important;box-shadow:none!important}.game:hover,.communityCard:hover,.newShopCard:hover{border-color:#66779b!important;transform:translateY(-4px)}.gameContent,.communityMeta{background:#151e2c!important;padding:18px!important}.gameContent p,.communityMeta p,.gameMiniMeta,.gameResults,.accountCardTitle p,.accountProfile small{color:#91a3bd!important}.gameContent h2,.communityMeta h2{font-size:18px;line-height:1.4;color:#edf2fa!important}.gameVisualLabel{background:#172132cc!important;border:1px solid #91a4c33d;color:#d7e5f6!important;font-size:9px;border-radius:6px!important}.gameCardFooter{border-color:#2a3649!important}.playButton{background:#9f9df8!important;color:#17213a!important;border:0!important;border-radius:8px!important;min-height:38px;font-size:12px}.playButton:hover{background:#bbbaff!important;transform:translateY(-1px)}.gameThumb,.communityPreview{background:#23354b!important;display:block}.gameThumb img,.communityPreview img{transition:transform .4s}.game:hover .gameThumb img,.communityCard:hover .communityPreview img{transform:scale(1.04)}#featuredGame{background:linear-gradient(120deg,#1b293c,#171d31)!important;border:1px solid #34425d!important;border-radius:16px!important;margin-bottom:30px;min-height:200px}#featuredGame .featuredCopy h2{color:#edf2fa!important;font-size:25px}#featuredGame .featuredCopy p{color:#9eafc6!important}#featuredGame .featureBadge{color:#b8b7ff!important}#featuredGame button{background:#2f3955!important;color:#d9e6fb!important;border:1px solid #4f5d7b!important;border-radius:8px}.createBanner{background:linear-gradient(120deg,#21253f,#1b2e36)!important;border:1px solid #38445e!important;border-radius:16px!important}.createBanner h2{color:#eef2fb!important}.createBanner p{color:#a7b6cc!important}.createBanner button{background:#2e3955!important;color:#d6e0f4!important;border:1px solid #536384!important;border-radius:10px!important}.createSymbol{background:#313950!important;color:#c9c8ff!important}.pageIntro h1,.accountTitle h1,.avatarTitle h1,.shopHero h1{font-size:34px!important;letter-spacing:-.045em}.pageIntro p,.accountTitle p,.avatarTitle p,.shopHero p{color:#97a9c2!important}.communityCreatorRow,.communityFooter{border-color:#2c3850!important}.communityCreatorText small{color:#7e94b6!important}.communityCreatorText b{color:#ccd8ea}.communityCreatorAvatar{background:#29364b!important;border:1px solid #3b4c66!important}.communityFooter{display:flex;flex-wrap:wrap}.communityEdit{color:#c4c7ff!important;font-size:11px;text-decoration:none;padding:8px 11px;border:1px solid #485375;border-radius:7px;background:#252e46}.communityOnline{color:#8dd8ba!important}.communityStudioBadge{background:#253247!important;color:#9dafc8!important;border:1px solid #354962!important}.communityPlay{background:#aaa7ff!important;color:#15203b!important}.communityEmpty,.gamesLoading,.shopEmpty{background:#121c2b!important;border:1px dashed #394965!important;color:#9caec7!important;border-radius:12px!important;padding:28px}.shopHero{background:linear-gradient(120deg,#20273f,#152836)!important;border:1px solid #33435b!important;padding:28px!important;min-height:0!important}#shop .shopFilters{border-color:#28354a}#shop .shopFilters button.active{background:#6a69a0!important;color:white!important}#shop .newShopCard{padding:10px!important}.shopVisual{background:radial-gradient(ellipse at 50% 30%,#33475d,#1e293b 75%)!important;border-radius:10px!important}.shopVisual img{padding:8px}.shopCategory,.shopPrice{color:#a0b3cf!important}.shopBuy{background:#a4a2ff!important;color:#15203b!important;border-radius:8px!important}.tryOnButton{background:#202b3f!important;color:#aebfe1!important;border:1px solid #3c4e6a!important;border-radius:8px!important}.tryOnButton:hover{background:#2d3a54!important}.tryOnDialog{background:#151f30!important;border:1px solid #415271!important;color:#ecf3fc!important}.tryOnDialog::backdrop{background:#070d1ae0}.tryOnDialog p{color:#9daecc}.tryOnDialog button{background:#2d3a53;color:#dde7f8;border:1px solid #50607c;border-radius:8px;padding:12px}.tryOnActions button:first-child{background:#a4a2ff;color:#19223a}.tryOnPreview{background:radial-gradient(ellipse,#354860,#182237)!important}.preview3d{background:#151e2c!important;border-color:#32415a!important}.saveAvatar{background:#a4a2ff!important;color:#18223a!important;border-radius:9px!important}.catalogHeader,.catalogTabs{border-color:#2b3a51!important}.catalogHeader strong{color:#d5e0f4!important}.catalogHeader span,.catalogCount{color:#99aac3!important}.catalogTab{background:#1d2a3e!important;border:1px solid #344760!important;color:#a9bbd6!important;border-radius:8px!important}.catalogTab.active{background:#31384f!important;color:#d1d0ff!important;border-color:#7d79b5!important}.catalogItem{background:#1d2a3c!important;border:2px solid #2c3a50!important;color:#dce6f8!important;border-radius:10px!important}.catalogItem.selected{background:#26334c!important;border-color:#aaa6ff!important}.itemImage,.itemEmoji{background:#2a3a51!important}.itemName{color:#d9e6fa}.itemMeta{color:#7f98bc!important}.shopBadge{background:#223847!important;color:#9ed9c6!important;border-color:#2e524f!important}.shopBadge.locked{background:#2e3045!important;color:#b1b8df!important}.quietAction{background:#243248!important;color:#bfccef!important;border-color:#405476!important}.socialPanel,.savedLooksPanel,.profileHero{background:#151e2d!important;color:#e6effd!important;border:1px solid #2d3b53!important;--muted:#96a9c6;--line:#33445e;--panel:#151e2d}.profileHero p,.socialPanel p{color:#96a9c6!important}.profilePortrait,.lookPreview{background:radial-gradient(ellipse,#2c3e56,#1e2a3c)!important}.profileHero button,.socialPanel button,.savedLooksPanel button{background:#2c3d58!important;color:#dae7fb!important;border:1px solid #465d7d!important}.profileHero button:hover,.socialPanel button:hover{background:#354d70!important}.friendCard,.historyCard{background:#1d2b3e!important;color:#dce8f8!important;border:1px solid #324761}.friendCard .profileLink{color:#d6e2f6!important;background:none!important;border:0!important}.friendPortrait{background:#2c405a!important}.historyCard span{color:#a8b4ff!important}.historyCard small{color:#99adcb!important}.accountSecurity summary{background:#1a2639!important;border:1px solid #35465f!important;color:#c7d7f1!important}.accountMenuItem,.accountTip{background:#203047!important;color:#bbcee9!important}.accountCardTitle h2{color:#deebfd!important}.accountProfile,.accountTip span{color:#91a6c6!important}.authHero{background:linear-gradient(145deg,#16293a,#23313d)!important;border:1px solid #35465e!important;border-radius:24px!important}.authHero h1,.authHero>b{color:#ecf1fc!important}.authHero p{color:#a5b9d3!important}.authPills span,.welcomeBadge{background:#2a3a4e!important;color:#b5c8e5!important;border:1px solid #405675!important}.authTabs button{color:#92a8c7!important;background:transparent!important}.authTabs button.active{background:#2e3d57!important;color:#d1e1fc!important}.authCard label{color:#adc0dc!important}.authInput{background:#101827!important;border:1px solid #344862!important;border-radius:10px!important}.authInput input{background:none!important;border:0!important}.authGo{background:#a4a2ff!important;color:#162139!important;border:0!important;box-shadow:none!important}.authGo.secondary{background:#303e58!important;color:#d2e2fd!important}.safeTip{color:#869ab7!important}.safeTip .uiIcon{color:#96b4d9}.authCard h2{color:#e0ebfb!important}.authCard>p{color:#91a6c3!important}.appNotice{background:#2b2941!important;color:#c4ddf2!important;border-color:#506578!important}.adminQuickNav button,#admin .adminAccordion>summary,#admin .adminGameRow,#admin .adminFaceRow,#admin .adminAccessoryRow,#admin .adminUserRow,#admin .basePriceRow,#admin .adminMiniRow,#admin .accessoryCategoryRow{background:#1c2b40!important;border-color:#354a66!important;color:#d4e2f8!important}#admin .adminAccordion{background:#152134!important;border:1px solid #2e425d!important}#admin input,#admin textarea,#admin select{background:#111b2a!important;color:#e1ecfc!important;border-color:#3c4e68!important}#admin .adminHelp,#admin .adminAccordion>summary p{color:#96accb!important}#admin button.danger{background:#442838!important;color:#f1aebd!important;border-color:#704355!important}#admin .adminTitle p{color:#8fa4c0!important}.adminBadge{background:#34375b!important;color:#c6c4fa!important}.adminStatus.ok{color:#87d6b6!important}.adminStatus.error{color:#edacb5!important}.previewRetry{background:#283a55!important;color:#c5d8f6!important;border-color:#4c6384!important}.modelPreview>svg,.modelPreview>small{color:#8199bb!important}.learnLink{color:#91a9d1!important}.skipLink:focus{background:#293c58;color:#eef5ff}@media(min-width:1150px){.topbar{position:fixed;inset:0 0 auto;height:80px;box-sizing:border-box;padding:14px 32px!important;display:flex;gap:28px}.topbar .brand{width:165px;flex:none}.mainNav{position:fixed;left:18px;top:104px;bottom:26px;width:184px;display:flex!important;flex-direction:column;align-items:stretch;gap:8px;padding:0;background:transparent;border:0}.mainNav .navItem{display:flex;align-items:center;justify-content:flex-start;padding:14px 17px!important;min-height:49px}.globalSearch{max-width:520px;flex:1}.headerActions{margin-left:auto}.brandText{font-size:17px!important}body>main{max-width:1700px;box-sizing:border-box;margin:0 0 0 224px!important;padding:112px 38px 55px!important}.isSignedOut>main{margin:0!important;padding:112px 40px 50px!important;max-width:1400px}.isSignedOut .mainNav{display:none!important}.learnLink{position:fixed;left:28px;bottom:20px;font-size:10px}.creationRow{grid-template-columns:repeat(4,minmax(0,1fr))}.authShell{max-width:1200px;margin:auto}.games{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:1149px){.topbar{position:sticky;top:0;padding:16px 22px!important;display:flex;flex-wrap:wrap;gap:14px!important}.globalSearch{order:3;width:100%;flex:none;box-sizing:border-box;height:43px}.headerActions{margin-left:auto}.mainNav{position:fixed!important;bottom:0!important;left:0!important;right:0!important;top:auto!important;width:auto!important;padding:7px 10px calc(7px + env(safe-area-inset-bottom))!important;display:flex!important;justify-content:space-around!important;background:#0e1727f5!important;border-top:1px solid #344058!important;z-index:110;backdrop-filter:blur(16px);border-radius:0!important;gap:3px!important}.mainNav .navItem{display:flex!important;flex:1!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;padding:7px 4px!important;min-height:51px!important;font-size:10px!important}.mainNav .navItem svg{width:19px!important;height:19px!important}.mainNav .navItem[hidden]{display:none!important}body>main{padding:24px 22px 100px!important;box-sizing:border-box;width:100%;max-width:1100px;margin:auto!important}.learnLink{display:none}.creationRow{grid-template-columns:repeat(2,minmax(0,1fr))}.islandHeroCopy{padding:42px 32px}.islandHero{min-height:410px}.heroWorldTag{right:20px;bottom:18px}.authShell{grid-template-columns:1fr!important}.authHero{display:none!important}.authCard{max-width:500px;margin:22px auto}}@media(max-width:650px){.topbar{padding:13px 16px!important}.brandText{font-size:15px}.brandMark{width:32px!important;height:32px!important}.globalSearch{height:40px}.nizurBalance{padding:7px 10px!important}.nizurBalance small{display:none}.userChip>b{display:none}.islandHero{min-height:430px;margin-bottom:26px;border-radius:17px}.islandHeroCopy{padding:28px 23px 90px;max-width:360px}.islandHero h1{font-size:42px;margin:20px 0}.islandHeroCopy p{font-size:12px;line-height:1.7}.heroPill{font-size:7px;padding:8px 9px}.islandHeroActions{gap:8px}.islandHeroActions a,.islandHeroActions button{font-size:10px;padding:11px 12px;min-height:42px}.islandHeroShade{background:linear-gradient(90deg,#0d1a2eda,#152d4291 80%),linear-gradient(0deg,#0914209c,transparent 55%)}.heroWorldTag{right:18px;bottom:18px;font-size:8px}.heroWorldTag strong{font-size:13px}body>main{padding:20px 16px 100px!important}.creationRow{grid-template-columns:1fr}.creationCard{padding:13px}.sectionHeading h2,.exploreBar h2{font-size:19px}.sectionHeading a,.exploreBar a{font-size:10px}.sectionHeading,.exploreBar{gap:10px}.games{grid-template-columns:1fr!important;gap:16px}#featuredGame{min-height:0;margin-top:0}#featuredGame .featuredCopy h2{font-size:21px}#featuredGame .featuredCopy p{font-size:12px}.shopHero{padding:20px!important}.pageIntro h1,.accountTitle h1,.avatarTitle h1,.shopHero h1{font-size:28px!important}.shopTools{grid-template-columns:1fr!important}#shop .shopTools label{grid-column:1/-1!important}.shopTools input,.shopTools select{height:auto!important;min-height:42px}.shopOwnership{display:flex!important;align-items:center;flex-direction:row;gap:8px}.shopOwnership input{width:16px!important;min-height:16px!important;height:16px!important;margin:0}.profileHero{gap:14px}.communityGrid{grid-template-columns:1fr!important}#avatar .avatarPreviewCard{position:static!important}.preview3d{height:330px!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.game:hover,.communityCard:hover,.newShopCard:hover,.creationCard:hover{transform:none!important}}
/* Final theme rules supersede the previous light layout. */
html{color-scheme:dark!important;overflow-x:clip}body{--ink:#edf2fa;--muted:#96a6bf;--purple:#a4a2ff}header.topbar{background:#0d1422f5!important;backdrop-filter:blur(18px)!important;box-sizing:border-box}.nizurBalance b{color:#edcf89!important}.safetyHelpLink,.safetyLink{color:#adb9d5!important}.game.managedGame{background:#151e2c!important;border-color:#2b374b!important;box-shadow:none!important}.game .gameThumb{background:#23354b!important}.game .gameContent h2{color:#edf2fa!important}.game .gameContent p{color:#91a3bd!important}.game .gameVisualLabel{background:#172132e8!important;color:#d7e5f6!important}.mainNav{box-sizing:border-box}.globalSearch{position:static!important;min-width:0!important}.globalSearch svg{stroke:#91a4c1!important}.mainNav .navItem{flex:0 0 auto}.topbar .brand{min-height:0}.brandMark{transform:none!important}.islandHeroCopy{box-sizing:border-box}.gameCardFooter{border-color:#2a3649!important}
@media(min-width:1150px){header.topbar{position:fixed!important;height:80px!important;padding:14px 32px!important}.mainNav{top:104px!important;bottom:26px!important;left:18px!important;width:184px!important;max-width:184px!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;justify-content:flex-start!important;overflow:auto!important}.mainNav .navItem{width:100%!important;height:49px!important;min-height:49px!important;flex:0 0 49px!important}.globalSearch{width:min(38vw,520px)!important;flex:1 1 auto!important;height:43px!important;margin:0 auto!important}.headerActions{margin-left:auto!important}.islandHeroCopy{max-width:640px}}
@media(max-width:1149px){header.topbar{height:auto!important;min-height:0!important;position:sticky!important;flex-wrap:wrap!important;padding:16px 22px!important}.globalSearch{position:static!important;left:auto!important;top:auto!important;width:100%!important;max-width:none!important;flex:0 0 100%!important;order:3!important;margin:0!important}.mainNav{max-width:none!important;width:100%!important;height:auto!important;min-height:0!important;flex-direction:row!important;align-items:center!important;overflow:visible!important;border-right:0!important}.mainNav .navItem{width:auto!important;height:55px!important;min-height:55px!important;flex:1 1 0!important}.headerActions{margin-left:auto!important}.brandText{display:block!important}}
@media(max-width:650px){header.topbar{padding:12px 16px!important}.brandText{font-size:15px!important}.headerActions{gap:6px!important}.userChip{display:none!important}.mainNav .navItem{font-size:9px!important}.globalSearch input{width:100%!important}.islandHero h1{font-size:38px}.islandHeroCopy{max-width:390px}}
header.topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;transform:none!important}
#shop .shopTools input,#shop .shopTools select,#shop input[type=search],#shop .shopSearch input{background:#101824!important;color:#edf2fa!important;border:1px solid #354258!important}#shop .shopTools label,#shop #shopResults,#shop .shopOwnership{color:#a9b9d0!important}#avatar .avatarTitle h1,#avatar .avatarTitle p,#avatar .avatarCatalog h2,#avatar .catalogHeading strong{color:#edf2fa!important}#avatar .catalogHeading small,#avatar .avatarTitle p{color:#9cadc5!important}

#shop,#avatar,#account{--panel:#151e2c;--line:#2a3548;--muted:#96a6bf;--accent:#a4a2ff}.shopPrice svg{width:13px;height:13px;vertical-align:middle;margin-right:5px}.shopPrice{color:#c7d3e8!important}
@keyframes viewIn{from{transform:translateY(5px)}to{transform:translateY(0)}}
@media(max-width:1149px){.mainNav .navItem{min-width:0!important}.mainNav .navItem span{font-size:9px!important;letter-spacing:-.2px!important}.mainNav{padding-left:5px!important;padding-right:5px!important}.mainNav .navItem svg{width:18px!important;height:18px!important}}

.communityFallback{background:radial-gradient(ellipse at 35% 20%,#3c4b67,#1a263d);padding:20px;box-sizing:border-box}.communityFallback svg{width:100%;height:100%;max-height:160px}.communityFooter{flex-wrap:wrap}@media(min-width:1150px){body>.safetyHelpLink{position:fixed;left:28px;bottom:20px;font-size:10px}}@media(max-width:1149px){body>.safetyHelpLink{display:none}}

/* Consistent post-login surfaces; entry showcase is intentionally outside this scope. */
:is(#avatar,#shop,#account,#community,#clothes,#admin) :is(button,input,select,textarea){color-scheme:dark}
:is(#avatar,#shop,#account,#community,#clothes,#admin) button:not(.colorPreset):not(.colorBall):not(.bodyColorCard){background-color:#202d42;color:#edf2fa;border-color:#394761}
:is(#avatar,#shop,#account,#community,#clothes,#admin) button:is(.active,.selected,.primary,[aria-pressed="true"]){background-color:#426686;color:#fff;border-color:#9fd0fa}
:is(#avatar,#shop,#account,#community,#clothes,#admin) button:disabled{opacity:.55;cursor:default}
:is(#avatar,#shop,#account,#community,#clothes,#admin) :is(input:not([type="range"]):not([type="color"]),select,textarea){background:#111a29;color:#edf2fa;border-color:#394761}
:is(#avatar,#shop,#account,#community,#clothes,#admin) :is(.clothesCard,.communityWardrobe,.clothesCardContent,.clothesPublish,.adminClothesRow){background:#151e2e;color:#edf2fa;border-color:#2d3950}
:is(#avatar,#shop,#account,#community,#clothes,#admin) :is(.clothesCard h3,.communityWardrobe h2,.communityWardrobe h3,.clothesPrice){color:#edf2fa}
:is(#avatar,#shop,#account,#community,#clothes,#admin) :is(.clothesCreator,.clothesEmpty,.communityClothesTools label,.clothesKind){color:#acbad0}
:is(#avatar,#shop) .clothesCardPreview{background:radial-gradient(ellipse,#33425b,#182438)}
#avatar .communityWardrobe{margin:24px 0 0;padding:0;border:0;background:transparent}
#avatar .wardrobeFilters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 22px}#avatar .wardrobeFilters button{padding:10px 14px;border:1px solid #394761;border-radius:10px;min-height:42px}
#avatar .clothesCard.selected{outline:2px solid #9fd0fa;outline-offset:2px}#avatar #wardrobeStatus{color:#b6c6dd;margin:10px 0}
:is(#avatar,#shop,#account,#community,#clothes,#admin) :is(button,input,select,textarea):focus-visible{outline:2px solid #aed7fb;outline-offset:3px}

dialog{color-scheme:dark;background:#151e2e;color:#edf2fa;border:1px solid #394761;border-radius:16px}dialog button{background:#26344a;color:#edf2fa;border:1px solid #455775}dialog :is(input,select,textarea){background:#101a29;color:#edf2fa;border-color:#394761}dialog::backdrop{background:#050910b3}

#avatar .outfitAutoPreview{display:block;width:100%;height:210px;min-height:210px;background:radial-gradient(ellipse,#33425b,#182438);border-radius:12px;overflow:hidden}#avatar .outfitAutoPreview img{width:100%;height:100%;object-fit:contain}#avatar .outfitAutoPreview svg{max-width:48px;max-height:48px}#avatar .outfitAutoPreview small{font-size:12px;color:#acbad0}

/* Readable catalog labels in every state, overriding legacy light-theme rules. */
#avatar{--ink:#f5f7fc;--muted:#b4c0d3;--panel:#151e2e;--line:#34435a}
:is(#avatar,#shop) :is(.itemName,.shopName,.shopTitle,.catalogHeader strong,.panelHeading h2,.accessorySlotTitle,.decalSlotTitle){color:#f5f7fc!important}
:is(#avatar,#shop) :is(.itemMeta,.catalogHint,.catalogHeader span,.panelHeading span,.itemCount,.shopCategory){color:#b4c0d3!important}
#avatar :is(.catalogItem.selected,.catalogItem:hover,.catalogItem:focus-visible) .itemName{color:#fff!important}
#avatar .modelPreview small{color:#b4c0d3!important}

.newShopCard[data-limited="true"] .shopVisual,.clothesCard[data-limited="true"] .clothesCardPreview{position:relative;isolation:isolate}
.newShopCard[data-limited="true"] .shopVisual::after,.clothesCard[data-limited="true"] .clothesCardPreview::after{content:"LIMITED";position:absolute;bottom:0;left:0;z-index:6;background:linear-gradient(120deg,#06994e,#20c46b);color:#fff;padding:3px 22px 3px 7px;font:700 12px/1.3 Arial,sans-serif;letter-spacing:.6px;clip-path:polygon(0 0,85% 0,100% 100%,0 100%);pointer-events:none}
.newShopCard[data-limited="true"] .shopVisual::before,.clothesCard[data-limited="true"] .clothesCardPreview::before{content:"U";position:absolute;bottom:0;left:76px;z-index:5;background:#ffe12b;color:#302900;padding:3px 14px 3px 15px;font:800 12px/1.3 Arial,sans-serif;clip-path:polygon(0 0,72% 0,100% 100%,25% 100%);pointer-events:none}
.tradingDialog{color-scheme:dark;box-shadow:0 24px 90px #0009;border:1px solid #2a3548!important}
.tradingDialog::backdrop{background:#050910bb;backdrop-filter:blur(5px)}
.tradingDialog :is(h2,h3,strong,p,label,small){color:inherit}
.tradingDialog :is(button,input,select){background:#1d2738!important;color:#edf2fa!important;border:1px solid #3a4860!important;border-radius:9px;padding:9px 12px;margin:4px}
.tradingDialog input[type=checkbox]{accent-color:#a4a2ff;padding:0}
.tradingDialog button:hover{background:#31405b!important}
.tradingDialog button:disabled{opacity:.45;cursor:not-allowed}
.tradingDialog [data-send]{background:#6059c5!important;font-weight:700}
.tradingDialog [data-status]{color:#c9c6ff;min-height:24px}

.tradeWorkbench{width:min(1200px,96vw);max-height:94vh;overflow:auto;border-radius:16px;padding:24px;background:#151d2b;color:#edf2fa}
.tradeWorkbench [hidden]{display:none!important}.tradeHeader,.tradePicker,.tradeInventorySection>header,.tradeInboxHeading{display:flex;align-items:center;justify-content:space-between;gap:16px}.tradeHeader{align-items:flex-start;margin-bottom:20px}.tradeHeader h2{font-size:28px;margin:12px 0 0}.tradeHeader [data-list]{padding-left:0;background:transparent!important;border:0!important}.tradePicker{flex-wrap:wrap;justify-content:flex-start;padding-bottom:18px}.tradePicker label{display:flex;align-items:center;gap:10px}.tradePicker p{font-size:13px;color:#a9b6cb}.tradeLayout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.tradeInventories{min-width:0}.tradeInventorySection{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #2a3548}.tradeInventorySection h3,.tradeSummary h3{font-size:19px;margin:0 0 16px}.tradeInventorySection select{max-width:185px}.tradeInventoryGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.tradeWorkbench .tradeItemCard{padding:0;margin:0;min-width:0;background:transparent!important;border:0!important;border-radius:8px;text-align:left;display:flex;flex-direction:column;align-items:stretch;gap:5px}.tradeItemPreview{position:relative;aspect-ratio:1;background:#263044;border-radius:8px;overflow:hidden;border:2px solid transparent}.tradeItemImage{width:100%;height:100%;display:grid;place-items:center}.tradeItemImage img{width:100%;height:100%;object-fit:contain}.tradeItemCard strong{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.tradeItemCard small{font-size:12px;color:#b4c2d8}.tradeItemCard.selected .tradeItemPreview{border-color:#a4a2ff;background:#101827}.tradeItemCard:focus-visible{outline:2px solid #a4a2ff;outline-offset:4px}.tradeSerial{position:absolute;bottom:6px;left:6px;padding:2px 5px;border-radius:9px;background:#101827cc;font-size:10px;color:#d5def0}.tradeCheck{position:absolute;right:5px;top:5px;color:#171d2b;background:#c8c4ff;border-radius:4px;padding:1px 5px;font-size:16px;line-height:20px}.tradeCheck:empty{display:none}.tradePagination{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:18px}.tradePagination span{font-size:13px}.tradeSummary{border-left:1px solid #2a3548;padding-left:24px;display:flex;flex-direction:column;gap:22px}.tradeSummary section{margin-bottom:6px}.tradeSelectedItem{display:grid;grid-template-columns:48px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:8px;border:1px solid #3a4860;border-radius:8px;margin-bottom:10px;background:#1d2738}.tradeSelectedPreview{width:48px;height:48px;background:#263044;display:grid;place-items:center;border-radius:5px;overflow:hidden}.tradeSelectedPreview img{width:100%;height:100%;object-fit:contain}.tradeSelectedItem strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tradeSelectedItem small{font-size:11px;display:block;margin-top:4px;color:#b4c2d8}.tradeWorkbench .tradeSelectedItem button{padding:4px;margin:0;font-size:12px}.tradeEmptySlot{height:58px;background:#101725;border:1px dashed #34425c;border-radius:8px;margin-bottom:10px}.tradeTotal{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.tradeTotal strong{font-size:16px}.tradeSummary>small{font-size:12px;color:#a9b6cb}.tradeSummary [data-send]{width:100%;margin:0;padding:12px;font-size:15px}.tradeEmpty{grid-column:1/-1;min-height:100px;display:grid;place-items:center;color:#a9b6cb;background:#101725;border-radius:8px;padding:15px}.tradeOfferCard{background:#1d2738;border:1px solid #2a3548;padding:16px;border-radius:10px;margin:12px 0}.tradeInboxHeading{flex-wrap:wrap}
@media(max-width:1000px){.tradeInventoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.tradeLayout{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.tradeSummary{padding-left:18px}}
@media(max-width:740px){.tradeWorkbench{padding:16px;width:96vw}.tradeLayout{grid-template-columns:1fr}.tradeInventoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.tradeSummary{border-left:0;border-top:1px solid #2a3548;padding:20px 0 0}.tradeHeader h2{font-size:22px}.tradeInventorySection>header{flex-wrap:wrap}.tradePicker{gap:8px}.tradePicker input{width:160px}.tradeSummary{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tradeSummary>small,.tradeSummary>[data-send],.tradeSummary>[data-status]{grid-column:1/-1}}
@media(max-width:420px){.tradeInventoryGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.tradeSummary{grid-template-columns:1fr}}

.profileLimitedHeading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.profileLimitedHeading h3{margin:0}.profileLimitedNavigation{display:flex;align-items:center;gap:8px}.profileLimitedNavigation button{width:34px;height:34px;border-radius:8px;font-size:21px;background:#1d2738;color:#edf2fa;border:1px solid #3a4860}.profileLimitedNavigation button:disabled{opacity:.35}.profileLimitedNavigation small{font-size:12px;color:#a9b6cb}.profileLimitedGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.profileLimitedCard{background:transparent!important;border:0!important;padding:0!important;min-width:0;box-shadow:none!important;display:flex;flex-direction:column;gap:7px}.profileLimitedCard .clothesCardPreview{width:100%;aspect-ratio:1;border-radius:9px;overflow:hidden;height:auto;min-height:0;background:#263044!important;display:grid;place-items:center}.profileLimitedCard .clothesCardPreview img{width:100%;height:100%;object-fit:contain}.profileLimitedCard strong{font-size:13px;line-height:1.4}.profileLimitedCard>small{font-size:11px;color:#a9b6cb}.profileLimitedGrid>p{grid-column:1/-1;color:#a9b6cb}@media(max-width:850px){.profileLimitedGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:420px){.profileLimitedGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tradeWorkbench :is(.tradeHeader,.tradeInventorySection>header,.tradeInboxHeading){position:static!important;inset:auto!important;height:auto!important;min-height:0!important;width:auto!important;z-index:auto!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border:0!important;padding:0!important;overflow:visible!important}
.tradeWorkbench .tradeHeader{margin-bottom:20px!important}.tradeWorkbench .tradeInventorySection>header{margin-bottom:14px!important}
.tradingDialog.tradeWorkbench button.tradeItemCard{background:transparent!important;justify-content:flex-start!important;color:#edf2fa!important}
.tradingDialog.tradeWorkbench header.tradeHeader{position:sticky!important;top:-24px!important;z-index:20!important;background:#151d2b!important;padding:14px 0!important;border-bottom:1px solid #2a3548!important}
.profileLimitedNavigation button{position:relative;font-size:0!important}.profileLimitedNavigation button>svg{display:none!important}.profileLimitedNavigation button:first-child::before{content:'‹';font-size:24px}.profileLimitedNavigation button:last-child::before{content:'›';font-size:24px}
@media(max-width:740px){.tradingDialog.tradeWorkbench header.tradeHeader{top:-16px!important}}

.profileLimitedPanel,.profileInventoryPanel{min-width:0;overflow:hidden}.profileLimitedCard{height:auto!important;min-width:0;overflow:hidden;padding-bottom:8px!important;align-self:stretch}.profileLimitedCard>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:36px;margin:0!important}.profileLimitedCard>.profileItemPrice{display:block!important;position:static!important;max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#a9b6cb;margin:0!important;padding:0!important}.profileInventoryScroll{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 70px)/6);gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:4px 0 14px;scrollbar-color:#536480 #101725;scrollbar-width:thin}.profileInventoryScroll>.profileLimitedCard{scroll-snap-align:start}.profileInventoryScroll .clothesCardPreview{font-size:30px}.profileLimitedGrid{align-items:start}@media(max-width:850px){.profileInventoryScroll{grid-auto-columns:calc((100% - 28px)/3)}}@media(max-width:420px){.profileInventoryScroll{grid-auto-columns:calc((100% - 14px)/2)}}

.itemStockInfo{padding:12px;border:1px solid #364961;border-radius:10px;color:#b5d8e8;line-height:1.5;font-size:13px}.limitedEditor label{display:block;margin:14px 0}.limitedEditor input[type=number]{display:block;margin-top:8px;background:#1d2738;color:#edf2fa;padding:10px;border:1px solid #435873;border-radius:8px}.limitedEditor input[type=checkbox]{accent-color:#a4a2ff}

.profileInventoryVirtual{display:block;position:relative}.profileInventoryRail{position:relative;min-width:100%}.profileInventoryPlaceholder{background:#263044;border-radius:10px;min-height:150px;padding:16px;color:#a9b6cb}
.grantNotice{width:min(460px,92vw);text-align:center;background:#152237;color:#f2f7ff;border:2px solid #ffd464;border-radius:24px;padding:32px;box-shadow:0 24px 80px #0008}.grantNotice::backdrop{background:#030b18b3}.grantNotice h2{font-size:29px;margin:18px 0}.grantNotice>strong{font-size:36px;color:#ffd464;display:block}.grantNotice p{font-size:18px;line-height:1.5}.grantNotice button{min-height:52px;font-size:20px;padding:12px 32px;border-radius:14px;background:#ffd464;color:#152237;border:0;font-weight:800}.grantNoticeCoin{display:grid;place-items:center;margin:auto;width:76px;height:76px;border-radius:50%;border:5px solid #fff1a6;background:#eaaa31;color:#634111;font-size:42px;font-weight:900}
#headerUsername{background:none;border:0;color:inherit;font:inherit;font-weight:800;padding:8px;cursor:pointer;border-radius:8px}#headerUsername:hover{background:#ffffff12}#headerUsername:focus-visible{outline:2px solid #6cdcff}.adminGameGroup{display:grid;gap:12px}.adminGameGroup h3{font-size:22px;margin:14px 0}.adminFeatureBody{padding:22px;display:grid;gap:16px}.adminFeatureBody form{display:grid;gap:12px}.adminFeatureBody label{display:grid;gap:6px}.adminFeatureBody input,.adminFeatureBody textarea{background:#0f1b2d;color:#e8f1ff;border:1px solid #34455e;border-radius:9px;min-height:42px;padding:10px}.adminBannerGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.adminBannerCard{display:grid;gap:10px;border:1px solid #34455e;border-radius:14px;padding:14px;min-width:0}.adminBannerCard img{width:100%;aspect-ratio:4/1;object-fit:cover;border-radius:10px}.moderationTerms{display:grid;gap:7px}.moderationRow{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #304158;padding:8px}.moderationRow label{display:flex;align-items:center;gap:12px}.moderationRow input{min-height:20px;width:22px;height:22px}.moderationPaging{display:flex;align-items:center;justify-content:space-between;gap:12px}.adminFeatureBody button,#disableNormalGames{min-height:44px}.adminGameFields>select{min-height:40px;margin-bottom:10px;background:#0f1b2d;color:white;border:1px solid #34455e;border-radius:9px;padding:8px}

/* /admin-security.css */
/* Post-login refinements; authentication artwork and layout are untouched. */
#app .view{max-width:1440px;margin-inline:auto}
#app .mainNav .navItem{transition:background .18s ease,color .18s ease,transform .18s ease}
#app .mainNav .navItem:hover{transform:translateX(2px)}
#app .card,#app .communityCard,#app .newShopCard{box-shadow:0 8px 28px rgba(27,53,75,.06)!important}
#admin .adminTitle{display:flex;align-items:center;justify-content:space-between;gap:16px}
#admin .adminQuickNav{position:sticky;top:12px;z-index:35;padding:10px;background:rgba(247,248,252,.96);border:1px solid #dee6ed;border-radius:16px;box-shadow:0 8px 24px rgba(21,44,65,.09);backdrop-filter:blur(12px)}
#admin .adminQuickNav button{font-weight:700;white-space:nowrap}
#admin .adminQuickNav button[aria-current="true"]{background:#186bb4;color:white;border-color:#186bb4}
#admin .adminAccordion{scroll-margin-top:110px}
#admin .adminAccordion>summary{min-height:76px}
#admin .adminUserRow{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#admin .adminUserRow .grantControls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#admin .adminUserRow .grantControls input{width:106px}
#admin .adminUserRow small{display:block;margin-top:4px;line-height:1.4}
#admin .temporaryPasswordResult{display:grid;gap:8px;padding:16px;margin:12px 0;border:1px solid #2c6aa0;border-radius:12px;background:#f1f8fe;color:#283846}
#admin .temporaryPasswordResult[hidden]{display:none}
#admin .temporaryPasswordResult code{display:block;overflow-wrap:anywhere;padding:10px;border-radius:8px;background:white;font-size:16px;font-weight:700}
#admin .temporaryPasswordResult span{font-size:13px;line-height:1.5}
@media(max-width:760px){#admin .adminQuickNav{top:0;flex-wrap:nowrap;overflow-x:auto}#admin .adminAccordion{scroll-margin-top:90px}#admin .adminUserRow .grantControls{width:100%}#admin .adminUserRow .grantControls button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){#app .mainNav .navItem{transition:none}}

/* Open one administration workspace from the overview. */
#admin .adminQuickNav{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:transparent;border:0;box-shadow:none;padding:0;gap:16px;overflow:visible}
#admin .adminQuickNav button{white-space:normal;text-align:left;align-items:flex-start;min-height:120px;padding:22px;background:white;border:1px solid #d5e0e9;border-radius:16px;box-shadow:0 6px 22px #223c5307;color:#3c5368}
#admin .adminQuickNav button:hover{border-color:#306a9c;background:#f5fafe}
#admin .adminQuickNav button>.uiIcon{width:38px;height:38px;flex-shrink:0;border-radius:10px;background:#e9f4fe;color:#186bb4;padding:8px;box-sizing:border-box}
#admin .adminQuickNav strong{display:block;font-size:16px;margin:1px 0 8px}
#admin .adminQuickNav small{display:block;color:#778999;font-size:12px;line-height:1.5;font-weight:400}
#admin .adminAccordion:not([open]){display:none}
#admin[data-section-open] .adminQuickNav{display:none}
#admin .adminBack{display:none;border:1px solid #c8d9e8;border-radius:10px;padding:11px 16px;background:white;color:#4b7091;font-weight:700;margin:0 0 18px}
#admin[data-section-open] .adminBack{display:inline-flex}
#admin .adminEconomyLayout{grid-template-columns:1fr}
#admin .adminUserList{max-height:65vh;overflow:auto;padding-right:8px}
@media(max-width:1000px){#admin .adminQuickNav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#admin .adminQuickNav{grid-template-columns:1fr;gap:10px}#admin .adminQuickNav button{min-height:90px;padding:16px}}
.publicPlayerStats{display:block!important;margin-top:5px;font-size:11px!important;color:inherit!important;opacity:.85}

/* /community-clothes.css */
#clothes{max-width:1500px;margin:auto;color:#2b3a47}.clothesHeading,.clothesSectionHeading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}.clothesHeading h1{font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;margin:8px 0}.clothesHeading p,.clothesSectionHeading p{color:#746782;line-height:1.5;margin:6px 0}.clothesHeading button,.clothesSectionHeading button,.clothesPublish button{background:#186bb4;color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:700}.clothesTypeTabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.clothesTypeTabs button,.paintToolGrid button,.clothesAngles button,.paintHistory button{border:1px solid #d7e2eb;background:white;color:#44596c;border-radius:10px;padding:10px 12px;font-weight:650;min-height:42px}.clothesTypeTabs button[aria-pressed=true],.paintToolGrid button[aria-pressed=true]{background:#186bb4;color:white;border-color:#186bb4}.clothesStudio{display:grid;grid-template-columns:210px minmax(300px,1fr) 260px;gap:16px;align-items:start}.paintTools,.paintDetail{background:white;border:1px solid #dde4eb;border-radius:18px;padding:18px}.paintTools h2,.paintDetail h2{font-size:17px;margin:0 0 16px}.paintTools label,.paintDetail label{display:grid;gap:7px;margin:14px 0;color:#5b6c7b;font-size:13px;font-weight:650}.paintTools input,.paintDetail input,.paintTools select,.paintDetail select,.communityClothesTools input,.communityClothesTools select{min-height:40px;width:100%;box-sizing:border-box;background:#f9fbfd;border:1px solid #d4dfe8;border-radius:9px;padding:8px;color:#283846}.paintTools input[type=color]{height:42px;padding:3px}.paintTools input[type=range]{padding:0;accent-color:#186bb4}.paintTools button{font-size:12px}.paintToolGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.paintHistory{display:flex;gap:6px;margin:14px 0}.paintHistory button{flex:1}.paintTools>button{width:100%;min-height:38px;border-radius:8px;border:1px solid #d7e2eb;background:#f1f7fc;color:#44596c}.paintUpload{overflow:hidden}.paintTools input[type=file]{font-size:11px}.clothesCanvasWrap{position:relative;background:radial-gradient(ellipse at 50% 35%,#fff,#e1ecf5);border:1px solid #d7e2eb;border-radius:22px;overflow:hidden;min-height:540px}.clothesCanvasWrap>canvas{display:block;width:100%;height:540px;touch-action:none}.clothes3DStatus{position:absolute;inset:40% 8% auto;text-align:center;padding:15px;background:#ffffffe8;border-radius:10px;color:#506475}.clothes3DStatus[hidden]{display:none}.clothesAngles{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin-top:12px}.clothesAngles button{font-size:12px}.paintHint,.paintDetail p{font-size:12px;color:#7d6f8b;line-height:1.55}.paintDetail>canvas{display:block;width:100%;aspect-ratio:1;touch-action:none;border-radius:10px;border:1px solid #d4dfe8;background:#f0f5fa;cursor:crosshair}.clothesPublish{border-top:1px solid #dee6ed;margin-top:20px;padding-top:8px}.clothesPublish button{display:block;width:100%;margin:8px 0}.clothesPublish button:first-of-type{background:#eaf3fa;color:#3c6990;border:1px solid #cfdeec}.clothesPublish p[role=status]{color:#3f7250;overflow-wrap:anywhere}.clothesPublish p.error{color:#a92747}.clothesMine{margin-top:38px}.clothesGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}.clothesCard{background:white;border:1px solid #dbe3ea;border-radius:16px;overflow:hidden;box-shadow:0 7px 20px #21374a05}.clothesCardPreview{height:210px;background:radial-gradient(ellipse,#f3f9fe,#e0e9f1);display:grid;place-items:center}.clothesCardPreview img{width:100%;height:100%;object-fit:contain}.clothesCardPreview svg{width:50px;height:50px;color:#829bb0}.clothesCardContent{padding:15px}.clothesCard h3{font-size:17px;margin:7px 0}.clothesKind{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#758da2;font-weight:750}.clothesCreator{font-size:12px;color:#6a7b89;margin:6px 0}.clothesPrice{font-size:14px;color:#3d698f}.clothesCardContent>small{display:block;margin-top:8px;color:#6a7b89;font-size:11px}.clothesCardActions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.clothesCardActions button{background:#edf4fa;color:#4d6a84;border:1px solid #d7e4ef;border-radius:9px;min-height:38px;padding:8px 10px;font-size:12px;font-weight:700;flex:1}.clothesCardActions button.primary{background:#186bb4;color:white}.communityClothesTools{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:14px}.communityClothesTools label{display:grid;gap:6px;font-size:12px;color:#746782;flex:1;min-width:180px}.communityClothesTools label:last-child{max-width:260px}#communityClothesPanel[hidden]{display:none}#communityClothesPanel{margin-top:24px}.communityWardrobe{margin-top:28px;padding:22px;background:#fff;border:1px solid #dde4eb;border-radius:18px}.communityWardrobe .clothesSectionHeading{margin-bottom:18px}.clothesEmpty{padding:18px;color:#7d6f8b;grid-column:1/-1}.adminClothesRow{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:15px;border:1px solid #d7e3ed;border-radius:12px;margin:8px 0}.adminClothesRow span{font-size:12px;color:#667888;flex:1}.adminClothesRow button{border:1px solid #cbdcea;background:#e6f0f9;color:#476681;border-radius:9px;padding:10px}#clothes button:disabled{opacity:.5;cursor:wait}#paintDetailCanvas{image-rendering:auto}#clothesMineMore,#clothesMarketMore{margin:20px auto;display:block;border:1px solid #cbdded;background:white;color:#4c6982;border-radius:10px;padding:12px 24px}#clothesMineMore[hidden],#clothesMarketMore[hidden]{display:none}
@media(max-width:1120px){.clothesStudio{grid-template-columns:180px minmax(250px,1fr)}.paintDetail{grid-column:1/-1;display:grid;grid-template-columns:1fr 260px;gap:0 25px}.paintDetail>canvas{grid-column:2;grid-row:1/6}.paintDetail>.clothesPublish{grid-column:1/-1}}@media(max-width:720px){.clothesHeading,.clothesSectionHeading{align-items:flex-start;flex-wrap:wrap;gap:12px}.clothesStudio{grid-template-columns:1fr}.paintTools{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}.paintTools>h2,.paintToolGrid{grid-column:1/-1}.paintToolGrid{grid-template-columns:repeat(4,1fr)}.paintTools label{margin:6px 0}.paintTools>button{align-self:center}.clothesCanvasWrap{min-height:430px}.clothesCanvasWrap>canvas{height:430px}.paintDetail{display:block}.paintDetail>canvas{max-width:320px;margin:auto}.clothesGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.clothesCardPreview{height:180px}.clothesCardContent{padding:11px}.clothesCard h3{font-size:15px}.communityWardrobe{padding:15px}.communityClothesTools label:last-child{max-width:none}}

.paintTools h2,.paintDetail h2,.communityWardrobe h2,.clothesCard h3{color:#263542}.clothesCardContent,.communityWardrobe{color:#263542}

/* Simple paint workspace: both sides remain visible together. */
.clothesSimple{grid-template-columns:minmax(380px,1.15fr) minmax(280px,.85fr);gap:22px}.clothesSimple h2{color:#253747;font-size:20px;margin:0 0 14px}.simplePaint{background:#fff;border-radius:20px;padding:18px}.simpleTools.paintTools{padding:0;border:0}.simpleTools .paintToolGrid{grid-template-columns:repeat(4,1fr)}.simpleTools .paintToolGrid button{font-size:15px;min-height:52px}.simpleColors{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:16px 0}.simpleColors>button{width:36px;height:36px;border:2px solid #cfd8df;border-radius:50%;padding:0}.simpleColors>button[aria-pressed=true]{outline:3px solid #186bb4;outline-offset:2px}.simpleColors label{display:flex;align-items:center;gap:8px;margin:0}.simpleColors input[type=color]{width:48px;height:38px}.simpleBrush{display:flex;gap:16px;align-items:center}.simpleBrush>label{flex:1}.simpleBrush .paintHistory{margin:0}.simpleMore{margin:10px 0}.simpleMore summary,.simplePublish summary{padding:12px;border-radius:10px;background:#ebf2f8;color:#456887;font-weight:700;cursor:pointer}.simpleSides{display:grid;grid-template-columns:1fr 1fr;gap:12px}.simpleSide{background:#f9fbfd;border:1px solid #dae5ef;border-radius:14px;padding:10px}.simpleSide h2{text-align:center;font-size:18px;margin-bottom:5px}.simpleSide canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}.simpleTip{font-size:14px;color:#8493a0;line-height:1.5}.simplePaint>.simpleTip{color:#617383}.clothesSimple .clothesCanvasWrap{min-height:440px}.clothesSimple .clothesCanvasWrap>canvas{height:440px}.simpleRotate{display:grid;gap:8px;color:#b9ccdc;font-size:14px;font-weight:700}.simpleRotate input{width:100%;accent-color:#96cbf9}.simplePublish{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;background:#fff;border-radius:18px;padding:20px;margin:0;border:0;color:#30414f}.simplePublish h2,.simplePublish p[role=status]{grid-column:1/-1}.simplePublish label{display:grid;gap:7px;font-weight:700}.simplePublish input{padding:12px;border:1px solid #cdddeb;border-radius:10px}.simplePublish>button{margin:0;align-self:end;min-height:46px}.simplePublish details{grid-column:1/-1}.simplePublish details input{margin:10px 0}.simpleTools label[hidden]{display:none}.clothesSimple select[hidden]{display:none}
@media(max-width:900px){.clothesSimple{grid-template-columns:1fr}.clothesSimple .clothesStage{grid-row:1}.clothesSimple .clothesCanvasWrap{min-height:300px}.clothesSimple .clothesCanvasWrap>canvas{height:300px}.simplePublish{grid-template-columns:1fr}.simpleTools .paintToolGrid button{padding:8px;font-size:13px}.simpleBrush{flex-wrap:wrap}.simpleBrush>label{min-width:160px}.simpleSides{gap:8px}.simplePaint{padding:12px}}

.clothesSimple .clothesStage>h2{color:#e8f2fa}.clothesSimple .clothesStage{position:sticky;top:100px}.simpleTools .paintToolGrid button{min-height:46px}.simpleColors{margin:12px 0}.simpleBrush label{margin:6px 0}.simpleMore{margin:8px 0}.clothesHeading{margin-bottom:16px}@media(max-width:900px){.clothesSimple .clothesStage{position:static}}

#clothes button svg{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}#clothes .clothesTypeTabs button,#clothes .paintToolGrid button,#clothes .paintHistory button,#clothesNew,#clothesSave{display:inline-flex;align-items:center;justify-content:center;gap:7px}.simpleColors>button{box-sizing:border-box;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;max-height:36px;aspect-ratio:1;border-radius:50%}.simpleColors label{flex:0 0 auto;min-width:0}.simpleColors input[type=color]{box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;height:38px;max-height:38px}.paintViewport{overflow:auto;max-height:350px;overscroll-behavior:contain;border-radius:8px}.paintViewport canvas{max-width:none!important;display:block;height:auto;touch-action:none}.paintZoomControls{display:flex;align-items:center;gap:12px;margin:12px 0;color:#456887;font-size:13px}.paintZoomControls label{display:flex;align-items:center;gap:10px;flex:1;flex-wrap:wrap}.paintZoomControls input{min-width:100px;flex:1;accent-color:#186bb4}.paintZoomControls button{border:1px solid #d7e2eb;border-radius:9px;background:#edf3f8;color:#456887;padding:9px}.paintZoomControls output{font-variant-numeric:tabular-nums;min-width:40px}.simpleSide{min-width:0}.simplePaint{min-width:0}@media(max-width:520px){.simpleTools .paintToolGrid{grid-template-columns:repeat(2,1fr)}.simpleColors{gap:7px}.simpleColors>button{flex-basis:32px;width:32px;min-width:32px;height:32px;min-height:32px;max-height:32px}.paintZoomControls{gap:7px;flex-wrap:wrap}.paintViewport{max-height:250px}.simpleSide{padding:6px}.simpleSides{gap:7px}}

.simpleLateralSides{margin-top:12px}.simpleSide h2{font-size:16px}.clothesSimple .clothesStage>h2{color:#e8f2fa}

/* Match the site's dark theme throughout the clothing editor. */
#clothes{color:#e9edf7}#clothes .clothesHeading p,#clothes .clothesSectionHeading p,#clothes .simpleTip{color:#a3afc5}#clothes .simplePaint,#clothes .simplePublish,#clothes .clothesCard{background:#151e2e;border:1px solid #2d3950;color:#e5eaf4}#clothes .simpleTools{background:transparent;color:#e5eaf4}#clothes .simpleSide{background:#101826;border-color:#2b3851}#clothes h2,#clothes .clothesCard h3{color:#e9edf7}#clothes .clothesTypeTabs button,#clothes .paintToolGrid button,#clothes .paintHistory button,#paintZoomReset{background:#202b3f;border-color:#36445f;color:#e4e9f4}#clothes .clothesTypeTabs button[aria-pressed=true],#clothes .paintToolGrid button[aria-pressed=true]{background:#186bb4;border-color:#8bc6f9;color:#fff}#clothes .simpleMore summary,#clothes .simplePublish summary{background:#222b41;color:#c2e1fc}#clothes .paintTools label,#clothes .simplePublish label,#clothes .paintZoomControls{color:#bac6da}#clothes input:not([type=range]):not([type=color]),#clothes select{background:#0e1726;border:1px solid #37465f;color:#eef2fb}#clothes input[type=color]{background:#202b3f;border-color:#3d4a62}#clothes input[type=range]{background:transparent;border:0}#clothes .clothesCanvasWrap{background:radial-gradient(ellipse at 50% 35%,#28364e,#111a2a);border-color:#35415c}#clothes .clothesAngles button{background:#222e43;border-color:#3a4965;color:#dfe7f6}#clothes .simplePublish>button{background:#186bb4;color:white;border:0}#clothes .clothesKind,#clothes .clothesCreator,#clothes .clothesPrice,#clothes .clothesCardContent>small{color:#aac1d6}#clothes .clothesEmpty{color:#a7b2c8}#clothes .clothesCardContent{color:#e9edf7}#clothes .clothesCardPreview{background:radial-gradient(ellipse,#28364d,#182335)}#clothes .clothesPublish p[role=status]{color:#a9e2bc}#clothes .clothesPublish p.error{color:#ff9eb6}#clothes .clothes3DStatus{background:#172238ee;color:#e2f1fe}#clothes .simpleSide canvas{background:transparent}#clothes .simpleColors>button{border-color:#697894}

/* Editor layout: explicit areas keep preview and publishing in separate rows. */
#clothes{width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
#clothes *{box-sizing:border-box}
#clothes .clothesSimple{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr)!important;grid-template-areas:"paint preview" "save save";align-items:start;gap:20px}
#clothes .simplePaint{grid-area:paint;min-width:0;width:100%}
#clothes .clothesStage{grid-area:preview;position:static!important;top:auto!important;grid-row:1!important;width:100%;min-width:0;align-self:start}
#clothes .simplePublish{grid-area:save;position:static!important;grid-column:1/-1!important;width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:14px}
#clothes .simplePublish>*{min-width:0;max-width:100%}
#clothes .simplePublish input{width:100%;box-sizing:border-box}
#clothes .clothesCanvasWrap{min-height:0!important;height:360px}
#clothes .clothesCanvasWrap>canvas{height:100%!important;width:100%!important}
#clothes .simpleSides{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
#clothes .paintViewport{max-height:none;overflow:auto;min-width:0}
#clothes .simpleSide canvas{width:100%;height:auto}
#clothes .extraPaintSides{margin-top:12px;border:1px solid #34455e;border-radius:12px;padding:10px}
#clothes .extraPaintSides summary{cursor:pointer;padding:8px;color:#e6edff;font-weight:700}
#clothes .creationChoices{padding:16px;border:1px solid #34455e;border-radius:16px;background:#152031;margin-bottom:20px}
#clothes .creationChoices h2{font-size:18px;margin:0 0 12px;color:#f2f5ff}
#clothes .creationChoices p{font-size:14px;color:#b9c7dc}
#clothes .creationChoiceGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#clothes .creationChoiceGrid button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px;background:#263550;color:#f2f5ff;border:1px solid #50607d;border-radius:10px;font-weight:700}
#clothes .paintZoomControls{flex-wrap:wrap}
#clothes .paintZoomControls label{min-width:0}
#clothes .clothesHeading{flex-wrap:wrap}
@media(max-width:1200px){#clothes .clothesSimple{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"preview" "paint" "save"}#clothes .clothesCanvasWrap{height:280px}#clothes .creationChoiceGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){#clothes .creationChoiceGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#clothes .simpleSides{gap:8px}#clothes .simpleSide{padding:6px}#clothes .simpleBrush{display:grid;grid-template-columns:1fr}#clothes .clothesTypeTabs button{flex:1 1 42%}#clothes .simplePublish{padding:14px}#clothes .clothesCanvasWrap{height:260px}}
/* Three-step clothing editor. Scoped rules intentionally supersede legacy editor layouts. */
html body #clothes.clothesWizard{--cw-line:#235677;--cw-bg:#071e33;max-width:1600px;margin:auto;padding:12px;color:#ecf8ff}
html body #clothes.clothesWizard [hidden]{display:none!important}
html body #clothes.clothesWizard button{font-family:inherit;line-height:1.2;min-height:44px;min-width:44px;border:1px solid var(--cw-line);border-radius:12px;background:#12334f;color:#eaf8ff;padding:10px 14px;cursor:pointer;box-shadow:none;transform:none}
html body #clothes.clothesWizard button:hover{color:white;border-color:#56d9ff}
html body #clothes.clothesWizard button:focus-visible{outline:3px solid #79eaff;outline-offset:3px}
html body #clothes.clothesWizard button:is([aria-pressed=true],[aria-current=step]),html body #clothes.clothesWizard #clothesSave,html body #clothes.clothesWizard [data-cw-next]{background:linear-gradient(120deg,#009fdc,#0665f4);border-color:#63dcff;color:#fff;box-shadow:0 0 14px #058fff30}
html body #clothes.clothesWizard button:disabled{cursor:default;opacity:.5}
#clothes.clothesWizard .clothesHeading{display:flex;align-items:center;gap:12px;margin:0 0 12px}
#clothes.clothesWizard .clothesHeading>div{flex:1;min-width:0}
#clothes.clothesWizard .clothesHeading .eyebrow{display:none}
#clothes.clothesWizard .clothesHeading h1{font-size:clamp(24px,3vw,34px);margin:0 0 5px;color:#f4fbff}
#clothes.clothesWizard .clothesHeading p{font-size:14px;margin:0;color:#b4d3e9}
#clothes.clothesWizard .cwSteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
#clothes.clothesWizard .cwSteps button{display:flex;gap:10px;align-items:center;text-align:left;font-size:16px;font-weight:750}
#clothes.clothesWizard .cwSteps b{border:1px solid #67dcff;border-radius:50%;display:grid;place-items:center;flex:0 0 30px;height:30px;background:#081f3a;color:#b0f4ff}
#clothes.clothesWizard .cwSteps .isDone b{background:#08614e;color:#b1ffe6}
#clothes.clothesWizard .cwWorkspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.43fr);gap:14px;align-items:start}
html body #clothes.clothesWizard .clothesSimple.cwBoard{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;grid-template-areas:none!important;gap:12px;margin:0;padding:0;background:none;border:0;min-width:0}
#clothes.clothesWizard .cwBoard>.clothesTypeTabs,#clothes.clothesWizard .cwBoard>.creationChoices,#clothes.clothesWizard .cwBoard>.simplePublish{grid-column:1/-1!important;grid-area:auto!important}
#clothes.clothesWizard .clothesTypeTabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:18px;border:1px solid var(--cw-line);border-radius:18px;background:var(--cw-bg)}
html body #clothes.clothesWizard .clothesTypeTabs button{display:flex;flex-direction:column;gap:16px;min-height:180px;font-size:20px;background:radial-gradient(ellipse at top,#133d61,#0a2038)}
html body #clothes.clothesWizard .clothesTypeTabs button svg{width:64px;height:64px;flex-basis:64px;color:#70dcff}
#clothes.clothesWizard .cwTools{background:var(--cw-bg);border:1px solid var(--cw-line);border-radius:16px;padding:12px;min-width:0}
#clothes.clothesWizard .simpleTools{display:block;padding:0;border:0;background:transparent}
#clothes.clothesWizard .simpleTools h2{font-size:16px;margin:0 0 10px}
#clothes.clothesWizard .simpleTools>.paintToolGrid{display:grid;grid-template-columns:1fr;gap:7px}
html body #clothes.clothesWizard .paintToolGrid button{justify-content:flex-start;gap:10px;font-size:14px;padding:10px;min-height:46px;white-space:normal}
#clothes.clothesWizard .simpleColors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:12px 0}
html body #clothes.clothesWizard .simpleColors>button{width:100%;height:38px;min-width:0;min-height:38px;max-height:none;max-width:none;aspect-ratio:auto;border-radius:10px;border:3px solid #294f70;padding:0}
#clothes.clothesWizard .simpleColors label{grid-column:1/-1;display:flex;justify-content:space-between;font-size:12px;margin-top:7px}
#clothes.clothesWizard .simpleBrush{display:block;margin:8px 0}
#clothes.clothesWizard .simpleBrush label{display:grid;font-size:12px;gap:8px}
#clothes.clothesWizard input[type=range]{width:100%;min-height:36px;accent-color:#4edcff}
#clothes.clothesWizard .paintHistory{display:flex;gap:6px;margin-top:8px}
html body #clothes.clothesWizard .paintHistory button{padding:8px 4px;min-width:0;font-size:10px;flex:1;gap:3px}
#clothes.clothesWizard .simpleMore summary{background:#163d58;color:#cbf4ff;padding:12px 8px;font-size:12px;min-height:44px}
#clothes.clothesWizard .simpleMore .paintToolGrid{grid-template-columns:1fr}
#clothes.clothesWizard .cwStickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}
html body #clothes.clothesWizard .cwStickers button{padding:7px 2px;font-size:10px;display:grid;justify-items:center;gap:3px}
#clothes.clothesWizard .cwStickers svg{width:28px;height:28px}
html body #clothes.clothesWizard .simplePaint{grid-area:auto;width:100%;padding:12px;background:var(--cw-bg);border:1px solid var(--cw-line);border-radius:16px;min-width:0}
#clothes.clothesWizard .cwFaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}
html body #clothes.clothesWizard .cwFaces button{padding:7px 3px;font-size:11px;display:flex;gap:5px;justify-content:center;align-items:center}
#clothes.clothesWizard .cwFaces svg{width:20px;height:24px;flex:0 0 20px}
#clothes.clothesWizard .cwHint{font-size:13px;color:#b9d9ec;margin:8px 0;min-height:30px}
#clothes.clothesWizard .simpleSide{padding:0;border:0;background:linear-gradient(45deg,#102d45 25%,transparent 25%,transparent 75%,#102d45 75%),linear-gradient(45deg,#102d45 25%,#0b243a 25%,#0b243a 75%,#102d45 75%);background-size:24px 24px;background-position:0 0,12px 12px}
#clothes.clothesWizard .simpleSide h2,#clothes.clothesWizard .paintZoomControls,#clothes.clothesWizard .simplePaint>.simpleTip{display:none}
html body #clothes.clothesWizard .paintViewport{overflow:hidden;max-height:none;display:flex;justify-content:center;align-items:center;height:clamp(300px,52dvh,570px)}
html body #clothes.clothesWizard .paintViewport canvas{width:auto!important;max-width:100%!important;height:100%!important;object-fit:contain;touch-action:none;aspect-ratio:384/480}
html body #clothes.clothesWizard .clothesStage{position:sticky!important;top:90px!important;grid-area:auto;grid-row:auto!important;margin:0;padding:14px;background:radial-gradient(ellipse at center,#123e62,#061b30);border:1px solid #2d7dab;border-radius:18px;min-width:0;width:100%}
#clothes.clothesWizard .clothesStage h2{font-size:20px;margin:0 0 10px}
html body #clothes.clothesWizard .clothesCanvasWrap{height:clamp(260px,48dvh,520px);min-height:0!important;background:transparent;border:0}
#clothes.clothesWizard .clothesStage .simpleTip{font-size:12px;margin:8px 0}
#clothes.clothesWizard .simpleRotate{display:none}
#clothes.clothesWizard .clothesAngles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
html body #clothes.clothesWizard .clothesAngles button{font-size:12px;padding:8px}
#clothes.clothesWizard .creationChoices{padding:10px;margin:0;background:var(--cw-bg);border-color:var(--cw-line)}
#clothes.clothesWizard .creationChoices h2{font-size:14px;margin-bottom:8px}
#clothes.clothesWizard .creationChoices p{display:none}
#clothes.clothesWizard .creationChoiceGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
html body #clothes.clothesWizard .creationChoiceGrid button{font-size:11px;padding:6px;gap:4px;min-width:0}
#clothes.clothesWizard .cwFooter{display:flex;gap:12px;align-items:center;margin:14px 0}
#clothes.clothesWizard .cwFooter p{flex:1;font-size:14px;text-align:center;color:#bbdff4}
#clothes.clothesWizard .cwSaved{border-top:1px solid var(--cw-line);margin-top:14px;padding:12px 0}
#clothes.clothesWizard .cwSaved>summary{padding:12px;cursor:pointer;font-weight:700;min-height:44px}
#clothes.clothesWizard .cwTips{background:#124366;border:1px solid #55cfff;border-radius:16px;padding:16px;margin-bottom:12px;color:#e5faff}
#clothes.clothesWizard .cwTips p{font-size:14px;margin:8px 0}
html body #clothes.clothesWizard .simplePublish{padding:22px;background:var(--cw-bg);border:1px solid var(--cw-line);border-radius:18px;gap:18px}
#clothes.clothesWizard .simplePublish h2{font-size:24px}
#clothes.clothesWizard .simplePublish input{min-height:48px;font-size:16px}
html body #clothes.clothesWizard .simplePublish button{font-size:16px;min-height:52px}
#clothes.clothesWizard .simplePublish summary{min-height:48px;padding:14px;background:#164360;color:#e0f7ff}
@media(max-width:1050px){
 html body #clothes.clothesWizard .cwWorkspace{grid-template-columns:minmax(0,1fr) minmax(180px,.48fr);gap:10px}
 html body #clothes.clothesWizard .clothesSimple.cwBoard{grid-template-columns:minmax(0,1fr)!important}
 #clothes.clothesWizard .cwTools{padding:8px}
 #clothes.clothesWizard .simpleTools>h2{display:none}
 #clothes.clothesWizard .simpleTools>.paintToolGrid{grid-template-columns:repeat(5,minmax(0,1fr))}
 html body #clothes.clothesWizard .paintToolGrid button{flex-direction:column;font-size:10px;gap:4px;padding:6px 2px}
 #clothes.clothesWizard .simpleColors{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}
 html body #clothes.clothesWizard .simpleColors>button{flex:0 0 36px;width:36px;min-height:36px;height:36px}
 #clothes.clothesWizard .simpleColors label{flex:1;font-size:11px;justify-content:flex-end;margin:0}
 #clothes.clothesWizard .simpleBrush{display:flex;gap:10px;align-items:center;margin:0}
 #clothes.clothesWizard .simpleBrush>label{min-width:0;flex:1}
 #clothes.clothesWizard .paintHistory{flex:1;margin:0}
 #clothes.clothesWizard .simpleMore{margin:6px 0 0}
 #clothes.clothesWizard .cwStickers{grid-template-columns:repeat(6,minmax(0,1fr))}
 #clothes.clothesWizard .clothesTypeTabs{padding:10px;gap:8px}
 html body #clothes.clothesWizard .clothesTypeTabs button{min-height:145px;font-size:17px}
 html body #clothes.clothesWizard .clothesStage{top:100px!important;padding:10px}
}
@media(max-width:600px){
 html body #clothes.clothesWizard{padding:4px}
 #clothes.clothesWizard .clothesHeading{gap:5px}
 #clothes.clothesWizard .clothesHeading p{display:none}
 html body #clothes.clothesWizard .clothesHeading button{font-size:11px;padding:7px;min-width:44px}
 #clothes.clothesWizard .clothesHeading h1{font-size:24px}
 #clothes.clothesWizard .cwSteps{gap:5px}
 html body #clothes.clothesWizard .cwSteps button{font-size:11px;padding:7px 4px;gap:5px}
 #clothes.clothesWizard .cwSteps b{flex-basis:24px;height:24px}
 html body #clothes.clothesWizard .cwWorkspace{grid-template-columns:minmax(0,1fr) 112px;gap:6px}
 html body #clothes.clothesWizard .clothesStage{padding:6px;top:110px!important;border-radius:12px}
 #clothes.clothesWizard .clothesStage h2{font-size:13px}
 html body #clothes.clothesWizard .clothesCanvasWrap{height:190px}
 #clothes.clothesWizard .clothesStage .simpleTip{font-size:10px}
 html body #clothes.clothesWizard .clothesAngles button{font-size:10px;padding:4px;min-width:0}
 #clothes.clothesWizard .clothesAngles{gap:3px}
 html body #clothes.clothesWizard .clothesTypeTabs button{min-height:125px;font-size:13px;padding:8px;gap:8px}
 html body #clothes.clothesWizard .clothesTypeTabs button svg{width:40px;height:40px;flex-basis:40px}
 #clothes.clothesWizard .clothesTypeTabs{gap:5px;padding:6px}
 #clothes.clothesWizard .cwFaces{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 html body #clothes.clothesWizard .cwFaces button{font-size:9px;gap:2px;padding:4px 1px}
 #clothes.clothesWizard .cwFaces svg{width:15px;flex-basis:15px}
 html body #clothes.clothesWizard .simplePaint{padding:6px}
 html body #clothes.clothesWizard .paintViewport{height:300px}
 #clothes.clothesWizard .cwHint{font-size:11px}
 #clothes.clothesWizard .simpleTools>.paintToolGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #clothes.clothesWizard .creationChoiceGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #clothes.clothesWizard .cwStickers{grid-template-columns:repeat(3,minmax(0,1fr))}
 #clothes.clothesWizard .simpleBrush{flex-wrap:wrap}
 #clothes.clothesWizard .simpleBrush>label,#clothes.clothesWizard .paintHistory{flex:1 1 100%}
 #clothes.clothesWizard .cwFooter p{font-size:11px}
 html body #clothes.clothesWizard .cwFooter button{font-size:12px;padding:8px}
 html body #clothes.clothesWizard .simplePublish{padding:10px}
 #clothes.clothesWizard .simplePublish h2{font-size:18px}
}
/* Phones/tablets: navigation stays within the viewport, including devices with a mouse. */
@media(max-width:1200px){
 html body:not(.isSignedOut)>header.topbar{width:100%!important;max-width:100%!important;margin-left:0!important;left:0!important;box-sizing:border-box;flex-wrap:wrap!important;height:auto!important;gap:8px!important;padding:8px 12px!important}
 html body:not(.isSignedOut)>header.topbar .brand{position:static!important;width:100px!important;height:36px!important}
 html body:not(.isSignedOut)>header.topbar .nizurBrandLogo{width:100px!important;height:36px!important}
 html body:not(.isSignedOut)>header.topbar .mainNav{position:fixed!important;inset:auto 0 0!important;width:100%!important;height:calc(72px + env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;padding:4px 6px calc(4px + env(safe-area-inset-bottom))!important;gap:4px!important;border-radius:0!important;z-index:130!important;background:#071d32!important;box-sizing:border-box!important}
 html body:not(.isSignedOut)>header.topbar .mainNav .navItem{flex:0 0 68px!important;width:68px!important;min-width:68px!important;min-height:60px!important;height:60px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:6px 3px!important}
 html body:not(.isSignedOut)>header.topbar .mainNav .navItem[hidden]{display:none!important}
 html body:not(.isSignedOut)>main:has(#app){margin-left:0!important;max-width:100%!important;min-width:0!important;padding:14px 12px calc(92px + env(safe-area-inset-bottom))!important;box-sizing:border-box}
 html body:not(.isSignedOut)>header.topbar .headerActions{flex-wrap:wrap!important;min-width:0!important;max-width:100%!important;gap:6px!important}
 html body:not(.isSignedOut)>header.topbar .globalSearch{flex:1 1 220px!important;max-width:100%!important;min-width:0!important}
 html body #app#app#app .dashboardLayout{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)!important}
 html body #app#app#app .dashboardMain,html body #app#app#app .dashboardAside{width:100%;min-width:0;max-width:100%}
 html body #app#app#app .dashboardAside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media(max-width:600px){
 html body #app#app#app .dashboardAside{grid-template-columns:minmax(0,1fr)}
 html body:not(.isSignedOut)>header.topbar .globalSearch{order:3;flex-basis:100%!important}
 html body:not(.isSignedOut)>header.topbar .headerActions{margin-left:auto}
 html body:not(.isSignedOut)>header.topbar .headerActions .giftLaunch{font-size:11px;padding:8px!important}
 html body:not(.isSignedOut)>header.topbar .headerActions #headerUsername{max-width:80px;overflow:hidden;text-overflow:ellipsis}
}
/* Allow short screens, zoom, registration and the on-screen keyboard to remain usable. */
@media(max-width:900px),(max-height:620px){
 html:has(body.isSignedOut){height:auto!important;overflow-y:auto!important;overflow-x:clip!important}
 html body.isSignedOut{height:auto!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:clip!important}
 html body.isSignedOut main{height:auto!important;overflow:visible!important}
 html body.isSignedOut #auth#auth.publicLanding{height:auto!important;max-height:none!important;min-height:100dvh!important;overflow:visible!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;padding:88px 16px 25px!important;gap:18px!important}
 html body.isSignedOut .publicHero{max-width:600px!important;justify-self:center}
 html body.isSignedOut .publicAuthStack{max-width:480px!important;justify-self:center;width:100%!important}
 html body.isSignedOut header.topbar{position:absolute!important;left:12px!important;right:12px!important;width:auto!important;margin:0!important;max-width:none!important}
 html body.isSignedOut footer{position:static!important;padding:14px!important}
}
@media(prefers-reduced-motion:reduce){#clothes.clothesWizard *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
html body #clothes.clothesWizard .paintViewport{height:auto;min-height:240px}
html body #clothes.clothesWizard .paintViewport canvas{width:min(100%,440px)!important;height:auto!important;object-fit:fill}
html body #clothes.clothesWizard .cwBoard>.clothesTypeTabs,html body #clothes.clothesWizard .cwBoard>.creationChoices,html body #clothes.clothesWizard .cwBoard>.simplePublish{grid-area:auto!important;grid-column:1/-1!important}
html body #clothes.clothesWizard .cwTools{grid-column:1;grid-row:2}
html body #clothes.clothesWizard .simplePaint{grid-column:2;grid-row:2}
html body #clothes.clothesWizard .clothesHeading .eyebrow{display:none!important}
@media(max-width:1050px){html body #clothes.clothesWizard .cwTools{grid-column:1;grid-row:auto}html body #clothes.clothesWizard .simplePaint{grid-column:1;grid-row:auto}}
html body #clothes.clothesWizard .cwTools{grid-area:auto!important;grid-column:1!important;grid-row:1!important}
html body #clothes.clothesWizard .simplePaint{grid-area:auto!important;grid-column:2!important;grid-row:1!important}
#clothes.clothesWizard .cwDesigns>summary{font-size:12px;min-height:44px;padding:12px 6px;cursor:pointer;color:#9ce9ff}
#clothes.clothesWizard .cwDesigns .creationChoices{border:0;padding:0}
#clothes.clothesWizard .cwDesigns h2{display:none}
#clothes.clothesWizard .cwDesigns .creationChoiceGrid{grid-template-columns:1fr}
@media(max-width:1050px){html body #clothes.clothesWizard .cwTools{grid-column:1!important;grid-row:auto!important}html body #clothes.clothesWizard .simplePaint{grid-column:1!important;grid-row:auto!important}}
@media(max-width:600px){
 html body #clothes.clothesWizard .cwWorkspace>.cwTools{grid-column:1/-1!important;grid-row:1!important}
 html body #clothes.clothesWizard[data-create-step="2"] .cwBoard,html body #clothes.clothesWizard[data-create-step="2"] .clothesStage{grid-row:2!important}
 #clothes.clothesWizard .simpleTools>.paintToolGrid{grid-template-columns:repeat(5,minmax(0,1fr))}
 #clothes.clothesWizard .simpleBrush{display:flex;flex-wrap:nowrap}
 #clothes.clothesWizard .simpleBrush>label,#clothes.clothesWizard .paintHistory{flex:1;min-width:0}
 #clothes.clothesWizard .simpleMore{display:inline-block;vertical-align:top;width:50%;margin:5px 0 0}
 #clothes.clothesWizard .cwDesigns{display:inline-block;vertical-align:top;width:48%;margin-top:5px}
 #clothes.clothesWizard .cwDesigns .creationChoiceGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #clothes.clothesWizard .simpleColors{margin:6px 0}
 html body #clothes.clothesWizard .simpleColors>button{flex-basis:30px;width:30px;height:36px;min-height:36px}
 #clothes.clothesWizard .simpleColors input[type=color]{width:36px;min-width:36px}
 #clothes.clothesWizard .simpleColors label{font-size:10px;gap:3px}
}
.catalogExtraActions{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px}.catalogExtraActions button{flex:1;min-height:44px;border:1px solid #2877a2;background:#0c304e;color:#b9edff;border-radius:10px;padding:8px;font:inherit;font-size:12px}.marketStockBadge{display:block;margin:0 14px 12px;color:#a8e9ff;font-size:12px;font-weight:800}.catalogMarketDialog{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:85dvh;padding:0;border:1px solid #44caff;border-radius:18px;background:#071e33;color:#eef8ff}.catalogMarketDialog::backdrop{background:#0009}.catalogMarketDialog>header{position:static!important;display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:16px!important;height:auto!important;width:auto!important;margin:0!important;border-bottom:1px solid #28516e;background:#09253e!important}.catalogMarketDialog h2{font-size:20px;margin:0;overflow-wrap:anywhere}.marketDialogBody{padding:18px;overflow:auto;max-height:calc(85dvh - 86px)}.catalogMarketDialog label{display:grid;gap:8px;margin:12px 0}.catalogMarketDialog input{box-sizing:border-box;width:100%;min-height:48px;background:#0b2e4b;border:1px solid #4389ac;border-radius:10px;color:white;padding:10px;font-size:16px}.catalogMarketDialog button{min-height:44px;min-width:44px;padding:10px;border:1px solid #3588b4;background:#075e9a;border-radius:10px;color:white;cursor:pointer}.catalogMarketDialog button:disabled{opacity:.45;cursor:default}.catalogMarketDialog button:focus-visible{outline:3px solid #82eaff}.resellerRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-bottom:1px solid #27495e;padding:14px 0}.resellerRow strong{overflow-wrap:anywhere}.resellerRow button{grid-column:2;grid-row:1/3}.resellerRow span{grid-column:1;font-size:14px;color:#7bdeff}.marketPager{display:flex;justify-content:space-between;align-items:center;margin:14px 0}.marketError{color:#ffb8b8}

#clothes.clothesWizard .clothesAngles button{overflow-wrap:normal;word-break:normal}
#clothes.clothesWizard .cwDesigns{display:block}
@media(max-width:600px){#clothes.clothesWizard .simpleMore,#clothes.clothesWizard .cwDesigns{display:block;width:100%}#clothes.clothesWizard .clothesAngles{grid-template-columns:1fr}#clothes.clothesWizard .clothesStage .simpleTip{display:none}}

html body #clothes.clothesWizard .paintViewport canvas{aspect-ratio:auto!important}html body #clothes.clothesWizard .paintHistory button{white-space:nowrap;overflow-wrap:normal;font-size:10px}

html body #clothes.clothesWizard .cwStart{grid-area:auto!important;grid-column:1/-1!important;text-align:center;padding:18px 8px}
#clothes.clothesWizard .cwStart p{font-size:15px;color:#b7def3;margin:0 0 12px}
html body #clothes.clothesWizard [data-cw-start]{background:linear-gradient(110deg,#00b8e5,#076bff);border:1px solid #88e8ff;box-shadow:0 0 20px #009dff3b;padding:16px 28px;min-height:56px;font-size:18px;font-weight:800}
#clothes.clothesWizard[data-create-step="1"] .cwFooter{display:none}
@media(max-width:600px){html body #clothes.clothesWizard .cwStart{padding:14px 0}html body #clothes.clothesWizard [data-cw-start]{width:100%;padding:12px 8px;font-size:14px}#clothes.clothesWizard .cwStart p{font-size:12px}}

.clothesCard[data-limited="true"][data-limited-color="blue"] .clothesCardPreview::after{background:linear-gradient(120deg,#0758c5,#2196ff);color:white}
.clothesCard[data-limited="true"][data-limited-color="blue"] .clothesCardPreview::before{background:#42baff;color:#052956}
#clothesBlueLimited{width:20px;min-height:20px;accent-color:#168aff}

/* Limited metadata is a compact badge, never a full-width colour strip. */
.marketStockBadge{display:inline-flex;align-items:center;align-self:flex-start;box-sizing:border-box;width:fit-content;max-width:calc(100% - 32px);margin:0 16px 10px;padding:6px 10px;border:1px solid #41627e;border-radius:999px;background:#18354b;color:#c9edff;font-size:11px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.marketStockBadge.marketStockBadge--blue{background:#103a64;border-color:#2689eb;color:#a8daff}
.clothesCard>.catalogExtraActions,.newShopCard>.catalogExtraActions{padding:0 16px 16px;gap:8px}
.catalogExtraActions:empty{display:none}
.catalogExtraActions button{box-sizing:border-box;min-width:0;line-height:1.35;font-weight:600}
/* Shop cards follow their content instead of stretching to the tallest neighbour. */
html body #shop :is(#officialClothesGrid,#clothesMarketGrid){align-items:start!important;align-content:start!important;grid-auto-rows:max-content!important}
html body #shop .clothesCard{box-sizing:border-box;align-self:start!important;display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;min-width:0;max-width:100%;padding:0!important}
html body:has(#app) #shop .clothesCard>.clothesCardContent{box-sizing:border-box;flex:0 0 auto!important;min-height:0!important;height:auto!important;padding:16px!important;background:transparent!important;border:0!important}
html body #shop .clothesCard .clothesKind{display:block;line-height:1.4}
html body #shop .clothesCard h3{margin:8px 0!important;min-height:0!important;line-height:1.35!important;overflow-wrap:anywhere}
html body #shop .clothesCard .clothesCreator{margin:0 0 10px!important;line-height:1.5}
html body #shop .clothesCard .clothesPrice{display:flex;align-items:center;gap:6px;line-height:1.4}
html body #shop .clothesCard .clothesCardActions{display:flex;gap:8px;margin:16px 0 0!important;padding:0!important;flex-wrap:wrap}
html body #shop .clothesCard .clothesCardActions button{box-sizing:border-box;flex:1 1 75px;min-height:42px!important;margin:0!important;line-height:1.3}
html body #shop .clothesCard>.catalogExtraActions{flex:0 0 auto!important;margin:0!important;padding:0 16px 16px!important}

.allOverOptions{padding:12px;display:grid;gap:8px;border:1px solid #5188a0;border-radius:12px;margin-top:12px}.allOverOptions button,.allOverOptions select{min-height:44px;max-width:100%;white-space:normal}.allOverOptions label{display:grid;gap:6px}.allOverOptions p{font-size:12px;line-height:1.5;margin:0}#clothesEmojiLibrary{width:min(640px,calc(100vw - 20px));max-height:85dvh;overflow:auto;border:1px solid #4d8ca9;border-radius:18px;padding:18px;background:#102a43;color:#fff}#clothesEmojiLibrary::backdrop{background:#061524bb}#clothesEmojiLibrary select{width:100%;min-height:44px;margin-bottom:14px}.emojiGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:6px}.emojiGrid button{min-height:48px;font:30px 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;background:#eaf5ff;border:1px solid #a5bfd1;border-radius:9px;padding:4px}#clothesEmojiLibrary>button{float:right;min-height:40px}

.limitedMarketActions{display:flex;gap:8px;width:100%;flex:1 0 100%}.limitedMarketActions>button{flex:1;min-height:44px}.catalogExtraActions .limitedMarketActions>.limitedSell{background:#168047;border-color:#4de696;color:#fff}.catalogExtraActions .limitedMarketActions>.limitedSell:hover{background:#1c9654}.limitedMarketActions>.limitedResellers:only-child{width:100%}
