:root{
  --bg:#070b12;
  --card:#0e1624;
  --line:rgba(255,255,255,.08);
  --text:#eaf1ff;
  --muted:#9aa7b6;
  --red:#ff2a2a;
  --radius:18px;
  --page-max:1180px;
  --side-w:340px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  /* ГЛОБАЛЬНЫЙ фон на всю высоту страницы (важно для футера) */
  background:
    radial-gradient(1200px 700px at 50% 0%, #0d1b33 0%, rgba(7,11,18,0) 55%),
    radial-gradient(900px 520px at 15% 15%, rgba(0,255,200,.06), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(120,90,255,.08), transparent 60%),
    linear-gradient(180deg, #070b12 0%, #040812 100%);
  color:var(--text);
}

a{color:inherit}
.wrap{max-width:var(--page-max);margin:0 auto;padding:0 18px}

.small{font-size:12px;color:var(--muted)}
.h2{font-weight:900;font-size:18px;margin:0 0 12px}
.right{text-align:right}

.card{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.pad{padding:18px}
.mt{margin-top:18px}

/* ===================== TOPBAR ===================== */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
/* чтобы dropdown не резался */
.topbar, .topbar .wrap, .topbar__grid, .topbar_grid{ overflow: visible; }

.topbar__grid,
.topbar_grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items:center;
  gap:10px 14px;
  padding:14px 0;
}

.brand{display:flex;flex-direction:column;gap:2px}
.brand__logo{font-weight:900;letter-spacing:.6px}
.brand__sub{font-size:12px;color:var(--muted)}
.mvp{color:var(--red)}

.status{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

.topbar__right,
.topbar_right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.menu{
  grid-column:1 / -1;
  display:flex;
  justify-content:center;
  gap:16px;
  padding-bottom:6px;
  flex-wrap:wrap;
}
.menu a{
  text-decoration:none;
  font-size:13px;
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
}
.menu a:hover{background:rgba(255,255,255,.06);color:var(--text)}
.menu .is-active{color:var(--text);background:rgba(255,255,255,.06)}
.menu .is-disabled{opacity:.4;pointer-events:none}

.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  font-size:12px;
}
.pill__label{color:var(--muted)}
.pill__value{font-weight:800}

.lamp{
  width:10px;height:10px;border-radius:50%;
  background:#ff2a2a;
  box-shadow:0 0 10px rgba(255,42,42,.35);
}

.btn, .btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid var(--line);
  font-weight:800;
  font-size:13px;
}
.btn-primary{background:var(--red);border-color:transparent;color:#fff}
.btn-ghost{background:rgba(255,255,255,.03);color:var(--text)}
.btn-ghost:hover{background:rgba(255,255,255,.07)}

/* ===================== LANGUAGE SWITCH ===================== */
.langSwitch{ position:relative; display:inline-block; }
.langSwitch__btn{
  height:36px; line-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  font-weight:900; font-size:12px;
  cursor:pointer; user-select:none;
  display:flex; align-items:center; gap:6px;
}
.langSwitch__btn:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.14); }
.langSwitch__drop{
  display:none;
  position:absolute; right:0; top:100%;
  margin-top:0;
  min-width:92px;
  padding:8px;
  border-radius:14px;
  background:rgba(10,12,18,.96);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 46px rgba(0,0,0,.52);
  z-index:999999;
}
.langSwitch::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height:10px;
}
.langSwitch:hover .langSwitch__drop{ display:block; }
.langSwitch__item{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  text-decoration:none;
  color:rgba(255,255,255,.92);
  font-weight:900;
  font-size:12px;
}
.langSwitch__item:hover{ background:rgba(255,255,255,.08); }
.langSwitch__item.is-active{ background:rgba(255,255,255,.10); }

/* ===================== USER MENU ===================== */
.userMenu{ position:relative; display:inline-block; }
#userMenu{ position: relative; z-index: 100000; }

.userMenu_btn,
.userMenu__btn{
  height:36px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:0 12px 0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.92);
  cursor:pointer;
  user-select:none;
  line-height:36px;
}
.userMenu_btn:hover,
.userMenu__btn:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.14); }

.userMenu_avatar,
.userMenu__avatar{
  width:26px; height:26px;
  border-radius:50%;
  overflow:hidden;
  background:rgba(255,255,255,.10);
  flex:0 0 26px;
  border:1px solid rgba(255,255,255,.14);
}
.userMenu_avatar img,
.userMenu__avatar img{ width:100%; height:100%; object-fit:cover; display:block; }

.userMenu_name,
.userMenu__name{
  font-weight:900;
  font-size:13px;
  max-width:160px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  letter-spacing:.2px;
}
.userMenu_chev,
.userMenu__chev{ opacity:.75; font-size:12px; margin-left:2px; }

.userMenu_drop,
.userMenu__drop{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:360px;
  padding:10px;
  border-radius:16px;
  background:rgba(10,12,18,.96);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 46px rgba(0,0,0,.52);
  display:none;
  z-index:100002;
  white-space: normal;
}
.userMenu.is-open .userMenu_drop,
.userMenu.is-open .userMenu__drop{ display:flex; flex-direction:column; gap:6px; }

/* ссылки как кнопки */
.userMenu_drop a,
.userMenu__drop a{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:rgba(255,255,255,.92);
  font-weight:800;
  font-size:13px;
  line-height:1.2;
  background: transparent;
}
.userMenu_drop a:hover,
.userMenu__drop a:hover{ background: rgba(255,255,255,.08); }

.userMenu_drop hr,
.userMenu__drop hr{
  border:0;
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 6px 6px;
}
.userMenu_drop a[href*="logout"],
.userMenu__drop a[href*="logout"]{
  color: rgba(255,130,130,.95);
}
.userMenu_drop a[href*="logout"]:hover,
.userMenu__drop a[href*="logout"]:hover{
  background: rgba(255,70,70,.10);
}

/* ===================== HERO ===================== */
.hero{ padding:22px; margin-top:18px; overflow:hidden; }
.hero__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  flex-wrap:wrap;
}
.hero__title{margin:0 0 8px;font-size:28px;font-weight:900}
.hero__actions{display:flex;gap:10px;align-items:center}
.hero__line{
  margin-top:16px;
  border-top:1px solid var(--line);
  padding-top:16px;
}
.hero__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.heroBox{
  padding:14px;
  border-radius:14px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
  min-height:110px;
}
.heroBox__kicker{font-size:12px;color:var(--muted)}
.heroBox__title{font-weight:900;margin-top:6px;line-height:1.25}
.heroBox__text{margin-top:6px;font-size:13px;color:var(--muted);line-height:1.45}

/* ===================== LAYOUT (HOME / MATCHMAKING) ===================== */
.homeGrid{
  margin-top:18px;
  display:grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap:18px;
  align-items:start;
}
.homeMain, .homeSide{ min-width:0; }
.homeSide{ display:grid; gap:18px; position: sticky; top: 92px; }
.homeSide > .card{ margin-top:0 !important; }

/* ===================== TABLES ===================== */
.tablehead{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:10px;
}
.tablewrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:14px;
}
table{width:100%;border-collapse:collapse}
thead tr{background:rgba(255,255,255,.04)}
th,td{
  padding:10px;
  text-align:left;
  border-top:1px solid rgba(255,255,255,.06);
  white-space:nowrap;
}
thead th{border-top:none}

/* ===================== ONLINE PANEL ===================== */
.online-empty{ color: var(--muted); font-size: 12px; padding: 6px 2px; }

.onlinePanel__list{ display:grid; gap:10px; margin-top:12px; }
.onlineRow{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.onlineRow__ava{
  width:28px; height:28px;
  border-radius:10px;
  object-fit:cover;
  display:block;
  flex:0 0 28px;
}
.onlineRow__ava--ph{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
}
.onlineRow__name{
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* =========================
   Party dropdown (FULL UI)
========================= */
.partyHd{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.partyHd__title{ font-weight:900; }
.partyHd__pill{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  font-size:12px;font-weight:900;
}

.partyBody{ padding:12px; display:grid; gap:10px; }
.partyEmpty{ color:rgba(255,255,255,.65); font-size:13px; }

.partyRow{
  display:flex; align-items:center; gap:10px;
  padding:10px; border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.15);
  min-width:0;
}
.partyAva{
  width:34px; height:34px; border-radius:10px;
  overflow:hidden; flex:0 0 auto;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.partyAva img{ width:100%; height:100%; object-fit:cover; display:block; }
.partyName{
  font-weight:900;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  color:rgba(255,255,255,.92);
}
.partyMeta{ color:rgba(255,255,255,.60); font-size:12px; margin-top:2px; }
.partyBtns{ margin-left:auto; display:flex; gap:8px; flex-wrap:wrap; }

.partyBtn{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  padding:7px 10px;
  border-radius:12px;
  font-weight:900;
  font-size:12px;
  cursor:pointer;
  line-height:1;
}
.partyBtn:hover{ background:rgba(255,255,255,.10); }
.partyBtn.green{
  background: linear-gradient(90deg, #16c784, #38f2a3);
  border:0;
  color:#06120b;
}
.partyBtn.red{ border-color: rgba(255,80,80,.35); }

.partyCode{ display:flex; gap:10px; align-items:center; min-width:0; }
.partyCode input{
  flex:1;
  min-width:0;
  height:36px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.22) !important;
  color:rgba(255,255,255,.95) !important;
  padding:0 12px;
  font-weight:900;
  outline:none;
}
.partyCode input:focus{
  border-color: rgba(22,199,132,.45);
  box-shadow: 0 0 0 3px rgba(22,199,132,.12);
}

.partyInv{ border-top:1px solid rgba(255,255,255,.08); padding-top:10px; }
.partyInvTitle{
  font-weight:900;
  font-size:12px;
  color:rgba(255,255,255,.80);
  margin-bottom:8px;
}

.partyDrop__menu img{ max-width:100%; height:auto; }

/* popup friends list (одно определение, без дубля) */
.partyFriendsPop{
  position: fixed;
  z-index: 99999;
  width: 360px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,18,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.partyFriendsPop .partyInvTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.partyFriendsPop .partySearch input{
  width:100%;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  padding:0 12px;
  outline:none;
}

/* Challenge Join CTA */
#chJoinBtn.btnJoinCta{
  cursor:pointer;
  border:1px solid rgba(70,255,170,.35);
  background: linear-gradient(180deg, rgba(70,255,170,.22), rgba(70,255,170,.10));
  color: rgba(230,255,245,.98);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 0 1px rgba(70,255,170,.10) inset;
}
#chJoinBtn.btnJoinCta:hover{
  border-color: rgba(70,255,170,.55);
  background: linear-gradient(180deg, rgba(70,255,170,.30), rgba(70,255,170,.14));
  transform: translateY(-1px);
}
#chJoinBtn.btnJoinCta:active{ transform: translateY(0); }
#chJoinBtn.btnJoinCta[disabled],
#chJoinBtn.btnJoinCta.is-disabled{
  cursor:not-allowed;
  opacity:.55;
  filter:saturate(.7);
  box-shadow:none;
}
/* ===================== STICKY FOOTER (always at bottom) ===================== */
html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ВАЖНО: у страниц должен быть общий контейнер контента.
   Если у тебя есть <main> — отлично. Если нет — добавь класс bmMain на главный контейнер страницы. */
main, .bmMain{
  flex: 1 0 auto;
}

.bmFooter{
  flex-shrink: 0;
}
/* ===================== FOOTER (3 COLUMNS, CLEAN) ===================== */
.bmFooter{
  width:100%;
  padding:32px 0 18px;
  border-top:1px solid rgba(255,255,255,.06);
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(3,8,18,0.45));
}

.bmFooter__inner{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.bmFooter__top{
  display:grid;
  grid-template-columns: 1.35fr .85fr 1fr; /* Brand | Product | Community */
  gap:18px;
  align-items:start;
}

.bmFooter__brand{ min-width:0; }
.bmFooter__logoRow{ display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
.bmFooter__logo{ font-weight:900; letter-spacing:.4px; font-size:18px; line-height:1.1; color:rgba(255,255,255,.92); }
.bmFooter__logo span{ color:rgba(0,255,200,.95); }
.bmFooter__tag{ font-size:12.5px; color:rgba(255,255,255,.62); }

.bmFooter__note{
  font-size:12.5px;
  line-height:1.45;
  color:rgba(255,255,255,.70);
  max-width:520px;
}

.bmFooter__badges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.bmBadge{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.75);
}

.bmFooter__col{ min-width:0; }
.bmFooter__h{
  font-size:12px;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
  margin:2px 0 10px;
}
.bmFooter__h--mt{ margin-top:14px; }

.bmFooter__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}
.bmFooter__a{
  color:rgba(255,255,255,.82);
  text-decoration:none;
  font-size:13.5px;
}
.bmFooter__a:hover{ color:rgba(0,255,200,.95); }

.bmFooter__social{ display:flex; gap:8px; flex-wrap:wrap; }
.bmFooter__pill{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.85);
  text-decoration:none;
}
.bmFooter__pill:hover{
  border-color:rgba(0,255,200,.35);
  color:rgba(0,255,200,.95);
}

.bmFooter__support{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.bmFooter__dot{ opacity:.45; }

.bmFooter__bottom{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.05);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  font-size:12.5px;
  color:rgba(255,255,255,.55);
}

@media (max-width: 980px){
  .bmFooter__top{ grid-template-columns:1fr; }
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px){
  .homeGrid{ grid-template-columns:1fr; }
  .homeSide{ position: static; }
  .topbar__grid, .topbar_grid{ grid-template-columns:1fr; grid-template-rows:auto auto auto auto; }
  .status{ justify-content:flex-start; }
  .topbar__right, .topbar_right{ justify-content:flex-start; flex-wrap:wrap; }
  .menu{ justify-content:flex-start; }
  .hero__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .hero__grid{ grid-template-columns:1fr; }
  .userMenu_drop, .userMenu__drop{ min-width: 260px; }
}
.bmFooter__note{ max-width:520px; }
.bmFooter__top{ gap:16px; }
.bmFooter__list{ gap:7px; }
.bmFooter__h--mt{ margin-top:10px; }

/* ===== Sticky footer (footer always at bottom) ===== */
html, body { height: 100%; }
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.bmFooter{ margin-top: auto; }

/* ===================== HOW IT WORKS ===================== */
.hiwWrap{ padding:28px 18px 64px; }
.hiwHero{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  flex-wrap:wrap;
}
.hiwTitle{ margin:0; font-size:46px; font-weight:900; letter-spacing:-.6px; }
.hiwSub{ margin-top:10px; color:rgba(255,255,255,.70); max-width:720px; }
.hiwPills{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.hiwPill{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.82);
}
.hiwHero__right{ padding:16px; min-width:320px; }
.hiwMini__h{ font-weight:900; margin-bottom:8px; }
.hiwMini__line{ color:rgba(255,255,255,.88); font-size:13px; line-height:1.4; }
.hiwMini__note{ margin-top:8px; color:rgba(255,255,255,.62); font-size:12.5px; }

.hiwGrid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.hiwCard{ padding:16px; }
.hiwCard__h{ font-weight:900; margin-bottom:8px; }
.hiwCard__t{ color:rgba(255,255,255,.72); font-size:13.5px; line-height:1.45; }
.hiwA{ color:rgba(0,255,200,.95); text-decoration:none; }
.hiwA:hover{ text-decoration:underline; }

.hiwFAQ{ margin-top:18px; padding:18px; }
.hiwFAQ__h{ font-weight:900; margin-bottom:10px; }
.hiwQA{ padding:12px 0; border-top:1px solid rgba(255,255,255,.08); }
.hiwQA:first-of-type{ border-top:0; padding-top:0; }
.hiwQ{ font-weight:900; }
.hiwA2{ margin-top:6px; color:rgba(255,255,255,.70); font-size:13.5px; line-height:1.45; }

@media (max-width: 980px){
  .hiwGrid{ grid-template-columns: 1fr; }
  .hiwTitle{ font-size:38px; }
  .hiwHero__right{ min-width:0; width:100%; }
}
/* ===================== REPORT ISSUE ===================== */
.repWrap{ padding:28px 18px 64px; }
.repHero{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  flex-wrap:wrap;
}
.repTitle{ margin:0; font-size:46px; font-weight:900; letter-spacing:-.6px; }
.repSub{ margin-top:10px; color:rgba(255,255,255,.70); max-width:780px; }

.repTips{ padding:16px; min-width:320px; }
.repTips__h{ font-weight:900; margin-bottom:10px; }
.repTips__list{ margin:0; padding-left:18px; color:rgba(255,255,255,.68); font-size:13.5px; line-height:1.55; }

.repGrid{
  margin-top:18px;
  display:grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap:16px;
  align-items:start;
}
.repCard{ padding:16px; }
.repCard__h{ font-weight:900; margin-bottom:12px; }

.repOk{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(70,255,170,.25);
  background:rgba(70,255,170,.10);
  color:rgba(230,255,245,.96);
  margin-bottom:12px;
}
.repErr{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,80,80,.25);
  background:rgba(255,80,80,.10);
  color:rgba(255,220,220,.95);
  margin-bottom:12px;
}

.repForm{ display:grid; gap:12px; }
.repRow{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.repField{ min-width:0; }
.repField--full{ grid-column:1 / -1; }
.repLab{ display:block; font-weight:900; font-size:12px; color:rgba(255,255,255,.75); margin:0 0 6px; }

.repInp, .repSel, .repTa{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:rgba(255,255,255,.92);
  padding:10px 12px;
  outline:none;
}
.repInp:focus, .repSel:focus, .repTa:focus{
  border-color: rgba(0,255,200,.30);
  box-shadow: 0 0 0 3px rgba(0,255,200,.10);
}
.repTa{ resize:vertical; min-height:120px; }

.repMeta{
  margin-top:2px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.60);
  font-size:12.5px;
}
.repMeta__k{ color:rgba(255,255,255,.45); margin-right:6px; }

.repActions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:2px; }
.repNote{ color:rgba(255,255,255,.55); font-size:12.5px; margin-top:2px; }

.repQuick{ display:grid; gap:10px; }
.repQuick__a{
  display:block;
  text-decoration:none;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.repQuick__a:hover{ background:rgba(255,255,255,.06); }
.repQuick__t{ font-weight:900; }
.repQuick__s{ margin-top:4px; color:rgba(255,255,255,.60); font-size:12.5px; }

@media (max-width: 980px){
  .repGrid{ grid-template-columns:1fr; }
  .repRow{ grid-template-columns:1fr; }
  .repTitle{ font-size:38px; }
  .repTips{ width:100%; min-width:0; }
}
/* Report: make native select/options dark (best-effort) */
.repSel{
  color-scheme: dark;              /* важно для системных контролов */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%),
    linear-gradient(135deg, rgba(255,255,255,.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* options (работает не везде одинаково, но в Chrome обычно ок) */
.repSel option{
  background: #0b1220;
  color: rgba(255,255,255,.92);
}
.adWrap{max-width:1180px;margin:22px auto 70px;padding:0 18px;}
.adBar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:6px 0 14px;}
.adBarLeft{display:flex;align-items:center;gap:10px;}
.adBarTitle{font-size:18px;font-weight:900;letter-spacing:-.02em}
.adBarMe{padding:6px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.04);font-weight:800;font-size:12px}
.adBarNav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.adNavBtn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#eaf2ff;text-decoration:none;font-weight:900;font-size:12px}
.adNavBtn:hover{background:rgba(255,255,255,.07)}
.adNavBtn.is-active{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.22)}
/* --- FIX brand link underline + alignment --- */
.brand .brand__link,
.brand .brand__link:link,
.brand .brand__link:visited,
.brand .brand__link:hover,
.brand .brand__link:active{
  text-decoration: none !important;
  color: inherit !important;
}

.brand{
  display:flex;
  align-items:center;
}

.brand__link{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  line-height:1;
}

/* Bigger, clean logo */
.brand__logo{
  font-size:22px;
  font-weight:900;
  letter-spacing:.6px;
  line-height:1.05;
  margin:0;
}

/* subtitle compact */
.brand__sub{
  font-size:12px;
  opacity:.72;
  line-height:1.05;
  margin:0;
}
.donatePill{
  display:flex;
  align-items:center;
  gap:10px;

  padding:10px 18px;
  height:40px;                 /* такая же высота как у btn */
  border-radius:999px;

  white-space:nowrap;          /* убираем перенос текста */
  text-decoration:none;

  font-size:14px;
  font-weight:700;

  border:1px solid rgba(255,70,70,.35);
  background:rgba(255,70,70,.12);
  color:#fff;

  transition:.2s ease;
}

.donatePill:hover{
  background:rgba(255,70,70,.22);
  border-color:rgba(255,70,70,.6);
  transform:translateY(-1px);
}

.donatePill__icon{
  font-size:14px;
  color:#ff4d4d;
}

.donatePill__t{
  font-weight:700;
}

.donatePill__s{
  display:none; /* убираем вторую строку чтобы кнопка была ровной */
}
