*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html,body{color:#e5e5e5;-moz-text-size-adjust:100%;text-size-adjust:100%;background:#0f0f0f;min-height:100dvh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.5}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}a{color:#3b82f6;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation}.btn,button.btn{border:none;border-radius:10px;min-width:44px;min-height:44px;padding:10px 16px;font-weight:600}input,select,textarea{background:#1a1a1a;border:1px solid #333;border-radius:10px;outline:none;width:100%;min-height:44px;padding:12px 14px}input:focus,select:focus,textarea:focus{border-color:#3b82f6}.container{width:100%;max-width:720px;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));margin:0 auto}.app-container{max-width:1120px}.app-header{border-bottom:1px solid #262626;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:10px 0 14px;display:flex}.app-brand{color:#e5e5e5;letter-spacing:-.04em;white-space:nowrap;font-size:20px;font-weight:750}.app-brand:hover{text-decoration:none}.mobile-search-link{display:none}.app-desktop-nav{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:18px;display:flex}.app-desktop-nav a,.app-logout{color:#a3a3a3;white-space:nowrap;background:0 0;border:0;padding:8px 2px;font-size:14px;text-decoration:none}.app-desktop-nav a:hover,.app-desktop-nav a.selected{color:#e5e5e5;text-decoration:none}.app-desktop-nav .app-post-link{color:#60a5fa}.app-desktop-nav .app-register{color:#fff;background:#2563eb;border-radius:8px;padding:8px 12px}.notification-anchor{flex:none;position:relative}.notification-trigger{color:#e5e5e5;background:#181818;border:1px solid #303030;border-radius:12px;width:44px;height:44px;font-size:20px;position:relative}.notification-count{color:#fff;background:#2563eb;border-radius:999px;min-width:19px;height:19px;padding:0 5px;font-size:11px;font-weight:700;line-height:19px;position:absolute;top:-5px;right:-6px}.notification-panel{z-index:80;background:#181818;border:1px solid #333;border-radius:14px;width:min(360px,100vw - 32px);max-height:min(70vh,520px);position:absolute;top:52px;right:0;overflow:auto;box-shadow:0 18px 50px #0009}.notification-panel-heading{background:#181818;border-bottom:1px solid #2b2b2b;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex;position:sticky;top:0}.notification-panel-heading button{color:#60a5fa;background:0 0;border:0;min-height:36px;padding:6px 8px;font-size:12px}.notification-panel-heading button:disabled{color:#666;cursor:default}.notification-list{flex-direction:column;display:flex}.notification-item{color:#d4d4d4;border-bottom:1px solid #292929;flex-direction:column;gap:4px;padding:13px 16px;text-decoration:none;display:flex}.notification-item:hover,.notification-item.unread{background:#202020;text-decoration:none}.notification-item.unread .notification-item-title{color:#fff}.notification-item-title{font-size:13px;font-weight:650}.notification-item-body,.notification-item time,.notification-empty{color:#8b8b8b;font-size:12px}.notification-empty{padding:16px}.page-narrow{max-width:720px;margin:0 auto}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.search-page{max-width:820px;margin:0 auto;padding:8px 0 32px}.search-heading{margin:8px 0 22px}.search-heading h1{letter-spacing:-.04em;margin:2px 0 4px;font-size:28px}.search-heading p:last-child,.search-kicker,.search-hint,.search-status,.search-result-count{color:#8b8b8b}.search-kicker{letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:700}.search-form{gap:10px;margin-bottom:12px;display:flex}.search-form input{flex:1;min-width:0}.search-form button{color:#fff;background:#2563eb}.search-form button:disabled{opacity:.55;cursor:not-allowed}.search-hint,.search-status,.search-error,.search-result-count{margin:12px 0;font-size:14px}.search-error{color:#f87171}.search-section{margin-top:28px}.search-section h2{color:#a3a3a3;margin-bottom:12px;font-size:15px}.search-results-list{flex-direction:column;gap:9px;display:flex}.search-result-card{color:#e5e5e5;background:#181818;border:1px solid #2b2b2b;border-radius:12px;flex-direction:column;gap:5px;padding:14px 16px;text-decoration:none;display:flex}.search-result-card:hover{background:#1d1d1d;border-color:#3b82f6;text-decoration:none}.search-result-main{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;font-weight:600}.search-result-description{color:#b3b3b3;overflow-wrap:anywhere;font-size:14px}.search-result-meta{color:gray;font-size:12px}@media (min-width:768px){.container{padding:24px 20px}}.card{background:#1a1a1a;border:1px solid #262626;border-radius:12px;padding:16px}.bottom-nav{display:none}@media (max-width:640px){.app-header{gap:8px;padding-top:6px}.app-desktop-nav{display:none}.mobile-search-link{color:#d4d4d4;background:#181818;border:1px solid #303030;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-left:auto;display:inline-flex}.mobile-search-link:hover{color:#fff;text-decoration:none}.app-container{padding:12px}.app-container:not(.has-bottom-nav){padding-bottom:20px}.bottom-nav{padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:50;background:#141414;border-top:1px solid #262626;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{color:#a3a3a3;flex-direction:column;align-items:center;gap:2px;min-width:48px;min-height:44px;padding:6px 5px;font-size:11px;text-decoration:none;display:flex}.bottom-nav a span{font-size:18px;line-height:20px}.bottom-nav a.active,.bottom-nav a:hover{color:#3b82f6;text-decoration:none}.has-bottom-nav{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.search-page{padding-top:4px}.search-heading h1{font-size:24px}.search-form{gap:8px}}.app-footer{color:#737373;border-top:1px solid #222;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;max-width:1080px;margin:32px auto 0;padding:20px 16px 28px;font-size:13px;display:flex}.app-footer a{color:#a3a3a3}@media (max-width:640px){.app-footer{margin-bottom:72px}.bottom-nav .bottom-nav-btn{color:#a3a3a3;cursor:pointer;background:0 0;border:none;flex-direction:column;align-items:center;gap:2px;font-size:11px;display:flex}.bottom-nav .bottom-nav-btn span{font-size:18px}}.cookie-notice{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:60;color:#d4d4d4;background:#1f1f1f;border:1px solid #333;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;max-width:640px;margin:0 auto;padding:12px 14px;font-size:13px;display:flex;position:fixed;box-shadow:0 8px 24px #0006}.cookie-notice a{color:#60a5fa}.cookie-notice button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;flex-shrink:0;padding:8px 14px;font-weight:600}@media (min-width:900px){.cookie-notice{bottom:16px}}.legal-body a{color:#60a5fa}.legal-body ul{padding-left:20px}html,body{max-width:100%;overflow-x:clip}.app-header>*{min-width:0}@media (max-width:640px){.bottom-nav a,.bottom-nav .bottom-nav-btn{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;padding-left:0;padding-right:0;overflow:hidden}}@media (max-width:380px){.app-header{gap:6px!important}.app-header .notification-trigger,.app-header button[aria-label*=оиск],.app-header a[aria-label*=оиск]{width:38px;height:38px}.bottom-nav a,.bottom-nav .bottom-nav-btn{font-size:10px}}@media (max-width:340px){.bottom-nav a,.bottom-nav .bottom-nav-btn{letter-spacing:-.2px;font-size:9px}}.region-pill-wrap{flex:0 auto;min-width:0;overflow:hidden}@media (max-width:380px){.mobile-search-link{width:38px!important;height:38px!important}.region-pill{max-width:110px!important}}@media (max-width:340px){.region-pill{max-width:84px!important}}@media (max-width:640px){.app-header{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid!important}.app-brand{white-space:nowrap;font-size:clamp(17px,5.4vw,22px)}.region-pill-wrap{justify-self:start;max-width:100%}.region-pill{max-width:100%!important}.mobile-search-link{margin-left:0!important}.app-container{max-width:100vw}.card,.page-narrow,main{min-width:0;max-width:100%}img{max-width:100%}}@media (max-width:360px){.mobile-search-link,.notification-trigger{width:36px!important;height:36px!important}}
