/* MAZUSHI CLUB — Netlify + Supabase adaptation. Keeps the original visual system. */
:root{color-scheme:dark}
.site-header .search-mark{font-size:25px;line-height:1}
.page-content{padding-top:45px;padding-bottom:85px;min-height:45vh}
.page-content> .empty-state{margin:30px 0}
.club-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.club-card{min-width:0;background:#141517;border:1px solid #303236;display:block;transition:transform .2s,border .2s;overflow:hidden}
.club-card:hover{transform:translateY(-5px);border-color:#67696a}
.club-card>img{height:280px;width:100%;object-fit:cover;background:#242527}
.club-card-body{padding:23px 20px 26px}
.club-card-body h3{font:900 clamp(23px,2vw,34px)/1.1 var(--head);text-transform:uppercase;margin:11px 0 8px}
.club-card-body p{color:#a8a8ab;font-size:11px;letter-spacing:.04em;margin:0}
.post-stack{display:grid;gap:16px}
.social-post{border:1px solid #343638;background:#121314;padding:25px;min-width:0}
.post-author{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.post-avatar{width:50px;height:50px;object-fit:cover;border-radius:50%;background:#292b2c}
.post-user{font-size:14px;font-weight:900;letter-spacing:.08em;margin-top:3px}
.post-text{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 0 20px}
.post-main-image{width:100%;max-height:630px;object-fit:contain;background:#080808;margin-bottom:16px}
.post-footer{display:flex;flex-wrap:wrap;gap:17px;border-top:1px solid #343434;padding-top:17px;margin-top:15px;color:#c2c2c2;font-size:10px;font-weight:900;letter-spacing:.13em}
.post-footer button,.thread-controls button{border:0;background:none;color:inherit;padding:0;font-size:inherit;letter-spacing:inherit;font-weight:900;cursor:pointer}
.post-footer button:hover,.post-footer a:hover{color:#e74f47}
.large-post{font-size:18px}
.toolbar-flex{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:26px}
.quick-filter{display:flex;align-items:stretch;gap:8px;max-width:600px;flex:1}
.quick-filter input{min-width:0;flex:1}
.search-wide{max-width:850px;margin-bottom:40px}
.form-row{display:block;margin:0 0 22px;color:#a9a9a9}
.form-row>span{display:block;margin-bottom:9px}
.form-row input,.form-row textarea,.form-row select{display:block;width:100%;margin-top:0}
.form-panel{padding:30px;border:1px solid #33373a;background:#121315}
.form-panel>h2,.content-section>h2{font:900 33px/1.1 var(--head);margin:0 0 22px;text-transform:uppercase}
.max-form{max-width:800px;margin-left:auto;margin-right:auto}
.max-readable{max-width:850px;margin-left:auto;margin-right:auto}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.form-feedback{font-size:13px;line-height:1.5;margin:18px 0 0;min-height:16px}
.form-feedback.error,.note.error{color:#ff928c}
.form-feedback.success{color:#9ed5a1}
button:disabled{opacity:.5;cursor:not-allowed}
.inline-form{margin-top:27px;padding:24px;border:1px solid #303236;background:#101113}
.content-section{padding:32px 0;border-top:1px solid #363638;margin-bottom:30px}
.content-section h3{font-size:18px;letter-spacing:.09em}
.long-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:15px;color:#d5d6d7}
.spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#323435;border:1px solid #343434;margin:30px 0}
.spec-grid>div{padding:17px;background:#131415}
.spec-grid small{display:block;color:#939396;font-size:10px;font-weight:900;letter-spacing:.13em}
.spec-grid strong{display:block;margin-top:7px;font-size:15px;overflow-wrap:anywhere}
.mod-entry{padding:17px 0;border-bottom:1px solid #323434;display:grid;grid-template-columns:170px 1fr;gap:10px}
.mod-entry span{font-size:10px;font-weight:900;color:#cf4b45;letter-spacing:.14em}
.mod-entry strong{font-size:15px}.mod-entry p{grid-column:2;white-space:pre-wrap;margin:0;color:#999}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.media-grid img{width:100%;height:180px;object-fit:cover;background:#282828}
.journal-entry{padding:24px 0;border-bottom:1px solid #292b2d}
.journal-entry p{white-space:pre-wrap;line-height:1.8}
.journal-entry img{max-height:450px;object-fit:contain;max-width:100%}
.vehicle-hero{position:relative;min-height:580px;display:flex;align-items:flex-end;background:#141414;overflow:hidden}
.vehicle-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.38)}
.vehicle-hero:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#070707 0%,transparent 78%)}
.vehicle-hero>.shell{position:relative;z-index:2;width:100%;padding-top:120px;padding-bottom:70px}
.vehicle-hero .display{font-size:clamp(49px,8vw,118px);max-width:1100px;overflow-wrap:anywhere;line-height:.96}
.vehicle-hero p{letter-spacing:.12em;font-size:12px;font-weight:800;margin-top:22px}
.forum-top{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #343434;margin-bottom:26px;flex-wrap:wrap}
.forum-top img{max-width:120px;max-height:80px}
.forum-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:65px}
.forum-category{display:block;border:1px solid #343638;padding:22px;background:#111214;transition:border .2s,transform .2s}
.forum-category:hover{border-color:#b54841;transform:translateY(-3px)}
.forum-category strong{font-size:12px;font-weight:900;letter-spacing:.12em}
.forum-category p{font-size:12px;color:#a5a6a8;line-height:1.55;min-height:42px}
.forum-category span{font-size:9px;letter-spacing:.13em;color:#dc615a;font-weight:900}
.topic-row{border-bottom:1px solid #343435;padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topic-row>div{min-width:0}.topic-row>div strong,.topic-row>strong{font-size:17px;display:block;margin:6px 0}.topic-row>span{font-size:11px;color:#a1a1a1;text-align:right;white-space:nowrap}.topic-row p{font-size:12px;color:#999;margin:5px 0}
.forum-private-hero{display:flex;align-items:center;gap:50px}.forum-private-hero>img{width:200px;object-fit:contain}
.thread-op{background:#121314;border:1px solid #313234;padding:32px}.thread-op h2{font:900 clamp(29px,4vw,48px)/1.05 var(--head)}
.thread-controls{display:flex;gap:24px;color:#d6a3a3;font-size:11px;letter-spacing:.1em;margin-top:30px}
.block-heading{font:900 34px var(--head);margin:40px 0 12px}
.comment{border-bottom:1px solid #353638;padding:22px 6px}.comment strong{font-size:13px;color:#eee}.comment small{margin-left:15px;font-size:10px;color:#888}.comment p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}
.member-cover{min-height:445px;display:flex;align-items:flex-end;position:relative;background:#181818}
.member-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.3)}
.member-cover:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#080808,transparent 75%);z-index:1}
.member-cover>.shell{position:relative;z-index:2;width:100%;padding-bottom:38px}
.member-info{display:flex;gap:30px;align-items:flex-end}
.member-info h1{margin:13px 0 8px}.member-info p{font-size:12px;letter-spacing:.1em;color:#ccc}
.member-avatar{width:115px;height:115px;object-fit:cover;border:4px solid #151515;border-radius:50%}
.profile-actions{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-bottom:30px;margin-bottom:45px;border-bottom:1px solid #353535}
.profile-actions .long-body{max-width:750px}
.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.member-tile{display:flex;align-items:center;gap:20px;min-width:0;padding:22px;background:#141516;border:1px solid #323436}
.member-tile:hover{border-color:#777}.member-tile img{width:72px;height:72px;object-fit:cover;border-radius:50%;background:#252525}
.member-tile>div{min-width:0}.member-tile h3{font:900 26px/1.1 var(--head);margin:6px 0}.member-tile p{font-size:11px;color:#aaa;overflow-wrap:anywhere}
.admin-stats{margin-bottom:45px}.admin-row{padding:17px 0;border-bottom:1px solid #333;display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}.admin-row p{color:#a7a7a7;font-size:12px;overflow-wrap:anywhere}.admin-row strong{overflow-wrap:anywhere}
.section-gap{margin-top:70px}.space-t{margin-top:30px}.auth-switch{display:flex;flex-wrap:wrap;gap:17px;margin-top:30px;font-size:11px;letter-spacing:.07em;color:#a1a1a1}.auth-switch a:hover{color:white}
.auth-art>img{width:100%;height:100%;object-fit:cover}.auth-art{position:relative;overflow:hidden}.auth-art>div{position:absolute;left:55px;bottom:70px;z-index:1}.auth-art>div h2{font:900 90px/1 var(--head);margin:20px 0}.auth-art:after{content:'';position:absolute;inset:0;background:#0007;pointer-events:none}
.auth-art>div{z-index:2}.auth-card{max-width:550px}.auth-card .form-row>span{font-size:11px}.auth-card .btn{margin-top:10px}
.search-mark:hover{color:#f46359}.error{color:#f58b83}.notice-text{color:#a6a6a6}
.legacy-photos img{cursor:default}.legacy-photos .legacy-photo{height:370px}.legacy-photos .legacy-photo img{height:100%}
.club-card-grid:empty,.member-grid:empty{display:none}
@media(max-width:1100px){.club-card-grid,.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.forum-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-art>div h2{font-size:65px}}
@media(max-width:700px){.page-content{padding-top:26px;padding-bottom:70px}.club-card-grid,.member-grid{grid-template-columns:1fr}.club-card>img{height:230px}.forum-categories{grid-template-columns:1fr}.forum-category p{min-height:0}.forum-private-hero{display:block}.forum-private-hero>img{max-width:130px;margin:0 auto 25px}.form-grid{grid-template-columns:1fr}.quick-filter{max-width:100%;flex-basis:100%}.quick-filter .btn{padding:12px;gap:8px;font-size:9px}.form-panel{padding:20px}.social-post{padding:18px}.post-footer{gap:13px}.post-text{font-size:14px}.vehicle-hero{min-height:490px}.vehicle-hero>.shell{padding-bottom:45px}.vehicle-hero .display{font-size:clamp(41px,11vw,66px)}.spec-grid{grid-template-columns:1fr 1fr}.spec-grid>div{padding:13px}.spec-grid strong{font-size:12px}.mod-entry{grid-template-columns:1fr}.mod-entry p{grid-column:1}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.media-grid img{height:130px}.member-info{align-items:flex-start;gap:17px}.member-avatar{width:74px;height:74px}.member-cover{min-height:330px}.member-info h1{font-size:39px}.member-info p{font-size:10px}.profile-actions{display:block}.profile-actions>.btn{margin-top:22px}.topic-row>span{white-space:normal;max-width:90px}.thread-op{padding:20px}.auth-art>div h2{font-size:45px}.legacy-photos .legacy-photo{height:220px}.page-hero .page-title{overflow-wrap:anywhere}.admin-row{align-items:start}.header-actions .search-mark{display:none}}
@media(max-width:370px){.spec-grid{grid-template-columns:1fr}.media-grid{grid-template-columns:1fr}.search-wide{display:block}.search-wide button{width:100%;margin-top:8px}.member-avatar{width:58px;height:58px}.member-info h1{font-size:32px}}
