/* Shared surface, control and reading system. Winter remains the first-visit theme. */
:root{--surface:#24212f;--surface-raised:#302b3d;--text-soft:#c3b9d1;--accent:#d1c3ed;--accent-ink:#2b2436;--line:#a99abb42;--bg:#121019;--studio-line:var(--line);--focus:#bc9ee5}
html[data-season=winter]{--surface:#202333;--surface-raised:#2b3043;--bg:#10121e;--text:#f0edf6;--text-soft:#c2bfd2;--accent:#d1c3ed;--accent-ink:#2b2436;--line:#a1accc40;--focus:#b8c9ee}
html[data-season=classic]{--surface:#282032;--surface-raised:#352b42;--bg:#15101e;--text:#f4edf9;--text-soft:#cbbbd6;--accent:#d5bcea;--accent-ink:#302239;--line:#c2a1dd40}
html[data-season=dark]{--surface:#202127;--surface-raised:#2b2d35;--bg:#111217;--text:#efeff4;--text-soft:#b9bccb;--accent:#b9c4e5;--accent-ink:#252b3d;--line:#b7bdd233;--focus:#b9c4e5;--page-floor:#111217;--page-landscape:url('/assets/xxtra-world-v2.webp')}
html[data-season=halloween]{--surface:#261c2d;--surface-raised:#39273e;--bg:#160f1d;--text:#fff2e5;--text-soft:#d1bbc9;--accent:#f5bb86;--accent-ink:#38222c;--line:#dc9c8247;--focus:#f5bb86;--page-floor:#160f1d;--page-landscape:url('/assets/xxtra-world-v2.webp')}
html[data-season=light]{color-scheme:light;--surface:#fff;--surface-raised:#f0edf6;--bg:#f6f4f9;--text:#2c2736;--text-soft:#62586e;--accent:#76529d;--accent-ink:#fff;--line:#d6cede;--focus:#76529d;--page-floor:#f6f4f9;--page-landscape:url('/assets/xxtra-winter-world.webp');--green:#76529d;--muted:#62586e;--cabinet-surface:#fff;--cabinet-muted:#62586e;--cabinet-line:#d6cede}
html[data-season] body{background-color:var(--bg)!important;color:var(--text);font-size:15px;line-height:1.7}
html[data-season] :is(.eyebrow,.market-breadcrumb,.community-result-status,.market-result-caption,.catalog-caption,.product-tags span,.market-product-meta span,.catalog-search-hint,.cover-label,.community-type-label,.plan-duration,.plan-secondary,.style-privacy,.footer-bottom,.market-demo,.catalog-note,.market-filters small,.community-dialog form small){font-size:12px!important;line-height:1.7!important}
html[data-season] :is(.product-body p,.market-product-description,.community-project-description,.variant-card p,.plan-features li,.plan-explainer p,.market-faq details p,.xp-sources p,.xp-truth p,.settings-card p,.account-panel p,.account-stats p,.filter-tip p,.help-text){font-size:14px!important;line-height:1.85!important}
html[data-season] :is(.community-dialog,.settings-card,.style-card,.style-motion,.public-profile-hero,.public-stats,.product-body,.market-product,.community-project,.community-filters,.market-filters,.subscription-plan,.variant-card,.review-card,.review-form,.plan-explainer,.subscription-world,.xp-sources article,.xp-truth article,.market-bottom,.account-panel,.player-card,.support-panel,.support-sidebar,.support-ticket,.support-empty,.support-admin-controls,.owner-card,.public-reviews article){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;border-radius:18px;box-shadow:none!important}
html[data-season] :is(.community-dialog,.settings-card,.public-profile-hero,.public-stats,.product-body,.market-product,.community-project,.community-filters,.market-filters,.subscription-plan,.variant-card,.review-card,.review-form,.plan-explainer,.subscription-world,.xp-sources article,.xp-truth article,.account-panel,.player-card,.support-panel,.support-sidebar,.support-ticket,.owner-card) :is(p,small,label,dt,dd,li,.community-project-by,.community-project-tags,.product-tags){color:var(--text-soft)!important}
html[data-season] :is(.settings-card,.community-dialog,.public-profile-hero,.product-body,.market-product,.subscription-plan,.variant-card,.review-card,.player-card,.support-panel,.support-sidebar,.owner-card) :is(h1,h2,h3,h4,strong){color:var(--text)!important}
html[data-season] body :is(.button,.small-action,.card-button,.account-bot,.profile-file-button,.file-choose-button,.reviews-more,.community-project-side>button,.pending-upload button,.project-upload-progress button,.modal-share button,.team-person button){display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:12px 18px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface-raised)!important;color:var(--text)!important;font:650 14px/1.6 Manrope,Arial,sans-serif!important;text-shadow:none!important;box-shadow:inset 0 1px #ffffff0b!important;letter-spacing:0!important;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}
html[data-season] body :is(.button.primary,.button.identity-submit,.button.owner-submit){background:var(--accent)!important;color:var(--accent-ink)!important;border-color:var(--accent)!important;font-weight:750!important;padding:16px 23px!important}
html[data-season] body :is(.button,.small-action,.file-choose-button,.card-button):hover:not(:disabled){filter:brightness(1.07);transform:translateY(-1px)}html[data-season] .button:disabled{opacity:.55}
html[data-season] .to-top{display:inline-flex;align-items:center;gap:12px;padding:13px 20px;min-height:48px;min-width:110px;border:1px solid var(--line)!important;background:var(--surface-raised)!important;color:var(--text)!important;border-radius:12px;font:650 15px/1.6 Manrope,Arial,sans-serif!important}
html[data-season] :is(input:where(:not([type=checkbox]):not([type=radio]):not([type=range])),textarea,.select-trigger,.sort-trigger){background-color:var(--surface-raised)!important;color:var(--text)!important;border-color:var(--line)!important;border-radius:11px;box-shadow:none!important;font-size:14px!important;line-height:1.7!important}
html[data-season] :is(input,textarea)::placeholder{color:var(--text-soft)!important;opacity:.76}
html[data-season] :is(input,textarea,.select-trigger,.sort-trigger):focus{border-color:var(--focus)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 12%,transparent)!important;outline:none!important}
html[data-focus=pointer] :focus-visible{outline:none!important}html[data-focus=keyboard] :focus-visible{outline:2px solid var(--focus)!important;outline-offset:3px!important}
html[data-season] .search input{background:transparent!important;border:0!important;box-shadow:none!important}html[data-season] body .search{background:var(--surface)!important;border-color:var(--line)!important}
.native-select-proxy{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0!important;clip-path:inset(50%)!important;pointer-events:none!important;overflow:hidden!important}
.select-control{display:inline-block;position:relative;width:100%;min-width:0;font:500 14px/1.7 Manrope,Arial,sans-serif}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:12px 14px;width:100%;border:1px solid var(--line);border-radius:11px;background:var(--surface-raised);color:var(--text);text-align:left;font:inherit}.select-trigger::after{content:'';width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translateY(-2px);flex:none;margin-right:3px}.select-trigger[aria-expanded=true]::after{transform:rotate(225deg)}.select-trigger[aria-invalid=true]{border-color:#de8f9a!important}.select-options,.sort-options{position:absolute;left:0;right:auto;top:calc(100% + 7px);min-width:100%;width:max-content;max-width:min(390px,calc(100vw - 48px));max-height:290px;overflow:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--line)!important;border-radius:13px;background:var(--surface)!important;box-shadow:0 18px 50px #0004;z-index:120}.select-options.open-up{top:auto;bottom:calc(100% + 7px)}.select-options[hidden],.sort-options[hidden]{display:none!important}.select-options button,.sort-options button{display:block;width:100%;padding:10px 12px;min-height:43px;border:0;border-radius:8px;color:var(--text-soft)!important;background:transparent;text-align:left;font:500 14px/1.6 Manrope,Arial,sans-serif}.select-options button:hover,.select-options button:focus,.select-options [aria-selected=true],.sort-options button:hover,.sort-options button:focus,.sort-options [aria-selected=true]{background:var(--surface-raised)!important;color:var(--text)!important;outline:none!important}.select-options [aria-selected=true]::after{content:'✓';float:right;margin-left:15px;color:var(--accent)}
.community-file-fields{align-items:start;gap:22px}.file-field{min-width:0;display:grid;grid-template-rows:26px 58px auto;gap:10px;margin-top:23px}.file-field-heading{display:flex;align-items:center;gap:9px;color:var(--text);font-size:14px;font-weight:650}.file-field-heading small{font-size:12px;color:var(--text-soft);font-weight:400}.file-pick{display:flex;align-items:center;gap:12px;min-width:0;border:1px solid var(--line);background:var(--surface-raised);padding:8px;border-radius:12px}.file-pick [hidden]{display:none!important}.file-pick [data-file-name]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:var(--text-soft);min-width:0}.file-pick .file-choose-button{padding:8px 12px!important;min-height:40px;white-space:nowrap;flex:none;background:var(--surface)!important;font-size:12px!important}.file-field>small{color:var(--text-soft)!important;font-size:12px!important;line-height:1.8}.file-field>#community-upload-sessions{grid-column:1;min-width:0}
.development-pill,.workshop-development{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:100px;background:var(--surface-raised);color:var(--text-soft);font-size:12px;font-weight:600;line-height:1.6}.development-pill::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent)}[data-admin-only][hidden],[data-development][hidden],.workshop-development[hidden],.project-menu-heading[hidden],.profile-nav-dropdown a[hidden],.profile-menu a[hidden]{display:none!important}.community-hero-actions{flex-wrap:wrap}.community-hero-actions .development-pill{flex-basis:auto}.workshop-development{margin:10px;border-radius:10px;display:block}
.interface-item{width:27px;height:27px;object-fit:contain;vertical-align:middle;flex:none}.filter-tip{align-items:start;gap:12px}.filter-tip .interface-item{width:30px;height:30px}.filter-switch .interface-item{margin-right:6px}.hero-meta .interface-item{width:22px;height:22px}.staff-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border-radius:8px;background:color-mix(in srgb,var(--accent) 10%,transparent);border:1px solid var(--line);font-size:12px;line-height:1.7;font-weight:650;color:var(--text)!important;white-space:nowrap}.staff-badge img{width:23px;height:23px}.role-administrator{color:#f5cc86!important;border-color:#d4ac6344;background:#d4ac6310}.role-moderator{color:#9bdcc3!important}.role-editor{color:#b0d3f5!important}.role-curator{color:#d2b4f2!important}.role-developer{color:#e6b4d3!important}.public-profile-link{font-size:12px!important;color:var(--accent)!important;padding:6px 0!important;display:block!important}.profile-nav-person .staff-badge{margin:8px 0 0}.public-own-profile{width:100%;margin-top:18px;font-size:12px!important}.player-card>.staff-badge{margin-top:12px}.team-person{display:grid;grid-template-columns:1fr minmax(170px,1fr);align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.team-person>a{font-weight:650;font-size:14px;overflow-wrap:anywhere}.team-person .select-trigger{font-size:13px!important}.team-person .staff-badge{justify-self:start}
.mod-items{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;max-height:330px;overflow:auto}.mod-item{display:inline-flex;gap:8px;align-items:center;max-width:100%;min-height:34px;border:1px solid var(--line);padding:5px 9px;background:var(--surface-raised);border-radius:9px;font-size:12px;line-height:1.6;color:var(--text)}.mod-item img{width:22px;height:22px;object-fit:contain;border-radius:4px;flex:none}.mod-item>span{overflow-wrap:anywhere}.mod-suggestions button{gap:10px;align-items:center!important}.mod-suggestions button img{width:26px;height:26px;object-fit:contain;flex:none;border-radius:5px}.mod-suggestions button strong{margin-right:auto}.editor-mod-items:empty{display:none}.project-detail-mods .mod-items{margin-top:15px}.project-like{display:inline-flex;align-items:center;gap:8px}.project-like[aria-pressed=true]{border-color:#d1a3b9!important;color:#f0bbd4!important}.project-author-link{color:var(--accent);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.community-project-by .staff-badge{margin-left:5px}.community-project{position:relative}.community-project:has(a:hover){border-color:var(--accent)!important}
/* Ten slots fit without shrinking the item sprites beyond recognition. */
.hotbar{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));width:440px;max-width:100%;gap:3px!important;padding:6px!important}.hotbar button{width:auto!important;height:38px!important;min-width:0!important}.hotbar .brand-item{width:30px;height:30px;object-fit:contain}.hotbar small{font:700 10px/1 Manrope,Arial,sans-serif!important}.hotbar [data-slot=styles]{margin-left:0}.hero-copy .hotbar-wrap{max-width:100%}
.market-mosaic{gap:18px;position:relative}.mosaic-tile{cursor:pointer;text-align:left;transition:transform .25s,border-color .25s,box-shadow .25s;border-radius:15px!important;box-shadow:0 18px 40px #0005!important;overflow:hidden;padding:20px!important;border:1px solid #d1c3ed66!important;display:flex!important;flex-direction:column;justify-content:end;isolation:isolate}.mosaic-tile::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#151022f5,transparent 90%);z-index:-1}.mosaic-tile>span{font:800 23px/1.25 Manrope,Arial,sans-serif!important;color:#fff;text-shadow:0 2px 15px #0008}.mosaic-tile small{color:#ddd6e8!important;font:500 12px/1.6 Manrope,Arial,sans-serif!important;margin-top:12px!important;letter-spacing:0!important;text-transform:none}.mosaic-tile b{font-size:24px;color:#f3e7ff;align-self:end;margin-top:10px}.mosaic-tile:hover{transform:translateY(-8px) rotate(0)!important;border-color:#f2dcff!important;box-shadow:0 24px 50px #0007!important}.mosaic-crystal{display:none!important}.market-mosaic[aria-hidden]{pointer-events:auto!important}
.style-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.style-choice{border-radius:15px!important;background:var(--surface-raised)!important;border-color:var(--line)!important;padding:15px!important;gap:10px!important}.style-choice strong{color:var(--text)!important}.style-choice>span:not(.theme-preview){color:var(--text-soft)!important;font-size:13px}.theme-preview{display:grid;place-items:center;width:100%;aspect-ratio:16/7;border-radius:9px;overflow:hidden}.theme-preview img{width:56px;height:56px;object-fit:contain;border:0;aspect-ratio:auto}.theme-preview-light{background:linear-gradient(130deg,#fff,#d6cbe7)}.theme-preview-dark{background:linear-gradient(130deg,#171923,#363b55)}.theme-preview-halloween{background:radial-gradient(ellipse at 70% 30%,#a4543e,transparent),linear-gradient(130deg,#271632,#66405f)}
html[data-season=dark] :is(.hero-art,.account-world){filter:saturate(.55) brightness(.65)}html[data-season=dark] .pixel-field{display:none}html[data-season=halloween] .hero-art{filter:sepia(.2) saturate(.8) hue-rotate(322deg) brightness(.75)}html[data-season=halloween] .hero-shade{background:linear-gradient(0deg,#160f1d,transparent 60%),linear-gradient(90deg,#2c142753,transparent)}html[data-season=halloween] :is(.accent-word,em){color:#f5bb86!important}html[data-season=halloween] .season-snow{display:none!important}.halloween-atmosphere{display:none;position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}html[data-season=halloween] .halloween-atmosphere{display:block}.halloween-bat{position:absolute;left:var(--x);top:var(--y);width:27px;height:16px;color:#b58bc475;animation:bat-drift 12s var(--delay) ease-in-out infinite}.halloween-bat svg{width:100%;height:100%;fill:currentColor}.halloween-moon{position:absolute;width:120px;height:120px;border-radius:50%;right:15%;top:18%;background:radial-gradient(circle at 40% 40%,#eec8a625,#c57ba912 60%,transparent 72%);filter:blur(1px)}@keyframes bat-drift{50%{transform:translate(24px,-17px) rotate(-6deg)}}.motion-off .halloween-bat,.page-hidden .halloween-bat{animation-play-state:paused}
html[data-season=light] :is(.header,.header.scrolled,.account-header){background:#fffcffeb!important;border-color:var(--line)!important;box-shadow:0 10px 30px #44345c10!important}html[data-season=light] :is(.desktop-nav a,.nav-account,.nav-account.signed-in,.nav-create,.profile-nav-person strong,.profile-nav-dropdown a,.profile-nav-dropdown button){color:var(--text)!important}html[data-season=light] :is(.profile-nav-dropdown,.profile-menu,.header .mobile-nav){background:#fffcfffa!important;border-color:var(--line)!important;box-shadow:0 15px 40px #44345c20!important}html[data-season=light] .logo{color:#30223f!important}html[data-season=light] .account-world{opacity:.08}html[data-season=light] :is(.ambient-world,.pixel-field,.world-sky){opacity:.1}html[data-season=light] .hero{--text:#fff;--text-soft:#e7e0f0;--accent:#d1c3ed;--accent-ink:#2b2436;--line:#d7c7e84d}html[data-season=light] .hero-art{background-image:url('/assets/xxtra-winter-world.webp')!important}html[data-season=light] .hero-shade{background:linear-gradient(0deg,#f6f4f9,transparent 25%),#11152954}html[data-season=light] :is(.hero h1,.hero-copy>p,.hero-meta,.hero-bottom){color:#fff!important}html[data-season=light] .hero h1 .accent-word{color:#e5c8ff!important}html[data-season=light] :is(.market-page-heading p,.market-hero-copy p,.market-section-title p,.market-breadcrumb,.market-result-caption,.market-demo,.catalog-caption,.catalog-note,.catalog-search-hint,.section-heading>p,.community-hero p,.community-section-heading p,.community-dialog>p,.public-empty,.account-hero>p,.style-privacy,.settings-card dl,.settings-card p,.owner-help,.owner-description){color:var(--text-soft)!important}html[data-season=light] :is(.hero-copy,.market-hero-copy,.section-heading,.community-hero,.public-profile-page,.account-hero) :is(h1,h2){color:var(--text)}html[data-season=light] :is(.translation-section,.home-pass,.final-cta,.creator-invite,.steps article,.market-faq details,.community-empty,.support-empty){background:#fff!important;color:var(--text)!important;border-color:var(--line)!important}html[data-season=light] :is(.translation-section,.home-pass,.final-cta,.creator-invite,.steps article,.market-faq details,.community-empty) :is(p,small,summary){color:var(--text-soft)!important}html[data-season=light] :is(.community-project-tags span,.product-tags span,.market-product-meta span,.project-detail-meta,.mod-item,.filters){background:#eee8f5!important;color:#64546f!important;border-color:var(--line)!important}html[data-season=light] :is(.public-player-info h1,.account-hero h1,.panel-title h2,.market-section-title h2,.market-hero h1,.community-hero h1,.community-section-heading h2,.section-heading h2,.final-cta h2){color:#2c2736!important}html[data-season=light] :is(.staff-badge,.role-administrator,.role-moderator,.role-editor,.role-curator,.role-developer){color:#614375!important}html[data-season=light] .hero-meta .ui-icon{color:#eee!important}
@media(max-width:700px){.style-options{grid-template-columns:1fr}.hotbar{width:360px;gap:2px!important;padding:5px!important}.hotbar button{height:32px!important}.hotbar .brand-item{width:25px;height:25px}.hero-meta{font-size:12px!important}.file-field{grid-template-rows:26px 58px auto}.team-person{grid-template-columns:1fr;gap:8px}.mosaic-tile>span{font-size:18px!important}.mosaic-tile{padding:15px!important}}
@media(max-width:380px){.hotbar{width:100%;gap:1px!important;padding:4px!important}.hotbar button{height:27px!important}.hotbar .brand-item{width:22px;height:22px}.hotbar small{font-size:8px!important}.file-pick{gap:8px}.file-pick .file-choose-button{font-size:11px!important;padding:8px!important}.file-field-heading{font-size:13px}}
@media(prefers-reduced-motion:reduce){html:not(.motion-on) .halloween-bat{animation:none}.mosaic-tile{transition:none!important}}

.background-portal-surface{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen;opacity:.65}.background-portal-surface[hidden]{display:none!important}.viewer-admin [data-slot=create]::after{content:none}[data-slot=create] .brand-item{opacity:.85}html[data-season=light] .profile-nav-person span{color:var(--text-soft)!important}html[data-season=light] .community-dialog :is(.mod-suggestions,.mod-suggestions button){background:var(--surface-raised)!important;color:var(--text)!important}html[data-season=light] .community-dialog .mod-suggestions strong{color:var(--text)!important}html[data-season=light] .header .menu-toggle span{background:var(--text)}

.profile-nav-dropdown .style-theme-icon,.profile-nav-dropdown .style-theme-icon img{width:23px;height:23px;object-fit:contain;flex:none}.file-choose-button:disabled{opacity:.5}

html[data-focus=pointer] :is(.select-trigger,.sort-trigger):focus{box-shadow:none!important}

.style-choice>img{aspect-ratio:16/7!important;object-fit:cover;border-radius:9px}.style-choice:has([value=halloween]){grid-column:1/-1}.style-choice:has([value=halloween]) .theme-preview{aspect-ratio:4/1;max-height:120px}.file-pick .file-choose-button{font-size:13px!important}.file-pick [data-file-name]{font-size:13px}

html [hidden]{display:none!important}html[data-season] a[href="#top"]{display:inline-flex;align-items:center;gap:10px;padding:13px 20px;min-height:48px;min-width:110px;border:1px solid var(--line)!important;border-radius:12px;background:var(--surface-raised)!important;color:var(--text)!important;font:650 15px/1.6 Manrope,Arial,sans-serif!important}

html[data-season=light] .account-sidebar{background:#fff!important;border-color:var(--line)!important;box-shadow:0 10px 30px #4738530a!important}html[data-season=light] .account-nav :is(button,a){color:var(--text)!important}html[data-season=light] .account-nav [aria-current=page]{background:#ebe3f4!important;color:#593d7c!important}html[data-season=light] :is(#player-tag,.player-level,.style-options legend,.style-privacy,.account-nav small){color:#62586e!important}html[data-season=light] .player-level{background:#f0e9f6!important;border-color:#d7cae4!important}.style-choice:has(input:checked){border-color:var(--accent)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 22%,transparent)!important;outline:none!important}

.market-hero::before{display:none!important}.market-portal-backdrop{position:absolute;z-index:-1;inset:-104px -15vw -20px;background:url('/assets/xxtra-world-v2.webp') center/cover;pointer-events:none}.market-portal-backdrop::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#15101ef0 12%,#15101e80)}[data-season=winter] .market-portal-backdrop{background-image:url('/assets/xxtra-winter-world.webp')}[data-season=winter] .market-portal-backdrop::after{background:linear-gradient(90deg,#10121ef0 12%,#10121e80)}[data-season=light] .market-portal-backdrop{background-image:url('/assets/xxtra-winter-world.webp')}[data-season=light] .market-portal-backdrop::after{background:linear-gradient(90deg,#f6f4f9fa 15%,#f6f4f9af)}[data-season=halloween] .market-portal-backdrop{filter:sepia(.2) hue-rotate(322deg)}.market-hero{isolation:isolate}

html[data-season] .desktop-nav a.active{color:var(--accent)!important}

html[data-season] body small{font-size:12px!important;line-height:1.6}html[data-season] .footer-bottom a{font-size:12px!important;line-height:1.7}html[data-season] input:is([type=radio],[type=checkbox]){accent-color:var(--accent)}.halloween-atmosphere::after{content:'';position:absolute;left:6%;bottom:13%;width:52px;height:52px;background:url('/assets/team/pumpkin.svg') center/contain no-repeat;opacity:.7;filter:drop-shadow(0 0 18px #e9934d66)}html[data-season] .hotbar small{font-size:10px!important;line-height:1!important}@media(max-width:380px){html[data-season] .hotbar small{font-size:8px!important}}

html[data-season] .oauth-button{border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface-raised)!important;color:var(--text)!important;min-height:54px;font:650 14px/1.6 Manrope,Arial,sans-serif!important;box-shadow:none!important}.oauth-brand-logo.google-brand{background:#fff!important;border-radius:7px;filter:none!important}

html[data-season] .legal-document{background:var(--surface)!important;border-color:var(--line)!important;border-radius:22px;color:var(--text)!important}html[data-season] .legal-document p{font:400 15px/1.9 Manrope,Arial,sans-serif!important;color:var(--text-soft)!important}html[data-season] .legal-document :is(h1,h2){color:var(--text)!important;font-family:Manrope,Arial,sans-serif!important}

/* Provider marks share one icon column; intrinsic logo proportions are retained. */
.provider-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;overflow:hidden;border-radius:7px}.provider-google{background:#fff}.provider-discord{background:#5865f2}.provider-icon .google-brand{width:32px;height:32px;margin:0}.provider-icon .discord-brand{width:23px;height:auto;margin:0}.telegram-brand-icon{display:inline-block;width:26px;height:26px;flex:0 0 26px;object-fit:contain;vertical-align:middle;filter:none!important}.profile-nav-dropdown>a>:is(.ui-icon,.project-menu-icon,.style-theme-icon,.telegram-brand-icon){width:24px;height:24px;flex:0 0 24px;object-fit:contain}.profile-nav-dropdown .style-theme-icon img{width:24px;height:24px}.oauth-button>span:not(.provider-icon){min-width:0}.oauth-button:disabled{opacity:1!important;cursor:not-allowed}.oauth-button:disabled>span:not(.provider-icon){opacity:.65}.account-page .telegram-glyph .telegram-brand-icon{width:56px;height:56px;flex-basis:56px}.account-page .cabinet-telegram .telegram-brand-icon{width:36px;height:36px;flex-basis:36px}.account-page .telegram-action .telegram-brand-icon{width:28px;height:28px;flex-basis:28px}.profile-menu :is(a,button){align-items:center}.ui-icon{vertical-align:middle;flex-shrink:0}.oauth-button .oauth-brand-logo{filter:none!important;opacity:1!important}

/* Role names remain readable in every theme; authority still comes from the server. */
html[data-season] .staff-badge{color:var(--role-ink,var(--text))!important;border-color:color-mix(in srgb,var(--role-ink,var(--accent)) 35%,transparent)!important;background:color-mix(in srgb,var(--role-ink,var(--accent)) 9%,var(--surface))!important}
html[data-season] .staff-badge.role-administrator{--role-ink:#ff8585}html[data-season] .staff-badge.role-moderator{--role-ink:#7edfa3}html[data-season] .staff-badge.role-developer{--role-ink:#ffb16d}html[data-season] .staff-badge.role-curator{--role-ink:#a8f36b}html[data-season] .staff-badge.role-editor{--role-ink:#c7a3f7}
html[data-season=light] .staff-badge.role-administrator{--role-ink:#b3233a}html[data-season=light] .staff-badge.role-moderator{--role-ink:#237245}html[data-season=light] .staff-badge.role-developer{--role-ink:#a64808}html[data-season=light] .staff-badge.role-curator{--role-ink:#3c7711}html[data-season=light] .staff-badge.role-editor{--role-ink:#7543a0}
.profile-name-policy,.registration-name-policy{display:block;font:400 12px/1.8 Manrope,Arial,sans-serif;color:var(--text-soft)}.profile-name-policy a,.registration-name-policy a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.account-footer a{color:var(--accent);margin-left:12px}

/* Clear action targets, with one consistent icon tile. */
html[data-season] a.text-link{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-raised);color:var(--text)!important;font:650 14px/1.6 Manrope,Arial,sans-serif!important;text-decoration:none}
html[data-season] a.text-link:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface-raised))}
.action-link{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;white-space:normal}
.action-icon{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid color-mix(in srgb,var(--accent) 24%,transparent);border-radius:8px;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}
.action-icon .ui-icon{width:16px;height:16px;margin:0!important}
.button.primary .action-icon{color:inherit;background:#ffffff26;border-color:#ffffff30}
html[data-season] .account-nav :is(button,a)>.cabinet-icon{width:36px;height:36px;flex:0 0 36px;padding:6px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:var(--surface-raised)}
html[data-season] .account-nav [aria-current=page]>.cabinet-icon{background:color-mix(in srgb,var(--accent) 18%,var(--surface));border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
html[data-season] .player-card .player-level{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;border-radius:9px;font:750 14px/1.5 Manrope,Arial,sans-serif!important;letter-spacing:.025em;color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 10%,var(--surface))!important;border:1px solid color-mix(in srgb,var(--accent) 32%,transparent)!important}
html[data-season] .motion-control{display:none!important}
@media(max-width:760px){html[data-season] .player-card .player-level{font-size:13px!important;min-height:32px;padding:5px 11px;justify-self:start;grid-column:2}.player-card>.public-own-profile,.player-card>.staff-badge{grid-column:1/-1}.public-own-profile{max-width:100%;min-width:0}.action-link{overflow-wrap:anywhere}}

/* Audit: grid tracks must shrink below their content's intrinsic width. */
.market-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.market-hero-copy,.market-mosaic{min-width:0}
html[data-season=light] .logo{text-shadow:none!important}
html[data-season=light] .market-hero :is(em,.eyebrow){color:var(--accent)!important}
html[data-season=light] .community-tabs button{color:var(--text-soft)!important}
html[data-season=light] .community-tabs button[aria-pressed=true]{color:var(--accent)!important;background:var(--surface)!important;border-color:var(--accent)!important;box-shadow:inset 0 -2px var(--accent)}
@media(max-width:800px){.market-hero{grid-template-columns:minmax(0,1fr)}.market-mosaic{position:relative!important;inset:auto!important;width:100%!important;max-width:100%;transform:none!important;opacity:1!important;z-index:auto;margin-top:10px;gap:10px}.mosaic-tile{min-width:0;min-height:150px!important}.mosaic-tile.m-purple{min-height:150px!important}.market-hero-copy p{max-width:100%;overflow-wrap:anywhere}.market-breadcrumb{max-width:100%}}

/* Account menus share one icon column and an independent identity/role header. */
html[data-season] :is(.profile-nav-dropdown,.profile-menu){width:310px;max-width:calc(100vw - 24px);padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface)!important;box-shadow:0 18px 50px #0005;text-align:left;scrollbar-width:thin}
html[data-season] :is(.profile-nav-person,.profile-menu-person){display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;margin:0 4px 6px;padding:13px 9px 16px;border-bottom:1px solid var(--line)}
html[data-season] :is(.profile-nav-person,.profile-menu-person)>strong{display:block;margin:0;padding:0;max-width:100%;font:750 16px/1.5 Manrope,Arial,sans-serif;color:var(--text);overflow-wrap:anywhere}
html[data-season] :is(.profile-nav-caption,#menu-contact){display:block;max-width:100%;margin:0;padding:0;border:0;font:400 12px/1.5 Manrope,Arial,sans-serif;color:var(--text-soft);overflow-wrap:anywhere}
html[data-season] .staff-badge{display:inline-flex!important;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:30px;gap:6px;padding:4px 9px;margin:0;vertical-align:middle;font:650 12px/1.5 Manrope,Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
html[data-season] .staff-badge>img{display:block;width:19px;height:19px;flex:0 0 19px;object-fit:contain;margin:0;align-self:center}
html[data-season] :is(.profile-nav-dropdown,.profile-menu)>:is(a,button){display:flex!important;align-items:center;justify-content:flex-start;gap:11px;min-height:46px;width:100%;margin:0;padding:7px 9px!important;border:0;border-radius:10px;background:transparent;color:var(--text)!important;font:550 13px/1.5 Manrope,Arial,sans-serif;text-decoration:none;text-align:left}
html[data-season] :is(.profile-nav-dropdown,.profile-menu)>:is(a,button):hover{background:var(--surface-raised)}
html[data-season] :is(.profile-nav-dropdown,.profile-menu)>:is(a,button)[hidden]{display:none!important}
html[data-season] :is(.profile-nav-dropdown,.profile-menu) .profile-menu-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;margin:0;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--accent)}
html[data-season] :is(.profile-nav-dropdown,.profile-menu) .profile-menu-icon :is(svg,img,.style-theme-icon){display:block;width:21px;height:21px;flex:none;margin:0;object-fit:contain}
html[data-season] :is(.profile-nav-dropdown,.profile-menu) .profile-menu-icon .telegram-brand-icon{width:24px;height:24px}
html[data-season] :is(.profile-nav-dropdown,.profile-menu) .profile-menu-label{display:block;min-width:0;flex:1;margin:0;padding:0;font:inherit;color:inherit;overflow-wrap:anywhere}
html[data-season] :is(.profile-nav-dropdown,.profile-menu)>:is([data-profile-logout],#logout-menu){margin-top:7px;border-top:1px solid var(--line);border-radius:0 0 10px 10px;padding-top:12px!important;color:#ef9b94!important}
html[data-season=light] :is(.profile-nav-dropdown,.profile-menu)>:is([data-profile-logout],#logout-menu){color:#b12c35!important}
html[data-season] .profile-menu-person~.public-profile-link{color:var(--accent)!important}
html[data-season] .project-menu-heading{margin:7px 4px 2px;padding:12px 9px 5px;color:var(--text-soft);border-color:var(--line)}
html[data-season] .player-card>.staff-badge{margin:14px auto 0}
html[data-season] .community-project-by{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
html[data-season] .community-project-by .staff-badge{margin:0}
@media(max-width:540px){html[data-season] :is(.profile-nav-dropdown,.profile-menu){width:292px}html[data-season] :is(.profile-nav-dropdown,.profile-menu)>:is(a,button){font-size:13px}}

html[data-season=light] .account-heading :is(p,.eyebrow),html[data-season=light] .account-back{color:var(--text-soft)!important}
html[data-season=light] .account-heading h1 em{color:var(--accent)!important}
html[data-season=light] .header-user>button{background:var(--surface-raised);border-color:var(--line);color:var(--text);border-radius:12px}
.nav-more{position:relative}.nav-more>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;padding-block:16px;font:600 14px/1.5 Manrope,Arial,sans-serif;color:#cbc5d8;white-space:nowrap}.nav-more>summary::-webkit-details-marker{display:none}.nav-more>summary::after{content:'';width:6px;height:6px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}.nav-more[open]>summary::after{transform:translateY(1px) rotate(225deg)}.nav-more[open]>summary,.nav-more>summary:hover{color:#fff}.nav-more>summary:focus-visible{outline:2px solid #e5b780;outline-offset:2px}
.nav-more-menu{position:absolute;z-index:80;top:calc(100% + 2px);left:50%;transform:translateX(-50%);min-width:236px;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface)!important;box-shadow:0 18px 50px #0005}.desktop-nav .nav-more-menu a{display:flex;align-items:center;gap:11px;padding:7px 9px!important;border-radius:10px;font:550 13px/1.5 Manrope,Arial,sans-serif!important;color:var(--text)!important;white-space:nowrap}.desktop-nav .nav-more-menu a::after{display:none!important}.desktop-nav .nav-more-menu a:hover,.desktop-nav .nav-more-menu a.active{background:var(--surface-raised)}.nav-more-menu .ui-icon{box-sizing:border-box;width:32px;height:32px;padding:6px;border:1px solid var(--line);border-radius:9px;background:var(--surface-raised);color:var(--accent);flex:none}
html[data-season=light] .nav-more>summary{color:var(--text)}html[data-season=light] .nav-more-menu{box-shadow:0 12px 30px #44345c22}

/* Home: the forum card lines up with the first project card, not with the status line above it. */
@media(min-width:801px){.home-discover-layout{row-gap:0}.home-discover-layout>div:first-child{display:contents}.home-discover-layout .home-feed-status{grid-column:1;grid-row:1}.home-discover-layout .home-community-projects{grid-column:1;grid-row:2}.home-discover-layout>.home-forum-invite{grid-column:2;grid-row:2}}
/* Search fields: one rounded frame; the inner input never draws its own rectangle. */
label.search input:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important;border:0!important;background:transparent!important}
label.search:focus-within{border-color:color-mix(in srgb,var(--accent) 70%,transparent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)!important}

/* Readability: no label below 12px, captions at 13–14px and soft text that still has contrast. */
html[data-season] :is(.eyebrow,.plan-kicker,.identity-kicker,.xp-result-label){font-size:12.5px!important;letter-spacing:.08em}
html[data-season] :is(.membership-summary,.reputation-summary)>span{font-size:12px!important;letter-spacing:.1em;font-weight:800;opacity:1}
html[data-season] :is(.membership-summary,.reputation-summary) small,html[data-season] .telegram-copy :is(p,small),html[data-season] #sync-time,html[data-season] :is(.account-empty,.download-empty) p,html[data-season] .web-downloads>p,html[data-season] .settings-section-title span,html[data-season] .account-panels label small,html[data-season] .profile-name-policy{font-size:13.5px!important;line-height:1.6;color:var(--text-soft)!important;opacity:1!important}
html[data-season] :is(#player-tag,#stat-telegram-name,.account-nav small,.account-signout,.account-back){font-size:13px!important}
html[data-season] :is(.account-footer,.support-footer) :is(span,p,a){color:var(--text-soft)!important;opacity:1!important;font-size:12.5px!important}
html[data-season] :is(.hero-bottom span,.home-project-kind,.home-project-metrics,.language-card span,.community-project-tags span,.filters button span){font-size:12.5px!important}
html[data-season] :is(.xp-rank,#xp-next){font-size:13px!important}
html[data-season] .reputation-rules article>b{font-size:13px!important}
html[data-season] .oauth-button:disabled span{color:var(--text-soft)!important}
/* Seeker path: labels fit their tile; on phones the four tiles form a 2×2 grid. */
html[data-season] .level-path>span{width:auto!important;min-width:100px;padding:0 12px;box-sizing:border-box}
html[data-season] .level-path small{font-size:12px!important;white-space:nowrap;line-height:1.3}
@media(max-width:540px){html[data-season] .level-path{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;max-width:340px}html[data-season] .level-path i{display:none}html[data-season] .level-path>span{min-width:0;width:100%!important;height:72px!important}html[data-season] .level-path small{font-size:12px!important}}
/* Cabinet sidebar: its own scroll, so "Выйти из кабинета" is always reachable. */
@media(min-width:801px){.account-page .account-sidebar{position:sticky!important;top:16px;max-height:calc(100vh - 32px);overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--accent) 45%,transparent) transparent}}
/* Telegram tile in «Один мир. Один аккаунт»: a square tile, not a circle inside a square. */
html[data-season] .telegram-glyph{display:grid!important;place-items:center;width:56px;height:56px;border-radius:14px!important;background:linear-gradient(160deg,#37bbfe,#1f96d3)!important;border:0!important;color:#fff;box-shadow:0 8px 22px #229ed933}
html[data-season] .telegram-glyph .ui-icon{width:28px;height:28px;stroke:#fff;color:#fff;stroke-width:1.9}
/* Menus: Telegram uses the same line icon as the other items. */
html[data-season] :is(.profile-nav-dropdown,.profile-menu) .telegram-brand-icon{display:none}

/* Glass panels: no black outline or hard pixel shadow anywhere. */
html[data-season] .hotbar-wrap .hotbar{outline:none!important;border:1px solid #ffffff2b!important;background:linear-gradient(180deg,#ffffff17,#ffffff05) padding-box,color-mix(in srgb,var(--surface) 55%,transparent)!important;-webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);box-shadow:0 18px 44px #05030a47,inset 0 1px 0 #ffffff2e,inset 0 -1px 0 #ffffff0a!important}
html[data-season=light] .hotbar-wrap .hotbar{border-color:#ffffffb3!important;background:linear-gradient(180deg,#ffffffcc,#ffffff8c)!important;box-shadow:0 14px 34px #44345c24,inset 0 1px 0 #fff!important}
html[data-season] :is(.level-path>span,.xp-simulator,.faq-list details,.chest-icon,.steps article,.step-icon,.language-card){box-shadow:0 14px 36px #05030a33,inset 0 1px 0 #ffffff17!important}
html[data-season] .level-path>span{border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line))!important;border-radius:16px!important;background:linear-gradient(180deg,#ffffff12,#ffffff04),color-mix(in srgb,var(--surface) 72%,transparent)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html[data-season] .level-path i{height:3px!important;border-radius:3px;box-shadow:0 0 12px color-mix(in srgb,#94dc56 45%,transparent)!important}
html[data-season] .steps article{border:1px solid var(--line)!important;border-radius:18px!important}
html[data-season] .steps .step-number{border-radius:9px}
html[data-season] .xp-simulator{border-radius:20px!important}
html[data-season] .faq-list details{border-radius:16px!important}
html[data-season] .product-favorite{box-shadow:0 6px 16px #0004!important}
/* Glass menu icons (sprite injected by site-finishing.js): smooth, full size inside the icon box. */
html[data-season] :is(.profile-nav-dropdown,.profile-menu) .profile-menu-icon svg.menu-glass,.profile-menu-icon svg.menu-glass{width:24px;height:24px;shape-rendering:auto;filter:drop-shadow(0 1px 2px #0a05144d)}
.nav-more-menu .ui-icon.menu-glass{padding:4px;shape-rendering:auto}
.nav-more-menu .ui-icon.menu-glass use{filter:drop-shadow(0 1px 1.5px #0a051440)}
