/* BL-Modern · хаб — оформление «Приложение» (вариант B, выбран 11.10.2026).
   Подключается после app.css и остальных стилей хаба. body.hv.hv-b задаётся в app.html.
   Сначала общая часть (группы меню, мобильная панель), затем вариант B. */

/* Атрибут hidden прячет всегда. Без этого правило со своим display (grid/flex) у элемента
   перебивало hidden: значок непрочитанных на нижней панели показывал красный «0», точка
   «Сезон» в маркете и пустая полоса ответа в ЛС тоже не скрывались. */
[hidden] { display: none !important; }

/* Общее для вариантов: группы меню + мобильная панель «5 пунктов + Ещё» */
.hv-grp + .hv-grp { margin-top: 6px; }
.hv-grp-t { padding: 10px 13px 4px; color: var(--faint); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hv-grp-i { display: flex; flex-direction: column; gap: 2px; }
.hv-mbar, .hv-shade { display: none; }

@media (max-width: 1100px) and (min-width: 761px) {
    .hv-grp-t { font-size: 0; padding: 6px 0; border-top: 1px solid var(--border); margin: 4px 8px 0; }
    .hv-grp:first-child .hv-grp-t { border-top: 0; }
}

@media (max-width: 760px) {
    .hv-mbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
        background: rgba(9,14,23,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--border);
    }
    .hv-mbar a, .hv-mbar button {
        flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
        padding: 6px 2px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .66rem; font-weight: 700;
        text-decoration: none; cursor: pointer; border-radius: 12px;
    }
    .hv-mbar i { font-size: 1.2rem; }
    .hv-mbar .on { color: var(--gold); }
    .hv-mb-badge { position: absolute; top: 1px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: .66rem; display: grid; place-items: center; }
    /* старое меню становится шторкой «Ещё» */
    body.hv .hub-nav {
        position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 95;
        display: block; max-height: 78vh; overflow-y: auto;
        padding: 14px 12px calc(76px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0; border: 1px solid var(--border); border-bottom: 0;
        background: #0d1422; transform: translateY(105%); transition: transform .22s ease;
    }
    body.hv-sheet-open .hub-nav { transform: none; }
    body.hv .hub-nav::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--bh); margin: 0 auto 8px; }
    body.hv .hub-nav .hv-grp-i { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
    body.hv .hub-nav a, body.hv .hub-nav a:not([data-route]) {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
        min-height: 72px; padding: 10px 4px; font-size: .74rem; border-radius: 14px; background: rgba(255,255,255,.03);
    }
    body.hv .hub-nav a span { display: block; white-space: normal; }
    body.hv .hub-nav a i { font-size: 1.2rem; width: auto; }
    body.hv .hub-nav .badge { position: absolute; top: 6px; right: 10px; }
    .hv-shade { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(4,7,12,.6); opacity: 0; pointer-events: none; transition: opacity .2s; }
    body.hv-sheet-open .hv-shade { opacity: 1; pointer-events: auto; }
    .hub-main { padding-bottom: 84px; }
}


/* ВАРИАНТ B · «Приложение»
   Узкая панель иконок слева (как Discord/VK-мессенджер) — раскрывается при наведении
   с подписями и группами. Освободившееся место отдано ленте: она идёт одним сплошным
   полотном, посты разделены линией, текст выровнен по аватару (как в X/Threads). */

@media (min-width: 761px) {
    body.hv-b { padding-left: 72px; }
    .hv-b .hub-top .brand { display: none; }
    .hv-b .hub-top { padding: 10px 24px; background: rgba(8,13,22,.85); }
    .hv-b .hub-search { max-width: 560px; }
    .hv-b .hub-search input { border-radius: 999px; background: rgba(255,255,255,.04); }

    .hv-b .hub-nav {
        position: fixed; left: 0; top: 0; bottom: 0; width: 72px; max-height: none; z-index: 85;
        border-radius: 0; border: 0; border-right: 1px solid var(--border); background: #0a101b;
        padding: 74px 12px 14px; gap: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
        transition: width .2s ease, box-shadow .2s ease;
    }
    .hv-b .hub-nav::-webkit-scrollbar { display: none; }
    .hv-b .hub-nav::before {
        content: ''; position: absolute; left: 16px; top: 14px; width: 40px; height: 40px;
        background: url(/Sprite-0003.png) center/contain no-repeat;
    }
    .hv-b .hub-nav:hover { width: 248px; box-shadow: 24px 0 60px rgba(0,0,0,.55); }
    .hv-b .hv-grp-t { height: 1px; padding: 0; margin: 10px 6px; background: var(--border); font-size: 0; overflow: hidden; white-space: nowrap; transition: all .2s; }
    .hv-b .hub-nav:hover .hv-grp-t { height: auto; background: none; font-size: .66rem; margin: 12px 0 4px; padding: 0 12px; }
    .hv-b .hv-grp:first-child .hv-grp-t { margin-top: 0; }
    .hv-b .hub-nav a { position: relative; padding: 0; height: 46px; gap: 0; border-radius: 14px; color: #a9bbcf; white-space: nowrap; }
    .hv-b .hub-nav a i { flex: 0 0 48px; width: 48px; font-size: 1.12rem; color: inherit; }
    .hv-b .hub-nav a { justify-content: flex-start !important; }
    /* :not(.badge) — значки (непрочитанные, жалобы) тоже <span> внутри ссылки: !important
       перебивал их display:none, и в меню всегда висел красный «0». */
    .hv-b .hub-nav a span:not(.badge) { display: inline !important; opacity: 0; transition: opacity .15s; font-weight: 600; }
    .hv-b .hub-nav:hover a span { opacity: 1; }
    .hv-b .hub-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
    .hv-b .hub-nav a.on { background: var(--gold); color: #0a1119; }
    .hv-b .hub-nav a.on i { color: #0a1119; }
    .hv-b .hub-nav .badge { position: absolute; left: 30px; top: 5px; margin: 0; opacity: 1 !important; }

    .hv-b .hub { grid-template-columns: minmax(0,1fr) 320px; gap: 26px; width: min(1060px, calc(100% - 48px)); }
}

.hv-b .hub-title { font-size: 1.3rem; }

/* лента одним полотном */
/* композер: аватар + одна строка «Что нового?»; кнопки — иконки; «Опубликовать» в той же строке */
.hv-b .fd-comp { display: grid; grid-template-columns: 40px minmax(0,1fr); column-gap: 12px; align-items: start;
    padding: 14px 16px 10px; border-radius: 18px; background: rgba(255,255,255,.045); }
.hv-b .fd-comp > * { grid-column: 2; }
.hv-b .fd-comp > .hv-cava { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #1c2738; }
.hv-b .hv-cava img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.hv-b .fd-comp textarea { min-height: 40px; height: 40px; padding: 9px 2px; background: transparent; border: 0; border-radius: 0;
    font-size: 1.02rem; line-height: 1.45; resize: none; overflow: hidden; transition: min-height .18s ease; }
.hv-b .fd-comp textarea:focus { border: 0; }
.hv-b .fd-comp:focus-within textarea, .hv-b .fd-comp textarea:not(:placeholder-shown) { min-height: 110px; overflow: auto; }
.hv-b .fd-comp-bar { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); flex-wrap: nowrap; gap: 8px; }
.hv-b .fd-comp-bar .left { gap: 2px; flex-wrap: nowrap; min-width: 0; }
.hv-b .fd-attach { width: 36px; height: 36px; padding: 0; justify-content: center; border: 0; border-radius: 50%;
    color: var(--gold); font-size: 0; }
.hv-b .fd-attach i { font-size: 1.05rem; }
.hv-b .fd-attach:hover { background: rgba(245,204,0,.1); color: var(--gold); }
.hv-b .fd-comp-bar .fd-msg, .hv-b .fd-comp-bar .fd-count { font-size: .78rem; }
.hv-b .fd-comp #fdSend { min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: .9rem; flex: none; }
.hv-b .fd-comp:not(:focus-within) textarea:placeholder-shown ~ .fd-comp-bar #fdSend { opacity: .55; }

/* вкладки ленты: тонкая полоса с подчёркиванием */
.hv-b .fd-tabs { display: flex; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0; gap: 0; margin: 4px 0 12px; }
.hv-b .fd-tab { flex: 1; border-radius: 0; padding: 12px 6px; font-size: .9rem; position: relative; }
.hv-b .fd-tab.on { background: none; color: #fff; }
.hv-b .fd-tab.on::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px; width: 48px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.hv-b #fdList, .hv-b #pWall { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.hv-b #fdList:empty { display: none; }
.hv-b #fdList > .fd-card, .hv-b #pWall > .fd-card { margin: 0; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--border); padding: 16px 18px 10px; transition: background .15s; }
.hv-b #fdList > .fd-card:hover, .hv-b #pWall > .fd-card:hover { background: rgba(255,255,255,.02); }
.hv-b #fdList > .fd-card:last-child { border-bottom: 0; }
.hv-b .po-ava { width: 44px; height: 44px; border-radius: 10px; }
.hv-b .po > .po-body, .hv-b .po > .po-media, .hv-b .po > .po-img, .hv-b .po > .po-poll,
.hv-b .po > .po-actions, .hv-b .po > .po-comments, .hv-b .po > .po-orig, .hv-b .po > .po-video { margin-left: 55px; }
.hv-b .po-body { margin-top: 4px; font-size: .98rem; line-height: 1.58; }
.hv-b .po.pinned { background: linear-gradient(90deg, rgba(245,204,0,.07), transparent 60%) !important; box-shadow: inset 3px 0 0 var(--gold); }
.hv-b .po-pinbadge { margin-left: 55px; }
.hv-b .po-actions { justify-content: space-between; max-width: 460px; }
.hv-b .po-act, .hv-b .reaction-control { background: none; border-color: transparent; border-radius: 999px; }
.hv-b .po-act:hover, .hv-b .reaction-control:hover { background: rgba(245,204,0,.08); color: var(--gold); border-color: transparent; }

/* правая колонка: одна колонка-«панель» с разделами */
.hv-b .hub-rail { gap: 0; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 18px; padding: 4px 0; top: 78px; }
.hv-b .rail-card { background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--border); padding: 14px 16px; }
.hv-b .rail-card:last-child { border-bottom: 0; }
.hv-b .rail-card h4 { font-size: .98rem; font-family: var(--font-head); }
.hv-b .rail-ava { border-radius: 9px; }
.hv-b .rail-card .btn { min-height: 36px; border-radius: 999px; }

@media (max-width: 1100px) and (min-width: 761px) {
    .hv-b .hub { grid-template-columns: minmax(0,1fr); max-width: 680px; }
}
@media (max-width: 760px) {
    .hv-b .hub { width: calc(100% - 16px); }
    .hv-b .fd-comp { padding: 12px 12px 8px; column-gap: 10px; grid-template-columns: 36px minmax(0,1fr); }
    .hv-b .fd-comp > .hv-cava { width: 36px; height: 36px; }
    .hv-b .fd-attach { width: 34px; height: 34px; }
    .hv-b .fd-comp #fdSend { width: 40px; padding: 0; font-size: 0; }
    .hv-b .fd-comp #fdSend i { font-size: 1rem; margin: 0; }
    .hv-b .hub-title { font-size: 1.15rem; margin-bottom: 10px; }
    .hv-b .po > .po-body, .hv-b .po > .po-media, .hv-b .po > .po-img, .hv-b .po > .po-poll,
    .hv-b .po > .po-actions, .hv-b .po > .po-comments, .hv-b .po > .po-orig, .hv-b .po > .po-pinbadge { margin-left: 0; }
}

/* Свёрнутая панель: подпись под каждой иконкой и короткие заголовки групп —
   чтобы без наведения было понятно, что где. При наведении — полные строки. */
@media (min-width: 761px) {
    body.hv-b { padding-left: 84px; }
    .hv-b .hub-nav { width: 84px; padding: 70px 8px 14px; }
    .hv-b .hub-nav::before { left: 22px; }
    .hv-b .hv-grp-t { height: auto; background: none; font-size: .56rem; letter-spacing: .08em; margin: 12px 0 4px; padding: 0; text-align: center; color: var(--faint); }
    .hv-b .hub-nav:not(:hover) a { flex-direction: column; justify-content: center !important; height: 54px; gap: 3px; }
    .hv-b .hub-nav:not(:hover) a i { flex: none; width: auto; font-size: 1.05rem; }
    .hv-b .hub-nav:not(:hover) a span { opacity: 1; font-size: .6rem; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hv-b .hub-nav:hover .hv-grp-t { text-align: left; }
    .hv-b .hub-nav .badge { right: auto !important; left: 44px; top: 4px; width: auto; }
    .hv-b .hub-nav:hover .badge { left: 30px; }
}

/* Правая колонка без своей прокрутки: идёт вместе со страницей, полос прокрутки нет.
   Сетка занимает ширину окна — без пустой полосы справа. */
html:has(body.hv-b) { scrollbar-width: none; }
html:has(body.hv-b)::-webkit-scrollbar { display: none; }
body.hv-b ::-webkit-scrollbar { width: 0; height: 0; }
body.hv-b * { scrollbar-width: none; }
@media (min-width: 761px) {
    .hv-b .hub { grid-template-columns: minmax(0,1fr) 340px; width: auto; max-width: 1240px; margin: 18px 28px 60px; }
    .hv-b .hub-main { max-width: 760px; width: 100%; justify-self: center; }
}
@media (min-width: 1400px) { .hv-b .hub { margin-left: auto; margin-right: auto; padding: 0 28px; } }
.hv-b .hub-rail { position: static; max-height: none; overflow: visible; padding-right: 0; }
/* «Сейчас в игре»: список остаётся компактным, листается колесом/пальцем, внизу — затухание */
.hv-b .rail-scroll { max-height: 300px; -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }

/* Кланы задают свою сетку «меню | контент | колонка» (clans.css). В B меню вне сетки —
   оставляем две колонки, иначе контент кланов попадал в узкую 210px. */
@media (min-width: 1101px) {
    body.hv-b:has(.clans) .hub { grid-template-columns: minmax(0,1fr) 300px; }
}
/* узкая читаемая колонка — только для ленты, поста и профиля; маркету, сообщениям,
   кланам, гайдам нужна вся ширина */
@media (min-width: 761px) {
    .hv-b .hub-main { max-width: none; }
    .hv-b .hub-main:has(#fdList), .hv-b .hub-main:has(#poOne), .hv-b .hub-main:has(#pWall) { max-width: 760px; }
}

/* Головы Minecraft — квадратные пиксельные: скругляем углы, а не режем кругом */
.hv-b .po-ava img, .hv-b .rail-ava img, .hv-b .cm-ava img, .hv-b .ms-cava img, .hv-b .pp-ava img, .hv-b .hv-cava img { image-rendering: pixelated; }
.hv-b #pHead .po-ava { border-radius: 14px; }

/* Правая колонка компактнее */
@media (min-width: 1101px) {
    .hv-b .hub { grid-template-columns: minmax(0,1fr) 300px; }
}
/* «Я»: одна строка — голова, ник со значком статуса, монеты; вся строка ведёт в профиль */
.hv-b .rail-card:first-child { padding: 12px 14px; cursor: pointer; }
.hv-b .rail-card:first-child:hover { background: rgba(255,255,255,.03); }
.hv-b .rail-card:first-child > .btn[href^="#/profile"] { display: none; }
.hv-b .rail-me { gap: 10px; }
.hv-b .rail-me .rail-ava { width: 40px; height: 40px; flex: none; }
.hv-b .rail-me > div { min-width: 0; flex: 1; }
.hv-b .rail-me .rail-name { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-b .rail-me .rail-name > :not(.blm-tier) { display: none; }
.hv-b .rail-me .rail-bal { font-size: .8rem; margin-top: 1px; }
.hv-b .rail-me::after { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--faint); font-size: .75rem; margin-left: auto; }
/* гость: кнопка «Войти» остаётся, но меньше */
.hv-b .rail-card:first-child > .btn[href="player-cabinet"] { min-height: 34px; margin-top: 10px !important; }
/* цель сбора: заголовок и цифры в строку, кнопка — ссылкой */
.hv-b #railGoalCard h4 { margin: 0 0 4px; font-size: .9rem; }
.hv-b #railGoalNums { margin: 0 !important; font-size: .78rem !important; }
.hv-b #railGoalCard > div:nth-of-type(2) { margin-top: 7px; height: 6px !important; }
.hv-b #railGoalCard .btn { width: auto !important; min-height: 0; padding: 0; margin-top: 8px !important; background: none; color: var(--gold); font-size: .82rem; border: 0; }
.hv-b #railGoalCard .btn:hover { text-decoration: underline; filter: none; }
.hv-b #railDailyCard h4 { margin-bottom: 6px; }
.hv-b #railDailyCard .btn { min-height: 34px; }

/* Страница кабинета внутри хаба */
.hv-page { position: relative; min-height: 240px; }
.hv-frame { display: block; width: 100%; height: 600px; border: 0; background: transparent; }
.hv-page-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.hv-mydrafts { white-space: nowrap; }

/* Карточки игроков: всё в одну линию — голова, ник, «Профиль», «Написать», «+» */
.hv-b .pp-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.hv-b .pp { padding: 10px 12px; gap: 12px; border-radius: 14px; background: rgba(255,255,255,.035); }
.hv-b .pp-ava { width: 48px; height: 48px; border-radius: 10px; }
.hv-b .pp-nm { font-size: .98rem; }
.hv-b .pp-act { flex-wrap: nowrap; gap: 6px; margin-top: 6px; }
.hv-b .pp-act .btn { min-height: 30px; height: 30px; padding: 0 11px; font-size: .78rem; border-radius: 8px; flex: none; }
.hv-b .pp-act .btn[data-follow] { width: 30px; padding: 0; font-size: .95rem; }
.hv-gd-act { display: flex; gap: 8px; min-width: 0; }
.hv-gd-act .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding: 0 12px; }
.hv-gd-act .hv-mydrafts { flex: 0 0 46px; width: 46px; padding: 0; font-size: 0; }
.hv-gd-act .hv-mydrafts i { font-size: 1rem; margin: 0; }

/* ≤1100: правая колонка скрыта (app.css) — сетка в одну колонку на всю ширину */
@media (max-width: 1100px) and (min-width: 761px) {
    .hv-b .hub, body.hv-b:has(.clans) .hub { grid-template-columns: minmax(0,1fr) !important; }
}
.hv-b .gd-toolbar { min-width: 0; max-width: 100%; }
.hv-b .gd-toolbar .gd-search { max-width: 100%; box-sizing: border-box; min-width: 0; }

/* Карты серверов в хабе: на всю ширину, правая колонка прячется */
body.hv-b:has(.hv-map) .hub { grid-template-columns: minmax(0,1fr) !important; max-width: none; }
body.hv-b:has(.hv-map) .hub-rail { display: none; }
.hv-map-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.hv-map-head .hub-title { margin: 0; }
.hv-map-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.hv-map-tab { border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--muted); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.hv-map-tab:hover { color: #fff; border-color: var(--bh); }
.hv-map-tab.on { background: var(--gold); color: #0a1119; border-color: transparent; }
.hv-map-tab .srv-dot { width: 7px; height: 7px; }
.hv-map-tab b { opacity: .7; font-weight: 700; }
.hv-map-open { margin-left: auto; min-height: 36px; border-radius: 999px; padding: 0 14px; font-size: .85rem; }
.hv-map-stage { position: relative; height: calc(100vh - 150px); min-height: 420px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #0b121e; }
.hv-map-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.hv-map-ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; }
.hv-map-ph i { font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 10px; }
.hv-map-ph strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
@media (max-width: 760px) {
    .hv-map-stage { height: calc(100dvh - 210px); border-radius: 14px; }
    .hv-map-open { margin-left: 0; }
}
@media (max-width: 760px) {
    .hv-map-head { gap: 8px; }
    .hv-map-head .hub-title { flex: 1; }
    .hv-map-tabs { order: 3; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
    .hv-map-tab { flex: none; padding: 6px 12px; font-size: .82rem; }
    .hv-map-stage { height: calc(100dvh - 250px); min-height: 360px; }
}

/* Логотип в левой панели — ссылка «На главную» (выход из хаба) */
@media (min-width: 761px) {
    .hv-b .hub-nav::before { content: none !important; display: none !important; }
    .hv-b .hub-nav { padding-top: 12px; }
    .hv-home { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 10px; margin: 0 0 8px; border-radius: 14px; text-decoration: none; color: #fff; white-space: nowrap; transition: background .15s; }
    .hv-home img { width: 40px; height: 40px; flex: none; image-rendering: pixelated; transition: transform .15s; }
    .hv-home span { opacity: 0; font-weight: 700; font-size: .9rem; transition: opacity .15s; }
    .hv-home span small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
    .hv-home:hover { background: rgba(255,255,255,.06); }
    .hv-home:hover img { transform: scale(1.06); }
    .hv-b .hub-nav:hover .hv-home span { opacity: 1; }
    .hv-b .hub-nav:not(:hover) .hv-home { justify-content: center; padding: 0; }
}
@media (max-width: 760px) {
    .hv-home { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 10px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); color: #fff; text-decoration: none; font-weight: 700; }
    .hv-home img { width: 26px; height: 26px; }
    .hv-home span small { display: none; }
}

/* Кнопки карточки игрока — на всю ширину карточки: «Профиль» и «Написать» делят место, «+» квадратный */
.hv-b .pp > div { display: flex; flex-direction: column; min-width: 0; }
.hv-b .pp-act { width: 100%; }
.hv-b .pp-act .btn { flex: 1 1 0; min-width: 0; justify-content: center; }
.hv-b .pp-act .btn[data-follow] { flex: 0 0 34px; width: 34px; }
.hv-b .pp-act .btn, .hv-b .pp-act .btn[data-follow] { min-height: 34px; height: 34px; }

/* Панель реакций/комментариев/репоста/просмотров — на всю ширину поста */
.hv-b .po > .po-actions { margin-left: 0; max-width: none; justify-content: flex-start; gap: 6px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.05); }
.hv-b .po > .po-actions > * { flex: 0 0 auto; }
.hv-b .po > .po-actions .po-act.views { margin-left: auto !important; }

/* ── 14.10.2026: перенос в сайт ── */
.hub-nav .hub-ss i { color: #ff8a3d; }

/* Плашка места с карты в постах и чатах */
.map-pin { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; margin: 2px 0; border-radius: 999px; border: 1px solid rgba(24,217,138,.35); background: rgba(24,217,138,.08); color: #d6f7e8; text-decoration: none; font-size: .88em; white-space: nowrap; vertical-align: middle; }
.map-pin i { color: var(--green); }
.map-pin b { color: #fff; }
.map-pin:hover { border-color: var(--green); background: rgba(24,217,138,.14); }

/* Карта + боковая панель меток */
.hv-map-body { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px; align-items: start; }
.hv-map-side { display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 150px); overflow-y: auto; }
.hv-map-card { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.hv-map-card h3 { margin: 0 0 8px; color: #fff; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.hv-map-card h3 i { color: var(--gold); }
.hv-map-card h3 span { color: var(--muted); font-weight: 600; font-size: .82rem; }
.hv-map-hint { color: var(--muted); font-size: .78rem; margin: 6px 0 0; }
.hv-map-hint code { color: var(--gold); }
.hv-map-form { display: grid; gap: 7px; }
.hv-map-form input, .hv-map-form select, .hv-map-q { width: 100%; box-sizing: border-box; border: 1px solid var(--border); background: #0b1320; color: #fff; border-radius: 10px; padding: 8px 11px; font: inherit; font-size: .88rem; outline: none; }
.hv-map-form input:focus, .hv-map-q:focus { border-color: var(--gold); }
.hv-map-xz { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.hv-map-btns { display: flex; gap: 7px; }
.hv-map-btns .btn { flex: 1; min-height: 34px; }
.hv-mk-list { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.hv-mk { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 10px; cursor: pointer; }
.hv-mk:hover { background: rgba(255,255,255,.05); }
.hv-mk > i { width: 18px; text-align: center; color: var(--green); }
.hv-mk-t { flex: 1; min-width: 0; }
.hv-mk-t b { display: block; color: #fff; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-mk-t small { color: var(--muted); font-size: .74rem; }
.hv-mk-b { border: 0; background: none; color: var(--muted); width: 28px; height: 28px; border-radius: 8px; cursor: pointer; }
.hv-mk-b:hover { color: var(--gold); background: rgba(245,204,0,.1); }
.hv-share .social-dialog { max-width: 460px; }
.hv-share-prev { padding: 12px; margin: 10px 0; border-radius: 12px; background: #0b1320; border: 1px solid var(--border); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.hv-share-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.hv-share-acts .btn { flex: 1; min-height: 38px; }
@media (max-width: 1100px) {
    .hv-map-body { grid-template-columns: minmax(0,1fr); }
    .hv-map-side { max-height: none; overflow: visible; }
}
.hv-share-body { padding: 0 20px 20px; }
.hv-share-prev { margin-top: 0; }
.hv-map-form > *, .hv-map-xz > *, .hv-map-form input, .hv-map-form select { min-width: 0; }
.hv-map-card { min-width: 0; overflow: hidden; }
.rail-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.rail-tags small { color: var(--faint); font-weight: 600; }
