:root {
  color-scheme: dark;
  --bg: #0a0a12;
  --text: #ececf4;
  --muted: #8a8a9c;
  --accent: #e63946;
  --line: rgba(255,255,255,.08);
  --card: #12121c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Segoe UI", system-ui, sans-serif; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 18px 8vw; border-bottom: 1px solid var(--line);
  background: rgba(10,10,18,.92); backdrop-filter: blur(16px);
}
.brand { font-weight: 800; letter-spacing: .22em; color: var(--accent); }
nav { display: flex; gap: 22px; color: var(--muted); font-size: 15px; font-weight: 550; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); }
.right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.status { display: none; }
.site-banner {
  margin: 0 0 28px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 650;
}
.site-banner.ok { color: #4cc85f; border-color: #4cc85f44; background: #4cc85f12; }
.site-banner.update { color: #f0c040; border-color: #f0c04044; background: #f0c04012; }
.site-banner.update-blue,
.site-banner.updating { color: #4ea3ff; border-color: transparent; background: transparent; padding: 0 0 8px; }
.site-banner.live { color: #4cc85f; border-color: transparent; background: transparent; padding: 0 0 8px; }
.site-banner.paused { color: #e63946; border-color: transparent; background: transparent; padding: 0 0 8px; }
.site-banner.loader { color: var(--accent); border-color: #e6394644; background: #e6394612; }
.game-status {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .02em;
}
.game-status.update-blue,
.game-status.updating { color: #4ea3ff; }
.game-status.live { color: #4cc85f; }
.game-status.paused { color: #e63946; }
.pf-notice {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e6394644;
  background: #e6394614;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}
.lang { background: transparent; border: 0; color: var(--muted); cursor: pointer; letter-spacing: .08em; font-weight: 700; font-size: 13px; }
.cur-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.cur-switch button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  min-width: 36px;
}
.cur-switch button.on {
  background: var(--accent);
  color: #fff;
}
.i18n-ru[hidden], .i18n-en[hidden] { display: none !important; }
.nav-account { font-size: 14px; color: var(--muted); }
.nav-account a { color: var(--muted); border-bottom: 1px dotted transparent; padding-bottom: 1px; }
.nav-account a:hover { color: var(--text); border-color: var(--accent); }
main { width: min(980px, calc(100% - 12vw)); margin: 0 auto; padding: 72px 0 80px; }
.kicker { color: var(--accent); letter-spacing: .06em; font-size: 14px; font-weight: 700; }
h1 { font-size: clamp(42px, 7vw, 84px); line-height: .95; letter-spacing: -.04em; margin: 12px 0 0; }
.lede { max-width: 640px; color: var(--muted); font-size: 18px; }
.actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
  border: 0; cursor: pointer; font: inherit;
  border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700;
}
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.prices article p, .plan p { color: var(--accent); font-size: 22px; font-weight: 800; margin-top: 6px; }
.plan {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px; color: inherit; font: inherit;
}
.plan:hover { border-color: #e6394666; }
.prices { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.modal {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center;
  background: rgba(6,6,12,.72); backdrop-filter: blur(10px);
}
.modal[hidden] { display: none; }
.sheet {
  width: min(520px, calc(100% - 32px));
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 24px 20px;
}
.sheet h2 { margin: 8px 0 0; font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--text); }
.sheet .lede { margin: 8px 0 0; font-size: 15px; }
.sheet .actions { margin-top: 22px; }
.pay-ways { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.pay-ways .btn { justify-content: center; width: 100%; min-height: 48px; padding: 0 12px; font-size: 15px; }
.pay-ways .btn.wide { grid-column: 1 / -1; }
.pay-ways .btn[hidden], #pay-free[hidden] { display: none !important; }
.pay-gates { display: grid; gap: 8px; margin-top: 16px; }
.pay-gate:hover { border-color: #e6394666; }
.pay-gate strong { font-size: 16px; font-weight: 750; }
.pay-copy span { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.keybox {
  margin-top: 22px; padding: 14px 16px; border-radius: 10px;
  background: #161622; border: 1px solid var(--line);
  font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em;
  word-break: break-all;
}
.pay-err { color: var(--accent); font-size: 14px; min-height: 18px; }
.pay-ok { color: #4cc85f; font-size: 14px; min-height: 18px; }
.pay-marks {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 16px; color: var(--muted); font-size: 13px;
}
.pay-icos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay-ico { width: 40px; height: 24px; display: block; border-radius: 5px; }
.pay-brand {
  width: 40px; height: 40px; border-radius: 10px; display: block; flex: 0 0 auto;
}
.pay-gate {
  display: grid; grid-template-columns: 40px 1fr; gap: 6px 12px; align-items: center;
  width: 100%; text-align: left; min-height: 64px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #161622; color: inherit; font: inherit; cursor: pointer;
}
.pay-gate .pay-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-gate .pay-icos { grid-column: 2; }
.pay-ways .pay-way { justify-content: flex-start; gap: 12px; }
.promo-row { display: flex; gap: 8px; margin-top: 16px; }
.promo-row input {
  flex: 1; min-height: 46px; padding: 0 14px;
  background: #161622; border: 1px solid var(--line);
  color: var(--text); border-radius: 10px; font: inherit;
}
section { margin-top: 80px; }
h2 { font-size: 16px; letter-spacing: .02em; font-weight: 650; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
article { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
article h3 { margin: 0 0 8px; }
article p, .steps, details p { color: var(--muted); margin: 0; }
.steps { padding-left: 18px; }
.steps li { margin: 10px 0; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 650; }
footer { padding: 28px 8vw 48px; color: var(--muted); font-size: 14px; }
.foot-legal {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  letter-spacing: 0; margin-bottom: 14px;
}
.foot-legal a { color: var(--muted); border-bottom: 1px dotted var(--line); }
.foot-legal a:hover { color: var(--text); }
.foot-social { letter-spacing: .04em; }
.legal-home .more { color: var(--accent); font-size: 14px; font-weight: 650; }
.shots {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.shot {
  position: relative;
  display: block; width: 100%; padding: 0; margin: 0;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: #08080e; cursor: zoom-in;
  color: inherit; font: inherit;
}
.shot-lg { grid-row: 1 / 3; }
.shot img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: 16 / 10;
  transition: transform .35s ease;
}
.shot-lg img { aspect-ratio: auto; min-height: 100%; }
.shot-empty { cursor: default; min-height: 160px; display: flex; align-items: flex-end; }
.shot-empty .shot-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--muted); font-size: 14px; font-weight: 650;
  border: 1px dashed var(--line); border-radius: 12px;
  background: repeating-linear-gradient(-45deg, #12121c, #12121c 10px, #0e0e16 10px, #0e0e16 20px);
}
.shot-lg.shot-empty { min-height: 340px; }
.shot span {
  position: absolute; left: 12px; bottom: 10px;
  padding: 4px 10px; border-radius: 8px;
  background: rgba(10,10,18,.78); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.shot-modal {
  background: rgba(4,4,8,.88);
  padding: 28px 18px;
}
.shot-modal img {
  max-width: min(1280px, 94vw);
  max-height: 88vh;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.shot-x {
  position: absolute; top: 18px; right: 22px;
  background: transparent; border: 0; color: var(--text);
  font-size: 32px; line-height: 1; cursor: pointer;
}
body[data-product="rust"] { --accent: #e07a3d; }
.hub-hero { padding-bottom: 8px; }
.game-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 72px;
}
.game-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 240px;
  transition: border-color .15s, transform .15s;
}
.game-card:hover { transform: translateY(-2px); }
.game-cs2:hover { border-color: #e6394666; }
.game-rust:hover { border-color: #e07a3d88; }
.game-tag {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .06em;
  font-weight: 700;
}
.game-card h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.game-copy { color: var(--muted); margin: 0; flex: 1; font-size: 16px; }
.game-open {
  align-self: flex-start;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.game-rust .game-open { background: #e07a3d; }
.game-combo { grid-column: 1 / -1; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text);
  transition: transform .18s, opacity .18s;
}
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-lock { overflow: hidden; }

@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  }
  .nav-toggle { display: inline-flex; }
  .brand { letter-spacing: .14em; }
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px;
    border-top: 1px solid var(--line);
  }
  header.nav-open nav { display: flex; }
  nav a {
    display: flex; align-items: center;
    min-height: 44px; padding: 8px 2px;
    font-size: 16px;
  }
  .right { gap: 8px; }
  .lang { min-width: 44px; min-height: 44px; }
  .nav-account { font-size: 13px; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-account a { display: inline; }
  main { width: calc(100% - 32px); padding: 36px 0 64px; }
  h1 { font-size: clamp(32px, 12vw, 52px); }
  .lede { font-size: 16px; }
  section { margin-top: 48px; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .game-pick { grid-template-columns: 1fr; margin: 20px 0 40px; }
  .game-card { min-height: 0; padding: 22px 18px 18px; }
  .game-combo { grid-column: auto; }
  .shots { grid-template-columns: 1fr; grid-template-rows: none; }
  .shot-lg { grid-row: auto; }
  .shot-lg.shot-empty { min-height: 220px; }
  .prices { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .promo-row { flex-direction: column; }
  .promo-row .btn { width: 100%; justify-content: center; }
  .sheet { width: calc(100% - 24px); padding: 22px 16px 16px; max-height: min(92vh, 720px); overflow: auto; }
  .pay-ways .btn { min-height: 48px; }
  .shot-modal { padding: 48px 10px 16px; }
  .shot-modal img { max-width: 100%; max-height: 80vh; }
  .shot-x { top: 8px; right: 12px; }
  footer {
    padding: 24px max(16px, env(safe-area-inset-left)) calc(28px + env(safe-area-inset-bottom));
  }
  .auth-wrap { margin: 28px auto !important; padding: 22px 18px !important; }
  .pf { margin: 28px auto !important; padding: 0 !important; }
  input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 520px) {
  .prices { grid-template-columns: 1fr; }
  .plan { padding: 16px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; justify-content: center; }
}

/* ─── Product page: system requirements + full feature catalog ─────────
   One panel, not two: specs sit in a two-column grid and the warning is a
   strip under them. Stretching a second card to match the table height was
   the empty red box. Extra 8vw padding is gone — this already lives in main. */
.specs {
  padding: 8px 0 4px;
}
.spec-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px 14px;
}
.spec-h {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
  text-transform: none;
}
.spec-table {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 28px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.spec-row:first-child { border-top: 0; padding-top: 2px; }
.spec-row dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}
.spec-row dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  text-align: right;
  min-width: 0;
}
.spec-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 9px 12px;
}
.spec-warn-i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}
.spec-warn > div { min-width: 0; }
.spec-warn-h {
  display: inline;
  margin: 0 6px 0 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}
.spec-warn-p {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.fx {
  padding: 12px 0 4px;
}
.fx h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.fx-cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px 8px;
  margin-bottom: 8px;
}
.fx-cat-h {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.fx-cat-h span,
.fx-cat-h em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}
.fx-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px 16px;
}
.fx-list li {
  position: relative;
  padding: 3px 0 3px 16px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.35;
}
.fx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
}
.fx-list li em {
  color: var(--muted);
  font-style: normal;
}
@media (min-width: 720px) {
  .spec-table { grid-template-columns: 1fr 1fr; }
  .spec-row:nth-child(2) { border-top: 0; padding-top: 2px; }
  .fx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .fx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.nade-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0;
}
.nade-tabs button {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: inherit; font-weight: 700; cursor: pointer;
}
.nade-tabs button.on {
  color: var(--text); background: var(--card); border-color: #4cc85f66;
}
.nade-author-h {
  grid-column: 1 / -1; margin: 14px 0 0; font-size: 15px;
  color: var(--muted); font-weight: 800; letter-spacing: .04em;
}
.nade-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
  margin: 28px 0 18px;
}
.nade-toolbar label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.nade-toolbar select {
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; min-height: 42px; padding: 0 12px; font: inherit;
}
.nade-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.nade-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0; overflow: hidden; cursor: pointer;
}
.nade-card.mine { border-color: #e6394666; }
.nade-card.official { border-color: #4cc85f55; }
.nade-card-body { padding: 12px 14px 14px; }
.nade-radar {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: #07080d;
}
.nade-end {
  position: absolute; z-index: 3; bottom: auto; right: auto;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: #000a; border-radius: 999px; padding: 2px 7px;
  pointer-events: none; white-space: nowrap; transform: translate(10px, 6px);
  max-width: 46%; overflow: hidden; text-overflow: ellipsis;
}
.nade-end.from { transform: translate(10px, -18px); }
.nade-picker {
  position: relative; width: min(420px, 100%); aspect-ratio: 1;
  margin: 12px 0 18px; border-radius: 12px; overflow: hidden;
  background: #07080d; cursor: crosshair; border: 1px solid var(--line);
  user-select: none; touch-action: none;
}
.nade-picker * { pointer-events: none; }
.nade-picker img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
  filter: saturate(1.12) contrast(1.12) brightness(1.08);
}
.nade-add { margin: 8px 0 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.nade-add h2 { margin: 0 0 8px; font-size: 22px; }
.nade-add-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
}
.nade-add-row label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.nade-toolbar select, .nade-toolbar input, .nade-add input, .nade-add select {
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; min-height: 42px; padding: 0 12px; font: inherit;
}
.nade-search { flex: 1 1 220px; min-width: 180px; }
.nade-search input { width: 100%; }
.nade-add input { min-width: 120px; }
.nade-code-wrap { flex: 1 1 240px; }
#nade-code {
  min-width: 220px; font-weight: 800;
}
.nade-add-pitch input[type=range] {
  min-width: 180px; height: 42px; padding: 0 4px; accent-color: #fff;
}
.nade-add-pitch b { color: var(--text); font-weight: 800; }
.nade-add .btn { align-self: end; min-height: 42px; padding: 0 18px; }
.nade-pin.from { color: #fff; }
.nade-pin.to {
  width: 13px; height: 13px; margin: -6px 0 0 -6px;
  background: transparent; border-color: currentColor;
}
.nade-pin.to::before, .nade-pin.to::after {
  content: ""; position: absolute; background: currentColor;
  box-shadow: 0 0 0 1px #0008;
}
.nade-pin.to::before { left: 50%; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; }
.nade-pin.to::after { top: 50%; left: -4px; right: -4px; height: 2px; margin-top: -1px; }
.nade-pin.abs { margin-left: -6px; margin-top: -6px; }
.nade-flight {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.nade-radar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; object-fit: cover;
  filter: saturate(1.12) contrast(1.12) brightness(1.08);
  pointer-events: none;
}
.nade-radar-empty { background: radial-gradient(circle at 40% 35%, #1a1d2a, #07080d); }
.nade-pin {
  position: absolute; width: 13px; height: 13px;
  margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #0008, 0 0 12px currentColor; z-index: 2;
}
.nade-dir {
  position: absolute; width: 2px; height: 18px;
  margin: -18px 0 0 -1px; background: #fff; transform-origin: 50% 100%;
  transform: rotate(var(--yaw, 0deg)); z-index: 1; opacity: .92;
  box-shadow: 0 0 6px #000;
}
.nade-pin.t-smoke, .nade-radar-empty.t-smoke { background: #c9d0d8; color: #c9d0d8; }
.nade-pin.t-flash, .nade-radar-empty.t-flash { background: #f4e56a; color: #f4e56a; }
.nade-pin.t-molotov, .nade-radar-empty.t-molotov { background: #ff5a1f; color: #ff5a1f; }
.nade-pin.t-he, .nade-radar-empty.t-he { background: #5bd36a; color: #5bd36a; }
.nade-pin.t-decoy, .nade-radar-empty.t-decoy { background: #6ec8ff; color: #6ec8ff; }
.nade-pin.to { background: transparent; }
.nade-type {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: #0009; border-radius: 999px; padding: 2px 7px;
}
#nade-lightbox {
  position: fixed; inset: 0; z-index: 80; background: #000000cc;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
#nade-lightbox[hidden] { display: none; }
.nade-lightbox-panel {
  width: min(760px, 96vw); background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; position: relative;
}
.nade-lightbox-panel h3 { margin: 14px 16px 4px; font-size: 22px; }
.nade-lightbox-panel p { margin: 0 16px 18px; color: var(--muted); }
.nade-lightbox-radar .nade-radar { aspect-ratio: 1; }
.nade-lightbox-x {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: #000a; color: #fff; font-size: 22px; cursor: pointer;
}
.nade-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #4cc85f; border: 1px solid #4cc85f66; border-radius: 999px;
  vertical-align: middle;
}
.nade-pager {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px; margin: 18px 0 36px;
}
.nade-pager[hidden] { display: none; }
.nade-page-btn {
  min-width: 40px; min-height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--text);
  font: inherit; font-weight: 700; cursor: pointer;
}
.nade-page-btn:hover:not(:disabled):not(.on) { border-color: #ffffff33; }
.nade-page-btn.on {
  border-color: var(--accent); color: #fff; background: #e6394618;
}
.nade-page-btn:disabled { opacity: .35; cursor: default; }
.nade-page-gap { color: var(--muted); padding: 0 4px; font-weight: 700; }
.nade-found { color: var(--muted); font-size: 13px; font-weight: 700; padding-bottom: 10px; }
.nade-found b { color: var(--text); }
.nade-card h3 { margin: 0 0 6px; font-size: 18px; }
.nade-meta, .nade-author { margin: 0; color: var(--muted); font-size: 13px; }
.nade-author { margin-top: 8px; }
.nade-card.dim { opacity: .42; }
.nade-card.saved { border-color: #6ec8ff66; }
.nade-votes {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
}
.nade-vote {
  min-height: 32px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: inherit; font-weight: 800; cursor: pointer;
}
.nade-vote.up.on { color: #4cc85f; border-color: #4cc85f66; }
.nade-vote.down.on { color: #e63946; border-color: #e6394666; }
.nade-score { min-width: 2.2ch; text-align: center; font-size: 14px; }
.nade-badge.saved { color: #6ec8ff; border-color: #6ec8ff66; }
.nade-card .btn { margin-top: 12px; min-height: 36px; }
.nade-empty { margin-top: 12px; }
.msg { min-height: 22px; font-weight: 700; margin: 0 0 12px; }
