:root {
  --bg: #07080c;
  --card: #12151e;
  --card-2: #181c28;
  --line: rgba(232, 195, 106, .14);
  --gold: #e8c36a;
  --gold-2: #f3deaa;
  --emerald: #2ad39a;
  --text: #f4efe4;
  --muted: #9aa0b0;
  --danger: #ff6b7a;
  --ok: #3ee0a4;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(42,211,154,.12), transparent 55%),
    radial-gradient(800px 400px at 100% 0%, rgba(232,195,106,.08), transparent 40%),
    var(--bg);
  color: var(--text);
}
.app {
  width: min(430px, 100vw);
  min-height: 100dvh;
  margin: 0 auto;
  background: linear-gradient(180deg, #0b0e16 0%, #07080c 100%);
  position: relative;
  box-shadow: 0 0 0 1px rgba(232,195,106,.08), var(--shadow);
  display: flex;
  flex-direction: column;
}
header.top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px 10px;
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(7,8,12,.96), rgba(7,8,12,.88) 70%, rgba(7,8,12,.55));
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
.brand img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--gold);
}
.brand b {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px; letter-spacing: .12em; color: var(--gold-2);
}
.balance {
  margin-left: auto;
  background: linear-gradient(180deg, #1a1f2c, #12151e);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.balance strong { color: var(--gold-2); font-weight: 600; }
.btn-gold, .btn-full, .btn-line, .btn-ghost {
  cursor: pointer; font-family: inherit; text-decoration: none; display: inline-block; text-align: center;
}
.btn-gold {
  border: 0; color: #1a1408; font-weight: 700;
  background: linear-gradient(180deg, #f3deaa, #c9a24a);
  border-radius: 999px; padding: 7px 12px; font-size: 12px;
}
.content { flex: 1; padding: 0 16px calc(88px + env(safe-area-inset-bottom, 0px)); }
.content.auth { padding: 28px 22px 40px; }
.hero {
  position: relative; height: 168px; border-radius: 20px; overflow: hidden;
  margin-bottom: 16px; border: 1px solid var(--line);
}
.hero-slide { position:absolute; inset:0; display:none; }
.hero-slide.on { display:block; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { position:absolute; left:0; right:0; bottom:8px; display:flex; justify-content:center; gap:6px; z-index:2; }
.hero-dot { width:7px; height:7px; border-radius:50%; border:0; background:rgba(255,255,255,.35); padding:0; }
.hero-dot.on { background:#e8c36a; }
.hero .copy {
  position: absolute; inset: 0; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.72));
}
.hero small { color: var(--gold); letter-spacing: .18em; font-size: 10px; }
.hero h2 { font-family: "Cormorant Garamond", serif; font-size: 28px; line-height: 1.1; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--card);
  color: var(--muted); border-radius: 999px; padding: 8px 12px; font-size: 12px; text-decoration: none;
}
.chip.on { color: #1a1408; background: linear-gradient(180deg, #f3deaa, #c9a24a); border-color: transparent; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 8px; text-align: center; text-decoration: none; color: inherit; display: block;
}
.quick .ico { font-size: 20px; margin-bottom: 6px; }
.quick span { display: block; font-size: 11px; color: var(--muted); }
.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; }
.section-h h3 { font-size: 15px; font-weight: 600; }
.section-h a { color: var(--gold); font-size: 12px; text-decoration: none; }
.game-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.game {
  flex: 0 0 118px; height: 148px; border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid var(--line); text-decoration: none; color: inherit; display: block;
}
.game.fix { flex: none; width: auto; }
.game .art {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(243,222,170,.35), transparent 40%),
    linear-gradient(160deg, #1c2436, #0c1018 70%);
}
.game.g2 .art { background: radial-gradient(circle at 70% 10%, rgba(42,211,154,.3), transparent 45%), linear-gradient(160deg,#2a1830,#0c1018); }
.game.g3 .art { background: radial-gradient(circle at 20% 80%, rgba(232,195,106,.28), transparent 45%), linear-gradient(160deg,#14263a,#0c1018); }
.game.g4 .art { background: radial-gradient(circle at 80% 80%, rgba(255,107,122,.25), transparent 45%), linear-gradient(160deg,#24141c,#0c1018); }
.game figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px;
  font-size: 11px; background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.game .fav { position: absolute; top: 8px; right: 8px; font-size: 12px; opacity: .8; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
}
.promo { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.promo .thumb { height: 92px; border-radius: 14px; overflow: hidden; }
.promo .thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo h4 { font-size: 14px; margin-bottom: 4px; }
.promo p { font-size: 11px; color: var(--muted); line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag { font-size: 10px; color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.btn-full, .btn-line, .btn-ghost {
  width: 100%; border-radius: 14px; padding: 11px 14px; font-size: 13px;
}
.btn-full {
  border: 0; font-weight: 700; color: #1a1408;
  background: linear-gradient(180deg, #f3deaa, #c9a24a);
}
.btn-line { background: transparent; color: var(--gold-2); border: 1px solid var(--gold); }
.btn-ghost { background: var(--card-2); color: var(--text); border: 1px solid var(--line); }
.row { display: flex; gap: 8px; }
nav.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(430px, 100vw);
  margin: 0;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-radius: 16px 16px 0 0;
  background: rgba(12,15,22,.96);
  border: 1px solid var(--line);
  border-bottom: 0;
  backdrop-filter: blur(18px);
  display: grid; grid-template-columns: repeat(5, 1fr);
  z-index: 40;
}
nav.tabbar a {
  color: var(--muted); font-size: 10px; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
nav.tabbar a.on { color: var(--gold-2); }
nav.tabbar svg { width: 20px; height: 20px; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  width: min(398px, calc(100vw - 32px));
  top: 18px; z-index: 50;
  background: #141a14; border: 1px solid rgba(62,224,164,.35); color: var(--ok);
  border-radius: 14px; padding: 12px 14px; font-size: 13px; display: none;
}
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; background: #0c0f16; border: 1px solid var(--line); color: var(--text);
  border-radius: 14px; padding: 12px 14px; font-family: inherit; font-size: 14px; outline: none;
}
.logo-wrap { text-align: center; margin: 18px 0 8px; }
.logo-wrap img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.auth-title {
  text-align: center; font-family: "Cormorant Garamond", serif;
  font-size: 34px; color: var(--gold-2); letter-spacing: .08em;
}
.sub { text-align: center; color: var(--muted); font-size: 13px; margin: 4px 0 22px; }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.kpi .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.kpi small { color: var(--muted); font-size: 11px; }
.kpi b { display: block; margin-top: 4px; font-size: 16px; color: var(--gold-2); }
.progress { height: 8px; background: #0c0f16; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--emerald), var(--gold)); }
.hist { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.hist:last-child { border: 0; }
.pill { font-size: 10px; padding: 3px 8px; border-radius: 99px; }
.ok { background: rgba(62,224,164,.12); color: var(--ok); }
.wait { background: rgba(232,195,106,.12); color: var(--gold); }
.no { background: rgba(255,107,122,.12); color: var(--danger); }
.notice {
  background: linear-gradient(90deg, rgba(42,211,154,.12), transparent);
  border: 1px solid rgba(42,211,154,.2);
  border-radius: 14px; padding: 10px 12px; font-size: 12px; color: #cfeedf; margin-bottom: 14px;
}
.switcher {
  display: flex; background: #0c0f16; border-radius: 12px; padding: 4px;
  margin-bottom: 14px; border: 1px solid var(--line);
}
.switcher a, .switcher button {
  flex: 1; border: 0; background: transparent; color: var(--muted);
  padding: 8px; border-radius: 9px; font-family: inherit; cursor: pointer;
  text-align: center; text-decoration: none; font-size: 13px;
}
.switcher a.on, .switcher button.on {
  background: linear-gradient(180deg,#f3deaa,#c9a24a); color: #1a1408; font-weight: 700;
}
.mini {
  height: 86px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-decoration: none; color: inherit;
}
.mini b { font-size: 12px; font-weight: 500; }
.vip-card {
  border-radius: 20px; overflow: hidden; position: relative; height: 168px;
  margin-bottom: 14px; border: 1px solid var(--line);
}
.vip-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.65); }
.vip-card .meta { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold);
}
@media (min-width: 900px) {
  body { padding: 24px 0; }
}

/* compat: หน้าเดิมที่ยังใช้คลาสเก่า */
.content .page-title,
.content h1 { color: var(--text); }
.content .page-title { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.content .page-title a { color: var(--gold-2); }
.content .form-control, .content input[type=text], .content input[type=number],
.content input[type=password], .content input[type=tel], .content select, .content textarea {
  width:100%; background:#0c0f16; border:1px solid var(--line); color:var(--text);
  border-radius:14px; padding:12px 14px; font-family:inherit;
}
.content .btn-main, .content .btn-accent, .content .btn-green,
.content button[type=submit] {
  background:linear-gradient(180deg,#f3deaa,#c9a24a); color:#1a1408; border:0;
  border-radius:14px; font-weight:700; padding:12px 14px; font-family:inherit;
}
.content .gcard { background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; color:var(--text); display:block; text-decoration:none; }
.content .gcard .name, .content .gcard figcaption { color:var(--text); }
.content .cat-chip, .content .chip { border:1px solid var(--line); color:var(--muted); background:var(--card); border-radius:999px; padding:8px 12px; text-decoration:none; }
.content .cat-chip.active, .content .chip.on { color:#1a1408; background:linear-gradient(180deg,#f3deaa,#c9a24a); }
.content .panel, .content .card, .content .wal-sec, .content .vip-card, .content .pf-form {
  background:var(--card); border:1px solid var(--line); border-radius:22px; color:var(--text);
}
.content { color: var(--text); }

/* ===== games.php club layout ===== */
.page-title { margin: 4px 0 12px; }
.page-title h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  letter-spacing: .06em;
  color: var(--gold-2) !important;
  font-weight: 600;
}
.page-title a.back { display:inline; color: var(--gold); font-size:12px; }

.game-search-box {
  position: relative;
  margin: 0 0 12px;
  background: #0c0f16;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px 0 40px;
  height: 46px;
  display: flex;
  align-items: center;
}
.game-search-box i {
  position: absolute; left: 14px; color: var(--gold);
  font-size: 16px;
}
.game-search-box input {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  padding: 0 !important;
  height: 46px;
}

.cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  margin: 0 0 14px;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  text-decoration: none;
  font-size: 12px;
}

.prov-grid,
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-bottom: 8px;
}
.fav-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.fav-row .gcard-wrap { flex: 0 0 118px; }

.gcard-wrap { position: relative; }
.gcard {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
}
.gcard .thumb {
  height: 96px;
  background: linear-gradient(160deg, #1c2436, #0c1018 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.gcard .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gcard .thumb-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2); font-weight: 700; letter-spacing: .08em;
}
.gcard .meta { padding: 6px 7px 8px; }
.gcard .name { font-size: 11px; font-weight: 600; line-height: 1.25; max-height: 2.6em; overflow: hidden; }
.gcard .prov { font-size: 11px; color: var(--muted); margin-top: 2px; }
.gcard .tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 10px; padding: 3px 8px; border-radius: 99px;
  background: rgba(0,0,0,.55); color: var(--gold-2); border: 1px solid var(--line);
}
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12,15,22,.72);
  color: var(--gold-2); cursor: pointer;
}
.fav-btn.on { color: #ff6b7a; }
.section-h { display:flex; align-items:baseline; justify-content:space-between; margin: 16px 0 10px; }
.section-h span, .section-h h3 { font-size: 15px; font-weight: 600; color: var(--text); }

/* hide extra in-page title (header already has brand) */
.content .page-title { display: none !important; }

.bank-card, .acc-item, .deposit-panel, .acc-body {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}
.acc-item { border-radius: 18px; margin-bottom: 10px; overflow: hidden; }
.acc-head {
  width: 100%; background: transparent !important; color: var(--text) !important;
  border: 0; padding: 14px; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; font-size: 15px;
}
.bank-card { border-radius: 14px; padding: 12px; margin: 8px 12px 14px; }
.bank-label { color: var(--gold-2) !important; font-weight: 700; margin-bottom: 8px; }
.bank-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06);
  color: var(--text) !important;
}
.bank-row span { color: var(--muted) !important; font-size: 12px; min-width: 64px; }
.bank-row strong, .bank-row .acc-no, .bank-row .acc-name {
  color: var(--gold-2) !important;
  font-size: 16px;
  letter-spacing: .02em;
  flex: 1;
}
.btn-copy {
  flex: 0 0 auto;
  border: 1px solid var(--gold) !important;
  background: linear-gradient(180deg, #f3deaa, #c9a24a) !important;
  color: #1a1408 !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  font-family: inherit;
  cursor: pointer;
}
.toast {
  position: fixed; left: 50%; top: 18%; transform: translateX(-50%);
  z-index: 80; display: none;
  background: #12151e; color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px;
  font-size: 13px; max-width: 86vw;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.dep-ico { width: 22px; height: 22px; color: var(--gold-2); flex: 0 0 22px; }
.acc-head span { display:flex; align-items:center; gap:8px; color: var(--text); }

/* profile + referral gold */
.pf-btn, .rf-btn, button.pf-btn, button.rf-btn {
  background: linear-gradient(180deg, #f3deaa, #c9a24a) !important;
  color: #1a1408 !important;
  -webkit-text-fill-color: #1a1408 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.rf-btn.sec {
  background: #12151e !important;
  color: var(--gold-2) !important;
  -webkit-text-fill-color: var(--gold-2) !important;
  border: 1px solid var(--gold) !important;
}
.rf-card, .rf-hero, .rf-card.rf-hero {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  color: var(--text) !important;
}
.rf-code { color: var(--gold-2) !important; }
.rf-link, .pf-link {
  background: #0c0f16 !important;
  border: 1px solid var(--line) !important;
  color: var(--gold-2) !important;
}
.rf-row, .rf-row span, .rf-row strong,
.rf-card h3, .rf-table th, .rf-table td {
  color: var(--text) !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.06) !important;
}
.rf-badge {
  background: #0c0f16 !important;
  color: var(--gold-2) !important;
  border-color: var(--line) !important;
}
.panel, .pf-form input, .pf-form select {
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}
.pf-row strong { color: var(--gold-2); }
a.pf-btn[href="logout.php"] {
  background: #3a1518 !important;
  color: #ffb4bc !important;
  -webkit-text-fill-color: #ffb4bc !important;
  border: 1px solid rgba(255,107,122,.35) !important;
}

/* points hub gold */
.pts-hero, .pts-note, .pts-card, .pts-off {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  color: var(--text) !important;
}
.pts-hero {
  text-align: center;
  border-radius: 18px;
  padding: 16px 12px;
  margin-bottom: 12px;
}
.pts-hero .lab { color: var(--muted) !important; }
.pts-hero .num { color: var(--gold-2) !important; }
.pts-note {
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--text) !important;
}
.pts-card {
  border-radius: 16px;
  padding: 14px 12px 12px;
  position: relative;
}
.pts-name { color: var(--text) !important; }
.pts-pts { color: var(--gold-2) !important; }
.pts-st { color: var(--muted) !important; }
.pts-ex, button.pts-ex {
  background: linear-gradient(180deg, #f3deaa, #c9a24a) !important;
  color: #1a1408 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.pts-ex.sec, button.pts-ex.sec, .pts-ex:disabled {
  background: #0c0f16 !important;
  color: var(--muted) !important;
  border: 1px solid var(--line) !important;
}
.pts-badge {
  background: #3a1518 !important;
  color: #ffb4bc !important;
  box-shadow: none !important;
}
.pts-off { color: var(--muted) !important; }

/* history 4 pages */
.hd-row, .hb-row, .hp-row, .hg-day, .hg-order, .hg-stat>div,
.hp-bal, .panel {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  color: var(--text) !important;
}
.hd-row, .hb-row, .hp-row {
  border-radius: 16px;
  margin-bottom: 8px;
}
.hd-amt, .hb-amt, .hp-g, .pos { color: var(--gold-2) !important; }
.hd-src, .hb-lab, .hd-note, .hd-time, .hb-time, .hp-m, .neg { color: var(--muted) !important; }
.hd-badge, .rf-badge {
  background: #0c0f16 !important;
  color: var(--gold-2) !important;
  border: 1px solid var(--line) !important;
}
.hd-badge.ok { color: #3ee0a4 !important; border-color: rgba(62,224,164,.35) !important; }
.hd-badge.pending { color: var(--gold-2) !important; }
.hd-badge.fail { color: #ff6b7a !important; border-color: rgba(255,107,122,.35) !important; }
.hg-form input {
  background: #0c0f16 !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}
.hg-form button, .hg-quick a {
  background: linear-gradient(180deg,#f3deaa,#c9a24a) !important;
  color: #1a1408 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.hg-quick a {
  background: #12151e !important;
  color: var(--gold-2) !important;
  border: 1px solid var(--line) !important;
}

.hp-bal div {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  color: var(--muted) !important;
}
.hp-bal strong { color: var(--gold-2) !important; }

.hd-row {
  overflow: hidden !important;
  align-items: center !important;
}
.hd-row > div { min-width: 0; flex: 1; }
.hd-badge {
  flex: 0 0 auto !important;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 8px !important;
  font-size: 10px !important;
  margin-left: 6px;
}
.club-flash {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
.club-flash.ok {
  background: rgba(62,224,164,.12);
  border: 1px solid rgba(62,224,164,.35);
  color: #3ee0a4;
}
.club-flash.bad {
  background: rgba(255,107,122,.12);
  border: 1px solid rgba(255,107,122,.35);
  color: #ffb4bc;
}
.toast { z-index: 130 !important; }
.af-stat > div, .af-stat3 a, .af-stat3 > div, .af-card, .af-tabs a {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}
.af-stat strong, .af-stat3 .n { color: var(--gold-2) !important; }
.af-tabs a.on, .af-link button {
  background: linear-gradient(180deg,#f3deaa,#c9a24a) !important;
  color: #1a1408 !important;
  border: 0 !important;
}
.af-link input {
  background: #0c0f16 !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}
