:root {
  --visual-viewport-height: 100vh;
  --page: #f3f5f9;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --ink: #252525;
  --muted: #9e9e9e;
  --line: #e7e8eb;
  --gold: #d1b092;
  --gold-soft: #f3d2b3;
  --gold-pale: #fff7ee;
  --orange: #f5a43b;
  --green: #3eb693;
  --red: #ff3939;
  --charcoal: #202226;
  --shadow: 3px 3px 10px rgba(0, 0, 0, 0.16), -3px -3px 8px rgba(255, 255, 255, 0.7);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #dfe2e7;
  font-synthesis: none;
}

@supports (height: 100dvh) {
  :root {
    --visual-viewport-height: 100dvh;
  }
}

@font-face {
  font-family: "uicon-iconfont";
  src: url("/assets/font_2225171_8kdcwk4po24.ttf") format("truetype");
  font-display: block;
}

* {
  box-sizing: border-box;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: #dfe2e7;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

#app {
  position: relative;
  width: min(100%, 420px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 34px rgba(28, 31, 36, 0.18);
}

.app-page {
  min-height: 100vh;
  background: var(--page);
}

.page-main {
  min-height: calc(100vh - 44px);
  padding: 15px 10px 30px;
}

[data-view="home"] .page-main,
[data-view="messages"] .page-main,
[data-view="profile"] .page-main {
  padding-bottom: 82px;
}

.page-main.no-bar {
  min-height: 100vh;
  padding-top: 10px;
}

.page-main.flush {
  padding-left: 0;
  padding-right: 0;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 67px 1fr 67px;
  align-items: center;
  height: 44px;
  padding: 0 3px;
  color: #000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.top-title {
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  color: #1f2023;
  font-size: 28px;
  line-height: 1;
}

.icon-button:active,
.plain-action:active,
.nav-item:active {
  opacity: 0.62;
}

.icon-button::before {
  content: "\e60e";
  font-family: "uicon-iconfont";
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 7px 10px 5px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-ball {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #26272a;
  border-radius: 50%;
  background: #f6a842;
  color: #171719;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 2px 0 #ba7625;
}

.brand-ball::after {
  position: absolute;
  right: 4px;
  top: 5px;
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #252525;
  box-shadow: -7px 4px #252525, -1px 10px #252525;
}

.brand-copy strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
}

.brand-copy span {
  display: block;
  margin-top: 1px;
  color: #777;
  font-size: 10px;
}

.brand-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e1d1c1;
  border-radius: 50%;
  background: #fff;
  color: #8a6545;
  font-size: 20px;
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 420px);
  height: calc(50px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateX(-50%);
  background: #fff;
  border-top: 1px solid #e4e4e4;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: transparent;
  color: #666;
  font-size: 10px;
}

.nav-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 25px;
  height: 24px;
  color: #8b8d91;
  font-size: 22px;
  line-height: 1;
}

.nav-item.active {
  color: #252525;
  font-weight: 600;
}

.nav-item.active .nav-symbol {
  color: #b58559;
}

.visual-banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  background: #202226;
  color: #fff;
  box-shadow: var(--shadow);
}

.visual-banner::before,
.visual-banner::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.visual-banner::before {
  left: -48px;
  top: 13px;
  width: 170px;
  height: 170px;
}

.visual-banner::after {
  right: -22px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border-color: rgba(244, 201, 161, 0.42);
}

.banner-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 28px;
}

.banner-copy small {
  color: #f4c9a1;
  font-size: 12px;
}

.banner-copy h1 {
  margin-top: 5px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.banner-copy p {
  margin-top: 8px;
  color: #d6d6d6;
  font-size: 12px;
}

.score-mark {
  position: absolute;
  z-index: 1;
  right: 28px;
  top: 27px;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 9px double #f4c9a1;
  border-radius: 50%;
  color: #f4c9a1;
  font-size: 28px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.dots {
  position: absolute;
  z-index: 3;
  bottom: 9px;
  left: 50%;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.dots span:first-child {
  width: 14px;
  border-radius: 6px;
  background: #fff;
}

.notice-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 10px 0;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
}

.notice-row strong {
  color: #b58559;
  font-size: 18px;
}

.account-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 5px;
  background: #fefdfd;
  box-shadow: var(--shadow);
}

.balance-line {
  font-size: 14px;
  font-weight: 700;
}

.account-name {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
}

.account-tools {
  display: flex;
  gap: 18px;
}

.mini-tool {
  display: flex;
  min-width: 36px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
}

.mini-tool span:first-child {
  font-size: 22px;
  color: #aa7750;
}

.category-layout {
  display: grid;
  grid-template-columns: 67px minmax(0, 1fr);
  min-height: 360px;
}

.category-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 7px 0 0;
}

.category-tab {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 18px;
  background: #fffdf9;
  color: #b7b5b1;
  box-shadow: var(--shadow);
  font-size: 12px;
  line-height: 1.15;
}

.category-tab.active {
  background: #f1d0b2;
  color: #252525;
  font-weight: 700;
}

.category-tab .category-glyph {
  display: block;
  margin-bottom: 2px;
  font-size: 19px;
}

.game-stage {
  padding-left: 5px;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 116px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.2);
}

.game-visual {
  position: relative;
  width: 43%;
  flex: 0 0 43%;
  overflow: hidden;
  background: #24262a;
}

.game-visual::before {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  width: 58px;
  height: 58px;
  border: 6px solid #f4c9a1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.game-visual::after {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
  transform: rotate(-24deg);
}

.game-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
}

.game-copy small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.game-copy strong {
  margin-top: 4px;
  font-size: 20px;
}

.game-copy span {
  margin-top: 7px;
  color: #888;
  font-size: 11px;
}

.status-badge {
  position: absolute;
  right: 0;
  top: 0;
  padding: 3px 7px;
  border-radius: 0 0 0 6px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
}

.gradient-background {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 40vh;
  background: linear-gradient(180deg, #ffe3ca -61%, rgba(209, 176, 146, 0));
  opacity: 0.9;
  pointer-events: none;
}

.auth-page {
  position: relative;
  min-height: 100vh;
  padding: 45px 22px 58px;
}

.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 42px;
}

.auth-brand .brand-ball {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  font-size: 28px;
}

.auth-brand h1 {
  font-size: 23px;
}

.auth-brand p {
  margin-top: 2px;
  color: #8e725b;
  font-size: 11px;
}

.segmented-tabs,
.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.segmented-tabs button,
.tabs button {
  position: relative;
  flex: 1;
  min-height: 44px;
  padding: 0 8px;
  background: transparent;
  color: #8c8d90;
  font-size: 14px;
  white-space: nowrap;
}

.segmented-tabs button.active,
.tabs button.active {
  color: var(--orange);
  font-weight: 700;
}

.segmented-tabs button.active::after,
.tabs button.active::after {
  position: absolute;
  left: 50%;
  bottom: -1px;
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transform: translateX(-50%);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.field {
  display: block;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #252525;
  font-size: 14px;
  font-weight: 500;
}

.required {
  margin-right: 2px;
  color: #e43c3c;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 43px;
  border-bottom: 1px solid #495061;
}

.input-wrap.boxed {
  padding: 0 12px;
  border: 1px solid #dadbde;
  border-radius: 5px;
  background: #fff;
}

.input-wrap input,
.input-wrap textarea,
.input-wrap select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #303133;
  font-size: 14px;
}

.input-wrap textarea {
  min-height: 110px;
  padding: 10px 0;
  resize: vertical;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: #b1b3b7;
}

.suffix-button,
.plain-action {
  flex: none;
  padding: 7px 0 7px 10px;
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  white-space: nowrap;
}

.suffix-button {
  min-width: 98px;
}

.suffix-button:disabled {
  color: #96999f;
  cursor: wait;
}

.password-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  background: transparent;
  color: #8c8e92;
  font-size: 18px;
}

.check-row,
.split-row,
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #606266;
  font-size: 14px;
}

.check-row input {
  accent-color: var(--gold);
}

.primary-button,
.secondary-button,
.danger-button {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
}

.primary-button {
  background: #f4c9a1;
  color: #252525;
}

.secondary-button {
  border: 1px solid #dadbde;
  background: #fff;
  color: #303133;
}

.danger-button {
  background: #fff0f0;
  color: var(--red);
}

.helper-text {
  color: #9e9e9e;
  font-size: 11px;
  line-height: 1.55;
}

.warning-text {
  color: #d77932;
  font-size: 11px;
  line-height: 1.55;
}

.section-title {
  margin: 16px 0 10px;
  color: #4c4d50;
  font-size: 13px;
  font-weight: 700;
}

.wallet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 15px;
  background: linear-gradient(178deg, #696969 -206%, #fff);
  box-shadow: var(--shadow);
}

.wallet-card strong {
  display: block;
  font-size: 18px;
}

.wallet-card span {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 12px;
}

.profile-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 114px;
  margin: -15px -10px 12px;
  padding: 25px 18px 16px;
  background: linear-gradient(180deg, #ffe3ca -35%, rgba(209, 176, 146, 0));
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d9b795;
  color: #fff;
  font-size: 23px;
  box-shadow: 0 3px 8px rgba(90, 60, 35, 0.18);
}

.profile-copy strong {
  display: block;
  font-size: 18px;
}

.profile-copy span {
  display: block;
  margin-top: 5px;
  color: #797979;
  font-size: 12px;
}

.profile-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 10px 14px;
  border-radius: 15px;
  background: #f3d2b3;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 13px 8px;
  border-radius: 8px;
  background: #fff;
}

.menu-item {
  display: flex;
  min-width: 0;
  min-height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: #444;
  font-size: 11px;
  text-align: center;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff4e8;
  color: #a16d40;
  font-size: 16px;
}

.option-list,
.accordion-list,
.message-list {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.option-row,
.accordion-button,
.message-row {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.option-row:last-child,
.accordion-item:last-child .accordion-button,
.message-row:last-child {
  border-bottom: 0;
}

.row-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #fff5eb;
  color: #a66f3f;
  font-size: 17px;
}

.row-copy {
  min-width: 0;
  flex: 1;
}

.row-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.row-copy small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #9e9e9e;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chevron {
  color: #b4b4b4;
  font-family: "uicon-iconfont";
  font-size: 16px;
}

.empty-state {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a2a4a8;
  font-size: 13px;
}

.empty-symbol {
  position: relative;
  width: 54px;
  height: 42px;
  margin-bottom: 13px;
  border: 2px solid #c7c9cd;
  border-radius: 5px;
}

.empty-symbol::before {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  content: "";
  height: 2px;
  background: #c7c9cd;
  box-shadow: 0 8px #c7c9cd;
}

.accordion-button {
  min-height: 64px;
}

.accordion-content {
  height: 0;
  overflow: hidden;
}

.accordion-content-inner {
  padding: 12px 16px 16px;
  border-bottom: 1px solid var(--line);
  color: #606266;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}

.accordion-item.open .accordion-content {
  height: auto;
}

.accordion-item.open .chevron {
  transform: rotate(90deg);
}

.info-panel,
.bet-card,
.rule-card,
.metric-card,
.promotion-table,
.business-panel {
  border-radius: 8px;
  background: #fff;
}

.info-panel {
  padding: 15px;
  color: #555;
  font-size: 13px;
  line-height: 1.75;
}

.copy-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #f4f6fa;
  font-size: 13px;
}

.copy-button {
  flex: none;
  padding: 6px 12px;
  border-radius: 16px;
  background: #fdba7a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

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

.metric-card {
  min-height: 92px;
  padding: 15px;
}

.metric-card span {
  color: #9e9e9e;
  font-size: 13px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: #252525;
  font-size: 24px;
}

.metric-card .negative {
  color: var(--red);
}

.metric-card .positive {
  color: var(--green);
}

.bet-card {
  margin-top: 14px;
  overflow: hidden;
}

.bet-card-head {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  background: linear-gradient(98deg, #e9c5a4 15%, rgba(233, 197, 164, 0) 77%);
  font-size: 13px;
  font-weight: 600;
}

.bet-card-body {
  padding: 14px;
}

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

.bet-option {
  min-height: 46px;
  border: 1px solid #9e9e9e;
  border-radius: 4px;
  background: #fff;
  color: #777;
  font-size: 12px;
}

.bet-option strong {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 13px;
}

.bet-option.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.bet-option.active strong {
  color: #fff;
}

.event-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 50px;
}

.event-tabs button {
  background: transparent;
  color: #252525;
  font-size: 13px;
  font-weight: 500;
}

.event-tabs button.active {
  color: var(--gold);
}

.rules-intro {
  margin-bottom: 13px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.rule-card {
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rule-title {
  padding: 10px 14px;
  background: linear-gradient(180deg, #e9c5a4 15%, rgba(233, 197, 164, 0) 93%);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.rule-copy {
  padding: 8px 14px 16px;
  color: #4d4e51;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-line;
}

.chat-page {
  display: flex;
  height: calc(100vh - 44px);
  flex-direction: column;
  background: #eef0f3;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.chat-bubble {
  width: fit-content;
  max-width: 78%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 0 10px 10px;
  background: #fff;
  color: #252525;
  font-size: 14px;
  line-height: 1.45;
}

.chat-bubble.me {
  margin-left: auto;
  border-radius: 10px 0 10px 10px;
  background: #5ae66d;
}

.chat-time {
  display: block;
  margin-top: 4px;
  color: #909193;
  font-size: 10px;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 8px;
  min-height: 70px;
  padding: 10px;
  background: #fff;
}

.chat-input textarea {
  min-height: 48px;
  padding: 9px;
  border: 1px solid #dadbde;
  border-radius: 4px;
  outline: 0;
  resize: none;
}

.chat-input button {
  border-radius: 4px;
  background: #f4c9a1;
  color: #252525;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 7px;
  margin-bottom: 10px;
}

.search-bar input {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 20px;
  outline: 0;
  background: #fff;
}

.search-bar button {
  background: transparent;
  font-size: 13px;
}

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

.pg-card {
  position: relative;
  min-height: 112px;
  padding: 15px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 34, 40, 0.08);
}

.pg-card::before {
  position: absolute;
  right: -16px;
  top: -19px;
  content: "";
  width: 80px;
  height: 80px;
  border: 10px double #e8c6a6;
  border-radius: 50%;
}

.pg-card strong,
.pg-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.pg-card span {
  margin-top: 6px;
  color: #a0a1a4;
  font-size: 11px;
}

.favorite-button {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff4e8;
  color: #b58559;
  font-size: 17px;
}

.favorite-button.active {
  background: #b58559;
  color: #fff;
}

.pg-stage,
.battle-stage {
  display: flex;
  min-height: calc(100vh - 70px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #1e2024;
  color: #fff;
  text-align: center;
}

.loader-ring {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #f4c9a1;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

.promotion-table {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.promotion-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  min-height: 43px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: center;
}

.promotion-row:first-child {
  background: linear-gradient(180deg, #ffe3ca, #e9c5a4);
  font-weight: 600;
}

.promotion-row:last-child {
  border-bottom: 0;
}

.business-panel {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 56px 25px;
  background: #212327;
  color: #fff;
  text-align: center;
}

.business-panel::before {
  position: absolute;
  left: 50%;
  top: 52%;
  content: "";
  width: 230px;
  height: 230px;
  border: 18px double rgba(244, 201, 161, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.business-panel > * {
  position: relative;
  z-index: 1;
}

.business-panel h2 {
  font-size: 27px;
}

.business-panel h3 {
  margin-top: 9px;
  color: #f4c9a1;
  font-size: 20px;
}

.business-panel p {
  margin-top: 20px;
  color: #d0d1d3;
  font-size: 13px;
}

.business-panel .primary-button {
  margin-top: 150px;
}

.upload-box {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 2px;
  background: #f4f5f7;
  color: #909193;
  font-size: 24px;
}

.upload-box small {
  display: block;
  font-size: 10px;
}

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

.account-type {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #555;
}

.account-type.active {
  border-color: var(--gold);
  background: #fffaf5;
}

.account-type span:first-child {
  color: #aa7750;
  font-size: 23px;
}

.modal-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.48);
}

.modal {
  width: min(100%, 360px);
  max-height: 82vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}

.modal h2 {
  font-size: 17px;
  text-align: center;
}

.modal p {
  margin-top: 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.sms-captcha-modal {
  width: min(100%, 340px);
  border-radius: 8px;
}

.sms-captcha-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.captcha-preview-row {
  display: grid;
  grid-template-columns: minmax(0, 200px) 44px;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

.captcha-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border: 1px solid #d8dbe0;
  border-radius: 5px;
  background: #fff;
  object-fit: contain;
}

.captcha-refresh-button {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 100px;
  border: 1px solid #d8dbe0;
  border-radius: 5px;
  background: #fff;
  color: #7b5534;
  font-size: 24px;
}

.captcha-refresh-button:disabled {
  color: #a5a8ad;
  cursor: wait;
}

.sms-captcha-form .field-label {
  text-align: left;
}

.sms-captcha-form .modal-actions {
  margin-top: 0;
}

body.single-bet-open {
  overflow: hidden;
}

.single-bet-layer {
  right: auto;
  left: 50%;
  display: flex;
  width: min(100%, 420px);
  padding: 0;
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .58);
  container-type: inline-size;
}

.single-bet-sheet {
  width: 100%;
  max-height: calc(100vh - 18px);
  max-height: calc(100dvh - 18px);
  overflow-y: auto;
  border-radius: 4cqw 4cqw 0 0;
  outline: none;
  background: #202a39;
  color: #20262e;
  box-shadow: 0 -14px 44px rgba(8, 13, 22, .28);
  overscroll-behavior: contain;
}

.single-bet-layer button:disabled {
  opacity: 1;
  -webkit-text-fill-color: currentColor;
}

.single-bet-header {
  display: flex;
  height: 14.7cqw;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.7cqw 0 4.2cqw;
  color: #fff;
}

.single-bet-header h2 {
  color: #fff;
  font-size: 3.8cqw;
  font-weight: 700;
  line-height: 1.3;
}

.single-bet-balance {
  display: flex;
  min-width: 24.2cqw;
  height: 9.4cqw;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 1.7cqw;
  padding: 0 3cqw;
  border-radius: 6cqw;
  background: #35404c;
  color: #fff;
  font-size: 3.8cqw;
  font-weight: 600;
  white-space: nowrap;
}

.single-bet-balance svg {
  width: 3.4cqw;
  min-width: 14px;
  height: 3.4cqw;
}

.single-bet-balance.is-refreshing svg {
  animation: single-bet-spin .7s linear infinite;
}

.single-bet-body {
  padding: 2.6cqw 2.7cqw max(3.9cqw, env(safe-area-inset-bottom));
  border-radius: 4cqw 4cqw 0 0;
  background: #f5f7fa;
}

.single-bet-ticket {
  display: grid;
  min-height: 25cqw;
  grid-template-columns: minmax(0, 1fr) 24cqw;
  overflow: hidden;
  border-radius: 2.8cqw;
  background: #fff;
}

.single-bet-ticket-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 3.4cqw 2.6cqw;
}

.single-bet-ticket-main p,
.single-bet-ticket-main small {
  overflow: hidden;
  color: #96989b;
  font-size: 3.2cqw;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-bet-ticket-main strong {
  margin-top: auto;
  padding-top: 3.8cqw;
  overflow: hidden;
  color: #20262e;
  font-size: 3.6cqw;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-bet-ticket-odds {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2.5cqw 3.2cqw 2.6cqw 1cqw;
  border-left: .2cqw dashed #f5f7fa;
}

.single-bet-ticket-odds::before,
.single-bet-ticket-odds::after {
  position: absolute;
  left: -1.2cqw;
  width: 2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  background: #f5f7fa;
  content: "";
}

.single-bet-ticket-odds::before { top: -1.2cqw; }
.single-bet-ticket-odds::after { bottom: -1.2cqw; }

.single-bet-barcode {
  width: 12cqw;
  height: 3.1cqw;
  background: repeating-linear-gradient(90deg, #22252e 0 1cqw, transparent 1cqw 1.5cqw, #22252e 1.5cqw 3.2cqw, transparent 3.2cqw 3.8cqw, #22252e 3.8cqw 4.1cqw, transparent 4.1cqw 4.6cqw);
}

.single-bet-ticket-odds > span:nth-child(2) {
  width: 100%;
  margin-top: 2.7cqw;
  overflow: hidden;
  color: #92959b;
  font-size: 3.9cqw;
  font-weight: 600;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-bet-ticket-odds strong {
  color: #20262e;
  font-size: 5.3cqw;
  font-weight: 700;
  line-height: 1;
}

.single-bet-amount-row {
  display: grid;
  height: 12cqw;
  min-height: 45px;
  grid-template-columns: minmax(0, 1fr) 21.8cqw;
  gap: 2.6cqw;
  margin-top: 2.6cqw;
}

.single-bet-amount-field {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 2.6cqw;
  border: .4cqw solid #ca0d28;
  border-radius: 2.7cqw;
  background: #fff;
}

.single-bet-amount-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #20262e;
  font-size: 4.8cqw;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.single-bet-amount-field input::placeholder {
  color: #8c9098;
  font-size: 4cqw;
  font-weight: 500;
  opacity: 1;
}

.single-bet-amount-field button {
  display: grid;
  width: 3.8cqw;
  min-width: 15px;
  height: 3.8cqw;
  place-items: center;
  border-radius: 50%;
  background: #9699a1;
  color: #fff;
  font-size: 3.5cqw;
  line-height: 1;
}

.single-bet-reserve {
  border-radius: 2.8cqw;
  background: #fff;
  color: #20262e;
  font-size: 3.7cqw;
  font-weight: 700;
}

.single-bet-keypad {
  display: grid;
  max-height: 56cqw;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.6cqw;
  margin-top: 2.6cqw;
  overflow: hidden;
  transition: max-height .2s ease, margin-top .2s ease, opacity .2s ease;
}

.single-bet-keypad button {
  display: grid;
  height: 12cqw;
  min-height: 45px;
  place-items: center;
  border-radius: 2.8cqw;
  background: #fff;
  color: #20262e;
  font-size: 5.2cqw;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.single-bet-keypad button:active {
  background: #e8ebef;
}

.single-bet-keypad .is-max {
  color: #e0000a;
  font-size: 5.5cqw;
}

.single-bet-delete span {
  color: #20262e;
  font-size: 6.2cqw;
  font-weight: 800;
  line-height: 1;
}

.single-bet-hide span {
  color: #20262e;
  font-size: 8cqw;
  font-weight: 500;
  line-height: .6;
  transform: translateY(-.6cqw);
}

.single-bet-sheet.is-keypad-hidden .single-bet-keypad {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
}

.single-bet-footer {
  display: grid;
  grid-template-columns: 21.8cqw minmax(0, 1fr);
  gap: 2.6cqw;
  margin-top: 2.6cqw;
}

.single-bet-footer > button:first-child {
  height: 13.4cqw;
  min-height: 50px;
  border-radius: 2.8cqw;
  background: #3d3e3e;
  color: #aaa;
  font-size: 3.8cqw;
  font-weight: 700;
}

.single-bet-submit {
  display: flex;
  min-width: 0;
  height: 13.4cqw;
  min-height: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7cqw;
  border-radius: 2.8cqw;
  background: #ed7b8c;
  color: #fff;
}

.single-bet-submit.is-ready {
  background: #d90020;
}

.single-bet-submit strong {
  font-size: 4.4cqw;
  font-weight: 700;
  line-height: 1;
}

.single-bet-submit span {
  max-width: 100%;
  overflow: hidden;
  padding: 0 2cqw;
  color: #fffdf5;
  font-size: 3.2cqw;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-bet-submit:disabled {
  cursor: default;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes single-bet-spin {
  to { transform: rotate(360deg); }
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 80px;
  max-width: min(80vw, 330px);
  padding: 11px 18px;
  border-radius: 4px;
  background: rgba(40, 40, 40, 0.9);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
  animation: toast-in 0.18s ease-out;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 7px);
  }
}

.local-note {
  margin: 12px 0;
  padding: 9px 11px;
  border-left: 3px solid var(--gold);
  background: #fffaf5;
  color: #76583e;
  font-size: 11px;
  line-height: 1.55;
}

.contact-card {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:last-child {
  border-bottom: 0;
}

.contact-method span {
  color: #777;
  font-size: 12px;
}

.hero-note {
  padding: 16px 18px;
  border-radius: 8px;
  background: #f0d0b2;
  color: #4d3928;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 450px) {
  :root,
  body {
    background: var(--page);
  }

  #app {
    box-shadow: none;
  }
}

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

  .account-tools {
    gap: 10px;
  }

  .category-layout {
    grid-template-columns: 61px minmax(0, 1fr);
  }

  .category-tab {
    width: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Ice client home shell, matched to the supplied mobile reference. */
:root {
  --ice-blue: #179cff;
  --ice-blue-soft: #80c8ff;
  --ice-navy: #182f59;
  --ice-copy: #4e7196;
  --ice-page: #e5f6ff;
}

body {
  background:
    radial-gradient(at 12% 12%, rgba(255, 255, 255, 0.86), transparent 56%) fixed,
    radial-gradient(at 0 78%, rgba(153, 192, 235, 0.18), transparent 54%) fixed,
    linear-gradient(155deg, #f1f7fc 0%, #f7fafe 38%, #eef4fc 72%, #eaf0f9 100%) fixed;
}

#app {
  background: var(--ice-page);
}

[data-view="home"] {
  min-height: 100vh;
  overflow: visible;
  color: var(--ice-navy);
  background: var(--ice-page);
}

[data-view="home"] .page-main.no-bar {
  min-height: 100vh;
  padding: 0 0 calc(83px + env(safe-area-inset-bottom));
  overflow: visible;
  background: var(--ice-page);
}

.frozen-hub-action:active,
.frozen-game-card:active {
  transform: scale(0.97);
}

.frozen-home-header {
  display: flex;
  height: 47px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px 3px;
}

.frozen-brand {
  display: flex;
  width: 118px;
  height: 36px;
  min-width: 0;
  align-items: center;
  padding: 0;
  background: transparent;
}

.frozen-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 31px;
  object-fit: contain;
  object-position: left center;
}

.frozen-header-actions {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.frozen-site-label {
  overflow: hidden;
  color: #8998ad;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.frozen-message-button {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  background: transparent;
}

.frozen-message-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.frozen-home-banner {
  position: relative;
  width: 100%;
  height: 151px;
  overflow: hidden;
}

.frozen-banner-track,
.frozen-home-banner .banner-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.frozen-home-banner .banner-link {
  visibility: hidden;
  padding: 0 6px;
  opacity: 0;
  background: transparent;
  transition: opacity 0.4s ease;
}

.frozen-home-banner .banner-link.active {
  visibility: visible;
  opacity: 1;
}

.frozen-home-banner .banner-link img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.frozen-banner-dots {
  position: absolute;
  z-index: 3;
  bottom: 2px;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
}

.frozen-banner-dots button {
  width: 6px;
  height: 3px;
  margin: 0 1px;
  padding: 0;
  border-radius: 3px;
  opacity: 0.5;
  background: var(--ice-blue);
  transition: width 0.4s ease, opacity 0.4s ease;
}

.frozen-banner-dots button.active {
  width: 13px;
  opacity: 1;
}

.frozen-account-hub {
  position: relative;
  isolation: isolate;
  width: calc(100% - 20px);
  height: 128px;
  min-height: 128px;
  margin: 0 10px 4px;
  padding: 5px 14px 7px;
  color: var(--ice-navy);
}

.frozen-hub-base {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.frozen-account-hub button {
  padding: 0;
  color: inherit;
  background: transparent;
}

.frozen-hub-notice {
  display: flex;
  width: 100%;
  height: 33px;
  align-items: center;
  gap: 9px;
  color: #4e678f;
  border-bottom: 1px solid #d5e7f8;
  border-radius: 6px 6px 0 0;
}

.frozen-hub-notice > img {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.frozen-hub-notice > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.frozen-hub-notice > b {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
}

.frozen-hub-main {
  display: grid;
  min-height: 84px;
  grid-template-columns: 37% minmax(0, 1fr);
  align-items: center;
}

.frozen-hub-account {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 65px;
  padding-right: 7px !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid #d1e4f6;
  border-radius: 5px 0 0 5px;
}

.frozen-hub-account strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--ice-navy);
  font-size: 15px;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.frozen-hub-account > span {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--ice-copy);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.frozen-hub-account b {
  font-size: 17px;
  font-weight: 400;
}

.frozen-hub-actions {
  display: grid;
  height: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 2px;
  padding: 3px 0 10px 8px;
  margin-right: -4px;
}

.frozen-hub-action {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.frozen-hub-action img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.frozen-hub-action span {
  color: var(--ice-navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  white-space: nowrap;
}

.frozen-game-layout {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0 1.8% 0 1%;
  overflow: visible;
}

.frozen-category-tabs {
  position: relative;
  display: flex;
  flex: 0 0 64px;
  width: 64px;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.frozen-category-tabs::-webkit-scrollbar,
.frozen-game-stage::-webkit-scrollbar {
  display: none;
}

.frozen-category-tab {
  position: relative;
  display: block;
  flex: 0 0 58px;
  width: 56px;
  height: 58px;
  margin: 0 0 5px;
  padding: 0;
  color: var(--ice-copy);
  background: transparent;
  border-radius: 8px;
}

.frozen-category-tile,
.frozen-category-selected {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.frozen-category-selected {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.frozen-category-tab.active .frozen-category-selected {
  opacity: 1;
}

.frozen-category-tab:not(.active) .frozen-category-tile {
  filter: saturate(0.4) brightness(1.06);
}

.frozen-category-icon {
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: 2;
  width: 68%;
  aspect-ratio: 1;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.frozen-category-tab.active .frozen-category-icon {
  transform: translate(-50%, -50%) scale(1.06);
}

.frozen-category-tab > span {
  position: absolute;
  top: 78%;
  left: 0;
  z-index: 2;
  width: 100%;
  color: var(--ice-copy);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
}

.frozen-category-tab.active > span {
  color: #fff;
}

.frozen-game-stage {
  width: calc(100% - 64px);
  margin-left: 1%;
  overflow-x: hidden;
  overflow-y: visible;
  overscroll-behavior: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.frozen-game-category {
  width: 100%;
  scroll-margin-top: 0;
}

.frozen-game-category:last-child {
  min-height: 0;
}

.frozen-game-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 590 / 240;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  color: #132a42;
  text-align: left;
  background: transparent;
  border-radius: 14px;
  transition: filter 0.16s ease, transform 0.16s ease;
}

.frozen-game-card::after {
  position: absolute;
  inset: 1.5% 0.75%;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 8%, rgba(255, 255, 255, 0.98) 40%, transparent 90%) top center / 82% 1px no-repeat,
    linear-gradient(100deg, transparent 8%, rgba(88, 192, 255, 0.78) 52%, transparent 92%) bottom center / 88% 1px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.95), 0 0 2px rgba(255, 255, 255, 0.4);
}

.frozen-game-card-hidden {
  visibility: hidden;
  pointer-events: none;
}

.frozen-game-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.frozen-game-cover-title {
  position: absolute;
  top: 50%;
  left: 7%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  color: #fff;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(19, 10, 5, 0.86), 0 0 10px rgba(191, 116, 32, 0.72);
}

.frozen-game-cover-title strong {
  color: #ffd988;
  font-size: 24px;
  font-weight: 900;
}

.frozen-game-cover-title small {
  margin-top: 7px;
  color: #fff3d2;
  font-size: 10px;
  font-weight: 700;
}

.frozen-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 60;
  display: flex;
  width: min(100%, 420px);
  height: calc(75px + env(safe-area-inset-bottom));
  padding: 0 12px env(safe-area-inset-bottom);
  justify-content: space-between;
  transform: translateX(-50%);
  background: #f8fcff;
  border-radius: 24px 24px 0 0 / 18px 18px 0 0;
}

.frozen-tabbar-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.frozen-tabbar-item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  height: 72px;
  min-width: 0;
  padding: 6px 0 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
}

.frozen-tabbar-selection {
  position: absolute;
  top: 3px;
  left: 50%;
  width: calc(100% - 16px);
  max-width: 72px;
  height: calc(100% + 1px);
  transform: translateX(-50%);
  pointer-events: none;
}

.frozen-tabbar-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.frozen-tabbar-icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.16s ease;
}

.frozen-tabbar-icon .selected,
.frozen-tabbar-item.active .idle {
  opacity: 0;
}

.frozen-tabbar-item.active .selected {
  opacity: 1;
}

.frozen-tabbar-label {
  position: relative;
  z-index: 1;
  width: 100%;
  color: #426b98;
  font-size: 12px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
  pointer-events: none;
}

.frozen-tabbar-item.active .frozen-tabbar-label {
  color: #0575f3;
}

.frozen-message-button:focus-visible,
.frozen-account-hub button:focus-visible,
.frozen-category-tab:focus-visible,
.frozen-game-card:focus-visible,
.frozen-tabbar-item:focus-visible {
  outline: 2px solid #1679c9;
  outline-offset: -2px;
}

@media (max-width: 360px) {
  .frozen-account-hub {
    margin-right: 8px;
    margin-left: 8px;
    width: calc(100% - 16px);
    padding-right: 10px;
    padding-left: 10px;
  }

  .frozen-hub-action img {
    width: 36px;
    height: 36px;
  }

  .frozen-category-tabs {
    flex-basis: 58px;
    width: 58px;
  }

  .frozen-category-tab {
    width: 52px;
  }

  .frozen-game-stage {
    width: calc(100% - 58px);
  }

  .frozen-tabbar-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 451px) {
  #app,
  .frozen-tabbar {
    width: min(480px, 56.2219vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  .frozen-home-banner .banner-link,
  .frozen-banner-dots button,
  .frozen-category-selected,
  .frozen-category-icon,
  .frozen-game-card,
  .frozen-tabbar-icon img {
    transition: none;
  }
}

/* Source-aligned layout and guest-state overrides. */
.bottom-nav {
  width: min(100%, 450px);
}

[data-view="home"] .page-main.no-bar {
  padding-top: 0;
}

.brand-bar {
  position: relative;
  height: 50px;
  padding: 0 20px 0 0;
  overflow: visible;
}

.brand-logo-button {
  width: 100px;
  height: 50px;
  overflow: visible;
}

.brand-logo {
  width: 100px;
  height: 100px;
  max-width: none;
}

.brand-actions {
  gap: 20px;
}

.brand-action {
  width: 25px;
  height: 30px;
}

.brand-action img {
  width: 25px;
  height: 25px;
}

.home-banner,
.banner-track,
.banner-link {
  width: 100%;
  height: 150px;
}

.banner-track {
  position: relative;
}

.banner-link {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.banner-link.active {
  visibility: visible;
  opacity: 1;
}

.home-banner .dots {
  bottom: 7px;
  gap: 5px;
}

.home-banner .dots button,
.home-banner .dots button.active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: none;
}

.home-banner .dots button.active {
  background: #000;
}

.notice-row {
  margin: 5px 0;
  color: #000;
}

.notice-row strong {
  color: #000;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 17px;
}

.account-strip {
  height: 45px;
  min-height: 45px;
  margin-bottom: 5px;
  padding: 4px 10px;
}

.account-strip > .plain-action {
  padding: 0;
  color: #252525;
  text-align: left;
}

.balance-line,
.profile-balance strong,
.wallet-card strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inline-reload {
  width: 18px;
  height: 18px;
  cursor: pointer;
  object-fit: contain;
}

.inline-reload.refreshing {
  animation: balance-refresh-spin 0.7s linear infinite;
}

@keyframes balance-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.category-layout {
  grid-template-columns: 72px minmax(0, 1fr);
  height: 353px;
  min-height: 353px;
  overflow: hidden;
}

.category-tabs {
  width: 72px;
  padding: 2px 10px 0 2px;
}

.category-tab img {
  width: 30px;
  height: 40px;
  padding-top: 10px;
}

.category-tab.active img {
  width: 45px;
  height: 45px;
  padding-top: 0;
}

.game-stage {
  height: 353px;
  padding-left: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.game-stage::-webkit-scrollbar {
  display: none;
}

.game-category {
  scroll-margin-top: 0;
}

.game-category:last-child {
  min-height: 353px;
}

.game-card {
  width: 310px;
  max-width: 100%;
  height: 118px;
  margin-bottom: 15px;
}

.auth-page .form-stack:first-child {
  margin-top: 25px;
}

.profile-head {
  min-height: 80px;
  height: 80px;
  margin: 0 0 10px;
  padding: 15px 0 0;
  align-items: flex-start;
  gap: 0;
  background: transparent;
}

.profile-avatar-button {
  display: block;
  position: relative;
  width: 65px;
  height: 65px;
  flex: none;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  overflow: visible;
}

.profile-avatar-control,
.settings-avatar-control {
  position: relative;
  flex: none;
}

.avatar-file-input {
  display: none;
}

.avatar-edit-mark {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2485dd;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.avatar-trigger.is-uploading::after {
  position: absolute;
  inset: 7px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  background: rgba(20, 34, 48, 0.38);
  content: "";
  animation: avatar-upload-spin 0.75s linear infinite;
}

@keyframes avatar-upload-spin {
  to { transform: rotate(360deg); }
}

.profile-avatar {
  width: 65px;
  height: 65px;
}

.profile-copy.plain-action {
  flex: none;
  margin-left: 10px;
  padding-left: 0;
  color: #252525;
  text-align: left;
}

.profile-copy.plain-action strong {
  width: auto;
  font-size: 18px;
  line-height: 25px;
}

.profile-message-actions {
  display: flex;
  gap: 0;
  align-items: center;
  margin-left: auto;
}

.profile-message-actions button {
  width: auto;
  height: 30px;
  margin-right: 20px;
  padding: 0;
  background: transparent;
}

.profile-message-actions img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.profile-balance {
  height: 60px;
  min-height: 60px;
  padding: 8px 10px;
}

.profile-balance strong {
  display: flex;
  align-items: center;
  width: auto;
  height: 25px;
  color: #000;
  font-size: 18px;
  line-height: 25px;
}

.profile-balance .helper-text {
  color: #000;
  font-size: 12px;
  line-height: 16.5px;
}

.profile-balance .inline-reload {
  margin-left: 10px;
}

.profile-wallet {
  width: 45px;
  height: 45px;
}

.feature-grid {
  display: flex;
  justify-content: space-between;
  padding: 7.5px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.feature-grid .feature-menu {
  width: auto;
  min-height: 0;
  padding: 0;
  gap: 0;
  color: #252525;
  font-size: 12px;
  font-weight: 500;
  line-height: 16.5px;
}

.feature-grid .feature-menu:first-child {
  padding-left: 15px;
}

.feature-grid .feature-menu:last-child {
  padding-right: 15px;
}

.menu-grid:not(.feature-grid) {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin-bottom: 150px;
  border-radius: 15px;
}

.menu-grid:not(.feature-grid) .menu-item {
  width: 21%;
  min-height: 0;
  margin: 6.5px;
  padding: 0;
  justify-content: flex-start;
  gap: 5.5px;
  color: #252525;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
}

.menu-icon-image {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.help-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  color: #252525;
}

.help-contact span,
.help-contact span button {
  display: flex;
  align-items: center;
}

.help-contact > button {
  flex: none;
  background: transparent;
  color: #252525;
  text-decoration: underline;
}

.help-contact span button {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  padding: 2px;
  background: transparent;
}

.help-contact img {
  width: 100%;
  height: 100%;
}

.empty-image {
  width: 160px;
  height: 120px;
}

[data-view="billiards-info"] .page-main {
  padding: 12px 10px 42px;
  background: #f2f4f7;
}

.match-head-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #24272c;
  box-shadow: 0 10px 24px rgba(32, 35, 40, 0.18);
  color: #fff;
}

.match-head-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  content: "";
  height: 3px;
  background: #d4aa7d;
}

.match-head-top {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.match-league {
  min-width: 0;
  overflow: hidden;
  color: #f1f2f3;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-status {
  display: inline-flex;
  min-height: 24px;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e4e7;
  font-size: 11px;
  font-weight: 600;
}

.match-status i,
.match-head-actions p i {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #e1b68a;
  box-shadow: 0 0 0 3px rgba(225, 182, 138, 0.12);
}

.match-head-live .match-status i,
.match-head-live .match-head-actions p i {
  background: #42c59a;
  box-shadow: 0 0 0 3px rgba(66, 197, 154, 0.13);
}

.match-contest {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  min-height: 144px;
  align-items: center;
  padding: 18px 12px 16px;
}

.match-team {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #f1d2b3;
  color: #49331f;
  font-family: "STKaiti", "KaiTi", "PingFang SC", sans-serif;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

.match-team-away .team-mark {
  background: #d9e5e2;
  color: #23443d;
}

.match-team strong {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  margin-top: 9px;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.match-team small {
  margin-top: 2px;
  color: #8f949c;
  font-size: 10px;
}

.match-versus {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.match-versus > small {
  max-width: 88px;
  overflow: hidden;
  color: #d3b28f;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-versus > strong {
  display: flex;
  min-height: 45px;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.match-versus > strong span {
  color: #d2aa80;
  font-size: 20px;
}

.match-versus > span {
  display: flex;
  flex-direction: column;
  color: #868b93;
  font-size: 9px;
  line-height: 16px;
}

.match-versus > span b {
  color: #d8dadd;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.match-head-actions {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #202328;
}

.match-record-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #f2f3f4;
  font-size: 12px;
  font-weight: 600;
}

.match-record-button > span {
  position: relative;
  width: 14px;
  height: 16px;
  border: 1px solid #cda77e;
  border-radius: 2px;
}

.match-record-button > span::before,
.match-record-button > span::after {
  position: absolute;
  left: 3px;
  content: "";
  width: 6px;
  height: 1px;
  background: #cda77e;
  box-shadow: 0 4px #cda77e;
}

.match-record-button > span::before {
  top: 4px;
}

.match-head-actions p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aeb2b8;
  font-size: 11px;
}

[data-view="billiards-info"] .details-wallet {
  height: 70px;
  min-height: 70px;
  margin: 10px 0 0;
  padding: 10px 13px;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(34, 39, 45, 0.06);
}

[data-view="billiards-info"] .details-wallet .wallet-image {
  width: 40px;
  height: 40px;
}

[data-view="billiards-info"] .details-wallet .wallet-copy strong {
  color: #272a2f;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

[data-view="billiards-info"] .details-wallet .wallet-copy > span {
  color: #898e96;
  font-size: 11px;
}

[data-view="billiards-info"] .details-wallet .mini-tool {
  min-width: 54px;
  height: 48px;
  padding-left: 12px;
  border-left: 1px solid #eceef0;
}

[data-view="billiards-info"] .details-wallet .mini-tool img {
  width: 30px;
  height: 30px;
  margin: 0 auto;
}

[data-view="billiards-info"] .details-wallet .mini-tool span {
  margin-top: 1px;
  color: #595d63;
  font-size: 10px;
}

.details-section-title {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  color: #25282d;
  font-size: 16px;
  font-weight: 800;
}

.details-section-title > span {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: #c99968;
}

.details-section-title small {
  min-height: 23px;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 4px;
  background: #e8eaed;
  color: #6e737a;
  font-size: 10px;
  font-weight: 600;
  line-height: 23px;
}

.match-data-card {
  overflow: hidden;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(34, 39, 45, 0.07);
}

.match-data-score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  min-height: 144px;
  align-items: center;
  padding: 18px 12px;
  border-bottom: 1px solid #eceef1;
  background: #fff;
}

.score-team {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.score-team-away {
  align-items: flex-end;
  text-align: right;
}

.score-team > span {
  min-height: 20px;
  padding: 0 7px;
  border-radius: 3px;
  background: #f4e7d9;
  color: #835f3d;
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
}

.score-team-away > span {
  background: #e2efec;
  color: #3d7165;
}

.score-team > strong {
  width: 100%;
  min-height: 38px;
  margin-top: 9px;
  color: #31343a;
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  overflow-wrap: anywhere;
}

.score-team > b {
  margin-top: 6px;
  color: #181a1e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 40px;
}

.score-center {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.score-center > span,
.score-center > small {
  color: #a0a4aa;
  font-size: 9px;
}

.score-center > strong {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 7px 0;
  place-items: center;
  border: 1px solid #e2d3c4;
  border-radius: 50%;
  background: #faf7f3;
  color: #a4774d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

.match-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 73px;
  align-items: stretch;
  padding: 10px 0;
  background: #f8f9fa;
}

.match-facts > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-left: 1px solid #e4e6e9;
  text-align: center;
}

.match-facts > div:first-child {
  border-left: 0;
}

.match-facts span {
  color: #9a9ea5;
  font-size: 9px;
}

.match-facts strong {
  max-width: 100%;
  margin-top: 5px;
  overflow: hidden;
  color: #3e4248;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  overflow-wrap: anywhere;
}

.match-note {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #eceef1;
  color: #686d74;
  font-size: 11px;
  line-height: 18px;
}

.match-note span {
  flex: none;
  color: #9a704a;
  font-weight: 700;
}

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

.market-card {
  overflow: hidden;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(34, 39, 45, 0.06);
}

.market-card > header {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid #eceef1;
}

.market-card > header div {
  min-width: 0;
}

.market-card > header div > span,
.market-card > header div > strong {
  display: block;
}

.market-card > header div > span {
  color: #b07d4f;
  font-size: 9px;
  font-weight: 800;
}

.market-card > header div > strong {
  margin-top: 3px;
  overflow: hidden;
  color: #2d3035;
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-status {
  flex: none;
  color: #999da3;
  font-size: 10px;
  font-weight: 600;
}

.market-status.is-open {
  color: #27856e;
}

.market-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: #f8f9fa;
}

.odds-option {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #e0e3e7;
  border-radius: 5px;
  background: #fff;
  color: #484c52;
  text-align: left;
}

.odds-option span {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odds-option strong {
  flex: none;
  color: #b1733e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.odds-option:not(:disabled):active {
  border-color: #c99b6f;
  background: #fff8f0;
  transform: translateY(1px);
}

.odds-option:disabled {
  cursor: default;
  opacity: 1;
}

.odds-stopped {
  display: flex;
  min-height: 132px;
  padding: 22px 15px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(34, 39, 45, 0.06);
  color: #969aa1;
  font-size: 11px;
}

.odds-empty-mark {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 3px;
  place-items: center;
  border: 1px solid #e4d1bf;
  border-radius: 50%;
  background: #faf6f1;
  color: #b07d4f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}

.odds-stopped strong {
  color: #3b3f45;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 350px) {
  .match-contest {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    padding-inline: 8px;
  }

  .team-mark {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .match-data-score {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    padding-inline: 8px;
  }

  .match-facts > div {
    padding-inline: 4px;
  }
}

.guest-message-panel {
  height: 80vh;
  padding: 40px 15px 15px;
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

.guest-message-panel .plain-action {
  padding: 0;
  color: #8d8d8d;
}

.settings-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 120px;
  padding: 15px;
  background: #fff;
}

.settings-avatar-button {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  overflow: visible;
}

.settings-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-empty-row {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #f5f5f5;
}

.square-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 50px;
}

.square-tile {
  display: flex;
  width: 42%;
  height: 112.5px;
  padding: 0 0 20px 20px;
  align-items: flex-end;
  background-color: transparent;
  background-position: center;
  background-size: 100% 100%;
}

.square-tile.wide {
  width: 100%;
  height: 150px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 28px;
  height: 28px;
  margin-left: -11px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.competition-frame {
  min-height: calc(100vh - 94px);
  background: #fff;
}

.competition-reload {
  position: absolute;
  z-index: 4;
  bottom: 60px;
  left: 0;
  width: 100%;
  padding: 4px;
  background: transparent;
  font-size: 10px;
  text-align: center;
  text-decoration: underline;
}

.business-panel {
  min-height: calc(100vh - 94px);
  padding: 95px 15px 50px;
  background: transparent;
  color: #fff;
}

.business-headline h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.business-headline p {
  margin-top: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.business-contact {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 80px;
  gap: 10px;
  min-height: 95px;
  align-items: center;
  margin-top: 50px;
  padding: 15px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
  color: #252525;
  text-align: left;
}

.business-contact .business-avatar {
  width: 50px;
  height: 50px;
  margin: 0;
  border: 0;
}

.business-contact strong,
.business-contact span {
  display: block;
}

.business-contact strong {
  font-size: 13px;
  font-weight: 500;
}

.business-contact div > span {
  margin-top: 4px;
  color: #9e9e9e;
  font-size: 12px;
}

.business-contact > button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  background: transparent;
  font-size: 12px;
}

[data-view="battle"] .page-main {
  height: var(--visual-viewport-height);
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.battle-stage {
  width: 450px;
  max-width: none;
  height: var(--visual-viewport-height);
  min-height: 0;
  margin-left: -15px;
}

.battle-loading-image {
  width: 450px;
  height: 100%;
}

.first-recharge-hero {
  display: flex;
  width: 100%;
  margin-top: 25px;
  flex-direction: column;
  align-items: center;
}

.first-recharge-title {
  margin-top: 0;
}

.first-recharge-visual {
  margin: 0;
}

/* DOM-measured source states for routes whose APIs currently return no data. */
.source-wallet-card {
  height: 75px;
  min-height: 75px;
  margin-bottom: 15px;
  padding: 0 10px;
  justify-content: flex-start;
}

.source-wallet-card .wallet-image {
  width: 45px;
  height: 45px;
  margin-right: 7.5px;
}

.source-wallet-card .wallet-copy {
  width: 48px;
  flex: none;
}

.source-wallet-card .wallet-empty-balance {
  box-sizing: content-box;
  width: 48px;
  height: 25px;
  padding-bottom: 5px;
  justify-content: center;
}

.source-wallet-card .wallet-empty-balance .inline-reload {
  width: 25px;
  height: 25px;
}

.source-wallet-card .wallet-copy > span {
  width: 48px;
  margin: 0;
  color: #000;
  font-size: 12px;
  line-height: 16.5px;
}

.source-channel-card {
  width: 400px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.source-channel-card-recharge {
  height: 108.5px;
  padding: 15px 15px 30px;
}

.source-channel-card-withdraw {
  min-height: 65px;
  height: auto;
  margin-top: 10px;
  padding: 15px 15px 30px;
}

.source-channel-head {
  display: flex;
  width: 370px;
  height: 20px;
  align-items: center;
  justify-content: space-between;
}

.source-channel-head h2,
.source-field-label {
  color: #252525;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.source-channel-head h2 span,
.source-field-label span {
  color: red;
}

.source-channel-head .plain-action {
  height: 18.5px;
  padding: 0;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 18.5px;
  text-decoration: underline;
}

.source-channel-closed {
  display: flex;
  width: 370px;
  height: 28.5px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 5px;
  border: 1px solid rgba(158, 158, 158, 0.4);
  border-radius: 7.5px;
  color: red;
  font-size: 12px;
  font-weight: 600;
}

.source-recharge-form {
  display: block;
  height: 453.5px;
  margin: 0;
}

.source-field-card {
  display: block;
  width: 400px;
  height: 101.5px;
  margin-top: 15px;
  padding: 15px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.source-field-label {
  display: block;
  width: 370px;
  height: 20px;
  margin-bottom: 15px;
}

.source-field-card input {
  display: block;
  width: 370px;
  height: 36.5px;
  padding: 6px 9px;
  border: 0;
  border-bottom: 0.5px solid #dadbde;
  border-radius: 0;
  color: #303133;
  font-size: 15px;
  line-height: 24px;
  outline: 0;
}

.source-field-card input::placeholder {
  color: #c0c4cc;
  opacity: 1;
}

.source-warning {
  width: 400px;
  min-height: 18px;
  margin-top: 15px;
  color: #f5a43b;
  font-size: 12px;
  line-height: 18px;
}

.source-upload-card {
  height: 105px;
}

.source-upload-card button {
  display: flex;
  width: 370px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 3px;
  background: #fff;
  color: #323233;
  font-size: 14px;
  line-height: 20px;
}

.source-upload-warning {
  height: 34.5px;
  line-height: 17px;
}

.source-submit {
  position: relative;
  display: flex;
  width: 400px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  background: var(--charcoal);
  box-shadow: 0 5px 12px rgba(32, 34, 38, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.source-submit:hover:not(:disabled) {
  background: #34373c;
  box-shadow: 0 7px 16px rgba(32, 34, 38, 0.26);
}

.source-submit:active:not(:disabled) {
  background: #15171a;
  box-shadow: 0 2px 5px rgba(32, 34, 38, 0.24);
  transform: translateY(1px) scale(0.995);
}

.source-submit:focus-visible {
  outline: 3px solid rgba(168, 111, 63, 0.26);
  outline-offset: 2px;
}

.source-submit:disabled {
  border-color: #d7dbe0;
  background: #e4e7eb;
  box-shadow: none;
  color: #8b929b;
  cursor: not-allowed;
  opacity: 1;
}

.source-submit.is-loading:disabled {
  border-color: var(--charcoal);
  background: var(--charcoal);
  box-shadow: 0 2px 5px rgba(32, 34, 38, 0.2);
  color: #fff;
  cursor: wait;
}

.source-submit.is-loading::before {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: source-submit-spin 700ms linear infinite;
}

@keyframes source-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.source-withdraw-form .source-field-card {
  height: 97px;
  margin-top: 10px;
}

.source-withdraw-form .source-field-label {
  margin-bottom: 10px;
}

.source-withdraw-form .source-field-card input {
  height: 37px;
  border: 0.5px solid #dadbde;
  border-radius: 4px;
}

.source-tabs {
  margin: 0;
}

.source-tabs button {
  min-height: 0;
}

.source-history-tabs,
.source-system-tabs {
  height: 40px;
  border-radius: 15px 15px 0 0;
  background: #fff;
}

.source-system-tabs {
  background: transparent;
}

.source-history-empty {
  display: flex;
  width: 400px;
  height: 52.5px;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  background: #fff;
  color: #606266;
  font-size: 13px;
  line-height: 22.5px;
}

.source-history-space {
  width: 400px;
  height: 604.8px;
}

[data-view="square"] .page-main.no-bar {
  padding-top: 0;
}

.source-square-stage {
  width: 400px;
  height: 597.5px;
}

.source-billiards-scroll {
  width: 400px;
  height: 576px;
  overflow-x: hidden;
  overflow-y: auto;
}

.match-load-more {
  display: flex;
  width: calc(100% - 24px);
  min-height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  margin: 12px;
  border: 1px solid #d9dde4;
  border-radius: 6px;
  background: #fff;
  color: #4b5058;
  font-size: 13px;
  font-weight: 700;
}

.match-load-more span {
  color: #8b919a;
  font-size: 10px;
  font-weight: 500;
}

.match-load-more:disabled {
  opacity: .55;
}

[data-view="billiards"] .source-billiards-scroll .empty-state {
  margin-top: 10px;
}

[data-view="messages"] .page-main.no-bar {
  padding-top: 0;
}

[data-view="messages"] .guest-message-panel {
  height: 631px;
}

.source-system-scroll {
  display: flex;
  width: 400px;
  height: 576px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 0 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #606266;
  font-size: 14px;
}

.source-system-scroll.is-empty {
  align-items: center;
  justify-content: center;
  padding-bottom: 48px;
}

.announcement-card {
  position: relative;
  display: block;
  width: 100%;
  flex: none;
  padding: 15px 16px 17px;
  border: 1px solid #e9e2da;
  border-left: 3px solid #b98353;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(61, 47, 35, 0.05);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.announcement-card.is-unread::after {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e44949;
  box-shadow: 0 0 0 3px #fff;
  content: "";
}

.message-list-row.is-unread .row-copy strong::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: #e44949;
  vertical-align: 2px;
  content: "";
}

.announcement-prompt-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  width: min(100%, 420px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  place-items: center;
  background: rgba(24, 27, 32, 0.66);
  backdrop-filter: blur(4px);
}

.announcement-prompt {
  display: flex;
  width: 100%;
  max-width: 372px;
  max-height: calc(100dvh - 40px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.announcement-prompt-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 18px;
  background: #20242a;
  color: #fff;
}

.announcement-prompt-head span {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.announcement-prompt-head button {
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 25px;
  font-weight: 300;
  line-height: 34px;
}

.announcement-prompt-copy {
  min-height: 0;
  padding: 22px 20px 20px;
}

.announcement-prompt-copy strong,
.announcement-prompt-copy time {
  display: block;
}

.announcement-prompt-copy strong {
  overflow-wrap: anywhere;
  color: #25282d;
  font-size: 19px;
  font-weight: 800;
  line-height: 27px;
}

.announcement-prompt-copy time {
  margin-top: 6px;
  color: #8d9299;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 17px;
}

.announcement-prompt-copy p {
  max-height: min(42vh, 300px);
  margin-top: 17px;
  overflow-y: auto;
  overflow-wrap: anywhere;
  color: #50555d;
  font-size: 14px;
  font-weight: 500;
  line-height: 23px;
  white-space: pre-wrap;
}

.announcement-prompt-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 10px;
  padding: 0 20px 20px;
}

.announcement-prompt-actions button {
  min-width: 0;
  height: 42px;
  border: 1px solid #d8dbe0;
  border-radius: 6px;
  background: #f5f6f8;
  color: #4f555d;
  font-size: 13px;
  font-weight: 750;
}

.announcement-prompt-actions button:last-child {
  border-color: #b77b47;
  background: #a96e3d;
  color: #fff;
}

.announcement-prompt-actions button:disabled,
.announcement-prompt-head button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.announcement-card:hover {
  border-color: #d9c4b1;
  border-left-color: #a86f3f;
  box-shadow: 0 4px 12px rgba(61, 47, 35, 0.08);
}

.announcement-card:active {
  transform: translateY(1px);
}

.announcement-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.announcement-meta span {
  flex: none;
  padding: 3px 7px;
  border-radius: 4px;
  background: #f5e8dc;
  color: #8f5c34;
  font-size: 10px;
  font-weight: 750;
  line-height: 15px;
}

.announcement-meta time {
  min-width: 0;
  color: #969ba2;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 16px;
  text-align: right;
}

.announcement-title {
  display: block;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  color: #302a25;
  font-size: 16px;
  font-weight: 800;
  line-height: 23px;
}

.announcement-preview {
  display: -webkit-box;
  overflow-wrap: anywhere;
  overflow: hidden;
  color: #555b63;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.announcement-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 10px;
  color: #95623a;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.announcement-more span {
  font-size: 17px;
  line-height: 14px;
}

.announcement-detail {
  width: 400px;
  max-width: 100%;
  min-height: 240px;
  padding: 20px 18px 26px;
  border: 1px solid #e9e2da;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(61, 47, 35, 0.05);
}

.announcement-detail-head {
  padding-bottom: 15px;
  border-bottom: 1px solid #eceef1;
}

.announcement-detail-type {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  background: #f5e8dc;
  color: #8f5c34;
  font-size: 10px;
  font-weight: 750;
  line-height: 15px;
}

.announcement-detail h1 {
  margin: 10px 0 6px;
  overflow-wrap: anywhere;
  color: #302a25;
  font-size: 19px;
  font-weight: 800;
  line-height: 28px;
}

.announcement-detail time {
  color: #969ba2;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 16px;
}

.announcement-detail-copy {
  padding-top: 17px;
  overflow-wrap: anywhere;
  color: #4c525a;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: pre-wrap;
}

.message-detail-empty {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #969ba2;
}

.message-detail-empty strong {
  color: #555b63;
  font-size: 14px;
}

.source-pg-search {
  position: relative;
  display: grid;
  width: 400px;
  height: 42px;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 6px;
  background: transparent;
}

.source-pg-content {
  display: flex;
  width: 100%;
  height: 42px;
  align-items: center;
  padding: 0 10px;
  border-radius: 100px;
  background: #fff;
}

.source-pg-content > span {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
  color: #909193;
  font-family: "uicon-iconfont";
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}

.source-pg-content input {
  width: auto;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  flex: 1;
  margin: 0 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #303133;
  font-size: 14px;
  line-height: 40px;
  outline: 0;
}

.source-pg-search button {
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  font-size: 14px;
  line-height: 42px;
}

.source-pg-tabs {
  display: flex;
  height: 44px;
  justify-content: flex-start;
}

.source-pg-tabs button {
  position: relative;
  width: 82px;
  height: 44px;
  flex: 0 0 82px;
  padding: 0 11px;
  font-size: 15px;
  line-height: 21px;
}

.source-pg-tabs button.active::after {
  bottom: 2px;
  width: 40px;
  height: 3px;
  border-radius: 100px;
  background: #3c9cff;
}

[data-view="pg"] {
  height: var(--visual-viewport-height);
  min-height: 0;
  overflow: hidden;
}

[data-view="pg"] .page-main {
  display: flex;
  height: calc(var(--visual-viewport-height) - 44px);
  min-height: 0;
  flex-direction: column;
  padding-bottom: 0;
  overflow: hidden;
}

[data-view="pg"] .source-pg-search,
[data-view="pg"] .source-pg-tabs,
[data-view="pg"] .pg-catalog-warning {
  flex: none;
}

.pg-catalog-layout {
  display: grid;
  width: 400px;
  height: auto;
  min-height: 0;
  flex: 1;
  grid-template-columns: 104px minmax(0, 1fr);
  border-top: 1px solid #e8eaed;
  background: #fff;
}

.pg-vendor-sidebar {
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid #e8eaed;
  background: #f5f6f7;
  scrollbar-width: none;
}

.pg-vendor-sidebar::-webkit-scrollbar {
  display: none;
}

.pg-vendor-sidebar button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 54px;
  padding: 8px 7px 7px 11px;
  align-content: center;
  gap: 2px;
  border-bottom: 1px solid #e8eaed;
  background: transparent;
  color: #656a71;
  text-align: left;
}

.pg-vendor-sidebar button::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  content: "";
}

.pg-vendor-sidebar button strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-vendor-sidebar button small {
  color: #a0a5ac;
  font-size: 10px;
  line-height: 14px;
}

.pg-vendor-sidebar button.active {
  background: #fff;
  color: #247ccc;
}

.pg-vendor-sidebar button.active::before {
  background: #3c9cff;
}

.pg-vendor-sidebar button.active small {
  color: #6aa7df;
}

.pg-catalog-warning {
  width: 400px;
  padding: 6px 8px;
  background: #fff5e8;
  color: #9a641e;
  font-size: 11px;
  line-height: 16px;
}

.source-pg-scroll {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.source-pg-empty {
  display: flex;
  height: 216px;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
  color: #9e9e9e;
  font-size: 14px;
}

.pg-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 9px;
  padding: 10px 8px 24px;
}

.pg-game-card {
  position: relative;
  min-width: 0;
}

.pg-game-entry {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #34383e;
  text-align: left;
}

.pg-game-cover {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  background: #f2f3f5;
}

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

.pg-game-cover small {
  position: absolute;
  bottom: 5px;
  left: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  background: #b64c45;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 13px;
}

.pg-game-entry > strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-game-provider {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: #8a9098;
  font-size: 10px;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-game-entry > em {
  display: block;
  color: #9a4d47;
  font-size: 10px;
  font-style: normal;
  line-height: 15px;
}

.pg-game-card.is-maintenance .pg-game-cover {
  opacity: 0.55;
}

.pg-game-entry.is-launching .pg-game-cover::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  color: #4c5159;
  content: "启动中";
  font-size: 11px;
  font-weight: 700;
}

.pg-favorite {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(37, 41, 47, 0.58);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

.pg-favorite.active {
  color: #f4c466;
}

.pg-game-loading > div {
  display: grid;
  width: min(260px, calc(100% - 40px));
  gap: 16px;
  text-align: center;
}

.pg-game-loading .primary-button {
  width: 100%;
}

.source-welfare-tabs {
  height: 34px;
}

.source-welfare-empty {
  display: flex;
  width: 400px;
  height: 37.5px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 7.5px;
  color: #606266;
  font-size: 13px;
  line-height: 22.5px;
}

.contact-empty-row {
  width: 400px;
  height: 42.5px;
  min-height: 42.5px;
  margin: 5px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.contact-empty-row .chevron {
  color: #000;
  font-size: 20px;
  font-weight: 700;
}

[data-view="first-recharge"] .page-main {
  padding: 15px 10px 0;
  font-family: "PingFang SC", sans-serif;
}

[data-view="first-recharge"] .first-recharge-hero .rules-intro {
  width: fit-content;
  margin: 15px auto 0;
  color: #000;
  font-size: 16px;
  line-height: normal;
}

[data-view="first-recharge"] .promotion-table {
  padding-bottom: 10px;
  margin-bottom: 25px;
  border-radius: 13px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(255, 255, 255, 0.2);
}

[data-view="first-recharge"] .promotion-row {
  grid-template-columns: 34% 33% 33%;
  height: 40px;
  min-height: 40px;
  border-bottom: 0;
  color: #000;
  font-size: 16px;
}

[data-view="first-recharge"] .promotion-row:first-child {
  height: 36px;
  min-height: 36px;
  margin-bottom: 10px;
  border-radius: 13px 13px 0 0;
  color: #252525;
  font-size: 13px;
  font-weight: 500;
}

[data-view="first-recharge"] .first-recharge-rules {
  height: 126.5px;
  margin: 0 0 172.5px;
  border-radius: 13px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(255, 255, 255, 0.2);
}

[data-view="first-recharge"] .first-recharge-rules .rule-title {
  display: flex;
  width: 400px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 13px 13px 0 0;
  font-size: 13px;
  font-weight: 500;
}

[data-view="first-recharge"] .first-recharge-rules .rule-title span {
  display: flex;
  width: 132px;
  height: 18.5px;
  align-items: center;
  justify-content: center;
}

[data-view="first-recharge"] .first-recharge-rules .rule-copy {
  height: 70.5px;
  padding: 7.5px;
  color: #9e9e9e;
  font-size: 13px;
  line-height: normal;
}

[data-view="billiards"] .page-main {
  min-height: 754px;
  padding: 15px 10px 23px;
  font-family: "PingFang SC", sans-serif;
}

[data-view="billiards"] .wallet-card {
  height: 75px;
  min-height: 75px;
  margin-bottom: 15px;
  padding: 0 10px;
}

[data-view="billiards"] .wallet-card .wallet-image {
  width: 45px;
  height: 45px;
  margin-right: 7.5px;
}

[data-view="billiards"] .wallet-copy {
  width: 118px;
  flex: none;
}

[data-view="billiards"] .wallet-copy strong {
  box-sizing: content-box;
  width: fit-content;
  height: 25px;
  padding-bottom: 5px;
  color: #000;
  font-size: 18px;
  line-height: normal;
}

[data-view="billiards"] .wallet-copy span {
  width: 118px;
  margin-top: 0;
  color: #000;
  font-size: 12px;
  line-height: normal;
}

[data-view="billiards"] .event-tabs {
  display: flex;
  height: 50px;
  justify-content: space-between;
}

[data-view="billiards"] .event-tabs button {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 13px;
  line-height: normal;
}

[data-view="billiards"] .event-tabs button img {
  width: 15px;
  height: 15px;
  margin: 0 4px;
}

[data-view="billiards"] .event-tabs button small {
  color: #9e9e9e;
  font-size: 11.5px;
  line-height: normal;
}

[data-view="billiards"] .empty-state {
  width: 400px;
  height: 216px;
  min-height: 216px;
  margin-top: 10px;
  color: #9e9e9e;
  font-size: 14px;
  line-height: 20px;
}

[data-view="billiards"] .empty-image {
  width: 160px;
  height: auto;
  margin: 0;
}

[data-view="billiards"] .empty-state span {
  height: 35px;
  padding-top: 15px;
}

[data-view="rules"] .page-main {
  width: 400px;
  height: 720px;
  min-height: 720px;
  margin: 0 auto;
  padding: 5.5px;
  overflow-y: auto;
  font-family: "PingFang SC", sans-serif;
}

[data-view="rules"] .rule-card {
  min-height: 0;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-radius: 13px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(255, 255, 255, 0.2);
}

[data-view="rules"] .rule-title {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 13px 13px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
}

[data-view="rules"] .rule-copy {
  padding: 0 10px 10px;
  color: #606266;
  font-size: 12px;
  line-height: normal;
}

.first-recharge-hero .rules-intro {
  margin: 15px 0;
}

.first-recharge-rules {
  margin-top: 25px;
}

.promotion-row:nth-child(odd):not(:first-child) span:nth-child(-n + 2) {
  background: #f8f3ef;
}

.pg-game-shell {
  position: relative;
  height: 100vh;
  min-height: 520px;
  background: #fff;
  overflow: hidden;
}

[data-view="pg-game"] {
  height: var(--visual-viewport-height);
  min-height: 0;
  overflow: hidden;
}

[data-view="pg-game"] .page-main.no-bar.flush {
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

[data-view="pg-game"] .pg-game-shell {
  height: 100%;
  min-height: 0;
}

.pg-game-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.pg-game-frame-loading {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: #fff;
  color: #888;
  font-size: 14px;
}

.pg-game-shell.is-loading .pg-game-frame-loading {
  display: grid;
}

.pg-game-loading {
  display: grid;
  height: 100%;
  place-items: center;
  color: #999;
}

.fb-sports-shell {
  height: 100dvh;
  min-height: 480px;
}

[data-view="fb-sports"] .page-main {
  height: 100dvh;
  min-height: 480px;
  padding: 0;
}

.fb-sports-shell header small {
  overflow: hidden;
  max-width: 55%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fb-sports-error > div {
  display: grid;
  width: min(280px, calc(100% - 40px));
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.fb-sports-error strong {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.fb-sports-error .primary-button {
  width: 160px;
  margin: 0;
}

.chat-page {
  height: calc(100vh - 94px);
}

/* Original site assets and component proportions. */
.page-main {
  position: relative;
}

.brand-bar {
  height: 50px;
  padding: 0 20px 0 0;
}

.brand-logo-button,
.brand-actions,
.brand-action {
  display: flex;
  align-items: center;
  background: transparent;
}

.brand-logo-button {
  width: 50px;
  height: 50px;
  padding: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-actions {
  gap: 22px;
}

.brand-action {
  width: 18px;
  height: 30px;
  padding: 0;
  border: 0;
}

.brand-action img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.nav-symbol {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
}

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

.home-banner .dots {
  bottom: 7px;
}

.home-banner .dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.22);
}

.home-banner .dots button.active {
  width: 14px;
  border-radius: 6px;
  background: #fff;
}

.notice-row span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-row {
  width: 100%;
  max-width: 100%;
}

.mini-tool img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mini-tool span:first-child {
  font-size: inherit;
  color: inherit;
}

.category-layout {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 49vh;
}

.category-tabs {
  gap: 0;
  padding: 2px 10px 0 2px;
}

.category-tab {
  display: flex;
  width: 58px;
  height: 58px;
  margin: 0 0 8px;
  padding: 2px;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fffbf6);
}

.category-tab img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.category-tab.active {
  background: linear-gradient(180deg, #ffe3ca, #e9c5a4);
}

.category-tab.active img {
  width: 45px;
  height: 45px;
  margin-bottom: -5px;
}

.category-tab span {
  font-size: 13px;
}

.game-stage {
  padding-left: 0;
  border-radius: 10px;
  background: #fff;
}

.game-card {
  display: block;
  width: 100%;
  min-height: 0;
  height: 118px;
  margin-bottom: 15px;
  padding: 0;
  border-radius: 8px;
}

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

.auth-page {
  padding-top: 20px;
}

.auth-brand {
  min-height: 170px;
  margin-bottom: 5px;
  justify-content: center;
}

.auth-brand.compact {
  min-height: 128px;
}

.auth-logo {
  display: block;
  width: min(300px, 92%);
  height: auto;
  object-fit: contain;
}

.auth-brand.compact .auth-logo {
  width: 220px;
}

.wallet-card {
  justify-content: flex-start;
}

.wallet-image {
  width: 48px;
  height: 48px;
  margin-right: 11px;
  object-fit: contain;
}

.wallet-copy {
  flex: 1;
}

.profile-avatar {
  width: 65px;
  height: 65px;
  flex: none;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(90, 60, 35, 0.18);
}

.profile-wallet {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.profile-balance > div:nth-child(2) {
  flex: 1;
  margin-left: 7.5px;
}

.feature-menu img {
  width: 50px;
  height: auto;
  margin-bottom: -10px;
  object-fit: contain;
}

.row-image {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
}

.tutorial-image {
  display: block;
  width: min(100%, 376px);
  height: auto;
  margin: 14px auto 0;
}

.empty-image {
  width: 146px;
  height: auto;
  margin-bottom: 12px;
  object-fit: contain;
}

[data-view="invite"] .page-main {
  min-height: calc(100vh - 44px);
  overflow: hidden;
  color: #fff;
}

.invite-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: calc(100vh - 44px);
  background: #7f1d14 url("/assets/invitation_bk-Cu1b_zLm.png") center top / cover no-repeat;
}

.invite-content {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 38px 30px;
  flex-direction: column;
  align-items: center;
}

.invite-content h1 {
  font-size: 32px;
  font-weight: 600;
}

.invite-glass {
  width: 100%;
  margin-top: 30px;
  padding: 30px 10px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.invite-code-mark {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  place-items: center;
  border: 15px solid #fff;
  border-radius: 8px;
  background-color: #f5f5f5;
  background-image: repeating-conic-gradient(#171717 0 25%, #fff 0 50%);
  background-size: 16px 16px;
}

.invite-code-mark img {
  width: 34px;
  height: 42px;
  padding: 3px;
  background: #fff;
  object-fit: contain;
}

.invite-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 28px;
  gap: 7px;
  min-height: 40px;
  align-items: center;
  margin-top: 15px;
  padding: 0 10px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.5);
  color: #252525;
  font-size: 13px;
}

.invite-line strong {
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.invite-line button {
  width: 28px;
  height: 28px;
  padding: 5px;
  background: transparent;
}

.invite-line button img {
  width: 100%;
  height: 100%;
}

.match-score img {
  width: 110px;
  height: auto;
  object-fit: contain;
}

[data-view="business"] .page-main {
  min-height: calc(100vh - 44px);
  background: #63120d url("/assets/sw_bg-wYgTxBkP.png") center top / cover no-repeat;
}

[data-view="business"] .business-panel {
  min-height: calc(100vh - 44px);
  padding: 66px 30px 35px;
  background: transparent;
}

[data-view="business"] .business-panel::before {
  display: none;
}

.business-avatar {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  object-fit: cover;
}

[data-view="business"] .business-panel .primary-button {
  margin-top: 260px;
}

.battle-stage {
  position: relative;
  min-height: var(--visual-viewport-height);
  padding: 0;
  overflow: hidden;
  background: #000;
}

.battle-loading-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.battle-local-note,
.battle-back {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
}

.battle-local-note {
  left: 14px;
}

.battle-back {
  right: 14px;
}

.first-recharge-title,
.first-recharge-visual {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.first-recharge-title {
  margin-top: 24px;
}

.first-recharge-visual {
  margin: 15px 0;
}

.welfare-empty {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9e9e9e;
  font-size: 13px;
}

.welfare-empty img {
  width: 82px;
  height: auto;
  margin-bottom: 10px;
  object-fit: contain;
}

/* Final specificity pass after the legacy asset overrides above. */
[data-view="home"] .brand-bar,
[data-view="messages"] .brand-bar,
[data-view="head-tools"] .brand-bar,
[data-view="head-tools-guest"] .brand-bar {
  height: 50px;
  padding: 0 20px 0 0;
  overflow: visible;
}

.brand-logo-button {
  width: 100px;
  height: 50px;
  overflow: visible;
}

.brand-logo {
  width: 100px;
  height: 100px;
  max-width: none;
}

.brand-action,
.profile-message-actions button {
  width: 25px;
}

.brand-action img,
.profile-message-actions img {
  width: 25px;
  height: 25px;
}

.home-banner .dots button,
.home-banner .dots button.active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: none;
}

.home-banner .dots button.active {
  background: #000;
}

.notice-row {
  margin: 5px 0;
  color: #000;
}

.notice-row strong {
  color: #000;
}

.category-layout {
  grid-template-columns: 72px minmax(0, 1fr);
  height: 353px;
  min-height: 353px;
}

.category-tab img {
  width: 30px;
  height: 40px;
  padding-top: 10px;
}

.category-tab.active img {
  width: 45px;
  height: 45px;
  padding-top: 0;
}

.game-stage {
  height: 353px;
  padding-left: 5px;
  overflow-y: auto;
}

.game-card {
  width: 310px;
  max-width: 100%;
  height: 118px;
}

.profile-avatar,
.profile-avatar-button {
  width: 65px;
  height: 65px;
}

.profile-wallet {
  width: 45px;
  height: 45px;
}

[data-view="profile"] .page-main {
  padding: 0 10px 22.5px;
  font-family: "PingFang SC", sans-serif;
}

[data-view="profile"] .profile-copy.plain-action {
  align-self: center;
  padding: 0;
}

[data-view="profile"] .profile-copy.plain-action strong {
  font-weight: 600;
}

[data-view="profile"] .profile-message-actions {
  align-items: flex-start;
}

[data-view="profile"] .profile-message-actions button {
  width: auto;
  height: auto;
}

[data-view="profile"] .profile-message-actions button:first-child img {
  width: 25px;
  height: auto;
  margin-top: 1.43px;
}

[data-view="profile"] .profile-message-actions button:last-child img {
  width: 24px;
  height: 24px;
}

[data-view="profile"] .profile-balance {
  padding: 0 10px;
}

[data-view="profile"] .profile-balance strong {
  box-sizing: content-box;
  height: 22.5px;
  padding-bottom: 5px;
  line-height: normal;
}

[data-view="profile"] .profile-balance .inline-reload {
  margin-left: 0;
}

[data-view="profile"] .profile-balance > div:nth-child(2) {
  transform: translateY(-0.5px);
}

[data-view="profile"] .section-title {
  height: 20px;
  margin: 10px 0;
  color: #252525;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

[data-view="profile"] .feature-grid + .section-title {
  margin-top: 0;
}

[data-view="profile"] .menu-icon-image {
  width: 35px;
  height: auto;
}

.empty-image {
  width: 160px;
  height: 120px;
}

[data-view="business"] .business-panel {
  min-height: calc(100vh - 94px);
  padding: 95px 15px 50px;
  background: transparent;
}

[data-view="business"] .page-main {
  min-height: calc(100vh - 44px);
  padding: 0 10px;
  overflow: visible;
  background: #f3f5f9;
  font-family: "PingFang SC", sans-serif;
}

[data-view="business"] .business-background {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  display: block;
  width: 420px;
  height: auto;
}

[data-view="business"] .business-panel {
  z-index: 1;
  width: 400px;
  min-height: 0;
  padding: 117.5px 0 50px;
  overflow: visible;
}

[data-view="business"] .business-headline h2,
[data-view="business"] .business-headline p {
  width: 400px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: normal;
}

[data-view="business"] .business-contact {
  display: flex;
  width: 400px;
  min-height: 0;
  height: 81.5px;
  align-items: center;
  gap: 0;
  margin-top: 72.5px;
  padding: 15px;
}

[data-view="business"] .business-contact .business-avatar {
  width: 50px;
  height: 50px;
  flex: none;
  margin: 0 10px 0 0;
}

[data-view="business"] .business-contact > div {
  min-width: 0;
  flex: 1;
}

[data-view="business"] .business-contact strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 18.5px;
}

[data-view="business"] .business-contact div > span {
  margin-top: 0;
  font-size: 12px;
  line-height: normal;
}

[data-view="business"] .business-contact > button {
  width: 73.27px;
  height: 51.5px;
  flex: none;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  color: #000;
  font-size: 12px;
  font-weight: 500;
}

[data-view="business"] .business-contact > button .chevron {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  color: #9e9e9e;
  line-height: 16px;
}

.business-contact .business-avatar {
  width: 50px;
  height: 50px;
  margin: 0;
  border: 0;
}

[data-view="battle"] .battle-stage {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  width: 100%;
  max-width: 450px;
  height: var(--visual-viewport-height);
  min-height: 0;
  margin: 0 auto;
  transform: none;
}

[data-view="battle"] .battle-loading-image {
  width: 100%;
  height: 100%;
}

[data-view="battle"] .battle-game-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

[data-view="battle"] .battle-loading-image {
  z-index: 1;
  pointer-events: none;
  transition: opacity 160ms ease;
}

[data-view="battle"] .battle-loading-progress {
  position: absolute;
  right: 24px;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
  left: 24px;
  z-index: 2;
  display: grid;
  gap: 9px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  transition: opacity 160ms ease;
}

[data-view="battle"] .battle-loading-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

[data-view="battle"] .battle-loading-fill {
  display: block;
  width: 5%;
  height: 100%;
  background: #f2c45f;
  transition: width 180ms ease-out;
}

[data-view="battle"] .battle-loading-progress > strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

[data-view="battle"] .battle-loading-progress.is-error .battle-loading-fill {
  background: #d95f58;
}

[data-view="battle"] .battle-stage:not(.is-loading) .battle-loading-image,
[data-view="battle"] .battle-stage:not(.is-loading) .battle-loading-progress {
  opacity: 0;
}

[data-view="battle"] .battle-auth-required {
  gap: 14px;
  color: #fff;
}

[data-view="battle"] .battle-auth-required .primary-button {
  width: 140px;
  margin: 0;
}

.wallet-card .wallet-image {
  width: 45px;
  height: 45px;
}

[data-view="help"] .page-main {
  padding: 15px 10px 0;
  font-family: "PingFang SC", sans-serif;
}

[data-view="help"] .accordion-list {
  border-radius: 15px;
}

[data-view="help"] .accordion-button {
  position: relative;
  height: 66px;
  min-height: 66px;
  gap: 0;
  padding: 13px 15px;
  border-bottom: 0;
}

[data-view="help"] .accordion-button > .row-image {
  margin-left: 4px;
  margin-right: 10px;
}

[data-view="help"] .accordion-button > .row-copy {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: space-between;
}

[data-view="help"] .accordion-button > .chevron {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  color: #606266;
  line-height: 16px;
}

[data-view="help"] .row-copy strong {
  width: auto;
  font-size: 13px;
  font-weight: 500;
  line-height: 18.5px;
}

[data-view="help"] .row-copy small {
  width: auto;
  margin-top: 0;
  font-size: 12px;
  line-height: 16.5px;
}

[data-view="help"] .accordion-content-inner {
  padding: 12px 15px;
  font-size: 14px;
  line-height: 18px;
}

[data-view="help"] .accordion-content-inner p {
  line-height: 18px;
}

[data-view="help"] .accordion-content-inner p + p {
  margin-top: 18px;
}

[data-view="help"] .accordion-content-inner .tutorial-image + p {
  margin-top: 22px;
}

[data-view="help"] .tutorial-image {
  width: auto;
  max-width: none;
  margin: 0;
}

[data-view="help"] .help-contact {
  min-height: 18px;
  height: 18px;
  margin-bottom: 25px;
  color: #606266;
  font-size: 13px;
  line-height: 18px;
}

[data-view="help"] .help-contact:last-child {
  margin-bottom: 0;
}

[data-view="help"] .help-contact > button {
  display: flex;
  height: 18px;
  align-items: center;
  gap: 0;
  padding: 0;
  color: #606266;
  font-size: 13px;
  line-height: 18px;
}

[data-view="help"] .help-contact > button .chevron {
  width: 16px;
  height: 16px;
  color: #606266;
  line-height: 16px;
}

[data-view="help"] .help-contact span button {
  width: 16px;
  height: 16px;
  margin-left: 0;
  padding: 0;
}

[data-view="login"] .page-main.no-bar {
  min-height: 100vh;
  padding: 78.5px 11.2px 84px;
}

[data-view="login"] .auth-page {
  min-height: 0;
  padding: 0;
}

[data-view="login"] .auth-brand {
  position: relative;
  min-height: 0;
  height: 89.6px;
  margin-bottom: 72.8px;
}

[data-view="login"] .auth-logo {
  position: absolute;
  top: -105.2px;
  left: 50%;
  width: 300px;
  max-width: none;
  transform: translateX(-50%);
}

[data-view="login"] .segmented-tabs {
  justify-content: flex-start;
}

[data-view="login"] .segmented-tabs button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 11px;
  font-size: 15px;
}

[data-view="login"] .segmented-tabs button:not(.active) {
  color: #9f9f9f;
}

[data-view="login"] .segmented-tabs button.active::after {
  bottom: 2px;
  width: 60px;
}

[data-view="login"] .form-stack {
  display: block;
  margin-top: 32.6px;
}

[data-view="login"] .field-label {
  margin-bottom: 0;
  font-size: 16px;
}

[data-view="login"] .required,
[data-view="register"] .required {
  color: red;
}

[data-view="login"] .field + .field {
  margin-top: 33.6px;
}

[data-view="login"] .input-wrap input {
  height: 24px;
  font-size: 15px;
}

[data-view="login"] .input-wrap {
  height: 36.5px;
  min-height: 36.5px;
  padding: 0 9px;
}

[data-view="login"] .password-toggle {
  width: 18px;
  height: 18px;
  color: #606266;
  font-family: "uicon-iconfont";
}

[data-view="login"] .check-row {
  height: 32.5px;
  margin-top: 33.6px;
}

[data-view="login"] .check-row label {
  font-size: 15px;
}

[data-view="login"] .primary-button,
[data-view="login"] .secondary-button {
  font-size: 16px;
}

[data-view="login"] .check-row .plain-action {
  padding: 0;
  font-size: 16px;
}

[data-view="login"] .primary-button {
  min-height: 50px;
  margin-top: 33.6px;
  color: #fff;
}

[data-view="login"] .secondary-button {
  min-height: 50px;
  margin-top: 16.8px;
}

[data-view="register"] .page-main.no-bar {
  min-height: 100vh;
  padding: 79px 11.2px 84px;
}

[data-view="register"] .auth-page {
  min-height: 0;
  padding: 0;
}

[data-view="register"] .form-stack:first-child {
  display: block;
  margin-top: 0;
}

[data-view="register"] .field-label {
  margin-bottom: 0;
  font-size: 15.68px;
}

[data-view="register"] .field + .field {
  margin-top: 34.1px;
}

[data-view="register"] .helper-text + .field {
  margin-top: 35.6px;
}

[data-view="register"] .input-wrap {
  height: 36.5px;
  min-height: 36.5px;
  padding: 0 9px;
}

[data-view="register"] .input-wrap input {
  height: 24px;
  font-size: 15px;
  transform: translateY(-0.75px);
}

[data-view="register"] .password-toggle {
  width: 18px;
  height: 18px;
  color: #606266;
  font-family: "uicon-iconfont";
  transform: translateY(-0.75px);
}

[data-view="register"] .suffix-button {
  padding: 0;
  color: #d1b092;
  font-size: 14.56px;
  transform: translateY(-0.75px);
}

[data-view="register"] .helper-text {
  margin-top: 4px;
  color: red;
  font-size: 12.32px;
  line-height: 19.75px;
}

[data-view="register"] .primary-button {
  min-height: 50px;
  margin-top: 33.6px;
  color: #fff;
  font-size: 16px;
}

[data-view="register"] .auth-switch-link {
  display: flex;
  width: auto;
  min-height: 22px;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: 17.3px;
  padding: 0;
  color: #000;
  font-size: 15.68px;
  text-decoration: none;
}

[data-view="register"] .auth-switch-link strong {
  margin-left: 6px;
  color: #d1b092;
  font-weight: 400;
}

[data-view="chat"] .chat-page {
  width: 100%;
  height: calc(100dvh - 44px);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f3f5f9;
}

[data-view="chat"] .chat-log {
  width: 100%;
  min-height: 0;
  flex: 1;
  padding: 16px 12px 20px;
  scroll-behavior: smooth;
}

[data-view="chat"] .chat-input {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #e5e8ec;
  background: #fff;
  font-family: "PingFang SC", sans-serif;
}

[data-view="chat"] .chat-compose {
  display: block;
  height: 46px;
  min-width: 0;
  padding: 0;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #f7f8fa;
}

[data-view="chat"] .chat-compose textarea {
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 11px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #34383e;
  font-size: 14px;
  line-height: 21px;
  outline: 0;
  resize: none;
}

[data-view="chat"] .chat-compose textarea::placeholder {
  color: #c0c4cc;
}

[data-view="chat"] .chat-input .chat-send {
  width: 72px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #b77a46;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

[data-view="chat"] .chat-input .chat-send:disabled {
  background: #c9b7a7;
  color: rgba(255, 255, 255, 0.86);
}

[data-view="chat"] .chat-bubble {
  max-width: min(82%, 310px);
  margin-bottom: 12px;
  padding: 10px 12px 8px;
  overflow-wrap: anywhere;
  border: 1px solid #e5e8ec;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(40, 46, 54, 0.04);
}

[data-view="chat"] .chat-bubble.me {
  border-color: #cfe3d8;
  border-radius: 7px;
  background: #e4f2ea;
}

[data-view="chat"] .chat-message-text {
  display: block;
  white-space: pre-wrap;
}

[data-view="chat"] .chat-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 5px;
}

.chat-delivery.is-read {
  color: #27866e;
}

.chat-delivery.is-unread {
  color: #9a7a5c;
}

.chat-empty {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #969ca5;
  text-align: center;
}

.chat-empty strong {
  color: #555b63;
  font-size: 14px;
  font-weight: 750;
}

.chat-empty span {
  font-size: 12px;
  line-height: 18px;
}

.first-recharge-title {
  margin-top: 0;
}

.first-recharge-visual {
  margin: 0;
}

/* Keep the measured desktop geometry while allowing the same tree to fit narrow devices. */
@media (max-width: 419px) {
  .source-channel-card,
  .source-field-card,
  .source-warning,
  .source-submit,
  .source-history-empty,
  .source-history-space,
  .source-square-stage,
  .source-billiards-scroll,
  .source-billiards-scroll .empty-state,
  .source-system-scroll,
  .source-pg-search,
  .source-pg-content,
  .pg-catalog-layout,
  .pg-catalog-warning,
  .source-pg-scroll,
  .source-pg-empty,
  .source-welfare-empty,
  .contact-empty-row {
    width: 100%;
  }

  .source-channel-head,
  .source-channel-closed,
  .source-field-label,
  .source-field-card input,
  .source-upload-card button {
    width: 100%;
  }

  [data-view="rules"] .page-main {
    width: 100%;
  }

  [data-view="chat"] .chat-page,
  [data-view="chat"] .chat-log {
    width: 100%;
  }

  [data-view="first-recharge"] .first-recharge-rules .rule-title {
    width: 100%;
  }

  [data-view="business"] .business-background,
  [data-view="business"] .business-panel,
  [data-view="business"] .business-headline,
  [data-view="business"] .business-headline h2,
  [data-view="business"] .business-headline p,
  [data-view="business"] .business-contact {
    width: 100%;
  }

  [data-view="help"] .tutorial-image {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}

/* Unified member typography and text hierarchy. */
#app {
  --type-strong: #202329;
  --type-body: #454a52;
  --type-muted: #858b94;
  --type-faint: #aeb3ba;
  --type-accent: #a86f3f;
  --type-positive: #27866e;
  --type-warning: #ad6b2f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--type-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#app,
#app * {
  letter-spacing: 0;
}

#app button,
#app input,
#app textarea,
#app select {
  font-family: inherit;
}

.top-title {
  color: var(--type-strong);
  font-size: 17px;
  font-weight: 750;
  line-height: 24px;
}

.top-bar {
  border-bottom-color: #e8eaed;
}

.nav-item {
  color: #777d85;
  font-size: 11px;
  font-weight: 550;
  line-height: 15px;
}

.nav-item.active {
  color: #282b30;
  font-weight: 750;
}

.brand-copy strong {
  color: var(--type-strong);
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
}

.brand-copy span {
  color: var(--type-muted);
  font-size: 11px;
  line-height: 16px;
}

.notice-row {
  min-height: 42px;
  gap: 8px;
  padding: 7px 10px;
  text-align: left;
}

.notice-row strong {
  display: grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #f5e5d5;
  color: #976438;
  font-size: 14px;
}

.notice-row span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #5f646c;
  font-size: 12px;
  font-weight: 550;
  line-height: 17px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.balance-line,
.profile-balance strong,
.wallet-card strong {
  color: var(--type-strong);
  font-family: "DIN Alternate", "Avenir Next", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.balance-line {
  font-size: 16px;
  line-height: 21px;
}

.account-name {
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 550;
  line-height: 15px;
}

.category-tab span {
  color: #8d929a;
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
}

.category-tab.active span {
  color: #2c2f34;
  font-weight: 800;
}

.status-badge {
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  line-height: 20px;
}

.section-title {
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 8px;
  color: var(--type-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.section-title::before {
  content: "";
  width: 3px;
  height: 15px;
  flex: none;
  border-radius: 2px;
  background: #c58d5a;
}

.plain-action,
.suffix-button {
  color: var(--type-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.tabs button,
.source-tabs button,
.event-tabs button {
  color: #757b84;
  font-size: 13px;
  font-weight: 650;
  line-height: 19px;
}

.tabs button.active,
.source-tabs button.active,
.event-tabs button.active {
  color: #99663b;
  font-weight: 800;
}

.event-tabs button small {
  color: #a2a7ae;
  font-size: 10px;
  font-weight: 600;
}

.option-list,
.accordion-list,
.message-list {
  border: 1px solid #e8eaed;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(35, 39, 45, 0.05);
}

.option-row,
.accordion-button,
.message-row {
  min-height: 62px;
  padding: 11px 13px;
  border-bottom-color: #eceef1;
}

.row-copy strong {
  color: var(--type-strong);
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

.row-copy small {
  margin-top: 4px;
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.match-list-row {
  align-items: center;
}

.match-list-row .row-copy {
  flex: 0 1 38%;
}

.match-list-teams {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #4b5058;
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-list-teams b {
  display: inline-block;
  margin: 0 3px;
  color: #9c6739;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.message-list-row .row-copy small {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.record-row {
  gap: 12px;
}

.record-row:active {
  background: #f7f8f9;
}

.record-chevron {
  flex: none;
  color: #a9adb3;
  font-size: 20px;
  line-height: 20px;
}

.record-value {
  flex: none;
  text-align: right;
}

.record-value strong {
  display: block;
  color: #2f3339;
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 21px;
}

.record-value small,
.account-state {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  margin-top: 4px;
  padding: 0 7px;
  border-radius: 4px;
  background: #eef0f2;
  color: #717780;
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
}

.account-state.is-active {
  background: #e7f3ef;
  color: var(--type-positive);
}

.bet-detail-card {
  overflow: hidden;
  border: 1px solid #e4e6e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(35, 39, 45, 0.05);
}

.bet-detail-head {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 15px;
  border-bottom: 1px solid #eceef1;
}

.bet-detail-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bet-detail-head > div > span {
  color: #34383e;
  font-size: 15px;
  font-weight: 800;
}

.bet-detail-head small {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background: #eef0f2;
  color: #686f78;
  font-size: 10px;
  font-weight: 750;
}

.bet-detail-head small.is-won { background: #e7f3ef; color: var(--type-positive); }
.bet-detail-head small.is-lost { background: #faeceb; color: #a84d45; }
.bet-detail-head small.is-pending { background: #fbf0df; color: var(--type-warning); }

.bet-detail-head > strong {
  color: #2f3339;
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.bet-detail-event {
  padding: 18px 15px;
  border-bottom: 1px solid #eceef1;
}

.bet-detail-event > span {
  color: #98643a;
  font-size: 11px;
  font-weight: 750;
}

.bet-detail-event h2 {
  margin: 8px 0 7px;
  overflow-wrap: anywhere;
  color: #30343a;
  font-size: 17px;
  line-height: 25px;
}

.bet-detail-event h2 small {
  margin: 0 5px;
  color: #a3a7ad;
  font-size: 10px;
}

.bet-detail-event p {
  color: #737981;
  font-size: 12px;
  line-height: 19px;
}

.bet-detail-event p strong { color: #3d4249; }
.bet-detail-event p b { margin-left: 5px; color: #a66f3f; }

.bet-detail-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #eceef1;
}

.bet-detail-values div {
  min-width: 0;
  padding: 15px 8px;
  text-align: center;
}

.bet-detail-values div + div { border-left: 1px solid #eceef1; }

.bet-detail-values span,
.bet-detail-values strong {
  display: block;
}

.bet-detail-values span {
  color: #858a91;
  font-size: 10px;
}

.bet-detail-values strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #33383f;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.bet-detail-values strong.positive { color: var(--type-positive); }
.bet-detail-values strong.negative { color: #a84d45; }

.bet-detail-rows {
  margin: 0;
  padding: 5px 15px;
}

.bet-detail-rows > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f1f3;
  font-size: 12px;
  line-height: 18px;
}

.bet-detail-rows > div:last-child { border-bottom: 0; }
.bet-detail-rows dt { color: #8a8f96; }
.bet-detail-rows dd { margin: 0; overflow-wrap: anywhere; color: #3c4148; text-align: right; }

.bet-detail-note {
  padding: 14px 15px;
  border-top: 1px solid #eceef1;
  background: #f7f8f9;
}

.bet-detail-note span {
  color: #777d85;
  font-size: 11px;
  font-weight: 750;
}

.bet-detail-note p {
  margin-top: 5px;
  overflow-wrap: anywhere;
  color: #454a51;
  font-size: 12px;
  line-height: 19px;
}

.field-label,
.source-field-label {
  color: #33373d;
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

.input-wrap input,
.input-wrap textarea,
.input-wrap select,
.source-field-card input,
.source-pg-content input {
  color: #2f3339;
  font-size: 15px;
  font-weight: 550;
  line-height: 22px;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder,
.source-field-card input::placeholder,
.source-pg-content input::placeholder {
  color: #a8adb5;
  font-size: 13px;
  font-weight: 450;
}

.helper-text {
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 17px;
}

.source-channel-head h2 {
  color: var(--type-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.source-channel-closed,
.source-history-empty,
.source-pg-empty,
.source-welfare-empty {
  color: var(--type-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
}

.source-warning,
.source-upload-warning {
  color: var(--type-warning);
  font-size: 11px;
  font-weight: 550;
  line-height: 17px;
}

.primary-button,
.secondary-button,
.danger-button,
.source-submit {
  font-size: 15px;
  font-weight: 750;
  line-height: 21px;
}

.account-type span:last-child {
  color: #41464d;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.account-type.active span:last-child {
  color: #8f5d34;
}

.metric-card span {
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
}

.metric-card strong {
  color: var(--type-strong);
  font-family: "DIN Alternate", "Avenir Next", -apple-system, sans-serif;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 29px;
}

.empty-state {
  color: var(--type-muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 19px;
}

.empty-state strong {
  color: #4d525a;
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

.empty-state.compact {
  min-height: 150px;
  gap: 5px;
}

.empty-state.compact span {
  color: var(--type-faint);
  font-size: 11px;
}

[data-view="profile"] .profile-copy.plain-action strong {
  color: var(--type-strong);
  font-size: 19px;
  font-weight: 800;
  line-height: 26px;
}

[data-view="profile"] .profile-copy.plain-action span {
  color: var(--type-muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 17px;
}

[data-view="profile"] .section-title {
  font-size: 16px;
  font-weight: 800;
}

[data-view="profile"] .menu-item span {
  color: #454a51;
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
}

[data-view="profile"] .feature-menu span {
  color: #30343a;
  font-size: 13px;
  font-weight: 750;
}

[data-view="profile"] .profile-balance .helper-text {
  color: #77604b;
  font-size: 11px;
  font-weight: 650;
}

[data-view="help"] .row-copy strong {
  color: var(--type-strong);
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

[data-view="help"] .row-copy small {
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 550;
  line-height: 16px;
}

[data-view="help"] .accordion-content-inner,
[data-view="help"] .accordion-content-inner p {
  color: #555b63;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

[data-view="help"] .help-contact,
[data-view="help"] .help-contact > button {
  color: #454a52;
  font-size: 13px;
  font-weight: 650;
}

[data-view="login"] .segmented-tabs button,
[data-view="register"] .segmented-tabs button {
  color: #8d9299;
  font-size: 16px;
  font-weight: 650;
}

[data-view="login"] .segmented-tabs button.active,
[data-view="register"] .segmented-tabs button.active {
  color: #a96f3e;
  font-weight: 800;
}

[data-view="login"] .field-label,
[data-view="register"] .field-label {
  color: #2d3137;
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

[data-view="login"] .input-wrap input,
[data-view="register"] .input-wrap input {
  color: #25292f;
  font-size: 15px;
  font-weight: 550;
}

[data-view="login"] .check-row label {
  color: #666c74;
  font-size: 13px;
  font-weight: 550;
}

[data-view="login"] .check-row .plain-action,
[data-view="register"] .auth-switch-link {
  font-size: 13px;
  font-weight: 650;
}

[data-view="register"] .auth-switch-link strong {
  color: var(--type-accent);
  font-weight: 800;
}

[data-view="register"] .helper-text {
  color: #a25349;
  font-size: 11px;
  font-weight: 550;
  line-height: 17px;
}

[data-view="rules"] .rule-title {
  color: #33291f;
  font-size: 15px;
  font-weight: 800;
  line-height: 22px;
}

[data-view="rules"] .rule-copy {
  color: #50565e;
  font-size: 13px;
  font-weight: 500;
  line-height: 23px;
}

.settings-profile strong {
  color: var(--type-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.modal h2 {
  color: var(--type-strong);
  font-size: 18px;
  font-weight: 800;
  line-height: 25px;
}

.modal p {
  color: #666c74;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
}

.toast {
  font-size: 13px;
  font-weight: 650;
  line-height: 19px;
}

.chat-bubble {
  color: #33373d;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.chat-time {
  color: #868c94;
  font-size: 10px;
  font-weight: 550;
  line-height: 15px;
}

.invite-content h1 {
  font-size: 25px;
  font-weight: 850;
  line-height: 33px;
}

.invite-line span {
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
}

.invite-line strong {
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  line-height: 18px;
}

[data-view="business"] .business-headline h2 {
  font-size: 30px;
  font-weight: 850;
  line-height: 39px;
}

[data-view="business"] .business-headline p {
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
}

[data-view="business"] .business-contact strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

[data-view="business"] .business-contact div > span {
  color: #70767f;
  font-size: 11px;
  font-weight: 550;
  line-height: 16px;
}

[data-view="business"] .business-contact > button {
  color: #8c5a32;
  font-size: 12px;
  font-weight: 800;
}

[data-view="first-recharge"] .rules-intro {
  color: #735234;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

[data-view="first-recharge"] .promotion-row {
  color: #4b5058;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

[data-view="first-recharge"] .promotion-row:first-child {
  color: #382c21;
  font-weight: 800;
}

.source-pg-search button,
.pg-game-loading {
  color: #4c5159;
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
}

@media (max-width: 350px) {
  .match-list-row .row-copy {
    flex-basis: 34%;
  }

  .match-list-teams {
    font-size: 11px;
  }

  [data-view="business"] .business-headline h2 {
    font-size: 27px;
    line-height: 35px;
  }
}

/* Complete typography coverage for detail, commerce, and conversational views. */
.record-value small.is-won {
  background: #e7f3ef;
  color: var(--type-positive);
}

.record-value small.is-lost {
  background: #faeceb;
  color: #a84d45;
}

.record-value small.is-pending {
  background: #fbf0df;
  color: var(--type-warning);
}

.record-value small.is-void {
  background: #eef0f2;
  color: #686f78;
}

.details-section-title {
  color: var(--type-strong);
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.details-section-title small {
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

.match-league {
  color: #f7f8fa;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
}

.match-status,
.market-status {
  font-size: 10px;
  font-weight: 750;
  line-height: 16px;
}

.match-team strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 21px;
}

.match-team small,
.match-versus span,
.score-team span,
.score-center span,
.match-facts span {
  color: var(--type-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
}

.match-versus strong,
.score-center strong,
.score-team b {
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.score-team strong,
.match-facts strong {
  color: var(--type-strong);
  font-size: 13px;
  font-weight: 750;
  line-height: 19px;
}

.match-note {
  color: #5a6068;
  font-size: 12px;
  font-weight: 500;
  line-height: 19px;
}

.match-note span {
  color: #93613a;
  font-weight: 750;
}

.market-card header span {
  color: var(--type-muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 15px;
}

.market-card header strong {
  color: var(--type-strong);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

.odds-option span {
  color: #555b63;
  font-size: 12px;
  font-weight: 650;
  line-height: 17px;
}

.odds-option strong {
  color: #945f35;
  font-family: "DIN Alternate", "Avenir Next", sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 22px;
}

.odds-stopped strong {
  color: #555b63;
  font-size: 14px;
  font-weight: 750;
  line-height: 20px;
}

.odds-stopped > span:last-child {
  color: var(--type-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.copy-line {
  color: #4b5058;
  font-weight: 600;
  line-height: 19px;
}

.copy-button,
.chat-send,
.competition-reload {
  font-size: 13px;
  font-weight: 750;
  line-height: 19px;
}

.chat-compose textarea {
  color: #34383e;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.chat-compose textarea::placeholder {
  color: #a3a8b0;
  font-size: 13px;
  font-weight: 450;
}
