:root {
    --bg: #EDEEF0;
    --card: #FFFFFF;
    --line: #E7E8EC;
    --line-strong: #DCE1E6;
    --text: #1F2023;
    --muted: #818C99;
    --link: #2E3136;
    --head: #2F3033;
    --head-2: #3A3A3A;
    --accent: #B01E1E;
    --accent-2: #D23A3A;
    --hover: #F0F2F5;
    --radius: 10px;
    --width: 1000px;
    --side: 168px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html.theme-modern, .theme-modern body { background: var(--bg) !important; }
.theme-modern body { margin: 0; color: var(--text); font: 13px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
.theme-modern font[face] { font-family: inherit; }
.theme-modern font[size="1"] { font-size: 11.5px; }
.theme-modern font[size="2"] { font-size: 13px; }
.theme-modern font[size="3"] { font-size: 14px; }
.theme-modern font[size="4"] { font-size: 17px; }
.theme-modern a, .theme-modern a:visited { color: var(--link); text-decoration: none; }
.theme-modern #main-content a:hover { color: var(--accent); text-decoration: underline; }
.theme-modern #main-content b a, .theme-modern #main-content a b { font-weight: 600; }
.theme-modern h1, .theme-modern h2, .theme-modern h3 { font-weight: 600; color: var(--text); }
.theme-modern h2 { font-size: 17px; margin: 0 0 10px 0; }
.theme-modern h3 { font-size: 14.5px; margin: 6px 0 8px 0; }
.theme-modern hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

.theme-modern #ap-header-wrap { position: sticky; top: 0; z-index: 600; }
.theme-modern #mh-bar { background: var(--head); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.theme-modern .mh-inner { max-width: var(--width); margin: 0 auto; height: 48px; display: flex; align-items: center; gap: 10px;
    padding: 0 14px; box-sizing: border-box; }
.theme-modern .mh-logo { display: inline-flex; flex-direction: column; line-height: 1; width: calc(var(--side) - 14px); flex-shrink: 0;
    text-decoration: none !important; }
.theme-modern .mh-logo b { color: #FFFFFF; font: 800 21px/1 var(--font); letter-spacing: -0.5px; }
.theme-modern .mh-logo i { color: var(--accent-2); font: italic 700 11px/1 Georgia, "Times New Roman", serif; letter-spacing: 1px;
    margin: 1px 0 0 30px; }
.theme-modern .mh-search { position: relative; margin: 0; flex: 0 1 230px; }
.theme-modern .mh-search .hue-ico { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #A9ADB3; }
.theme-modern .mh-search input { width: 100%; height: 30px; box-sizing: border-box; border: 0; border-radius: 15px; padding: 0 12px 0 30px;
    background: #4A4B50; color: #FFFFFF; font: 13px var(--font); outline: none; transition: background 0.15s; }
.theme-modern .mh-search input::placeholder { color: #A9ADB3; }
.theme-modern .mh-search input:focus { background: #FFFFFF; color: var(--text); }
.theme-modern .mh-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 48px;
    color: #C9CCD1 !important; text-decoration: none !important; }
.theme-modern .mh-btn:hover, .theme-modern .mh-btn.open { color: #FFFFFF !important; background: rgba(255, 255, 255, 0.06); }
.theme-modern .mh-btn .hue-ico { width: 21px; height: 21px; }
.theme-modern #mh-bell-badge .hue-badge { position: absolute; top: 8px; right: 3px; }
.theme-modern #mh-now { color: #C9CCD1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px;
    cursor: pointer; }
.theme-modern #mh-now:hover { color: #FFFFFF; }
.theme-modern .mh-user { margin-left: auto; position: relative; flex-shrink: 0; display: flex; align-items: center; height: 48px; }
.theme-modern .mh-user-mark { display: inline-flex; align-items: center; margin: 0 2px 0 -4px; }
.theme-modern .mh-user-name-btn { padding-right: 8px; }
.theme-modern .mh-user-av-btn { padding-left: 2px; }
.theme-modern .mh-user-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 10px;
    color: #FFFFFF !important; text-decoration: none !important; font-weight: 600; }
.theme-modern .mh-user-btn:hover { background: rgba(255, 255, 255, 0.06); }
.theme-modern .mh-user-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .mh-user-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #5A5B60; display: inline-block; }
.theme-modern .mh-caret { color: #A9ADB3; font-size: 10px; }

.theme-modern .mh-drop { display: none; position: absolute; background: var(--card); border-radius: 8px; z-index: 700;
    box-shadow: 0 0 0 1px var(--line-strong), 0 8px 24px rgba(0, 0, 0, 0.18); }
.theme-modern .mh-drop.open { display: block; }
.theme-modern #mh-user-menu { right: 0; top: calc(100% + 4px); min-width: 190px; padding: 6px 0; }
.theme-modern #mh-user-menu a { display: block; padding: 8px 16px; color: var(--text) !important; text-decoration: none !important; }
.theme-modern #mh-user-menu a:hover { background: var(--hover); }
.theme-modern .mh-drop-sep { height: 1px; background: var(--line); margin: 6px 0; }
.theme-modern #mh-notif { left: 50%; transform: translateX(-30%); top: 52px; width: 470px; max-width: calc(100vw - 24px); }
.theme-modern .mh-notif-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px;
    border-bottom: 1px solid var(--line); }
.theme-modern .mh-notif-head a { font-size: 12.5px; color: var(--muted) !important; }
.theme-modern #mh-notif-list { max-height: 420px; overflow-y: auto; }
.theme-modern .mh-notif-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text) !important;
    text-decoration: none !important; }
.theme-modern .mh-notif-item:hover { background: var(--hover); }
.theme-modern .mh-notif-item.unread { background: #FBF3F3; }
.theme-modern .mh-notif-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #E1E3E6; display: block; }
.theme-modern .mh-notif-text { font-size: 13px; line-height: 1.4; min-width: 0; word-wrap: break-word; overflow-wrap: anywhere; }
.theme-modern .mh-notif-empty { padding: 28px 16px; text-align: center; color: var(--muted); }

.theme-modern #ap-panel { top: 100% !important; left: 50% !important; transform: translateX(-50%); width: 760px !important;
    max-width: calc(100vw - 16px) !important; border: 0 !important; border-radius: 0 0 10px 10px; overflow: hidden;
    box-shadow: 0 0 0 1px var(--line-strong), 0 12px 32px rgba(0, 0, 0, 0.2) !important; }
.theme-modern #ap-panel > table > tbody > tr[bgcolor] { background: var(--card); }
.theme-modern #ap-panel > table > tbody > tr > td { border-color: var(--line) !important; }
.theme-modern #ap-panel .ap-sections-cell { background: #FAFBFC; }
.theme-modern #ap-controls.ap-in-panel { padding: 12px 16px; background: #F7F8FA; border-bottom: 1px solid var(--line); }
.theme-modern #ap-controls-table { width: 100% !important; }
.theme-modern #ap-controls .ap-note { display: none; }
.theme-modern #ap-controls font { color: var(--muted) !important; }
.theme-modern #ap-controls #ap-title, .theme-modern #ap-controls .ap-title-cell font { color: var(--text) !important; font-size: 13px; }
.theme-modern #ap-toggle { width: 34px !important; height: 34px; line-height: 34px; border-radius: 50%; background: var(--head-2);
    display: inline-flex !important; align-items: center; justify-content: center; vertical-align: middle; margin: 0 4px; }
.theme-modern #ap-toggle font { color: #FFFFFF !important; font-size: 13px; }
.theme-modern #ap-repeat font[color="#FFFFFF"], .theme-modern #ap-shuffle font[color="#FFFFFF"] { color: var(--accent) !important; }
.theme-modern #ap-controls .ap-seek-row td { padding-top: 6px !important; }
.theme-modern #ap-seek, .theme-modern #ap-vol { accent-color: var(--accent); }

.theme-modern #huevo-layout { display: block; max-width: var(--width); margin: 0 auto; padding: 0 14px; box-sizing: border-box;
    border-spacing: 0; }
.theme-modern #huevo-layout > tbody { display: block; }
.theme-modern #huevo-layout > tbody > tr { display: flex; align-items: flex-start; gap: 16px; }
.theme-modern #sidebar-cell { flex: 0 0 var(--side); width: var(--side) !important; padding: 14px 0 0 0 !important;
    position: sticky; top: 48px; box-sizing: border-box; }
.theme-modern #main-content { flex: 1 1 auto; min-width: 0; width: auto !important; padding: 14px 0 30px 0 !important; }

.theme-modern #sidebar-nav { border-spacing: 0; }
.theme-modern #sidebar-nav td { padding: 0 !important; }
.theme-modern #sidebar-nav td > a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px;
    color: var(--text) !important; text-decoration: none !important; font-size: 13px; }
.theme-modern #sidebar-nav td > a:hover { background: #E1E3E6; }
.theme-modern #sidebar-nav td > a.active { background: #E1E3E6; font-weight: 600; }
.theme-modern #sidebar-nav .hue-ico { color: #7E848C; width: 19px; height: 19px; flex-basis: 19px; }
.theme-modern #sidebar-nav td > a.active .hue-ico { color: var(--accent); }
.theme-modern #sidebar-nav hr { margin: 7px 8px; border-top-color: #D7D9DD; }
.theme-modern #sidebar-nav .hue-nav-admin font { color: var(--accent) !important; }
.theme-modern #sidebar-nav .hue-nav-admin b { font-weight: 700; }
.theme-modern #sidebar-nav td > a > span[id] { margin-left: auto; }
.theme-modern #sidebar-ad { border-top-color: #D7D9DD !important; margin: 12px 0 0 0 !important; }

.theme-modern .hue-badge { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px;
    background: #E0262B; color: #FFFFFF !important; font: 700 11px/18px var(--font); text-align: center; }
.theme-modern .hue-badge::before, .theme-modern .hue-badge::after { content: none; }
.theme-modern .hue-badge.plus::before { content: '+'; }

.theme-modern #main-content table[border="1"] { border: 0 !important; border-collapse: separate !important; border-spacing: 0;
    background-color: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(0, 0, 0, 0.03); }
.theme-modern #main-content table[border="1"] > tbody > tr > td,
.theme-modern #main-content table[border="1"] > tbody > tr > th,
.theme-modern #main-content table[border="1"] > tr > td { border: 0 !important; }
.theme-modern #main-content table[border="1"] > tbody > tr + tr > td,
.theme-modern #main-content table[border="1"] > tbody > tr + tr > th { border-top: 1px solid var(--line) !important; }
.theme-modern #main-content table[border="1"] table[border="1"] { box-shadow: 0 0 0 1px var(--line); }
.theme-modern #main-content table[border="1"] > tbody > tr:first-child > td:first-child { border-top-left-radius: var(--radius); }
.theme-modern #main-content table[border="1"] > tbody > tr:first-child > td:last-child { border-top-right-radius: var(--radius); }
.theme-modern #main-content table[border="1"] > tbody > tr:last-child > td:first-child { border-bottom-left-radius: var(--radius); }
.theme-modern #main-content table[border="1"] > tbody > tr:last-child > td:last-child { border-bottom-right-radius: var(--radius); }
.theme-modern #main-content [bgcolor="#F7F7F7"], .theme-modern #main-content [bgcolor="#F0F0F0"],
.theme-modern #main-content [bgcolor="#E6E6E6"], .theme-modern #main-content [bgcolor="#CCCCCC"] { background-color: #F7F8FA; }

.theme-modern #main-content td[bgcolor="#3A3A3A"], .theme-modern #main-content tr[bgcolor="#3A3A3A"] > td {
    background: var(--head-2); border-radius: var(--radius) var(--radius) 0 0; padding: 11px 16px !important; }
.theme-modern #main-content table[border="0"] > tbody > tr > td[bgcolor="#3A3A3A"]:only-child { border-radius: var(--radius); }
.theme-modern #main-content td[bgcolor="#3A3A3A"] b { font-weight: 600; font-size: 14px; }

.theme-modern #main-content table[data-post-card] { margin-bottom: 12px !important; }
.theme-modern #main-content table[data-post-card] > tbody > tr > td { padding: 14px 18px !important; }
.theme-modern #main-content table[data-post-card] tr.post-row > td:first-child { background: transparent !important; }
.theme-modern #main-content tr.post-row { display: block; }
.theme-modern #main-content tr.post-row > td { display: block; width: auto !important; border: 0 !important; box-sizing: border-box; }
.theme-modern #main-content tr.post-row > td:first-child { display: flow-root; background: transparent !important;
    padding-bottom: 2px !important; line-height: 1.35; }
.theme-modern #main-content tr.post-row > td:first-child > img { float: left; width: 46px !important; height: 46px !important;
    margin: 0 12px 0 0; }
.theme-modern #main-content tr.post-row > td:first-child > img + br { display: none; }
.theme-modern #main-content tr.post-row > td:first-child small, .theme-modern #main-content tr.post-row > td:first-child font[size="1"] {
    color: var(--muted) !important; font-size: 12px; }
.theme-modern #main-content tr.post-row > td:first-child font[color="green"] { font-size: 11.5px; color: #4A8B4A !important; }
.theme-modern #main-content tr.post-row > td + td { padding-top: 6px !important; }
.theme-modern #main-content tr.post-row + tr > td { border-top: 1px solid var(--line) !important; }
.theme-modern .hue-more-comments { background: #F7F8FA !important; border-color: var(--line) !important; }
.theme-modern .hue-more-comments a { color: var(--muted) !important; }

.theme-modern input[type="submit"], .theme-modern input[type="button"], .theme-modern button {
    font: 600 12.5px/1.2 var(--font); padding: 7px 14px; border-radius: 6px; border: 0; cursor: pointer;
    background-color: #E5E7EB; color: #2E3136; transition: background-color 0.12s; }
.theme-modern input[type="submit"]:hover, .theme-modern input[type="button"]:hover, .theme-modern button:hover { background-color: #DADDE2; }
.theme-modern input[type="submit"][value^="Опубликовать"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Отправить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Сохранить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Создать"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Ответить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Войти"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Зарегистрироваться"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Включить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Применить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Купить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Подарить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Найти"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Пригласить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Загрузить"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Прислать"]:not([style*="background"]),
.theme-modern input[type="submit"][value^="Добавить"]:not([style*="background"]),
.theme-modern #main-content button.hue-primary { background-color: var(--head-2); color: #FFFFFF; }
.theme-modern input[type="submit"][value^="Опубликовать"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Отправить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Сохранить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Создать"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Ответить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Войти"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Зарегистрироваться"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Включить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Применить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Купить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Подарить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Найти"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Пригласить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Загрузить"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Прислать"]:not([style*="background"]):hover,
.theme-modern input[type="submit"][value^="Добавить"]:not([style*="background"]):hover { background-color: #4D4D4D; }
.theme-modern input[type="text"], .theme-modern input[type="password"], .theme-modern input[type="email"], .theme-modern input[type="number"],
.theme-modern input[type="search"], .theme-modern textarea, .theme-modern select {
    font: 13px/1.4 var(--font); border: 1px solid #D3D9DE; border-radius: 6px; padding: 6px 9px; background: #FFFFFF; color: var(--text);
    box-sizing: border-box; outline: none; }
.theme-modern input[type="text"]:focus, .theme-modern input[type="password"]:focus, .theme-modern input[type="email"]:focus,
.theme-modern textarea:focus, .theme-modern select:focus { border-color: #9EA4AB; box-shadow: 0 0 0 2px rgba(58, 58, 58, 0.08); }
.theme-modern .mh-search input[type="text"] { border: 0; padding-left: 30px; }
.theme-modern input[type="checkbox"], .theme-modern input[type="radio"], .theme-modern input[type="range"] { accent-color: var(--accent); }
.theme-modern details > summary { color: var(--link); }

.theme-modern img.hue-av { border-radius: 50% !important; object-fit: cover !important; border: 0 !important; background: #E1E3E6; }
.theme-modern img.hue-av-main { border-radius: 8px !important; object-fit: contain !important; width: 200px !important; max-width: 100%;
    border: 0 !important; background: transparent; }

.theme-modern #chat-box { border: 0 !important; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-strong); background: #FFFFFF; }
.theme-modern #chat-box > div > div[id^="msg-"] { border-radius: 8px !important; }
.theme-modern .hue-gift-card { border-radius: 10px; }
.theme-modern .hue-link-card { border-radius: 0 8px 8px 0; background: #F5F6F8; }
.theme-modern [data-row-href]:hover { background-color: var(--hover); }

.theme-modern #custom-modal > div { border-radius: 12px !important; font-family: var(--font) !important; }
.theme-modern [id$="-modal"] > table, .theme-modern #audio-picker > table, .theme-modern #video-picker > table {
    border-radius: 12px; overflow: hidden; border: 0 !important; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }

.theme-modern .hue-popup { border-radius: 10px; }
.theme-modern .hue-popup-av { border-radius: 50%; }

@media (max-width: 700px) {
    .theme-modern .mh-inner { height: 48px; padding: 0 6px 0 12px; gap: 2px; }
    .theme-modern .mh-logo { width: auto; margin-right: auto; }
    .theme-modern .mh-search, .theme-modern #mh-now, .theme-modern .mh-user-name, .theme-modern .mh-caret { display: none; }
    .theme-modern .mh-user { margin-left: 0; }
    .theme-modern .mh-user-name-btn, .theme-modern .mh-user-mark { display: none; }
    .theme-modern .mh-user-btn { padding: 0 6px; }
    .theme-modern #topbar-user { display: flex !important; }
    .theme-modern #mh-notif { position: fixed; left: 8px; right: 8px; width: auto; transform: none; top: 52px; }
    .theme-modern #mh-notif-list { max-height: calc(100vh - 190px); }
    .theme-modern #ap-panel { transform: none; border-radius: 0 0 12px 12px; left: 0 !important; right: 0 !important; top: var(--hue-top, 48px) !important;
        width: auto !important; max-width: none !important; }
    .theme-modern #ap-controls.ap-in-panel .ap-time-cell, .theme-modern #ap-controls.ap-in-panel .ap-modes-cell,
    .theme-modern #ap-controls.ap-in-panel .ap-seek-row { display: table-cell; }
    .theme-modern #ap-controls.ap-in-panel .ap-seek-row { display: table-row; }
    .theme-modern #huevo-layout { padding: 0; }
    .theme-modern #huevo-layout > tbody > tr { display: block; }
    .theme-modern #main-content { padding: 8px 8px 16px 8px !important; }
    .theme-modern #main-content table[border="1"] { border-radius: 12px; }
    .theme-modern #main-content table[data-post-card] > tbody > tr > td { padding: 12px 12px !important; }
    .theme-modern #sidebar-cell.menu-open { position: fixed; top: var(--hue-top, 48px); left: 0; right: 0; width: auto !important;
        flex: none; padding: 0 0 12px 0 !important; }
    .theme-modern #sidebar-nav td > a { border-radius: 0; padding: 12px 18px; font-size: 15px; gap: 14px; }
    .theme-modern #sidebar-nav .hue-ico { width: 21px; height: 21px; flex-basis: 21px; }
    .theme-modern #sidebar-nav hr { display: none; }
    .theme-modern #hue-tabbar { border-top-color: var(--line-strong); }
    .theme-modern img.hue-av-main { width: 160px !important; display: block; margin: 0 auto; }
    .theme-modern #chat-box { height: calc(100vh - 330px) !important; max-height: none !important; min-height: 300px; }
}

.theme-modern .vk-page { display: flex; align-items: flex-start; gap: 14px; }
.theme-modern .vk-main { flex: 1 1 auto; min-width: 0; }
.theme-modern .vk-right { order: 2; flex: 0 0 230px; position: sticky; top: 62px; min-width: 0; }
.theme-modern .vk-left { flex: 0 0 230px; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 701px) {
    .theme-modern .vk-left { max-width: 230px; }
    .theme-modern .vk-profile > .vk-left { flex: 0 0 230px !important; width: 230px !important; max-width: 230px !important; min-width: 0 !important; }
    .theme-modern .vk-profile > .vk-left > * { max-width: 100%; box-sizing: border-box; }
    .theme-modern .vk-profile > .vk-left .vk-ava-box, .theme-modern .vk-profile > .vk-left .vk-ava { max-width: 100% !important; }
    .theme-modern .vk-profile > .vk-main { flex: 1 1 0; min-width: 0; }
}
.theme-modern .vk-card { background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-strong), 0 1px 2px rgba(0, 0, 0, 0.03);
    margin-bottom: 12px; box-sizing: border-box; }
.theme-modern .vk-card-title { display: flex; align-items: center; gap: 6px; padding: 14px 20px; font-size: 16px; font-weight: 500;
    border-bottom: 1px solid var(--line); background: #FAFBFC; border-radius: var(--radius) var(--radius) 0 0; }
.theme-modern .vk-card-title .vk-title-btn { margin-left: auto; }
.theme-modern .vk-count { color: var(--muted); font-weight: 400; margin-left: 4px; }
.theme-modern .vk-muted { color: var(--muted); }
.theme-modern .vk-empty { padding: 30px 20px; text-align: center; color: var(--muted); }
.theme-modern .vk-error-line { padding: 10px 20px; color: #A94442; background: #FFF4F4; }
.theme-modern .vk-card-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px 16px;
    font-weight: 500; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .vk-card-head.vk-sep { border-top: 1px solid var(--line); padding-top: 12px; }
.theme-modern .vk-head-link { font-size: 12.5px; font-weight: 400; color: var(--muted) !important; }
.theme-modern .vk-name { font-weight: 600; color: var(--link) !important; }
.theme-modern .vk-link { color: var(--accent) !important; font-size: 12.5px; }
.theme-modern .vk-text { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.5; }

.theme-modern .vk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 14px;
    border-radius: 6px; background: #E5E7EB; color: #2E3136 !important; font: 600 12.5px var(--font); text-decoration: none !important;
    box-sizing: border-box; border: 0; cursor: pointer; white-space: nowrap; }
.theme-modern .vk-btn:hover { background: #DADDE2; }
.theme-modern .vk-btn-primary { background: var(--head-2); color: #FFFFFF !important; }
.theme-modern .vk-btn-primary:hover { background: #4D4D4D; }
.theme-modern .vk-btn-wide { width: 100%; }
.theme-modern .vk-btn-icon { padding: 0 10px; }
.theme-modern .vk-btn .hue-ico { width: 16px; height: 16px; }
.theme-modern .vk-btn-row { display: flex; gap: 6px; margin-top: 6px; }
.theme-modern .vk-grow { flex: 1 1 auto; }
.theme-modern .vk-sublink { display: block; text-align: center; margin-top: 8px; font-size: 12px; color: var(--muted) !important; }

.theme-modern .vk-menu { position: relative; display: inline-block; }
.theme-modern .vk-menu-btn { color: #A0A6AD !important; text-decoration: none !important; font-weight: 700; letter-spacing: 1px; padding: 2px 6px; border-radius: 6px; }
.theme-modern .vk-menu-btn:hover { background: var(--hover); color: var(--text) !important; }
.theme-modern .vk-btn.vk-menu-btn { color: #2E3136 !important; height: 32px; }
.theme-modern .vk-menu-list { display: none; position: absolute; right: 0; top: calc(100% + 4px); z-index: 400; min-width: 210px; padding: 6px 0;
    background: var(--card); border-radius: 8px; box-shadow: 0 0 0 1px var(--line-strong), 0 8px 24px rgba(0, 0, 0, 0.16); }
.theme-modern .vk-menu.open .vk-menu-list { display: block; }
.theme-modern .vk-menu-list a, .theme-modern .vk-menu-list button { display: block; width: 100%; text-align: left; padding: 8px 14px; box-sizing: border-box;
    color: var(--text) !important; text-decoration: none !important; font: 13px var(--font); background: none; border: 0; border-radius: 0;
    cursor: pointer; white-space: nowrap; }
.theme-modern .vk-menu-list a:hover, .theme-modern .vk-menu-list button:hover { background: var(--hover); }
.theme-modern .vk-menu-list form { margin: 0; }
.theme-modern .vk-menu-list .vk-danger { color: #C62828 !important; }

.theme-modern .vk-subnav { padding: 6px 0; }
.theme-modern .vk-subnav > a { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; color: var(--text) !important;
    text-decoration: none !important; border-left: 2px solid transparent; }
.theme-modern .vk-subnav > a:hover { background: var(--hover); }
.theme-modern .vk-subnav > a.active { border-left-color: var(--accent); background: #F2F3F5; font-weight: 500; }
.theme-modern .vk-subnav .vk-me { justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 10px; }
.theme-modern .vk-subnav .vk-me span { display: flex; flex-direction: column; line-height: 1.3; }
.theme-modern .vk-subnav .vk-me small { color: var(--muted); }
.theme-modern .vk-subnav-note { padding: 8px 16px 4px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 4px; }

.theme-modern .vk-compose { padding: 12px 16px; }
.theme-modern .vk-compose-row { display: flex; align-items: flex-start; gap: 12px; }
.theme-modern .vk-compose-av { width: 36px !important; height: 36px !important; flex-shrink: 0; }
.theme-modern .vk-compose-ta { flex: 1; border: 0 !important; box-shadow: none !important; padding: 8px 0 !important; resize: none; min-height: 36px;
    font-size: 14px !important; background: transparent !important; }
.theme-modern .vk-compose-extra { display: none; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.theme-modern .vk-compose.open .vk-compose-extra { display: block; }
.theme-modern .vk-compose-tools { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.theme-modern .vk-tool { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px;
    color: #8A9099 !important; cursor: pointer; text-decoration: none !important; position: relative; }
.theme-modern .vk-tool:hover { background: var(--hover); color: var(--text) !important; }
.theme-modern .vk-tool .hue-ico { width: 20px; height: 20px; }
.theme-modern .vk-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.theme-modern .vk-tool-poll summary { list-style: none; color: #8A9099 !important; font-size: 13px !important; padding: 6px 8px; border-radius: 6px; }
.theme-modern .vk-tool-poll summary:hover { background: var(--hover); }
.theme-modern .vk-tool-poll details[open] { display: block !important; }
.theme-modern .vk-compose-send { margin-left: auto; }
.theme-modern .vk-compose-chips { font-size: 12px; color: var(--muted); margin-top: 4px; }

.theme-modern #main-content table.vk-post { margin-bottom: 12px !important; }
.theme-modern #main-content table.vk-post > tbody > tr > td { padding: 0 !important; }
.theme-modern #main-content table.vk-post > tbody > tr > td.vk-pin-line { padding: 8px 20px !important; font-size: 12px; color: var(--muted); background: #FAFBFC !important; }
.theme-modern #main-content table.vk-post > tbody > tr > td.vk-post-td { padding: 16px 20px 6px 20px !important; }
.theme-modern .vk-post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.theme-modern .vk-post-av img { width: 50px !important; height: 50px !important; display: block; }
.theme-modern .vk-post-who { flex: 1; min-width: 0; line-height: 1.4; }
.theme-modern .vk-date-line { font-size: 12.5px; color: var(--muted); }
.theme-modern .vk-date { color: var(--muted) !important; font-size: 12.5px; }
.theme-modern .vk-post-body img, .theme-modern .vk-post-body video { max-width: 100% !important; border-radius: 6px; }
.theme-modern .vk-post-body > br:first-child { display: none; }
.theme-modern .vk-repost { margin-top: 10px; padding: 10px 12px; border: 1px solid #DCE1E6; border-left: 3px solid var(--accent, #B01E1E); background: #FAFBFC; }
.theme-modern .vk-repost img, .theme-modern .vk-repost video { max-width: 100%; }
.theme-modern .vk-repost-head { margin-bottom: 6px; line-height: 1.4; }
.theme-modern .vk-post-actions { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 0 4px 0; border-top: 1px solid var(--line); }
.theme-modern .vk-like, .theme-modern .vk-act { order: 1; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
    border-radius: 16px; background: #F2F3F5; color: #6F7680 !important; text-decoration: none !important; font-weight: 500; }
.theme-modern .vk-act-cmt { order: 2; }
.theme-modern .vk-act-share { order: 3; }
.theme-modern .vk-post-actions [data-like-who] { display: none !important; }
.theme-modern .vk-like:hover, .theme-modern .vk-act:hover { background: #E8EAED; color: var(--text) !important; }
.theme-modern .vk-like .hue-ico, .theme-modern .vk-act .hue-ico { width: 20px; height: 20px; }
.theme-modern .vk-like.liked { color: #E0262B !important; background: #FCEBEC; }
.theme-modern .vk-like .vk-count, .theme-modern .vk-act .vk-count { margin: 0; color: inherit; }
.theme-modern .vk-like .vk-count:empty, .theme-modern .vk-act .vk-count:empty { display: none; }
.theme-modern .vk-repost-box, .theme-modern .vk-edit-box { margin: 8px 0; padding: 10px; background: #F7F8FA; border-radius: 8px; }
.theme-modern .vk-repost-box form, .theme-modern .vk-edit-box form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0; }
.theme-modern .vk-repost-box textarea, .theme-modern .vk-edit-box textarea { flex: 1 1 100%; }

.theme-modern #main-content table.vk-post > tbody > tr > td.vk-cmts { padding: 0 20px 6px 20px !important; background: transparent !important; }
.theme-modern .vk-cmts .hue-more-comments { padding: 10px 0 !important; text-align: left !important; background: transparent !important;
    border-bottom: 1px solid var(--line) !important; }
.theme-modern .vk-cmts .hue-more-comments a { font-weight: 500; color: var(--link) !important; }
.theme-modern .vk-cmt { display: flex; gap: 10px; padding: 12px 0 10px calc(var(--lvl, 0) * 32px); border-bottom: 1px solid var(--line); }
.theme-modern .vk-cmt-av img { width: 34px !important; height: 34px !important; display: block; }
.theme-modern .vk-cmt-sub .vk-cmt-av img { width: 26px !important; height: 26px !important; }
.theme-modern .vk-cmt-main { flex: 1; min-width: 0; }
.theme-modern .vk-cmt-head { display: flex; align-items: center; gap: 2px; font-size: 13px; line-height: 1.3; }
.theme-modern .vk-cmt-head .vk-menu { margin-left: auto; opacity: 0; transition: opacity 0.1s; }
.theme-modern .vk-cmt:hover .vk-cmt-head .vk-menu, .theme-modern .vk-cmt-head .vk-menu.open { opacity: 1; }
.theme-modern .vk-cmt .vk-text { font-size: 13px; margin-top: 2px; }
.theme-modern .vk-cmt-foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.theme-modern .vk-reply-link { color: var(--link) !important; }
.theme-modern .vk-cmt-like { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.theme-modern .vk-like-sm { height: auto; padding: 0; background: none !important; gap: 3px; color: #A0A6AD !important; font-size: 12px; }
.theme-modern .vk-like-sm .hue-ico { width: 15px; height: 15px; }
.theme-modern .vk-like-sm.liked { color: #E0262B !important; }
.theme-modern .vk-likers { color: var(--muted) !important; font-size: 11px; }
.theme-modern .vk-reply-box form, .theme-modern .vk-write-cmt form { display: block; margin: 8px 0 0 0; }
.theme-modern .hue-cform-row { display: flex; align-items: flex-end; gap: 2px; min-width: 0; }
.theme-modern .vk-reply-box textarea, .theme-modern .vk-write-cmt textarea { flex: 1 1 auto; min-width: 0; min-height: 38px; height: 38px; max-height: 300px;
    box-sizing: border-box; resize: none; overflow-y: hidden; border-radius: 0 !important; border: 0 !important; box-shadow: none !important;
    padding: 9px 12px !important; line-height: 20px !important; background: #F2F3F5 !important; }
.theme-modern .hue-cform-row > .vk-tool { height: 38px; width: 34px; flex: 0 0 auto; }
.theme-modern .hue-cform-row > .hue-cform-attach { flex: 0 0 38px; width: 38px; height: 38px; margin-right: 4px; }
.theme-modern .hue-cform-attach .vk-attach-btn { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.theme-modern .hue-cform-attach .vk-attach-btn .hue-ico { width: 20px; height: 20px; }
.theme-modern .hue-cform-attach .vk-attach-menu { top: calc(100% + 6px); bottom: auto; z-index: 60; }
.theme-modern .hue-cform-attach.hue-up .vk-attach-menu { top: auto; bottom: calc(100% + 6px); }
.theme-modern #main-content .hue-pop-open, .theme-modern #main-content .hue-pop-open > tbody, .theme-modern #main-content .hue-pop-open td { content-visibility: visible !important; contain: none !important; overflow: visible !important; }
.theme-modern #main-content .hue-pop-open { position: relative; z-index: 40; }
.theme-modern .hue-cform-row > .hue-gif-btn.vk-tool { width: auto !important; height: auto !important; align-self: flex-end; margin: 0 5px 10px 5px; }
.theme-modern .hue-cform-av { width: 30px !important; height: 30px !important; flex: 0 0 30px; align-self: flex-end; margin: 0 8px 4px 0; }
.theme-modern .hue-cform-send { width: 38px; height: 38px; flex: 0 0 38px; margin-left: 4px; padding: 0 !important; border-radius: 0 !important;
    display: inline-flex; align-items: center; justify-content: center; background: var(--head-2) !important; color: #FFFFFF !important; }
.theme-modern .hue-cform-send .hue-ico { width: 20px; height: 20px; flex: 0 0 20px; }
.theme-modern .vk-write-cmt { padding: 10px 0 8px 0; }
.theme-modern .vk-write-chips:empty, .theme-modern .vk-chip:empty { display: none; }
@media (max-width: 480px) {
    .theme-modern .hue-cform-opt:not([data-ap-pick]), .theme-modern .hue-cform-av { display: none !important; }
    .theme-modern .hue-cform-row > .vk-tool { width: 30px; }
}
.theme-modern .vk-chip { flex-basis: 100%; font-size: 12px; }
.theme-modern .vk-chip:empty { display: none; }

.theme-modern .vk-cover { display: block; width: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.theme-modern .vk-titlebar { color: #FFFFFF; text-align: center; font-weight: 600; padding: 8px; border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 12px; }
.theme-modern .vk-ava-card { padding: 15px; }
.theme-modern .vk-ava-box { position: relative; margin-bottom: 10px; border-radius: 8px; overflow: hidden; background: #F2F3F5; }
.theme-modern .vk-ava { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; cursor: zoom-in; }
.theme-modern .vk-ava[src$="noavatar.svg"] { cursor: default; }
.theme-modern .vk-ava-round { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }
.theme-modern .vk-ava-upload { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: rgba(40, 40, 40, 0.72); color: #FFFFFF !important; font-size: 13px; cursor: pointer; opacity: 0; transition: opacity 0.15s;
    margin: 0; }
.theme-modern .vk-ava-upload .hue-ico { width: 16px; height: 16px; }
.theme-modern .vk-ava-del { position: absolute; top: 8px; right: 8px; margin: 0; opacity: 0; transition: opacity 0.15s; }
.theme-modern .vk-ava-del button { width: 26px; height: 26px; padding: 0; border-radius: 6px; background: rgba(40, 40, 40, 0.72); color: #FFFFFF;
    font-size: 16px; line-height: 26px; }
.theme-modern .vk-ava-box:hover .vk-ava-upload, .theme-modern .vk-ava-box:hover .vk-ava-del,
.theme-modern .vk-ava-box:focus-within .vk-ava-upload { opacity: 1; }
.theme-modern .vk-ava-box.no-photo .vk-ava-upload { opacity: 1; }
.theme-modern .vk-face-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 4px; padding: 4px 12px 14px 12px; }
.theme-modern .vk-face { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--link) !important;
    text-decoration: none !important; min-width: 0; }
.theme-modern .vk-face img { width: 50px !important; height: 50px !important; }
.theme-modern .vk-face span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .vk-info-card { padding: 18px 20px 0 20px; }
.theme-modern .vk-info-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.theme-modern .vk-page-name { font-size: 20px; font-weight: 500; margin: 0; line-height: 1.3; }
.theme-modern .vk-online { color: var(--muted); font-size: 12.5px; white-space: nowrap; padding-top: 4px; }
.theme-modern .vk-badge { display: inline-block; margin-top: 4px; padding: 1px 8px; font-size: 11px; color: #FFFFFF; border-radius: 4px; }
.theme-modern .vk-status { margin-top: 4px; color: #444; font-size: 13px; }
.theme-modern .vk-status-edit { cursor: pointer; color: var(--muted); }
.theme-modern .vk-status-edit:hover { color: var(--text); }
.theme-modern .vk-info-rows { border-top: 1px solid var(--line); margin-top: 14px; padding: 12px 0 4px 0; }
.theme-modern .vk-row { display: flex; gap: 10px; padding: 3px 0; font-size: 13px; }
.theme-modern .vk-row-label { flex: 0 0 165px; color: var(--muted); }
.theme-modern .vk-row-value { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .vk-rep { color: #4A8B4A; }
.theme-modern .vk-vote { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 6px; border-radius: 50%;
    background: #EEF0F2; color: #555 !important; font-weight: 700; text-decoration: none !important; }
.theme-modern .vk-vote-plus:hover { background: #DCEFDC; color: #2E7D32 !important; }
.theme-modern .vk-vote-minus:hover { background: #FBE3E3; color: #C62828 !important; }
.theme-modern .vk-more-info { margin: 0 0 10px 175px; }
.theme-modern .vk-more-info summary { cursor: pointer; color: var(--link); font-size: 13px; }
.theme-modern .vk-fill-note, .theme-modern .vk-hidden-note { padding: 10px 0; }
.theme-modern .vk-hidden-note { color: var(--muted); font-style: italic; border-top: 1px solid var(--line); margin-top: 12px; }
.theme-modern .vk-counters { display: flex; justify-content: center; gap: 4px; border-top: 1px solid var(--line); margin: 10px -20px 0 -20px; padding: 12px 10px; }
.theme-modern .vk-counters a { display: flex; flex-direction: column; align-items: center; padding: 4px 12px; border-radius: 8px; text-decoration: none !important;
    color: var(--muted) !important; font-size: 12.5px; }
.theme-modern .vk-counters a:hover { background: var(--hover); }
.theme-modern .vk-counters b { font-size: 19px; font-weight: 400; color: var(--text); }
.theme-modern .vk-gift-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px 16px; }
.theme-modern .vk-gift { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none !important; font-size: 11px;
    color: var(--rar) !important; }
.theme-modern .vk-gift img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #FAFAFA; box-shadow: 0 0 0 2px var(--rar); }
.theme-modern .vk-note-card { padding: 12px 18px; color: var(--muted); }
.theme-modern .vk-design-block { padding-bottom: 12px; }
.theme-modern .vk-design-block > .vk-text, .theme-modern .vk-design-block > a { margin: 0 16px; }
.theme-modern .vk-style-dark .vk-card-head { background: var(--head-2); color: #FFFFFF !important; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 8px; }
.theme-modern .vk-style-accent .vk-card-head { background: var(--acc); color: #FFFFFF !important; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 8px; }
.theme-modern .vk-style-note { background: #FFFDE7; }
.theme-modern .vk-block-pic { margin: 0 16px 8px 16px; }
.theme-modern .vk-block-pic:last-child { margin-bottom: 0; }
.theme-modern .vk-design-pic { padding: 0; overflow: hidden; }
.theme-modern .vk-design-pic .vk-block-pic { margin: 0; }
.theme-modern .vk-wall-tabs { padding: 0 20px; display: flex; gap: 18px; }
.theme-modern .vk-wall-tabs span { padding: 14px 0 12px 0; border-bottom: 2px solid transparent; font-weight: 500; }
.theme-modern .vk-wall-tabs span.active { border-bottom-color: var(--accent); }

#vk-photo-view { display: none; position: fixed; inset: 0; z-index: 2100; background: rgba(0, 0, 0, 0.78); align-items: center; justify-content: center;
    padding: 30px 60px; box-sizing: border-box; }
#vk-photo-view.open { display: flex; }
#vk-photo-view .pv-box { display: flex; max-width: 100%; max-height: 100%; background: #000000; border-radius: 10px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
#vk-photo-view .pv-img { display: flex; flex-direction: column; justify-content: center; background: #111111; min-width: 300px; }
#vk-photo-view .pv-img img { display: block; max-width: min(70vw, 900px); max-height: calc(100vh - 110px); object-fit: contain; margin: auto; }
#vk-photo-view .pv-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 16px; background: #1F1F21;
    color: #C9CCD1; font: 13px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#vk-photo-view .pv-bar a, #vk-photo-view .pv-bar button { color: #C9CCD1 !important; text-decoration: none; background: none; border: 0; cursor: pointer;
    font: inherit; padding: 0; }
#vk-photo-view .pv-bar a:hover, #vk-photo-view .pv-bar button:hover { color: #FFFFFF !important; }
#vk-photo-view .pv-side { width: 300px; background: #FFFFFF; display: flex; flex-direction: column; font: 13px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#vk-photo-view .pv-who { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #E7E8EC; }
#vk-photo-view .pv-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
#vk-photo-view .pv-who a { color: #2E3136; font-weight: 600; text-decoration: none; }
#vk-photo-view .pv-who small { display: block; color: #818C99; font-weight: 400; }
#vk-photo-view .pv-desc { padding: 14px 16px; color: #2E3136; border-bottom: 1px solid #E7E8EC; }
#vk-photo-view .pv-actions { padding: 10px 16px; display: flex; flex-direction: column; gap: 4px; }
#vk-photo-view .pv-actions a, #vk-photo-view .pv-actions button { color: #2E3136 !important; text-decoration: none; padding: 6px 0; text-align: left;
    background: none; border: 0; font: inherit; cursor: pointer; }
#vk-photo-view .pv-actions a:hover, #vk-photo-view .pv-actions button:hover { color: #B01E1E !important; }
#vk-photo-view .pv-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: #A0A6AD; padding: 20px; text-align: center; }
#vk-photo-view .pv-close { position: absolute; top: 16px; right: 22px; color: #FFFFFF !important; font-size: 34px; line-height: 1; text-decoration: none;
    opacity: 0.8; }
#vk-photo-view .pv-close:hover { opacity: 1; }

.theme-modern .vk-person { display: flex; align-items: center; gap: 16px; margin: 0 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.theme-modern .vk-person:last-child { border-bottom: 0; }
.theme-modern .vk-person-av img { width: 80px !important; height: 80px !important; display: block; }
.theme-modern .vk-person-info { flex: 1; min-width: 0; line-height: 1.55; }
.theme-modern .vk-person-info .vk-name { font-size: 13.5px; }
.theme-modern .vk-person-info .vk-muted { font-size: 12.5px; }
.theme-modern .vk-person-btns { display: flex; flex-direction: column; gap: 6px; }

.theme-modern .vk-dlg { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; grid-template-rows: auto auto; row-gap: 6px; column-gap: 0;
    align-items: center; margin: 0 20px; padding: 12px 0; border-bottom: 1px solid var(--line);
    color: var(--text) !important; text-decoration: none !important; cursor: pointer; }
.theme-modern .vk-dlg > .vk-dlg-av, .theme-modern .vk-dlg > .vk-dlg-avwrap { grid-column: 1; grid-row: 1 / 3; justify-self: start; }
.theme-modern .vk-dlg:hover { background: transparent !important; }
.theme-modern .vk-dlg:hover .vk-dlg-name { color: var(--accent); }
.theme-modern .vk-dlg.unread { background: #F7F8FA; margin: 0; padding: 12px 20px; }
.theme-modern .vk-dlg-av { width: 50px !important; height: 50px !important; flex-shrink: 0; }
.theme-modern .vk-dlg-avwrap > .hue-ava-ring.hue-ava-inline { width: 50px; height: 50px; }
.theme-modern .vk-dlg-avwrap > .hue-ava-ring.hue-ava-inline.is-on {
    padding: min(var(--ring, 5px), 5px) !important;
}
.theme-modern .vk-dlg-avwrap > .hue-ava-ring.hue-ava-inline.is-on > .vk-dlg-av {
    width: 100% !important; height: 100% !important;
}
.theme-modern .vk-dlg-main { display: contents; }
.theme-modern .vk-dlg-top { grid-column: 2 / 5; grid-row: 1; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.theme-modern .vk-dlg-name { color: var(--link); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .vk-dlg-title { display: inline-flex; align-items: center; gap: 3px; min-width: 0; max-width: 100%; }
.theme-modern .vk-dlg-time { color: var(--muted); font-size: 12.5px; flex-shrink: 0; }
.theme-modern .vk-dlg-call { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; margin-left: auto; margin-right: 8px;
    padding: 1px 7px 1px 5px; border-radius: 10px; background: #E7F4E8; color: #2E7D32; font-size: 12px; font-weight: 600;
    animation: vk-call-pulse 2s ease-in-out infinite; }
.theme-modern .vk-dlg-call .hue-ico { width: 13px; height: 13px; flex: 0 0 13px; background-color: #2E7D32; }
@keyframes vk-call-pulse { 50% { box-shadow: 0 0 0 3px rgba(46, 125, 50, .15); } }
.theme-modern .vk-dlg-text { grid-column: 2; grid-row: 2; justify-self: start; max-width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.theme-modern .vk-dlg-text.vk-out-unread { background: #ECEDF0; border-radius: 6px; padding: 3px 8px 3px 4px; width: fit-content; max-width: 100%; box-sizing: border-box; }
.theme-modern .vk-dlg-mini { width: 22px !important; height: 22px !important; flex-shrink: 0; }
.theme-modern .vk-dot-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4BB34B; margin-left: 6px; vertical-align: middle; }
.theme-modern .vk-dlg > .hue-badge { grid-column: 4; grid-row: 2; justify-self: end; margin-left: 6px; }

.theme-modern #main-content table.vk-post { content-visibility: auto; contain-intrinsic-size: auto 420px; }
.theme-modern #main-content .hue-adult table.vk-post { content-visibility: visible; contain-intrinsic-size: none; }

@media (max-width: 700px) {
    .theme-modern .vk-page { display: block; }
    .theme-modern .vk-right { position: static; }
    .theme-modern .vk-right .vk-subnav { display: flex; overflow-x: auto; padding: 0; -webkit-overflow-scrolling: touch; }
    .theme-modern .vk-right .vk-subnav > a { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; padding: 12px 14px; }
    .theme-modern .vk-right .vk-subnav > a.active { border-bottom-color: var(--accent); background: transparent; }
    .theme-modern .vk-right .vk-me, .theme-modern .vk-subnav-note { display: none !important; }
    .theme-modern .vk-ava-box { max-width: 220px; margin: 0 auto 10px auto; }
    .theme-modern .vk-ava-upload, .theme-modern .vk-ava-del { opacity: 1; }
    .theme-modern #main-content table.vk-post > tbody > tr > td.vk-post-td { padding: 12px 14px 4px 14px !important; }
    .theme-modern #main-content table.vk-post > tbody > tr > td.vk-cmts { padding: 0 14px 4px 14px !important; }
    .theme-modern .vk-row-label { flex-basis: 120px; }
    .theme-modern .vk-more-info { margin-left: 0; }
    .theme-modern .vk-counters { flex-wrap: wrap; }
    .theme-modern .vk-person { gap: 12px; margin: 0 14px; flex-wrap: wrap; }
    .theme-modern .vk-person-av img { width: 56px !important; height: 56px !important; }
    .theme-modern .vk-person-btns { flex-direction: row; width: 100%; padding-left: 68px; }
    .theme-modern .vk-dlg { margin: 0 14px; }
    .theme-modern .vk-dlg.unread { padding: 12px 14px; }
    .theme-modern .vk-card-title { padding: 12px 14px; }
    #vk-photo-view { padding: 0; }
    #vk-photo-view .pv-box { flex-direction: column; border-radius: 0; width: 100%; height: 100%; }
    #vk-photo-view .pv-img { flex: none; min-width: 0; }
    #vk-photo-view .pv-img img { max-width: 100vw; max-height: 48vh; }
    #vk-photo-view .pv-side { width: auto; flex: 1 1 auto; min-height: 0; overflow: hidden; }
    #vk-photo-view .pv-cmts { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
    #vk-photo-view .pv-write { flex: none; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

.theme-modern #main-content table.vk-post, .theme-modern #main-content table.vk-post > tbody,
.theme-modern #main-content table.vk-post > tbody > tr, .theme-modern #main-content table.vk-post > tbody > tr > td { display: block; width: auto; }
.theme-modern #main-content table.vk-post { width: 100% !important; box-sizing: border-box; }

.theme-modern .vk-profile.vk-photo-right { flex-direction: row-reverse; }

.theme-modern #chat-box { padding: 6px 12px !important; }
.theme-modern #chat-box .hue-msg-row { margin: 0 !important; padding: 2px 0; }
.theme-modern #chat-box .hue-msg-row > img.hue-av { width: 40px !important; height: 40px !important; margin: 10px 12px 0 0 !important; border: 0 !important; }
.theme-modern #chat-box .hue-msg-row > .hue-ava-ring { margin: 10px 12px 0 0; }
.theme-modern #chat-box .hue-msg-row > .hue-ava-ring > img.hue-av { width: 100% !important; height: 100% !important; margin: 0 !important; border: 0 !important; }
.theme-modern #chat-box [id^="msg-"] { position: relative; padding: 10px 8px !important; border-radius: 8px !important; }
.theme-modern #chat-box [id^="msg-"]:hover { background-color: #F7F8FA; }
.theme-modern .hue-msg-head { display: flex; align-items: center; gap: 2px; font-size: 13px; }
.theme-modern .hue-msg-head b a { color: var(--link) !important; font-weight: 600; }
.theme-modern .hue-msg-ts { margin-left: auto; font-size: 0; color: var(--muted); padding-left: 10px; white-space: nowrap; }
.theme-modern .hue-msg-ts::after { content: attr(data-short); font-size: 12.5px; }
.theme-modern .hue-msg-acts { display: none; position: absolute; right: 8px; top: 28px; background: #FFFFFF; padding: 2px 8px; border-radius: 6px;
    box-shadow: 0 0 0 1px var(--line-strong); float: none !important; z-index: 2; }
.theme-modern #chat-box [id^="msg-"]:hover .hue-msg-acts { display: block; }
.theme-modern .hue-msg-acts + br { display: none; }
.theme-modern #chat-box [data-msg-body] { margin-top: 3px; font-size: 13.5px; line-height: 1.45; }
@media (hover: none) {
    .theme-modern .hue-msg-acts { position: static; display: block; box-shadow: none; padding: 0; background: transparent; margin-top: 2px; }
}

.theme-modern .vk-chat-head { display: flex; align-items: center; gap: 12px; padding: 8px 16px; margin-bottom: 8px; }
.theme-modern .vk-back { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px;
    margin-left: -6px; border-radius: 50%; font-size: 0 !important; color: var(--muted) !important; text-decoration: none !important; }
.theme-modern .vk-back::before { content: ''; width: 22px; height: 22px; background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='m11.5 18.5-6.5-6.5 6.5-6.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='m11.5 18.5-6.5-6.5 6.5-6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern .vk-back:hover { background: var(--hover); color: var(--text) !important; }
.theme-modern .vk-chat-head-who { display: flex; flex-direction: column; flex: 1; min-width: 0; text-decoration: none !important; line-height: 1.35; align-items: center; }
.theme-modern .vk-chat-head-name { font-weight: 600; color: var(--text); }
.theme-modern .vk-chat-head-who .vk-muted { font-size: 12px; }
.theme-modern .vk-chat-head-av img { width: 34px !important; height: 34px !important; display: block; }
.theme-modern .vk-chat-head-av > .hue-ava-ring.hue-ava-inline { width: 34px; height: 34px; }
.theme-modern .vk-chat-head-av > .hue-ava-ring.hue-ava-inline.is-on {
    padding: min(var(--ring, 3px), 3px) !important;
}
.theme-modern .vk-chat-head-av > .hue-ava-ring.hue-ava-inline.is-on > img {
    width: 100% !important; height: 100% !important;
}
.theme-modern #chat-box .hue-msg-row > .hue-ava-ring.hue-ava-inline.is-on {
    padding: min(var(--ring, 4px), 4px) !important;
}
.theme-modern .vk-chat-compose { padding: 8px 10px; margin-top: 8px; }
.theme-modern .vk-chat-row { display: flex; align-items: flex-end; gap: 2px; }
.theme-modern .vk-chat-row textarea { flex: 1; min-height: 38px; max-height: 220px; overflow-y: hidden; box-sizing: border-box; resize: none; border-radius: 19px !important; padding: 9px 14px !important;
    background: #F2F3F5 !important; border: 0 !important; }
.theme-modern .vk-send { width: 38px; height: 38px; padding: 0 !important; border-radius: 50% !important; background: var(--head-2) !important; color: #FFFFFF !important;
    display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; flex-shrink: 0; }
.theme-modern .vk-send .hue-ico { width: 20px; height: 20px; flex: 0 0 20px; }
.theme-modern .vk-chat-row > .vk-tool, .theme-modern .vk-chat-row > .vk-attach, .theme-modern .vk-chat-row .vk-attach-btn {
    height: 38px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.theme-modern .vk-chat-row .vk-attach-btn { width: 38px; border-radius: 50%; }
.theme-modern .vk-chat-extra { font-size: 12px; color: var(--muted); padding: 0 6px; }
.theme-modern .vk-chat-poll summary { font-size: 12px !important; color: var(--muted) !important; }
.theme-modern #chat-box .hue-msg-acts { display: none !important; }
.theme-modern .vk-like, .theme-modern .vk-act { background: transparent; padding: 0 8px; }
.theme-modern .vk-like:hover, .theme-modern .vk-act:hover { background: #F2F3F5; }
.theme-modern .vk-like.liked { background: transparent; }
.theme-modern .vk-post-actions { border-top-color: transparent; padding-top: 4px; margin-top: 6px; }
.theme-modern #main-content hr { border-top-color: #EEF0F2; }
.theme-modern #chat-box { box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 700px) {
    .theme-modern .vk-chat-row .vk-tool[data-vp-pick] { display: none; }
}

.theme-modern .vk-status-empty { opacity: 0; transition: opacity 0.15s; }
.theme-modern .vk-info-card:hover .vk-status-empty { opacity: 1; }
@media (hover: none) { .theme-modern .vk-status-empty { opacity: 1; } }

.theme-modern .vk-chat-row textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 700px) {
    html body.theme-modern input[type="text"], html body.theme-modern input[type="password"], html body.theme-modern input[type="email"],
    html body.theme-modern input[type="number"], html body.theme-modern input[type="search"], html body.theme-modern input[type="tel"],
    html body.theme-modern input[type="url"], html body.theme-modern input:not([type]), html body.theme-modern textarea,
    html body.theme-modern select { font-size: 16px !important; }
}

.theme-modern .mh-notif-item { position: relative; cursor: pointer; }
.theme-modern .mh-notif-go { position: absolute; inset: 0; z-index: 1; }
.theme-modern .mh-notif-who, .theme-modern .mh-notif-name { position: relative; z-index: 2; }
.theme-modern .mh-notif-who { flex-shrink: 0; display: block; }
.theme-modern a.mh-notif-name { font-weight: 600; color: var(--text) !important; text-decoration: none !important; }
.theme-modern a.mh-notif-name:hover { text-decoration: underline !important; }
.theme-modern .mh-notif-text a:not(.mh-notif-name) { position: relative; z-index: 2; }

.theme-modern .vk-notifs { padding: 0; overflow: hidden; }
.theme-modern .vk-notifs-title { padding: 14px 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.theme-modern .vk-notif { position: relative; display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.theme-modern .vk-notif:last-child { border-bottom: 0; }
.theme-modern .vk-notif:hover { background: var(--hover); }
.theme-modern .vk-notif-go { position: absolute; inset: 0; z-index: 1; }
.theme-modern .vk-notif-who, .theme-modern .vk-notif-body a { position: relative; z-index: 2; }
.theme-modern .vk-notif-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.theme-modern .vk-notif-body { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.theme-modern .vk-notif-name { font-weight: 600; color: var(--text) !important; }
.theme-modern .vk-notifs-empty { padding: 28px 18px; color: var(--muted); text-align: center; }

@media (max-width: 700px) {
    .theme-modern .vk-profile { display: flex !important; flex-direction: column !important; align-items: stretch; gap: 0; }
    .theme-modern .vk-profile > .vk-left, .theme-modern .vk-profile > .vk-main { display: contents; }
    .theme-modern .vk-profile > .vk-left > *, .theme-modern .vk-profile > .vk-main > * { order: 5; }
    .theme-modern .vk-profile .vk-ava-card { order: 1; }
    .theme-modern .vk-profile .vk-info-card { order: 2; }
    .theme-modern .vk-profile .vk-gifts-card { order: 3; }
    .theme-modern .vk-profile .vk-faces-card { order: 4; }
    .theme-modern .vk-profile .vk-ava-box { max-width: 170px; }
}

.theme-modern .hue-online, .theme-modern .hue-online b { color: #A31F1F !important; }
.theme-modern .vk-dot-online { background: #A31F1F; }

.theme-modern #chat-box [id^="msg-"] { cursor: pointer; }
.theme-modern #chat-box [id^="msg-"] input, .theme-modern #chat-box [id^="msg-"] textarea { cursor: auto; }

.theme-modern .vk-menu-list { display: block !important; visibility: hidden; opacity: 0; transform: translateY(-4px); pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s; }
.theme-modern .vk-menu.open .vk-menu-list { visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s; }
.theme-modern #main-content table.vk-post.hue-menu-open, .theme-modern #main-content table[data-post-card].hue-menu-open,
.theme-modern .vk-card.hue-menu-open { content-visibility: visible !important; contain: none !important; overflow: visible !important;
    position: relative; z-index: 30; }

.theme-modern .mh-user-one { cursor: pointer; gap: 6px; padding: 0 8px 0 12px; outline: none; user-select: none; }
.theme-modern .mh-user-one:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
.theme-modern .mh-user-one .mh-user-name-btn, .theme-modern .mh-user-one .mh-user-av-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.theme-modern .mh-user-one .mh-user-mark { margin: 0; }
.theme-modern .mh-user-one a { pointer-events: none; }
.theme-modern .mh-user-one .hue-gbadge, .theme-modern .mh-user-one .hue-cbadge { margin-left: 0; }

.theme-modern .hc-call .hue-ico { pointer-events: none; }
.theme-modern .hc-call { flex-shrink: 0; }
.theme-modern .hc-call.vk-btn-icon { width: 32px; padding: 0; }

.theme-modern .hc-dial { display: flex; align-items: center; gap: 6px; padding: 14px 20px 6px 20px; }
.theme-modern .hc-dial input[type="text"] { flex: 1 1 auto; min-width: 0; height: 32px; }
.theme-modern .hc-dial-note { padding: 0 20px 12px 20px; font-size: 12.5px; border-bottom: 1px solid var(--line); }

.theme-modern .hc-calls .vk-person { gap: 14px; padding: 12px 0; }
.theme-modern .hc-calls .vk-person-av img { width: 50px !important; height: 50px !important; }
.theme-modern .hc-calls .vk-person-info { line-height: 1.45; }
.theme-modern .hc-calls .vk-person-info .vk-muted font { color: inherit !important; }
.theme-modern .hc-call-btns { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.theme-modern .hc-off { font-size: 12.5px; }

.theme-modern .hc-calls .hc-hist .vk-person-av img { width: 40px !important; height: 40px !important; }
.theme-modern .hc-hist-side { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-modern .hc-date { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.theme-modern .hc-missed { color: var(--accent); }

.theme-modern .hc-intro { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px 4px 20px; }
.theme-modern .hc-intro-ico, .theme-modern .hc-tk-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 50%; background: #F2F3F5; color: #7E848C; }
.theme-modern .hc-intro-head { font-weight: 600; margin-bottom: 2px; }

.theme-modern .hc-form { padding: 8px 20px 18px 20px; margin: 0; }
.theme-modern .hc-label { display: block; margin: 10px 0 5px 0; font-weight: 500; color: var(--head-2); }
.theme-modern .hc-form input[type="text"], .theme-modern .hc-form textarea { display: block; width: 100%; }
.theme-modern .hc-form textarea { min-height: 100px; resize: vertical; }
.theme-modern .hc-form-foot { margin-top: 14px; }

.theme-modern .hc-tk { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--line); cursor: pointer; }
.theme-modern .hc-tk:last-child { border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius); }
.theme-modern .hc-tk.unread { background: #F7F8FA; }
.theme-modern .hc-tk-main { flex: 1; min-width: 0; line-height: 1.45; }
.theme-modern .hc-tk-subj { display: block; font-weight: 600; color: var(--link) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .hc-tk .vk-muted { font-size: 12.5px; }
.theme-modern .hc-tk-new { margin-top: 3px; font-size: 12.5px; color: var(--accent); font-weight: 500; }
.theme-modern .hc-tk-new .hue-badge { margin-left: 4px; vertical-align: 1px; }

.theme-modern .hc-status { flex-shrink: 0; display: inline-block; padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 18px;
    white-space: nowrap; }
.theme-modern .hc-open { background: #E9F2E9; color: #3B6E3B; }
.theme-modern .hc-closed { background: #F0F2F5; color: var(--muted); }

.theme-modern .hc-ticket-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.theme-modern .hc-ticket-who { flex: 1; min-width: 0; line-height: 1.4; }
.theme-modern .hc-ticket-subj { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.theme-modern .hc-ticket-who .vk-muted { font-size: 12.5px; }
.theme-modern .hc-ticket-who .vk-muted a { color: var(--muted) !important; }

.theme-modern .hc-thread { max-height: 560px; overflow-y: auto; padding: 6px 12px; }
.theme-modern .hc-msg { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: 8px; }
.theme-modern .hc-msg:hover { background: #F7F8FA; }
.theme-modern .hc-msg-av { flex-shrink: 0; display: block; }
.theme-modern .hc-msg-av img { width: 36px !important; height: 36px !important; display: block; }
.theme-modern .hc-support { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--head-2); color: #FFFFFF; }
.theme-modern .hc-support .hue-ico { width: 18px; height: 18px; }
.theme-modern .hc-msg-main { flex: 1; min-width: 0; }
.theme-modern .hc-msg-head { display: flex; align-items: center; gap: 2px; font-size: 13px; line-height: 1.3; }
.theme-modern .hc-msg-name { font-weight: 600; color: var(--link) !important; }
.theme-modern .hc-msg-admin .hc-msg-name { color: var(--accent) !important; }
.theme-modern .hc-msg-nick { margin-left: 6px; color: var(--muted) !important; font-size: 12.5px; }
.theme-modern .hc-msg-ts { margin-left: auto; padding-left: 10px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.theme-modern .hc-msg-text { margin-top: 3px; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }

.theme-modern .hc-reply { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); }
.theme-modern .hc-closed-note { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }

@media (max-width: 700px) {
    .theme-modern .hc-dial { padding: 12px 14px 6px 14px; }
    .theme-modern .hc-dial-note { padding: 0 14px 10px 14px; }
    .theme-modern .hc-calls .vk-person { flex-wrap: nowrap; margin: 0 14px; }
    .theme-modern .hc-calls .vk-person-av img { width: 44px !important; height: 44px !important; }
    .theme-modern .hc-call-btns .hc-call:not(.vk-btn-icon) { width: 32px; padding: 0; font-size: 0; gap: 0; }
    .theme-modern .hc-call-btns .hc-call:not(.vk-btn-icon) .hue-ico { margin: 0; }
    .theme-modern .hc-hist-side { flex-direction: column-reverse; align-items: flex-end; gap: 4px; }
    .theme-modern .hc-date { font-size: 11.5px; }
    .theme-modern .hc-intro { padding: 14px 14px 2px 14px; }
    .theme-modern .hc-form { padding: 6px 14px 14px 14px; }
    .theme-modern .hc-tk { padding: 12px 14px; gap: 10px; }
    .theme-modern .hc-tk-ico { display: none; }
    .theme-modern .hc-ticket-head { padding: 10px 12px; gap: 8px; }
    .theme-modern .hc-thread { max-height: none; padding: 4px 6px; }
    .theme-modern .hc-msg-nick { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .theme-modern .hc-msg-ts { font-size: 11.5px; }
}

.theme-modern .vk-ok-line { padding: 10px 20px; color: #2E6B30; background: #EEF7EE; }
.theme-modern .vk-form { padding: 16px 20px 18px 20px; margin: 0; }
.theme-modern .vk-form-row { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 12px 0; }
.theme-modern .vk-form-label { flex: 0 0 150px; padding-top: 6px; color: var(--muted); font-size: 13px; }
.theme-modern .vk-form-row > input[type="text"], .theme-modern .vk-form-row > textarea, .theme-modern .vk-form-row > select,
.theme-modern .vk-form-field { flex: 1 1 auto; min-width: 0; }
.theme-modern .vk-form-row > input[type="text"], .theme-modern .vk-form-row > textarea { width: 100%; }
.theme-modern .vk-form-row > select { max-width: 100%; }
.theme-modern .vk-form-row > textarea { resize: vertical; }
.theme-modern .vk-form-row > input[type="file"], .theme-modern .vk-form-field input[type="file"] { padding-top: 4px; font-size: 12.5px; max-width: 100%; }
.theme-modern .vk-form-field { padding-top: 5px; }
.theme-modern .vk-form-hint { padding-top: 0; font-size: 12px; }
.theme-modern .vk-form-sep { border-top: 1px solid var(--line); margin: 4px 0 14px 0; }
.theme-modern .vk-form-actions { padding: 4px 0 0 164px; }
.theme-modern .vk-check { display: block; cursor: pointer; line-height: 1.45; }
.theme-modern .vk-check input { margin: 0 6px 0 0; vertical-align: -2px; }
.theme-modern .vk-form-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.theme-modern .vk-form-inline input[type="text"] { flex: 1 1 220px; min-width: 0; }
.theme-modern input[type="submit"].vk-gp-primary { background-color: var(--head-2); color: #FFFFFF; }
.theme-modern input[type="submit"].vk-gp-primary:hover { background-color: #4D4D4D; }
.theme-modern input[type="submit"].vk-gp-danger, .theme-modern .vk-btn.vk-gp-danger-btn { background-color: #FBE9E9; color: #B3261E !important; }
.theme-modern input[type="submit"].vk-gp-danger:hover, .theme-modern .vk-btn.vk-gp-danger-btn:hover { background-color: #F6D5D5; }
.theme-modern .vk-card-title a.vk-title-btn { font-size: 12.5px; height: 30px; }

.theme-modern .vk-grp-noav { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%;
    background: #E9EBEE; color: #9AA0A8; flex-shrink: 0; box-sizing: border-box; }
.theme-modern .vk-grp-noav .hue-ico { width: 24px; height: 24px; }

.theme-modern .vk-grp-row { display: flex; align-items: center; gap: 14px; margin: 0 20px; padding: 12px 0; border-bottom: 1px solid var(--line);
    cursor: pointer; }
.theme-modern .vk-grp-row:last-child { border-bottom: 0; }
.theme-modern .vk-grp-row:hover { background: transparent !important; }
.theme-modern .vk-grp-row:hover .vk-name { color: var(--accent) !important; }
.theme-modern .vk-grp-av { flex-shrink: 0; display: block; line-height: 0; text-decoration: none !important; }
.theme-modern .vk-grp-av img { width: 50px !important; height: 50px !important; display: block; }
.theme-modern .vk-grp-info { flex: 1 1 auto; min-width: 0; line-height: 1.45; }
.theme-modern .vk-grp-name { font-size: 13.5px; overflow-wrap: anywhere; }
.theme-modern .vk-grp-info .vk-muted { font-size: 12.5px; }
.theme-modern .vk-grp-desc { font-size: 12.5px; color: #55595F; margin-top: 2px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.theme-modern .vk-grp-btns { flex-shrink: 0; }

.theme-modern .vk-gp-side { float: right; width: 230px; margin-left: 14px; }
.theme-modern .vk-gp-main { margin-right: 244px; }
.theme-modern #main-content .vk-gp ~ table, .theme-modern #main-content .vk-gp ~ table.vk-post { width: calc(100% - 244px) !important; box-sizing: border-box; }
.theme-modern .vk-gp-admin { padding: 10px 16px; font-size: 12.5px; }
.theme-modern .vk-gp-admin > summary { cursor: pointer; color: #A94442; }
.theme-modern .vk-gp-admin form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 0 0; }
.theme-modern .vk-gp-admin input[type="text"] { flex: 1 1 180px; min-width: 0; }
.theme-modern .vk-gp-admin select { max-width: 100%; }
.theme-modern .vk-gp-admin-banned { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #FFF4F4; color: #A94442; }
.theme-modern .vk-gp-admin-banned form { margin: 0 0 0 auto; }
.theme-modern .vk-gp-admin-text { flex: 1 1 260px; }
.theme-modern .vk-gp-noav { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; color: #B5BAC1; }
.theme-modern .vk-gp-noav .hue-ico { width: 72px; height: 72px; }
.theme-modern .vk-gp-ava-card .vk-ava-box { margin-bottom: 4px; }
.theme-modern .vk-gp-member { display: flex; }
.theme-modern .vk-gp-member .vk-menu-btn { letter-spacing: 0; font-weight: 600; }
.theme-modern .vk-gp-member .vk-menu-list { left: 0; right: auto; min-width: 100%; }
.theme-modern .vk-gp-caret { font-size: 10px; color: #8A9099; margin-left: 2px; }
.theme-modern .vk-gp-faces .vk-card-head, .theme-modern .vk-gp-contacts .vk-card-head { font-size: 13px; }
.theme-modern .vk-gp-side-empty { padding: 4px 16px 14px 16px; color: var(--muted); font-size: 12.5px; }
.theme-modern .vk-gp-contact { display: flex; align-items: center; gap: 10px; padding: 5px 16px; }
.theme-modern .vk-gp-contact:last-child { padding-bottom: 14px; }
.theme-modern .vk-gp-contact-av { flex-shrink: 0; line-height: 0; }
.theme-modern .vk-gp-contact-av img { width: 36px !important; height: 36px !important; display: block; }
.theme-modern .vk-gp-contact-info { min-width: 0; line-height: 1.35; font-size: 13px; overflow-wrap: anywhere; }
.theme-modern .vk-gp-contact-info .vk-muted { font-size: 12px; }
.theme-modern .vk-gp-info .vk-page-name { overflow-wrap: anywhere; }
.theme-modern .vk-gp-desc { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #33363A; white-space: pre-wrap; overflow-wrap: anywhere; }
.theme-modern .vk-gp-desc.vk-muted { color: var(--muted); }
.theme-modern .vk-gp-info .vk-row-label { flex-basis: 110px; }
.theme-modern .vk-gp-head-link { color: var(--text) !important; text-decoration: none !important; }
.theme-modern .vk-gp-topic { padding: 8px 16px; border-top: 1px solid var(--line); cursor: pointer; line-height: 1.4; }
.theme-modern .vk-gp-topic:hover { background: transparent !important; }
.theme-modern .vk-gp-topic:hover .vk-gp-topic-title { color: var(--accent) !important; }
.theme-modern .vk-gp-topic:last-child { padding-bottom: 12px; }
.theme-modern .vk-gp-topic-title { font-weight: 500; overflow-wrap: anywhere; }
.theme-modern .vk-gp-topic .vk-muted { font-size: 12px; }
.theme-modern .vk-gp-topics .vk-gp-side-empty { padding-top: 8px; border-top: 1px solid var(--line); }
.theme-modern .vk-wall-tabs .vk-gp-wall-note { margin-left: auto; font-weight: 400; font-size: 12px; }

.theme-modern .vk-subnav > a.vk-gp-back { display: block; color: var(--muted) !important; border-bottom: 1px solid var(--line); margin-bottom: 4px;
    padding-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .vk-subnav > a.vk-gp-back:hover { color: var(--text) !important; }
.theme-modern .vk-gp-person { padding: 10px 0; gap: 14px; }
.theme-modern .vk-gp-person .vk-person-av img { width: 50px !important; height: 50px !important; }
.theme-modern .vk-gp-members-hint { padding: 0 20px 14px 20px; font-size: 12.5px; max-height: 120px; overflow-y: auto; line-height: 1.6; }
.theme-modern .vk-gp-ava-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 0; }
.theme-modern .vk-gp-ava-field img { width: 50px !important; height: 50px !important; }
.theme-modern .vk-slug-field { padding-top: 0; }
.theme-modern .vk-slug-box { display: flex; align-items: stretch; border: 1px solid #D3D9DE; background: #FFFFFF; box-sizing: border-box; max-width: 100%; }
.theme-modern .vk-slug-box:focus-within { border-color: #9EA4AB; box-shadow: 0 0 0 2px rgba(58, 58, 58, 0.08); }
.theme-modern .vk-slug-box > label.vk-slug-host { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; margin: 0; padding: 0 7px 0 9px;
    font: 13px/1.4 var(--font); color: var(--muted); background: #F7F8FA; border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; cursor: text; }
.theme-modern .vk-slug-box input[type="text"] { flex: 1 1 120px; min-width: 0; width: auto; border: 0 !important; box-shadow: none !important; padding-left: 6px; }
.theme-modern .vk-slug-hint { display: block; margin-top: 5px; line-height: 1.4; }
.theme-modern .vk-gp-del { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.theme-modern .vk-gp-del .vk-muted { flex: 1; font-size: 12.5px; }
.theme-modern .vk-gp-del form { margin: 0; flex-shrink: 0; }

.theme-modern .vk-gp-banned-head { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.theme-modern .vk-gp-banned-av { width: 80px; height: 80px; }
.theme-modern .vk-gp-banned-av .hue-ico { width: 36px; height: 36px; }
.theme-modern .vk-gp-banned-head .vk-page-name { color: #55595F; overflow-wrap: anywhere; }
.theme-modern .vk-gp-banned-body { padding: 16px 20px 20px 20px; }
.theme-modern .vk-gp-banned-body p { margin: 8px 0; line-height: 1.5; }
.theme-modern .vk-gp-banned-body .vk-info-rows { margin-top: 10px; padding-bottom: 8px; }
.theme-modern .vk-gp-banned-body .vk-row-label { flex-basis: 130px; }
.theme-modern .vk-gp-banned-title { font-size: 15px; font-weight: 600; }
.theme-modern .vk-gp-banned-body .vk-btn { margin-top: 6px; }

.theme-modern .vk-gp-topics-note { padding: 10px 20px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.theme-modern .vk-topic-row { display: flex; align-items: center; gap: 16px; margin: 0 20px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.theme-modern .vk-topic-row:last-child { border-bottom: 0; }
.theme-modern .vk-topic-row:hover { background: transparent !important; }
.theme-modern .vk-topic-row:hover .vk-topic-title { color: var(--accent) !important; }
.theme-modern .vk-topic-main { flex: 1 1 auto; min-width: 0; line-height: 1.5; }
.theme-modern .vk-topic-title { font-weight: 600; font-size: 13.5px; overflow-wrap: anywhere; }
.theme-modern .vk-topic-main .vk-muted { font-size: 12.5px; }
.theme-modern .vk-topic-author { color: var(--muted) !important; }
.theme-modern .vk-topic-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: #F0F1F3; color: var(--muted);
    font-size: 11px; font-weight: 500; line-height: 18px; vertical-align: 1px; }
.theme-modern .vk-topic-last { flex: 0 0 150px; font-size: 12.5px; line-height: 1.45; text-align: right; overflow: hidden; }
.theme-modern .vk-topic-last > a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.theme-modern .vk-topic-head { display: flex; align-items: flex-start; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .vk-topic-head-main { flex: 1; min-width: 0; }
.theme-modern .vk-topic-crumbs { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .vk-topic-crumbs a { color: var(--muted) !important; }
.theme-modern .vk-topic-h { font-size: 17px; font-weight: 500; margin: 4px 0 0 0; line-height: 1.35; overflow-wrap: anywhere; }
.theme-modern .vk-topic-rename { padding: 10px 20px; background: #FAFBFC; border-bottom: 1px solid var(--line); }
.theme-modern .vk-topic-rename[hidden] { display: none; }
.theme-modern .vk-topic-posts { padding: 0 20px; }
.theme-modern .vk-topic-post .vk-cmt-av { flex-shrink: 0; line-height: 0; }
.theme-modern .vk-topic-post .vk-cmt-av img { width: 40px !important; height: 40px !important; }
.theme-modern .vk-topic-post:last-child { border-bottom: 0; }
.theme-modern .vk-topic-post .vk-text { font-size: 13.5px; }
.theme-modern .vk-pager { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .vk-topic-posts + .vk-pager { border-bottom: 0; border-top: 1px solid var(--line); }
.theme-modern .vk-pager a, .theme-modern .vk-pager span { min-width: 28px; height: 28px; padding: 0 6px; box-sizing: border-box; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 6px; font-size: 12.5px; }
.theme-modern .vk-pager a:hover { background: var(--hover); text-decoration: none !important; }
.theme-modern .vk-pager span.active { background: #E5E7EB; font-weight: 600; }
.theme-modern .vk-topic-reply { padding: 10px 20px 14px 20px; border-top: 1px solid var(--line); }
.theme-modern .vk-topic-reply form { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: start; gap: 8px; margin: 0; }
.theme-modern .vk-topic-reply img.hue-av { margin-top: 2px; flex-shrink: 0; }
.theme-modern .vk-topic-reply textarea { grid-column: 2 / -1; width: 100%; min-height: 110px; height: auto; max-height: 300px; box-sizing: border-box; resize: vertical; }
.theme-modern .vk-topic-reply textarea::placeholder { white-space: normal; }
.theme-modern .vk-topic-attach { grid-column: 2; justify-self: start; position: relative; overflow: hidden; }
.theme-modern .vk-topic-attach .vk-file { inset: 0; width: 100%; height: 100%; cursor: pointer; }
.theme-modern .vk-topic-reply input[type="submit"] { grid-column: 3; grid-row: 2; }
.theme-modern .vk-topic-like { border: 0; background: none !important; cursor: pointer; }
.theme-modern .vk-topic-like .hue-ico { width: 15px; height: 15px; }
.theme-modern .vk-topic-like.liked { color: #E0262B !important; }
.theme-modern .vk-topic-foot-note { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
@media (hover: none) {
    .theme-modern .vk-topic-post .vk-cmt-head .vk-menu { opacity: 1; }
}

.theme-modern .vk-grp-noav.vk-dlg-av { width: 50px; height: 50px; }
.theme-modern .vk-dlg-name a.vk-chat-link { color: inherit !important; text-decoration: none !important; }
.theme-modern .vk-chat-friends { padding: 4px 0; max-height: 240px; overflow-y: auto; border: 1px solid #D3D9DE; border-radius: 6px; }
.theme-modern .vk-chat-friend { display: flex; align-items: center; gap: 10px; padding: 5px 10px; cursor: pointer; }
.theme-modern .vk-chat-friend:hover { background: var(--hover); }
.theme-modern .vk-chat-friend input { margin: 0; flex-shrink: 0; }
.theme-modern .vk-chat-friend img { width: 30px !important; height: 30px !important; flex-shrink: 0; }
.theme-modern .vk-chat-friend > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .vk-chat-friend > .vk-pick-note { min-width: auto; overflow: visible; }

.theme-modern .vk-chat-join { max-width: 420px; margin: 20px auto; padding: 28px 24px 22px 24px; display: flex; flex-direction: column; align-items: center;
    gap: 4px; text-align: center; }
.theme-modern .vk-chat-join-av { width: 80px !important; height: 80px !important; margin-bottom: 10px; }
.theme-modern .vk-chat-join-av .hue-ico { width: 34px; height: 34px; }
.theme-modern .vk-chat-join .vk-page-name { overflow-wrap: anywhere; }
.theme-modern .vk-chat-join-form { margin: 14px 0 4px 0; }
.theme-modern .vk-chat-join-later { font-size: 12.5px; color: var(--muted) !important; }

@media (max-width: 700px) {
    .theme-modern .vk-form { padding: 14px; }
    .theme-modern .vk-form-row { flex-direction: column; gap: 4px; align-items: stretch; }
    .theme-modern .vk-form-label { flex: none; padding-top: 0; }
    .theme-modern .vk-form-label:empty { display: none; }
    .theme-modern .vk-form-field { padding-top: 0; }
    .theme-modern .vk-form-actions { padding-left: 0; }
    .theme-modern .vk-grp-row { margin: 0 14px; display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: start; }
    .theme-modern .vk-grp-btns { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
    .theme-modern .vk-grp-btns .vk-btn { padding: 5px 14px; font-size: 13px; }
    .theme-modern .vk-topic-row { margin: 0 14px; flex-wrap: wrap; gap: 4px; }
    .theme-modern .vk-topic-last { flex: 1 1 100%; text-align: left; display: flex; gap: 6px; align-items: baseline; }
    .theme-modern .vk-topic-last > a { flex: 0 1 auto; min-width: 0; }
    .theme-modern .vk-topic-head, .theme-modern .vk-topic-rename, .theme-modern .vk-pager, .theme-modern .vk-topic-reply { padding-left: 14px; padding-right: 14px; }
    .theme-modern .vk-topic-posts { padding: 0 14px; }
    .theme-modern .vk-gp-del { flex-direction: column; align-items: stretch; padding: 14px; }
    .theme-modern .vk-gp-banned-head { padding: 16px 14px; }
    .theme-modern .vk-gp-banned-body { padding: 14px; }
    .theme-modern .vk-gp-members-hint { padding: 0 14px 14px 14px; }
    .theme-modern .vk-gp-person .vk-person-btns { padding-left: 64px; }

    .theme-modern .vk-gp { display: flex; flex-direction: column; }
    .theme-modern .vk-gp-side, .theme-modern .vk-gp-main { display: contents; float: none; width: auto; margin: 0; }
    .theme-modern .vk-gp-side > *, .theme-modern .vk-gp-main > * { order: 6; }
    .theme-modern .vk-gp .vk-gp-ava-card { order: 1; }
    .theme-modern .vk-gp .vk-gp-info { order: 2; }
    .theme-modern .vk-gp .vk-gp-faces { order: 3; }
    .theme-modern .vk-gp .vk-gp-topics { order: 4; }
    .theme-modern .vk-gp .vk-gp-contacts { order: 5; }
    .theme-modern .vk-gp .vk-ava-box { max-width: 150px; margin: 0 auto 8px auto; }
    .theme-modern .vk-gp-faces .vk-face-grid { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
    .theme-modern #main-content .vk-gp ~ table, .theme-modern #main-content .vk-gp ~ table.vk-post { width: 100% !important; }
    .theme-modern .vk-gp-info .vk-row-label { flex-basis: 90px; }
    .theme-modern .vk-wall-tabs .vk-gp-wall-note { display: none; }
}
.theme-modern .gt-rep { font-size: 12px; font-weight: 400; }

.theme-modern [class^="mg-"][hidden], .theme-modern [class*=" mg-"][hidden] { display: none !important; }

.theme-modern .mg-audio, .theme-modern .mg-video, .theme-modern .mg-gifts, .theme-modern .mg-clicker { font-size: 13px; line-height: 1.45; }

.theme-modern .mg-tabs { display: flex; align-items: center; gap: 22px; padding: 0 20px; border-bottom: 1px solid var(--line);
    overflow-x: auto; scrollbar-width: none; }
.theme-modern .mg-tabs::-webkit-scrollbar { display: none; }
.theme-modern .mg-tabs > a { flex: 0 0 auto; padding: 14px 0 12px 0; border-bottom: 2px solid transparent; color: var(--muted) !important;
    text-decoration: none !important; white-space: nowrap; font-size: 14px; }
.theme-modern .mg-tabs > a:hover { color: var(--text) !important; }
.theme-modern .mg-tabs > a.active { color: var(--text) !important; border-bottom-color: var(--accent); font-weight: 500; }
.theme-modern .mg-tabs > a.mg-tabs-btn { margin-left: auto; color: var(--link) !important; border-bottom: 0; padding-bottom: 14px; }
.theme-modern .mg-tabs > a.mg-tabs-btn + a.mg-tabs-btn { margin-left: 0; }
.theme-modern .mg-tabs > a.vk-btn.mg-tabs-btn { padding: 0 14px; height: 30px; color: #FFFFFF !important; font-size: 12.5px; }

.theme-modern .mg-form { display: grid; gap: 12px; max-width: 560px; margin: 0; }
.theme-modern .mg-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.theme-modern .mg-field > span { font-size: 12.5px; color: #5F6670; }
.theme-modern .mg-field > span small { font-size: 12px; }
.theme-modern .mg-field input[type="text"], .theme-modern .mg-field textarea, .theme-modern .mg-field select { width: 100%; }
.theme-modern .mg-field textarea { resize: vertical; }
.theme-modern .mg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.theme-modern .mg-check { display: flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
.theme-modern .mg-form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.theme-modern .mg-form-title { font-weight: 500; }
.theme-modern .mg-form input[type="file"] { font: 12.5px var(--font); color: var(--muted); max-width: 100%; }
.theme-modern .mg-form input[type="file"]::file-selector-button { font: 600 12.5px var(--font); color: #2E3136; background: #E5E7EB; border: 0;
    border-radius: 6px; padding: 7px 12px; margin-right: 10px; cursor: pointer; }
.theme-modern .mg-form input[type="file"]::file-selector-button:hover { background: #DADDE2; }
.theme-modern .vk-btn[disabled] { opacity: 0.5; cursor: default; }

.theme-modern .mg-inline-form { display: flex; align-items: center; gap: 8px; padding: 12px 20px; margin: 0; flex-wrap: wrap; }
.theme-modern .mg-inline-form input[type="text"] { flex: 1 1 220px; max-width: 420px; }

.theme-modern .mg-rows { display: grid; gap: 7px; margin: 12px 0; }
.theme-modern .mg-r { display: flex; gap: 12px; line-height: 1.45; min-width: 0; }
.theme-modern .mg-r > :first-child { flex: 0 0 110px; color: var(--muted); }
.theme-modern .mg-r > :last-child { min-width: 0; overflow-wrap: anywhere; }

.theme-modern .mg-note { padding: 12px 20px 0 20px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.theme-modern .mg-note-box { padding: 12px 14px; margin-top: 16px; background: #F7F8FA; border-radius: 8px; }
.theme-modern .mg-bad { color: #A94442; font-size: 12.5px; }
.theme-modern .mg-flash { padding: 12px 20px; color: #2E6B30; font-weight: 500; }
.theme-modern .mg-flash-err { color: #A94442; }

.theme-modern .mg-au-top { display: flex; align-items: center; gap: 10px; padding: 14px 20px; }
.theme-modern .mg-au-search { position: relative; flex: 1 1 auto; margin: 0; }
.theme-modern .mg-au-search .hue-ico, .theme-modern .mg-v-search .hue-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
    width: 15px; height: 15px; color: #A0A6AD; pointer-events: none; }
.theme-modern .mg-au-search input[type="text"], .theme-modern .mg-v-search input[type="text"] { width: 100%; height: 34px; padding-left: 34px;
    background: #F2F3F5; border-color: transparent; }
.theme-modern .mg-au-search input[type="text"]:focus, .theme-modern .mg-v-search input[type="text"]:focus { background: #FFFFFF; border-color: #C5CAD0; }
.theme-modern .mg-au-upload { padding: 4px 20px 18px 20px; border-bottom: 1px solid var(--line); }

.theme-modern .mg-tracks { padding: 6px 8px 10px 8px; }
.theme-modern .mg-track { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; border-radius: 8px; box-sizing: border-box; }
.theme-modern .mg-track:hover { background: var(--hover); }
.theme-modern .mg-track[style*="background"] { background: #F2F3F5 !important; }
.theme-modern .mg-track[style*="background"] .mg-play { background: var(--accent); }
.theme-modern .mg-track[style*="background"] .mg-track-name b { color: var(--accent); }

.theme-modern button.mg-play { position: relative; flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border-radius: 50%;
    background: var(--head-2); color: transparent; font-size: 0; line-height: 0; overflow: hidden; }
.theme-modern button.mg-play:hover { background: #4D4D4D; }
.theme-modern .mg-track[style*="background"] button.mg-play:hover { background: #8F1818; }
.theme-modern .mg-play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-style: solid;
    border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #FFFFFF; }
.theme-modern .mg-play.is-playing::before { width: 3px; height: 12px; margin: -6px 0 0 -5px; border: 0; background: #FFFFFF;
    box-shadow: 6px 0 0 #FFFFFF; }

.theme-modern .mg-track-info { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.theme-modern .mg-track-name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .mg-track-name b { font-weight: 600; }
.theme-modern .mg-track-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .mg-track-sub a { color: var(--muted) !important; }
.theme-modern .mg-track-dur { flex: 0 0 auto; min-width: 34px; text-align: right; font-size: 12.5px; color: var(--muted); }
.theme-modern .mg-track-act { flex: 0 0 auto; font-size: 12.5px; color: var(--link) !important; }
.theme-modern .mg-track .vk-menu, .theme-modern .mg-track-act { opacity: 0; transition: opacity 0.1s; }
.theme-modern .mg-track:hover .vk-menu, .theme-modern .mg-track .vk-menu.open, .theme-modern .mg-track:hover .mg-track-act,
.theme-modern .mg-track-big .vk-menu { opacity: 1; }
@media (hover: none) {
    .theme-modern .mg-track .vk-menu, .theme-modern .mg-track-act { opacity: 1; }
}
.theme-modern .mg-track-big { padding: 12px; gap: 14px; }
.theme-modern .mg-track-big:hover { background: transparent; }
.theme-modern .mg-track-big button.mg-play { width: 44px; height: 44px; }
.theme-modern .mg-track-big .mg-track-name { font-size: 15px; white-space: normal; }
.theme-modern .mg-track-big .mg-track-sub { white-space: normal; }

.theme-modern .mg-share { padding: 6px 20px 20px 20px; }
.theme-modern .mg-share-label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.theme-modern .mg-share-row { display: flex; gap: 8px; max-width: 520px; }
.theme-modern .mg-share-row input { flex: 1 1 auto; min-width: 0; }

.theme-modern .mg-v-upload { padding: 16px 20px 18px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .mg-v-search { position: relative; display: flex; align-items: center; gap: 12px; margin: 14px 20px 0 20px; }
.theme-modern .mg-v-search input[type="text"] { flex: 1 1 auto; }
.theme-modern .mg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px;
    border-top: 1px solid var(--line); cursor: pointer; }
.theme-modern .mg-album-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px 0 20px; }
.theme-modern .mg-album-head b { font-size: 15px; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .mg-album-head .vk-menu { margin-left: auto; }

.theme-modern .mg-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 14px; padding: 16px 20px 20px 20px; }
.theme-modern .mg-vcard { min-width: 0; }
.theme-modern .mg-vthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #2B2D30; }
.theme-modern .mg-vthumb img, .theme-modern .mg-vthumb video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.theme-modern .mg-vthumb:hover img, .theme-modern .mg-vthumb:hover video { opacity: 0.92; }
.theme-modern .mg-vdur, .theme-modern .mg-vpriv { position: absolute; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF; font-size: 11.5px; line-height: 1.5; }
.theme-modern .mg-vdur { right: 6px; bottom: 6px; }
.theme-modern .mg-vpriv { left: 6px; top: 6px; }
.theme-modern .mg-vtitle { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px;
    font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text) !important; text-decoration: none !important; overflow-wrap: anywhere; }
.theme-modern .mg-vtitle:hover { text-decoration: underline !important; }
.theme-modern .mg-vmeta { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.theme-modern .mg-vmeta a { color: var(--muted) !important; }

.theme-modern .mg-v-watch { display: flex; align-items: flex-start; gap: 14px; }
.theme-modern .mg-v-main { flex: 1 1 auto; min-width: 0; }
.theme-modern .mg-v-side { flex: 0 0 250px; min-width: 0; }
.theme-modern .mg-v-player { background: #000000; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.theme-modern .mg-v-player video { display: block; width: 100%; max-height: 70vh; aspect-ratio: 16 / 9; background: #000000; }
.theme-modern .mg-v-info { padding: 16px 20px 18px 20px; }
.theme-modern .mg-v-title { margin: 0 0 4px 0; font-size: 18px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.theme-modern .mg-v-sub { font-size: 13px; color: var(--muted); }
.theme-modern .mg-v-sub b { font-weight: 500; color: var(--text); }
.theme-modern .mg-v-actions { display: flex; align-items: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.theme-modern .mg-v-actions form { margin: 0; }
.theme-modern .mg-v-actions .vk-act, .theme-modern .mg-v-actions .vk-like { order: 0; }
.theme-modern .mg-v-actions button.vk-like { font: 500 13px var(--font); }
.theme-modern .mg-v-actions-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.theme-modern #mg-v-share { padding: 12px 0 0 0; }
.theme-modern .mg-v-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.4; }
.theme-modern .mg-v-author-av img { display: block; width: 40px !important; height: 40px !important; }
.theme-modern .mg-v-author .vk-muted { font-size: 12.5px; }
.theme-modern .mg-v-desc { margin-top: 12px; }
.theme-modern .mg-v-edit { padding: 16px 20px 18px 20px; border-top: 1px solid var(--line); }
.theme-modern .mg-v-cmts { padding: 0 20px 6px 20px; }
.theme-modern .mg-v-cmts .vk-cmt-head .vk-menu-list { min-width: 140px; }
.theme-modern .mg-v-cmts .vk-empty { padding: 18px 0; }
.theme-modern .mg-v-cmts .vk-write-cmt form { flex-wrap: nowrap; }
.theme-modern .mg-v-more { padding: 0 14px 6px 14px; }
.theme-modern .mg-v-more-item { margin-bottom: 14px; }
.theme-modern .mg-v-more-item .mg-vtitle { font-size: 13px; margin-top: 6px; }

.theme-modern .mg-gift-to { padding: 12px 20px; border-bottom: 1px solid var(--line); background: #FAFBFC; }
.theme-modern .mg-ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 16px 20px 20px 20px; }
.theme-modern .mg-ggrid-items { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.theme-modern .mg-gcard { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 14px 10px 12px 10px;
    border-radius: 10px; box-shadow: 0 0 0 1px var(--line); text-align: center; color: var(--text) !important; text-decoration: none !important;
    box-sizing: border-box; transition: background-color 0.12s; }
.theme-modern a.mg-gcard:hover, .theme-modern .mg-gcard[data-row-href]:hover { background: #F7F8FA; }
.theme-modern .mg-gcard[data-row-href] { cursor: pointer; }
.theme-modern .mg-gcard.mg-sold { opacity: 0.6; }
.theme-modern .mg-gcard.mg-ghidden { background: #F7F8FA; }
.theme-modern .mg-gcard.mg-ghidden .mg-gimg { opacity: 0.55; }
.theme-modern .mg-gimg { display: block; flex: 0 0 auto; width: 96px; height: 96px; padding: 4px; border: 2px solid var(--rc, var(--line));
    border-radius: 12px; background: #FFFFFF; box-sizing: border-box; }
.theme-modern .mg-gimg img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.theme-modern .mg-gimg-big { width: 180px; height: 180px; padding: 8px; border-radius: 14px; }
.theme-modern .mg-gtitle { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--text) !important;
    text-decoration: none !important; overflow-wrap: anywhere; }
.theme-modern .mg-grar { font-size: 12px; font-weight: 600; }
.theme-modern .mg-gsub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.theme-modern .mg-gsub a { color: var(--muted) !important; }
.theme-modern .mg-gsub b { color: var(--text); font-weight: 500; }
.theme-modern .mg-gprice { margin-top: 8px; padding: 5px 12px; border-radius: 14px; background: #F0F2F5; font-size: 12.5px; font-weight: 600; }
.theme-modern .mg-gmsg { margin-top: 4px; font-size: 12px; font-style: italic; color: #555B63; overflow-wrap: anywhere; }
.theme-modern .mg-gtags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 6px; }
.theme-modern .mg-tag { padding: 1px 8px; border-radius: 10px; background: #F0F2F5; font-size: 11.5px; color: var(--link); }
.theme-modern .mg-tag-bad { background: #FBEDED; color: #A94442; }
.theme-modern .mg-gbtns { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding-top: 10px; }
.theme-modern .mg-gbtns form { margin: 0; }
.theme-modern .mg-gbtns .vk-btn { height: 28px; padding: 0 12px; font-size: 12px; }
.theme-modern .mg-gbtns .vk-menu-list { min-width: 160px; text-align: left; }

.theme-modern .mg-gview { display: flex; align-items: flex-start; gap: 24px; padding: 20px; }
.theme-modern .mg-gview-pic { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.theme-modern .mg-gview-info { flex: 1 1 auto; min-width: 0; }
.theme-modern .mg-gname { margin: 0 0 6px 0; font-size: 20px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.theme-modern .mg-gdesc { color: #444A52; margin-bottom: 6px; }
.theme-modern .mg-gsend { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); max-width: 460px; }
.theme-modern .mg-owner-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.theme-modern .mg-owner-btns form { margin: 0; }
.theme-modern .mg-holders { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; padding: 14px 20px 16px 20px; }
.theme-modern .mg-holder { display: inline-flex; align-items: center; gap: 2px; }
.theme-modern .mg-holder > a:first-child { padding: 4px 10px; border-radius: 14px; background: #F0F2F5; color: var(--text) !important;
    text-decoration: none !important; font-size: 12.5px; }
.theme-modern .mg-holder > a:first-child:hover { background: #E5E7EB; }
.theme-modern .mg-hist { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 20px; line-height: 1.45; }
.theme-modern .mg-hist + .mg-hist { border-top: 1px solid var(--line); }
.theme-modern .mg-hist-text { min-width: 0; overflow-wrap: anywhere; }
.theme-modern .mg-hist-date { flex: 0 0 auto; font-size: 12px; white-space: nowrap; }

.theme-modern .mg-ck-body { padding: 26px 20px 30px 20px; text-align: center; user-select: none; -webkit-user-select: none; }
.theme-modern .mg-ck-zone { position: relative; display: inline-block; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.theme-modern .mg-ck-cat { display: block; width: 260px; max-width: 70vw; height: auto; transition: transform 0.07s ease-out; }
.theme-modern .mg-ck-hint { margin-top: 16px; font-size: 13.5px; }
.theme-modern .mg-ck-track { width: 280px; max-width: 80%; height: 8px; margin: 12px auto 6px auto; border-radius: 4px; background: #ECEEF1; overflow: hidden; }
.theme-modern .mg-ck-bar { height: 100%; border-radius: 4px; background: var(--accent); transition: width 0.15s; }
.theme-modern .mg-ck-left { font-size: 12px; }
.theme-modern .mg-ck-capped { margin-top: 12px; font-size: 13px; font-weight: 500; color: #A94442; }
.theme-modern .mg-ck-side { flex-basis: 250px; }
.theme-modern .mg-ck-stats { margin: 0; padding: 14px 16px 6px 16px; }
.theme-modern .mg-ck-stats .mg-r, .theme-modern .mg-ck-top .mg-r { justify-content: space-between; }
.theme-modern .mg-ck-stats .mg-r > :first-child, .theme-modern .mg-ck-top .mg-r > :first-child { flex: 0 1 auto; min-width: 0; }
.theme-modern .mg-ck-stats b { font-weight: 600; }
.theme-modern .mg-ck-spend { padding: 8px 16px 16px 16px; }
.theme-modern .mg-ck-top { padding: 0 16px 12px 16px; }
.theme-modern .mg-ck-top .mg-r { padding: 4px 0; }
.theme-modern .mg-ck-top .mg-r > :first-child { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 700px) {
    .theme-modern .mg-tabs { padding: 0 14px; gap: 18px; }
    .theme-modern .mg-tabs > a.mg-tabs-btn { position: sticky; right: 0; padding-left: 12px; background: var(--card);
        box-shadow: -8px 0 8px var(--card); }
    .theme-modern .mg-tabs > a.vk-btn.mg-tabs-btn { padding: 0 12px; background: var(--head-2); box-shadow: -10px 0 0 var(--card); }
    .theme-modern .mg-au-top { padding: 12px 14px; }
    .theme-modern .mg-au-upload, .theme-modern .mg-v-upload { padding-left: 14px; padding-right: 14px; }
    .theme-modern .mg-field-row { grid-template-columns: 1fr; }
    .theme-modern .mg-tracks { padding: 4px 4px 8px 4px; }
    .theme-modern .mg-track { gap: 10px; padding: 6px 10px; }
    .theme-modern .mg-track-act { display: none; }
    .theme-modern .mg-track-big { flex-wrap: wrap; }
    .theme-modern .mg-track-big .mg-track-info { flex-basis: calc(100% - 120px); }
    .theme-modern .mg-share { padding: 6px 14px 16px 14px; }
    .theme-modern .mg-inline-form, .theme-modern .mg-row { padding-left: 14px; padding-right: 14px; }
    .theme-modern .mg-v-search { margin: 12px 14px 0 14px; }
    .theme-modern .mg-album-head { padding: 12px 14px 0 14px; }
    .theme-modern .mg-vgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 10px; padding: 12px 14px 16px 14px; }
    .theme-modern .mg-v-watch { display: block; }
    .theme-modern .mg-v-player { border-radius: var(--radius) var(--radius) 0 0; }
    .theme-modern .mg-v-info, .theme-modern .mg-v-edit { padding-left: 14px; padding-right: 14px; }
    .theme-modern .mg-v-cmts { padding: 0 14px 6px 14px; }
    .theme-modern .mg-v-actions-right { margin-left: 0; }
    .theme-modern .mg-v-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .theme-modern .mg-v-more-item { margin-bottom: 4px; }
    .theme-modern .mg-ggrid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; padding: 12px 14px 16px 14px; }
    .theme-modern .mg-gview { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 14px; }
    .theme-modern .mg-gimg-big { width: 150px; height: 150px; }
    .theme-modern .mg-r > :first-child { flex-basis: 90px; }
    .theme-modern .mg-note { padding: 12px 14px 0 14px; }
    .theme-modern .mg-gift-to, .theme-modern .mg-flash, .theme-modern .mg-hist, .theme-modern .mg-holders { padding-left: 14px; padding-right: 14px; }
    .theme-modern .mg-ck-body { padding: 20px 14px 24px 14px; }
}

.theme-modern .ac-sec { scroll-margin-top: 62px; }
.theme-modern form.ac-row { margin-top: 0; margin-bottom: 0; }
.theme-modern form.ac-act { margin: 0 0 0 auto; }
.theme-modern .ac-note { padding: 12px 20px; font-size: 13px; }
.theme-modern .ac-ok { background: #F1F7F1; color: #2E6B30; box-shadow: 0 0 0 1px #D3E6D3; }
.theme-modern .ac-bad { background: #FFF4F4; color: #A94442; box-shadow: 0 0 0 1px #F0D2D2; }
.theme-modern .vk-card-title .ac-note-in { font-size: 12.5px; font-weight: 400; }
.theme-modern .ac-intro { padding: 12px 20px; color: var(--muted); font-size: 13px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.theme-modern .ac-hint { color: var(--muted); font-size: 12px; line-height: 1.5; padding: 0 6px 14px 6px; }
.theme-modern .ac-hint a { color: var(--muted) !important; text-decoration: underline; }
.theme-modern .ac-group { padding: 14px 20px 6px 20px; font-weight: 600; font-size: 13px; color: var(--text); }
.theme-modern .ac-notify-title { padding-left: 26px; }
.theme-modern .ac-group + .ac-row { border-top: 0; }
.theme-modern .ac-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.theme-modern .ac-foot .vk-muted { font-size: 12px; }
.theme-modern .ac-ok-text { color: #4A8B4A; }
.theme-modern .ac-bad-text { color: #A94442; }

.theme-modern .ac-link { display: inline; padding: 0; height: auto; background: none !important; border: 0; color: var(--link) !important;
    font: 13px var(--font); cursor: pointer; white-space: nowrap; }
.theme-modern .ac-link:hover { color: var(--accent) !important; text-decoration: underline; }
.theme-modern .ac-danger { color: #C62828 !important; }
.theme-modern .ac-small { font-size: 12px; }
.theme-modern .ac-under { display: block; margin: 2px 0 0 22px; font-size: 12.5px; }
.theme-modern .ac-hint form { margin: 0; }

.theme-modern .ac-row { display: flex; align-items: center; gap: 14px; margin: 0 20px; padding: 13px 0; border-top: 1px solid var(--line);
    font-size: 13px; line-height: 1.45; }
.theme-modern .vk-card-title + .ac-row, .theme-modern .ac-intro + .ac-row, .theme-modern .ac-row:first-child { border-top: 0; }
.theme-modern .ac-label { flex: 0 0 190px; color: var(--muted); }
.theme-modern .ac-label-wide { flex-basis: 52%; color: var(--text); }
.theme-modern .ac-value { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .ac-value .vk-muted { font-size: 12.5px; }
.theme-modern .ac-act { flex-shrink: 0; margin-left: auto; }
.theme-modern .ac-act form { margin: 0; display: inline; }
.theme-modern .ac-row select { width: 100%; }
.theme-modern label.ac-row { cursor: pointer; }

.theme-modern details.ac-more { margin: 0 20px; border-top: 1px solid var(--line); }
.theme-modern details.ac-more > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 13px 0; cursor: pointer;
    font-size: 13px; color: var(--text); }
.theme-modern details.ac-more > summary::-webkit-details-marker { display: none; }
.theme-modern details.ac-more > summary .ac-act { color: var(--link); }
.theme-modern details.ac-more > summary:hover .ac-act { color: var(--accent); text-decoration: underline; }
.theme-modern details.ac-more[open] > summary .ac-act { color: var(--muted); }
.theme-modern details.ac-more > form, .theme-modern details.ac-more > .ac-form { margin: 0 0 16px 204px; }
.theme-modern .vk-card-title + details.ac-more { border-top: 0; }

.theme-modern .ac-form { margin: 0; }
.theme-modern .ac-field { display: block; margin: 0 0 12px 0; }
.theme-modern .ac-field > span:first-child { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12.5px; }
.theme-modern .ac-form input[type="text"], .theme-modern .ac-form input[type="password"], .theme-modern .ac-form input[type="email"],
.theme-modern .ac-form input[type="date"], .theme-modern .ac-form textarea, .theme-modern .ac-form select { width: 100%; max-width: 100%; }
.theme-modern .ac-form input[type="date"] { font: 13px var(--font); border: 1px solid #D3D9DE; border-radius: 6px; padding: 5px 9px;
    box-sizing: border-box; background: #FFFFFF; color: var(--text); }
.theme-modern .ac-form .ac-short { max-width: 340px; }
.theme-modern .ac-form textarea { resize: vertical; min-height: 60px; }
.theme-modern .ac-form .ac-tip { display: block; margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.theme-modern .ac-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.theme-modern .ac-grid { display: flex; gap: 14px; margin: 0 20px; padding: 8px 0; align-items: flex-start; }
.theme-modern .ac-grid > .ac-grid-label { flex: 0 0 170px; text-align: right; padding-top: 7px; color: var(--muted); font-size: 13px; }
.theme-modern .ac-grid > .ac-grid-field { flex: 1 1 auto; min-width: 0; max-width: 420px; }
.theme-modern .ac-grid-wide > .ac-grid-field { max-width: none; }
.theme-modern .ac-sub { display: flex; align-items: center; gap: 12px; padding: 18px 20px 6px 20px; margin-top: 6px; border-top: 1px solid var(--line);
    font-weight: 600; font-size: 13.5px; }
.theme-modern .ac-sub:first-child, .theme-modern .vk-card-title + .ac-sub, .theme-modern .ac-note + .ac-sub { border-top: 0; margin-top: 0; }
.theme-modern .ac-prefix { display: flex; align-items: center; gap: 4px; }
.theme-modern .ac-prefix > span { color: var(--muted); }
.theme-modern .ac-photo-pick { display: flex; align-items: center; gap: 12px; }
.theme-modern .ac-photo-pick img { width: 50px !important; height: 50px !important; flex-shrink: 0; }
.theme-modern .ac-date { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-modern .ac-date > * { flex: 1 1 160px; }
.theme-modern #nick_error:empty { display: none; }
.theme-modern #nick_error { display: block; margin-top: 4px; }

.theme-modern .ac-choice { display: flex; align-items: flex-start; gap: 10px; margin: 0 20px; padding: 11px 0; border-top: 1px solid var(--line);
    cursor: pointer; font-size: 13px; line-height: 1.45; }
.theme-modern .ac-choice:first-child, .theme-modern .vk-card-title + .ac-choice, .theme-modern .ac-intro + .ac-choice { border-top: 0; }
.theme-modern .ac-choice input { margin: 2px 0 0 0; flex-shrink: 0; }
.theme-modern .ac-choice b { font-weight: 600; }
.theme-modern .ac-choice .vk-muted { display: block; font-size: 12.5px; }
.theme-modern .ac-choice:has(input:disabled) { cursor: default; opacity: 0.55; }
.theme-modern .ac-badge-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.theme-modern .ac-nav-sep { height: 1px; background: var(--line); margin: 6px 0; }

.theme-modern .ac-codes { margin: 16px 20px; padding: 14px 16px; background: #FFFBEF; border-radius: 8px; box-shadow: 0 0 0 1px #EDE3C4; }
.theme-modern .ac-codes pre { font: 15px/1.7 ui-monospace, Consolas, "Courier New", monospace; margin: 8px 0 0 0; white-space: pre-wrap; }
.theme-modern .ac-steps { margin: 0; padding: 4px 20px 6px 40px; line-height: 1.6; font-size: 13px; }
.theme-modern .ac-steps li { padding: 6px 0; }
.theme-modern .ac-steps .hue-qr { display: inline-block; background: #FFFFFF; padding: 6px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-strong);
    margin: 8px 0; line-height: 0; }
.theme-modern .ac-secret { display: inline-block; font: 15px ui-monospace, Consolas, "Courier New", monospace; letter-spacing: 1px; word-break: break-all;
    background: #F2F3F5; padding: 4px 8px; border-radius: 6px; margin-top: 4px; }
.theme-modern .ac-code-input { font-size: 16px !important; letter-spacing: 3px; }
.theme-modern .ac-danger-box { margin: 4px 20px 18px 20px; padding: 14px 16px; border-radius: 8px; background: #FFF6F6; box-shadow: 0 0 0 1px #F0D2D2; }
.theme-modern .ac-danger-box .ac-danger-title { font-weight: 600; margin-bottom: 10px; }
.theme-modern .ac-two { display: flex; gap: 12px; flex-wrap: wrap; }
.theme-modern .ac-two > .ac-field { flex: 1 1 180px; }
.theme-modern .ac-pad { padding: 14px 20px; }

.theme-modern .ac-person { display: flex; align-items: center; gap: 14px; margin: 0 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.theme-modern .vk-card-title + .ac-person, .theme-modern .ac-intro + .ac-person { border-top: 0; }
.theme-modern .ac-person-av { flex-shrink: 0; display: block; line-height: 0; }
.theme-modern .ac-person-av img { width: 50px !important; height: 50px !important; display: block; }
.theme-modern .ac-person-info { flex: 1 1 auto; min-width: 0; line-height: 1.5; }
.theme-modern .ac-person-info .vk-muted { font-size: 12.5px; }
.theme-modern .ac-person-btns { flex-shrink: 0; display: flex; gap: 6px; }
.theme-modern .ac-person-btns form { margin: 0; }

.theme-modern .ac-search { display: flex; gap: 8px; padding: 16px 20px 12px 20px; margin: 0; }
.theme-modern .ac-search-box { position: relative; flex: 1 1 auto; min-width: 0; }
.theme-modern .ac-search-box .hue-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #A0A6AD; }
.theme-modern .ac-search-box input[type="text"] { width: 100%; height: 36px; padding-left: 34px; border-radius: 8px; background: #F7F8FA; }
.theme-modern .ac-search-box input[type="text"]:focus { background: #FFFFFF; }
.theme-modern .ac-search .vk-btn { height: 36px; padding: 0 18px; }
.theme-modern .ac-tabs { display: flex; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; }
.theme-modern .ac-tabs::-webkit-scrollbar { display: none; }
.theme-modern .ac-tabs a { flex: 0 0 auto; padding: 12px 0 10px 0; border-bottom: 2px solid transparent; color: var(--muted) !important;
    text-decoration: none !important; font-weight: 500; }
.theme-modern .ac-tabs a:hover { color: var(--text) !important; }
.theme-modern .ac-tabs a.active { color: var(--text) !important; border-bottom-color: var(--accent); }
.theme-modern .ac-tabs .vk-count { margin-left: 2px; }
.theme-modern .ac-results .vk-person:first-child { border-top: 0; }
.theme-modern .ac-status { margin-top: 2px; font-size: 13px; color: #444; overflow-wrap: anywhere; }
.theme-modern .ac-desc { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.theme-modern .ac-noava { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%;
    background: #E1E3E6; color: #8C939B; }
.theme-modern .ac-noava .hue-ico { width: 32px; height: 32px; }
.theme-modern .ac-video { display: flex; gap: 14px; margin: 0 20px; padding: 12px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.theme-modern .ac-video:first-child { border-top: 0; }
.theme-modern .ac-video-cover { position: relative; flex-shrink: 0; display: block; width: 160px; height: 90px; border-radius: 6px; overflow: hidden;
    background: #2F3033; line-height: 0; }
.theme-modern .ac-video-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-modern .ac-video-cover::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -7px; border-style: solid;
    border-width: 11px 0 11px 18px; border-color: transparent transparent transparent rgba(255, 255, 255, 0.9); }
.theme-modern .ac-video-info { flex: 1 1 auto; min-width: 0; line-height: 1.5; padding-top: 2px; }
.theme-modern .ac-video-info .vk-name { font-size: 13.5px; }
.theme-modern .ac-video-info .vk-muted { font-size: 12.5px; }
.theme-modern .ac-video-info .vk-muted a { color: var(--muted) !important; }
.theme-modern .ac-post { display: flex; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); cursor: pointer; }
.theme-modern .ac-post:first-child { border-top: 0; }
.theme-modern .ac-post:hover { background: #F7F8FA !important; }
.theme-modern .ac-post-av img { width: 40px !important; height: 40px !important; display: block; }
.theme-modern .ac-post-body { flex: 1 1 auto; min-width: 0; }
.theme-modern .ac-post-body .vk-muted { font-size: 12.5px; }
.theme-modern .ac-post-text { margin: 4px 0; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.5; }

.theme-modern #main-content > .ac-bm-right { float: right; width: 230px; margin: 0 0 12px 14px; }
.theme-modern #main-content > .ac-bm-right ~ * { margin-right: 244px; }
.theme-modern #main-content > .ac-bm-right.vk-right ~ table { width: calc(100% - 244px) !important; margin-right: 0 !important; }

.theme-modern .ac-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 18px; font-size: 13px; }
.theme-modern .ac-crumbs .ac-crumb-sep { color: #C5CAD0; }
.theme-modern .ac-crumbs .ac-crumb-now { color: var(--muted); }
.theme-modern #main-content > .ac-single-head ~ table.vk-post [id^="extra_"] { display: block !important; }
.theme-modern #main-content > .ac-single-head ~ table.vk-post .hue-more-comments { display: none !important; }

.theme-modern .ac-stub-info { padding: 18px 20px 16px 20px; }
.theme-modern .ac-stub-info .vk-page-name { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.theme-modern .ac-stub-info .vk-muted { margin-top: 2px; font-size: 12.5px; }
.theme-modern .ac-gone .vk-page-name { color: #6B7178; }
.theme-modern .ac-stub { padding: 34px 30px 36px 30px; text-align: center; color: var(--muted); line-height: 1.5; }
.theme-modern .ac-stub .hue-ico { width: 40px; height: 40px; color: #B8BDC3; display: block; margin: 0 auto 10px auto; }
.theme-modern .ac-stub b { display: block; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.theme-modern .ac-stub small { display: block; margin-top: 6px; font-size: 12px; }
.theme-modern .ac-ava-dim { opacity: 0.55; filter: grayscale(1); }
.theme-modern .ac-closed .vk-ava { cursor: default; }
.theme-modern .vk-btn.ac-btn-off { opacity: 0.6; cursor: default; }

.theme-modern .ac-report { max-width: 640px; }
.theme-modern .ac-quote { margin: 0 20px; padding: 12px 0; color: var(--text); overflow-wrap: anywhere; }
.theme-modern .ac-quote .vk-muted { display: block; font-size: 12.5px; margin-bottom: 2px; }

@media (max-width: 700px) {
    .theme-modern .ac-row { flex-wrap: wrap; gap: 4px 12px; margin: 0 14px; }
    .theme-modern .ac-label { flex-basis: 100%; }
    .theme-modern .ac-label-wide { flex-basis: 100%; }
    .theme-modern details.ac-more { margin: 0 14px; }
    .theme-modern details.ac-more > summary { flex-wrap: wrap; gap: 4px 12px; }
    .theme-modern details.ac-more > form, .theme-modern details.ac-more > .ac-form { margin-left: 0; }
    .theme-modern .ac-foot, .theme-modern .ac-pad, .theme-modern .ac-note, .theme-modern .ac-intro { padding-left: 14px; padding-right: 14px; }
    .theme-modern .ac-group, .theme-modern .ac-sub { padding-left: 14px; padding-right: 14px; }
    .theme-modern .ac-choice, .theme-modern .ac-person, .theme-modern .ac-video, .theme-modern .ac-quote { margin: 0 14px; }
    .theme-modern .ac-grid { flex-direction: column; gap: 5px; margin: 0 14px; }
    .theme-modern .ac-grid > .ac-grid-label { flex: none; text-align: left; padding-top: 0; font-size: 12.5px; }
    .theme-modern .ac-grid > .ac-grid-field { width: 100%; max-width: none; }
    .theme-modern .ac-codes, .theme-modern .ac-danger-box { margin-left: 14px; margin-right: 14px; }
    .theme-modern .ac-steps { padding: 4px 14px 6px 32px; }
    .theme-modern .ac-search { padding: 12px 14px 10px 14px; }
    .theme-modern .ac-tabs { padding: 0 14px; gap: 16px; }
    .theme-modern .ac-post { padding: 12px 14px; }
    .theme-modern .ac-video-cover { width: 120px; height: 68px; }
    .theme-modern .ac-person { flex-wrap: wrap; }
    .theme-modern .ac-person-btns { width: 100%; padding-left: 64px; }
    .theme-modern .ac-noava { width: 56px; height: 56px; }
    .theme-modern .ac-noava .hue-ico { width: 24px; height: 24px; }
    .theme-modern #main-content > .ac-bm-right { float: none; width: auto; margin: 0 0 10px 0; }
    .theme-modern #main-content > .ac-bm-right ~ * { margin-right: 0; }
    .theme-modern #main-content > .ac-bm-right.vk-right ~ table { width: 100% !important; }
    .theme-modern .ac-stub { padding: 26px 18px 28px 18px; }
    .theme-modern .ac-stub-info { padding: 14px; text-align: center; }
    .theme-modern .ac-stub-info .vk-page-name { justify-content: center; }
}

.theme-modern .ac-sub + .ac-row, .theme-modern .ac-sub + .ac-choice { border-top: 0; }
.theme-modern .ac-prefix > span { font-size: 13px; }
.theme-modern .ac-two { max-width: 560px; }
.theme-modern .ac-person-info .vk-name, .theme-modern .ac-post-body .vk-name { font-size: 13.5px; }
.theme-modern .ac-stub { font-size: 13.5px; }
.theme-modern .ac-bm-head .vk-card-title:last-child { border-bottom: 0; border-radius: var(--radius); }
@media (max-width: 700px) {
    .theme-modern #main-content > .ac-bm-right { display: none; }
}
.theme-modern .vk-card-title .ac-title-link { margin-left: auto; }
.theme-modern .ac-danger-box .ac-danger-title { font-size: 13.5px; }

.theme-modern .vk-write-chips { display: block; width: 100%; padding-left: 40px; box-sizing: border-box; }
.theme-modern .vk-write-chips:empty, .theme-modern .vk-write-chips > span:empty { display: none; }

.theme-modern .vk-ava-card .vk-btn-row > .vk-btn-icon:not(.vk-grow),
.theme-modern .vk-ava-card .vk-btn-row > .vk-menu { flex: 0 0 34px; width: 34px; }
.theme-modern .vk-ava-card .vk-btn-row > .vk-menu > .vk-menu-btn { width: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.theme-modern .vk-ava-card .vk-btn-row > .vk-btn-icon:not(.vk-grow) { padding: 0; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.theme-modern .vk-ava-card .vk-btn-row > .vk-grow { min-width: 0; }
.theme-modern .vk-ava-card .vk-btn-row > .hue-bell-form { flex: 0 0 34px; width: 34px; height: 32px; }
.theme-modern .vk-ava-card .vk-btn-row > .vk-menu { display: flex; height: 32px; }
.theme-modern #main-content .vk-ava-card .vk-btn-row > .hue-bell-form > .hue-bell { width: 100%; min-height: 0;
    padding: 0; margin: 0; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 32px; }

.theme-modern .vk-views { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: #A0A6AD; font-size: 12.5px; padding-right: 4px; }
.theme-modern .vk-views .hue-ico { width: 16px; height: 16px; flex: 0 0 16px; }

html.hue-sq.theme-modern img.hue-av, html.hue-sq.theme-modern img[class*="-av"], html.hue-sq.theme-modern [class*="-av"] img,
html.hue-sq.theme-modern [class*="-av-"] img, html.hue-sq.theme-modern img[src*="noavatar"], html.hue-sq.theme-modern .vk-face img,
html.hue-sq.theme-modern .vk-compose-av, html.hue-sq.theme-modern .vk-notif-who img, html.hue-sq.theme-modern .hs-row img,
html.hue-sq.theme-modern .hue-fwd-item img, html.hue-sq.theme-modern .pv-who img, html.hue-sq.theme-modern .pv-write img,
html.hue-sq.theme-modern #hue-who-pop img, html.hue-sq.theme-modern .hue-post-card-head img, html.hue-sq.theme-modern .vk-dlg-mini,
html.hue-sq.theme-modern .vk-ava, html.hue-sq.theme-modern .vk-ava-round { border-radius: 0 !important; }
html.hue-sq.theme-modern .vk-ava-box img, html.hue-sq.theme-modern .vk-ava { border-radius: 0 !important; }

.theme-modern .vk-modal { position: fixed; inset: 0; z-index: 1250; background: rgba(0, 0, 0, 0.55); display: flex; align-items: flex-start;
    justify-content: center; padding: 70px 12px 20px 12px; box-sizing: border-box; overflow-y: auto; }
.theme-modern .vk-modal[hidden] { display: none; }
.theme-modern .vk-modal-box { width: 480px; max-width: 100%; background: #FFFFFF; border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); overflow: hidden; }
.theme-modern .vk-modal-head { display: flex; align-items: center; height: 54px; padding: 0 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.theme-modern .vk-modal-x { margin-left: auto; font-size: 24px; color: #A3A9B1 !important; text-decoration: none !important; line-height: 1; }
.theme-modern .vk-modal-body { padding: 14px 20px 6px 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.theme-modern .vk-modal-body input[type="text"], .theme-modern .vk-modal-body textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line-strong);
    border-radius: 6px; padding: 7px 10px; font: inherit; }
.theme-modern .vk-modal-sub { font-weight: 600; margin-top: 6px; }
.theme-modern .vk-modal-note { color: var(--muted); font-size: 12.5px; }
.theme-modern .vk-modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 8px 0 12px 0; }
.theme-modern .vk-link-btn { margin-right: auto; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; font: inherit; }
.theme-modern .vk-link-btn:hover { color: var(--accent); }
.theme-modern .vk-pick-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; overscroll-behavior: contain; }
.theme-modern .vk-pick { display: flex; align-items: center; gap: 10px; padding: 7px 12px; cursor: pointer; }
.theme-modern .vk-pick[hidden] { display: none; }
.theme-modern .vk-pick:hover { background: var(--hover); }
.theme-modern .vk-pick input { display: none; }
.theme-modern .vk-pick img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.theme-modern .vk-pick-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-modern .vk-pick-who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .vk-pick-who small { color: var(--muted); font-size: 12px; }
.theme-modern .vk-pick-box { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C4C8CD; flex-shrink: 0; box-sizing: border-box; }
.theme-modern .vk-pick input:checked ~ .vk-pick-box { background: var(--accent); border-color: var(--accent);
    box-shadow: inset 0 0 0 3px #FFFFFF; }
.theme-modern .vk-pick-empty { padding: 18px; text-align: center; color: var(--muted); }
.theme-modern .vk-pick-note { flex-shrink: 0; margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.theme-modern .vk-pick.vk-pick-off, .theme-modern .vk-chat-friend.vk-chat-friend-off { cursor: default; }
.theme-modern .vk-pick.vk-pick-off:hover, .theme-modern .vk-chat-friend.vk-chat-friend-off:hover { background: transparent; }
.theme-modern .vk-pick-off img, .theme-modern .vk-pick-off .vk-pick-who, .theme-modern .vk-chat-friend-off input, .theme-modern .vk-chat-friend-off img, .theme-modern .vk-chat-friend-off > span:not(.vk-pick-note) { opacity: .5; }
.theme-modern .vk-copy-row { display: flex; gap: 8px; }
.theme-modern .vk-copy-row input { flex: 1; min-width: 0; }
.theme-modern .vk-design-ava { display: flex; align-items: center; gap: 14px; }
.theme-modern .vk-design-ava img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #E4E6E9; }
.theme-modern .vk-design-ava .vk-btn { cursor: pointer; }
.theme-modern .vk-check { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.theme-modern .vk-btn-primary:disabled { opacity: 0.5; cursor: default; }

.theme-modern .vk-dlg-avwrap { position: relative; display: inline-block; flex-shrink: 0; line-height: 0; overflow: visible; }
.theme-modern .vk-av-online { position: absolute; right: -1px; bottom: -1px; z-index: 3; width: 12px; height: 12px; border-radius: 50%;
    background: #4BB34B; box-shadow: 0 0 0 2.5px #FFFFFF; pointer-events: none; }
.theme-modern .vk-chat-head-av .vk-av-online { width: 9px; height: 9px; right: -1px; bottom: -1px; box-shadow: 0 0 0 2px #FFFFFF; }
.theme-modern .vk-dlg:hover .vk-av-online { box-shadow: 0 0 0 2.5px var(--hover); }
/* Старые !important-размеры (vk-chat-head-av img {34px} и т.п.) не должны заливать обводку. */
html.theme-modern .vk-dlg-avwrap .hue-ava-ring.is-on > img,
html.theme-modern .vk-chat-head-av .hue-ava-ring.is-on > img,
html.theme-modern #chat-box .hue-msg-row .hue-ava-ring.is-on > img,
html.theme-modern .vk-person-av .hue-ava-ring.is-on > img,
html.theme-modern a.vk-person-av .hue-ava-ring.is-on > img {
    width: 100% !important; height: 100% !important;
    max-width: none !important; max-height: none !important;
    aspect-ratio: auto !important;
}
.theme-modern .vk-person-av .hue-ava-ring.hue-ava-inline { width: 80px; height: 80px; }
.theme-modern .vk-person-av .hue-ava-ring.hue-ava-inline.is-on {
    padding: min(var(--ring, 5px), 6px) !important;
}
@media (max-width: 700px) {
    .theme-modern .vk-person-av .hue-ava-ring.hue-ava-inline { width: 56px; height: 56px; }
}

.theme-modern .vk-ava-box.vk-ava-framed::after { content: ''; position: absolute; inset: 0; border: 3px solid var(--frame, #B01E1E);
    border-radius: inherit; pointer-events: none; z-index: 1; }
.theme-modern .vk-ava-box .vk-ava { margin: 0 auto; }

.theme-modern .cw {
    --cw-bg: #1E1F22; --cw-text: #F2F3F5; --cw-muted: #A9AEB6; --cw-btn: rgba(255, 255, 255, 0.12);
    --cw-btn-hover: rgba(255, 255, 255, 0.2); --cw-red: #B01E1E; --cw-red-hover: #C42A2A; --cw-green: #2F9A52;
    position: relative; width: calc(360px * var(--cw-k, 1)); max-width: calc(100vw - 16px); box-sizing: border-box;
    background: var(--cw-bg); color: var(--cw-text); border-radius: 16px; overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important; font: 13px/1.4 var(--font);
    transition: width 0.22s ease, border-radius 0.22s ease;
}
.theme-modern .cw * { box-sizing: border-box; }
.theme-modern #call-window.cw-incoming { position: relative !important; width: 340px; }

.theme-modern .cw-bg { position: absolute; inset: -40px; z-index: 0; background: center / cover no-repeat;
    filter: blur(34px) brightness(0.34) saturate(1.1); opacity: 0.75; transform: scale(1.08); pointer-events: none; }
.theme-modern .cw-head, .theme-modern .cw-body { position: relative; z-index: 1; }

.theme-modern .cw-head { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px 6px 14px;
    cursor: move; user-select: none; -webkit-user-select: none; touch-action: none; }
.theme-modern .cw-head-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.theme-modern .cw-title { color: var(--cw-muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .cw-mini-name { display: none; color: var(--cw-text); font-weight: 600; font-size: 13.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .cw-mini-timer { color: var(--cw-muted); font-size: 12px; font-variant-numeric: tabular-nums;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern #call-window:not(.cw-min) .cw-mini-timer { display: none; }
.theme-modern .cw-mini-timer:empty { display: none; }
.theme-modern .cw-mini-av { display: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 36px; background: #2B2D31; }
.theme-modern .cw .cw-mini-hang { display: none; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border-radius: 50%;
    background: var(--cw-red); color: #FFF; align-items: center; justify-content: center; }
.theme-modern .cw .cw-mini-hang:hover { background: var(--cw-red-hover); }
.theme-modern .cw-mini-hang svg { width: 18px; height: 18px; transform: rotate(135deg); }
.theme-modern .cw a.cw-collapse { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; font-size: 0; color: var(--cw-text);
    display: flex; align-items: center; justify-content: center; text-decoration: none !important; transition: background-color 0.15s; }
.theme-modern .cw a.cw-collapse:hover { background: var(--cw-btn); }
.theme-modern .cw a.cw-collapse::before { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.theme-modern .cw.cw-min a.cw-collapse::before { transform: translateY(2px) rotate(-135deg); }
.theme-modern #call-window.cw-incoming .cw-collapse { display: none; }

.theme-modern .cw.cw-min { width: 300px; border-radius: 28px; }
.theme-modern .cw.cw-min .cw-head { padding: 6px 6px 6px 6px; min-height: 48px; }
.theme-modern #call-window.cw-min .cw-mini-av { display: block; }
.theme-modern #call-window.cw-min .cw-mini-name:not(:empty) { display: block; }
.theme-modern #call-window.cw-min .cw-mini-name:not(:empty) ~ .cw-mini-timer { display: block; }
.theme-modern #call-window.cw-min .cw-title { display: none; }
.theme-modern #call-window.cw-min .cw-mini-timer:empty { display: none; }
.theme-modern .cw.cw-min .cw-mini-hang { display: flex; }
.theme-modern .gcw.cw-min .cw-head { padding-left: 16px; }

.theme-modern .cw-stage { position: relative; height: calc(250px * var(--cw-k, 1)); display: flex; align-items: center; justify-content: center;
    transition: height 0.22s ease; }
.theme-modern #call-window.cw-incoming .cw-stage { height: 290px; }
.theme-modern .cw-peer { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 0 18px; max-width: 100%; }
.theme-modern .cw-av-wrap { position: relative; width: 104px; height: 104px; margin-bottom: 14px; }
.theme-modern #call-window.cw-incoming .cw-av-wrap { width: 120px; height: 120px; }
.theme-modern .cw-av { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    background: #2B2D31; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.theme-modern .cw-calling .cw-av-wrap::before, .theme-modern .cw-calling .cw-av-wrap::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3);
    animation: cw-pulse 2.4s ease-out infinite; }
.theme-modern .cw-calling .cw-av-wrap::after { animation-delay: 1.2s; }
html.hue-sq.theme-modern .cw-calling .cw-av-wrap::before, html.hue-sq.theme-modern .cw-calling .cw-av-wrap::after { border-radius: 0; }
@keyframes cw-pulse {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.6); opacity: 0; }
}
.theme-modern #call-window.cw-peer-talking .cw-av-wrap::before {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 3px solid var(--cw-green); box-shadow: 0 0 14px rgba(47, 154, 82, 0.55);
    animation: cw-talk 120ms ease-out; }
html.hue-sq.theme-modern #call-window.cw-peer-talking .cw-av-wrap::before { border-radius: 0; }
@keyframes cw-talk { 0% { transform: scale(0.94); opacity: 0.4; } 100% { transform: scale(1); opacity: 1; } }
.theme-modern #call-window.cw-peer-talking.cw-rvideo #call-remote-video { box-shadow: inset 0 0 0 3px var(--cw-green); }
.theme-modern .cw-name { font-size: 19px; font-weight: 600; color: var(--cw-text); max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .cw-name:empty { display: none; }
.theme-modern .cw-status { margin-top: 4px; color: var(--cw-muted); font-size: 13.5px; }
.theme-modern .cw-timer { margin-top: 2px; color: var(--cw-text); font-size: 15px; font-variant-numeric: tabular-nums; }
.theme-modern .cw-timer:empty, .theme-modern .cw-peer-state:empty { display: none; }
.theme-modern .cw-peer-state { margin-top: 6px; color: var(--cw-muted); font-size: 12px; }

.theme-modern .cw-video { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.theme-modern .cw-video video { pointer-events: auto; }
.theme-modern #call-remote-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.theme-modern .cw-screen #call-remote-video { object-fit: contain; }
.theme-modern #call-local-video { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 30%; max-width: 150px; min-width: 84px;
    aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #000; transform: scaleX(-1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); cursor: grab; touch-action: none; }
.theme-modern #call-local-video.is-screen { transform: none; object-fit: contain; }
.theme-modern .cw .cw-full { position: absolute; top: 10px; right: 10px; z-index: 4; width: 34px; height: 34px; padding: 0;
    border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #FFF; display: flex; align-items: center; justify-content: center;
    pointer-events: auto; }
.theme-modern .cw .cw-full:hover { background: rgba(0, 0, 0, 0.65); }
.theme-modern .cw-full svg { width: 18px; height: 18px; }
.theme-modern #call-window.cw-video .cw-stage { height: calc(300px * var(--cw-k, 1)); }
.theme-modern #call-window.cw-video { width: calc(440px * var(--cw-k, 1)); }
.theme-modern .cw-rvideo .cw-peer { position: absolute; top: 0; left: 0; right: 0; z-index: 3; align-items: flex-start; text-align: left;
    padding: 10px 54px 18px 14px; background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); pointer-events: none; }
.theme-modern .cw-rvideo .cw-av-wrap { display: none; }
.theme-modern .cw-rvideo .cw-name { font-size: 14.5px; }
.theme-modern .cw-rvideo .cw-status, .theme-modern .cw-rvideo .cw-timer, .theme-modern .cw-rvideo .cw-peer-state { font-size: 12px; margin-top: 1px; }
.theme-modern #call-window.cw-screen { width: min(960px, calc(100vw - 32px)); }
.theme-modern #call-window.cw-screen .cw-stage { height: min(64vh, calc(100vh - 210px), 600px); }
.theme-modern .cw-video:fullscreen { background: #000; }
.theme-modern .cw-video:-webkit-full-screen { background: #000; width: 100%; height: 100%; }
.theme-modern .cw-video:fullscreen #call-remote-video { object-fit: contain; }
.theme-modern .cw-video:-webkit-full-screen #call-remote-video { object-fit: contain; }
.theme-modern .hue-call-max { position: fixed !important; inset: 0 !important; z-index: 4000 !important; background: #000 !important;
    width: auto !important; height: auto !important; aspect-ratio: auto !important; border-radius: 0 !important; }

.theme-modern .cw-hint { padding: 0 18px 8px; color: #D5D8DD; font-size: 12px; text-align: center; }
.theme-modern .cw-hint:empty { display: none; }
.theme-modern .cw-btns { display: flex; justify-content: center; align-items: flex-start; gap: 10px; padding: 8px 10px 16px; }
.theme-modern .cw .cw-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 58px; padding: 0;
    background: none; border-radius: 0; color: var(--cw-text); font: 500 11.5px/1.2 var(--font); cursor: pointer; }
.theme-modern .cw .cw-btn:hover { background: none; }
.theme-modern .cw .cw-btn:disabled { opacity: 0.5; cursor: default; }
.theme-modern .cw-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--cw-btn); color: var(--cw-text);
    display: flex; align-items: center; justify-content: center; transition: background-color 0.15s, color 0.15s, transform 0.15s; }
.theme-modern .cw-btn:hover .cw-ic { background: var(--cw-btn-hover); }
.theme-modern .cw-btn:active .cw-ic { transform: scale(0.94); }
.theme-modern .cw-cap { color: var(--cw-muted); white-space: nowrap; }
.theme-modern .cw svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-modern .cw .cw-x { display: none; }
.theme-modern .cw-btn.is-off .cw-ic, .theme-modern .cw-btn.is-on .cw-ic { background: #F2F3F5; color: #1E1F22; }
.theme-modern .cw-btn.is-off .cw-x { display: inline; }
.theme-modern .cw-btn.is-off .cw-wave { display: none; }
.theme-modern #call-cam:not(.is-on) .cw-x, .theme-modern #gcall-cam:not(.is-on) .cw-x { display: inline; }
.theme-modern .cw-red .cw-ic { background: var(--cw-red); color: #FFF; }
.theme-modern .cw-red:hover .cw-ic { background: var(--cw-red-hover); }
.theme-modern .cw-green .cw-ic { background: var(--cw-green); color: #FFF; }
.theme-modern .cw-green:hover .cw-ic { background: #35AB5C; }
.theme-modern .cw-ic-hang svg { transform: rotate(135deg); }
.theme-modern #call-window.cw-incoming .cw-btns { gap: 72px; padding: 6px 10px 26px; }
.theme-modern .cw-big .cw-ic { width: 62px; height: 62px; }
.theme-modern .cw-big svg { width: 26px; height: 26px; }
.theme-modern .cw-big .cw-cap { color: var(--cw-text); font-size: 12.5px; }
.theme-modern .cw-incoming .cw-green .cw-ic { animation: cw-nudge 1.6s ease-in-out infinite; }
@keyframes cw-nudge {
    0%, 70%, 100% { transform: none; }
    78% { transform: rotate(-12deg); }
    86% { transform: rotate(10deg); }
    94% { transform: rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
    .theme-modern .cw-calling .cw-av-wrap::before, .theme-modern .cw-calling .cw-av-wrap::after,
    .theme-modern .cw-incoming .cw-green .cw-ic { animation: none; }
}

.theme-modern #call-window.cw-incoming { max-height: calc(var(--vv-h, 100vh) - 16px); overflow-y: auto; }

.theme-modern .cw .cw-hbtn { flex: 0 0 30px; width: 30px; height: 30px; padding: 0; background: none; border: 0; color: var(--cw-muted);
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.theme-modern .cw .cw-hbtn:hover { background: var(--cw-btn); color: var(--cw-text); }
.theme-modern .cw .cw-hbtn svg { width: 16px; height: 16px; stroke-width: 2.2; }
.theme-modern .cw .cw-hbtn + .cw-hbtn { margin-left: -8px; }
.theme-modern .cw.cw-min .cw-hbtn, .theme-modern #call-window.cw-incoming .cw-hbtn { display: none; }
.theme-modern .cw-grip { position: absolute; right: 0; bottom: 0; z-index: 5; width: 18px; height: 18px; cursor: nwse-resize; touch-action: none;
    background: linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, 0.35) 55% 62%, transparent 62% 72%,
                rgba(255, 255, 255, 0.35) 72% 79%, transparent 79%); opacity: 0.7; }
.theme-modern .cw-grip:hover { opacity: 1; }
.theme-modern .cw.cw-min .cw-grip, .theme-modern .cw.cw-max .cw-grip, .theme-modern #call-window.cw-incoming .cw-grip { display: none; }

.theme-modern #gcall-window.gcw { width: calc(380px * var(--cw-k, 1)); }
.theme-modern #gcall-window.gcw[data-n="many"]:not(.cw-min) { width: calc(540px * var(--cw-k, 1)); }
.theme-modern #gcall-window.gcw.cw-min { width: 300px; }
.theme-modern .gcw #gcall-status { color: var(--cw-muted); }
.theme-modern .gcw-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
    padding: 2px 10px 10px; max-height: min(64vh, calc(100vh - 230px)); overflow-y: auto; overscroll-behavior: contain; }
.theme-modern .gcw-tiles:empty { display: none; }
.theme-modern .gcw-tiles[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.theme-modern .gcw-tiles[data-n="many"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-modern .gcw-tile { position: relative; aspect-ratio: 4 / 3; min-width: 0; min-height: 0; overflow: hidden; container-type: size;
    background: #2B2D31; display: flex; align-items: center; justify-content: center; cursor: default;
    -webkit-tap-highlight-color: transparent; }
.theme-modern .gcw-tiles[data-n="3"] > .gcw-tile:first-child { grid-column: 1 / -1; aspect-ratio: 8 / 3; }
.theme-modern .gcw-av { width: 64px; height: 64px; width: clamp(44px, 42cqmin, 168px); height: clamp(44px, 42cqmin, 168px);
    margin-bottom: 6%; object-fit: cover; background: #3A3C42; flex: 0 0 auto; transition: opacity 0.2s; }
.theme-modern .gcw-tile.is-wait .gcw-av { opacity: 0.5; }
.theme-modern .gcw-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.theme-modern .gcw-self.is-mirror video { transform: scaleX(-1); }
.theme-modern .gcw-self.is-myscreen video { object-fit: contain; }
.theme-modern .gcw-tile.is-screen { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.theme-modern .gcw-tile.is-screen video { object-fit: contain; }
.theme-modern .gcw-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 10px 6px; color: #FFF;
    font-size: 12.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.theme-modern .gcw-self .gcw-cap { color: #D5D8DD; }
.theme-modern .gcw .gcw-full { position: absolute; top: 6px; right: 6px; z-index: 3; width: 34px; height: 34px; padding: 0; border: 0;
    background: rgba(0, 0, 0, 0.55); color: #FFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-modern .gcw .gcw-full:hover { background: rgba(0, 0, 0, 0.75); }
.theme-modern .gcw .gcw-full svg { width: 18px; height: 18px; }
.theme-modern .gcw-tile:fullscreen video, .theme-modern .gcw-tile.hue-call-max video { object-fit: contain; }
.theme-modern .gcw-tile:fullscreen, .theme-modern .gcw-tile.hue-call-max { background: #000; }

.theme-modern .gcw-vol { position: absolute; top: 6px; left: 6px; z-index: 4; display: flex; align-items: center; gap: 6px; margin: 0;
    height: 36px; max-width: calc(100% - 52px); padding: 0 10px 0 0; background: rgba(0, 0, 0, 0.6); color: #FFF; font-size: 12px;
    opacity: 0; pointer-events: none; transition: opacity 0.15s; }
.theme-modern .gcw .gcw-vol-ico { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 0; background: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-modern .gcw-vol .hue-ico { width: 18px; height: 18px; flex: 0 0 18px; background-color: #FFF; }
.theme-modern .gcw-vol .gcw-vol-num { min-width: 36px; text-align: right; font-variant-numeric: tabular-nums; }
.theme-modern .gcw-tile:hover .gcw-vol, .theme-modern .gcw-tile.vol-open .gcw-vol, .theme-modern .gcw-vol:focus-within { opacity: 1; pointer-events: auto; }
.theme-modern .gcw-vol input[type=range] { -webkit-appearance: none; appearance: none; flex: 1 1 120px; width: 120px; min-width: 50px;
    height: 28px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.theme-modern .gcw-vol input[type=range]::-webkit-slider-runnable-track { height: 4px; background: rgba(255, 255, 255, 0.4); }
.theme-modern .gcw-vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px;
    border: 0; border-radius: 0; background: #FFF; }
.theme-modern .gcw-vol input[type=range]::-moz-range-track { height: 4px; background: rgba(255, 255, 255, 0.4); }
.theme-modern .gcw-vol input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 0; background: #FFF; }
@media (hover: none) {
    .theme-modern .gcw-vol { opacity: 1; pointer-events: auto; padding: 0; background: rgba(0, 0, 0, 0.45); }
    .theme-modern .gcw-tile:not(.vol-open) .gcw-vol input, .theme-modern .gcw-tile:not(.vol-open) .gcw-vol .gcw-vol-num { display: none; }
    .theme-modern .gcw-tile.vol-open .gcw-vol { right: 6px; max-width: none; padding-right: 10px; background: rgba(0, 0, 0, 0.72); }
    .theme-modern .gcw-vol input[type=range] { height: 36px; }
    .theme-modern .gcw-vol input[type=range]::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -9px; }
    .theme-modern .gcw-vol input[type=range]::-moz-range-thumb { width: 22px; height: 22px; }
}

.theme-modern #call-window.cw.cw-max:not(.cw-min):not(.cw-incoming), .theme-modern #gcall-window.gcw.cw-max:not(.cw-min) {
    position: fixed !important; left: var(--vv-l, 0px) !important; top: var(--vv-t, 0px) !important; right: auto !important; bottom: auto !important;
    width: var(--vv-w, 100%) !important; height: var(--vv-h, 100%) !important; max-width: none; max-height: none; border-radius: 0;
    display: flex; flex-direction: column; box-shadow: none !important;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left); }
.theme-modern .cw.cw-max:not(.cw-min):not(.cw-incoming) .cw-body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.theme-modern #call-window.cw-max:not(.cw-min):not(.cw-incoming) .cw-stage { flex: 1 1 auto; height: auto !important; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .cw-head { min-height: 54px; padding: 8px 10px 8px 16px; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .cw-title { color: var(--cw-text); font-size: 15px; }
.theme-modern #gcall-window.cw-max:not(.cw-min) #gcall-status { font-size: 13px; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tiles { flex: 1 1 auto; min-height: 0; max-height: none; padding: 0 6px;
    gap: 4px; grid-auto-rows: minmax(150px, 1fr); align-content: stretch; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tile { aspect-ratio: auto !important; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tiles[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tiles[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tiles[data-n="3"] > .gcw-tile:first-child { grid-column: auto; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tiles[data-n="many"] { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: minmax(180px, 1fr); }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-tile.is-screen { grid-column: 1 / -1; grid-row: span 2; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .gcw-cap { font-size: 14px; padding: 22px 12px 8px; }
.theme-modern #gcall-window.cw-max:not(.cw-min) .cw-btns { gap: 14px; padding: 12px 10px 16px; }

html .cw-ic:not(#hq1):not(#hq2):not(#hq3):not(#hq4),
html .cw .cw-mini-hang:not(#hq1):not(#hq2):not(#hq3):not(#hq4) { border-radius: 0 !important; }

@media (max-width: 700px), (max-height: 520px) and (hover: none) {
    .theme-modern #call-window.cw:not(.cw-min), .theme-modern #gcall-window.gcw:not(.cw-min) {
        position: fixed !important; left: var(--vv-l, 0px) !important; top: var(--vv-t, 0px) !important; right: auto !important; bottom: auto !important;
        width: var(--vv-w, 100%) !important; height: var(--vv-h, 100%) !important; max-width: none; max-height: none; border-radius: 0;
        display: flex; flex-direction: column; box-shadow: none !important;
        padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left); }
    .theme-modern #call-window.cw:not(.cw-min) .cw-body, .theme-modern #gcall-window.gcw:not(.cw-min) .cw-body {
        flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
    .theme-modern #call-window.cw:not(.cw-min) .cw-stage { flex: 1 1 auto; height: auto !important; }
    .theme-modern .cw .cw-hbtn, .theme-modern .cw-grip { display: none !important; }
    .theme-modern .cw-btns { padding-bottom: calc(22px + env(safe-area-inset-bottom)); gap: 6px; }
    .theme-modern .cw .cw-btn { min-width: 54px; }
    .theme-modern .cw-ic { width: 54px; height: 54px; }
    .theme-modern #call-window.cw-incoming .cw-btns { gap: 88px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .theme-modern .cw-big .cw-ic { width: 68px; height: 68px; }
    .theme-modern #call-window.cw-incoming .cw-av-wrap { width: 132px; height: 132px; }
    .theme-modern #call-local-video { width: 32%; max-width: 132px; }

    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-head { flex: 0 0 auto; min-height: 54px; padding: 8px 6px 8px 16px; cursor: default; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-title { color: var(--cw-text); font-size: 15px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) #gcall-status { font-size: 13px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-collapse { flex-basis: 44px; width: 44px; height: 44px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles { flex: 1 1 auto; min-height: 0; max-height: none; padding: 0 4px;
        gap: 4px; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(150px, 1fr); align-content: stretch; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tile { aspect-ratio: auto !important; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="3"],
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="4"],
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="many"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="many"] { grid-auto-rows: minmax(170px, 1fr); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="3"] > .gcw-tile:first-child,
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="many"] > .gcw-tile:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tile.is-screen { grid-column: 1 / -1; grid-row: span 2; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-cap { font-size: 14px; padding: 22px 12px 8px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-hint { padding-top: 8px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-btns { flex: 0 0 auto; justify-content: space-evenly; gap: 4px;
        padding: 12px 8px calc(14px + env(safe-area-inset-bottom)); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-ic { width: 56px; height: 56px; }

    .theme-modern #call-window.cw.cw-min, .theme-modern #gcall-window.gcw.cw-min {
        position: fixed !important; left: calc(var(--vv-l, 0px) + 8px) !important; right: auto !important; top: auto !important;
        bottom: calc(64px + env(safe-area-inset-bottom) + var(--vv-b, 0px)) !important;
        width: calc(var(--vv-w, 100vw) - 16px) !important; }
}
@media (max-height: 520px) and (hover: none) and (orientation: landscape) {
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-head { min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles { grid-auto-rows: minmax(110px, 1fr); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="many"] { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(120px, 1fr); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="3"] > .gcw-tile:first-child,
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tiles[data-n="many"] > .gcw-tile:first-child:nth-last-child(odd) { grid-column: auto; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .gcw-tile.is-screen { grid-row: auto; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-btns { padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-ic { width: 46px; height: 46px; }
    .theme-modern #gcall-window.gcw:not(.cw-min) .cw-cap { display: none; }
    .theme-modern #call-window.cw:not(.cw-min):not(.cw-incoming) .cw-btns { padding: 6px 8px calc(8px + env(safe-area-inset-bottom)); }
    .theme-modern #call-window.cw:not(.cw-min):not(.cw-incoming) .cw-ic { width: 46px; height: 46px; }
    .theme-modern #call-window.cw-incoming .cw-av-wrap { width: 84px; height: 84px; margin-bottom: 8px; }
    .theme-modern #call-window.cw-incoming .cw-btns { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

.theme-modern #ap-panel.apm { position: absolute; z-index: 500; width: 800px !important; padding: 0; background: var(--card); font-size: 13px; }
.theme-modern .apm-player { display: flex; align-items: center; gap: 14px; padding: 14px 18px !important; background: #F7F8FA;
    border-bottom: 1px solid var(--line); }
.theme-modern .apm-btns { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.theme-modern .apm-b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
    color: #6B7480 !important; text-decoration: none !important; position: relative; flex: 0 0 auto; }
.theme-modern .apm-b:hover { color: var(--text) !important; background: rgba(0, 0, 0, 0.05); }
.theme-modern .apm-b svg { width: 18px; height: 18px; fill: currentColor; }
.theme-modern .apm-b.on { color: var(--accent) !important; }
.theme-modern #ap-repeat i { display: none; position: absolute; right: 3px; bottom: 3px; min-width: 9px; height: 9px; padding: 0 1px; border-radius: 5px;
    background: var(--accent); color: #FFFFFF; font: 700 7px/9px var(--font); font-style: normal; text-align: center; }
.theme-modern #ap-repeat.one i { display: block; }
.theme-modern .apm-play, .theme-modern #ap-toggle.apm-play { display: inline-flex !important; align-items: center; justify-content: center; width: 38px !important; height: 38px; line-height: normal;
    border-radius: 50%; background: var(--accent); color: #FFFFFF !important; margin: 0 4px; flex: 0 0 auto; text-decoration: none !important;
    line-height: normal !important; }
.theme-modern .apm-play:hover { background: #961A1A; }
.theme-modern .apm-play svg, .theme-modern .mh-play svg, .theme-modern #ap-mini svg { width: 18px; height: 18px; fill: currentColor; }
.theme-modern .apm-play .i-pause, .theme-modern .apm-play.is-playing .i-play,
.theme-modern .mh-play .i-pause, .theme-modern .mh-play.is-playing .i-play,
.theme-modern .ap-mini-play .i-pause, .theme-modern .ap-mini-play.is-playing .i-play { display: none; }
.theme-modern .apm-play.is-playing .i-pause, .theme-modern .mh-play.is-playing .i-pause,
.theme-modern .ap-mini-play.is-playing .i-pause { display: block; }
.theme-modern .apm-cover { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 6px; background: #2F3033 center / cover no-repeat;
    position: relative; cursor: pointer; }
.theme-modern .apm-cover:not(.has-cover)::after, .theme-modern .mu-cover:not(:has(img))::after,
.theme-modern .zv-cover:not(:has(img)):not([style*="background-image"])::after, .theme-modern .ap-mini-cover:not([style*="url"])::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 42%; height: 42%; background: #8A8F96;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern .apm-mid { flex: 1 1 auto; min-width: 0; }
.theme-modern .apm-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.theme-modern .apm-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
    font-size: 13.5px; }
.theme-modern .apm-name b { font-weight: 600; }
.theme-modern .apm-name i { color: #A94442; font-style: normal; }
.theme-modern .apm-time { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.theme-modern .apm-tools { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.theme-modern .apm-vol-ico .v-off { display: none; }
.theme-modern .apm-vol-ico.off .v-off { display: inline; }
.theme-modern .apm-vol-ico.off .v-wave { display: none; }
.theme-modern .apm-vol-ico svg .v-body { fill: currentColor; }

.theme-modern .apm-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 16px; margin: 0; padding: 0;
    background: transparent; cursor: pointer; --p: 0%; }
.theme-modern .apm-range.apm-vol { width: 80px; margin: 0 6px 0 0; }
.theme-modern .apm-range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px;
    background: linear-gradient(to right, var(--accent) var(--p), #D5D9DE var(--p)); }
.theme-modern .apm-range::-moz-range-track { height: 3px; border-radius: 2px; background: #D5D9DE; }
.theme-modern .apm-range::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--accent); }
.theme-modern .apm-range::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%;
    background: var(--accent); border: 0; opacity: 0; transition: opacity 0.12s; }
.theme-modern .apm-range::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 0; opacity: 0; }
.theme-modern .apm-range:hover::-webkit-slider-thumb, .theme-modern .apm-range:focus::-webkit-slider-thumb { opacity: 1; }
.theme-modern .apm-range:hover::-moz-range-thumb, .theme-modern .apm-range:focus::-moz-range-thumb { opacity: 1; }
.theme-modern .apm-range:hover::-webkit-slider-runnable-track { height: 5px; margin-top: -1px; }
.theme-modern .apm-range:focus { outline: none; }
.theme-modern .apm-range:focus-visible { outline: 2px solid rgba(176, 30, 30, 0.35); outline-offset: 2px; border-radius: 3px; }
.theme-modern.ap-novol #ap-vol, .theme-modern.ap-novol #ap-mute { display: none; }

.theme-modern .apm-body { display: flex; align-items: stretch; min-height: 260px; }
.theme-modern .apm-main { flex: 1 1 auto; min-width: 0; padding: 12px 6px 10px 12px; }
.theme-modern .apm-side { flex: 0 0 190px; border-left: 1px solid var(--line); background: #FAFBFC !important; padding: 10px 0;
    display: flex; flex-direction: column; }
.theme-modern .apm-search { position: relative; margin: 0 8px 10px 0; }
.theme-modern .apm-search .hue-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #A3A9B1; }
.theme-modern .apm-search input { width: 100%; height: 32px; box-sizing: border-box; padding: 0 30px 0 32px; border: 1px solid var(--line-strong);
    border-radius: 16px; background: #F2F3F5; font: 13px var(--font); color: var(--text); outline: none; }
.theme-modern .apm-search input:focus { background: #FFFFFF; border-color: #C5CAD0; }
.theme-modern #ap-q-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: #8A8F96; font-size: 17px; line-height: 22px; cursor: pointer; }
.theme-modern #ap-q-clear:hover { background: #E3E5E8; color: var(--text); }
.theme-modern .apm-cap { padding: 0 8px 6px 4px; color: var(--text); font-size: 13px; }
.theme-modern .apm-cap b { font-weight: 600; }
.theme-modern #ap-panel-count { color: var(--muted); }
.theme-modern .apm #ap-list-wrap { max-height: min(52vh, 460px); min-height: 120px; overflow-y: auto; overflow-x: hidden; padding-right: 6px; }
.theme-modern .apm-list { display: block; }
.theme-modern .apm-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 8px 4px 4px; border-radius: 8px;
    box-sizing: border-box; }
.theme-modern .apm-row:hover { background: var(--hover); }
.theme-modern .apm-row.ap-cur { background: #F2F3F5; }
.theme-modern .apm-row.ap-cur .apm-row-name b { color: var(--accent); }
.theme-modern .apm-row-play { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 6px; background: #2F3033 center / cover no-repeat;
    text-decoration: none !important; }
.theme-modern .apm-row-play::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: rgba(0, 0, 0, 0.35);
    opacity: 0; transition: opacity 0.1s; }
.theme-modern .apm-row-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-style: solid;
    border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #FFFFFF; }
.theme-modern .apm-row-play.has-cover::after { opacity: 0; }
.theme-modern .apm-row:hover .apm-row-play::before, .theme-modern .apm-row.ap-cur .apm-row-play::before { opacity: 1; }
.theme-modern .apm-row:hover .apm-row-play::after, .theme-modern .apm-row.ap-cur .apm-row-play::after { opacity: 1; }
.theme-modern .apm-row-play.is-playing::after { width: 3px; height: 12px; margin: -6px 0 0 -5px; border: 0; background: #FFFFFF; box-shadow: 6px 0 0 #FFFFFF; }
.theme-modern .apm-row-info { flex: 1 1 auto; min-width: 0; cursor: pointer; }
.theme-modern .apm-row-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.theme-modern .apm-row-name b { font-weight: 600; }
.theme-modern .apm-row-sub { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .apm-row-sub a { color: var(--muted) !important; }
.theme-modern .apm-row-dur { flex: 0 0 auto; min-width: 34px; text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-modern .apm-act { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
    color: #8A8F96 !important; font-size: 18px; line-height: 1; text-decoration: none !important; opacity: 0; }
.theme-modern .apm-act svg { width: 17px; height: 17px; }
.theme-modern .apm-row:hover .apm-act { opacity: 1; }
.theme-modern .apm-act:hover { background: #E3E5E8; color: var(--text) !important; }
.theme-modern .apm-msg { padding: 28px 12px; text-align: center; color: var(--muted); }
.theme-modern .apm-sections { display: flex; flex-direction: column; }
.theme-modern .apm-sec { display: block; padding: 7px 16px; color: var(--text) !important; text-decoration: none !important; border-left: 2px solid transparent;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .apm-sec:hover { background: var(--hover); }
.theme-modern .apm-sec.active { border-left-color: var(--accent); background: #F0F1F3; font-weight: 500; }
.theme-modern .apm-pls-h { padding: 12px 16px 4px 16px; font-size: 12px; color: var(--muted); }
.theme-modern .apm-sec-pl { font-size: 12.5px; padding: 5px 16px; }
.theme-modern .apm-pls { max-height: 220px; overflow-y: auto; }
.theme-modern .apm-side-links { margin-top: auto; padding: 10px 16px 2px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; }
.theme-modern .apm-side-links a { color: var(--muted) !important; }
.theme-modern .apm-side-links a:hover { color: var(--text) !important; }

.theme-modern .mh-play { display: none; flex: 0 0 auto; align-items: center; justify-content: center; width: 26px; height: 26px; margin-left: -6px;
    border-radius: 50%; color: #C9CCD1 !important; text-decoration: none !important; }
.theme-modern .mh-play:hover { color: #FFFFFF !important; background: rgba(255, 255, 255, 0.08); }
.theme-modern.ap-has-track .mh-play { display: inline-flex; }
.theme-modern .mh-play svg { width: 15px; height: 15px; }

.theme-modern #ap-mini { display: none; }

.theme-modern button.mu-play span, .theme-modern .zv-play span, .theme-modern .zv-row-cover span { display: none; }
.theme-modern button.mu-play.mu-has-cover { border-radius: 6px; background-color: #2F3033; background-size: cover; background-position: center; }
.theme-modern button.mu-play.mu-has-cover::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); opacity: 0;
    transition: opacity 0.1s; }
.theme-modern button.mu-play.mu-has-cover::before { z-index: 1; opacity: 0; transition: opacity 0.1s; }
.theme-modern .mg-track:hover button.mu-play.mu-has-cover::after, .theme-modern .mg-track.ap-cur button.mu-play.mu-has-cover::after,
.theme-modern .mg-track:hover button.mu-play.mu-has-cover::before, .theme-modern .mg-track.ap-cur button.mu-play.mu-has-cover::before { opacity: 1; }
.theme-modern .mg-track.ap-cur { background: #F2F3F5; }
.theme-modern .mg-track.ap-cur button.mu-play:not(.mu-has-cover), .theme-modern .mg-track.ap-cur button.mg-play:not(.mu-has-cover) { background: var(--accent); }
.theme-modern .mg-track.ap-cur .mg-track-name b { color: var(--accent); }

.theme-modern .mu-cover { position: relative; display: block; overflow: hidden; background: #2F3033; border-radius: 8px; }
.theme-modern .mu-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

.theme-modern .mu-pls { padding: 14px 20px 6px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .mu-pls-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 14px; }
.theme-modern .mu-pls-head b { font-weight: 500; }
.theme-modern .mu-pls-new { margin-left: auto; font-size: 12.5px; color: var(--link) !important; }
.theme-modern .mu-pls-empty { padding: 4px 0 12px 0; font-size: 12.5px; }
.theme-modern .mu-pl-create { padding: 4px 0 14px 0; max-width: none; }
.theme-modern .mu-pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px 12px; padding-bottom: 12px; }
.theme-modern .mu-pl-card { position: relative; min-width: 0; }
.theme-modern .mu-pl-card-cover { aspect-ratio: 1 / 1; width: 100%; }
.theme-modern .mu-pl-card-play { position: absolute; left: 8px; top: calc(100% - 92px); width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: rgba(31, 32, 35, 0.78); cursor: pointer; opacity: 0; transition: opacity 0.12s; padding: 0; }
.theme-modern .mu-pl-card-play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-style: solid;
    border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #FFFFFF; }
.theme-modern .mu-pl-card:hover .mu-pl-card-play { opacity: 1; }
.theme-modern .mu-pl-card-play:hover { background: var(--accent); }
.theme-modern .mu-pl-card-title { display: block; margin-top: 7px; font-weight: 500; color: var(--text) !important; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; }
.theme-modern .mu-pl-card-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.theme-modern .mu-up-list { display: grid; gap: 8px; padding: 4px 0; }
.theme-modern .mu-up-row { padding: 8px 10px; border-radius: 8px; background: #F7F8FA; }
.theme-modern .mu-up-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .mu-up-name small { color: var(--muted); }
.theme-modern .mu-up-bar { height: 3px; margin: 6px 0 4px 0; border-radius: 2px; background: #E1E4E8; overflow: hidden; }
.theme-modern .mu-up-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s; }
.theme-modern .mu-up-row.ok .mu-up-bar i { background: #3C763D; }

.theme-modern .mu-pl-head { display: flex; gap: 20px; padding: 20px; }
.theme-modern .mu-pl-cover { flex: 0 0 180px; width: 180px; height: 180px; }
.theme-modern .mu-pl-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.theme-modern .mu-pl-kind { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.theme-modern .mu-pl-title { margin: 4px 0 2px 0; font-size: 21px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.theme-modern .mu-pl-by { color: var(--text); }
.theme-modern .mu-pl-meta { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.theme-modern .mu-pl-desc { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; color: #3D4147; }
.theme-modern .mu-pl-btns { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.theme-modern .vk-menu-list form button { width: 100%; }

.theme-modern .mu-track-hero { display: flex; align-items: center; gap: 14px; padding: 8px 20px 4px 20px; }
.theme-modern .mu-track-cover { flex: 0 0 120px; width: 120px; height: 120px; }
.theme-modern .mu-track-cover:not(:has(img)) { display: none; }
.theme-modern .mu-track-main { flex: 1 1 auto; min-width: 0; padding: 0 !important; }
.theme-modern .mu-track-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 8px 70px; }
.theme-modern .mu-chip, .theme-modern .zv-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 12px;
    background: #F0F2F5; color: #4A5058 !important; font-size: 12px; text-decoration: none !important; white-space: nowrap; }
.theme-modern a.mu-chip:hover, .theme-modern a.zv-chip:hover { background: #E4E7EB; }
.theme-modern .mu-desc, .theme-modern .zv-desc { padding: 6px 20px 4px 20px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.theme-modern .mu-credits, .theme-modern .zv-credits { margin: 10px 20px 6px 20px; padding: 10px 14px; border-radius: 8px; background: #F7F8FA; }
.theme-modern .mu-sub-h, .theme-modern .zv-sub-h { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.theme-modern .mu-credits-text, .theme-modern .zv-credits-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.theme-modern .mu-edit .mu-form { padding: 0 20px 20px 20px; max-width: none; }
.theme-modern .mu-form select { height: 32px; }

.theme-modern #mu-pl-modal .mu-modal-box { width: 420px; max-width: calc(100vw - 24px); margin: 12vh auto auto auto; background: var(--card);
    border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.theme-modern .mu-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line);
    font-size: 14px; }
.theme-modern .mu-modal-head b { font-weight: 500; }
.theme-modern .mu-modal-head a { color: var(--muted) !important; font-size: 22px; }
.theme-modern .mu-modal-list { max-height: 50vh; overflow-y: auto; padding: 6px 0; }
.theme-modern .mu-pl-opt { display: flex; align-items: center; gap: 12px; padding: 8px 18px; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .mu-pl-opt:hover { background: var(--hover); }
.theme-modern .mu-pl-opt-cover { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 6px; background: #2F3033 center / cover no-repeat; }
.theme-modern .mu-pl-opt-title { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .mu-pl-opt-title small { color: var(--muted); font-size: 12px; }
.theme-modern .mu-pl-opt-check { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex;
    align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.theme-modern .mu-pl-opt.on .mu-pl-opt-check { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.theme-modern .mu-modal-msg { padding: 18px !important; text-align: center; color: var(--muted) !important; }
.theme-modern .mu-modal-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.theme-modern .mu-modal-foot input[type="text"] { flex: 1 1 auto; min-width: 0; height: 32px; }
.theme-modern .mu-modal-album { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.theme-modern .zv-page { font-size: 13px; }
.theme-modern .zv-top { display: flex; align-items: center; gap: 10px 14px; padding: 14px 20px; flex-wrap: wrap; }
.theme-modern .zv-top .zv-search { flex: 1 1 220px; }
.theme-modern .zv-brand { display: flex; flex-direction: column; line-height: 1.2; flex: 0 0 auto; }
.theme-modern .zv-brand b { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; }
.theme-modern .zv-brand span { font-size: 11.5px; color: var(--muted); }
.theme-modern .zv-search { position: relative; flex: 1 1 auto; margin: 0; }
.theme-modern .zv-search .hue-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #A3A9B1; }
.theme-modern .zv-search input { width: 100%; height: 34px; box-sizing: border-box; padding-left: 34px; border-radius: 17px; background: #F2F3F5; }
.theme-modern .zv-search input:focus { background: #FFFFFF; }
.theme-modern .zv-genres { display: flex; gap: 6px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; }
.theme-modern .zv-genres::-webkit-scrollbar { display: none; }
.theme-modern .zv-chip.active { background: var(--head-2); color: #FFFFFF !important; }
.theme-modern .zv-chip i { font-style: normal; color: var(--muted); font-size: 11px; }
.theme-modern .zv-chip.active i { color: #C9CCD1; }

.theme-modern .zv-badge { display: inline-flex; align-items: center; margin-left: 4px; vertical-align: middle; cursor: default; }
.theme-modern .zv-badge svg { display: block; }

.theme-modern .zv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; padding: 4px 20px 20px 20px; }
.theme-modern .zv-card { min-width: 0; }
.theme-modern .zv-cover { position: relative; display: block; overflow: hidden; background-color: #2F3033; background-size: cover; background-position: center;
    border-radius: 8px; }
.theme-modern .zv-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-modern .zv-card-cover { aspect-ratio: 1 / 1; }
.theme-modern .zv-play { position: absolute; left: 10px; bottom: 10px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
    background: var(--accent); cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity 0.12s, transform 0.12s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.theme-modern .zv-play::before, .theme-modern .zv-row-cover::before, .theme-modern .zv-play-big::before { content: ""; position: absolute; left: 50%; top: 50%;
    margin: -7px 0 0 -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #FFFFFF; }
.theme-modern .zv-play.is-playing::before, .theme-modern .zv-row-cover.is-playing::before { width: 4px; height: 14px; margin: -7px 0 0 -6px; border: 0;
    background: #FFFFFF; box-shadow: 7px 0 0 #FFFFFF; }
.theme-modern .zv-card:hover .zv-play, .theme-modern .zv-card.ap-cur .zv-play { opacity: 1; transform: none; }
.theme-modern .zv-play:hover { background: #961A1A; }
.theme-modern .zv-card-title { display: block; margin-top: 8px; font-weight: 600; color: var(--text) !important; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; }
.theme-modern .zv-card.ap-cur .zv-card-title { color: var(--accent) !important; }
.theme-modern .zv-card-artist { display: flex; align-items: center; font-size: 12.5px; color: var(--muted); min-width: 0; }
.theme-modern .zv-card-artist a { color: var(--muted) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-stats { display: inline-flex; align-items: center; gap: 12px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.theme-modern .zv-stat { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.theme-modern .zv-stat::before { content: ""; width: 11px; height: 11px; background: currentColor; flex: 0 0 auto; }
.theme-modern .zv-stat-play::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4v16l13-8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern .zv-stat-like::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern button.zv-stat-like { cursor: pointer; }
.theme-modern button.zv-stat-like:hover, .theme-modern .zv-stat-like.on { color: var(--accent); }

.theme-modern .zv-rows { padding: 4px 8px 10px 8px; }
.theme-modern .zv-row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 12px; border-radius: 8px; box-sizing: border-box; }
.theme-modern .zv-row:hover { background: var(--hover); }
.theme-modern .zv-row.ap-cur { background: #F2F3F5; }
.theme-modern .zv-row-n { flex: 0 0 18px; text-align: right; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-modern .zv-row-cover { position: relative; flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 6px; cursor: pointer; }
.theme-modern .zv-row-cover::after { content: ""; position: absolute; inset: 0; border-radius: 6px; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.1s; }
.theme-modern .zv-row-cover::before { z-index: 1; opacity: 0; transition: opacity 0.1s; }
.theme-modern .zv-row:hover .zv-row-cover::after, .theme-modern .zv-row.ap-cur .zv-row-cover::after, .theme-modern .zv-mini:hover .zv-row-cover::after,
.theme-modern .zv-mini.ap-cur .zv-row-cover::after { opacity: 1; }
.theme-modern .zv-row:hover .zv-row-cover::before, .theme-modern .zv-row.ap-cur .zv-row-cover::before, .theme-modern .zv-mini:hover .zv-row-cover::before,
.theme-modern .zv-mini.ap-cur .zv-row-cover::before { opacity: 1; }
.theme-modern .zv-row-cover:not([style*="background-image"])::before { opacity: 1; }
.theme-modern .zv-row-cover:not([style*="background-image"])::after { content: none; }
.theme-modern .zv-row-info { flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-row-title { display: block; font-weight: 600; color: var(--text) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-row.ap-cur .zv-row-title { color: var(--accent) !important; }
.theme-modern .zv-row-sub { display: flex; align-items: center; min-width: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.theme-modern .zv-row-sub a { color: var(--muted) !important; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-dot { margin: 0 5px; color: #B8BDC4; }
.theme-modern .zv-row-stats { flex: 0 0 auto; margin-top: 0; }
.theme-modern .zv-row-dur { flex: 0 0 auto; min-width: 34px; text-align: right; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-modern .zv-row .vk-menu { opacity: 0; transition: opacity 0.1s; }
.theme-modern .zv-row:hover .vk-menu, .theme-modern .zv-row .vk-menu.open { opacity: 1; }
@media (hover: none) { .theme-modern .zv-row .vk-menu { opacity: 1; } .theme-modern .zv-play { opacity: 1; transform: none; } }

.theme-modern .zv-artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px 10px; padding: 4px 20px 20px 20px; }
.theme-modern .zv-artists-row { padding-top: 0; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.theme-modern .zv-artist { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; color: var(--text) !important;
    text-decoration: none !important; }
.theme-modern .zv-artist img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: #E1E3E6; }
.theme-modern .zv-artist-name { margin-top: 7px; font-weight: 500; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-artist-sub { font-size: 12px; color: var(--muted); }

.theme-modern .zv-wide { display: block; }
.theme-modern .zv-plate { display: inline; padding: 2px 8px; background: rgba(17, 17, 18, 0.82); color: #FFFFFF !important; line-height: 1.75;
    -webkit-box-decoration-break: clone; box-decoration-break: clone; text-decoration: none !important; }
.theme-modern a.zv-plate:hover { color: #FFFFFF !important; text-decoration: underline !important; }
.theme-modern .zv-plate a { color: inherit !important; }
.theme-modern .zv-plate-sm { padding: 1px 6px; font-size: 12px; color: #D5D8DC !important; line-height: 1.6; }
.theme-modern .zv-plate-big { padding: 3px 10px; font-size: 22px; font-weight: 600; line-height: 1.55; }
.theme-modern .zv-round-play { position: relative; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--accent);
    cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.theme-modern .zv-round-play:hover { background: #961A1A; }
.theme-modern .zv-round-play span { display: none; }
.theme-modern .zv-round-play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -4px; border-style: solid;
    border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #FFFFFF; }
.theme-modern .zv-round-play.is-playing::before { width: 4px; height: 16px; margin: -8px 0 0 -7px; border: 0; background: #FFFFFF; box-shadow: 8px 0 0 #FFFFFF; }
.theme-modern .zv-round-play-big { width: 64px; height: 64px; }
.theme-modern .zv-round-play-big::before { margin: -11px 0 0 -6px; border-width: 11px 0 11px 18px; }
.theme-modern .zv-round-play-big.is-playing::before { width: 6px; height: 22px; margin: -11px 0 0 -10px; box-shadow: 12px 0 0 #FFFFFF; }
.theme-modern .zv-priv { padding: 1px 7px; border-radius: 9px; background: rgba(255, 255, 255, 0.16); font-size: 11.5px; }
.theme-modern canvas.zv-wave { display: block; width: 100%; height: 96px; cursor: pointer; }
.theme-modern canvas.zv-wave-sm { height: 56px; }
.theme-modern .zv-h { padding: 16px 20px 10px 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text);
    border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.theme-modern .zv-like-btn.on, .theme-modern .zv-sq.on { color: var(--accent) !important; }
.theme-modern .zv-like-btn.on .hue-ico-heart, .theme-modern .zv-sq.on .hue-ico-heart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.theme-modern .zv-stat-cmt::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v13H8l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v13H8l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern .zv-stat-rep::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M4 10V8a3 3 0 0 1 3-3h13l-3-3M20 14v2a3 3 0 0 1-3 3H4l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M4 10V8a3 3 0 0 1 3-3h13l-3-3M20 14v2a3 3 0 0 1-3 3H4l3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern a.zv-stat { color: inherit !important; }

.theme-modern .zv-thero { position: relative; display: flex; gap: 24px; padding: 22px; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden;
    background: #3A3B3F; color: #FFFFFF; isolation: isolate; }
.theme-modern .zv-thero-bg { position: absolute; inset: -40px; z-index: -1; background: #3A3B3F center / cover no-repeat; filter: blur(38px) saturate(1.15);
    opacity: 0.9; }
.theme-modern .zv-thero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 22, 0.42); }
.theme-modern .zv-thero-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.theme-modern .zv-thero-head { display: flex; align-items: flex-start; gap: 16px; }
.theme-modern .zv-thero-names { flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.theme-modern .zv-thero-title { margin: 0; font-size: inherit; overflow-wrap: anywhere; }
.theme-modern .zv-thero-sub { display: flex; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.82); }
.theme-modern .zv-thero-sub a { color: rgba(255, 255, 255, 0.92) !important; }
.theme-modern .zv-thero .zv-dot { color: rgba(255, 255, 255, 0.5); }
.theme-modern .zv-thero-wave { position: relative; display: flex; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 26px; }
.theme-modern .zv-wave-box { position: relative; flex: 1 1 auto; min-width: 0; padding-bottom: 14px; }
.theme-modern .zv-marks { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; }
.theme-modern .zv-mark { position: absolute; bottom: 2px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); transition: transform 0.12s; }
.theme-modern .zv-mark:hover { transform: scale(1.35); z-index: 2; }
.theme-modern .zv-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-modern .zv-wave-times { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; padding-bottom: 30px;
    font-variant-numeric: tabular-nums; }
.theme-modern .zv-thero-actions { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.theme-modern .zv-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.18); color: #FFFFFF; font: 600 13px var(--font); cursor: pointer; }
.theme-modern .zv-pill:hover { background: rgba(0, 0, 0, 0.32); }
.theme-modern .zv-pill .hue-ico { width: 18px; height: 18px; }
.theme-modern .zv-thero .zv-like-btn.on { color: #FF6B66 !important; border-color: rgba(255, 107, 102, 0.6); }
.theme-modern .zv-cform { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 38px; margin: 0; padding: 0 6px 0 5px;
    border-radius: 19px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.25); }
.theme-modern .zv-cform-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #5A5B60; }
.theme-modern .zv-cform input[type="text"] { flex: 1 1 auto; min-width: 0; height: 34px; padding: 0 4px; border: 0 !important; background: transparent !important;
    color: #FFFFFF; font: 13px var(--font); outline: none; box-shadow: none !important; }
.theme-modern .zv-cform input::placeholder { color: rgba(255, 255, 255, 0.72); }
.theme-modern .zv-cform button { flex: 0 0 auto; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #FFFFFF;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.theme-modern .zv-cform button:hover { background: rgba(255, 255, 255, 0.14); }
.theme-modern .zv-cform .hue-ico { width: 17px; height: 17px; }
.theme-modern .zv-round { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.18); color: #FFFFFF !important; cursor: pointer;
    text-decoration: none !important; font-size: 15px; line-height: 1; }
.theme-modern .zv-round:hover { background: rgba(0, 0, 0, 0.34); }
.theme-modern .zv-round svg, .theme-modern .zv-round .hue-ico { width: 18px; height: 18px; }
.theme-modern .zv-thero .vk-menu-list { color: var(--text); }
.theme-modern .zv-thero-cover { flex: 0 0 300px; width: 300px; height: 300px; align-self: flex-start; border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.theme-modern .zv-flash { padding: 12px 20px; }
.theme-modern .zv-repost-form { display: flex; gap: 8px; padding: 12px 16px; }
.theme-modern .zv-repost-form input[type="text"] { flex: 1 1 auto; min-width: 0; }

.theme-modern .zv-tbody { display: flex; align-items: flex-start; gap: 14px; }
.theme-modern .zv-tleft { flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-tright { flex: 0 0 290px; min-width: 0; }
.theme-modern .zv-details { padding-bottom: 16px; }
.theme-modern .zv-desc a, .theme-modern .zv-credits a, .theme-modern .zv-abio a { color: var(--accent) !important; }
.theme-modern .zv-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px 0 20px; }
.theme-modern .zv-hint { padding: 8px 20px 0 20px; font-size: 12.5px; }
.theme-modern .zv-acard { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px; }
.theme-modern .zv-acard-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; background: #E1E3E6; }
.theme-modern .zv-acard-info { flex: 1 1 120px; min-width: 0; }
.theme-modern .zv-acard-name { font-size: 15px; font-weight: 600; color: var(--text) !important; }
.theme-modern .zv-acard-info .vk-muted { font-size: 12px; margin-top: 2px; }
.theme-modern .zv-acard-btn { width: 100%; }
.theme-modern .zv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.theme-modern .zv-tile { display: flex; flex-direction: column; align-items: center; padding: 12px 4px; border-radius: var(--radius); background: var(--card);
    box-shadow: 0 0 0 1px var(--line-strong); }
.theme-modern .zv-tile b { font-size: 19px; font-weight: 700; line-height: 1.2; }
.theme-modern .zv-tile span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.3px; }
.theme-modern .zv-likers { display: flex; align-items: center; gap: 10px; margin: 0 0 12px 0; padding: 0 4px; font-size: 12.5px; color: var(--muted); }
.theme-modern .zv-likers-avs { display: inline-flex; flex: 0 0 auto; }
.theme-modern .zv-likers-avs img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-right: -9px; display: block; background: #E1E3E6; }
.theme-modern .zv-likers-text { padding-left: 8px; min-width: 0; }
.theme-modern .zv-likers-text a { color: var(--text) !important; font-weight: 600; }
.theme-modern .zv-side { padding: 12px 0; }
.theme-modern .zv-side-h { display: flex; justify-content: space-between; padding: 0 16px 8px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.4px; color: var(--muted); }
.theme-modern .zv-side-h a { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted) !important; }
.theme-modern .zv-mini, .theme-modern .zv-aliked-item { display: flex; align-items: center; gap: 10px; padding: 6px 16px; }
.theme-modern .zv-mini .zv-row-cover, .theme-modern .zv-aliked-item .zv-row-cover { width: 50px; height: 50px; border-radius: 4px; }
.theme-modern .zv-mini-info { min-width: 0; line-height: 1.3; }
.theme-modern .zv-mini-info a { display: block; color: var(--text) !important; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-mini-info .vk-muted { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-mini-info .zv-stats { margin-top: 1px; gap: 9px; font-size: 11.5px; }
.theme-modern .zv-mini.ap-cur .zv-mini-info a, .theme-modern .zv-aliked-item.ap-cur .zv-mini-info a { color: var(--accent) !important; }
.theme-modern .zv-mini:hover .zv-row-cover::after, .theme-modern .zv-aliked-item:hover .zv-row-cover::after,
.theme-modern .zv-aliked-item.ap-cur .zv-row-cover::after { opacity: 1; }
.theme-modern .zv-aliked-item:hover .zv-row-cover::before, .theme-modern .zv-aliked-item.ap-cur .zv-row-cover::before { opacity: 1; }
.theme-modern .zv-side-link { display: block; padding: 6px 16px; color: var(--text) !important; }
.theme-modern .zv-side-link:hover { background: var(--hover); text-decoration: none !important; }

.theme-modern .zv-abanner { position: relative; display: flex; align-items: center; gap: 28px; min-height: 230px; padding: 24px 28px; border-radius: var(--radius);
    overflow: hidden; background: #2F3033; isolation: isolate; }
.theme-modern .zv-abanner-bg { position: absolute; inset: 0; z-index: -1; background: #2F3033 center / cover no-repeat; }
.theme-modern .zv-abanner-blur { inset: -50px; filter: blur(40px) saturate(1.2); opacity: 0.85; }
.theme-modern .zv-abanner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 15, 17, 0.28); }
.theme-modern .zv-abanner-av { flex: 0 0 auto; width: 190px; height: 190px; border-radius: 50%; object-fit: cover; background: #5A5B60;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35); }
.theme-modern .zv-abanner-names { min-width: 0; }
.theme-modern .zv-abanner-name { margin: 0; font-size: inherit; overflow-wrap: anywhere; }
.theme-modern .zv-abanner-name .zv-plate-big { font-size: 26px; }
.theme-modern .zv-abanner-mark { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; }
.theme-modern .zv-abanner-mark .zv-badge { margin: 0; }
.theme-modern .zv-abanner-user { margin-top: 6px; }
.theme-modern .zv-abar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px 0; padding: 0 4px; border-bottom: 1px solid var(--line-strong); }
.theme-modern .zv-atabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-atabs::-webkit-scrollbar { display: none; }
.theme-modern .zv-atabs a { flex: 0 0 auto; padding: 14px 0 12px 0; border-bottom: 2px solid transparent; color: var(--muted) !important; font-weight: 500;
    text-decoration: none !important; }
.theme-modern .zv-atabs a:hover { color: var(--text) !important; }
.theme-modern .zv-atabs a.active { color: var(--text) !important; border-bottom-color: var(--accent); }
.theme-modern .zv-abtns { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 6px 0; }
.theme-modern .zv-abtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 6px; background: #E4E6EA;
    color: var(--text) !important; font: 600 12.5px var(--font); cursor: pointer; text-decoration: none !important; }
.theme-modern .zv-abtn:hover { background: #D9DCE0; }
.theme-modern .zv-abtn svg, .theme-modern .zv-abtn .hue-ico { width: 16px; height: 16px; }
.theme-modern .zv-abtn-main { background: var(--accent); color: #FFFFFF !important; }
.theme-modern .zv-abtn-main:hover { background: #961A1A; }
.theme-modern .zv-abtn-icon { width: 34px; padding: 0; justify-content: center; }
.theme-modern .zv-abody { display: flex; align-items: flex-start; gap: 24px; }
.theme-modern .zv-aleft { flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-aright { flex: 0 0 270px; min-width: 0; }
.theme-modern .zv-ah { margin: 4px 0 12px 0; font-size: 19px; font-weight: 700; }
.theme-modern .zv-tcards { display: grid; gap: 22px; margin-bottom: 22px; }
.theme-modern .zv-tcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; }
.theme-modern .zv-tcard-cover { grid-row: 1 / 3; width: 150px; height: 150px; border-radius: 4px; }
.theme-modern .zv-tcard-main { position: relative; min-height: 150px; display: flex; flex-direction: column; padding: 12px 12px 10px 12px; border-radius: 4px;
    overflow: hidden; background: #3A3B3F; isolation: isolate; }
.theme-modern .zv-tcard-bg { position: absolute; inset: -30px; z-index: -1; background: #3A3B3F center / cover no-repeat; filter: blur(26px) saturate(1.2); opacity: 0.85; }
.theme-modern .zv-tcard-main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 22, 0.32); }
.theme-modern .zv-tcard-top { display: flex; align-items: flex-start; gap: 10px; }
.theme-modern .zv-tcard-names { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.theme-modern .zv-tcard-names .zv-badge { margin-left: 4px; vertical-align: -2px; }
.theme-modern .zv-tcard-ago { flex: 0 0 auto; }
.theme-modern .zv-tcard-wave { position: relative; margin-top: auto; padding-top: 10px; }
.theme-modern .zv-tcard-dur { position: absolute; right: 0; bottom: 18px; }
.theme-modern .zv-tcard-actions { grid-column: 2; display: flex; align-items: center; gap: 6px; padding-top: 10px; }
.theme-modern .zv-sq { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 36px; height: 28px; padding: 0 9px; border: 0;
    border-radius: 4px; background: #E4E6EA; color: var(--text) !important; font: 600 12px var(--font); cursor: pointer; text-decoration: none !important; }
.theme-modern .zv-sq:hover { background: #D9DCE0; }
.theme-modern .zv-sq svg, .theme-modern .zv-sq .hue-ico { width: 15px; height: 15px; }
.theme-modern .zv-sq span:not(.hue-ico):empty { display: none; }
.theme-modern .zv-tcard-counts { margin-left: auto; display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.theme-modern .zv-tcard-counts .zv-stat::before { width: 11px; height: 11px; }
.theme-modern .zv-tcard.ap-cur .zv-tcard-names a.zv-plate:not(.zv-plate-sm) { color: #FF8A85 !important; }
.theme-modern .zv-acounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 0 14px 0; border-bottom: 1px solid var(--line-strong); }
.theme-modern .zv-acount { display: flex; flex-direction: column; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .zv-acount span { font-size: 12.5px; color: var(--muted); }
.theme-modern .zv-acount b { font-size: 24px; font-weight: 700; line-height: 1.25; }
.theme-modern .zv-abio { padding: 12px 0 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #3D4147; line-height: 1.5; }
.theme-modern .zv-alinks { display: grid; gap: 6px; padding: 12px 0 2px 0; }
.theme-modern .zv-alinks a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted) !important; font-size: 13px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .zv-alinks a:hover { color: var(--text) !important; }
.theme-modern .zv-alinks svg { width: 16px; height: 16px; flex: 0 0 auto; }
.theme-modern .zv-aside-h { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding: 0 0 8px 0;
    border-bottom: 1px solid var(--line-strong); font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
.theme-modern .zv-aside-h a { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--muted) !important; }
.theme-modern .zv-aliked { padding: 6px 0; }
.theme-modern .zv-aliked-item { padding: 6px 0; }
.theme-modern .zv-anav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-strong); font-size: 12.5px; }
.theme-modern .zv-anav a { color: var(--muted) !important; }
.theme-modern .zv-pl-grid { padding: 0 0 16px 0; }

.theme-modern .zv-cmt-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; display: block; background: #E1E3E6; }
.theme-modern .zv-cmt { display: flex; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .zv-cmt:last-child { border-bottom: 0; }
.theme-modern .zv-cmt:target { background: #FBF3F3; }
.theme-modern .zv-cmt-body { flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-cmt-head { display: flex; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.theme-modern .zv-cmt-name { font-weight: 600; color: var(--text) !important; }
.theme-modern .zv-at { color: var(--accent) !important; font-variant-numeric: tabular-nums; }
.theme-modern .zv-cmt-date { margin-left: 8px; color: var(--muted); font-size: 12px; }
.theme-modern .zv-cmt-text { margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.theme-modern .zv-cmt-del { margin: 0; }
.theme-modern .zv-cmt-del button { border: 0; background: none; color: #A3A9B1; font-size: 18px; cursor: pointer; opacity: 0; }
.theme-modern .zv-cmt:hover .zv-cmt-del button { opacity: 1; }
.theme-modern .zv-cmt-del button:hover { color: var(--accent); }

.theme-modern .zv-up-form { padding: 0 20px 18px 20px; max-width: none; }
.theme-modern .zv-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px;
    padding: 18px; border: 2px dashed var(--line-strong); border-radius: 10px; background: #FAFBFC; text-align: center; cursor: pointer; }
.theme-modern .zv-drop:hover, .theme-modern .zv-drop.over { border-color: var(--accent); background: #FBF3F3; }
.theme-modern .zv-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.theme-modern .zv-drop b { font-size: 14px; font-weight: 600; }
.theme-modern .zv-drop span { font-size: 12px; color: var(--muted); }
.theme-modern .zv-up-items { display: grid; gap: 10px; }
.theme-modern .zv-up-items:empty { display: none; }
.theme-modern .zv-up-card { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.theme-modern .zv-up-card.err { border-color: #E3B5B5; }
.theme-modern .zv-up-card.ok { border-color: #BFD8BF; }
.theme-modern .zv-up-cover { position: relative; flex: 0 0 96px; width: 96px; height: 96px; border-radius: 8px; background: #2F3033 center / cover no-repeat;
    cursor: pointer; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.theme-modern .zv-up-cover span { width: 100%; padding: 4px 0; background: rgba(0, 0, 0, 0.55); color: #FFFFFF; font-size: 11.5px; text-align: center; }
.theme-modern .zv-up-cover.has span { opacity: 0; }
.theme-modern .zv-up-cover:hover span { opacity: 1; }
.theme-modern .zv-up-fields { flex: 1 1 auto; min-width: 0; display: grid; gap: 7px; }
.theme-modern .zv-up-file { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-up-x { color: #A3A9B1 !important; font-size: 18px; line-height: 1; }
.theme-modern .zv-up-x:hover { color: var(--accent) !important; }
.theme-modern .zv-up-big { font-size: 12.5px; }
.theme-modern .zv-up-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-modern .zv-up-row2 input, .theme-modern .zv-up-row2 select { width: 100%; min-width: 0; height: 32px; box-sizing: border-box; }
.theme-modern .zv-up-more summary { cursor: pointer; font-size: 12.5px; color: var(--link); }
.theme-modern .zv-up-more[open] { display: grid; gap: 6px; }
.theme-modern .zv-up-more textarea, .theme-modern .zv-up-more input { width: 100%; box-sizing: border-box; }
.theme-modern .zv-up-card .mu-up-bar { margin: 2px 0 0 0; }

@media (max-width: 1000px) and (min-width: 701px) {
    .theme-modern .zv-page .vk-right, .theme-modern .mu-page .vk-right { flex-basis: 180px; }
    .theme-modern .zv-thero-cover { flex-basis: 200px; width: 200px; height: 200px; }
    .theme-modern .zv-thero-actions { flex-wrap: wrap; }
    .theme-modern .zv-cform { order: 9; flex: 1 1 100%; }
    .theme-modern .zv-tbody { flex-direction: column; align-items: stretch; }
    .theme-modern .zv-tright { flex: none; width: 100%; }
    .theme-modern .zv-asheet .zv-abody { gap: 18px; padding: 0 16px; }
    .theme-modern .zv-asheet .zv-aright { flex: 0 0 210px; padding-left: 16px; }
    .theme-modern .zv-abanner-av { width: 150px; height: 150px; }
    .theme-modern .mu-pl-head { flex-direction: column; }
    .theme-modern .mu-pl-cover { flex-basis: auto; }
    .theme-modern #ap-panel.apm .apm-side { flex-basis: 160px; }
    .theme-modern .apm-range.apm-vol { width: 60px; }
}

@media (max-width: 700px) {
    .theme-modern #ap-panel.apm { width: auto !important; max-height: calc(100dvh - var(--hue-top, 48px) - 120px - env(safe-area-inset-bottom)) !important;
        display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain; }
    .theme-modern #ap-panel.apm > .apm-player { flex: none; }
    .theme-modern #ap-panel.apm > .apm-body { flex: 1 1 auto; min-height: 0; }
    .theme-modern #ap-panel.apm .apm-side { flex: none; }
    .theme-modern #ap-panel.apm .apm-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
    .theme-modern #ap-panel.apm .apm-search, .theme-modern #ap-panel.apm .apm-cap { flex: none; }
    .theme-modern .apm-player { flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px !important; }
    .theme-modern .apm-cover { order: 1; width: 52px; height: 52px; }
    .theme-modern .apm-mid { order: 2; flex: 1 1 calc(100% - 70px); }
    .theme-modern .apm-btns { order: 3; flex: 1 1 100%; justify-content: center; gap: 28px; }
    .theme-modern .apm-tools { order: 4; flex: 1 1 100%; display: flex; align-items: center; gap: 6px; }
    .theme-modern .apm-tools .apm-range.apm-vol { flex: 1 1 auto; width: auto; min-width: 0; margin: 0 4px; }
    .theme-modern .apm-play, .theme-modern #ap-toggle.apm-play { width: 46px !important; height: 46px; line-height: normal; }
    .theme-modern .apm-b { width: 38px; height: 38px; }
    .theme-modern .apm-b svg { width: 21px; height: 21px; }
    .theme-modern .apm-range { height: 26px; }
    .theme-modern .apm-range::-webkit-slider-thumb { opacity: 1; width: 14px; height: 14px; margin-top: -5.5px; }
    .theme-modern .apm-range::-moz-range-thumb { opacity: 1; }
    .theme-modern .apm-line { flex-direction: column; gap: 1px; margin-bottom: 2px; }
    .theme-modern .apm-name { width: 100%; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .theme-modern .apm-body { flex-direction: column-reverse; min-height: 0; }
    .theme-modern .apm-side { flex: none; border-left: 0; border-bottom: 1px solid var(--line); padding: 6px 0; flex-direction: row; overflow-x: auto;
        scrollbar-width: none; }
    .theme-modern .apm-side::-webkit-scrollbar { display: none; }
    .theme-modern .apm-sections, .theme-modern .apm-pls { flex-direction: row; display: flex; max-height: none; overflow: visible; }
    .theme-modern .apm-sec { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; padding: 8px 12px; }
    .theme-modern .apm-sec.active { border-bottom-color: var(--accent); background: transparent; }
    .theme-modern .apm-pls-h { display: none; }
    .theme-modern .apm-side-links { margin: 0; border: 0; padding: 8px 12px; flex-wrap: nowrap; white-space: nowrap; }
    .theme-modern .apm-main { padding: 10px 8px 8px 10px; }
    .theme-modern .apm #ap-list-wrap { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; overflow-x: hidden; padding-right: 0;
        -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; }
    .theme-modern .apm-act { opacity: 1; }
    .theme-modern .apm-row { min-height: 50px; }

    .theme-modern #ap-mini { position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 655; height: 52px;
        align-items: center; gap: 10px; padding: 0 6px 0 10px; box-sizing: border-box; background: #FFFFFF; border-top: 1px solid var(--line-strong);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06); cursor: pointer; }
    .theme-modern #ap-mini.on { display: flex; }
    .theme-modern .ap-mini-progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: transparent; }
    .theme-modern .ap-mini-bar { display: block; height: 2px; width: 0; background: var(--accent); }
    .theme-modern .ap-mini-cover { position: relative; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 6px; background: #2F3033 center / cover no-repeat; }
    .theme-modern .ap-mini-title { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
    .theme-modern .ap-mini-title b, .theme-modern .ap-mini-title span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .theme-modern .ap-mini-title b { font-weight: 600; font-size: 13.5px; }
    .theme-modern .ap-mini-title span { font-size: 12px; color: var(--muted); }
    .theme-modern .ap-mini-play, .theme-modern .ap-mini-next { flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
        background: none; color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
    .theme-modern .ap-mini-play svg, .theme-modern .ap-mini-next svg { width: 24px; height: 24px; fill: currentColor; }
    .theme-modern.ap-has-track { padding-bottom: calc(64px + 52px + env(safe-area-inset-bottom)) !important; }
    .theme-modern.ap-has-track .mh-play { display: none; }
    html.hue-menu-open .theme-modern #ap-mini, .theme-modern.ap-panel-open #ap-mini { display: none; }

    .theme-modern .mu-pl-head { flex-direction: column; align-items: center; text-align: center; padding: 16px; }
    .theme-modern .mu-pl-cover { width: 160px; height: 160px; flex-basis: auto; }
    .theme-modern .mu-pl-btns { justify-content: center; }
    .theme-modern .mu-pl-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px 10px; }
    .theme-modern .mu-pl-card-play { opacity: 1; }
    .theme-modern .mu-pls { padding: 12px 12px 4px 12px; }
    .theme-modern .mu-track-hero { flex-direction: column; align-items: stretch; padding: 8px 8px 0 8px; }
    .theme-modern .mu-track-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 260px; margin: 0 auto; flex-basis: auto; }
    .theme-modern .mu-track-tags { padding-left: 12px; }

    .theme-modern .zv-top { flex-wrap: wrap; padding: 12px; }
    .theme-modern .zv-brand { flex: 1 1 auto; }
    .theme-modern .zv-search { order: 3; flex: 1 1 100%; }
    .theme-modern .zv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 4px 12px 16px 12px; }
    .theme-modern .zv-row { gap: 10px; padding: 6px 6px; }
    .theme-modern .zv-row-n, .theme-modern .zv-row-stats { display: none; }
    .theme-modern .zv-thero { flex-direction: column-reverse; gap: 14px; padding: 14px; border-radius: 12px; }
    .theme-modern .zv-thero-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 280px; margin: 0 auto; flex-basis: auto; align-self: center; }
    .theme-modern .zv-thero-head { gap: 12px; }
    .theme-modern .zv-round-play-big { width: 54px; height: 54px; }
    .theme-modern .zv-plate-big { font-size: 18px; }
    .theme-modern .zv-thero-wave { padding-top: 16px; gap: 6px; }
    .theme-modern canvas.zv-wave { height: 72px; }
    .theme-modern .zv-wave-times { padding-bottom: 22px; }
    .theme-modern .zv-thero-actions { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .theme-modern .zv-cform { order: 9; flex: 1 1 100%; }
    .theme-modern .zv-round { width: 40px; height: 40px; }
    .theme-modern .zv-tbody, .theme-modern .zv-abody { flex-direction: column; align-items: stretch; gap: 0; }
    .theme-modern .zv-tright, .theme-modern .zv-aright { flex: none; width: 100%; }
    .theme-modern .zv-tright { order: -1; }
    .theme-modern .zv-cmt { padding: 10px 12px; }
    .theme-modern .zv-cmt-del button { opacity: 1; }
    .theme-modern .zv-h { padding: 14px 12px 10px 12px; }
    .theme-modern .zv-desc, .theme-modern .zv-tags, .theme-modern .zv-hint { padding-left: 12px; padding-right: 12px; }
    .theme-modern .zv-credits { margin-left: 12px; margin-right: 12px; }
    .theme-modern .zv-abanner { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 18px 14px; border-radius: 12px; }
    .theme-modern .zv-abanner-av { width: 112px; height: 112px; }
    .theme-modern .zv-abanner-name .zv-plate-big { font-size: 20px; }
    .theme-modern .zv-abar { gap: 4px; margin-bottom: 12px; }
    .theme-modern .zv-atabs { flex: 1 1 100%; gap: 18px; padding: 0 4px; }
    .theme-modern .zv-abtns { flex-wrap: wrap; }
    .theme-modern .zv-abtn span:not(.hue-ico) { display: none; }
    .theme-modern .zv-abtn[data-zv-follow] { padding: 0 14px; }
    .theme-modern .zv-ah { margin: 4px 4px 10px 4px; font-size: 17px; }
    .theme-modern .zv-tcard { grid-template-columns: 1fr; }
    .theme-modern .zv-tcard-cover { display: none; }
    .theme-modern .zv-tcard-main { min-height: 130px; border-radius: 8px; }
    .theme-modern .zv-tcard-actions { grid-column: 1; flex-wrap: wrap; }
    .theme-modern .zv-tcard-ago { display: none; }
    .theme-modern .zv-aright { padding: 8px 4px 0 4px; }
    .theme-modern #main-content .zv-acard-av { height: 64px; }
    .theme-modern #main-content .zv-cmt-av { height: 34px; }
    .theme-modern #main-content .zv-cform-av { height: 28px; }
    .theme-modern #main-content .zv-likers-avs img { height: 30px; }
    .theme-modern #main-content .zv-mark img, .theme-modern #main-content .zv-cover img,
    .theme-modern #main-content .mu-cover img { height: 100%; }
    .theme-modern #main-content .zv-abanner-av { height: 112px; }
    .theme-modern #main-content .zv-artist img { height: 64px; }
    .theme-modern .zv-up-form { padding: 0 12px 14px 12px; }
    .theme-modern .zv-up-card { flex-direction: column; }
    .theme-modern .zv-up-cover { width: 100%; height: 120px; flex-basis: auto; }
    .theme-modern .zv-up-row2 { grid-template-columns: 1fr; }
    .theme-modern .zv-repost-form { flex-wrap: wrap; }
    .theme-modern .zv-artists { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px 12px 16px 12px; }
    .theme-modern .zv-artist img { width: 64px; height: 64px; }
}

.theme-modern .zv-page, .theme-modern .zv-page *, .theme-modern .zv-page *::before, .theme-modern .zv-page *::after,
html.hue-sq.theme-modern .zv-page img, html.hue-sq.theme-modern .zv-page [class*="-av"] { border-radius: 0 !important; }

.hue-ico-repost { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l4 4-4 4'/%3E%3Cpath d='M3 11V9a3 3 0 0 1 3-3h15'/%3E%3Cpath d='M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v2a3 3 0 0 1-3 3H3'/%3E%3C/svg%3E"); }
.hue-ico-link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
.hue-ico-plus { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.hue-ico-dots { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E"); }
.hue-ico-play { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M7 4.5v15l12.5-7.5z'/%3E%3C/svg%3E"); }
.hue-ico-pause { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='6' y='4.5' width='4' height='15'/%3E%3Crect x='14' y='4.5' width='4' height='15'/%3E%3C/svg%3E"); }
.hue-ico-upload { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4M12 15V3M7 8l5-5 5 5'/%3E%3C/svg%3E"); }
.hue-ico-station { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M8 8a5.6 5.6 0 0 0 0 8M16 8a5.6 5.6 0 0 1 0 8M5 5a9.8 9.8 0 0 0 0 14M19 5a9.8 9.8 0 0 1 0 14'/%3E%3C/svg%3E"); }
.hue-ico-user { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3Cpath d='M19 3v4M17 5h4'/%3E%3C/svg%3E"); }
.theme-modern .zv-page .hue-ico { width: 18px; height: 18px; flex: 0 0 18px; }
.theme-modern .zv-page .zv-sq .hue-ico { width: 16px; height: 16px; flex-basis: 16px; }
.theme-modern .zv-page .vk-menu-btn .hue-ico-dots { width: 18px; height: 18px; }

.theme-modern .zv-page .zv-round-play::before, .theme-modern .zv-page .zv-row-cover::before, .theme-modern .zv-page .zv-play::before {
    width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 0; background: #FFFFFF; box-shadow: none;
    -webkit-mask: var(--zv-pi) center / contain no-repeat; mask: var(--zv-pi) center / contain no-repeat;
    --zv-pi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M7 4.5v15l12.5-7.5z'/%3E%3C/svg%3E"); }
.theme-modern .zv-page .zv-round-play.is-playing::before, .theme-modern .zv-page .zv-row-cover.is-playing::before, .theme-modern .zv-page .zv-play.is-playing::before {
    width: 20px; height: 20px; margin: -10px 0 0 -10px; box-shadow: none;
    --zv-pi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='6' y='4.5' width='4' height='15'/%3E%3Crect x='14' y='4.5' width='4' height='15'/%3E%3C/svg%3E"); }
.theme-modern .zv-page .zv-round-play-big::before, .theme-modern .zv-page .zv-round-play-big.is-playing::before { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.theme-modern .zv-page .zv-row-cover::before { width: 16px; height: 16px; margin: -8px 0 0 -8px; }

.theme-modern .zv-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
    background: rgba(0, 0, 0, 0.6); padding: 4vh 12px; box-sizing: border-box; }
.theme-modern .zv-modal[hidden] { display: none; }
html.zv-modal-open, html.zv-modal-open body { overflow: hidden; }
.theme-modern .zv-modal, .theme-modern .zv-modal * { border-radius: 0 !important; }
.theme-modern .zv-edit { width: 800px; max-width: 100%; margin: 0; background: #1E1F22; color: #E6E7E9; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5); }
.theme-modern .zv-edit-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 0 22px; }
.theme-modern .zv-edit-file { display: inline-flex; align-items: center; gap: 6px; color: #A9ADB3; font-size: 12.5px; cursor: pointer; }
.theme-modern .zv-edit-file:hover { color: #FFFFFF; }
.theme-modern .zv-edit-file .hue-ico { width: 16px; height: 16px; }
.theme-modern .zv-edit-x { color: #A9ADB3 !important; font-size: 24px; line-height: 1; text-decoration: none !important; }
.theme-modern .zv-edit-tabs { display: flex; gap: 24px; padding: 8px 22px 0 22px; border-bottom: 1px solid #34363A; overflow-x: auto; scrollbar-width: none; }
.theme-modern .zv-edit-tabs a { flex: 0 0 auto; padding: 10px 0; border-bottom: 2px solid transparent; color: #8E939A !important; font-size: 17px;
    font-weight: 700; text-decoration: none !important; }
.theme-modern .zv-edit-tabs a.active { color: #FFFFFF !important; border-bottom-color: #E2453F; }
.theme-modern .zv-edit-body { padding: 18px 22px; }
.theme-modern .zv-edit-body section[data-zv-epane="basic"] { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
.theme-modern .zv-edit-body section[hidden] { display: none !important; }
.theme-modern .zv-edit-cover { display: flex; flex-direction: column; gap: 8px; }
.theme-modern .zv-edit-img { position: relative; width: 190px; height: 190px; background-color: #3A3B3F; }
.theme-modern .zv-edit-imgbtn { align-self: flex-start; padding: 6px 10px; background: #2C2E32; color: #FFFFFF; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.theme-modern .zv-edit-imgbtn:hover { background: #3A3C41; }
.theme-modern .zv-edit-fields { display: grid; gap: 12px; min-width: 0; }
.theme-modern .zv-edit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.theme-modern .zv-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }
.theme-modern .zv-f-wide { grid-column: 1 / -1; }
.theme-modern .zv-f > span { font-size: 12.5px; font-weight: 700; color: #E6E7E9; }
.theme-modern .zv-f > span i, .theme-modern .zv-edit-foot i { color: #E2453F; font-style: normal; }
.theme-modern .zv-f small { font-weight: 400; color: #8E939A; }
.theme-modern .zv-f input[type="text"], .theme-modern .zv-f input[type="url"], .theme-modern .zv-f input[type="date"], .theme-modern .zv-f select,
.theme-modern .zv-f textarea { width: 100%; box-sizing: border-box; min-height: 34px; padding: 6px 10px; border: 1px solid #34363A !important;
    background: #2A2C30 !important; color: #FFFFFF !important; font: 13px var(--font); outline: none; box-shadow: none !important; color-scheme: dark; }
.theme-modern .zv-f input:focus, .theme-modern .zv-f select:focus, .theme-modern .zv-f textarea:focus { border-color: #6B7078 !important; }
.theme-modern .zv-f a { color: #E2453F !important; }
.theme-modern .zv-f-prefix { display: flex; align-items: stretch; border: 1px solid #34363A; background: #2A2C30; }
.theme-modern .zv-f-prefix em { flex: 0 1 auto; padding: 0 0 0 10px; display: flex; align-items: center; color: #8E939A; font-style: normal; font-size: 12.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.theme-modern .zv-f-prefix input { border: 0 !important; flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-radio { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; align-items: center; margin: 4px 0; font-weight: 600; cursor: pointer; }
.theme-modern .zv-radio small { grid-column: 2; font-weight: 400; color: #8E939A; font-size: 12px; }
.theme-modern .zv-radio input, .theme-modern .zv-check input { accent-color: #E2453F; }
.theme-modern .zv-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #C9CCD1; cursor: pointer; }
.theme-modern .zv-check-row { display: flex; padding: 10px 0; border-bottom: 1px solid #2E3034; font-size: 13.5px; }
.theme-modern .zv-edit-body p { font-size: 12.5px; color: #8E939A !important; }
.theme-modern .zv-edit-foot { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid #34363A; }
.theme-modern .zv-edit-foot > span:first-child { font-size: 12px; }
.theme-modern .zv-edit-err { flex: 1 1 auto; color: #FF8A85; font-size: 12.5px; text-align: right; }
.theme-modern .zv-btn-flat { color: #FFFFFF !important; font-weight: 700; text-decoration: none !important; }
.theme-modern .zv-btn-main { height: 34px; padding: 0 18px; border: 0; background: #E2453F; color: #FFFFFF; font: 700 13px var(--font); cursor: pointer; }
.theme-modern .zv-btn-main:hover { background: #C93A35; }
.theme-modern .zv-btn-main:disabled { opacity: 0.6; }

.theme-modern .zv-explicit { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; background: rgba(255, 255, 255, 0.85);
    color: #1F2023; font-size: 10px; font-weight: 800; }
.theme-modern .zv-cform-off { justify-content: center; color: rgba(255, 255, 255, 0.7); font-size: 12.5px; }
.theme-modern .zv-metas { display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; margin: 12px 20px 0 20px; font-size: 12.5px; }
.theme-modern .zv-metas dt { color: var(--muted); }
.theme-modern .zv-metas dd { margin: 0; overflow-wrap: anywhere; }
.theme-modern .zv-cmt-reply { padding-left: 64px; }
.theme-modern .zv-cmt-reply .zv-cmt-av { width: 26px; height: 26px; }
.theme-modern .zv-cmt-pinned { background: #FAFAFB; }
.theme-modern .zv-pin { margin-right: 8px; padding: 0 6px; background: var(--head-2); color: #FFFFFF; font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px; }
.theme-modern .zv-cmt-acts { display: flex; gap: 14px; margin-top: 3px; font-size: 12px; }
.theme-modern .zv-cmt-acts a, .theme-modern .zv-cmt-acts button { color: var(--muted) !important; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.theme-modern .zv-cmt-acts a:hover, .theme-modern .zv-cmt-acts button:hover { color: var(--text) !important; }
.theme-modern .zv-cmt-acts form { margin: 0; }
.theme-modern .zv-feed-note { display: flex; align-items: center; gap: 6px; padding: 8px 12px 0 46px; font-size: 12px; color: var(--muted); }
.theme-modern .zv-feed-note .hue-ico { width: 14px; height: 14px; }
.theme-modern .zv-feed-note a { color: var(--text) !important; font-weight: 600; }
.theme-modern .zv-genres-in { padding: 4px 20px 12px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .zv-sheet-card > .vk-card-title { align-items: center; }
.theme-modern .zv-sheet-card > .vk-card-title .vk-title-btn { align-self: center; display: inline-flex; align-items: center; height: auto; line-height: 1.2; }
.theme-modern .zv-pad { padding: 0 20px 16px 20px; }
.theme-modern .zv-page .zv-tiles.zv-pad { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.theme-modern .zv-chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; margin: 6px 20px 30px 20px; border-bottom: 1px solid var(--line-strong); }
.theme-modern .zv-bar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; }
.theme-modern .zv-bar i { display: block; width: 100%; min-height: 1px; background: var(--accent); }
.theme-modern .zv-bar:hover i { background: #E2453F; }
.theme-modern .zv-bar span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-size: 10.5px; color: var(--muted); white-space: nowrap; }

@media (max-width: 700px) {
    .theme-modern .zv-modal { padding: 0; }
    .theme-modern .zv-edit { min-height: 100%; }
    .theme-modern .zv-edit-body { padding: 14px; }
    .theme-modern .zv-edit-body section[data-zv-epane="basic"] { grid-template-columns: 1fr; }
    .theme-modern .zv-edit-cover { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
    .theme-modern .zv-edit-img { width: 120px; height: 120px; }
    .theme-modern .zv-edit-grid { grid-template-columns: 1fr; }
    .theme-modern .zv-edit-tabs { gap: 16px; padding: 4px 14px 0 14px; }
    .theme-modern .zv-edit-tabs a { font-size: 15px; }
    .theme-modern .zv-edit-foot { flex-wrap: wrap; padding: 12px 14px; }
    .theme-modern .zv-edit-err { flex-basis: 100%; order: -1; text-align: left; }
    .theme-modern .zv-cmt-reply { padding-left: 40px; }
    .theme-modern .zv-metas { margin: 10px 12px 0 12px; grid-template-columns: 110px 1fr; }
    .theme-modern .zv-chart { margin: 6px 12px 30px 12px; height: 120px; gap: 2px; }
    .theme-modern .zv-bar span { display: none; }
    .theme-modern .zv-bar:first-child span, .theme-modern .zv-bar:last-child span { display: block; }
}

.theme-modern [class*="zv-"][hidden], .theme-modern [class*="mu-"][hidden], .theme-modern [class*="apm-"][hidden] { display: none !important; }

.theme-modern .zv-thero-cover { flex-basis: 250px; width: 250px; height: 250px; }
.theme-modern .zv-thero-actions { flex-wrap: wrap; }
.theme-modern .zv-cform { flex: 1 1 220px; }
@media (max-width: 700px) { .theme-modern .zv-thero-cover { width: 100%; height: auto; flex-basis: auto; } .theme-modern .zv-cform { flex: 1 1 100%; } }

.theme-modern .vk-page-user { color: var(--muted); font-size: 13px; margin: 2px 0 2px 0; }

html.hue-sq.theme-modern img.hue-av, html.hue-sq.theme-modern img[class*="-av"], html.hue-sq.theme-modern [class*="-av"] img,
html.hue-sq.theme-modern img[src*="noavatar"], html.hue-sq.theme-modern img[src*="/_t/100/"], html.hue-sq.theme-modern img[src*="/_t/200/"],
html.hue-sq.theme-modern .vk-face img, html.hue-sq.theme-modern .vk-notif-who img, html.hue-sq.theme-modern .hs-row img,
html.hue-sq.theme-modern .hue-fwd-item img, html.hue-sq.theme-modern .pv-who img, html.hue-sq.theme-modern .pv-c-av img,
html.hue-sq.theme-modern .pv-write img, html.hue-sq.theme-modern #hue-who-pop img, html.hue-sq.theme-modern .hue-post-card-head img,
html.hue-sq.theme-modern .vk-pick img, html.hue-sq.theme-modern .hfp-row img, html.hue-sq.theme-modern #hue-mention img,
html.hue-sq.theme-modern .vk-design-ava img, html.hue-sq.theme-modern .vk-ava, html.hue-sq.theme-modern .vk-ava-box,
html.hue-sq.theme-modern .vk-ava-box img, html.hue-sq.theme-modern .mh-user-av, html.hue-sq.theme-modern .vk-dlg-mini { border-radius: 0 !important; }

.theme-modern .zv-thero { overflow: visible; z-index: 2; }
.theme-modern .zv-thero-bg { clip-path: inset(40px); }
.theme-modern .zv-thero-actions { flex-wrap: nowrap; }
.theme-modern .zv-thero-actions .zv-cform { flex: 1 1 auto; min-width: 120px; }
.theme-modern .zv-thero-actions > .zv-round, .theme-modern .zv-thero-actions > .vk-menu, .theme-modern .zv-thero-actions > .zv-pill { flex-shrink: 0; }
.theme-modern .zv-thero-actions .vk-menu-list { z-index: 600; }
@media (max-width: 700px) {
    .theme-modern .zv-thero-actions { flex-wrap: wrap; }
    .theme-modern .zv-thero-actions .zv-cform { flex: 1 1 100%; order: 9; }
}

.theme-modern .vk-ava-box .vk-ava { width: 100% !important; max-width: 320px; height: auto; max-height: 320px; aspect-ratio: 1 / 1;
    object-fit: cover !important; object-position: center 20%; }
.theme-modern .vk-ava-box.no-photo .vk-ava { object-fit: contain !important; }
.theme-modern .vk-info-top { flex-wrap: wrap; }
.theme-modern .vk-info-top .vk-page-user { order: 3; flex: 0 0 100%; margin: 0; }
.theme-modern .vk-info-top .hue-org-line { order: 2; flex: 0 0 100%; }
.theme-modern .vk-status .hue-zv-st { float: right; margin: 0 0 0 12px; }
.theme-modern .vk-status.hue-zv-only { overflow: hidden; }
@media (max-width: 700px) {
    .theme-modern .vk-status .hue-zv-st span:not(.hue-ico) { display: none; }
    .theme-modern .vk-status .hue-zv-st .hue-ico { width: 20px; height: 20px; }
}

.theme-modern img.vk-person-av { width: 56px !important; height: 56px !important; flex: 0 0 56px; object-fit: cover; border-radius: 50%; display: block; }
html.hue-sq.theme-modern img.vk-person-av { border-radius: 0 !important; }
html.hue-sq.theme-modern .zv-artist img, html.hue-sq.theme-modern .zv-acard-av, html.hue-sq.theme-modern .zv-cmt-av,
html.hue-sq.theme-modern .zv-cform-av, html.hue-sq.theme-modern .zv-mark img { border-radius: 0 !important; }
.theme-modern .zv-artist img { aspect-ratio: 1 / 1; }

.theme-modern .vk-info-top .vk-page-name { min-width: 0; overflow-wrap: anywhere; }
.theme-modern .vk-page-user, .theme-modern .vk-status, .theme-modern .vk-status-edit { overflow-wrap: anywhere; min-width: 0; }
.theme-modern .vk-person-info, .theme-modern .zv-acard-info { overflow-wrap: anywhere; }
.theme-modern .vk-chat-head-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .zv-thero-bg { inset: 0; clip-path: inset(0 round var(--radius)); border-radius: inherit; }
@media (max-width: 960px) and (min-width: 701px) {
    .theme-modern .vk-page:not(.vk-profile):not(.zv-page):not(.mu-page) { display: block; }
    .theme-modern .vk-page:not(.vk-profile):not(.zv-page):not(.mu-page) > .vk-right { position: static; }
    .theme-modern .vk-page:not(.zv-page):not(.mu-page) > .vk-right .vk-subnav { display: flex; overflow-x: auto; padding: 0; }
    .theme-modern .vk-page:not(.zv-page):not(.mu-page) > .vk-right .vk-subnav > a { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; padding: 12px 14px; }
    .theme-modern .vk-page:not(.zv-page):not(.mu-page) > .vk-right .vk-subnav > a.active { border-bottom-color: var(--accent); background: transparent; }
    .theme-modern .vk-page:not(.zv-page):not(.mu-page) > .vk-right .vk-me, .theme-modern .vk-page:not(.zv-page):not(.mu-page) .vk-subnav-note { display: none !important; }
    .theme-modern .vk-counters { flex-wrap: wrap; }
}

.theme-modern #zv-profile-edit.zv-modal-on { position: fixed; inset: 0; z-index: 1250; margin: 0; background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: flex-start; justify-content: center; padding: 60px 12px 20px 12px; box-sizing: border-box; overflow-y: auto; border-radius: 0; box-shadow: none; }
.theme-modern #zv-profile-edit.zv-modal-on > * { width: 620px; max-width: 100%; background: #FFFFFF; padding: 20px 22px; box-sizing: border-box; }
.theme-modern #zv-profile-edit.zv-modal-on > .vk-card-title, .theme-modern #zv-profile-edit.zv-modal-on > .mu-edit-head { padding-bottom: 0; }
.theme-modern .zv-abtn-edit { background: #3A3A3A !important; color: #FFFFFF !important; }
.theme-modern .zv-abtn-edit .hue-ico { color: #FFFFFF; }
.theme-modern .vk-ava-box form { margin: 0; }
.theme-modern .vk-pick-who { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 3px; }
.theme-modern .vk-pick-who b { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.theme-modern .vk-pick-who small { flex: 0 0 100%; }
.theme-modern .vk-pick .vk-pick-who img { width: 16px; height: 16px; aspect-ratio: auto; }
.theme-modern .zv-f-prefix em { flex: 0 1 auto; justify-content: flex-end; max-width: 60%; }
.theme-modern .zv-f-prefix input { min-width: 90px; }
.theme-modern .vk-ava-card .vk-btn-row > .vk-menu.vk-grow { flex: 1 1 auto; width: auto; min-width: 0; }
.theme-modern .vk-ava-card .vk-btn-row > .vk-menu.vk-grow > .vk-menu-btn { width: 100%; padding: 0 12px; justify-content: center; }
.theme-modern details.mg-coins-send { margin: 12px 20px 4px 20px; }
.theme-modern details.mg-coins-send > summary { cursor: pointer; }
@media (max-width: 700px) { .theme-modern details.mg-coins-send { margin: 12px 14px 4px 14px; } }
.theme-modern .mg-key-form { display: flex; align-items: stretch; gap: 8px; margin: 10px 0 0 0; max-width: 560px; }
.theme-modern .mg-key-form input[type="text"] { flex: 1 1 auto; width: auto; min-width: 0; height: 34px; margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.5px; }
.theme-modern .mg-key-form .vk-btn { flex: none; height: 34px; margin: 0; }
@media (max-width: 700px) { .theme-modern .mg-key-form input[type="text"], .theme-modern .mg-key-form .vk-btn { height: 38px; } }
@media (max-width: 480px) { .theme-modern .mg-key-form { flex-direction: column; } .theme-modern .mg-key-form .vk-btn { width: 100%; } }
.theme-modern .vk-right .vk-subnav { scrollbar-width: none; }
.theme-modern .vk-right .vk-subnav::-webkit-scrollbar { display: none; }
.theme-modern .hue-err-card { padding: 28px 24px; text-align: center; color: var(--text); }
.theme-modern .hue-err-card h3 { margin: 0 0 8px 0; font-size: 16px; font-weight: 600; }
.theme-modern .hue-err-text { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.theme-modern .hue-err-foot { margin-top: 16px; }
.theme-modern .zv-abtns { flex: 0 1 auto; flex-wrap: wrap; min-width: 0; }
.theme-modern .vk-status #status_form[style*="inline-flex"] { display: flex !important; width: 100%; }
.theme-modern .vk-status #status_input { flex: 1 1 auto; min-width: 0; }
.theme-modern #custom-modal-yes { background: var(--head-2) !important; border-color: var(--head-2) !important; color: #FFFFFF !important; border-radius: 8px !important; }
.theme-modern #custom-modal-yes:hover { background: #2A2A2A !important; }
@media (max-width: 420px) {
    .theme-modern .zv-edit-tabs { gap: 12px; padding-left: 12px; padding-right: 12px; scrollbar-width: none; }
    .theme-modern .zv-edit-tabs a { font-size: 13.5px; }
}
.theme-modern .vk-cmt-head { flex-wrap: wrap; min-width: 0; }
.theme-modern .vk-cmt-head > .vk-name { min-width: 0; overflow-wrap: anywhere; }
.theme-modern .vk-cmt-head { position: relative; padding-right: 24px; }
.theme-modern .vk-cmt-head > .vk-menu { position: absolute; top: 0; right: 0; margin-left: 0; }
@media (max-width: 600px) { .theme-modern .vk-cmt-head > a.hue-reply-to { flex-basis: 100%; margin-left: 0; } }
.theme-modern .mg-holder { max-width: 100%; flex-wrap: wrap; }
.theme-modern .mg-holder > a:first-child { min-width: 0; overflow-wrap: anywhere; }

.theme-modern .vk-post-actions > .vk-like { order: 1; }
.theme-modern .vk-post-actions > .vk-act-cmt { order: 2; }
.theme-modern .vk-post-actions > .vk-act-share { order: 3; }
.theme-modern .vk-post-actions > .vk-views { order: 9; margin-left: auto; }

.theme-modern .vk-chat-call { width: 36px; height: 36px; border: 0; background: transparent; color: #626D7A; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center; padding: 0; flex-shrink: 0; }
.theme-modern .vk-chat-call:hover { color: var(--accent); background: var(--hover); }
.theme-modern .vk-chat-call .hue-ico { width: 21px; height: 21px; }
.theme-modern .gc-callbar { display: none; }
.theme-modern .gc-callbar.gc-call-live { display: table; }
.theme-modern .gc-info-top { display: flex; align-items: center; gap: 14px; }
.theme-modern .gc-info-top img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
html.hue-sq.theme-modern .gc-info-top img { border-radius: 0; }
.theme-modern .gc-info-name { font-size: 16px; }
.theme-modern .gc-info-desc { color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.theme-modern .gc-info-acts { display: flex; flex-direction: column; margin: 6px -20px 6px -20px; border-top: 1px solid var(--line); }
.theme-modern .gc-info-acts > a, .theme-modern .gc-info-acts button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 20px;
    border: 0; background: none; text-align: left; font: inherit; color: var(--text) !important; text-decoration: none !important; cursor: pointer; box-sizing: border-box; }
.theme-modern .gc-info-acts form { margin: 0; }
.theme-modern .gc-info-acts > a:hover, .theme-modern .gc-info-acts button:hover { background: var(--hover); }
.theme-modern .gc-info-acts .hue-ico { width: 20px; height: 20px; color: #818C99; }
.theme-modern .gc-info-acts em { margin-left: auto; font-style: normal; color: var(--muted); }
.theme-modern .gc-info-acts .vk-danger, .theme-modern .gc-info-acts .vk-danger .hue-ico { color: #C62828 !important; }
.theme-modern .vk-attach { position: relative; display: inline-flex; }
.theme-modern .vk-attach-menu { display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 50; min-width: 210px; background: #FFFFFF;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2); padding: 6px 0; border-radius: 10px; }
.theme-modern .vk-attach.open .vk-attach-menu { display: block; }
.theme-modern .vk-attach-item { display: flex; align-items: center; gap: 12px; padding: 9px 16px; color: var(--text) !important; text-decoration: none !important;
    cursor: pointer; white-space: nowrap; }
.theme-modern .vk-attach-item:hover { background: var(--hover); }
.theme-modern .vk-attach-item .hue-ico { width: 20px; height: 20px; color: #818C99; }
.theme-modern .vk-attach-item input[type="file"] { display: none; }
.theme-modern .vk-chat-poll details[data-hp-create]:not([open]) { display: none; }
.theme-modern .vk-chat-poll summary { display: none !important; }

.theme-modern .gt-updated { padding: 8px 20px 0 20px; font-size: 12px; }
.theme-modern .gt-row { display: flex; align-items: flex-start; gap: 12px; margin: 0 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.theme-modern .gt-row:last-child { border-bottom: 0; }
.theme-modern .gt-row:target { background: #FFF8E6; margin: 0; padding-left: 20px; padding-right: 20px; }
.theme-modern .gt-place { flex: 0 0 28px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); line-height: 44px; }
.theme-modern .gt-podium .gt-place { color: #FFFFFF; line-height: 26px; height: 26px; margin-top: 9px; border-radius: 50%; font-size: 13px; }
.theme-modern .gt-p1 .gt-place { background: #C49A1A; }
.theme-modern .gt-p2 .gt-place { background: #8A939C; }
.theme-modern .gt-p3 .gt-place { background: #A0643C; }
.theme-modern .gt-av img, .theme-modern .gt-av .vk-grp-noav { width: 44px !important; height: 44px !important; }
.theme-modern .gt-info { flex: 1 1 auto; min-width: 0; line-height: 1.45; }
.theme-modern .gt-name { font-size: 13.5px; overflow-wrap: anywhere; }
.theme-modern .gt-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; font-size: 12.5px; }
.theme-modern .gt-score { flex: 0 0 auto; text-align: right; min-width: 56px; }
.theme-modern .gt-rating { font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--text); }
.theme-modern .gt-score .gt-change { font-size: 12px; }
.theme-modern .gt-more { margin-top: 4px; }
.theme-modern .gt-more > summary { cursor: pointer; color: var(--muted); font-size: 12px; list-style: none; display: inline-block; }
.theme-modern .gt-more > summary::-webkit-details-marker { display: none; }
.theme-modern .gt-more > summary::after { content: ' \25BE'; }
.theme-modern .gt-more[open] > summary::after { content: ' \25B4'; }
.theme-modern .gt-more > summary:hover { color: var(--text); }
.theme-modern .gt-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #E9EBEE; margin: 8px 0 6px 0; max-width: 360px; }
.theme-modern .gt-seg { display: block; height: 100%; }
.theme-modern .gt-seg-act { background: #B01E1E; }
.theme-modern .gt-seg-vw { background: #4A76A8; }
.theme-modern .gt-seg-subs { background: #4E9A51; }
.theme-modern .gt-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
.theme-modern .gt-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.theme-modern .gt-stats { font-size: 12px; margin-top: 4px; }
.theme-modern .gt-pager { display: flex; justify-content: center; gap: 8px; padding: 12px 20px; }
.theme-modern .gt-leagues { padding-bottom: 8px; }
.theme-modern .gt-league-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px; font-size: 12px; }
.theme-modern .gt-how-body { padding: 4px 20px 14px 20px; font-size: 13px; line-height: 1.55; }
.theme-modern .gt-how-body ul { margin: 4px 0 8px 0; padding-left: 20px; }
.theme-modern .gt-how-body p { margin: 8px 0; }
.theme-modern .vk-gp-info .gt-badge { margin: 2px 0 6px 0; }
@media (max-width: 700px) {
    .theme-modern .gt-row { margin: 0 14px; gap: 10px; }
    .theme-modern .gt-row:target { padding-left: 14px; padding-right: 14px; }
    .theme-modern .gt-updated { padding: 8px 14px 0 14px; }
    .theme-modern .gt-place { flex-basis: 22px; font-size: 13px; }
    .theme-modern .gt-av img, .theme-modern .gt-av .vk-grp-noav { width: 40px !important; height: 40px !important; }
    .theme-modern .gt-rating { font-size: 16px; }
    .theme-modern .gt-score { min-width: 48px; }
    .theme-modern .gt-leagues { display: none; }
    .theme-modern .gt-how-body { padding: 4px 14px 12px 14px; }
}
@media (max-width: 700px) {
    .theme-modern .gt-card > .vk-card-title .vk-count { display: none; }
    .theme-modern .gt-card > .vk-card-title .vk-head-link { white-space: nowrap; }
}

@media (max-width: 700px) {
    .theme-modern #mh-notif { position: fixed; left: 10px; right: 10px; top: calc(60px + env(safe-area-inset-top)); width: auto; max-width: none;
        transform: none; z-index: 1300; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .3); }
    .theme-modern #mh-notif-list { max-height: calc(100dvh - 210px - env(safe-area-inset-bottom)); }
    html.theme-modern.hue-notif-open::after { content: ''; position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 1250; }
    html.theme-modern.hue-notif-open #ap-header-wrap { z-index: 1300 !important; }
}
.theme-modern .zv-who { cursor: pointer; }
.theme-modern .zv-who:hover, .theme-modern .zv-who:focus-visible { text-decoration: underline; }
.theme-modern button.zv-tile-btn { border: 0; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.theme-modern button.zv-tile-btn:hover { background: var(--hover); }
.theme-modern #zv-who-modal .mu-modal-box { width: 420px; max-width: calc(100vw - 24px); margin: 12vh auto auto auto; background: var(--card);
    border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.theme-modern #zv-who-modal .mu-modal-list { max-height: 60vh; overscroll-behavior: contain; }
.theme-modern .zv-who-row { display: flex; align-items: center; gap: 12px; padding: 8px 18px; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .zv-who-row:hover { background: var(--hover); }
.theme-modern .zv-who-row img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #E1E3E6; display: block; }
.theme-modern .zv-who-name { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.theme-modern .zv-who-name b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .zv-who-name small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.hue-sq.theme-modern .zv-who-row img, html.hue-sq.theme-modern .zv-crew-people img { border-radius: 0 !important; }

.theme-modern .zv-crews { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; padding: 4px 20px 20px 20px; }
.theme-modern .zv-crew-card { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .zv-crew-card-cover { aspect-ratio: 1 / 1; border-radius: 10px; margin-bottom: 6px; }
.theme-modern .zv-crew-card:hover .zv-crew-card-name { color: var(--accent); }
.theme-modern .zv-crew-card-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .zv-crew-card-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .zv-crew-mini { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; }
.theme-modern .zv-crew-av { border-radius: 18px; object-fit: cover; }
.theme-modern .zv-crew-av-empty { display: inline-flex; align-items: center; justify-content: center; font-size: 72px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.theme-modern .zv-crew-answer { flex-direction: row; }
.theme-modern .zv-crew-invite { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px; }
.theme-modern .zv-crew-invite span { flex: 1 1 220px; min-width: 0; }
.theme-modern .zv-crew-invite form { margin: 0; }
.theme-modern .zv-crew-add select { flex: 1 1 220px; min-width: 0; max-width: 100%; height: 32px; }
.theme-modern .zv-crew-manage { padding: 12px 20px; }
.theme-modern .zv-crew-manage summary { cursor: pointer; color: var(--muted); }
.theme-modern .zv-crew-manage-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.theme-modern .zv-crew-manage-row:first-of-type { margin-top: 8px; }
.theme-modern .zv-crew-manage-row span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .zv-crew-manage-row form { margin: 0; }
.theme-modern .zv-crew-people { display: flex; flex-wrap: wrap; gap: 6px; }
.theme-modern .zv-crew-people img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #E1E3E6; display: block; }
.theme-modern .zv-acrews { display: flex; flex-direction: column; gap: 8px; }
.theme-modern .zv-acrew { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .zv-acrew-av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; }
.theme-modern .zv-acrew-name { min-width: 0; display: flex; flex-direction: column; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.theme-modern .zv-acrew-name small { font-weight: 400; font-size: 12px; color: var(--muted); }
@media (max-width: 700px) {
    .theme-modern .zv-crews { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 4px 12px 16px 12px; }
    .theme-modern .zv-crew-av-empty { font-size: 48px; }
    .theme-modern .zv-crew-invite { padding: 12px 14px; }
    .theme-modern .zv-crew-manage { padding: 10px 14px; }
    .theme-modern .zv-crew-answer { padding-left: 0; }
    .theme-modern #main-content .zv-crew-people img { height: 44px; }
    .theme-modern #main-content .zv-crew-av { height: 112px; }
    .theme-modern #zv-who-modal .mu-modal-box { margin-top: 8vh; max-width: calc(100vw - 16px); }
    .theme-modern #zv-who-modal .mu-modal-list { max-height: 70vh; }
}

.theme-modern .vk-post-who .hue-to-wall a { color: var(--link) !important; }
.theme-modern .vk-date-line { display: flex; align-items: center; flex-wrap: wrap; column-gap: 4px; }
.theme-modern .hue-pin-tag { margin-left: 2px; background: #F0F2F5; color: var(--muted); }
.theme-modern .vk-signer { font-size: 12px; color: var(--muted); }
.theme-modern .vk-signer a { color: var(--muted) !important; text-decoration: underline; }
.theme-modern .vk-cmt-head .vk-signer { margin-left: 6px; font-size: 11.5px; }
.theme-modern .hue-more-text { color: var(--accent) !important; font-size: 13.5px; font-weight: 500; }
.theme-modern .vk-repost .hue-more-text { font-size: 13px; }
.theme-modern .hue-reply-to { color: var(--muted) !important; }
.theme-modern .vk-cmt-av { align-self: flex-start; flex: 0 0 auto; line-height: 0; }
.theme-modern .vk-as-group { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); cursor: pointer;
    white-space: nowrap; user-select: none; padding: 0 4px; }
.theme-modern .vk-as-group input { margin: 0; }
.theme-modern .vk-write-cmt .vk-as-group, .theme-modern .vk-reply-box .vk-as-group { margin-top: 4px; padding: 0 0 0 38px; }
.theme-modern .vk-reply-box .vk-as-group { padding-left: 0; }
.theme-modern .hue-bell-form { display: inline-flex; margin: 0; }
.theme-modern .hue-bell .hue-ico-bell-off, .theme-modern .hue-bell.is-off .hue-ico-bell { display: none !important; }
.theme-modern .hue-bell.is-off .hue-ico-bell-off { display: inline-block !important; }
.theme-modern .hue-bell.is-off { color: #8A9099 !important; }
@media (max-width: 700px) {
    .theme-modern .vk-write-cmt .vk-as-group { padding-left: 0; }
    .theme-modern .vk-post-who .vk-name { overflow-wrap: anywhere; }
}
.theme-modern .vk-cmt-foot { flex-wrap: wrap; row-gap: 2px; }
.theme-modern .vk-cmt-foot > a, .theme-modern .vk-cmt-foot > span:not(.vk-cmt-like) { white-space: nowrap; }
.theme-modern .vk-cmt-head > .hue-reply-to { margin-left: 6px; font-size: 12px; font-weight: normal; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .hue-cform-row textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.theme-modern #main-content a.hue-more-text { color: var(--accent) !important; }
.theme-modern .hue-aat { font: 13px/1.35 var(--font); }
.theme-modern .hue-aat:hover, .theme-modern .hue-aat.ap-cur { background: var(--hover); }
.theme-modern .hue-aat-play { background: var(--head-2); }
.theme-modern .hue-aat-play:hover { background: var(--head); }
.theme-modern .hue-aat.ap-cur .hue-aat-play, .theme-modern tr.ap-cur .hue-aat-play { background: var(--accent); }
.theme-modern .hue-aat.ap-cur .hue-aat-play:hover { background: #961A1A; }
.theme-modern .hue-aat-name, .theme-modern #main-content a.hue-aat-name:hover { color: var(--text) !important; text-decoration: none !important; }
.theme-modern .hue-aat-artist { font-weight: 600; color: var(--text); }
.theme-modern .hue-aat-name:hover .hue-aat-artist, .theme-modern .hue-aat.ap-cur .hue-aat-artist { color: var(--accent); }
.theme-modern .hue-aat-name:hover .hue-aat-title { color: var(--accent); }
.theme-modern .hue-aat-dur { color: var(--muted); }
.theme-modern .hue-aat-prog i { background: var(--accent); }
.theme-modern .hue-aat-attach { color: var(--link); }
.theme-modern .apm-more { color: var(--muted); }
.theme-modern .apm-more a { color: var(--link) !important; }

.theme-modern .hue-crop-box { font: 13px/1.45 var(--font); color: var(--text); border-color: var(--line-strong); }
.theme-modern .hue-crop-head { background: var(--head); }
.theme-modern .hue-crop-range { accent-color: var(--accent); }
.theme-modern #hue-crop .hue-crop-save { background: var(--head-2); border-color: var(--head-2); }
.theme-modern #hue-crop .hue-crop-btn, .theme-modern #hue-crop .hue-crop-zb { font: 600 13px/1 var(--font); }
.theme-modern .hue-crop-err { color: var(--accent); }
.theme-modern .hc-photo { border-color: var(--line-strong); background-color: var(--hover); }
.theme-modern .hc-reply .hc-picked:not(:empty) { margin: 0 0 8px 0; }
.theme-modern .hc-clip { color: var(--link); }
.theme-modern .hc-form .hc-attach-row { margin: 10px 0 2px; }
.theme-modern .hc-form .hc-clip.vk-btn { gap: 6px; }
.theme-modern .mh-search-close, .theme-modern #mh-search-btn { display: none; }
.theme-modern .hue-sugg { left: 0; right: auto; width: 360px; border: 0; background: var(--card); font-family: var(--font);
    box-shadow: 0 0 0 1px var(--line-strong), 0 8px 24px rgba(0, 0, 0, 0.18); padding: 4px 0; }
.theme-modern .hue-sugg-head { color: var(--muted); padding: 8px 14px 4px 14px; font-size: 11.5px; }
.theme-modern a.hue-sugg-row { padding: 6px 14px; color: var(--text) !important; font-size: 13px; text-decoration: none !important; }
.theme-modern a.hue-sugg-row:hover, .theme-modern a.hue-sugg-row.on { background: var(--hover); }
.theme-modern .hue-sugg-text b { font-weight: 500; }
.theme-modern .hue-sugg-text small { color: var(--muted); }
.theme-modern a.hue-sugg-all { border-top-color: var(--line); color: var(--link) !important; font-weight: 500; margin-top: 4px; }
.theme-modern .hue-sugg-empty { color: var(--muted); padding: 10px 14px; }
@media (max-width: 700px) {
    .theme-modern .mh-inner { position: relative; }
    .theme-modern #mh-search-btn { display: inline-flex; }
    .theme-modern #mh-bar.mh-search-open .mh-search { display: flex; align-items: center; position: absolute; left: 0; right: 0; top: 0;
        height: 48px; padding: 0 0 0 10px; background: var(--head); z-index: 5; flex: none; box-sizing: border-box; }
    .theme-modern #mh-bar.mh-search-open .mh-search .hue-ico { left: 20px; }
    .theme-modern #mh-bar.mh-search-open .mh-search input { flex: 1 1 auto; min-width: 0; height: 34px; font-size: 16px; }
    .theme-modern #mh-bar.mh-search-open .mh-search-close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
        height: 48px; border: 0; background: none; color: #C9CCD1; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
    .theme-modern #mh-bar.mh-search-open .hue-sugg { position: fixed; top: var(--hue-top, 48px); left: 0; right: 0; width: auto; max-width: none;
        max-height: calc(100vh - var(--hue-top, 48px) - 70px); }
    .theme-modern a.hue-sugg-row { padding: 9px 14px; }
}

.theme-modern .vk-dialogs .hue-ms-box { margin: 0; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.theme-modern .hue-ms-box .hue-ico { left: 31px; transform: translateY(-50%); color: #A0A6AD; }
.theme-modern .hue-ms-box input { height: 36px; border: 1px solid var(--line-strong); border-radius: 0; background: #F7F8FA; font: 14px var(--font);
    padding-left: 34px; outline: none; }
.theme-modern .hue-ms-box input:focus { background: #FFFFFF; border-color: #C5CAD1; }
.theme-modern .hue-ms-box button { right: 22px; transform: translateY(-50%); color: var(--muted); background: none !important;
    box-shadow: none !important; border: 0 !important; height: auto; min-height: 0; font-size: 20px; }
.theme-modern .hue-ms-res { border: 0; border-top: 1px solid var(--line); margin: 0; background: transparent; }
.theme-modern .hue-ms-head { background: transparent; border: 0; padding: 14px 20px 6px 20px; font-size: 14px; font-weight: 500; }
.theme-modern .hue-ms-head span { color: var(--muted); }
.theme-modern a.hue-ms-row { margin: 0 20px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text) !important; text-decoration: none !important; }
.theme-modern a.hue-ms-row:hover { background: transparent; }
.theme-modern a.hue-ms-row:hover .hue-ms-name { color: var(--accent); }
.theme-modern .hue-ms-name { font-weight: 500; color: var(--link); }
.theme-modern .hue-ms-time { color: var(--muted); font-size: 12.5px; }
.theme-modern .hue-ms-text { color: var(--text); font-size: 13px; }
.theme-modern .hue-ms-empty { color: var(--muted); padding: 14px 20px; }
@media (max-width: 700px) {
    .theme-modern .vk-dialogs .hue-ms-box { padding: 10px 14px; }
    .theme-modern .hue-ms-box .hue-ico { left: 25px; }
    .theme-modern .hue-ms-box button { right: 16px; }
    .theme-modern a.hue-ms-row { margin: 0 14px; }
    .theme-modern .hue-ms-head { padding: 12px 14px 4px 14px; }
}
.theme-modern .ac-music { padding: 4px 0; }

.theme-modern .vk-more-info { margin: 0 0 10px 0; }
.theme-modern .vk-more-info > summary { margin-left: 175px; }
.theme-modern .vk-more-info > .vk-info-rows { margin-top: 8px; padding-top: 8px; }
@media (max-width: 700px) {
    .theme-modern .vk-more-info { margin-left: 0; }
    .theme-modern .vk-more-info > summary { margin-left: 130px; }
    .theme-modern .vk-ava-upload { left: auto; right: 8px; bottom: 8px; width: 36px; height: 36px; padding: 0; gap: 0;
        justify-content: center; font-size: 0; line-height: 0; }
    .theme-modern .vk-ava-upload .hue-ico { width: 18px; height: 18px; flex-basis: 18px; }
    .theme-modern .vk-counters { flex-wrap: wrap; justify-content: center; gap: 0; padding: 8px 4px; }
    .theme-modern .vk-counters a { flex: 0 0 33.333%; box-sizing: border-box; min-width: 0; padding: 6px 2px; }
    .theme-modern .vk-counters span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
}
@media (min-width: 481px) and (max-width: 700px) {
    .theme-modern .vk-counters a { flex: 1 1 0; }
}
.theme-modern #chat-form.vk-chat-compose { padding: 10px; position: relative; margin-top: 26px; }
.theme-modern #chat-form .vk-chat-row { display: flex; align-items: flex-end; gap: 6px; min-width: 0; }
.theme-modern #chat-form .vk-chat-row > .vk-attach { flex: 0 0 38px; width: 38px; height: 38px; min-width: 0; margin: 0; }
.theme-modern #chat-form .vk-chat-row .vk-attach-btn,
.theme-modern #chat-form .vk-chat-row > .vk-tool,
.theme-modern #chat-form .vk-chat-row > .vk-send {
    flex: 0 0 38px; width: 38px !important; height: 38px !important; min-width: 0; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center; border: 0; vertical-align: bottom; }
.theme-modern #chat-form .vk-chat-row .vk-attach-btn,
.theme-modern #chat-form .vk-chat-row > .vk-tool { background: #F2F3F5; color: #818C99 !important; cursor: pointer; }
.theme-modern #chat-form .vk-chat-row .vk-attach-btn:hover,
.theme-modern #chat-form .vk-chat-row > .vk-tool:hover,
.theme-modern #chat-form .vk-attach.open .vk-attach-btn { background: #E5E7EB; color: #3A3F45 !important; }
.theme-modern #chat-form .vk-chat-row .hue-ico { width: 20px; height: 20px; flex: 0 0 20px; }
.theme-modern #chat-form .vk-chat-row > textarea#chat-input {
    flex: 1 1 0; min-width: 0; width: auto !important; max-width: none; height: 38px; min-height: 38px; margin: 0; display: block;
    box-sizing: border-box; padding: 9px 12px !important; line-height: 20px !important; font-size: 14px; resize: none; }
.theme-modern #chat-form .vk-chat-row > textarea#chat-input::placeholder { line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) {
    .theme-modern #chat-form.vk-chat-compose { padding: 8px; }
    .theme-modern #chat-form .vk-chat-row { gap: 4px; }
    .theme-modern #chat-form .vk-chat-row > textarea#chat-input { padding: 9px 10px !important; }
    .theme-modern #chat-form .vk-chat-row > textarea#chat-input::placeholder { font-size: 14px; }
}
.theme-modern #chat-form .hue-typing { position: absolute; left: 4px; right: 4px; top: -24px; height: 22px; padding: 0 2px; margin: 0; box-sizing: border-box; min-width: 0; }
.theme-modern #chat-form .hue-typing i { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
.theme-modern #chat-form .vk-chat-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; padding: 0; min-width: 0; }
.theme-modern #chat-form .vk-chat-extra > *:not(:empty):not(.vk-chat-poll) { margin-bottom: 6px; }
.theme-modern #chat-form .vk-chat-extra:empty { display: none; }
#chat-form .vk-file-name:empty { display: none; }
#chat-form .vk-file-name.on { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; padding-bottom: 8px; min-width: 0; }
.hue-att { position: relative; flex: 0 0 56px; width: 56px; height: 56px; background: #E5E7EB; overflow: hidden; }
.hue-att img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.hue-att-ico { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #626D7A; font: bold 11px/1 Tahoma, Verdana, Arial, sans-serif; }
.hue-att-ico .hue-ico { width: 24px; height: 24px; }
.hue-att-x { position: absolute; top: 0; right: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.6); color: #FFFFFF !important; text-decoration: none !important; font-size: 16px; line-height: 1; }
.hue-att-x:hover { background: #B01E1E; }
.hue-att-note { flex: 1 1 120px; min-width: 0; font-size: 12px; color: #818C99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .vk-attach-item { min-height: 38px; box-sizing: border-box; line-height: 20px; }
.theme-modern .vk-attach-item .hue-ico { flex: 0 0 20px; }
.theme-modern .vk-attach-menu { max-width: calc(100vw - 24px); }
.hue-ico-stats { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='3' y='12' width='3' height='9'/%3E%3Crect x='8' y='7' width='3' height='14'/%3E%3Crect x='13' y='3' width='3' height='18'/%3E%3Crect x='18' y='9' width='3' height='12'/%3E%3C/svg%3E"); }
.hue-ico-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M1.5 21c0-4.4 3.4-7 7.5-7s7.5 2.6 7.5 7z'/%3E%3Ccircle cx='17.5' cy='9' r='3'/%3E%3Cpath d='M17 14.2c3.2.2 5.5 2.4 5.5 6.8H18c0-2.6-.4-4.8-1-6.8z'/%3E%3C/svg%3E"); }
.hue-ico-chev-l { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.hue-ico-chev-r { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.theme-modern .zv-stat-fol::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='5'/%3E%3Cpath d='M2 23c0-6 4.5-9 10-9s10 3 10 9z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='5'/%3E%3Cpath d='M2 23c0-6 4.5-9 10-9s10 3 10 9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern .zv-stat-trk::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 10h3v4H2zM7 6h3v12H7zM12 2h3v20h-3zM17 7h3v10h-3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 10h3v4H2zM7 6h3v12H7zM12 2h3v20h-3zM17 7h3v10h-3z'/%3E%3C/svg%3E") center / contain no-repeat; }

.theme-modern .zv-hdr { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; min-height: 44px; margin-bottom: 12px; padding: 0 6px 0 0;
    background: var(--head); color: #FFFFFF; box-sizing: border-box; }
.theme-modern .zv-hdr-brand { display: inline-flex; align-items: center; gap: 8px; align-self: stretch; padding: 0 14px; background: var(--accent);
    color: #FFFFFF !important; text-decoration: none !important; flex: 0 0 auto; }
.theme-modern .zv-hdr-brand b { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.theme-modern .zv-hdr-nav { display: flex; align-self: stretch; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.theme-modern .zv-hdr-nav::-webkit-scrollbar { display: none; }
.theme-modern .zv-hdr-nav a { display: flex; align-items: center; flex: 0 0 auto; padding: 0 13px; border-right: 1px solid rgba(0, 0, 0, 0.35);
    color: #C9CCD1 !important; font-weight: 500; text-decoration: none !important; }
.theme-modern .zv-hdr-nav a:hover { color: #FFFFFF !important; background: rgba(255, 255, 255, 0.05); }
.theme-modern .zv-hdr-nav a.active { color: #FFFFFF !important; background: #1E1F22; box-shadow: inset 0 -2px 0 var(--accent-2); }
.theme-modern .zv-hdr-search { position: relative; flex: 1 1 150px; min-width: 120px; margin: 0 6px 0 10px; }
.theme-modern .zv-hdr-search input { width: 100%; height: 28px; box-sizing: border-box; padding: 0 32px 0 10px; border: 0 !important; background: #4A4B50 !important;
    color: #FFFFFF !important; font: 13px var(--font); outline: none; box-shadow: none !important; }
.theme-modern .zv-hdr-search input::placeholder { color: #A9ADB3; }
.theme-modern .zv-hdr-search input:focus { background: #FFFFFF !important; color: var(--text) !important; }
.theme-modern .zv-hdr-search button { position: absolute; right: 0; top: 0; width: 30px; height: 28px; padding: 0; border: 0; background: none; color: #A9ADB3;
    cursor: pointer; display: flex; align-items: center; justify-content: center; }
.theme-modern .zv-hdr-search .hue-ico { width: 15px; height: 15px; flex: 0 0 15px; }
.theme-modern .zv-hdr-right { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; margin-left: auto; }
.theme-modern .zv-hdr-up { padding: 0 10px; line-height: 44px; color: #C9CCD1 !important; font-weight: 500; text-decoration: none !important; }
.theme-modern .zv-hdr-up:hover, .theme-modern .zv-hdr-up.active { color: #FFFFFF !important; }
.theme-modern .zv-hdr-me { display: flex; align-items: center; padding: 0 6px; height: 44px; }
.theme-modern .zv-hdr-me img { width: 26px; height: 26px; object-fit: cover; display: block; background: #5A5B60; }
.theme-modern .zv-hdr-more { display: flex; align-items: center; justify-content: center; width: 34px; height: 44px; color: #C9CCD1 !important; }
.theme-modern .zv-hdr-more:hover { color: #FFFFFF !important; }
.theme-modern .zv-hdr .vk-menu-list { color: var(--text); right: 0; left: auto; }
.theme-modern .zv-genres-bar { margin-bottom: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line-strong); }

.theme-modern .zv-sheet { background: var(--card); box-shadow: 0 0 0 1px var(--line-strong); padding: 22px 24px 26px 24px; box-sizing: border-box; }
.theme-modern .zv-home { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 26px; align-items: start; }
.theme-modern .zv-home-main { min-width: 0; }
.theme-modern .zv-home-side { min-width: 0; padding-left: 22px; border-left: 1px solid var(--line); }
.theme-modern .zv-home-side .zv-sideh:first-child { margin-top: 0; }

.theme-modern .zv-shelf { margin: 0 0 30px 0; }
.theme-modern .zv-shelf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.theme-modern .zv-shelf-h h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.2px; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .zv-shelf-h a { flex: 0 0 auto; color: var(--muted) !important; font-size: 12.5px; }
.theme-modern .zv-shelf-box { position: relative; }
.theme-modern .zv-shelf-row { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.theme-modern .zv-shelf-row::-webkit-scrollbar { display: none; }
.theme-modern .zv-shelf-row > * { flex: 0 0 150px; width: 150px; min-width: 0; scroll-snap-align: start; }
.theme-modern .zv-shelf-btn { position: absolute; top: 57px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    padding: 0; border: 1px solid var(--line-strong); background: #FFFFFF; color: var(--text); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.theme-modern .zv-shelf-btn:hover { color: var(--accent); }
.theme-modern .zv-shelf-btn .hue-ico { width: 18px; height: 18px; flex: 0 0 18px; }
.theme-modern .zv-shelf-prev { left: -8px; }
.theme-modern .zv-shelf-next { right: -8px; }
.theme-modern .zv-shelf-btn[hidden] { display: none !important; }
@media (hover: none) { .theme-modern .zv-shelf-btn { display: none !important; } }
.theme-modern .zv-shelf .zv-card-title { font-size: 13px; }
.theme-modern .zv-rows-flat { padding: 0; margin: 0 -12px; }

.theme-modern .zv-atile { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .zv-atile-av { display: block; width: 150px; height: 150px; overflow: hidden; background: #E1E3E6; }
.theme-modern .zv-atile-av img { display: block; width: 150px; height: 150px; object-fit: cover; }
.theme-modern .zv-atile-name { display: inline-flex; align-items: center; max-width: 100%; margin-top: 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-atile-sub { font-size: 12px; color: var(--muted); }
.theme-modern .zv-atile-sub .zv-stat::before { width: 10px; height: 10px; }
.theme-modern .zv-atile:hover .zv-atile-name { color: var(--accent); }

.theme-modern .zv-mix-cover { background-color: #2F3033; }
.theme-modern .zv-mix-cover.zv-mix-4 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.theme-modern .zv-mix-cover.zv-mix-4 img { width: 100%; height: 100%; object-fit: cover; }
.theme-modern .zv-mix-cover::after { content: "МИКС"; position: absolute; right: 6px; top: 8px; writing-mode: vertical-rl; color: #FFFFFF; font: 700 10.5px/1 var(--font);
    letter-spacing: 3px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); pointer-events: none; }
.theme-modern .zv-mix-label { position: absolute; left: 0; bottom: 0; right: 0; padding: 5px 8px; background: rgba(17, 17, 18, 0.82); color: #FFFFFF;
    font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-mix .zv-play { bottom: 34px; }
.theme-modern .zv-mix .zv-card-artist span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.theme-modern .zv-sideh { display: flex; align-items: center; gap: 6px; margin: 24px 0 8px 0; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong);
    font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.theme-modern .zv-sideh b { color: var(--text); font-weight: 700; min-width: 0; }
.theme-modern .zv-sideh .hue-ico { width: 15px; height: 15px; flex: 0 0 15px; color: var(--muted); }
.theme-modern .zv-sideh a { margin-left: auto; flex: 0 0 auto; text-transform: none; letter-spacing: 0; color: var(--muted) !important; font-size: 12px; }
.theme-modern .zv-sideh a:hover { color: var(--text) !important; }
.theme-modern .zv-side-empty { padding: 6px 0; font-size: 12.5px; color: var(--muted); }
.theme-modern .zv-side-empty .hue-ico { width: 13px; height: 13px; flex-basis: 13px; vertical-align: -2px; }
.theme-modern .zv-newf { display: flex; flex-wrap: wrap; gap: 12px 10px; padding: 4px 0; }
.theme-modern .zv-newf-item { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 62px; color: var(--text) !important; font-size: 11.5px;
    text-decoration: none !important; }
.theme-modern .zv-newf-item > span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-newf-av { position: relative; display: block; width: 58px; height: 58px; }
.theme-modern .zv-newf-av img { width: 58px; height: 58px; object-fit: cover; display: block; background: #E1E3E6; }
.theme-modern .zv-newf-av i { position: absolute; top: 0; right: 0; width: 10px; height: 10px; background: var(--accent); box-shadow: 0 0 0 2px #FFFFFF; }
.theme-modern .zv-people { display: grid; gap: 2px; }
.theme-modern .zv-person { display: flex; align-items: center; gap: 10px; padding: 6px 0; min-width: 0; }
.theme-modern .zv-person-av { flex: 0 0 44px; }
.theme-modern .zv-person-av img { width: 44px; height: 44px; object-fit: cover; display: block; background: #E1E3E6; }
.theme-modern .zv-person-info { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.theme-modern .zv-person-top { display: flex; align-items: center; min-width: 0; }
.theme-modern .zv-person-name { color: var(--text) !important; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-person-sub { display: flex; gap: 10px; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.theme-modern .zv-person-sub .zv-stat::before { width: 10px; height: 10px; }
.theme-modern .zv-follow { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border: 1px solid var(--accent);
    background: var(--accent); color: #FFFFFF; font: 600 11.5px var(--font); cursor: pointer; white-space: nowrap; }
.theme-modern .zv-follow:hover { background: #961A1A; border-color: #961A1A; }
.theme-modern .zv-follow.on { background: #FFFFFF; color: var(--accent); border-color: #E3B5B5; }
.theme-modern .zv-follow.on:hover { border-color: var(--accent); }
.theme-modern .zv-cyc[hidden] { display: none !important; }
.theme-modern .zv-person-handle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .zv-sr-tabs { flex-wrap: wrap; }
.theme-modern .zv-sr-sec { padding: 14px 0 4px 0; }
.theme-modern .zv-sr-sec + .zv-sr-sec { border-top: 1px solid var(--line); }
.theme-modern .zv-sr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 20px 6px 20px; }
.theme-modern .zv-sr-h h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.theme-modern .zv-sr-h a { flex: 0 0 auto; color: var(--link) !important; font-size: 12.5px; }
.theme-modern .zv-sr-sec .zv-rows { padding-top: 0; }
.theme-modern .zv-sr-people, .theme-modern .zv-sr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px;
    padding: 0 20px 10px 20px; }
.theme-modern .zv-sr-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 0; color: var(--text) !important;
    text-decoration: none !important; }
.theme-modern .zv-sr-cover { flex: 0 0 44px; width: 44px; height: 44px; }
.theme-modern .zv-sr-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.theme-modern .zv-sr-text b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-sr-text small { margin-top: 2px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-sr-item:hover b { color: var(--accent); }
.theme-modern .hue-sugg-zv { width: 100%; min-width: 320px; }
.theme-modern .hue-sugg-zv .zv-badge { margin-left: 3px; }
@media (max-width: 700px) {
    .theme-modern .zv-sr-h { padding: 0 14px 6px 14px; }
    .theme-modern .zv-sr-people, .theme-modern .zv-sr-grid { grid-template-columns: minmax(0, 1fr); padding: 0 14px 8px 14px; }
    .theme-modern .hue-sugg-zv { min-width: 0; }
}
.theme-modern .zv-home-side .zv-mini, .theme-modern .zv-aright .zv-mini { padding: 6px 0; }
.theme-modern .zv-mini .zv-stat-like.on { color: var(--accent); }
.theme-modern .zv-home-side .zv-anav { margin-top: 24px; }

.theme-modern .zv-tcards { gap: 0; margin-bottom: 26px; }
.theme-modern .zv-tcard { grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto; column-gap: 16px; padding: 18px 0;
    border-bottom: 1px solid var(--line); }
.theme-modern .zv-tcard:first-child { padding-top: 6px; }
.theme-modern .zv-tcard-cover { grid-row: auto; width: 160px; height: 160px; }
.theme-modern .zv-tcard-main { min-height: 0; padding: 0; background: none; overflow: visible; isolation: auto; display: flex; flex-direction: column; min-width: 0; }
.theme-modern .zv-tcard-main::after { content: none; }
.theme-modern .zv-tcard-top { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.theme-modern .zv-tcard .zv-round-play { width: 38px; height: 38px; box-shadow: none; }
.theme-modern .zv-tcard-names { flex: 1 1 auto; min-width: 0; font-weight: 400; line-height: 1.35; padding-top: 1px; }
.theme-modern .zv-tcard-artist { display: flex; align-items: center; min-width: 0; font-size: 12.5px; color: var(--muted); }
.theme-modern .zv-tcard-artist a { color: var(--muted) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-modern .zv-tcard-title { display: block; color: var(--text) !important; font-size: 14.5px; overflow-wrap: anywhere; }
.theme-modern .zv-tcard.ap-cur .zv-tcard-title { color: var(--accent) !important; }
.theme-modern .zv-tcard-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; max-width: 40%; }
.theme-modern .zv-tcard-ago { font-size: 12px; color: var(--muted); white-space: nowrap; }
.theme-modern .zv-tag { display: inline-block; max-width: 100%; padding: 1px 8px; background: #9EA3AA; color: #FFFFFF !important; font-size: 11.5px; line-height: 1.6;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none !important; }
.theme-modern a.zv-tag:hover { background: #7E848C; }
.theme-modern .zv-tag-priv { background: var(--head-2); }
.theme-modern .zv-tcard-wave { position: relative; margin-top: auto; padding: 12px 0 18px 0; }
.theme-modern .zv-tcard canvas.zv-wave-sm { height: 60px; }
.theme-modern .zv-tcard-dur { position: absolute; right: 0; top: 34px; bottom: auto; padding: 0 4px; background: #1F2023; color: #FFFFFF; font-size: 11px; line-height: 16px;
    font-variant-numeric: tabular-nums; pointer-events: none; }
.theme-modern .zv-tcard .zv-marks { height: 18px; }
.theme-modern .zv-tcard .zv-mark { width: 16px; height: 16px; margin-left: -8px; bottom: 1px; box-shadow: 0 0 0 1px #FFFFFF; }
.theme-modern .zv-qc { display: none; align-items: center; gap: 8px; margin: 2px 0 4px 0; padding: 3px 4px 3px 3px; background: #F2F3F5; border: 1px solid var(--line-strong); }
.theme-modern .zv-tcard.ap-cur .zv-qc, .theme-modern .zv-qc:focus-within { display: flex; }
.theme-modern .zv-qc-av { width: 28px; height: 28px; object-fit: cover; flex: 0 0 28px; display: block; background: #E1E3E6; }
.theme-modern .zv-qc input[type="text"] { flex: 1 1 auto; min-width: 0; height: 28px; padding: 0 6px; border: 0 !important; background: transparent !important;
    font: 13px var(--font); outline: none; box-shadow: none !important; }
.theme-modern .zv-qc button { flex: 0 0 auto; width: 30px; height: 28px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center; }
.theme-modern .zv-qc button:hover { color: var(--accent); }
.theme-modern .zv-qc .hue-ico { width: 16px; height: 16px; flex-basis: 16px; }
.theme-modern .zv-tcard-actions { grid-column: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding-top: 6px; }
.theme-modern .zv-tcard .zv-sq { height: 24px; min-width: 0; padding: 0 7px; gap: 4px; border: 1px solid var(--line-strong); background: #FFFFFF; font: 600 11.5px var(--font); }
.theme-modern .zv-tcard .zv-sq:hover { border-color: #B8BDC4; background: #FFFFFF; }
.theme-modern .zv-tcard .zv-sq.on { border-color: #E3B5B5; }
.theme-modern .zv-tcard .zv-sq .hue-ico { width: 14px; height: 14px; flex-basis: 14px; }
.theme-modern .zv-tcard .vk-menu { display: inline-flex; }
.theme-modern .zv-tcard-counts { margin-left: auto; display: flex; gap: 12px; font-size: 12px; color: var(--muted); }

.theme-modern .zv-asheet { padding: 0 0 10px 0; }
.theme-modern .zv-asheet .zv-abanner { min-height: 260px; padding: 30px 30px; box-sizing: border-box; }
.theme-modern .zv-asheet .zv-abanner-av { width: 200px; height: 200px; object-fit: cover; }
.theme-modern .zv-plate-mid { padding: 2px 9px; font-size: 15px; line-height: 1.7; }
.theme-modern a.zv-plate-mid { color: #FFFFFF !important; }
.theme-modern .zv-abanner-line { margin-top: 6px; }
.theme-modern .zv-abanner-name { display: flex; align-items: center; gap: 6px; }
.theme-modern .zv-abanner-edit { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
    background: rgba(17, 17, 18, 0.72); color: #FFFFFF !important; font-size: 12px; font-weight: 600; text-decoration: none !important; }
.theme-modern .zv-abanner-edit:hover { background: rgba(17, 17, 18, 0.9); }
.theme-modern .zv-abanner-edit .hue-ico { width: 15px; height: 15px; flex-basis: 15px; }
.theme-modern .zv-asheet .zv-abar { margin: 0 24px 18px 24px; padding: 0; }
.theme-modern .zv-asheet .zv-atabs { gap: 24px; }
.theme-modern .zv-asheet .zv-atabs a { font-size: 16px; font-weight: 600; padding: 16px 0 12px 0; color: var(--text) !important; }
.theme-modern .zv-asheet .zv-atabs a:not(.active) { color: #4A4F56 !important; font-weight: 500; }
.theme-modern .zv-asheet .zv-atabs a.active { color: var(--accent) !important; }
.theme-modern .zv-asheet .zv-abtn { height: 28px; padding: 0 10px; border: 1px solid var(--line-strong); background: #FFFFFF; font-weight: 600; }
.theme-modern .zv-asheet .zv-abtn:hover { border-color: #B8BDC4; background: #FFFFFF; }
.theme-modern .zv-asheet .zv-abtn-main { background: var(--accent); border-color: var(--accent); color: #FFFFFF !important; }
.theme-modern .zv-asheet .zv-abtn-main:hover { background: #961A1A; border-color: #961A1A; }
.theme-modern .zv-asheet .zv-abtn-icon { width: 30px; padding: 0; }
.theme-modern .zv-asheet .zv-abody { padding: 0 24px; gap: 30px; }
.theme-modern .zv-asheet .zv-aright { flex-basis: 280px; padding-left: 24px; border-left: 1px solid var(--line); }
.theme-modern .zv-ah { font-size: 16px; font-weight: 700; margin: 0 0 4px 0; }
.theme-modern .zv-ah small { font-size: 14px; font-weight: 400; color: var(--muted); }
.theme-modern .zv-asheet .zv-acounts { padding-top: 0; }
.theme-modern .zv-acount + .zv-acount { padding-left: 12px; border-left: 1px solid var(--line); }
.theme-modern .zv-asheet .zv-acount span { font-size: 12px; }
.theme-modern .zv-asheet .zv-acount b { font-size: 21px; font-weight: 400; color: #5A5F66; }
.theme-modern .zv-asheet .zv-acount:hover b { color: var(--accent); }
.theme-modern .zv-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 24px; padding-top: 6px; }
.theme-modern .zv-asheet .vk-empty { padding: 20px 0; text-align: left; }
.theme-modern .zv-asheet .zv-flash { margin: 0 24px 14px 24px; }

.theme-modern .zv-pnums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-modern .zv-pnum { display: flex; flex-direction: column; min-width: 0; }
.theme-modern .zv-pnum + .zv-pnum { padding-left: 12px; border-left: 1px solid var(--line); align-items: flex-end; text-align: right; }
.theme-modern .zv-pnum span { font-size: 12px; color: var(--muted); }
.theme-modern .zv-pnum b { font-size: 30px; font-weight: 400; line-height: 1.15; color: #9EA3AA; font-variant-numeric: tabular-nums; white-space: nowrap; }
.theme-modern .zv-pnum-main b { color: var(--accent); }
.theme-modern .zv-ptotal { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.theme-modern .zv-ptotal b { color: #4A4F56; font-weight: 600; }
.theme-modern .zv-pnums-side .zv-pnum b { font-size: 26px; }
.theme-modern .zv-h-ico { display: flex; align-items: center; gap: 8px; }
.theme-modern .zv-h-ico .hue-ico { width: 15px; height: 15px; flex-basis: 15px; color: var(--muted); }
.theme-modern .zv-h-link { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted) !important; }
.theme-modern .zv-stbody { padding: 14px 20px 6px 20px; }
.theme-modern .zv-stbody .zv-pnums { max-width: 460px; }
.theme-modern .zv-stmore { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.theme-modern .zv-stmore b { color: var(--text); font-weight: 600; }
.theme-modern .zv-chart-wrap { position: relative; margin: 14px 20px 34px 20px; padding-top: 14px; }
.theme-modern .zv-chart-wrap .zv-chart { margin: 0; height: 130px; }
.theme-modern .zv-chart-max { position: absolute; left: 0; top: 0; font-size: 10.5px; color: var(--muted); }
.theme-modern .zv-bar-today i { background: #E2453F; }
.theme-modern .zv-lis-h { padding: 6px 20px 6px 20px; font-weight: 700; color: var(--text); font-size: 12.5px; }
.theme-modern .zv-lis-h small { font-weight: 400; color: var(--muted); }
.theme-modern .zv-lis { width: calc(100% - 40px); margin: 0 20px; border-collapse: collapse; table-layout: fixed; }
.theme-modern .zv-lis th { padding: 6px 0; border-bottom: 1px solid var(--line-strong); text-align: left; font-size: 11px; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.3px; }
.theme-modern .zv-lis td { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: middle; min-width: 0; overflow: hidden; }
.theme-modern .zv-lis .zv-lis-n { width: 60px; text-align: right; font-variant-numeric: tabular-nums; }
.theme-modern .zv-lis .zv-lis-t { width: 150px; text-align: right; font-size: 12px; color: var(--muted); }
.theme-modern .zv-lis-who { display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 20px); color: var(--text) !important; font-weight: 600; vertical-align: middle; }
.theme-modern .zv-lis-who img { width: 32px; height: 32px; flex: 0 0 32px; object-fit: cover; display: block; background: #E1E3E6; }
.theme-modern .zv-lis-who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.theme-modern .zv-lis-foot { padding: 10px 20px 0 20px; }
.theme-modern .zv-btn-more { width: 100%; height: 32px; border: 1px solid var(--line-strong); background: #FFFFFF; color: var(--text); font: 600 12.5px var(--font); cursor: pointer; }
.theme-modern .zv-btn-more:hover { border-color: #B8BDC4; }
.theme-modern .zv-stnote { margin: 10px 20px 16px 20px; }
.theme-modern .zv-stcard { margin-bottom: 12px; }
.theme-modern .zv-st-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 12px 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line-strong); }
.theme-modern .zv-st-names { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.theme-modern .zv-st-title { font-size: 16px; font-weight: 600; color: var(--text) !important; overflow-wrap: anywhere; }
.theme-modern .zv-st-head .zv-abtn { flex: 0 0 auto; background: #FFFFFF; border: 1px solid var(--line-strong); }

.theme-modern .zv-set { padding-top: 0; }
.theme-modern .zv-set-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 18px 0 14px 0; }
.theme-modern .zv-set-head h1 { margin: 0; font-size: 20px; font-weight: 700; }
.theme-modern .zv-set-head .zv-abtn { background: #FFFFFF; border: 1px solid var(--line-strong); }
.theme-modern .zv-set-banner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 170px; padding: 0 12px;
    background: #3A3B3F center / cover no-repeat; color: #FFFFFF; text-align: center; box-sizing: border-box; }
.theme-modern .zv-set-banner small { font-size: 11.5px; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7); }
.theme-modern .zv-set-imgbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: rgba(17, 17, 18, 0.82); color: #FFFFFF;
    font: 600 12.5px var(--font); cursor: pointer; }
.theme-modern .zv-set-imgbtn:hover { background: #111112; }
.theme-modern .zv-set-imgbtn .hue-ico { width: 15px; height: 15px; flex-basis: 15px; }
.theme-modern .zv-set-rm { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; cursor: pointer; }
.theme-modern .zv-set-banner .zv-set-rm { padding: 2px 8px; background: rgba(17, 17, 18, 0.6); }
.theme-modern .zv-set-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; margin-top: 22px; }
.theme-modern .zv-set-avbox { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.theme-modern .zv-set-av { width: 220px; height: 220px; background: #E1E3E6 center / cover no-repeat; }
.theme-modern .zv-set-avbox small { font-size: 12px; }
.theme-modern .zv-f2 { display: flex; flex-direction: column; gap: 5px; margin: 0 0 14px 0; }
.theme-modern .zv-f2 > span { font-size: 12.5px; font-weight: 700; }
.theme-modern .zv-f2 small { font-weight: 400; color: var(--muted); }
.theme-modern .zv-f2 input[type="text"], .theme-modern .zv-f2 textarea { width: 100%; box-sizing: border-box; }
.theme-modern .zv-f2-prefix { display: flex; align-items: stretch; border: 1px solid var(--line-strong); background: #FFFFFF; }
.theme-modern .zv-f2-prefix em { display: flex; align-items: center; padding-left: 8px; color: var(--muted); font-style: normal; font-size: 12.5px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.theme-modern .zv-f2-prefix input[type="text"] { border: 0 !important; box-shadow: none !important; flex: 1 1 auto; min-width: 0; }
.theme-modern .zv-set-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #F7F8FA; border: 1px solid var(--line); }
.theme-modern .zv-set-link img { width: 36px; height: 36px; flex: 0 0 36px; object-fit: cover; display: block; }
.theme-modern .zv-set-link span { display: block; font-size: 12px; }
.theme-modern .zv-set-link a { color: var(--text) !important; font-weight: 600; }
.theme-modern .zv-set-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.theme-modern .zv-btn-main2 { height: 34px; padding: 0 22px; border: 0; background: var(--accent); color: #FFFFFF; font: 700 13px var(--font); cursor: pointer; }
.theme-modern .zv-btn-main2:hover { background: #961A1A; }
.theme-modern .zv-btn-flat2 { color: var(--text) !important; font-weight: 600; }

.theme-modern .zv-upwrap { max-width: 760px; }
.theme-modern .zv-up-only { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px 0; padding: 10px 12px; border: 1px solid var(--line-strong);
    background: #FAFAFB; cursor: pointer; }
.theme-modern .zv-up-only input { margin: 2px 0 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.theme-modern .zv-up-only span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.theme-modern .zv-up-only small { font-size: 12px; color: var(--muted); line-height: 1.4; }

@media (max-width: 1000px) {
    .theme-modern .zv-home { grid-template-columns: minmax(0, 1fr); }
    .theme-modern .zv-home-side { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
}
@media (max-width: 700px) {
    .theme-modern .zv-asheet .zv-abody { flex-direction: column; align-items: stretch; }
    .theme-modern .zv-asheet .zv-aright { flex: none; width: 100%; padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--line); box-sizing: border-box; }
}

@media (max-width: 700px) {
    .theme-modern .zv-hdr { padding: 0; margin: 0 0 10px 0; }
    .theme-modern .zv-hdr-brand { min-height: 42px; padding: 0 12px; }
    .theme-modern .zv-hdr-nav { order: 5; flex: 1 1 100%; height: 40px; background: #26272A; }
    .theme-modern .zv-hdr-nav { gap: 6px; padding: 0 6px; box-sizing: border-box; }
    .theme-modern .zv-genres-in { padding: 4px 14px 12px 14px; }
    .theme-modern .zv-hdr-nav a { flex: 1 1 auto; justify-content: center; padding: 0 10px; font-size: 13px; border-right: 0; }
    .theme-modern .zv-hdr-search { order: 6; flex: 1 1 calc(100% - 16px); max-width: calc(100% - 16px); box-sizing: border-box; margin: 8px; }
    .theme-modern .zv-hdr-search input { height: 32px; }
    .theme-modern .zv-hdr-search button { height: 32px; }
    .theme-modern .zv-hdr-right { margin-left: auto; }
    .theme-modern .zv-hdr-up { line-height: 42px; }
    .theme-modern .zv-hdr-me, .theme-modern .zv-hdr-more { height: 42px; }
    .theme-modern .zv-sheet { padding: 14px 12px 18px 12px; }
    .theme-modern .zv-shelf { margin-bottom: 22px; }
    .theme-modern .zv-shelf-h h2 { font-size: 17px; }
    .theme-modern .zv-shelf-row { gap: 10px; margin: 0 -12px; padding: 0 12px 2px 12px; scroll-padding-left: 12px; }
    .theme-modern .zv-shelf-row > * { flex-basis: 134px; width: 134px; }
    .theme-modern .zv-atile-av, .theme-modern .zv-atile-av img { width: 134px; height: 134px; }
    .theme-modern .zv-rows-flat { margin: 0 -6px; }
    .theme-modern .zv-tcard { grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; padding: 14px 0; }
    .theme-modern .zv-tcard-cover { width: 64px; height: 64px; }
    .theme-modern .zv-tcard .zv-round-play { width: 34px; height: 34px; }
    .theme-modern .zv-tcard-side { display: none; }
    .theme-modern .zv-tcard-title { font-size: 14px; }
    .theme-modern .zv-tcard canvas.zv-wave-sm { height: 48px; }
    .theme-modern .zv-tcard-dur { top: 28px; }
    .theme-modern .zv-tcard .zv-sq-txt span:not(.hue-ico) { display: none; }
    .theme-modern .zv-tcard .zv-sq-link { display: none; }
    .theme-modern .zv-tcard-counts { gap: 8px; }
    .theme-modern .zv-asheet .zv-abanner { min-height: 0; padding: 18px 14px; }
    .theme-modern .zv-asheet .zv-abanner-av { width: 112px; height: 112px; }
    .theme-modern .zv-plate-mid { font-size: 13px; }
    .theme-modern .zv-abanner-edit { top: 8px; right: 8px; padding: 4px 8px; }
    .theme-modern .zv-abanner-edit span { display: none; }
    .theme-modern .zv-asheet .zv-abar { margin: 0 12px 12px 12px; }
    .theme-modern .zv-asheet .zv-atabs { gap: 18px; }
    .theme-modern .zv-asheet .zv-atabs a { font-size: 14.5px; padding: 12px 0 10px 0; }
    .theme-modern .zv-asheet .zv-abody { padding: 0 12px; gap: 0; }
    .theme-modern .zv-asheet .zv-aright { padding: 14px 0 0 0; }
    .theme-modern .zv-asheet .zv-flash { margin: 0 12px 12px 12px; }
    .theme-modern .zv-pnum b { font-size: 26px; }
    .theme-modern .zv-stbody { padding: 12px 12px 4px 12px; }
    .theme-modern .zv-chart-wrap { margin: 12px 12px 30px 12px; }
    .theme-modern .zv-lis { width: calc(100% - 24px); margin: 0 12px; }
    .theme-modern .zv-lis .zv-lis-n { width: 40px; }
    .theme-modern .zv-lis .zv-lis-t { width: 96px; font-size: 11.5px; }
    .theme-modern .zv-lis-h, .theme-modern .zv-lis-foot { padding-left: 12px; padding-right: 12px; }
    .theme-modern .zv-stnote { margin: 10px 12px 14px 12px; }
    .theme-modern .zv-set-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .theme-modern .zv-set-av { width: 140px; height: 140px; }
    .theme-modern .zv-set-banner { height: 130px; }
    .theme-modern .zv-pgrid { grid-template-columns: minmax(0, 1fr); }
    .theme-modern #main-content .zv-person-av img { height: 44px; }
    .theme-modern #main-content .zv-newf-av img { height: 58px; }
    .theme-modern #main-content .zv-atile-av img { height: 134px; }
    .theme-modern #main-content .zv-lis-who img { height: 32px; }
    .theme-modern #main-content .zv-qc-av { height: 28px; }
    .theme-modern #main-content .zv-hdr-me img { height: 26px; }
    .theme-modern #main-content .zv-asheet .zv-abanner-av { height: 112px; }
    .theme-modern #main-content .zv-mark img { height: 100%; }
    .theme-modern #main-content .zv-mix-cover.zv-mix-4 img { height: 100%; }
}

.theme-modern .zv-thero-wave { display: block; padding-top: 26px; }
.theme-modern .zv-thero .zv-wave-box { padding-bottom: 26px; }
.theme-modern .zv-thero .zv-wave-times { position: absolute; left: 0; right: 0; top: calc(26px + 96px * 0.62 - 9px); display: flex; flex-direction: row;
    justify-content: space-between; gap: 0; padding: 0; pointer-events: none; }
.theme-modern .zv-thero .zv-wave-times .zv-plate-sm { padding: 0 5px; font-size: 11.5px; line-height: 18px; background: rgba(17, 17, 18, 0.88); }
.theme-modern .zv-marks { height: 24px; }
.theme-modern .zv-thero .zv-mark { width: 20px; height: 20px; margin-left: -10px; bottom: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85); }
.theme-modern .zv-mark img { width: 100%; height: 100%; object-fit: cover; display: block; background: #E1E3E6; }
.theme-modern .zv-mark:hover { transform: none; box-shadow: 0 0 0 2px var(--accent-2); z-index: 3; }
.theme-modern .zv-mark-under { opacity: 0; pointer-events: none; }
.theme-modern .zv-cbub { position: absolute; top: 100%; z-index: 6; display: flex; align-items: flex-start; gap: 8px; width: max-content; max-width: min(340px, 100%);
    margin-top: 2px; padding: 7px 10px 7px 7px; background: #FFFFFF; color: var(--text); box-shadow: 0 0 0 1px var(--line-strong), 0 4px 14px rgba(0, 0, 0, 0.28);
    font-size: 12.5px; line-height: 1.35; box-sizing: border-box; animation: zvBub 0.15s ease-out; }
.theme-modern .zv-cbub[hidden] { display: none !important; }
.theme-modern .zv-cbub::before { content: ""; position: absolute; top: -5px; left: var(--zv-arrow, 14px); width: 9px; height: 9px; margin-left: -5px; background: #FFFFFF;
    transform: rotate(45deg); box-shadow: -1px -1px 0 var(--line-strong); }
.theme-modern .zv-cbub img { width: 24px; height: 24px; flex: 0 0 24px; object-fit: cover; display: block; position: relative; }
.theme-modern .zv-cbub span { position: relative; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .zv-cbub b { font-weight: 600; }
.theme-modern .zv-cbub i { font-style: normal; color: var(--accent); font-size: 11.5px; }
.theme-modern .zv-cbub em { display: block; font-style: normal; }
@keyframes zvBub { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.theme-modern .zv-tcard-wave .zv-cbub { margin-top: 0; }
.theme-modern .zv-thero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.theme-modern .zv-thero-actions .zv-cform { order: -1; flex: 1 1 100%; height: 36px; box-sizing: border-box; min-width: 0; }
.theme-modern .zv-thero-actions .zv-cform input[type="text"] { height: 32px; }
.theme-modern .zv-thero-actions .zv-cform-av { width: 26px; height: 26px; }
.theme-modern .zv-thero-actions .zv-cform button { width: 30px; height: 30px; }
.theme-modern .zv-thero-actions > .zv-pill, .theme-modern .zv-thero-actions > .zv-round, .theme-modern .zv-thero-actions > .vk-menu > .zv-round {
    box-sizing: border-box; height: 36px; flex: 0 0 auto; }
.theme-modern .zv-thero-actions > .zv-round, .theme-modern .zv-thero-actions > .vk-menu > .zv-round { width: 36px; }
.theme-modern .zv-thero-actions > .zv-pill { min-width: 36px; padding: 0 12px; gap: 6px; }
.theme-modern .zv-thero-actions .hue-ico { width: 18px; height: 18px; flex: 0 0 18px; }
.theme-modern .zv-thero-actions > .vk-menu { display: inline-flex; }
@media (max-width: 700px) {
    .theme-modern .zv-thero-wave { padding-top: 16px; }
    .theme-modern .zv-thero .zv-wave-times { top: calc(16px + 72px * 0.62 - 9px); }
    .theme-modern .zv-thero-actions { gap: 6px; margin-top: 10px; }
    .theme-modern .zv-thero-actions > .zv-round, .theme-modern .zv-thero-actions > .vk-menu > .zv-round { width: 40px; height: 40px; }
    .theme-modern .zv-thero-actions > .zv-pill { height: 40px; }
    .theme-modern .zv-thero-actions .zv-cform { height: 40px; }
    .theme-modern #main-content .zv-mark img { height: 100%; }
    .theme-modern #main-content .zv-cbub img { height: 24px; }
    .theme-modern #main-content .zv-thero-actions .zv-cform-av { height: 26px; }
}
.theme-modern .zv-hdr-brand { padding: 0 12px; }
.theme-modern .zv-hdr-nav a { padding: 0 11px; }
.theme-modern .zv-hdr-search { flex: 1 1 110px; min-width: 100px; margin: 0 4px 0 8px; }
.theme-modern .zv-hdr-up { padding: 0 8px; }
.theme-modern .zv-hdr-more { width: 30px; }
.theme-modern .zv-people { grid-template-columns: minmax(0, 1fr); }
.theme-modern .zv-tcard { grid-template-columns: 120px minmax(0, 1fr); }
.theme-modern .zv-tcard-cover { width: 120px; height: 120px; }
.theme-modern .zv-asheet .zv-abody { gap: 24px; padding: 0 20px; }
.theme-modern .zv-asheet .zv-aright { flex-basis: 244px; padding-left: 20px; }
.theme-modern .zv-asheet .zv-abar { margin: 0 20px 14px 20px; }
.theme-modern .zv-pnums { align-items: stretch; }
.theme-modern .zv-pnum { justify-content: space-between; }
.theme-modern .zv-pnums-side .zv-pnum span { font-size: 11.5px; line-height: 1.3; }
@media (max-width: 700px) {
    .theme-modern .zv-tcard { grid-template-columns: 64px minmax(0, 1fr); }
    .theme-modern .zv-tcard-cover { width: 64px; height: 64px; }
    .theme-modern .zv-asheet .zv-abody { padding: 0 12px; gap: 0; }
    .theme-modern .zv-asheet .zv-abar { margin: 0 12px 12px 12px; }
    .theme-modern .zv-asheet .zv-aright { padding-left: 0; }
}
.theme-modern .zv-more-tracks { padding: 0 0 20px 0; }
.theme-modern a.zv-btn-more { display: flex; align-items: center; justify-content: center; box-sizing: border-box; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .zv-home-side .zv-follow, .theme-modern .zv-aright .zv-follow { width: 30px; height: 28px; padding: 0; justify-content: center; font-size: 0; }
.theme-modern .zv-home-side .zv-follow::before, .theme-modern .zv-aright .zv-follow::before { content: ""; width: 15px; height: 15px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='7' r='4.5'/%3E%3Cpath d='M0 22c0-5.5 4-8.5 9-8.5s9 3 9 8.5z'/%3E%3Cpath d='M19 6h2v3h3v2h-3v3h-2v-3h-3V9h3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='7' r='4.5'/%3E%3Cpath d='M0 22c0-5.5 4-8.5 9-8.5s9 3 9 8.5z'/%3E%3Cpath d='M19 6h2v3h3v2h-3v3h-2v-3h-3V9h3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-modern .zv-home-side .zv-follow.on::before, .theme-modern .zv-aright .zv-follow.on::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='7' r='4.5'/%3E%3Cpath d='M0 22c0-5.5 4-8.5 9-8.5s9 3 9 8.5z'/%3E%3Cpath d='M16 9.5l1.5-1.5 1.5 1.5 3.5-3.5 1.5 1.5-5 5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Ccircle cx='9' cy='7' r='4.5'/%3E%3Cpath d='M0 22c0-5.5 4-8.5 9-8.5s9 3 9 8.5z'/%3E%3Cpath d='M16 9.5l1.5-1.5 1.5 1.5 3.5-3.5 1.5 1.5-5 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 700px) {
    .theme-modern .zv-tcard-cover { display: block; }
    .theme-modern .zv-tcard-main { min-height: 0; }
}

.theme-modern .zv-card-cover .zv-card-link { position: absolute; inset: 0; display: block; z-index: 0; }
.theme-modern .zv-card-cover .zv-card-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-modern .zv-card-cover .zv-play { z-index: 1; }

.theme-modern .vk-groups-mini { padding-bottom: 6px; }
.theme-modern .vk-gm-row { display: flex; align-items: center; gap: 10px; padding: 6px 16px; text-decoration: none !important; color: var(--text) !important; }
.theme-modern .vk-gm-row:hover { background: var(--hover); }
.theme-modern .vk-gm-row img { width: 36px; height: 36px; object-fit: cover; flex: none; }
.theme-modern .vk-gm-row span { display: flex; flex-direction: column; min-width: 0; flex: 1 1 0; }
.theme-modern .vk-gm-row b { font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .vk-gm-row small { color: var(--muted); font-size: 12px; }
@media (max-width: 700px) { .theme-modern .vk-groups-mini { display: none; } }

@media (min-width: 701px) {
    .theme-modern .zv-asheet .zv-abar { flex-wrap: nowrap; }
    .theme-modern .zv-asheet .zv-atabs { flex: 1 1 auto; min-width: 0; }
    .theme-modern .zv-asheet .zv-abtns { flex: 0 0 auto; flex-wrap: nowrap; }
}
.theme-modern .zv-tcard-counts { align-items: center; }
@media (min-width: 701px) and (max-width: 1440px) {
    .theme-modern .zv-asheet .zv-abtns .zv-abtn:not(.zv-follow-big) span:not(.hue-ico) { display: none; }
    .theme-modern .zv-asheet .zv-abtns .zv-abtn:not(.zv-follow-big) { width: 32px; padding: 0; justify-content: center; }
    .theme-modern .zv-tcard .zv-tcard-actions .zv-sq-txt span:not(.hue-ico) { display: none; }
    .theme-modern .zv-tcard .zv-tcard-actions { flex-wrap: nowrap; }
}

.theme-modern .zv-tcard .zv-tcard-actions > .vk-menu { display: inline-flex; }
.theme-modern .zv-tcard .zv-tcard-actions .zv-sq { box-sizing: border-box; height: 28px; min-width: 30px; margin: 0; line-height: 1;
    vertical-align: middle; text-decoration: none !important; }
@media (max-width: 700px) { .theme-modern .zv-tcard .zv-tcard-actions .zv-sq { height: 34px; min-width: 34px; } }
.theme-modern .zv-sq .zv-who, .theme-modern .zv-pill span { display: inline-flex; align-items: center; line-height: 1; padding-top: 2px; }
.theme-modern .zv-asheet .zv-abtns > .zv-abtn, .theme-modern .zv-asheet .zv-abtns > .vk-menu > .zv-abtn { box-sizing: border-box; height: 32px; }
.theme-modern .zv-asheet .zv-abtns > .vk-menu { display: inline-flex; }
@media (max-width: 700px) {
    .theme-modern .zv-asheet .zv-abtns { gap: 6px; }
    .theme-modern .zv-asheet .zv-abtns > .zv-abtn, .theme-modern .zv-asheet .zv-abtns > .vk-menu > .zv-abtn { height: 36px; }
    .theme-modern .zv-asheet .zv-abtns > .zv-abtn:not(.zv-follow-big), .theme-modern .zv-asheet .zv-abtns > .vk-menu > .zv-abtn { width: 36px; min-width: 36px; padding: 0; justify-content: center; }
    .theme-modern .zv-asheet .zv-abtns > .zv-abtn:not(.zv-follow-big) span:not(.hue-ico) { display: none; }
}

.theme-modern .vk-chat-head-name { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; }
.theme-modern .vk-chat-head-name .vk-chn-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text) !important; text-decoration: none !important; }
.theme-modern .vk-chat-head-who > a.vk-muted { text-decoration: none !important; color: var(--muted) !important; }
.theme-modern .vk-chat-head-name .hue-vmark { flex: none; }
.theme-modern .vk-extra-names { color: var(--muted); overflow-wrap: anywhere; }
.theme-modern .vk-main-name { color: inherit !important; text-decoration: none; }
.theme-modern .vk-main-name:hover { text-decoration: underline; }
.theme-modern .vk-extra-names a.vk-tag-bought { color: var(--accent, #B01E1E) !important; }
.theme-modern .vk-extra-names a { color: var(--muted) !important; text-decoration: none; }
.theme-modern .vk-extra-names a:hover { text-decoration: underline; }
.hue-msg-call { display: inline-flex; align-items: center; gap: 6px; color: var(--muted, #6B7178); font-style: italic; }
.hue-msg-call .hue-ico { width: 15px; height: 15px; flex: none; }

.theme-modern .apm-add .i-done { display: none; }
.theme-modern .apm-add.done .i-plus { display: none; }
.theme-modern .apm-add.done .i-done { display: inline; }
.theme-modern .apm-add.done { color: var(--accent) !important; cursor: default; }
.theme-modern .apm-add.busy { opacity: 0.5; }
@media (max-width: 700px) {
    .theme-modern .vk-gc-head .vk-chat-head-name { display: block; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .theme-modern .vk-chat-head-who .vk-muted { font-size: 11.5px; }
}
.theme-modern .ac-rel { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-modern .ac-rel select, .theme-modern .ac-rel input { flex: 1 1 160px; min-width: 0; }
.theme-modern .ac-rel input[hidden] { display: none; }
.theme-modern .vk-status-pen { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 0 0 4px; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--muted); cursor: pointer; vertical-align: middle; opacity: 0.7; }
.theme-modern .vk-status-pen:hover { opacity: 1; color: var(--text); }
.theme-modern .vk-status-pen .hue-ico { width: 14px; height: 14px; }
.theme-modern .vk-status #status_form .vk-status-clear { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; align-self: stretch; height: auto; min-height: 0; width: 38px; padding: 0; margin: 0; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; border-radius: 0; }
.theme-modern .vk-status #status_form .vk-status-clear:hover { color: var(--text); }
.theme-modern .vk-status #status_form .vk-status-clear .hue-ico { width: 16px; height: 16px; }
.hue-side-foot { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 10px 5px 0 5px; padding: 10px 0 0 0; border-top: 1px solid #CCCCCC; font-size: 11px; line-height: 1.4; color: gray; }
.hue-side-foot a { color: gray; text-decoration: none; }
.hue-side-foot a:hover { text-decoration: underline; }
.hue-side-foot .hue-side-lang { flex: 0 0 100%; }
.theme-modern .hue-side-foot { margin: 7px 8px 0 8px; padding: 12px 0 0 0; border-top-color: #D7D9DD; font-size: 12px; color: var(--muted); }
.theme-modern .hue-side-foot a { color: var(--muted) !important; text-decoration: none !important; }
.theme-modern .hue-side-foot a:hover { color: var(--text) !important; }
@media (max-width: 700px) { .theme-modern .hue-side-foot { margin: 8px 0 0 0; padding: 14px 18px 4px 18px; font-size: 13px; gap: 6px 14px; } }
.theme-modern .lg-date { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.theme-modern .lg-body { padding: 0 20px 18px 20px; font-size: 14px; line-height: 1.5; color: var(--text); }
.theme-modern .lg-body h3 { margin: 18px 0 8px 0; font-size: 15px; font-weight: 600; }
.theme-modern .lg-body h3:first-child { margin-top: 4px; }
.theme-modern .lg-body p { margin: 0 0 8px 0; }
.theme-modern .lg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.theme-modern .lg-rule { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.theme-modern .lg-n { flex: 0 0 30px; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-modern .lg-t { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.theme-modern .lg-tag { flex: 0 0 auto; padding: 1px 8px; border: 1px solid var(--line-strong); font-size: 12px; color: var(--muted); white-space: nowrap; }
.theme-modern .lg-tag.lg-hard, .theme-modern .lg-steps .lg-hard { border-color: #E0262B; color: #E0262B; }
.theme-modern .lg-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px 0; }
.theme-modern .lg-steps span { padding: 4px 10px; border: 1px solid var(--line-strong); font-size: 13px; }
@media (max-width: 700px) {
    .theme-modern .lg-body { padding: 0 14px 14px 14px; }
    .theme-modern .lg-rule { flex-wrap: wrap; row-gap: 4px; }
    .theme-modern .lg-n { flex-basis: 26px; }
    .theme-modern .lg-t { flex-basis: calc(100% - 36px); }
    .theme-modern .lg-tag { margin-left: 36px; }
}
.theme-modern .vk-hidden-note.hue-own-info { white-space: pre-wrap; overflow-wrap: anywhere; }
.theme-modern .ac-dm-price[hidden] { display: none !important; }
.theme-modern .ac-dm-price .ac-value { display: flex; align-items: center; gap: 8px; }
.theme-modern .ac-dm-price input { flex: 1 1 auto; width: 100%; min-width: 0; max-width: none; box-sizing: border-box; }
.theme-modern .ac-dm-price .ac-value .vk-muted { flex: 0 0 auto; white-space: nowrap; }
.hue-page-bg { position: fixed; inset: 0; z-index: -1; background-position: center; background-size: cover; background-repeat: no-repeat; pointer-events: none; }
.hue-page-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(237, 238, 240, 0.5), rgba(237, 238, 240, 0.72)); }
html.hue-dark .hue-page-bg::after { background: linear-gradient(180deg, rgba(12, 13, 15, 0.45), rgba(12, 13, 15, 0.75)); }

.theme-modern .ac-bg-prev { height: 140px; margin: 0 20px 12px 20px; background-position: center; background-size: cover; border: 1px solid var(--line); }
.theme-modern .ac-bg-up { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.theme-modern .ac-bg-up input[type="file"] { flex: 1 1 200px; min-width: 0; }
.theme-modern .ac-bg-up .ac-label { flex: 1 1 auto; }
@media (max-width: 700px) { .theme-modern .ac-bg-prev { margin: 0 14px 10px 14px; } }
.theme-modern .ac-design-body { padding: 16px 20px; }
.theme-modern .ac-design-body #builder-layout, .theme-modern .ac-design-body #builder-layout > tbody,
.theme-modern .ac-design-body #builder-layout > tbody > tr { display: block; width: 100% !important; }
.theme-modern .ac-design-body #builder-layout > tbody > tr > td { display: block; width: auto !important; padding: 0 !important; }
.theme-modern .ac-design-body #builder-layout > tbody > tr > td + td { margin-top: 12px; }
.theme-modern .ac-design-body #builder-layout div[style*="sticky"] { position: static !important; }
@media (max-width: 700px) { .theme-modern .ac-design-body { padding: 14px; } }
html:has(.hue-page-bg).theme-modern #main-content .vk-card, html:has(.hue-page-bg).theme-modern #main-content table.vk-post { background: rgba(255, 255, 255, 0.86) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.hue-dark:has(.hue-page-bg).theme-modern #main-content .vk-card, html.hue-dark:has(.hue-page-bg).theme-modern #main-content table.vk-post { background: rgba(30, 31, 34, 0.82) !important; }
html:has(.hue-page-bg).theme-modern #sidebar-nav td > a, html:has(.hue-page-bg) .hue-side-foot { text-shadow: 0 0 6px rgba(255, 255, 255, 0.6); }
html.hue-dark:has(.hue-page-bg).theme-modern #sidebar-nav td > a, html.hue-dark:has(.hue-page-bg) .hue-side-foot { text-shadow: 0 0 6px rgba(0, 0, 0, 0.8); }
html:has(.hue-page-bg).theme-modern #main-content table.vk-post { content-visibility: visible; }
.theme-modern .zv-abanner-names .zv-plate { display: inline-block; vertical-align: top; line-height: 1; box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
.theme-modern .zv-abanner-names .zv-plate-big { padding: 7px 12px 6px 12px; }
.theme-modern .zv-abanner-names .zv-plate-mid { padding: 6px 10px 5px 10px; }
.theme-modern .zv-abanner-names .zv-plate-sm { padding: 5px 7px 4px 7px; display: inline-flex; align-items: center; gap: 5px; }
.theme-modern .zv-abanner-names .zv-plate-sm .zv-badge { margin: 0 !important; vertical-align: 0; }
.theme-modern .zv-thero-title .zv-plate-big { display: inline-block; line-height: 1.12; padding: 6px 12px 5px 12px; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
.theme-modern .zv-thero .zv-wave-times .zv-plate-sm { display: inline-block; line-height: 1; padding: 4px 6px 3px 6px; }
.theme-modern .vk-status .hue-np { color: var(--muted); }
.theme-modern .vk-status .hue-np-opt { color: var(--muted); font-size: 13px; }
.theme-modern .vk-status #status_form[style*="inline-flex"] { flex-wrap: wrap; }
.theme-modern .hue-np .vk-status-pen { margin: 0; width: 20px; height: 18px; }
.theme-modern .vk-status .hue-np .hue-np-t, .theme-modern .vk-status .hue-np a.hue-np-t:visited { color: var(--muted); }
.theme-modern .hue-cform-row > .hue-cfrom { align-self: flex-end; margin: 0 6px 4px 0; }
.theme-modern .vk-reply-box .hue-cform-row > .hue-cfrom { margin-bottom: 6px; }
.theme-modern .vk-reply-box .hue-cform-row > .hue-cfrom .hue-cfrom-av { width: 26px !important; height: 26px !important; }
.theme-modern .hue-cfrom-item { color: var(--text) !important; font-size: 13.5px; line-height: 1.3; }
.theme-modern .hue-cfrom-item:hover, .theme-modern .hue-cfrom-item:focus { background: var(--hover); }
@media (max-width: 480px) {
    .theme-modern .hue-cform-row > .hue-cfrom { margin: 0 4px 6px 0; }
    .theme-modern .hue-cform-row > .hue-cfrom .hue-cfrom-av { width: 26px !important; height: 26px !important; }
}

/* Кастомизация: обводка аватара (solid / gradient / image) */
.theme-modern .hue-ava-ring {
    display: block; box-sizing: border-box; position: relative;
    padding: 0; background: transparent; border-radius: 8px; line-height: 0;
    overflow: hidden;
}
.theme-modern .hue-ava-ring.is-on {
    padding: var(--ring, 5px) !important;
    background: var(--ring-bg, #B01E1E) !important;
}
/* Картинка: cover + scale(--ring-zoom). Класс или наличие --ring-zoom в style. */
.theme-modern .hue-ava-ring.is-on.is-image,
.theme-modern .hue-ava-ring.is-on[style*="--ring-zoom"] {
    background: transparent !important;
}
.theme-modern .hue-ava-ring.is-on.is-image::before,
.theme-modern .hue-ava-ring.is-on[style*="--ring-zoom"]::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-image: var(--ring-bg);
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transform: scale(var(--ring-zoom, 1));
    transform-origin: center;
}
/* Discord-style: анимация при наведении на карточку/аватар или явном is-live. */
.theme-modern .hue-ava-ring.is-on.is-image.is-anim.is-live::before,
.theme-modern .hue-ava-ring.is-on.is-image.is-anim:hover::before,
.theme-modern .hue-ava-ring.is-on.is-image.is-anim:focus-within::before,
.theme-modern .vk-dlg:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .vk-person-av:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .vk-person:has(> .vk-person-info:hover) .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .vk-face:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .vk-cmt:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .vk-post:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .ac-person:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .hue-sugg-row:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .mh-user-one:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .vk-ava-box:hover .hue-ava-ring.is-on.is-image.is-anim::before,
.theme-modern .gcm-row:hover .hue-ava-ring.is-on.is-image.is-anim::before {
    background-image: var(--ring-bg-live, var(--ring-bg));
}
/* В ленте сообщений рамки всегда статичны — крутится только шапка (is-live). */
.theme-modern #chat-box .hue-ava-ring.is-on.is-image.is-anim:not(.is-live)::before {
    background-image: var(--ring-bg) !important;
}
@media (hover: none) {
    /* На тач-экранах без hover оставляем статику — меньше батареи и шума. */
    .theme-modern .hue-ava-ring.is-on.is-image.is-anim:not(.is-live)::before {
        background-image: var(--ring-bg) !important;
    }
}
.theme-modern .hue-ava-ring.is-on > * { position: relative; z-index: 1; }
.theme-modern .hue-ava-ring.is-round,
.theme-modern .hue-ava-ring.is-round .vk-ava,
.theme-modern .hue-ava-ring.is-round .hue-custom-ava { border-radius: 50%; }
.theme-modern .hue-ava-ring .vk-ava,
.theme-modern .hue-ava-ring .hue-custom-ava,
.theme-modern .hue-ava-ring .hue-av {
    display: block; width: 100%; height: auto; max-width: 100%;
    box-sizing: border-box; background: var(--card, #fff);
}
.theme-modern .vk-ava-box.has-ring { overflow: visible; background: transparent; }
.theme-modern .vk-ava-box.has-ring .hue-ava-ring .vk-ava { max-width: none; }
.theme-modern .vk-ava-box.has-ring .vk-ava-upload,
.theme-modern .vk-ava-box.has-ring .vk-ava-del { z-index: 3; }

.theme-modern .hue-custom-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
    margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.theme-modern .hue-custom-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.theme-modern .hue-custom-mode {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 13px;
    background: var(--card, #fff);
}
.theme-modern .hue-custom-mode:has(input:checked) {
    border-color: var(--accent, #B01E1E); box-shadow: 0 0 0 1px var(--accent, #B01E1E);
}
.theme-modern .hue-custom-mode input { margin: 0; }
.theme-modern .hue-custom-thick { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.theme-modern .hue-custom-thick select { height: 34px; padding: 0 8px; border: 1px solid var(--line-strong, var(--line)); border-radius: 6px; background: var(--field, #fff); color: var(--text); font: inherit; }

.theme-modern .hue-custom-body { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; padding: 18px 20px 22px; }
.theme-modern .hue-custom-preview-card {
    flex: 0 0 160px; text-align: center; padding: 14px 12px; border: 1px solid var(--line);
    border-radius: 10px; background: var(--hover, #F7F8FA);
}
.theme-modern .hue-custom-preview-label { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 600; }
.theme-modern .hue-custom-preview { width: 120px; margin: 0 auto; }
.theme-modern .hue-custom-ava {
    width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: 6px; display: block; background: var(--card, #fff) !important;
}
.theme-modern .hue-custom-preview-name { margin: 12px 0 2px; font-weight: 700; font-size: 14px; }
.theme-modern .hue-custom-preview-meta { color: var(--muted); font-size: 12px; }
.theme-modern .hue-custom-controls { flex: 1 1 240px; min-width: 0; }
.theme-modern .hue-custom-field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; font-size: 13px; font-weight: 600; }
.theme-modern .hue-custom-field input[type="number"] {
    width: 88px; height: 34px; padding: 0 8px; border: 1px solid var(--line-strong, var(--line));
    border-radius: 6px; background: var(--field, #fff); color: var(--text); font: inherit; font-weight: normal;
}
.theme-modern .hue-custom-row { display: flex; gap: 16px; flex-wrap: wrap; }
.theme-modern .hue-custom-hint { margin: 0 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.4; font-weight: normal; }
.theme-modern .hue-custom-img-cur { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.theme-modern .hue-custom-img-cur img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.theme-modern .hue-custom-img-label { color: var(--muted); font-size: 13px; font-weight: normal; }
.theme-modern .hue-ava-ring.hue-ava-inline {
    display: inline-block; vertical-align: middle; line-height: 0; flex: 0 0 auto;
    box-sizing: border-box; width: var(--ava, auto); height: var(--ava, auto);
}
.theme-modern .hue-ava-ring.hue-ava-inline.is-on {
    /* На маленьких аватарах не раздуваем паддинг сильнее 3px */
    padding: min(var(--ring, 3px), 3px) !important;
}
.theme-modern .hue-ava-ring.hue-ava-inline > img {
    display: block; width: var(--ava, auto); height: var(--ava, auto);
    object-fit: cover; border-radius: inherit;
}
/* Многие старые правила аватарок размечены !important — иначе картинка вылезет за обводку. */
.theme-modern .hue-ava-ring.hue-ava-inline.is-on > img { width: 100% !important; height: 100% !important; }
html:not(.hue-sq) .theme-modern .hue-ava-ring.hue-ava-inline,
html:not(.hue-sq) .theme-modern .hue-ava-ring.hue-ava-inline img { border-radius: 50%; }
.theme-modern .mh-user-av-btn .hue-ava-ring {
    display: inline-block; vertical-align: middle; line-height: 0;
}
.theme-modern .mh-user-av-btn .hue-ava-ring.is-on {
    padding: min(var(--ring, 3px), 2px) !important;
}
.theme-modern .mh-user-av-btn .hue-ava-ring .mh-user-av {
    display: block; width: 100%; height: 100%;
}
.theme-modern .hue-sugg-row .hue-ava-ring {
    flex: 0 0 auto;
}
.theme-modern .hue-sugg-row .hue-ava-ring .hue-sugg-av {
    display: block; width: 100%; height: 100%; border-radius: inherit;
}

.theme-modern .hue-custom-file {
    position: relative; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
    font-weight: normal;
}
.theme-modern .hue-custom-file input[type="file"] {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0;
}
.theme-modern .hue-custom-file-btn {
    flex: 0 0 auto; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong, var(--line));
    border-radius: 6px; background: var(--field, #fff); color: var(--text); font-size: 13px;
    display: inline-flex; align-items: center;
}
html.hue-dark.theme-modern .hue-custom-file-btn {
    background: var(--dk-raise-2, #3A3D42) !important;
    color: var(--dk-text, #E1E3E6) !important;
    border-color: var(--dk-line, #4A4D53) !important;
}
.theme-modern .hue-custom-file-name { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-modern .hue-custom-file-err {
    margin: 8px 0 0; padding: 8px 10px; border-radius: 6px; font-size: 12.5px; font-weight: normal; line-height: 1.35;
    color: #A94442; background: #FFF4F4; border: 1px solid #E0B4B4;
}
html.hue-dark.theme-modern .hue-custom-file-err {
    color: #E8A0A0; background: #3C1B1E; border-color: #6B2E2E;
}
.theme-modern .hue-custom-zoom-row {
    display: flex; align-items: center; gap: 12px; font-weight: normal;
}
.theme-modern .hue-custom-zoom-row input[type="range"] {
    flex: 1 1 auto; min-width: 120px; max-width: 280px; height: 28px; margin: 0; accent-color: var(--accent, #B01E1E);
}
.theme-modern .hue-custom-zoom-val {
    flex: 0 0 auto; min-width: 42px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums;
}

/* Кастомный color picker: цвет только через inline rgb() !important — тёмная тема не ремапит */
.theme-modern .hue-cp { position: relative; display: inline-block; font-weight: normal; }
.theme-modern .hue-cp-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 8px;
    border: 1px solid var(--line-strong, var(--line)); border-radius: 8px; background: var(--field, #fff);
    color: var(--text); font: inherit; cursor: pointer;
}
.theme-modern .hue-cp-btn:hover { border-color: var(--muted); }
.theme-modern .hue-cp-swatch {
    width: 22px; height: 22px; border-radius: 5px; border: 1px solid rgba(0,0,0,.22);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); flex: 0 0 auto;
}
.theme-modern .hue-cp-hex { font-size: 12.5px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.theme-modern .hue-cp-pop {
    position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 232px;
    padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.theme-modern .hue-cp-label { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.theme-modern .hue-cp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0 0 10px; }
.theme-modern .hue-cp-chip {
    width: 28px; height: 28px; padding: 0; border: 1px solid rgba(0,0,0,.28); border-radius: 6px;
    cursor: pointer; box-sizing: border-box;
}
html.hue-dark.theme-modern .hue-cp-btn {
    background: var(--field, var(--dk-raise)) !important;
    color: var(--text);
}
html.hue-dark.theme-modern .hue-cp-swatch,
html.hue-dark.theme-modern .hue-cp-chip {
    border-color: rgba(255,255,255,.28);
}
.theme-modern .hue-cp-chip.is-on { outline: 2px solid var(--accent, #B01E1E); outline-offset: 1px; }
.theme-modern .hue-cp-foot { display: flex; align-items: center; gap: 8px; }
.theme-modern .hue-cp-text {
    flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 8px; border: 1px solid var(--line-strong, var(--line));
    border-radius: 6px; background: var(--field, #fff); color: var(--text); font: 12.5px/1 ui-monospace, Consolas, monospace;
    text-transform: uppercase;
}
.theme-modern .hue-cp-any {
    position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; height: 32px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; overflow: hidden;
}
.theme-modern .hue-cp-any input[type="color"] {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0;
}
@media (max-width: 600px) {
    .theme-modern .hue-custom-preview-card { flex-basis: 100%; }
    .theme-modern .hue-custom-bar, .theme-modern .hue-custom-body { padding-left: 14px; padding-right: 14px; }
}
.theme-modern .vk-friends-search { padding: 12px 20px 0; }
.theme-modern .vk-friends-search input { display: block; width: 100%; box-sizing: border-box; }
@media (max-width: 640px) { .theme-modern .vk-friends-search { padding: 10px 14px 0; } }
