/* ── CSS VARIABLES ── */
:root {
  --green: #16a34a;
  --green-dark: #0d2b15;
  --green-mid: #166534;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --bg: #f0f4f1;
  --card: #ffffff;
  --border: #e2e8e4;
  --text: #111827;
  --muted: #6b7280;
  --shadow: 0 2px 8px rgba(0, 0, 0, .07), 0 0 1px rgba(0, 0, 0, .06);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* ── HEADER ── */
header {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a4023 60%, #0f2f17 100%);
  color: #fff;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

header img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-text h1 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.header-text span {
  font-size: .72rem;
  color: #86efac;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 1px;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-badge {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .75rem;
  color: #bbf7d0;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ── PANEL (base) ── */
.panel {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ── ADS ── */
.ad-slot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  text-align: center;
  overflow: hidden;
}

.ad-slot ins {
  display: block;
  min-height: 50px;
}

ins.adsbygoogle:empty {
  display: none !important;
  min-height: 0 !important;
}

.ad-slot:has(ins.adsbygoogle:empty) {
  display: none !important;
}

/* ── MOBILE ── */
@media (max-width: 520px) {
  header {
    padding: 0 16px;
  }

  .header-text span {
    display: none;
  }
}
