/* Exact clean-room command-page geometry from the supplied 1364×680 reference. */
.commands-route .preview-banner{display:none}
.commands-route .preview-banner~#public-shell{padding-top:0}
.commands-route .preview-banner~#public-shell .site-header{top:0}
.commands-route .site-header{top:0;height:48px;grid-template-columns:auto 1fr auto;gap:24px;padding:0 20px;background:#212121;border:0;box-shadow:0 3px 4px rgba(0,0,0,.22)}
.commands-route .site-header:before{content:'▦';position:absolute;right:68px;top:14px;color:#eee;font:700 17px/20px Arial,sans-serif}
.commands-route .site-header .brand-public{min-height:48px;font:700 16px/48px Arial,sans-serif;letter-spacing:0;color:#fff}
.commands-route .site-header .site-nav{display:flex;position:relative;justify-content:flex-start;align-items:center;gap:4px}
.commands-route .site-header .site-nav a{min-height:28px;height:28px;padding:0 13px;border:0;border-radius:14px;font:700 10px/28px Arial,sans-serif;letter-spacing:0;text-transform:uppercase;color:#ddd}
.commands-route .site-header .site-nav a:nth-child(1),.commands-route .site-header .site-nav a:nth-child(6){display:none}
.commands-route .site-header .site-nav a:nth-child(5){order:1}.commands-route .site-header .site-nav a:nth-child(2){order:2}.commands-route .site-header .site-nav a:nth-child(3){order:3}.commands-route .site-header .site-nav a:nth-child(4){order:4}
.commands-route .site-header .site-nav a.is-active{background:#424242;color:#fff}
.commands-route .site-header .menu-toggle{display:none}
.commands-route .site-header .header-login{display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:#5865f2;color:#fff;font-size:0}
.commands-route .site-header .header-login:after{content:'D';font:800 12px/1 Arial,sans-serif}
.commands-reference-page{--commands-width:877px;min-height:calc(100vh - 48px);padding:0 0 80px;background:#303030;color:#fff;font-family:Arial,sans-serif}
.commands-reference-shell{width:min(100%,var(--commands-width));margin:0;margin-left:calc((100vw - var(--commands-width))/2 - 5px);padding-top:23px}
.commands-reference-title{height:51px;margin:0;font:400 34px/42px Arial,sans-serif;letter-spacing:0;transform:translate(-1px,-5px) scaleX(1.115);transform-origin:left center}
.commands-toolbar{height:60px;display:grid;grid-template-columns:206px 1fr;gap:17px;align-items:start}
.commands-search input{width:206px;height:42px;min-height:42px;padding:0 14px 0 32px;border:0;border-radius:5px;background:#424242;color:#fff;outline:0;box-shadow:0 2px 3px rgba(0,0,0,.35)}
.commands-search{position:relative}.commands-search:before{content:'⌕';position:absolute;z-index:1;left:11px;top:8px;color:#c6c6c6}.commands-search input::placeholder{color:#c6c6c6;opacity:1}.commands-search input:focus{box-shadow:inset 0 0 0 2px #777,0 2px 3px rgba(0,0,0,.35)}.commands-search input:focus-visible{outline:2px solid #ddd;outline-offset:2px}
.commands-language{height:42px;display:flex;justify-content:flex-end;align-items:center;gap:8px;color:#c6c6c6;font-size:12px}
.language-segments{display:grid;grid-template-columns:48px 48px;height:42px;border-radius:6px;overflow:hidden;box-shadow:0 2px 3px rgba(0,0,0,.28)}.language-segments button{display:grid;place-items:center;min-height:42px;padding:0;border:0;border-radius:0;background:#424242;color:#fff;font-size:10px;font-weight:700;cursor:pointer}.language-segments button.is-active{background:#595959;color:#fff}.language-segments button:focus-visible{position:relative;z-index:1;outline:2px solid #fff;outline-offset:-3px}
.commands-reference-page .command-layout{display:grid;grid-template-columns:206px 1fr;gap:17px;align-items:start}
.commands-reference-page .command-controls{position:static;display:block;padding:0;background:transparent;border:0}
#public-command-categories{display:grid;padding:8px 6px;border-radius:5px;background:#424242;box-shadow:0 2px 3px rgba(0,0,0,.36)}
.command-category-button{height:33px;min-height:33px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;padding:0 14px 0 7px;border:0;border-radius:6px;background:#424242;color:#fff;text-align:left;font-size:12px;cursor:pointer}.command-category-button:before{content:'';width:24px;height:18px;background-position:center;background-repeat:no-repeat;background-size:16px 16px}.command-category-button[data-category="all"]:before{background-image:url('/assets/icons/commands/list.svg')}.command-category-button[data-category="Информация"]:before{background-image:url('/assets/icons/commands/info.svg')}.command-category-button[data-category="Модерирование"]:before{background-image:url('/assets/icons/commands/shield.svg')}.command-category-button[data-category="Рейтинг"]:before{background-image:url('/assets/icons/commands/trophy.svg')}.command-category-button[data-category="Музыка"]:before{background-image:url('/assets/icons/commands/music.svg')}.command-category-button[data-category="Весёлое"]:before{background-image:url('/assets/icons/commands/smile.svg')}.command-category-button[data-category="Утилиты"]:before{background-image:url('/assets/icons/commands/wrench.svg')}
.command-category-button b{display:grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border-radius:999px;background:#6d6d6d;color:#fff;font-size:10px;font-weight:400}.command-category-button:hover,.command-category-button.is-active{background:#595959}.command-category-button:focus-visible{outline:2px solid #ddd;outline-offset:-2px}
.commands-reference-page #public-command-category,.commands-reference-page #public-command-access{position:absolute;width:1px;height:1px;min-height:1px;clip:rect(0 0 0 0);overflow:hidden}
.commands-reference-page .result-count{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);overflow:hidden}
.commands-reference-page .access-guide{min-height:42px;margin-top:14px;padding:0 20px;border:0;border-radius:5px;display:flex;align-items:center;background:#424242;color:#fff;font-size:12px;box-shadow:0 2px 3px rgba(0,0,0,.36)}.commands-reference-page .access-guide:before{content:'i';display:grid;place-items:center;width:15px;height:15px;margin-right:8px;border-radius:50%;background:#9e9e9e;color:#555;font:700 10px/1 Arial,sans-serif}.commands-reference-page .access-guide b{font-weight:400;text-transform:none;letter-spacing:0}.commands-reference-page .access-guide p{display:none}
.commands-reference-page .command-list{border:0;border-radius:5px;overflow:hidden;padding-top:6px;background:#424242;min-width:0;box-shadow:0 2px 3px rgba(0,0,0,.32)}
.commands-reference-page .command-row{height:43px;min-height:43px;display:grid;grid-template-columns:15px minmax(0,1fr) 15px;column-gap:14px;align-items:center;padding:0 18px;border:0;border-bottom:1px solid #595959;background:#424242}.commands-reference-page .command-row:hover{background:#484848}.commands-reference-page .command-row:after{grid-column:3;justify-self:center;width:8px;height:10px;transform:translateX(-9px)}.commands-reference-page .command-row[data-category="Модерирование"]:after{content:'';color:#ffbb2f;background:url('/assets/icons/commands/role-shield.svg') center/8px 10px no-repeat}
.command-reference-icon{width:16px;height:15px;display:grid;place-items:center;transform:translateX(1px);background:url('/assets/icons/commands/info.svg') center/15px 15px no-repeat}.command-reference-copy{min-width:0}.commands-reference-copy p{margin:0!important;color:#eee!important;font-size:13px;line-height:42px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-reference-copy strong{display:inline-block;padding:0 9px;border-radius:8px;background:#3c3c3c;color:#fff;font-size:9px;font-weight:400;line-height:20px;vertical-align:middle}.commands-reference-title,.commands-search,.commands-language,.command-category-button,.command-reference-copy,.commands-reference-page .access-guide{filter:grayscale(1)}.command-reference-copy small,.commands-reference-page .command-cues{display:none}.commands-reference-page .empty-state{padding:18px;margin:0;color:#ddd}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.commands-route .site-header{height:48px;padding:0 16px;grid-template-columns:auto 1fr}.commands-route .site-header:before,.commands-route .site-header .header-login{display:none}.commands-route .site-header .site-nav{display:none}.commands-route .site-header .site-nav.is-open{display:grid;top:47px}.commands-route .site-header .menu-toggle{display:grid;min-height:44px}.commands-reference-page{padding:0 12px 48px}.commands-reference-shell{width:100%;margin:0;padding-top:14px}.commands-reference-title{font-size:30px}.commands-toolbar{height:auto;grid-template-columns:minmax(180px,1fr) auto;gap:8px;margin-bottom:10px}.commands-search input{width:100%;height:44px;min-height:44px}.commands-language{gap:6px}.commands-language>span:first-child{display:none}.language-segments{grid-template-columns:44px 44px;height:44px}.language-segments button{min-height:44px}.commands-reference-page .command-layout{display:block}.commands-reference-page .command-controls{margin-bottom:10px;overflow-x:auto}.commands-reference-page #public-command-categories{display:flex;width:max-content;padding:5px}.command-category-button{height:44px;min-height:44px;min-width:max-content;grid-template-columns:20px auto auto;column-gap:6px}.commands-reference-page .access-guide{display:none}.commands-reference-page .command-list{min-width:0}.commands-reference-page .command-row{height:auto;min-height:56px}.command-reference-copy p{line-height:18px;white-space:normal;padding:8px 0}}
