/* ═══════════════════════════════════════════════════════════════════
   wlpub.css — WLAP HIGH-EV: единое публичное оформление
   (фон-канвас + виньетка + глобальное меню + тикер реальных цен)
   Используется на: /speed, /leak (публичные страницы продукта)
   ═══════════════════════════════════════════════════════════════════ */

/* ───────── фон: канвас + виньетка (как на логине) ───────── */
#wlpub-cv {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}
.wlpub-vig {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30,58,138,.35), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(6,182,212,.12), transparent 55%),
    linear-gradient(180deg, rgba(7,13,26,.35), rgba(7,13,26,.6) 45%, rgba(7,13,26,.75));
}

/* контент страницы — поверх фона */
.card, .wrap, .box { position: relative; z-index: 5; }

/* ───────── глобальное меню (копия стилей base.html) ───────── */
#wl-topstrip {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 9000;
  cursor: pointer;
  background: linear-gradient(90deg, #3b82f6, #06b6d4 40%, #8b5cf6 70%, #ec4899);
  box-shadow: 0 0 8px rgba(59,130,246,.5);
}
#wl-topstrip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
}
#wl-topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 8999;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px 12px;
  padding-top: 14px;
  background: rgba(10, 16, 32, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 165, 250, .35);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transform: translateY(-105%);
  transition: transform .18s ease-out;
  border-radius: 0 0 14px 14px;
}
#wl-topstrip:hover + #wl-topnav,
#wl-topnav:hover,
#wl-topnav.wl-open {
  transform: translateY(0);
}
#wl-topnav .wl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
#wl-topnav .wl-chip:hover {
  background: rgba(59, 130, 246, .18);
  color: #fff;
}
#wl-topnav .wl-chip.wl-chosen {
  background: rgba(59, 130, 246, .25);
  color: #bfdbfe;
}
#wl-topnav .wl-sep {
  width: 1px;
  height: 22px;
  margin: 0 6px;
  background: rgba(148, 163, 184, .3);
  flex: 0 0 auto;
}
#wl-topnav .wl-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* переключатель языка в меню */
#wl-topnav .wl-lang {
  background: rgba(59, 130, 246, .12);
  color: #cbd5e1;
  border: 1px solid rgba(96, 165, 250, .25);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 7px;
  transition: background .15s;
}
#wl-topnav .wl-lang.on {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}
@media (max-width: 720px) {
  #wl-topnav { flex-wrap: wrap; }
  #wl-topnav .wl-right { margin-left: 0; width: 100%; justify-content: flex-end; }
}

/* ───────── тикер реальных цен (как на логине) ───────── */
.lq-ticker {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 4;
  height: 30px; overflow: hidden; white-space: nowrap;
  background: rgba(7,13,26,.82); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(96,165,250,.18);
  color: #e5e7eb; font-size: 12.5px; font-family: ui-monospace, Consolas, monospace;
  padding: 7px 0; line-height: 16px;
}
.lq-tk-inner { display: inline-block; animation: lq-tick 52s linear infinite; }
.lq-ticker .up { color: #4ade80; }
.lq-ticker .down { color: #f87171; }
.lq-ticker .flat { color: #94a3b8; }
@keyframes lq-tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}