/* =========================================================
   OLD ZOMBIE v17 — сервер, баны, форум, друзья
   Общие блоки: x-hero, x-toolbar, x-seg, x-kicker
   ========================================================= */

/* ---------- Герой страницы ---------- */
.x-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.x-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.04); animation: xHeroZoom 18s ease-in-out infinite alternate; }
@keyframes xHeroZoom { to { transform: scale(1.12); } }
.x-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg) 18%, rgba(7, 11, 18, .55) 60%, rgba(7, 11, 18, .85)), linear-gradient(0deg, var(--bg), transparent 40%); }
.x-hero-bgfx { position: absolute; inset: 0; background: radial-gradient(500px 260px at 15% 20%, rgba(139, 61, 255, .28), transparent 70%), radial-gradient(500px 300px at 85% 80%, rgba(79, 214, 245, .14), transparent 70%); }
.friends-x::after { background: linear-gradient(0deg, var(--bg), transparent 50%); }
.x-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-top: 38px; padding-bottom: 38px; }
.x-hero.compact .x-hero-in { padding-top: 24px; padding-bottom: 24px; }
.x-hero h1 { margin: 10px 0 8px; font-size: 38px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.x-hero.compact h1 { font-size: 30px; }
.x-hero p { max-width: 560px; margin: 0; color: #c1c7d2; }
.x-h-ico { margin-right: 12px; color: var(--lilac); }
.x-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--lilac); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.x-kicker.red { color: #ff8a95; }
.x-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.x-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(10, 14, 22, .7); color: #c9ced7; font-size: 13px; backdrop-filter: blur(8px); }
.x-chip b { color: #fff; }
.x-chip img { width: 22px; height: 22px; border-radius: 6px; }
.x-ip { cursor: pointer; transition: .2s; }
.x-ip:hover { border-color: var(--violet-2); color: #fff; }
.x-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 10px; }
.x-hero-stats > div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(10, 14, 22, .72); backdrop-filter: blur(10px); }
.x-hero-stats b { display: block; font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.x-hero-stats span { color: var(--muted); font-size: 12px; }
.x-hero-stats .red b { color: #ff6b7a; } .x-hero-stats .violet b { color: var(--lilac); } .x-hero-stats .gold b { color: var(--gold); }
.x-hero-stats .cyan b { color: var(--cyan); } .x-hero-stats .green b { color: var(--green); }
.x-hero-search { max-width: 560px; margin-top: 18px; }
.x-hero-search input { height: 48px; padding-right: 100px; }
.x-hero-search .btn-violet { position: absolute; right: 5px; height: 38px; }

/* ---------- Панель инструментов и сегменты ---------- */
.x-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.x-panel-pad { padding: 14px 16px; }
.x-players .x-toolbar { padding: 12px 16px 0; margin-bottom: 8px; }
.x-sticky { position: sticky; top: calc(var(--tb) + 8px); z-index: 15; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 14, 22, .85); backdrop-filter: blur(14px); }
.x-toolbar .oz-search-inline { flex: 1 1 240px; max-width: 420px; }
.x-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.x-seg::-webkit-scrollbar { display: none; }
.x-seg > button, .x-seg > a { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 0; border-radius: 9px; background: none; color: #aab3c3; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: .2s; }
.x-seg > button:hover, .x-seg > a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.x-seg > .active { color: #fff; background: var(--grad-violet); box-shadow: var(--shadow-violet); }
.x-seg em { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .25); }
.x-seg em.hot { background: var(--rose); color: #fff; }
.x-search-form { position: relative; }
.x-clear { position: absolute; right: 10px; color: var(--dim); }
.x-block-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 17px; font-weight: 900; }
.x-block-title i { color: var(--lilac); }
.x-count { font-style: normal; padding: 1px 8px; border-radius: 7px; background: var(--gold); color: #2c1d00; font-size: 12px; }
.x-icon-btn { width: 40px; min-width: 40px; padding: 0 !important; justify-content: center; }
.x-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 9px; font-size: 12px; font-weight: 800; }
.x-pill.red { background: rgba(255, 93, 108, .12); color: #ff8a95; border: 1px solid rgba(255, 93, 108, .25); }
.x-pill.gold { background: rgba(255, 201, 74, .1); color: var(--gold); border: 1px solid rgba(255, 201, 74, .25); }
.x-pill.green { background: rgba(94, 240, 168, .08); color: #8cf4bf; border: 1px solid rgba(94, 240, 168, .2); }

/* =========================================================
   СЕРВЕР
   ========================================================= */
.x-gauge { position: relative; width: 210px; height: 210px; flex: none; }
.x-gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 18px rgba(168, 85, 255, .45)); }
.x-gauge-bg { fill: rgba(10, 14, 22, .7); stroke: rgba(255, 255, 255, .07); stroke-width: 10; }
.x-gauge-fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1); }
.x-gauge-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.x-gauge-txt b { font-size: 52px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.x-gauge-txt span { color: var(--muted); font-size: 14px; margin-top: 4px; }
.x-gauge-txt small { color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.x-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.x-kpi { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.x-kpi > i { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 13px; background: rgba(139, 61, 255, .14); color: var(--lilac); font-size: 18px; }
.x-kpi.red > i { background: rgba(255, 93, 108, .12); color: #ff7b88; }
.x-kpi.gold > i { background: rgba(255, 201, 74, .12); color: var(--gold); }
.x-kpi.violet > i { background: rgba(79, 214, 245, .12); color: var(--cyan); }
.x-kpi b { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; }
.x-kpi span { color: var(--muted); font-size: 12px; }

.x-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: 16px; align-items: start; }
.x-side { display: grid; gap: 16px; }
.x-plist { display: flex; flex-direction: column; padding: 6px 10px 12px; }
.x-pl { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) 70px 70px 90px; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background .2s, transform .2s; }
.x-pl + .x-pl { margin-top: 2px; }
.x-pl:hover { background: rgba(139, 61, 255, .08); transform: translateX(3px); color: #fff; }
.x-pl img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.x-pl.pr-admin img { box-shadow: 0 0 0 2px #ff6b7a; }
.x-pl.pr-vip img { box-shadow: 0 0 0 2px var(--gold); }
.x-pl.is-friend { background: rgba(94, 240, 168, .05); }
.x-pl-n { color: var(--dim); font-size: 12px; font-weight: 700; text-align: center; }
.x-pl-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.x-pl-main > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.x-pl-main > span { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.x-pl-main em { font-style: normal; }
.x-friend { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 6px; background: rgba(94, 240, 168, .12); color: #8cf4bf; font-size: 10px; font-weight: 800; }
.x-pl-stat { text-align: right; }
.x-pl-stat b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.x-pl-stat small { color: var(--dim); font-size: 10px; }

.x-chart { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding: 16px 16px 10px; }
.x-cb { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.x-cb span { width: 100%; min-height: 3px; border-radius: 4px 4px 2px 2px; background: linear-gradient(0deg, #5a22c7, #b24dff); opacity: .8; transition: opacity .2s, transform .2s; transform-origin: bottom; }
.x-cb.off span { background: rgba(255, 93, 108, .4); }
.x-cb.peak span { background: linear-gradient(0deg, #c98c16, #ffd35c); box-shadow: 0 0 12px rgba(255, 200, 70, .5); }
.x-cb small { color: var(--dim); font-size: 9px; }
.x-cb:nth-child(odd) small { visibility: hidden; }
.x-cb:hover span { opacity: 1; transform: scaleY(1.04); }
.x-cb:hover::before { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 7px; background: #1b2233; border: 1px solid var(--line-2); font-size: 11px; z-index: 3; }
.x-howto ol { list-style: none; margin: 0; padding: 12px 16px 16px; display: grid; gap: 10px; }
.x-howto li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.x-howto li b { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 8px; background: rgba(139, 61, 255, .2); color: var(--lilac); font-size: 12px; }
.x-howto em { font-style: normal; color: #fff; }
.x-howto code { color: var(--lilac); }
.x-howto kbd { padding: 1px 6px; border-radius: 5px; background: #1b2233; border: 1px solid var(--line-2); font-size: 11px; }

/* =========================================================
   БАНЫ
   ========================================================= */
.x-bans { display: grid; gap: 10px; }
.x-ban { position: relative; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.6fr) 220px; gap: 18px; align-items: center; padding: 16px 18px 16px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .2s, transform .2s; }
.x-ban::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.x-ban.s-perm::before { background: linear-gradient(#ff5d6c, #b31e3a); box-shadow: 0 0 16px rgba(255, 93, 108, .6); }
.x-ban.s-expired { opacity: .72; }
.x-ban.s-expired::before { background: #3f4a5e; }
.x-ban:hover { border-color: rgba(168, 85, 255, .25); transform: translateY(-2px); opacity: 1; }
.x-ban-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.x-ban-who img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; flex: none; }
.x-ban-who > div { min-width: 0; }
.x-ban-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 800; }
.x-steam { padding: 0; border: 0; background: none; color: var(--dim); font-size: 12px; font-family: ui-monospace, monospace; cursor: pointer; }
.x-steam:hover { color: var(--lilac); }
.x-ban-reason { position: relative; min-width: 0; padding-left: 26px; }
.x-ban-reason > i { position: absolute; left: 0; top: 3px; color: rgba(168, 85, 255, .45); }
.x-ban-reason b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.x-ban-reason span { display: block; margin-top: 4px; color: var(--dim); font-size: 12px; }
.x-ban-reason span i { margin-right: 5px; }
.x-vote { font-style: normal; color: var(--cyan); }
.x-ban-state { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.x-ban-state small { color: var(--dim); font-size: 11px; }
.x-ban-bar { width: 100%; max-width: 200px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.x-ban-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #ffb648, #ffd35c); }
.x-appeal { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 20px; border-radius: 18px; border: 1px solid var(--line-violet); background: linear-gradient(100deg, rgba(139, 61, 255, .14), rgba(139, 61, 255, .02)); }
.x-appeal-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 15px; background: var(--grad-violet); color: #fff; font-size: 22px; box-shadow: var(--shadow-violet); }
.x-appeal > div { flex: 1; }
.x-appeal b, .x-appeal span { display: block; }
.x-appeal span { margin-top: 3px; color: var(--muted); font-size: 13px; }

/* =========================================================
   ФОРУМ
   ========================================================= */
.x-cats { flex: 1 1 auto; min-width: 0; }
.x-new { flex: none; }
.x-forum.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.x-cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.x-cat { --c: #b24dff; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .2s, border-color .2s; }
.x-cat::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .12; filter: blur(20px); transition: opacity .3s; }
.x-cat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, transparent); color: #fff; }
.x-cat:hover::before { opacity: .25; }
.x-cat.c1 { --c: #4fd6f5; } .x-cat.c2 { --c: #5ef0a8; } .x-cat.c3 { --c: #ffc94a; } .x-cat.c4 { --c: #ff5d6c; } .x-cat.c5 { --c: #e24cf2; }
.x-cat-ico { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-size: 18px; }
.x-cat-body { display: flex; flex-direction: column; gap: 4px; padding-right: 56px; }
.x-cat-body b { font-size: 16px; font-weight: 900; }
.x-cat-body small { color: var(--muted); font-size: 12px; }
.x-cat-nums { display: flex; gap: 14px; margin-top: 4px; color: var(--dim); font-size: 12px; }
.x-cat-nums i { margin-right: 5px; }
.x-cat-last { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; }
.x-cat-last img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.x-cat-last > span { min-width: 0; }
.x-cat-last b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-cat-last small { color: var(--dim); font-size: 11px; }

.x-topics { display: grid; gap: 8px; }
.x-topic { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 130px; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
.x-topic:hover { transform: translateX(4px); border-color: var(--line-violet); color: #fff; background: linear-gradient(90deg, rgba(139, 61, 255, .07), var(--panel) 40%); }
.x-topic.pinned { border-color: rgba(255, 201, 74, .25); background: linear-gradient(90deg, rgba(255, 201, 74, .06), var(--panel) 50%); }
.x-topic-av { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; }
.x-topic-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.x-topic-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.x-topic-tags:empty { display: none; }
.tg { font-style: normal; display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.tg.pin { background: rgba(255, 201, 74, .14); color: var(--gold); }
.tg.hot { background: rgba(255, 93, 108, .14); color: #ff8a95; }
.tg.new { background: rgba(94, 240, 168, .12); color: #8cf4bf; }
.tg.lock { background: rgba(255, 255, 255, .06); color: var(--muted); }
.x-topic-title { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-topic-meta { color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-topic-meta em { font-style: normal; color: var(--lilac); }
.x-topic-nums { display: flex; gap: 14px; color: var(--muted); font-size: 12px; }
.x-topic-nums i { margin-right: 5px; color: var(--dim); }
.x-topic-nums b { color: var(--text); }
.x-topic-last { display: flex; flex-direction: column; text-align: right; min-width: 0; }
.x-topic-last b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-topic-last small { color: var(--dim); font-size: 10px; }

.x-forum-side { display: grid; gap: 12px; position: sticky; top: calc(var(--tb) + 86px); }
.x-side-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; background: linear-gradient(160deg, rgba(139, 61, 255, .2), var(--panel) 60%); }
.x-side-cta > i { font-size: 26px; color: var(--lilac); margin-bottom: 4px; }
.x-side-cta span { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.x-side-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--text); text-decoration: none; }
.x-side-link:hover { color: #fff; }
.x-side-link > span:nth-child(2) { flex: 1; min-width: 0; }
.x-side-link b, .x-side-link small { display: block; }
.x-side-link small { color: var(--dim); font-size: 12px; }
.x-side-link > i { color: var(--dim); }
.x-side-link .ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; font-size: 16px; }
.ico.gold { background: rgba(255, 201, 74, .12); color: var(--gold); }
.ico.violet { background: rgba(139, 61, 255, .16); color: var(--lilac); }
.ico.blue { background: rgba(79, 134, 224, .16); color: #7fb0ff; }

/* =========================================================
   ДРУЗЬЯ
   ========================================================= */
.x-add-form { display: flex; gap: 8px; max-width: 560px; margin-top: 20px; }
.x-add-form .oz-search-inline { flex: 1; }
.x-add-form input { height: 48px; }
.x-add-form .btn-neon { height: 48px; }
.x-req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.x-req { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 201, 74, .25); background: linear-gradient(90deg, rgba(255, 201, 74, .07), var(--panel)); animation: xReqIn .5s ease both; }
@keyframes xReqIn { from { opacity: 0; transform: translateY(8px); } }
.x-req img { width: 44px; height: 44px; border-radius: 12px; }
.x-req > div { flex: 1; min-width: 0; }
.x-req b, .x-req small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-req small { color: var(--dim); font-size: 12px; }
.x-req form { margin: 0; }

.x-friends-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-top: 18px; }
.x-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.x-friend-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: transform .2s, border-color .2s; }
.x-friend-card:hover { transform: translateY(-3px); border-color: var(--line-violet); }
.x-friend-card.st-server { border-color: rgba(94, 240, 168, .3); background: linear-gradient(170deg, rgba(94, 240, 168, .07), var(--panel) 50%); }
.x-friend-card.st-online { border-color: rgba(79, 214, 245, .22); }
.x-fc-top { display: flex; align-items: center; gap: 12px; }
.x-fc-av { position: relative; flex: none; }
.x-fc-av img { width: 54px; height: 54px; border-radius: 15px; object-fit: cover; }
.x-fc-av i { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--panel); background: #3f4a5e; }
.st-server .x-fc-av i { background: #5ef0a8; box-shadow: 0 0 10px #5ef0a8; }
.st-online .x-fc-av i { background: #59d8ff; box-shadow: 0 0 10px #59d8ff; }
.x-fc-name { flex: 1; min-width: 0; }
.x-fc-name b { display: block; font-size: 16px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-fc-name small { display: block; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-fc-name small i { margin-right: 5px; }
.x-fc-state { flex: none; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--dim); font-size: 11px; font-weight: 800; }
.st-server .x-fc-state { background: rgba(94, 240, 168, .12); color: #8cf4bf; }
.st-online .x-fc-state { background: rgba(89, 216, 255, .1); color: #79defc; }
.x-fc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 12px; background: rgba(255, 255, 255, .025); }
.x-fc-stats span { padding: 10px 6px; text-align: center; }
.x-fc-stats span + span { border-left: 1px solid var(--line); }
.x-fc-stats b { display: block; font-size: 15px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-fc-stats small { color: var(--dim); font-size: 10px; }
.x-fc-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.x-fc-tags em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 7px; background: rgba(139, 61, 255, .1); color: var(--lilac); font-size: 11px; font-weight: 700; }
.x-fc-tags em.muted-tag { background: rgba(255, 255, 255, .04); color: var(--dim); }
.x-fc-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: auto; }
.x-fc-actions > .btn-neon, .x-fc-actions > .btn-gift { justify-content: center; height: 42px; }
.x-fc-actions .x-icon-btn { height: 42px; }
.x-fc-actions .dropdown-item { display: flex; align-items: center; gap: 10px; }
.x-friends-side { display: grid; gap: 14px; position: sticky; top: calc(var(--tb) + 12px); }
.x-cand-list { display: flex; flex-direction: column; padding: 6px 10px 10px; }
.x-cand { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; transition: background .2s; }
.x-cand:hover { background: rgba(255, 255, 255, .03); }
.x-cand img { width: 36px; height: 36px; border-radius: 10px; }
.x-cand > div { flex: 1; min-width: 0; }
.x-cand b, .x-cand small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-cand b { font-size: 13px; }
.x-cand small { color: var(--dim); font-size: 11px; }
.x-cand form { margin: 0; }
.x-cand .x-icon-btn { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
.x-side-tips ul { list-style: none; margin: 0; padding: 12px 16px 16px; display: grid; gap: 10px; }
.x-side-tips li { display: flex; gap: 10px; color: var(--muted); font-size: 13px; }
.x-side-tips li i { margin-top: 3px; color: var(--lilac); width: 16px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
  .x-grid, .x-forum.has-side, .x-friends-layout { grid-template-columns: 1fr; }
  .x-side { grid-template-columns: 1fr 1fr; }
  .x-forum-side, .x-friends-side { position: static; grid-template-columns: 1fr 1fr; }
  .x-ban { grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr); }
  .x-ban-state { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; text-align: left; }
  .x-ban-bar { max-width: 160px; }
}
@media (max-width: 991px) {
  .x-hero-in { grid-template-columns: 1fr; }
  .x-hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srv-x .x-hero-in { grid-template-columns: 1fr auto; }
  .x-topic { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .x-topic-last { display: none; }
}
@media (max-width: 767px) {
  .x-hero-in { padding-top: 22px; padding-bottom: 22px; gap: 16px; }
  .x-hero h1 { font-size: 28px; }
  .x-hero.compact h1 { font-size: 24px; }
  .x-hero-stats { gap: 6px; }
  .x-hero-stats > div { padding: 10px 6px; text-align: center; }
  .x-hero-stats b { font-size: 18px; }
  .x-hero-stats span { font-size: 10px; }
  .x-actions > * { flex: 1; justify-content: center; }
  .srv-x .x-hero-in { grid-template-columns: 1fr; }
  .x-gauge { width: 150px; height: 150px; margin: 0 auto; order: -1; }
  .x-gauge-txt b { font-size: 38px; }
  .x-kpi { padding: 12px; gap: 10px; }
  .x-kpi > i { width: 38px; height: 38px; font-size: 15px; }
  .x-kpi b { font-size: 19px; }
  .x-side, .x-forum-side, .x-friends-side { grid-template-columns: 1fr; }
  .x-pl { grid-template-columns: 22px 38px minmax(0, 1fr) 54px; gap: 10px; padding: 8px 6px; }
  .x-pl .hide-sm { display: none; }
  .x-sticky { top: calc(var(--tb) + 4px); padding: 8px; border-radius: 14px; }
  .x-toolbar { flex-direction: column; align-items: stretch; }
  .x-toolbar .oz-search-inline { max-width: none; flex: none; }
  .x-seg { align-self: stretch; }
  .x-new { width: 100%; justify-content: center; }
  .x-ban { grid-template-columns: 1fr; gap: 12px; padding: 14px 14px 14px 18px; }
  .x-appeal { flex-direction: column; align-items: flex-start; }
  .x-appeal .btn-violet { width: 100%; justify-content: center; }
  .x-cat-grid { grid-template-columns: 1fr; }
  .x-topic { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .x-topic-av { width: 40px; height: 40px; }
  .x-topic-nums { grid-column: 2; }
  .x-topic-title { white-space: normal; }
  .x-add-form { flex-direction: column; }
  .x-req-grid { grid-template-columns: 1fr; }
  .x-req .btn-neon span { display: none; }
  .x-fgrid { grid-template-columns: 1fr; }
  .x-hero-search .btn-violet { display: none; }
  .x-hero-search input { padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .x-hero-bg { animation: none; } }

/* Открытое меню «…» в карточке друга — поверх соседних карточек */
.x-friend-card { position: relative; }
.x-friend-card:has(.dropdown-menu.show) { z-index: 30; }
.x-fc-actions .dropdown-menu { z-index: 40; }

/* =========================================================
   ГЛАВНАЯ v18 — искры, живой счётчик, личная карточка, витрина
   ========================================================= */
.hero-embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-embers i {
  position: absolute; bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, #ffd0ff, #c04bff 60%, transparent 70%); box-shadow: 0 0 10px #c04bff;
  opacity: 0; animation: ember var(--d) linear var(--w) infinite;
}
@keyframes ember {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .9; }
  70% { opacity: .5; }
  100% { transform: translate(40px, -520px) scale(.3); opacity: 0; }
}
.hero-body { position: relative; z-index: 2; }
.hero-live {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 14px; border-radius: 30px;
  border: 1px solid rgba(94, 240, 168, .3); background: rgba(8, 14, 12, .65); backdrop-filter: blur(8px);
  color: #c9f7e0; font-size: 13px; font-weight: 600;
}
.hero-live b { color: #5ef0a8; font-size: 15px; font-variant-numeric: tabular-nums; }

.home-me { margin-top: 18px; }
.hm-card {
  position: relative; display: grid; grid-template-columns: minmax(220px, auto) auto minmax(0, 1fr) auto; gap: 22px; align-items: center;
  padding: 18px 22px; border-radius: 20px; border: 1px solid var(--line-violet); overflow: hidden;
  background: linear-gradient(100deg, rgba(139, 61, 255, .16), rgba(14, 21, 32, .9) 45%), var(--panel);
}
.hm-card::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: #a63dff; opacity: .12; filter: blur(50px); pointer-events: none; }
.hm-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hm-id img { width: 58px; height: 58px; border-radius: 16px; border: 2px solid var(--violet-2); box-shadow: 0 0 20px rgba(168, 85, 255, .35); }
.hm-id small { display: block; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.hm-id b { display: block; font-size: 20px; font-weight: 900; }
.hm-id span { color: var(--muted); font-size: 13px; }
.hm-id span i { margin-right: 6px; color: var(--lilac); }
.hm-level .level-ring { width: 70px; height: 70px; }
.hm-level .level-ring > div { width: 56px; height: 56px; }
.hm-level .level-ring b { font-size: 20px; }
.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hm-stats a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 13px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text); text-decoration: none; min-width: 0; transition: .2s; }
.hm-stats a:hover { border-color: var(--line-violet); transform: translateY(-2px); color: #fff; }
.hm-stats b { font-size: 15px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-stats small { color: var(--dim); font-size: 11px; }
.hm-actions { display: flex; gap: 8px; position: relative; z-index: 1; }
.hm-guest { grid-template-columns: minmax(0, 1fr) auto; }
.hm-guest-txt b { display: block; font-size: 18px; font-weight: 900; }
.hm-guest-txt span { color: var(--muted); font-size: 13px; }

.home-shop { margin-top: 22px; }

@media (max-width: 1399px) {
  .hm-card { grid-template-columns: minmax(0, 1fr) auto; }
  .hm-stats { grid-column: 1 / -1; grid-row: 2; }
  .hm-actions { grid-column: 1 / -1; }
  .hm-level { justify-self: end; }
}
@media (max-width: 767px) {
  .hm-card { padding: 16px; gap: 14px; }
  .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-actions > * { flex: 1; justify-content: center; }
  .hm-guest { grid-template-columns: 1fr; }
  .hm-guest .hm-actions { flex-direction: column; }
  .hero-live { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-embers { display: none; } }

/* ---------- Главная: витрина магазина v19 ---------- */
.hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.hs-head h2 { margin: 4px 0 0; font-size: 22px; font-weight: 900; }
/* запас сверху и по бокам — подъём карточки при наведении больше не обрезается */
.hs-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scroll-padding: 0 10px;
  margin: 0 -10px; padding: 12px 10px 14px; scrollbar-width: none;
}
.hs-track::-webkit-scrollbar { display: none; }
.hs-item {
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0;
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  color: var(--text); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.hs-item:hover { transform: translateY(-5px); border-color: var(--line-violet); box-shadow: 0 16px 36px rgba(0, 0, 0, .35), 0 0 26px rgba(140, 60, 255, .14); color: #fff; }
.hs-visual {
  position: relative; display: grid; place-items: center; height: 190px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, rgba(139, 61, 255, .30), transparent 70%), linear-gradient(180deg, #111826, #0b1019);
}
.t-credits .hs-visual { background: radial-gradient(80% 90% at 50% 100%, rgba(255, 201, 74, .22), transparent 70%), linear-gradient(180deg, #151a22, #0b1019); }
.t-vip .hs-visual { background: radial-gradient(80% 90% at 50% 100%, rgba(255, 170, 60, .28), transparent 70%), linear-gradient(180deg, #19141f, #0b1019); }
.t-clan_tag .hs-visual { background: radial-gradient(80% 90% at 50% 100%, rgba(79, 214, 245, .22), transparent 70%), linear-gradient(180deg, #0f1826, #0b1019); }
.hs-visual::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 10px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); pointer-events: none; }
/* модель всегда целиком внутри блока */
.hs-visual img {
  position: absolute; inset: 12px 8px 16px; width: calc(100% - 16px); height: calc(100% - 28px);
  object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .55));
  transition: transform .35s ease; transform-origin: center bottom;
}
.hs-item:hover .hs-visual img { transform: scale(1.06); }
.hs-visual .pc-art i { font-size: 42px; }
.hs-visual .pc-art b { font-size: 24px; }
.hs-visual .pc-tag .tag-demo { font-size: 20px; }
.hs-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 3px 9px; border-radius: 8px; background: var(--grad-violet); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .03em; box-shadow: var(--shadow-violet); }
.hs-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 4px; flex: 1; }
.hs-cat { color: var(--dim); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.hs-cat i { margin-right: 5px; }
.hs-title { font-size: 15px; font-weight: 900; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.hs-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px 14px; }
.hs-foot em { font-style: normal; font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.hs-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(139, 61, 255, .16); color: var(--lilac); transition: .2s; }
.hs-item:hover .hs-go { background: var(--grad-violet); color: #fff; box-shadow: var(--shadow-violet); }

/* личная карточка: иконки в строку с числом */
.hm-stats a { flex-direction: row; align-items: center; gap: 10px; }
.hm-stats a > i { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 14px; }
.hm-stats a > b, .hm-stats a > small { display: block; }
.hm-stats a { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 0; }
.hm-stats a > i { grid-row: 1 / 3; }

@media (max-width: 767px) {
  .hs-track { grid-auto-columns: 58%; gap: 10px; margin: 0 calc(var(--pad) * -1); padding: 10px var(--pad) 12px; scroll-padding: 0 var(--pad); }
  .hs-visual { height: 160px; }
  .hs-title { font-size: 14px; }
  .hs-foot em { font-size: 16px; }
}
@media (max-width: 400px) { .hs-track { grid-auto-columns: 72%; } }


/* ===== Access gate / ban screen ===== */
.access-blocked-page{min-height:100vh;background:radial-gradient(circle at 50% 0,rgba(120,58,255,.16),transparent 38%),#070b12;color:#f4f7fb;font-family:Inter,system-ui,sans-serif}.access-lock-shell{min-height:100vh;display:grid;place-items:center;padding:32px 18px}.access-lock-card{width:min(780px,100%);position:relative;overflow:hidden;padding:38px;border:1px solid rgba(255,255,255,.09);border-radius:28px;background:linear-gradient(180deg,rgba(17,23,36,.96),rgba(8,12,20,.98));box-shadow:0 28px 90px rgba(0,0,0,.48)}.access-lock-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,transparent,#8d5cff,#ef496f,transparent)}.access-lock-logo{display:inline-flex;margin-bottom:28px}.access-lock-logo img{width:190px;max-width:54vw}.access-lock-icon{width:70px;height:70px;border-radius:22px;display:grid;place-items:center;margin-bottom:20px;font-size:28px;color:#fff;background:linear-gradient(145deg,#713cff,#d53d66);box-shadow:0 14px 38px rgba(128,63,255,.25)}.site-lock .access-lock-icon{background:linear-gradient(145deg,#d53656,#7a1e35)}.access-lock-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:900;color:#a991ff;margin-bottom:8px}.access-lock-card h1{font-size:clamp(30px,5vw,48px);line-height:1.05;margin:0 0 14px;font-weight:900}.access-lock-lead{max-width:680px;color:#aeb9ca;font-size:16px;line-height:1.7;margin-bottom:24px}.access-lock-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}.access-lock-facts.single{grid-template-columns:1fr}.access-lock-facts>div{padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);min-width:0}.access-lock-facts span,.ban-facts em,.demo-proof-grid em{display:block;color:#6f7d92;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-style:normal;font-weight:800;margin-bottom:5px}.access-lock-facts b{display:block;overflow-wrap:anywhere;font-size:14px}.access-demo{display:flex;align-items:center;gap:13px;padding:13px 15px;margin:4px 0 18px;border-radius:16px;border:1px solid rgba(119,236,170,.16);background:rgba(65,199,125,.07)}.access-demo>i{color:#64df99;font-size:20px}.access-demo div{display:flex;flex-direction:column;min-width:0}.access-demo div span{font-size:12px;color:#8ea0b6;overflow-wrap:anywhere}.access-demo em{margin-left:auto;color:#65d99b;font-size:11px;font-style:normal;font-weight:800}.access-lock-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.btn-lock{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;border-radius:14px;padding:13px 18px;font-weight:850}.btn-lock.primary{color:white;background:linear-gradient(135deg,#7847ff,#b83fe5);box-shadow:0 10px 28px rgba(116,67,255,.24)}.btn-lock.ghost{color:#d5deea;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04)}.access-lock-note{display:flex;gap:9px;align-items:flex-start;color:#7f8da2;font-size:12px;line-height:1.6;margin:16px 0 0}.access-lock-note i{margin-top:3px}.pcard-ban-copy{min-width:0;flex:1}.ban-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.ban-facts span,.demo-proof-grid span{display:block;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.035);overflow-wrap:anywhere;font-size:11px}.demo-proof{margin-top:10px;padding:11px;border-radius:12px;background:rgba(88,211,146,.07);border:1px solid rgba(88,211,146,.14)}.demo-proof.missing{color:#93a0b2;font-size:11px}.demo-proof-title{display:flex;align-items:center;gap:7px;color:#65da9b;font-size:12px}.demo-proof-title span{margin-left:auto;color:#77869b;font-size:10px}.demo-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.demo-proof-grid em{margin-bottom:3px}@media(max-width:640px){.access-lock-card{padding:26px 20px;border-radius:22px}.access-lock-facts,.ban-facts,.demo-proof-grid{grid-template-columns:1fr}.access-lock-actions{display:grid}.access-demo{align-items:flex-start}.access-demo em{display:none}}

/* ===== OLD ZOMBIE: demo download in ban appeals ===== */
.appeal-demo-box,.ticket-demo-download{display:flex;align-items:center;gap:14px;margin:18px 0;padding:14px 16px;border:1px solid rgba(116,89,255,.3);border-radius:16px;background:linear-gradient(135deg,rgba(116,89,255,.12),rgba(15,20,32,.74));box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.appeal-demo-box.missing{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.025)}
.appeal-demo-icon{width:44px;height:44px;flex:0 0 44px;border-radius:13px;display:grid;place-items:center;background:rgba(116,89,255,.17);color:#a995ff;font-size:18px}
.appeal-demo-box.missing .appeal-demo-icon{background:rgba(255,255,255,.06);color:#818a9d}
.appeal-demo-info{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.appeal-demo-info b{font-weight:800}.appeal-demo-info span,.appeal-demo-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aeb7ca}.appeal-demo-info small{font-size:12px;color:#737e93}
.btn-demo-download{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;padding:10px 14px;border-radius:11px;border:1px solid rgba(116,89,255,.44);background:#7459ff;color:#fff!important;text-decoration:none!important;font-weight:800;font-size:13px;transition:.18s ease}.btn-demo-download:hover{transform:translateY(-1px);filter:brightness(1.08)}
.ticket-demo-download{margin:0 16px 16px}.ticket-demo-download>div{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.ticket-demo-download>div>i{color:#a995ff}.ticket-demo-download span{min-width:0;display:flex;flex-direction:column}.ticket-demo-download small{color:#8994aa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.access-demo a{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:10px;background:rgba(116,89,255,.16);border:1px solid rgba(116,89,255,.35);color:#c9beff;text-decoration:none;font-style:normal;font-weight:800;font-size:12px}.access-demo a:hover{background:rgba(116,89,255,.26);color:#fff}
@media(max-width:700px){.appeal-demo-box,.ticket-demo-download{align-items:flex-start;flex-wrap:wrap}.appeal-demo-info{width:calc(100% - 60px)}.btn-demo-download{width:100%}.ticket-demo-download>div{width:100%}}

/* ===== Admin: site/server ban controls ===== */
.ban-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ban-admin-box{padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025)}.server-ban-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:12px;background:rgba(224,67,92,.08);border:1px solid rgba(224,67,92,.18)}.server-ban-row>div{min-width:0}.server-ban-row small{line-height:1.5}.player-ban-card .pbody{display:grid;gap:10px}.ban-public-row{display:flex;flex-direction:column;gap:4px;padding:13px 14px;border-radius:13px;background:rgba(224,67,92,.07);border:1px solid rgba(224,67,92,.16)}.ban-public-row>b{color:#ff8b9d}.ban-public-row>span{color:var(--muted);font-size:13px}@media(max-width:900px){.ban-admin-grid{grid-template-columns:1fr}.server-ban-row{align-items:flex-start;flex-direction:column}}


/* ===== BAN ACCESS V5: compact full-screen lock card ===== */
.access-blocked-page{overflow-y:auto}
.access-lock-shell{min-height:100svh;padding:14px 16px;align-items:center}
.access-lock-card{width:min(720px,100%);padding:24px 26px;border-radius:22px;max-height:calc(100svh - 28px);overflow:auto}
.access-lock-logo{margin-bottom:12px}.access-lock-logo img{width:148px}
.access-lock-icon{width:52px;height:52px;border-radius:16px;margin-bottom:12px;font-size:21px}
.access-lock-kicker{font-size:10px;margin-bottom:5px}
.access-lock-card h1{font-size:clamp(28px,4vw,38px);margin-bottom:9px}
.access-lock-lead{font-size:14px;line-height:1.5;margin-bottom:15px}
.access-lock-facts{gap:8px;margin-bottom:12px}
.access-lock-facts>div{padding:10px 12px;border-radius:13px}
.access-lock-facts span{font-size:9px;margin-bottom:3px}.access-lock-facts b{font-size:13px}
.access-demo{padding:10px 12px;margin:2px 0 12px;border-radius:13px}.access-demo>i{font-size:17px}
.access-lock-actions{margin-top:14px;gap:8px}.btn-lock{padding:11px 14px;border-radius:12px;font-size:13px}
.access-lock-note{margin-top:10px;font-size:11px;line-height:1.45}
@media (min-width:700px){.game-lock .access-lock-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.access-lock-shell{padding:10px}.access-lock-card{padding:20px 16px;max-height:none}.access-lock-logo img{width:132px}.access-lock-actions{display:grid}.btn-lock{width:100%}}

/* ===== BAN ACCESS V6: animated lock screen + persistent countdown ===== */
.access-blocked-page{position:relative;isolation:isolate;background:#060910;overflow-x:hidden}
.ban-bg-grid{position:fixed;inset:0;z-index:-3;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 82%);animation:banGridDrift 18s linear infinite}
.ban-bg-orbs{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.ban-bg-orbs i{position:absolute;border-radius:50%;filter:blur(60px);opacity:.28;animation:banOrbFloat 12s ease-in-out infinite alternate}
.ban-bg-orbs i:nth-child(1){width:360px;height:360px;left:-120px;top:-90px;background:#6f36ff}
.ban-bg-orbs i:nth-child(2){width:300px;height:300px;right:-70px;top:16%;background:#d52d8f;animation-delay:-4s}
.ban-bg-orbs i:nth-child(3){width:280px;height:280px;left:42%;bottom:-140px;background:#2b6fff;animation-delay:-8s}
@keyframes banGridDrift{to{background-position:38px 38px}}
@keyframes banOrbFloat{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(24px,-18px,0) scale(1.12)}}
.access-lock-card{animation:banCardIn .55s cubic-bezier(.2,.8,.2,1) both;backdrop-filter:blur(16px);background:linear-gradient(180deg,rgba(18,24,39,.94),rgba(8,12,20,.96));box-shadow:0 30px 100px rgba(0,0,0,.56),0 0 0 1px rgba(143,90,255,.03) inset}
.access-lock-card:after{content:"";position:absolute;inset:-1px;pointer-events:none;border-radius:inherit;background:linear-gradient(120deg,transparent 18%,rgba(166,116,255,.08) 42%,transparent 60%);transform:translateX(-120%);animation:banSheen 7s ease-in-out 1.2s infinite}
@keyframes banCardIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes banSheen{0%,70%,100%{transform:translateX(-120%)}82%{transform:translateX(120%)}}
.access-lock-logo img{filter:drop-shadow(0 7px 24px rgba(154,66,255,.24));animation:banLogoFloat 4.2s ease-in-out infinite}
@keyframes banLogoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.access-lock-icon{position:relative;animation:banIconPulse 2.3s ease-in-out infinite}
.access-lock-icon:after{content:"";position:absolute;inset:-7px;border-radius:22px;border:1px solid rgba(151,91,255,.32);animation:banRing 2.3s ease-out infinite}
@keyframes banIconPulse{0%,100%{transform:scale(1);box-shadow:0 14px 38px rgba(128,63,255,.25)}50%{transform:scale(1.045);box-shadow:0 17px 48px rgba(128,63,255,.38)}}
@keyframes banRing{0%{opacity:.8;transform:scale(.88)}100%{opacity:0;transform:scale(1.34)}}
.access-lock-facts>div{transition:transform .2s ease,border-color .2s ease,background .2s ease}
.access-lock-facts>div:hover{transform:translateY(-2px);border-color:rgba(153,104,255,.18);background:rgba(255,255,255,.05)}
.ban-countdown-cell{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(124,65,255,.11),rgba(255,255,255,.035))!important;border-color:rgba(139,83,255,.2)!important}
.ban-countdown-cell:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#a05cff,#e648aa);box-shadow:0 0 16px rgba(165,88,255,.6)}
.ban-countdown-cell b{font-variant-numeric:tabular-nums;font-size:15px!important;color:#d9ccff;text-shadow:0 0 18px rgba(154,94,255,.28)}
.ban-countdown-cell small{display:block;margin-top:2px;font-size:9px;color:#7f8da2}
.access-demo{position:relative;overflow:hidden;animation:demoGlow 3.2s ease-in-out infinite}
@keyframes demoGlow{0%,100%{box-shadow:0 0 0 rgba(74,211,145,0)}50%{box-shadow:0 0 28px rgba(74,211,145,.08)}}
.btn-lock{position:relative;overflow:hidden;transition:transform .18s ease,filter .18s ease,border-color .18s ease,background .18s ease}
.btn-lock:hover{transform:translateY(-2px)}
.btn-lock.primary:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.16) 45%,transparent 70%);transform:translateX(-130%);transition:transform .55s ease}
.btn-lock.primary:hover:before{transform:translateX(130%)}
.btn-lock.secondary{color:#ddd6ff;border:1px solid rgba(143,101,255,.2);background:rgba(124,77,255,.08)}
.ticket-cta{min-width:min(390px,100%);justify-content:flex-start!important;padding:11px 14px!important}
.ticket-cta>span{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;line-height:1.15}
.ticket-cta>span strong{font-size:13px}.ticket-cta>span small{margin-top:3px;font-size:9px;font-weight:600;color:rgba(255,255,255,.72)}
.ticket-cta>i:last-child{margin-left:auto;transition:transform .18s ease}.ticket-cta:hover>i:last-child{transform:translateX(3px)}
@media(max-width:640px){.ban-bg-grid{background-size:30px 30px}.access-lock-card:after{display:none}.ticket-cta{min-width:0}.access-lock-actions .secondary{order:2}.access-lock-actions .ghost{order:3}}
@media(prefers-reduced-motion:reduce){.ban-bg-grid,.ban-bg-orbs i,.access-lock-card,.access-lock-card:after,.access-lock-logo img,.access-lock-icon,.access-lock-icon:after,.access-demo{animation:none!important}.btn-lock{transition:none!important}}

/* V7: серверный бан не блокирует сайт — компактное состояние игровых функций */
.game-ban-inline{padding-top:14px;padding-bottom:4px}.game-ban-inline-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px 18px;border:1px solid rgba(190,70,255,.28);border-radius:18px;background:linear-gradient(135deg,rgba(24,18,39,.96),rgba(11,16,27,.96));box-shadow:0 16px 44px rgba(0,0,0,.22),0 0 36px rgba(164,58,255,.08);overflow:hidden;position:relative}.game-ban-inline-card:before{content:"";position:absolute;inset:-80px auto auto -50px;width:180px;height:180px;border-radius:50%;background:rgba(165,54,255,.12);filter:blur(38px);pointer-events:none}.game-ban-inline-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:20px;background:linear-gradient(135deg,#7d2cff,#d13fd0);color:#fff;box-shadow:0 8px 24px rgba(157,57,255,.28)}.game-ban-inline-copy{min-width:0;display:grid;gap:3px}.game-ban-inline-copy small,.game-ban-inline-time small{text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800;color:#a894ca}.game-ban-inline-copy b{font-size:16px;color:#fff}.game-ban-inline-copy span{font-size:12px;line-height:1.5;color:#9eabc0}.game-ban-inline-time{min-width:110px;padding:9px 12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);display:grid;gap:2px}.game-ban-inline-time b{font-size:14px;color:#d69aff}.tb-game-ban{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:10px;background:rgba(155,45,255,.12);border:1px solid rgba(182,82,255,.22);color:#e4c8ff;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}.tb-game-ban:hover{color:#fff;border-color:rgba(202,124,255,.45);transform:translateY(-1px)}.tb-game-ban b{font-size:10px;color:#fff}.game-ban-home-card{border-color:rgba(182,82,255,.22)}
@media(max-width:900px){.game-ban-inline-card{grid-template-columns:auto 1fr}.game-ban-inline-time,.game-ban-inline-card>.btn-neon{grid-column:2}.tb-game-ban span{display:none}}
@media(max-width:560px){.game-ban-inline-card{grid-template-columns:1fr;padding:14px}.game-ban-inline-icon{width:42px;height:42px}.game-ban-inline-time,.game-ban-inline-card>.btn-neon{grid-column:auto;width:100%}.game-ban-inline-card>.btn-neon{justify-content:center}.tb-game-ban{padding:7px 8px}.tb-game-ban b{display:none}}
