/* v4 responsive header + Steam-first layout */
*,*::before,*::after{box-sizing:border-box}
body{overflow-x:clip}.app-shell,.main-content,.page-content{min-width:0}
.steam-header-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;white-space:nowrap;padding:0 12px;background:#1d5c76;border:1px solid #76dbe8;color:#ecfeff;text-decoration:none;font:900 11px Consolas,monospace;letter-spacing:.05em;border-radius:5px}
.steam-header-link:hover{background:#287f98}.steam-header-link.signed-in{border-color:#8bd6aa;background:#1d5841}
.reg-section{margin-top:7px;margin-bottom:24px;scroll-margin-top:18px}.reg-section .section-header{margin-bottom:14px}
.reg-intro{padding:20px 24px}.reg-auth.steam{background:linear-gradient(120deg,#155175,#277a99);width:100%;max-width:340px;min-height:50px;letter-spacing:.07em}
.reg-profile{justify-content:flex-start}.reg-profile .steam-identity{flex:1;min-width:0}.reg-profile strong{overflow-wrap:anywhere}.steam-avatar{width:56px;height:56px;border-radius:10px;object-fit:cover;flex:none}.steam-profile-link{display:inline-block;margin-top:8px;color:#7ce5e6;font:800 11px Consolas,monospace;text-decoration:underline;text-underline-offset:3px}
.push-optin{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 22px;align-items:center;border:1px solid #3d5766;background:linear-gradient(120deg,#1a303e,#172232);padding:17px 20px;margin-top:12px;border-radius:12px}.push-optin strong{font:900 13px Consolas,monospace;color:#f0f9ff}.push-optin p{font-size:12px;color:#b6cbd9;line-height:1.55;margin:8px 0 0}.push-buttons{display:flex;flex-direction:column;gap:6px;max-width:270px}.push-btn{background:#79e6e2;color:#112632;border:0;border-radius:6px;padding:11px;font:900 10px Consolas,monospace;cursor:pointer;min-height:38px}.push-btn.secondary{background:#294658;color:#deebf7;border:1px solid #658094}.push-btn:disabled{opacity:.5;cursor:not-allowed}.push-status{grid-column:1/-1;margin:0!important;font-size:11px!important}.push-status.bad{color:#ffad91}.push-preferences{grid-column:1/-1;display:flex;gap:17px;flex-wrap:wrap;border-top:1px solid #43586a;padding-top:9px}.push-preferences label{font:800 11px Consolas,monospace;color:#c8dee8;display:flex;gap:8px;align-items:center}.push-preferences input{accent-color:#82e8e2}
@media(max-width:1050px){.site-domain{display:none!important}.top-actions{gap:9px!important}}
@media(max-width:700px){
 .sidebar{width:100%!important;max-width:100vw!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:9px 10px 5px!important;overflow:hidden}
 .brand{margin:0 0 4px!important;justify-self:start!important}.nav-stack{width:100%;max-width:100%;min-width:0;display:flex!important;justify-content:flex-start!important;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:5px;gap:6px!important;flex:unset!important}
 .nav-stack .nav-item{flex:0 0 39px;width:39px!important;height:39px!important}.nav-stack .nav-item.active:before{bottom:0!important}
 .topbar{height:auto!important;min-height:64px!important;padding:10px 13px!important;display:flex;gap:8px;align-items:center;justify-content:space-between}
 .topbar .crumb{display:none!important}.top-actions{display:flex!important;gap:6px!important;min-width:0;flex:1;justify-content:space-between;flex-wrap:wrap}
 .top-actions .clock{font-size:13px!important}.top-actions .top-help{width:34px!important;min-width:34px!important;height:34px!important}.public-theme-control{min-width:0!important;flex:0 1 auto}.public-theme-control select{max-width:116px!important;width:100%!important}
 .steam-header-link{min-height:33px;font-size:10px;padding:0 9px;order:-1}.reg-section{margin-top:0}.reg-intro{grid-template-columns:1fr;gap:12px}.reg-profile{flex-wrap:wrap}.reg-profile button{margin-left:auto}
 .push-optin{grid-template-columns:1fr}.push-buttons{max-width:100%}.status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){.top-actions{gap:5px!important}.public-theme-control{font-size:9px!important}.public-theme-control select{max-width:97px!important}.clock{display:none}.push-optin{padding:13px}}

.reg-roster-details{margin-top:10px;border:1px solid #364d5c;border-radius:7px;padding:10px 15px;background:#142330}.reg-roster-details summary{cursor:pointer;list-style:none;font:900 10px Consolas,monospace;letter-spacing:.07em;color:#a3dfdf;display:flex;justify-content:space-between;align-items:center}.reg-roster-details summary::-webkit-details-marker{display:none}.reg-roster-details[open] summary span{transform:rotate(180deg)}
