:root {
  color-scheme: dark;
  --bg: #111827;
  --bg-deep: #06050a;
  --panel: rgba(10, 15, 26, 0.84);
  --panel-soft: rgba(20, 28, 42, 0.78);
  --gold: #f7c948;
  --gold-soft: #f1a928;
  --amber: #d98b16;
  --red: #b91c1c;
  --text: #fff8dc;
  --muted: #c9bfa5;
  --line: rgba(247, 201, 72, 0.22);
  --line-strong: rgba(247, 201, 72, 0.48);
  --ink: #11100b;
  --neon-core: rgba(255, 248, 198, 0.94);
  --neon-mid: rgba(247, 201, 72, 0.82);
  --neon-outer: rgba(247, 201, 72, 0.46);
  --neon-faint: rgba(247, 201, 72, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(34, 211, 238, 0.16), transparent 32%),
    radial-gradient(circle at 12% 18%, rgba(247, 201, 72, 0.13), transparent 22%),
    radial-gradient(circle at 92% 34%, rgba(190, 24, 93, 0.13), transparent 24%),
    linear-gradient(135deg, #070a12 0%, #101827 42%, #08060d 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.pageShell {
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

.welcomeIntro {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(247, 201, 72, 0.18), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2), transparent 38%),
    rgba(4, 5, 10, 0.86);
  pointer-events: none;
  animation: introCurtain 2.35s cubic-bezier(0.2, 0.76, 0.18, 1) forwards;
}

.welcomeIntro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 242, 168, 0.18), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%);
  transform: translateX(-100%);
  animation: introSheen 1.35s ease 0.25s both;
}

.introBrand {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  transform: translate(-50%, -50%) scale(1.55);
  transform-origin: center center;
  animation: introBrandMove 2.25s cubic-bezier(0.18, 0.82, 0.18, 1) forwards;
}

.introBrandMark {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  filter:
    drop-shadow(0 0 12px rgba(255, 248, 198, 0.86))
    drop-shadow(0 0 26px rgba(247, 201, 72, 0.9))
    drop-shadow(0 0 44px rgba(247, 201, 72, 0.56));
  animation: logoGlowPulse 2.2s ease-in-out infinite;
}

.introBrandMark::before,
.brandMark::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 248, 198, 0.56), rgba(247, 201, 72, 0.22) 42%, transparent 68%);
  opacity: 0.82;
  transform: scale(0.9);
  animation: logoAuraPulse 2.2s ease-in-out infinite;
}

.introBrandMark img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.introBrandText strong,
.introBrandText small {
  display: block;
  white-space: nowrap;
}

.introBrandText strong {
  color: transparent;
  background: linear-gradient(90deg, #fffbe0, #fff1a8, var(--gold), #f2a52b, #fff3bd);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 34px;
  font-weight: 950;
  line-height: 1.05;
  text-shadow:
    0 0 7px rgba(255, 248, 198, 0.72),
    0 0 16px rgba(247, 201, 72, 0.58),
    0 0 30px rgba(247, 201, 72, 0.42),
    0 0 48px rgba(247, 201, 72, 0.22);
  animation: textNeonPulse 2.2s ease-in-out infinite, textGoldSweep 3.4s linear infinite;
}

.introBrandText small {
  margin-top: 6px;
  color: #fff1a8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 5px var(--neon-core),
    0 0 13px var(--neon-mid),
    0 0 24px var(--neon-outer),
    0 0 38px var(--neon-faint);
  animation: textNeonPulse 2.2s ease-in-out infinite;
}

.pageShell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(247, 201, 72, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 201, 72, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.ledStrip {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 4;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), #fff2a8, var(--gold), transparent);
  box-shadow: 0 0 18px rgba(247, 201, 72, 0.75);
  animation: pulseLine 2.6s ease-in-out infinite;
}

.ledStrip.top {
  top: 0;
}

.ledStrip.bottom {
  bottom: 0;
}

.goldRail {
  position: fixed;
  left: 12vw;
  right: 12vw;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.5), transparent);
}

.goldRail.top {
  top: 78px;
}

.goldRail.bottom {
  bottom: 18px;
}

.corner {
  position: fixed;
  z-index: 1;
  width: 70px;
  height: 70px;
  border-color: rgba(247, 201, 72, 0.44);
  pointer-events: none;
}

.topLeft {
  top: 18px;
  left: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.topRight {
  top: 18px;
  right: 18px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.bottomLeft {
  bottom: 18px;
  left: 18px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.bottomRight {
  right: 18px;
  bottom: 18px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.particleLayer,
.coinLayer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particleLayer span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  opacity: 0.55;
  animation: floatGold 4.8s ease-in-out infinite;
}

.coinLayer span {
  position: absolute;
  border: 1px solid rgba(247, 201, 72, 0.16);
  border-radius: 50%;
  opacity: 0.24;
  animation: rotateCoin 18s linear infinite;
}

.coinLayer span::before,
.coinLayer span::after {
  content: "";
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(247, 201, 72, 0.18);
}

.coinLayer span::after {
  inset: 41%;
  background: rgba(247, 201, 72, 0.08);
}

.siteHeader {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.84);
  pointer-events: auto;
}

.brandMark {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
}

.brandLogoImage {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(255, 248, 198, 0.82))
    drop-shadow(0 0 20px rgba(247, 201, 72, 0.86))
    drop-shadow(0 0 36px rgba(247, 201, 72, 0.48));
  animation: logoGlowPulse 2.2s ease-in-out infinite;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 950;
  color: transparent;
  background: linear-gradient(90deg, #fffbe0, #fff1a8, var(--gold), #f2a52b, #fff3bd);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 6px rgba(255, 248, 198, 0.66),
    0 0 14px rgba(247, 201, 72, 0.52),
    0 0 26px rgba(247, 201, 72, 0.34),
    0 0 42px rgba(247, 201, 72, 0.18);
  animation: textNeonPulse 2.2s ease-in-out infinite, textGoldSweep 3.4s linear infinite;
}

.brand small {
  margin-top: 4px;
  color: #fff1a8;
  font-size: 11px;
  font-weight: 800;
  text-shadow:
    0 0 5px var(--neon-core),
    0 0 13px var(--neon-mid),
    0 0 24px var(--neon-outer),
    0 0 38px var(--neon-faint);
  animation: textNeonPulse 2.2s ease-in-out infinite;
}

.searchWrap {
  position: relative;
}

.searchWrap input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(9, 12, 20, 0.54);
  color: var(--text);
  padding: 0 16px 0 44px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.searchWrap input::placeholder {
  color: rgba(201, 191, 165, 0.65);
}

.searchWrap input:focus {
  border-color: var(--line-strong);
  background: rgba(9, 12, 20, 0.72);
  box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.1);
}

.searchIcon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(247, 201, 72, 0.68);
  font-size: 21px;
  pointer-events: none;
}

.gameSearchPanel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  padding: 12px clamp(12px, 3vw, 34px) 6px;
  border-bottom: 1px solid rgba(247, 201, 72, 0.08);
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.62), rgba(7, 10, 16, 0.2));
}

.gameSearchPanel .searchWrap {
  width: min(520px, 100%);
}

.onlinePill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(134, 239, 172, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 56%),
    rgba(6, 18, 15, 0.68);
  color: rgba(255, 248, 220, 0.72);
  box-shadow: 0 0 0 1px rgba(247, 201, 72, 0.06) inset, 0 10px 26px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.onlineDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.onlineLabel {
  font-size: 12px;
  font-weight: 900;
}

.onlinePill strong {
  color: #fff1a8;
  font-size: 13px;
  font-weight: 950;
}

.mobileSearch {
  display: none;
}

.accountBar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 112px;
  pointer-events: auto;
}

.authButton,
.authSubmit,
.authSwitch {
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, #fff07c, var(--gold), var(--amber));
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.authButton {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
}

.walletBadge {
  display: grid;
  gap: 2px;
  margin-right: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(247, 201, 72, 0.22);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.72);
  color: var(--text);
  text-align: right;
  backdrop-filter: blur(14px);
}

.walletBadge span {
  max-width: 130px;
  overflow: hidden;
  color: rgba(255, 248, 220, 0.78);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.walletBadge strong {
  color: var(--gold);
  font-size: 15px;
}

.authModal,
.playerPanel,
.bankPanel,
.activityPanel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.authModal[hidden],
.playerPanel[hidden],
.bankPanel[hidden],
.activityPanel[hidden] {
  display: none;
}

.authDialog,
.playerDialog,
.bankDialog,
.activityDialog {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.98), rgba(8, 11, 18, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.authDialog h2,
.playerDialog h2,
.bankDialog h2,
.activityDialog h2 {
  color: var(--gold);
  font-size: 24px;
}

.bankDialog,
.activityDialog {
  width: min(560px, 100%);
}

.supportDialog {
  display: grid;
  gap: 12px;
}

.bankHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 34px;
}

.bankHeader p {
  margin-top: 5px;
  color: rgba(255, 248, 220, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.bankHeader strong {
  color: var(--gold);
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.1;
  text-align: right;
}

.bankTabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.bankTabs button {
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(247, 201, 72, 0.22);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.58);
  color: rgba(255, 248, 220, 0.82);
  font-weight: 900;
}

.bankTabs button.active {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(255, 240, 124, 0.92), var(--gold), var(--amber));
  color: var(--ink);
}

.bankPane {
  display: none;
  margin-top: 18px;
}

.bankPane.active {
  display: block;
}

.supportThread {
  display: grid;
  gap: 10px;
  max-height: min(420px, 50vh);
  overflow: auto;
  padding: 4px 2px;
}

.supportMsg {
  display: grid;
  gap: 4px;
  max-width: 86%;
  padding: 10px 12px;
  border: 1px solid rgba(247, 201, 72, 0.18);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.56);
}

.supportMsg strong {
  color: #fff1a8;
  font-size: 12px;
}

.supportMsg p {
  color: rgba(255, 248, 220, 0.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.supportMedia {
  display: block;
  width: min(260px, 100%);
  overflow: hidden;
  border: 1px solid rgba(247, 201, 72, 0.22);
  border-radius: 8px;
  background: rgba(3, 6, 13, 0.72);
}

.supportMedia img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.supportMsg span {
  color: rgba(255, 248, 220, 0.58);
  font-size: 11px;
  font-weight: 800;
}

.supportMsg.user {
  margin-left: auto;
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(8, 26, 18, 0.58);
}

.supportComposer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.supportComposer input {
  min-height: 44px;
  border: 1px solid rgba(247, 201, 72, 0.24);
  border-radius: 8px;
  background: rgba(3, 6, 13, 0.72);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.bankForm {
  display: grid;
  gap: 14px;
}

.bankForm label {
  display: grid;
  gap: 8px;
  color: rgba(255, 248, 220, 0.74);
  font-weight: 800;
}

.bankForm input,
.bankForm select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(247, 201, 72, 0.24);
  border-radius: 8px;
  background: rgba(3, 6, 13, 0.72);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.withdrawNotice,
.withdrawSecurity {
  margin-bottom: 12px;
  border: 1px solid rgba(247, 201, 72, 0.18);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.58);
  color: rgba(255, 248, 220, 0.76);
  line-height: 1.55;
}

.withdrawNotice {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.withdrawSecurity {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.withdrawSecurityRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 248, 220, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.withdrawSecurityRow strong {
  color: var(--text);
  text-align: right;
}

.withdrawSecurityRow .ok {
  color: #86efac;
}

.withdrawSecurityRow .warn {
  color: #fbbf24;
}

.withdrawBindMissing,
.withdrawBindMessage {
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.withdrawBindMissing {
  border: 1px solid rgba(247, 201, 72, 0.18);
  background: rgba(8, 11, 18, 0.5);
  color: rgba(255, 248, 220, 0.76);
}

.withdrawBindMessage {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(69, 10, 10, 0.42);
  color: #fecaca;
}

.paymentMethodDetail {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(247, 201, 72, 0.18);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.54);
}

.paymentMethodEmpty {
  grid-column: 1 / -1;
  align-self: center;
  color: rgba(255, 248, 220, 0.62);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.paymentMethodQr {
  min-height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 201, 72, 0.18);
  border-radius: 8px;
  background: rgba(3, 6, 13, 0.68);
}

.paymentMethodQr img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.paymentMethodNoQr {
  color: rgba(255, 248, 220, 0.52);
  font-size: 12px;
  font-weight: 800;
}

.paymentMethodText {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
}

.paymentMethodText strong {
  color: var(--gold);
  font-size: 14px;
}

.paymentMethodText p {
  display: grid;
  gap: 2px;
  color: rgba(255, 248, 220, 0.9);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.paymentMethodText span {
  color: rgba(255, 248, 220, 0.54);
  font-size: 11px;
}

.ledgerList {
  display: grid;
  gap: 8px;
  max-height: min(430px, 52vh);
  overflow: auto;
  padding-right: 2px;
}

.ledgerItem {
  display: grid;
  gap: 0;
  padding: 12px;
  border: 1px solid rgba(247, 201, 72, 0.16);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.56);
}

.ledgerSummary,
.ledgerDetailRow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.ledgerSummary {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.ledgerSummary:disabled {
  cursor: default;
}

.ledgerItem.expandable .ledgerSummary {
  cursor: pointer;
}

.ledgerItem.expandable .ledgerSummary:hover strong {
  color: #fff7c9;
}

.ledgerSummary div,
.ledgerDetailRow div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ledgerSummary div:last-child,
.ledgerDetailRow div:last-child {
  text-align: right;
}

.ledgerItem strong {
  color: #fff1a8;
  font-size: 14px;
}

.ledgerItem span,
.ledgerEmpty {
  color: rgba(255, 248, 220, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.ledgerDetails {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(247, 201, 72, 0.14);
}

.ledgerDetails[hidden] {
  display: none;
}

.ledgerDetailRow {
  padding: 8px 0 0;
}

.ledgerDetailRow strong {
  color: rgba(255, 241, 168, 0.9);
  font-size: 13px;
}

.ledgerDetailRow span,
.ledgerDetailEmpty {
  color: rgba(255, 248, 220, 0.56);
  font-size: 11px;
  font-weight: 800;
}

.ledgerDetailEmpty {
  padding: 8px 0 0;
}

.rebateSummary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 14px;
}

.rebateSummary div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(247, 201, 72, 0.16);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.52);
}

.rebateSummary span {
  color: rgba(255, 248, 220, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.rebateSummary strong {
  color: #fff1a8;
  font-size: 15px;
}

.activityCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.activityCard {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(247, 201, 72, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 44%),
    rgba(8, 11, 18, 0.62);
  color: var(--text);
  text-align: left;
}

.activityCard span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.activityCard strong {
  color: #fff1a8;
  font-size: 18px;
}

.activityCard small {
  color: rgba(255, 248, 220, 0.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.activityCard.disabled {
  opacity: 0.55;
}

.salaryCard {
  position: relative;
  overflow: hidden;
}

.salaryCard::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -40%;
  width: 38%;
  transform: skewX(-18deg) translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 241, 168, 0.45), transparent);
  opacity: 0;
}

.salaryCard.claiming {
  opacity: 0.78;
}

.salaryCard.claiming strong,
.salaryCard.cooling strong {
  color: rgba(255, 241, 168, 0.72);
}

.salaryCard.cooling {
  cursor: not-allowed;
}

.salaryCard.cooling small {
  color: #facc15;
}

.salaryCard.rewarded {
  border-color: rgba(250, 204, 21, 0.8);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.22), 0 18px 44px rgba(250, 204, 21, 0.18);
}

.salaryCard.rewarded::after {
  opacity: 1;
  animation: salaryCardSweep 0.9s ease;
}

.textBackButton {
  margin: 0 0 14px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-weight: 900;
  padding: 0;
}

.rebateList {
  margin-top: 14px;
}

.ledgerItem .positive strong {
  color: #86efac;
}

.ledgerItem .negative strong {
  color: #fca5a5;
}

.ledgerEmpty {
  display: grid;
  place-items: center;
  min-height: 140px;
  border: 1px solid rgba(247, 201, 72, 0.14);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.46);
}

.playerHeader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 34px;
}

.playerHeader p {
  margin-top: 5px;
  color: rgba(255, 248, 220, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.playerAvatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 1px solid rgba(247, 201, 72, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 46%),
    linear-gradient(135deg, #fff1a8, var(--gold), var(--amber));
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(247, 201, 72, 0.2);
}

.authDialog p {
  margin-top: 8px;
  color: var(--muted);
}

.authDialog form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.authDialog label {
  display: grid;
  gap: 7px;
  color: rgba(255, 248, 220, 0.86);
  font-weight: 800;
}

.authDialog input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(247, 201, 72, 0.32);
  border-radius: 8px;
  background: rgba(5, 8, 14, 0.72);
  color: var(--text);
  outline: none;
}

.authDialog input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.16);
}

.authEmailField[hidden],
.authCaptchaField[hidden] {
  display: none;
}

.authCodeRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.authCaptchaRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 82px;
  gap: 8px;
  align-items: center;
}

.authCaptchaImage {
  width: 150px;
  height: 46px;
  border: 1px solid rgba(247, 201, 72, 0.32);
  border-radius: 8px;
  background: rgba(5, 8, 14, 0.72);
  object-fit: cover;
}

.authCodeButton {
  min-height: 44px;
  border: 1px solid rgba(247, 201, 72, 0.32);
  border-radius: 8px;
  background: rgba(247, 201, 72, 0.12);
  color: var(--gold);
  font-weight: 900;
}

.authCodeButton:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.authSubmit {
  min-height: 44px;
  border-radius: 8px;
}

.authSwitch {
  width: 100%;
  margin-top: 12px;
  min-height: 40px;
  border-color: rgba(247, 201, 72, 0.22);
  background: transparent;
  color: var(--gold);
}

.authClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(247, 201, 72, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.playerSummary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(247, 201, 72, 0.22);
  border-radius: 8px;
  background: rgba(247, 201, 72, 0.08);
}

.playerSummary span {
  color: rgba(255, 248, 220, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.playerSummary strong {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.playerInfoGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.playerInfoGrid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(247, 201, 72, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.playerInfoGrid span,
.playerInfoGrid strong {
  display: block;
}

.playerInfoGrid span {
  color: rgba(255, 248, 220, 0.66);
  font-size: 12px;
  font-weight: 800;
}

.playerInfoGrid strong {
  margin-top: 6px;
  overflow: hidden;
  color: #fff4c4;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playerMenu {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.playerMenu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(247, 201, 72, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff4c4;
  padding: 0 14px;
  font-weight: 900;
}

.playerMenu button:hover {
  border-color: rgba(247, 201, 72, 0.42);
  background: rgba(247, 201, 72, 0.1);
}

.playerMenu strong {
  color: rgba(247, 201, 72, 0.86);
  font-size: 22px;
  line-height: 1;
}

.playerMenu button.danger {
  border-color: rgba(239, 68, 68, 0.32);
  color: #fecaca;
}

.playerMenu button.danger strong {
  color: #fca5a5;
}

.banner {
  position: relative;
  z-index: 1;
  height: clamp(220px, 25vw, 310px);
  margin: clamp(12px, 2vw, 24px) clamp(12px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(247, 201, 72, 0.34);
  border-radius: 12px;
  background: var(--bg-deep);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 238, 166, 0.06) inset,
    0 0 42px rgba(247, 201, 72, 0.12);
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.banner::before {
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 240, 166, 0.12);
  border-radius: inherit;
  box-shadow: inset 0 0 44px rgba(247, 201, 72, 0.08);
}

.banner::after {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 42%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, transparent, rgba(247, 201, 72, 0.18), transparent);
  opacity: 0.78;
}

.bannerSlides,
.bannerSlide,
.bannerShade {
  position: absolute;
  inset: 0;
}

.bannerSlide {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--art-c), transparent 18%), transparent 26%),
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--art-b), transparent 32%), transparent 28%),
    linear-gradient(var(--art-angle), var(--art-a), var(--art-b));
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 5s ease;
}

.bannerSlide.active {
  opacity: 1;
  transform: scale(1.035);
}

.bannerImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.18) contrast(1.08) brightness(0.96);
}

.bannerImageGlow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.5) 32%, rgba(0, 0, 0, 0.16) 64%, rgba(0, 0, 0, 0.1)),
    radial-gradient(circle at 72% 30%, rgba(255, 238, 166, 0.2), transparent 25%),
    radial-gradient(circle at 24% 64%, rgba(185, 28, 28, 0.22), transparent 34%);
}

.artIcon {
  position: absolute;
  right: clamp(24px, 8vw, 110px);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(90px, 18vw, 230px);
  font-weight: 950;
  line-height: 0.85;
}

.artTitle {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(18px, 4vw, 48px);
  max-width: min(46vw, 520px);
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(36px, 8vw, 104px);
  font-weight: 950;
  line-height: 0.92;
  text-align: right;
}

.artAccent {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background:
    linear-gradient(115deg, transparent, rgba(255, 248, 196, 0.2), transparent),
    repeating-linear-gradient(135deg, rgba(255, 248, 196, 0.08) 0 1px, transparent 1px 20px);
  opacity: 0.22;
}

.bannerShade {
  background:
    linear-gradient(180deg, rgba(2, 5, 12, 0.72), rgba(2, 5, 12, 0.08) 32%, rgba(2, 5, 12, 0.88)),
    radial-gradient(circle at 65% 58%, rgba(247, 201, 72, 0.15), transparent 28%),
    linear-gradient(90deg, rgba(2, 5, 12, 0.62), rgba(2, 5, 12, 0.18) 46%, rgba(2, 5, 12, 0.5));
}

.bannerContent {
  position: absolute;
  inset: clamp(72px, 7vw, 92px) clamp(28px, 7vw, 96px) clamp(42px, 5vw, 64px) clamp(60px, 6vw, 92px);
  z-index: 3;
  display: grid;
  align-items: center;
  justify-items: start;
  pointer-events: none;
}

.bannerCopy {
  width: min(520px, 100%);
  padding: clamp(12px, 1.6vw, 18px) 0;
  text-align: left;
  pointer-events: auto;
}

h1 {
  max-width: 520px;
  color: #fff1b8;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.78), 0 0 18px rgba(247, 201, 72, 0.16);
}

.bannerContent p {
  max-width: 450px;
  margin-top: 10px;
  color: #f7e9bd;
  font-size: clamp(13px, 1.18vw, 16px);
  line-height: 1.42;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.bannerPlay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 44%),
    linear-gradient(90deg, #fff2a8, var(--gold), var(--amber));
  color: var(--ink);
  padding: 0 26px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(247, 201, 72, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: none;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.bannerPlay:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 30px rgba(247, 201, 72, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.bannerControls {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.circleButton {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 201, 72, 0.26);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.54);
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
  pointer-events: auto;
}

.bannerDots {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.bannerDots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  padding: 0;
  transition: width 0.18s ease, background 0.18s ease;
}

.bannerDots button.active {
  width: 36px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
}

.lobbyLayout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(76px, 8vw, 112px) minmax(0, 1fr);
  min-height: calc(100vh - 390px);
}

.platformSidebar {
  border-right: 1px solid rgba(247, 201, 72, 0.14);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.42));
  backdrop-filter: blur(14px);
}

.platformSidebarInner {
  position: sticky;
  top: 73px;
}

.platformTabs {
  display: grid;
  gap: 9px;
  padding: 14px clamp(7px, 1vw, 12px);
}

.platformTab {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 24, 36, 0.68);
  color: rgba(255, 232, 138, 0.82);
  padding: 10px 6px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.platformTab span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(247, 201, 72, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  font-size: 16px;
  font-weight: 950;
}

.platformTab strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.05;
}

.platformTab.active {
  transform: scale(1.04);
  border-color: rgba(247, 201, 72, 0.72);
  background: linear-gradient(135deg, #fff07c, var(--gold), var(--amber));
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(247, 201, 72, 0.22);
}

.mainPanel {
  min-width: 0;
}

.categoryBar {
  position: sticky;
  top: 73px;
  z-index: 2;
  border-bottom: 1px solid rgba(247, 201, 72, 0.12);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38));
  backdrop-filter: blur(18px);
}

.categoryTabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(12px, 3vw, 34px);
  scrollbar-width: none;
}

.categoryTabs::-webkit-scrollbar {
  display: none;
}

.categoryTab {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(20, 24, 36, 0.66);
  color: rgba(255, 232, 138, 0.82);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
}

.categoryTab.active {
  border-color: rgba(247, 201, 72, 0.7);
  background: linear-gradient(90deg, #fff07c, var(--gold), var(--amber));
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(247, 201, 72, 0.18);
}

.categoryTab850 {
  --neon-core: rgba(255, 244, 184, 0.96);
  --neon-mid: rgba(247, 201, 72, 0.74);
  --neon-outer: rgba(22, 243, 181, 0.38);
  --neon-faint: rgba(247, 201, 72, 0.24);
  position: relative;
  border-color: rgba(255, 244, 184, 0.72);
  background:
    radial-gradient(circle at 20% 15%, rgba(22, 243, 181, 0.22), transparent 36%),
    linear-gradient(90deg, rgba(47, 36, 10, 0.86), rgba(99, 76, 18, 0.78));
  color: #fff4b8;
  box-shadow:
    0 0 0 1px var(--neon-core),
    0 0 13px var(--neon-mid),
    0 0 24px var(--neon-outer),
    0 0 38px var(--neon-faint);
  animation: iconGlowPulse 2.2s ease-in-out infinite;
}

.categoryTab850::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, #fffbe0, #fff1a8, var(--gold), #f2a52b, #fff3bd) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.92;
  animation: borderNeonPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.categoryTab850.active {
  background:
    radial-gradient(circle at 20% 15%, rgba(22, 243, 181, 0.32), transparent 38%),
    linear-gradient(90deg, #fff4b8, var(--gold), #16f3b5);
  color: #171104;
}

h2 {
  margin-top: 4px;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
}

.coinBankPanel[hidden],
.coinBankModal[hidden] {
  display: none;
}

body.coinBankModalOpen {
  overflow: hidden;
}

.coinBankPanel {
  display: flex;
  justify-content: flex-end;
  margin: 12px clamp(16px, 3.2vw, 42px) 0;
}

.coinBankOpenButton {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 11px;
  min-height: 54px;
  min-width: 188px;
  overflow: hidden;
  border: 1px solid rgba(255, 223, 112, 0.78);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 26%, rgba(255, 246, 186, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 58%),
    linear-gradient(92deg, rgba(70, 45, 8, 0.96), rgba(17, 30, 22, 0.94));
  color: var(--text);
  padding: 9px 15px 9px 12px;
  text-align: left;
  box-shadow:
    0 0 0 1px rgba(255, 248, 198, 0.2) inset,
    0 0 16px rgba(247, 201, 72, 0.28),
    0 0 34px rgba(247, 201, 72, 0.13),
    0 12px 30px rgba(0, 0, 0, 0.32);
  animation: coinBankButtonPulse 2.35s ease-in-out infinite;
}

.coinBankOpenButton::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 244, 184, 0.22) 38%, rgba(255, 213, 79, 0.7) 50%, rgba(255, 244, 184, 0.18) 62%, transparent 100%);
  opacity: 0.7;
  transform: translateX(-100%);
  animation: coinBankButtonSweep 3.6s linear infinite;
}

.coinBankOpenButton::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border: 1px solid rgba(255, 235, 153, 0.25);
  border-radius: 6px;
  box-shadow: 0 0 18px rgba(247, 201, 72, 0.18) inset;
  pointer-events: none;
}

.coinBankOpenButton:hover {
  border-color: rgba(255, 244, 184, 0.96);
  filter: brightness(1.12);
}

.coinBankOpenIcon {
  grid-row: 1 / span 2;
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 153, 0.2), rgba(247, 201, 72, 0.06) 58%, transparent 68%);
  box-shadow:
    0 0 0 1px rgba(255, 244, 184, 0.74),
    0 0 16px rgba(247, 201, 72, 0.54),
    0 0 34px rgba(247, 201, 72, 0.28);
  animation: coinBankCoinAura 2.35s ease-in-out infinite;
}

.coinBankCoinMark {
  position: relative;
  display: block;
  width: 29px;
  height: 29px;
  border: 2px solid rgba(111, 67, 3, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, #fffbe0 0 12%, transparent 13%),
    radial-gradient(circle at 48% 46%, #ffe08a 0 18%, #ffc83d 45%, #d9900f 74%, #8d5204 100%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.32) inset,
    0 -3px 0 rgba(106, 62, 3, 0.28) inset,
    0 5px 11px rgba(0, 0, 0, 0.28);
}

.coinBankCoinMark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(130, 76, 4, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 244, 184, 0.28) inset;
}

.coinBankCoinMark::after {
  content: "¥";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6f4303;
  font-size: 16px;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 245, 190, 0.55);
}

.coinBankOpenButton strong {
  color: #fff4b8;
  font-size: 16px;
  line-height: 1.1;
  text-shadow:
    0 0 7px rgba(255, 244, 184, 0.74),
    0 0 18px rgba(247, 201, 72, 0.34);
}

.coinBankOpenButton small {
  color: rgba(255, 248, 220, 0.68);
  font-size: 11px;
  font-weight: 800;
}

.coinBankModal {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.coinBankDialog {
  position: relative;
  width: min(900px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(247, 201, 72, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(22, 243, 181, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(13, 20, 31, 0.98), rgba(7, 11, 18, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 248, 198, 0.05) inset;
}

.coinBankClose {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(247, 201, 72, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.coinBankHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 36px;
}

.coinBankIntro {
  min-width: 0;
}

.coinBankEyebrow,
.coinBankDirection {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(22, 243, 181, 0.32);
  background: rgba(3, 33, 31, 0.5);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 900;
}

.coinBankHeader h3 {
  margin: 8px 0 6px;
  font-size: 26px;
}

.coinBankHeader p {
  max-width: 720px;
  color: rgba(255, 248, 220, 0.72);
  line-height: 1.7;
}

.coinBankRate {
  flex: 0 0 auto;
  min-width: 230px;
  padding: 14px 16px;
  border: 1px solid rgba(247, 201, 72, 0.32);
  background: rgba(35, 27, 12, 0.72);
}

.coinBankRate span,
.coinBankStat span,
.coinBankPreview span,
.coinBankField span,
.coinBankNote,
.coinBankRules li {
  color: rgba(255, 248, 220, 0.68);
}

.coinBankRate span,
.coinBankStat span,
.coinBankPreview span,
.coinBankField span {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.coinBankRate strong {
  display: block;
  margin-top: 6px;
  color: #fff4b8;
  font-size: 18px;
}

.coinBankStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.coinBankStat {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(247, 201, 72, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.coinBankStat strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.coinBankTools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.coinBankConverter {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(247, 201, 72, 0.18);
  background: rgba(6, 9, 15, 0.58);
}

.coinBankConverter h3,
.coinBankRules h2,
.coinBankRules h3 {
  margin: 8px 0 0;
  color: #fff4b8;
  font-size: 18px;
}

.coinBankRules h2 {
  font-size: 24px;
}

.coinBankField input {
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  border: 1px solid rgba(247, 201, 72, 0.28);
  background: rgba(2, 6, 12, 0.76);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.coinBankField input:focus {
  border-color: rgba(22, 243, 181, 0.62);
  box-shadow: 0 0 0 3px rgba(22, 243, 181, 0.12);
}

.coinBankPreview {
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(22, 243, 181, 0.2);
  background: rgba(4, 22, 24, 0.42);
}

.coinBankPreview strong {
  display: block;
  margin-top: 5px;
  color: #a7f3d0;
  font-size: 22px;
}

.coinBankPreview em {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 220, 0.62);
  font-size: 12px;
  font-style: normal;
}

.coinBankAction {
  min-height: 42px;
  border: 0;
  background: linear-gradient(90deg, #fff07c, var(--gold), #16f3b5);
  color: var(--ink);
  font-weight: 950;
}

.coinBankAction:disabled {
  opacity: 0.62;
}

.coinBankNote {
  font-size: 12px;
  line-height: 1.6;
}

.coinBankRules {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(247, 201, 72, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.coinBankRulesPrimary {
  margin-top: 0;
  padding-right: 58px;
  border-color: rgba(247, 201, 72, 0.3);
  background:
    linear-gradient(135deg, rgba(38, 29, 11, 0.6), rgba(4, 24, 23, 0.42)),
    rgba(255, 255, 255, 0.04);
}

.coinBankRules h3 {
  margin-top: 0;
}

.coinBankRules ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.coinBankRules li {
  line-height: 1.65;
}

.gameGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 22px clamp(16px, 3.2vw, 42px) 48px;
}

.gameCard {
  position: relative;
  min-width: 0;
}

.cardAction {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 8px;
  text-align: left;
  box-shadow: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cardAction:not(:disabled):hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.cardAction:disabled {
  cursor: wait;
  opacity: 0.72;
}

.thumb,
.coverImage,
.coverWash {
  width: 92px;
  height: 92px;
}

.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #07070a;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(247, 201, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coverImage {
  display: block;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.coverWash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 26%, color-mix(in srgb, var(--art-c), transparent 48%), transparent 26%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.18;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%);
}

.cardAction:not(:disabled):hover .thumb {
  transform: scale(1.035);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(247, 201, 72, 0.18),
    0 0 22px rgba(247, 201, 72, 0.18);
}

.cardAction:not(:disabled):hover .coverImage {
  transform: scale(1.04);
  filter: saturate(1.18) contrast(1.08);
}

.premiumGlow {
  --premium-a: #fff2a8;
  --premium-b: #f7c948;
  --premium-c: #22d3ee;
}

.premiumGlowMahjong {
  --premium-a: #fff4b8;
  --premium-b: #f7c948;
  --premium-c: #16f3b5;
}

.premiumGlowMahjong2 {
  --premium-a: #ffe8ff;
  --premium-b: #f0abfc;
  --premium-c: #f7c948;
}

.premiumGlowLineKing {
  --premium-a: #dffbff;
  --premium-b: #22d3ee;
  --premium-c: #f7c948;
}

.premiumGlow .thumb {
  animation: iconGlowPulse 2.2s ease-in-out infinite;
  box-shadow:
    0 0 0 1px var(--neon-core),
    0 0 13px var(--neon-mid),
    0 0 24px var(--neon-outer),
    0 0 38px var(--neon-faint),
    0 12px 26px rgba(0, 0, 0, 0.34);
}

.premiumGlow .thumb::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, #fffbe0, #fff1a8, var(--gold), #f2a52b, #fff3bd) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.92;
  animation: borderNeonPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.cardInfo {
  display: grid;
  min-width: 0;
}

.cardInfo strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff0b5;
  font-size: 21px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.cardAction:not(:disabled):hover .cardInfo strong {
  color: #fff7d4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.76), 0 0 12px rgba(247, 201, 72, 0.16);
}

.emptyState {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.emptyState strong {
  display: block;
  color: #ffe88a;
  font-size: 20px;
}

.emptyState span {
  display: block;
  margin-top: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  max-width: min(420px, calc(100vw - 32px));
  transform: translate(-50%, 18px);
  border: 1px solid rgba(185, 28, 28, 0.5);
  border-radius: 10px;
  background: #2b1218;
  color: var(--text);
  padding: 12px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.salaryRewardOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.salaryRewardOverlay.show {
  opacity: 1;
}

.salaryRewardBox {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: min(360px, calc(100vw - 48px));
  padding: 28px 30px;
  border: 1px solid rgba(250, 204, 21, 0.55);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.28), transparent 48%),
    rgba(12, 16, 24, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46), 0 0 34px rgba(250, 204, 21, 0.18);
  transform: translateY(18px) scale(0.94);
}

.salaryRewardOverlay.show .salaryRewardBox {
  animation: salaryRewardIn 0.58s cubic-bezier(0.2, 0.9, 0.2, 1.1) both;
}

.salaryRewardBox span {
  color: rgba(255, 248, 220, 0.72);
  font-size: 14px;
  font-weight: 900;
}

.salaryRewardBox strong {
  min-height: 56px;
  color: #facc15;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  text-shadow: 0 0 22px rgba(250, 204, 21, 0.42);
}

.salaryRewardBox small {
  color: rgba(255, 248, 220, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.salaryRewardBox.success strong {
  color: #facc15;
  text-shadow: 0 0 22px rgba(250, 204, 21, 0.42);
}

.salaryRewardBox.error {
  border-color: rgba(248, 113, 113, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(248, 113, 113, 0.28), transparent 48%),
    rgba(20, 11, 16, 0.97);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46), 0 0 34px rgba(248, 113, 113, 0.2);
}

.salaryRewardBox.error strong {
  color: #fca5a5;
  font-size: clamp(30px, 6vw, 52px);
  text-shadow: 0 0 16px rgba(248, 113, 113, 0.4);
}

.dailySalaryConfirmOverlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.dailySalaryConfirmOverlay.show {
  opacity: 1;
  pointer-events: auto;
}

.dailySalaryConfirmBox {
  position: relative;
  width: min(420px, calc(100vw - 40px));
  padding: 28px;
  border: 1px solid rgba(250, 204, 21, 0.46);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.22), transparent 48%),
    rgba(13, 18, 28, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52), 0 0 34px rgba(250, 204, 21, 0.14);
  color: var(--text);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.18s ease;
}

.dailySalaryConfirmOverlay.show .dailySalaryConfirmBox {
  transform: translateY(0) scale(1);
}

.dailySalaryConfirmClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 248, 220, 0.82);
  font-size: 22px;
  line-height: 1;
}

.dailySalaryConfirmKicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #facc15;
  font-size: 13px;
  font-weight: 900;
}

.dailySalaryConfirmBox h3 {
  margin: 0 34px 10px 0;
  font-size: 24px;
  line-height: 1.2;
}

.dailySalaryConfirmBox p {
  margin: 0 0 22px;
  color: rgba(255, 248, 220, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.dailySalaryConfirmActions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}

.dailySalaryConfirmActions button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.dailySalaryConfirmCancel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 248, 220, 0.82);
}

.dailySalaryConfirmSubmit {
  border: 1px solid rgba(250, 204, 21, 0.76);
  background: linear-gradient(180deg, #ffe08a, #f5b63c);
  color: #241504;
  box-shadow: 0 12px 28px rgba(245, 182, 60, 0.26);
}

.launchOverlay {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto 6px;
  gap: 10px 12px;
  width: min(420px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(247, 201, 72, 0.42);
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(247, 201, 72, 0.14);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.launchOverlay[hidden] {
  display: none;
}

.launchMark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff07c, var(--gold), var(--amber));
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}

.launchCopy {
  min-width: 0;
}

.launchCopy strong,
.launchCopy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launchCopy strong {
  color: #fff3a8;
  font-size: 15px;
}

.launchCopy span {
  margin-top: 4px;
  color: rgba(255, 248, 220, 0.72);
  font-size: 12px;
}

.launchProgress {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 220, 0.12);
}

.launchProgress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #fff2a8, #22d3ee);
  transition: width 0.22s ease;
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes floatGold {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes rotateCoin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes coinBankButtonPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 248, 198, 0.2) inset,
      0 0 14px rgba(247, 201, 72, 0.28),
      0 0 30px rgba(247, 201, 72, 0.14),
      0 12px 30px rgba(0, 0, 0, 0.32);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 248, 198, 0.46) inset,
      0 0 24px rgba(255, 223, 112, 0.78),
      0 0 54px rgba(247, 201, 72, 0.38),
      0 12px 30px rgba(0, 0, 0, 0.32);
  }
}

@keyframes coinBankButtonSweep {
  0% {
    transform: translateX(-115%);
  }
  58%,
  100% {
    transform: translateX(115%);
  }
}

@keyframes coinBankCoinAura {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(255, 244, 184, 0.74),
      0 0 14px rgba(247, 201, 72, 0.52),
      0 0 28px rgba(247, 201, 72, 0.24);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      0 0 0 1px rgba(255, 251, 224, 1),
      0 0 22px rgba(255, 223, 112, 0.92),
      0 0 44px rgba(247, 201, 72, 0.5);
  }
}

@keyframes logoGlowPulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 8px rgba(255, 248, 198, 0.7))
      drop-shadow(0 0 18px rgba(247, 201, 72, 0.68))
      drop-shadow(0 0 30px var(--neon-outer));
  }
  50% {
    filter:
      drop-shadow(0 0 16px rgba(255, 248, 198, 0.96))
      drop-shadow(0 0 30px rgba(247, 201, 72, 0.96))
      drop-shadow(0 0 56px rgba(247, 201, 72, 0.66));
  }
}

@keyframes logoAuraPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.86);
  }
  50% {
    opacity: 0.94;
    transform: scale(1.12);
  }
}

@keyframes textNeonPulse {
  0%,
  100% {
    text-shadow:
      0 0 5px rgba(255, 248, 198, 0.56),
      0 0 13px rgba(247, 201, 72, 0.48),
      0 0 24px rgba(247, 201, 72, 0.3),
      0 0 38px var(--neon-faint);
  }
  50% {
    text-shadow:
      0 0 9px rgba(255, 248, 198, 0.94),
      0 0 21px rgba(247, 201, 72, 0.78),
      0 0 38px rgba(247, 201, 72, 0.54),
      0 0 64px rgba(247, 201, 72, 0.3);
  }
}

@keyframes iconGlowPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px var(--neon-core),
      0 0 13px var(--neon-mid),
      0 0 24px var(--neon-outer),
      0 0 38px var(--neon-faint),
      0 12px 26px rgba(0, 0, 0, 0.34);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 248, 198, 1),
      0 0 21px rgba(247, 201, 72, 0.96),
      0 0 38px rgba(247, 201, 72, 0.66),
      0 0 64px rgba(247, 201, 72, 0.34),
      0 12px 26px rgba(0, 0, 0, 0.34);
  }
}

@keyframes borderNeonPulse {
  0%,
  100% {
    opacity: 0.76;
  }
  50% {
    opacity: 1;
  }
}

@keyframes textGoldSweep {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes introCurtain {
  0%,
  72% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes introSheen {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes introBrandMove {
  0% {
    left: 50%;
    top: 50%;
    opacity: 0;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(1.35);
  }
  18% {
    opacity: 1;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(1.55);
  }
  52% {
    left: 50%;
    top: 50%;
    opacity: 1;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(1.55);
  }
  82% {
    left: 16px;
    top: 16px;
    opacity: 1;
    transform-origin: left center;
    transform: translate(0, 0) scale(0.74);
  }
  100% {
    left: 16px;
    top: 16px;
    opacity: 0;
    transform-origin: left center;
    transform: translate(0, 0) scale(0.74);
  }
}

@keyframes salaryRewardIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.9);
  }
  58% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes salaryCardSweep {
  0% {
    transform: skewX(-18deg) translateX(-160%);
  }
  100% {
    transform: skewX(-18deg) translateX(460%);
  }
}

@media (max-width: 1180px) {
  .gameGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .desktopSearch {
    display: none;
  }

  .mobileSearch {
    display: block;
  }

  .gameSearchPanel {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 12px 6px;
  }

  .gameSearchPanel .searchWrap {
    width: 100%;
  }

  .onlinePill {
    align-self: flex-start;
    min-height: 28px;
    padding: 0 10px;
  }

  .coinBankPanel {
    margin: 12px 10px 0;
    justify-content: stretch;
  }

  .coinBankOpenButton {
    width: 100%;
  }

  .coinBankDialog {
    max-height: 90vh;
    padding: 16px;
  }

  .coinBankHeader,
  .coinBankTools {
    grid-template-columns: minmax(0, 1fr);
  }

  .coinBankHeader {
    display: grid;
    padding-right: 34px;
  }

  .coinBankRate {
    min-width: 0;
    width: 100%;
  }

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

  .coinBankConverter,
  .coinBankRules {
    padding: 14px;
  }

  .coinBankRulesPrimary {
    padding-right: 50px;
  }

  .lobbyLayout {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .platformSidebarInner {
    top: 63px;
  }

}

@media (max-width: 700px) {
  .authCaptchaRow {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .authCaptchaImage {
    width: 100%;
    grid-column: 1 / -1;
    order: -1;
  }

  .introBrand {
    gap: 12px;
  }

  .introBrandMark,
  .introBrandMark img {
    width: 52px;
    height: 52px;
  }

  .introBrandText strong {
    font-size: 25px;
  }

  .introBrandText small {
    font-size: 9px;
  }

  .siteHeader {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brandMark {
    width: 36px;
    height: 36px;
  }

  .brandLogoImage {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 9px;
  }

  .accountBar {
    min-width: auto;
  }

  .authButton {
    min-height: 32px;
    padding: 0 10px;
  }

  .walletBadge {
    display: none;
  }

  .banner {
    height: 210px;
    margin: 12px;
    border-radius: 12px;
  }

  .bannerContent {
    inset: 62px 14px 38px 48px;
    align-items: center;
    justify-items: stretch;
  }

  .bannerCopy {
    width: 100%;
    padding: 0;
    border-left: 0;
    background: transparent;
  }

  h1 {
    font-size: clamp(22px, 6vw, 29px);
    line-height: 1.04;
  }

  .bannerContent p {
    max-width: 100%;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.36;
  }

  .bannerPlay {
    min-height: 34px;
    margin-top: 8px;
    padding: 0 17px;
    transform: none;
  }

  .bannerControls {
    left: 18px;
    right: 18px;
    bottom: 12px;
  }

  .circleButton {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .lobbyLayout {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .platformSidebarInner {
    top: 63px;
  }

  .platformTabs {
    gap: 7px;
    padding: 9px 6px;
  }

  .platformTab {
    min-height: 58px;
    border-radius: 8px;
  }

  .platformTab span {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .platformTab strong {
    font-size: 11px;
  }

  .categoryBar {
    top: 63px;
  }

  .categoryTabs {
    padding: 10px 12px;
  }

  .categoryTab {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .gameGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 12px 10px 36px;
  }

  .activityCards,
  .rebateSummary {
    grid-template-columns: minmax(0, 1fr);
  }

  .activityCard {
    min-height: 118px;
  }

  .cardAction {
    min-height: 118px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 9px;
    padding: 8px 4px;
    text-align: center;
  }

  .thumb,
  .coverImage,
  .coverWash {
    width: 72px;
    height: 72px;
  }

  .cardInfo {
    width: 100%;
  }

  .cardInfo strong {
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.16;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .launchOverlay {
    bottom: 16px;
    width: calc(100vw - 24px);
  }

  .corner,
  .goldRail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcomeIntro {
    display: none;
  }

  .pageShell {
    animation: none;
  }
}
