/* Scoped names keep the existing store, LiteBans and handbook components intact. */
#tc-site-header{position:relative;z-index:30;width:100%;font:600 16px/1.4 'Outfit',sans-serif;--tc-ink:#533c30;--tc-paper:#fff9f0f2;--tc-line:#dfcdb8;--tc-hover:#f4e7cf}
[data-theme=dark] #tc-site-header{--tc-ink:#fff0dd;--tc-paper:#29222bf5;--tc-line:#675361;--tc-hover:#554569}
.tc-global-header{background:var(--tc-paper);color:var(--tc-ink);border-bottom:1px solid var(--tc-line);box-shadow:0 5px 25px #34211c0c;backdrop-filter:none}
.tc-global-inner{max-width:1450px;margin:auto;min-height:170px;padding:10px 32px;display:grid;grid-template-columns:1fr 300px 1fr;align-items:center;gap:18px}
.tc-global-left,.tc-global-right{display:flex;align-items:center;gap:clamp(5px,1.3vw,22px)}.tc-global-left{justify-content:flex-end}.tc-global-right{justify-content:flex-start}
#tc-site-header a{color:var(--tc-ink);text-decoration:none;font:inherit;border-radius:12px}#tc-site-header nav a{padding:12px 11px;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
#tc-site-header nav a:hover,#tc-site-header nav a[aria-current=page]{background:var(--tc-hover)}#tc-site-header :is(a,button):focus-visible{outline:3px solid #a77ed0;outline-offset:4px}
.tc-global-logo{display:block;line-height:0;animation:tc-float 5s ease-in-out infinite;filter:drop-shadow(0 6px 5px #4f35292b)}.tc-global-logo img{width:100%;height:auto;max-height:140px;object-fit:contain;display:block}.tc-global-logo:hover{animation:tc-bounce .65s ease}.tc-global-logo:focus-visible{animation:tc-bounce .65s ease}
#tc-site-header .tc-global-theme{position:static;display:flex;align-items:center;gap:2px;width:76px;flex:0 0 auto;min-width:66px;min-height:44px;padding:4px;border:1px solid var(--tc-line);border-radius:30px;background:var(--tc-paper);color:var(--tc-ink);cursor:pointer;box-shadow:none;font:inherit}
.tc-global-theme span{display:flex;padding:6px;border-radius:50%;opacity:.5}.tc-global-theme svg{width:20px;height:20px}.tc-global-theme .tc-global-sun{background:#ffedbc;color:#533c30;opacity:1}[data-theme=dark] .tc-global-theme .tc-global-sun{background:transparent;color:inherit;opacity:.5}[data-theme=dark] .tc-global-theme .tc-global-moon{background:#68527b;opacity:1}
#tc-site-header .tc-global-menu{display:none;background:var(--tc-hover);color:var(--tc-ink);border:1px solid var(--tc-line);border-radius:12px;min-width:44px;min-height:44px;font-size:22px;cursor:pointer}.tc-global-mobile[hidden]{display:none!important}.tc-global-mobile{display:grid;grid-template-columns:repeat(3,1fr);padding:0 16px 14px;gap:5px}.tc-global-mobile a{justify-content:center}
@keyframes tc-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes tc-bounce{0%,100%{transform:translateY(0)}35%{transform:translateY(-9px) rotate(-1deg)}65%{transform:translateY(2px) rotate(1deg)}}
@media(max-width:1050px){.tc-global-inner{grid-template-columns:1fr 230px 1fr;padding:10px 18px;gap:8px;min-height:130px}#tc-site-header nav a{padding:10px 7px}.tc-global-left,.tc-global-right{gap:2px}}
@media(max-width:800px){.tc-global-inner{grid-template-columns:60px 1fr 60px;min-height:130px;padding:10px 16px}.tc-global-logo{grid-column:2;grid-row:1;width:min(260px,100%);justify-self:center}.tc-global-left{display:none}.tc-global-right{grid-column:3;grid-row:1;justify-content:flex-end}.tc-global-right>a{display:none!important}#tc-site-header .tc-global-theme{width:54px;min-width:44px;padding:2px;gap:0}.tc-global-theme span{padding:3px}.tc-global-theme svg{width:17px;height:17px}#tc-site-header .tc-global-menu{display:block;grid-row:1;grid-column:1}.tc-global-logo img{max-height:110px}}
@media(max-width:380px){.tc-global-inner{grid-template-columns:44px 1fr 44px;gap:8px;padding:9px 12px;min-height:96px}.tc-global-mobile{grid-template-columns:repeat(2,1fr)}.tc-global-theme span{padding:2px}}
@media(prefers-reduced-motion:reduce){.tc-global-logo,.tc-global-logo:hover,.tc-global-logo:focus-visible{animation:none!important}}
@media print{#tc-site-header{display:none}}


/* A compact navigation rail; the PNG intentionally crosses into the section bar. */
.tc-global-header{position:relative;isolation:isolate}.tc-global-inner{position:relative;min-height:72px;height:72px;padding:0 28px;grid-template-columns:minmax(0,1fr) 350px minmax(0,1fr);gap:16px;z-index:3}.tc-global-logo{position:absolute;top:-9px;left:50%;width:350px;translate:-50% 0;z-index:5}.tc-global-logo img{width:100%;height:175px;max-height:164px;object-fit:contain}.tc-global-left{grid-column:1}.tc-global-right{grid-column:3}.tc-global-left,.tc-global-right{gap:clamp(2px,1vw,18px)}
.tc-global-section{position:relative;z-index:1;background:color-mix(in srgb,var(--tc-paper) 90%,#ebd8bb);border-top:1px solid var(--tc-line)}.tc-global-section-inner{min-height:87px;width:min(100%,1450px);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 350px minmax(0,1fr);gap:16px;align-items:center;padding:12px 28px;color:var(--tc-ink)}.tc-global-section-left{grid-column:1;font-size:14px;display:flex;align-items:center;gap:10px}.tc-global-section-left a{padding:6px 0;min-height:36px;display:inline-flex;align-items:center}.tc-global-section-right{grid-column:3;justify-self:end}.tc-global-section-left strong{font-weight:600}
#tc-site-header .tc-global-copy{width:auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--tc-line);border-radius:12px;padding:8px 12px;background:var(--tc-paper);color:var(--tc-ink);font:500 14px/1.4 'Outfit',sans-serif;cursor:pointer;white-space:nowrap}.tc-global-copy:hover{filter:brightness(.97)}.tc-global-mobile{position:relative;z-index:8;background:var(--tc-paper);padding-top:12px;border-bottom:1px solid var(--tc-line)}
#tc-site-header .tc-store-utilities{width:min(100%,1450px);margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 350px minmax(0,1fr);min-height:87px;height:auto;padding:12px 28px;gap:16px;background:transparent;border:0;box-shadow:none;position:relative;z-index:1;overflow:visible;flex-wrap:nowrap}#tc-site-header .tc-store-label{grid-column:1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}#tc-site-header .tc-store-label>a{font-size:14px}#tc-site-header #brand-icon{display:none}#tc-site-header .tc-store-label .tc-global-copy{font-size:12px;min-height:34px;padding:5px 9px}#tc-site-header .account{grid-column:3;width:auto;display:flex;justify-content:flex-end;align-items:center;margin:0;gap:8px;flex-wrap:nowrap}#tc-site-header .account button{width:auto;white-space:nowrap}#tc-site-header .account .login-button{min-width:0;font-size:14px;padding:8px}#tc-site-header #login-label{max-width:125px;overflow:hidden;text-overflow:ellipsis}#tc-site-header .basket-button{padding:9px 12px;gap:7px}#tc-site-header .logout-button{font-size:13px;padding:6px}#tc-site-header .avatar{display:none}
.tc-header-message{position:fixed;top:180px;left:50%;translate:-50% 0;width:min(440px,calc(100% - 32px));margin:0;padding:16px 22px;border:2px solid #c1945a;border-radius:15px;background:#fff8e8;color:#493121;box-shadow:0 10px 40px #2c1b2740;font:600 16px/1.5 'Outfit',sans-serif;text-align:center;z-index:1000;pointer-events:none;overflow-wrap:anywhere}.tc-header-message[hidden]{display:none!important}[data-theme=dark] .tc-header-message{background:#382c38;color:#fff0dd;border-color:#cda575}
@media(max-width:1120px) and (min-width:901px){.tc-global-inner,.tc-global-section-inner,#tc-site-header .tc-store-utilities{grid-template-columns:minmax(0,1fr) 290px minmax(0,1fr);gap:8px;padding-inline:18px}.tc-global-logo{width:320px}.tc-global-logo img{height:160px;max-height:160px}.tc-global-left,.tc-global-right{gap:0}#tc-site-header nav a{padding-inline:7px}#tc-site-header .account{gap:4px}#tc-site-header .tc-store-label .tc-global-copy{font-size:11px}#tc-site-header .account .login-button{font-size:13px;padding:6px}}
@media(max-width:900px){.tc-global-inner{grid-template-columns:60px minmax(0,1fr) 60px;min-height:64px;height:64px;padding:0 16px}.tc-global-logo{grid-column:auto;grid-row:auto;top:-4px;width:250px;max-width:calc(100% - 130px);justify-self:auto}.tc-global-logo img{height:125px;max-height:125px}.tc-global-left{display:none}.tc-global-right{grid-column:3;grid-row:1;justify-content:flex-end}.tc-global-right>a{display:none!important}#tc-site-header .tc-global-menu{display:block;grid-column:1;grid-row:1}#tc-site-header .tc-global-theme{width:54px;min-width:44px;padding:2px;gap:0}.tc-global-theme span{padding:3px}.tc-global-theme svg{width:17px;height:17px}.tc-global-section-inner{display:flex;justify-content:space-between;gap:12px;min-height:116px;padding:62px 16px 10px}.tc-global-section-left{font-size:13px;gap:7px}.tc-global-section-right{min-width:0}#tc-site-header .tc-global-copy{font-size:12px;padding:8px}#tc-site-header .tc-store-utilities{display:flex;justify-content:space-between;min-height:116px;padding:62px 12px 10px;gap:8px}#tc-site-header .tc-store-label{flex-wrap:nowrap;gap:6px}#tc-site-header .tc-store-label>a,#tc-site-header .tc-store-label .tc-global-copy{display:none}#tc-site-header .mobile-menu{display:inline-flex;align-items:center;justify-content:center;min-width:44px;width:44px;min-height:44px;padding:8px;margin:0;position:static}#tc-site-header .account{width:auto;gap:7px;flex:0 1 auto}#tc-site-header .account .login-button{padding:7px;min-height:44px;font-size:13px}#tc-site-header #login-label{max-width:115px}#tc-site-header .basket-button{padding:8px;min-height:44px}#tc-site-header .basket-word{display:inline!important}.tc-global-mobile{padding-top:64px}.tc-header-message{top:195px}}
@media(max-width:380px){.tc-global-inner{padding:0 12px;grid-template-columns:44px minmax(0,1fr) 54px;gap:8px}.tc-global-logo{width:225px;max-width:calc(100% - 116px);top:0}.tc-global-logo img{height:113px;max-height:113px}.tc-global-section-inner{padding-inline:12px}.tc-global-section-left>a,.tc-global-section-left>span{display:none}#tc-site-header #login-label{max-width:80px}#tc-site-header .account{gap:4px}#tc-site-header .logout-button{padding:4px;font-size:12px}}

/* Reserve the shared header while its script loads, so page changes do not jump. */
#tc-site-header:empty{min-height:161px}body>header.topbar.tc-store-utilities{height:0;min-height:0;padding:0;border:0;visibility:hidden;overflow:hidden}@media(max-width:900px){#tc-site-header:empty{min-height:182px}}

#tc-site-header{z-index:40}

/* A small, predictable Help link; never a chat window or a moving target. */
.tc-help-mascot{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:100px;display:flex;flex-direction:column;align-items:center;gap:4px;z-index:35;text-decoration:none;color:#533c30;font:600 13px/1.3 Outfit,system-ui,sans-serif;isolation:isolate;transition:transform .18s ease}
.tc-help-mascot img{width:90px;height:90px;display:block;object-fit:contain;filter:drop-shadow(0 4px 6px #25192735)}
.tc-help-bubble{position:relative;display:block;white-space:nowrap;padding:7px 11px;border:1px solid #d6c4af;border-radius:13px;background:#fff9f0;box-shadow:0 3px 14px #25192718;color:#533c30}
.tc-help-bubble::after{content:'';position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:inherit;border-bottom:1px solid #d6c4af;border-right:1px solid #d6c4af;rotate:45deg}
[data-theme^=dark] .tc-help-bubble{background:#3b3042;color:#f9ebdc;border-color:#735e7c}
[data-theme^=dark] .tc-help-bubble::after{border-color:#735e7c}
.tc-help-mascot:hover{transform:translateY(-3px)}
.tc-help-mascot:focus-visible{outline:3px solid #b18dce;outline-offset:5px;border-radius:16px}
/* Keep the basket, store menu, dialogs and editor entirely unobstructed. */
html.tc-keyboard-open .tc-help-mascot,html.tc-store-menu-open .tc-help-mascot,html.tc-cart-open .tc-help-mascot,body:has(dialog[open],.ModalManager:not(:empty),.Composer:not(.minimized),.cart-panel.open,.cart-drawer.open,.basket-drawer.open,.sidebar.open,.sidebar.is-open,.cart-overlay.active,.overlay.active,.mobile-sidebar.open) .tc-help-mascot{visibility:hidden;pointer-events:none}
@media(max-width:767px){.tc-help-mascot{right:max(10px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:76px;gap:2px}.tc-help-mascot img{width:65px;height:65px}.tc-help-bubble{font-size:11px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.tc-help-mascot{transition:none}.tc-help-mascot:hover{transform:none}}
@media print{.tc-help-mascot{display:none}}

/* Shared low-cost backgrounds across all site sections. */
*,*::before,*::after,dialog::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}


/* Maps is a disclosure beside Vote, with the same destinations on mobile. */
.tc-maps-dropdown{position:relative;flex:none}.tc-maps-dropdown summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:12px 11px;min-height:44px;border-radius:12px;white-space:nowrap}.tc-maps-dropdown summary::-webkit-details-marker{display:none}.tc-maps-dropdown summary:hover,.tc-maps-dropdown[open]>summary,.tc-maps-dropdown summary[aria-current=page]{background:var(--tc-hover)}.tc-maps-dropdown summary:focus-visible{outline:3px solid #a77ed0;outline-offset:3px}.tc-maps-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:180px;padding:6px;background:var(--tc-paper);border:1px solid var(--tc-line);border-radius:14px;box-shadow:0 10px 28px #20162230;z-index:20}#tc-site-header .tc-maps-menu a{display:flex;width:100%;padding:12px}.tc-global-left,.tc-global-right{gap:clamp(0px,.6vw,10px)}
@media(min-width:901px) and (max-width:1120px){.tc-global-inner,.tc-global-section-inner,#tc-site-header .tc-store-utilities{grid-template-columns:minmax(0,1fr) 250px minmax(0,1fr)}.tc-global-logo{width:280px}#tc-site-header nav a,.tc-maps-dropdown summary{padding-inline:6px;font-size:15px}}
.tc-global-mobile .tc-maps-dropdown summary{justify-content:center}.tc-global-mobile .tc-maps-menu{left:50%;translate:-50% 0;min-width:160px}

/* Vector navigation icons and a single, lightweight Store sheen. */
#tc-site-header .tc-maps-chevron{display:block;flex:0 0 14px;width:14px;height:14px;align-self:center;transition:transform .18s ease}
#tc-site-header .tc-maps-dropdown[open]>summary .tc-maps-chevron{transform:rotate(180deg)}
#tc-site-header nav a.tc-nav-store{position:relative;isolation:isolate;overflow:hidden;gap:6px;transition:color .18s ease,background-color .18s ease}
#tc-site-header .tc-store-cart{display:block;width:17px;height:17px;flex:0 0 17px}
#tc-site-header .tc-nav-store>span,#tc-site-header .tc-store-cart{position:relative;z-index:1}
#tc-site-header nav a.tc-nav-store::after{content:"";position:absolute;inset:-40% -60%;pointer-events:none;background:linear-gradient(110deg,transparent 38%,#ffffff70 49%,transparent 60%);transform:translateX(-80%);opacity:0}
#tc-site-header nav a.tc-nav-store:focus-visible{background:#f5df9f;color:#62420d}
#tc-site-header nav a.tc-nav-store:focus-visible::after{animation:tc-store-sheen .65s ease-out}
[data-theme=dark] #tc-site-header nav a.tc-nav-store:focus-visible{background:#5d4523;color:#ffe3a0}
@media(hover:hover){
#tc-site-header nav a.tc-nav-store:hover{background:#f5df9f;color:#62420d}
[data-theme=dark] #tc-site-header nav a.tc-nav-store:hover{background:#5d4523;color:#ffe3a0}
#tc-site-header nav a.tc-nav-store:hover::after{animation:tc-store-sheen .65s ease-out}
}
@keyframes tc-store-sheen{0%{transform:translateX(-80%);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateX(80%);opacity:0}}
@media(prefers-reduced-motion:reduce){
#tc-site-header .tc-maps-chevron,#tc-site-header nav a.tc-nav-store{transition:none}
#tc-site-header nav a.tc-nav-store::after{animation:none!important;display:none}
}

/* Store FAQ indicators must not leak into the shared Maps disclosure. */
#tc-site-header .tc-maps-dropdown>summary::before,
#tc-site-header .tc-maps-dropdown>summary::after{content:none;display:none}

/* Shared illustrated logo, reduced 20%, with reserved room for controls. */
#tc-site-header .tc-global-logo{top:8px;width:448px;max-width:none;animation:none}
#tc-site-header .tc-global-logo img{width:100%;height:auto;max-height:none;object-fit:contain}
#tc-site-header .tc-global-inner{height:96px;min-height:96px;grid-template-columns:minmax(0,1fr) 448px minmax(0,1fr)}
#tc-site-header :is(.tc-store-utilities,.tc-global-section-inner){min-height:128px;grid-template-columns:minmax(0,1fr) 448px minmax(0,1fr)}
#tc-site-header{margin-bottom:124px}
#tc-site-header:empty{min-height:224px}
@media(min-width:901px) and (max-width:1200px){
 #tc-site-header{margin-bottom:0}
 #tc-site-header .tc-global-inner{height:72px;min-height:72px;grid-template-columns:minmax(0,1fr) 250px minmax(0,1fr)}
 #tc-site-header .tc-global-logo{top:76px;width:400px}
 #tc-site-header :is(.tc-store-utilities,.tc-global-section-inner){grid-template-columns:minmax(0,1fr) 250px minmax(0,1fr);padding-top:320px;min-height:380px;align-items:end}
}
@media(max-width:900px){
 #tc-site-header{margin-bottom:20px}
 #tc-site-header .tc-global-inner{height:64px;min-height:64px;grid-template-columns:60px minmax(0,1fr) 60px}
 #tc-site-header .tc-global-logo{top:64px;width:min(400px,calc(80vw - 25.6px));max-width:none}
 #tc-site-header :is(.tc-store-utilities,.tc-global-section-inner){display:flex;min-height:0;padding:clamp(160px,60vw,319.2px) 12px 14px}
 #tc-site-header .tc-global-mobile{padding-top:clamp(160px,60vw,319.2px)}
 #tc-site-header:empty{min-height:340px}
}

/* An expanded mobile navigation follows the logo instead of covering it. */
@media(max-width:900px){#tc-site-header:has(.tc-global-mobile:not([hidden])) :is(.tc-store-utilities,.tc-global-section-inner){padding-top:14px}}


/* Let the shared logo cross into selected page surfaces, keeping content clear. */
html[data-tc-page=home] .tc-landing-title{display:none}
html[data-tc-page=maps] .tc-maps-intro{display:none}
html[data-tc-page=discord] .tc-invite-hero .portal-hero-art{display:none}
@media(min-width:901px){
 html:is([data-tc-page=home],[data-tc-page=store],[data-tc-page=vote],[data-tc-page=maps],[data-tc-page=forums],[data-tc-page=discord],[data-tc-page=bans]) #tc-site-header{margin-bottom:0}
 html[data-tc-page=home] #app{padding-top:146px}
 html:is([data-tc-page=vote],[data-tc-page=discord]) .tc-community-main{padding-top:0}
 html[data-tc-page=vote] .tc-community-main>.portal-hero{display:grid;grid-template-columns:minmax(0,1fr) 448px minmax(0,1fr);gap:18px;min-height:270px;padding:30px}
 html[data-tc-page=vote] .portal-hero-copy{grid-column:1;min-width:0;width:100%}
 html[data-tc-page=vote] .portal-hero-copy h1{font-size:38px;max-width:100%;overflow-wrap:normal}
 html[data-tc-page=vote] .portal-hero-art{grid-column:3;width:100%;min-width:0}
 html[data-tc-page=store] .event-banner:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) 448px minmax(0,1fr);gap:18px;min-height:164px}
 html[data-tc-page=store] .event-motif{display:none}
 html[data-tc-page=store] .event-copy{grid-column:1}
 html[data-tc-page=store] .event-link{grid-column:3;justify-self:end}
 html[data-tc-page=store] body:has(#event-banner[hidden]) .rank-account-panel{width:min(340px,calc(50vw - 260px));margin-left:auto;min-height:130px;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
 html[data-tc-page=store] body:has(#event-banner[hidden]) .rank-account-panel p{margin:0}
 html[data-tc-page=maps] .tc-maps-main{padding-top:32px}
 html[data-tc-page=maps] .tc-map-choices{column-gap:300px}
 html[data-tc-page=maps] .tc-map-choice{padding:28px 20px}
 html[data-tc-page=maps] .tc-map-emblem{width:116px;height:116px;margin-bottom:18px}
 html[data-tc-page=maps] .tc-map-emblem svg{width:90px;height:90px}
 html[data-tc-page=discord] .tc-discord-hero-row{position:relative;display:block;min-height:285px}
 html[data-tc-page=discord] .tc-invite-hero{display:block;min-height:285px;padding:32px}
 html[data-tc-page=discord] .tc-invite-hero .portal-hero-copy{width:calc(50% - 220px);min-width:210px;max-width:320px}
 html[data-tc-page=discord] .tc-invite-hero .portal-hero-copy h1{font-size:38px}
 html[data-tc-page=discord] .tc-discord-hero-row>.tc-rules-button{position:absolute;right:24px;top:36px;width:170px;min-height:210px;padding:20px 14px}
 html[data-tc-page=discord] .tc-discord-hero-row>.tc-rules-button svg{width:52px;height:52px}
 html[data-tc-page=discord] .tc-discord-hero-row>.tc-rules-button strong{font-size:24px}
 html[data-tc-page=forums] .tc-home-hero-copy{width:calc(50vw - 260px);max-width:370px;min-width:230px;padding-left:0}
 html[data-tc-page=forums] .Hero:is(.DiscussionHero,.TagHero){min-height:220px;padding-block:24px}
 html[data-tc-page=forums] .Hero:is(.DiscussionHero,.TagHero)>.container{text-align:left}
 html[data-tc-page=forums] .DiscussionHero-items{max-width:calc(50% - 240px);min-width:230px;margin:0;text-align:left}
 html[data-tc-page=forums] .TagHero :is(.Hero-title,.Hero-subtitle){max-width:calc(50% - 240px);min-width:230px;margin-left:0;text-align:left}
 html[data-tc-page=forums] .DiscussionHero-title{font-size:30px;line-height:1.25;overflow-wrap:anywhere}
 .tc-records-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;max-width:1280px;width:100%;margin:auto;padding:24px 28px}
 .tc-records-sidebar{align-self:start;position:sticky;top:20px}
 .tc-records-sidebar .tc-navigation{border:1px solid var(--line);border-radius:16px;background:var(--paper);padding:12px}
 .tc-records-sidebar .tc-navigation>.container{display:flex;flex-direction:column;align-items:stretch;padding:0;width:100%;max-width:none}
 .tc-records-sidebar .tc-navigation .navbar-nav{flex-direction:column;float:none;width:100%;padding:0;gap:5px}
 .tc-records-sidebar .tc-navigation .nav-item{float:none;width:100%}
 .tc-records-sidebar .tc-navigation .nav-link{white-space:normal;padding:12px 10px}
 .tc-records-sidebar .tc-nav-note{white-space:normal;font-size:12px;margin-top:18px;line-height:1.5}
 .tc-records-content{min-width:0;padding-top:108px}
 .tc-records-content>.container{width:100%;max-width:none;padding-inline:0}
 .tc-records-content .tc-record-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tc-records-content .tc-support{flex-wrap:wrap}
}
@media(min-width:901px) and (max-width:1200px){
 html:is([data-tc-page=home],[data-tc-page=store],[data-tc-page=vote],[data-tc-page=maps],[data-tc-page=forums],[data-tc-page=discord],[data-tc-page=bans]) #tc-site-header :is(.tc-store-utilities,.tc-global-section-inner){padding-top:220px;min-height:260px}
 html[data-tc-page=home] #app{padding-top:80px}
 html[data-tc-page=vote] .tc-community-main>.portal-hero{grid-template-columns:minmax(0,1fr) 340px minmax(0,1fr);gap:12px;padding:24px}
 html[data-tc-page=vote] .portal-hero-copy h1{font-size:32px}
 html[data-tc-page=store] .event-banner:not([hidden]){grid-template-columns:minmax(0,1fr) 340px minmax(0,1fr);gap:12px}
 html[data-tc-page=store] .event-copy h2{font-size:24px}
 html[data-tc-page=maps] .tc-map-choices{column-gap:160px}
 html[data-tc-page=discord] .tc-invite-hero .portal-hero-copy{width:calc(50% - 160px)}
 .tc-records-content{padding-top:64px}
}
@media(max-width:900px){
 html[data-tc-page=home] #app{padding-top:24px}
 html[data-tc-page=maps] .tc-maps-main{padding-top:16px}
 .tc-records-layout{padding:16px;display:grid;grid-template-columns:145px minmax(0,1fr);gap:16px}
 .tc-records-sidebar .tc-navigation>.container{padding:8px;display:block;width:100%}
 .tc-records-sidebar .tc-navigation .navbar-nav{display:flex;flex-direction:column;width:100%;gap:3px}
 .tc-records-sidebar .tc-navigation .nav-link{padding:12px 8px;white-space:normal}
 .tc-records-sidebar .tc-nav-note{display:none}
 .tc-records-content{min-width:0}
 .tc-records-content>.container{width:100%;max-width:none;padding-inline:0}
 .tc-records-content .tc-record-cards{grid-template-columns:1fr}
}
@media(max-width:600px){
 .tc-records-layout{grid-template-columns:1fr;padding:16px}
 .tc-records-sidebar .tc-navigation .navbar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .tc-records-sidebar .tc-navigation .nav-item:first-child{grid-column:1/-1}
}

@media(min-width:901px){html[data-tc-page=forums] #tc-site-header{z-index:1001}}

@media(min-width:901px){html[data-tc-page=forums] .TagHero>.container{width:100%;max-width:1170px;margin-inline:auto;text-align:left}}
