:root{--safe-top:max(env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px));--safe-bottom:max(env(safe-area-inset-bottom),var(--tg-content-safe-area-inset-bottom,0px))}
[hidden]{display:none!important}
.site-header{height:calc(68px + var(--safe-top));padding-top:var(--safe-top)}
.catalog-content{padding-bottom:110px}
.home-screen,.catalog-screen,.title-screen,.library-screen,.profile-screen,.notifications-screen,.admin-screen{animation:page-enter .32s cubic-bezier(.2,.8,.28,1.16) both}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:38px 0 18px}
.section-heading h2{margin:0!important;font-size:22px!important;letter-spacing:-.02em}
.section-heading p{margin:6px 0 0;color:var(--muted);font-size:13px}
.section-heading>a{display:inline-flex;align-items:center;gap:4px;color:var(--accent);text-decoration:none;font-size:13px;white-space:nowrap}
.home-featured{margin-top:28px}
.featured-card{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);min-height:300px;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--surface-1);color:var(--text);text-decoration:none;transition:border-color .18s ease,transform .18s ease}
.featured-card:hover{border-color:var(--accent);transform:scale(1.005)}
.featured-card>.title-cover{height:100%;aspect-ratio:auto;border:0;border-radius:0}
.featured-card>.title-cover img{object-position:center 24%}
.featured-info{display:flex;flex-direction:column;align-items:start;justify-content:center;min-width:0;padding:clamp(22px,4vw,48px)}
.eyebrow{color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.featured-info h2{margin:14px 0 12px!important;font-size:clamp(24px,4vw,38px)!important;line-height:1.12;letter-spacing:-.035em}
.featured-info p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.featured-action{display:inline-flex;align-items:center;gap:7px;margin-top:28px;padding:11px 16px;border-radius:11px;background:var(--accent);color:#101925;font-size:13px;font-weight:650}
.home-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.home-cards .title-card{min-width:0}
.home-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.project-row{display:flex;align-items:center;gap:13px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--surface-1);color:var(--text);text-decoration:none;transition:background .16s,border-color .16s}
.project-row:hover,.release-row:hover{background:var(--surface-2);border-color:var(--accent)}
.project-row .title-cover{flex:none;width:54px;height:74px;aspect-ratio:auto;border-radius:8px}
.project-row-body{display:grid;gap:6px;min-width:0;flex:1}
.project-row-body strong,.release-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.project-row-body small,.release-row small{color:var(--muted);font-size:12px}
.project-row>svg,.release-row>svg:last-child{color:var(--muted);flex:none}
.home-latest{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface-1)}
.release-row{display:flex;align-items:center;gap:14px;min-height:70px;padding:12px 18px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none;transition:background .16s}
.release-row:last-child{border-bottom:0}
.release-row>svg:first-child{color:var(--accent);flex:none}
.release-row>span{display:grid;gap:5px;min-width:0;flex:1}
.title-card .title-cover{transition:border-color .18s,transform .18s}
.title-card a:hover .title-cover{transform:scale(1.008)}
.title-card-meta{display:grid;gap:3px}
.title-card-views{color:var(--accent)}
.mobile-nav{display:none}
.title-screen{max-width:1080px}
.title-back{margin-bottom:20px}
.title-hero{grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:30px;padding:24px;border-radius:24px}
.title-hero>.title-cover{align-self:start}
.title-hero-content{min-width:0}
.title-kicker{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}
.status-pill{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:7px;background:rgba(105,169,255,.13);color:var(--accent);font-size:12px;font-weight:600}
.title-hero h1{margin:14px 0 7px!important;font-size:clamp(26px,4vw,40px)!important;letter-spacing:-.035em}
.alternative-title{margin:0 0 12px!important;color:var(--muted);font-size:13px}
.title-facts{display:flex;flex-wrap:wrap;gap:6px 14px;margin:16px 0;color:var(--muted);font-size:13px}
.title-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:22px 0}
.title-actions .primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:11px;text-decoration:none;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.title-actions .primary-button:hover,.admin-actions .primary-button:hover{background:#8bbdff}
.secondary-button{background:var(--surface-2);border-color:var(--line);color:var(--text)}
.secondary-button:hover,.icon-button:hover{background:var(--surface-3);border-color:var(--accent)}
.secondary-button[aria-pressed=true]{background:rgba(105,169,255,.13);color:var(--accent)}
.icon-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--text);transition:background .16s,border-color .16s}
.title-description{margin:0!important;line-height:1.65!important;white-space:pre-line;color:var(--muted)}
.title-description.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.expand-button{margin:7px 0 0;padding:0;border:0;background:none;color:var(--accent);font-size:13px}
.title-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}
.title-tag{padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--muted);font-size:12px}
.title-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface-1)}
.title-stat{display:grid;gap:4px;padding:16px 20px;border-right:1px solid var(--line)}
.title-stat:last-child{border-right:0}.title-stat svg{color:var(--accent)}.title-stat strong{font-size:18px}.title-stat small{color:var(--muted);font-size:11px}
.title-tabs{display:flex;gap:24px;margin-top:28px;border-bottom:1px solid var(--line)}
.title-tab{position:relative;padding:13px 0;border:0;background:none;color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap}
.title-tab[aria-selected=true]{color:var(--text)}.title-tab[aria-selected=true]:after{position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent);content:""}
.title-panels{padding-top:22px}.title-panel{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface-1)}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.panel-heading h2,.title-panel>h2{margin:0!important;font-size:18px!important}
.koma-select,.admin-card select,.admin-card input:not([type=checkbox]):not([type=file]),.admin-card textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--text);font:inherit;font-size:13px;outline-offset:2px}
.koma-select{width:auto;min-width:150px}
.chapter-list{overflow:hidden;border-top:1px solid var(--line)}
.chapter-row{display:flex;align-items:center;gap:15px;min-height:66px;padding:10px 8px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none;transition:background .16s}
.chapter-row:last-child{border-bottom:0}.chapter-row:hover{background:var(--surface-2)}
.chapter-number{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;background:var(--surface-2);color:var(--accent);font-size:14px;font-weight:700}
.chapter-row-meta{display:grid;gap:5px;min-width:0;flex:1}.chapter-row-meta strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapter-row-meta small{color:var(--muted);font-size:12px}
.chapter-row>svg{color:var(--muted);flex:none}
.title-details{display:grid;grid-template-columns:minmax(120px,220px) 1fr;gap:0;margin:18px 0 0}.title-details dt,.title-details dd{margin:0;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.title-details dt{color:var(--muted)}.title-details dd{color:var(--text)}
.related-titles{margin-top:28px}.related-titles h2{font-size:20px!important}
.empty-panel{grid-column:1/-1;display:grid;justify-items:center;gap:9px;padding:52px 20px;border:1px solid var(--line);border-radius:20px;background:var(--surface-1);text-align:center}.empty-panel svg{color:var(--accent)}.empty-panel h2{margin:0!important}.empty-panel p{max-width:360px;margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.5}
.admin-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;margin-top:28px}
.admin-screen.is-locked .admin-layout{display:none}
.admin-screen[aria-busy=true] .admin-layout{display:none}
.admin-loading{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface-1);color:var(--muted);font-size:13px}
.admin-card{display:grid;gap:16px;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--surface-1)}
.admin-card-head h2{margin:0!important;font-size:20px!important}.admin-card-head p{margin:5px 0 0;color:var(--muted);font-size:13px}
.admin-card label{display:grid;gap:7px;color:var(--text);font-size:12px;font-weight:600}
.admin-card .check-row{display:flex;align-items:center;gap:9px}.admin-card textarea{resize:vertical;line-height:1.5}.admin-card input::placeholder,.admin-card textarea::placeholder{color:var(--muted)}
.admin-fields-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-cover{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2)}
.admin-cover-preview{display:grid;place-items:center;aspect-ratio:2/3;overflow:hidden;border-radius:10px;background:var(--surface-3);color:var(--muted);font-size:11px;text-align:center;padding:7px}
.admin-cover-preview img{width:100%;height:100%;object-fit:cover}.admin-cover>div:last-child{min-width:0}.admin-cover strong{font-size:14px}.admin-cover p,.field-help{color:var(--muted);font-size:12px;line-height:1.45}.admin-cover .secondary-button{display:inline-flex;margin:4px 0 10px}.admin-cover label:last-child{margin-top:4px}
.admin-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:16px}.admin-actions p{margin:0;color:var(--accent);font-size:12px}.admin-actions p[data-error=true]{color:#ff8787}.admin-actions button:disabled{opacity:.55}
.admin-chapter-picker{display:flex;align-items:end;gap:10px}.admin-chapter-picker label{flex:1;min-width:0}.admin-chapter-picker>.secondary-button{min-height:42px;white-space:nowrap}
.admin-chapter-page-list{display:grid;gap:8px;max-height:360px;overflow:auto}.admin-chapter-page-list>strong{font-size:12px;color:var(--muted)}.admin-chapter-page{display:flex;align-items:center;gap:11px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.admin-chapter-page img{width:48px;height:64px;flex:none;border-radius:6px;object-fit:cover;background:var(--surface-3)}.admin-chapter-page>div{display:grid;gap:4px;min-width:0;flex:1}.admin-chapter-page span{font-size:12px;font-weight:700}.admin-chapter-page small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}.admin-page-remove,.admin-danger-button{border:1px solid #874349;border-radius:9px;background:rgba(172,58,69,.1);color:#ff9292;cursor:pointer;font:inherit;font-size:12px;font-weight:650}.admin-page-remove{padding:8px 10px}.admin-danger-button{min-height:42px;padding:8px 12px}.admin-page-remove:hover,.admin-danger-button:hover{background:rgba(172,58,69,.22)}.admin-chapter-actions{display:flex;align-items:center;gap:8px}.admin-chapter-actions [hidden]{display:none}
@media(max-width:600px){.admin-chapter-picker{align-items:stretch;flex-direction:column}.admin-chapter-actions{width:100%;justify-content:flex-end}.admin-actions:has(.admin-chapter-actions){align-items:stretch;flex-direction:column}}
.reader-top-bar{background:var(--surface-1);border-radius:16px}.reader-controls{background:var(--surface-1)}
.reader-top-bar,.reader-controls,.reader-dialog{box-shadow:0 12px 32px #0005}
.reader-dialog[open]{animation:dialog-in .18s ease both}
.reader-scroll{padding-top:calc(86px + var(--safe-top))}
@keyframes page-enter{from{opacity:0;transform:translateY(8px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes dialog-in{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(max-width:1000px){.home-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){
 .site-header{height:calc(58px + var(--safe-top))}
 .catalog-content{padding-bottom:calc(100px + var(--safe-bottom))}
 .catalog-heading h1{font-size:30px}
 .featured-card{grid-template-columns:1fr;min-height:0}.featured-card>.title-cover{height:clamp(220px,58vw,330px)}.featured-info{padding:19px}.featured-info h2{margin:8px 0!important;font-size:23px!important}.featured-action{margin-top:17px}
 .home-cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.home-cards .title-card{flex:0 0 132px;scroll-snap-align:start}
 .home-projects{grid-template-columns:1fr}
 .mobile-nav{position:fixed;z-index:28;left:50%;right:auto;bottom:calc(14px + var(--safe-bottom));display:flex;align-items:center;justify-content:space-around;width:min(292px,calc(100vw - 40px));min-height:62px;padding:6px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:rgba(20,22,29,.84);box-shadow:0 8px 28px rgba(0,0,0,.24);backdrop-filter:blur(14px) saturate(135%);-webkit-backdrop-filter:blur(14px) saturate(135%);transform:translateX(-50%)}
 .mobile-nav a,.mobile-nav button{position:relative;display:grid;place-items:center;flex:1;min-width:0;min-height:48px;padding:0;border:0;border-radius:16px;background:none;color:var(--muted);text-decoration:none;-webkit-tap-highlight-color:transparent}
 .mobile-nav a:before,.mobile-nav button:before{position:absolute;inset:2px;border-radius:14px;background:rgba(82,145,255,.18);content:"";opacity:0;transform:scale(.82);transition:opacity .22s ease,transform .38s cubic-bezier(.2,.8,.28,1.22)}
 .mobile-nav a[aria-current=page]:before,.mobile-nav button[aria-current=page]:before{opacity:1;transform:scale(1)}
 .mobile-nav-icon{position:relative;display:grid;place-items:center;width:100%;height:100%;z-index:1}
 .mobile-nav svg{width:22px;height:22px;stroke-width:1.9;transition:transform .32s cubic-bezier(.2,.8,.28,1.22),color .18s ease}
 .mobile-nav [aria-current=page]{color:#75aaff}
 .mobile-nav [aria-current=page] svg{transform:scale(1.08);stroke-width:2.2}
 .mobile-nav #nav-notifications svg{transform:translateY(2px)}
 .mobile-nav #nav-notifications[aria-current=page] svg{transform:translateY(2px) scale(1.08)}
 .mobile-nav #nav-home[aria-current=page] svg{fill:currentColor}
 .mobile-nav .nav-notification-icon{position:relative}
 .mobile-nav .nav-notification-badge{position:absolute;top:50%;right:calc(50% - 17px);z-index:2;transform:translateY(-15px)}
 .title-hero{grid-template-columns:118px minmax(0,1fr);gap:15px;padding:14px;border-radius:18px}.title-hero h1{font-size:20px!important;margin:9px 0!important}.title-facts{margin:10px 0;font-size:11px}.title-actions{gap:6px;margin:14px 0}.title-actions .primary-button,.title-actions .secondary-button{min-height:38px;padding:8px 10px;font-size:11px}.title-description{font-size:12px!important}.title-tags{margin-top:12px}.title-tag{font-size:10px}
 .title-hero>.title-cover{width:118px}.title-stats{margin-top:12px}.title-stat{padding:12px 10px}.title-stat strong{font-size:15px}.title-stat small{font-size:10px}
 .title-tabs{margin-top:20px}.title-panel{padding:14px}.chapter-row{min-height:58px;gap:10px}.chapter-row-meta strong{font-size:12px}.panel-heading h2{font-size:16px!important}.koma-select{min-width:120px}
 .admin-layout{grid-template-columns:1fr}.admin-card{padding:17px}.admin-cover{grid-template-columns:100px minmax(0,1fr)}
 .reader-scroll{padding-top:calc(70px + var(--safe-top))}
 .reader-top-bar{top:calc(8px + var(--safe-top))}
}
@media(max-width:420px){.title-hero{grid-template-columns:1fr}.title-hero>.title-cover{width:150px}.title-actions .primary-button,.title-actions .secondary-button{font-size:12px}.admin-fields-two{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Telegram adaptation of the KOMA title, profile and catalog layouts. */
.catalog-search{display:flex;align-items:center;gap:11px;min-height:48px;margin-bottom:16px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-1);color:var(--muted);transition:border-color .16s,background .16s}
.catalog-search:focus-within{border-color:var(--accent);background:var(--surface-2)}
.catalog-search svg{flex:none}
.catalog-search input{flex:1;min-width:0;width:100%;height:46px;padding:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:16px;outline:0}
.catalog-search input::placeholder{color:var(--muted)}
.title-hero{border:0;border-radius:0;background:transparent;padding:0}
.title-hero>.title-cover{border-radius:18px}
.title-description{max-width:72ch}
.title-stats{max-width:600px;margin-top:28px;background:var(--surface-1)}
.title-tab,.profile-tab{cursor:pointer;transition:color .16s}
.title-panel{border:0;background:transparent;padding:0}
.title-panels{padding-top:24px}
.title-tabs{overflow-x:auto;scrollbar-width:none}
.title-tabs::-webkit-scrollbar{display:none}
.title-screen .title-back{margin-bottom:24px}
.profile-screen{max-width:1000px;margin:auto}
.profile-hero{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--surface-1)}
.profile-banner{position:relative;display:flex;align-items:center;justify-content:flex-end;height:180px;padding:26px;overflow:hidden;background:var(--surface-2);border-bottom:1px solid var(--line)}
.profile-banner-mark{color:#fff2;font-size:clamp(56px,12vw,150px);font-weight:800;letter-spacing:-.07em;line-height:1;user-select:none}
.profile-identity{display:flex;align-items:flex-start;gap:16px;min-height:140px;padding:0 24px 22px}
.profile-avatar{display:grid;place-items:center;flex:none;width:82px;height:82px;margin-top:-28px;overflow:hidden;border:4px solid var(--surface-1);border-radius:50%;background:var(--surface-3);color:var(--accent);font-size:32px;font-weight:700;z-index:1}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-identity-info{min-width:0;padding-top:18px}
.profile-identity-info h1{margin:0!important;font-size:26px!important;letter-spacing:-.025em}
.profile-identity-info p{margin:5px 0!important;color:var(--muted)}
.profile-identity-info small{display:block;margin-top:15px;color:var(--text);font-size:13px}
.profile-stats{display:flex;flex-wrap:wrap;gap:24px;padding:16px 24px;border-top:1px solid var(--line)}
.profile-stats>div{display:flex;align-items:baseline;gap:5px}.profile-stats strong{font-size:15px}.profile-stats span{color:var(--muted);font-size:12px}
.profile-tabs{display:flex;gap:25px;margin-top:20px;overflow-x:auto;border-bottom:1px solid var(--line);scrollbar-width:none}
.profile-tab{position:relative;flex:none;padding:14px 0;border:0;background:none;color:var(--muted);font-size:14px}
.profile-tab[aria-selected=true]{color:var(--text)}.profile-tab[aria-selected=true]:after{position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent);content:""}
.profile-panels{padding:24px 0}.profile-panel h2{margin:0 0 18px!important;font-size:19px!important}.profile-about{max-width:56ch;color:var(--muted);font-size:14px;line-height:1.6}
.profile-recent{display:flex;align-items:center;gap:15px;max-width:650px;padding:12px;border:1px solid var(--line);border-radius:15px;background:var(--surface-1);color:var(--text);text-decoration:none}
.profile-recent .title-cover{flex:none;width:54px;height:75px;aspect-ratio:auto;border-radius:8px}.profile-recent>span{display:grid;gap:7px;flex:1;min-width:0}.profile-recent small{color:var(--muted)}
.profile-achievements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-achievement{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-1)}
.profile-achievement.is-earned{border-color:rgba(105,169,255,.48);background:rgba(105,169,255,.09)}
.profile-achievement-mark{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:11px;background:var(--surface-2);color:var(--muted)}
.profile-achievement.is-earned .profile-achievement-mark{color:var(--accent)}
.profile-achievement>span:nth-child(2){display:grid;gap:4px;min-width:0}.profile-achievement strong{font-size:13px}.profile-achievement small{color:var(--muted);font-size:11px}.profile-achievement em{margin-left:auto;color:var(--muted);font-size:10px;font-style:normal}.profile-achievement.is-earned em{color:var(--accent)}
.profile-admin-link{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;margin:18px 0 0;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);text-decoration:none;font-size:13px;transition:background .18s ease,border-color .18s ease,transform .3s cubic-bezier(.2,.8,.28,1.2)}
.profile-admin-link:hover{border-color:var(--accent);background:var(--surface-3);transform:translateY(-1px)}
.profile-admin-link span{flex:1}
.title-panel:not([hidden]),.profile-panel:not([hidden]){animation:panel-enter .18s ease both}
.title-actions a:active,.title-actions button:active,.mobile-nav a:active,.admin-picker-option:active{transform:scale(.98)}
.profile-recent:hover{border-color:var(--accent);background:var(--surface-2)}
@keyframes panel-enter{from{opacity:.55}to{opacity:1}}
.catalog-content input,.catalog-content select,.catalog-content textarea,.reader-dialog input,.reader-dialog select,.reader-dialog textarea{font-size:16px!important}
.admin-picker{display:grid;gap:9px}.admin-picker>label{font-size:12px;font-weight:650}
.admin-picker>input[type=search]{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--text);outline:0}
.admin-picker>input[type=search]:focus{border-color:var(--accent)}
.admin-picker-selected,.admin-picker-options{display:flex;flex-wrap:wrap;gap:7px}
.admin-picker-selected:empty{display:none}
.admin-picker-option,.admin-selected-chip{min-height:33px;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2);color:var(--muted);font-size:12px;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.admin-picker-option:hover,.admin-selected-chip:hover{border-color:var(--accent);color:var(--text);background:var(--surface-3)}
.admin-selected-chip{border-color:var(--accent);background:rgba(105,169,255,.13);color:var(--accent)}
@media(max-width:767px){
 .site-header{display:none!important}
 .catalog-content{padding-top:calc(24px + env(safe-area-inset-top));padding-inline:16px}
 .telegram-mobile .catalog-content{padding-top:calc(max(102px,var(--telegram-content-top,0px)) + 18px)}
 .mobile-nav{display:flex;justify-content:space-around}
 .mobile-nav a,.mobile-nav button{width:100%}
 .keyboard-open .mobile-nav{visibility:hidden;pointer-events:none}
 .catalog-heading h1{font-size:28px!important;line-height:1.16}
 .catalog-search{margin-bottom:12px}
 .catalog-filters{margin-top:6px}
 .title-hero{grid-template-columns:1fr;gap:17px;padding:0}
 .title-hero>.title-cover{width:min(46vw,180px);border-radius:12px}
 .title-hero h1{font-size:22px!important;line-height:1.2}
 .title-stats{margin-top:20px}
 .title-panel{padding:0}
 .profile-banner{height:150px}.profile-identity{padding:0 16px 20px}.profile-avatar{width:76px;height:76px}.profile-identity-info h1{font-size:23px!important}.profile-stats{padding:14px 16px;gap:12px 20px}
 .profile-achievements{grid-template-columns:1fr}
 .telegram-mobile .reader-top-bar{top:calc(max(102px,var(--telegram-content-top,0px)) + 8px)}
 .telegram-mobile .reader-scroll{padding-top:calc(max(102px,var(--telegram-content-top,0px)) + 76px)}
}
@media(max-width:420px){.title-hero>.title-cover{width:min(48vw,170px)}.title-actions .secondary-button,.title-actions .primary-button{white-space:normal}}
