:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#eef3ef;background:#090d0b;--bg:#090d0b;--panel:#101713;--raised:#151d18;--line:#27352c;--muted:#9caea1;--green:#36dc80;--ink:#06190e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -25%,#1b3827 0,transparent 48%),#090d0b}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #82eaa9;outline-offset:3px}button:disabled{cursor:wait;opacity:.65}.boot,.auth-wrap{min-height:100vh;display:grid;place-content:center;justify-items:center;text-align:center;color:var(--muted);padding:24px}.boot-icon,.logo-symbol{display:grid;place-items:center;background:#c3f2ae;color:#164425;font-size:25px;font-weight:850;width:42px;height:42px;border-radius:13px}.boot-icon{animation:breathe 1.5s infinite alternate}@keyframes breathe{to{transform:scale(1.12);opacity:.65}}.app{max-width:1530px;margin:auto;display:grid;grid-template-columns:245px minmax(0,710px) minmax(240px,300px);gap:30px;padding:0 34px}.left{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:34px 10px 24px 0}.logo{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:800;letter-spacing:-1.2px;margin-bottom:48px;padding-left:10px}.logo .logo-symbol{width:38px;height:38px;font-size:23px}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:14px;border:0;background:transparent;color:#a5b5a9;padding:0 14px;min-height:49px;border-radius:11px;font-weight:650;text-align:left;transition:background .2s,color .2s,transform .2s}.nav button:hover{background:#19241c;color:#f1fbf4;transform:translateX(2px)}.nav button.active{background:#1b3022;color:#aaf2c0}.nav svg,.nav-mobile svg,.post-actions svg,.icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-create{margin-top:24px;background:var(--green);border:0;border-radius:11px;color:#082014;min-height:48px;font-weight:800;transition:transform .18s,background .18s}.nav-create:hover,.primary:hover{background:#72eda0;transform:translateY(-2px)}.account{margin-top:auto;border-top:1px solid var(--line);padding:18px 4px 0;display:flex;gap:11px;align-items:center}.account-name{font-size:14px;font-weight:700}.account-handle{font-size:13px;color:var(--muted);margin-top:3px}.logout{margin-left:auto;background:transparent;border:0;color:#b0beb3;padding:8px;border-radius:8px}.logout:hover{background:#1a2920;color:#fff}.main{min-width:0;min-height:100vh;padding:34px 0 80px}.topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.topline h1{font-size:26px;letter-spacing:-.04em;margin:0}.topline p{font-size:14px;color:var(--muted);margin:5px 0 0}.top-badge{font-size:12px;color:#a2d7b3;border:1px solid #284e36;border-radius:100px;padding:8px 12px;background:#102319}.pulse-dot{display:inline-block;width:7px;height:7px;background:#4cde84;border-radius:50%;margin-right:6px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:18px}.tab{position:relative;padding:14px 17px;background:none;border:0;color:#9cac9f;font-size:14px;font-weight:650}.tab:hover{color:white}.tab.active{color:#a0f0ba}.tab.active:after{content:'';position:absolute;left:15px;right:15px;bottom:-1px;height:3px;background:var(--green);border-radius:4px}.composer-mini{display:flex;gap:13px;align-items:center;background:linear-gradient(120deg,#17251b,#111b15);border:1px solid #2b4031;border-radius:16px;padding:15px;margin-bottom:22px}.composer-trigger{border:0;background:none;color:#b1bfb3;text-align:left;flex:1;min-height:42px}.composer-trigger:hover{color:white}.primary{border:0;border-radius:10px;background:var(--green);color:#072016;min-height:44px;padding:10px 17px;font-size:14px;font-weight:800;transition:transform .18s,background .18s}.right{position:sticky;top:0;align-self:start;padding-top:34px}.search{height:46px;width:100%;border:1px solid var(--line);border-radius:11px;background:#111915;color:#f4f8f4;padding:0 15px}.search::placeholder{color:#91a196}.sidebox{border:1px solid var(--line);background:#101713;border-radius:16px;margin-top:18px;padding:20px}.sidebox h2{font-size:15px;margin:0 0 10px}.sidebox p{font-size:13px;color:var(--muted);line-height:1.65;margin:0}.side-title{font-size:12px;letter-spacing:.11em;text-transform:uppercase;color:#8eb39a;margin-bottom:12px}.topic{border-top:1px solid #27352c;padding:13px 0 0;margin-top:13px;color:#d5e8d9;font-size:14px}.topic small{display:block;color:#91a196;margin-top:3px}.status{color:#9caea1;font-size:12px;line-height:1.5;margin:20px 3px}.section-line{display:flex;align-items:center;justify-content:space-between;margin:24px 2px 14px}.section-line h2{font-size:15px;margin:0}.section-line span{font-size:12px;color:#93a699}.card{background:linear-gradient(145deg,#121a15,#101612);border:1px solid #27372c;border-radius:16px;padding:19px;margin-bottom:13px;transition:border-color .2s,box-shadow .2s}.card:hover{border-color:#395340;box-shadow:0 8px 24px #0003}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.post-head{display:flex;align-items:center;gap:12px}.avatar{width:43px;height:43px;flex:none;border-radius:14px;display:grid;place-items:center;background:#294334;color:#c9ffdb;font-weight:800;font-size:14px}.user-btn{padding:0;border:0;background:none;color:#f2f7f3;font-weight:750;text-align:left}.user-btn:hover{color:#91edac}.post-meta{font-size:13px;color:#9eafa2;margin-top:4px}.post-top-right{margin-left:auto;color:#9caea1;font-size:12px}.tag{display:inline-block;color:#9ce6b0;background:#1b3927;border-radius:7px;padding:4px 9px;font-size:12px}.body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px;color:#e2eae4;margin:16px 0}.post-image{display:block;width:100%;max-height:470px;object-fit:contain;background:#0a0d0b;border:1px solid #28332c;border-radius:11px}.post-actions{display:flex;align-items:center;gap:5px;border-top:1px solid #26332a;margin-top:16px;padding-top:9px}.act{display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:#a3b3a7;min-height:40px;padding:7px 11px;border-radius:9px;font-size:13px;transition:color .18s,background .18s,transform .18s}.act:hover{background:#253229;color:#e8f9ed}.act.liked{color:#ff7e96}.act.liked svg{fill:#ff6d87;stroke:#ff6d87}.act.pop svg{animation:heart .35s ease}@keyframes heart{0%{transform:scale(1)}45%{transform:scale(1.45)}100%{transform:scale(1)}}.act.delete{margin-left:auto}.comments{border-top:1px solid #29362d;padding-top:12px;margin-top:6px}.comment{display:flex;gap:10px;margin:13px 0}.comment .avatar{width:32px;height:32px;border-radius:10px;font-size:11px}.comment-content{flex:1;min-width:0}.comment-text{font-size:14px;line-height:1.5;color:#dbe6dd;overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0}.comment-form{display:flex;gap:9px;align-items:center}.comment-form .field{margin:0;min-width:0;flex:1}.empty{padding:38px 20px;border:1px dashed #34473a;border-radius:16px;text-align:center;line-height:1.6;color:#a6b9ab;background:#111813}.profile-cover{height:160px;border:1px solid #375641;border-radius:16px;background:radial-gradient(ellipse at 75% 0%,#557d43 0,transparent 50%),linear-gradient(120deg,#1a4430,#26382a)}.profile-box{padding:0 8px 14px}.profile-box .avatar{width:80px;height:80px;border:5px solid #090d0b;border-radius:23px;margin-top:-40px;position:relative;font-size:24px}.profile-box h1{margin:12px 0 4px;font-size:25px;letter-spacing:-.03em}.profile-box p{font-size:14px;line-height:1.6;color:#c3d0c5}.row{display:flex;gap:12px;align-items:center}.grow{flex:1;min-width:0}.quiet{border:1px solid #3a5040;background:#19241c;color:#d9ebde;border-radius:10px;padding:10px 14px;min-height:42px}.quiet:hover{background:#23382a}.overlay{position:fixed;inset:0;z-index:10;background:#020604d9;display:grid;place-items:center;padding:20px;animation:fade .18s ease}.modal{width:min(100%,520px);max-height:90vh;overflow:auto;background:#121a15;border:1px solid #34473a;border-radius:18px;padding:22px;box-shadow:0 24px 90px #000b;animation:appear .2s ease}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modal h2{font-size:20px;margin:0}.close{width:42px;height:42px;border:0;background:none;color:#d9e5dc;font-size:25px;border-radius:10px}.close:hover{background:#28352b}.field{width:100%;background:#19231c;border:1px solid #35483a;border-radius:10px;padding:12px;color:#f4faf5;min-height:45px;margin:8px 0}.field::placeholder{color:#9eada1}.modal textarea{min-height:140px;resize:vertical}.label{display:block;color:#b9cbbd;font-size:13px;margin-top:14px}.preview{max-width:100%;max-height:180px;border-radius:10px;margin:8px 0}.hint{color:#a3b6a7;font-size:12px;line-height:1.55}.error{background:#402024;border:1px solid #75373d;color:#ffcbcf;border-radius:10px;padding:12px;font-size:14px;line-height:1.5;margin:14px 0}.toast{position:fixed;bottom:25px;right:25px;z-index:12;border:1px solid #527c5c;background:#203a29;color:#effff3;border-radius:12px;padding:12px 16px;font-size:14px;max-width:350px;box-shadow:0 8px 28px #0006}.auth{width:min(100%,430px)}.auth .logo-symbol{margin:0 auto 25px;width:56px;height:56px;font-size:30px}.auth h1{font-size:26px;margin:0;color:#f2f7f3}.auth p{color:#a5b6a8;line-height:1.6}.auth-card{margin-top:24px;padding:22px;background:#111814;border:1px solid #2b3a2f;border-radius:17px;display:grid;gap:12px}.oauth{height:48px;border-radius:10px;font-weight:750;border:1px solid #3b4b40;background:#202a23;color:white}.oauth.google{background:#fff;color:#252b27}.oauth.discord{background:#5865f2;border-color:#5865f2}.oauth:hover{filter:brightness(1.13)}.nav-mobile{display:none}@keyframes fade{from{opacity:0}to{opacity:1}}@media(max-width:1120px){.app{grid-template-columns:205px minmax(0,710px);max-width:1000px;gap:24px}.right{display:none}}@media(max-width:660px){.app{display:block;padding:0 14px}.left{display:none}.main{padding:24px 0 95px}.topline h1{font-size:23px}.nav-mobile{position:fixed;bottom:0;left:0;right:0;background:#101a14f5;backdrop-filter:blur(12px);border-top:1px solid #2c3c30;display:flex;justify-content:space-around;padding:8px 3px calc(8px + env(safe-area-inset-bottom));z-index:5}.nav-mobile button{background:none;border:0;color:#b0c0b4;min-width:48px;min-height:46px}.nav-mobile button.active{color:#61e99a}.nav-mobile .create{background:#36dc80;color:#061c0d;border-radius:12px}.card{padding:15px}.composer-mini .primary{padding:10px}.profile-cover{height:130px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.logout svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* ПК: компактная навигация у края, строго по центру высоты экрана. */
@media (min-width:661px){
 .app{max-width:1190px;grid-template-columns:minmax(0,710px) minmax(235px,300px);gap:28px;padding:0 24px 0 98px}
 .left{position:fixed;z-index:7;left:0;top:50%;transform:translateY(-50%);height:auto;width:76px;padding:14px 9px;display:flex;align-items:center;gap:10px;border:1px solid #324338;border-left:0;border-radius:0 25px 25px 0;background:#111a14f5;box-shadow:0 12px 42px #0008;backdrop-filter:blur(14px)}
 .logo{padding:0;margin:0 0 8px;line-height:1}.logo .logo-symbol{width:44px;height:44px;border-radius:14px}.logo-word,.nav-text,.nav-create-label{display:none}
 .nav{display:flex;flex-direction:column;gap:7px;align-items:center;width:100%}.nav button{display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border-radius:15px;transition:transform .18s ease,background .18s ease,color .18s ease}
 .nav button:hover{transform:scale(1.08);background:#23372a}.nav button.active{color:#082014;background:#43df83;box-shadow:0 0 22px #36dc8033}.nav button.active:hover{background:#72eda0}
 .nav-create{display:grid;place-items:center;width:48px;height:48px;min-height:48px;margin:3px 0 0;padding:0;border-radius:15px}.nav-create svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
 .account{width:48px;margin:2px 0 0;border-top:1px solid #2f4034;padding:10px 0 0;display:flex;justify-content:center}.account .avatar,.account .grow{display:none}.logout{margin:0;display:grid;place-items:center;width:44px;height:44px;padding:0}.logout:hover{transform:scale(1.06)}
 .main{min-width:0}.right{min-width:0}.card{transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.card:hover{transform:translateY(-2px)}
}
@media (min-width:661px) and (max-width:1000px){.app{grid-template-columns:minmax(0,710px);max-width:900px}.right{display:none}}
@media (min-width:661px) and (max-height:550px){.left{max-height:100dvh;overflow-y:auto;gap:3px;padding-top:8px;padding-bottom:8px}.logo{margin-bottom:2px}.nav{gap:2px}.account{padding-top:4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media (min-width:661px) and (max-width:1120px){.app{grid-template-columns:minmax(0,710px);max-width:900px}.right{display:none}}
/* Телефоны: отдельная округлая панель и один способ создать пост. */
@media(max-width:660px){
 .app{padding:0 16px}
 .main{padding:24px 0 calc(112px + env(safe-area-inset-bottom, 0px))}
 .composer-mini{display:none}
 .nav-mobile{left:50%;right:auto;bottom:max(14px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(360px,calc(100% - 32px));min-height:64px;padding:8px 12px;gap:4px;border:1px solid #364b3c;border-radius:24px;background:#152018f2;box-shadow:0 12px 36px #0009;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
 .nav-mobile button{display:grid;place-items:center;flex:1;min-width:44px;min-height:48px;border-radius:15px;transition:background .18s ease,color .18s ease,transform .18s ease}
 .nav-mobile button:active{transform:scale(.93)}
 .nav-mobile button.active{background:#213b2b;color:#9af6ba}
 .nav-mobile button.create{max-width:56px;background:#36dc80;color:#061c0d}
 .toast{bottom:calc(90px + env(safe-area-inset-bottom,0px));right:16px;left:auto;max-width:calc(100% - 32px)}
 .field,.search,.modal textarea{font-size:16px}
 .modal{padding:18px;max-height:calc(100dvh - 32px)}
 .overlay{padding:16px}
 .topline{gap:12px}.topline h1{line-height:1.15}.topline p{line-height:1.45}
 .post-head{min-width:0}.post-head .grow{min-width:0}.user-btn,.post-meta{overflow-wrap:anywhere}
 .profile-box .row{flex-wrap:wrap}.profile-box .grow{min-width:150px}
 .comment-form{gap:8px}.comment-form .primary{padding:10px 12px}
}
@media(max-width:360px){
 .app{padding:0 12px}.nav-mobile{width:calc(100% - 24px)}
 .tabs .tab{padding-left:11px;padding-right:11px}.card{padding:14px}
 .top-badge{padding:7px 9px}.tag{font-size:12px;padding:4px 7px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Изображения профиля, отметки и безопасная админ-панель. */
.avatar{overflow:hidden}.avatar-img{display:block;width:100%;height:100%;object-fit:cover}.profile-cover{overflow:hidden}.profile-cover-image{display:block;width:100%;height:100%;object-fit:cover}.verified-badge{display:inline-block;width:19px;height:19px;object-fit:contain;vertical-align:-4px;margin-left:5px;flex:none}.profile-box h1 .verified-badge{width:23px;height:23px;vertical-align:-4px}.inline-link{font:inherit;line-height:inherit;color:#80e9a6;display:inline;padding:0;background:transparent;border:0;cursor:pointer;vertical-align:baseline;overflow-wrap:anywhere}.inline-link:hover{text-decoration:underline;color:#b2f6c9}.inline-link:focus-visible{outline-offset:1px}.suggestions{border:1px solid #354f3d;background:#17231b;border-radius:12px;overflow:hidden;margin:0 0 8px}.suggestion{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:9px 12px;color:#e8f3eb;background:transparent;border:0;text-align:left}.suggestion:hover,.suggestion.selected{background:#294333}.suggestion small{font-size:12px;color:#a5bcaa}.mention-hint{margin:2px 0 0}.admin-intro{display:flex;gap:14px;align-items:flex-start;border:1px solid #304c37;border-radius:14px;background:#142218;padding:18px;margin-bottom:20px}.admin-intro p{margin:6px 0 0}.admin-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#1f432c;color:#91e9ac;flex:none}.admin-mark svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-search{margin-bottom:20px}.admin-row{display:flex;gap:12px;align-items:center}.verify-action{white-space:nowrap;font-size:13px}.verify-action.is-verified{border-color:#315c87;color:#a5d4ff;background:#183048}.nav-mobile button[data-nav="admin"]{min-width:44px}.left .nav button[data-nav="admin"]{flex:none}
@media(max-width:360px){.nav-mobile{padding-left:7px;padding-right:7px;gap:0}.nav-mobile button{min-width:44px}.verified-badge{width:17px;height:17px}}
@media(max-width:660px){#edit textarea{min-height:80px}#edit .label{margin-top:10px}#edit .field{margin:6px 0}}
/* Фирменный знак и мобильное меню с центральной кнопкой. */
.brand-icon{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}.logo-symbol,.boot-icon{overflow:hidden}
@media(max-width:660px){
 html,body{touch-action:manipulation}
 .nav-mobile{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));align-items:center;justify-items:center;gap:0}
 .nav-mobile button{width:100%;max-width:56px;min-width:44px}
 .nav-mobile [data-nav="feed"]{grid-column:1}.nav-mobile [data-nav="search"]{grid-column:2}
 .nav-mobile [data-compose]{grid-column:3}.nav-mobile [data-nav="profile"]{grid-column:4}
 .nav-mobile [data-nav="admin"]{grid-column:5}
}
@media(max-width:660px){.nav-mobile:not(.has-admin) [data-nav="profile"]{grid-column:4 / 6}}
/* Просмотры и экран выбора имени для новых пользователей. */
.view-stat{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:#a5b9a9;font-size:13px;min-height:40px;padding:7px 5px;white-space:nowrap}.view-stat svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.post-actions .act.delete{margin-left:0}
.welcome-wrap{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 8%,#173a26 0,transparent 48%),#090d0b}.welcome{width:min(100%,460px);border:1px solid #2d4032;border-radius:20px;background:#111b15;padding:32px;box-shadow:0 20px 70px #0007;animation:appear .28s ease both}.welcome-kicker{color:#a4e7b7;font-size:12px;font-weight:800;letter-spacing:.12em}.welcome-kicker span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#36dc80;margin-right:7px}.welcome h1{font-size:30px;line-height:1.15;letter-spacing:-.04em;margin:20px 0 10px}.welcome-desc{font-size:15px;line-height:1.6;color:#b0c1b3;margin:0 0 24px}.username-control{display:flex;align-items:center;gap:10px;margin:9px 0 8px;background:#19261d;border:1px solid #3a5240;border-radius:10px;padding:0 13px}.username-control:focus-within{border-color:#7ee8a4;box-shadow:0 0 0 3px #63db8d2b}.username-control span{font-weight:700;color:#9cbaa4;font-size:19px}.username-control input{min-width:0;flex:1;color:#f7fbf8;border:0;outline:0;background:transparent;min-height:50px;font-size:16px}.welcome-submit{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:23px;min-height:49px;padding:12px 16px}.welcome-foot{color:#94a79a;font-size:13px;line-height:1.5;margin:20px 0 0}.welcome form .error{margin:12px 0 0}
@media(max-width:660px){.nav-mobile{width:min(340px,calc(100% - 24px));min-height:62px;padding:7px 9px;border-radius:22px;box-shadow:0 12px 32px #000a}.nav-mobile button{min-height:46px}.nav-mobile button.create{max-width:50px;border-radius:14px}.main{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}.welcome-wrap{padding:16px}.welcome{padding:25px 21px;border-radius:18px}.welcome h1{font-size:27px}.view-stat{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Предотвращаем жесты масштабирования, но сохраняем обычную прокрутку. */
@media(max-width:660px){html,body{touch-action:pan-x pan-y}}

/* У пользователей без админки — четыре равные колонки; у админа остаются пять. */
@media (max-width:660px){
 .nav-mobile:not(.has-admin){grid-template-columns:repeat(4,minmax(0,1fr))}
 .nav-mobile:not(.has-admin) [data-nav="profile"]{grid-column:4}
}


/* Поиск и лента — по центру; простая нижняя строка без вымышленных ссылок. */
@media(min-width:661px){.app{display:block;width:min(710px,calc(100% - 200px));max-width:710px;padding:0}}
.center-column{min-height:100dvh;display:flex;flex-direction:column;min-width:0}
.center-search{position:relative;display:flex;align-items:center;gap:8px;padding-top:32px}
.center-search[hidden]{display:none}
.center-search-icon{position:absolute;left:15px;bottom:13px;width:20px;height:20px;color:#a5b9aa;pointer-events:none}
.center-search-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.center-search .search{padding-left:44px;min-width:0}
.search-submit{border:1px solid #385441;background:#1b3022;color:#c2f2d0;border-radius:10px;min-height:46px;padding:0 16px;font-weight:700}
.search-submit:hover{background:#254431}
.center-column .main{flex:1;min-height:0;padding:26px 0 32px}
.pear-footer{border-top:1px solid #27352c;padding:20px 0 28px;display:flex;flex-wrap:wrap;gap:8px 20px;color:#a5b8aa;font-size:13px;line-height:1.5}
@media(max-width:660px){.app{width:auto;max-width:none;padding:0 16px}.center-search{padding-top:20px}.center-column .main{padding:24px 0 32px}.pear-footer{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));font-size:13px}}

/* Рекомендации, статистика и осторожное удаление аккаунта. */
.recommendation{display:flex;gap:12px;align-items:center}.recommendation .grow{min-width:0}.recommendation .quiet{flex:none}
.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat-card{background:#111b15;border:1px solid #304236;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px}.stat-card span{color:#adc0b1;font-size:13px;line-height:1.35}.stat-card strong{font-size:24px;color:#ebfff0;line-height:1.15}.stats-note{grid-column:1/-1;color:#a5b8aa;font-size:13px;line-height:1.5;margin:3px 2px 0}
.danger-zone{margin-top:24px;padding-top:18px;border-top:1px solid #54413f}.danger-zone p,.delete-warning p{color:#c9b8b8;font-size:14px;line-height:1.5}.danger-button{background:#a92f36;border:1px solid #d7545b;color:#fff;border-radius:10px;min-height:44px;padding:10px 16px;font-weight:700}.danger-button:hover{background:#c63c44}.danger-button:disabled{opacity:.5}.delete-warning .danger-button{margin-top:12px}.delete-warning strong{color:#fff}
@media(max-width:660px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:14px}.recommendation .quiet{padding:10px}.danger-button{width:100%}}

/* Личные переписки Pear */
.profile-message{border-color:#3e6a4a;color:#c4f6d1}.profile-message:hover{background:#234332}
.chat-shell{height:min(690px,calc(100dvh - 230px));min-height:460px;border:1px solid #304237;border-radius:16px;background:#101713;overflow:hidden;display:grid;grid-template-columns:minmax(200px,255px) minmax(0,1fr);box-shadow:0 18px 45px #0003}
.chat-list-panel{border-right:1px solid #2a3b30;overflow:auto;background:#111a14}.chat-list-head{display:flex;align-items:center;justify-content:space-between;padding:22px 18px 16px}.chat-list-head strong,.chat-list-head span{display:block}.chat-list-head strong{font-size:16px}.chat-list-head div span{font-size:13px;color:#9fb2a4;margin-top:3px}.chat-spark{font-size:20px;color:#7ee5a0}.chat-placeholder{padding:18px;color:#a9b9ac;font-size:14px;line-height:1.55}.chat-list-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:13px 14px;border:0;border-top:1px solid #25352a;background:transparent;color:#eaf5ec}.chat-list-item:hover,.chat-list-item.is-active{background:#1b3022}.chat-list-info{flex:1;min-width:0}.chat-list-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.chat-list-info small{display:block;color:#a8bbae;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;margin-top:4px}.chat-list-info .verified-badge,.chat-contact .verified-badge{width:16px;height:16px;vertical-align:-3px}.chat-unread{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#43db83;color:#092014;font-size:12px;font-weight:800;padding:0 5px}
.chat-conversation{min-width:0;min-height:0;background:radial-gradient(ellipse at 75% 0%,#173326 0,transparent 48%),#0e1711}.chat-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px;text-align:center}.chat-empty[hidden],.chat-active[hidden]{display:none}.chat-empty-icon{display:grid;place-items:center;width:66px;height:66px;border:1px solid #365943;border-radius:20px;background:#1d3c29;color:#a2efb9}.chat-empty-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.chat-empty h2{font-size:19px;margin:20px 0 5px}.chat-empty p{max-width:300px;color:#a5b8aa;font-size:14px;line-height:1.6;margin:0}.chat-active{height:100%;display:flex;flex-direction:column}.chat-header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #2b3c30;background:#111b15e8}.chat-contact{display:flex;align-items:center;gap:10px;min-width:0}.chat-contact .avatar{width:40px;height:40px;border-radius:12px}.chat-contact strong,.chat-contact small{display:block}.chat-contact strong{font-size:15px}.chat-contact small{color:#a5b9aa;font-size:13px;margin-top:3px}.chat-back{display:none;border:0;background:transparent;color:#b6d9bf;font-size:24px;min-width:44px;min-height:44px;border-radius:10px}.chat-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:20px 16px;display:flex;flex-direction:column;gap:10px;min-height:0}.chat-first{margin:auto;text-align:center;color:#a4b7a9;font-size:14px}.chat-line{display:flex}.chat-line.is-new{animation:chat-appear .2s ease-out}.chat-line.mine{justify-content:flex-end}.chat-bubble{max-width:min(85%,360px);padding:11px 13px 7px;border:1px solid #304239;border-radius:15px 15px 15px 4px;background:#19271e;box-shadow:0 2px 8px #0002}.mine .chat-bubble{background:#1b5132;border-color:#316d48;border-radius:15px 15px 4px 15px}.chat-bubble p{font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 3px;color:#edf7ef}.chat-meta{display:flex;align-items:center;justify-content:flex-end;gap:6px;color:#bed0c1;font-size:11px;line-height:1.4;margin-top:4px}.chat-ticks{font-size:15px;font-weight:800;letter-spacing:-4px;padding-right:4px;color:#bdd3c1}.chat-ticks.read{color:#8ef2af}.chat-image{display:block;max-width:100%;width:auto;max-height:300px;object-fit:contain;border-radius:9px}.chat-image-link{display:block;overflow:hidden;border-radius:9px;margin:3px 0}.chat-image-pending{color:#c0d5c5;font-size:13px;padding:18px}.chat-compose-wrap{border-top:1px solid #2b3c30;background:#111a14;padding:10px 13px 12px}.chat-composer{display:flex;align-items:flex-end;gap:8px}.chat-attach,.chat-send{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:11px;border:1px solid #355740;background:#1b3022;color:#b9e9c5;font-size:23px;cursor:pointer}.chat-file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.chat-attach:focus-within{outline:3px solid #82eaa9;outline-offset:3px}.chat-send{background:#36dc80;border:0;color:#092215;font-size:19px}.chat-send:hover{background:#72eda0}.chat-composer textarea{flex:1;min-width:0;resize:vertical;max-height:120px;min-height:44px;border:1px solid #32493a;border-radius:10px;background:#18241b;color:#f1f8f2;padding:10px 12px;font-size:15px;line-height:1.5}.chat-composer textarea::placeholder{color:#a3b5a7}.chat-hint{font-size:12px;color:#9fb0a3;line-height:1.4;margin:8px 0 0}.chat-error{font-size:13px;line-height:1.4;color:#ffcdcd;background:#422529;border:1px solid #764148;border-radius:8px;padding:8px;margin:0 0 8px}.chat-preview{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:8px;border:1px solid #35533c;border-radius:10px;background:#1b2c20}.chat-preview[hidden]{display:none}.chat-preview img{width:44px;height:44px;object-fit:cover;border-radius:7px}.chat-preview div{min-width:0;flex:1}.chat-preview strong,.chat-preview span{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-preview span{color:#aabdac;margin-top:3px}.chat-preview button{border:0;background:transparent;color:#c0d0c4;font-size:24px;min-width:44px;min-height:44px}.chat-error[hidden]{display:none}@keyframes chat-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:660px){.nav-mobile:not(.has-admin){grid-template-columns:repeat(5,minmax(0,1fr))}.nav-mobile.has-admin{grid-template-columns:repeat(6,minmax(0,1fr))}.nav-mobile [data-nav="feed"]{grid-column:1}.nav-mobile [data-nav="search"]{grid-column:2}.nav-mobile [data-nav="chat"]{grid-column:3}.nav-mobile [data-compose]{grid-column:4}.nav-mobile [data-nav="profile"],.nav-mobile:not(.has-admin) [data-nav="profile"]{grid-column:5}.nav-mobile [data-nav="admin"]{grid-column:6}.nav-mobile button{min-width:0}.nav-mobile{gap:0;padding-left:5px;padding-right:5px}.chat-shell{height:calc(100dvh - 235px);min-height:430px;display:block}.chat-list-panel,.chat-conversation{height:100%}.chat-shell[data-open="false"] .chat-conversation,.chat-shell[data-open="true"] .chat-list-panel{display:none}.chat-list-panel{border-right:0}.chat-back{display:block}.chat-messages{padding:15px 12px}.chat-compose-wrap{padding:10px}.chat-hint{font-size:11px}.chat-page-title{margin-bottom:16px}.chat-bubble{max-width:88%}.profile-message{font-size:13px}}
@media(prefers-reduced-motion:reduce){.chat-line.is-new{animation:none}}

.chat-send svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Плюс точно в центре мобильного меню, включая режим администратора. */
@media(max-width:660px){
 .nav-mobile:not(.has-admin){grid-template-columns:repeat(5,minmax(0,1fr))}
 .nav-mobile.has-admin{grid-template-columns:repeat(7,minmax(0,1fr))}
 .nav-mobile [data-nav="feed"]{grid-column:1}
 .nav-mobile [data-nav="search"]{grid-column:2}
 .nav-mobile [data-compose]{grid-column:3}
 .nav-mobile [data-nav="chat"]{grid-column:4}
 .nav-mobile [data-nav="profile"],.nav-mobile:not(.has-admin) [data-nav="profile"]{grid-column:5}
 .nav-mobile.has-admin [data-compose]{grid-column:4}
 .nav-mobile.has-admin [data-nav="chat"]{grid-column:5}
 .nav-mobile.has-admin [data-nav="profile"]{grid-column:6}
 .nav-mobile.has-admin [data-nav="admin"]{grid-column:7}
}

/* Просторные переписки и графические отметки прочтения. */
@media (min-width:661px){
 .app:has(.chat-shell){width:min(1100px,calc(100% - 190px));max-width:1100px}
 .chat-shell{height:min(780px,calc(100dvh - 200px));min-height:500px;grid-template-columns:minmax(240px,300px) minmax(0,1fr)}
}
.chat-ticks{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;color:#c4dbca}
.chat-ticks.read{color:#85efad}
.chat-ticks svg{display:block;width:18px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Значки подтверждения и выбор цвета в админке. */
.profile-box h1 .verified-badge{width:19px;height:19px;vertical-align:-3px}
.profile-developer{display:table;margin-top:8px;padding:5px 9px;border:1px solid #335d42;border-radius:8px;background:#1b3524;color:#b6efc7;font-size:12px;font-weight:650;line-height:1.3}
.badge-choice-intro{color:#b8c9bc;font-size:14px;line-height:1.5;margin:0 0 16px}.badge-choice-intro strong{color:#f0f8f2;overflow-wrap:anywhere}
.badge-choices{display:grid;gap:9px}.badge-choice{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;border:1px solid #304839;border-radius:12px;background:#19271d;color:#edf7ef;text-align:left;transition:background .18s,border-color .18s}.badge-choice:hover{background:#21392a;border-color:#518164}.badge-choice img{width:25px;height:25px;object-fit:contain;flex:none}.badge-choice>span:first-of-type{flex:1}.badge-choice strong,.badge-choice small{display:block}.badge-choice strong{font-size:14px}.badge-choice small{font-size:12px;color:#aec1b2;margin-top:4px}.badge-current{font-size:12px;color:#9feaba;white-space:nowrap}.badge-remove{margin-top:4px;background:transparent}.badge-remove strong{color:#f2c0c2}
@media(prefers-reduced-motion:reduce){.badge-choice{transition:none}}

/* Внешний вид Pear: настройки справа и необязательные эффекты. */
#app{position:relative;z-index:1}
.center-toolbar{display:flex;align-items:center;gap:9px;padding-top:32px;min-width:0}
.center-toolbar .center-search{flex:1;min-width:0;padding-top:0}
.center-toolbar .center-search[hidden]{display:none}
.settings-open{margin-left:auto;flex:none;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #385043;border-radius:12px;color:#bcd0c2;background:#15231a;transition:background .18s,color .18s,transform .18s}
.settings-open:hover{color:#d9ffdf;background:#223d2c;transform:rotate(14deg)}
.settings-open svg,.settings-option-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.settings-modal{width:min(100%,500px);padding:24px;border-color:#355040;background:#111b15;box-shadow:0 24px 90px #000b}
.settings-modal .modal-head{margin-bottom:5px}.settings-modal .modal-head h2{font-size:22px}.settings-kicker{margin:4px 0 8px;color:#86b697;font-size:11px;font-weight:750;letter-spacing:.12em}.appearance-settings h3{margin:0;color:#edf9f0;font-size:18px}.settings-intro{margin:7px 0 18px;color:#b4c6b9;font-size:14px;line-height:1.55}
.settings-options{display:grid;gap:10px}.settings-option{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #304a38;border-radius:14px;background:#18271d;cursor:pointer}.settings-option:hover{border-color:#4b7357;background:#1c3022}.settings-option-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#244733;color:#a3efb9}.snow-icon{background:#253d3b;color:#b5e7e0}.settings-copy{flex:1;min-width:0}.settings-copy strong,.settings-copy small{display:block}.settings-copy strong{color:#f0faf2;font-size:15px}.settings-copy small{margin-top:4px;color:#b3c7b8;font-size:13px;line-height:1.4}
.settings-switch{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:48px;height:28px;margin:0;border:1px solid #52685a;border-radius:30px;background:#31463a;cursor:pointer;transition:background .2s,border-color .2s}.settings-switch:before{content:'';position:absolute;width:20px;height:20px;top:3px;left:3px;border-radius:50%;background:#d5e5d8;box-shadow:0 1px 3px #0005;transition:transform .2s}.settings-switch:checked{background:#3be18a;border-color:#3be18a}.settings-switch:checked:before{transform:translateX(20px);background:#0a2d18}.settings-foot{margin:17px 2px 0;color:#a9bbaf;font-size:12px;line-height:1.55}
.pear-snow{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}.pear-snow[hidden]{display:none}.pear-snow span{position:absolute;left:var(--x);top:-6vh;width:var(--size);height:var(--size);border-radius:50%;background:#e7fff1;opacity:.5;animation:pear-snow-fall var(--duration) linear var(--delay) infinite;box-shadow:0 0 6px #bdebd37a}
@keyframes pear-snow-fall{from{transform:translate3d(0,-3vh,0)}to{transform:translate3d(var(--drift),110vh,0)}}
body.pear-liquid::before{content:'';position:fixed;inset:-20%;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 20% 20%,#24523a68,transparent 33%),radial-gradient(ellipse at 80% 40%,#1f4d4260,transparent 32%);animation:pear-liquid-glow 18s ease-in-out infinite alternate}
body.pear-liquid .card,body.pear-liquid .composer-mini,body.pear-liquid .settings-modal,body.pear-liquid .chat-shell{background-color:#17271de8;border-color:#466b50;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body.pear-liquid .nav-mobile,body.pear-liquid .left{background:#1a3024df;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
@keyframes pear-liquid-glow{from{transform:translate3d(-2%,0,0) scale(1)}to{transform:translate3d(3%,2%,0) scale(1.07)}}
@media(max-width:660px){.center-toolbar{padding-top:20px;gap:7px}.center-toolbar .center-search{padding-top:0}.center-toolbar .search-submit{padding:0 12px}.settings-modal{padding:19px}.settings-option{padding:13px 12px;gap:10px}}
@media(prefers-reduced-motion:reduce){.pear-snow{display:none!important}body.pear-liquid::before{animation:none}.settings-open,.settings-switch,.settings-switch:before{transition:none}}

/* Количество непрочитанных личных сообщений. */
.nav button[data-nav="chat"],.nav-mobile button[data-nav="chat"]{position:relative}
.nav-unread{position:absolute;z-index:2;top:1px;right:1px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #122017;border-radius:999px;background:#ec454e;color:#fff;font-size:11px;font-weight:800;line-height:1;letter-spacing:0;pointer-events:none;box-shadow:0 2px 7px #0005}
.nav-unread[hidden]{display:none}
@media(max-width:660px){.nav-unread{top:0;right:2px}}

/* Меню публикаций, закрепление и очередь жалоб. */
.post-more{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:11px;background:transparent;color:#b6c8bb;transition:background .18s,color .18s}.post-more:hover{background:#24362a;color:#e9fff0}.post-more svg,.pinned-label svg,.menu-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.post-more svg circle{fill:currentColor;stroke:none}.pinned-label{display:flex;align-items:center;gap:7px;margin:14px 0 -3px;color:#94e8ad;font-size:13px;font-weight:700}.pinned-label svg{width:16px;height:16px}.post-menu-intro,.report-intro{margin:0 0 16px;color:#b4c9ba;line-height:1.55;font-size:14px}.post-menu-list{display:grid;gap:9px}.post-menu-action{display:flex;align-items:center;gap:13px;text-align:left;width:100%;min-height:70px;border:1px solid #304a39;border-radius:12px;padding:12px;background:#192920;color:#f0f8f2}.post-menu-action:hover{background:#203b2a;border-color:#528366}.post-menu-action strong,.post-menu-action small{display:block}.post-menu-action strong{font-size:14px}.post-menu-action small{font-size:13px;line-height:1.4;color:#acc0b1;margin-top:3px}.menu-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:#244534;color:#a5eebc;font-weight:700;font-size:22px}.post-menu-action.is-danger .menu-icon{background:#48292b;color:#ffabb0}.post-menu-action.is-danger strong{color:#ffc1c4}.report-details{min-height:96px!important}.report-submit{width:100%;margin-top:8px}.reports-heading{margin-top:28px}.reports-empty{padding:18px;border:1px dashed #34473a;border-radius:12px;background:#111a14;color:#aec1b2;font-size:14px;line-height:1.5;margin-bottom:22px}.report-card{padding:16px;margin-bottom:12px;border:1px solid #30483a;border-radius:14px;background:linear-gradient(145deg,#152219,#111a14)}.report-card-head{display:flex;align-items:center;gap:10px;justify-content:space-between}.report-reason{font-weight:750;color:#eef8f1;font-size:15px}.report-state{flex:none;padding:5px 9px;border:1px solid #355042;border-radius:8px;color:#b0c2b5;background:#1b2a20;font-size:12px}.report-state.is-open{color:#ffd6aa;border-color:#755638;background:#3b2b1b}.report-post{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 8px;font-size:14px;line-height:1.55;color:#e3ede5}.report-media{display:inline-block;color:#98e9b3;font-size:14px;margin:3px 0 10px}.report-note{border-left:2px solid #507b5d;padding:3px 0 3px 10px;white-space:pre-wrap;overflow-wrap:anywhere;color:#d0ded3;font-size:14px;line-height:1.5;margin:12px 0}.report-note span{display:block;color:#9fb5a5;font-size:12px;margin-bottom:3px}.report-meta{font-size:13px;color:#a9bbae;line-height:1.5;overflow-wrap:anywhere;margin-top:12px}.report-resolve{font-size:13px;margin-top:14px}.admin-search{margin-top:24px}@media(max-width:660px){.post-head{gap:8px}.post-more{width:44px;height:44px}.report-card{padding:14px}.report-card-head{align-items:flex-start}.report-resolve{width:100%}}

/* Модерация рассмотренных жалоб */
.report-delete{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:14px;padding:9px 14px;border:1px solid #8c4449;border-radius:10px;background:#422328;color:#ffd9db;font-size:13px;font-weight:700}.report-delete:hover{background:#672e35;color:#fff}.admin-delete-warning p{color:#c8d5cb;font-size:14px;line-height:1.6}.admin-delete-preview{margin:16px 0;padding:14px;border:1px solid #344b3a;border-radius:10px;background:#18251c;color:#e4f1e7;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.admin-delete-actions{display:flex;justify-content:flex-end;gap:10px}.admin-delete-actions .danger-button{width:auto}.cleanup-notice{margin:12px 0 20px;padding:15px;border:1px solid #745c37;border-radius:12px;background:#302719;color:#ffe2b6;font-size:14px}.cleanup-notice p{color:#e7d1ad;line-height:1.5;margin:8px 0 12px}@media(max-width:660px){.report-delete{width:100%}.admin-delete-actions{flex-direction:column-reverse}.admin-delete-actions .danger-button,.admin-delete-actions .quiet{width:100%}}

/* Уведомления и ответы на комментарии */
.nav button[data-nav="notifications"],.notifications-open{position:relative}.notification-count{position:absolute;top:0;right:0;z-index:2;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border:2px solid #122017;border-radius:999px;background:#ec454e;color:white;font-size:11px;font-weight:800;line-height:1;box-shadow:0 2px 7px #0005;pointer-events:none}.notification-count[hidden]{display:none}.notifications-open{display:none}.search-submit svg{display:none}.notification-header{gap:12px}.notifications-read-all{font-size:13px;white-space:nowrap}.notifications-list{display:grid;gap:10px}.notification-item{position:relative;display:flex;gap:14px;align-items:flex-start;width:100%;min-height:82px;padding:17px 18px;border:1px solid #293c30;border-radius:14px;background:#111b15;color:#e8f3eb;text-align:left;transition:transform .18s,border-color .18s,background .18s;animation:notification-enter .25s ease both}.notification-item:hover{transform:translateY(-2px);background:#192b20;border-color:#476a50}.notification-item.is-unread{background:linear-gradient(115deg,#193326,#121e17);border-color:#345d42}.notification-avatar{position:relative;flex:none}.notification-avatar .avatar{width:46px;height:46px}.notification-kind{position:absolute;bottom:-4px;right:-5px;display:grid;place-items:center;width:23px;height:23px;border:2px solid #132017;border-radius:50%;background:#2d7549;color:#effff3}.notification-kind.like{background:#a43d55}.notification-kind.reply,.notification-kind.comment{background:#38745d}.notification-kind svg,.notifications-empty-icon svg,.notifications-open svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-content{display:grid;gap:5px;flex:1;min-width:0}.notification-title{line-height:1.45;font-size:14px;color:#c5d5c9}.notification-title strong{color:#f0faf2;font-size:15px}.notification-title .verified-badge{width:16px;height:16px;vertical-align:-3px}.notification-preview{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;color:#a8bdad;font-size:13px;line-height:1.5;white-space:pre-wrap}.notification-time{font-size:12px;color:#9cb4a2}.notification-dot{flex:none;width:9px;height:9px;margin:7px 0 0 2px;border-radius:50%;background:#50e78d;box-shadow:0 0 10px #3cdb7a5e}.notifications-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;border:1px dashed #34503d;border-radius:16px;background:#101a14}.notifications-empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#214332;color:#9ef0b7;margin-bottom:16px}.notifications-empty-icon svg{width:25px;height:25px}.notifications-empty strong{font-size:16px}.notifications-empty p{font-size:14px;line-height:1.5;color:#aebfb2;max-width:300px;margin:8px 0 0}.notification-foot{margin:15px 2px;color:#9eb2a3;font-size:12px}.notifications-retry{margin-top:12px}.comment-reply{margin-left:34px;padding-left:11px;border-left:2px solid #335740}.reply-label{margin-top:5px;color:#92d9a9;font-size:12px}.reply-action{border:0;background:none;color:#9ccdae;padding:8px 5px;margin-left:-5px;font-size:13px;font-weight:650;min-height:36px}.reply-action:hover{color:#d1f7d9}.replying-to{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#1a3021;color:#b7e7c4;border:1px solid #345c40;border-radius:10px;padding:4px 8px 4px 12px;font-size:13px;margin-top:10px}.replying-to button{border:0;background:none;color:#c1d6c6;font-size:22px;width:38px;height:38px;border-radius:8px}.replying-to button:hover{background:#2b4632}@keyframes notification-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:660px){.notifications-open{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #385043;border-radius:12px;color:#c7ddcd;background:#15231a}.notifications-open.active{background:#244d32;color:#a8f7c1}.notifications-open svg{width:21px;height:21px}.notifications-open .notification-count{top:-3px;right:-3px}.center-toolbar .search-submit{width:46px;min-width:46px;padding:0;display:grid;place-items:center}.search-submit span{display:none}.search-submit svg{display:block;width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}.center-toolbar .center-search-icon{display:none}.center-toolbar .center-search .search{padding-left:12px}.notification-item{padding:15px 13px;gap:11px}.notification-header{align-items:flex-start}.notifications-read-all{padding:9px;font-size:12px}.comment-reply{margin-left:24px}.notifications-list{gap:8px}}
@media(prefers-reduced-motion:reduce){.notification-item{animation:none;transition:none}}

@media(max-width:360px){.center-toolbar .search::placeholder{font-size:13px}}

/* Выход из аккаунта в профиле */
.account-actions{margin-top:24px;padding-top:19px;border-top:1px solid #304239}.account-actions-heading{display:grid;gap:4px;margin-bottom:14px}.account-actions-heading strong{font-size:15px;color:#edf8ef}.account-actions-heading span,.account-action-note{font-size:13px;color:#a9bdb0;line-height:1.5}.account-action-buttons{display:flex;gap:10px;flex-wrap:wrap}.account-action-buttons .account-signout{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;min-height:44px}.account-signout svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.account-action-note{margin:11px 1px 0}.signout-confirm{margin-top:15px;padding:15px;border:1px solid #385943;border-radius:12px;background:#1a2a20;animation:appear .18s ease}.signout-confirm[hidden]{display:none}.signout-confirm p{margin:0 0 12px;font-size:14px;line-height:1.55;color:#d2e2d6}.signout-confirm-actions{display:flex;justify-content:flex-end;gap:9px}.signout-confirm-actions .primary,.signout-confirm-actions .quiet{min-width:88px}@media(max-width:660px){.account-action-buttons{display:grid;grid-template-columns:1fr}.account-action-buttons .account-signout,.account-action-buttons .danger-button{width:100%}.signout-confirm-actions>*{flex:1}}@media(prefers-reduced-motion:reduce){.signout-confirm{animation:none}}

/* Боковая панель остаётся у левого края. */
@media(min-width:661px){.left{left:0;width:70px;padding-left:6px;padding-right:6px}}

/* Pear sign-in */
.pear-auth-page {min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:32px;background:radial-gradient(ellipse at 12% 10%,#122b20 0,transparent 40%),#080d0b;color:#f5f8f5;font-family:Inter,system-ui,-apple-system,sans-serif}
.pear-auth-shell {width:min(1120px,100%);min-height:700px;display:grid;grid-template-columns:1.03fr 1fr;border:1px solid #263830;border-radius:24px;overflow:hidden;box-shadow:0 28px 90px #0008;background:#111815}
.pear-auth-art {position:relative;min-width:0;padding:36px 40px;display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(0,15,7,.50),transparent 35%,rgba(0,10,5,.86)),url('/assets/auth-pear.webp') center center/cover no-repeat}
.pear-auth-brand,.pear-auth-mobile-brand {display:flex;align-items:center;gap:10px;font-size:26px;font-weight:800;letter-spacing:-.07em}.pear-auth-brand img,.pear-auth-mobile-brand img{width:38px;height:38px;border-radius:11px;object-fit:cover}.pear-auth-dot{color:#8dec9e}.pear-auth-art-copy{margin-top:auto;max-width:390px}.pear-auth-eyebrow,.pear-auth-kicker{font-size:11px;letter-spacing:.16em;color:#a3e9b0;font-weight:750}.pear-auth-art-copy h1{font-size:clamp(34px,4vw,51px);line-height:1.07;letter-spacing:-.055em;margin:18px 0}.pear-auth-art-copy p{color:#d0ded3;line-height:1.6;font-size:15px;max-width:350px}.pear-auth-art-bottom{font-size:10px;letter-spacing:.15em;color:#a9b7ab;margin-top:42px}
.pear-auth-content{display:flex;align-items:center;justify-content:center;padding:46px}.pear-auth-form-wrap{width:100%;max-width:390px}.pear-auth-mobile-brand{display:none}.pear-auth-form-wrap h2{font-size:34px;line-height:1.15;letter-spacing:-.045em;margin:12px 0 10px}.pear-auth-sub{font-size:14px;color:#aab8ae;margin:0 0 26px;line-height:1.55}.pear-auth-tabs{display:flex;gap:5px;padding:4px;background:#0c120f;border:1px solid #27372f;border-radius:12px;margin-bottom:23px}.pear-auth-tabs button{width:50%;height:40px;border:0;border-radius:8px;background:transparent;color:#97a99e;font-size:14px;font-weight:600;cursor:pointer}.pear-auth-tabs button.selected{background:#24352a;color:#f3fff4}.pear-auth-form{display:flex;flex-direction:column}.pear-auth-form label{font-size:13px;font-weight:650;color:#dbe9de;margin:0 0 8px}.pear-auth-form input{width:100%;height:49px;border:1px solid #304238;border-radius:10px;background:#0b120e;color:white;padding:0 14px;font:inherit;font-size:16px;margin:0 0 18px}.pear-auth-form input::placeholder{color:#65756b}.pear-auth-form input:focus-visible,.pear-auth-page button:focus-visible{outline:2px solid #8bee9b;outline-offset:2px}.pear-auth-submit{height:49px;background:#8be899;color:#062012;border:0;border-radius:10px;font-size:15px;font-weight:750;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:12px}.pear-auth-submit:hover{background:#a7f3b0}.pear-auth-submit:disabled,.pear-auth-providers button:disabled{opacity:.6;cursor:wait}.pear-auth-message{font-size:13px;line-height:1.5;color:#b6efbe;background:#1a3021;border-radius:8px;padding:10px 12px;margin:13px 0 0}.pear-auth-message.is-error{color:#ffc5be;background:#35201e}.pear-auth-message[hidden]{display:none}.pear-auth-divider{display:flex;align-items:center;gap:12px;color:#87968b;font-size:12px;margin:23px 0 17px}.pear-auth-divider::before,.pear-auth-divider::after{content:'';height:1px;background:#2c3b31;flex:1}.pear-auth-providers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pear-auth-providers button{height:46px;border-radius:10px;background:#18221c;border:1px solid #314137;color:#e9f1eb;font-size:14px;font-weight:650;cursor:pointer}.pear-auth-providers button:hover{background:#233229}.pear-auth-providers button span{font-size:17px;margin-right:6px}.pear-google{color:#a9dcac;font-weight:800}.pear-auth-foot{text-align:center;color:#a3b3a7;font-size:13px;margin:25px 0 0}.pear-auth-foot button{border:0;padding:0;background:none;color:#9beca7;font-weight:700;cursor:pointer}
@media(max-width:700px){.pear-auth-page{padding:0;display:block;background:#101713}.pear-auth-shell{width:100%;min-height:100dvh;display:block;border:0;border-radius:0;box-shadow:none}.pear-auth-art{height:180px;padding:22px 24px;background-position:center 57%}.pear-auth-brand{font-size:22px}.pear-auth-brand img{width:34px;height:34px}.pear-auth-art-copy{margin-top:auto}.pear-auth-art-copy h1{font-size:25px;margin:8px 0 0}.pear-auth-art-copy p,.pear-auth-art-bottom,.pear-auth-eyebrow{display:none}.pear-auth-content{padding:28px 24px 36px}.pear-auth-form-wrap h2{font-size:29px}.pear-auth-sub{margin-bottom:19px}.pear-auth-tabs{margin-bottom:19px}.pear-auth-divider{margin:19px 0 15px}.pear-auth-foot{margin-top:20px}}
.pear-auth-oauth{display:flex;flex-direction:column;gap:12px;margin-top:34px}.pear-auth-oauth button{height:54px;display:flex;align-items:center;text-align:left;padding:0 18px;font-size:15px}.pear-auth-oauth button:first-child{background:#8be899;border-color:#8be899;color:#082012}.pear-auth-oauth button:first-child:hover{background:#a7f3b0}.pear-auth-oauth button span:first-child{width:30px;font-size:20px}.pear-auth-oauth .pear-google{color:#173b22}.pear-auth-oauth .provider-arrow{margin-left:auto;font-size:16px;opacity:.8}.pear-auth-foot{text-align:left;line-height:1.5}.pear-auth-signature{border-top:1px solid #2d3b31;margin-top:42px;padding-top:20px;display:flex;justify-content:space-between;gap:15px;color:#829489;font-size:10px;letter-spacing:.12em}.pear-auth-message:not([hidden]){margin-top:20px}@media(max-width:700px){.pear-auth-oauth{margin-top:26px}.pear-auth-signature{margin-top:28px}}
