/* LUNADROP — каркас: лента дропов, шапка, контейнер, подвал */

/* --------------------------------------------------- лента live-дропов ---- */

.livebar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: stretch;
  height: 86px;
  background: linear-gradient(180deg, #0d0b13, #09080e);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.livebar__badge {
  flex: none;
  width: 86px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  background: #0a0810;
  border-right: 1px solid var(--line);
  z-index: 3;
}
.livebar__badge b { font: 700 15px/1 var(--mono); color: var(--mint); }
.livebar__badge small { font: 600 9px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); }
.livebar__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(53, 224, 161, .7);
  animation: pulse 2.2s infinite;
  margin-bottom: 4px;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(53, 224, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 224, 161, 0); }
}

.livebar__track { display: flex; gap: 0; flex: 1; min-width: 0; }
.livebar__fade {
  position: absolute; right: 0; top: 0; bottom: 0; width: 90px;
  background: linear-gradient(90deg, transparent, #09080e);
  pointer-events: none; z-index: 2;
}

.drop {
  position: relative;
  flex: none;
  width: 104px; height: 100%;
  display: grid; place-items: center;
  padding: 4px;
  border-right: 1px solid rgba(255, 255, 255, .04);
  background: linear-gradient(180deg, var(--rc-10), transparent 72%);
  overflow: hidden;
  animation: dropin .5s var(--ease-snap) backwards;
  cursor: default;
}
.drop::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--rc);
  box-shadow: 0 0 14px var(--rc);
}
.drop img {
  height: 62px; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6));
  transition: transform .3s var(--ease-snap);
}
.drop:hover img { transform: scale(1.1) translateY(-8px); }

/* подписи появляются только при наведении */
.drop__info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 5px 6px 6px;
  background: linear-gradient(180deg, transparent, rgba(6, 5, 10, .94) 45%);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.drop:hover .drop__info { opacity: 1; transform: none; }
.drop__info b {
  display: block;
  font: 700 9.5px/1.2 var(--body);
  color: var(--tx);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.drop__info span {
  display: block;
  font: 600 9px/1.3 var(--mono);
  color: var(--rc);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

@keyframes dropin {
  from { width: 0; opacity: 0; transform: translateY(-14px); }
  to   { width: 104px; opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- шапка ---- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  min-height: 112px;
  padding: 0 26px;
  background: linear-gradient(180deg, rgba(15, 12, 22, .94), rgba(9, 8, 14, .88));
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.topbar::after {                       /* цветная нить под шапкой */
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 47, 147, .55) 30%, rgba(53, 224, 161, .35) 70%, transparent);
}

.logo {
  position: relative;
  display: flex; align-items: center; gap: 5px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -.055em;
  color: #fff;
  flex: none;
  padding-right: 4px;
  transition: filter .3s var(--ease), transform .3s var(--ease-snap);
}
.logo__word { text-shadow: 0 2px 22px rgba(255, 47, 147, .28); }

/* Логотип-картинка. Файла нет — показывается прежняя надпись с луной.
   PNG уже с прозрачностью, поэтому никакого blend не нужно. */
.logo__img { display: none; }
.logo__text { display: flex; align-items: center; gap: 5px; }
.logo.has-img {
  position: relative;
  display: inline-flex;
}
.logo.has-img .logo__img {
  display: block;
  height: 86px; width: auto;
  filter: drop-shadow(0 0 22px rgba(255, 47, 147, .45));
  transition: transform .35s var(--ease-snap), filter .3s;
}
.logo.has-img .logo__text { display: none; }
.logo.has-img:hover .logo__img { transform: translateY(-2px) scale(1.03); filter: drop-shadow(0 0 30px rgba(255, 47, 147, .75)); }

/* Блик по логотипу: сам логотип работает маской, поэтому полоса света
   идёт строго по буквам, а не по прямоугольнику. Справа налево, изредка. */
.logo__shine { display: none; }
.logo.has-img .logo__shine {
  display: block;
  position: absolute; inset: 0;
  pointer-events: none;
  -webkit-mask: center / contain no-repeat url('../assets/logo.png');
  mask: center / contain no-repeat url('../assets/logo.png');
  background: linear-gradient(100deg,
    transparent 44%, rgba(255, 255, 255, .95) 50%, transparent 56%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 190% 0;
  animation: logoshine 7s var(--ease) infinite;
}
@keyframes logoshine {
  0%, 62%   { background-position: 190% 0; }
  88%, 100% { background-position: -90% 0; }
}
@media (prefers-reduced-motion: reduce) { .logo.has-img .logo__shine { animation: none; } }
.logo__moon {
  width: 46px; height: 46px;
  margin: 0 2px;
  filter: drop-shadow(0 0 16px rgba(255, 47, 147, .75));
  transition: transform .55s var(--ease-snap), filter .35s;
  animation: moonfloat 6s ease-in-out infinite;
}
@keyframes moonfloat { 50% { transform: translateY(-4px) rotate(-6deg); } }
.logo:hover { filter: drop-shadow(0 0 22px rgba(255, 47, 147, .35)); transform: translateY(-1px); }
.logo:hover .logo__moon { transform: rotate(-26deg) scale(1.14); filter: drop-shadow(0 0 26px rgba(255, 47, 147, 1)); }
.logo--sm { font-size: 17px; }
/* в подвале логотип тот же, только поменьше и без блика */
.footer__brand .logo.has-img .logo__img { height: 44px; }
.footer__brand .logo__shine { display: none; }
.logo--sm .logo__moon { width: 19px; height: 19px; animation: none; }

/* ------------------------------------------------------ главное меню ---- */

.nav {
  display: flex; align-items: center; gap: 8px;
  padding: 7px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.nav__link {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  height: 80px; padding: 0 17px 0 10px;
  font: 700 20px/1 var(--body);
  letter-spacing: -.02em;
  color: var(--tx-2);
  border: 1px solid transparent;
  border-radius: 15px;
  overflow: hidden;
  transition: color .2s, background .25s var(--ease), border-color .2s, box-shadow .25s, transform .18s var(--ease-snap);
}
.nav__link::before {                   /* мягкий блик снизу при наведении */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 20% 115%, rgba(255, 47, 147, .3), transparent 62%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.nav__link:hover::before { opacity: 1; }
.nav__link:active { transform: translateY(2px) scale(.985); }
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); }
.nav__link.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 47, 147, .3), rgba(255, 47, 147, .08));
  border-color: rgba(255, 47, 147, .5);
  box-shadow: 0 12px 34px -18px var(--pink), inset 0 1px 0 rgba(255, 255, 255, .14);
}
/* черты под подписью активного пункта нет — его видно по подсветке кнопки */
.nav__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 10px var(--warn);
  animation: blink 1.6s infinite;
}
.nav__dot.hidden { display: none; }
@keyframes blink { 50% { opacity: .25; } }

/* ------------------------------------------- иконки быстрого меню ---- */

.navicon {
  width: 68px; height: 68px;
  flex: none;
  object-fit: contain;
  /* PNG уже без фона — никакого blend и обрезки не требуется */
  transform: scale(1.18);
  margin: 0 -8px 0 -6px;
  filter: saturate(1.15) brightness(1.08) drop-shadow(0 4px 12px rgba(0, 0, 0, .5));
  transition: transform .35s var(--ease-snap), filter .25s;
}
.nav__link:hover .navicon { transform: scale(1.3) translateY(-2px); filter: saturate(1.35) brightness(1.25); }
.nav__link.is-active .navicon { filter: saturate(1.4) brightness(1.3) drop-shadow(0 0 14px rgba(255, 47, 147, .75)); }

/* ----------------------------------------------------------- кошелёк ---- */

.wallet { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.wallet > * { flex: none; }

.purse {
  display: flex; align-items: center; gap: 2px;
  padding: 5px;
  border-radius: 17px;
  background: linear-gradient(180deg, #1a1526, #110e1a);
  border: 1px solid #2e2740;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.topup {
  display: flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 18px;
  border-radius: 13px;
  color: #fff;
  font: 700 14px/1 var(--body);
  background: linear-gradient(180deg, #ff54a8, #ec1a7f 85%);
  box-shadow: 0 8px 22px -10px rgba(255, 47, 147, .95), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .18s var(--ease-snap), box-shadow .25s, filter .2s;
}
.topup .ic { width: 18px; height: 18px; }
.topup:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(255, 47, 147, 1); filter: brightness(1.07); }
.topup:active { transform: translateY(0) scale(.97); }

.wallet__sum {
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 18px 0 14px;
  border-radius: 13px;
}
/* Монета баланса — лунный полумесяц, без подложки */
.wallet__coin {
  width: 34px; height: 34px; flex: none;
  background: center / contain no-repeat url('../assets/moon.png');
  filter: drop-shadow(0 0 11px rgba(255, 47, 147, .6));
}
.wallet__sum b { font: 700 21px/1 var(--mono); color: var(--moon); letter-spacing: -.02em; white-space: nowrap; }
.wallet__sum b.bump { animation: bump .5s var(--ease-snap); }
@keyframes bump {
  40% { transform: scale(1.22); color: var(--mint); }
  100% { transform: scale(1); }
}

/* --------------------------------------------------- вход через Steam ---- */

.steamin {
  display: flex; align-items: center; gap: 10px;
  height: 62px; padding: 0 22px;
  border-radius: 16px;
  font: 700 15px/1 var(--body);
  color: #fff;
  background: linear-gradient(180deg, #2a4b7c, #16283f 90%);
  border: 1px solid #3c6096;
  box-shadow: 0 10px 26px -14px #4a8bd8, inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .18s var(--ease-snap), box-shadow .25s, filter .2s;
}
.steamin .ic { width: 22px; height: 22px; }
.steamin:hover { transform: translateY(-2px); filter: brightness(1.14); box-shadow: 0 14px 32px -14px #4a8bd8; }
.steamin:active { transform: translateY(0) scale(.97); }
.steamin.hidden, .me.hidden { display: none; }

/* ------------------------------------------------------------- игрок ---- */

.me {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  height: 62px; padding: 0 18px 0 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a1526, #110e1a);
  border: 1px solid #2e2740;
  transition: border-color .25s, box-shadow .25s, transform .2s var(--ease-snap);
}
.me__pic {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  overflow: hidden;
  display: grid; place-items: center;
  background: #0d0b13;
  border: 1px solid #332c48;
}
.me__pic img { width: 100%; height: 100%; object-fit: cover; }
.me__txt { display: grid; gap: 3px; min-width: 0; }
.me__txt b {
  font: 700 14.5px/1 var(--body);
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.me__txt small { font: 600 10.5px/1 var(--mono); color: var(--tx-3); letter-spacing: .06em; }
.me__lvl {
  position: absolute; left: 44px; bottom: 6px;
  min-width: 20px; padding: 2px 5px;
  border-radius: 6px;
  text-align: center;
  font: 800 10px/1.3 var(--mono);
  background: linear-gradient(180deg, #ff54a8, #ec1a7f); color: #fff;
  box-shadow: 0 3px 10px -3px var(--pink);
}
.me:hover { border-color: var(--pink); box-shadow: 0 0 22px -6px var(--pink); transform: translateY(-1px); }

/* ---------------------------------------------------------- контейнер ---- */

.view {
  position: relative; z-index: 10;
  max-width: 1460px;
  margin: 0 auto;
  padding: 30px 22px 90px;
  min-height: 60vh;
}

.page-head {
  display: flex; align-items: flex-end; gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.page-head p { margin: 6px 0 0; color: var(--tx-2); font-size: 13.5px; }

/* ------------------------------------------------------------ подвал ---- */

.footer {
  position: relative; z-index: 10;
  border-top: 1px solid var(--line);
  background: #09080e;
  padding: 34px 22px 26px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 26px 40px;
  max-width: 1460px;
  margin: 0 auto;
}
.footer__brand p { margin: 10px 0 0; color: var(--tx-3); font-size: 12.5px; max-width: 460px; }
.footer__stats { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer__stats div { display: flex; flex-direction: column; gap: 3px; }
.footer__stats b { font: 700 17px/1 var(--mono); color: var(--tx); }
.footer__stats span { font: 600 9.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--tx-3); }
.footer__note {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  color: var(--tx-3);
  font-size: 11.5px;
}

/* ------------------------------------------------- язык и валюта ---- */

/* Телеграм слева от выбора языка: тот же рост, что у соседей,
   квадратная кнопка — чтобы не спорила с кошельком за ширину */
.tgbtn {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #1a1526, #120f1b);
  border: 1px solid #2e2740;
  color: var(--tx-2);
  transition: border-color .2s, color .2s, transform .18s var(--ease-snap), box-shadow .2s;
}
.tgbtn .ic { width: 21px; height: 21px; }
.tgbtn:hover {
  color: #2aabee;
  border-color: #2aabee;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -18px #2aabee;
}
.tgbtn:focus-visible { outline: 2px solid #2aabee; outline-offset: 2px; }

.langbtn {
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 15px;
  border-radius: 13px;
  background: linear-gradient(180deg, #1a1526, #120f1b);
  border: 1px solid #2e2740;
  color: var(--tx-2);
  transition: border-color .2s, color .2s, transform .18s var(--ease-snap);
}
.langbtn:hover { color: var(--tx); border-color: #453c60; transform: translateY(-1px); }
.langbtn__sep { width: 1px; height: 16px; background: #332c48; }
.langbtn b { font: 700 13px/1 var(--mono); color: var(--tx); }
.langbtn small { font: 600 10.5px/1 var(--mono); color: var(--tx-3); }

.langmenu {
  position: absolute; top: calc(100% + 10px); right: 22px;
  z-index: 60;
  width: 268px;
  padding: 16px;
  display: grid; gap: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #17131f, #100d17);
  border: 1px solid #2e2740;
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .9);
  animation: langin .22s var(--ease);
}
@keyframes langin { from { opacity: 0; transform: translateY(-8px); } }

.langmenu__list { display: grid; gap: 4px; margin-top: 10px; }
.langmenu__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--tx-2);
  transition: background .18s, color .18s, border-color .18s;
}
.langmenu__item:hover { background: rgba(255, 255, 255, .05); color: var(--tx); }
.langmenu__item.is-on {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 47, 147, .22), rgba(255, 47, 147, .06));
  border-color: rgba(255, 47, 147, .4);
}
.langmenu__code {
  width: 34px; height: 26px;
  display: grid; place-items: center;
  border-radius: 7px;
  font: 700 11px/1 var(--mono);
  color: var(--tx-2);
  background: rgba(255, 255, 255, .05);
  border: 1px solid #2e2740;
}
.langmenu__item.is-on .langmenu__code { color: #fff; border-color: rgba(255, 47, 147, .5); background: rgba(255, 47, 147, .18); }
.langmenu__item b { flex: 1; font: 600 13.5px/1 var(--body); }
.langmenu__item small { font: 600 10px/1 var(--mono); color: var(--tx-3); }
.langmenu__group + .langmenu__group { border-top: 1px solid var(--line-soft); padding-top: 14px; }

/* ------------------------------------------------------------ адаптив ---- */

@media (max-width: 2079px) {
  .topbar { gap: 14px; padding: 0 16px; }
  .nav__link { height: 70px; padding: 0 19px 0 10px; font-size: 19px; gap: 10px; }
  .navicon { width: 62px; height: 62px; }
  .logo { font-size: 33px; }
  .logo__moon { width: 38px; height: 38px; }
  .logo.has-img .logo__img { height: 66px; }
  .me__txt b { max-width: 96px; }
}

@media (max-width: 1929px) {
  /* подписи в меню остаются — ужимаем всё остальное */
  .nav { padding: 4px; gap: 4px; }
  .nav__link { height: 62px; padding: 0 15px 0 8px; font-size: 17.5px; gap: 8px; border-radius: 13px; }
  .navicon { width: 50px; height: 50px; margin: 0 -6px 0 -4px; }
  .logo { font-size: 28px; }
  .logo__moon { width: 32px; height: 32px; }
  .logo.has-img .logo__img { height: 52px; }
  .topup span { display: none; }
  .topup { padding: 0 15px; }
  .langbtn small { display: none; }
  .langbtn { height: 46px; padding: 0 12px; }
  .tgbtn { width: 46px; height: 46px; }
  .wallet { gap: 8px; }
  .me { height: 56px; }
  .me__pic { width: 40px; height: 40px; }
  .me__lvl { left: 38px; }
  .steamin { height: 56px; padding: 0 16px; font-size: 14px; }
}

/* пять пунктов меню в одну строку с кошельком уже не влезают — меню уходит вниз */
@media (max-width: 1679px) {
  .topbar { flex-wrap: wrap; padding: 12px 14px; row-gap: 12px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .nav__link { height: 60px; font-size: 17px; }
  .nav__link .nav__label { display: inline; }
  .navicon { width: 48px; height: 48px; }
}

@media (max-width: 1150px) {
  .view { padding: 22px 14px 70px; }
  .footer { grid-template-columns: 1fr; }
  .livebar { height: 74px; }
  .drop { width: 92px; }
  .langmenu { right: 12px; }
  @keyframes dropin { from { width: 0; opacity: 0; } to { width: 92px; opacity: 1; } }
}

@media (max-width: 720px) {
  .logo { font-size: 26px; }
  .logo__moon { width: 30px; height: 30px; }
  .logo.has-img .logo__img { height: 42px; }
  .me__txt { display: none; }
  .me { padding: 0 8px; }
  .me__lvl { left: auto; right: 4px; bottom: 4px; }
  .steamin span { display: none; }
  .steamin { padding: 0 16px; }
  .wallet__sum { padding: 0 10px 0 8px; height: 44px; }
  .wallet__sum b { font-size: 17px; }
  .topup { height: 44px; }
  .nav__link { height: 52px; padding: 0 10px; font-size: 14px; }
  .navicon { width: 42px; height: 42px; }
  .page-head h1 { font-size: 23px; }
}

/* Пока настоящих дропов не было — лента не притворяется заполненной */
.livebar__empty {
  display: flex; align-items: center;
  padding: 0 22px;
  font: 600 11.5px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tx-3);
}

/* ------------------------------------------- шапка при прокрутке ---- */

/* Шапка липкая и едет вместе с игроком. Размеры при прокрутке не меняем:
   прыгающая панель сбивает прицел, когда листаешь каталог. */

/* ссылки на документы и сотрудничество в подвале */
.footer__links {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.footer__links a {
  font-size: 12.5px; color: var(--tx-3); text-decoration: none;
  transition: color .2s;
}
.footer__links a:hover { color: var(--pink-2); }
.footer__age {
  margin-left: auto;
  font: 700 11px/1 var(--mono); letter-spacing: .08em;
  color: var(--tx-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px;
}

/* ------------------------------------------ счётчики внизу подвала ---- */

.footer__stats {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}
.footer__stats .fstat { flex-direction: row; align-items: center; gap: 9px; }
.footer__stats .fstat b { font: 700 15px/1 var(--mono); }
.footer__stats .fstat span { font: 500 12.5px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--tx-3); }
.fstat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--tx-3)); box-shadow: 0 0 10px var(--c, transparent); }
.fstat--online  { --c: var(--mint); }
.fstat--players { --c: #7aa2ff; }
.fstat--opened  { --c: var(--pink); }
.fstat--upgrades { --c: var(--r-gold); }

/* --------------------------------- лента дропов — панель слева ---- */

/* На широком экране лента живёт в узкой колонке слева во всю высоту:
   ствол, скин и ник читаются без наведения. На планшете и телефоне
   остаётся прежняя горизонтальная полоса над шапкой. */
.drop__skin { display: none; }

@media (min-width: 1101px) {
  :root { --side: 124px; }
  body { padding-left: var(--side); }

  .livebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: var(--side); height: auto;
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    z-index: 45;
  }
  .livebar__badge {
    width: auto; height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .livebar__top { width: auto; height: 104px; flex: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .topdrop__img img { height: 62px; }

  .livebar__track { flex-direction: column; overflow: hidden; }
  .livebar__fade {
    left: 0; right: 0; top: auto; bottom: 0;
    width: auto; height: 110px;
    background: linear-gradient(180deg, transparent, #09080e);
  }
  .livebar__empty { padding: 18px 12px; line-height: 1.5; white-space: normal; font-size: 10px; }

  /* плитка: только картинка и полоска редкости снизу */
  .drop {
    width: auto; height: 78px;
    padding: 6px 8px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .045);
    background: linear-gradient(0deg, var(--rc-10), transparent 80%);
    animation: dropside .45s var(--ease-snap) backwards;
  }
  .drop::after { top: auto; bottom: 0; left: 0; right: 0; height: 2px; }
  .drop img { height: 54px; width: auto; max-width: 100%; }
  .drop:hover img { transform: scale(1.06) translateY(-10px); }

  /* подписи — только при наведении: ствол, скин, ник */
  .drop__info { padding: 14px 7px 7px; }
  .drop__info b { font: 700 9.5px/1.2 var(--body); letter-spacing: .03em; text-transform: uppercase; }
  .drop__skin {
    display: block;
    font: 500 10px/1.25 var(--body); color: var(--tx-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .drop__info span { font: 600 9px/1.4 var(--mono); }
}
@keyframes dropside {
  from { height: 0; opacity: 0; transform: translateY(-10px); }
  to   { height: 78px; opacity: 1; transform: none; }
}

/* ===== кнопка пополнения — всегда маленький квадрат с плюсом ===== */
.topup { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 12px; }
.topup span { display: none; }
.topup .ic { width: 18px; height: 18px; }

/* ===== лента дропов слева шире: топ-дроп виден целиком ===== */
@media (min-width: 1101px) {
  :root { --side: 172px; }
  /* ширина 210 px от горизонтальной ленты (pages.css) перебивала колонку,
     и топ-дроп обрезался справа — здесь правило сильнее */
  .livebar .livebar__top { width: auto; height: 128px; padding: 22px 10px 30px; }
  .topdrop__img { padding: 0; width: 100%; height: 100%; }
  .topdrop__img img { height: auto; max-height: 70px; max-width: 100%; object-fit: contain; }
  .topdrop__tag { top: 7px; left: 9px; }
  .drop { height: 86px; }
  .drop img { height: auto; max-height: 60px; max-width: 100%; object-fit: contain; }
  @keyframes dropside { from { height: 0; opacity: 0; transform: translateY(-10px); } to { height: 86px; opacity: 1; transform: none; } }
}

/* ===== лента дропов: без топ-дропа, крупные картинки, онлайн без точки ===== */
.livebar__top, .livebar .livebar__top { display: none !important; }
.livebar__pulse { display: none; }
.livebar__badge { gap: 4px; }
.livebar__badge b { font-size: 24px; }
.livebar__badge small { font-size: 10px; }
.drop img { max-height: 70px; }
@media (min-width: 1101px) {
  .livebar__badge { height: 72px; }
  .drop { height: 128px; padding: 6px 8px 12px; display: grid; place-items: center; }
  .drop img { height: auto; max-height: 112px; max-width: 100%; object-fit: contain; }
  @keyframes dropside { from { height: 0; opacity: 0; transform: translateY(-10px); } to { height: 128px; opacity: 1; transform: none; } }
}
