/* Плоская тёмная тема: без свечений, градиентов, теней и анимаций */
:root{color-scheme:dark}
*,*::before,*::after{text-shadow:none!important;box-shadow:none!important;animation:none!important}
body,.site-header,.site-footer,.panel,.hero,.ticker,.stat-strip,.thread,.btn,.btn-red,.btn-outline{background-image:none!important}
body{background:#0b0b0d!important}
.hero{min-height:0!important;padding:56px 0 36px!important}
.hero-grid{grid-template-columns:1fr!important}
.hero-copy{max-width:720px}
.hero-art,.hero-ring,.aurora,.noise,.ticker{display:none!important}
.panel,.thread,.stat-strip>div{border-radius:6px!important}
.panel:hover,.thread:hover,.btn:hover{transform:none!important}
.hero-copy h1{text-shadow:none!important}
.eyebrow.red-line::before,.red-line::before{display:none!important}
*,*::before,*::after{clip-path:none!important}
.footer::before,.footer::after,.profile-watermark,.site-header::after{display:none!important}
.hero-copy h1{font-size:clamp(40px,6vw,72px)!important}
.hero-copy{padding:0}
.panel,.thread,.cat-card{background:#111114!important;border:1px solid #1e1e22!important}
.panel-head,.panel>h3:first-child,.side-title{background:none!important}
.btn,.btn-red,.btn-outline,.btn-small{border-radius:6px!important}
section.hero,.hero{min-height:0!important;height:auto!important;padding:40px 0 24px!important;display:block!important}
.hero-grid{min-height:0!important;display:block!important}
.stat-strip{margin-top:0!important}
.side-title,.panel>header,.panel .panel-title,.sidebar .panel>h3,.sidebar .panel>.head{background:#111114!important}
.page-decor,[class*="watermark"],[class*="decor"]{display:none!important}
/* шапка: поиск, сообщения, уведомления, ник + аватар */
.header-actions{gap:14px!important}
.header-search{position:relative;display:flex;align-items:center;width:230px;height:38px;background:#18181c;border:1px solid #232328;border-radius:8px;color:#8a8a93}
.header-search svg{position:absolute;left:12px;pointer-events:none}
.header-search input{width:100%;height:100%;background:none;border:0;outline:0;padding:0 12px 0 36px;color:#e8e8ec;font:14px var(--f-b,inherit)}
.header-search input::placeholder{color:#8a8a93}
.header-search:focus-within{border-color:#3a3a42}
.hdr-icon,.noti-link{width:34px!important;height:34px!important;border:0!important;background:none!important;color:#9a9aa3;display:grid;place-items:center;position:relative}
.hdr-icon:hover,.noti-link:hover{color:#fff}
.noti-link b{top:-2px!important;right:-4px!important;border-radius:9px}
.header-user{display:flex;align-items:center;gap:10px;text-transform:none!important;letter-spacing:0!important}
.hdr-name{font:700 14px var(--f-b,inherit);color:#fff}
@media(max-width:1200px){.header-search{width:44px}.header-search input{padding-left:0;cursor:pointer}.header-search input::placeholder{color:transparent}.header-search:focus-within{width:200px}}
@media(max-width:860px){.hdr-name{display:none}}
.header-user .av{display:inline-grid!important;--s:34px}
.header-user .hdr-name{display:inline!important}
@media(max-width:860px){.header-user .hdr-name{display:none!important}}

/* ---------- иконки ---------- */
.ic{flex:none;display:inline-block;vertical-align:middle}
.list-heading h2::before,.widget-head span:first-child::before{display:none!important}
.widget-head{letter-spacing:.08em!important}

/* ---------- главная: левая панель + лента + виджеты ---------- */
.home-main{padding-top:24px}
.home-grid{display:grid;grid-template-columns:232px minmax(0,1fr) 300px;gap:20px;align-items:start}
.forum-nav{background:#101013;border:1px solid #1e1e22;border-radius:10px;padding:12px;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}
.fn-create{display:flex!important;justify-content:center;width:100%;height:38px;padding:0!important;margin-bottom:10px;font-size:14px!important;letter-spacing:.02em!important;text-transform:none!important}
.fn-search input{width:100%;height:36px;background:#18181c;border:1px solid #232328;border-radius:8px;padding:0 12px;color:#e8e8ec;font:14px var(--f-b,inherit);outline:0;margin-bottom:10px}
.fn-search input:focus{border-color:#3a3a42}
.fn-list a,.fn-cat{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:8px;color:#b4b4bc;font:500 14px var(--f-b,inherit);letter-spacing:0;text-transform:none}
.fn-list a:hover,.fn-cat:hover,.fn-sub:hover{background:#17171b;color:#fff}
.fn-list a.active,.fn-cat.active,.fn-sub.active{background:#2a0d12;color:#ff4a5e}
.fn-list .ic,.fn-cat .ic{color:#8a8a93}
.fn-list a.active .ic,.fn-cat.active .ic{color:#ff4a5e}
.fn-title{margin:14px 10px 6px;font:600 12px var(--f-b,inherit);color:#6f6f78;letter-spacing:.04em;text-transform:none}
.fn-sub{display:block;padding:7px 10px 7px 38px;border-radius:8px;color:#9a9aa3;font:14px/1.3 var(--f-b,inherit);letter-spacing:0;text-transform:none}
.feed-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 10px}
.feed-head h2{display:flex;align-items:center;gap:8px;margin:0;font:600 20px var(--f-b,inherit);letter-spacing:0;text-transform:none;background:none!important;-webkit-text-fill-color:#fff!important;color:#fff}
.feed-head h2 small{font:500 13px var(--f-b,inherit);color:#6f6f78;-webkit-text-fill-color:#6f6f78}
.feed-head .muted{font-size:12px;text-align:right}
.pinned-list{margin-bottom:26px}
.thread.is-pinned{border-color:#4a1a21!important;background:#14090b!important}
.sort-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.sort-tabs a{padding:7px 13px;border-radius:8px;background:#131317;border:1px solid #1e1e22;color:#a6a6af;font:500 13px var(--f-b,inherit);letter-spacing:0;text-transform:none}
.sort-tabs a:hover{color:#fff}
.sort-tabs a.active{background:#2a0d12;border-color:#4a1a21;color:#ff4a5e}
.home-feed .thread{grid-template-columns:44px minmax(0,1fr) 64px 64px 64px 130px;gap:12px;padding:12px 14px}
.home-feed .thread-num{font-size:17px}
.thread-last b{display:block;color:#e8e8ec;font:600 13px var(--f-b,inherit);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-feed .thread-title{font-size:15px}
.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.pick-card{padding:14px;display:grid;gap:4px}
.pick-head{display:flex;align-items:center;gap:10px;font:600 15px var(--f-b,inherit);margin-bottom:6px;color:#fff}
.pick-card a:not(.pick-head){padding:6px 8px 6px 28px;color:#a6a6af;border-radius:6px}
.pick-card a:not(.pick-head):hover{background:#17171b;color:#fff}
.pin-form p{margin:0 0 12px}
@media(max-width:1280px){.home-grid{grid-template-columns:220px minmax(0,1fr)}.home-grid .sidebar{grid-column:1/-1}}
@media(max-width:860px){.home-grid{grid-template-columns:1fr}.forum-nav{position:static;max-height:none}.home-feed .thread{grid-template-columns:40px minmax(0,1fr) 56px}.home-feed .thread-likes,.home-feed .thread-views,.home-feed .thread-last{display:none}}
.home-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:22px}
.home-block{padding:14px 16px}
.home-block h3{margin:0 0 6px;font:600 15px var(--f-b,inherit);letter-spacing:0;text-transform:none}
.home-block p{margin:0 0 8px;font-size:13px}

/* ---------- выравнивание текста и форм ---------- */
.narrow-form{max-width:860px}
.thread-meta{font:12px var(--f-b,inherit)!important;letter-spacing:0!important;color:#7c7c86}
.thread-num small,.thread-last small{font:11px var(--f-b,inherit)!important;letter-spacing:.02em!important;text-transform:none}
.widget-head{background:none!important;border-bottom:1px solid #1e1e22}
.widget{background:#101013!important;border:1px solid #1e1e22!important;border-radius:10px}
.forum-nav{position:static!important;max-height:none!important}
.emoji-btn{display:grid;place-items:center;color:#a6a6af;border-radius:8px!important;background:#18181c!important;border-color:#232328!important}
.emoji-btn:hover{color:#fff}
.eyebrow,.breadcrumbs{font-family:var(--f-b,inherit)!important;letter-spacing:.08em}
.footer-links>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 28px;align-content:start}
.footer-links>div:last-child strong{grid-column:1/-1}
.page-hero h1{margin-bottom:8px}
.page-hero p{max-width:640px}
.footer-links>div{display:grid;gap:4px 28px;align-content:start}
.footer-links>div>a{padding:3px 0}
