:root {
  --blue: #0c91e9;
  --blue-deep: #0875d8;
  --navy: #06164e;
  --gold: #e8bd57;
  --gold-deep: #c8901d;
  --paper: #f3f6fa;
  --ink: #101828;
  --muted: #5f6c7a;
  --line: #e6edf5;
  --tab-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -moz-touch-callout: none;
  touch-callout: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html {
  min-height: 100%;
  background: #dde5ee;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #dde5ee;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

button,
a,
div {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

button {
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.phone-page {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #f4f7fb;
  box-shadow: 0 0 28px rgba(16, 24, 40, 0.16);
}

.phone-page.is-auth-locked .app-page,
.phone-page.is-auth-locked .bottom-tabbar {
  visibility: hidden;
  pointer-events: none;
}

.auth-page {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 82px) 16px 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(232, 247, 255, .54), rgba(235, 241, 249, .92)),
    url("images/worldcup-hero.780.jpg") center top / cover no-repeat,
    #e8eef8;
  overflow-y: auto;
}

.auth-page.is-active {
  display: block;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 31, 67, .08), rgba(244, 248, 252, .72) 62%, rgba(244, 248, 252, .94)),
    rgba(238, 246, 252, .42);
  pointer-events: none;
}

.auth-brand,
.auth-card,
.auth-message,
.auth-partner {
  position: relative;
  z-index: 1;
}

.auth-brand {
  display: grid;
  justify-items: center;
  gap: 9px;
}

.auth-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 18px rgba(18, 57, 105, .18));
}

.auth-brand h1 {
  margin: 0;
  color: #fffdf7;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(28, 54, 88, .32);
}

.auth-card {
  width: 100%;
  min-height: 0;
  margin: clamp(24px, 4.8vh, 34px) auto 0;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 18px;
  background: rgba(44, 56, 74, .58);
  box-shadow:
    0 18px 40px rgba(29, 55, 89, .18),
    inset 0 1px 0 rgba(255, 255, 255, .20);
  backdrop-filter: blur(12px);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 148px;
  margin: 0 auto 22px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.auth-tabs button {
  position: relative;
  min-height: 32px;
  color: inherit;
}

.auth-tabs button.is-active {
  color: #1599f4;
}

.auth-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: #1599f4;
  transform: translateX(-50%);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: grid;
  gap: 14px;
}

.auth-field {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  color: #f1d77d;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.auth-field svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.auth-field:focus-within {
  border-color: rgba(21, 153, 244, .78);
  background: rgba(255, 255, 255, .20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 0 3px rgba(21, 153, 244, .12);
}

.auth-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.auth-field input::placeholder {
  color: rgba(255, 255, 255, .62);
  font-weight: 500;
}

.auth-eye {
  width: 26px;
  height: 26px;
  justify-self: end;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.82) 0 2px, transparent 3px),
    radial-gradient(ellipse at 50% 50%, transparent 0 8px, rgba(255,255,255,.78) 9px 10px, transparent 11px);
}

.auth-options,
.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 650;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.auth-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-check span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 5px;
  background: rgba(255, 255, 255, .10);
}

.auth-check input:checked + span {
  background: #1599f4;
  border-color: #1599f4;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .92);
}

.auth-submit {
  min-height: 50px;
  margin-top: 2px;
  border-radius: 12px;
  color: #252c38;
  background: linear-gradient(180deg, #fff9df, #e4bf59);
  box-shadow:
    0 10px 20px rgba(122, 91, 26, .22),
    inset 0 1px 0 rgba(255, 255, 255, .60);
  font-size: 16px;
  font-weight: 800;
}

.auth-links {
  margin-top: 0;
}

.auth-links button,
.auth-service-link,
.auth-options button {
  min-height: 28px;
  font-weight: 750;
}

.auth-links button:last-child,
.auth-service-link {
  color: #1599f4;
}

.auth-service-link {
  justify-self: center;
  margin-top: 16px;
  color: #1599f4;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.auth-message {
  min-height: 20px;
  margin: 10px 18px 0;
  color: #1599f4;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.auth-message.is-error {
  color: #ff5d5d;
}

.auth-partner {
  display: grid;
  grid-template-columns: 40px 14px 1fr;
  align-items: center;
  width: 178px;
  margin: clamp(28px, 6vh, 54px) auto 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(32, 49, 72, .22);
}

.auth-partner img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.auth-partner span {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, .65);
}

.auth-partner strong {
  font-size: 13px;
  line-height: 1.1;
}

.auth-partner p {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.mine-page {
  min-height: 100vh;
  padding-bottom: calc(var(--tab-height) + var(--safe-bottom) + 20px);
  background: linear-gradient(180deg, #f6f9fd 0 420px, #f3f6fa 420px 100%);
}

.app-page[hidden] {
  display: none;
}

.lobby-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 0 4px calc(var(--tab-height) + var(--safe-bottom) + 20px);
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 0, rgba(255, 255, 255, 0.9), transparent 0 22%, transparent 23%),
    linear-gradient(180deg, #8ed7ff 0, #eaf7ff 260px, #f5fbff 100%);
}

.lobby-topbar {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 0 -4px;
  padding: 6px 10px 5px;
  color: #fff;
  background: linear-gradient(180deg, #25aaf4, #0788df);
  flex-shrink: 0;
}

.lobby-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.mini-logo {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
}

.mini-logo .mini-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.refresh-spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

.lobby-brand strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.lobby-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
}

.lobby-brand i {
  width: 1px;
  height: 25px;
  background: rgba(255, 255, 255, 0.56);
}

.lobby-brand em {
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-style: italic;
  font-weight: 950;
  line-height: 0.92;
}

.lobby-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.lobby-actions button {
  position: relative;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lobby-actions svg {
  width: 14px;
  height: 14px;
}

.download-pill {
  min-width: 82px;
  color: #182a42;
  background: linear-gradient(180deg, #fff8d7, #e7c56d);
  box-shadow: 0 2px 5px rgba(0, 92, 170, 0.16);
}

.notice-pill {
  min-width: 61px;
  color: #1669b9;
  background: #fff;
}

.notice-pill::after {
  position: absolute;
  right: -1px;
  top: -7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e92b35;
  content: "";
}

.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 13, 26, 0.58);
  backdrop-filter: blur(10px);
}

.announcement-modal[hidden] {
  display: none !important;
}

.announcement-dialog {
  position: relative;
  width: min(338px, 100%);
  max-height: min(78vh, 620px);
  overflow: hidden;
  color: #23324b;
  background: #fff;
  border: 1px solid rgba(52, 110, 199, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(13, 50, 97, 0.26);
}

.announcement-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 91, 177, 0.08);
}

.announcement-close::before,
.announcement-close::after {
  position: absolute;
  left: 8px;
  top: 13px;
  width: 12px;
  height: 2px;
  background: #2b6fbd;
  border-radius: 2px;
  content: "";
}

.announcement-close::before {
  transform: rotate(45deg);
}

.announcement-close::after {
  transform: rotate(-45deg);
}

.announcement-head {
  display: flex;
  gap: 12px;
  padding: 22px 44px 15px 18px;
  background: linear-gradient(135deg, #f5fbff, #e9f3ff);
  border-bottom: 1px solid rgba(52, 110, 199, 0.12);
}

.announcement-head span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #d9ecff);
  box-shadow: inset 0 0 0 1px rgba(52, 110, 199, 0.14);
}

.announcement-head span::before {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background: #2b83d7;
  transform: rotate(-35deg);
  content: "";
}

.announcement-head small {
  display: block;
  margin-bottom: 4px;
  color: #6d7c92;
  font-size: 11px;
  font-weight: 900;
}

.announcement-head h2 {
  margin: 0;
  color: #1b3760;
  font-size: 18px;
  line-height: 1.3;
}

.announcement-body {
  max-height: 360px;
  overflow: auto;
  padding: 16px 18px 4px;
}

.announcement-body p {
  margin: 0 0 12px;
  color: #3c4d66;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.announcement-confirm {
  display: block;
  width: calc(100% - 36px);
  height: 42px;
  margin: 12px 18px 18px;
  color: #fff;
  background: linear-gradient(180deg, #3d95ec, #1d70c9);
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(34, 122, 214, 0.24);
}

.lobby-inline-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 9100;
  transform: translateX(-50%);
  max-width: calc(100vw - 42px);
  padding: 9px 14px;
  color: #fff;
  background: rgba(24, 33, 48, 0.9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 24, 44, 0.2);
}

.lobby-inline-toast.is-premium {
  display: grid;
  min-width: 230px;
  gap: 3px;
  padding: 14px 18px;
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(16, 31, 55, 0.96), rgba(31, 74, 121, 0.94)),
    radial-gradient(circle at 16% 12%, rgba(93, 188, 255, 0.34), transparent 36%);
  border: 1px solid rgba(166, 207, 255, 0.34);
  border-radius: 14px;
  text-align: center;
  box-shadow:
    0 18px 42px rgba(10, 24, 44, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.lobby-inline-toast.is-premium strong,
.lobby-inline-toast.is-premium span {
  display: block;
}

.lobby-inline-toast.is-premium strong {
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
}

.lobby-inline-toast.is-premium span {
  color: rgba(232, 241, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
}

.worldcup-banner {
  position: relative;
  height: 143px;
  margin: 6px 7px 7px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 4px 10px rgba(0, 112, 199, 0.18);
  transition: opacity 220ms ease, filter 220ms ease;
  flex-shrink: 0;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.worldcup-banner.is-switching {
  opacity: 0.72;
  filter: saturate(1.08);
}

.worldcup-copy {
  position: absolute;
  z-index: 3;
  left: 76px;
  right: 74px;
  top: 32px;
  text-align: center;
}

.worldcup-copy h1 {
  margin: 0;
  color: #e7d58f;
  font-size: 36px;
  font-weight: 950;
  line-height: 0.94;
  text-shadow: 0 3px 0 #183878, 0 6px 0 rgba(20, 41, 90, 0.55);
  white-space: nowrap;
}

.worldcup-copy p {
  margin: 5px 0 6px;
  color: #f7e69f;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 0 #15367a, 0 4px 0 rgba(20, 41, 90, 0.52);
  white-space: nowrap;
}

.worldcup-copy span {
  display: inline-flex;
  height: 21px;
  align-items: center;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(180deg, #123b9d, #09256c);
  border: 1px solid #f3cb60;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 2px 0 rgba(12, 28, 82, 0.56);
}

.football {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 2px;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #222 0 16%, transparent 17%),
    conic-gradient(#222 0 10%, #fff 10% 22%, #222 22% 34%, #fff 34% 50%, #222 50% 62%, #fff 62% 78%, #222 78% 90%, #fff 90%);
  border: 3px solid #fff;
  box-shadow: 0 5px 10px rgba(20, 57, 103, 0.22);
  transform: translateX(-50%) rotate(-12deg);
}

.trophy {
  position: absolute;
  z-index: 2;
  top: 43px;
  width: 27px;
  height: 62px;
  background: linear-gradient(145deg, #fff5ad, #d39a1d 58%, #9a6811);
  clip-path: polygon(28% 0, 72% 0, 84% 18%, 66% 40%, 60% 72%, 78% 92%, 22% 92%, 40% 72%, 34% 40%, 16% 18%);
  filter: drop-shadow(0 4px 4px rgba(0, 47, 108, 0.24));
}

.trophy-left {
  left: 99px;
}

.trophy-right {
  right: 84px;
}

.player {
  position: absolute;
  z-index: 2;
  bottom: -8px;
  width: 70px;
  height: 125px;
}

.player-left {
  left: -1px;
}

.player-right {
  right: -7px;
}

.player .head {
  position: absolute;
  top: 8px;
  left: 27px;
  width: 20px;
  height: 24px;
  border-radius: 50%;
  background: #c58a62;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.player-right .head {
  background: #e0b083;
}

.player .body {
  position: absolute;
  top: 35px;
  left: 17px;
  width: 42px;
  height: 45px;
  border-radius: 12px 12px 5px 5px;
  background: #fff;
  border: 1px solid #dfedf7;
}

.player .body::after {
  position: absolute;
  left: 15px;
  top: 11px;
  color: #111;
  content: "9";
  font-size: 17px;
  font-weight: 900;
}

.player-right .body {
  background: #f9cf27;
}

.player-right .body::after {
  content: "20";
  left: 11px;
  color: #34652c;
}

.player .leg {
  position: absolute;
  top: 78px;
  width: 10px;
  height: 43px;
  background: #ffffff;
  border-radius: 8px;
}

.player .leg.one {
  left: 23px;
  transform: rotate(9deg);
}

.player .leg.two {
  left: 42px;
  transform: rotate(-8deg);
}

.player-right .leg {
  background: #f6c922;
}

.flags {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 55px;
  height: 44px;
  background:
    linear-gradient(90deg, #f12b3a 0 7px, transparent 7px 10px, #0f7be8 10px 17px, transparent 17px 20px, #f4d02f 20px 27px, transparent 27px 30px, #20a75b 30px 37px, transparent 37px);
  clip-path: polygon(0 100%, 10% 24%, 22% 100%, 32% 9%, 45% 100%, 56% 30%, 70% 100%, 80% 12%, 100% 100%);
}

.flags-left {
  left: 0;
}

.flags-right {
  right: 0;
  transform: scaleX(-1);
}

.invite-ribbon {
  position: relative;
  display: grid;
  min-height: 39px;
  align-items: center;
  margin: 0 5px 8px;
  padding: 0 50px;
  overflow: hidden;
  color: #000;
  background-image: url('images/trumpet.2ba0a65d.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  flex-shrink: 0;
}

.dragon-medal {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 44%, #f14b32 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, #ffe17d 0 55%, #e0492f 56% 100%);
  border: 2px solid rgba(255, 240, 174, 0.9);
}

.dragon-medal::after {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 22px;
  height: 22px;
  background: #f5b34c;
  content: "";
  clip-path: polygon(50% 0, 62% 29%, 95% 18%, 74% 48%, 100% 70%, 66% 66%, 50% 100%, 34% 66%, 0 70%, 26% 48%, 5% 18%, 38% 29%);
}

.marquee-viewport {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  gap: 42px;
  will-change: transform;
}

.marquee-track span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  white-space: nowrap;
}

.marquee-track.is-marquee {
  animation: marquee-slide var(--marquee-duration, 10s) linear infinite;
}

.lobby-user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  align-items: center;
  gap: 8px;
  min-height: 82px;
  margin: 0 5px 10px;
  padding: 9px 8px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(220, 243, 255, 0.86));
  border-radius: 8px;
  box-shadow: 0 2px 9px rgba(40, 139, 215, 0.16);
}

.lobby-user {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}

.lobby-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  overflow: visible;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #0b1020 var(--user-avatar, url("../im/IMG_20260423_184927.jpg")) center / cover no-repeat;
}

.lobby-avatar span {
  position: absolute;
  left: 9px;
  top: 10px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: transparent;
}

.lobby-user strong {
  display: block;
  overflow: hidden;
  color: #07164e;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lobby-user p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  color: #07164e;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.lobby-user p svg {
  width: 12px;
  height: 12px;
  color: #2a91dc;
}

.lobby-user p.is-refreshing svg,
.wallet-refresh.is-refreshing svg {
  animation: spin 0.55s linear infinite;
}

.balance-label.is-refreshing,
.wallet-refresh.is-refreshing {
  pointer-events: none;
  opacity: 0.72;
}

.lobby-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.lobby-quick button {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 7px;
  color: #06164e;
  font-size: 11px;
  font-weight: 800;
}

.lobby-quick span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: #8a5605;
  background: linear-gradient(145deg, #efc35e, #ce8918);
  border: 2px solid #2ba1e9;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(25, 120, 203, 0.22);
}

.lobby-quick svg {
  width: 18px;
  height: 18px;
}

.game-hall {
  --category-tab-width: 48px;
  display: grid;
  grid-template-columns: var(--category-tab-width) minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.hall-tabs {
  display: flex;
  min-height: 0;
  height: 100%;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hall-tabs::-webkit-scrollbar {
  display: none;
}

.hall-tabs button {
  display: block;
  flex: 0 0 auto;
  width: var(--category-tab-width);
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 96 / 106;
  border-radius: 12px;
  background: transparent;
  line-height: 0;
}

.hall-tabs button.is-active {
  background: transparent;
  filter: drop-shadow(0 3px 7px rgba(23, 122, 203, 0.2));
}

.hall-tabs svg {
  width: 20px;
  height: 20px;
}

.hall-tabs button span {
  display: none;
}

.tab-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
}

.hot-tab {
  display: grid;
  width: 25px;
  height: 16px;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #ffb45e, #e1462e);
  border-radius: 50% 50% 45% 45%;
  font-size: 7px;
  font-weight: 950;
}

.lottery-icon {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #6c86a6;
  background: #e8f0f7;
  border-radius: 50%;
  font-size: 11px;
}

.hall-content {
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hall-content::-webkit-scrollbar {
  display: none;
}

.hall-content.is-updating,
.casino-grid.is-updating {
  animation: content-fade 180ms ease;
}

.game-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}

.slot-card {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #9fd0f2;
  border-radius: 8px;
  text-align: left;
}

.game-label {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 8px;
  display: grid;
  min-width: 34px;
  height: 16px;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg, #ff2f86, #f72755);
  border-radius: 0 999px 999px 0;
  font-size: 8px;
  font-weight: 950;
}

.game-visual {
  display: block;
  height: 94px;
  margin: 8px 8px 0;
  overflow: hidden;
  border-radius: 5px;
}

.mahjong-visual {
  background:
    radial-gradient(circle at 77% 29%, #fff5ad 0 15%, transparent 16%),
    radial-gradient(circle at 30% 61%, #ffdf6b 0 20%, transparent 21%),
    linear-gradient(145deg, #29e784 0%, #fff45a 45%, #f35c19 100%);
}

.mahjong-visual::after {
  display: grid;
  height: 100%;
  place-items: center;
  color: #e33a13;
  content: "麻将胡了";
  font-size: 19px;
  font-weight: 950;
  text-shadow: 0 2px 0 #fff1a0;
}

.soccer-visual {
  background:
    radial-gradient(circle at 78% 23%, #fff46d 0 14%, transparent 15%),
    radial-gradient(circle at 31% 46%, #ffe15f 0 18%, transparent 19%),
    linear-gradient(145deg, #faff7d 0%, #33e474 50%, #ff4b1f 100%);
}

.soccer-visual::after {
  display: grid;
  height: 100%;
  place-items: center;
  color: #ff3d00;
  content: "少林足球";
  font-size: 18px;
  font-weight: 950;
  text-shadow: 0 2px 0 #fff2a2;
}

.queen-mini {
  background:
    radial-gradient(circle at 50% 34%, #d7d7d7 0 16%, transparent 17%),
    linear-gradient(145deg, #5b1b12 0%, #d7862f 52%, #321307 100%);
}

.queen-mini::after,
.lottery-mini::after,
.sport-mini::after,
.card-mini::after,
.live-mini::after,
.fish-mini::after {
  display: grid;
  height: 100%;
  place-items: center;
  color: #f5c542;
  font-size: 18px;
  font-weight: 950;
  text-shadow: 0 2px 0 rgba(85, 29, 0, 0.72);
}

.queen-mini::after {
  content: "赏金女王";
}

.lottery-mini {
  background: linear-gradient(145deg, #fff5a8 0%, #ff7954 48%, #287cff 100%);
}

.lottery-mini::after {
  content: "分分彩";
}

.sport-mini {
  background: linear-gradient(145deg, #fff87a 0%, #35d26d 48%, #1680e9 100%);
}

.sport-mini::after {
  content: "冠军体育";
}

.card-mini {
  background: linear-gradient(145deg, #41114f 0%, #ca2f54 48%, #f2c14e 100%);
}

.card-mini::after {
  content: "棋牌游戏";
}

.live-mini {
  background: linear-gradient(145deg, #101a3f 0%, #227ee8 48%, #f3c64f 100%);
}

.live-mini::after {
  content: "真人大厅";
}

.fish-mini {
  background: linear-gradient(145deg, #0b77cc 0%, #13c6c3 48%, #f7c847 100%);
}

.fish-mini::after {
  content: "捕鱼专区";
}

.slot-card strong {
  display: block;
  min-height: 30px;
  padding: 7px 8px 6px;
  color: #102550;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.slot-card-empty {
  opacity: 0.5;
  cursor: not-allowed;
}

.slot-card-empty .game-visual {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
}

.slot-card-empty .game-visual::before {
  content: "+";
  display: grid;
  height: 100%;
  place-items: center;
  font-size: 32px;
  color: #aaa;
}

.slot-card-entry {
  opacity: 1;
  cursor: pointer;
}

.slot-card-entry .game-visual {
  background: linear-gradient(145deg, #dff3ff, #ffffff 44%, #bfe2ff);
}

.slot-card-entry .game-visual::before {
  color: #178de2;
  content: "入口";
  font-size: 22px;
  font-weight: 800;
}

.slot-card-live {
  opacity: 1;
  cursor: pointer;
}

.slot-card-entry .slot-game-entry-image {
  background: #eaf0f6;
}

.slot-card-entry .slot-game-entry-image::before {
  display: none;
}

.slot-card-entry .slot-game-entry-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-card-live .slot-game-image {
  background: #eaf0f6;
}

.slot-card-live .slot-game-image::before {
  display: none;
}

.slot-card-live .slot-game-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-empty-grid {
  display: grid;
  gap: 9px;
  margin: 0 0 10px;
}

.wide-empty-card {
  display: grid;
  min-height: 116px;
  padding: 8px;
  overflow: hidden;
  color: #7f90a4;
  background: #fff;
  border: 1px solid #d5e4f1;
  border-radius: 8px;
  text-align: left;
  opacity: 0.52;
  cursor: not-allowed;
}

.wide-empty-card span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 98px;
  background: linear-gradient(145deg, #f1f4f6, #e5ebef);
  border-radius: 6px;
}

.wide-image-card {
  padding: 0;
  opacity: 1;
  background: transparent;
  border: 0;
}

.wide-image-card span {
  min-height: 116px;
  background: #eaf0f6;
  border-radius: 8px;
}

.wide-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-games-page {
  min-height: 100vh;
  overflow-y: auto;
  background: #f1f3f6;
}

.special-games-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.special-games-header h1 {
  margin: 0;
  color: #071735;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.special-games-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.special-games-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.special-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 10px;
}

.special-game-card {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: #102550;
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(16, 37, 80, 0.06);
  text-align: left;
}

.special-game-cover {
  display: block;
  aspect-ratio: 1.77;
  width: 100%;
  overflow: hidden;
  background: #eef3f8;
}

.special-game-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-game-name {
  display: block;
  min-width: 0;
  padding: 7px 8px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-page {
  min-height: 100vh;
  color: #071735;
  background: #eef3f9;
}

.vip-page-header {
  position: relative;
  z-index: 5;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
}

.vip-page-header h1 {
  margin: 0;
  color: #071735;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.vip-page-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 44px;
  height: 45px;
  place-items: center;
  color: #172436;
}

.vip-page-back svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
  transform: rotate(180deg);
}

.vip-page-content {
  min-height: calc(100vh - 45px);
  overflow: hidden;
}

.vip-hero {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 376px;
  padding-top: 30px;
  overflow: hidden;
  background: #118de4 url("images/top_content.751c9e64.png") center 18% / cover no-repeat;
}

.vip-hero::before {
  display: none;
}

.vip-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 77, 145, 0.08) 0, rgba(238, 243, 249, 0.2) 72%, #eef3f9 100%);
  content: "";
}

.vip-avatar,
.vip-name,
.vip-medals,
.vip-progress,
.vip-progress-text {
  position: relative;
  z-index: 1;
}

.vip-avatar {
  display: grid;
  width: 114px;
  justify-items: center;
  gap: 7px;
}

.vip-avatar-art {
  position: relative;
  display: block;
  width: 106px;
  height: 106px;
  border: 5px solid rgba(135, 183, 255, 0.85);
  border-radius: 50%;
  background: #0b1020 var(--user-avatar, url("../im/IMG_20260423_184927.jpg")) center / cover no-repeat;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.34);
}

.vip-avatar-art::before {
  position: absolute;
  left: 39px;
  top: 23px;
  width: 24px;
  height: 50px;
  background: transparent;
  border-radius: 48% 52% 42% 58%;
  content: "";
  transform: rotate(-26deg);
}

.vip-avatar-art::after {
  position: absolute;
  left: 28px;
  top: 17px;
  width: 31px;
  height: 24px;
  background: transparent;
  border-radius: 57% 43% 52% 48%;
  box-shadow:
    26px 26px 0 -7px #efb32e,
    -18px 41px 0 -5px #f1ad26;
  content: "";
  transform: rotate(-18deg);
}

.vip-avatar em {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 42px;
  height: 20px;
  place-items: center;
  margin-top: 0;
  padding: 0 10px;
  color: #2a2417;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #fff5bf, #d6b257);
  border-radius: 999px;
}

.vip-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.vip-medals {
  display: flex;
  gap: 68px;
  margin-top: 20px;
}

.vip-medals i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.vip-medals i:first-child {
  background: linear-gradient(135deg, #4ac5ff, #1974e5);
}

.vip-medals i:last-child {
  background: linear-gradient(135deg, #fff5bd, #e6bd50);
}

.vip-progress {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  width: 100%;
  align-items: center;
  margin-top: 13px;
  padding: 0 20px;
}

.vip-progress span {
  color: #071735;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.vip-progress span:first-child {
  color: #3494dd;
}

.vip-progress span:last-child {
  justify-self: end;
}

.vip-progress div {
  position: relative;
  display: block;
  min-width: 0;
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
}

.vip-progress i {
  position: absolute;
  left: 0;
  top: 0;
  height: 10px;
  width: 0;
  background: linear-gradient(90deg, #f8d66a, #ffffff);
  border-radius: 999px;
  transition: width 0.28s ease;
}

.vip-progress i + i {
  right: 0;
  left: auto;
  width: 10px;
  background: #fff;
}

.vip-progress-text {
  display: grid;
  min-width: 226px;
  height: 23px;
  place-items: center;
  margin-top: 18px;
  padding: 0 16px;
  color: #fff;
  background: #23a2f2;
  border: 1px solid #0a8fe1;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}

.vip-progress-metrics {
  display: grid;
  width: calc(100% - 40px);
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.vip-progress-metrics div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 10px;
  background: rgba(5, 42, 86, 0.46);
  box-shadow:
    0 8px 20px rgba(6, 31, 68, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(5px);
}

.vip-progress-metrics span {
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 35, 74, 0.35);
  white-space: nowrap;
}

.vip-progress-metrics b {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.vip-progress-metrics i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffe17a, #ffffff);
  border-radius: inherit;
  transition: width 0.28s ease;
}

.vip-level-strip {
  margin-top: 0;
  padding-bottom: 36px;
  overflow: hidden;
  background: #eef3f9;
}

.vip-level-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 0 calc((100% - min(402px, calc(100vw - 86px))) / 2);
  scroll-snap-type: x mandatory;
}

.vip-level-card {
  position: relative;
  flex: 0 0 min(402px, calc(100vw - 86px));
  aspect-ratio: 364 / 150;
  height: auto;
  overflow: hidden;
  scroll-snap-align: center;
  background: transparent;
  border-radius: 12px;
}

.vip-level-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: inherit;
}

.vip-card-copy {
  position: absolute;
  left: 35px;
  bottom: 16px;
  display: block;
  color: #d62828;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  text-shadow: none;
  pointer-events: none;
}

.vip-card-copy p {
  margin: 0;
}

.vip-privilege-section,
.vip-benefit-section {
  background: #fff;
}

.vip-privilege-section {
  padding: 19px 22px 20px;
}

.vip-benefit-section {
  margin-top: 12px;
  padding: 24px 33px 28px;
}

.vip-privilege-section h2,
.vip-benefit-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  color: #071735;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.vip-privilege-section h2 span,
.vip-benefit-section h2 span {
  width: 16px;
  height: 10px;
  background: linear-gradient(135deg, #d6f2ff, #2697ed 48%, #8ed8ff);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.vip-privilege-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.vip-privilege-grid div {
  display: grid;
  min-width: 0;
  justify-items: center;
}

.vip-icon,
.vip-benefit-icon {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.vip-icon {
  width: 42px;
  height: 42px;
}

.vip-icon-money {
  background: linear-gradient(135deg, #c733e8, #9233de);
}

.vip-icon-gift {
  background: linear-gradient(135deg, #ff306b, #ff687e);
}

.vip-icon-card {
  background: linear-gradient(135deg, #ffb420, #ff7c23);
}

.vip-icon::before,
.vip-benefit-icon::before {
  color: #fff;
  font-size: 19px;
  font-style: normal;
  font-weight: 900;
}

.vip-icon-money::before {
  content: "¥";
}

.vip-icon-gift::before,
.vip-benefit-gift::before {
  content: "礼";
  font-size: 16px;
}

.vip-icon-card::before {
  content: "▰";
  font-size: 18px;
}

.vip-privilege-grid strong {
  margin-top: 12px;
  color: #071735;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.vip-privilege-grid span,
.vip-benefit-row p span {
  color: #6d7f92;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.35;
}

.vip-privilege-grid span {
  margin-top: 6px;
}

.vip-benefit-list {
  display: grid;
  gap: 16px;
  margin-top: 25px;
}

.vip-benefit-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 14px;
}

.vip-benefit-icon {
  width: 38px;
  height: 38px;
}

.vip-benefit-gift {
  background: linear-gradient(135deg, #ff3083, #ec136e);
}

.vip-benefit-envelope {
  background: linear-gradient(135deg, #ff9b18, #ff5434);
}

.vip-benefit-envelope::before {
  content: "✉";
}

.vip-benefit-cake {
  background: linear-gradient(135deg, #ffab1f, #ff316f);
}

.vip-benefit-cake::before {
  content: "♜";
}

.vip-benefit-row p {
  min-width: 0;
  margin: 0;
}

.vip-benefit-row p strong {
  display: block;
  color: #071735;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.vip-benefit-row p span {
  display: block;
  margin-top: 3px;
}

.vip-benefit-row button {
  height: 29px;
  color: #071735;
  font-size: 10px;
  font-weight: 700;
  line-height: 29px;
  background: linear-gradient(180deg, #fff9d9, #d5ad4a);
  border-radius: 999px;
}

.vip-benefit-row button.is-disabled {
  color: #8fa0bd;
  background: #e7e9f6;
}

.vip-more-section {
  padding: 16px 22px 20px;
  background: #f1f3f6;
}

.vip-more-section button {
  width: 100%;
  height: 38px;
  color: #071735;
  font-size: 12px;
  font-weight: 800;
  line-height: 38px;
  background: linear-gradient(180deg, #fff9d8 0, #f0cf6a 55%, #d9b150 100%);
  border: 1px solid #d0a247;
  border-radius: 999px;
}

.vip-more-section span {
  margin-left: 8px;
}

/* 游戏列表空卡片样式 */
.casino-card {
  opacity: 0.5;
  cursor: not-allowed;
}

.casino-card .casino-cover {
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
}

.casino-card .casino-cover::before {
  background: none;
}

.casino-card .casino-cover strong {
  color: #aaa;
  text-shadow: none;
}

.wide-game {
  position: relative;
  display: block;
  width: 100%;
  min-height: 113px;
  margin-bottom: 10px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0 45%, rgba(218, 244, 255, 0.56) 46% 100%),
    linear-gradient(180deg, #f4fbff, #dff4ff);
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(26, 127, 210, 0.13);
  text-align: left;
}

.wide-copy {
  position: absolute;
  z-index: 2;
  left: 21px;
  top: 27px;
  display: grid;
}

.wide-copy strong {
  color: #2680d4;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.wide-copy small {
  margin-top: 4px;
  color: #6d8093;
  font-size: 10px;
  font-weight: 800;
}

.wide-copy i {
  display: grid;
  width: 65px;
  height: 18px;
  margin-top: 11px;
  place-items: center;
  color: #6b470a;
  background: linear-gradient(180deg, #fff3bf, #d3a94b);
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

.wide-hero {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: -3px;
  width: 125px;
  height: 95px;
}

.duck-hero {
  background:
    radial-gradient(circle at 54% 38%, #fff 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, #f6f6f6 0 38%, transparent 39%),
    radial-gradient(circle at 67% 50%, #ff7136 0 9%, transparent 10%),
    linear-gradient(145deg, transparent 0 60%, #182f35 61% 78%, transparent 79%);
  transform: rotate(-9deg);
}

.duck-hero::after {
  position: absolute;
  left: 21px;
  bottom: 8px;
  width: 89px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #151b20, #0c8f83);
  content: "";
}

.pilot-hero {
  background:
    radial-gradient(circle at 52% 29%, #ffcc76 0 14%, transparent 15%),
    radial-gradient(circle at 49% 44%, #f49a3f 0 27%, transparent 28%),
    linear-gradient(145deg, transparent 0 46%, #29c6f6 47% 72%, transparent 73%);
}

.pilot-hero::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 86px;
  height: 46px;
  border-radius: 24px;
  background: linear-gradient(145deg, #13a6f2, #00d2e6);
  content: "";
  transform: rotate(-13deg);
}

.side-badges {
  position: absolute;
  right: -3px;
  top: 6px;
  display: grid;
  gap: 6px;
}

.side-badges i {
  width: 37px;
  height: 37px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0 24%, transparent 25%),
    linear-gradient(145deg, #ff8d35, #3fb4ff 54%, #e65ee7);
  box-shadow: 0 3px 7px rgba(25, 118, 210, 0.22);
}

.service-page {
  min-height: 100vh;
  padding: 0 10px calc(var(--tab-height) + var(--safe-bottom) + 20px);
  background: #f3f6f9;
}

.games-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  padding-bottom: calc(var(--tab-height) + var(--safe-bottom));
  background: #f2f6fa;
  overflow: hidden;
}

.games-topbar {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 0 -4px;
  padding: 6px 10px 5px;
  color: #fff;
  background: linear-gradient(180deg, #25aaf4, #0788df);
  flex-shrink: 0;
}

.games-topbar .lobby-brand {
  gap: 6px;
}

.games-topbar .lobby-brand em {
  font-size: 9px;
}

.games-topbar .lobby-brand i {
  height: 25px;
}

.games-topbar .lobby-actions {
  gap: 7px;
}

.provider-tabs {
  display: grid;
  flex-shrink: 0;
  height: 39px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  background: #eef3f8;
  border-bottom: 1px solid #dfe8f2;
}

.provider-tabs button {
  position: relative;
  display: grid;
  place-items: center;
  color: #6f8298;
  font-size: 14px;
  font-weight: 800;
  isolation: isolate;
}

.provider-tabs button.is-active {
  color: #172033;
  text-shadow: none;
}

.provider-tabs button.is-active::before {
  position: absolute;
  inset: 6px 14px 5px;
  z-index: -1;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff7d9, #e6bf61);
  content: "";
  box-shadow: 0 1px 2px rgba(118, 82, 21, 0.14);
}

.provider-tabs button.is-active::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.provider-tabs button {
  z-index: 1;
}

.game-search-row {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 12px;
  padding: 18px 13px 13px;
}

.game-search {
  position: relative;
  display: grid;
  height: 44px;
  align-items: center;
  background: #fff;
  border-radius: 5px;
}

.game-search span {
  position: absolute;
  left: 16px;
  color: #c8d0d9;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.game-search input {
  width: 100%;
  height: 100%;
  padding: 0 45px 0 16px;
  border: 0;
  color: #172033;
  font: inherit;
  background: transparent;
  outline: none;
}

.game-search input:focus + svg,
.game-search:focus-within svg {
  color: #0f172a;
}

.game-search:focus-within span,
.game-search input:not(:placeholder-shown) + svg + span {
  opacity: 0;
}

.game-search svg {
  position: absolute;
  right: 13px;
  width: 25px;
  height: 25px;
  color: #111827;
  stroke-width: 2.1;
}

.favorite-filter {
  display: none;
  width: 46px;
  height: 44px;
  place-items: center;
  color: #cbd9df;
  background: #fff;
  border-radius: 5px;
}

.favorite-filter svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 13px 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 0 13px 18px;
  -webkit-overflow-scrolling: touch;
}

.casino-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 150px;
  grid-template-rows: 114px 36px;
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.casino-cover {
  position: relative;
  display: block;
  margin: 6px 6px 0;
  overflow: hidden;
  border-radius: 3px;
}

.casino-cover::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), transparent 31%),
    repeating-linear-gradient(165deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 15px);
  content: "";
}

.casino-cover strong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  color: #f4c23f;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 0 #882900, 0 5px 9px rgba(72, 18, 0, 0.42);
}

.casino-card.is-empty .casino-cover {
  background: #eef1f4;
}

.casino-card.is-empty .casino-cover::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, #f1f3f6, #e7ebef);
}

.casino-card.is-empty .casino-cover strong {
  top: 50%;
  bottom: auto;
  color: #c2c8d0;
  font-size: 19px;
  font-weight: 900;
  text-shadow: none;
  transform: translateY(-50%);
}

.casino-card.is-empty .casino-name {
  color: #6f8298;
  font-size: 12px;
  font-weight: 650;
}

.casino-card-live {
  opacity: 1;
  cursor: pointer;
}

.casino-card-live .casino-image-cover {
  background: #eaf0f6;
}

.casino-card-live .casino-image-cover::before {
  display: none;
}

.casino-card-live .casino-image-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-card-image-only {
  opacity: 1;
  cursor: default;
}

.casino-card-image-only .casino-image-cover {
  background: #eaf0f6;
}

.casino-card-image-only .casino-image-cover::before {
  display: none;
}

.casino-card-image-only .casino-image-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casino-card-pilot {
  grid-column: 1 / -1;
  min-height: 198px;
  grid-template-rows: 168px 30px;
}

.casino-card-pilot .casino-image-cover img {
  object-fit: contain;
  background: #fff;
}

.casino-card-pilot.is-disabled {
  opacity: 0.48;
  cursor: pointer;
  filter: grayscale(0.35);
}

.casino-card-pilot.is-disabled::after {
  position: absolute;
  inset: 6px 6px 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.38);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 900;
  content: "Disabled";
}

.casino-empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 160px;
  place-items: center;
  color: #7a8798;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.ssh-startup-page {
  min-height: 100vh;
  background: #070a12;
}

.ssh-startup-frame {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
  background: #070a12;
}

.ssh-connect-page {
  min-height: 100vh;
  color: #263241;
  background: #f2f5f8;
  overflow-y: auto;
}

.ssh-connect-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 92px 1fr 92px;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-bottom: 1px solid #dfe6ee;
  background: #f8fafc;
}

.ssh-connect-header strong {
  justify-self: center;
  color: #1f2937;
  font-size: 14px;
  font-weight: 650;
}

.ssh-connect-back {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  height: 32px;
  color: #3d4b5c;
  font-size: 12px;
  font-weight: 550;
}

.ssh-connect-back svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  transform: rotate(180deg);
}

.ssh-connect-content {
  display: grid;
  gap: 8px;
  padding: 10px 10px max(16px, env(safe-area-inset-bottom));
}

.ssh-status-panel,
.ssh-region-panel,
.ssh-connect-form,
.ssh-connect-tip {
  border: 1px solid #dfe6ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.ssh-status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 10px;
}

.ssh-status-panel span {
  color: #6b7787;
  font-size: 12px;
}

.ssh-status-panel strong {
  color: #263241;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.1;
}

.ssh-region-panel {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
}

.ssh-section-title,
.ssh-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ssh-section-title span,
.ssh-currency-row > span {
  color: #536172;
  font-size: 11px;
  font-weight: 550;
}

.ssh-section-title em {
  color: #8a94a3;
  font-size: 10px;
  font-style: normal;
}

.ssh-country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.ssh-country-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 23px;
  padding: 0 6px;
  border: 1px solid #e5ebf2;
  border-radius: 4px;
  background: #fafbfc;
}

.ssh-country-node span {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssh-country-node em {
  flex: 0 0 auto;
  color: #16845f;
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
}

.ssh-connect-form {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.ssh-currency-row {
  min-height: 30px;
  padding-top: 2px;
  border-top: 1px solid #edf1f5;
}

.ssh-currency-options {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ssh-currency-options button {
  min-width: 48px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid #d7e0ea;
  border-radius: 999px;
  color: #687588;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
}

.ssh-currency-options button.is-active {
  color: #253244;
  border-color: #b9c5d4;
  background: #eef3f8;
}

.ssh-currency-options button[aria-disabled="true"] {
  opacity: 0.46;
}

.ssh-connect-form label {
  display: grid;
  gap: 4px;
}

.ssh-save-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 7px !important;
  min-height: 24px;
  padding-top: 1px;
  border-top: 1px solid #edf1f5;
  cursor: pointer;
}

.ssh-save-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ssh-save-option i {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 14px;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  background: #edf2f7;
  transition: background 160ms ease, border-color 160ms ease;
}

.ssh-save-option i::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  content: "";
  transition: transform 160ms ease, background 160ms ease;
}

.ssh-save-option input:checked + i {
  border-color: #8190a4;
  background: #dce4ee;
}

.ssh-save-option input:checked + i::after {
  background: #334155;
  transform: translateX(10px);
}

.ssh-save-option span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
}

.ssh-connect-form label span {
  color: #536172;
  font-size: 11px;
  font-weight: 550;
}

.ssh-connect-form input {
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border: 1px solid #d0d8e2;
  border-radius: 5px;
  color: #263241;
  font: inherit;
  background: #f8fafc;
  outline: none;
}

.ssh-connect-form input:focus {
  border-color: #8d9bad;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.09);
}

.ssh-connect-form button {
  height: 34px;
  margin-top: 0;
  border-radius: 5px;
  color: #fff;
  background: #344255;
  font-size: 13px;
  font-weight: 650;
}

.ssh-connect-tip {
  display: grid;
  padding: 10px 12px;
  color: #d02f2f;
  background: transparent;
  border-color: #e3e9f0;
}

.ssh-connect-tip p {
  margin: 0;
  color: #d02f2f;
  font-size: 11px;
  line-height: 1.55;
}

.bonus-badge {
  position: absolute;
  z-index: 2;
  right: 7px;
  top: 7px;
  display: grid;
  width: 43px;
  height: 33px;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 50% 42%, #ff6253 0 48%, #e72826 49% 100%);
  border: 2px solid rgba(255, 236, 101, 0.92);
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-13deg);
}

.cover-mahjong-one {
  background:
    radial-gradient(circle at 13% 21%, #fff9ac 0 18%, transparent 19%),
    radial-gradient(circle at 74% 52%, #ffdc40 0 18%, transparent 19%),
    linear-gradient(145deg, #fff65f 0%, #ffbd21 44%, #f06313 100%);
}

.cover-mahjong-two {
  background:
    radial-gradient(circle at 76% 29%, #fff680 0 15%, transparent 16%),
    radial-gradient(circle at 24% 68%, #ffe85b 0 18%, transparent 19%),
    linear-gradient(145deg, #1bcf7f 0%, #fff359 43%, #f26918 100%);
}

.cover-queen {
  background:
    radial-gradient(circle at 50% 33%, #c8c8c8 0 16%, transparent 17%),
    radial-gradient(circle at 50% 70%, #ffb13d 0 25%, transparent 26%),
    linear-gradient(145deg, #5b1b12 0%, #b96c29 50%, #2b1308 100%);
}

.cover-soccer {
  background:
    radial-gradient(circle at 73% 28%, #fffa78 0 15%, transparent 16%),
    radial-gradient(circle at 37% 54%, #fbe25d 0 18%, transparent 19%),
    linear-gradient(145deg, #fff873 0%, #37dc77 48%, #ff5b20 100%);
}

.cover-duel {
  background:
    radial-gradient(circle at 42% 30%, #f1c08d 0 13%, transparent 14%),
    linear-gradient(145deg, #4e250f 0%, #f8d36b 50%, #7c4218 100%);
}

.cover-rooster {
  background:
    radial-gradient(circle at 30% 55%, #fff 0 25%, transparent 26%),
    radial-gradient(circle at 72% 43%, #b81828 0 20%, transparent 21%),
    linear-gradient(145deg, #fff9b1 0%, #cd8d1e 50%, #48200d 100%);
}

.casino-name {
  align-self: center;
  overflow: hidden;
  padding: 0 34px 0 10px;
  color: #29384a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heart-icon {
  display: none;
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 17px;
  height: 17px;
  color: #cfdee3;
  fill: currentColor;
  stroke: currentColor;
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 21px));
  }
}

@keyframes content-fade {
  from {
    opacity: 0.45;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-header {
  display: grid;
  height: 48px;
  place-items: center;
}

.service-header h1 {
  margin: 0;
  color: #06164e;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.service-list {
  display: grid;
  gap: 10px;
  padding-top: 3px;
}

.service-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 74px;
  grid-template-columns: 63px minmax(0, 1fr) 25px;
  align-items: center;
  padding: 0 17px;
  color: #06164e;
  background: #fff;
  border-radius: 7px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.service-avatar {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.online-avatar {
  background: radial-gradient(circle at 50% 50%, #fff6b7 0 44%, transparent 45%), linear-gradient(145deg, #e4f9ff, #168df0 72%);
}

.online-face {
  position: absolute;
  width: 28px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffdc64, #dfa321);
  border: 2px solid #946f0d;
}

.online-face::before,
.online-face::after {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5c4a18;
  content: "";
}

.online-face::before {
  left: 7px;
}

.online-face::after {
  right: 7px;
}

.online-headset {
  position: absolute;
  width: 33px;
  height: 23px;
  border: 3px solid #176fbc;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.online-headset::before,
.online-headset::after {
  position: absolute;
  top: 13px;
  width: 6px;
  height: 10px;
  border-radius: 4px;
  background: #176fbc;
  content: "";
}

.online-headset::before {
  left: -4px;
}

.online-headset::after {
  right: -4px;
}

.notice-avatar {
  background: linear-gradient(145deg, #46d4ff, #0b82ee 72%);
}

.notice-bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9fff1, #73d6a3);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.notice-bubble.one {
  left: 10px;
  top: 16px;
  width: 20px;
  height: 20px;
}

.notice-bubble.two {
  right: 9px;
  top: 9px;
  width: 17px;
  height: 17px;
  background: linear-gradient(145deg, #d7fbff, #61bde9);
}

.notice-bubble.three {
  right: 14px;
  bottom: 9px;
  width: 10px;
  height: 10px;
  background: #c9f2ff;
}

.robot-avatar {
  background: linear-gradient(145deg, #3fc5ff, #1087ef 72%);
}

.robot-head {
  position: absolute;
  top: 11px;
  width: 25px;
  height: 21px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff2a8, #d7a833);
  border: 2px solid #fff6c9;
}

.robot-head::before,
.robot-head::after {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1a66b4;
  content: "";
}

.robot-head::before {
  left: 6px;
}

.robot-head::after {
  right: 6px;
}

.service-avatar .service-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-avatar.online-avatar,
.service-avatar.notice-avatar,
.service-avatar.robot-avatar {
  background: transparent !important;
  box-shadow: none !important;
}

.service-support-dialog {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: grid;
  place-items: center;
  padding: 18px;
}

.service-support-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 18, 36, 0.42);
}

.service-support-panel {
  position: relative;
  display: grid;
  width: min(310px, 100%);
  gap: 12px;
  padding: 18px;
  color: #172033;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(16, 32, 52, 0.24);
  text-align: center;
}

.service-support-panel strong {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}

.service-support-panel p {
  margin: 0;
  color: #4e5d70;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.service-support-panel button {
  display: grid;
  height: 38px;
  place-items: center;
  color: #fff;
  background: #25364c;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.robot-body {
  position: absolute;
  bottom: 8px;
  width: 30px;
  height: 17px;
  border-radius: 10px 10px 12px 12px;
  background: linear-gradient(145deg, #f4d75c, #85c256);
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.service-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.service-title-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-title-row strong {
  color: #06164e;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.service-copy small {
  overflow: hidden;
  color: #6e86a3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vip-mark {
  position: relative;
  display: inline-grid;
  width: 15px;
  height: 13px;
  place-items: center;
  color: #8a6617;
  background: linear-gradient(180deg, #fff3c2, #d6b25d);
  clip-path: polygon(10% 22%, 36% 22%, 50% 0, 64% 22%, 90% 22%, 76% 100%, 24% 100%);
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
}

.service-unread {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  justify-self: center;
  color: #fff;
  background: #ee2b36;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.telegram-support-page {
  min-height: 100vh;
  padding: 0 11px 22px;
  background: #f3f6f9;
}

.telegram-support-header {
  position: relative;
  display: grid;
  height: 48px;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
}

.telegram-support-header h1 {
  margin: 0;
  color: #06164e;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.telegram-support-back,
.telegram-support-refresh {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #172033;
  background: transparent;
  border-radius: 50%;
}

.telegram-support-back svg,
.telegram-support-refresh svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.telegram-support-back svg {
  transform: rotate(180deg);
}

.telegram-support-content {
  display: grid;
  gap: 10px;
}

.telegram-support-hero {
  display: grid;
  min-height: 104px;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: #172033;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
}

.telegram-support-logo,
.telegram-contact-icon {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #229ed9;
  border-radius: 50%;
}

.telegram-support-logo {
  width: 50px;
  height: 50px;
}

.telegram-support-logo::before,
.telegram-contact-icon::before {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 20px solid #fff;
  content: "";
  transform: translateX(2px) rotate(-14deg);
}

.telegram-support-logo::after,
.telegram-contact-icon::after {
  position: absolute;
  width: 12px;
  height: 2px;
  background: #cfefff;
  content: "";
  transform: translate(2px, 8px) rotate(36deg);
}

.telegram-support-hero strong {
  display: block;
  margin-bottom: 6px;
  color: #172033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.telegram-support-hero p {
  margin: 0;
  color: #66758a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.telegram-support-status {
  display: grid;
  min-height: 96px;
  place-items: center;
  margin: 0;
  padding: 16px;
  color: #66758a;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.telegram-support-list {
  display: grid;
  gap: 10px;
}

.telegram-contact-card {
  display: grid;
  min-height: 92px;
  grid-template-columns: 48px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: #172033;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
}

.telegram-contact-icon {
  width: 44px;
  height: 44px;
}

.telegram-contact-icon::before {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 17px;
}

.telegram-contact-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.telegram-contact-copy strong {
  overflow: hidden;
  color: #172033;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telegram-contact-copy span {
  color: #229ed9;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.telegram-contact-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #66758a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.telegram-contact-actions {
  display: grid;
  gap: 7px;
}

.telegram-contact-actions button {
  display: grid;
  height: 30px;
  place-items: center;
  color: #fff;
  background: #25364c;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.telegram-contact-actions button:first-child {
  background: #229ed9;
}

.telegram-contact-actions button:disabled {
  cursor: default;
  opacity: 0.45;
}

.discover-page {
  min-height: 100vh;
  padding: 0 11px calc(var(--tab-height) + var(--safe-bottom) + 20px);
  background: #f3f6f9;
}

.discover-header {
  display: grid;
  height: 48px;
  place-items: center;
}

.discover-header h1 {
  margin: 0;
  color: #06164e;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.discover-list {
  display: grid;
  gap: 10px;
  padding-top: 3px;
}

.discover-card {
  display: grid;
  width: 100%;
  min-height: 74px;
  grid-template-columns: 62px auto auto minmax(0, 1fr) 24px;
  align-items: center;
  gap: 0;
  padding: 0 9px 0 14px;
  color: #06164e;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
  text-align: left;
}

.discover-icon {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(13, 84, 160, 0.14);
}

.official-icon,
.stage-icon {
  background:
    radial-gradient(circle at 50% 88%, #36aa57 0 14%, transparent 15%),
    linear-gradient(145deg, #16b4f0 0%, #0b75cf 42%, #e5b54a 100%);
}

.discover-icon.official-icon {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.discover-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-river,
.stage-logo {
  position: absolute;
  inset: 7px 5px;
  border-radius: 50%;
  background:
    linear-gradient(150deg, transparent 0 42%, rgba(255, 255, 255, 0.62) 43%, transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 56%);
}

.official-icon strong {
  position: relative;
  z-index: 1;
  width: 36px;
  color: #fff;
  font-size: 7px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 70, 150, 0.46);
}

.stage-logo::after {
  position: absolute;
  left: 7px;
  bottom: 3px;
  width: 24px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f5c74c, #0d7fd6);
  content: "";
}

.offer-icon {
  background: linear-gradient(145deg, #73d5ff, #f7c263 52%, #ff8d41);
}

.offer-house {
  position: absolute;
  left: 10px;
  top: 15px;
  width: 25px;
  height: 20px;
  border-radius: 5px;
  background: #f9e0a0;
  box-shadow: inset 0 -5px 0 #f97316;
}

.offer-house::before {
  position: absolute;
  left: -3px;
  top: -9px;
  width: 31px;
  height: 20px;
  background: #ff7d2f;
  content: "";
  clip-path: polygon(50% 0, 100% 62%, 86% 62%, 86% 100%, 14% 100%, 14% 62%, 0 62%);
}

.activity-icon {
  background: radial-gradient(circle at 50% 50%, #ffe680 0 17%, transparent 18%), linear-gradient(145deg, #24b7ff, #206fe0 52%, #f5c84b);
}

.activity-wheel {
  position: absolute;
  width: 31px;
  height: 31px;
  border: 5px dotted rgba(255, 231, 105, 0.95);
  border-radius: 50%;
  background: rgba(20, 126, 225, 0.6);
}

.activity-wheel::after {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.notice-icon {
  background: linear-gradient(145deg, #bff3ff, #ffe08f 55%, #ff7d42);
}

.notice-flame {
  position: absolute;
  left: 15px;
  top: 8px;
  width: 19px;
  height: 31px;
  border-radius: 50% 50% 52% 52%;
  background: linear-gradient(180deg, #ffef67, #ff5a2e 68%, #ff9e2c);
  transform: rotate(12deg);
}

.notice-flame::before {
  position: absolute;
  left: -7px;
  top: 12px;
  width: 19px;
  height: 23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.discover-title {
  color: #07154d;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.red-badge {
  min-width: 25px;
  height: 15px;
  margin-left: 6px;
  padding: 0 5px;
  color: #fff;
  background: #f3222b;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  line-height: 15px;
  text-align: center;
}

.discover-thumb {
  justify-self: end;
}

.official-thumb {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #1eb8ff, #0f76d3 50%, #dfad3f);
}

.official-thumb span {
  width: 33px;
  height: 26px;
  border-radius: 50%;
  background:
    linear-gradient(150deg, transparent 0 42%, rgba(255, 255, 255, 0.6) 43%, transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 64%);
}

.coin-thumb {
  position: relative;
  width: 49px;
  height: 49px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #19120d, #7a541f);
}

.coin-thumb span,
.coin-thumb span::before,
.coin-thumb span::after {
  position: absolute;
  left: 8px;
  width: 36px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e7c25f, #4b3112);
  border: 1px solid rgba(255, 231, 142, 0.62);
  content: "";
}

.coin-thumb span {
  top: 11px;
}

.coin-thumb span::before {
  left: -2px;
  top: 10px;
}

.coin-thumb span::after {
  left: -4px;
  top: 20px;
}

.discover-spacer {
  grid-column: 3 / 5;
  min-width: 0;
}

.discover-chevron {
  justify-self: center;
  width: 18px;
  height: 18px;
  color: #c5cfdb;
  stroke-width: 2.4;
}

.official-page {
  min-height: 100vh;
  color: #172033;
  background: #f4f6f8;
}

.official-header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  height: 45px;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid #e8edf2;
}

.official-header h1 {
  margin: 0;
  color: #172033;
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
}

.official-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 44px;
  height: 45px;
  place-items: center;
  color: #4d5c70;
}

.official-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.official-content {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.official-status {
  display: grid;
  min-height: 120px;
  place-items: center;
  color: #66758a;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.official-list {
  display: grid;
  gap: 10px;
}

.official-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 104px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  text-align: left;
  box-shadow: none;
}

.official-card img {
  width: 96px;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
  background: #eef2f6;
}

.official-card > div {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 7px;
  padding: 12px;
}

.official-card strong {
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #66758a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.official-card span {
  color: #9aa6b5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.official-modal {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: grid;
  place-items: end center;
  padding: 12px;
  background: rgba(7, 18, 36, 0.42);
}

.official-dialog {
  position: relative;
  width: min(100%, 406px);
  max-height: min(82vh, 680px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(16, 32, 52, 0.24);
}

.official-dialog > img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  background: #eef2f6;
}

.official-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(23, 32, 51, 0.62);
}

.official-close::before,
.official-close::after {
  position: absolute;
  left: 9px;
  top: 14px;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  content: "";
}

.official-close::before {
  transform: rotate(45deg);
}

.official-close::after {
  transform: rotate(-45deg);
}

.official-dialog-body {
  padding: 16px;
}

.official-dialog-body h2 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.3;
}

.official-dialog-body p {
  margin: 0 0 10px;
  color: #4e5d70;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.jackpot-strip {
  position: relative;
  display: inline-flex;
  width: 122px;
  height: 26px;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
  color: #fff;
  background: linear-gradient(90deg, #ffd660 0 18%, #3479ff 28%, #1f68de 100%);
  border-radius: 999px 4px 4px 999px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.24);
}

.jackpot-strip::after {
  position: absolute;
  right: -6px;
  width: 13px;
  height: 20px;
  background: #1f68de;
  content: "";
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.jackpot-strip strong {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 53, 152, 0.42);
}

.jackpot-medal {
  position: absolute;
  left: -16px;
  top: -10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff5a0;
  background:
    radial-gradient(circle at 50% 34%, #f0bd72 0 21%, transparent 22%),
    linear-gradient(145deg, #5722a6, #1b62de 62%, #ffbd3e);
  border-radius: 50%;
  border: 2px solid rgba(255, 213, 81, 0.8);
}

.jackpot-medal svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.profile-hero {
  position: relative;
  min-height: 124px;
  padding: 28px 12px 16px;
  overflow: hidden;
  color: #fff;
  background: #118de4 url("images/top_content.751c9e64.png") center 18% / cover no-repeat;
}

.profile-hero::before {
  display: none;
}

.hero-sky {
  display: none;
}

.profile-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
}

.avatar {
  position: relative;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: #0b1020 var(--user-avatar, url("../im/IMG_20260423_184927.jpg")) center / cover no-repeat;
  box-shadow: 0 7px 16px rgba(0, 68, 135, 0.28);
}

.avatar-bg {
  position: absolute;
  inset: 40px -8px -6px;
  background: transparent;
  transform: rotate(-12deg);
}

.avatar-shoulder {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 54px;
  height: 28px;
  border-radius: 50% 50% 18px 18px;
  background: transparent;
}

.avatar-face {
  position: absolute;
  top: 15px;
  left: 25px;
  width: 23px;
  height: 26px;
  border-radius: 50% 50% 45% 45%;
  background: transparent;
}

.avatar-hair {
  position: absolute;
  top: 6px;
  left: 17px;
  width: 36px;
  height: 22px;
  border-radius: 50% 50% 28% 28%;
  background: transparent;
  transform: rotate(-15deg);
}

.avatar-streak {
  position: absolute;
  top: 21px;
  left: 5px;
  width: 44px;
  height: 9px;
  border-radius: 999px;
  background: transparent;
  transform: rotate(-26deg);
}

.profile-copy {
  min-width: 0;
}

.name-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.name-line h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.name-line span {
  min-width: 47px;
  height: 19px;
  padding: 0 10px;
  color: #8d5b00;
  background: linear-gradient(180deg, #fff5c7, #efcf83);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}

.profile-copy p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.profile-copy strong {
  color: #fff7af;
}

.profile-copy .signature {
  display: block;
  max-width: 230px;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-copy .signature.is-empty {
  color: rgba(255, 255, 255, 0.72);
}

.signature-dialog {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: grid;
  align-items: end;
  width: min(100%, 430px);
  margin: 0 auto;
}

.signature-dialog-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 18, 36, 0.42);
}

.signature-dialog-panel {
  position: relative;
  margin: 0 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
  padding: 14px;
  border: 1px solid #e3ebf2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 -14px 34px rgba(11, 34, 64, 0.2);
}

.signature-dialog-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.signature-dialog-panel header strong {
  color: #12233a;
  font-size: 16px;
  font-weight: 850;
}

.signature-dialog-panel header button {
  min-width: 48px;
  height: 30px;
  color: #64758b;
  font-size: 13px;
  font-weight: 700;
}

.signature-dialog-field {
  display: grid;
  gap: 8px;
}

.signature-dialog-field span {
  color: #53657b;
  font-size: 13px;
  font-weight: 750;
}

.signature-dialog-field textarea {
  width: 100%;
  min-height: 86px;
  resize: none;
  border: 1px solid #dce6f0;
  border-radius: 10px;
  outline: 0;
  padding: 10px 11px;
  color: #142235;
  background: #f8fbff;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.signature-dialog-field textarea:focus {
  border-color: #2297eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34, 151, 235, 0.12);
}

.signature-dialog-message {
  min-height: 18px;
  margin: 8px 0 0;
  color: #64758b;
  font-size: 12px;
  font-weight: 650;
}

.signature-dialog-message.is-error {
  color: #e04747;
}

.signature-dialog-actions {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 10px;
  margin-top: 10px;
}

.signature-dialog-actions button {
  height: 42px;
  border-radius: 10px;
  background: #eef4fa;
  color: #53657b;
  font-size: 14px;
  font-weight: 800;
}

.signature-dialog-actions button:last-child {
  color: #fff;
  background: linear-gradient(180deg, #35a6f2, #167ed8);
  box-shadow: 0 8px 18px rgba(31, 132, 220, 0.22);
}

.signature-dialog-actions button:disabled {
  color: #8b98a8;
  background: #e8eef5;
  box-shadow: none;
}

.logout-confirm-dialog {
  position: fixed;
  inset: 0;
  z-index: 9400;
  display: grid;
  place-items: center;
}

.logout-confirm-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 34, 0.46);
  backdrop-filter: blur(4px);
}

.logout-confirm-panel {
  position: relative;
  z-index: 1;
  width: min(338px, calc(100vw - 46px));
  padding: 22px 20px 18px;
  color: #0c1f3d;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(132, 160, 190, 0.3);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 24px 56px rgba(12, 33, 62, 0.28);
}

.logout-confirm-panel strong {
  display: block;
  font-size: 19px;
  font-weight: 950;
}

.logout-confirm-panel p {
  margin: 10px 0 18px;
  color: #66758a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.logout-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.logout-confirm-actions button {
  height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.logout-confirm-actions button:first-child {
  color: #506176;
  background: #eef3f8;
}

.logout-confirm-actions button:last-child {
  color: #fff;
  background: linear-gradient(180deg, #2f7ed8, #1c5fb1);
  box-shadow: 0 10px 18px rgba(38, 112, 205, 0.24);
}

.avatar-dialog {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: grid;
  align-items: end;
  width: min(100%, 430px);
  margin: 0 auto;
}

.avatar-dialog-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 18, 36, 0.42);
}

.avatar-dialog-panel {
  position: relative;
  margin: 0 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
  padding: 14px;
  border: 1px solid #e3ebf2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 -14px 34px rgba(11, 34, 64, 0.2);
}

.avatar-dialog-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.avatar-dialog-panel header strong {
  color: #12233a;
  font-size: 16px;
  font-weight: 850;
}

.avatar-dialog-panel header button {
  min-width: 48px;
  height: 30px;
  color: #64758b;
  font-size: 13px;
  font-weight: 700;
}

.avatar-dialog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.avatar-dialog-grid button {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #f3f7fb;
}

.avatar-dialog-grid button.is-active {
  border-color: #2699ee;
  background: #eef7ff;
  box-shadow: 0 0 0 3px rgba(38, 153, 238, 0.12);
}

.avatar-dialog-grid button:disabled {
  opacity: 0.72;
}

.avatar-dialog-grid span {
  display: block;
  width: 58px;
  height: 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0b1020 var(--user-avatar, url("../im/IMG_20260423_184927.jpg")) center / cover no-repeat;
  box-shadow: 0 6px 14px rgba(22, 48, 84, 0.18);
}

.avatar-dialog-message {
  min-height: 18px;
  margin: 10px 0 0;
  color: #64758b;
  font-size: 12px;
  font-weight: 650;
}

.avatar-dialog-message.is-error {
  color: #e04747;
}

.profile-copy .profile-account {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.profile-copy .profile-account strong {
  min-width: 0;
  overflow: hidden;
  color: #fff7af;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-arrow {
  display: grid;
  width: 26px;
  height: 42px;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.hero-arrow svg {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 1px 2px rgba(0, 74, 150, 0.22));
}

.wallet-card {
  position: relative;
  z-index: 2;
  margin: 0 4px;
  padding-top: 80px;
  padding-bottom: 14px;
  overflow: hidden;
  background-image: url('images/min_text.a7aaa549.webp');
  background-size: cover;
  background-position: center 20px;
  background-repeat: no-repeat;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 18px rgba(42, 131, 212, 0.14);
  transform: translateY(-1px);
}

.wallet-vip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  height: 80px;
  border-radius: 12px 12px 0 0;
}

.vip-banner {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 76px auto 7px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 12px;
  overflow: hidden;
  color: #71440b;
  background: linear-gradient(100deg, #fff7d8 0%, #f4e5bc 44%, #e8bd57 100%);
  text-align: left;
}

.vip-banner::before {
  position: absolute;
  left: -12px;
  top: -22px;
  width: 98px;
  height: 96px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 28%, transparent 29%),
    linear-gradient(140deg, rgba(16, 129, 214, 0.68), rgba(255, 255, 255, 0));
  content: "";
  transform: rotate(-18deg);
}

.vip-emblem {
  position: relative;
  display: grid;
  width: 64px;
  height: 44px;
  place-items: center;
}

.vip-emblem span {
  position: relative;
  width: 45px;
  height: 28px;
  border-radius: 8px 2px 8px 2px;
  background: linear-gradient(135deg, #f8a73e 0 45%, #168ce7 46% 100%);
  box-shadow: 0 7px 14px rgba(118, 74, 0, 0.18);
  transform: skew(-18deg) rotate(-14deg);
}

.vip-emblem span::before,
.vip-emblem span::after {
  position: absolute;
  content: "";
}

.vip-emblem span::before {
  left: 9px;
  top: 4px;
  width: 16px;
  height: 21px;
  background: #fff8d8;
  clip-path: polygon(0 0, 55% 0, 38% 42%, 100% 42%, 18% 100%, 42% 56%, 0 56%);
}

.vip-emblem span::after {
  right: -11px;
  bottom: -5px;
  width: 28px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.vip-banner strong {
  position: relative;
  z-index: 1;
  color: #0d1830;
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}

.vip-banner i {
  position: relative;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9c6b1f;
}

.vip-text {
  position: relative;
  z-index: 1;
  color: #a46e1f;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.vip-next {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  justify-self: end;
  color: #243246;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(84, 74, 42, 0.18);
}

.vip-next svg {
  width: 18px;
  height: 18px;
}

.balance-row {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 21px;
}

.balance-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #111827;
  font-size: 14px;
}

.balance-label svg {
  width: 15px;
  height: 15px;
  color: #294f93;
  stroke-width: 2.6;
}

.balance-label.is-refreshing svg {
  animation: spin 0.55s linear infinite;
}

.balance-row strong {
  color: #030712;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 18px 0;
}

.wallet-actions button {
  display: grid;
  min-height: 76px;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}

.wallet-actions span {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #7a4d08;
  background: linear-gradient(145deg, #f4c35f, #d7911c);
  border: 2px solid #7bc8fa;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(24, 120, 203, 0.22);
}

.wallet-actions span::before {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 7px;
  content: "";
}

.wallet-actions svg,
.lobby-quick svg {
  position: relative;
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.wallet-actions img,
.lobby-quick img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.lobby-quick span.custom-icon-span,
.wallet-actions span.custom-icon-span {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background-color: transparent !important;
}

.lobby-quick .custom-icon-span::before,
.wallet-actions .custom-icon-span::before {
  display: none !important;
}

.lobby-quick .bg-icon-deposit,
.wallet-actions .bg-icon-deposit {
  background-image: url('images/deposit_log.54c1ec0c.png') !important;
}

.lobby-quick .bg-icon-payment,
.wallet-actions .bg-icon-payment {
  background-image: url('images/payment_log.0c817b65.png') !important;
}

.lobby-quick .bg-icon-vip {
  background-image: url('images/vip_log.455c7ca9.png') !important;
}

.lobby-quick .bg-icon-transfer {
  background-image: url('images/transfer_log.4fbcb9eb.png') !important;
}

.wallet-actions .bg-icon-record {
  background-image: url('images/record_gz.8b7fa6c2.webp') !important;
}

.wallet-actions .bg-icon-safety {
  background-image: url('images/safte_gz.aab15101.webp') !important;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 4px 3px;
}

.promo-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  text-align: left;
  padding: 0;
}

.union-card {
  background: transparent;
}

.invite-card {
  color: #fff;
  background: transparent;
}



.promo-art {
  position: relative;
  display: block;
  width: 66px;
  height: 62px;
}

.promo-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.cup {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 38px;
  height: 36px;
  border-radius: 8px 8px 16px 16px;
  background: linear-gradient(145deg, #f7b34b, #8d49dc 48%, #0f78df);
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.24), 0 5px 9px rgba(89, 70, 20, 0.16);
}

.cup::before {
  position: absolute;
  left: 8px;
  top: -11px;
  width: 22px;
  height: 16px;
  border-radius: 50% 50% 10px 10px;
  background: #fff8dd;
  content: "";
}

.ring {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.ring-a {
  left: 8px;
  top: 9px;
  width: 48px;
  height: 48px;
}

.ring-b {
  left: 18px;
  top: 4px;
  width: 38px;
  height: 38px;
}

.people {
  position: absolute;
  left: 17px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, #f5c38e 0 5px, transparent 6px),
    radial-gradient(circle at 23% 38%, #f5c38e 0 4px, transparent 5px),
    radial-gradient(circle at 77% 38%, #f5c38e 0 4px, transparent 5px),
    linear-gradient(145deg, #f3a433, #5b58d6);
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.boat {
  position: absolute;
  left: 8px;
  bottom: 7px;
  width: 48px;
  height: 20px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(145deg, #e5ab42, #0d58c4);
  transform: rotate(-12deg);
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 3px;
}

.promo-copy strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-copy small {
  overflow: hidden;
  color: rgba(17, 24, 39, 0.74);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-card .promo-copy small {
  color: rgba(255, 255, 255, 0.86);
}

.menu-list {
  padding-top: 6px;
}

.menu-item {
  display: grid;
  width: 100%;
  min-height: 56px;
  grid-template-columns: 52px minmax(0, auto) minmax(0, 1fr) 34px;
  align-items: center;
  color: #202938;
  text-align: left;
}

.menu-icon {
  display: grid;
  width: 22px;
  height: 22px;
  margin-left: 19px;
  place-items: center;
  color: #7a8795;
  background: #fff;
  border: 2px solid #798593;
  border-radius: 7px;
}

.menu-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.menu-icon.gear {
  color: #c28f2d;
  border-radius: 50%;
}

.menu-icon.play {
  color: #a37527;
  border-radius: 50%;
}

.menu-icon.help {
  color: #bd8b2f;
}

.menu-item > span:nth-child(2) {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.menu-chevron {
  justify-self: center;
  width: 18px;
  height: 18px;
  color: #1f2933;
  stroke-width: 2.4;
}

.wealth-road {
  position: relative;
  display: inline-flex;
  width: 165px;
  height: 26px;
  margin-left: auto;
  margin-right: 2px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(90deg, transparent 0 14px, #5cb5ff 15px 58%, #7784ff 100%);
  border-radius: 999px 0 0 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.wealth-road::after {
  position: absolute;
  right: -10px;
  top: 0;
  width: 22px;
  height: 26px;
  background: #7784ff;
  content: "";
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.wealth-road .treasure {
  position: absolute;
  left: 0;
  top: -8px;
  width: 36px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 4px, transparent 4px 7px, rgba(255, 255, 255, 0.42) 7px 11px, transparent 11px),
    linear-gradient(145deg, #ffd24c, #05b6c8 48%, #1b83db);
  border: 2px solid rgba(255, 213, 72, 0.92);
  box-shadow: 0 3px 7px rgba(25, 96, 180, 0.26);
}

.wealth-road-img {
  width: 165px;
  height: 26px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: 2px;
}

.settings-page {
  min-height: 100vh;
  color: #071735;
  background: #f3f5f8;
}

.settings-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.settings-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.settings-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #182436;
}

.settings-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.settings-content {
  padding: 11px 14px 0;
}

.settings-card {
  overflow: hidden;
  margin-bottom: 11px;
  padding: 0 16px;
  background: #fff;
  border-radius: 8px;
}

.settings-row {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #071735;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
}

.settings-row + .settings-row {
  border-top: 1px solid #e5e8ee;
}

.settings-row span {
  min-width: 0;
  white-space: nowrap;
}

.settings-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.settings-switch {
  position: relative;
  flex: 0 0 auto;
  width: 35px;
  height: 18px;
  border-radius: 999px;
  background: #8c96a6;
  transition: background-color 160ms ease;
}

.settings-switch::after {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  content: "";
  transition: transform 160ms ease;
}

.settings-row input:checked + .settings-switch {
  background: #e9ad62;
}

.settings-row input:checked + .settings-switch::after {
  transform: translateX(17px);
}

.settings-link-card {
  margin-bottom: 20px;
}

.settings-link-card.is-disabled {
  opacity: 0.56;
  filter: grayscale(0.28);
}

.settings-link {
  padding: 0;
}

.settings-link:disabled {
  cursor: not-allowed;
}

.settings-link:disabled span,
.settings-link:disabled svg {
  color: #8a96a8;
}

.settings-link svg {
  width: 18px;
  height: 18px;
  color: #aeb7c5;
  stroke-width: 2.2;
}

.settings-logout {
  display: grid;
  width: 100%;
  height: 44px;
  place-items: center;
  color: #5b3400;
  background: linear-gradient(180deg, #fff6bf 0%, #f2d983 44%, #e4bd55 100%);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.rebate-page {
  min-height: 100vh;
  color: #00173d;
  background: #f1f3f6;
}

.rebate-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.rebate-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.rebate-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #182436;
}

.rebate-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.rebate-content {
  padding: 18px 14px 0;
}

.rebate-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  margin-bottom: 9px;
}

.rebate-tabs button {
  position: relative;
  display: grid;
  min-height: 32px;
  place-items: start center;
  color: #7d8ca2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.rebate-tabs button.is-active {
  color: #00173d;
}

.rebate-tabs button.is-active::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 63px;
  height: 3px;
  border-radius: 999px;
  background: #e8ad4e;
  content: "";
  transform: translateX(-50%);
}

.rebate-panel[hidden] {
  display: none;
}

.rebate-table-head,
.rebate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  text-align: center;
}

.rebate-table-head {
  min-height: 36px;
  margin-bottom: 7px;
  color: #7788a0;
  background: #fff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 400;
}

.rebate-table-body {
  display: grid;
  gap: 0;
}

.rebate-row {
  min-height: 36px;
  color: #00173d;
  font-size: 12px;
  font-weight: 400;
}

.rebate-row:nth-child(even) {
  background: #fff;
  border-radius: 5px;
}

.rebate-row span {
  min-width: 0;
  white-space: nowrap;
}

.material-page {
  min-height: 100vh;
  color: #061936;
  background: #edf0f4;
}

.material-header {
  position: relative;
  display: grid;
  height: 44px;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
}

.material-header h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.material-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.material-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.material-hero {
  position: relative;
  height: 188px;
  overflow: hidden;
  background: linear-gradient(110deg, #eef7ff 0%, #d8ecff 48%, #fff5cf 100%);
}

.material-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 28%, rgba(255, 255, 255, 0.64) 74% 100%),
    url('images/cysck_entry.50c7507f.png') center / contain no-repeat;
  content: "";
  opacity: 0.94;
  filter: saturate(1.08) brightness(1.03);
}

.material-hero::after {
  display: none;
}

.material-hero-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 18px;
  display: grid;
  justify-items: start;
}

.material-hero-copy strong {
  color: #ffe07a;
  font-size: 32px;
  font-weight: 950;
  line-height: 0.95;
  text-shadow:
    0 2px 0 #1b55aa,
    0 4px 0 #113e8c,
    0 6px 7px rgba(6, 26, 78, 0.48);
}

.material-hero-copy span {
  display: grid;
  min-width: 136px;
  height: 26px;
  margin-top: 8px;
  place-items: center;
  color: #fff3a8;
  background: linear-gradient(180deg, #3156c9, #163da7);
  border: 1px solid rgba(255, 230, 114, 0.9);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 2px 0 rgba(12, 38, 116, 0.6);
}

.material-tabs {
  display: grid;
  height: 44px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e6ebf1;
}

.material-tabs button {
  display: grid;
  min-width: 0;
  height: 28px;
  place-items: center;
  color: #071735;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.material-tabs button.is-active {
  margin-left: 6px;
  color: #fff;
  background: linear-gradient(180deg, #76d8ff, #45aef2);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.material-content {
  padding: 8px 4px 0;
}

.material-panel[hidden] {
  display: none;
}

.material-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.material-empty-card {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 22px 18px;
  border: 1px solid #d7e8f8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.material-empty-card strong {
  color: #0b3767;
  font-size: 17px;
  font-weight: 900;
}

.material-empty-card p {
  margin: 8px 0 0;
  color: #60738b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.material-card {
  min-width: 0;
  overflow: hidden;
  padding: 5px 5px 6px;
  background: #fff;
  border-radius: 5px;
}

.material-thumb {
  position: relative;
  display: block;
  height: 106px;
  overflow: hidden;
  border-radius: 4px;
  background: #dfe8f4;
}

.material-thumb::before {
  position: absolute;
  inset: 0;
  content: "";
}

.material-thumb-host::before {
  background:
    radial-gradient(circle at 50% 28%, #f1c5a8 0 12%, transparent 13%),
    linear-gradient(180deg, transparent 0 45%, #1c1118 46% 100%),
    url('images/host-thumb.512.jpg') center / cover no-repeat;
}

.material-thumb-host::after {
  position: absolute;
  right: 13px;
  bottom: 17px;
  width: 74px;
  height: 47px;
  border: 3px solid #0b70d6;
  background: url('images/worldcup-hero.780.jpg') center / cover no-repeat;
  content: "";
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.material-thumb-cup::before {
  background: url('images/worldcup-hero.780.jpg') center / cover no-repeat;
}

.material-thumb-promo::before,
.material-thumb-brand::before {
  background:
    radial-gradient(circle at 78% 16%, #fff3a9 0 8%, transparent 9%),
    radial-gradient(circle at 14% 72%, #135bd4 0 12%, transparent 13%),
    linear-gradient(145deg, #4ec9ff 0%, #1768d8 48%, #f3c350 100%);
}

.material-thumb-promo::after,
.material-thumb-brand::after {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 28px;
  color: #ffe07a;
  content: "汇赢国际";
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 2px 0 #1a57a9,
    0 4px 0 #0f3c8e;
}

.material-card footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding-top: 5px;
}

.material-card footer span {
  min-width: 0;
  overflow: hidden;
  color: #071735;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-card footer button {
  display: grid;
  width: 61px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #73d4ff, #41aef4);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.material-copy-card {
  grid-column: 1 / -1;
  padding: 16px;
  background: #fff;
  border-radius: 6px;
}

.material-copy-card strong {
  display: block;
  color: #071735;
  font-size: 15px;
  font-weight: 700;
}

.material-copy-card p {
  margin: 10px 0 14px;
  color: #536175;
  font-size: 13px;
  line-height: 1.6;
}

.material-copy-card button {
  display: grid;
  width: 84px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #73d4ff, #41aef4);
  border-radius: 5px;
  font-size: 12px;
}

.material-refresh {
  display: grid;
  width: 193px;
  height: 42px;
  margin: 39px auto 0;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #74d8ff 0%, #3da5f1 100%);
  border: 1px solid #2fa1e7;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.bet-record-page {
  min-height: 100vh;
  color: #071735;
  background: #f1f3f6;
}

.bet-record-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.bet-record-header h1 {
  margin: 0;
  color: #101828;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.bet-record-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.bet-record-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.bet-game-tabs {
  display: flex;
  height: 39px;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid #edf1f5;
}

.bet-game-tabs button {
  flex: 0 0 auto;
  display: grid;
  min-width: 24px;
  height: 27px;
  place-items: center;
  color: #76859b;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.bet-game-tabs button.is-active {
  min-width: 34px;
  color: #071735;
  background: linear-gradient(180deg, #fff7ca 0%, #e5bf62 100%);
  border-radius: 999px;
}

.bet-filter-row {
  display: flex;
  width: 100%;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 0 21px;
  color: #071735;
  background: #f7f9fc;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.bet-filter-row i {
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 7px solid #758197;
}

.bet-date-tabs {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  padding: 0 12px;
  background: #f1f3f6;
}

.bet-date-tabs button {
  flex: 0 0 auto;
  display: grid;
  min-width: 37px;
  height: 31px;
  place-items: center;
  padding: 0 10px;
  color: #75859c;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.bet-date-tabs button.is-active {
  color: #071735;
  background: linear-gradient(180deg, #fff7cd 0%, #e8c564 100%);
}

.bet-summary {
  display: grid;
  height: 71px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  background: #fff;
}

.bet-summary div {
  display: grid;
  gap: 10px;
  place-items: center;
  min-width: 0;
}

.bet-summary span {
  color: #7a8ba3;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.bet-summary strong {
  color: #071735;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.bet-loaded {
  height: 25px;
  margin: 0;
  color: #72849b;
  background: #eef1f5;
  font-size: 12px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
}

.bet-empty {
  display: grid;
  justify-items: center;
  min-height: 220px;
  align-content: center;
  padding: 32px 0;
  color: #9ba9ba;
}

.bet-empty-icon {
  position: relative;
  display: block;
  width: 50px;
  height: 38px;
  margin-bottom: 9px;
}

.bet-empty-icon::before {
  position: absolute;
  left: 6px;
  bottom: 1px;
  width: 34px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 171, 255, 0.14);
  content: "";
}

.bet-empty-icon::after {
  position: absolute;
  left: 16px;
  top: 5px;
  width: 17px;
  height: 17px;
  border: 4px solid #6ec3ff;
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.68);
}

.bet-empty-icon i {
  position: absolute;
  left: 29px;
  top: 20px;
  width: 16px;
  height: 5px;
  background: #45aaff;
  border-radius: 999px;
  transform: rotate(-36deg);
}

.bet-empty-icon i::before,
.bet-empty-icon i::after {
  position: absolute;
  width: 5px;
  height: 9px;
  border-radius: 999px;
  background: #43a9ff;
  content: "";
}

.bet-empty-icon i::before {
  left: -21px;
  top: -4px;
  transform: rotate(28deg);
}

.bet-empty-icon i::after {
  right: -10px;
  top: -12px;
  opacity: 0.45;
  transform: rotate(42deg);
}

.bet-empty strong {
  color: #95a4b6;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.record-list {
  display: grid;
  gap: 9px;
  padding: 10px 12px 24px;
}

.record-list.is-hidden {
  display: none;
}

.record-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-items: end;
}

.record-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, 0.32);
}

.record-sheet-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 536px;
  margin: 0 auto;
  padding: 15px 14px 18px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -12px 30px rgba(13, 30, 52, 0.16);
}

.record-sheet-panel header {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.record-sheet-panel strong {
  color: #102033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.record-sheet-panel header button {
  height: 28px;
  padding: 0 10px;
  color: #65748a;
  background: #f3f6fa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.record-sheet-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.record-sheet-options button {
  height: 40px;
  color: #42536b;
  background: #f6f8fb;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.record-sheet-options button.is-active {
  color: #071735;
  background: linear-gradient(180deg, #fff7cd 0%, #e8c564 100%);
  border-color: #e7c35f;
}

.record-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(13, 30, 52, 0.05);
}

.record-main {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.record-main strong {
  min-width: 0;
  overflow: hidden;
  color: #102033;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-main span {
  flex: 0 0 auto;
  color: #8795a8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.account-record-card .record-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record-grid span {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 9px 8px;
  color: #78879a;
  background: #f7f9fc;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.record-grid em {
  min-width: 0;
  overflow: hidden;
  color: #102033;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-card p {
  min-height: 14px;
  margin: 0;
  overflow: hidden;
  color: #95a2b4;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-grid .is-positive,
.account-record-amount.is-positive {
  color: #0b9f73;
}

.record-grid .is-negative,
.account-record-amount.is-negative {
  color: #d05245;
}

.help-page {
  min-height: 100vh;
  color: #071735;
  background: #f1f3f6;
}

.help-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.help-header h1 {
  margin: 0;
  color: #071735;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.help-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.help-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.help-content {
  padding: 10px 12px 0;
}

.help-card {
  overflow: hidden;
  margin-bottom: 11px;
  padding: 0 16px;
  background: #fff;
  border-radius: 8px;
}

.help-row {
  display: flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #071735;
  text-align: left;
}

.help-row + .help-row {
  border-top: 1px solid #e5e9ef;
}

.help-row span {
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.help-row svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #a9b5c6;
  stroke-width: 2.2;
}

.help-service-card .help-row {
  min-height: 50px;
}

.account-detail-page {
  min-height: 100vh;
  color: #071735;
  background: #f1f3f6;
}

.account-detail-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.account-detail-header h1 {
  margin: 0;
  color: #071735;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.account-detail-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.account-detail-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.account-filter-button {
  position: absolute;
  right: 13px;
  top: 0;
  height: 44px;
  color: #071735;
  font-size: 14px;
  font-weight: 400;
  line-height: 44px;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 61px;
  margin: 12px 13px 0;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
}

.account-summary div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  min-width: 0;
}

.account-summary span {
  color: #8190a4;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.account-summary strong {
  color: #f09a3e;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

.account-empty {
  display: grid;
  justify-items: center;
  min-height: 220px;
  align-content: center;
  padding: 32px 0;
  color: #9ba9ba;
}

.account-empty-icon {
  position: relative;
  display: block;
  width: 50px;
  height: 38px;
  margin-bottom: 9px;
}

.account-empty-icon::before {
  position: absolute;
  left: 6px;
  bottom: 1px;
  width: 34px;
  height: 8px;
  border-radius: 50%;
  background: rgba(75, 171, 255, 0.14);
  content: "";
}

.account-empty-icon::after {
  position: absolute;
  left: 16px;
  top: 5px;
  width: 17px;
  height: 17px;
  border: 4px solid #6ec3ff;
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.68);
}

.account-empty-icon i {
  position: absolute;
  left: 29px;
  top: 20px;
  width: 16px;
  height: 5px;
  background: #45aaff;
  border-radius: 999px;
  transform: rotate(-36deg);
}

.account-empty-icon i::before,
.account-empty-icon i::after {
  position: absolute;
  width: 5px;
  height: 9px;
  border-radius: 999px;
  background: #43a9ff;
  content: "";
}

.account-empty-icon i::before {
  left: -21px;
  top: -4px;
  transform: rotate(28deg);
}

.account-empty-icon i::after {
  right: -10px;
  top: -12px;
  opacity: 0.45;
  transform: rotate(42deg);
}

.account-empty strong {
  color: #95a4b6;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.account-record-card {
  position: relative;
  padding-right: 108px;
}

.account-record-amount {
  position: absolute;
  right: 12px;
  top: 12px;
  max-width: 86px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-page {
  min-height: 100vh;
  color: #071735;
  background: #f1f3f6;
}

.security-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.security-header h1 {
  margin: 0;
  color: #071735;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.security-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.security-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.security-content {
  padding-top: 9px;
}

.security-group {
  background: #fff;
}

.security-group + .security-group {
  margin-top: 9px;
}

.security-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  width: 100%;
  min-height: 53px;
  align-items: center;
  column-gap: 8px;
  padding: 0 13px 0 16px;
  color: #071735;
  text-align: left;
}

.security-row + .security-row {
  border-top: 1px solid #e7ebf0;
}

.security-row span {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-row em {
  color: #7d8aa0;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.security-row svg {
  width: 18px;
  height: 18px;
  color: #a9b5c6;
  stroke-width: 2.2;
}

.wallet-page {
  min-height: 100vh;
  color: #071735;
  background: #f1f3f6;
}

.wallet-header {
  position: relative;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.wallet-header h1 {
  margin: 0;
  color: #071735;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.wallet-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.wallet-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.wallet-detail-link {
  position: absolute;
  right: 16px;
  top: 0;
  height: 44px;
  color: #06164e;
  font-size: 13px;
  font-weight: 400;
  line-height: 44px;
}

.wallet-panel {
  margin: 9px 10px 0;
  padding: 18px 9px 17px;
  overflow: hidden;
  background: #fff;
  border-radius: 7px;
}

.wallet-balance-line {
  position: relative;
  display: flex;
  min-height: 25px;
  align-items: center;
  padding-right: 34px;
  color: #071735;
}

.wallet-balance-line span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.wallet-balance-line strong {
  margin-left: 8px;
  color: #1c263d;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.wallet-refresh {
  position: absolute;
  right: 1px;
  top: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #121d34;
}

.wallet-refresh svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.wallet-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 21px;
}

.wallet-tools button {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 10px;
  color: #7c899d;
}

.wallet-tool-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
}

.wallet-tool-icon::before,
.wallet-tool-icon::after {
  content: "";
}

.wallet-tool-deposit {
  background: linear-gradient(135deg, #ff981e, #ff7419);
}

.wallet-tool-deposit::before {
  width: 18px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 3px;
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.16);
}

.wallet-tool-deposit::after {
  position: absolute;
  left: 7px;
  top: 9px;
  width: 9px;
  height: 9px;
  border: 2px solid #ff8c1b;
  border-radius: 50%;
  background: #fff;
  box-shadow: 12px 1px 0 -3px #fff;
}

.wallet-tool-withdraw {
  background: linear-gradient(135deg, #ff7069, #f13a3c);
}

.wallet-tool-withdraw::before {
  width: 20px;
  height: 15px;
  border-radius: 3px;
  background: #fff;
}

.wallet-tool-withdraw::after {
  position: absolute;
  left: 10px;
  top: 12px;
  width: 13px;
  height: 4px;
  border-radius: 999px;
  background: #f45450;
}

.wallet-tool-transfer {
  background: linear-gradient(135deg, #12cbbb, #00a6b3);
}

.wallet-tool-transfer::before {
  width: 17px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 3px;
}

.wallet-tool-transfer::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 9px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 2px;
  background: #00a6b3;
}

.wallet-tools em {
  color: #7d8aa0;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.wallet-venue-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) 18px;
  min-height: 26px;
  align-items: end;
  column-gap: 8px;
  margin-top: 12px;
  padding: 0 14px 0 15px;
}

.wallet-venue-line span {
  min-width: 0;
  color: #071735;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.wallet-venue-line button {
  min-width: 0;
  overflow: hidden;
  color: #a3adbd;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-venue-line i {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid #4196ff;
  border-radius: 4px;
}

.wallet-venue-line i::before,
.wallet-venue-line i::after {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #4196ff;
  content: "";
  transform: translate(-50%, -50%);
}

.wallet-venue-line i::before {
  width: 8px;
  height: 1px;
}

.wallet-venue-line i::after {
  width: 1px;
  height: 8px;
}

.wallet-add-account {
  display: flex;
  width: calc(100% - 54px);
  height: 39px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 0;
  color: #071735;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff1b9 0, #f3d374 42%, #d8ad45 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.wallet-add-account span {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 15px;
  background: #071735;
  border-radius: 50%;
}

.wallet-bound-list {
  display: grid;
  gap: 9px;
  width: calc(100% - 54px);
  margin: 14px auto 0;
}

.wallet-empty-state,
.wallet-bound-card {
  min-height: 66px;
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(16, 35, 58, 0.05);
}

.wallet-empty-state {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 0 15px;
}

.wallet-empty-state strong {
  color: #12223a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.wallet-empty-state span {
  color: #7a8798;
  font-size: 12px;
  line-height: 1.2;
}

.wallet-bound-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.wallet-bound-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #1fc7b3, #0b9f92);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}

.wallet-bound-card div {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.wallet-bound-card strong,
.wallet-bound-card em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-bound-card strong {
  color: #102033;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.wallet-bound-card em {
  color: #7d8a9e;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.wallet-bound-card button {
  height: 30px;
  color: #d04d43;
  background: #fff5f4;
  border: 1px solid #ffd8d4;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.bind-wallet-page {
  min-height: 100vh;
  color: #0f1f33;
  background: linear-gradient(180deg, #eef5fb 0, #f6f8fb 220px, #f2f5f8 100%);
}

.bind-wallet-content {
  padding: 12px 12px 28px;
}

.bind-wallet-card {
  display: grid;
  gap: 14px;
  padding: 15px 13px 16px;
  background: #fff;
  border: 1px solid #e2ebf4;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 35, 58, 0.08);
}

.bind-wallet-title {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bind-wallet-title strong {
  color: #102033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.bind-wallet-title span {
  color: #7c899d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.bind-wallet-network {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.bind-wallet-network button {
  height: 38px;
  color: #607084;
  background: #f5f8fb;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.bind-wallet-network button.is-active {
  color: #fff;
  background: linear-gradient(180deg, #1fc7b3, #0ba093);
  border-color: #0ba093;
  box-shadow: 0 5px 12px rgba(11, 160, 147, 0.18);
}

.bind-wallet-field {
  display: grid;
  gap: 8px;
}

.bind-wallet-field span {
  color: #26364d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.bind-wallet-field input,
.bind-wallet-field textarea {
  width: 100%;
  color: #12223a;
  background: #f8fafc;
  border: 1px solid #e2eaf3;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.bind-wallet-field input {
  height: 42px;
  padding: 0 12px;
}

.bind-wallet-field textarea {
  min-height: 82px;
  padding: 11px 12px;
  line-height: 1.45;
  resize: none;
}

.bind-wallet-field input:focus,
.bind-wallet-field textarea:focus {
  background: #fff;
  border-color: #0ba093;
  box-shadow: 0 0 0 3px rgba(11, 160, 147, 0.1);
}

.bind-wallet-message {
  min-height: 18px;
  margin: 0;
  color: #0b9f92;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.bind-wallet-message.is-error {
  color: #d04d43;
}

.withdraw-message {
  min-height: 18px;
  margin: -2px 4px 0;
  color: #0b8f84;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.withdraw-message.is-error {
  color: #d14343;
}

.bind-wallet-submit {
  height: 43px;
  color: #fff;
  background: linear-gradient(180deg, #1fc7b3, #0ba093);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(11, 160, 147, 0.22);
  font-size: 15px;
  font-weight: 900;
}

.bind-wallet-submit:disabled {
  opacity: 0.58;
  box-shadow: none;
}

@keyframes app-page-enter {
  from {
    opacity: 0.72;
    transform: translate3d(0, 8px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wallet-flow-item {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wallet-busy-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes wallet-spinner {
  to {
    transform: rotate(360deg);
  }
}

.app-page.is-entering {
  animation: app-page-enter 240ms cubic-bezier(0.2, 0.75, 0.24, 1);
}

.deposit-page,
.withdraw-page,
.bind-wallet-page {
  position: relative;
}

.deposit-page.is-flow-changing .deposit-content,
.deposit-page.is-flow-changing .deposit-payment {
  animation: app-page-enter 220ms cubic-bezier(0.2, 0.75, 0.24, 1);
}

.deposit-content > *,
.deposit-payment > *,
.withdraw-content > *,
.bind-wallet-card {
  animation: wallet-flow-item 300ms ease both;
}

.deposit-content > *:nth-child(2),
.deposit-payment > *:nth-child(2),
.withdraw-content > *:nth-child(2) {
  animation-delay: 35ms;
}

.deposit-content > *:nth-child(3),
.deposit-payment > *:nth-child(3),
.withdraw-content > *:nth-child(3) {
  animation-delay: 70ms;
}

.deposit-content > *:nth-child(4),
.deposit-payment > *:nth-child(4),
.withdraw-content > *:nth-child(4) {
  animation-delay: 105ms;
}

.page-busy-layer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  width: min(100%, 430px);
  margin: 0 auto;
  place-items: center;
  padding: 20px;
  background: rgba(241, 246, 250, 0.56);
  backdrop-filter: blur(6px);
  animation: wallet-busy-fade 160ms ease;
}

.page-busy-layer[hidden] {
  display: none;
}

.page-busy-card {
  display: grid;
  min-width: 178px;
  gap: 12px;
  place-items: center;
  padding: 18px 20px;
  color: #172033;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe8f2;
  border-radius: 10px;
  box-shadow: 0 16px 44px rgba(16, 35, 58, 0.16);
}

.page-busy-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #dce8f0;
  border-top-color: #0b9d90;
  border-radius: 50%;
  animation: wallet-spinner 780ms linear infinite;
}

.page-busy-card strong {
  color: #25364c;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.deposit-submit,
.withdraw-submit,
.bind-wallet-submit,
.deposit-payment-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    background-color 180ms ease;
}

.deposit-submit:active,
.withdraw-submit:active,
.bind-wallet-submit:active,
.deposit-payment-actions button:active {
  transform: translateY(1px);
}

.deposit-submit.is-loading::before,
.withdraw-submit.is-loading::before,
.bind-wallet-submit.is-loading::before,
.deposit-payment-actions button.is-loading::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: wallet-spinner 720ms linear infinite;
}

.deposit-submit:disabled,
.withdraw-submit:disabled,
.bind-wallet-submit:disabled,
.deposit-payment-actions button:disabled {
  cursor: default;
  opacity: 0.72;
}

.deposit-amount-box:focus-within,
.withdraw-amount-box:focus-within,
.deposit-address-row:focus-within {
  border-color: #0ba093;
  box-shadow: 0 0 0 3px rgba(11, 160, 147, 0.1);
}

.deposit-amount-box.is-field-error,
.deposit-amount-box:has(input.is-field-error),
.withdraw-amount-box.is-field-error,
.withdraw-amount-box:has(input.is-field-error),
.bind-wallet-field.is-field-error input,
.bind-wallet-field.is-field-error textarea,
.bind-wallet-field input.is-field-error,
.bind-wallet-field textarea.is-field-error,
.withdraw-wallet-list.is-field-error {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}

.withdraw-wallet-list.is-field-error {
  padding: 6px;
  border: 1px solid #d14343;
  border-radius: 8px;
  background: rgba(209, 67, 67, 0.04);
}

.deposit-quick-amounts button,
.deposit-networks button,
.withdraw-network-tabs button,
.withdraw-wallet-list button,
.bind-wallet-network button {
  transition:
    transform 140ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.deposit-quick-amounts button:active,
.deposit-networks button:active,
.withdraw-network-tabs button:active,
.withdraw-wallet-list button:active,
.bind-wallet-network button:active {
  transform: scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
  .app-page.is-entering,
  .deposit-content > *,
  .deposit-payment > *,
  .withdraw-content > *,
  .bind-wallet-card,
  .deposit-page.is-flow-changing .deposit-content,
  .deposit-page.is-flow-changing .deposit-payment,
  .page-busy-layer {
    animation: none;
  }

  .page-busy-spinner,
  .deposit-submit.is-loading::before,
  .withdraw-submit.is-loading::before,
  .bind-wallet-submit.is-loading::before,
  .deposit-payment-actions button.is-loading::before {
    animation-duration: 1.5s;
  }
}

.transfer-page {
  min-height: 100vh;
  color: #071735;
  background: #f1f3f6;
}

.deposit-page {
  min-height: 100vh;
  color: #071735;
  background: #eef3f8;
}

.deposit-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.deposit-header h1 {
  margin: 0;
  color: #071735;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.deposit-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.deposit-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.deposit-content {
  display: grid;
  gap: 10px;
  padding: 12px 12px 28px;
}

.deposit-hero {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 106px;
  align-items: center;
  gap: 12px;
  padding: 18px 14px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.26) 0 14%, transparent 15%),
    linear-gradient(135deg, #0d9f9b 0%, #0e71d8 100%);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(14, 113, 216, 0.18);
}

.deposit-coin {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 5px rgba(38, 161, 123, 0.12),
    0 6px 14px rgba(5, 64, 98, 0.18);
}

.deposit-coin svg {
  display: block;
  width: 48px;
  height: 48px;
}

.deposit-coin circle {
  fill: #26a17b;
}

.deposit-coin-bar,
.deposit-coin-ring,
.deposit-coin-stem {
  fill: #fff;
}

.deposit-coin-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
}

.deposit-hero strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.deposit-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.deposit-panel,
.deposit-notice {
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.02);
}

.deposit-panel {
  padding: 15px 13px;
}

.deposit-panel-title {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deposit-panel-title span {
  color: #0b1729;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.deposit-panel-title em {
  min-width: 0;
  overflow: hidden;
  color: #8c98aa;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deposit-amount-box {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  height: 54px;
  align-items: center;
  column-gap: 8px;
  margin-top: 12px;
  padding: 0 12px;
  background: #f7f9fc;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
}

.deposit-amount-box span {
  color: #12a698;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.deposit-amount-box input {
  min-width: 0;
  height: 50px;
  color: #172338;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 50px;
  background: transparent;
  border: 0;
  outline: 0;
}

.deposit-amount-box input::placeholder {
  color: #b9c3d0;
  font-size: 15px;
  font-weight: 500;
  opacity: 1;
}

.deposit-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.deposit-quick-amounts button {
  height: 34px;
  color: #17656b;
  background: #edf9f7;
  border: 1px solid #cdebe6;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  line-height: 34px;
}

.deposit-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #eef2f6;
}

.deposit-estimate span {
  color: #7c899d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.deposit-estimate strong {
  color: #079b8e;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.deposit-networks {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.deposit-networks button {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 48px;
  align-items: center;
  column-gap: 10px;
  padding: 0 35px 0 12px;
  overflow: hidden;
  color: #1c263d;
  background: #f8fafc;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  text-align: left;
}

.deposit-networks button::after {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #c4ceda;
  border-bottom: 2px solid #c4ceda;
  content: "";
  transform: translateY(-50%) rotate(-45deg);
}

.deposit-networks button.is-active {
  background: #eefbf8;
  border-color: #15b6a8;
  box-shadow: inset 0 0 0 1px rgba(21, 182, 168, 0.08);
}

.deposit-networks button.is-active::after {
  width: 14px;
  height: 8px;
  border-color: #0ca091;
  transform: translateY(-62%) rotate(45deg);
}

.deposit-networks button.is-disabled,
.deposit-networks button:disabled {
  color: #9aa6b5;
  background: #f3f5f7;
  border-color: #e3e8ee;
  box-shadow: none;
  cursor: not-allowed;
}

.deposit-networks button.is-disabled::after,
.deposit-networks button:disabled::after {
  display: none;
}

.deposit-networks strong {
  color: #0d4b57;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.deposit-networks span {
  min-width: 0;
  overflow: hidden;
  color: #7a8798;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deposit-notice {
  padding: 14px 13px;
}

.deposit-notice strong {
  display: block;
  margin-bottom: 8px;
  color: #0b1729;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.deposit-notice p {
  position: relative;
  margin: 7px 0 0;
  padding-left: 12px;
  color: #748195;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.deposit-notice p::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: #13aa9d;
  border-radius: 50%;
  content: "";
}

.deposit-submit {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 4px 4px 0;
  color: #fff;
  background: linear-gradient(180deg, #19c8b4, #0a9e91);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(10, 158, 145, 0.24);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.withdraw-page {
  min-height: 100vh;
  color: #071735;
  background: #f2f6fa;
}

.withdraw-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.withdraw-header h1 {
  margin: 0;
  color: #071735;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.withdraw-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.withdraw-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.withdraw-content {
  display: grid;
  gap: 11px;
  padding: 12px 12px 28px;
}

.withdraw-summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 116px;
  padding: 18px 14px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 255, 255, 0.17) 0 16%, transparent 17%),
    linear-gradient(135deg, #071735 0%, #0f7f87 100%);
  border-radius: 8px;
  box-shadow: 0 9px 22px rgba(7, 23, 53, 0.2);
}

.withdraw-token {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
}

.withdraw-token svg {
  display: block;
  width: 46px;
  height: 46px;
}

.withdraw-token circle {
  fill: #26a17b;
}

.withdraw-token-bar,
.withdraw-token-ring,
.withdraw-token-stem {
  fill: #fff;
}

.withdraw-token-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
}

.withdraw-summary-copy {
  min-width: 0;
}

.withdraw-summary-copy span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.withdraw-summary-copy strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.withdraw-summary-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.withdraw-amount-panel,
.withdraw-options,
.withdraw-alert {
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.02);
}

.withdraw-amount-panel {
  padding: 15px 14px 13px;
}

.withdraw-field-head,
.withdraw-section-title {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.withdraw-field-head span,
.withdraw-section-title span {
  color: #0b1729;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.withdraw-field-head em,
.withdraw-section-title em {
  min-width: 0;
  overflow: hidden;
  color: #8c98aa;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-amount-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  height: 58px;
  align-items: center;
  column-gap: 10px;
  margin-top: 12px;
  padding: 0 13px;
  background: #071735;
  border-radius: 8px;
}

.withdraw-amount-box input {
  min-width: 0;
  height: 54px;
  color: #fff;
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  line-height: 54px;
  background: transparent;
  border: 0;
  outline: 0;
}

.withdraw-amount-box input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 500;
  opacity: 1;
}

.withdraw-amount-box span {
  color: #30d4bd;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.withdraw-amount-meta {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
}

.withdraw-amount-meta span {
  color: #7c899d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.withdraw-amount-meta strong {
  color: #079b8e;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.withdraw-options {
  padding: 15px 13px;
}

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

.withdraw-network-tabs button {
  height: 38px;
  color: #607084;
  background: #f5f8fb;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 38px;
}

.withdraw-network-tabs button.is-active {
  color: #fff;
  background: linear-gradient(180deg, #1fc7b3, #0ba093);
  border-color: #0ba093;
  box-shadow: 0 5px 12px rgba(11, 160, 147, 0.18);
}

.withdraw-section-title.wallet-title {
  margin-top: 17px;
}

.withdraw-wallet-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.withdraw-wallet-list button {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 58px;
  align-items: center;
  column-gap: 10px;
  padding: 0 34px 0 10px;
  color: #172338;
  background: #f8fafc;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  text-align: left;
}

.withdraw-wallet-list button::after {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #c4ceda;
  border-bottom: 2px solid #c4ceda;
  content: "";
  transform: translateY(-50%) rotate(-45deg);
}

.withdraw-wallet-list button.is-active {
  background: #eefbf8;
  border-color: #15b6a8;
}

.withdraw-wallet-list button.is-active::after {
  width: 14px;
  height: 8px;
  border-color: #0ca091;
  transform: translateY(-62%) rotate(45deg);
}

.withdraw-wallet-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: #0ca091;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
}

.withdraw-wallet-list button > span:last-child {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.withdraw-wallet-list strong {
  min-width: 0;
  overflow: hidden;
  color: #112037;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-wallet-list em {
  min-width: 0;
  overflow: hidden;
  color: #8290a4;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-alert {
  padding: 14px 13px;
}

.withdraw-alert strong {
  display: block;
  margin-bottom: 8px;
  color: #0b1729;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.withdraw-alert p {
  position: relative;
  margin: 7px 0 0;
  padding-left: 12px;
  color: #748195;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.withdraw-alert p::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: #13aa9d;
  border-radius: 50%;
  content: "";
}

.withdraw-submit {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 4px 4px 0;
  color: #fff;
  background: linear-gradient(180deg, #132947, #071735);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(7, 23, 53, 0.24);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.transfer-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  height: 45px;
  place-items: center;
  background: #f6f8fb;
  border-bottom: 1px solid #edf0f4;
}

.transfer-header h1 {
  margin: 0;
  color: #071735;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.transfer-back {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 42px;
  height: 44px;
  place-items: center;
  color: #172436;
}

.transfer-back svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
  transform: rotate(180deg);
}

.transfer-content {
  padding: 12px 12px 28px;
}

.transfer-form-card,
.transfer-balance-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.02);
}

.transfer-form-card {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.transfer-channel-note {
  display: grid;
  min-height: 42px;
  place-items: center;
  margin: 0;
  padding: 0 12px;
  color: #0b1729;
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
  border: 1px solid #e1e9f3;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.transfer-amount-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 42px;
  height: 48px;
  align-items: center;
  column-gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid #e1e9f3;
  border-radius: 8px;
  background: #f8fbff;
}

.transfer-yuan {
  color: #5c6c80;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.transfer-amount-row input {
  min-width: 0;
  height: 46px;
  color: #172338;
  font: inherit;
  font-size: 14px;
  line-height: 46px;
  background: transparent;
  border: 0;
  outline: 0;
}

.transfer-amount-row input::placeholder {
  color: #9eabb9;
  opacity: 1;
}

.transfer-amount-row button {
  color: #b5852f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.transfer-available {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 18px;
  margin: 10px 4px 0;
  color: #8d9aab;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.transfer-available strong {
  margin-left: 0;
  color: #f09123;
  font-size: 14px;
  font-weight: 500;
}

.transfer-submit {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 14px auto 16px;
  color: #6b6c6d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #fff3bc 0, #ecd178 48%, #d4a83f 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.transfer-balance-card {
  overflow: hidden;
}

.transfer-wallet-summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 76px;
  height: 47px;
  align-items: center;
  column-gap: 8px;
  padding: 0 12px 0 13px;
  border-bottom: 1px solid #edf1f5;
}

.transfer-wallet-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 15px;
  border: 2px solid #697587;
  border-radius: 3px;
}

.transfer-wallet-icon::before {
  position: absolute;
  right: -4px;
  top: 3px;
  width: 7px;
  height: 6px;
  background: #fff;
  border: 2px solid #697587;
  border-radius: 3px;
  content: "";
}

.transfer-wallet-summary strong {
  min-width: 0;
  overflow: hidden;
  color: #142035;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-wallet-summary button {
  height: 27px;
  color: #081839;
  font-size: 12px;
  font-weight: 700;
  line-height: 27px;
  background: linear-gradient(180deg, #fff1b8 0, #ebd179 46%, #d4a840 100%);
  border-radius: 999px;
  white-space: nowrap;
}

.transfer-venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background:
    linear-gradient(#edf1f5, #edf1f5) 0 0 / 100% 1px no-repeat,
    linear-gradient(90deg, transparent calc(33.333% - 0.5px), #edf1f5 calc(33.333% - 0.5px), #edf1f5 calc(33.333% + 0.5px), transparent calc(33.333% + 0.5px), transparent calc(66.666% - 0.5px), #edf1f5 calc(66.666% - 0.5px), #edf1f5 calc(66.666% + 0.5px), transparent calc(66.666% + 0.5px));
}

.transfer-venue-grid div {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 7px 5px;
  border-bottom: 1px solid #edf1f5;
}

.transfer-venue-grid span {
  display: flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
  color: #7c899d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transfer-venue-grid i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  place-items: center;
  color: #9aa6b7;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #a9b4c3;
  border-radius: 50%;
}

.transfer-venue-grid strong {
  color: #253044;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.invite-page {
  min-height: 100vh;
  padding-bottom: calc(64px + var(--safe-bottom));
  color: #111827;
  background: #f0f2f5;
}

.invite-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  height: 57px;
  place-items: center;
  background: #fff;
}

.invite-header h1 {
  margin: 0;
  color: #101828;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.invite-exit {
  position: absolute;
  left: 20px;
  top: 0;
  height: 57px;
  color: #101828;
  font-size: 17px;
  font-weight: 500;
  line-height: 57px;
}

.invite-tab-panel[hidden] {
  display: none;
}

.invite-link-hero {
  position: relative;
  min-height: calc(100vh - 232px - var(--safe-bottom));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 147, 224, 0.04) 0, rgba(255, 255, 255, 0.72) 50%, rgba(234, 244, 255, 0.88) 100%),
    #eaf6ff;
}

.invite-stadium {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.58;
  transform: translateX(-50%);
}

.invite-link-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 255, 255, 0.6) 0 6px, transparent 7px),
    linear-gradient(180deg, rgba(14, 143, 222, 0.06), rgba(255, 255, 255, 0.62) 56%, rgba(229, 244, 255, 0.92));
  content: "";
}

.invite-link-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 47%;
  background:
    linear-gradient(90deg, transparent 0 49.7%, rgba(185, 205, 224, 0.35) 49.7% 50.3%, transparent 50.3%),
    repeating-linear-gradient(0deg, rgba(188, 210, 230, 0.34) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(90deg, rgba(188, 210, 230, 0.32) 0 1px, transparent 1px 86px);
  opacity: 0.62;
  content: "";
  transform: perspective(230px) rotateX(55deg);
  transform-origin: bottom;
}

.invite-player-card {
  position: absolute;
  top: 72px;
  width: 118px;
  height: 168px;
  background-image: url("images/worldcup-hero.780.jpg");
  background-size: auto 282px;
  background-color: transparent;
  filter: drop-shadow(0 7px 7px rgba(51, 107, 153, 0.16));
  clip-path: polygon(8% 0, 92% 0, 90% 100%, 10% 100%);
}

.invite-player-left {
  left: 90px;
  background-position: 5% top;
}

.invite-player-right {
  right: 64px;
  background-position: 94% top;
}

.invite-trophy {
  position: absolute;
  left: 50%;
  top: 216px;
  width: 276px;
  height: 174px;
  background:
    radial-gradient(circle at 51% 23%, #ffe99b 0 14px, #a36b14 15px 18px, transparent 19px),
    radial-gradient(circle at 50% 50%, #ffc946 0 17px, #91631a 18px 21px, transparent 22px),
    radial-gradient(ellipse at 50% 92%, rgba(0, 114, 224, 0.72) 0 80px, transparent 81px),
    linear-gradient(135deg, transparent 0 30%, #0b73da 30% 44%, #fedc5c 45% 53%, #0b73da 54% 70%, transparent 71%),
    linear-gradient(25deg, transparent 0 28%, #df9a24 29% 36%, transparent 37%),
    linear-gradient(-25deg, transparent 0 28%, #df9a24 29% 36%, transparent 37%);
  border-radius: 48% 48% 22% 22%;
  transform: translateX(-50%);
}

.invite-trophy::before,
.invite-trophy::after {
  position: absolute;
  width: 34px;
  height: 52px;
  background: linear-gradient(145deg, #f45a36, #f7ad42);
  border-radius: 9px;
  content: "";
}

.invite-trophy::before {
  left: -4px;
  top: 48px;
  transform: rotate(-33deg);
}

.invite-trophy::after {
  right: -4px;
  top: 48px;
  transform: rotate(33deg);
}

.invite-title-art {
  position: absolute;
  left: 50%;
  top: 274px;
  display: grid;
  width: 260px;
  height: 129px;
  place-items: center;
  color: #ffe9a3;
  text-align: center;
  text-shadow:
    0 2px 0 #963d13,
    0 -1px 0 #fff5c6,
    2px 2px 0 #0757af,
    -2px 2px 0 #0757af,
    0 6px 9px rgba(6, 59, 128, 0.42);
  background:
    linear-gradient(180deg, rgba(58, 161, 255, 0.98), rgba(0, 92, 203, 0.96));
  border: 4px solid #ffdc67;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.32),
    0 10px 18px rgba(5, 75, 156, 0.24);
  transform: translateX(-50%);
}

.invite-title-art strong,
.invite-title-art span {
  display: block;
  font-size: 40px;
  font-weight: 900;
  line-height: 0.92;
}

.invite-title-art span {
  margin-top: -12px;
}

.invite-steps {
  position: absolute;
  left: 50%;
  top: 452px;
  display: grid;
  width: min(360px, calc(100% - 34px));
  grid-template-columns: 1fr 22px 1fr 22px 1fr;
  align-items: start;
  transform: translateX(-50%);
}

.invite-steps div {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.invite-steps i {
  position: relative;
  display: block;
  width: 22px;
  height: 74px;
}

.invite-steps i::before {
  position: absolute;
  left: 3px;
  top: 27px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: #249fe6;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(34, 141, 205, 0.32);
  content: "›";
}

.invite-step-icon {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  background: radial-gradient(circle at 34% 30%, #fff8ca 0 13%, #f7c33c 32%, #b6750d 65%, #fff1ad 100%);
  border-radius: 50%;
  box-shadow: 0 5px 9px rgba(143, 95, 11, 0.18);
}

.invite-step-icon::before {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  background: linear-gradient(180deg, #45b9f4, #096fd0);
  border-radius: 50%;
  content: "";
}

.invite-step-qr::before {
  content: "▦";
}

.invite-step-user::before {
  content: "☻";
  font-size: 27px;
}

.invite-step-wallet::before {
  content: "▰";
  font-size: 28px;
}

.invite-steps p {
  margin: 0;
  color: #324157;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
}

.invite-action-area {
  display: grid;
  height: 111px;
  align-items: end;
  padding: 0 23px 20px;
  background: #f3f4f6;
}

.invite-primary {
  display: flex;
  height: 59px;
  align-items: center;
  justify-content: center;
  color: #171b24;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff9cd 0, #f6d66b 55%, #dca735 100%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 11px 19px rgba(224, 169, 58, 0.27);
}

.invite-bonus-content {
  min-height: calc(100vh - 57px - 64px - var(--safe-bottom));
  padding: 20px 20px 24px;
  background: #f0f2f5;
}

.invite-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 24px;
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.invite-notice span {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #376da4;
}

.invite-notice span::before {
  position: absolute;
  left: 2px;
  top: 5px;
  width: 7px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 30%, 42% 30%, 100% 0, 100% 100%, 42% 70%, 0 70%);
  content: "";
}

.invite-notice span::after {
  position: absolute;
  right: 1px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 2px 0 0;
  border-radius: 50%;
  content: "";
}

.invite-bonus-list {
  display: grid;
  gap: 14px;
}

.invite-bonus-card {
  position: relative;
  display: grid;
  width: 100%;
  height: 187px;
  grid-template-columns: 45% 55%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(228, 244, 255, 0.16), rgba(255, 255, 255, 0.4)),
    #e9f5ff;
  border-radius: 8px;
}

.invite-bonus-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 21%, rgba(255, 255, 255, 0.78) 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.52) 48% 48.8%, transparent 49%),
    repeating-linear-gradient(110deg, rgba(66, 139, 204, 0.08) 0 1px, transparent 1px 44px);
  content: "";
}

.bonus-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  background-image: url("images/carousel-stage.780.jpg");
  background-repeat: no-repeat;
  background-size: auto 187px;
  filter: drop-shadow(0 4px 5px rgba(41, 86, 128, 0.16));
}

.bonus-headcount .bonus-visual {
  background-image: url("images/carousel-stage.780.jpg");
  background-position: 10% center;
}

.bonus-first-deposit .bonus-visual {
  background-image: url("images/carousel-support.780.jpg");
  background-position: 11% center;
}

.bonus-rebate .bonus-visual {
  background-image: url("images/carousel-red-packet.780.jpg");
  background-position: 10% center;
}

.bonus-deposit .bonus-visual {
  background-image: url("images/worldcup-hero.780.jpg");
  background-position: 2% center;
}

.bonus-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  padding: 10px 12px 10px 0;
  text-align: center;
}

.bonus-copy strong {
  color: #f8c96d;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.98;
  text-shadow:
    0 2px 0 #7a3a08,
    2px 2px 0 #005bbd,
    -2px 2px 0 #005bbd,
    0 5px 8px rgba(4, 81, 175, 0.28);
  white-space: nowrap;
}

.bonus-copy em {
  margin-top: 8px;
  color: #f7e9b4;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 18px;
  background: #074094;
  border: 2px solid #7a603a;
  padding: 0 12px;
  border-radius: 999px;
}

.bonus-copy b {
  display: flex;
  width: 106px;
  height: 35px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #3b79d0, #0c409b);
  border-radius: 999px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    0 2px 4px rgba(10, 70, 158, 0.28);
}

.invite-record-content {
  min-height: calc(100vh - 57px - 64px - var(--safe-bottom));
  padding: 14px 20px 28px;
  background: #f0f2f5;
}

.invite-record-card {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
}

.invite-record-card + .invite-record-card {
  margin-top: 13px;
}

.invite-record-title {
  position: relative;
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 37px;
  color: #111827;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.invite-record-title::before {
  position: absolute;
  left: 20px;
  top: 17px;
  width: 6px;
  height: 19px;
  background: #e8b56d;
  border-radius: 999px;
  content: "";
}

.invite-record-title i {
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-bottom: 8px solid #8394a6;
}

.invite-data-list .invite-record-title i {
  border-top: 8px solid #8394a6;
  border-bottom: 0;
}

.invite-stats {
  display: grid;
  margin: 0 39px;
}

.invite-stats-top,
.invite-stats-mid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.invite-stats-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  margin-bottom: 38px;
  padding-top: 5px;
  border-top: 2px solid #d8dde4;
}

.invite-stats div {
  display: grid;
  min-width: 0;
  min-height: 82px;
  align-content: center;
  justify-items: center;
  gap: 11px;
  padding: 0 7px;
  text-align: center;
}

.invite-stats div + div {
  border-left: 1px solid #d8dde4;
}

.invite-stats-top {
  border-bottom: 1px solid #d8dde4;
}

.invite-stats span {
  color: #8594a5;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.invite-stats strong {
  color: #111827;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.invite-stats-mid button {
  color: #dfa85b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.invite-bottom-tabs {
  position: fixed;
  z-index: 18;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, 430px);
  height: calc(64px + var(--safe-bottom));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  margin: 0 auto;
  padding-bottom: var(--safe-bottom);
  background: #fff;
  box-shadow: 0 -1px 8px rgba(16, 24, 40, 0.04);
}

.invite-bottom-tabs button {
  display: grid;
  height: 64px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  color: #8795a6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.invite-bottom-tabs button.is-active {
  color: #111827;
}

.invite-bottom-icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: #c7d0d9;
  border-radius: 7px;
}

.invite-bottom-tabs button.is-active .invite-bottom-icon {
  background: linear-gradient(180deg, #f4cd77, #d99b2f);
}

.invite-bottom-icon::before {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.invite-bottom-link::before {
  content: "▦";
}

.invite-bottom-bonus::before {
  content: "¥";
  font-size: 19px;
}

.invite-bottom-record::before {
  content: "";
  width: 17px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(currentColor, currentColor) 4px 5px / 9px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 10px / 9px 2px no-repeat;
}

.agent-page {
  min-height: 100vh;
  color: #0f172a;
  background: #eef7ff;
}

.agent-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  height: 59px;
  place-items: center;
  background: #f7f8fa;
  border-bottom: 1px solid #edf0f4;
}

.agent-header h1 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.agent-back {
  position: absolute;
  left: 16px;
  top: 0;
  display: grid;
  width: 34px;
  height: 59px;
  place-items: center;
  color: #4b5a6a;
}

.agent-back svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
  transform: rotate(180deg);
}

.agent-content {
  min-height: calc(100vh - 59px);
  overflow: hidden;
  background: linear-gradient(180deg, #ecf8ff 0, #cceeff 55%, #26aaf0 100%);
}

.agent-hero {
  position: relative;
  height: 594px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0, rgba(234, 248, 255, 0.74) 18%, rgba(166, 220, 255, 0.3) 55%, rgba(164, 218, 252, 0.84) 100%),
    #dff4ff;
}

.agent-stadium-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.5;
}

.agent-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 39%, rgba(255, 255, 255, 0.7) 0 42px, transparent 120px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 28%, rgba(255, 255, 255, 0.2) 72%, rgba(166, 225, 255, 0.72));
  content: "";
}

.agent-hero::after {
  position: absolute;
  right: -44px;
  bottom: 72px;
  left: -44px;
  height: 206px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 46px);
  opacity: 0.62;
  content: "";
  transform: perspective(240px) rotateX(55deg);
  transform-origin: bottom;
}

.agent-brand-row {
  position: relative;
  z-index: 2;
  display: grid;
  width: 278px;
  grid-template-columns: 60px minmax(0, 1fr) 58px;
  align-items: center;
  column-gap: 8px;
  margin: 35px auto 0;
}

.agent-brand-row img {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.agent-brand-row div {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.agent-brand-row strong {
  color: #1e2a37;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.agent-brand-row span {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
  white-space: nowrap;
}

.agent-brand-row b {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fde8a4;
  font-size: 18px;
  font-weight: 900;
  background:
    radial-gradient(circle, #162343 0 34%, #3b2350 35% 48%, #f6d472 49% 56%, #39224a 57% 100%);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(20, 38, 67, 0.2);
}

.agent-title-art {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  margin: 17px auto 0;
  color: #cfffff;
  text-align: center;
  text-shadow:
    0 2px 0 #0c4b9a,
    0 -2px 0 #fff9b3,
    3px 3px 0 #0058ba,
    -3px 3px 0 #0058ba,
    0 8px 8px rgba(0, 71, 151, 0.34);
}

.agent-title-art strong,
.agent-title-art span {
  display: block;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
}

.agent-title-art span {
  font-size: 61px;
}

.agent-player {
  position: absolute;
  z-index: 3;
  bottom: 104px;
  background-image: url("images/worldcup-hero.780.jpg");
  background-repeat: no-repeat;
  filter: drop-shadow(0 7px 8px rgba(42, 86, 130, 0.18));
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, #000 0, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.agent-player-left {
  left: 37px;
  width: 136px;
  height: 232px;
  background-size: auto 294px;
  background-position: 1% bottom;
}

.agent-player-center {
  left: 50%;
  z-index: 4;
  width: 160px;
  height: 224px;
  background-image: url("images/carousel-support.780.jpg");
  background-size: auto 248px;
  background-position: 12% bottom;
  transform: translateX(-50%);
}

.agent-player-right {
  right: 30px;
  width: 136px;
  height: 228px;
  background-image: url("images/carousel-stage.780.jpg");
  background-size: auto 250px;
  background-position: 12% bottom;
}

.agent-gold-cup {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 216px;
  width: 126px;
  height: 126px;
  background:
    radial-gradient(circle at 50% 35%, #fff5b7 0 24px, #c47f16 25px 35px, transparent 36px),
    radial-gradient(ellipse at 50% 84%, rgba(204, 133, 22, 0.9) 0 42px, transparent 43px);
  border-radius: 50%;
  opacity: 0.95;
  transform: translateX(-50%);
}

.agent-gifts {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 74px;
  width: 328px;
  height: 92px;
  background:
    linear-gradient(180deg, #ffc94d, #d88a1f) 14px 48px / 58px 34px no-repeat,
    linear-gradient(90deg, #f2d385 0 8px, transparent 8px 16px, #f2d385 16px 24px, transparent 24px) 19px 48px / 46px 34px no-repeat,
    radial-gradient(ellipse at 99px 68px, #f0c663 0 38px, transparent 39px),
    repeating-linear-gradient(0deg, #f8d980 0 8px, #c8892d 8px 11px) 70px 36px / 78px 54px no-repeat,
    linear-gradient(180deg, #ffe46d, #c8841a) 151px 50px / 58px 38px no-repeat,
    linear-gradient(90deg, #1258c4 0 7px, transparent 7px 15px, #1258c4 15px 23px, transparent 23px) 248px 45px / 70px 42px no-repeat,
    radial-gradient(ellipse at 281px 68px, #f4c76e 0 43px, transparent 44px);
  transform: translateX(-50%);
}

.agent-gifts::before {
  position: absolute;
  right: 31px;
  bottom: 7px;
  color: #f2c35e;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 #8a5a0b, -1px 1px 0 #8a5a0b;
  content: "777";
}

.agent-gifts::after {
  position: absolute;
  left: 121px;
  bottom: 6px;
  display: grid;
  width: 67px;
  height: 55px;
  place-items: center;
  color: #f8d46e;
  font-size: 10px;
  font-weight: 900;
  background: linear-gradient(180deg, #277ccc, #0550aa);
  border: 2px solid #f8d46e;
  border-radius: 6px;
  content: "汇赢国际";
}

.agent-service-band {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 0;
  left: 18px;
  display: grid;
  min-height: 86px;
  align-content: center;
  justify-items: center;
  gap: 9px;
  color: #17334d;
  background: #53b6ff;
  border-radius: 10px 10px 0 0;
}

.agent-service-band strong,
.agent-contact-heading strong {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(35, 89, 149, 0.28);
}

.agent-service-band span,
.agent-contact-heading span {
  color: #23425e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.agent-contact-section {
  padding: 13px 14px 0;
  background: #1da8f0;
}

.agent-contact-heading {
  position: relative;
  display: grid;
  min-height: 91px;
  align-content: center;
  justify-items: center;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #28b3ff, #2ba8f2);
  border-radius: 8px 8px 0 0;
}

.agent-contact-heading::before,
.agent-contact-heading::after {
  position: absolute;
  top: 24px;
  width: 112px;
  height: 12px;
  background: #167ad1;
  border-radius: 999px;
  opacity: 0.8;
  content: "";
}

.agent-contact-heading::before {
  left: 60px;
  transform: rotate(-32deg);
}

.agent-contact-heading::after {
  right: 60px;
  transform: rotate(32deg);
}

.agent-contact-card {
  position: relative;
  margin: 0 12px;
  padding: 8px 12px 72px;
  background:
    radial-gradient(circle at 80% 70%, rgba(126, 201, 255, 0.18) 0 64px, transparent 65px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(223, 246, 255, 0.94));
  border: 5px solid rgba(108, 194, 255, 0.78);
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.agent-contact-row {
  display: grid;
  min-height: 70px;
  grid-template-columns: 58px minmax(0, 1fr) minmax(0, auto) 78px;
  align-items: center;
  column-gap: 6px;
  color: #172033;
}

.agent-contact-row em {
  color: #8595a4;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.agent-contact-row strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-contact-row button {
  display: flex;
  width: 72px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #fff9c8 0, #f0d36d 55%, #d59d36 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.agent-contact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  justify-self: center;
  overflow: hidden;
  border-radius: 50%;
}

.agent-online-icon {
  background:
    linear-gradient(180deg, #fff, #dff2ff);
  border-radius: 4px;
}

.agent-online-icon::before {
  width: 29px;
  height: 22px;
  background:
    radial-gradient(circle at 72% 25%, #69c274 0 4px, transparent 5px),
    linear-gradient(135deg, #9ed284 0 42%, transparent 43%),
    linear-gradient(160deg, #48a8dc 0 52%, #fff 53%);
  border: 2px solid #d9e4ec;
  content: "";
}

.agent-chat-icon {
  color: #16110c;
  font-size: 20px;
  font-weight: 900;
  background: radial-gradient(circle at 38% 27%, #ffd875, #b57120 68%);
}

.agent-telegram-icon {
  background: linear-gradient(135deg, #f0c270, #bd731e);
}

.agent-telegram-icon::before {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 25px solid #fff;
  content: "";
  transform: rotate(-25deg) translateX(2px);
}

.agent-join-button {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  display: flex;
  width: calc(100% + 10px);
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 -5px;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff9ca 0, #f2d36c 55%, #d7a039 100%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 14px rgba(215, 164, 57, 0.18);
}

/* Refined promo destination pages */
.invite-page {
  min-height: 100vh;
  padding-bottom: calc(72px + var(--safe-bottom));
  color: #071735;
  background: #eef3f8;
}

.invite-header,
.agent-header {
  height: 45px;
  background: rgba(248, 251, 255, 0.98);
  border-bottom: 1px solid #e6edf5;
}

.invite-header h1,
.agent-header h1 {
  color: #071735;
  font-size: 18px;
  font-weight: 700;
}

.invite-exit {
  left: 16px;
  height: 45px;
  color: #1a283a;
  font-size: 14px;
  font-weight: 700;
  line-height: 45px;
}

.invite-tab-panel {
  padding: 12px;
}

.invite-link-hero {
  display: grid;
  min-height: 0;
  gap: 12px;
  overflow: visible;
  background: transparent;
}

.invite-stadium,
.invite-player-card,
.invite-trophy,
.invite-link-hero::before,
.invite-link-hero::after {
  display: none;
}

.invite-title-art {
  position: relative;
  left: auto;
  top: auto;
  display: grid;
  width: 100%;
  height: auto;
  min-height: 126px;
  align-content: center;
  gap: 8px;
  padding: 22px 18px;
  color: #fff;
  text-align: left;
  text-shadow: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.25) 0 14%, transparent 15%),
    linear-gradient(135deg, #168de8 0%, #12b8a5 100%);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(22, 141, 232, 0.18);
  transform: none;
}

.invite-title-art strong,
.invite-title-art span {
  display: block;
  margin: 0;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.05;
}

.invite-title-art span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 700;
}

.invite-steps {
  position: relative;
  left: auto;
  top: auto;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  transform: none;
}

.invite-steps i {
  display: none;
}

.invite-steps div {
  gap: 8px;
  min-width: 0;
}

.invite-step-icon {
  width: 48px;
  height: 48px;
  background: #eef9f7;
  border: 1px solid #cdebe6;
  box-shadow: none;
}

.invite-step-icon::before {
  inset: 8px;
  color: #fff;
  background: linear-gradient(180deg, #19c8b4, #0a9e91);
  font-size: 20px;
}

.invite-steps p {
  color: #45546a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.invite-action-area {
  display: grid;
  height: auto;
  padding: 0 12px 14px;
  background: transparent;
}

.invite-primary {
  height: 44px;
  color: #fff;
  background: linear-gradient(180deg, #19c8b4, #0a9e91);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(10, 158, 145, 0.24);
  font-size: 15px;
  font-weight: 900;
}

.invite-bonus-content,
.invite-record-content {
  min-height: 0;
  padding: 12px;
  background: #eef3f8;
}

.invite-notice {
  margin: 0 0 12px;
  padding: 12px;
  color: #45546a;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
  white-space: normal;
}

.invite-bonus-list {
  gap: 10px;
}

.invite-bonus-card {
  min-height: 104px;
  height: auto;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.02);
}

.invite-bonus-card::before {
  display: none;
}

.invite-bonus-card .bonus-visual {
  width: 70px;
  height: 70px;
  align-self: center;
  justify-self: center;
  border-radius: 18px;
  background-size: cover;
  filter: none;
  box-shadow: none;
}

.bonus-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 6px;
  align-content: center;
  justify-items: start;
  padding: 0;
  text-align: left;
}

.bonus-copy strong {
  color: #102550;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: none;
  white-space: normal;
}

.bonus-copy em {
  margin: 0;
  padding: 0;
  color: #7c899d;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.bonus-copy b {
  width: max-content;
  height: auto;
  margin: 0;
  padding: 6px 10px;
  color: #0a9187;
  background: #eaf8f6;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.invite-record-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
}

.invite-record-card + .invite-record-card {
  margin-top: 10px;
}

.invite-record-title {
  position: relative;
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  color: #102550;
  font-size: 15px;
  font-weight: 900;
  background: #fff;
  line-height: 1;
}

.invite-record-title::before {
  display: none;
}

.invite-record-title i {
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 7px solid #9aa8b7;
}

.invite-data-list .invite-record-title i {
  border-top: 7px solid #9aa8b7;
  border-bottom: 0;
}

.invite-stats {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #edf1f5;
}

.invite-stats-top,
.invite-stats-mid,
.invite-stats-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
}

.invite-stats-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #edf1f5;
}

.invite-stats div {
  display: grid;
  min-height: 70px;
  min-width: 0;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 10px 6px;
  border: 0;
  border-right: 1px solid #edf1f5;
  text-align: center;
}

.invite-stats div:last-child {
  border-right: 0;
}

.invite-stats div + div {
  border-left: 0;
}

.invite-stats-top {
  border-bottom: 0;
}

.invite-stats span {
  color: #7c899d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.invite-stats strong {
  color: #102550;
  font-size: 20px;
  font-weight: 900;
}

.invite-stats-mid button {
  color: #0a9187;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.invite-bottom-tabs {
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 430px);
  height: calc(64px + var(--safe-bottom));
  margin: 0 auto;
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #dbe5ef;
  box-shadow: 0 -4px 12px rgba(16, 24, 40, 0.08);
}

.invite-bottom-tabs button {
  min-height: 64px;
  color: #8a98aa;
  font-size: 12px;
  font-weight: 800;
}

.invite-bottom-tabs button.is-active {
  color: #0a9e91;
}

.invite-bottom-tabs button:focus-visible {
  outline: 0;
  box-shadow: inset 0 2px 0 rgba(10, 158, 145, 0.32);
}

.invite-bottom-icon {
  width: 25px;
  height: 25px;
  border-radius: 9px;
}

.agent-page {
  min-height: 100vh;
  color: #071735;
  background: #eef3f8;
}

.agent-header {
  position: sticky;
  top: 0;
  z-index: 8;
}

.agent-content {
  min-height: calc(100vh - 45px);
  padding: 12px 12px 28px;
  overflow: visible;
  background: #eef3f8;
}

.agent-hero {
  position: relative;
  display: grid;
  height: auto;
  min-height: 0;
  align-content: start;
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.2) 0 15%, transparent 16%),
    linear-gradient(135deg, #102550 0%, #0e8f93 100%);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 37, 80, 0.18);
}

.agent-stadium-bg,
.agent-hero::before,
.agent-hero::after,
.agent-player,
.agent-gold-cup,
.agent-gifts,
.agent-gifts::before,
.agent-gifts::after {
  display: none !important;
  content: none !important;
}

.agent-brand-row {
  position: relative;
  left: auto;
  top: auto;
  display: grid;
  width: 100%;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  height: auto;
  padding: 0;
  color: #fff;
}

.agent-brand-row img {
  width: 44px;
  height: 44px;
}

.agent-brand-row strong {
  color: #fff;
  font-size: 18px;
}

.agent-brand-row span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
}

.agent-brand-row b {
  width: auto;
  height: 26px;
  padding: 0 9px;
  color: #10324a;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  line-height: 26px;
}

.agent-title-art {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  padding: 4px 0 2px;
  color: #fff;
  text-align: left;
  text-shadow: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.agent-title-art strong,
.agent-title-art span {
  font-size: 30px;
  line-height: 1.08;
}

.agent-title-art span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.agent-service-band {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  padding: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: none;
}

.agent-service-band strong,
.agent-contact-heading strong {
  font-size: 15px;
  font-weight: 900;
}

.agent-service-band span,
.agent-contact-heading span {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
}

.agent-service-band strong,
.agent-service-band span {
  color: #fff;
  text-shadow: none;
}

.agent-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}

.agent-metrics div {
  display: grid;
  min-height: 74px;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 10px 6px;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
}

.agent-metrics strong {
  color: #0a9187;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.agent-metrics span {
  color: #6c7a8d;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.agent-feature-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.agent-feature-list div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
}

.agent-feature-icon {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #eaf8f6;
  border: 1px solid #cdebe6;
  border-radius: 50%;
}

.agent-feature-icon::before {
  color: #0a9187;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.agent-feature-check::before {
  content: "OK";
}

.agent-feature-chart::before {
  content: "UP";
}

.agent-feature-list p {
  display: grid;
  min-width: 0;
  gap: 5px;
  margin: 0;
}

.agent-feature-list strong {
  color: #102550;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.agent-feature-list em {
  color: #6c7a8d;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
}

.agent-contact-section {
  margin: 12px 0 0;
  padding: 0;
  background: transparent;
}

.agent-contact-heading {
  display: grid;
  gap: 6px;
  min-height: 0;
  margin-bottom: 10px;
  padding: 0 2px;
  overflow: visible;
  color: #071735;
  background: transparent;
  border-radius: 0;
  text-align: left;
  justify-items: start;
}

.agent-contact-heading::before,
.agent-contact-heading::after {
  display: none;
}

.agent-contact-heading span {
  color: #7c899d;
}

.agent-contact-heading strong {
  color: #102550;
  text-shadow: none;
}

.agent-contact-card {
  position: relative;
  margin: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.02);
}

.agent-contact-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, auto) 58px;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid #edf1f5;
}

.agent-contact-row em {
  color: #102550;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.agent-contact-row strong {
  color: #7c899d;
  font-size: 12px;
  font-weight: 700;
  justify-self: end;
  line-height: 1.2;
  white-space: nowrap;
}

.agent-contact-row button {
  display: grid;
  grid-column: 4;
  width: 58px;
  height: 28px;
  place-items: center;
  color: #0a9187;
  background: #eaf8f6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.agent-contact-icon {
  width: 34px;
  height: 34px;
}

.agent-join-button {
  position: static;
  width: calc(100% - 24px);
  height: 42px;
  margin: 12px;
  color: #fff;
  background: linear-gradient(180deg, #19c8b4, #0a9e91);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(10, 158, 145, 0.24);
  font-size: 15px;
  font-weight: 900;
}

/* Simple low-saturation partner and invite pages */
.invite-page,
.agent-page {
  color: #172033;
  background: #f4f6f8;
}

.invite-header,
.agent-header {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
}

.invite-header h1,
.agent-header h1 {
  color: #172033;
  font-size: 17px;
  font-weight: 750;
}

.invite-exit,
.agent-back {
  color: #4d5c70;
}

.invite-tab-panel,
.agent-content {
  padding: 12px;
  background: #f4f6f8;
}

.invite-title-art,
.agent-hero {
  color: #172033;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  box-shadow: none;
}

.invite-title-art {
  min-height: 118px;
}

.invite-title-art strong,
.agent-title-art strong {
  color: #172033;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: 0;
}

.invite-title-art span,
.agent-title-art span,
.agent-service-band span {
  color: #66758a;
  font-size: 13px;
  font-weight: 650;
}

.invite-steps,
.invite-bonus-card,
.invite-record-card,
.agent-metrics div,
.agent-feature-list div,
.agent-contact-card {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  box-shadow: none;
}

.invite-step-icon,
.agent-feature-icon,
.agent-contact-icon {
  background: #eef2f6;
  border-color: #dde5ed;
}

.invite-step-icon::before {
  color: #fff;
  background: #5d6f85;
}

.invite-primary,
.agent-join-button {
  color: #fff;
  background: #25364c;
  box-shadow: none;
}

.invite-bottom-tabs button.is-active,
.invite-stats-mid button,
.bonus-copy b,
.agent-metrics strong,
.agent-contact-row button,
.agent-feature-icon::before {
  color: #25364c;
}

.bonus-copy b,
.agent-contact-row button {
  background: #eef2f6;
}

.invite-bottom-tabs {
  background: #fff;
  border-top: 1px solid #e4eaf0;
  box-shadow: none;
}

.agent-hero {
  gap: 12px;
  padding: 14px;
}

.agent-brand-row,
.agent-title-art,
.agent-service-band {
  color: #172033;
}

.agent-brand-row strong,
.agent-service-band strong,
.agent-contact-heading strong {
  color: #172033;
}

.agent-brand-row span,
.agent-contact-heading span,
.agent-feature-list em,
.agent-metrics span,
.agent-contact-row strong {
  color: #66758a;
}

.agent-brand-row b {
  color: #25364c;
  background: #eef2f6;
}

.agent-service-band {
  background: #f7f9fb;
  border-color: #e4eaf0;
}

.bottom-tabbar {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(100%, 430px);
  height: calc(var(--tab-height) + var(--safe-bottom));
  min-height: calc(var(--tab-height) + var(--safe-bottom));
  margin: 0 auto;
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #d8e1eb;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 12px rgba(16, 24, 40, 0.08);
  overflow: visible;
  transform: translateZ(0);
}

.bottom-tabbar::before {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 92px;
  height: 30px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 48px 48px 0 0;
  content: "";
  transform: translateX(-50%);
}

.bottom-tabbar::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 16px;
  background: rgba(255, 255, 255, 0.96);
  content: "";
}

.bottom-tabbar nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) 86px repeat(2, minmax(0, 1fr));
  height: var(--tab-height);
  align-items: center;
}

.tab-item {
  position: relative;
  display: grid;
  min-height: var(--tab-height);
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #8ea0b1;
  font-size: 11px;
  font-weight: 800;
}

.tab-icon {
  position: relative;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  color: #a9bbc9;
  background: linear-gradient(180deg, #ecf3f8, #d5e2ec);
  border-radius: 50%;
}

.tab-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.tab-item.is-active {
  color: #6d4a06;
}

.tab-item.is-active .tab-icon {
  color: #fff;
  background: linear-gradient(145deg, #f0ce78, #dba52d);
}

.has-badge::after {
  position: absolute;
  right: -11px;
  top: -9px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #fff;
  background: #ef3434;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "2";
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.brand-tab {
  position: relative;
  display: grid;
  width: 86px;
  height: var(--tab-height);
  place-items: center;
  align-self: center;
  justify-self: center;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #27b9ff, #136fd1 52%, #e2ad43);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 3px 11px rgba(18, 101, 188, 0.28);
  transform: translateY(-14px);
}

.brand-water {
  position: absolute;
  inset: 6px 5px 18px;
  border-radius: 999px;
  background:
    linear-gradient(155deg, transparent 0 52%, rgba(255, 255, 255, 0.5) 53%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
}

.brand-logo svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  color: #ffe28a;
  filter: drop-shadow(0 2px 2px rgba(0, 48, 120, 0.24));
}

.brand-logo strong {
  position: relative;
  z-index: 1;
  margin-top: -13px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 66, 148, 0.5);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #198ee8;
  outline-offset: 2px;
}

button:active,
a:active {
  transform: translateY(1px);
}

@media (max-height: 700px) {
  .auth-page {
    padding-top: 36px;
    padding-bottom: 18px;
  }

  .auth-brand img {
    width: 62px;
    height: 62px;
  }

  .auth-brand h1 {
    font-size: 21px;
  }

  .auth-card {
    margin-top: 18px;
    padding: 18px 20px;
  }

  .auth-tabs {
    margin-bottom: 16px;
  }

  .auth-form.is-active {
    gap: 11px;
  }

  .auth-field,
  .auth-submit {
    min-height: 46px;
  }

  .auth-partner {
    margin-top: 20px;
  }
}

@media (max-width: 374px) {
  .auth-page {
    padding-inline: 12px;
  }

  .auth-card {
    padding-inline: 18px;
  }

  .auth-tabs {
    width: 136px;
    font-size: 16px;
  }

  .auth-field {
    grid-template-columns: 28px 1fr 28px;
    padding-inline: 12px;
  }

  .auth-field input {
    font-size: 14px;
  }

  .auth-options,
  .auth-links {
    font-size: 12px;
  }

  .profile-hero {
    min-height: 122px;
    padding-top: 26px;
  }

  .wallet-card {
    margin-inline: 4px;
  }

  .vip-banner {
    grid-template-columns: 68px auto 6px minmax(0, 1fr) 40px;
    gap: 6px;
    padding-right: 14px;
  }

  .vip-banner strong {
    font-size: 19px;
  }

  .vip-text {
    font-size: 14px;
  }

  .promo-grid {
    gap: 9px;
  }

  .promo-copy strong {
    font-size: 16px;
  }

  .wealth-road {
    width: 156px;
    font-size: 10px;
  }
}

@media (min-width: 431px) {
  body {
    background: linear-gradient(180deg, #cfd9e6, #eef3f8);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.deposit-page,
.withdraw-page {
  min-height: 100vh;
  color: #0f1f33;
  background:
    linear-gradient(180deg, #eef5fb 0, #f6f8fb 220px, #f2f5f8 100%);
}

.deposit-header,
.withdraw-header {
  height: 48px;
  background: rgba(249, 252, 255, 0.96);
  border-bottom: 1px solid #dfe8f2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.deposit-header h1,
.withdraw-header h1 {
  color: #102033;
  font-size: 17px;
  font-weight: 800;
}

.deposit-back,
.withdraw-back {
  width: 48px;
  height: 48px;
  color: #102033;
}

.deposit-back svg,
.withdraw-back svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.deposit-content,
.withdraw-content {
  gap: 10px;
  padding: 10px 10px calc(18px + var(--safe-bottom));
}

.deposit-hero,
.withdraw-summary {
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 94px;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(13, 71, 118, 0.14);
}

.deposit-hero {
  background:
    linear-gradient(135deg, #0d8f96 0%, #116ec8 100%);
}

.withdraw-summary {
  background:
    linear-gradient(135deg, #10233c 0%, #0d858c 100%);
}

.deposit-coin,
.withdraw-token {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: none;
}

.withdraw-token {
  background: rgba(255, 255, 255, 0.15);
}

.deposit-coin svg,
.withdraw-token svg {
  width: 38px;
  height: 38px;
}

.deposit-hero strong {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
}

.withdraw-summary-copy strong {
  margin-top: 7px;
  font-size: 25px;
  letter-spacing: 0;
}

.deposit-hero p,
.withdraw-summary-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.withdraw-summary-copy p {
  margin-top: 8px;
}

.deposit-panel,
.deposit-notice,
.withdraw-amount-panel,
.withdraw-options,
.withdraw-alert {
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.03);
}

.deposit-panel,
.withdraw-amount-panel,
.withdraw-options {
  padding: 14px;
}

.deposit-panel-title,
.withdraw-field-head,
.withdraw-section-title {
  min-height: 22px;
}

.deposit-panel-title span,
.withdraw-field-head span,
.withdraw-section-title span {
  color: #102033;
  font-size: 15px;
  font-weight: 900;
}

.deposit-panel-title em,
.withdraw-field-head em,
.withdraw-section-title em {
  color: #758397;
  font-size: 11px;
  font-weight: 700;
}

.deposit-amount-box,
.withdraw-amount-box {
  height: 58px;
  margin-top: 12px;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  background: #f7fafc;
}

.deposit-amount-box {
  grid-template-columns: 58px minmax(0, 1fr);
}

.withdraw-amount-box {
  grid-template-columns: minmax(0, 1fr) 58px;
  background: #102033;
  border-color: #102033;
}

.deposit-amount-box span,
.withdraw-amount-box span {
  color: #0b9d90;
  font-size: 14px;
  font-weight: 900;
}

.withdraw-amount-box span {
  color: #41d9c4;
}

.deposit-amount-box input,
.withdraw-amount-box input {
  height: 56px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 56px;
}

.deposit-amount-box input {
  color: #102033;
}

.deposit-amount-box input::placeholder,
.withdraw-amount-box input::placeholder {
  font-size: 14px;
  font-weight: 700;
}

.deposit-quick-amounts {
  gap: 7px;
  margin-top: 10px;
}

.deposit-quick-amounts button,
.withdraw-network-tabs button {
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 38px;
}

.deposit-quick-amounts button {
  color: #0b746e;
  background: #edf8f6;
  border: 1px solid #cbe9e4;
}

.deposit-quick-amounts button:active {
  background: #dff3ef;
}

.deposit-estimate,
.withdraw-amount-meta {
  min-height: 40px;
  margin-top: 12px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #f3f7fa;
}

.deposit-estimate span,
.withdraw-amount-meta span {
  color: #69798d;
  font-size: 12px;
  font-weight: 800;
}

.deposit-estimate strong,
.withdraw-amount-meta strong {
  color: #078f84;
  font-size: 16px;
  font-weight: 950;
}

.deposit-networks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.deposit-networks button {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 72px;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 10px 8px;
  border-color: #dce6f0;
  background: #f8fafc;
  text-align: center;
}

.deposit-networks button::after {
  right: 8px;
  top: 8px;
  transform: rotate(-45deg);
}

.deposit-networks button.is-active::after {
  transform: rotate(45deg);
}

.deposit-networks button.is-disabled,
.deposit-networks button:disabled {
  color: #9aa6b5;
  background: #f3f5f7;
  border-color: #e3e8ee;
  box-shadow: none;
}

.deposit-networks button.is-disabled::after,
.deposit-networks button:disabled::after {
  display: none;
}

.deposit-networks strong {
  color: #102033;
  font-size: 14px;
}

.deposit-networks span {
  width: 100%;
  color: #77869a;
  font-size: 11px;
  line-height: 1.3;
  white-space: normal;
}

.deposit-networks button.is-active,
.withdraw-wallet-list button.is-active {
  background: #eefaf8;
  border-color: #16afa2;
  box-shadow: inset 0 0 0 1px rgba(22, 175, 162, 0.12);
}

.withdraw-network-tabs {
  gap: 8px;
}

.withdraw-network-tabs button {
  color: #617186;
  background: #f7fafc;
  border-color: #dce6f0;
}

.withdraw-network-tabs button.is-active {
  color: #fff;
  background: #0b9d90;
  border-color: #0b9d90;
  box-shadow: 0 5px 12px rgba(11, 157, 144, 0.18);
}

.withdraw-section-title.wallet-title {
  margin-top: 18px;
}

.withdraw-wallet-list {
  gap: 8px;
}

.withdraw-wallet-list button {
  min-height: 62px;
  border-color: #dce6f0;
  background: #f8fafc;
}

.withdraw-wallet-mark {
  border-radius: 8px;
  background: #0b9d90;
}

.withdraw-wallet-list strong {
  color: #102033;
  font-size: 14px;
  font-weight: 900;
}

.withdraw-wallet-list em {
  color: #758397;
  font-size: 12px;
  font-weight: 700;
}

.deposit-notice,
.withdraw-alert {
  padding: 13px 14px;
  background: #fffdf7;
  border-color: #efe3bf;
}

.deposit-notice strong,
.withdraw-alert strong {
  margin-bottom: 8px;
  color: #5b3c0d;
  font-size: 14px;
  font-weight: 900;
}

.deposit-notice p,
.withdraw-alert p {
  margin-top: 6px;
  color: #776247;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.deposit-notice p::before,
.withdraw-alert p::before {
  top: 8px;
  background: #d79a28;
}

.deposit-submit,
.withdraw-submit {
  position: sticky;
  bottom: calc(10px + var(--safe-bottom));
  z-index: 3;
  height: 46px;
  margin: 2px 2px 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 950;
}

.deposit-submit {
  background: linear-gradient(180deg, #16b9a9, #078f84);
  box-shadow: 0 8px 18px rgba(7, 143, 132, 0.22);
}

.deposit-message {
  min-height: 18px;
  margin: -2px 4px 0;
  color: #0b8f84;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.deposit-message.is-error {
  color: #d14343;
}

.deposit-submit:disabled {
  opacity: 0.68;
}

.deposit-payment {
  display: grid;
  gap: 10px;
  padding: 10px 10px calc(18px + var(--safe-bottom));
}

.deposit-content[hidden],
.deposit-payment[hidden] {
  display: none;
}

.deposit-order-card,
.deposit-qr-card,
.deposit-address-card {
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(18, 28, 45, 0.03);
}

.deposit-order-card {
  padding: 15px 14px;
  color: #fff;
  background: linear-gradient(135deg, #10233c 0%, #0b9187 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(13, 71, 118, 0.14);
}

.deposit-order-head,
.deposit-order-amount,
.deposit-order-meta,
.deposit-address-row,
.deposit-payment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deposit-order-head span {
  font-size: 13px;
  font-weight: 900;
  opacity: 0.86;
}

.deposit-order-head strong {
  min-width: 74px;
  padding: 7px 10px;
  color: #073931;
  background: #dffaf4;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.deposit-order-amount {
  margin-top: 18px;
}

.deposit-order-amount span,
.deposit-order-meta span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
}

.deposit-order-amount strong {
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.deposit-order-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.deposit-qr-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.deposit-qr-box {
  display: grid;
  width: min(68vw, 250px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  padding: 12px;
  background: #f6fafc;
  border: 1px solid #dce6f0;
  border-radius: 8px;
}

.deposit-qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deposit-qr-box span {
  color: #758397;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.deposit-order-meta {
  min-height: 38px;
  padding: 0 12px;
  background: #f3f7fa;
  border-radius: 8px;
}

.deposit-order-meta span {
  color: #69798d;
}

.deposit-order-meta strong {
  min-width: 0;
  overflow: hidden;
  color: #102033;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deposit-address-card {
  padding: 14px;
}

.deposit-address-row {
  min-height: 52px;
  margin-top: 12px;
  padding: 8px 8px 8px 12px;
  background: #f7fafc;
  border: 1px solid #dce6f0;
  border-radius: 8px;
}

.deposit-address-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #102033;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.deposit-address-row button,
.deposit-payment-actions button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  color: #fff;
  background: #0b9d90;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.deposit-address-card p {
  margin: 10px 0 0;
  color: #69798d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.deposit-payment-actions {
  position: sticky;
  bottom: calc(10px + var(--safe-bottom));
  z-index: 3;
}

.deposit-payment-actions button {
  flex: 1 1 0;
  height: 44px;
}

.deposit-payment-actions button:first-child {
  color: #102033;
  background: #fff;
  border: 1px solid #dce6f0;
}

.deposit-page {
  color: #142235;
  background: #f4f7fa;
}

.deposit-header {
  height: 46px;
  background: rgba(250, 252, 255, 0.98);
  border-bottom-color: #e7edf3;
  box-shadow: none;
}

.deposit-header h1 {
  font-size: 16px;
  font-weight: 700;
}

.deposit-content,
.deposit-payment {
  gap: 8px;
  padding: 10px 10px calc(14px + var(--safe-bottom));
}

.deposit-hero {
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 74px;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e3ebf2;
  box-shadow: none;
  color: #142235;
}

.deposit-coin {
  width: 38px;
  height: 38px;
  background: #effaf7;
  box-shadow: none;
}

.deposit-coin svg {
  width: 30px;
  height: 30px;
}

.deposit-hero strong {
  margin-bottom: 5px;
  color: #142235;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
}

.deposit-hero p {
  color: #647287;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.deposit-panel,
.deposit-notice,
.deposit-order-card,
.deposit-qr-card,
.deposit-address-card {
  border-color: #e3ebf2;
  border-radius: 8px;
  box-shadow: none;
}

.deposit-panel {
  padding: 13px 12px;
}

.deposit-panel-title span {
  font-size: 14px;
  font-weight: 750;
}

.deposit-panel-title em {
  color: #7c8999;
  font-size: 11px;
  font-weight: 500;
}

.deposit-amount-box {
  grid-template-columns: 48px minmax(0, 1fr);
  height: 50px;
  margin-top: 10px;
  padding: 0 10px;
  background: #fafcfe;
  border-color: #e4ebf2;
}

.deposit-amount-box span {
  font-size: 13px;
  font-weight: 750;
}

.deposit-amount-box input {
  height: 48px;
  font-size: 20px;
  font-weight: 700;
  line-height: 48px;
}

.deposit-quick-amounts {
  gap: 6px;
  margin-top: 8px;
}

.deposit-quick-amounts button {
  height: 34px;
  color: #176b66;
  background: #f4fbf9;
  border-color: #d6ebe7;
  font-size: 12px;
  font-weight: 700;
  line-height: 34px;
}

.deposit-estimate {
  min-height: 36px;
  margin-top: 10px;
  padding: 0 10px;
  background: #f7fafc;
}

.deposit-estimate span {
  font-weight: 600;
}

.deposit-estimate strong {
  font-size: 15px;
  font-weight: 750;
}

.deposit-networks {
  gap: 6px;
  margin-top: 10px;
}

.deposit-networks button {
  min-height: 60px;
  gap: 5px;
  padding: 8px 6px;
}

.deposit-networks strong {
  font-size: 13px;
  font-weight: 750;
}

.deposit-networks span {
  font-size: 10px;
  font-weight: 500;
}

.deposit-notice {
  padding: 12px;
  background: #fffdf8;
}

.deposit-notice strong {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 750;
}

.deposit-notice p {
  color: #74624a;
  font-weight: 500;
}

.deposit-submit {
  height: 42px;
  margin-top: 0;
  border-radius: 8px;
  background: #0b9d90;
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
}

.deposit-message {
  margin-top: -4px;
  font-weight: 600;
}

.deposit-order-card {
  padding: 13px 12px;
  color: #142235;
  background: #fff;
  border-color: #e3ebf2;
  box-shadow: none;
}

.deposit-order-head span {
  color: #0b8f84;
  font-size: 12px;
  font-weight: 750;
  opacity: 1;
}

.deposit-order-head strong {
  min-width: 66px;
  padding: 6px 8px;
  color: #0b8f84;
  background: #eefaf8;
  font-size: 15px;
  font-weight: 750;
}

.deposit-order-amount {
  margin-top: 13px;
}

.deposit-order-amount span,
.deposit-order-meta span {
  color: #697789;
  font-weight: 600;
}

.deposit-order-amount strong {
  color: #142235;
  font-size: 24px;
  font-weight: 800;
}

.deposit-order-card p {
  margin-top: 10px;
  color: #687589;
  font-weight: 500;
}

.deposit-qr-card,
.deposit-address-card {
  padding: 12px;
}

.deposit-qr-card {
  gap: 10px;
}

.deposit-qr-box {
  width: min(54vw, 190px);
  padding: 10px;
  background: #fbfdff;
  border-color: #e4ebf2;
}

.deposit-qr-box span {
  color: #7c8999;
  font-size: 12px;
  font-weight: 600;
}

.deposit-order-meta {
  min-height: 34px;
  padding: 0 10px;
  background: #f7fafc;
}

.deposit-order-meta strong {
  font-size: 12px;
  font-weight: 650;
}

.deposit-address-row {
  min-height: 48px;
  margin-top: 10px;
  padding: 7px 7px 7px 10px;
  background: #fbfdff;
  border-color: #e4ebf2;
}

.deposit-address-row strong {
  font-size: 12px;
  font-weight: 600;
}

.deposit-address-row button,
.deposit-payment-actions button {
  height: 32px;
  padding: 0 12px;
  background: #0b9d90;
  font-size: 12px;
  font-weight: 700;
}

.deposit-payment-actions {
  gap: 8px;
  display: grid;
  grid-template-columns: 0.88fr 0.88fr 1.2fr;
}

.deposit-payment-actions button {
  min-width: 0;
  height: 40px;
  padding: 0 8px;
  white-space: nowrap;
}

.deposit-payment-actions button:disabled {
  color: #8a96a6;
  background: #eef2f6;
}

.withdraw-submit {
  background: linear-gradient(180deg, #172d4a, #0d1e33);
  box-shadow: 0 8px 18px rgba(13, 30, 51, 0.22);
}

.withdraw-page {
  color: #152236;
  background: #f5f7fa;
}

.withdraw-header {
  background: rgba(252, 253, 255, 0.96);
  border-bottom-color: #e5ebf2;
  box-shadow: none;
}

.withdraw-summary {
  min-height: 92px;
  border: 1px solid #dfe7ef;
  color: #182638;
  background: #fff;
  box-shadow: none;
}

.withdraw-token {
  background: #f3f7fa;
  border-color: #e0e8f0;
  border-radius: 12px;
}

.withdraw-token circle {
  fill: #8fa2b7;
}

.withdraw-token-bar,
.withdraw-token-ring,
.withdraw-token-stem {
  fill: #fff;
}

.withdraw-token-ring {
  stroke: #fff;
}

.withdraw-summary-copy span {
  color: #6d7b8d;
}

.withdraw-summary-copy strong {
  color: #152236;
  font-size: 24px;
}

.withdraw-summary-copy p {
  color: #7a8798;
  font-weight: 500;
}

.withdraw-amount-panel,
.withdraw-options,
.withdraw-alert {
  border-color: #e2e9f1;
  background: #fff;
  box-shadow: none;
}

.withdraw-amount-box {
  background: #f8fafc;
  border-color: #dfe7ef;
}

.withdraw-amount-box input {
  color: #152236;
}

.withdraw-amount-box input::placeholder {
  color: #a1adba;
}

.withdraw-amount-box span,
.withdraw-amount-meta strong {
  color: #40556d;
}

.withdraw-amount-meta {
  background: #f6f8fa;
}

.withdraw-network-tabs button {
  color: #667589;
  background: #f8fafc;
  border-color: #dfe7ef;
  box-shadow: none;
}

.withdraw-network-tabs button.is-active {
  color: #152236;
  background: #eef3f7;
  border-color: #9eacbb;
  box-shadow: none;
}

.withdraw-wallet-list button {
  background: #fbfcfd;
  border-color: #dfe7ef;
}

.withdraw-wallet-list button.is-active {
  background: #f2f6f9;
  border-color: #9eacbb;
  box-shadow: none;
}

.withdraw-wallet-list button.is-active::after {
  border-color: #40556d;
}

.withdraw-wallet-mark {
  background: #6d7f92;
}

.withdraw-alert {
  background: #fff;
  border-color: #e2e9f1;
}

.withdraw-alert strong {
  color: #152236;
}

.withdraw-alert p {
  color: #748195;
  font-weight: 500;
}

.withdraw-alert p::before {
  background: #9aa8b8;
}

.withdraw-submit {
  color: #fff;
  background: #172436;
  box-shadow: none;
}

@media (max-width: 374px) {
  .deposit-content,
  .withdraw-content {
    padding-inline: 8px;
  }

  .deposit-networks {
    grid-template-columns: 1fr;
  }

  .deposit-networks button {
    min-height: 54px;
    justify-items: start;
    text-align: left;
  }
}
