/* Hinchaboard — night-stadium theme: deep green-black, floodlights, emerald + gold. */
:root {
  --bg: #050f0a;
  --panel: #0b2014;
  --panel2: #0e2a1a;
  --line: #1d4230;
  --ink: #f2f7f0;
  --muted: #9db8a4;
  --green: #22c55e;
  --green-bright: #4ade80;
  --gold: #d4af37;
  --gold-bright: #f3d27a;
  --red: #f87171;
  --radius: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 420px at 15% -60px, rgba(74, 222, 128, .14), transparent 60%),
    radial-gradient(900px 420px at 85% -60px, rgba(212, 175, 55, .10), transparent 60%),
    repeating-linear-gradient(90deg, #06150c 0 90px, #071a0f 90px 180px),
    var(--bg);
  min-height: 100vh;
}
h1, h2, h3, .brand-name, .stat-num, .pod-total, .board-total {
  font-family: "Oswald", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* ---------- ticker ---------- */
.ticker-wrap {
  display: flex; align-items: stretch;
  background: #03130a; border-bottom: 1px solid var(--line);
  overflow: hidden; height: 38px;
}
.live-badge {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(90deg, #7f1d1d, #991b1b);
  font-family: "Oswald"; font-size: .8rem; letter-spacing: .14em; z-index: 2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding: 0 22px 0 14px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff5252;
  box-shadow: 0 0 0 0 rgba(255, 82, 82, .7); animation: pulse 1.6s infinite;
  display: inline-block;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 82, 82, .6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 82, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}
.ticker { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { padding: 0 18px; font-size: .85rem; color: var(--muted); }
.tick b { color: var(--ink); }
.tick .up { color: var(--green-bright); font-weight: 700; }

/* ---------- header ---------- */
.site-header {
  max-width: 1200px; margin: 0 auto; padding: 18px 20px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-ball { display: inline-flex; }
.brand-ball svg { display: block; animation: ballspin 16s linear infinite; }
@keyframes ballspin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(24deg); } }
.brand-name { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 700; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--green-bright); }
.brand-sub { font-size: .68rem; letter-spacing: .22em; color: var(--gold); font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: var(--muted); border: 0; padding: 8px 14px;
  font: 600 .8rem "Inter"; cursor: pointer;
}
.lang-switch button.active { background: var(--green); color: #04120a; }

/* ---------- layout ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 8px 20px 40px; }
.section-title { font-size: 1.45rem; margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.section-title.gold { color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 42px 12px 10px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -40% 10% auto; height: 380px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(74, 222, 128, .16), transparent);
  animation: glowfloat 7s ease-in-out infinite alternate;
}
@keyframes glowfloat { from { transform: translateX(-26px); } to { transform: translateX(26px); } }
.hero-ball { position: absolute; pointer-events: none; opacity: .13; animation: ballfloat 9s ease-in-out infinite alternate; }
.hero-ball.hb1 { left: -26px; top: 2px; }
.hero-ball.hb2 { right: 5%; top: -8px; opacity: .1; animation-delay: 1.6s; }
.hero-ball.hb3 { right: 17%; bottom: -16px; opacity: .09; animation-delay: 3s; }
@keyframes ballfloat { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(12px) rotate(10deg); } }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; margin: 0 0 14px; font-weight: 700; position: relative; }
.hero-sub { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.55; position: relative; }
.stats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 8px; position: relative; }
.stat {
  --acc: var(--green-bright);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 22px; min-width: 150px;
  box-shadow: inset 0 3px 0 var(--acc);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.stat.s-pool { --acc: var(--gold-bright); }
.stat.s-push { --acc: #4ade80; }
.stat.s-ranked { --acc: #38bdf8; }
.stat.s-listed { --acc: #a78bfa; }
.stat-ico { display: block; font-size: 1.15rem; line-height: 1; margin-bottom: 4px; }
.stat-num { display: block; font-size: 1.9rem; font-weight: 700; color: var(--acc); }
.stat-label { font-size: .66rem; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.rules strong { color: var(--gold-bright); }
.rules { color: var(--muted); font-size: .9rem; }
.rules strong { color: var(--ink); }

/* ---------- podium ---------- */
.podium-section { margin-top: 34px; position: relative; }
.podium-section::before {
  content: ""; position: absolute; inset: -30px -10px auto; height: 300px; pointer-events: none;
  background: radial-gradient(ellipse 55% 90% at 50% 0%, rgba(245, 185, 33, .16), transparent 70%);
}
.podium { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; align-items: end; position: relative; }
.podium::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -14px; height: 34px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(245, 185, 33, .28), transparent 70%);
  filter: blur(7px);
}
.pod {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 10px 0;
}
.pod > * { position: relative; z-index: 1; }
/* sweeping light across every card */
.pod::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .13) 48%, rgba(255, 255, 255, .02) 52%, transparent 70%);
  transform: translateX(-130%); animation: sheen 5.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-130%); } 85%, 100% { transform: translateX(130%); } }
.pod-2::after { animation-delay: 1.4s; } .pod-3::after { animation-delay: 2.6s; }

/* champion: golden frame, halo and rotating rays */
.pod-1 {
  background: linear-gradient(180deg, #2a2008, #171204) padding-box,
              linear-gradient(180deg, #ffec9e, #f5b921 55%, #8a6d1f) border-box;
  border: 1.5px solid transparent;
  animation: halo 2.8s ease-in-out infinite;
}
@keyframes halo {
  0%, 100% { box-shadow: 0 0 26px rgba(245, 185, 33, .28), 0 0 64px rgba(245, 185, 33, .10); }
  50% { box-shadow: 0 0 44px rgba(245, 185, 33, .5), 0 0 96px rgba(245, 185, 33, .2); }
}
.pod-1::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 340px; height: 340px; left: 50%; top: -150px; transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 217, 77, .13) 0deg 9deg, transparent 9deg 22deg);
  border-radius: 50%; animation: spin 26s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.pod-2 {
  background: linear-gradient(180deg, #23272e, #12151a) padding-box,
              linear-gradient(180deg, #ffffff, #9ca3af 55%, #4b5563) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 22px rgba(209, 213, 219, .14);
}
.pod-3 {
  background: linear-gradient(180deg, #2a1a0c, #170e05) padding-box,
              linear-gradient(180deg, #ffc98a, #c47b33 55%, #6e3c14) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 22px rgba(232, 160, 106, .16);
}
.pod .crown { font-size: 2rem; display: block; animation: bounce 2.6s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(255, 215, 64, .85)); }
.pod-empty .pod-name { color: var(--muted); }
.pod-empty .pod-total { opacity: .5; }
.pod-name { font-weight: 700; margin-top: 8px; font-size: 1rem; }
.pod-1 .pod-name { font-size: 1.14rem; }
.pod-league { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.pod-total { font-size: 1.7rem; font-weight: 700; color: var(--gold-bright); margin-top: 4px; }
.pod-1 .pod-total { font-size: 2.15rem; color: var(--gold-bright); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .pod-1 .pod-total {
    background: linear-gradient(180deg, #fff6c4, #ffd94d 45%, #c07f0d);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 12px rgba(245, 185, 33, .45));
  }
}
.pod-2 .pod-total { font-size: 1.85rem; color: #d1d5db; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .pod-2 .pod-total {
    background: linear-gradient(180deg, #ffffff, #d1d5db 45%, #6b7280);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 8px rgba(209, 213, 219, .35));
  }
}
.pod-3 .pod-total { font-size: 1.85rem; color: #f0a35e; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .pod-3 .pod-total {
    background: linear-gradient(180deg, #ffe3b3, #f0a35e 45%, #8a4b1f);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 8px rgba(232, 160, 106, .35));
  }
}
.pod-bar {
  margin: 14px auto 0; width: 58%; border-radius: 8px 8px 0 0; transform-origin: bottom;
  animation: grow 1s cubic-bezier(.2, .9, .25, 1.2) both;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -10px 18px rgba(0, 0, 0, .28);
}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pod-1 .pod-bar { height: 92px; background: linear-gradient(90deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 80%), linear-gradient(180deg, #ffe97a, #f5b921 55%, #8a6d1f); }
.pod-2 .pod-bar { height: 62px; background: linear-gradient(90deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 80%), linear-gradient(180deg, #f9fafb, #9ca3af 55%, #4b5563); }
.pod-3 .pod-bar { height: 44px; background: linear-gradient(90deg, rgba(255,255,255,0) 20%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 80%), linear-gradient(180deg, #ffc98a, #c47b33 55%, #6e3c14); }
.pod-pos { font-family: "Oswald"; font-size: 1rem; color: #0a0f0a; font-weight: 700; padding-top: 6px; }
@media (prefers-reduced-motion: reduce) {
  .pod::after, .pod-1::before, .pod-1, .pod .crown,
  .pod-bar, .row, .row.intro, .row::after, .row.flash, .live-dot, .hero-ball, .brand-ball svg { animation: none; transition: none; }
}

/* ---------- board ---------- */
.board-section { margin-top: 38px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.tab {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  padding: 8px 14px; border-radius: 999px; font: 600 .8rem "Inter"; cursor: pointer; transition: all .18s;
}
.tab:hover { color: var(--ink); border-color: var(--green); }
.tab.active { background: var(--green); color: #04120a; border-color: var(--green); }
.board { display: flex; flex-direction: column; gap: 10px; }
.row {
  --club: #22c55e; --w: 0%;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 52px 54px 1fr auto;
  grid-template-areas: "pos shield main nums" "pos shield shout shout";
  align-items: center; column-gap: 12px; row-gap: 0;
  background: linear-gradient(90deg, #12241a, #0b1710 60%, #0a140d);
  border: 1px solid #1e3a28; border-radius: 16px; padding: 12px 16px 13px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.row.intro { animation: rise .45s both; }
.row:nth-child(even) { background: linear-gradient(90deg, #0f2016, #0a150e 60%, #091209); }
.row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--club), transparent 135%); opacity: .9;
}
.row::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w);
  background: linear-gradient(90deg, var(--club), rgba(255, 255, 255, .4));
  box-shadow: 0 0 9px var(--club); opacity: .8;
}
@media (hover: hover) {
  .row:hover { transform: translateX(4px); border-color: #2f5c3e; box-shadow: 0 8px 24px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06); }
}
.row.top1 {
  background: linear-gradient(90deg, #2b2107, #1a1405 55%, #120d03) padding-box,
              linear-gradient(90deg, #ffec9e, #f5b921 60%, #8a6d1f) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 28px rgba(245, 185, 33, .2), inset 0 1px 0 rgba(255, 236, 158, .25);
}
.row.top2 { border-color: rgba(209, 213, 219, .42); background: linear-gradient(90deg, #1e2229, #12151a 60%, #0e1114); }
.row.top3 { border-color: rgba(232, 160, 106, .4); background: linear-gradient(90deg, #251809, #150d05 60%, #100a04); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.row.flash { animation: flash 1.2s; }
@keyframes flash { 0% { background: #14532d; } 100% { background: var(--panel); } }
.pos {
  font-family: "Oswald"; font-size: 1.22rem; font-weight: 700; text-align: center;
  width: 40px; height: 40px; line-height: 40px; margin: 0 auto; border-radius: 12px;
  color: #b9d6c2; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.row.p1 .pos { background: linear-gradient(180deg, #ffe97a, #f5b921 55%, #8a6d1f); color: #231a02; border-color: transparent; box-shadow: 0 0 16px rgba(245, 185, 33, .55); font-size: 1.42rem; }
.row.p2 .pos { background: linear-gradient(180deg, #ffffff, #9ca3af 60%, #4b5563); color: #14181d; border-color: transparent; box-shadow: 0 0 11px rgba(209, 213, 219, .4); }
.row.p3 .pos { background: linear-gradient(180deg, #ffc98a, #c47b33 60%, #6e3c14); color: #221102; border-color: transparent; box-shadow: 0 0 11px rgba(232, 160, 106, .4); }
.row .shield { filter: drop-shadow(0 0 7px var(--club)) drop-shadow(0 3px 5px rgba(0, 0, 0, .4)); }
.club-name { font-weight: 700; font-size: 1.05rem; line-height: 1.18; }
.row.top1 .club-name { font-size: 1.14rem; }
.club-meta { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos { grid-area: pos; align-self: center; }
.row-shield { grid-area: shield; align-self: center; text-align: center; }
.row-main { grid-area: main; min-width: 0; }
.board-nums { grid-area: nums; }
.row-shout { grid-area: shout; min-width: 0; margin-top: 6px; }
.shout {
  position: relative; display: block;
  background: linear-gradient(90deg, rgba(34, 197, 94, .18), rgba(34, 197, 94, .05));
  border: 1px solid rgba(34, 197, 94, .28); padding: 6px 11px; border-radius: 4px 12px 12px 12px;
  font-size: .85rem; color: #dcf7e5;
}
.shout .shout-fan { color: var(--green-bright); font-weight: 600; }
.board-nums { text-align: right; }
.board-total { font-size: 1.55rem; font-weight: 700; color: #eafff1; text-shadow: 0 0 18px rgba(34, 197, 94, .28); }
.row.top1 .board-total { color: var(--gold-bright); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .row.top1 .board-total {
    background: linear-gradient(180deg, #fff6c4, #ffd94d 45%, #c07f0d);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 10px rgba(245, 185, 33, .4)); text-shadow: none;
  }
}
.board-sub { color: var(--muted); font-size: .75rem; }
.board-need {
  display: inline-block; margin-top: 3px; padding: 2px 9px; border-radius: 999px;
  background: rgba(245, 185, 33, .13); border: 1px solid rgba(245, 185, 33, .38);
  color: var(--gold-bright); font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.board-empty { color: var(--muted); text-align: center; padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); }
.btn-more {
  display: block; width: 100%; margin-top: 12px; padding: 13px; cursor: pointer;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); font: 700 .92rem "Inter"; transition: all .18s;
}
.btn-more:hover { border-color: var(--green); color: var(--green-bright); }
.shield { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45)); vertical-align: middle; }

/* ---------- action grid: push form + feed + chat ---------- */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; align-items: start; }
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.card h2, .card h3 { margin: 0 0 14px; }
.push-card { --acc: #4ade80; }
.feed-card { --acc: #38bdf8; }
.chat-card { --acc: #fbbf24; }
.action-grid .card { border-top: 3px solid var(--acc, var(--line)); }
.action-grid .card h2, .action-grid .card h3 { color: var(--acc, inherit); }
.push-card label { display: block; margin-bottom: 12px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.push-card input, .push-card select, .chat-form input, .chat-form select {
  width: 100%; margin-top: 5px; background: #04120a; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 500 .95rem "Inter";
}
.push-card input:focus, .push-card select:focus, .chat-form input:focus, .chat-form select:focus {
  outline: 2px solid var(--green); border-color: var(--green);
}
.scope-switch {
  display: inline-flex; gap: 6px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; margin: 2px 0 6px;
}
.scope-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font: 700 .88rem "Inter"; transition: all .18s;
}
.scope-btn.active { background: var(--gold); color: #171106; }
.scope-note { color: var(--muted); font-size: .85rem; margin: 0 0 8px; }
.form-scope-label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.form-scope { margin-bottom: 10px; }
.form-scope-note { color: var(--muted); font-size: .78rem; margin: 0 0 10px; }
.hint { color: var(--gold-bright); font-size: .88rem; min-height: 1.2em; margin: 4px 0 10px; }
.form-msg { color: var(--red); font-size: .88rem; min-height: 1.1em; margin: 6px 0; }
.form-msg.ok { color: var(--green-bright); }
.btn-push {
  width: 100%; border: 0; cursor: pointer; padding: 14px; border-radius: 12px;
  background: linear-gradient(90deg, #16a34a, var(--green-bright)); color: #04120a;
  font: 700 1.05rem "Oswald"; text-transform: uppercase; letter-spacing: .08em;
  transition: transform .12s, box-shadow .12s; box-shadow: 0 6px 22px rgba(34, 197, 94, .3);
}
.btn-push:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(34, 197, 94, .4); }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; max-height: 300px; overflow-y: auto; }
.feed li { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.feed li:first-child { animation: rise .4s both; }
.feed .feed-amt { color: #7dd3fc; font-weight: 700; white-space: nowrap; }
.feed .feed-msg { color: var(--muted); font-style: italic; }
.feed .feed-fan { color: var(--muted); font-size: .78rem; }

/* ---------- chat ---------- */
.chat-msgs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; max-height: 320px; overflow-y: auto; }
.chat-msgs li { display: flex; gap: 9px; align-items: flex-start; animation: rise .35s both; border-left: 3px solid var(--club, transparent); padding-left: 8px; }
.chat-body { background: rgba(4, 18, 10, .65); border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; padding: 7px 11px; font-size: .9rem; }
.chat-fan { color: #fcd34d; font-weight: 700; font-size: .8rem; }
.chat-club { color: var(--gold-bright); font-size: .75rem; font-weight: 600; }
.chat-form .chat-row { display: flex; gap: 8px; margin-bottom: 8px; }
.chat-form .chat-row input, .chat-form .chat-row select { margin-top: 0; }
.chat-wallet {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; padding: 7px 10px; background: rgba(4, 18, 10, .55);
  border: 1px solid var(--line); border-radius: 9px;
}
.chat-balance { color: var(--muted); font-size: .82rem; font-weight: 600; }
.btn-credit {
  border: 1px solid rgba(212, 175, 55, .55); background: rgba(212, 175, 55, .10);
  color: var(--gold-bright); font: 700 .76rem "Inter"; cursor: pointer;
  padding: 5px 10px; border-radius: 7px;
}
.btn-credit:hover { background: rgba(212, 175, 55, .2); }
.credit-panel {
  margin-bottom: 10px; padding: 10px; border: 1px dashed var(--line);
  border-radius: 9px; background: rgba(4, 18, 10, .4);
}
.credit-note { margin: 0 0 8px; color: var(--muted); font-size: .76rem; }
.credit-options { display: flex; flex-wrap: wrap; gap: 7px; }
.credit-options button {
  border: 1px solid var(--line); background: var(--panel2); color: var(--ink);
  font: 600 .78rem "Inter"; cursor: pointer; padding: 6px 9px; border-radius: 7px;
}
.credit-options button:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-send {
  border: 0; cursor: pointer; background: linear-gradient(180deg, #fcd34d, #f59e0b); color: #231303; font: 700 .9rem "Inter";
  padding: 0 18px; border-radius: 10px; flex: 0 0 auto;
}
.chat-card .chat-balance { color: #fcd34d; font-weight: 700; }
.chat-card .btn-credit { border-color: rgba(251, 191, 36, .55); color: #fcd34d; }

/* ---------- showcase carousels ---------- */
.showcase { margin-top: 30px; padding: 22px 18px 10px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(620px 220px at 18% 0%, rgba(34, 197, 94, .13), transparent 60%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.show-sub { color: var(--muted); margin-top: -6px; }
.row-label { font-family: "Oswald"; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-size: .9rem; margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
.carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.carousel-track { display: inline-flex; gap: 14px; white-space: nowrap; padding: 10px 2px; animation: marquee var(--dur, 60s) linear infinite; will-change: transform; }
.carousel.rev .carousel-track { animation-direction: reverse; }
.carousel:hover .carousel-track { animation-play-state: paused; }
.chip-club {
  --club: #22c55e;
  display: inline-flex; flex-direction: column; align-items: center; gap: 7px;
  min-width: 106px; max-width: 106px; padding: 12px 8px 10px; border-radius: 16px;
  background: #0d1a12;
  background: linear-gradient(180deg, color-mix(in srgb, var(--club) 24%, #0c1811), #0a140d);
  border: 1px solid color-mix(in srgb, var(--club) 48%, transparent);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-weight: 600; font-size: .8rem; line-height: 1.2; text-align: center; white-space: normal;
}
.chip-name { display: block; }

/* ---------- hall of fame ---------- */
.hof { margin-top: 46px; text-align: center; }
.hof .section-title { justify-content: center; }
.hof .section-title::after { display: none; }
.hof-text { color: var(--muted); max-width: 640px; margin: 0 auto 18px; }
.hof-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.hof-card {
  border: 1px solid rgba(212, 175, 55, .45); border-radius: var(--radius); padding: 22px 14px;
  background: linear-gradient(180deg, rgba(212, 175, 55, .09), rgba(11, 32, 20, .6));
  position: relative; overflow: hidden;
}
.hof-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(243, 210, 122, .14) 48%, transparent 62%);
  animation: shimmer 3.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hof-card .laurel { font-size: 1.7rem; }
.hof-card .hof-slot { font-family: "Oswald"; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-bright); margin-top: 8px; }
.hof-card .hof-tbd { color: var(--muted); font-size: .85rem; margin-top: 5px; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 20px 30px; text-align: center; color: var(--muted); font-size: .85rem; }
.legal-links { margin-top: 10px; }
.legal-links a { color: var(--muted); text-decoration: underline; }
.legal-links a:hover { color: var(--green-bright); }
.legal-note { margin-top: 8px; font-size: .78rem; opacity: .8; }
.consent { display: block; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: left; cursor: pointer; }
.consent input { accent-color: var(--green); margin-right: 6px; }
.consent a, .legal-links a { pointer-events: auto; }
#polar-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- pay page ---------- */
.pay-card { max-width: 560px; margin: 30px auto; text-align: center; }
.pay-card .amount { font-family: "Oswald"; font-size: 2.2rem; color: var(--gold-bright); margin: 6px 0; }
.notice { background: rgba(212, 175, 55, .08); border: 1px solid rgba(212, 175, 55, .4); border-radius: 12px; padding: 14px; font-size: .9rem; color: var(--muted); text-align: left; margin: 16px 0; }
.admin-box { border: 1px dashed var(--line); border-radius: 12px; padding: 14px; margin-top: 14px; }
.admin-box input { width: 100%; background: #04120a; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 10px; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #713f12; color: #fde68a; }
.status-paid { background: #14532d; color: #86efac; }
.btn { display: inline-block; border: 1px solid var(--line); background: var(--panel); color: var(--ink); padding: 10px 16px; border-radius: 10px; text-decoration: none; cursor: pointer; font: 600 .9rem "Inter"; }
.btn.primary { background: var(--green); color: #04120a; border-color: var(--green); width: 100%; }
.error { color: var(--red); }
.muted { color: var(--muted); }

@media (max-width: 720px) {
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { min-width: 0; padding: 14px 10px; }
  .stat-label { letter-spacing: .1em; }
}

@media (max-width: 820px) {
  .action-grid { grid-template-columns: 1fr; }
  .podium { gap: 8px; }
  .row { grid-template-columns: 38px 44px 1fr auto; column-gap: 8px; row-gap: 0; padding: 10px 10px 11px 6px; }
  .pos { width: 34px; height: 34px; line-height: 34px; font-size: 1.02rem; border-radius: 10px; }
  .row.p1 .pos { font-size: 1.14rem; }
  .row-shield .shield { width: 40px; height: auto; }
  .club-name { font-size: .99rem; }
  .board-total { font-size: 1.28rem; }
  .board-need { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; font-size: .68rem; }
  .brand-sub { display: none; }
  .hero { padding-top: 26px; }
}
