/* pedros-coin.io — shared light theme (Phase 0 skeleton) */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;
  --border: #e6e8ec;
  --border-strong: #d0d4da;
  --fg: #0f1419;
  --fg-muted: #5b6470;
  --fg-dim: #9aa3af;
  --primary: #0a66ff;
  --primary-hover: #084dd1;
  --green: #00a86b;
  --green-soft: #e6f7ef;
  --red: #e63946;
  --red-soft: #fdecee;
  --warn: #e07b00;
  --warn-soft: #fff4e0;
  --shadow-sm: 0 1px 2px rgba(15,20,25,.04);
  --shadow-md: 0 4px 12px rgba(15,20,25,.06);
  --radius: 10px;
  --radius-sm: 6px;
  --content-max: 1280px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 1, "cv11" 1;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ───────── Header / nav ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 24px;
}
.site-brand {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
  display: flex; align-items: center; gap: 12px;
}
.site-brand-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 2px 8px rgba(184, 64, 10, 0.25), 0 0 0 2px #ffce4a;
  transition: transform .18s ease, box-shadow .18s ease;
}
.site-brand:hover .site-brand-avatar {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 4px 14px rgba(184, 64, 10, 0.40), 0 0 0 2px #ffce4a;
}
.site-brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  display: inline-block;
}
.site-brand-name {
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  color: var(--fg);
  background: linear-gradient(135deg, #b8400a 0%, #ff8a38 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-brand-tld { color: #ffce4a; -webkit-text-fill-color: #c98e10; }
@media (max-width: 520px) { .site-brand-name { display: none; } }
.site-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; align-items: center; }
.site-nav a {
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--fg); background: var(--bg-soft); text-decoration: none; }
.site-nav a.active { color: var(--primary); background: rgba(10,102,255,.06); }

/* ── Highlighted CTA: For streamers ── */
.site-nav a.nav-streamers {
  position: relative;
  color: #fff !important;
  background: linear-gradient(135deg, #ff4444 0%, #ff7a00 100%);
  background-size: 200% 200%;
  padding: 7px 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(255, 68, 68, 0.35), 0 0 0 0 rgba(255, 68, 68, 0.55);
  animation: navStreamersPulse 2.4s ease-in-out infinite, navStreamersShift 8s ease-in-out infinite;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  line-height: 1.15;
}
.site-nav a.nav-streamers:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #ff5555 0%, #ff8a1a 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 68, 68, 0.5);
}
.site-nav a.nav-streamers.active { background: linear-gradient(135deg, #e63838 0%, #e66a00 100%); }
.nav-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: navStreamersDot 1.4s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255,255,255,0.8);
}
@keyframes navStreamersPulse {
  0%   { box-shadow: 0 3px 10px rgba(255,68,68,.35), 0 0 0 0 rgba(255,68,68,.55); }
  70%  { box-shadow: 0 3px 10px rgba(255,68,68,.35), 0 0 0 10px rgba(255,68,68,0); }
  100% { box-shadow: 0 3px 10px rgba(255,68,68,.35), 0 0 0 0 rgba(255,68,68,0); }
}
@keyframes navStreamersShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes navStreamersDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Highlighted CTA: $pedros-coin (pied-piper) ── */
.site-nav a.nav-pedros {
  position: relative;
  color: #fff !important;
  background: linear-gradient(135deg, #00a76b 0%, #00d18a 100%);
  background-size: 200% 200%;
  padding: 7px 14px 7px 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 167, 107, 0.35), 0 0 0 0 rgba(0, 167, 107, 0.55);
  animation: navPedrosPulse 2.6s ease-in-out infinite, navPedrosShift 9s ease-in-out infinite;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  line-height: 1.15;
}
.site-nav a.nav-pedros:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #00b876 0%, #00e399 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 167, 107, 0.5);
}
.site-nav a.nav-pedros.active { background: linear-gradient(135deg, #008a59 0%, #00b876 100%); }
.nav-piper {
  display: inline-block;
  width: 22px; height: 28px;
  margin-top: -8px;
  margin-bottom: -6px;
  flex: 0 0 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* Pied-piper character holding a coin overhead */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'><circle cx='12' cy='3' r='2.8' fill='%23ffce4a' stroke='%23a37700' stroke-width='0.4'/><text x='12' y='4.5' text-anchor='middle' font-size='3.6' font-weight='900' fill='%236b4a00' font-family='Arial'>%24</text><rect x='10.9' y='5.6' width='2.2' height='8' rx='1.1' fill='%237a1f8a'/><path d='M5 14 L12 6 L19 14 Z' fill='%237a1f8a'/><path d='M18 10 Q22 8 21.5 13' fill='none' stroke='%23ffce4a' stroke-width='1.1' stroke-linecap='round'/><ellipse cx='12' cy='14' rx='7.6' ry='1.3' fill='%235a165f'/><circle cx='12' cy='16.6' r='2.5' fill='%23ffd9b3'/><path d='M7 18.5 L17 18.5 L16 26 L8 26 Z' fill='%237a1f8a'/><rect x='7.5' y='21.8' width='9' height='1.1' fill='%23ffce4a'/><rect x='8.6' y='26' width='2.2' height='4.6' fill='%233a2050'/><rect x='13.2' y='26' width='2.2' height='4.6' fill='%233a2050'/><rect x='8' y='30.2' width='3.4' height='1.4' rx='0.5' fill='%23120726'/><rect x='12.6' y='30.2' width='3.4' height='1.4' rx='0.5' fill='%23120726'/></svg>");
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
  animation: navPiperBob 2.8s ease-in-out infinite;
}
@keyframes navPedrosPulse {
  0%   { box-shadow: 0 3px 10px rgba(0,167,107,.35), 0 0 0 0 rgba(0,167,107,.55); }
  70%  { box-shadow: 0 3px 10px rgba(0,167,107,.35), 0 0 0 10px rgba(0,167,107,0); }
  100% { box-shadow: 0 3px 10px rgba(0,167,107,.35), 0 0 0 0 rgba(0,167,107,0); }
}
@keyframes navPedrosShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes navPiperBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }

/* ── Highlighted CTA: Giveaway (pink-purple, gift) ── */
.site-nav a.nav-giveaway {
  position: relative;
  color: #fff !important;
  background: linear-gradient(135deg, #ff4dd2 0%, #7c5cff 100%);
  background-size: 200% 200%;
  padding: 7px 14px 7px 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(255, 77, 210, 0.35), 0 0 0 0 rgba(255, 77, 210, 0.55);
  animation: navGiveawayPulse 2.4s ease-in-out infinite, navGiveawayShift 8s ease-in-out infinite;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  line-height: 1.15;
}
.site-nav a.nav-giveaway:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #ff66dc 0%, #9075ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 77, 210, 0.5);
}
.site-nav a.nav-giveaway.active { background: linear-gradient(135deg, #d93eb1 0%, #6248d6 100%); }
.nav-gift {
  font-size: 14px; line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
  animation: navGiftWobble 2.6s ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes navGiveawayPulse {
  0%   { box-shadow: 0 3px 10px rgba(255,77,210,.35), 0 0 0 0 rgba(255,77,210,.55); }
  70%  { box-shadow: 0 3px 10px rgba(255,77,210,.35), 0 0 0 10px rgba(255,77,210,0); }
  100% { box-shadow: 0 3px 10px rgba(255,77,210,.35), 0 0 0 0 rgba(255,77,210,0); }
}
@keyframes navGiveawayShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes navGiftWobble {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.08); }
}

/* ── Stronger active highlight for plain nav links ── */
.site-nav a.active:not(.nav-streamers):not(.nav-pedros):not(.nav-giveaway) {
  color: var(--primary);
  background: rgba(10,102,255,.10);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a.nav-streamers,
  .site-nav a.nav-pedros,
  .site-nav a.nav-giveaway,
  .nav-live-dot,
  .nav-piper,
  .nav-gift { animation: none; }
}

.site-header-cta {
  display: flex; gap: 8px; align-items: center;
}

/* ── Test-mode notice strip (sits below site header) ── */
.site-notice {
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}
.site-notice-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 184, 28, 0.28);
  background: linear-gradient(135deg, rgba(255, 206, 74, 0.08) 0%, rgba(124, 92, 255, 0.06) 100%);
  border-radius: 10px;
}
.site-notice-body { flex: 1; min-width: 0; }
.site-notice-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.site-notice-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b4a00;
  background: #ffce4a;
  border-radius: 999px;
  line-height: 1.4;
}
.site-notice-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.site-notice-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #5865f2 !important;
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.28);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.site-notice-cta:hover {
  background: rgba(88, 101, 242, 0.14);
  border-color: rgba(88, 101, 242, 0.5);
  transform: translateY(-1px);
}
.site-notice-discord {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  color: #5865f2;
}
@media (max-width: 720px) {
  .site-notice-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 14px; }
  .site-notice-cta { align-self: stretch; justify-content: center; }
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--fg);
  cursor: pointer;
  transition: all .12s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--border-strong); background: var(--bg-soft); text-decoration: none; }
.btn-primary {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-success {
  background: var(--green); border-color: var(--green); color: #fff;
}
.btn-success:hover { background: #008a58; border-color: #008a58; color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--fg-muted); }
.btn-ghost:hover { background: var(--bg-soft); }

/* ───────── Layout ───────── */
.page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px 24px 80px;
}
.page-narrow { max-width: 880px; }

.page-title {
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.page-lead {
  color: var(--fg-muted);
  font-size: 16px;
  margin: 0 0 32px;
  max-width: 720px;
}

/* Home grid (main + right user panel) */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1080px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* Right rail (home page) — streamer rewards & $pedros-coin tile */
.home-rail { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
@media (max-width: 1080px) { .home-rail { position: static; } }
.rail-streamers {
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.rail-streamers::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 68, 68, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(255, 206, 74, 0.05) 0%, transparent 55%);
  pointer-events: none;
}
.rail-sparkles {
  position: absolute; top: 8px; right: 12px;
  display: flex; gap: 4px;
  font-size: 10px;
  color: #ffce4a;
  opacity: 0.7;
  pointer-events: none;
}
.rail-sparkles span:nth-child(2) { color: #ff8a8a; opacity: 0.55; }
.rail-sparkles span:nth-child(4) { color: #ffce4a; opacity: 0.85; font-size: 12px; }
.rail-streamers > * { position: relative; }
.rail-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  background: rgba(255, 68, 68, 0.10);
  border: 1px solid rgba(255, 68, 68, 0.25);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #d62b2b;
  margin-bottom: 12px;
}
.rail-eyebrow-gold {
  background: rgba(255, 170, 0, 0.10);
  border-color: rgba(255, 170, 0, 0.30);
  color: #b07000;
}
.rail-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 0 0 rgba(255,68,68,0.6);
  animation: railDot 1.6s infinite;
}
.rail-dot-gold { background: #ffaa00; box-shadow: 0 0 0 0 rgba(255,170,0,0.6); }
@keyframes railDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,68,68,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,68,68,0); }
}
.rail-title { color: var(--fg); font-size: 17px; line-height: 1.3; margin: 0 0 6px; font-weight: 800; letter-spacing: -0.01em; }
.rail-title-sm { color: var(--fg); font-size: 15px; margin: 0 0 4px; font-weight: 700; }
.rail-lead { color: var(--fg-muted); font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.rail-pool {
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fafbfc;
  border: 1px solid var(--border);
}
.rail-pool-prize {
  background: linear-gradient(135deg, rgba(255, 206, 74, 0.18), rgba(255, 138, 56, 0.10));
  border-color: rgba(255, 170, 0, 0.40);
}
.rail-pool-ops {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.07), rgba(255, 138, 56, 0.05));
  border-color: rgba(255, 68, 68, 0.20);
}
.rail-pool-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rail-pool-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 170, 0, 0.70);
  box-shadow: 0 4px 16px rgba(255, 170, 0, 0.18);
  cursor: pointer;
}
.rail-pool-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.rail-pool-trophy {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
}
.rail-pool-amt-line { display: flex; align-items: baseline; gap: 6px; }
.rail-pool-amt {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: #b07000; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rail-pool-amt-ops { color: #d62b2b; }
.rail-pool-cap {
  font-size: 10.5px; font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.rail-pool-label { font-size: 12.5px; color: var(--fg-muted); margin-top: 2px; font-weight: 500; }

/* Prize tier rows */
.rail-prize-tiers {
  list-style: none; margin: 4px 0 8px; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.rail-prize-tiers li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 8px;
  font-size: 12px;
}
.rail-prize-tiers .tier-medal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  color: #fff;
  background: #aaa;
}
.rail-prize-tiers .tier-medal-plain {
  background: transparent; color: var(--fg-muted); border: 1px solid var(--border);
  font-size: 10px;
}
.rail-prize-tiers .tier-gold .tier-medal { background: linear-gradient(135deg, #ffd86b, #c08800); box-shadow: 0 1px 3px rgba(192,136,0,0.4); }
.rail-prize-tiers .tier-silver .tier-medal { background: linear-gradient(135deg, #e8e8ee, #9a9aa6); box-shadow: 0 1px 3px rgba(120,120,140,0.4); }
.rail-prize-tiers .tier-bronze .tier-medal { background: linear-gradient(135deg, #e3a673, #8a4a1f); box-shadow: 0 1px 3px rgba(138,74,31,0.4); }
.rail-prize-tiers .tier-label { color: var(--fg); font-weight: 600; }
.rail-prize-tiers .tier-amt { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; line-height: 1.2; }
.rail-prize-tiers .tier-amt small { display: block; font-size: 10.5px; font-weight: 600; color: #00875a; margin-top: 1px; }
.rail-prize-tiers .tier-gold { background: linear-gradient(90deg, rgba(255,216,107,0.22), rgba(255,255,255,0.65)); border-color: rgba(255,170,0,0.35); }

.rail-pool-list { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 8px; }
.rail-pool-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--fg);
}
.rail-pool-list li span { color: var(--fg-muted); }
.rail-pool-list li strong { color: #d62b2b; font-weight: 800; font-variant-numeric: tabular-nums; }
.rail-pool-foot { font-size: 11px; color: var(--fg-muted); margin-top: 8px; line-height: 1.45; font-style: italic; }
.rail-cta {
  display: block; width: 100%;
  text-align: center;
  background: #ff4444; border-color: #ff4444; color: #fff;
  margin-top: 8px;
  font-weight: 700;
}
.rail-cta:hover { background: #e63838; border-color: #e63838; color: #fff; }
.rail-link { display: block; text-align: center; margin-top: 8px; color: #b07000; font-size: 12px; font-weight: 600; }
.rail-link:hover { color: #d62b2b; }
.rail-pedros { background: #fff; border: 1px solid var(--border); color: var(--fg); }
.rail-price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 8px 0 12px;
  padding: 12px 14px;
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.rail-price-coin { font-size: 12px; color: var(--fg-muted); }
.rail-price-eq { color: var(--fg-muted); }
.rail-price-usd { font-size: 16px; font-weight: 800; color: #b07000; }

/* Home news carousel (top of home page) */
.news-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #0f1419 0%, #1a2530 100%);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  aspect-ratio: 21 / 9;
  min-height: 220px;
  max-height: 380px;
}
.news-carousel-track {
  position: absolute; inset: 0;
}
.news-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 600ms ease;
  text-decoration: none;
  color: #fff;
  display: block;
}
.news-slide.active { opacity: 1; }
.news-slide::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; top: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.news-slide-fallback {
  background: linear-gradient(135deg, #1f3a5f 0%, #0d1b2a 100%);
}
.news-slide-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px 20px;
  z-index: 2;
}
.news-slide-source {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: #fff;
}
.news-slide-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-carousel-dots {
  position: absolute;
  right: 14px; top: 14px;
  display: flex; gap: 6px;
  z-index: 3;
}
.news-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #0d1418;
  border: 2px solid rgba(13, 20, 24, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
  opacity: 1;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  padding: 0;
}
.news-carousel-arrow:hover {
  background: #ff4444;
  color: #fff;
  border-color: #ff4444;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(255, 68, 68, 0.45);
}
.news-carousel-arrow:active { transform: translateY(-50%) scale(0.96); }
.news-carousel-arrow.prev { left: 18px; }
.news-carousel-arrow.next { right: 18px; }
@media (max-width: 720px) {
  .news-carousel-arrow { width: 44px; height: 44px; font-size: 18px; }
  .news-carousel-arrow.prev { left: 10px; }
  .news-carousel-arrow.next { right: 10px; }
}
.news-carousel:focus { outline: none; }
.news-carousel:focus-visible { box-shadow: 0 0 0 3px rgba(255, 206, 74, 0.5); }
.news-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.news-carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}
.news-carousel-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}
@media (max-width: 720px) {
  .news-carousel { aspect-ratio: 16 / 10; min-height: 200px; }
  .news-slide-title { font-size: 17px; }
  .news-slide-text { padding: 14px 16px 16px; }
}

/* Cards / panels */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 16px; }
.card h2 {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--fg-muted);
  margin: 0 0 14px;
}
.card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.card-row:last-child { border-bottom: 0; }

/* Stat tiles */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 22px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-delta { font-size: 12px; margin-top: 2px; }
.stat-delta.up { color: var(--green); }
.stat-delta.down { color: var(--red); }

/* Pill / badge */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--bg-soft); color: var(--fg-muted);
  border: 1px solid var(--border);
}
.pill-green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.pill-red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.pill-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }

/* User panel (right column on Home) */
.user-panel { position: sticky; top: 80px; }
@media (max-width: 1080px) {
  .user-panel { position: static; top: auto; }
}
.user-nick {
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.user-nick button {
  background: transparent; border: 0; color: var(--fg-dim);
  cursor: pointer; padding: 2px; border-radius: 4px;
}
.user-nick button:hover { color: var(--primary); background: var(--bg-soft); }
.user-balance {
  font-size: 28px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.user-balance .unit { font-size: 13px; color: var(--fg-muted); font-weight: 500; margin-left: 4px; }

.disclaimer {
  font-size: 12px; color: var(--fg-muted);
  background: var(--warn-soft);
  border: 1px solid #fad79a;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 32px 24px;
  margin-top: 64px;
  color: var(--fg-muted);
  font-size: 13px;
}
.site-footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between;
}

/* Utilities */
.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }
.mono { font-family: var(--mono); }
.placeholder {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--fg-dim);
  background: var(--bg-soft);
}

/* Mobile nav */
@media (max-width: 720px) {
  .site-header-inner { gap: 12px; padding: 12px 16px; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px; }
  .site-nav-toggle { display: inline-flex !important; }
  .page { padding: 20px 16px 60px; }
}
.site-nav-toggle { display: none; background: transparent; border: 0; padding: 6px; cursor: pointer; color: var(--fg); }

/* ───────── Financial block (Phase 1) ───────── */
.up   { color: var(--green); }
.down { color: var(--red); }

.prices-headline {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 14px;
}
.prices-yes, .prices-no {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.prices-yes { border-left: 3px solid var(--green); }
.prices-no  { border-left: 3px solid var(--red); }
.prices-value {
  font-size: 30px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.prices-bar {
  height: 8px; background: var(--red-soft);
  border-radius: 999px; overflow: hidden; position: relative;
  margin-bottom: 14px;
}
.prices-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--green);
  transition: width .4s ease;
}
.prices-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px; align-items: center;
  font-size: 13px;
}
.prices-meta > div { display: flex; flex-direction: column; gap: 2px; }
.prices-meta .muted { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.prices-meta strong { font-weight: 600; font-variant-numeric: tabular-nums; }

.prices-sub summary { color: var(--fg-muted); cursor: pointer; font-size: 13px; }
.prices-sub .sub-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sub-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center;
  padding: 6px 0; border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.sub-row:last-child { border-bottom: 0; }
.sub-q { color: var(--fg); }

/* Trades table */
.trades-mount {
  max-height: 240px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.trades-mount .trade-head {
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

/* Leaderboard (top holders on Home) */
.lb-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.lb-row:last-child { border-bottom: 0; }
.lb-rank { color: var(--fg-muted); font-variant-numeric: tabular-nums; text-align: right; }
.lb-nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-bal { font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-row.lb-me { background: rgba(0, 168, 84, 0.08); border-radius: 4px; padding-left: 6px; padding-right: 6px; }
.trade-head, .trade-row {
  display: grid;
  grid-template-columns: 44px 56px 64px 1fr 70px 1fr 1fr;
  gap: 8px; align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.trade-head { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding-bottom: 8px; }
.trade-row:last-child { border-bottom: 0; }
.trade-size, .trade-price, .trade-usd { text-align: right; font-variant-numeric: tabular-nums; }
.trade-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Calculator */
.calc-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 10px; align-items: center;
  margin-bottom: 10px;
}
.calc-row label { font-size: 13px; color: var(--fg-muted); }
.calc-row input[type="number"] {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 10px; font: inherit; color: var(--fg);
  background: #fff; width: 100%;
}
.calc-row input[type="number"]:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 3px rgba(10,102,255,.12); }
.calc-toggle { display: inline-flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.calc-side {
  border: 0; background: #fff; padding: 8px 16px; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--fg-muted);
  border-right: 1px solid var(--border);
}
.calc-side:last-child { border-right: 0; }
.calc-side.active[data-side="yes"] { background: var(--green); color: #fff; }
.calc-side.active[data-side="no"]  { background: var(--red); color: #fff; }
.calc-result {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 14px;
}
.calc-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.calc-result-row:last-child { border-bottom: 0; }
.calc-result-row strong { font-variant-numeric: tabular-nums; font-weight: 700; }

/* UMA */
.uma-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.uma-cap { text-align: right; }

/* Convert dialog */
.convert-dialog {
  border: 0; border-radius: 14px; padding: 24px; max-width: 480px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.convert-dialog::backdrop { background: rgba(15,20,25,.4); }

@media (max-width: 720px) {
  .prices-headline { grid-template-columns: 1fr; }
  .trade-head, .trade-row { grid-template-columns: 36px 50px 50px 1fr 60px 1fr; }
  .trade-author { display: none; }
  .calc-row { grid-template-columns: 1fr; }
}

/* ───────── UMA voting widget (Phase 2) ───────── */
.umavote-mount { display: block; }
.umavote-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.umavote-q { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 14px; }
.umavote-countdown {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.umavote-time {
  font-family: var(--mono);
  font-size: 26px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin: 4px 0 6px;
}
.umavote-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.umavote-line:last-of-type { border-bottom: 0; }
.umavote-line strong { font-weight: 700; }
.umavote-tally { margin: 12px 0 6px; }
.umavote-bar {
  height: 10px; background: var(--red-soft); border-radius: 999px;
  position: relative; overflow: hidden;
}
.umavote-bar-y {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--green); transition: width .4s ease;
}
.umavote-note {
  margin-top: 12px;
  background: var(--warn-soft);
  border: 1px solid #fad79a;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px; color: #5a3700;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* ───────── Phase 3 — interactive ───────── */
/* Big countdown timer */
.timer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.timer-cell {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px; text-align: center;
}
.timer-num {
  font-family: var(--mono);
  font-size: 32px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em; line-height: 1;
}
.timer-lbl { margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.timer-status { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.timer-status.down { color: var(--red); font-weight: 600; }
@media (max-width: 480px) { .timer-num { font-size: 24px; } }

/* Poll */
.poll-list { display: flex; flex-direction: column; gap: 10px; }
.poll-row {
  display: block; width: 100%; text-align: left;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px; cursor: pointer;
  font: inherit; color: inherit;
  transition: border-color .15s, background .15s;
}
.poll-row:hover { border-color: var(--accent); }
.poll-row.active { border-color: var(--accent); background: #eef6ff; }
.poll-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.poll-label { font-weight: 600; }
.poll-count { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text-muted); }
.poll-bar { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.poll-bar-fill { height: 100%; background: var(--accent); transition: width .35s ease; }
.poll-bar-fill.up { background: var(--green); }
.poll-bar-fill.down { background: var(--red); }
.poll-foot { margin-top: 12px; font-size: 12px; }

/* Chat */
.chat-mount { display: flex; flex-direction: column; gap: 10px; }
.chat-log {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 320px; overflow-y: auto;
  padding: 6px;
}
.chat-msg {
  padding: 6px 10px; border-radius: var(--radius-sm);
  margin-bottom: 4px; line-height: 1.4;
}
.chat-msg.chat-admin { background: #fef0c4; }
.chat-msg.chat-system { background: #eef0f3; font-style: italic; color: var(--text-muted); }
.chat-msg.chat-poly { background: rgba(124,92,255,0.10); border-left: 3px solid #7c5cff; padding-left: 8px; }
.chat-msg.chat-trade { background: rgba(43,196,124,0.10); border-left: 3px solid #2bc47c; padding-left: 8px; font-variant-numeric: tabular-nums; }
.chat-badge {
  display: inline-block; vertical-align: 1px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 1px 6px; border-radius: 4px;
  margin-right: 6px;
}
.chat-badge-poly { color: #fff; background: #7c5cff; }
.chat-badge-trade { color: #fff; background: #2bc47c; }
.chat-meta { font-size: 11px; margin-bottom: 2px; }
.chat-meta strong { font-weight: 600; }
.chat-text { font-size: 14px; word-break: break-word; }
.chat-form { display: flex; gap: 8px; }
.chat-form input {
  flex: 1; padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit; background: white;
}
.chat-form input:focus { outline: none; border-color: var(--accent); }
.chat-status { min-height: 14px; font-size: 12px; }
.chat-status.down { color: var(--red); }

/* ───────── Phase 4 — /materials page ───────── */
.materials-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.materials-tab {
  background: transparent; border: 0; padding: 10px 14px;
  font: inherit; color: var(--text-muted);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.materials-tab:hover { color: var(--text); }
.materials-tab.active { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.materials-section.hidden { display: none; }

.mat-list { display: flex; flex-direction: column; gap: 14px; }
.mat-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.mat-card.mat-tweet { display: block; }
.mat-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 1.4; }
.mat-meta { font-size: 12px; margin-bottom: 4px; }
.mat-title { font-size: 16px; line-height: 1.35; margin: 0 0 6px; }
.mat-title a { color: var(--text); text-decoration: none; }
.mat-title a:hover { color: var(--accent); text-decoration: underline; }
.mat-summary { margin: 0 0 10px; line-height: 1.5; color: var(--text-muted); font-size: 14px; }
.mat-tweet-text { margin: 8px 0 12px; line-height: 1.5; font-size: 15px; white-space: pre-wrap; }
.mat-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mat-share { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.mat-quote {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px; margin: 0;
  display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center;
}
.mat-quote-img img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.mat-quote-text { font-size: 17px; line-height: 1.5; margin: 0 0 8px; font-style: italic; }
.mat-quote-foot { font-size: 13px; }

.mat-tip {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.mat-tip-body { line-height: 1.6; font-size: 14px; }
.mat-tip-body p { margin: 0 0 10px; }
.mat-tip-body p:last-child { margin-bottom: 0; }

.btn-sm { padding: 4px 10px; font-size: 12px; }

@media (max-width: 600px) {
  .mat-card { grid-template-columns: 1fr; }
  .mat-thumb img { aspect-ratio: 2.0; }
  .mat-quote { grid-template-columns: 1fr; }
  .mat-quote-img { display: none; }
}
/* ───────── Phase 5/6 — page content ───────── */
.page-md p { margin: 0 0 12px; line-height: 1.6; font-size: 15px; }
.page-md p:last-child { margin-bottom: 0; }
.page-md a { color: var(--accent); }
.key-factors { margin: 0; padding-left: 22px; line-height: 1.6; }
.key-factors li { margin-bottom: 8px; }
/* ───────── Phase 7 — referral page ───────── */
.ref-link-row { display: flex; gap: 8px; align-items: center; }
.ref-link-row input {
  flex: 1; padding: 10px 12px; font: inherit; font-family: var(--mono);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-soft); font-size: 14px;
}
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ref-stats .stat-cell {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px; text-align: center;
}
.ref-stats .stat-num {
  font-family: var(--mono); font-size: 26px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ref-stats .stat-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-top: 4px;
}
@media (max-width: 540px) { .ref-stats { grid-template-columns: 1fr; } }
/* Phase 9 � giveaway page */
.gw-actions{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.gw-actions li{ padding:10px 12px; border:1px solid var(--border, #1f2937); border-radius:8px; background:rgba(255,255,255,0.02); }
.gw-reward{ color:var(--accent, #22d3ee); font-weight:600; }
.gw-form{ display:flex; flex-direction:column; gap:10px; max-width:560px; }
.gw-row{ display:flex; flex-direction:column; gap:4px; font-size:13px; }
.gw-row span{ color:var(--muted, #94a3b8); }
.gw-row input, .gw-row select, .gw-row textarea{ background:rgba(255,255,255,0.04); border:1px solid var(--border, #1f2937); border-radius:6px; padding:8px 10px; color:inherit; font:inherit; }
.gw-row textarea{ resize:vertical; }
.gw-row-actions{ flex-direction:row; align-items:center; gap:12px; }
.gw-top{ list-style:decimal; padding-left:24px; margin:0; display:flex; flex-direction:column; gap:6px; }
.gw-top li{ display:flex; justify-content:space-between; gap:12px; padding:6px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.gw-tag{ font-family: ui-monospace, Menlo, monospace; font-size:13px; }
.gw-bal{ color:var(--accent, #22d3ee); font-weight:600; font-size:13px; }

/* Reusable "rules evolving / new giveaways throughout the day" notice */
.gw-evolving {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  margin: 0 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 77, 210, 0.35);
  background: linear-gradient(135deg, rgba(255, 77, 210, 0.08), rgba(124, 92, 255, 0.08));
  font-size: 13px;
  line-height: 1.55;
}
.gw-evolving .gw-evolving-ico {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1.2;
  animation: navGiftWobble 2.6s ease-in-out infinite;
  transform-origin: 50% 80%;
}
.gw-evolving strong { color: #d93eb1; }
.gw-evolving p { margin: 0; }

/* ── Chat hero (under news carousel on home) ── */
.card-chat-hero {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.06) 0%, rgba(255, 77, 210, 0.04) 100%);
  border: 1px solid rgba(124, 92, 255, 0.30);
  position: relative;
  overflow: hidden;
}
.card-chat-hero::before {
  content: ''; position: absolute; inset: -40% -40% auto auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.chat-hero-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  margin-bottom: 14px;
  position: relative;
}
.chat-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #d93eb1;
  background: rgba(255, 77, 210, 0.10);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}
.chat-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #d93eb1;
  animation: pcoinDotBlink 1.4s ease-in-out infinite;
}
.chat-hero-title { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.01em; }
.chat-hero-lead { margin: 0; font-size: 13px; color: var(--text-muted, #94a3b8); }
.chat-hero-stats { display: flex; gap: 14px; flex-shrink: 0; }
.chat-hero-stats > div {
  text-align: center; padding: 6px 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
}
.chat-hero-stats strong {
  display: block; font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--fg);
}
.chat-hero-stats span {
  display: block; font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}
.card-chat-hero .chat-mount { position: relative; }
.card-chat-hero .chat-log { min-height: 200px; }

/* ── UMA price hero ── */
.card-uma-hero {
  background: linear-gradient(135deg, rgba(255, 70, 110, 0.06) 0%, rgba(10, 102, 255, 0.04) 100%);
  border: 1px solid rgba(255, 70, 110, 0.30);
  position: relative;
  overflow: hidden;
}
.card-uma-hero::before {
  content: ''; position: absolute; inset: -40% auto auto -40%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255, 70, 110, 0.18), transparent 60%);
  pointer-events: none;
}
.uma-hero-head { margin-bottom: 12px; position: relative; }
.uma-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ff466e;
  background: rgba(255, 70, 110, 0.10);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 8px;
}
.uma-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff466e;
  animation: pcoinDotBlink 1.4s ease-in-out infinite;
}
.uma-hero-title { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.uma-mount-hero {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  position: relative;
}
.uma-hero-foot { margin: 12px 0 0; font-size: 12px; position: relative; }

/* ── Rail: $pedros-coin holder stats ── */
.rail-holders {
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.06) 0%, rgba(255, 77, 210, 0.04) 100%);
  border: 1px solid rgba(124, 92, 255, 0.30);
}
.rail-eyebrow-purple { color: #7c5cff; }
.rail-dot-purple { background: #7c5cff; }
.rail-holders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 12px;
}
.rail-holder-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.rail-holder-num {
  font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: var(--fg); line-height: 1.1;
}
.rail-holder-cap {
  font-size: 10px; color: var(--text-muted, #94a3b8);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}
.rail-holders-top {
  list-style: none; padding: 0; margin: 0 0 10px;
  display: flex; flex-direction: column; gap: 4px;
  counter-reset: rht;
}
.rail-holders-top li {
  counter-increment: rht;
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 8px 5px 28px;
  font-size: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
}
.rail-holders-top li::before {
  content: counter(rht);
  position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: rgba(124, 92, 255, 0.10);
  color: #7c5cff;
  border-radius: 50%;
  font-weight: 800; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.rail-holders-top li:nth-child(1)::before { background: #ffce4a; color: #6b4a00; }
.rail-holders-top li:nth-child(2)::before { background: #d8d8d8; color: #333; }
.rail-holders-top li:nth-child(3)::before { background: #cd7f32; color: #fff; }
.rail-holders-tag { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text-muted); }
.rail-holders-bal { font-weight: 700; font-variant-numeric: tabular-nums; color: #ffce4a; font-size: 12px; }

/* ── $pedros-coin hero on home page ── */
.pcoin-hero {
  margin: 0 0 22px;
  padding: 0;
}
.pcoin-hero-row {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
}
.pcoin-hero-card {
  position: relative;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 206, 74, 0.08) 0%, rgba(124, 92, 255, 0.06) 100%);
  border: 1px solid rgba(255, 206, 74, 0.25);
  overflow: hidden;
}
.pcoin-hero-card::before {
  content: ""; position: absolute; inset: -40% -40% auto auto;
  width: 240px; height: 240px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 206, 74, 0.18), transparent 60%);
  pointer-events: none;
}
.pcoin-hero-supply::before {
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.18), transparent 60%);
}
.pcoin-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ff4444;
  background: rgba(255, 68, 68, 0.10);
  border-radius: 999px;
  padding: 4px 10px;
}
.pcoin-eyebrow-gold { color: #b07d00; background: rgba(255, 206, 74, 0.18); }
.pcoin-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff4444;
  animation: pcoinDotBlink 1.4s ease-in-out infinite;
}
.pcoin-dot-gold { background: #ffce4a; }
@keyframes pcoinDotBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.pcoin-priceline {
  display: flex; align-items: center; gap: 18px;
  margin: 14px 0 8px;
  flex-wrap: wrap;
}
.pcoin-priceline-left, .pcoin-priceline-right { min-width: 0; }
.pcoin-coin { font-size: 13px; color: var(--muted); font-weight: 600; }
.pcoin-yes { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pcoin-yes strong { color: var(--fg); font-variant-numeric: tabular-nums; }
.pcoin-eq { font-size: 28px; color: var(--muted); font-weight: 300; }
.pcoin-usd {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffce4a;
  text-shadow: 0 1px 0 rgba(0,0,0,0.05);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.pcoin-cap { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pcoin-formula {
  font-size: 12px; color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 10px; margin-top: 6px;
  line-height: 1.5;
}
.pcoin-formula code { font-size: 12px; padding: 1px 6px; background: rgba(0,0,0,0.04); border-radius: 4px; }
.pcoin-formula a { color: #7c5cff; }

.pcoin-supply-row {
  display: flex; gap: 24px; margin: 14px 0 12px;
}
.pcoin-num {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  line-height: 1.05;
}
.pcoin-num-cap { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.pcoin-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.12);
  overflow: hidden;
}
.pcoin-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffce4a, #7c5cff);
  width: 0%;
  transition: width 600ms ease;
  border-radius: 999px;
}
.pcoin-supply-foot { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.pcoin-supply-foot strong { color: var(--fg); font-variant-numeric: tabular-nums; }

.pcoin-breakdown {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.pcoin-breakdown-head {
  font-size: 13px; font-weight: 700; color: var(--fg); margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.pcoin-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.pcoin-cat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 206, 74, 0.04), rgba(124, 92, 255, 0.03));
  transition: transform 120ms ease, border-color 120ms ease;
}
.pcoin-cat:hover { transform: translateY(-1px); border-color: rgba(124, 92, 255, 0.4); }
.pcoin-cat-empty { opacity: 0.55; }
.pcoin-cat-skel { padding: 14px; color: var(--muted); }
.pcoin-cat-ico { font-size: 18px; line-height: 1; }
.pcoin-cat-lab { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pcoin-cat-amt {
  font-size: 18px; font-weight: 800; color: var(--fg);
  font-variant-numeric: tabular-nums; line-height: 1.1;
  margin-top: 2px;
}
@media (max-width: 820px) {
  .pcoin-hero-row { grid-template-columns: 1fr; }
}

/* ── Pedro YES shares card (live) ── */
.pcoin-eyebrow-purple { color: #7c5cff; background: rgba(124, 92, 255, 0.12); }
.pcoin-dot-purple { background: #7c5cff; }
.pcoin-shares { margin: 0 0 14px; }
.pcoin-shares-card {
  position: relative;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08) 0%, rgba(255, 77, 210, 0.05) 100%);
  border: 1px solid rgba(124, 92, 255, 0.30);
  overflow: hidden;
}
.pcoin-shares-card::before {
  content: ''; position: absolute; inset: -40% auto auto -40%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.pcoin-shares-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 14px 0 10px;
  position: relative;
}
.pcoin-shares-col { min-width: 0; }
.pcoin-num-xl {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: #7c5cff;
  line-height: 1.05;
}
@media (max-width: 720px) {
  .pcoin-shares-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Giveaway page polish ── */
.gw-hero {
  position: relative;
  padding: 28px 28px 24px;
  margin: 0 0 22px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 206, 74, 0.18), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(124, 92, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(255, 206, 74, 0.06) 0%, rgba(124, 92, 255, 0.06) 100%);
  border: 1px solid rgba(255, 206, 74, 0.25);
  overflow: hidden;
}
.gw-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.gw-hero h1 .accent { color: #ffce4a; }
.gw-hero p.lead {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg);
}
.gw-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #b07d00;
  background: rgba(255, 206, 74, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.gw-pool {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.gw-pool .cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.gw-pool .cell strong {
  display: block;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  line-height: 1.1;
}
.gw-pool .cell span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 720px) { .gw-pool { grid-template-columns: repeat(2, 1fr); } }

.gw-section-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px;
  font-size: 18px;
}
.gw-section-title .num {
  display: inline-flex; width: 26px; height: 26px;
  align-items: center; justify-content: center;
  background: rgba(124, 92, 255, 0.10);
  color: #7c5cff;
  border-radius: 50%;
  font-weight: 800; font-size: 13px;
}
.gw-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gw-actions li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 120ms ease, border-color 120ms ease;
}
.gw-actions li:hover { transform: translateY(-1px); border-color: rgba(124, 92, 255, 0.4); }
.gw-actions li > strong { font-size: 14px; }
.gw-actions li .gw-reward { font-size: 13px; color: #00b876; font-weight: 700; }

.gw-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  max-width: 100%;
}
.gw-row { gap: 6px; }
.gw-row > span:first-child { font-weight: 600; color: var(--fg); font-size: 13px; }
.gw-files-preview {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px;
  background: rgba(124, 92, 255, 0.04);
  border: 1px dashed rgba(124, 92, 255, 0.3);
  border-radius: 8px;
}
.gw-files-preview .thumb {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.gw-files-preview .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gw-files-preview .thumb .rm {
  position: absolute; top: 2px; right: 2px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.7); color: #fff;
  border: 0; border-radius: 50%;
  font-size: 13px; cursor: pointer; line-height: 1;
}
.gw-files-preview .thumb .rm:hover { background: rgba(255,68,68,0.85); }

.gw-top {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: gwtop;
  display: flex; flex-direction: column; gap: 6px;
}
.gw-top li {
  counter-increment: gwtop;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px 10px 42px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-bottom-color: var(--border);
}
.gw-top li::before {
  content: counter(gwtop);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  background: rgba(124, 92, 255, 0.10);
  color: #7c5cff;
  border-radius: 50%;
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.gw-top li:nth-child(1)::before { background: #ffce4a; color: #6b4a00; }
.gw-top li:nth-child(2)::before { background: #d8d8d8; color: #333; }
.gw-top li:nth-child(3)::before { background: #cd7f32; color: #fff; }