
.community-page{min-height:calc(100vh - 160px);padding:34px 0 70px;background:linear-gradient(180deg,rgba(1,10,18,.7),rgba(1,8,14,.94))}
.community-shell{width:min(1296px,calc(100% - 36px));margin:0 auto}
.community-hero{display:flex;justify-content:space-between;gap:30px;align-items:end;padding:28px 30px;margin-bottom:18px;border:1px solid rgba(214,164,77,.28);background:linear-gradient(180deg,rgba(6,24,37,.92),rgba(3,16,27,.94))}
.community-kicker{margin:0 0 7px;color:#d6a44d;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.community-hero h1{margin:0;color:#ffe3a0;font:700 clamp(32px,4vw,48px)/1.05 "Cormorant Garamond",serif}
.community-hero p{max-width:720px;margin:9px 0 0;color:#9fb0bc;line-height:1.6}
.community-count{color:#dac17e;font-size:13px;white-space:nowrap}
.user-search{display:flex;gap:10px;margin:0 0 18px}.user-search input{flex:1;min-height:46px;padding:0 14px;border:1px solid rgba(214,164,77,.25);background:#041521;color:#eef2f4;outline:0}.user-search input:focus{border-color:#d6a44d}.user-search button{padding:0 18px;border:1px solid #d6a44d;background:rgba(214,164,77,.08);color:#ffe1a0}
.users-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.user-card{display:grid;justify-items:center;gap:8px;padding:22px 18px;border:1px solid rgba(214,164,77,.24);background:linear-gradient(180deg,rgba(6,23,35,.92),rgba(3,15,25,.95));text-align:center}.user-card img{width:108px;height:108px;border-radius:50%;object-fit:cover;border:2px solid rgba(214,164,77,.62);box-shadow:0 0 22px rgba(214,164,77,.08)}.user-card h2{margin:6px 0 0;color:#f4dfad;font-size:18px}.user-game{color:#c9d1d7;font-size:13px}.user-server{display:inline-block;padding:5px 9px;border:1px solid rgba(214,164,77,.28);color:#d9b762;font-size:11px;text-transform:uppercase}.user-about{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0;color:#8799a7;font-size:12px;line-height:1.55}
.profile-layout{display:grid;grid-template-columns:330px 1fr;gap:18px}.profile-card,.profile-about,.profile-edit{border:1px solid rgba(214,164,77,.25);background:linear-gradient(180deg,rgba(6,23,35,.94),rgba(3,15,25,.96))}.profile-card{padding:28px;text-align:center}.profile-avatar{width:190px;height:190px;border-radius:50%;object-fit:cover;border:2px solid #d6a44d;box-shadow:0 0 30px rgba(214,164,77,.12)}.profile-card h2{margin:16px 0 4px;color:#ffe3a0;font:700 30px/1 "Cormorant Garamond",serif}.profile-card dl{display:grid;gap:10px;margin:20px 0 0;text-align:left}.profile-card dl div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(214,164,77,.12);padding-bottom:8px}.profile-card dt{color:#8193a1}.profile-card dd{margin:0;color:#d9c38e;text-align:right}.profile-main{display:grid;gap:18px}.profile-about,.profile-edit{padding:26px}.profile-about h2,.profile-edit h2{margin:0 0 14px;color:#f1d697;font:700 28px/1.1 "Cormorant Garamond",serif}.profile-about p{margin:0;white-space:pre-wrap;color:#b0bdc6;line-height:1.75}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.profile-form .wide{grid-column:1/-1}.profile-form label{display:grid;gap:7px;color:#d9c38e;font-size:12px}.profile-form input,.profile-form select,.profile-form textarea{padding:12px;border:1px solid rgba(214,164,77,.23);background:#03131f;color:#eef2f4;outline:0}.profile-form textarea{min-height:120px;resize:vertical}.profile-form button{min-height:46px;border:1px solid #d6a44d;background:rgba(214,164,77,.1);color:#ffe3a0;font-weight:700}.profile-avatar-edit{display:flex;align-items:center;gap:16px}.profile-avatar-edit img{width:76px;height:76px;border-radius:50%;object-fit:cover;border:1px solid #d6a44d}
.create-card{padding:28px;border:1px solid rgba(214,164,77,.25);background:linear-gradient(180deg,rgba(6,23,35,.94),rgba(3,15,25,.96))}.create-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.create-form .wide{grid-column:1/-1}.create-form label{display:grid;gap:7px;color:#d9c38e;font-size:12px;font-weight:600}.create-form input,.create-form select,.create-form textarea{padding:12px;border:1px solid rgba(214,164,77,.24);background:#03131f;color:#eef2f4;outline:0}.create-form textarea[name=content]{min-height:240px;resize:vertical}.create-submit{min-height:48px;border:1px solid #d6a44d;background:linear-gradient(180deg,rgba(214,164,77,.15),rgba(214,164,77,.05));color:#ffe3a0;font-weight:700;cursor:pointer}.form-status{color:#b7c2ca;font-size:13px}.form-status.error{color:#ef9d96}.demo-hint{padding:10px 12px;margin-bottom:16px;border-left:2px solid #d6a44d;background:rgba(214,164,77,.05);color:#9eacb8;font-size:12px;line-height:1.5}
@media(max-width:1050px){.users-grid{grid-template-columns:repeat(3,1fr)}.profile-layout{grid-template-columns:280px 1fr}}@media(max-width:780px){.users-grid{grid-template-columns:repeat(2,1fr)}.profile-layout{grid-template-columns:1fr}.profile-form,.create-form{grid-template-columns:1fr}.profile-form .wide,.create-form .wide{grid-column:auto}.community-hero{align-items:start;flex-direction:column}}@media(max-width:520px){.users-grid{grid-template-columns:1fr}.community-shell{width:calc(100% - 24px)}}


/* v39 — админские категории, закрепление и упрощённый каталог пользователей */
.user-card-simple{min-height:178px;align-content:center;gap:12px}
.user-card-simple img{width:112px;height:112px}
.user-card-simple h2{margin:0;color:#f4dfad;font:700 19px/1.25 "Golos Text",sans-serif;word-break:break-word}
.admin-category-panel{margin-bottom:18px;padding:24px 26px;border:1px solid rgba(214,164,77,.36);background:linear-gradient(180deg,rgba(12,31,42,.96),rgba(4,17,28,.97));box-shadow:0 12px 34px rgba(0,0,0,.22)}
.admin-panel-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:16px}.admin-panel-head h2{margin:0;color:#ffe3a0;font:700 30px/1.1 "Cormorant Garamond",serif}.admin-panel-head p:not(.community-kicker){margin:7px 0 0;color:#94a5b1;font-size:13px}.admin-badge{padding:6px 10px;border:1px solid #d6a44d;color:#ffe3a0;font-size:10px;font-weight:800;letter-spacing:.16em}
.category-add-form{display:grid;grid-template-columns:1fr auto;gap:10px}.category-add-form input{min-height:44px;padding:0 13px;border:1px solid rgba(214,164,77,.25);background:#03131f;color:#eef2f4;outline:0}.category-add-form input:focus{border-color:#d6a44d}.category-add-form button,.category-admin-row button{border:1px solid #d6a44d;background:rgba(214,164,77,.08);color:#ffe3a0;cursor:pointer}.category-add-form button{padding:0 18px}.category-admin-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.category-admin-row{display:flex;align-items:center;gap:8px;padding:6px 7px 6px 11px;border:1px solid rgba(214,164,77,.2);background:rgba(3,18,29,.82);color:#d9c38e;font-size:12px}.category-admin-row button{padding:4px 8px;border-color:rgba(214,164,77,.24);color:#bd9d5c;font-size:10px}.admin-pin-create{padding:10px 12px;border:1px solid rgba(214,164,77,.2);background:rgba(214,164,77,.04)}.admin-pin-create span{display:flex;align-items:center;gap:9px}.admin-pin-create input{width:16px;height:16px;padding:0}
.forum-empty{display:grid;place-items:center;gap:7px;min-height:270px;padding:38px;border:1px solid rgba(214,164,77,.2);background:linear-gradient(180deg,rgba(5,21,33,.82),rgba(3,14,24,.9));text-align:center}.forum-empty>span{color:#d6a44d;font-size:25px}.forum-empty h2{margin:0;color:#efd79d;font:700 28px/1.1 "Cormorant Garamond",serif}.forum-empty p{margin:0;color:#8193a0}
.post-pinned{border-color:rgba(232,188,104,.62)!important;box-shadow:inset 3px 0 0 rgba(232,188,104,.75),0 8px 28px rgba(0,0,0,.12)}.post-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pinned-badge{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid rgba(232,188,104,.55);background:rgba(214,164,77,.09);color:#f4cf79;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.admin-pin-button{padding:7px 10px;border:1px solid rgba(214,164,77,.35);background:rgba(214,164,77,.06);color:#e4c67c;font-size:11px;cursor:pointer}.admin-pin-button:hover{border-color:#d6a44d;color:#ffe4a1}.admin-pin-button:disabled{opacity:.5}
@media(max-width:620px){.category-add-form{grid-template-columns:1fr}.category-add-form button{min-height:42px}.admin-panel-head{flex-direction:column}}


/* v40 — автоматическая обложка и изображения внутри записи */
.auto-cover-info{display:grid;gap:4px;padding:14px 16px;border:1px solid rgba(214,164,77,.24);background:rgba(214,164,77,.055);color:#aeb8c1}.auto-cover-info strong{color:#f1d48f;font-size:13px}.auto-cover-info span{font-size:12px;line-height:1.5}.create-form label small{color:#8e9ca8;font-size:11px;line-height:1.5}.post-image-previews{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.post-image-preview{min-width:0;padding:6px;border:1px solid rgba(214,164,77,.18);background:#02101a}.post-image-preview img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.post-image-preview span{display:block;overflow:hidden;margin-top:5px;color:#82919e;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.post-back{display:inline-flex;margin:0 0 16px;color:#d6a44d;text-decoration:none}.post-view{padding:30px;border:1px solid rgba(214,164,77,.26);background:linear-gradient(180deg,rgba(6,23,35,.96),rgba(3,15,25,.98));box-shadow:0 18px 45px rgba(0,0,0,.22)}.post-view-head{padding-bottom:22px;border-bottom:1px solid rgba(214,164,77,.18)}.post-view-tags{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.post-view h1{margin:14px 0 10px;color:#f7e2b1;font-family:"Cormorant Garamond",serif;font-size:clamp(32px,4vw,52px);line-height:1.05}.post-view-excerpt{max-width:850px;margin:0;color:#a9b5bf;font-size:15px;line-height:1.7}.post-view-author{display:flex;align-items:center;gap:10px;margin-top:18px}.post-view-author img{width:46px;height:46px;border:1px solid rgba(214,164,77,.44);border-radius:50%;object-fit:cover}.post-view-author div{display:grid}.post-view-author strong{color:#e8d6ae}.post-view-author span{margin-top:3px;color:#7f8e9a;font-size:11px}.post-view-content{padding:26px 0;color:#d7dfe4;font-size:16px;line-height:1.85}.post-gallery{padding-top:8px}.post-gallery h2{margin:0 0 16px;color:#e9ca80;font-family:"Cormorant Garamond",serif;font-size:28px}.post-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.post-gallery figure{margin:0;padding:7px;border:1px solid rgba(214,164,77,.22);background:#020e17}.post-gallery img{display:block;width:100%;max-height:620px;object-fit:contain;background:#01070c}.post-gallery figcaption{padding:7px 2px 1px;color:#778793;font-size:10px}@media(max-width:900px){.post-image-previews{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.post-gallery-grid{grid-template-columns:1fr}.post-view{padding:20px}.post-image-previews{grid-template-columns:repeat(2,1fr)}}


/* 0.0.15 final — каталог пользователей: до 6 карточек в одну линию */
.users-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.user-card-simple{padding:18px 10px;min-width:0}
.user-card-simple img{width:96px;height:96px}
.user-card-simple h2{font-size:16px;max-width:100%;overflow-wrap:anywhere}
@media(max-width:1280px){.users-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1080px){.users-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.users-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.users-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.users-grid{grid-template-columns:1fr}}
