:root {
  --bg: #090d16;
  --panel: #101626;
  --panel-2: #171f31;
  --line: #2a354f;
  --text: #e8edf8;
  --muted: #9caccc;
  --accent: #47f4c5;
  --accent-2: #14d19f;
  --warning: #ffd166;
  --danger: #ff6b8a;
  --shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #18223e 0%, transparent 34%),
    radial-gradient(circle at 90% 20%, #13392d 0%, transparent 35%),
    var(--bg);
  min-height: 100vh;
  position: relative;
}

.bg-lights {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(156, 172, 204, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(156, 172, 204, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 100%);
}

.shell {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d8ff;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(71, 244, 197, 0.56);
  background: rgba(71, 244, 197, 0.08);
  color: #ffffff;
}

.social-link:focus-visible {
  outline: 2px solid rgba(71, 244, 197, 0.75);
  outline-offset: 3px;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.brand {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  letter-spacing: 0.05em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.11em;
}

.nav {
  display: inline-flex;
  gap: 1.2rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav a:hover {
  color: #fff;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  color: #06271f;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.btn-ghost {
  color: #d8e6ff;
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(23, 31, 49, 0.9), rgba(16, 22, 38, 0.9));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge-live {
  color: #0c301f;
  background: linear-gradient(90deg, var(--accent), #91f8e0);
}

.badge-upcoming {
  color: #352703;
  background: linear-gradient(90deg, #ffd166, #ffefb0);
}

.badge-ended {
  color: #3d0915;
  background: linear-gradient(90deg, #ff6b8a, #f7a0b3);
}

.muted {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 0.35rem;
}

.section-head-row {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.section-head-row h2 {
  margin: 0.25rem 0 0;
}

.section-kicker {
  margin: 0;
  color: #aecbff;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.home-hero {
  margin-top: 1rem;
  padding: 1.3rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.home-hero h1 {
  margin: 0.3rem 0;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
}

.hero-wordmark {
  width: min(100%, 420px);
  height: auto;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(127, 255, 212, 0.18);
  border-radius: 14px;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.hero-stats article {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  min-height: 172px;
  position: relative;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-stats .label {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  right: 1rem;
  text-align: center;
  z-index: 2;
}

.hero-stats h2 {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
  font-family: Inconsolata, monospace;
  letter-spacing: 0.02em;
  color: #e8f1ff;
  z-index: 1;
}

.filters {
  display: inline-flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.competition-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.networks-strip {
  margin-top: 0.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 18, 30, 0.9);
}

.networks-strip-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.network-strip-grid {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 0.4rem;
}

.network-strip-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0.32rem 0.25rem;
  display: grid;
  place-items: center;
  gap: 0.2rem;
}

.network-strip-item img {
  width: 26px;
  height: 26px;
  display: block;
}

.network-strip-item span {
  margin: 0;
  color: #dbe7ff;
  font-size: 0.66rem;
  text-align: center;
  line-height: 1.1;
}

.competition-card {
  border: 1px solid var(--line);
  background: rgba(16, 22, 38, 0.95);
  border-radius: 12px;
  padding: 0.95rem;
}

.comp-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.competition-card h3 {
  margin: 0.6rem 0 0;
  font-size: 1.04rem;
}

.competition-card .meta {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.competition-card .kpis {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.competition-card .kpis article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  background: rgba(0, 0, 0, 0.2);
}

.competition-card .kpis p {
  margin: 0;
}

.competition-card .kpis p:first-child {
  color: var(--muted);
  font-size: 0.75rem;
}

.competition-card .kpis p:last-child {
  margin-top: 0.25rem;
  font-weight: 600;
}

.competition-card .card-foot {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.competition-card .end-date {
  color: var(--muted);
  font-size: 0.8rem;
}

.how-card,
.faq-card {
  margin-top: 0.9rem;
  padding: 1rem;
}

.how-card h3,
.faq-card h3 {
  margin: 0;
}

.how-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.how-grid article,
.faq-list article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.8rem;
}

.how-grid .step {
  margin: 0;
  color: #9de7d3;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.how-grid h4,
.faq-list h4 {
  margin: 0.42rem 0 0;
}

.how-grid p:last-child,
.faq-list p {
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-list {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.blog-section {
  margin-top: 0.9rem;
  padding: 1rem;
}

.blog-hero {
  grid-template-columns: 1fr;
}

.rp-hero {
  grid-template-columns: 1fr;
}

.rp-rule-list {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  color: #d5e4ff;
  display: grid;
  gap: 0.35rem;
}

.rp-stats-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.rp-stats-grid .card {
  padding: 0.9rem;
}

.hero-actions input {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #11192a;
  color: #e8edf8;
  padding: 0.6rem 0.85rem;
  font: inherit;
  min-width: 260px;
}

.blog-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.9rem;
}

.blog-card h2,
.blog-card h4 {
  margin: 0.45rem 0 0;
  font-size: 1rem;
}

.blog-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-card a {
  display: inline-block;
  margin-top: 0.6rem;
  color: #cde0ff;
  text-decoration: none;
}

.blog-card a:hover {
  text-decoration: underline;
}

.blog-meta {
  margin: 0;
  color: #9de7d3;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card {
  max-width: 860px;
  margin: 0 auto;
}

.article-content h2,
.article-content h3 {
  line-height: 1.35;
}

.article-content p {
  line-height: 1.72;
}

.article-content ul,
.article-content ol {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  color: var(--muted);
  line-height: 1.68;
}

.article-content li + li {
  margin-top: 0.32rem;
}

.article-content a {
  color: #cde4ff;
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.article-callout {
  margin-top: 0.95rem;
  border: 1px solid rgba(79, 225, 181, 0.34);
  border-radius: 12px;
  background: rgba(79, 225, 181, 0.08);
  padding: 0.8rem 0.9rem;
}

.article-callout p {
  margin: 0;
  color: #dff8f0;
  font-size: 0.9rem;
}

.article-toc {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.44rem 0.75rem;
}

.article-toc .section-kicker {
  margin: 0 0 0.1rem;
  grid-column: 1 / -1;
}

.article-toc a {
  color: #cfe1ff;
  font-size: 0.86rem;
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}

.article-table-wrap {
  margin-top: 0.78rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(6, 10, 20, 0.55);
}

.article-content th,
.article-content td {
  border-bottom: 1px solid var(--line);
  padding: 0.62rem 0.68rem;
  text-align: left;
  vertical-align: top;
  font-size: 0.86rem;
}

.article-content th {
  background: rgba(11, 18, 33, 0.86);
  color: #d8e8ff;
  font-weight: 600;
}

.article-content td {
  color: var(--muted);
}

.article-content tbody tr:last-child td {
  border-bottom: none;
}

.article-note {
  margin-top: 0.88rem;
  border: 1px dashed rgba(196, 213, 246, 0.34);
  border-radius: 12px;
  background: rgba(18, 26, 45, 0.58);
  padding: 0.74rem 0.8rem;
  color: #d8e5ff;
  font-size: 0.88rem;
  line-height: 1.62;
}

.article-figure {
  margin: 0.95rem 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.72rem;
}

.article-chart {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-figure figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

.article-figure-banner {
  padding: 0;
  border: none;
  background: transparent;
}

.article-figure-banner .article-chart {
  border-radius: 14px;
}

.article-disclaimer-banner {
  margin-top: 0.92rem;
  border: 2px solid rgba(53, 215, 196, 0.54);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(26, 54, 74, 0.84) 0%, rgba(29, 66, 88, 0.84) 100%);
  padding: 0.92rem 1rem;
  color: #d8f1ea;
  font-size: 0.84rem;
  line-height: 1.55;
}

.article-grid {
  margin-top: 0.84rem;
  display: grid;
  gap: 0.6rem;
}

.article-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.72rem;
}

.article-grid article h3 {
  margin: 0;
  font-size: 0.94rem;
}

.article-grid article p {
  margin: 0.48rem 0 0;
  font-size: 0.84rem;
  line-height: 1.58;
}

.hero {
  margin-top: 1.1rem;
  padding: 1.3rem;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hero h1 {
  margin: 0.3rem 0;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.countdown-box {
  min-width: 240px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.8rem;
}

.countdown-box p,
.countdown-box small {
  margin: 0;
  color: var(--muted);
}

.countdown-box strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-family: Inconsolata, monospace;
  letter-spacing: 0.05em;
}

.metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.metrics article {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 0.8rem;
}

.metrics h2 {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
}

.market-token-meta {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--muted);
  word-break: break-word;
}

.volume-track {
  margin-top: 1rem;
}

.track-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

.track-line {
  margin-top: 0.42rem;
  height: 11px;
  border-radius: 999px;
  background: #0e1321;
  border: 1px solid var(--line);
  overflow: hidden;
}

.track-line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 500ms ease;
}

.tabs {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab,
.sort-btn {
  border: 1px solid var(--line);
  background: #121a2a;
  color: #c8d5f2;
  border-radius: 999px;
  padding: 0.43rem 0.8rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.tab.active,
.sort-btn.active {
  border-color: rgba(71, 244, 197, 0.56);
  background: rgba(71, 244, 197, 0.14);
}

.panel {
  margin-top: 0.8rem;
  padding: 1rem;
  display: none;
}

.panel.active {
  display: block;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.panel-head h3 {
  margin: 0;
}

.sorters {
  display: inline-flex;
  gap: 0.45rem;
}

.sort-info {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #121a2a;
  color: #a9bfeb;
  border-radius: 999px;
  padding: 0.43rem 0.8rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  text-align: left;
  padding: 0.72rem;
  border-bottom: 1px solid rgba(156, 172, 204, 0.2);
}

th {
  font-size: 0.76rem;
  color: #a9bfeb;
  letter-spacing: 0.08em;
}

td {
  font-size: 0.9rem;
}

td a {
  color: #b8d3ff;
  text-decoration: none;
}

td a:hover {
  text-decoration: underline;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.reward-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem;
}

.reward-item p {
  margin: 0;
}

.reward-item .place {
  color: #b2c6ee;
  font-size: 0.76rem;
}

.reward-item .amount {
  margin-top: 0.35rem;
  font-size: 1.06rem;
  font-weight: 700;
}

.activity {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity li {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.55rem;
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.activity li span:last-child {
  color: var(--muted);
  font-size: 0.84rem;
}

.rules {
  margin-top: 0.8rem;
  padding: 1rem;
}

.rules h3 {
  margin-top: 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.rules-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
}

.rules-grid h4 {
  margin: 0;
  font-size: 0.95rem;
}

.rules-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  margin-top: 1.1rem;
  padding: 1.2rem 0 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-social-row {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.15rem;
}

.social-link-footer {
  width: 34px;
  height: 34px;
}

.social-link-footer svg {
  width: 16px;
  height: 16px;
}

.footer-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.footer-links {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link {
  color: #c7d8ff;
  text-decoration: none;
  font-size: 0.83rem;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.reward-zone.top {
  color: var(--accent);
}

.reward-zone.eligible {
  color: var(--warning);
}

.reward-zone.out {
  color: var(--danger);
}

.access-panel {
  margin-top: 0.85rem;
  padding: 1rem;
}

.access-panel h3 {
  margin: 0;
}

.access-panel .muted {
  margin: 0.35rem 0 0;
}

.access-panel label {
  display: block;
  margin-top: 0.55rem;
}

.access-panel input[type="text"],
.access-panel input:not([type]) {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11192a;
  color: #e8edf8;
  padding: 0.4rem 0.55rem;
  margin-left: 0.35rem;
}

.access-panel select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11192a;
  color: #e8edf8;
  padding: 0.4rem 0.55rem;
  margin-left: 0.35rem;
}

.access-panel a {
  color: #bfe1ff;
}

[hidden] {
  display: none !important;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.winner-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}

.winner-card h4 {
  margin: 0 0 0.6rem;
}

.mini-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
  max-width: 100%;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.mini-table th,
.mini-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(156, 172, 204, 0.2);
  font-size: 0.82rem;
}

.admin-card {
  margin-top: 1rem;
  padding: 1rem;
}

.admin-tabs {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.2rem;
  background: rgba(10, 14, 26, 0.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(156, 172, 204, 0.12);
}

.admin-card h2,
.admin-card h3 {
  margin: 0;
}

.admin-card-heading {
  margin: 0;
}

.admin-card-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-card-toggle-label {
  font-size: inherit;
  font-weight: inherit;
}

.admin-card-toggle-icon {
  font-size: 0.95rem;
  color: var(--sub);
  transition: transform 0.18s ease;
}

.admin-card.is-collapsed .admin-card-toggle-icon {
  transform: rotate(-90deg);
}

.admin-card-body {
  margin-top: 0.8rem;
}

.admin-card.is-collapsed .admin-card-body {
  display: none;
}

.admin-form {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.admin-subgrid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #cddaf6;
}

.admin-form input,
.admin-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #11192a;
  color: #e8edf8;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.admin-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #11192a;
  color: #e8edf8;
  padding: 0.55rem 0.65rem;
  font: inherit;
  resize: vertical;
}

.admin-span-full {
  grid-column: 1 / -1;
}

.admin-form .hero-actions {
  grid-column: 1 / -1;
}

.admin-pre {
  margin-top: 0.6rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: Inconsolata, monospace;
  font-size: 0.78rem;
}

.admin-pre-tall {
  max-height: 520px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.table-actions .btn {
  padding: 0.35rem 0.6rem;
  min-height: 32px;
}

.admin-help-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f1728;
  margin-top: 0.8rem;
}

.admin-help-inline {
  margin-top: 0.8rem;
  min-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(8, 12, 20, 0.6);
  overflow: auto;
}

.admin-help-inline .card.admin-card {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-help-meta {
  margin-top: 0.6rem;
}

.brand-kit-logo {
  width: 132px;
  height: 132px;
  border-radius: 14px;
  background: #0f1728;
  border: 1px solid var(--line);
  display: block;
}

.brand-kit-wordmark {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.brand-kit-logo.light,
.brand-kit-wordmark.light {
  background: #f2fff9;
  padding: 8px;
}

.legal-wrap {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.legal-card {
  padding: 1.1rem;
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.legal-section {
  margin-top: 1rem;
}

.legal-section h2 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.04rem;
  color: #dce8ff;
  line-height: 1.35;
}

.legal-section h2:first-child {
  margin-top: 0.2rem;
}

.legal-section h3 {
  margin: 1.75rem 0 0.55rem;
  font-size: 0.96rem;
  color: #cfddfb;
  line-height: 1.4;
}

.legal-section h3:first-child {
  margin-top: 0.2rem;
}

.legal-section p {
  margin: 0.68rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.legal-section p + h2 {
  margin-top: 2.35rem;
}

.legal-section p + h3 {
  margin-top: 2rem;
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .competition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-strip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .winners-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid-2 {
    grid-template-columns: 1fr;
  }

  .rules-grid,
  .how-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .social-link svg {
    width: 16px;
    height: 16px;
  }

  #walletBtn {
    padding: 0.55rem 0.8rem;
    font-size: 0.84rem;
  }

  .hero-top,
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown-box {
    min-width: 0;
  }

  .competition-grid {
    grid-template-columns: 1fr;
  }

  .network-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-toc {
    grid-template-columns: 1fr;
  }

.article-content th,
.article-content td {
  font-size: 0.82rem;
  padding: 0.58rem 0.6rem;
}
}

.contact-hero {
  padding: 1.4rem 1.4rem;
  margin-top: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.contact-card {
  padding: 1.2rem 1.2rem;
}

.contact-email {
  margin: 0.4rem 0 0.15rem;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.contact-email-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.contact-email-input,
.contact-email-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.7rem 0.8rem;
}

.contact-email-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.45;
}

.contact-email-input::placeholder,
.contact-email-textarea::placeholder {
  color: rgba(156, 172, 204, 0.75);
}

.contact-email-input:focus,
.contact-email-textarea:focus {
  outline: 2px solid rgba(71, 244, 197, 0.55);
  outline-offset: 2px;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.panel-head-tight {
  margin-bottom: 0.65rem;
}

.chat-card {
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  min-height: 320px;
  max-height: 440px;
  overflow: auto;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(0, 0, 0, 0.18);
}

.chat-row {
  display: flex;
  margin: 0.55rem 0;
}

.chat-row-user {
  justify-content: flex-end;
}

.chat-row-support,
.chat-row-bot {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: min(560px, 92%);
  border-radius: 16px;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(156, 172, 204, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.chat-row-user .chat-bubble {
  border-color: transparent;
  background: linear-gradient(90deg, rgba(71, 244, 197, 0.95), rgba(20, 209, 159, 0.95));
  color: #06271f;
}

.chat-row-bot .chat-bubble {
  border-color: rgba(71, 244, 197, 0.25);
  background: rgba(71, 244, 197, 0.08);
}

.chat-text {
  line-height: 1.45;
  word-break: break-word;
}

.chat-time {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  opacity: 0.78;
}

.chat-form {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.75rem;
}

.chat-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.75rem 0.95rem;
}

.chat-input::placeholder {
  color: rgba(156, 172, 204, 0.75);
}

.chat-input:focus {
  outline: 2px solid rgba(71, 244, 197, 0.55);
  outline-offset: 2px;
}

.chat-meta {
  margin: 0.6rem 0 0;
}

@media (max-width: 560px) {
  .hero-stats,
  .metrics,
  .rp-stats-grid,
  .competition-card .kpis,
  .reward-grid,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .network-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-messages {
    max-height: 520px;
  }

  .chat-form {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-form .btn {
    width: 100%;
  }
}
