/* Final responsive polish */
:root{--content-max:1180px;--gutter:clamp(1rem,3vw,2.5rem)}
.container{width:min(var(--content-max),calc(100% - var(--gutter)*2))}.container-narrow{width:min(820px,calc(100% - var(--gutter)*2))}
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent }button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cyber-green,var(--gold));outline-offset:3px}
.site-main{min-width:0}.section,.hero{overflow:clip}.grid{min-width:0}.card{min-width:0}.card-body{min-width:0}.card-title,.article-title{overflow-wrap:anywhere}
.form-input{min-height:2.75rem}.btn{min-height:2.6rem}.btn-block{display:flex}
.media-grid,.gallery-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.video-wrap,.video-frame{max-width:100%;overflow:hidden}.prose pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.social-layout{grid-template-columns:minmax(0,1fr) minmax(240px,320px)}.social-main-col{min-width:0}.post-card,.composer-card,.side-card,.dm-item{min-width:0}
@media(max-width:1100px){.main-nav{gap:.1rem}.nav-link{padding-inline:.55rem}.social-account .btn{padding-inline:.7rem}.social-layout{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:860px){.main-nav{position:fixed}}
@media(max-width:900px){.social-layout{grid-template-columns:1fr}.social-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.social-sidebar>*{min-width:0}.social-search{display:none}.footer-inner{justify-content:center}.footer-social{margin-inline:0}}
@media(max-width:640px){.site-main{padding-bottom:1rem}.header-inner{gap:.55rem}.brand-name{font-size:.92rem}.main-nav{max-height:min(88dvh,560px)}.social-header .brand-name{font-size:.78rem}.social-account .btn{font-size:.75rem;padding-inline:.5rem}.social-nav{margin-inline-start:auto}.nav-label{display:none}.social-nav-link{padding:.45rem}.section{padding-block:2.75rem}.hero{padding-block:4rem}.hero-actions,.composer-tools,.search-form,.comment-form-row,.dm-form-row{align-items:stretch;flex-direction:column}.composer-tools{display:flex}.search-form{display:flex}.comment-form-row,.dm-form-row{display:flex}.hero-actions .btn,.composer-tools .btn,.search-form .btn,.comment-form-row .btn,.dm-form-row .btn{width:100%}.form-row{grid-template-columns:1fr}.social-sidebar{grid-template-columns:1fr}.profile-head-inner{padding:1rem}.profile-avatar-wrap{width:100%}.profile-info{min-width:0;width:100%}.profile-actions{width:100%}.profile-actions .btn,.profile-actions form{flex:1}.profile-actions form .btn{width:100%}.post-media-item{max-height:420px}.dm-bubble{max-width:88%}.pagination{max-width:100%;overflow-x:auto;padding-bottom:.25rem}.site-footer{padding-bottom:6rem}}
@media(max-width:380px){.container,.container-narrow{width:calc(100% - 1.25rem)}.brand-mark{min-width:34px;height:34px;padding-inline:.35rem;font-size:.9rem}.brand-logo{width:34px;height:34px}.brand-name{font-size:.82rem}.icon-btn{width:34px;height:34px}.profile-stats{gap:.7rem;font-size:.75rem}.metric strong{font-size:1.05rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none}.card:hover,.btn:hover,.icon-btn:hover{transform:none}}
