:root {
  --blue: #e3b75a;
  --blue-dark: #c4922e;
  --ink: #f6f1e6;
  --muted: #c4b8a4;
  --faint: #9a8f7e;
  --line: rgba(227, 183, 90, 0.24);
  --bg: #090a0d;
  --card: #14161c;
  --red: #f07178;
  --green: #3dd68c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  --pop: 0 18px 48px rgba(0, 0, 0, 0.5);
  --radius: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.icon { width: 16px; height: 16px; display: block; flex: none; }
.icon.sm { width: 14px; height: 14px; }
.icon.xs { width: 12px; height: 12px; }
.icon.lg { width: 18px; height: 18px; }

.topbar {
  background: var(--card);
  border-bottom: 1px solid rgba(227, 183, 90, 0.16);
  height: 34px;
  font-size: 12px;
  color: var(--faint);
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar a,
.topbar .tg-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  margin: 0;
}
.topbar a:hover,
.topbar .tg-link:hover { text-decoration: underline; }
form { margin: 0; }
.topbar .sep { color: rgba(227, 183, 90, 0.28); }
.topbar .verify-link { display: inline-flex; align-items: center; gap: 2px; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--card);
  border-bottom: 1px solid rgba(227, 183, 90, 0.16);
  height: auto;
  min-height: 84px;
}
.header-inner {
  height: auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  margin-right: 8px;
}
.logo-mark {
  height: 66px;
  width: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
  display: block;
}
.nav-btn { text-decoration: none; }
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
  flex: none;
}
#ozet, #rakamlar, #arsiv { scroll-margin-top: 108px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-btn, .ghost-btn {
  background: none;
  border: 0;
  color: #e6dcc8;
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-btn:hover, .nav-item.is-open .nav-btn, .ghost-btn:hover { background: #1c1f28; }
.nav-btn .icon { color: var(--muted); }
.spacer { flex: 1; }

.search-form { display: flex; align-items: center; gap: 8px; }
.search-go { height: 36px; padding: 0 14px; flex: none; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 210px;
  height: 36px;
  padding: 0 10px;
  background: #1c1f28;
  border-radius: 8px;
  color: var(--faint);
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--ink);
}
.search kbd, .ai-keys kbd, .icon-kbd {
  border: 1px solid rgba(227, 183, 90, 0.22);
  background: var(--card);
  border-radius: 6px;
  min-width: 18px;
  height: 20px;
  padding: 0 5px;
  font-size: 12px;
  color: var(--muted);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.flag { width: 16px; height: 16px; display: block; }
.btn-login, .btn-primary, .pro-btn {
  background: var(--blue);
  color: #1a1408;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
}
.btn-login { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-login:hover, .btn-primary:hover, .pro-btn:hover { background: var(--blue-dark); }
.btn-primary { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.pro-btn {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(227, 183, 90, 0.35);
}

.banner {
  background: linear-gradient(90deg, #8a6a2a, var(--blue) 45%, #f0d48a 70%, var(--blue));
  color: #1a1408;
  text-align: center;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
}
.banner a {
  color: #1a1408;
  font-weight: 700;
  margin-left: 6px;
}

.main {
  --ink: #111827;
  --muted: #6b7280;
  --faint: #9ca3af;
  --card: #fff;
  --line: #e6e8ee;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  padding: 22px 0 96px;
  background: #fff;
  color: #111827;
}
.main .pill {
  background: #f3f4f6;
  color: #374151;
}
.main .pill:hover,
.main .pill.icon-only:hover { background: #e9ebef; color: #374151; }
.main .btn:hover { background: #f9fafb; color: #1f2937; }
.main .icon-btn:hover { background: #f3f4f6; color: #374151; }
.main .menu button:hover { background: #f4f6f8; }
.main .er-badge,
.main .delta { color: #374151; }
.main .delta.down { color: var(--red); }
.main .delta.up { color: var(--green); }
.main .summary-card p,
.main .entry-card p,
.main .prose p,
.main .offer p { color: #374151; }
.main .post:hover { box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06); }
.main .gate-lock { background: #f3f4f6; }
.main .steps li { border-top-color: #f3f4f6; }

.profile {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: start;
}
.profile > div:nth-child(2) { min-width: 0; }
.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: span 2;
  background: #000;
  border: 1px solid rgba(227, 183, 90, 0.75);
  box-shadow: 0 0 0 4px rgba(227, 183, 90, 0.12);
}
.profile h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.verified { color: #e3b75a; }
.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.tg-link:hover { text-decoration: underline; }
.desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink);
}
.desc em { font-style: normal; color: var(--blue); font-weight: 650; }
.bio-extra { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.show-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.show-more .icon { transition: transform 0.15s ease; }
.show-more.is-open .icon { transform: rotate(180deg); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill {
  border: 0;
  background: #1c1f28;
  color: #e6dcc8;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pill span { color: var(--muted); font-weight: 500; }
.pill:hover, .pill.icon-only:hover { background: #2a2e38; }
.pill.icon-only { padding: 5px 8px; color: var(--muted); }

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.btn {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-weight: 650;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn:hover { background: #1c1f28; border-color: rgba(227, 183, 90, 0.35); }
.btn.is-on {
  background: rgba(227, 183, 90, 0.12);
  border-color: rgba(227, 183, 90, 0.55);
  color: var(--blue);
}
.icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--faint);
  display: grid;
  place-items: center;
}
.icon-btn.bordered { border: 1px solid var(--line); background: var(--card); width: 36px; }
.icon-btn:hover { background: #1c1f28; color: #e6dcc8; }
.created {
  margin: 8px 0 0;
  text-align: right;
  color: var(--faint);
  font-size: 12px;
}
.pop-anchor { position: relative; }

.menu, .popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--pop);
  padding: 6px;
  z-index: 40;
}
.menu.align-left { left: 0; right: auto; }
.menu button {
  display: flex;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  align-items: center;
  gap: 8px;
}
.menu button:hover { background: #22262f; }
.menu button.danger { color: var(--red); }
.popover { width: 260px; padding: 12px; }
.popover p { margin: 0 0 8px; font-weight: 700; }
.popover textarea, .field input, .field textarea, .drawer textarea, .ai-form input {
  width: 100%;
  border: 1px solid rgba(227, 183, 90, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  background: var(--card);
}
.popover textarea:focus, .field input:focus, .field textarea:focus, .drawer textarea:focus, .ai-form input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 183, 90, 0.2);
}
.popover .btn-primary { margin-top: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.stat {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 150px;
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.stat-top { display: flex; gap: 10px; align-items: flex-start; }
.stat-top .ico { color: var(--muted); margin-top: 4px; }
.stat-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.info-btn {
  border: 0;
  background: none;
  color: #8d8374;
  padding: 0;
  display: inline-grid;
  place-items: center;
}
.info-btn:hover { color: var(--muted); }
.er-badge {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #e6dcc8;
}
.stat-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border-top: 1px solid rgba(227, 183, 90, 0.16);
  margin-top: 14px;
  padding-top: 10px;
}
.stat-split.cols-2 { grid-template-columns: repeat(2, 1fr); }
.delta { font-weight: 750; font-size: 14px; color: #e6dcc8; }
.delta.down { color: var(--red); }
.delta.up { color: var(--green); }
.delta-label {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}
.daily {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(227, 183, 90, 0.16);
  margin-top: 14px;
  padding-top: 12px;
  color: var(--muted);
}
.daily .ico { color: var(--muted); }
.daily strong { color: var(--ink); font-size: 18px; letter-spacing: -0.03em; }
.daily span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }

.stat.ads {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ads-title {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}
.beta {
  display: inline-flex;
  margin-left: 6px;
  background: rgba(227, 183, 90, 0.16);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: middle;
}
.gauge {
  position: relative;
  width: 118px;
  height: 118px;
  flex: none;
}
.gauge svg { width: 100%; height: 100%; display: block; }
.gauge-mid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 26px;
  pointer-events: none;
  line-height: 1;
}
.gauge-mid span { color: var(--blue); font-size: 11px; font-weight: 700; }
.gauge-mid strong { color: var(--blue); font-size: 22px; font-weight: 800; letter-spacing: -0.04em; margin-top: 2px; }
.gauge-side {
  position: absolute;
  right: 0;
  bottom: 8px;
  text-align: center;
  color: #8d8374;
  line-height: 1;
}
.gauge-side span { display: block; font-size: 10px; font-weight: 700; }
.gauge-side strong { display: block; margin-top: 1px; font-size: 15px; font-weight: 800; }
.gauge .pro-btn {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin-top: 18px;
  border-bottom: 1px solid rgba(227, 183, 90, 0.16);
}
.tab {
  background: none;
  border: 0;
  color: var(--muted);
  font-weight: 550;
  font-size: 14px;
  padding: 10px 2px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tab:hover { color: var(--ink); }
.tab .lock { color: #8d8374; }
.tab.is-active {
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--ink);
}
.tab.is-green { color: var(--green); font-weight: 650; }
.tab.is-green .icon { color: var(--green); }
.tab.is-green.is-active { box-shadow: inset 0 -2px 0 var(--green); }

.archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 14px;
}
.archive-title { display: flex; align-items: center; gap: 6px; min-width: 0; }
.archive-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.archive-count { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.archive-search .search { width: 220px; background: var(--card); border: 1px solid var(--line); }
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.post {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px 10px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.post:hover { border-color: rgba(227, 183, 90, 0.4); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.post-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.post-user { display: flex; gap: 8px; align-items: center; min-width: 0; }
.post-user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.post-user strong { display: block; font-size: 13px; font-weight: 750; }
.post-user em {
  display: flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
}
.post .icon-btn { width: 28px; height: 28px; }
.post-copy { margin-top: 10px; }
.post-copy p, .post-tail {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.post-win { margin: 12px 0 8px; font-size: 15px; font-weight: 800; }
.post-win-sub {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}
.post-ellipsis { margin: 8px 0 0; color: var(--faint); }
.ok {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  vertical-align: -3px;
}
.post-media {
  height: 132px;
  border-radius: 10px;
  margin: 8px 0;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.post-media.sport {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 42%),
    radial-gradient(circle at 72% 68%, rgba(250, 204, 21, 0.45), transparent 46%),
    linear-gradient(160deg, #1e3a5f, #0f766e 55%, #14532d);
}
.post-media.slot {
  background:
    radial-gradient(circle at 28% 30%, rgba(244, 114, 182, 0.45), transparent 42%),
    radial-gradient(circle at 70% 70%, rgba(250, 204, 21, 0.4), transparent 46%),
    linear-gradient(160deg, #4c1d95, #7c3aed 45%, #b45309);
}
.post-media .ph {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #9ca3af;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.post-hero {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 164px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
}
.post-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.post-hero .sub { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; }
.post-hero.friday {
  background:
    radial-gradient(circle at 18% 80%, rgba(251, 146, 60, 0.75), transparent 42%),
    radial-gradient(circle at 80% 18%, rgba(239, 68, 68, 0.55), transparent 40%),
    linear-gradient(180deg, #1c0a0a, #4c1010 42%, #120808);
}
.post-hero.pitch {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.5)),
    repeating-linear-gradient(90deg, #166534 0 26px, #15803d 26px 52px);
}
.post-hero.odds {
  background:
    radial-gradient(circle at 50% 120%, rgba(249, 115, 22, 0.7), transparent 46%),
    linear-gradient(180deg, #0b1020, #1e1b4b 58%, #111827);
}
.post-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  color: var(--faint);
  font-size: 12.5px;
}
.metrics { display: flex; align-items: center; gap: 10px; }
.metrics span { display: inline-flex; align-items: center; gap: 4px; }
.analitik {
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0;
  text-decoration: none;
}
.tweet-text {
  margin: 10px 0 0;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.45;
}
.post-photo {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
}
.archive-note {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.social-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.entry-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.entry-link:hover { text-decoration: underline; }
.summary-card h3, .entry-card h3, .prose h3, .offer h3 { margin: 0 0 8px; font-size: 18px; }
.summary-card p, .entry-card p, .prose p, .offer p { margin: 0 0 14px; color: #e6dcc8; }
.jump-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jump, .offer, .entry-card, .prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.jump {
  text-align: left;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jump strong { font-size: 15px; }
.jump span { color: var(--muted); font-size: 13px; }
.jump:hover, .offer:hover { border-color: rgba(227, 183, 90, 0.55); }
.summary-card, .entry-card, .prose { padding: 18px; }
.offer { padding: 16px; display: flex; flex-direction: column; }
.offer .btn, .offer .btn-primary, .entry-card .btn-primary, .prose .btn-primary { margin-top: auto; width: fit-content; }
a.btn-primary { display: inline-flex; align-items: center; text-decoration: none; }
.entry-url {
  display: block;
  margin: 0 0 16px;
  color: var(--blue);
  font-weight: 750;
  word-break: break-all;
}
.contact-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.contact-list a { color: var(--blue); font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.prose a { color: var(--blue); font-weight: 700; }
.comments {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 8px;
}
.comments h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.site-footer {
  background: #07080b;
  color: rgba(227, 183, 90, 0.22);
  padding: 32px 0 88px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.footer-links a { color: var(--blue); font-weight: 650; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { margin-top: 22px; color: #9ca3af; font-size: 13px; }
.analitik:hover { text-decoration: underline; }
.empty {
  margin: 8px 0 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.panel { padding-top: 18px; }
.panel-card, .gate-card, .verify-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.panel-card { padding: 8px 8px 4px; }
.panel-card h3, .verify-card h3 { margin: 8px 8px 4px; font-size: 16px; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
  padding: 8px;
  border-bottom: 1px solid rgba(227, 183, 90, 0.16);
}
.table td { padding: 16px 8px; color: var(--muted); }
.gate { padding: 28px 0 8px; }
.gate-card, .verify-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 22px;
  text-align: center;
}
.gate-card h3, .verify-card h3 { margin: 10px 0 6px; font-size: 18px; }
.gate-card p, .verify-card p { margin: 0 0 16px; color: var(--muted); }
.gate-lock, .verify-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.gate-lock { background: #1c1f28; color: var(--muted); }
.verify-badge { background: rgba(61, 214, 140, 0.12); color: var(--green); }
.steps { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; }
.steps li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #1c1f28;
  font-weight: 600;
}
.steps li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(61, 214, 140, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}

.feedback {
  position: fixed;
  top: 48%;
  right: 0;
  z-index: 40;
  transform: translateY(-50%);
  background: var(--blue);
  color: #1a1408;
  border: 0;
  border-radius: 8px 0 0 8px;
  padding: 14px 8px;
  font-weight: 700;
  font-size: 13px;
  writing-mode: vertical-rl;
  box-shadow: -4px 4px 16px rgba(227, 183, 90, 0.3);
}
.feedback:hover { background: var(--blue-dark); }
.drawer {
  position: fixed;
  right: 48px;
  top: 48%;
  transform: translateY(-50%);
  width: min(320px, calc(100% - 70px));
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--pop);
  padding: 14px;
  z-index: 50;
}
.drawer-head, .modal-head, .ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.drawer-head h3, .modal-head h3, .ai-head strong { margin: 0; font-size: 16px; }
.drawer textarea { min-height: 90px; resize: vertical; margin: 10px 0; }

.ai {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(460px, calc(100% - 24px));
}
.ai-panel {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--pop);
  padding: 14px;
}
.ai-panel > p { margin: 8px 0; color: var(--muted); font-size: 13px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ai-chips button {
  border: 1px solid var(--line);
  background: #1c1f28;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e6dcc8;
}
.ai-chips button:hover { border-color: rgba(227, 183, 90, 0.55); color: var(--blue); }
.ai-form { display: flex; gap: 8px; }
.ai-form .btn-primary { height: 40px; flex: none; }
.ai-answer {
  margin-top: 10px;
  background: rgba(227, 183, 90, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.ai-answer small { display: block; color: var(--faint); margin-bottom: 4px; }
.ai-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.ai-orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #1a1408;
  display: grid;
  place-items: center;
  flex: none;
}
.ai-keys { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal {
  width: min(440px, 100%);
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.modal.wide { width: min(780px, 100%); }
.modal-lead { margin: -6px 0 14px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-size: 13px; font-weight: 650; color: #e6dcc8; }
.linkish {
  display: inline-block;
  margin-top: 12px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-weight: 650;
}
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.plan h4 { margin: 0; font-size: 15px; }
.plan .price { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan ul { margin: 4px 0 12px; padding-left: 16px; color: #e6dcc8; font-size: 13px; }
.plan .btn, .plan .btn-primary { margin-top: auto; justify-content: center; }

.toasts {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(420px, calc(100% - 24px));
  pointer-events: none;
}
.toast {
  background: #07080b;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1020px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { grid-template-columns: 76px minmax(0, 1fr); }
  .actions, .created { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
  .created { text-align: left; }
  .nav { display: none; }
  .header { height: auto; }
  .header-inner {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 0 10px;
    row-gap: 8px;
  }
  .logo { margin-right: auto; font-size: 18px; }
  .spacer { display: none; }
  .btn-login {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    flex: none;
  }
  .search-form {
    flex: 1 1 100%;
    min-width: 0;
  }
  .search {
    width: auto;
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 800px) {
  .posts, .plans, .footer-grid, .jump-grid, .offer-list { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
  .archive-head { flex-wrap: wrap; }
  .search, .archive-search .search { width: auto; flex: 1; min-width: 0; }
  .search kbd, .ghost-btn span, .country-label { display: none; }
  .actions { flex-wrap: wrap; }
  .feedback { display: none; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .gauge { position: relative; right: auto; top: auto; transform: none; margin: 8px auto 0; }
  .ads-title { max-width: none; }
  .stat.ads { min-height: 0; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .logo { font-size: 16px; gap: 6px; }
  .logo-mark { height: 58px; }
  .search-go { padding: 0 12px; }
  .archive-head { align-items: stretch; }
  .archive-search { flex: 1 1 100%; }
  .archive-search .search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
