:root {
  --bg: #070b0a;
  --panel: #0e1512;
  --panel2: #121c17;
  --line: #20342a;
  --text: #f2f7f3;
  --muted: #8aa096;
  --green: #9bff36;
  --green2: #42e68b;
  --red: #ff5874;
  --gold: #ffc74a;
  --pink: #ea55c3;
  --nav: 76px;
}
body {
  font-size: 16px;
}
.topbar {
  height: 82px;
}
.brand span {
  font-size: 27px;
}
.round-chip {
  font-size: 13px;
}
.vip-pill {
  font-size: 16px;
  padding: 10px 15px;
}
.vip-pill span {
  font-size: 13px;
}
.balance small {
  font-size: 11px;
}
.balance b {
  font-size: 16px;
}
.icon-btn,
#language {
  height: 46px;
  font-size: 15px;
}
.icon-btn img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 7px;
}
.market-head {
  height: 68px;
}
.market-head b {
  font-size: 19px;
}
.market-head small {
  font-size: 12px;
}
.market-price b {
  font-size: 22px;
}
.section-title h2,
h2 {
  font-size: 22px;
}
.eyebrow {
  font-size: 11px;
}
.market-tabs button {
  font-size: 14px;
  padding: 10px 14px;
}
.options button b {
  font-size: 20px;
}
.options button span {
  font-size: 11px;
}
.bet-slip label {
  font-size: 11px;
}
.bet-slip b {
  font-size: 16px;
}
.bet-note {
  font-size: 11px;
}
.stats span {
  font-size: 12px;
}
.stats b {
  font-size: 24px;
}
.page-head p,
.notice,
.commission p {
  font-size: 14px;
}
.page-head h1 {
  font-size: 40px;
}
.bottom-nav i {
  font-size: 26px;
}
.bottom-nav span {
  font-size: 12px;
}
.bottom-nav button {
  width: 125px;
}
.chart-tools {
  min-height: 42px;
}
.intervals button {
  height: 31px;
  min-width: 42px;
  font-size: 13px;
}
.ohlc {
  font-size: 11px;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.15s;
}
.market-card:hover .ohlc,
.market-card:focus-within .ohlc {
  opacity: 1;
}
.chart-tools:before {
  content: "Move over chart to view OHLC · UTC";
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.market-card:hover .chart-tools:before,
.market-card:focus-within .chart-tools:before {
  display: none;
}
.amount > div {
  display: grid;
  grid-template-columns: repeat(5, 44px) minmax(75px, 1fr) auto;
}
.amount button {
  height: 39px;
  font-size: 13px;
}
.qr {
  background: #fff;
  padding: 8px;
  border: 0;
}
.qr img {
  display: block;
  width: 154px;
  height: 154px;
  object-fit: contain;
}
.howto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.howto-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0a110e;
}
.howto-grid b {
  font-size: 17px;
  color: var(--green);
}
.howto-grid li {
  margin: 8px 0;
  color: #bdcbc4;
  font-size: 13px;
  line-height: 1.5;
}
.team-detail {
  margin-top: 24px;
}
.team-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.team-row {
  min-width: 760px;
  display: grid;
  grid-template-columns: 1.1fr repeat(5, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.team-row:last-child {
  border-bottom: 0;
}
.team-head {
  color: var(--muted);
  background: #09100d;
  font-weight: 700;
}
.support-head > div {
  display: grid;
  grid-template-columns: 40px auto 1fr;
  align-items: center;
  gap: 6px;
}
.support-head > div > img {
  grid-row: 1/3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.support-head .pulse {
  margin: 0;
}
.support-head small {
  grid-column: 2/4;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, #153820 0, transparent 35%), var(--bg);
}
button,
input,
select {
  font: inherit;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(155, 255, 54, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(155, 255, 54, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.topbar {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 8px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 10, 0.92);
  backdrop-filter: blur(18px);
}
.brand {
  height: 55px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: white;
  cursor: pointer;
}
.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 14px;
}
.brand span {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -1px;
}
.brand b {
  color: var(--green);
}
.round-chip {
  margin-left: 28px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.round-chip b {
  color: white;
  margin-left: 6px;
}
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green2);
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 12px var(--green2);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vip-pill,
.balance,
.icon-btn,
#language {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
}
.vip-pill {
  padding: 8px 12px;
  color: var(--gold);
  font-weight: 800;
}
.vip-pill span {
  font-size: 11px;
  color: var(--muted);
  margin-left: 7px;
  font-weight: 500;
}
.balance {
  padding: 7px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.balance small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.balance b {
  font-size: 13px;
}
.icon-btn,
#language {
  height: 41px;
  color: white;
  padding: 0 13px;
  cursor: pointer;
}
main {
  width: min(1680px, 100%);
  margin: auto;
  padding: 18px 22px calc(var(--nav) + 22px);
}
.page {
  display: none;
}
.page.active {
  display: block;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.market-card,
.panel {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(18, 28, 23, 0.96),
    rgba(10, 15, 13, 0.98)
  );
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.market-head {
  height: 58px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.market-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.market-head small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.exchange {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  font-weight: 900;
}
.binance {
  color: #171108;
  background: #f3ba2f;
}
.okx {
  color: #080808;
  background: #fff;
}
.market-price {
  text-align: right;
}
.market-price b {
  display: block;
  font-size: 18px;
}
.market-price span {
  font-size: 11px;
}
.up {
  color: var(--green2) !important;
}
.down {
  color: var(--red) !important;
}
canvas {
  display: block;
  width: 100%;
  height: 265px;
}
.chart-meta {
  height: 30px;
  display: flex;
  gap: 22px;
  padding: 7px 14px;
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--line);
}
.chart-meta span:last-child {
  margin-left: auto;
}
.gold {
  color: var(--gold);
}
.pink {
  color: var(--pink);
}
.game-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
  margin-top: 14px;
}
.round-panel {
  padding: 18px;
}
.timer-wrap {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 22px;
}
.timer-ring {
  width: 172px;
  height: 172px;
  padding: 8px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 83%, #1d2a24 83%);
  box-shadow: 0 0 40px rgba(155, 255, 54, 0.12);
}
.timer-ring > div {
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a110e;
  border: 1px solid #294331;
}
.timer-ring small {
  color: var(--green);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.13em;
}
.timer-ring strong {
  font-size: 36px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.timer-ring span {
  font-size: 9px;
  color: var(--muted);
}
.timeline {
  display: grid;
  gap: 20px;
}
.timeline div {
  position: relative;
  padding-left: 18px;
}
.timeline div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--green);
  border-radius: 50%;
}
.timeline div:not(:last-child):after {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 1px;
  height: 32px;
  background: var(--line);
}
.timeline b {
  display: block;
  font-size: 13px;
}
.timeline span {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.proof-card {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--green);
}
h1,
h2 {
  margin: 3px 0;
}
h2 {
  font-size: 18px;
}
.text-btn {
  color: var(--green);
  border: 0;
  background: none;
  cursor: pointer;
}
.calculation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.1fr;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.calculation > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  text-align: center;
  background: #0a100e;
}
.calculation span,
.calculation small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.calculation b {
  font-size: 30px;
}
.calculation i {
  color: var(--muted);
  font-style: normal;
  font-size: 22px;
}
.result-ball {
  border-color: rgba(155, 255, 54, 0.5) !important;
  box-shadow: inset 0 0 20px rgba(155, 255, 54, 0.08);
}
.result-ball b {
  color: var(--green);
}
.integrity {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
}
.bet-panel {
  padding: 18px;
}
.limit {
  font-size: 10px;
  color: var(--muted);
}
.market-tabs {
  display: flex;
  gap: 6px;
  overflow: auto;
  margin: 14px 0 12px;
  padding-bottom: 3px;
}
.market-tabs button,
.options button {
  border: 1px solid var(--line);
  background: #0b120f;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.market-tabs button {
  padding: 8px 11px;
  font-size: 11px;
}
.market-tabs button.active,
.options button.active {
  color: #0b100d;
  border-color: var(--green);
  background: var(--green);
  font-weight: 800;
}
.options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  min-height: 120px;
}
.options button {
  padding: 10px 6px;
  min-height: 53px;
}
.options button b,
.options button span {
  display: block;
}
.options button b {
  font-size: 16px;
  color: white;
}
.options button.active b {
  color: #0b100d;
}
.options button span {
  font-size: 9px;
  margin-top: 3px;
}
.bet-slip {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.8fr 1fr;
  gap: 9px;
  align-items: end;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #090f0d;
  border-radius: 12px;
}
.bet-slip label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.bet-slip b {
  font-size: 13px;
}
.amount > div {
  display: flex;
}
.amount input {
  min-width: 50px;
  width: 100%;
  height: 39px;
  background: #111b16;
  border: 1px solid var(--line);
  color: white;
  padding: 0 9px;
}
.amount button,
.amount span {
  border: 1px solid var(--line);
  background: #111b16;
  color: var(--muted);
  padding: 0 7px;
}
.amount button {
  cursor: pointer;
}
.amount button.active {
  border-color: var(--green);
  color: var(--green);
  background: rgba(155, 255, 54, 0.12);
}
.amount span {
  display: grid;
  place-items: center;
  font-size: 9px;
}
.primary,
.secondary {
  height: 41px;
  border-radius: 9px;
  font-weight: 850;
  font-size: 11px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.primary {
  border: 0;
  background: linear-gradient(135deg, var(--green), #5cdd38);
  color: #081007;
  box-shadow: 0 7px 22px rgba(128, 255, 52, 0.13);
}
.secondary {
  border: 1px solid var(--line);
  background: #111b16;
  color: white;
}
.bet-note {
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 0;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
  margin-top: 14px;
}
.leaderboard,
.streak {
  padding: 18px;
}
.leaderboard .section-title > b {
  font-size: 10px;
  color: var(--muted);
}
#leaderboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 20px;
  margin-top: 12px;
}
.rank {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 4px;
  border-bottom: 1px solid rgba(32, 52, 42, 0.6);
  font-size: 11px;
}
.rank i {
  font-style: normal;
  color: var(--muted);
}
.rank b:last-child {
  color: var(--green);
}
.streak-row {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.streak-row div {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b120f;
}
.streak-row b,
.streak-row span,
.streak-row strong {
  display: block;
}
.streak-row b {
  font-size: 23px;
}
.streak-row span {
  font-size: 9px;
  color: var(--muted);
}
.streak-row strong {
  color: var(--green);
  margin-top: 7px;
}
.streak p,
.page-head p,
.notice,
.commission p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.bottom-nav {
  position: fixed;
  z-index: 25;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav);
  display: flex;
  justify-content: center;
  gap: 3px;
  padding: 7px;
  background: rgba(8, 13, 11, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.bottom-nav button {
  width: 110px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.bottom-nav i,
.bottom-nav span {
  display: block;
}
.bottom-nav i {
  font-size: 19px;
  font-style: normal;
  margin-bottom: 3px;
}
.bottom-nav span {
  font-size: 10px;
}
.bottom-nav button.active {
  color: var(--green);
  background: rgba(155, 255, 54, 0.08);
}
.portal {
  max-width: 1180px;
  margin: 0 auto;
}
.page-head {
  padding: 28px 3px 20px;
}
.page-head h1 {
  font-size: 34px;
}
.form-card {
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  align-items: end;
  gap: 12px;
}
.form-card label {
  font-size: 11px;
  color: var(--muted);
}
.form-card input,
.form-card select,
.copy-field input {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 7px;
  padding: 0 13px;
  color: white;
  background: #0a110e;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.deposit-order {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.qr {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-conic-gradient(#07100a 0 4%, white 0 7%);
  border: 10px solid white;
  color: var(--green);
  font-size: 23px;
  font-weight: 900;
  text-shadow: 0 1px 4px black;
}
.deposit-order code {
  display: block;
  color: var(--green);
  margin: 12px 0;
  word-break: break-all;
}
.inline-actions {
  display: flex;
  gap: 10px;
}
.inline-actions button {
  padding: 0 18px;
}
.stack-form {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.notice {
  padding: 15px;
  margin-top: 18px;
  border: 1px solid #493e20;
  background: rgba(255, 199, 74, 0.07);
  border-radius: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.stats > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.stats span,
.stats b {
  display: block;
}
.stats span {
  color: var(--muted);
  font-size: 10px;
}
.stats b {
  margin-top: 6px;
  font-size: 20px;
}
.profile-grid {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.reward,
.ledger div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.reward span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.reward button {
  border: 1px solid var(--green);
  color: var(--green);
  background: transparent;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 9px;
}
.ledger span,
.ledger b {
  font-size: 12px;
}
.vip-progress {
  padding: 22px;
}
.vip-progress > div:first-child {
  display: flex;
  justify-content: space-between;
}
.progress {
  height: 8px;
  background: #1b2822;
  border-radius: 20px;
  margin: 16px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 20px;
  box-shadow: 0 0 15px var(--green);
}
.vip-progress small {
  color: var(--muted);
}
.vip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-top: 14px;
}
.vip-card {
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 11px;
}
.vip-card.active {
  border-color: var(--green);
  box-shadow: 0 0 25px rgba(155, 255, 54, 0.08);
}
.vip-card b,
.vip-card span,
.vip-card small {
  display: block;
}
.vip-card b {
  font-size: 18px;
  color: var(--green);
}
.vip-card span {
  font-weight: 800;
  margin: 6px 0;
}
.vip-card small {
  color: var(--muted);
}
.invite-card {
  padding: 24px;
}
.copy-field {
  display: flex;
  gap: 9px;
}
.copy-field input {
  margin: 7px 0;
}
.copy-field button {
  width: 130px;
  margin-top: 7px;
}
.invite-card .stats {
  margin: 24px 0;
}
.commission > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.commission b {
  color: var(--green);
}
.drawer {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.drawer-card {
  width: min(570px, 100%);
  height: 100%;
  padding: 35px;
  background: #0d1511;
  border-left: 1px solid var(--line);
  overflow: auto;
}
.close {
  float: right;
  border: 0;
  background: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}
.rules-copy {
  margin-top: 25px;
  color: #c3d0ca;
  line-height: 1.7;
}
.rules-copy code {
  display: block;
  white-space: normal;
  padding: 14px;
  color: var(--green);
  background: #07100b;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.support {
  position: fixed;
  z-index: 45;
  right: 20px;
  bottom: 90px;
  width: 360px;
  height: 490px;
  display: flex;
  flex-direction: column;
  background: #0e1713;
  border: 1px solid #2d4a3b;
  border-radius: 16px;
  box-shadow: 0 20px 80px #000;
  overflow: hidden;
}
.support-head {
  height: 58px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.support-head b,
.support-head small {
  display: block;
}
.support-head small {
  color: var(--green);
  font-size: 9px;
}
.support-head button {
  border: 0;
  background: none;
  color: white;
  font-size: 20px;
}
.messages {
  flex: 1;
  padding: 16px;
  overflow: auto;
}
.message {
  max-width: 82%;
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.45;
}
.message.agent {
  background: #18251f;
}
.message.user {
  margin-left: auto;
  background: #517f28;
}
.support-input {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 7px;
  padding: 10px;
  border-top: 1px solid var(--line);
}
.support-input input {
  background: #09100d;
  border: 1px solid var(--line);
  color: white;
  border-radius: 8px;
  padding: 0 10px;
  min-width: 0;
}
.support-input button,
.attach {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #081007;
  cursor: pointer;
}
.attach input {
  display: none;
}
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 95px;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border: 1px solid #427b56;
  border-radius: 9px;
  background: #102119;
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hidden {
  display: none !important;
}
@media (max-width: 1000px) {
  .hero-grid,
  .game-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .stack-form {
    grid-template-columns: 1fr 1fr;
  }
  .vip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .topbar {
    padding: 8px 14px;
  }
  .round-chip {
    display: none;
  }
  .vip-pill span,
  .icon-btn span {
    display: none;
  }
}
@media (max-width: 650px) {
  :root {
    --nav: 68px;
  }
  .topbar {
    height: 65px;
  }
  .brand img {
    width: 43px;
    height: 43px;
  }
  .brand span {
    display: none;
  }
  .balance {
    padding: 6px 9px;
  }
  .balance small {
    display: none;
  }
  .balance b {
    font-size: 11px;
  }
  .vip-pill {
    font-size: 11px;
    padding: 7px;
  }
  .icon-btn {
    padding: 0 10px;
  }
  #language {
    width: 52px;
    padding: 0 6px;
  }
  main {
    padding: 10px 10px calc(var(--nav) + 15px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .market-card:nth-child(2) canvas {
    height: 190px;
  }
  .market-card:first-child canvas {
    height: 220px;
  }
  .market-card:nth-child(2) canvas {
    height: 220px;
  }
  .game-grid {
    margin-top: 10px;
  }
  .round-panel,
  .bet-panel,
  .leaderboard,
  .streak {
    padding: 13px;
  }
  .timer-wrap {
    grid-template-columns: 130px 1fr;
    gap: 12px;
  }
  .timer-ring {
    width: 126px;
    height: 126px;
  }
  .timer-ring strong {
    font-size: 28px;
  }
  .timeline b {
    font-size: 10px;
  }
  .calculation {
    gap: 4px;
  }
  .calculation > div {
    padding: 8px 3px;
  }
  .calculation b {
    font-size: 23px;
  }
  .integrity {
    display: none;
  }
  .options {
    grid-template-columns: repeat(3, 1fr);
  }
  .bet-slip {
    grid-template-columns: 1fr 1fr;
  }
  .bet-slip .primary {
    grid-column: 1/-1;
  }
  .bottom-nav {
    justify-content: space-around;
  }
  .bottom-nav button {
    width: auto;
    flex: 1;
  }
  .bottom-nav i {
    font-size: 16px;
  }
  .bottom-nav span {
    font-size: 8px;
  }
  #leaderboard {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .stack-form,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .deposit-order {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .commission > div {
    grid-template-columns: 1fr auto;
  }
  .support {
    right: 8px;
    bottom: 78px;
    width: calc(100% - 16px);
    height: 65vh;
  }
  .page-head {
    padding: 16px 3px;
  }
  .page-head h1 {
    font-size: 27px;
  }
}
@media (max-width: 650px) {
  .howto-grid {
    grid-template-columns: 1fr;
  }
  .page-head h1 {
    font-size: 32px;
  }
  .market-head b {
    font-size: 16px;
  }
  .market-head small {
    font-size: 10px;
  }
  .chart-tools {
    align-items: flex-start;
    overflow: hidden;
  }
  .chart-tools:before {
    font-size: 9px;
  }
  .ohlc {
    font-size: 10px;
  }
  .amount > div {
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
  }
  .amount input {
    grid-column: 1/5;
    margin-top: 4px;
  }
  .amount span {
    margin-top: 4px;
  }
  .bottom-nav i {
    font-size: 22px;
  }
  .bottom-nav span {
    font-size: 10px;
  }
}
:root {
  --chart-hint: "Move over chart to view OHLC · UTC";
}
.chart-tools:before {
  content: var(--chart-hint);
}
.exchange {
  overflow: hidden;
}
.exchange img {
  display: block;
  width: 31px;
  height: 31px;
}
.live-state {
  color: var(--green2);
  font-size: 9px !important;
  letter-spacing: 0.12em;
}
.exchange.wordmark {
  width: 42px;
  background: #000;
}
.exchange.wordmark img {
  width: 42px;
  height: 31px;
  object-fit: cover;
  object-position: left;
}
.exchange.okxmark {
  background: #000;
}
.exchange.okxmark img {
  width: 31px;
  height: 31px;
  object-fit: cover;
}
.chart-tools {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 13px;
  border-bottom: 1px solid var(--line);
  background: #09110d;
}
.intervals {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
}
.intervals button {
  height: 25px;
  min-width: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #101a15;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.intervals button.active {
  border-color: var(--green);
  background: rgba(155, 255, 54, 0.13);
  color: var(--green);
}
.ohlc {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  color: var(--muted);
  font-size: 8px;
  scrollbar-width: none;
}
.ohlc span {
  white-space: nowrap;
}
.ohlc b {
  color: #dce9e1;
  font-weight: 650;
}
.market-card canvas {
  cursor: crosshair;
  touch-action: none;
}
.market-card canvas:focus {
  outline: 1px solid rgba(155, 255, 54, 0.45);
  outline-offset: -1px;
}

/* 2026-07-24 usability pass */
.proof-card .eyebrow,
.streak > .eyebrow,
.section-title .eyebrow {
  font-size: 12px;
}
.proof-card h2,
.streak h2,
.bet-panel h2 {
  font-size: 22px;
}
.calculation span,
.calculation small,
.integrity {
  font-size: 12px;
}
.calculation b {
  font-size: 36px;
}
.streak-row b {
  font-size: 30px;
}
.streak-row span {
  font-size: 13px;
}
.streak-row strong {
  font-size: 22px;
}
.streak p,
.bet-note {
  font-size: 13px;
}
.bet-slip {
  grid-template-columns: minmax(170px, 0.9fr) minmax(500px, 2.2fr);
  grid-template-areas:
    "selected amount"
    "return submit";
  gap: 14px 22px;
  align-items: stretch;
  padding: 18px;
}
.bet-slip > div:first-child {
  grid-area: selected;
}
.bet-slip .amount {
  grid-area: amount;
}
.bet-slip .return {
  grid-area: return;
}
.bet-slip > .primary {
  grid-area: submit;
}
.bet-slip label {
  font-size: 12px;
}
.bet-slip b {
  font-size: 17px;
}
.amount > div {
  gap: 5px;
}
.amount button {
  min-width: 52px;
  border-radius: 7px;
  font-size: 15px;
}
.amount input {
  min-width: 130px;
  font-size: 18px;
  border-radius: 7px;
}
.amount span {
  min-width: 56px;
  font-size: 12px;
  border-radius: 7px;
}
.bottom-nav {
  height: 82px;
  padding: 8px;
}
.bottom-nav button {
  width: 124px;
}
.bottom-nav i {
  display: grid;
  place-items: center;
  height: 38px;
  margin: 0 auto 2px;
}
.bottom-nav svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bottom-nav span {
  font-size: 12px;
}
.bottom-nav button.active svg {
  filter: drop-shadow(0 0 6px rgba(155, 255, 54, 0.75));
}
.bottom-nav .eth180-mini {
  width: auto;
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
  font-style: italic;
  letter-spacing: -0.08em;
  text-shadow: 0 0 9px rgba(155, 255, 54, 0.55);
}
.market-card {
  position: relative;
}
.chart-tooltip {
  position: absolute;
  z-index: 8;
  width: 208px;
  padding: 11px 12px;
  border: 1px solid rgba(155, 255, 54, 0.35);
  border-radius: 8px;
  background: rgba(4, 10, 7, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  color: #dce9e1;
  font-size: 12px;
  line-height: 1.55;
}
.chart-tooltip strong {
  display: block;
  color: var(--green);
  margin-bottom: 5px;
}
.chart-tooltip div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.chart-tooltip span {
  color: var(--muted);
}
.wallet-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.wallet-address-card {
  padding: 22px;
}
.wallet-address-card span {
  display: block;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 9px;
}
.wallet-address-card b {
  display: block;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.deposit-order .qr {
  background: #fff;
  padding: 8px;
  border-radius: 8px;
}
.deposit-order .qr img {
  display: block;
}
.reward button {
  min-width: 78px;
  padding: 9px 13px;
  font-size: 12px;
  cursor: pointer;
}
.reward button.claimed {
  border-color: var(--line);
  color: var(--muted);
}
.reward-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}
.reward-modal > div {
  width: min(390px, 100%);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(155, 255, 54, 0.35);
  border-radius: 18px;
  background: #0b130f;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}
.reward-check {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green);
  color: #071006;
  font-size: 34px;
  font-weight: 900;
}
.reward-modal h2 {
  font-size: 24px;
}
.reward-modal p {
  color: var(--muted);
  font-size: 15px;
}
.reward-modal button {
  width: 100%;
  margin-top: 10px;
}
.subaccount-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.subaccount-tools article,
.subaccount-list {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b120f;
}
.subaccount-tools p {
  color: var(--muted);
  font-size: 13px;
}
.subaccount-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}
.subaccount-form input,
.subaccount-form select {
  min-width: 0;
  height: 41px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101a15;
  color: white;
}
.subaccount-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.subaccount-row span:last-child {
  text-align: right;
  color: var(--green);
}

@media (max-width: 760px) {
  .bet-slip {
    grid-template-columns: 1fr;
    grid-template-areas: "selected" "amount" "return" "submit";
  }
  .amount > div {
    flex-wrap: wrap;
  }
  .amount input {
    flex: 1 1 130px;
  }
  .wallet-address-grid {
    grid-template-columns: 1fr;
  }
  .subaccount-tools {
    grid-template-columns: 1fr;
  }
  .subaccount-form {
    grid-template-columns: 1fr;
  }
  .wallet-address-card {
    padding: 17px;
  }
  .bottom-nav button {
    width: auto;
    flex: 1;
  }
  .bottom-nav svg {
    width: 27px;
    height: 27px;
  }
  .bottom-nav span {
    font-size: 11px;
  }
}
