/* ============================================================
   QUICK RUST — стили сайта (в стилистике магазина gamestores)
   Все основные цвета — в переменных ниже, меняйте тут.
   ============================================================ */
:root {
  --accent: #2482ed;
  --accent-hover: #3b92f5;
  --accent-glow: rgba(36, 130, 237, 0.25);
  --accent-soft: rgba(36, 130, 237, 0.15);

  --bg: #121418;
  --panel: rgba(40, 40, 40, 0.92);
  --panel-solid: #282828;
  --panel-2: rgba(54, 54, 54, 0.55);
  --item: rgba(255, 255, 255, 0.05);
  --item-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.07);

  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.7);
  --text-3: rgba(255, 255, 255, 0.45);

  --live: #ff3b4a;
  --green: #2fd26b;
  --yellow: #f5b83b;
  --twitch: #9146ff;

  --r-lg: 15px;
  --r-md: 12px;
  --r-sm: 8px;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Exo 2", "Montserrat", system-ui, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-2);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(10, 12, 16, 0.55), rgba(10, 12, 16, 0.85)),
    url("https://i.imgur.com/4p8xEVC.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
main.container { flex: 1; padding-top: 24px; padding-bottom: 48px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--item); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--text); font-size: 15px;
}
.logo__title { font-family: var(--font-head); font-weight: 800; color: var(--text); font-size: 16px; line-height: 1.1; letter-spacing: .3px; }
.logo__sub { font-size: 11px; color: var(--text-3); }

.online-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--item); border-radius: var(--r-sm);
  padding: 5px 10px; font-size: 12px; font-weight: 500;
}
.online-pill b { background: rgba(255,255,255,.1); color: var(--text); padding: 1px 6px; border-radius: 5px; font-weight: 600; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--text-2); transition: .2s;
}
.nav a:hover { background: var(--item-hover); color: var(--text); }
.nav a.active { background: var(--accent); color: #fff; box-shadow: 0 10px 40px var(--accent-glow); }
.nav svg { width: 16px; height: 16px; }

.header__social { display: flex; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--item); place-items: center; }
.burger svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-lg);
  font-family: var(--font); font-weight: 600; font-size: 13px;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 40px var(--accent-glow);
  transition: .2s; white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--ghost { background: var(--accent-soft); color: #7db8ff; box-shadow: none; border: 1px solid rgba(36,130,237,.35); }
.btn--ghost:hover { background: rgba(36,130,237,.28); color: #fff; }
.btn--dark { background: var(--item); color: var(--text); box-shadow: none; }
.btn--dark:hover { background: var(--item-hover); }
.btn--sm { padding: 7px 12px; font-size: 12px; border-radius: 10px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--twitch { background: var(--twitch); box-shadow: 0 10px 40px rgba(145,70,255,.25); }
.btn--twitch:hover { background: #a36bff; }

/* ---------- Panels ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  backdrop-filter: blur(6px);
}
.panel + .panel, .section + .section { margin-top: 20px; }
.section-title {
  font-family: var(--font-head); font-weight: 700; color: var(--text);
  font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.section-title .count { font-size: 12px; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 6px; }
.page-head { margin-bottom: 20px; }
.page-head h1 { font-family: var(--font-head); color: var(--text); font-size: 30px; font-weight: 800; }
.page-head p { margin-top: 4px; }
.muted { color: var(--text-3); }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.badge--live { background: var(--live); color: #fff; }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.badge--off { background: rgba(255,255,255,.08); color: var(--text-3); }
.badge--green { background: rgba(47,210,107,.15); color: var(--green); }
.badge--yellow { background: rgba(245,184,59,.15); color: var(--yellow); }
.badge--red { background: rgba(255,59,74,.15); color: #ff6b77; }
.badge--blue { background: var(--accent-soft); color: #7db8ff; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  min-height: 300px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(90deg, rgba(18,20,24,.95) 0%, rgba(18,20,24,.7) 45%, rgba(18,20,24,.1) 100%),
    url("https://i.imgur.com/4p8xEVC.png") center/cover;
}
.hero__tag { display: inline-flex; width: fit-content; margin-bottom: 14px; }
.hero h1 { font-family: var(--font-head); font-size: 44px; line-height: 1.05; font-weight: 800; color: var(--text); max-width: 560px; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 520px; margin-top: 12px; font-size: 15px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__stats { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.stat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(36,130,237,.25); border: 1px solid rgba(36,130,237,.5);
  color: #cfe4ff; padding: 6px 12px; border-radius: 10px; font-weight: 500; font-size: 13px;
}
.stat-chip b { background: var(--accent); color: #fff; padding: 1px 7px; border-radius: 6px; }

/* ---------- Quick strip (как блок промокода/онлайна в магазине) ---------- */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.strip__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px 16px;
}
.strip__item .t { color: var(--text); font-weight: 700; font-size: 14px; }
.strip__item .s { font-size: 12px; color: var(--text-3); }
.strip__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.strip__icon svg { width: 22px; height: 22px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; padding: 6px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); margin-top: 20px; overflow-x: auto; }
.tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text-2);
  background: transparent; transition: .2s; white-space: nowrap;
}
.tab:hover { background: var(--item-hover); color: var(--text); }
.tab.active { background: var(--accent); color: #fff; box-shadow: 0 10px 40px var(--accent-glow); }
.tab svg { width: 16px; height: 16px; }
.tab .badge { padding: 1px 6px; }
.tab-panel { display: none; margin-top: 16px; }
.tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- About cards ---------- */
.feature { background: var(--item); border-radius: var(--r-md); padding: 18px; border: 1px solid transparent; transition: .2s; }
.feature:hover { border-color: rgba(36,130,237,.4); background: var(--item-hover); }
.feature__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { color: var(--text); font-size: 15px; margin-bottom: 4px; font-family: var(--font-head); }
.feature p { font-size: 13px; }

.info-list { list-style: none; display: grid; gap: 8px; }
.info-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--item); border-radius: 10px; }
.info-list li span:last-child { color: var(--text); font-weight: 600; text-align: right; }

.rules { counter-reset: r; list-style: none; display: grid; gap: 8px; }
.rules li { counter-increment: r; position: relative; padding: 12px 14px 12px 48px; background: var(--item); border-radius: 10px; }
.rules li::before { content: counter(r); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }

/* ---------- Server cards ---------- */
.server { background: var(--item); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.server__top { display: flex; align-items: center; gap: 14px; }
.ring { --p: 50; width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255,255,255,.08) 0);
  display: grid; place-items: center; }
.ring::after { content: attr(data-value); width: 46px; height: 46px; border-radius: 50%; background: var(--panel-solid); display: grid; place-items: center; color: var(--text); font-weight: 700; font-size: 14px; }
.server__name { color: var(--text); font-weight: 700; font-size: 16px; font-family: var(--font-head); }
.server__meta { font-size: 12px; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; }
.server__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.server__bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.server__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.server__rows div { background: rgba(0,0,0,.2); padding: 8px 10px; border-radius: 8px; font-size: 12px; }
.server__rows b { display: block; color: var(--text); font-size: 13px; }
.connect { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.35); border: 1px dashed rgba(255,255,255,.12); padding: 8px 8px 8px 12px; border-radius: 10px; }
.connect code { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: #9ecbff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.total { background: var(--item); border-radius: var(--r-md); padding: 14px 16px; }
.total b { display: block; font-family: var(--font-head); font-size: 26px; color: var(--text); line-height: 1.1; }
.total span { font-size: 12px; color: var(--text-3); }

/* ---------- Streamers ---------- */
.stream { background: var(--item); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.stream:hover { border-color: rgba(145,70,255,.5); transform: translateY(-2px); }
.stream__thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #1d2633, #2a1f3d); display: grid; place-items: center; color: var(--text-3); }
.stream__thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.stream__thumb .badge { position: absolute; top: 10px; left: 10px; }
.stream__viewers { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.stream__body { padding: 14px; display: flex; gap: 12px; align-items: flex-start; flex: 1; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); flex-shrink: 0; font-size: 16px; }
.avatar--lg { width: 72px; height: 72px; font-size: 26px; }
.stream__name { color: var(--text); font-weight: 700; }
.stream__title { font-size: 12.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stream__game { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.media-card { background: var(--item); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: .2s; }
.media-card:hover { border-color: rgba(36,130,237,.45); background: var(--item-hover); }
.media-card .avatar-wrap { position: relative; }
.media-card .avatar-wrap .badge { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); }
.media-card h3 { color: var(--text); font-family: var(--font-head); font-size: 17px; margin-top: 6px; }
.media-card .role { font-size: 12px; color: var(--text-3); }
.media-card .stats { display: flex; gap: 6px; font-size: 12px; flex-wrap: wrap; justify-content: center; }
.media-card .stats span { white-space: nowrap; }
.media-card .stats span { background: rgba(0,0,0,.25); padding: 4px 8px; border-radius: 6px; }
.media-card .links { display: flex; gap: 6px; margin-top: 4px; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .2s; }
.icon-btn:hover { background: var(--accent); color: #fff; }
.icon-btn svg { width: 16px; height: 16px; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.chip { padding: 8px 14px; border-radius: 10px; background: var(--item); font-weight: 600; font-size: 13px; transition: .2s; }
.chip:hover { background: var(--item-hover); color: var(--text); }
.chip.active { background: var(--accent); color: #fff; }

/* ---------- Bans ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 14px; }
.search svg { width: 16px; height: 16px; color: var(--text-3); }
.search input, .select { background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; padding: 11px 0; width: 100%; }
.search input::placeholder { color: var(--text-3); }
.select { background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: var(--r-md); padding: 11px 14px; width: auto; }
.select option { background: var(--panel-solid); }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); }
table { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 760px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); font-weight: 600; padding: 4px 14px; }
td { background: var(--item); padding: 12px 14px; font-size: 13px; }
td:first-child { border-radius: 10px 0 0 10px; }
td:last-child { border-radius: 0 10px 10px 0; }
tr:hover td { background: var(--item-hover); }
.player { display: flex; align-items: center; gap: 10px; }
.player .avatar { width: 32px; height: 32px; font-size: 13px; border-radius: 8px; }
.player b { color: var(--text); display: block; }
.player small { font-size: 11px; color: var(--text-3); font-family: ui-monospace, Consolas, monospace; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.pagination button { min-width: 36px; height: 36px; border-radius: 10px; background: var(--item); font-weight: 600; }
.pagination button.active { background: var(--accent); color: #fff; }
.empty { text-align: center; padding: 40px 0; color: var(--text-3); }

.callout { display: flex; gap: 14px; align-items: center; background: var(--accent-soft); border: 1px solid rgba(36,130,237,.35); border-radius: var(--r-md); padding: 14px 16px; }
.callout svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.callout .btn { margin-left: auto; }

/* ---------- Footer ---------- */
.footer { background: rgba(20, 20, 20, 0.9); border-top: 1px solid var(--border); padding: 24px 0; font-size: 12px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 16px; }
.footer__links a:hover { color: var(--accent); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; box-shadow: 0 10px 40px var(--accent-glow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .header__social .btn span { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: rgba(30,30,30,.97); padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .burger { display: grid; margin-left: auto; }
  .online-pill { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .totals { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 28px 22px; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .header__social { display: none; }
  .callout { flex-wrap: wrap; }
  .callout .btn { margin-left: 0; }
  .page-head h1 { font-size: 24px; }
}

/* ---------- Логотип-аватарка ---------- */
img.logo__mark { object-fit: cover; padding: 0; border-color: rgba(36,130,237,.45); }

/* ---------- Hero: убран засвет по левому краю ---------- */
.hero {
  border-color: rgba(255,255,255,.06);
  background:
    linear-gradient(90deg, #121418 0%, rgba(18,20,24,.92) 12%, rgba(18,20,24,.7) 45%, rgba(18,20,24,.1) 100%),
    url("https://i.imgur.com/4p8xEVC.png") center/cover;
  background-clip: padding-box;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, #121418 0, rgba(18,20,24,0) 60px);
}
.hero > * { position: relative; }

/* ---------- Проверка ---------- */
.check-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.check-hero h2 { font-family: var(--font-head); color: var(--text); font-size: 28px; font-weight: 800; margin: 10px 0 6px; }
.check-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.check-step { background: var(--item); border-radius: var(--r-md); padding: 16px; border-top: 3px solid var(--accent); }
.check-step__num { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.check-step b { color: var(--text); display: block; margin-bottom: 4px; font-family: var(--font-head); }
.check-step p { font-size: 13px; }
@media (max-width: 860px) {
  .check-hero { grid-template-columns: 1fr; }
  .check-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .check-steps { grid-template-columns: 1fr; } }

/* ---------- Мини-блок стримеров справа ---------- */
.live-dock { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); width: 240px; z-index: 45; }
.live-dock__panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.live-dock__head { white-space: nowrap; display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 10px; }
.live-dock__head b { margin-left: auto; background: var(--accent); color: #fff; padding: 1px 7px; border-radius: 6px; font-size: 12px; }
.live-dock__head .badge { padding: 2px 6px; font-size: 10px; }
.live-dock__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; max-height: 50vh; overflow-y: auto; }
.live-dock__item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: var(--item); border: 1px solid transparent; transition: .2s; }
.live-dock__item:hover { border-color: rgba(145,70,255,.5); background: var(--item-hover); }
.avatar--sm { width: 32px; height: 32px; font-size: 12px; box-shadow: 0 0 0 2px var(--live); }
.live-dock__info { min-width: 0; flex: 1; }
.live-dock__name { color: var(--text); font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dock__title { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dock__viewers { font-size: 11px; font-weight: 700; color: #ff8a94; display: flex; align-items: center; gap: 4px; }
.live-dock__viewers::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; }
.live-dock__empty { font-size: 12px; color: var(--text-3); text-align: center; padding: 12px 0; }
.live-dock__all { display: block; text-align: center; margin-top: 10px; font-size: 12px; font-weight: 600; color: #7db8ff; }
.live-dock__all:hover { color: #fff; }
.live-dock__toggle { display: none; align-items: center; gap: 8px; background: var(--twitch); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(145,70,255,.4); margin-left: auto; }
.live-dock__toggle svg { width: 16px; height: 16px; }
.live-dock__toggle b { background: rgba(255,255,255,.25); padding: 0 7px; border-radius: 6px; }



/* На главной: блок «Сейчас стримят» прикреплён к правому краю баннера */
.hero-wrap { position: relative; }


/* ---------- Окошки трансляций в блоке «Сейчас стримят» ---------- */
.live-dock__list { gap: 10px; max-height: calc(100vh - 140px); }
.live-win { background: var(--item); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: .2s; }
.live-win:hover { border-color: rgba(145,70,255,.55); }
.live-win__video { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1d2633, #2a1f3d); }
.live-win__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-win__preview { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.85); background-size: cover; background-position: center; }
.live-win__preview svg { width: 28px; height: 28px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.live-win__preview .badge { position: absolute; top: 6px; left: 6px; padding: 2px 6px; font-size: 9px; }
.live-win__bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px; }
.live-win__name { flex: 1; min-width: 0; color: var(--text); font-weight: 700; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar--xs { width: 22px; height: 22px; font-size: 9px; box-shadow: 0 0 0 2px var(--live); }

/* Логотип — как есть, без подложки */
img.logo__mark { width: 42px; height: 42px; border-radius: 0; background: none; border: 0; padding: 0; object-fit: contain; box-shadow: none; }

/* ---------- VirusTotal ---------- */
.vt { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.vt__score { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: conic-gradient(var(--green) 100%, rgba(255,255,255,.08) 0); }
.vt__score div { width: 80px; height: 80px; border-radius: 50%; background: var(--panel-solid); display: grid; place-content: center; }
.vt__score b { font-family: var(--font-head); font-size: 22px; color: var(--green); line-height: 1; }
.vt__score span { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.vt h2 { font-family: var(--font-head); color: var(--text); font-size: 20px; margin: 8px 0 4px; }
.vt__hash { margin-top: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #9ecbff; background: rgba(0,0,0,.35); border: 1px dashed rgba(255,255,255,.12); padding: 6px 10px; border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn--vt { background: #394eff; box-shadow: 0 10px 40px rgba(57,78,255,.3); }
.btn--vt:hover { background: #5266ff; }
@media (max-width: 860px) { .vt { grid-template-columns: auto 1fr; } .vt .btn { grid-column: 1 / -1; } }
.badge svg { width: 12px; height: 12px; }

/* ---------- Живые данные ---------- */
img.avatar { object-fit: cover; background: var(--item); }
.live-win__star { color: #ffd24a; display: grid; place-items: center; }
.live-win__star svg { width: 12px; height: 12px; fill: currentColor; }
.player small a { color: inherit; }
.player small a:hover { color: #7db8ff; }
.pagination button[disabled] { background: transparent; cursor: default; }

/* ---------- Превью стримов + плеер в большом окне ---------- */
button.live-win__preview { width: 100%; border: 0; cursor: pointer; background-color: #1d2633; }
.live-win__play { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; transition: .2s; }
.live-win__play svg { width: 18px; height: 18px; margin-left: 2px; }
.live-win__preview:hover .live-win__play { background: var(--twitch); transform: scale(1.08); }
.stream { cursor: pointer; }

.player-modal { position: fixed; inset: 0; z-index: 200; background: rgba(5,7,10,.82); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
.player-modal__box { width: min(1100px, 100%); background: var(--panel-solid); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.player-modal__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.player-modal__head b { color: var(--text); font-family: var(--font-head); white-space: nowrap; }
.player-modal__title { flex: 1; min-width: 0; font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-modal__close { width: 34px; height: 34px; border-radius: 10px; background: var(--item); color: var(--text); font-size: 16px; }
.player-modal__close:hover { background: var(--live); }
.player-modal__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player-modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .player-modal__title { display: none; } }

/* ============================================================
   Блок «Сейчас стримят» — расположение и размер (v3)
   Широкий экран: прикреплён справа к баннеру (главная) или к верху
   контента (остальные страницы). Узкий экран: кнопка внизу справа.
   ============================================================ */
:root { --dock-w: 320px; }
.hero-wrap, main.container { position: relative; }
.live-dock { width: var(--dock-w); }
@media (min-width: 1850px) {
  .hero-wrap > .live-dock,
  main.container > .live-dock { position: absolute; transform: none; right: auto; bottom: auto; width: var(--dock-w); }
  .hero-wrap > .live-dock { top: 0; left: calc(100% + 12px); }
  /* у main есть внутренние отступы 16px по бокам и 24px сверху */
  main.container > .live-dock { top: var(--dock-top, 24px); left: calc(100% - 16px + 12px); }
  .live-dock__list { max-height: calc(100vh - 160px); }
}
@media (max-width: 1849px) {
  .live-dock, .hero-wrap > .live-dock, main.container > .live-dock {
    position: fixed; left: auto; right: 20px; top: auto; bottom: 20px; transform: none;
    display: flex; flex-direction: column-reverse; gap: 10px; align-items: flex-end; width: auto; }
  .live-dock__toggle { display: inline-flex; }
  .live-dock__panel { display: none; width: min(var(--dock-w), calc(100vw - 40px)); height: auto; }
  .live-dock.open .live-dock__panel { display: block; animation: fade .2s ease; }
  .live-dock__list { max-height: 65vh; }
}

/* Живой плеер в окошке (главная): рисуем в 1.5 раза крупнее и уменьшаем,
   чтобы помещалась кнопка Twitch «Начать просмотр» (контент 18+) */
.live-win__video .live-win__frame {
  position: absolute; top: 0; left: 0; inset: auto;
  width: 150%; height: 150%; border: 0;
  transform: scale(0.6667); transform-origin: 0 0;
}

/* ---------- Проверка: файлы для скачивания ---------- */
.check-files { display: grid; gap: 12px; }
.check-file { display: flex; align-items: center; gap: 16px; background: var(--item); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; }
.check-file--main { border-color: rgba(36,130,237,.45); background: linear-gradient(135deg, rgba(36,130,237,.16), rgba(36,130,237,.03)); }
.check-file__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.check-file__icon svg { width: 22px; height: 22px; }
.check-file__info { flex: 1; min-width: 0; }
.check-file__info b { color: var(--text); font-family: var(--font-head); font-size: 17px; }
.check-file__info p { font-size: 13px; margin: 2px 0; }
.check-file__info small { font-size: 12px; }
@media (max-width: 560px) { .check-file { flex-wrap: wrap; } .check-file .btn { width: 100%; } }
.live-win__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Переключатель языка RU / EN ---------- */
.lang-switch { display: inline-flex; background: var(--item); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; flex-shrink: 0; }
.lang-switch button { padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: .3px; transition: .2s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--accent); color: #fff; }
@media (max-width: 860px) { .lang-switch { margin-left: auto; } .lang-switch + .burger { margin-left: 8px; } }
