:root {
  --app-max-width: 430px;
  --green: #6eaaf9;
  --green-2: #3a7dff;
  --page: #151e34;
  --panel: #1c2641;
  --panel-2: #202b49;
  --line: rgba(255, 255, 255, .08);
  --text: #fff;
  --muted: #8fa0bd;
  --warn: #eac88e;
  --gold: #eac88e;
  --gold-2: #ffd89a;
  --blue: #6eaaf9;
  --deep: #0e1629;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: #111315;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

#app {
  min-height: 100vh;
  background: #111315;
}

.shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: 58px;
  background: #202327;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 52px;
  padding: 5px 5px 4px;
  background: #050608;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  font-weight: 800;
}

.brand img {
  width: 135px;
  height: 42px;
  object-fit: contain;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-balance {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 126px;
  color: #fff;
  font-size: 16px;
}

.top-balance > svg {
  width: 18px;
  height: 18px;
  color: #13b47b;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.top-balance > svg.target-svg {
  fill: currentColor !important;
  stroke: none !important;
}

.top-balance span {
  max-width: 78px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-balance button {
  width: 18px;
  height: 18px;
  color: #c7d0da;
  background: transparent;
  padding: 1px;
}

.top-balance button svg,
.top-balance button img {
  width: 100%;
  height: 100%;
  display: block;
}

.btn {
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #3d424b;
  height: 34px;
  min-width: 96px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(90deg, var(--green-2), var(--green));
}

.icon-btn {
  width: 25px;
  height: 25px;
  border: 0;
  color: #fff;
  background: transparent;
  padding: 0;
}

.icon-btn svg,
.form-close svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabs {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 4px 4px 5px;
  color: #7f8c99;
  font-weight: 800;
  background: #232428;
}

.tab {
  border: 0;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 8px;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.tab.active {
  color: var(--green);
  background: #262729;
  text-shadow: 0 0 4px rgba(88, 175, 16, .85);
}

.tab-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.tab-icon svg,
.nav-icon svg,
.share-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.target-svg {
  fill: currentColor !important;
  stroke: none !important;
  stroke-width: 0 !important;
  stroke-linecap: initial !important;
  stroke-linejoin: initial !important;
}

.content {
  padding: 0 5px 18px;
}

.member-route-content {
  padding: 0;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  height: 154px;
  border-radius: 4px;
  touch-action: pan-y;
  user-select: none;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
  will-change: transform;
}

.hero-carousel.dragging .hero-track {
  transition: none;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 154px;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 154px;
  object-fit: cover;
}

.hero-banner {
  display: block;
  width: 100%;
  height: 154px;
  padding: 0;
  color: inherit;
  background: transparent;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.hero-dots .active {
  background: #0e80ff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  border-radius: 4px;
  background: #101216;
}

.pool-card {
  position: relative;
  overflow: hidden;
  display: block;
  height: 154px;
  width: 100%;
  border-radius: 4px;
  padding: 10px 12px;
  color: #fff;
  background-color: #0c1730;
  background-image: var(--pool-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 11px;
}

.pool-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 13, 31, .96) 0%, rgba(7, 17, 39, .9) 55%, rgba(8, 18, 41, .68) 100%);
  pointer-events: none;
}

.pool-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding-right: 70px;
}

.pool-label-row,
.pool-money-row {
  display: flex;
}

.pool-token,
.pool-amount {
  width: 50%;
}

.pool-token img {
  display: block;
  width: 78px;
  height: 23px;
  object-fit: contain;
  object-position: left center;
}

.pool-amount {
  min-width: 0;
  margin-top: 1px;
  padding-left: 4px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .65);
  white-space: nowrap;
}

.pool-address-list {
  display: grid;
  gap: 3px;
  max-height: 52px;
  margin-top: 14px;
  overflow-y: auto;
  scrollbar-width: none;
}

.pool-address-list::-webkit-scrollbar {
  display: none;
}

.pool-address-row {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 3px 7px;
  border: 0;
  border-left: 2px solid rgba(77, 216, 175, .72);
  border-radius: 3px;
  color: #eaf4ff;
  background: linear-gradient(90deg, rgba(19, 43, 79, .72), rgba(10, 23, 50, .3));
}

.pool-address-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4dd8af;
  box-shadow: 0 0 6px rgba(77, 216, 175, .7);
}

.pool-address-row code {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #f4f8ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 9.5px;
  letter-spacing: 0;
  text-align: left;
  text-overflow: clip;
  white-space: nowrap;
}

.pool-address-empty {
  display: flex;
  align-items: center;
  min-height: 29px;
  padding: 0 9px;
  border-left: 2px solid #4dd8af;
  color: #c9d8ee;
  background: rgba(7, 17, 37, .38);
  font-size: 11px;
}

.pool-detail {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  min-width: 62px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(245, 210, 133, .52);
  border-radius: 14px;
  color: #fff;
  background: rgba(26, 43, 79, .86);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.home-pool-strip {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  margin: 8px 0 0;
  border: 1px solid rgba(83, 116, 173, .48);
  border-radius: 7px;
  background-color: #101d35;
  background-image: var(--pool-bg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 112%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.home-pool-strip::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(10, 22, 43, .88);
  pointer-events: none;
}

.home-pool-strip > a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 8px 46px 8px 11px;
  color: #fff;
  text-decoration: none;
}

.home-pool-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.home-pool-heading > i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(76, 223, 181, .32);
  border-radius: 50%;
  color: #55e0ba;
  background: rgba(51, 207, 166, .1);
  font-style: normal;
}

.home-pool-heading > i svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-pool-heading > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-pool-heading span {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.home-pool-heading small {
  color: #91a6c8;
  font-size: 9px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.home-pool-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
}

.home-pool-assets > span {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  height: 42px;
  padding: 0 8px 0 10px;
  border-left: 1px solid rgba(91, 121, 171, .32);
}

.home-pool-assets small {
  color: #53dfba;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.home-pool-assets > span + span small {
  color: #e58ff5;
}

.home-pool-assets b {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-pool-strip .home-pool-enter {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(238, 209, 144, .38);
  border-radius: 50%;
  color: #f2d18f;
  background: rgba(238, 209, 144, .08);
  font-size: 0;
  font-style: normal;
  line-height: 1;
  transform: translateY(-50%);
}

.home-pool-strip .home-pool-enter::before {
  width: 7px;
  height: 7px;
  margin-left: -2px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.pool-detail span {
  width: auto;
}

.pool-detail b {
  color: #ffe09a;
  font-size: 15px;
  line-height: 1;
}

.pool-detail:active {
  transform: translateY(1px);
}

.hero img {
  display: block;
  width: 100%;
  height: 154px;
  object-fit: cover;
}

.balances {
  position: absolute;
  top: 20px;
  left: 18px;
  display: flex;
  gap: 22px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #d6fce1;
  background: rgba(8, 10, 13, .58);
  font-weight: 800;
}

.balance-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(88, 175, 16, .65);
  border-radius: 999px;
  background: rgba(13, 22, 18, .7);
}

.address-strip {
  position: absolute;
  left: 18px;
  bottom: 22px;
  max-width: 82%;
  padding: 6px 10px;
  border-radius: 4px;
  color: #e9f7ff;
  background: rgba(18, 21, 26, .82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 4px 10px;
  font-size: 18px;
  font-weight: 900;
}

.section-title span {
  color: var(--green);
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.title-with-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.view-all {
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 14px;
  padding: 0;
}

.view-all svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  width: 100%;
  margin-right: 0;
}

.home-game-strip {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-game-strip::-webkit-scrollbar {
  display: none;
}

.home-game-strip .game-card {
  flex: 0 0 32.34%;
}

.game-card {
  padding: 4px;
}

.game-card button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

.game-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 6px;
  object-fit: contain;
  background: #0d0f12;
}

.game-name {
  margin-top: 8px;
  padding-bottom: 8px;
  line-height: 1.35;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 13px 16px;
}

.filter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px;
  border-radius: 3px;
  color: var(--muted);
  background: var(--panel-2);
}

.detail-head {
  padding: 14px;
  border-radius: 6px;
  background: var(--panel);
}

.detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
}

.detail-title img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.block-box,
.rule-box,
.bet-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 6px;
  background: var(--panel);
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.kv:last-child {
  border-bottom: 0;
}

.kv .value {
  color: #fff;
  text-align: right;
  word-break: break-all;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 10px;
  border-radius: 4px;
  color: #dffbe5;
  background: #263923;
  border: 1px solid rgba(88, 175, 16, .35);
  font-size: 13px;
}

.trend {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.trend-pill {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #36404a;
  font-size: 12px;
}

.trend-pill:nth-child(odd) {
  background: #286c31;
}

.target-game-detail {
  padding: 8px 0 24px;
}

.target-bet-address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #fff;
  font-size: 13px;
}

.target-bet-address-title strong {
  font-size: 16px;
}

.target-bet-address-title span {
  color: #cfd7df;
}

.game-address-field {
  grid-template-columns: minmax(0, 1fr) 58px;
  min-height: 42px;
  margin-bottom: 12px;
}

.game-address-field span {
  padding: 0 6px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(10px, 2.75vw, 12px);
  font-weight: 700;
  text-overflow: clip;
}

.game-address-field button {
  gap: 2px;
  padding: 0 5px;
  font-size: 12px;
}

.game-address-field svg {
  width: 15px;
  height: 15px;
}

.wallet-activate-btn {
  width: 100%;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 4px;
  color: #212100;
  background: linear-gradient(180deg, #ffe733, #ffbf00);
  box-shadow: 0 0 8px rgba(255, 213, 0, .8);
  font-size: 18px;
  font-weight: 900;
}

.page-bet-card {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 6px;
  background: #24272c;
}

.page-bet-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-bet-card header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-bet-card header strong {
  color: #fff;
  font-size: 16px;
}

.page-bet-card header span,
.page-bet-card header em {
  color: #cfd7df;
  font-size: 12px;
  font-style: normal;
}

.page-bet-card header em {
  flex: 0 0 auto;
  color: #fff852;
  font-weight: 900;
}

.page-bet-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.page-bet-choice button {
  display: grid;
  place-items: center;
  gap: 3px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  color: #fff;
  background: #1d2026;
  font-size: 16px;
  font-weight: 900;
}

.page-bet-choice button strong {
  font-size: 16px;
  line-height: 1;
}

.page-bet-choice button span {
  color: #aebbd0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.page-bet-choice button.active {
  border-color: #ffe02f;
  color: #222;
  background: linear-gradient(180deg, #fff36a, #ffbf00);
}

.page-bet-choice button.active span {
  color: #3a3100;
}

.page-bet-field {
  display: grid;
  gap: 6px;
}

.page-bet-field span {
  color: #cfd7df;
  font-size: 12px;
}

.page-bet-field input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  color: #fff;
  background: #1d2026;
  padding: 0 10px;
  font-size: 14px;
}

.page-bet-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 10px;
  color: #b7c1cc;
  font-size: 12px;
}

.page-bet-meta span {
  min-width: 0;
}

.page-bet-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 4px;
  color: #c8d4e7;
  background: rgba(10, 18, 33, .48);
  font-size: 12px;
}

.page-bet-estimate strong {
  color: #fff852;
  font-size: 14px;
}

.transfer-bet-card header {
  align-items: center;
}

.transfer-bet-card header em {
  max-width: 82px;
  text-align: right;
  line-height: 1.25;
}

.transfer-bet-meta span {
  flex: 1 1 132px;
  line-height: 1.35;
}

.bound-address-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.bound-address-list span {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 4px;
  color: #dfe7ef;
  background: #191c21;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.address-page-list {
  margin: 0 0 12px;
}

.page-bet-submit {
  margin-bottom: 0;
}

.page-bet-submit:disabled {
  opacity: .58;
}

.record-row small {
  display: block;
  margin-top: 4px;
  color: #7f8996;
  font-size: 11px;
  line-height: 1.3;
}

.target-game-rule-card {
  overflow: hidden;
  border-radius: 5px;
  background: #101418;
}

.target-game-rule-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.game-rule-detail {
  display: grid;
  gap: 12px;
}

.game-rule-detail header {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 6px;
  color: #fff;
  background: #1f2b44;
}

.game-rule-detail header strong {
  font-size: 16px;
  font-weight: 950;
}

.game-rule-detail header span {
  color: #9fb0ce;
  font-size: 12px;
}

.game-rule-image {
  overflow: hidden;
  border-radius: 7px;
  background: #111827;
}

.game-rule-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.game-rule-html {
  padding: 12px;
  border-radius: 7px;
  color: #dce7ff;
  background: #172137;
  font-size: 13px;
  line-height: 1.7;
}

.game-rule-html h1,
.game-rule-html h2,
.game-rule-html h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
}

.game-rule-html p {
  margin: 0 0 8px;
}

.game-rule-html img {
  max-width: 100%;
  height: auto;
}

.odds-table {
  overflow: hidden;
  margin-top: 8px;
  background: #24272c;
}

.odds-table div {
  display: grid;
  grid-template-columns: 90px 1fr;
  min-height: 55px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.odds-table div:last-child {
  border-bottom: 0;
}

.odds-table strong {
  display: grid;
  place-items: center;
  color: #fff;
  background: #1d2026;
  font-size: 14px;
}

.odds-table span {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  color: #fff852;
  line-height: 1.15;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 10px;
}

.target-game-detail > .warning-text {
  margin: 9px 0 14px;
  font-size: 13px;
}

.game-example {
  padding: 9px 10px;
  background: #202327;
}

.game-example h3 {
  margin: 0 0 8px;
  color: #ffca18;
  font-size: 15px;
}

.game-example .example-subtitle {
  margin-top: 18px;
}

.game-example p {
  margin: 7px 0;
  color: #d8e0e7;
  line-height: 1.42;
  font-size: 13px;
}

.trend-example {
  margin-top: 10px;
}

.trend-recent {
  margin-top: 10px;
}

.target-trend-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.target-trend-head h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.target-trend-summary {
  overflow: hidden;
  max-width: 140px;
  color: #b9c7de;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-recent-trend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.target-recent-trend-head h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.target-trend-head button {
  color: #b9c7dc;
  background: transparent;
  font-size: 12px;
}

.target-trend-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.target-trend-grid {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  min-height: 84px;
  padding: 10px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #191b1f;
  scrollbar-width: none;
}

.target-trend-grid::-webkit-scrollbar {
  display: none;
}

.target-recent-trend-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 8px;
  background: #191b1f;
  scrollbar-width: none;
}

.target-recent-trend-strip::-webkit-scrollbar {
  display: none;
}

.target-recent-trend-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 34px;
  height: 20px;
  padding: 0 7px;
  border-radius: 11px;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
}

.target-trend-col {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
}

.target-trend-grid .trend-pill,
.target-trend-head .trend-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 17px;
  height: 17px;
  padding: 0 2px;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

.target-trend-grid .trend-wide,
.target-trend-head .trend-wide {
  width: auto;
  min-width: 40px;
  padding: 0 5px;
  border-radius: 10px;
}

.target-trend-empty {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  color: #7f8da0;
  font-size: 12px;
}

.trend-red {
  color: #ff647b;
  background: transparent;
  border: 1px solid #ff4b68;
}

.trend-blue {
  color: #65a6ff;
  background: transparent;
  border: 1px solid #448dff;
}

.trend-yellow {
  background: transparent;
  border: 2px solid #dfd800;
}

.trend-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0 !important;
  color: #c5ced8 !important;
  font-size: 12px !important;
}

.trend-note b {
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #101010;
  background: #fff400;
}

.form-page {
  min-height: 100vh;
  padding: 0 0 28px;
  background: #202327;
}

.form-visual {
  position: relative;
  width: 100%;
  height: 224px;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.reg-page .form-visual {
  height: 192px;
}

.form-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #3a414d;
  padding: 6px;
}

.form-copy {
  position: absolute;
  right: 20px;
  top: 105px;
  text-align: left;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.reg-page .form-copy {
  top: 104px;
  right: -43px;
}

.form-copy span {
  padding-left: 8px;
  color: #7bd71c;
}

.form-copy p {
  margin: 10px 0 0;
  color: #9ba6b3;
  font-size: 12px;
  font-weight: 400;
}

.form-stack {
  display: flex;
  flex-direction: column;
  width: 91.6667%;
  margin: 40px auto 0;
}

.reg-page .form-stack {
  margin-top: 40px;
}

.field {
  width: 100%;
  height: 48px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: var(--text);
  background: #151719;
  outline: none;
  font-size: 13px;
}

.password-field {
  position: relative;
  display: block;
  margin-bottom: 16px;
}

.password-field .field {
  margin-bottom: 0;
  padding-right: 44px;
}

.password-eye {
  position: absolute;
  top: 0;
  right: 5px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 48px;
  border: 0;
  color: #d5dce5;
  background: transparent;
  opacity: .86;
}

.password-eye.active {
  color: var(--green);
}

.password-eye svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.captcha-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  margin-bottom: 9px;
  padding: 0 12px;
  color: #121212;
  background: #f3f3f3;
  font-size: 14px;
}

.hcaptcha-slot {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  clip-path: inset(50%);
  overflow: hidden;
  pointer-events: none;
}

.hcaptcha-slot > div {
  width: 1px;
  height: 1px;
}

.checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #69717a;
}

.captcha-spin {
  width: 20px;
  height: 20px;
  margin-left: auto;
  border: 2px solid #d1d5db;
  border-top-color: #64748b;
  border-radius: 50%;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: -6px 0 17px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.remember-row input {
  width: 12px;
  height: 12px;
  accent-color: var(--green);
}

.link-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  color: #64748b;
  font-size: 15px;
}

.link {
  color: #29c25a;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 800;
}

.other-login {
  margin-top: 15px;
}

.other-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 12px;
}

.other-title span {
  height: 8px;
  border-bottom: 1px solid #444851;
}

.other-title b {
  font-weight: 700;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 20px 0 0 12px;
}

.share-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #11365a;
  padding: 8px;
}

.share-icon:nth-child(1) { background: #123b5f; color: #27b8f6; }
.share-icon:nth-child(2) { background: #063f19; color: #17d52a; }
.share-icon:nth-child(3) { background: #123a60; color: #2698e9; }
.share-icon:nth-child(4) { background: #3b3111; color: #f0bb18; }
.share-icon:nth-child(5) { background: #16346a; color: #3478ff; }
.share-icon:nth-child(6) { background: #4a1731; color: #ff3b91; }

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  transform: translateX(-50%);
  width: min(100%, var(--app-max-width));
  height: 55px;
  display: grid;
  grid-template-columns: repeat(var(--nav-count, 5), 1fr);
  align-items: center;
  background: rgba(18, 20, 24, .98);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.nav-item {
  position: relative;
  height: 55px;
  border: 0;
  color: #808b97;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.nav-item.active {
  color: #fff;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0 auto 3px;
  font-size: 20px;
}

.nav-item.prominent .nav-icon {
  width: 36px;
  height: 36px;
  margin-top: -17px;
  margin-bottom: 1px;
  border-radius: 50%;
  color: #101316;
  background: #dfe7ef;
  border: 6px solid #2b3036;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 60;
  transform: translateX(-50%);
  max-width: 330px;
  padding: 10px 14px;
  border-radius: 4px;
  color: #fff;
  background: rgba(0, 0, 0, .78);
}

.modal-mask {
  position: fixed;
  inset: 0 auto 0 50%;
  width: min(100%, var(--app-max-width));
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 209px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .58);
}

.modal {
  width: 274px;
  min-height: 340px;
  padding: 22px 20px 17px;
  border-radius: 8px;
  background: #22262b;
}

.modal::before {
  content: "";
  display: block;
  height: 18px;
  margin: -22px -20px 13px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #61b420, #283523);
}

.modal-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.modal p {
  color: #f5f5f5;
  line-height: 1.6;
  font-size: 13px;
}

.security-modal-mask {
  position: fixed;
  inset: 0 auto 0 50%;
  width: min(100%, var(--app-max-width));
  z-index: 70;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .64);
}

.security-modal {
  width: 284px;
  padding: 24px 18px 18px;
  border-radius: 8px;
  color: #fff;
  background: #24272c;
  text-align: center;
}

.security-modal h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.security-modal p {
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 700;
}

.security-modal button {
  width: 100%;
  height: 40px;
  border-radius: 3px;
  color: #fff;
  background: #37ae1f;
  font-size: 14px;
  font-weight: 900;
}

.game-transfer-qr-modal {
  width: min(320px, calc(100vw - 42px));
  padding: 20px 16px 16px;
  text-align: left;
}

.game-transfer-qr-modal h3,
.game-transfer-qr-modal p {
  text-align: center;
}

.game-transfer-qr-modal .qr-img {
  width: 176px;
  height: 176px;
  margin: 14px auto;
  border-radius: 8px;
}

.game-transfer-copy-field {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 4px;
  background: #151d31;
}

.game-transfer-copy-field button {
  color: #19213a;
  background: linear-gradient(180deg, #ffe4ae, #d5b066);
  font-weight: 900;
}

.game-transfer-copy-field svg {
  color: currentColor;
  stroke: currentColor;
}

.game-transfer-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.dice-draw-modal {
  position: relative;
  width: min(338px, calc(100vw - 32px));
  min-height: 430px;
  overflow: hidden;
  padding: 24px 18px 18px;
  border: 1px solid #36558c;
  border-radius: 10px;
  background: #101a30;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .52);
}

.dice-draw-modal::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(31, 57, 105, .54), rgba(16, 26, 48, 0) 48%);
  pointer-events: none;
}

.dice-draw-modal > * {
  position: relative;
  z-index: 1;
}

.dice-draw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
}

.dice-draw-head > div {
  min-width: 0;
}

.dice-draw-close {
  position: relative !important;
  top: auto;
  right: auto;
  z-index: 5 !important;
  flex: 0 0 30px;
  display: grid !important;
  place-items: center;
  width: 30px !important;
  height: 30px !important;
  margin: 0 0 0 12px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50% !important;
  color: #b9c7df !important;
  background: #172541 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.dice-draw-close::before,
.dice-draw-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: center;
}

.dice-draw-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.dice-draw-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.dice-draw-eyebrow {
  display: block;
  color: #4ee0bb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.dice-draw-modal h3 {
  margin: 4px 0 0;
  font-size: 22px;
}

.dice-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 205px;
  perspective: 760px;
}

.dice-stage-halo {
  position: absolute;
  width: 188px;
  height: 98px;
  top: 50px;
  border-radius: 50%;
  border: 1px solid rgba(84, 169, 255, .22);
  background: radial-gradient(circle, rgba(53, 162, 255, .16), rgba(31, 225, 175, .04) 56%, transparent 72%);
  transform: rotateX(68deg);
}

.dice-three-host {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 205px;
  overflow: hidden;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 58%, rgba(63, 143, 224, .18), rgba(20, 36, 66, .06) 38%, transparent 68%);
}

.dice-three-host > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #7590b8;
  font-size: 11px;
}

.dice-three-host .dice-three-error {
  color: #ff9b9b;
}

.dice-three-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

.dice-stage.is-settled .dice-stage-halo {
  border-color: rgba(255, 219, 112, .36);
  background: radial-gradient(circle, rgba(255, 211, 99, .2), rgba(31, 225, 175, .04) 56%, transparent 72%);
}

.dice-cube-wrap {
  position: relative;
  z-index: 2;
  width: 98px;
  height: 98px;
  transform-style: preserve-3d;
}

.dice-cube {
  --dice-x: 0deg;
  --dice-y: 0deg;
  --dice-z: 0deg;
  position: relative;
  width: 98px;
  height: 98px;
  transform-style: preserve-3d;
}

.dice-cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 13px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffff 0%, #eaf2fc 58%, #b9c8dc 100%);
  box-shadow: inset 6px 7px 12px rgba(255, 255, 255, .82), inset -8px -9px 13px rgba(113, 135, 166, .38);
  backface-visibility: hidden;
}

.dice-cube-face-1 { transform: translateZ(49px); }
.dice-cube-face-2 { transform: rotateY(90deg) translateZ(49px); }
.dice-cube-face-3 { transform: rotateX(90deg) translateZ(49px); }
.dice-cube-face-4 { transform: rotateX(-90deg) translateZ(49px); }
.dice-cube-face-5 { transform: rotateY(-90deg) translateZ(49px); }
.dice-cube-face-6 { transform: rotateY(180deg) translateZ(49px); }

.dice-cube-face i {
  display: grid;
  place-items: center;
}

.dice-cube-face i.active::after {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #425274, #0b1427 72%);
  box-shadow: inset 2px 2px 3px rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .42);
  content: "";
}

.dice-cube.is-rolling {
  animation: dice-cube-roll 1.1s cubic-bezier(.48, .05, .46, .95) infinite;
}

.dice-cube.is-settled {
  animation: dice-cube-land .72s cubic-bezier(.18, .89, .32, 1.18) both;
}

.dice-ground-shadow {
  position: absolute;
  z-index: 1;
  width: 108px;
  height: 24px;
  bottom: 29px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .52);
  filter: blur(7px);
  animation: dice-shadow-pulse 1.1s ease-in-out infinite;
}

.dice-stage.is-settled .dice-ground-shadow {
  animation: none;
  opacity: .82;
  transform: scale(1.08);
}

.dice-draw-order {
  display: grid;
  gap: 2px;
  margin: 3px 0 2px;
  padding: 8px 10px;
  border: 1px solid rgba(70, 225, 181, .3);
  border-radius: 6px;
  background: rgba(16, 37, 58, .86);
}

.dice-draw-order[hidden] {
  display: none;
}

.dice-draw-order span {
  color: #8ea5c8;
  font-size: 10px;
}

.dice-draw-order strong {
  color: #58e0ba;
  font-size: 12px;
}

.dice-draw-result {
  display: block;
  color: #ffdc60;
  font-size: 26px;
  line-height: 1.15;
}

.dice-draw-result.is-win {
  color: #55e0ba;
  text-shadow: 0 0 14px rgba(85, 224, 186, .3);
}

.dice-draw-result.is-loss {
  color: #ff8290;
}

.dice-draw-status {
  min-height: 38px;
  margin: 8px 0 10px !important;
  color: #b9c8df !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.dice-draw-evidence {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #2b3e63;
  border-radius: 6px;
  background: #0c1528;
  text-align: left;
}

.dice-draw-evidence span {
  display: flex;
  justify-content: space-between;
  color: #99aac5;
  font-size: 11px;
}

.dice-draw-evidence b {
  color: #fff;
}

.dice-draw-evidence code {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  color: #53dfba;
  font-size: 10px;
  white-space: nowrap;
}

.dice-draw-evidence code > span {
  display: inline;
  color: inherit;
  font-size: inherit;
}

.dice-draw-evidence code i {
  color: #7187a8;
  font-style: normal;
}

.dice-draw-evidence code .hash-tail {
  display: inline;
  margin: 0 1px;
  padding: 1px 3px;
  border-radius: 3px;
  color: #07131d;
  background: #55e0ba;
  box-shadow: 0 0 8px rgba(85, 224, 186, .42);
}

.dice-draw-evidence > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(238, 209, 144, .44);
  border-radius: 5px;
  color: #f2d18f;
  background: rgba(238, 209, 144, .08);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.dice-draw-evidence > a[hidden] {
  display: none;
}

.dice-draw-evidence > a b {
  margin-left: 6px;
  color: inherit;
  font-size: 16px;
}

@keyframes dice-cube-roll {
  0% { transform: translateY(24px) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  24% { transform: translateY(-34px) rotateX(174deg) rotateY(126deg) rotateZ(38deg); }
  54% { transform: translateY(-50px) rotateX(358deg) rotateY(286deg) rotateZ(92deg); }
  78% { transform: translateY(-18px) rotateX(542deg) rotateY(462deg) rotateZ(140deg); }
  100% { transform: translateY(24px) rotateX(720deg) rotateY(630deg) rotateZ(180deg); }
}

@keyframes dice-cube-land {
  0% { transform: translateY(-42px) rotateX(530deg) rotateY(410deg) rotateZ(90deg) scale(.88); }
  72% { transform: translateY(5px) rotateX(var(--dice-x)) rotateY(var(--dice-y)) rotateZ(var(--dice-z)) scale(1.04); }
  100% { transform: translateY(0) rotateX(var(--dice-x)) rotateY(var(--dice-y)) rotateZ(var(--dice-z)) scale(1); }
}

@keyframes dice-shadow-pulse {
  0%, 100% { opacity: .74; transform: scale(1); }
  50% { opacity: .28; transform: scale(.58); }
}

.game-transfer-modal-actions button:last-child {
  background: #3a4150;
}

.empty {
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

.empty.compact {
  padding: 36px 0;
}

.target-error-toast {
  width: 90px;
  min-height: 72px;
  margin: 270px auto 0;
  display: grid;
  place-items: center;
  gap: 4px;
  border-radius: 4px;
  color: #fff;
  background: #070809;
  font-size: 12px;
  text-align: center;
}

.target-error-toast strong {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.page-shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  color: #fff;
  background: #1f2227;
}

.page-titlebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  height: 48px;
  color: #fff;
  background: #1b1d22;
}

.page-titlebar.has-right {
  grid-template-columns: 92px minmax(0, 1fr) 92px;
}

.page-titlebar.has-right .titlebar-icon {
  justify-self: start;
}

.titlebar-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 48px;
  height: 48px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.titlebar-right button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.titlebar-right svg {
  width: 18px;
  height: 18px;
  color: #19b87e;
}

.page-titlebar strong {
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.titlebar-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: transparent;
  padding: 12px;
}

.titlebar-icon svg,
.shortcut svg,
.menu-row svg,
.copy-field svg,
.service-row-icon svg,
.tutorial-buttons svg,
.activity-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-body {
  padding: 0 12px 24px;
}

.activity-page {
  padding-top: 4px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-card {
  display: grid;
  grid-template-columns: 92px 1fr 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 86px;
  padding: 10px;
  border-radius: 4px;
  color: #fff;
  background: #24272c;
  text-align: left;
}

.activity-card img {
  width: 92px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
}

.activity-card strong,
.service-row strong,
.menu-row span,
.record-row strong {
  display: block;
  font-weight: 900;
}

.activity-card small,
.service-row small,
.record-row span {
  display: block;
  margin-top: 5px;
  color: #9ba6b3;
  line-height: 1.35;
  font-size: 12px;
}

.activity-card i,
.service-row i,
.menu-row i {
  color: #fff;
  font-style: normal;
  font-size: 26px;
}

.activity-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  color: #c9fc01;
  background: #151719;
  padding: 14px;
}

.target-activity-page {
  padding: 6px 0 64px;
}

.target-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.target-activity-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: #24272c;
  text-align: left;
  padding-bottom: 58px;
}

.target-activity-card img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.target-activity-card > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  align-content: center;
  gap: 5px;
  height: 58px;
  padding: 0 116px 0 12px;
  background: #24272c;
}

.target-activity-card strong {
  display: block;
  font-size: 14px;
}

.target-activity-card small {
  color: #9ba6b3;
  font-size: 12px;
}

.target-activity-card em {
  position: absolute;
  right: 12px;
  bottom: 15px;
  min-width: 74px;
  height: 28px;
  border-radius: 3px;
  color: #1c2a12;
  background: #3db321;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
}

.target-activity-detail {
  padding-bottom: 24px;
}

.activity-detail-banner {
  display: block;
  width: calc(100% + 24px);
  height: auto;
  margin: 0 -12px 22px;
  object-fit: contain;
}

.yellow-ribbon {
  position: relative;
  display: grid;
  place-items: center;
  width: 220px;
  height: 34px;
  margin: 10px auto 14px;
  color: #fff;
  background: #ffd21a;
  font-weight: 900;
}

.yellow-ribbon::before,
.yellow-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
}

.yellow-ribbon::before {
  left: -18px;
  border-right: 18px solid #ffd21a;
}

.yellow-ribbon::after {
  right: -18px;
  border-left: 18px solid #ffd21a;
}

.activity-meta {
  margin-bottom: 18px;
}

.activity-meta p {
  margin: 9px 0;
  color: #cfd7df;
  font-size: 14px;
}

.activity-meta b {
  color: #fff;
}

.activity-claim-hint {
  margin: 14px 0 10px;
  color: #aebbd0;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.activity-claim-status {
  display: grid;
  gap: 5px;
  margin: 16px 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 3px solid #f2c966;
  border-radius: 6px;
  background: rgba(25, 36, 61, .8);
}

.activity-claim-status span,
.activity-claim-status small {
  color: #9eabc0;
  font-size: 12px;
}

.activity-claim-status strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
}

.activity-claim-status.is-approved {
  border-left-color: #45d7a8;
}

.activity-claim-status.is-rejected {
  border-left-color: #f06f78;
}

.activity-claim-button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.activity-claim-modal {
  position: relative;
  width: min(92vw, 420px);
  padding: 28px 22px 22px;
}

.activity-claim-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: #aebbd0;
  background: transparent;
  font-size: 24px;
  line-height: 30px;
}

.activity-claim-kicker {
  display: block;
  margin-bottom: 6px;
  color: #45d7a8;
  font-size: 11px;
  font-weight: 800;
}

.activity-claim-name {
  margin: 6px 0 20px;
  color: #c8d2e5;
  font-size: 14px;
  line-height: 1.55;
}

.activity-claim-field {
  display: grid;
  gap: 9px;
}

.activity-claim-field > span {
  color: #9eabc0;
  font-size: 13px;
}

.activity-claim-coins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.activity-claim-coins button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  color: #c8d2e5;
  background: #15213a;
  font-weight: 800;
}

.activity-claim-coins button.active {
  border-color: #45d7a8;
  color: #0f2032;
  background: #45d7a8;
}

.activity-claim-review-note {
  display: grid;
  gap: 5px;
  margin: 16px 0;
  padding: 13px 14px;
  border-radius: 5px;
  color: #aebbd0;
  background: rgba(9, 17, 33, .46);
  font-size: 12px;
  line-height: 1.55;
}

.activity-claim-review-note strong {
  color: #f2c966;
  font-size: 13px;
}

.activity-claim-submit,
.activity-claim-result-close {
  width: 100%;
  min-height: 48px;
}

.activity-claim-result-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  border-radius: 50%;
  color: #102239;
  background: #45d7a8;
  font-size: 30px;
  font-weight: 900;
}

.activity-claim-result-copy {
  margin: 10px 0 20px;
  color: #aebbd0;
  line-height: 1.65;
  text-align: center;
}

.promo-hero,
.vip-card,
.member-hero,
.balance-panel,
.simple-card,
.money-card {
  border-radius: 6px;
  background: #24272c;
}

.promo-hero {
  min-height: 150px;
  margin: 8px 4px 14px;
  padding: 22px;
  background:
    radial-gradient(circle at 82% 28%, rgba(201, 252, 1, .22), transparent 31%),
    linear-gradient(135deg, #243127, #17191d 62%);
}

.promo-hero span {
  color: #c9fc01;
  font-weight: 900;
}

.promo-hero strong,
.vip-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
}

.promo-hero p,
.vip-card p,
.money-card p,
.page-tip {
  color: #b8c2ce;
  line-height: 1.55;
  font-size: 13px;
}

.member-grid,
.member-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 4px 14px;
}

.member-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shortcut {
  min-height: 78px;
  border-radius: 4px;
  color: #fff;
  background: #24272c;
  padding: 10px 4px;
}

.shortcut span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 7px;
  color: #c9fc01;
}

.shortcut strong {
  display: block;
  font-size: 13px;
}

.shortcut small {
  display: block;
  margin-top: 3px;
  color: #7f8c99;
  font-size: 11px;
}

.service-bg {
  position: relative;
  height: 208px;
  margin: 0 -12px;
  background: #160b5d url("/assets/images/ui/service-bg.png") center/100% 100% no-repeat;
}

.content > .service-bg {
  margin: 0 -5px;
}

.service-online {
  position: absolute;
  left: 32px;
  top: 84px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.service-online div {
  color: #c9fc01;
  font-size: 22px;
}

.service-online span:first-of-type {
  color: #ffdd19;
  margin-right: 3px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.service-empty {
  padding: 24px 16px;
  color: #a9b9cf;
  text-align: center;
}

.service-row:disabled {
  cursor: default;
  opacity: .65;
}

.service-row {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 10px;
  min-height: 80px;
  padding: 12px 16px;
  color: #fff;
  background: #24272c;
  text-align: left;
}

.service-row-icon {
  width: 22px;
  height: 22px;
  color: #27b8f6;
}

.member-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 4px 12px;
  padding: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #10210d;
  background: #c9fc01;
  font-size: 24px;
  font-weight: 900;
}

.member-hero strong,
.member-hero span {
  display: block;
}

.member-hero span {
  margin-top: 5px;
  color: #9ba6b3;
  font-size: 12px;
}

.member-logout {
  margin-left: auto;
  height: 32px;
  border-radius: 4px;
  color: #fff;
  background: #3d424b;
  padding: 0 12px;
}

.balance-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 4px 12px;
  overflow: hidden;
}

.balance-panel div {
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.balance-panel div:last-child {
  border-right: 0;
}

.balance-panel span,
.withdraw-balance span {
  display: block;
  color: #9ba6b3;
  font-size: 12px;
}

.balance-panel strong,
.withdraw-balance strong {
  display: block;
  margin-top: 6px;
  color: #c9fc01;
  font-size: 20px;
}

.member-menu.standalone,
.member-menu {
  margin: 8px 4px 14px;
  overflow: hidden;
  border-radius: 4px;
  background: #24272c;
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.menu-row:last-child {
  border-bottom: 0;
}

.target-member {
  padding: 16px 12px 0;
  color: #fff;
}

.target-profile {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 38px;
  align-items: center;
  justify-content: start;
  min-height: 78px;
  margin: 0 0 16px;
}

.target-avatar {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  margin-left: 12px;
  border-radius: 50%;
  border: 2px solid #329042;
  background: url("/assets/images/my/pfp_a.webp") center/100% 100% no-repeat;
}

.target-avatar b {
  position: absolute;
  right: -3px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #fff;
  background: #329042;
  font-size: 10px;
  line-height: 1;
}

.target-profile-info {
  min-width: 0;
  font-size: 14px;
}

.target-profile-info div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
}

.target-profile-info span {
  color: #d8dde6;
  text-align: right;
}

.target-profile-info strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-service {
  width: 32px;
  height: 32px;
  color: #fff;
  background: transparent;
  padding: 4px;
}

.target-service svg,
.target-vip-head svg,
.target-wallet-amount svg,
.target-wallet-action svg,
.target-member-row svg,
.agent-tabbar svg,
.agent-search svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.target-vip-card {
  position: relative;
  min-height: 100px;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 7px;
  background:
    url("/assets/images/my/vip-card-bg.webp") center/cover no-repeat,
    linear-gradient(135deg, #403119, #17191d);
  padding: 16px 14px 14px 104px;
}

.target-diamond {
  position: absolute;
  left: -4px;
  top: -16px;
  width: 124px;
  height: 124px;
  background: url("/assets/images/my/vip-diamond.webp") center/contain no-repeat;
}

.target-vip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 34px;
}

.target-vip-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
}

.target-vip-head button:last-child {
  font-size: 14px;
}

.target-vip-head svg {
  width: 14px;
  height: 14px;
}

.target-vip-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  gap: 10px;
}

.target-vip-progress span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 22px;
  border-radius: 4px;
  color: #fff;
  background: rgba(17, 99, 63, .85);
  font-size: 13px;
  font-weight: 900;
}

.target-vip-progress i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #394664;
}

.target-vip-page {
  margin: 0 -12px;
  min-height: calc(100vh - 48px);
  padding-bottom: 28px;
  background: #202327;
}

.vip-page-shell .page-titlebar {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.vip-page-shell .page-body {
  padding: 0;
}

.vip-page-shell .target-vip-page {
  margin: 0;
}

.vip-center-hero {
  position: relative;
  min-height: 242px;
  padding-top: 48px;
  overflow: hidden;
  background:
    url("/assets/images/my/vip-head-bg.webp") center -13px/cover no-repeat,
    linear-gradient(180deg, #071510 0%, #121b1b 72%, #202327 100%);
}

.vip-center-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 82px;
  padding: 10px 14px 0;
}

.vip-center-profile .target-avatar {
  width: 54px;
  height: 54px;
  margin-left: 0;
}

.vip-center-profile strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 15px;
}

.vip-center-profile em {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 7px;
  border-radius: 999px;
  color: #d9ffd7;
  background: rgba(34, 123, 65, .78);
  font-size: 10px;
  font-style: normal;
}

.vip-center-profile p {
  margin: 3px 0 0;
  color: #aab7b8;
  font-size: 11px;
}

.vip-center-gem {
  display: none;
}

.vip-center-levels,
.vip-center-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #d8f4e0;
  font-size: 12px;
  font-weight: 900;
}

.vip-center-levels {
  margin-top: 4px;
}

.vip-center-levels span {
  min-width: 42px;
  color: #dfffe7;
}

.vip-center-status {
  display: block;
  margin-top: 8px;
  padding-left: 18px;
}

.vip-center-status p {
  margin: 3px 0;
  color: #cfd8d5;
  font-size: 11px;
}

.vip-center-status b {
  color: #fff;
}

.vip-coin-progress-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin: 7px 12px 0;
}

.vip-coin-progress-list > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(5, 18, 17, .58);
  color: #cfd8d5;
  font-size: 10px;
}

.vip-coin-progress-list b {
  color: #dfffe7;
}

.vip-coin-progress-list em {
  color: #70e5ad;
  text-align: right;
  font-style: normal;
}

.vip-center-curve {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  min-height: 70px;
  margin: -18px 12px 0;
  background: url("/assets/images/my/vip-levle-bg.webp") center 6px/100% auto no-repeat;
  color: #cfe6e3;
  text-align: center;
  font-size: 11px;
}

.vip-center-curve::before {
  content: none;
}

.vip-center-curve i {
  justify-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9fff1;
  box-shadow: 0 0 12px rgba(217, 255, 241, .95);
}

.vip-center-curve strong {
  position: absolute;
  left: 50%;
  top: 46px;
  transform: translateX(-50%);
  color: #dfffe7;
  font-size: 11px;
}

.vip-center-card {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 116px;
  margin: 0 20px 18px;
  overflow: hidden;
  border-radius: 4px;
  padding: 24px 24px 20px;
  background:
    url("/assets/images/my/vip-level1.webp") center/100% 100% no-repeat,
    linear-gradient(135deg, #1c2230, #080a0e);
}

.vip-center-card::after {
  content: none;
}

.vip-center-card div,
.vip-center-card em {
  position: relative;
  z-index: 1;
}

.vip-center-card strong {
  display: block;
  margin-bottom: 22px;
  color: #fff;
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
  visibility: hidden;
}

.vip-center-card span,
.vip-center-card em {
  color: #9daab7;
  font-size: 11px;
  font-style: normal;
}

.vip-center-title {
  margin: 2px 0 14px;
  color: #fff;
  text-align: center;
  font-size: 15px;
}

.vip-center-gifts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 12px;
}

.vip-center-gifts div {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 72px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #24272c;
}

.vip-center-gifts img {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.vip-center-gifts strong {
  color: #fff;
  font-size: 16px;
}

.vip-center-gifts em {
  color: #b8c1ca;
  font-size: 11px;
  font-style: normal;
}

.vip-center-link {
  display: block;
  margin: 18px auto 0;
  color: #cfd7df;
  background: transparent;
  font-size: 13px;
}

.target-wallet-card,
.target-menu-card {
  overflow: hidden;
  border-radius: 7px;
  background: #24272c;
}

.target-wallet-card {
  margin-bottom: 20px;
  padding: 0 12px 14px;
}

.target-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.target-wallet-head > div {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.target-wallet-head strong {
  font-size: 15px;
}

.target-wallet-head button {
  background: transparent;
}

.target-wallet-head > div:first-child button {
  height: 22px;
  margin-left: 8px;
  border: 0;
  border-radius: 999px;
  color: #2a2510;
  background: #f7d318;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
}

.target-wallet-amount {
  gap: 4px;
  color: #fff;
}

.target-wallet-amount > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #22b580;
}

.target-wallet-amount strong {
  max-width: 88px;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-wallet-amount button {
  width: 20px;
  height: 20px;
  color: #c6d1da;
  padding: 2px;
}

.target-refresh-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.target-wallet-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 14px;
}

.target-wallet-action {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 58px;
  color: #fff;
  background: transparent;
  font-size: 13px;
}

.target-wallet-action span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #e9eef5;
}

.target-wallet-action strong {
  font-size: 13px;
  font-weight: 500;
}

.target-menu-card {
  margin-bottom: 16px;
  padding: 0 12px;
}

.target-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.target-member-row:last-child {
  border-bottom: 0;
}

.target-member-row-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.target-member-row-label i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #dfe6ef;
  font-style: normal;
}

.target-member-row-label i img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.target-member-row-label strong {
  font-size: 14px;
  font-weight: 500;
}

.target-member-arrow {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #fff;
}

.target-logout {
  width: 100%;
  height: 50px;
  border-radius: 7px;
  color: #9ba6b3;
  background: #24272c;
  font-weight: 700;
}

.target-member-spacer {
  height: 58px;
}

.agent-tabbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 0;
  margin: 0 0 12px;
  overflow-x: auto;
  background: #202327;
  padding: 6px 4px 0;
}

.agent-tabbar button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 42px;
  color: #68707a;
  background: transparent;
  padding: 0 12px;
  font-size: 13px;
}

.agent-tabbar button.active {
  color: #c9fc01;
  border-bottom: 2px solid #c9fc01;
}

.agent-tabbar svg {
  width: 18px;
  height: 18px;
}

.agent-page-body {
  padding-bottom: 70px;
}

.agent-invite-card .copy-field {
  margin-top: 14px;
}

.agent-coming {
  margin-top: 16px;
  color: #8e98a5;
  text-align: center;
  font-size: 13px;
}

.agent-query-card {
  padding: 10px 0 0;
}

.agent-search {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
  margin-bottom: 12px;
}

.agent-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: #3a3f48;
  border-radius: 4px;
}

.agent-search svg {
  width: 17px;
  height: 17px;
}

.agent-table-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 40px;
  align-items: center;
  color: #fff;
  background: #2b2e35;
  font-size: 13px;
}

.agent-table-head.report {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agent-table-head span {
  text-align: center;
}

.agent-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.agent-report-grid div {
  display: grid;
  place-items: center;
  min-height: 62px;
  border-radius: 4px;
  background: #2b2e35;
  color: #fff;
  font-size: 12px;
}

.agent-report-grid strong {
  color: #c9fc01;
  font-size: 16px;
}

.agent-date-tabs {
  margin: 0 0 12px;
  padding-left: 0;
}

.agent-coming-large {
  display: grid;
  place-items: center;
  min-height: 360px;
  color: #9ba6b3;
  font-size: 18px;
  font-weight: 900;
}

.agent-muted {
  margin: 14px 0 0;
  color: #8e98a5;
  font-size: 12px;
  line-height: 1.5;
}

.agent-withdraw-card .confirm-btn:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.target-coming-page {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 170px);
  color: #e8edf3;
  font-size: 20px;
  font-weight: 900;
}

.agent-rule-card,
.agent-mode-card,
.vip-rights-card,
.vip-terms-card,
.withdraw-target-card,
.address-manage-card {
  margin: 8px 0 12px;
  padding: 14px 10px;
  border-radius: 4px;
  background: #24272c;
}

.agent-rule-card h2,
.agent-mode-card h2,
.vip-rights-card h2,
.vip-terms-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.target-table {
  overflow: hidden;
  border-radius: 4px;
  background: #1b1d22;
}

.target-table-head,
.target-table-row {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  align-items: center;
  min-height: 40px;
}

.target-table-head {
  color: #fff;
  background: #2b2e35;
  font-size: 12px;
  font-weight: 900;
}

.target-table-row {
  color: #cfd7df;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px;
}

.target-table span {
  min-width: 0;
  padding: 0 4px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-table-empty {
  display: grid;
  justify-items: center;
  align-items: start;
  min-height: 210px;
  color: #8e98a5;
  font-size: 13px;
}

.target-table-empty.blank {
  min-height: 0;
}

.target-table-empty .target-empty-state {
  min-height: 210px;
  padding-top: 28px;
}

.target-empty-state {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  padding-top: 46px;
}

.target-empty-image {
  width: 160px;
  height: 160px;
  opacity: .48;
}

.agent-stat-line {
  display: grid;
  grid-template-columns: 1fr 72px 1fr 72px;
  gap: 6px;
  align-items: center;
  min-height: 34px;
  color: #aeb8c4;
  font-size: 12px;
}

.agent-stat-line strong,
.agent-mode-total strong {
  color: #c9fc01;
}

.agent-mode-total {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 8px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 4px;
  color: #cfd7df;
  background: #1b1d22;
  font-size: 12px;
}

.agent-child-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.agent-child-grid div {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 4px;
  color: #dfe6ef;
  background: #2b2e35;
  font-size: 12px;
}

.agent-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.agent-kpi-grid div {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 4px;
  color: #aeb8c4;
  background: #2b2e35;
  font-size: 12px;
}

.agent-kpi-grid strong {
  color: #c9fc01;
  font-size: 16px;
}

.vip-card {
  margin: 8px 4px 12px;
  padding: 20px;
  background:
    radial-gradient(circle at 82% 20%, rgba(254, 224, 26, .24), transparent 30%),
    linear-gradient(135deg, #3c3120, #1b1d22);
}

.vip-card span {
  color: #fee01a;
  font-weight: 900;
}

.simple-card {
  margin: 8px 4px 14px;
  padding: 10px 14px;
}

.money-card {
  position: relative;
  margin-top: 32px;
  padding: 22px 12px 20px;
}

.recharge-card {
  padding-top: 26px;
}

.money-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.money-card-title strong {
  font-size: 19px;
}

.coin-icons {
  display: flex;
  gap: 6px;
}

.coin-icons b {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: #0cae75;
  font-size: 11px;
}

.coin-icons b:last-child {
  background: #ed4057;
}

.text-link {
  display: inline;
  color: #c9fc01;
  background: transparent;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.form-label {
  display: block;
  margin: 14px 0 8px;
  color: #b8c2ce;
  font-size: 13px;
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr 62px;
  align-items: center;
  min-height: 40px;
  color: #fff;
  background: #151719;
}

.copy-field span {
  min-width: 0;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-field button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  align-self: stretch;
  white-space: nowrap;
  color: #fff;
  background: #313540;
  padding: 0 8px;
  font-size: 13px;
}

.copy-field svg {
  width: 18px;
  height: 18px;
}

.copy-field.game-transfer-copy-field {
  grid-template-columns: minmax(0, 1fr);
}

.game-transfer-copy-field span {
  padding: 9px 10px;
  overflow: visible;
  color: #e8f0ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.32;
  letter-spacing: 0;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.qr-img {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 2px;
  width: 118px;
  height: 118px;
  margin: 12px 0 0 auto;
  padding: 9px;
  border: 4px solid #fff;
  background: #fff;
}

.qr-img span {
  display: block;
  flex: 0 0 calc((100% - 20px) / 11);
  aspect-ratio: 1;
  margin: 0;
  background: transparent;
}

.qr-img span.on {
  background: #111;
}

.warning-text {
  color: #ff3b3b !important;
  font-weight: 900;
}

.vip-rule-note {
  margin: 0 0 10px;
  color: #c9fc01;
  line-height: 1.4;
  font-size: 12px;
}

.vip-gift-btn {
  width: 100%;
  height: 46px;
  margin-top: 0;
  border-radius: 0 0 4px 4px;
  font-weight: 900;
}

.vip-terms-card p {
  margin: 8px 0 0;
  color: #cfd7df;
  line-height: 1.55;
  font-size: 13px;
}

.withdraw-target-card {
  padding-top: 0;
}

.recharge-target-card {
  margin: 32px 0 12px;
  padding: 0 12px 18px;
  border-radius: 6px;
  background: #24272c;
}

.recharge-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.recharge-card-head strong {
  color: #fff;
  font-size: 19px;
}

.recharge-card-head img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.supported-coin-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: #cfd7df;
  font-size: 13px;
}

.supported-coin-line svg {
  width: 17px;
  height: 17px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.supported-coin-line b {
  color: #fff;
}

.recharge-target-card p {
  margin: 8px 0;
  color: #b8c2ce;
  line-height: 1.45;
  font-size: 13px;
}

.recharge-warning-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 8px;
  align-items: start;
  margin-top: 12px;
}

.recharge-warning-row .qr-img {
  width: 100px;
  height: 100px;
  margin: 0;
}

.withdraw-gold-hero {
  height: 82px;
  margin: 0 -10px 12px;
  border-radius: 4px 4px 0 0;
  background: #17191d url("/assets/images/ui/recharge-gold.png") center/cover no-repeat;
}

.coin-select-row,
.wallet-address-line,
.withdraw-balance.target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dropdown-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-height: 42px;
  border-radius: 4px;
  color: #fff;
  background: #151719;
  font-weight: 900;
}

.dropdown-pill svg,
.withdraw-balance.target svg,
.record-category-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-address-line {
  min-height: 42px;
  color: #cfd7df;
  font-size: 13px;
}

.wallet-address-line button {
  color: #c9fc01;
  background: transparent;
  font-weight: 900;
}

.dropdown-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #8e98a5;
  text-align: left;
}

.inline-input {
  display: grid;
  grid-template-columns: 1fr 62px;
  min-height: 44px;
  border-radius: 4px;
  background: #151719;
}

.inline-input input {
  min-width: 0;
  color: #fff;
  background: transparent;
  padding: 0 12px;
}

.inline-input button {
  color: #c9fc01;
  background: transparent;
  font-weight: 900;
}

.withdraw-balance.target {
  margin-top: 10px;
  padding: 0;
  color: #aeb8c4;
}

.withdraw-balance.target strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.security-tip {
  margin-top: 14px;
  padding: 14px;
  border-radius: 4px;
  color: #fff;
  background: #1b1d22;
}

.security-tip p {
  margin: 6px 0 12px;
}

.address-add-btn {
  width: 100%;
  height: 44px;
  border-radius: 4px;
  color: #10210d;
  background: #c9fc01;
  font-weight: 900;
}

.password-form-card {
  width: min(320px, 100%);
  margin: 20px auto 0;
}

.password-form-card .field {
  margin-bottom: 12px;
}

.password-form-card .password-field {
  margin-bottom: 12px;
}

.password-form-card .password-field .field {
  margin-bottom: 0;
}

.address-manage-card h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
}

.address-manage-card h4 b {
  color: #c9fc01;
}

.address-add-tile {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 100%;
  min-height: 118px;
  border-radius: 4px;
  color: #cfd7df;
  background: #1b1d22;
}

.address-add-tile span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #c9fc01;
}

.address-add-tile svg,
.address-form-preview svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.address-form-preview {
  margin-top: 14px;
  padding: 14px;
  border-radius: 4px;
  background: #1b1d22;
}

.address-form-preview header {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
}

.address-form-preview p {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 12px 0 0;
  color: #cfd7df;
  font-size: 12px;
}

.address-form-preview p svg {
  width: 14px;
  height: 14px;
}

.dropdown-field svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-address-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: #8e98a5;
}

.confirm-btn {
  width: 100%;
  height: 44px;
  margin-top: 14px;
}

.withdraw-balance {
  padding: 4px 0 12px;
}

.record-tabs,
.tutorial-tabs,
.rule-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0;
  margin: 0 -12px 12px;
  background: #202327;
  border-bottom: 1px solid #3a3a3c;
}

.tutorial-tabs,
.rule-tabs {
  scrollbar-width: none;
}

.tutorial-tabs::-webkit-scrollbar,
.rule-tabs::-webkit-scrollbar {
  display: none;
}

.record-tabs {
  margin-top: 10px;
  padding: 8px;
  gap: 8px;
  border: 0;
}

.record-tabs button,
.tutorial-tabs button,
.rule-tabs button {
  flex: 0 0 auto;
  min-width: 92px;
  height: 42px;
  color: #91a0ad;
  background: transparent;
  font-weight: 800;
}

.record-tabs button {
  min-width: 74px;
  height: 34px;
  border-radius: 4px;
  background: #24272c;
}

.record-tabs .active,
.tutorial-tabs .active,
.rule-tabs .active {
  color: #fff;
  border-bottom: 2px solid #c9fc01;
}

.record-tabs .active {
  color: #10210d;
  background: #c9fc01;
  border-bottom: 0;
}

.record-list {
  min-height: 240px;
}

.record-category-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.record-category-row {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 12px;
  border-radius: 4px;
  color: #fff;
  background: #24272c;
  text-align: left;
}

.record-category-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #8b949f;
  background: #151719;
}

.record-category-icon svg {
  stroke: #8b949f;
}

.record-category-row strong {
  font-size: 14px;
}

.record-category-row i {
  color: #fff;
  font-style: normal;
  font-size: 24px;
}

.funds-tabs,
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.funds-tabs {
  margin: 10px -12px 10px;
  padding: 8px 12px;
  background: #202327;
}

.funds-tabs button,
.filter-bar button {
  flex: 0 0 auto;
  min-width: 64px;
  height: 34px;
  border-radius: 4px;
  color: #91a0ad;
  background: #24272c;
  font-weight: 900;
}

.funds-tabs .active,
.filter-bar button:first-child {
  color: #10210d;
  background: #c9fc01;
}

.target-record-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  min-height: 42px;
  margin: 0 -12px 8px;
  background: #202327;
}

.target-record-toolbar.tabs-only {
  grid-template-columns: minmax(0, 1fr);
}

.target-record-toolbar.right-only {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin: -46px -4px 8px 0;
  background: transparent;
}

.record-date-select {
  justify-self: end;
  min-width: 58px;
  height: 30px;
  margin-right: 8px;
  border-radius: 4px;
  color: #fff;
  background: #32363d;
  font-size: 12px;
  font-weight: 900;
}

.titlebar-right .record-date-select {
  margin-right: 0;
  min-width: 74px;
  height: 34px;
  background: #24282e;
}

.record-currency-select {
  justify-self: end;
  min-width: 72px;
  height: 34px;
  border-radius: 3px;
  color: #fff;
  background: #202327;
  font-size: 12px;
  font-weight: 800;
}

.action-sheet-mask {
  position: fixed;
  inset: 0 auto 0 50%;
  width: min(100%, var(--app-max-width));
  z-index: 90;
  display: flex;
  align-items: flex-end;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .62);
}

.action-sheet {
  width: calc(100% - 16px);
  margin: 0 8px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #24272c;
}

.action-sheet button {
  width: 100%;
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  background: #24272c;
  font-size: 14px;
  font-weight: 800;
}

.action-sheet button:last-child {
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 0;
}

.action-sheet button.active,
.currency-popover button.active {
  color: #f6d58b;
  font-weight: 900;
}

.language-popover {
  position: fixed;
  z-index: 95;
  min-width: 114px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  background: #1d2025;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  font-size: 13px;
}

.currency-popover {
  position: fixed;
  z-index: 95;
  width: 128px;
  overflow: hidden;
  border-radius: 3px;
  background: #24272c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.currency-popover button {
  width: 100%;
  height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  background: #24272c;
  font-size: 12px;
}

.target-line-tabs {
  margin: 0;
  padding: 0 8px;
  gap: 18px;
  border-bottom: 1px solid #3a3a3c;
  background: transparent;
}

.target-line-tabs button,
.funds-tabs.target-line-tabs button,
.gift-tabs.target-line-tabs button {
  min-width: auto;
  height: 42px;
  border-radius: 0;
  color: #85919d;
  background: transparent;
  padding: 0;
}

.target-line-tabs .active,
.funds-tabs.target-line-tabs .active,
.gift-tabs.target-line-tabs .active {
  color: #fff;
  background: transparent;
  border-bottom: 2px solid #c9fc01;
}

.filter-bar {
  margin-bottom: 12px;
}

.winlose-filter {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: #cfd7df;
  font-size: 13px;
}

.detail-filter {
  margin-top: 12px;
}

.bet-detail-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 16px 12px;
  border-radius: 0;
  overflow: hidden;
  background: #16181b;
}

.bet-detail-summary div {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: #aeb8c4;
  font-size: 12px;
}

.bet-detail-summary div + div {
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.bet-detail-summary strong {
  color: #fff;
  font-size: 15px;
}

.bet-detail-summary.by-coin {
  grid-template-columns: 1fr;
}

.bet-detail-summary.by-coin div {
  grid-template-columns: 64px minmax(0, 1fr);
  place-items: center start;
  gap: 10px;
  min-height: 48px;
  padding: 6px 14px;
}

.bet-detail-summary.by-coin div + div {
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-left: 0;
}

.bet-detail-summary.by-coin span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.bet-detail-list {
  min-height: 420px;
  border-radius: 0;
  background: transparent;
}

.buybit-table {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 4px;
  background: #1b1d22;
}

.buybit-head,
.buybit-row {
  display: grid;
  grid-template-columns: 1.15fr .95fr .9fr;
  align-items: center;
  min-height: 48px;
}

.buybit-head {
  color: #fff;
  background: #2b2e35;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.buybit-row {
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #cfd7df;
  font-size: 12px;
}

.buybit-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 5px;
  padding: 0 4px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buybit-row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.buybit-row button {
  justify-self: center;
  min-width: 70px;
  height: 30px;
  border-radius: 4px;
  color: #fff;
  background: #2c3034;
  font-size: 12px;
}

.download-page {
  margin: 8px -2px 0;
  padding: 0 8px 14px;
  border-radius: 4px;
  background: #24272c;
}

.download-page h4 {
  margin: 0;
  padding: 12px 0 8px;
  color: #fff;
  font-size: 14px;
}

.download-group {
  padding: 6px 10px 12px;
  border-radius: 4px;
  background: #1b1d22;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  margin-top: 8px;
}

.download-row div {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 36px;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #cfd7df;
  background: #24272c;
  font-size: 12px;
}

.download-row img {
  max-width: 88px;
  max-height: 22px;
  object-fit: contain;
}

.download-row div span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-row button,
.download-tutorial {
  min-height: 36px;
  border-radius: 4px;
  color: #cfd7df;
  background: #24272c;
  font-size: 12px;
  font-weight: 900;
}

.download-tutorial {
  width: 100%;
  margin-top: 10px;
  color: #fff;
  background: #16a73a;
}

.gift-page {
  padding-top: 8px;
}

.gift-tabs {
  margin: 0 -12px 0;
}

.gift-tabs.second {
  margin-top: 16px;
}

.mini-claim-btn {
  min-width: 52px;
  height: 28px;
  border-radius: 4px;
  color: #10210d;
  background: #c9fc01;
  font-size: 12px;
  font-weight: 900;
}

.mini-claim-btn.disabled {
  color: #94a3b8;
  background: #333842;
}

.mini-claim-btn.ready {
  color: #10210d;
  background: #c9fc01;
}

.record-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: #24272c;
}

.message-row {
  width: 100%;
  align-items: center;
  color: inherit;
  text-align: left;
}

.message-row div {
  min-width: 0;
}

.message-row strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.message-row strong em {
  flex: 0 0 auto;
  padding: 1px 5px;
  border-radius: 999px;
  color: #10210d;
  background: #c9fc01;
  font-size: 10px;
  font-style: normal;
}

.message-row small {
  display: block;
  margin-top: 4px;
  color: #717b87;
  font-size: 11px;
}

.message-row i {
  color: #87919d;
  font-style: normal;
}

.record-row em {
  color: #c9fc01;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.record-empty {
  margin-top: 80px;
}

.article-detail-card {
  margin: 8px 0 12px;
  padding: 16px 14px;
  border-radius: 4px;
  background: #24272c;
}

.article-detail-card h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

.article-detail-card time {
  display: block;
  margin: 8px 0 14px;
  color: #8e98a5;
  font-size: 12px;
}

.tutorial-head {
  height: 160px;
  margin: 0 -12px;
  background: #151719 url("/assets/images/my/help-bg.webp") center/100% 100% no-repeat;
}

.tutorial-section {
  padding-bottom: 24px;
}

.tutorial-section h2,
.wallet-page h2,
.money-card h2 {
  margin: 15px 0 10px;
  color: #fff;
  font-size: 18px;
}

.tutorial-section p,
.rule-content p {
  margin: 4px 0;
  color: #fff;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 700;
}

.tutorial-section p:nth-of-type(2) {
  color: #c9fc01;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.wallet-logo {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 8px;
  border-radius: 2px;
  color: #fff;
  background: #151719;
}

.wallet-logo img {
  max-width: 86%;
  max-height: 24px;
  object-fit: contain;
}

.wallet-logo.with-action {
  min-height: 72px;
  gap: 8px;
}

.wallet-logo.with-action span {
  color: #fff;
  font-size: 12px;
}

.tutorial-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.tutorial-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  color: #cfd7df;
  background: #151719;
}

.tutorial-buttons svg {
  width: 18px;
  height: 18px;
}

.tutorial-game {
  margin: 9px 0;
  padding: 13px 12px;
  border-radius: 4px;
  background: #151719;
}

.tutorial-game header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tutorial-game strong {
  font-size: 18px;
}

.tutorial-game header button {
  color: #9ba6b3;
  background: transparent;
}

.tutorial-game .copy-field {
  margin-top: 12px;
}

.rule-tabs {
  padding-left: 10px;
}

.rule-tabs button {
  min-width: auto;
  padding: 0 10px;
  white-space: nowrap;
  height: 38px;
  font-size: 12px;
  font-weight: 500;
}

.rule-content {
  padding: 10px 0;
}

.rule-content p {
  margin-bottom: 6px;
  line-height: 1.45;
  font-size: 12px;
  font-weight: 500;
}

.rule-example {
  margin-top: 18px !important;
}

.wallet-page {
  padding-top: 12px;
}

.article-content {
  color: #fff;
  line-height: 1.7;
  font-size: 14px;
}

.article-content p {
  margin: 0 0 12px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin-top: 0;
  margin-bottom: 12px;
}

.article-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 14px auto;
  border-radius: 4px;
}
