/* ── Pons TV design system ────────────────────────────────
   мягкий тёмный индиго, фиолетовый глоу, скругления, Sora/Inter */
:root {
  /* ── Pons TV: палитра снята с фирменного кадра — кинескоп на светлом
     студийном фоне. Грунт #F0F0F0, корпус #242623, фосфор #00AF46. ── */
  --bg:        #F0F0F0;   /* студийный грунт */
  --panel:     #E7E8E5;   /* боковая рейка, подложки */
  --card:      #FFFFFF;   /* карточки */
  --input:     #FFFFFF;
  --stroke:    #D5D7D2;
  --stroke-2:  #C2C5BE;
  --stroke-3:  #DEDFDB;
  --stroke-lt: #B3B7AF;
  --accent:    #00AF46;   /* фосфор */
  --accent-hi: #2ECC6B;
  --accent-dk: #00762F;
  --mint:      #00AF46;
  --text:      #161815;
  --text-2:    #4F544E;
  --muted:     #7C827B;
  --dim:       #969B95;
  --live:      #00AF46;   /* в эфире = сигнал есть, тем же фосфором */
  --chassis:   #242623;   /* корпус телевизора */
  --screen:    #0E120F;   /* стекло экрана */
  --bloom:     #A2E6AD;   /* свечение */
  --wash:      #E4F4E5;
  --glow:      0 10px 40px rgba(0,175,70,0.10);
  --glow-btn:  0 6px 24px rgba(0,175,70,0.28);
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 7px;
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(1200px 500px at 15% -10%, rgba(0,175,70,0.07), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(162,230,173,0.04), transparent 60%);
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--stroke-2); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
input::placeholder { color: var(--dim); }

@keyframes livePulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: rgba(16,18,9,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke-3);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 34px;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,175,70,0.35)); }
.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
}
.brand-text span { color: var(--accent); }

.nav-tabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--stroke-3); border-radius: 999px; padding: 4px; }
.nav-tab {
  padding: 8px 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .15s;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.is-active { color: #FFFFFF; background: var(--accent); }

.header-search {
  flex: 1 1 120px;
  min-width: 90px;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color .15s, box-shadow .15s;
}
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,175,70,0.14); }
.header-search span { color: var(--dim); font-size: 14px; }
.header-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.balance-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}
.balance-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.balance-pill b { color: var(--text); font-weight: 600; }
.balance-pill span { color: var(--muted); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-md);
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #FFFFFF;
  padding: 11px 22px;
  box-shadow: var(--glow-btn);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,175,70,0.4); }
.btn-primary:disabled {
  background: var(--input);
  color: var(--dim);
  border: 1px solid var(--stroke);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke-lt);
  padding: 11px 22px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hi); }

.btn-wallet {
  background: var(--input);
  color: var(--text);
  border: 1px solid var(--stroke-lt);
  border-radius: var(--r-md);
  padding: 11px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.btn-wallet:hover { border-color: var(--accent); color: var(--accent-hi); }
.btn-wallet.is-connected {
  font-family: var(--font-mono);
  color: var(--accent-hi);
  border-color: var(--accent);
  background: rgba(0,175,70,0.08);
}

/* ── LIVE badge / pulse ───────────────────────────────────── */
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  display: inline-block;
  animation: livePulse 1.6s infinite;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--live);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 18px rgba(255,84,112,0.4);
}
.live-badge .pulse-dot { background: #fff; }

/* ── Home layout ──────────────────────────────────────────── */
.home-layout { display: flex; flex: 1; min-height: 0; }

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--panel);
  border-right: 1px solid var(--stroke-3);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 12px;
}
.sidebar-head .sq { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.sidebar-head span:last-child {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.side-ch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: background .12s;
}
.side-ch:hover { background: var(--card); }
.side-ch .avatar {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: #FFFFFF;
  flex-shrink: 0;
}
.side-ch .info { flex: 1; min-width: 0; }
.side-ch .name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-ch .cat  { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-ch .meta { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.side-ch .meta .n { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.side-ch .meta .pulse-dot { width: 6px; height: 6px; }
.sidebar-empty { padding: 8px 10px; font-size: 12px; color: var(--dim); }

.hold-note {
  margin-top: auto;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(139,123,255,0.10), rgba(52,230,200,0.05)), var(--card);
  overflow: hidden;
}
.hold-note .bar { height: 3px; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.hold-note .body { padding: 16px; }
.hold-note .title { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.hold-note .text { font-size: 12px; color: var(--muted); line-height: 1.65; }
.hold-note .text b { color: var(--accent-hi); font-family: var(--font-mono); font-weight: 600; }

.home-main { flex: 1; min-width: 0; padding: 30px 34px 60px; overflow: auto; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 36px;
  min-height: 290px;
  box-shadow: var(--glow);
  background: var(--panel);
}
.hero-left {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(150deg, rgba(0,175,70,0.08), transparent 55%);
}
.hero-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-tag-solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.hero-tag-dim { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero-title span {
  background: linear-gradient(90deg, var(--accent-hi), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 40ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 8px; }
.hero-right {
  position: relative;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  min-height: 230px;
  background-color: var(--card);
}
.hero-right .live-badge { position: absolute; top: 16px; right: 16px; padding: 5px 14px; font-size: 12px; }
.hero-strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(11,10,20,0.82);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--stroke-3);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-strip .avatar {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  flex-shrink: 0;
}
.hero-strip .info { flex: 1; min-width: 0; }
.hero-strip .t { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-strip .s { font-size: 12px; color: var(--muted); }
.hero-strip .v { font-family: var(--font-mono); font-size: 12px; color: var(--mint); white-space: nowrap; flex-shrink: 0; }

/* category chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  padding: 9px 20px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-hi); }
.chip.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: var(--glow-btn);
}

/* section head */
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-head .pulse-dot { width: 10px; height: 10px; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head .note { font-family: var(--font-mono); font-size: 12px; color: var(--dim); }

/* stream grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  cursor: pointer;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  transition: transform .15s, border-color .15s, box-shadow .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--glow); }
.card-media {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--stroke-3);
  overflow: hidden;
  background: var(--screen);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media .initials {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 56px;
  opacity: 0.85;
}
.card-media .live-badge { position: absolute; top: 10px; left: 10px; }
.card-media .viewers {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(11,10,20,0.8);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--text);
}
.card-media .cat-tag {
  position: absolute;
  bottom: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(11,10,20,0.8);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.card-body { display: flex; gap: 12px; padding: 14px 16px 16px; }
.card-body .avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: #FFFFFF;
  flex-shrink: 0;
}
.card-body .txt { min-width: 0; }
.card-body .title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-body .name { font-size: 13px; color: var(--accent-hi); font-weight: 600; margin-top: 3px; }
.card-body .addr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 3px;
  cursor: copy;
}
.card-body .addr:hover { color: var(--muted); }

.no-streams {
  grid-column: 1 / -1;
  border: 1px dashed var(--stroke-2);
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 52px 24px;
  text-align: center;
  color: var(--muted);
}
.no-streams b { color: var(--text); display: block; margin-top: 6px; font-family: var(--font-head); }

/* ── Leaderboard (эпохи, ТЗ п.6) ─────────────────────────── */
.lb-wrap {
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--glow);
}
.lb-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--stroke-3);
  background: linear-gradient(120deg, rgba(0,175,70,0.08), transparent 60%);
  flex-wrap: wrap;
}
.lb-head h2 { margin: 0; font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.lb-head .epoch {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-hi);
  background: rgba(0,175,70,0.10);
  border: 1px solid var(--stroke-2);
  border-radius: 999px;
  padding: 5px 14px;
}
.lb-head .note { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); margin-left: auto; }
.lb-rows { display: flex; flex-direction: column; }
.lb-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--stroke-3);
  cursor: pointer;
  transition: background .12s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--card); }
.lb-row .rank {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  width: 34px;
  color: var(--dim);
}
.lb-row:nth-child(1) .rank { color: #ffd76a; }
.lb-row:nth-child(2) .rank { color: #cfd6e4; }
.lb-row:nth-child(3) .rank { color: #d9a05b; }
.lb-row .avatar {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; color: #FFFFFF;
  flex-shrink: 0;
}
.lb-row .who { flex: 1; min-width: 0; }
.lb-row .who .nm { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row .who .tk { font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.lb-row .vol { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.lb-row .share {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
  background: rgba(162,230,173,0.09);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.lb-bar { height: 4px; background: var(--input); border-radius: 4px; overflow: hidden; width: 120px; flex-shrink: 0; }
.lb-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.lb-empty { padding: 26px 22px; color: var(--dim); font-size: 13.5px; }

/* ── Stream page ──────────────────────────────────────────── */
.stream-layout { display: flex; flex: 1; min-height: 0; height: calc(100vh - 68px); }
.player-col { flex: 1; min-width: 0; overflow: auto; display: flex; flex-direction: column; }

.player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  max-height: 66vh;
  background: var(--screen);
  border-bottom: 1px solid var(--stroke-3);
  flex-shrink: 0;
}
.player-video { width: 100%; height: 100%; display: block; background: #000; }
.player-wrap .live-badge { position: absolute; top: 16px; left: 16px; padding: 5px 14px; font-size: 12px; z-index: 3; }

.player-offline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  background: radial-gradient(600px 300px at 50% 40%, rgba(0,175,70,0.06), transparent), var(--screen);
  z-index: 2;
}
.player-offline .t { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 6px; }

.player-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 54px;
  background: linear-gradient(transparent, rgba(8,7,15,0.95));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  z-index: 4;
}
.pc-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 8px;
}
.pc-btn:hover { color: var(--accent-hi); }
.pc-spacer { flex: 1; }
.pc-note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.pc-live {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--live);
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.mute-wrap { position: relative; display: flex; align-items: center; }
.vol-pop {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  padding: 12px 10px;
  box-shadow: var(--glow);
}
.vol-range {
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  width: 24px;
  height: 90px;
  accent-color: #22a7f5;
}

/* stream info */
.stream-info { padding: 26px 30px 50px; display: flex; flex-direction: column; gap: 20px; }
.stream-head { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.stream-head .avatar {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: #FFFFFF;
  border: 2px solid var(--accent);
  box-shadow: var(--glow-btn);
  flex-shrink: 0;
}
.stream-head .main { flex: 1; min-width: 240px; }
.stream-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.stream-meta { display: flex; align-items: center; gap: 12px; margin-top: 7px; flex-wrap: wrap; }
.stream-meta .name { font-weight: 700; font-size: 14px; color: var(--accent-hi); }
.stream-meta .cat  { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.stream-meta .addr { font-family: var(--font-mono); font-size: 12px; color: var(--dim); cursor: copy; }
.stream-meta .addr:hover { color: var(--muted); }
.stream-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.viewers-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--live);
  font-weight: 600;
  white-space: nowrap;
}
.viewers-live .pulse-dot { width: 8px; height: 8px; }
.btn-follow {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #FFFFFF;
  border: none;
  border-radius: var(--r-md);
  padding: 11px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--glow-btn);
  transition: transform .12s;
}
.btn-follow:hover { transform: translateY(-1px); }
.btn-follow.is-following {
  background: var(--input);
  color: var(--accent-hi);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.desc-box {
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}
.desc-box .bar { height: 3px; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.desc-box .body { padding: 18px 22px; }
.desc-box .label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 10px;
}
.desc-box .text { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.desc-stats { display: flex; gap: 34px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--stroke-3); flex-wrap: wrap; }
.desc-stat .k { font-family: var(--font-head); font-size: 10px; color: var(--dim); font-weight: 700; letter-spacing: 0.1em; }
.desc-stat .v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; margin-top: 5px; }
.desc-stat .v.hl { color: var(--accent-hi); }
.desc-stat .v.mint { color: var(--mint); }

/* лента донатов */
.feed { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
  background: var(--input);
  border: 1px solid var(--stroke-3);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  animation: floatIn .3s ease;
}
.feed-row .amt { color: var(--mint); font-weight: 600; }
.feed-row .from { color: var(--muted); }
.feed-row a { margin-left: auto; font-size: 11px; }

/* chat */
.chat-col {
  width: 360px;
  flex-shrink: 0;
  background: var(--panel);
  border-left: 1px solid var(--stroke-3);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chat-header {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--stroke-3);
  flex-shrink: 0;
}
.chat-header .t {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-2);
}
.chat-header .v { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.chat-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 0;
}
.chat-msg { font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
.chat-msg .u { font-weight: 700; }
.chat-msg .sep { color: var(--dim); }
.chat-msg .m { color: var(--text-2); }
.chat-msg.is-donation {
  background: linear-gradient(120deg, rgba(162,230,173,0.10), rgba(0,175,70,0.08));
  border: 1px solid rgba(0,175,70,0.30);
  border-radius: var(--r-sm);
  padding: 9px 12px;
}
.chat-input-wrap {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--stroke-3);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.chat-form { display: flex; gap: 8px; }
.chat-form input {
  flex: 1;
  min-width: 0;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}
.chat-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,175,70,0.14); }
.chat-form input:disabled { opacity: 0.5; }
.chat-form button {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #FFFFFF;
  border: none;
  border-radius: var(--r-md);
  padding: 0 17px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.chat-form button:disabled { background: var(--input); color: var(--dim); cursor: not-allowed; }
.chat-hint { font-family: var(--font-mono); font-size: 10px; color: var(--dim); letter-spacing: 0.03em; }

/* ── Go Live page ─────────────────────────────────────────── */
.golive-main { flex: 1; width: 100%; max-width: 780px; margin: 0 auto; padding: 40px 24px 76px; }
.golive-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.golive-title span {
  background: linear-gradient(90deg, var(--accent-hi), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.golive-sub { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 28px; }

.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--card);
  margin-bottom: 22px;
  overflow: hidden;
}
.panel .bar { height: 3px; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.panel .body { padding: 22px 24px; }
.panel h3 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 14px;
}

.gate-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gate-stat { font-family: var(--font-mono); font-size: 14px; }
.gate-stat b { color: var(--accent-hi); }
.gate-ok  { color: var(--mint); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.gate-bad { color: var(--live); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }

.form-grid { display: flex; flex-direction: column; gap: 15px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 7px;
}
.form-field input, .form-field select {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,175,70,0.14); }

.key-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 13px 15px;
  margin-top: 10px;
}
.key-box code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mint);
  overflow-wrap: anywhere;
}
.obs-steps { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 2; }
.code-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 3px 12px;
  color: var(--accent-hi);
}
.check-status { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.check-status.err { color: var(--live); }

.spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--stroke-lt);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

/* split visual (70/20/10) */
.split-bar { display: flex; height: 46px; border-radius: var(--r-md); overflow: hidden; margin-top: 8px; }
.split-bar .s1 { width: 70%; background: linear-gradient(135deg, var(--accent), var(--accent-dk)); display:flex; align-items:center; justify-content:center; font-family: var(--font-head); font-weight:700; font-size:13px; color:#FFFFFF; }
.split-bar .s2 { width: 20%; background: var(--chassis); display:flex; align-items:center; justify-content:center; font-family: var(--font-head); font-weight:700; font-size:12px; color:var(--text-2); }
.split-bar .s3 { width: 10%; background: linear-gradient(135deg, var(--mint), var(--bloom)); display:flex; align-items:center; justify-content:center; font-family: var(--font-head); font-weight:700; font-size:12px; color:#FFFFFF; }
.split-legend { display:flex; gap:20px; margin-top:10px; font-family: var(--font-mono); font-size:11.5px; color: var(--muted); flex-wrap: wrap; }
.split-legend i { display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:6px; }

/* ── Wallet modal / popover ───────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,9,4,0.78); backdrop-filter: blur(6px); }
.modal__card {
  position: relative;
  width: min(410px, calc(100vw - 32px));
  margin: 15vh auto 0;
  background: var(--card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-lg);
  box-shadow: var(--glow);
  overflow: hidden;
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--stroke-3);
}
.modal__title { margin: 0; font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.modal__close { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; border-radius: 8px; }
.modal__close:hover { color: var(--text); }
.modal__body { padding: 20px; }
.modal__hint { font-size: 12px; color: var(--dim); margin: 14px 0 0; line-height: 1.55; }
.modal__error { font-size: 12px; color: var(--live); margin: 12px 0 0; }

.wallet-list { display: flex; flex-direction: column; gap: 9px; }
.wallet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 14px 15px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s;
}
.wallet-item:hover { border-color: var(--accent); }
.wallet-item:disabled { opacity: 0.6; cursor: wait; }
.wallet-item__icon { width: 24px; height: 24px; display: flex; flex-shrink: 0; }
.wallet-item__icon img { width: 24px; height: 24px; }

.wallet-pop {
  position: absolute;
  z-index: 90;
  display: none;
  background: var(--card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  padding: 13px 15px;
  min-width: 210px;
  box-shadow: var(--glow);
}
.wallet-pop.is-open { display: block; }
.wallet-pop__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.wallet-pop__row strong { color: var(--text); font-family: var(--font-head); }
.btn-disconnect {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--stroke-lt);
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 9px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.btn-disconnect:hover { border-color: var(--live); color: var(--live); }

/* donate modal */
.donate-amount { display: flex; gap: 8px; margin-top: 4px; }
.donate-amount input {
  flex: 1;
  min-width: 0;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  outline: none;
  font-family: var(--font-mono);
  font-size: 14px;
}
.donate-amount input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,175,70,0.14); }
.donate-quick { display: flex; gap: 8px; margin-top: 10px; }
.donate-quick button {
  flex: 1;
  background: var(--input);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text-2);
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: all .12s;
}
.donate-quick button:hover { border-color: var(--mint); color: var(--mint); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-top: 1px solid var(--stroke-3);
  background: var(--panel);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12px;
}
.site-footer img { width: 16px; height: 16px; opacity: 0.55; }
.site-footer a:hover img { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .sidebar { display: none; }
  .stream-layout { flex-direction: column; height: auto; }
  .chat-col { width: 100%; border-left: none; border-top: 1px solid var(--stroke-3); height: 60vh; }
  .header-search { display: none; }
  .balance-pill { display: none; }
  .nav-tabs { display: none; }
}

/* ── SVG-иконки ───────────────────────────────────────────── */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.pc-btn .icon { width: 19px; height: 19px; vertical-align: middle; }
.lb-head h2 .icon, .section-head .icon { color: var(--accent); width: 20px; height: 20px; }
.chat-form button .icon { width: 16px; height: 16px; vertical-align: middle; }
.feed-row .icon { color: var(--accent); }
.split-legend .icon { width: 12px; height: 12px; vertical-align: -1px; }
.check-status .icon, .gate-ok .icon, .gate-bad .icon { width: 15px; height: 15px; }

/* ── Донат-алерты поверх плеера ───────────────────────────── */
@keyframes alertIn {
  from { opacity: 0; transform: translateY(-26px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes alertOut {
  to { opacity: 0; transform: translateY(-18px) scale(0.95); }
}
@keyframes alertGlow {
  0%, 100% { box-shadow: 0 10px 44px rgba(0,175,70,0.30); }
  50%      { box-shadow: 0 10px 60px rgba(0,175,70,0.55); }
}
.alert-layer {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  width: max-content;
  max-width: 90%;
}
.donation-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(16,18,9,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 14px 24px;
  animation: alertIn .45s cubic-bezier(.2,1.4,.4,1), alertGlow 2s ease-in-out infinite .45s;
}
.donation-alert.out { animation: alertOut .4s ease forwards; }
.donation-alert .ic {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.donation-alert .ic .icon { width: 24px; height: 24px; }
.donation-alert .txt { display: flex; flex-direction: column; gap: 2px; }
.donation-alert .amt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  color: var(--accent);
  line-height: 1.1;
  white-space: nowrap;
}
.donation-alert .who { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ═══ Layout v2: своя структура, не как у прошлого проекта ═══ */

/* навигация-ссылки в шапке */
.nav-links { display: flex; gap: 26px; margin-left: 10px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--accent); }

/* hero на всю ширину с оверлеем по баннеру */
.hero-full {
  position: relative;
  min-height: 400px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--glow);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
}
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,15,9,0.55), rgba(14,15,9,0.88) 75%);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 56px 28px;
  max-width: 760px;
}
.hero-inner .hero-title { font-size: clamp(34px, 4vw, 54px); }
.hero-inner .hero-sub { max-width: 56ch; }
.hero-inner .hero-actions { justify-content: center; }
.hero-live-strip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16,18,9,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  padding: 10px 16px;
  cursor: pointer;
  max-width: 420px;
}
.hero-live-strip .t { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-live-strip .v { font-family: var(--font-mono); font-size: 11.5px; color: var(--mint); white-space: nowrap; }

/* контентная сетка: грид слева + липкая правая панель */
.page-main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 30px 64px; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 26px;
  align-items: start;
}
.rail { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.rail .lb-wrap { margin-bottom: 0; }
.rail .lb-head { padding: 15px 18px; flex-wrap: wrap; gap: 8px; }
.rail .lb-head h2 { font-size: 15px; }
.rail .lb-head .note { display: none; }
.rail .lb-row { padding: 11px 16px; gap: 10px; }
.rail .lb-bar { display: none; }
.rail .lb-row .vol { font-size: 12px; }
.rail .lb-row .share { font-size: 11px; padding: 3px 9px; }
.rail .hold-note { margin-top: 0; }

.rail-block {
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}
.rail-block .head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--stroke-3);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.rail-block .head .sq { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rail-block .sidebar-list { padding: 8px; }
.rail-block .sidebar-empty { padding: 14px 16px; }

/* тулбар секции: заголовок + поиск в одну линию */
.section-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.section-toolbar .section-head { margin-bottom: 0; }
.section-toolbar .header-search { margin: 0 0 0 auto; max-width: 300px; flex: 1 1 200px; }
.content-grid .grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* стрим: чат СЛЕВА, инфо-панели в два столбца */
.stream-layout.chat-left { flex-direction: row; }
.stream-layout.chat-left .chat-col { order: -1; border-left: none; border-right: 1px solid var(--stroke-3); width: 340px; }
.stream-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* go live: форма слева + липкая сводка справа */
.golive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 26px;
  align-items: start;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 76px;
  flex: 1;
}
.golive-rail { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

@media (max-width: 1080px) {
  .content-grid, .golive-grid { grid-template-columns: 1fr; }
  .rail, .golive-rail { position: static; }
  .stream-layout.chat-left { flex-direction: column; }
  .stream-layout.chat-left .chat-col { order: 1; width: 100%; border-right: none; border-top: 1px solid var(--stroke-3); height: 60vh; }
  .stream-cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* fixes v2 */
.hero-live-strip[hidden] { display: none; }
.rail .lb-row .vol { display: none; }
.rail .lb-row .who .nm { font-size: 13px; }

/* ═════════ LAYOUT v3: dock-shell, совсем другой скелет ═════════ */
:root { --dock-w: 64px; }

.shell { display: flex; min-height: 100vh; }

/* вертикальная рейка слева */
.dock {
  width: var(--dock-w);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--panel);
  border-right: 1px solid var(--stroke-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 18px;
  gap: 8px;
  z-index: 60;
}
.dock .logo { width: 40px; height: 34px; margin-bottom: 14px; }
.dock .logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,175,70,0.35)); }
.dock a.di {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: var(--dim);
  transition: all .15s;
  position: relative;
}
.dock a.di:hover { color: var(--text); background: var(--input); }
.dock a.di.is-active { color: #FFFFFF; background: var(--accent); box-shadow: var(--glow-btn); }
.dock a.di .icon { width: 21px; height: 21px; }
.dock .spacer { flex: 1; }
.dock .di-wallet {
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke-lt);
  background: var(--input);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  transition: all .15s;
}
.dock .di-wallet:hover { border-color: var(--accent); color: var(--accent); }
.dock .di-wallet.is-connected { border-color: var(--accent); color: var(--accent); }
.dock .di-wallet .icon { width: 20px; height: 20px; }

.shell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* бегущая строка-тикер */
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker {
  overflow: hidden;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 0;
  white-space: nowrap;
}
.ticker-track { display: inline-block; animation: tickerMove 28s linear infinite; }
.ticker-track span { margin: 0 26px; }

/* верхняя строка страницы */
.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 34px 6px;
  flex-wrap: wrap;
}
.topbar h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar h1 .pulse-dot { width: 10px; height: 10px; }
.topbar .header-search { margin: 0 0 0 auto; }
.topbar .btn-wallet { flex-shrink: 0; }

.page-body { padding: 18px 34px 60px; display: flex; flex-direction: column; gap: 26px; }

/* подиум лидерборда: топ-3 в ряд */
.podium-wrap { display: flex; flex-direction: column; gap: 12px; }
.podium-head { display: flex; align-items: center; gap: 12px; }
.podium-head h2 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.podium-head h2 .icon { color: var(--accent); width: 19px; height: 19px; }
.podium-head .epoch {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-hi);
  background: rgba(0,175,70,0.1); border: 1px solid var(--stroke-2);
  border-radius: 999px; padding: 4px 12px;
}
.podium-head .note { font-family: var(--font-mono); font-size: 11px; color: var(--dim); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.podium-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.podium-card:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.podium-card::after {
  content: attr(data-rank);
  position: absolute;
  right: 14px; top: 6px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 44px;
  color: rgba(0,175,70,0.10);
}
.podium-card.r1 { background: linear-gradient(140deg, rgba(0,175,70,0.16), transparent 60%), var(--card); }
.podium-card .avatar {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #FFFFFF;
  flex-shrink: 0;
}
.podium-card .nm { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium-card .st { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.podium-card .st b { color: var(--mint); font-weight: 600; }
.podium-empty {
  grid-column: 1 / -1;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  color: var(--dim);
  font-size: 13px;
}

/* стримы: строки-列表 вместо сетки */
.rows { display: flex; flex-direction: column; gap: 12px; }
.srow {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 12px;
  cursor: pointer;
  transition: transform .13s, box-shadow .2s;
}
.srow:hover { transform: translateX(4px); box-shadow: var(--glow); }
.srow .thumb {
  width: 218px;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--screen);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.srow .thumb img { width: 100%; height: 100%; object-fit: cover; }
.srow .thumb .initials { font-family: var(--font-head); font-weight: 900; font-size: 34px; opacity: .8; }
.srow .thumb .live-badge { position: absolute; top: 8px; left: 8px; font-size: 10px; padding: 3px 9px; }
.srow .mid { flex: 1; min-width: 0; }
.srow .title { font-weight: 700; font-size: 15.5px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.srow .sub { display: flex; align-items: center; gap: 12px; margin-top: 7px; flex-wrap: wrap; }
.srow .sub .name { color: var(--accent-hi); font-weight: 600; font-size: 13px; }
.srow .sub .addr { font-family: var(--font-mono); font-size: 11px; color: var(--dim); cursor: copy; }
.srow .sub .cat { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); background: var(--input); border-radius: 999px; padding: 3px 11px; letter-spacing: 0.05em; }
.srow .right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; padding-right: 10px; }
.srow .viewers { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.srow .viewers .icon { width: 15px; height: 15px; color: var(--muted); }
.no-streams-v3 {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 46px 24px;
  text-align: center;
  color: var(--muted);
}
.no-streams-v3 b { color: var(--text); display: block; margin-top: 6px; font-family: var(--font-head); font-size: 14px; }

/* ── stream page v3: чат прибит к высоте плеера ── */
.stage {
  position: relative;
  padding: 22px 34px 0;
}
.stage-inner { position: relative; }
.stage .player-wrap {
  margin-right: 396px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stroke-3);
  max-height: none;
}
.chat-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;   /* высота = ровно высота плеера */
  width: 380px;
  background: var(--panel);
  border: 1px solid var(--stroke-3);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.chat-panel .chat-header { flex-shrink: 0; }
.chat-panel .chat-list { flex: 1; min-height: 0; }
.chat-panel .chat-input-wrap { flex-shrink: 0; }

.below { padding: 20px 34px 8px; }
.title-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 14px 34px 56px;
  align-items: start;
}

@media (max-width: 1100px) {
  .podium { grid-template-columns: 1fr; }
  .stage .player-wrap { margin-right: 0; }
  .chat-panel { position: static; width: 100%; height: 55vh; margin-top: 16px; }
  .stats-row { grid-template-columns: 1fr; }
  .srow .thumb { width: 150px; }
  .srow .right { display: none; }
}

/* ═══ streams page v3.1: статс-полоса, featured, чипы с иконками ═══ */
.live-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.live-stats .stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 999px;
  padding: 10px 20px 10px 12px;
  font-size: 13px;
  color: var(--muted);
}
.live-stats .stat b { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--text); }
.live-stats .ic {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--input);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.live-stats .ic .icon { width: 15px; height: 15px; }
.live-stats .ic.live { color: var(--live); }
.live-stats .ic.mint { color: var(--accent); }

.chip { display: inline-flex; align-items: center; gap: 8px; }
.chip .icon { width: 14px; height: 14px; }

/* featured-карточка */
.featured {
  display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr;
  gap: 26px;
  background: linear-gradient(135deg, rgba(0,175,70,0.10), transparent 55%), var(--card);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 16px;
  transition: transform .15s, box-shadow .2s;
}
.featured:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.featured .fthumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--screen);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.featured .fthumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured .fthumb .initials { font-family: var(--font-head); font-weight: 900; font-size: 64px; opacity: .8; }
.featured .fthumb .live-badge { position: absolute; top: 12px; left: 12px; }
.featured .fview {
  position: absolute;
  bottom: 12px; left: 12px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(11,10,20,0.8);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}
.featured .fview .icon { width: 14px; height: 14px; color: var(--accent); }
.featured .fbody { padding: 26px 28px 26px 0; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.featured .ftag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; color: var(--accent);
  width: max-content;
}
.featured .ftag .icon { width: 13px; height: 13px; }
.featured .ftitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.featured .fsub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.featured .fsub .avatar {
  width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 10.5px; color: #FFFFFF;
}
.featured .fsub .name { color: var(--accent-hi); font-weight: 600; font-size: 13.5px; }
.featured .fsub .cat { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); background: var(--input); border-radius: 999px; padding: 4px 12px; letter-spacing: 0.05em; }
.featured .factions { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.featured .faddr { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); cursor: copy; }
.featured .faddr:hover { color: var(--muted); }

.no-streams-v3 .big-ic { color: var(--dim); margin-bottom: 14px; }
.no-streams-v3 .big-ic .icon { width: 46px; height: 46px; }
.no-streams-v3 .btn { text-decoration: none; }

@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured .fbody { padding: 0 22px 22px; }
}

/* ═══ Landing (home) ═══ */
.btn-xl { padding: 15px 30px; font-size: 15px; border-radius: 15px; }

.land-hero { position: relative; overflow: hidden; padding: 64px 44px 56px; }
.land-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 80% 20%, rgba(0,175,70,0.10), transparent 65%),
    radial-gradient(500px 300px at 10% 90%, rgba(162,230,173,0.05), transparent 60%);
  pointer-events: none;
}
.land-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.land-copy h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 20px 0 18px;
}
.land-copy h1 span {
  background: linear-gradient(90deg, var(--accent), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.land-copy p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 54ch; margin: 0 0 26px; }
.land-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.land-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.land-stats .ls { display: flex; flex-direction: column; gap: 3px; }
.land-stats .ls b { font-family: var(--font-mono); font-weight: 600; font-size: 19px; color: var(--accent); }
.land-stats .ls span { font-family: var(--font-mono); font-size: 10.5px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }

.land-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; }
@keyframes floatY { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
.land-art .glass {
  width: min(400px, 86%);
  animation: floatY 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(0,175,70,0.28)) drop-shadow(0 6px 18px rgba(0,0,0,0.45));
}
.land-art .orb {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,175,70,0.14), transparent 65%);
  filter: blur(6px);
}
.land-live-chip {
  position: absolute;
  bottom: 8px; right: 4px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(16,18,9,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-md);
  padding: 11px 16px;
  cursor: pointer;
  max-width: 320px;
  box-shadow: var(--glow);
}
.land-live-chip .min-w { min-width: 0; }
.land-live-chip .t { font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.land-live-chip .s { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-hi); }

.land-sec { padding: 34px 44px; max-width: 1280px; margin: 0 auto; width: 100%; }
.land-sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.land-sec-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 30px);
  display: flex; align-items: center; gap: 14px;
}
.land-sec-head h2 span:not(.pulse-dot) { color: var(--accent); }
.land-sec-head .note { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.land-sec-head .see-all { margin-left: auto; font-family: var(--font-mono); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform .15s, box-shadow .2s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.step .n {
  position: absolute;
  top: 6px; right: 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 52px;
  color: rgba(0,175,70,0.09);
}
.step .ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step .ic .icon { width: 22px; height: 22px; }
.step h3 { margin: 0 0 8px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.econ { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: 18px; align-items: stretch; }
.econ-split { background: var(--card); border-radius: var(--r-lg); padding: 26px; }
.econ-note { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 18px 0 0; }
.econ-note code { font-family: var(--font-mono); color: var(--accent-hi); font-size: 12px; }
.econ-cards { display: flex; flex-direction: column; gap: 18px; }
.econ-card {
  flex: 1;
  background: linear-gradient(140deg, rgba(0,175,70,0.09), transparent 60%), var(--card);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.econ-card .ic { color: var(--accent); }
.econ-card .ic .icon { width: 24px; height: 24px; }
.econ-card .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--dim); }
.econ-card .v { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.econ-card .v small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

.land-live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.land-live .srow { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.land-live .srow .thumb { width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.land-live .srow .mid { padding: 16px 18px 18px; }
.land-live .srow .right { display: none; }
.land-live .srow:hover { transform: translateY(-3px); }

.land-final {
  text-align: center;
  padding: 70px 24px 80px;
  position: relative;
  overflow: hidden;
}
.land-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(560px 300px at 50% 100%, rgba(0,175,70,0.12), transparent 70%);
  pointer-events: none;
}
.land-final .mark { width: 66px; margin-bottom: 20px; filter: drop-shadow(0 4px 18px rgba(0,175,70,0.4)); }
.land-final h2 { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 3vw, 40px); margin: 0 0 12px; }
.land-final h2 span { color: var(--accent); }
.land-final p { color: var(--muted); font-size: 15px; margin: 0 0 26px; }

@media (max-width: 1000px) {
  .land-hero-inner { grid-template-columns: 1fr; }
  .land-art { display: none; }
  .steps { grid-template-columns: 1fr; }
  .econ { grid-template-columns: 1fr; }
  .land-live { grid-template-columns: 1fr; }
}

/* ═══════════════ LIQUID GLASS v2 + ANIMATIONS ═══════════════ */
:root {
  --gold: #ffb347;
  --glass: rgba(255,255,255,0.78);
  --glass-2: rgba(255,255,255,0.88);
  --glass-brd: rgba(22,24,21,0.10);
  --glass-hi: rgba(255,255,255,0.9);
  --r-lg: 14px; --r-md: 10px; --r-sm: 7px;
}

/* фон: живые сине-бирюзовые орбы */
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(6vw,4vh) scale(1.15)} 66%{transform:translate(-4vw,7vh) scale(.9)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-7vw,-5vh) scale(1.2)} }
@keyframes hueShift { 0%,100%{filter:hue-rotate(0deg)} 50%{filter:hue-rotate(24deg)} }
body::before, body::after {
  content: ''; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(90px); opacity: .28;
}
body::before { width: 60vw; height: 60vw; left: -12vw; top: -18vh;
  background: radial-gradient(circle, rgba(0,175,70,0.20), transparent 62%);
  animation: orbFloat1 26s ease-in-out infinite, hueShift 18s ease-in-out infinite; }
body::after { width: 52vw; height: 52vw; right: -14vw; bottom: -22vh;
  background: radial-gradient(circle, rgba(162,230,173,0.40), transparent 62%);
  animation: orbFloat2 32s ease-in-out infinite; }
.shell, .shell-main, .page-main { position: relative; z-index: 1; }

/* стекло на всех панелях */
.dock, .site-header, .topbar,
.hero, .hero-full, .lb-wrap, .rail-block, .hold-note, .card, .srow, .featured,
.desc-box, .panel, .chat-panel, .chat-col, .modal__card, .wallet-pop,
.podium-card, .econ-split, .econ-card, .step, .land-live-chip,
.balance-pill, .header-search, .live-stats .stat, .chip, .nav-tabs, .code-pill {
  background: var(--glass) !important;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-brd);
  position: relative;
}
/* глянцевый блик сверху у карточек */
.card::before, .featured::before, .desc-box::before, .panel::before,
.podium-card::before, .step::before, .econ-card::before, .lb-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-hi), transparent 42%); opacity: .5;
}
.dock { border-radius: 0; }
.site-header, .topbar { background: rgba(240,240,240,0.82) !important; }

/* кнопки — жидкое стекло с бликом и свечением */
.btn-primary, .btn-follow, .chat-form button {
  background: linear-gradient(135deg, var(--accent-hi), var(--accent) 55%, var(--accent-dk)) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 26px rgba(0,175,70,0.45), inset 0 1px 0 rgba(255,255,255,0.5) !important;
  position: relative; overflow: hidden;
}
@keyframes sheen { 0%{transform:translateX(-140%)} 60%,100%{transform:translateX(240%)} }
.btn-primary::after, .btn-follow::after {
  content:''; position:absolute; top:0; left:0; width:40%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-140%); animation: sheen 4.5s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); }

/* hover-подъём + свечение у интерактивных карточек */
.card, .srow, .featured, .podium-card, .step, .side-ch, .lb-row, .econ-card, .chip, .nav-tab, .di, .di-wallet {
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .2s, background .2s;
}
.card:hover, .srow:hover, .featured:hover, .podium-card:hover, .step:hover, .econ-card:hover {
  border-color: rgba(0,175,70,0.5) !important;
  box-shadow: 0 18px 50px rgba(0,175,70,0.22), inset 0 1px 0 var(--glass-hi) !important;
}
.di.is-active, .chip.is-active, .nav-tab.is-active {
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-dk)) !important;
  color: #FFFFFF !important; box-shadow: 0 6px 20px rgba(0,175,70,0.5) !important;
}

/* анимированный градиентный текст */
@keyframes gradPan { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
.hero-title span, .land-copy h1 span, .golive-title span, .land-sec-head h2 span:not(.pulse-dot), .land-final h2 span {
  background: linear-gradient(90deg, var(--accent-hi), var(--mint), var(--accent-hi)) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  animation: gradPan 5s linear infinite;
}

/* тикер — стеклянный, синий */
.ticker { background: var(--chassis) !important; color: var(--bloom) !important; }

/* появление секций при скролле-имитации (плавный fade-up на загрузке) */
@keyframes riseIn { from{opacity:0; transform:translateY(26px)} to{opacity:1; transform:none} }
.land-sec, .land-hero, .land-final { animation: riseIn .8s cubic-bezier(.2,.7,.3,1) both; }
.land-sec:nth-of-type(3){animation-delay:.05s} .land-sec:nth-of-type(4){animation-delay:.1s} .land-sec:nth-of-type(5){animation-delay:.15s}

/* live-badge — пульс-свечение */
@keyframes liveGlow { 0%,100%{box-shadow:0 0 0 0 rgba(0,175,70,0.55)} 50%{box-shadow:0 0 0 8px rgba(0,175,70,0)} }
.live-badge { animation: liveGlow 2s ease-in-out infinite; }

/* маскот/лого — парение + сияние */
@keyframes floaty { 0%,100%{transform:translateY(-10px)} 50%{transform:translateY(12px)} }
@keyframes glowPulse { 0%,100%{filter:drop-shadow(0 20px 55px rgba(0,175,70,0.45))} 50%{filter:drop-shadow(0 20px 70px rgba(162,230,173,0.6))} }
.land-art .glass, .land-art .mascot { animation: floaty 6.5s ease-in-out infinite, glowPulse 4s ease-in-out infinite; }
.dock .logo img { transition: transform .4s; }
.dock .logo:hover img { transform: rotate(-8deg) scale(1.08); }

/* золотой акцент — секция реварды-в-стоках */
.stock-badge { color: #FFFFFF; background: linear-gradient(135deg, #ffd27a, var(--gold)); }

/* ── Stock rewards section ── */
.stock-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 12px; margin-bottom: 20px; }
@keyframes tickPulse { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.stock-chip {
  background: var(--glass-2); border: 1px solid var(--glass-brd);
  border-radius: 14px; padding: 14px 16px; position: relative; overflow: hidden;
  animation: tickPulse 3.5s ease-in-out infinite;
}
.stock-chip::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, var(--glass-hi), transparent 45%); opacity:.5; }
.stock-chip .sym { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.stock-chip .chg { font-family: var(--font-mono); font-size: 12.5px; margin-top: 5px; display:flex; align-items:center; gap:5px; }
.stock-chip .chg.up { color: var(--accent-dk); } .stock-chip .chg.down { color: #C0392F; }
.stock-chip .spark { position:absolute; right:12px; bottom:10px; width:44px; height:20px; opacity:.55; }
.stock-cta { display:flex; align-items:center; gap:16px; margin-top:18px; flex-wrap:wrap; }
.stock-hint { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }


/* ── панель клейма награды эпохи ── */
.claim-panel {
  margin-top: 16px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--wash); border: 1px solid rgba(0,175,70,0.28);
  display: flex; flex-direction: column; gap: 12px;
}
.claim-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.claim-title { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.claim-rank {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dk);
}
.claim-body { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.claim-amount { font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.claim-amount span { font-size: 13px; color: var(--muted); font-weight: 500; }
.claim-note { flex: 1; min-width: 220px; font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.claim-panel .btn { flex: none; }


/* ── пилл с адресом контракта токена ── */
.ca-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: var(--chassis); border: 1px solid var(--chassis); color: #EDF3EE;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.ca-pill:hover { background: #3D3F3B; }
.ca-pill .ca-label { color: var(--bloom); letter-spacing: .13em; }
.ca-pill .ca-addr { color: #C9D3CA; }
.ca-pill.is-copied { background: var(--accent); border-color: var(--accent); }
.ca-pill.is-copied .ca-label, .ca-pill.is-copied .ca-addr { color: #fff; }


/* ── строки наград: по одной на каждый токен эпохи ── */
.claim-rows { display: flex; flex-wrap: wrap; gap: 8px; }
.claim-row {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 12px; border-radius: var(--r-sm);
  background: var(--card); border: 1px solid rgba(0,175,70,0.25);
}
.claim-row.is-pending { border-color: var(--stroke); opacity: .6; }
.claim-amt { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.claim-tok { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.claim-wait { font-family: var(--font-mono); font-size: 10px; color: var(--dim); letter-spacing: .06em; }
