.home-layout,.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 274px;gap:26px;align-items:start}.home-layout{margin-top:34px}.mod-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-main{min-width:0}.home-aside{display:grid;gap:20px}.content-wide{min-width:0}.page-narrow{max-width:940px;margin:auto}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:24px;align-items:start}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.account-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.rules-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}
@media(min-width:1500px){.container{width:min(1280px,calc(100% - 80px))}.hero{min-height:350px}.hero h1{font-size:40px}}
@media(max-width:1120px){.header-inner{gap:35px}.main-nav{gap:23px}.home-layout,.content-layout{grid-template-columns:minmax(0,1fr) 244px;gap:20px}.mod-grid{gap:14px}.mod-content{padding:14px}.mod-art{height:115px}.hero h1{font-size:32px}.hero-copy{padding-left:30px}.hero p{max-width:310px}.panel{padding:18px}.detail-hero h1{font-size:24px}.main-nav>a:last-child{display:none}}
@media(max-width:900px){.container{width:calc(100% - 40px)}.header-inner{gap:25px}.main-nav{gap:19px}.header-auth{gap:8px}.header-auth .publish-link{display:none}.brand{font-size:19px}.brand img{width:30px}.home-layout,.content-layout{grid-template-columns:minmax(0,1fr)}.home-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.home-aside .community-note{display:none}.home-aside .welcome-panel{grid-column:1/-1}.welcome-panel .btn-wide{width:auto}.welcome-foot{display:none}.home-aside .welcome-panel{display:grid;grid-template-columns:1fr auto;gap:6px 20px;align-items:center}.home-aside .welcome-panel>p{margin:0;grid-column:1;grid-row:2}.home-aside .welcome-panel>.btn{grid-column:2;grid-row:1/3}.home-aside .welcome-panel>.divider{display:none}.hero{min-height:310px}.hero-copy{padding-top:30px}.hero h1{font-size:30px}.hero-art{object-position:47%}.form-layout,.detail-layout,.rules-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.account-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.checkin-days{gap:5px}.checkin-day{padding:10px 2px}.checkin-day small{font-size:8px}.auth-shell{max-width:820px}.auth-form{padding:30px}.footer-inner small{width:100%;text-align:right}.footer-inner>div{gap:12px 20px}.admin-grid{gap:18px}}
@media(max-width:680px){.container{width:calc(100% - 32px)}.site-header{height:auto;min-height:72px}.header-inner{min-height:72px;flex-wrap:wrap;gap:0;padding:14px 0 0}.brand{font-size:18px}.brand img{width:28px;height:31px}.brand small{font-size:6px;letter-spacing:1.5px}.main-nav{order:3;width:100%;height:40px;gap:26px;font-size:11px;margin-top:5px}.main-nav>a:last-child{display:flex}.header-auth{font-size:11px;gap:9px}.header-auth .btn{font-size:10px;min-height:31px;padding:6px 10px}.header-user span:not(.avatar){max-width:75px;overflow:hidden;text-overflow:ellipsis}.header-user .avatar{width:28px;height:28px;font-size:11px}.header-auth .logout-link{display:none}.breadcrumb{padding:17px 0;font-size:10px}.hero{grid-template-columns:1fr;min-height:475px}.hero-copy{padding:27px 25px 0}.hero h1{font-size:31px;margin:13px 0 10px}.hero p{font-size:11px;max-width:280px}.hero-tag{font-size:8px}.hero-actions{margin-top:18px}.hero-actions .btn{font-size:11px;min-height:35px}.world-label{display:none}.hero-art{position:absolute;bottom:-44px;right:-30px;width:87%;height:255px;object-fit:contain;pointer-events:none}.hero-bottom{font-size:7px;right:14px;bottom:10px}.notice-bar{margin-top:14px;padding:10px 12px;font-size:10px;gap:8px}.notice-bar .notice-end{display:none}.home-layout{margin-top:25px;gap:24px}.section-top{margin-bottom:17px}.section-top h2{font-size:19px}.section-top h2 small{font-size:9px;margin-left:8px}.search-row{gap:8px;flex-wrap:wrap;margin-bottom:13px}.search-row .search-input{flex-basis:calc(100% - 100px)}.filter-select{width:91px;font-size:10px;padding:10px 7px}.search-input input{font-size:11px}.category-chips{gap:6px;margin-bottom:18px}.chip{font-size:10px;padding:4px 9px}.mod-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mod-art{height:105px}.mod-symbol{width:46px;height:46px;font-size:24px}.mod-content{padding:12px}.mod-title h3{font-size:12px}.mod-title svg{width:12px}.mod-summary{font-size:10px;line-height:1.8;height:36px}.mod-tags{gap:4px;margin:9px 0}.mod-tags span{font-size:8px;padding:1px 4px}.mod-meta{font-size:8px;flex-wrap:wrap;gap:3px;padding-top:8px}.mod-locked{font-size:9px;margin-top:8px}.mod-art-badge{font-size:8px;top:7px;left:7px}.home-aside{gap:14px}.home-aside .welcome-panel{padding:17px}.home-aside .welcome-panel>p{font-size:10px;max-width:200px}.welcome-title h3{font-size:12px}.welcome-title small{font-size:9px}.home-aside .panel{padding:16px}.panel-title{font-size:12px}.panel-title .eyebrow{font-size:7px}.stats-grid strong{font-size:18px}.stats-grid span{font-size:8px}.side-list{gap:12px}.side-list .mini-art{width:24px;height:24px;font-size:11px}.side-list strong{font-size:10px}.side-list small{font-size:8px}.side-list>div{gap:7px}.side-number{width:7px;font-size:8px}.aside-note{font-size:8px}.section-space{margin-top:24px}.board-panel{padding:18px}.board-heading h2{font-size:17px}.board-heading h2 small{display:none}.board-heading>span{font-size:8px}.inline-compose{gap:9px}.inline-compose .avatar{width:27px;height:27px;font-size:10px}.compose-actions{font-size:8px}.compose-actions button{font-size:9px}.post{gap:9px;padding:17px 0}.post-head{gap:5px;font-size:10px;flex-wrap:wrap}.post-head .pill{font-size:8px}.post-head time{font-size:8px}.post-content{font-size:11px}.page-heading{margin:5px 0 22px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.form-layout,.detail-layout,.rules-layout,.account-layout,.admin-grid{grid-template-columns:1fr;gap:20px}.form-layout>aside{order:-1}.form-layout>aside .panel{display:none}.auth-shell{grid-template-columns:1fr;margin:12px auto 24px;min-height:0}.auth-visual{padding:25px;min-height:150px;align-items:flex-start;overflow:hidden}.auth-visual h2{font-size:22px;z-index:1}.auth-visual p{font-size:10px;z-index:1;max-width:180px}.auth-visual img{position:absolute;right:-70px;top:-20px;width:285px;opacity:.65}.auth-form{padding:27px 24px}.auth-tabs{margin-bottom:23px}.auth-form h1{font-size:22px}.auth-form>p{font-size:10px}.detail-hero{padding:22px;gap:15px;flex-wrap:wrap}.detail-icon{width:60px;height:60px;font-size:29px;border-radius:10px}.detail-hero h1{font-size:21px}.detail-hero>div:nth-child(2){flex:1;min-width:0}.detail-hero p{font-size:11px}.detail-actions{margin:5px 0 0 75px}.detail-stat{font-size:9px;gap:10px;flex-wrap:wrap}.detail-layout>aside{display:none}.detail-section h2{font-size:18px}.detail-tabs{margin-bottom:20px;gap:24px}.detail-tabs a{font-size:11px}.prose{font-size:12px}.file-row{gap:10px;flex-wrap:wrap}.file-info{min-width:180px}.file-icon{width:30px;height:36px;font-size:16px}.file-row .btn{margin-left:40px;font-size:11px}.file-info strong{font-size:11px}.file-info small{font-size:9px}.field-row{gap:12px}.field{margin-bottom:15px}.field>label{font-size:11px}.check-options{gap:8px}.check-option{font-size:10px}.source-item{padding:13px}.source-buttons .btn{font-size:10px;padding:8px 10px}.account-layout>aside{display:none}.user-heading h1{font-size:22px}.account-stats{gap:9px}.account-stat{padding:13px}.account-stat strong{font-size:24px}.account-stat small{font-size:9px}.checkin-days{gap:6px}.checkin-day strong{font-size:17px}.data-table{font-size:10px;min-width:420px}.data-table th{font-size:9px}.data-table td,.data-table th{padding:12px 9px}.review-card{padding:18px;gap:12px;flex-wrap:wrap}.review-card h3{font-size:15px}.review-card p{font-size:11px}.review-card .review-actions{display:flex;min-width:0;width:100%}.review-actions .btn{font-size:10px}.review-card .mod-tags{margin:10px 0}.footer-inner{padding:25px 0;align-items:flex-start;gap:20px;flex-wrap:wrap}.footer-inner>div{justify-content:flex-start;font-size:9px;gap:10px 20px}.footer-inner small{text-align:left;width:auto;font-size:8px}.footer-brand{font-size:13px}.footer-brand span{font-size:8px}.site-footer{margin-top:0}main.container{padding-bottom:40px}.header-auth .review-link,.header-auth .admin-link{display:none}.mobile-only{display:inline-flex}.checkin-day{font-size:9px}.form-footer{align-items:flex-start}.form-footer small{font-size:9px}.form-footer .btn{white-space:nowrap}}
@media(max-width:680px){.search-row{flex-wrap:nowrap}.search-row .search-input{flex:1 1 0;flex-basis:0}.search-row .btn{padding:9px 12px;font-size:11px}.search-row .filter-select{width:85px}.home-aside{grid-template-columns:1fr}.home-aside .welcome-panel{grid-column:auto}.home-aside .panel-title{font-size:13px}.home-aside .side-list strong{font-size:11px}.home-aside .side-list small{font-size:10px}.home-aside .stats-grid span{font-size:10px}.exam-question{padding:14px 13px}.exam-question h3{font-size:13px}.exam-option{font-size:11px;padding:8px 9px}.exam-meta{font-size:10px;padding:9px 11px}.exam-bar{padding:10px 12px}.exam-gate{padding:10px 12px}.exam-result{padding:28px 16px}.exam-result h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
