* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #222;
  background: #020202;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

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

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f7f9;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.desktop-play {
  padding: 0;
  overflow: hidden;
}

.desktop-play.egg-sg-home {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto 24px;
  border-top: 1px solid #2b4c3f;
  background: #fff;
  color: #333;
}

.desktop-play-head {
  display: grid;
  grid-template-columns: 150px 1fr 110px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #d8e0e7;
  background: #fff;
}

.desktop-play-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.desktop-play-tabs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  border-bottom: 1px solid #d8e0e7;
  background: #265944;
}

.desktop-play-tabs button {
  height: 42px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.desktop-play-tabs button.active {
  color: #17412f;
  background: #fff;
}

.desktop-play-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid #d8e0e7;
}

.desktop-play-stats.egg-sg-stats {
  height: 54px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid #d7d7d7;
  border-right: 1px solid #d7d7d7;
  border-bottom: 4px solid #2b4c3f;
  background: #fff;
}

.desktop-play-stats div {
  min-height: 62px;
  display: grid;
  place-items: center;
  border-right: 1px solid #edf1f5;
}

.desktop-play-stats.egg-sg-stats div {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #e3e3e3;
}

.desktop-play-stats strong {
  color: #f4511e;
  font-size: 16px;
}

.desktop-play-stats.egg-sg-stats strong {
  height: 22px;
  line-height: 22px;
  color: #000;
  font-size: 14px;
}

.desktop-play-stats.egg-sg-stats strong.green,
.desktop-play-stats.egg-sg-stats b.green {
  color: #009a00;
}

.desktop-play-stats.egg-sg-stats strong.red,
.desktop-play-stats.egg-sg-stats b.red {
  color: #f00;
}

.desktop-play-stats.egg-sg-stats b.orange {
  color: #ff5b00;
}

.desktop-play-stats span {
  color: #334155;
  font-size: 12px;
}

.desktop-play-stats.egg-sg-stats span {
  height: 20px;
  line-height: 20px;
  color: #333;
  font-size: 14px;
}

.egg-sg-hero {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 382px;
  min-height: 150px;
  border-left: 1px solid #d7d7d7;
  border-right: 1px solid #d7d7d7;
  border-bottom: 1px solid #cfcfcf;
}

.egg-sg-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid #d7d7d7;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.egg-sg-brand strong {
  max-width: 110px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.egg-sg-logo-disc {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 44%, #fff 0 16%, #d71920 17% 34%, #f1f1f1 35% 61%, #777 62% 100%);
  box-shadow: inset 0 0 0 5px #e7e7e7, 0 1px 5px rgba(0, 0, 0, .22);
}

.egg-sg-logo-disc > span {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #c41223;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.egg-sg-logo-disc.has-img {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.egg-sg-logo-disc.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.egg-sg-draw {
  position: relative;
  padding: 10px 14px 0;
  border-right: 1px solid #d7d7d7;
  background: #fff;
  text-align: center;
}

.egg-sg-draw-tools {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777;
  text-align: left;
}

.egg-sg-draw-tools label,
.egg-sg-draw-tools span {
  height: 24px;
  line-height: 24px;
  padding: 0 9px;
  border-radius: 4px;
  background: #f2f2f2;
  color: #777;
  font-size: 13px;
}

.egg-sg-draw-tools button {
  margin-left: auto;
  height: 28px;
  line-height: 26px;
  padding: 0 15px;
  border: 1px solid #c8c8c8;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 13px;
}

.egg-sg-draw-tools .egg-sg-official-query {
  margin-left: auto;
  height: 28px;
  line-height: 26px;
  padding: 0 15px;
  border: 1px solid #c8c8c8;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.egg-sg-draw-tools .egg-sg-official-query:hover {
  border-color: #9fb3c8;
  color: #0e4c83;
}

.egg-sg-draw-tools .egg-mi-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  line-height: 24px;
  padding: 0 9px;
  border: 1px solid #d2d8df;
  border-radius: 14px;
  background: #f6f7f9;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}

.egg-mi-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.egg-mi-control em {
  position: relative;
  width: 36px;
  height: 18px;
  display: inline-block;
  border-radius: 10px;
  background: #c8cdd3;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
  transition: background .18s ease;
}

.egg-mi-control em:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
  transition: left .18s ease;
}

.egg-mi-control input:checked + em {
  background: #ff6b2d;
}

.egg-mi-control input:checked + em:before {
  left: 20px;
}

.desktop-play .egg-mi-scratch {
  position: relative;
  overflow: hidden;
}

.desktop-play .egg-mi-canvas {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  cursor: crosshair;
  touch-action: none;
}

.desktop-play.mipai-on .egg-mi-scratch {
  box-shadow: inset 0 0 0 1px rgba(255, 107, 45, .2);
}

.egg-sg-draw h2 {
  height: 28px;
  line-height: 28px;
  margin: 0 0 14px;
  color: #1d2c3d;
  font-size: 16px;
  font-weight: 400;
}

.egg-sg-draw h2 b {
  font-weight: 700;
}

.egg-sg-current-result {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #102033;
  font-size: 22px;
}

.egg-sg-current-item {
  display: inline-grid;
  grid-template-columns: auto max-content;
  align-items: center;
  justify-content: center;
  column-gap: 6px;
}

.egg-sg-current-item em {
  line-height: 34px;
  font-style: normal;
}

.egg-sg-current-value {
  width: 42px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e62424;
  font-size: 26px;
  font-weight: 800;
  text-shadow: 0 1px 0 #fff;
}

.egg-sg-current-total {
  grid-template-columns: auto minmax(28px, auto);
}

.egg-sg-current-final-text {
  min-width: 28px;
  line-height: 34px;
  display: inline-block;
  color: #1f2d3d;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
}

.egg-sg-current-result i,
.egg-sg-current-empty {
  width: 38px;
  height: 38px;
  line-height: 38px;
  display: inline-block;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #d7dce4, #9aa3af);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 3px rgba(0, 0, 0, .18);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

.egg-sg-current-empty {
  width: auto;
  min-width: 88px;
  padding: 0 14px;
  border-radius: 18px;
  color: #667085;
  background: #f1f3f5;
}

.egg-dv-current-line {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.egg-play-class-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.egg-play-class-badge {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #607d8b;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.egg-play-class-list.small {
  gap: 3px;
}

.egg-play-class-badge.small {
  min-width: 28px;
  width: auto;
  height: 28px;
  padding: 0 7px;
  font-size: 14px;
}

.egg-sg-class-cell .egg-play-class-badge.small {
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 1px solid #b7c2ce;
  border-radius: 0;
  background: #fff;
  color: #334155;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.egg-sg-class-cell .egg-play-class-badge[class*="group-tone-"] {
  min-width: 26px;
  width: auto;
  height: 24px;
  padding: 0 6px;
  border: 1px solid #b7c2ce;
  border-radius: 0;
  background: #fff;
  color: #334155;
  box-shadow: none;
}

.egg-sg-class-cell .egg-play-class-badge.badge-sum,
.egg-sg-class-cell .egg-play-class-badge.badge-ssc-niu,
.egg-sg-class-cell .egg-play-class-badge.badge-ssc-card,
.egg-sg-class-cell .egg-play-class-badge.badge-tie {
  color: #111827;
}

.egg-sg-class-cell .egg-play-class-badge.badge-small,
.egg-sg-class-cell .egg-play-class-badge.badge-small-odd,
.egg-sg-class-cell .egg-play-class-badge.badge-small-even,
.egg-sg-class-cell .egg-play-class-badge.badge-extreme-small,
.egg-sg-class-cell .egg-play-class-badge.badge-even,
.egg-sg-class-cell .egg-play-class-badge.badge-odd,
.egg-sg-class-cell .egg-play-class-badge.badge-middle,
.egg-sg-class-cell .egg-play-class-badge.badge-edge,
.egg-sg-class-cell .egg-play-class-badge.badge-ssc-niu-size {
  color: #034fff;
  border-color: #9db8e8;
}

.egg-sg-class-cell .egg-play-class-badge.badge-big,
.egg-sg-class-cell .egg-play-class-badge.badge-big-odd,
.egg-sg-class-cell .egg-play-class-badge.badge-big-even,
.egg-sg-class-cell .egg-play-class-badge.badge-extreme-big,
.egg-sg-class-cell .egg-play-class-badge.badge-dragon,
.egg-sg-class-cell .egg-play-class-badge.badge-tiger,
.egg-sg-class-cell .egg-play-class-badge.badge-ssc-shape,
.egg-sg-class-cell .egg-play-class-badge.badge-ssc-niu-parity,
.egg-sg-class-cell .egg-play-class-badge.badge-span {
  color: #df0000;
  border-color: #ebb0b0;
}

.egg-sg-class-cell .egg-play-class-badge.badge-even,
.egg-sg-class-cell .egg-play-class-badge.badge-small-even,
.egg-sg-class-cell .egg-play-class-badge.badge-big-even {
  color: #047857;
  border-color: #8fcdb4;
}

.egg-sg-class-cell .egg-play-class-badge.badge-tiger {
  color: #034fff;
  border-color: #9db8e8;
}

.egg-sg-class-cell .egg-play-class-badge.badge-harmony,
.egg-sg-class-cell .egg-play-class-badge.badge-leopard {
  color: #334155;
  border-color: #aab7c4;
}

.egg-sg-class-cell .egg-play-class-badge.badge-kl8-red,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-red,
.egg-sg-class-cell .egg-play-class-badge.badge-kl8-even,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-even {
  color: #df0000;
}

.egg-sg-class-cell .egg-play-class-badge.badge-kl8-blue,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-blue,
.egg-sg-class-cell .egg-play-class-badge.badge-kl8-back,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-back,
.egg-sg-class-cell .egg-play-class-badge.badge-kl8-odd,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-odd {
  color: #034fff;
}

.egg-sg-class-cell .egg-play-class-badge.badge-kl8-front,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-front {
  color: #df0000;
}

.egg-sg-class-cell .egg-play-class-badge.badge-kl8-green,
.egg-current-official-tags .egg-play-class-badge.badge-kl8-green {
  color: #059669;
}

.egg-play-class-badge.group-tone-big,
.play-result-chip.group-tone-big { background: #d91562; }
.egg-play-class-badge.group-tone-small,
.play-result-chip.group-tone-small { background: #ff7417; }
.egg-play-class-badge.group-tone-single,
.play-result-chip.group-tone-single { background: #087be8; }
.egg-play-class-badge.group-tone-double,
.play-result-chip.group-tone-double { background: #23a86f; }
.egg-play-class-badge.group-tone-big-double,
.play-result-chip.group-tone-big-double { background: #ff7417; }
.egg-play-class-badge.group-tone-dragon,
.play-result-chip.group-tone-dragon { background: #f10a0a; }
.egg-play-class-badge.group-tone-tiger,
.play-result-chip.group-tone-tiger { background: #0015e8; }
.egg-play-class-badge.group-tone-leopard,
.play-result-chip.group-tone-leopard { background: #6650c4; }
.egg-play-class-badge.group-tone-pair,
.play-result-chip.group-tone-pair { background: #6650c4; }
.egg-play-class-badge.group-tone-tie,
.play-result-chip.group-tone-tie { background: #243445; }
.egg-play-class-badge.group-tone-tiny,
.play-result-chip.group-tone-tiny { background: #12aeca; }
.egg-play-class-badge.group-tone-huge,
.play-result-chip.group-tone-huge { background: #7548d4; }
.egg-play-class-badge.group-tone-default,
.play-result-chip.group-tone-default { background: #607d8b; }

.egg-sg-class-cell .egg-play-class-badge.group-tone-big,
.egg-sg-class-cell .egg-play-class-badge.group-tone-dragon,
.egg-sg-class-cell .egg-play-class-badge.group-tone-leopard,
.egg-sg-class-cell .egg-play-class-badge.group-tone-huge {
  color: #df0000;
  border-color: #ebb0b0;
}

.egg-sg-class-cell .egg-play-class-badge.group-tone-small,
.egg-sg-class-cell .egg-play-class-badge.group-tone-single,
.egg-sg-class-cell .egg-play-class-badge.group-tone-tiger,
.egg-sg-class-cell .egg-play-class-badge.group-tone-tiny {
  color: #034fff;
  border-color: #9db8e8;
}

.egg-sg-class-cell .egg-play-class-badge.group-tone-double {
  color: #047857;
  border-color: #8fcdb4;
}

.egg-sg-class-cell .egg-play-class-badge.group-tone-tie,
.egg-sg-class-cell .egg-play-class-badge.group-tone-pair {
  color: #334155;
  border-color: #aab7c4;
}

.egg-sg-class-cell {
  white-space: nowrap;
}

.egg-sg-class-cell .egg-play-class-list {
  flex-wrap: nowrap;
  gap: 3px;
}

.desktop-play-table-wrap .desktop-result-line,
.desktop-game-hall-table-wrap .desktop-result-line {
  flex-wrap: nowrap;
}

.egg-sg-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  color: #666;
  text-align: center;
}

.egg-sg-cd-title {
  height: 24px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.egg-sg-cd-title b {
  color: #f00;
}

.egg-sg-flip-clock {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.egg-sg-flip-clock span {
  position: relative;
  width: 50px;
  height: 68px;
  line-height: 68px;
  border-radius: 5px;
  background: linear-gradient(#2d2d2d, #070707 49%, #171717 50%, #050505);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(0, 0, 0, .28);
  color: #f7f7f7;
  text-align: center;
  text-shadow: 0 -1px 0 #000;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 58px;
}

.egg-sg-flip-clock span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .65);
}

.egg-sg-flip-clock em {
  width: 10px;
  height: 68px;
}

.egg-sg-flip-labels {
  width: 316px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2px;
  color: #999;
  font-size: 11px;
  line-height: 14px;
}

.egg-sg-cd-state {
  height: 26px;
  line-height: 26px;
  margin: 6px 0 0;
  color: #0f7197;
  font-size: 18px;
}

.egg-sg-cd-state.muted {
  color: #999;
  font-size: 15px;
}

.desktop-play-current,
.desktop-bet-toolbar {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #d8e0e7;
  background: #fafafa;
}

.desktop-play-current {
  grid-template-columns: 1.2fr 1fr 110px;
}

.desktop-play-current div {
  display: grid;
  gap: 4px;
}

.desktop-play-current span,
.desktop-bet-limit {
  color: #64748b;
  font-size: 13px;
}

.desktop-play-rounds th,
.desktop-play-rounds td,
.desktop-play-records th,
.desktop-play-records td,
.desktop-trend-table th,
.desktop-trend-table td,
.desktop-stat-table th,
.desktop-stat-table td {
  text-align: center;
}

.desktop-play-table-wrap {
  overflow-x: auto;
  background: #fff;
}

.desktop-play-table-wrap table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  border-left: 1px solid #cfcfcf;
  border-right: 1px solid #cfcfcf;
  background: #fff;
}

.desktop-play-table-wrap th {
  height: 38px;
  border: 1px solid #cfcfcf;
  background: #e5e5e5;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.desktop-play-table-wrap td {
  height: 58px;
  border: 1px solid #cfcfcf;
  padding: 0 10px;
  color: #555;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}

.desktop-play-table-wrap .red {
  color: #f00;
}

.desktop-play-table-wrap .egg-sg-result-cell.is-pending {
  color: #777;
}

.desktop-play-action {
  width: 118px;
}

.egg-sg-bet,
.egg-sg-opened,
.egg-sg-opening {
  min-width: 76px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 13px;
}

.egg-sg-bet {
  border: 1px solid #1d78c6;
  background: #fff;
  color: #116ec0;
  cursor: pointer;
}

.egg-sg-bet:hover {
  color: #fff;
  background: #1479d7;
}

.egg-sg-opened {
  border: 1px solid #cfcfcf;
  background: #d5d5d5;
  color: #222;
}

.egg-sg-opening {
  border: 1px solid #f0e08d;
  background: #fff200;
  color: #d90000;
}

.desktop-result-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.desktop-result-line .desktop-result-equals {
  color: #111827;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
}

.desktop-result-line .desktop-result-plus {
  color: #111827;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  margin: 0 4px;
}

.egg-current-kl8-result,
.egg-kl8-record-result {
  display: inline-grid;
  grid-template-columns: repeat(10, max-content);
  align-items: center;
  justify-content: center;
  gap: 6px 7px;
}

.egg-kl8-record-result button {
  grid-column: 1 / -1;
  justify-self: center;
}

.egg-sg-current-inline {
  width: 100%;
}

.egg-current-zone-result {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 18px;
  color: #061a35;
  font-size: 20px;
  line-height: 34px;
}

.egg-current-zone-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.egg-current-zone-zjh .egg-current-zone-item {
  min-height: 48px;
}

.desktop-result-line .egg-current-zone-item em {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  color: #061a35;
  background: transparent;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
}

.egg-sg-current-result .egg-current-zone-result .play-result-chip {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .35), 0 3px 7px rgba(15, 23, 42, .24);
}

.egg-sg-current-result .egg-current-large-plain-result {
  gap: 9px;
  min-height: 38px;
}

.egg-sg-current-result .egg-current-large-plain-result .play-result-chip {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .35), 0 3px 7px rgba(15, 23, 42, .24);
}

.egg-sg-current-result .egg-current-large-plain-result .desktop-result-equals {
  color: #111827;
  font-size: 17px;
  line-height: 32px;
}

.egg-sg-current-result .play-result-chip.kind-official_k3:not(.dice-final) {
  min-width: 32px;
  width: 32px;
  height: 32px;
}

.egg-sg-current-result .play-result-chip.kind-official_k3:not(.dice-final) img {
  width: 32px;
  height: 32px;
}

.egg-current-k3-tags {
  margin-top: 14px;
  margin-bottom: 8px;
}

.egg-current-official-tags {
  margin-top: 10px;
  margin-bottom: 6px;
}

.egg-current-official-tags .egg-play-class-list,
.egg-current-k3-tags .egg-play-class-list {
  gap: 3px;
}

.egg-current-official-tags .egg-play-class-badge,
.egg-current-k3-tags .egg-play-class-badge {
  min-width: 34px;
  height: 26px;
  width: auto;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b7c2ce;
  border-radius: 0;
  background: #fff;
  color: #df0000;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.egg-current-official-tags .egg-play-class-badge.badge-small,
.egg-current-official-tags .egg-play-class-badge.badge-even,
.egg-current-official-tags .egg-play-class-badge.badge-odd,
.egg-current-official-tags .egg-play-class-badge.badge-middle,
.egg-current-official-tags .egg-play-class-badge.badge-edge,
.egg-current-k3-tags .egg-play-class-badge.badge-small,
.egg-current-k3-tags .egg-play-class-badge.badge-even,
.egg-current-k3-tags .egg-play-class-badge.badge-odd,
.egg-current-k3-tags .egg-play-class-badge.badge-middle,
.egg-current-k3-tags .egg-play-class-badge.badge-edge {
  color: #034fff;
}

.egg-current-official-tags .egg-play-class-badge.badge-big,
.egg-current-official-tags .egg-play-class-badge.badge-dragon,
.egg-current-official-tags .egg-play-class-badge.badge-tiger,
.egg-current-official-tags .egg-play-class-badge.badge-ssc-shape,
.egg-current-official-tags .egg-play-class-badge.badge-ssc-niu-parity {
  color: #df0000;
}

.egg-current-official-tags .egg-play-class-badge.badge-tie,
.egg-current-official-tags .egg-play-class-badge.badge-ssc-niu,
.egg-current-official-tags .egg-play-class-badge.badge-ssc-card,
.egg-current-official-tags .egg-play-class-badge.badge-sum {
  color: #111827;
}

.egg-current-official-tags .egg-play-class-badge.badge-ssc-niu-size {
  color: #047857;
}

.egg-current-official-tags .egg-play-class-badge.badge-ssc-shape:nth-child(6) {
  color: #059669;
}

.egg-current-official-tags .egg-play-class-badge.badge-ssc-shape:nth-child(7) {
  color: #034fff;
}

.egg-current-official-tags .egg-play-class-badge.badge-span,
.egg-current-k3-tags .egg-play-class-badge.badge-span {
  color: #df0000;
}

.egg-current-lhc-result,
.egg-lhc-record-result {
  gap: 7px;
}

.egg-current-lhc-result .play-result-chip.kind-official_lhc,
.egg-lhc-record-result .play-result-chip.kind-official_lhc {
  min-width: 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .26);
  box-shadow: inset -1px -2px 4px rgba(0, 0, 0, .24), inset 1px 2px 4px rgba(255, 255, 255, .45), 0 1px 3px rgba(0, 0, 0, .22);
}

.egg-current-lhc-result .play-result-chip.kind-official_lhc.color-red,
.egg-lhc-record-result .play-result-chip.kind-official_lhc.color-red {
  border: 0;
  background: #e83b57;
  color: #fff;
}

.egg-current-lhc-result .play-result-chip.kind-official_lhc.color-blue,
.egg-lhc-record-result .play-result-chip.kind-official_lhc.color-blue {
  border: 0;
  background: #3478f6;
  color: #fff;
}

.egg-current-lhc-result .play-result-chip.kind-official_lhc.color-green,
.egg-lhc-record-result .play-result-chip.kind-official_lhc.color-green {
  border: 0;
  background: #21aa5f;
  color: #fff;
}

.egg-current-lhc-tags {
  margin-top: 14px;
  margin-bottom: 8px;
}

.egg-current-lhc-tags .egg-play-class-list,
.egg-sg-class-cell .egg-play-class-list {
  align-items: center;
}

.egg-current-lhc-tags .egg-play-class-badge.badge-lhc-zodiac,
.egg-current-lhc-tags .egg-play-class-badge.badge-lhc-zodiac-special {
  min-width: 30px;
  width: 30px;
  height: 26px;
  padding: 0;
  border-radius: 0;
  border: 1px solid #b7c2ce;
  background: #fff;
  color: #111827;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.egg-sg-class-cell .egg-play-class-badge.badge-lhc-zodiac,
.egg-sg-class-cell .egg-play-class-badge.badge-lhc-zodiac-special {
  min-width: 28px;
  width: 28px;
  height: 24px;
  padding: 0;
  border-radius: 0;
  border: 1px solid #b7c2ce;
  background: #fff;
  color: #111827;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

.egg-current-lhc-tags .egg-play-class-badge.badge-lhc-zodiac-special {
  margin-left: 12px;
}

.egg-sg-class-cell .egg-play-class-badge.badge-lhc-zodiac-special {
  margin-left: 8px;
}

.egg-current-racing-tags .egg-play-class-list,
.egg-sg-class-cell .egg-play-class-list {
  align-items: center;
}

.egg-current-racing-tags .egg-play-class-badge,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-sum,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-big,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-small,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-even,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-odd,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-dragon,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-tiger {
  padding: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  font-weight: 800;
}

.egg-current-racing-tags .egg-play-class-badge {
  width: 34px;
  min-width: 34px;
  height: 26px;
  font-size: 13px;
}

.egg-sg-class-cell .egg-play-class-badge.badge-racing-sum,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-big,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-small,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-even,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-odd,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-dragon,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-tiger {
  width: 30px;
  min-width: 30px;
  height: 24px;
  font-size: 13px;
}

.egg-sg-class-cell .egg-play-class-badge.badge-racing-sum {
  font-size: 13px;
}

.egg-current-racing-tags .egg-play-class-badge.badge-racing-sum,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-sum {
  color: #111827;
  border-color: #b7c2ce;
}

.egg-current-racing-tags .egg-play-class-badge.badge-racing-small,
.egg-current-racing-tags .egg-play-class-badge.badge-racing-odd,
.egg-current-racing-tags .egg-play-class-badge.badge-racing-tiger,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-small,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-odd,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-tiger {
  color: #034fff;
  border-color: #9db8e8;
}

.egg-current-racing-tags .egg-play-class-badge.badge-racing-big,
.egg-current-racing-tags .egg-play-class-badge.badge-racing-even,
.egg-current-racing-tags .egg-play-class-badge.badge-racing-dragon,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-big,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-even,
.egg-sg-class-cell .egg-play-class-badge.badge-racing-dragon {
  color: #df0000;
  border-color: #ebb0b0;
}

.egg-sg-current-result .egg-current-zone-result .play-result-chip.wide,
.egg-sg-current-result .egg-current-zone-result .play-result-chip.kind-category36,
.egg-sg-current-result .egg-current-zone-result .play-result-chip.kind-zjh {
  min-width: 38px;
  border-radius: 5px;
}

.egg-sg-current-result .egg-current-zone-result .play-result-chip.kind-zjh.zjh-card-face-chip {
  width: 34px;
  min-width: 34px;
  height: 48px;
  padding: 0;
  border-radius: 4px;
}

.egg-sg-current-result .egg-current-final-highlight.play-result-chip {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 17px;
  font-size: 15px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .34), 0 3px 7px rgba(15, 23, 42, .24);
}

.result-ball {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2f80ed;
  font-weight: 700;
}

.result-ball.small {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.desktop-result-line .play-result-chip,
.egg-sg-current-result .play-result-chip,
.desktop-trend-cell .play-result-chip {
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid transparent;
  color: #fff;
  background: #4f8df7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-style: normal;
}

.egg-sg-current-result .play-result-chip {
  justify-self: center;
}

.desktop-trend-cell .play-result-chip {
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  font-size: 10px;
}

.desktop-result-line .play-result-chip.wide,
.egg-sg-current-result .play-result-chip.wide,
.desktop-trend-cell .play-result-chip.wide {
  min-width: 34px;
  border-radius: 4px;
}

.desktop-trend-cell .play-result-chip.wide {
  min-width: 26px;
}

.desktop-result-line .play-result-chip.color-red,
.egg-sg-current-result .play-result-chip.color-red,
.desktop-trend-cell .play-result-chip.color-red {
  background: #e83b57;
}

.desktop-result-line .play-result-chip.color-blue,
.egg-sg-current-result .play-result-chip.color-blue,
.desktop-trend-cell .play-result-chip.color-blue {
  background: #3478f6;
}

.desktop-result-line .play-result-chip.color-green,
.egg-sg-current-result .play-result-chip.color-green,
.desktop-trend-cell .play-result-chip.color-green {
  background: #21aa5f;
}

.desktop-result-line .play-result-chip.tone-0,
.egg-sg-current-result .play-result-chip.tone-0,
.desktop-trend-cell .play-result-chip.tone-0 { background: #16c172; }
.desktop-result-line .play-result-chip.tone-1,
.egg-sg-current-result .play-result-chip.tone-1,
.desktop-trend-cell .play-result-chip.tone-1 { background: #4f8df7; }
.desktop-result-line .play-result-chip.tone-2,
.egg-sg-current-result .play-result-chip.tone-2,
.desktop-trend-cell .play-result-chip.tone-2 { background: #ff6b1f; }
.desktop-result-line .play-result-chip.tone-3,
.egg-sg-current-result .play-result-chip.tone-3,
.desktop-trend-cell .play-result-chip.tone-3 { background: #e22974; }
.desktop-result-line .play-result-chip.tone-4,
.egg-sg-current-result .play-result-chip.tone-4,
.desktop-trend-cell .play-result-chip.tone-4 { background: #6b62b3; }
.desktop-result-line .play-result-chip.tone-5,
.egg-sg-current-result .play-result-chip.tone-5,
.desktop-trend-cell .play-result-chip.tone-5 { background: #667085; }

.desktop-result-line .play-result-chip.kind-dice,
.desktop-result-line .play-result-chip.kind-official_k3,
.egg-sg-current-result .play-result-chip.kind-dice,
.egg-sg-current-result .play-result-chip.kind-official_k3,
.desktop-trend-cell .play-result-chip.kind-dice,
.desktop-trend-cell .play-result-chip.kind-official_k3 {
  border-radius: 5px;
  background: #e5e7eb;
  color: #111;
}

.egg-sg-current-result .play-result-chip.kind-dice.dice-final,
.egg-sg-current-result .play-result-chip.kind-official_k3.dice-final {
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .34), 0 2px 5px rgba(15, 23, 42, .22);
}

.egg-sg-current-result .play-result-chip.kind-dice.dice-final.color-red,
.egg-sg-current-result .play-result-chip.kind-official_k3.dice-final.color-red {
  background: #e83b57;
}

.egg-sg-current-result .play-result-chip.kind-dice.dice-final.color-blue,
.egg-sg-current-result .play-result-chip.kind-official_k3.dice-final.color-blue {
  background: #3478f6;
}

.egg-sg-current-result .play-result-chip.kind-dice.dice-final.color-green,
.egg-sg-current-result .play-result-chip.kind-official_k3.dice-final.color-green {
  background: #21aa5f;
}

.desktop-result-line .play-result-chip.kind-dice.dice-final.k3-final-square,
.desktop-result-line .play-result-chip.kind-official_k3.dice-final.k3-final-square {
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
}

.desktop-result-line .play-result-chip.kind-dice.dice-final.k3-final-square.color-red,
.desktop-result-line .play-result-chip.kind-official_k3.dice-final.k3-final-square.color-red {
  background: #e83b57;
}

.desktop-result-line .play-result-chip.kind-dice.dice-final.k3-final-square.color-blue,
.desktop-result-line .play-result-chip.kind-official_k3.dice-final.k3-final-square.color-blue {
  background: #3478f6;
}

.desktop-result-line .play-result-chip.kind-dice.dice-final.k3-final-square.color-green,
.desktop-result-line .play-result-chip.kind-official_k3.dice-final.k3-final-square.color-green {
  background: #21aa5f;
}

.desktop-result-line .play-result-chip.kind-dice:not(.dice-final),
.desktop-result-line .play-result-chip.kind-official_k3:not(.dice-final),
.egg-sg-current-result .play-result-chip.kind-dice:not(.dice-final),
.egg-sg-current-result .play-result-chip.kind-official_k3:not(.dice-final),
.desktop-trend-cell .play-result-chip.kind-dice:not(.dice-final),
.desktop-trend-cell .play-result-chip.kind-official_k3:not(.dice-final) {
  min-width: 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.desktop-result-line .play-result-chip img,
.egg-sg-current-result .play-result-chip img,
.desktop-trend-cell .play-result-chip img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.egg-sg-current-result .desktop-result-line .play-result-chip.kind-official_k3:not(.dice-final) {
  min-width: 32px;
  width: 32px;
  height: 32px;
}

.egg-sg-current-result .desktop-result-line .play-result-chip.kind-official_k3:not(.dice-final) img {
  width: 32px;
  height: 32px;
}

.egg-sg-current-result .desktop-result-line .play-result-chip.kind-official_k3.dice-final.k3-final-square {
  min-width: 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
}

.desktop-result-line .play-result-chip.kind-category36,
.desktop-result-line .play-result-chip.kind-zjh,
.egg-sg-current-result .play-result-chip.kind-category36,
.egg-sg-current-result .play-result-chip.kind-zjh,
.desktop-trend-cell .play-result-chip.kind-category36,
.desktop-trend-cell .play-result-chip.kind-zjh {
  border-radius: 4px;
}

.desktop-result-line .play-result-chip.kind-zjh.zjh-card-face-chip,
.egg-sg-current-result .play-result-chip.kind-zjh.zjh-card-face-chip,
.desktop-trend-cell .play-result-chip.kind-zjh.zjh-card-face-chip {
  width: 30px;
  min-width: 30px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
}

.egg-sg-current-result .play-result-chip.kind-zjh.zjh-card-face-chip {
  width: 34px;
  min-width: 34px;
  height: 48px;
}

.desktop-trend-cell .play-result-chip.kind-zjh.zjh-card-face-chip {
  width: 24px;
  min-width: 24px;
  height: 34px;
}

.desktop-result-line .play-result-chip.kind-zjh.zjh-card-face-chip img,
.egg-sg-current-result .play-result-chip.kind-zjh.zjh-card-face-chip img,
.desktop-trend-cell .play-result-chip.kind-zjh.zjh-card-face-chip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .22));
}

.desktop-result-line .play-result-chip.pk10-1,
.egg-sg-current-result .play-result-chip.pk10-1,
.desktop-trend-cell .play-result-chip.pk10-1 { background: #f5e400; color: #111; border-color: #d5c800; }
.desktop-result-line .play-result-chip.pk10-2,
.egg-sg-current-result .play-result-chip.pk10-2,
.desktop-trend-cell .play-result-chip.pk10-2 { background: #2f86ff; color: #fff; border-color: #1f62c4; }
.desktop-result-line .play-result-chip.pk10-3,
.egg-sg-current-result .play-result-chip.pk10-3,
.desktop-trend-cell .play-result-chip.pk10-3 { background: #555b66; color: #fff; border-color: #3a4048; }
.desktop-result-line .play-result-chip.pk10-4,
.egg-sg-current-result .play-result-chip.pk10-4,
.desktop-trend-cell .play-result-chip.pk10-4 { background: #ff7b1a; color: #fff; border-color: #ca5b08; }
.desktop-result-line .play-result-chip.pk10-5,
.egg-sg-current-result .play-result-chip.pk10-5,
.desktop-trend-cell .play-result-chip.pk10-5 { background: #32d7f0; color: #fff; border-color: #14a8bf; }
.desktop-result-line .play-result-chip.pk10-6,
.egg-sg-current-result .play-result-chip.pk10-6,
.desktop-trend-cell .play-result-chip.pk10-6 { background: #233bff; color: #fff; border-color: #1729b5; }
.desktop-result-line .play-result-chip.pk10-7,
.egg-sg-current-result .play-result-chip.pk10-7,
.desktop-trend-cell .play-result-chip.pk10-7 { background: #cfd5dc; color: #1f2937; border-color: #a6afb9; }
.desktop-result-line .play-result-chip.pk10-8,
.egg-sg-current-result .play-result-chip.pk10-8,
.desktop-trend-cell .play-result-chip.pk10-8 { background: #ef2525; color: #fff; border-color: #b81717; }
.desktop-result-line .play-result-chip.pk10-9,
.egg-sg-current-result .play-result-chip.pk10-9,
.desktop-trend-cell .play-result-chip.pk10-9 { background: #7a1111; color: #fff; border-color: #4f0909; }
.desktop-result-line .play-result-chip.pk10-10,
.egg-sg-current-result .play-result-chip.pk10-10,
.desktop-trend-cell .play-result-chip.pk10-10 { background: #18b943; color: #fff; border-color: #0f842d; }

.desktop-result-line .play-result-chip.kl8-light,
.egg-sg-current-result .play-result-chip.kl8-light,
.desktop-trend-cell .play-result-chip.kl8-light,
.desktop-bet-ball.kl8-light,
.desktop-official-token.kl8-light {
  border-color: #a6d8f1;
  background: #dff3ff;
  color: #0f5480;
}

.desktop-result-line .play-result-chip.kl8-dark,
.desktop-result-line .play-result-chip.ssc-blue,
.egg-sg-current-result .play-result-chip.kl8-dark,
.egg-sg-current-result .play-result-chip.ssc-blue,
.desktop-trend-cell .play-result-chip.kl8-dark,
.desktop-trend-cell .play-result-chip.ssc-blue,
.desktop-bet-ball.kl8-dark,
.desktop-official-token.kl8-dark {
  background: #16a9dd;
  color: #fff;
  border-color: #0787b7;
}

.desktop-result-line .play-result-chip.cat36-0,
.desktop-result-line .play-result-chip.zjh-0,
.egg-sg-current-result .play-result-chip.cat36-0,
.egg-sg-current-result .play-result-chip.zjh-0,
.desktop-trend-cell .play-result-chip.cat36-0,
.desktop-trend-cell .play-result-chip.zjh-0 { min-width: 42px; background: #c98905; }
.desktop-result-line .play-result-chip.cat36-1,
.desktop-result-line .play-result-chip.zjh-4,
.egg-sg-current-result .play-result-chip.cat36-1,
.egg-sg-current-result .play-result-chip.zjh-4,
.desktop-trend-cell .play-result-chip.cat36-1,
.desktop-trend-cell .play-result-chip.zjh-4 { min-width: 42px; background: #7422c8; }
.desktop-result-line .play-result-chip.cat36-2,
.desktop-result-line .play-result-chip.zjh-3,
.egg-sg-current-result .play-result-chip.cat36-2,
.egg-sg-current-result .play-result-chip.zjh-3,
.desktop-trend-cell .play-result-chip.cat36-2,
.desktop-trend-cell .play-result-chip.zjh-3 { min-width: 42px; background: #075fc0; }
.desktop-result-line .play-result-chip.cat36-3,
.desktop-result-line .play-result-chip.zjh-2,
.egg-sg-current-result .play-result-chip.cat36-3,
.egg-sg-current-result .play-result-chip.zjh-2,
.desktop-trend-cell .play-result-chip.cat36-3,
.desktop-trend-cell .play-result-chip.zjh-2 { min-width: 42px; background: #21a85b; }
.desktop-result-line .play-result-chip.cat36-4,
.desktop-result-line .play-result-chip.zjh-5,
.egg-sg-current-result .play-result-chip.cat36-4,
.egg-sg-current-result .play-result-chip.zjh-5,
.desktop-trend-cell .play-result-chip.cat36-4,
.desktop-trend-cell .play-result-chip.zjh-5 { min-width: 42px; background: #e21f3b; }
.desktop-result-line .play-result-chip.zjh-1,
.egg-sg-current-result .play-result-chip.zjh-1,
.desktop-trend-cell .play-result-chip.zjh-1 { min-width: 42px; background: #b80014; }
.desktop-result-line .play-result-chip.card-suit-0,
.desktop-result-line .play-result-chip.card-suit-2,
.egg-sg-current-result .play-result-chip.card-suit-0,
.egg-sg-current-result .play-result-chip.card-suit-2,
.desktop-trend-cell .play-result-chip.card-suit-0,
.desktop-trend-cell .play-result-chip.card-suit-2 { background: #fff5f5; color: #d0182d; border-color: #f2b2bd; }
.desktop-result-line .play-result-chip.card-suit-1,
.desktop-result-line .play-result-chip.card-suit-3,
.egg-sg-current-result .play-result-chip.card-suit-1,
.egg-sg-current-result .play-result-chip.card-suit-3,
.desktop-trend-cell .play-result-chip.card-suit-1,
.desktop-trend-cell .play-result-chip.card-suit-3 { background: #f8fafc; color: #1f2937; border-color: #b8c2cf; }

.desktop-result-line em {
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 12px;
  color: #fff;
  background: #2aa876;
  font-style: normal;
  font-size: 12px;
}

.desktop-result-line button {
  height: 24px;
  padding: 0 8px;
  border: 1px solid #b8c3cf;
  background: #fff;
  cursor: pointer;
}

.desktop-bet-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.desktop-bet-action-row {
  flex: 1 0 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.desktop-bet-action-row .desktop-chip {
  flex: 0 0 74px;
}

.desktop-bet-action-row .ghost-btn,
.desktop-bet-action-row .primary-btn,
.desktop-bet-action-row .danger-btn {
  flex: 0 0 auto;
  min-width: 58px;
  height: 38px;
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}

.desktop-bet-toolbar > .desktop-chip,
.desktop-bet-toolbar > .ghost-btn,
.desktop-bet-toolbar > .primary-btn,
.desktop-bet-toolbar > .danger-btn,
.desktop-bet-toolbar > .desktop-bet-total,
.desktop-bet-toolbar > label {
  flex: 0 0 auto;
}

.desktop-bet-toolbar > label {
  min-width: 210px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.desktop-bet-toolbar > label input {
  height: 36px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
}

.desktop-bet-action-row .danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff4f27;
  border-radius: 3px;
  background: #ff552e;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.desktop-bet-action-row .danger-action {
  border-color: #ff4f27;
  color: #ff4f27;
}

.desktop-bet-shortcuts {
  display: grid;
  gap: 5px;
  padding: 10px 8px;
  border-bottom: 1px solid #d8e0e7;
  background: #fff;
}

.desktop-bet-shortcut-row {
  display: grid;
  grid-template-columns: 84px repeat(12, minmax(68px, 1fr));
  gap: 4px;
  align-items: center;
}

.desktop-bet-shortcut-row span {
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #ff4a4a;
  color: #ff3b30;
  background: #fff;
  font-weight: 700;
}

.desktop-bet-shortcut-row button {
  min-width: 0;
  height: 26px;
  border: 1px solid #c7d1dc;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #eef2f6 100%);
  color: #111;
  cursor: pointer;
  font-weight: 700;
}

.desktop-bet-shortcut-row button:hover {
  border-color: #0aa48b;
  color: #0a7c68;
  background: #f4fffc;
}

.desktop-bet-shortcut-row button.disabled,
.desktop-bet-shortcut-row button:disabled {
  border-color: #d8e0e7;
  background: #f4f6f8;
  color: #a8b2bd;
  cursor: not-allowed;
}

.desktop-bet-shortcut-row.desktop-mode-row {
  grid-template-columns: 84px minmax(0, 1fr);
}

.desktop-mode-controls {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 1px;
}

.desktop-mode-controls .mode-tab {
  min-width: 78px;
  flex: 0 0 auto;
}

.desktop-mode-controls .mode-tab.active {
  border-color: #2593e8;
  background: linear-gradient(180deg, #dff1ff 0%, #b9dcff 100%);
  color: #005ca8;
}

.desktop-mode-controls .mode-tab.new {
  color: #ff3b30;
}

.desktop-mode-controls .mode-title {
  min-width: 190px;
  flex: 0 0 230px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.desktop-mode-controls .mode-title span {
  height: 26px;
  border: 0;
  background: transparent;
  color: #333;
  font-weight: 700;
}

.desktop-mode-controls .mode-title input {
  height: 26px;
  min-width: 0;
  border: 1px solid #c7d1dc;
  border-radius: 3px;
  padding: 0 8px;
}

.desktop-mode-controls .mode-delete {
  min-width: 42px;
}

.desktop-mode-controls .mode-save {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fff9da 0%, #ffd27a 100%);
  color: #8a4b00;
}

.desktop-mode-controls button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  opacity: .7;
}

.desktop-chip {
  height: 38px;
  border: 2px solid #26c66a;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}

.desktop-bet-action-row label {
  flex: 0 1 210px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.desktop-bet-action-row input {
  height: 36px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
}

.desktop-bet-total {
  flex: 1 1 230px;
  min-width: 230px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d7dde5;
  background: #fff;
  color: #f4511e;
  font-weight: 700;
}

.desktop-bet-total span {
  color: #334155;
  font-weight: 400;
}

.desktop-bet-statusbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, max-content) max-content;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #d8e0e7;
  background: #fafafa;
  color: #475569;
  font-size: 13px;
}

.desktop-bet-statusbar .desktop-bet-limit {
  margin: 0;
  padding: 0;
  background: transparent;
}

.desktop-bet-statusbar span {
  white-space: nowrap;
}

.desktop-bet-statusbar b {
  color: #0f2742;
  font-weight: 800;
}

.desktop-bet-statusbar span:nth-child(3) b,
.desktop-bet-statusbar span:nth-child(4) b {
  color: #1db46a;
}

.desktop-bet-statusbar button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
  color: #1d6fd1;
  cursor: pointer;
  font-weight: 700;
}

.desktop-bet-statusbar button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.desktop-bet-sections {
  display: grid;
  gap: 14px;
  padding: 14px 16px 20px;
}

.desktop-bet-section {
  background: #fff;
}

.desktop-bet-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #001b33;
  font-size: 12px;
}

.desktop-bet-table + .desktop-bet-table,
.desktop-bet-section + .desktop-bet-section {
  margin-top: 10px;
}

.desktop-bet-table th {
  height: 36px;
  border: 1px solid #d0d0d0;
  background: #e5e5e5;
  color: #000;
  font-weight: 800;
  text-align: center;
}

.desktop-bet-table td {
  height: 56px;
  border: 1px solid #d4d4d4;
  padding: 4px 6px;
  background: #fff;
  text-align: center;
  vertical-align: middle;
}

.desktop-bet-table td.is-selected {
  background: #fff7df;
}

.desktop-bet-section-title th,
.desktop-bet-block-title-row th {
  height: 30px;
  background: #f2f5f8;
  color: #173522;
}

.desktop-bet-pick-cell,
.desktop-bet-already,
.desktop-bet-table td:not(.desktop-bet-empty-block) {
  cursor: pointer;
}

.desktop-bet-empty-block {
  background: #fafafa;
}

.desktop-bet-table-2col .desktop-bet-col-pick { width: 6%; }
.desktop-bet-table-2col .desktop-bet-col-odds { width: 7%; }
.desktop-bet-table-2col .desktop-bet-col-already { width: 4.7%; }
.desktop-bet-table-2col .desktop-bet-col-check { width: 4%; }
.desktop-bet-table-2col .desktop-bet-col-input { width: 14.5%; }
.desktop-bet-table-2col .desktop-bet-col-mul { width: 13.8%; }

.desktop-bet-table-3col .desktop-bet-col-pick { width: 5.1%; }
.desktop-bet-table-3col .desktop-bet-col-odds { width: 5.2%; }
.desktop-bet-table-3col .desktop-bet-col-already { width: 3.8%; }
.desktop-bet-table-3col .desktop-bet-col-check { width: 3%; }
.desktop-bet-table-3col .desktop-bet-col-input { width: 7.4%; }
.desktop-bet-table-3col .desktop-bet-col-mul { width: 8.8%; }

.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-col-pick { width: 4.7%; }
.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-col-odds { width: 5.2%; }
.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-col-already { width: 3.5%; }
.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-col-check { width: 2.8%; }
.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-col-input { width: 6.9%; }
.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-col-mul { width: 10.2%; }

.desktop-bet-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #10233d;
}

.desktop-bet-already {
  color: #004586;
  font-weight: 700;
}

.desktop-bet-already.has-value {
  color: #e60000;
}

.desktop-bet-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
}

.desktop-bet-table input:not([type]),
.desktop-bet-table input[type="text"] {
  width: min(120px, 100%);
  height: 37px;
  min-width: 0;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 0 8px;
  background: #fff;
  text-align: center;
}

.desktop-bet-table-3col input:not([type]),
.desktop-bet-table-3col input[type="text"] {
  width: min(76px, 100%);
}

.desktop-bet-ball.play-result-chip {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #4f8df7;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.desktop-bet-ball.play-result-chip.wide {
  min-width: 36px;
  border-radius: 5px;
}

.desktop-bet-ball.color-red { background: #e83b57; }
.desktop-bet-ball.color-blue { background: #3478f6; }
.desktop-bet-ball.color-green { background: #21aa5f; }
.desktop-bet-ball.tone-0 { background: #16c172; }
.desktop-bet-ball.tone-1 { background: #4f8df7; }
.desktop-bet-ball.tone-2 { background: #ff6b1f; }
.desktop-bet-ball.tone-3 { background: #e22974; }
.desktop-bet-ball.tone-4 { background: #6b62b3; }
.desktop-bet-ball.tone-5 { background: #667085; }
.desktop-bet-ball.pk10-1 { background: #f5e400; color: #111; border-color: #d5c800; }
.desktop-bet-ball.pk10-2 { background: #2f86ff; color: #fff; border-color: #1f62c4; }
.desktop-bet-ball.pk10-3 { background: #555b66; color: #fff; border-color: #3a4048; }
.desktop-bet-ball.pk10-4 { background: #ff7b1a; color: #fff; border-color: #ca5b08; }
.desktop-bet-ball.pk10-5 { background: #32d7f0; color: #fff; border-color: #14a8bf; }
.desktop-bet-ball.pk10-6 { background: #233bff; color: #fff; border-color: #1729b5; }
.desktop-bet-ball.pk10-7 { background: #cfd5dc; color: #1f2937; border-color: #a6afb9; }
.desktop-bet-ball.pk10-8 { background: #ef2525; color: #fff; border-color: #b81717; }
.desktop-bet-ball.pk10-9 { background: #7a1111; color: #fff; border-color: #4f0909; }
.desktop-bet-ball.pk10-10 { background: #18b943; color: #fff; border-color: #0f842d; }
.desktop-bet-ball.kind-dice:not(.dice-final),
.desktop-bet-ball.kind-official_k3:not(.dice-final) {
  width: 24px;
  min-width: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.desktop-bet-ball img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.desktop-bet-ball.cat36-0,
.desktop-bet-ball.zjh-0 { min-width: 42px; background: #c98905; }
.desktop-bet-ball.cat36-1,
.desktop-bet-ball.zjh-4 { min-width: 42px; background: #7422c8; }
.desktop-bet-ball.cat36-2,
.desktop-bet-ball.zjh-3 { min-width: 42px; background: #075fc0; }
.desktop-bet-ball.cat36-3,
.desktop-bet-ball.zjh-2 { min-width: 42px; background: #21a85b; }
.desktop-bet-ball.cat36-4,
.desktop-bet-ball.zjh-5 { min-width: 42px; background: #e21f3b; }
.desktop-bet-ball.zjh-1 { min-width: 42px; background: #b80014; }
.desktop-bet-ball.card-suit-0,
.desktop-bet-ball.card-suit-2 { background: #fff5f5; color: #d0182d; border-color: #f2b2bd; }
.desktop-bet-ball.card-suit-1,
.desktop-bet-ball.card-suit-3 { background: #f8fafc; color: #1f2937; border-color: #b8c2cf; }

.desktop-bet-text {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #10233d;
  font-weight: 800;
}

.desktop-bet-multipliers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.desktop-bet-multipliers button {
  min-width: 34px;
  height: 29px;
  margin: 0;
  border: 1px solid #aeb6bf;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%);
  color: #000;
  cursor: pointer;
  font-weight: 800;
}

.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-multipliers {
  gap: 3px;
}

.desktop-bet-table-grouped.desktop-bet-table-3col .desktop-bet-multipliers button {
  min-width: 30px;
  height: 28px;
  padding: 0 5px;
  font-size: 12px;
}

.desktop-bet-multipliers button:hover {
  border-color: #0aa48b;
  color: #0a7c68;
  background: #f4fffc;
}

.desktop-official-toolbar {
  align-items: stretch;
}

.desktop-official-toolbar .desktop-bet-action-row {
  flex-wrap: nowrap;
  gap: 6px;
}

.desktop-official-toolbar .desktop-bet-action-row .desktop-chip {
  flex-basis: 70px;
}

.desktop-official-toolbar .desktop-bet-action-row .ghost-btn,
.desktop-official-toolbar .desktop-bet-action-row .primary-btn,
.desktop-official-toolbar .desktop-bet-action-row .danger-btn {
  min-width: 54px;
  padding: 0 10px;
}

.desktop-official-toolbar .desktop-bet-action-row label,
.desktop-official-toolbar > label {
  flex: 0 0 156px;
  min-width: 156px;
  grid-template-columns: minmax(0, 1fr);
}

.desktop-official-toolbar .desktop-bet-action-row label span,
.desktop-official-toolbar > label span {
  display: none;
}

.desktop-official-toolbar .desktop-bet-action-row .desktop-last-bet-btn {
  margin-left: auto;
}

.desktop-official-play-row {
  flex: 1 0 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.desktop-official-play-row .desktop-bet-total {
  flex: 0 0 300px;
  margin-left: auto;
}

.desktop-official-play-nav.desktop-official-toolbar-nav {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.desktop-official-bet-layout {
  display: block;
  padding: 12px 16px 20px;
  background: #f8fafc;
}

.desktop-official-play-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.desktop-official-play-nav button {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 9px;
  background: #fff;
  color: #163248;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.desktop-official-play-nav.desktop-official-toolbar-nav button {
  flex: 0 1 116px;
  min-width: 92px;
  max-width: 138px;
  min-height: 34px;
  padding: 0 8px;
}

.desktop-official-play-nav button.active {
  border-color: #ea5b23;
  background: #fff7ed;
  color: #e94412;
}

.desktop-official-play-nav span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-official-play-nav b {
  min-width: 24px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
}

.desktop-official-play-nav button.active b {
  background: #f97316;
  color: #fff;
}

.desktop-official-play-main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.desktop-racing-table-layout {
  width: 100%;
  overflow-x: auto;
  background: #fff;
}

.desktop-racing-sum-table,
.desktop-racing-rank-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  color: #0f2742;
}

.desktop-racing-sum-table {
  margin-bottom: 10px;
}

.desktop-racing-sum-table th,
.desktop-racing-rank-table th {
  height: 28px;
  border: 1px solid #b9c5d2;
  background: #dedede;
  color: #303b46;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.desktop-racing-sum-table td,
.desktop-racing-rank-table td {
  height: 29px;
  border: 1px solid #b9c5d2;
  background: #f7fbff;
  vertical-align: middle;
  box-sizing: border-box;
}

.desktop-racing-label {
  width: 42px;
  padding: 0 4px;
  color: #0f2742;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.desktop-racing-odds {
  width: 48px;
  color: #f00;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.desktop-racing-input {
  padding: 0 8px;
  text-align: center;
}

.desktop-racing-input input {
  width: 100%;
  max-width: 96px;
  height: 18px;
  border: 1px solid #aebaca;
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  padding: 0 5px;
  font-size: 12px;
  line-height: 18px;
}

.desktop-racing-label.selected,
.desktop-racing-odds.selected,
.desktop-racing-input.selected {
  background: #fff8e8;
}

.desktop-racing-label.locked {
  cursor: not-allowed;
}

.desktop-racing-rank-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
}

.desktop-racing-rank-table {
  min-width: 0;
}

.desktop-racing-rank-table .desktop-racing-label {
  width: 34px;
}

.desktop-racing-rank-table .desktop-racing-input {
  padding: 0 6px;
}

.desktop-racing-rank-table .desktop-official-token {
  min-width: 24px;
  min-height: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
  line-height: 1;
}

.desktop-racing-lane-table .desktop-racing-label {
  width: 32px;
}

.desktop-racing-lane-table .desktop-official-token-number {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
}

.desktop-lhc-table-layout {
  width: 100%;
  display: grid;
  gap: 10px;
  overflow-x: auto;
  background: #fff;
}

.desktop-lhc-number-table,
.desktop-lhc-extra-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.desktop-lhc-number-table th,
.desktop-lhc-extra-table th {
  height: 26px;
  border: 1px solid #b9c2cc;
  background: #dedede;
  color: #303b46;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.desktop-lhc-number-table td,
.desktop-lhc-extra-table td {
  height: 30px;
  border: 1px solid #b9c2cc;
  vertical-align: middle;
  box-sizing: border-box;
}

.desktop-lhc-number-table thead tr:nth-child(2) th {
  background: #eaf2fb;
}

.desktop-lhc-ball-cell,
.desktop-lhc-text-cell {
  width: 38px;
  background: #eaf2fb;
  color: #123252;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-lhc-text-cell {
  width: 54px;
  padding: 0 4px;
}

.desktop-lhc-odds-cell {
  width: 62px;
  color: #f00000;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-lhc-input-cell {
  padding: 0 5px;
  text-align: center;
}

.desktop-lhc-input-cell input {
  width: 100%;
  max-width: 88px;
  height: 19px;
  border: 1px solid #aebaca;
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  padding: 0 5px;
  font-size: 12px;
  line-height: 19px;
}

.desktop-lhc-ball-cell .desktop-official-token-number {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  font-size: 12px;
  box-shadow: inset -1px -2px 4px rgba(0, 0, 0, .22), inset 1px 2px 4px rgba(255, 255, 255, .42), 0 1px 2px rgba(15, 23, 42, .2);
}

.desktop-lhc-ball-cell.selected,
.desktop-lhc-text-cell.selected,
.desktop-lhc-odds-cell.selected,
.desktop-lhc-input-cell.selected {
  background: #fff8e8;
}

.desktop-lhc-ball-cell.locked,
.desktop-lhc-text-cell.locked {
  cursor: not-allowed;
}

.desktop-official-group {
  border: 1px solid #d5dee7;
  background: #fff;
}

.desktop-official-group header {
  position: relative;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid #d5dee7;
  padding: 0 58px;
  background: #eef4f8;
  color: #183249;
  text-align: center;
}

.desktop-official-group header strong {
  min-width: 0;
  display: block;
  width: 100%;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-official-group header span {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  white-space: nowrap;
}

.desktop-official-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
  gap: 8px;
  padding: 10px;
}

.desktop-official-cell {
  min-height: 88px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  border: 1px solid #d7dee6;
  border-radius: 4px;
  padding: 9px 10px;
  background: #fff;
  cursor: pointer;
}

.desktop-official-cell.selected {
  border-color: #f59e0b;
  background: #fffaf0;
}

.desktop-official-cell.locked {
  opacity: .72;
  cursor: not-allowed;
}

.desktop-official-cell-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.desktop-official-cell-head b {
  color: #e60000;
  font-size: 13px;
}

.desktop-official-cell em {
  color: #0f4f8a;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.desktop-official-token {
  min-width: 26px;
  max-width: 100%;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 8px;
  color: #10233d;
  background: #edf2f7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}

.desktop-official-token-number {
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  border-radius: 50%;
  padding: 0;
  color: #fff;
}

.desktop-official-token-long {
  justify-items: center;
  text-align: center;
}

.desktop-official-token.color-red { background: #e83b57; color: #fff; }
.desktop-official-token.color-blue { background: #3478f6; color: #fff; }
.desktop-official-token.color-green { background: #21aa5f; color: #fff; }
.desktop-official-token.word-pink { background: #fff1f4; color: #e11d48; border-color: #fecdd3; }
.desktop-official-token.word-orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }
.desktop-official-token.word-blue { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.desktop-official-token.word-green { background: #ecfdf5; color: #059669; border-color: #bbf7d0; }
.desktop-official-token.word-red { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.desktop-official-token.word-slate { background: #f1f5f9; color: #475569; border-color: #cbd5e1; }
.desktop-official-token.word-default { background: #edf2f7; color: #233447; border-color: #d7dee7; }

.desktop-official-input {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.desktop-official-input input {
  min-width: 96px;
  height: 36px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  font-size: 14px;
  text-align: left;
}

.desktop-official-multipliers {
  display: inline-flex;
  gap: 3px;
}

.desktop-official-multipliers button {
  min-width: 31px;
  height: 30px;
  border: 1px solid #aeb6bf;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%);
  color: #000;
  cursor: pointer;
  font-weight: 800;
}

.desktop-official-multipliers button:disabled,
.desktop-official-input input:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.desktop-official-empty {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd5e1;
  background: #fff;
  color: #64748b;
}

.desktop-vue-ssc-integrated {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.desktop-vue-ssc-section,
.desktop-vue-ssc-ball-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: 13px;
}

.desktop-vue-ssc-section th,
.desktop-vue-ssc-ball-table th {
  height: 27px;
  border: 1px solid #b9c2cc;
  background: #e2e2e2;
  color: #333;
  font-weight: 700;
  text-align: center;
}

.desktop-vue-ssc-section td,
.desktop-vue-ssc-ball-table td {
  height: 28px;
  border: 1px solid #b9c2cc;
  padding: 0 3px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
}

.desktop-vue-ssc-label {
  width: 40px;
  background: #eaf2fb;
  color: #123252;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-vue-ssc-odds {
  width: 54px;
  color: #f00;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.desktop-vue-ssc-input {
  min-width: 72px;
}

.desktop-vue-ssc-input input {
  width: 82px;
  max-width: calc(100% - 8px);
  height: 18px;
  border: 1px solid #b8c3cf;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}

.desktop-vue-ssc-label.selected,
.desktop-vue-ssc-odds.selected,
.desktop-vue-ssc-input.selected {
  background: #fff7d7;
  box-shadow: inset 0 0 0 1px #ffc84d;
}

.desktop-vue-ssc-label.locked,
.desktop-vue-ssc-input input:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.desktop-vue-ssc-ball-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.desktop-vue-ssc-ball-table .desktop-vue-ssc-label {
  width: 34px;
}

.desktop-vue-ssc-ball-table .desktop-vue-ssc-odds {
  width: 42px;
}

.desktop-vue-ssc-ball-table .desktop-vue-ssc-input input {
  width: 80px;
}

.desktop-vue-ssc-tip {
  width: 760px;
  max-width: calc(100% - 40px);
  margin: 10px auto;
  padding: 9px 18px;
  background: #e3f8ed;
  color: #00a84f;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-sizing: border-box;
}

.desktop-vue-ssc-shape {
  margin-top: 8px;
}

.desktop-k3-layout {
  display: grid;
  gap: 10px;
}

.desktop-k3-section {
  border: 1px solid #b9c2cc;
  background: #fff;
}

.desktop-k3-section header {
  height: 28px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #b9c2cc;
  background: #e5e5e5;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.desktop-k3-section table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.desktop-k3-section td {
  height: 34px;
  border-right: 1px solid #b9c2cc;
  border-bottom: 1px solid #b9c2cc;
  padding: 2px 8px;
  text-align: center;
  vertical-align: middle;
}

.desktop-k3-section tr:last-child td {
  border-bottom: 0;
}

.desktop-k3-label {
  width: 12%;
  background: #eaf2fb;
  color: #08244a;
  font-weight: 800;
}

.desktop-k3-odds {
  width: 10%;
  color: #f00000;
  font-size: 12px;
  font-weight: 800;
}

.desktop-k3-input {
  width: 12%;
}

.desktop-k3-input input {
  width: min(88px, 100%);
  height: 22px;
  border: 1px solid #b8c7d8;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}

.desktop-k3-dice-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 28px;
}

.desktop-k3-dice-list img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.desktop-fantan-layout {
  display: grid;
  grid-template-columns: minmax(760px, 1fr) 236px;
  align-items: start;
  gap: 7px;
  min-height: 0;
}

.desktop-fantan-board,
.desktop-fantan-trend {
  border: 1px solid #bfc8d2;
  background: #fff;
}

.desktop-fantan-board {
  display: grid;
  grid-template-rows: 32px 528px;
  min-height: 560px;
}

.desktop-fantan-board header,
.desktop-fantan-trend header {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid #bfc8d2;
  background: #e5e5e5;
  color: #10233d;
  font-size: 13px;
  font-weight: 800;
}

.desktop-fantan-board header span {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.desktop-fantan-perimeter {
  display: grid;
  grid-template-columns: repeat(5, minmax(112px, 1fr));
  border-bottom: 1px solid #d4dbe3;
}

.desktop-fantan-map {
  display: grid;
  grid-template-columns: minmax(138px, .88fr) minmax(138px, .94fr) minmax(138px, .94fr) minmax(138px, .94fr) minmax(138px, .88fr);
  grid-template-rows: 68px 130px 130px 130px 68px;
  align-items: stretch;
  background: #fff;
}

.desktop-fantan-bet,
.desktop-fantan-face-bet,
.desktop-fantan-fan {
  border: 0;
  border-right: 1px solid #d4dbe3;
  border-bottom: 1px solid #d4dbe3;
  background: #eef6ff;
  color: #10233d;
  cursor: pointer;
  font: inherit;
}

.desktop-fantan-bet {
  min-height: 50px;
  display: grid;
  grid-template-columns: minmax(36px, auto) 42px minmax(74px, 1fr);
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
}

.desktop-fantan-bet span,
.desktop-fantan-face-bet span,
.desktop-fantan-fan span {
  font-weight: 800;
}

.desktop-fantan-bet b,
.desktop-fantan-face-bet b,
.desktop-fantan-fan b {
  color: #f00000;
  font-size: 13px;
}

.desktop-fantan-bet input,
.desktop-fantan-face-bet input,
.desktop-fantan-fan input {
  width: 100%;
  min-width: 0;
  height: 24px;
  border: 1px solid #bcc7d2;
  border-radius: 0;
  padding: 0 6px;
  background: #fff;
  text-align: center;
}

.desktop-fantan-bet input {
  width: min(76px, 100%);
  justify-self: center;
}

.desktop-fantan-bet.selected,
.desktop-fantan-face-bet.selected,
.desktop-fantan-fan.selected {
  background: #fff7df;
}

.desktop-fantan-bet.locked,
.desktop-fantan-face-bet.locked,
.desktop-fantan-fan.locked {
  cursor: not-allowed;
  opacity: .72;
}

.desktop-fantan-core {
  grid-column: 2 / 5;
  grid-row: 2 / 5;
  position: relative;
  min-height: 390px;
  display: block;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.desktop-fantan-fan {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px 40px minmax(76px, 1fr);
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #fff;
  border: 0;
  overflow: visible;
  background: transparent;
}

.desktop-fantan-fan:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--fantan-fan-bg, #94a3b8);
}

.desktop-fantan-fan:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
}

.desktop-fantan-fan .desktop-fantan-fan-title,
.desktop-fantan-fan b,
.desktop-fantan-fan input {
  position: relative;
  z-index: 1;
}

.desktop-fantan-fan .desktop-fantan-fan-title,
.desktop-fantan-fan b {
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

.desktop-fantan-fan .desktop-fantan-fan-title {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 26px;
  padding: 0 12px;
  background: #fff;
  color: #10233d;
  font-weight: 800;
  box-sizing: border-box;
}

.desktop-fantan-fan .desktop-fantan-fan-title em {
  font-style: normal;
}

.desktop-fantan-fan b {
  color: #f00000;
}

.desktop-fantan-fan input {
  width: 100%;
  height: 24px;
  min-width: 0;
  border-color: #b9c6d3;
  background: #fff;
}

.desktop-fantan-fan.fan-3 {
  top: 0;
  left: 0;
  right: 0;
  height: 116px;
  z-index: 2;
  grid-template-columns: 42px 42px 96px;
  justify-content: center;
  align-content: start;
  padding: 28px 0 0;
  --fantan-fan-bg: #ee9b35;
}

.desktop-fantan-fan.fan-3 .desktop-fantan-fan-title,
.desktop-fantan-fan.fan-3 input,
.desktop-fantan-fan.fan-1 .desktop-fantan-fan-title,
.desktop-fantan-fan.fan-1 input {
  height: 26px;
  align-self: center;
}

.desktop-fantan-fan.fan-3 .desktop-fantan-fan-title,
.desktop-fantan-fan.fan-1 .desktop-fantan-fan-title {
  grid-column: 1 / 3;
  grid-row: 1;
  min-width: 96px;
}

.desktop-fantan-fan.fan-3 input,
.desktop-fantan-fan.fan-1 input {
  grid-column: 3;
  grid-row: 1;
}

.desktop-fantan-fan.fan-3:before {
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.desktop-fantan-fan.fan-3:after {
  inset: 0 -4px -4px -4px;
  clip-path: polygon(0 0, 100% 0, 80.5% 100%, 19.5% 100%);
}

.desktop-fantan-fan.fan-1 {
  left: 0;
  right: 0;
  bottom: 0;
  height: 116px;
  z-index: 2;
  grid-template-columns: 42px 42px 96px;
  justify-content: center;
  align-content: end;
  padding: 0 0 28px;
  --fantan-fan-bg: #4bb0ea;
}

.desktop-fantan-fan.fan-1:before {
  inset: 0;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.desktop-fantan-fan.fan-1:after {
  inset: -4px -4px 0 -4px;
  clip-path: polygon(19.5% 0, 80.5% 0, 100% 100%, 0 100%);
}

.desktop-fantan-fan.fan-4 {
  top: 0;
  left: 0;
  bottom: 0;
  width: 22%;
  grid-template-columns: 38px 52px;
  grid-template-rows: 25px 24px;
  align-content: center;
  justify-content: center;
  gap: 0;
  padding: 0 22px 0 12px;
  --fantan-fan-bg: #d43339;
}

.desktop-fantan-fan.fan-4 .desktop-fantan-fan-title,
.desktop-fantan-fan.fan-4 input {
  justify-self: stretch;
}

.desktop-fantan-fan.fan-4 .desktop-fantan-fan-title {
  width: auto;
}

.desktop-fantan-fan.fan-4 .desktop-fantan-fan-title {
  grid-column: 1 / 3;
  grid-row: 1;
}

.desktop-fantan-fan.fan-4 input {
  grid-column: 1 / 3;
  grid-row: 2;
  margin-top: 4px;
}

.desktop-fantan-fan.fan-4:before {
  inset: 0;
  clip-path: polygon(0 0, 100% 28%, 100% 72%, 0 100%);
}

.desktop-fantan-fan.fan-4:after {
  inset: -4px -4px -4px 0;
  clip-path: polygon(0 0, 100% 27%, 100% 73%, 0 100%);
}

.desktop-fantan-fan.fan-2 {
  top: 0;
  right: 0;
  bottom: 0;
  width: 22%;
  grid-template-columns: 38px 52px;
  grid-template-rows: 25px 24px;
  align-content: center;
  justify-content: center;
  gap: 0;
  padding: 0 12px 0 22px;
  --fantan-fan-bg: #61ac65;
}

.desktop-fantan-fan.fan-2 .desktop-fantan-fan-title,
.desktop-fantan-fan.fan-2 input {
  justify-self: stretch;
}

.desktop-fantan-fan.fan-2 .desktop-fantan-fan-title {
  width: auto;
}

.desktop-fantan-fan.fan-2 .desktop-fantan-fan-title {
  grid-column: 1 / 3;
  grid-row: 1;
}

.desktop-fantan-fan.fan-2 input {
  grid-column: 1 / 3;
  grid-row: 2;
  margin-top: 4px;
}

.desktop-fantan-fan.fan-2:before {
  inset: 0;
  clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 72%);
}

.desktop-fantan-fan.fan-2:after {
  inset: -4px 0 -4px -4px;
  clip-path: polygon(0 27%, 100% 0, 100% 100%, 0 73%);
}

.desktop-fantan-face {
  position: absolute;
  left: 21.4%;
  right: 21.4%;
  top: 116px;
  height: 158px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #bdc8d4;
  border-left: 1px solid #bdc8d4;
  background: #fff;
}

.desktop-fantan-face-bet {
  min-height: 78px;
  display: grid;
  grid-template-columns: 28px 42px minmax(60px, 1fr);
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
}

.desktop-fantan-face-bet input {
  height: 24px;
  min-width: 0;
}

.desktop-fantan-bet.pos-top-1 { grid-column: 1; grid-row: 1; }
.desktop-fantan-bet.pos-top-2 { grid-column: 2; grid-row: 1; }
.desktop-fantan-bet.pos-top-3 { grid-column: 3; grid-row: 1; }
.desktop-fantan-bet.pos-top-4 { grid-column: 4; grid-row: 1; }
.desktop-fantan-bet.pos-top-5 { grid-column: 5; grid-row: 1; }
.desktop-fantan-bet.pos-left-1 { grid-column: 1; grid-row: 2; }
.desktop-fantan-bet.pos-left-2 { grid-column: 1; grid-row: 3; }
.desktop-fantan-bet.pos-left-3 { grid-column: 1; grid-row: 4; }
.desktop-fantan-bet.pos-right-1 { grid-column: 5; grid-row: 2; }
.desktop-fantan-bet.pos-right-2 { grid-column: 5; grid-row: 3; }
.desktop-fantan-bet.pos-right-3 { grid-column: 5; grid-row: 4; }
.desktop-fantan-bet.pos-bottom-1 { grid-column: 1; grid-row: 5; }
.desktop-fantan-bet.pos-bottom-2 { grid-column: 2; grid-row: 5; }
.desktop-fantan-bet.pos-bottom-3 { grid-column: 3; grid-row: 5; }
.desktop-fantan-bet.pos-bottom-4 { grid-column: 4; grid-row: 5; }
.desktop-fantan-bet.pos-bottom-5 { grid-column: 5; grid-row: 5; }
.desktop-fantan-bet.pos-extra {
  display: none;
}

.desktop-fantan-trend {
  min-height: 560px;
  display: grid;
  grid-template-rows: 32px 1fr;
  overflow: hidden;
}

.desktop-fantan-trend table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  text-align: center;
}

.desktop-fantan-trend th,
.desktop-fantan-trend td {
  border: 1px solid #d4d4d4;
  padding: 0 2px;
  white-space: nowrap;
}

.desktop-fantan-trend th:nth-child(1),
.desktop-fantan-trend td:nth-child(1) {
  width: 72px;
  font-size: 11px;
  letter-spacing: 0;
}

.desktop-fantan-trend th:nth-child(2),
.desktop-fantan-trend td:nth-child(2) {
  width: 34px;
}

.desktop-fantan-trend th:nth-child(3),
.desktop-fantan-trend td:nth-child(3),
.desktop-fantan-trend th:nth-child(4),
.desktop-fantan-trend td:nth-child(4),
.desktop-fantan-trend th:nth-child(5),
.desktop-fantan-trend td:nth-child(5) {
  width: 40px;
}

.desktop-fantan-trend th {
  background: #fff3e6;
  color: #d04410;
  font-size: 12px;
  font-weight: 800;
}

.desktop-fantan-trend td:first-child {
  font-weight: 800;
}

.desktop-fantan-trend .red {
  color: #f00000;
}

.desktop-fantan-trend .blue {
  color: #001dff;
}

.desktop-fantan-trend .fan-ball {
  min-width: 22px;
  height: 24px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}

.desktop-fantan-trend .fan-1 { background: #0f7bff; }
.desktop-fantan-trend .fan-2 { background: #7147d8; }
.desktop-fantan-trend .fan-3 { background: #e11d48; }
.desktop-fantan-trend .fan-4 { background: #f97316; }
.desktop-fantan-trend .fan-empty { background: #94a3b8; }

.desktop-fantan-trend .fantan-trend-tag {
  min-width: 28px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.desktop-fantan-trend .fantan-trend-tag.hot {
  background: #d91562;
}

.desktop-fantan-trend .fantan-trend-tag.cool {
  background: #1269d3;
}

@media (max-width: 900px) {
  .desktop-official-play-row {
    flex-wrap: nowrap;
  }

  .desktop-official-play-row .desktop-bet-total {
    flex: 0 0 260px;
  }

  .desktop-official-play-nav.desktop-official-toolbar-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .desktop-official-grid {
    grid-template-columns: repeat(auto-fill, minmax(204px, 1fr));
  }

  .desktop-fantan-layout {
    grid-template-columns: 1fr;
  }

  .desktop-fantan-board,
  .desktop-fantan-trend {
    min-height: 0;
  }

  .desktop-vue-ssc-ball-grid {
    grid-template-columns: 1fr;
  }

  .desktop-fantan-perimeter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .desktop-official-input {
    grid-template-columns: 1fr;
  }

  .desktop-fantan-core {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 6px;
  }

  .desktop-fantan-fan,
  .desktop-fantan-fan.fan-1,
  .desktop-fantan-fan.fan-2,
  .desktop-fantan-fan.fan-3,
  .desktop-fantan-fan.fan-4,
  .desktop-fantan-face {
    grid-column: auto;
    grid-row: auto;
  }
}

.desktop-rule-list {
  padding: 16px;
  line-height: 1.8;
}

.desktop-rule-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.desktop-rule-metrics span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e0e7;
  background: #f8fbfd;
}

.desktop-rule-metrics b {
  color: #f4511e;
}

.desktop-rule-metrics em {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

.desktop-rule-table {
  width: 100%;
  margin: 10px 0 12px;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
}

.desktop-rule-table th,
.desktop-rule-table td {
  min-height: 38px;
  border: 1px solid #cfcfcf;
  padding: 8px 10px;
  text-align: center;
  color: #26384f;
  word-break: break-word;
}

.desktop-rule-table th {
  width: 120px;
  background: #f1f5f8;
  color: #183a2a;
  font-weight: 700;
}

.desktop-rule-table td {
  background: #fff;
  overflow-wrap: anywhere;
}

.desktop-rule-table tr:nth-child(even) td {
  background: #fbfcfe;
}

.desktop-rule-open-time {
  text-align: center;
  word-break: keep-all;
}

.desktop-rule-open-time em {
  display: inline;
  margin-left: 14px;
  color: #37506f;
  font-style: normal;
  white-space: normal;
  word-break: keep-all;
}

.desktop-rule-final {
  color: #f4511e;
  font-size: 18px;
}

.desktop-rule-sample-cell {
  padding: 10px;
  text-align: left;
}

.desktop-rule-rank-detail {
  display: grid;
  gap: 8px;
  max-width: 100%;
  color: #26384f;
}

.desktop-rule-rank-detail header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 28px;
  border: 1px solid #d9e3ef;
  background: #f8fafc;
  font-size: 13px;
}

.desktop-rule-rank-detail header strong {
  color: #17324d;
}

.desktop-rule-rank-detail header span {
  color: #64748b;
}

.desktop-rule-rank-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.desktop-rule-rank-detail table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: 12px;
}

.desktop-rule-rank-detail th,
.desktop-rule-rank-detail td {
  height: 42px;
  border: 1px solid #d1d5db;
  padding: 6px 8px;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
}

.desktop-rule-rank-detail th {
  width: 112px;
  background: #f1f5f8;
  color: #183a2a;
  font-weight: 700;
}

.desktop-rule-rank-detail td b {
  display: block;
  color: #ff5a00;
  line-height: 1.15;
}

.desktop-rule-rank-detail td span {
  display: inline-block;
  margin-top: 2px;
}

.desktop-rule-rank-detail code {
  display: inline-block;
  max-width: 100%;
  color: #17324d;
  font-family: Consolas, Monaco, "Courier New", monospace;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.desktop-rule-source-line {
  max-width: 100%;
  line-height: 1.7;
  white-space: normal;
  word-break: keep-all;
}

.desktop-rule-source-line em {
  color: #475569;
  font-style: normal;
}

.desktop-rule-rank-eq {
  display: inline-block;
  margin: 0 8px;
  color: #111827;
}

.desktop-rule-rank-number {
  display: inline-block;
  min-width: 24px;
  margin: 0 2px;
  color: #26384f;
  font-weight: 700;
  line-height: 22px;
}

.desktop-rule-rank-number.result {
  color: #e11d48;
  font-size: 16px;
}

.desktop-rule-bingo-ssc-table {
  min-width: 860px !important;
}

.desktop-rule-bingo-ssc-table td {
  font-size: 13px;
  text-align: left;
}

.desktop-rule-bingo-ssc-table tr:not(:first-child) td {
  width: calc((100% - 112px) / 5);
}

.desktop-rule-bingo-ssc-table tr:nth-child(2) td,
.desktop-rule-bingo-ssc-table tr:nth-child(3) td {
  white-space: nowrap;
}

.desktop-rule-bingo-ssc-table td b {
  display: inline;
  color: #ff5a00;
}

.desktop-rule-ssc-ball {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: #0b9bd8;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.desktop-rule-racing-sha-table {
  min-width: 980px !important;
}

.desktop-rule-racing-sha-table td {
  font-size: 12px;
  text-align: center;
}

.desktop-rule-racing-sha-table td span {
  margin-top: 0;
}

.desktop-rule-racing-sha-table code {
  text-align: left;
}

.desktop-rule-pk22-final {
  background: #e11d48 !important;
  color: #fff !important;
  border-color: #e11d48 !important;
}

.desktop-rule-json-cell {
  text-align: left;
}

.desktop-rule-json-cell code {
  display: block;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #d9e3ef;
  background: #f8fafc;
  color: #17324d;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.6;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.desktop-trend-wrap {
  overflow: hidden;
  padding: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.desktop-trend-note {
  margin: 0;
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafafa;
  color: #64748b;
}

.desktop-trend-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 12px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.desktop-trend-summary span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 20px;
  border: 0;
  background: transparent;
}

.desktop-trend-summary b {
  color: #ff4f27;
}

.desktop-trend-summary em {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

.desktop-trend-table-scroll {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #fff;
}

.desktop-trend-table {
  min-width: 0;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 0;
}

.desktop-trend-col-issue {
  width: 78px;
}

.desktop-trend-col-time {
  width: 88px;
}

.desktop-trend-col-verify {
  width: 44px;
}

.desktop-trend-col-data {
  width: 24px;
}

.desktop-trend-col-type-number,
.desktop-trend-col-type-result_number,
.desktop-trend-col-type-value {
  width: 20px;
}

.desktop-trend-col-type-bool,
.desktop-trend-col-type-trait {
  width: 38px;
}

.desktop-trend-col-type-badge {
  width: 38px;
}

.desktop-trend-col-type-class_badge {
  width: 38px;
}

.desktop-trend-col-type-result {
  width: 118px;
}

.desktop-trend-table th,
.desktop-trend-table td {
  height: 27px;
  padding: 0 1px;
  border: 1px solid #d9e0e8;
  color: #52606d;
  font-size: 11px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.desktop-trend-stat-row th {
  height: 27px;
  background: #fff !important;
  color: #4f5b66 !important;
  font-size: 11px;
  font-weight: 700;
}

.desktop-trend-title-row th {
  background: #fff1cf !important;
  color: #b50000 !important;
  font-weight: 700;
}

.desktop-trend-cell {
  min-height: 22px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  color: #334155;
}

.desktop-trend-cell.kind-number b,
.desktop-trend-cell.kind-result_number b,
.desktop-trend-cell.kind-value b {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 3px;
  background: #2f80ed;
  color: #fff;
  font-size: 10px;
}

.desktop-trend-cell.kind-badge b,
.desktop-trend-cell.kind-trait b {
  min-width: 30px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 3px;
  background: #1f5a43;
  color: #fff;
  padding: 0 5px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.desktop-trend-cell.kind-badge b.wide,
.desktop-trend-cell.kind-trait b.wide {
  min-width: 34px;
}

.desktop-trend-cell.kind-result b:not(.play-result-chip) {
  min-width: 24px;
  color: #f4511e;
}

.desktop-trend-cell.kind-result .desktop-trend-final-text {
  min-width: auto;
  color: #1f2d3d;
  font-size: 12px;
  font-weight: 700;
}

.desktop-result-line .play-result-chip i,
.egg-sg-current-result .play-result-chip i,
.desktop-trend-cell .play-result-chip i {
  color: inherit;
  font-style: normal;
}

.desktop-trend-cell.kind-result .result-ball.small {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.desktop-trend-cell i,
.desktop-trend-cell em {
  color: #64748b;
  font-style: normal;
}

.desktop-trend-cell.trend-red b {
  background: #ee12b7;
}

.desktop-trend-cell.trend-blue b {
  background: #5e579a;
}

.desktop-trend-cell.trend-hot b,
.desktop-trend-cell.trend-hot-value b {
  background: #d81b60;
}

.desktop-trend-cell.trend-odd-h b {
  background: #007bff;
}

.desktop-trend-cell.trend-even-h b {
  background: #24a587;
}

.desktop-trend-cell.trend-middle-h b {
  background: #5e579a;
}

.desktop-trend-cell.trend-beside-h b {
  background: #e112bd;
}

.desktop-trend-cell.trend-big-h b {
  background: #d81b60;
}

.desktop-trend-cell.trend-small-h b {
  background: #ff851b;
}

.desktop-trend-cell.trend-tail-big-h b {
  background: #12a8c8;
}

.desktop-trend-cell.trend-tail-small-h b {
  background: #607d8b;
}

.desktop-trend-cell.trend-mod-cell b,
.desktop-trend-cell.trend-mod-h b {
  border: 0;
  background: #fff;
  color: #52606d;
}

.desktop-trend-cell.trend-class-empty b,
.desktop-trend-cell.trend-empty b,
.desktop-trend-cell.trend-placeholder b,
.desktop-trend-cell.trend-attr-empty b {
  background: #d9f7d1;
  color: #14532d;
  border: 1px solid #a7e7a0;
}

.desktop-bet-ball.play-result-chip.group-tone-big,
.desktop-trend-cell b.group-tone-big { background: #d91562; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-small,
.desktop-trend-cell b.group-tone-small { background: #ff7417; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-single,
.desktop-trend-cell b.group-tone-single { background: #087be8; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-double,
.desktop-trend-cell b.group-tone-double { background: #23a86f; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-big-double,
.desktop-trend-cell b.group-tone-big-double { background: #ff7417; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-dragon,
.desktop-trend-cell b.group-tone-dragon { background: #f10a0a; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-tiger,
.desktop-trend-cell b.group-tone-tiger { background: #0015e8; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-leopard,
.desktop-trend-cell b.group-tone-leopard { background: #6650c4; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-pair,
.desktop-trend-cell b.group-tone-pair { background: #6650c4; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-tie,
.desktop-trend-cell b.group-tone-tie { background: #243445; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-tiny,
.desktop-trend-cell b.group-tone-tiny { background: #12aeca; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-huge,
.desktop-trend-cell b.group-tone-huge { background: #7548d4; color: #fff; border-color: transparent; }
.desktop-bet-ball.play-result-chip.group-tone-default,
.desktop-trend-cell b.group-tone-default { background: #607d8b; color: #fff; border-color: transparent; }

.desktop-stat-total td {
  background: #f8fbfd;
  color: #f4511e;
  font-weight: 700;
}

.desktop-function-card {
  margin: 12px;
  border: 1px solid #cfd8e3;
  background: #fff;
}

.desktop-function-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 3px solid #284c3f;
  background: #f7f9fb;
}

.desktop-function-head strong {
  color: #183a2a;
  font-size: 15px;
}

.desktop-function-head span {
  color: #64748b;
  font-size: 12px;
}

.desktop-function-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.desktop-function-actions button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #1d78c6;
  border-radius: 3px;
  background: #fff;
  color: #116ec0;
  cursor: pointer;
}

.desktop-function-actions button:hover {
  background: #1479d7;
  color: #fff;
}

.desktop-function-actions button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.desktop-record-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #d8e0e7;
  background: #fbfcfe;
}

.desktop-record-summary span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-right: 1px solid #e3e9ef;
}

.desktop-record-summary span:last-child {
  border-right: 0;
}

.desktop-record-summary b {
  color: #f4511e;
}

.desktop-record-summary em {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}

.desktop-record-detail-row td {
  padding: 0;
  background: #fffaf2;
}

.desktop-record-detail-list {
  padding: 10px 12px 12px;
  border-top: 1px solid #ffd8a8;
}

.desktop-record-detail-list > div {
  min-height: 32px;
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(70px, .8fr) minmax(92px, .9fr) minmax(92px, .9fr) minmax(78px, .8fr);
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f1dfc8;
  color: #26384f;
}

.desktop-record-detail-list > div:last-child {
  border-bottom: 0;
}

.desktop-record-detail-list > .empty-state {
  display: flex;
  justify-content: center;
}

.desktop-record-detail-list .desktop-record-detail-head {
  min-height: 28px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.desktop-record-detail-list span {
  text-align: left;
}

.desktop-record-detail-list em {
  color: #64748b;
  font-style: normal;
}

.desktop-record-detail-list b,
.desktop-record-detail-list strong {
  text-align: center;
}

.desktop-record-detail-list .red {
  color: #f4511e;
}

.desktop-record-detail-list .green {
  color: #16a34a;
}

.desktop-auto-card {
  margin: 12px;
  border: 1px solid #cfd8e3;
  background: #fff;
}

.desktop-auto-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 3px solid #284c3f;
  background: #f7f9fb;
}

.desktop-auto-head h2 {
  margin: 0;
  color: #183a2a;
  font-size: 18px;
}

.desktop-auto-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
}

.desktop-auto-head button,
.desktop-auto-submit button,
.desktop-auto-empty button {
  height: 32px;
  padding: 0 16px;
  border: 1px solid #1d78c6;
  border-radius: 3px;
  background: #fff;
  color: #116ec0;
  cursor: pointer;
}

.desktop-auto-head button:hover,
.desktop-auto-empty button:hover {
  background: #1479d7;
  color: #fff;
}

.desktop-auto-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(5, minmax(140px, 1fr));
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #d8e0e7;
  background: #f8fbfd;
}

.desktop-auto-toolbar.is-chase {
  grid-template-columns: minmax(220px, 1.5fr) repeat(6, minmax(120px, 1fr));
}

.desktop-auto-toolbar label {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: #26384f;
  font-size: 13px;
  font-weight: 700;
}

.desktop-auto-toolbar select,
.desktop-auto-toolbar input,
.desktop-auto-table select,
.desktop-auto-table input {
  width: 100%;
  height: 30px;
  min-width: 0;
  border: 1px solid #bfc9d5;
  border-radius: 3px;
  padding: 0 8px;
  background: #fff;
}

.desktop-auto-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.desktop-auto-table th,
.desktop-auto-table td {
  height: 38px;
  border: 1px solid #cfcfcf;
  padding: 0 10px;
  text-align: center;
  vertical-align: middle;
}

.desktop-auto-table th {
  background: #e5e5e5;
  color: #333;
  font-weight: 700;
}

.desktop-auto-table strong {
  color: #f4511e;
}

.desktop-auto-submit {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 12px;
}

.desktop-auto-submit button {
  min-width: 150px;
  border-color: #ff5b2e;
  background: #ff5b2e;
  color: #fff;
  font-weight: 700;
}

.desktop-auto-submit button:disabled {
  border-color: #cbd5e1;
  background: #d5dce5;
  color: #64748b;
  cursor: not-allowed;
}

.desktop-auto-help {
  margin: 0 12px 14px;
  padding: 12px 14px;
  border: 1px solid #dde6ef;
  background: #fbfcfe;
  color: #475569;
  line-height: 1.7;
}

.desktop-auto-help b {
  color: #183a2a;
}

.desktop-auto-help p {
  margin: 4px 0;
}

.desktop-auto-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 36px 12px;
  color: #64748b;
}

.desktop-auto-empty strong {
  color: #183a2a;
}

.desktop-auto-running {
  background: #fff;
}

.topline {
  background: #f4f4f4;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
  min-height: 34px;
  line-height: 34px;
}

.topline-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.topline a,
.link-button {
  color: #222;
}

.topline span {
  margin: 0 8px;
  color: #aaa;
}

.top-user {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  color: #8b95a3;
}

.top-user img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.top-user strong {
  color: #f00;
}

.top-user .top-money-value {
  color: #e53935;
  font-weight: 700;
}

.top-user .vip-badge {
  height: 24px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 24px;
  background: linear-gradient(#9aa9bf, #52657f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.top-user .top-uid {
  color: #8b95a3;
}

.top-user .top-mail-link {
  display: none !important;
}

.link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-head {
  background: #fff;
}

.brand-row {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 16px;
  position: relative;
}

.brand-logo {
  width: 220px;
  height: 54px;
  display: grid;
  grid-template-columns: 64px auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo span {
  grid-row: 1 / 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.brand-logo span img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-logo strong {
  font-size: 31px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-logo small {
  color: #7d8b95;
  font-size: 13px;
}

.head-actions {
  margin-left: auto;
  display: flex;
  gap: 9px;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.head-actions a {
  min-width: 92px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  border: 1px solid #ccd4dc;
  border-radius: 4px;
  background: #fff;
  color: #213247;
  font-size: 13px;
}

.head-actions a:hover {
  border-color: #1f5a43;
  color: #1f5a43;
}

.head-actions i {
  width: 14px;
  color: #1f5a43;
  text-align: center;
}

.nav-band {
  background: #1f5a43;
  overflow-x: auto;
  overflow-y: hidden;
}

.nav {
  height: 36px;
  display: flex;
  align-items: stretch;
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  min-width: 720px;
  margin: 0 auto;
}

.nav a {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 4px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.nav a.active,
.nav a:hover {
  background: #164633;
}

.main {
  flex: 1 0 auto;
  min-height: max(560px, calc(100vh - 300px));
  padding: 14px 0 36px;
}

.msg {
  position: sticky;
  top: 10px;
  z-index: 20;
  width: min(460px, calc(100% - 24px));
  margin: 0 auto 12px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
  text-align: center;
}

.msg.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #047857;
}

.msg.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.msg.warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

.front-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .34);
}

.front-dialog {
  width: min(380px, 100%);
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .24);
}

.front-dialog header {
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #edf1f7;
  color: #d21d1d;
  font-weight: 700;
}

.front-dialog-body {
  min-height: 72px;
  padding: 20px 18px;
  color: #334155;
  line-height: 1.7;
}

.front-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border-top: 1px solid #edf1f7;
}

.front-dialog button {
  min-width: 78px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-weight: 700;
}

.front-dialog .front-dialog-ok {
  border-color: #1269d3;
  background: #1269d3;
  color: #fff;
}

.page-card,
.side-card,
.profile-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

.page-card {
  padding: 18px;
}

.panel-title {
  min-height: 34px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e6e6e6;
  font-size: 18px;
  font-weight: 700;
}

.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.between span:last-child {
  font-size: 13px;
  color: #777;
  font-weight: 400;
}

.home-hero {
  position: relative;
  height: 260px;
  min-height: 210px;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
}

.home-hero a {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.home-hero a.active {
  opacity: 1;
  pointer-events: auto;
}

.home-hero img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 12px;
  background: rgba(74, 52, 25, .32);
}

.home-hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
}

.home-hero-dots button.active {
  background: #fff;
}

.hero-fallback {
  min-height: 260px;
  padding: 48px;
  color: #fff;
  background: linear-gradient(120deg, #4c7db8, #17243f);
}

.hero-fallback h1 {
  margin: 0 0 12px;
  font-size: 42px;
}

.home-hero-wide,
.home-hero-wide img {
  height: 322px;
}

.home-hero-wide img {
  object-fit: fill;
}

.home-notice-strip {
  position: relative;
  height: 42px;
  margin: 12px auto 10px;
  border: 1px solid #d1d5f5;
  border-radius: 21px;
  background: linear-gradient(#fff, #edf5ff);
  box-shadow: 0 4px 8px rgba(136, 149, 205, .2), inset 0 0 12px rgba(255, 255, 255, .72);
  overflow: hidden;
}

.home-notice-icon {
  position: absolute;
  left: 28px;
  top: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 16%, #f6b14d 17% 46%, #a95f16 47% 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .14);
}

.home-notice-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 1px;
  width: 13px;
  height: 8px;
  border-radius: 8px;
  background: #d4872e;
  transform: rotate(35deg);
}

.home-notice-scroll {
  position: absolute;
  left: 72px;
  right: 105px;
  top: 5px;
  height: 30px;
  line-height: 30px;
  color: #666;
  overflow: hidden;
}

.home-notice-scroll span {
  display: inline-block;
  min-width: 100%;
  white-space: nowrap;
  animation: eggyxHomeMarquee var(--marquee-duration, 22s) linear infinite;
}

.home-notice-strip > a {
  position: absolute;
  right: 12px;
  top: 6px;
  width: 78px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  border: 1px solid #d5dfe7;
  border-radius: 14px;
  background: #fff;
  color: #333;
}

@keyframes eggyxHomeMarquee {
  from { transform: translateX(18%); }
  to { transform: translateX(-100%); }
}

.homepage-main {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  min-height: 398px;
  margin-top: 10px;
}

.home-panel {
  border: 1px solid #ddd;
  background: #fff;
}

.home-panel-hd {
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  border-bottom: 1px solid #ddd;
  background: #f6f6f6;
  color: #222;
  font-weight: 700;
}

.home-panel-hd span {
  display: inline-block;
  height: 16px;
  line-height: 16px;
  padding: 0 5px;
  border-radius: 2px;
  background: #eee;
  color: #666;
  font-size: 11px;
  font-weight: 400;
  vertical-align: 1px;
}

.home-panel-hd > a {
  position: absolute;
  right: 12px;
  top: 0;
  color: #555;
  font-weight: 400;
}

.index-ranking,
.recommend-panel {
  min-width: 0;
  height: 100%;
}

.index-notice {
  display: flex;
  flex-direction: column;
  min-height: 398px;
}

.index-notice ul {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 10px 10px 8px;
  list-style: none;
  overflow: hidden;
}

.index-notice li {
  height: 34px;
  line-height: 33px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px dotted #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.index-notice li.empty-notice {
  color: transparent;
}

.index-notice li .home-news-date {
  width: 88px;
  flex: 0 0 88px;
  color: #777;
  font-size: 12px;
}

.index-notice li a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-panel {
  display: flex;
  flex-direction: column;
}

.recommend-panel .home-card-grid {
  flex: 1;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 20px;
  align-content: start;
  padding: 10px;
}

.game-card-item {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(190, 190, 190, .45);
}

.game-card-item > a {
  position: relative;
  display: block;
  height: 122px;
  overflow: hidden;
}

.game-card-item img {
  width: 100%;
  height: 122px;
  object-fit: cover;
}

.game-card-item .mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  opacity: 0;
  transition: opacity .18s ease;
}

.game-card-item:hover .mask {
  opacity: 1;
}

.game-card-item .mask b {
  font-size: 18px;
}

.game-card-item .mask em {
  max-width: 86%;
  overflow: hidden;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card-item > div {
  height: 40px;
  line-height: 40px;
  padding: 0 6px;
}

.game-card-item strong {
  float: left;
  max-width: calc(100% - 90px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card-item div a {
  float: right;
  width: 80px;
  height: 30px;
  margin-top: 6px;
  line-height: 28px;
  text-align: center;
  border: 1px solid #ff5722;
  border-radius: 4px;
  color: #ff5722;
}

.game-card-item div a:hover {
  background: #ff5722;
  color: #fff;
}

.home-service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f5f8fd 0%, #eef4fb 100%);
}

.home-service-tile {
  min-height: 118px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  align-content: center;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(39, 83, 118, .07);
  text-align: left;
}

.home-service-tile i {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #24a4ff, #2474ef);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34), 0 8px 15px rgba(36, 116, 239, .18);
}

.home-service-tile.tone-pink i {
  background: linear-gradient(135deg, #e15bcf, #b733df);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34), 0 12px 22px rgba(183, 51, 223, .18);
}

.home-service-tile.tone-green i {
  background: linear-gradient(135deg, #26d485, #00b884);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34), 0 12px 22px rgba(0, 184, 132, .18);
}

.home-service-tile.tone-sky i {
  background: linear-gradient(135deg, #83afe8, #3c78d4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34), 0 12px 22px rgba(60, 120, 212, .18);
}

.home-service-tile strong {
  min-width: 0;
  color: #213152;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-service-tile p {
  min-width: 0;
  max-width: none;
  margin: 6px 0 0;
  color: #32425f;
  font-size: 12px;
  line-height: 19px;
}

.notice-game-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .9fr;
  gap: 14px;
  align-items: stretch;
}

.notice-game-row > .page-card {
  height: 100%;
}

.compact-card {
  min-height: 230px;
}

.line-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.line-list li {
  min-height: 34px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-weight: 400;
}

.line-list a {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.line-list .news-row-date {
  flex: 0 0 88px;
  color: #78808a;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 400;
}

.line-list time {
  color: #8b8b8b;
  white-space: nowrap;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-grid a {
  text-align: center;
  border: 1px solid #eee;
  padding: 8px;
  min-height: 118px;
}

.mini-grid img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}

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

.service-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-row div {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e4e8ed;
  padding: 20px;
  text-align: center;
}

.service-row strong {
  display: block;
  margin-bottom: 8px;
  color: #1c5f91;
}

.service-row span {
  color: #777;
}

.game-shell {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.desktop-hall-mode-tabs {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.desktop-hall-mode-tabs a {
  min-width: 112px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #c8d8e6;
  border-radius: 6px;
  background: #fff;
  color: #163047;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  box-sizing: border-box;
}

.desktop-hall-mode-tabs a:hover,
.desktop-hall-mode-tabs a.active {
  border-color: #174632;
  background: #174632;
  color: #fff;
}

.desktop-hall-mode-tabs-in-card {
  padding: 10px 10px 0;
  box-sizing: border-box;
}

.egg-game-ref-nav {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto 8px;
  border: 1px solid #d4d4d4;
  border-radius: 8px 8px 0 0;
  background: #f8f8f8;
  overflow: hidden;
}

.game-icons,
.game-tabs,
.game-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.egg-game-category-row,
.game-icons {
  min-height: 106px;
  display: flex;
  align-items: stretch;
  padding: 0 8px;
  background: #f7f7f7;
  border-bottom: 1px solid #d4d4d4;
}

.egg-game-category,
.game-category {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 106px;
  padding: 0 4px 14px;
  border: 0;
  border-right: 1px solid #e2e2e2;
  background: #f7f7f7;
  color: #111;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.game-category.now,
.game-category.active,
.game-category:hover {
  background: #fff;
  color: #ff4d16;
  box-shadow: inset 0 0 0 2px #ff5b22;
  z-index: 2;
}

.game-category.muted {
  color: #5f6f68;
}

.game-category .game-category-icon {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #ff7a22;
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
  line-height: 1;
  box-shadow: inset 0 0 0 4px #e8e8e8, 0 1px 4px rgba(0, 0, 0, .2);
}

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

.game-category .game-category-icon.has-image,
.game-category .game-category-icon.has-img {
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.game-category-icon b {
  font: inherit;
}

.game-category.system .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 34% 30%, #fff 0 11%, #b5ecb4 12% 28%, #f06d7b 29% 44%, #e9f6fd 45% 100%); }
.game-category.canada .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 50% 45%, #fff 0 16%, #d5122a 17% 35%, #f1f1f1 36% 62%, #898989 63% 100%); }
.game-category.binguo .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 42% 38%, #ffd61f 0 14%, #e9221b 15% 28%, #10a84a 29% 48%, #2b3b88 49% 100%); }
.game-category.pceggs .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 45% 38%, #fff 0 8%, #e61bff 9% 24%, #1558d6 25% 58%, #0a1a47 59% 100%); }
.game-category.canadaw .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 35% 35%, #fff 0 10%, #91c0ff 11% 30%, #415b9e 31% 56%, #e6eefc 57% 100%); }
.game-category.oregon .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 50% 50%, #0c3c92 0 45%, #ffe600 46% 52%, #012456 53% 100%); }
.game-category.slovakia .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 50% 50%, #dbe7fb 0 20%, #294f98 21% 52%, #e4e4e4 53% 100%); }
.game-category.america .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 50% 50%, #111 0 14%, #d2ff00 15% 55%, #f0f0f0 56% 100%); }
.game-category.btc .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 35% 30%, #fff 0 12%, #2b8cff 13% 46%, #142d5e 47% 100%); }
.game-category.hmacsha .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 50% 50%, #45e1ff 0 8%, #0e3d75 9% 60%, #071b35 61% 100%); }
.game-category.ssc .game-category-icon:not(.has-image):not(.has-img) { background: radial-gradient(circle at 50% 50%, #fff 0 10%, #ffb83f 11% 60%, #ff7a22 61% 100%); }

.game-category > span {
  display: block;
  width: 100%;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.egg-game-lobby-nav .egg-game-category-row,
.desktop-play-game-nav .egg-game-category-row {
  padding-left: 0;
  padding-right: 0;
}

.egg-game-lobby-nav .egg-game-category:first-child,
.desktop-play-game-nav .egg-game-category:first-child {
  border-left: 0;
}

.egg-game-lobby-nav .egg-game-category:last-child,
.desktop-play-game-nav .egg-game-category:last-child {
  border-right: 0;
}

.egg-game-tabs,
.game-tabs {
  width: min(1164px, calc(100% - 16px));
  min-height: 48px;
  margin: 0 auto;
  padding: 7px 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #ddd;
  gap: 8px;
  box-sizing: border-box;
}

.egg-game-lobby-tabs {
  height: auto;
}

.game-tabs a {
  min-width: 0;
  height: 34px;
  line-height: 32px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  text-align: center;
  color: #293831;
}

.game-tabs a.now,
.game-tabs a:hover {
  color: #ff4d16;
  background: #fff8f3;
  border-color: #ff5b22;
  font-weight: 700;
}

.game-tabs a.pending {
  color: #777;
  background: #f2f2f2;
}

.game-tabs.egg-game-tabs-one-row {
  grid-template-columns: repeat(var(--egg-game-tab-count), minmax(0, 1fr));
  gap: 4px;
}

.game-tabs.egg-game-tabs-compact a,
.game-tabs.egg-game-tabs-dense a,
.game-tabs.egg-game-tabs-official a {
  font-size: 13px;
  padding: 0 2px;
}

.game-tabs.egg-game-tabs-dense {
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 4px;
  padding: 6px 0;
}

.game-tabs.egg-game-tabs-dense a {
  height: 30px;
  line-height: 28px;
  font-size: 12px;
}

.game-tabs.egg-game-tabs-official {
  height: auto;
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 4px;
}

.game-tabs.egg-game-tabs-official a {
  flex: 1 1 88px;
  height: 30px;
  line-height: 28px;
}

.egg-sg-subnav,
.game-subnav {
  width: min(1180px, 100%);
  max-width: 1180px;
  height: 38px;
  min-height: 38px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #284c3f;
  color: #ffe761;
  padding: 0;
  gap: 0;
}

.egg-sg-subnav-menu {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.egg-sg-subnav-menu a,
.egg-sg-subnav-menu button,
.game-subnav a {
  height: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #ffe761;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.egg-sg-subnav-menu a.active,
.egg-sg-subnav-menu button.active,
.egg-sg-subnav-menu a:hover,
.egg-sg-subnav-menu button:hover {
  color: #fff;
  background: rgba(0, 0, 0, .08);
}

.egg-sg-subnav-menu a:last-child,
.egg-sg-subnav-menu button:last-child {
  border-right: 0;
}

.egg-sg-subnav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  flex: 0 0 auto;
}

.egg-sg-subnav-tools span,
.egg-sg-subnav-tools label,
.egg-sg-subnav-tools button {
  height: 26px;
  line-height: 24px;
  padding: 0 7px;
  border: 1px solid #cfd8dc;
  border-radius: 2px;
  background: #fff;
  color: #111;
  font-size: 12px;
  white-space: nowrap;
}

.egg-sg-subnav-tools button {
  min-width: 58px;
  cursor: pointer;
}

.egg-sg-subnav-tools button:disabled {
  cursor: not-allowed;
  color: #8a95a1;
  background: #eef2f4;
}

.egg-sg-subnav-tools input {
  width: 13px;
  height: 13px;
  margin: 0 0 0 3px;
  vertical-align: -2px;
}

.desktop-play-game-nav {
  margin-bottom: 6px !important;
}

.desktop-play-subnav {
  width: min(1180px, 100%);
  margin: 0 auto 6px;
}

.game-subnav-note {
  display: grid;
  place-items: center;
  min-height: 40px;
  color: #7b8794;
  background: #f5f7fa;
}

.egg-game-lobby-panel,
.game-stage {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #27384a;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.egg-game-lobby-head,
.game-stage-head {
  height: 92px;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6e6e6;
  background: #fafafa;
}

.egg-game-lobby-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: #ff7a22;
  box-shadow: inset 0 0 0 4px #e8e8e8, 0 1px 4px rgba(0, 0, 0, .2);
  overflow: hidden;
}

.egg-game-lobby-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.egg-game-lobby-logo.has-image {
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.egg-game-lobby-logo b {
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #d41457;
  text-align: center;
}

.egg-game-lobby-logo.system:not(.has-image) { background: radial-gradient(circle at 34% 30%, #fff 0 11%, #b5ecb4 12% 28%, #f06d7b 29% 44%, #e9f6fd 45% 100%); }
.egg-game-lobby-logo.binguo:not(.has-image) { background: radial-gradient(circle at 42% 38%, #ffd61f 0 14%, #e9221b 15% 28%, #10a84a 29% 48%, #2b3b88 49% 100%); }
.egg-game-lobby-logo.pceggs:not(.has-image) { background: radial-gradient(circle at 45% 38%, #fff 0 8%, #e61bff 9% 24%, #1558d6 25% 58%, #0a1a47 59% 100%); }
.egg-game-lobby-logo.canadaw:not(.has-image) { background: radial-gradient(circle at 35% 35%, #fff 0 10%, #91c0ff 11% 30%, #415b9e 31% 56%, #e6eefc 57% 100%); }
.egg-game-lobby-logo.oregon:not(.has-image) { background: radial-gradient(circle at 50% 50%, #0c3c92 0 45%, #ffe600 46% 52%, #012456 53% 100%); }
.egg-game-lobby-logo.slovakia:not(.has-image) { background: radial-gradient(circle at 50% 50%, #dbe7fb 0 20%, #294f98 21% 52%, #e4e4e4 53% 100%); }
.egg-game-lobby-logo.america:not(.has-image) { background: radial-gradient(circle at 50% 50%, #111 0 14%, #d2ff00 15% 55%, #f0f0f0 56% 100%); }
.egg-game-lobby-logo.btc:not(.has-image) { background: radial-gradient(circle at 35% 30%, #fff 0 12%, #2b8cff 13% 46%, #142d5e 47% 100%); }
.egg-game-lobby-logo.hmacsha:not(.has-image) { background: radial-gradient(circle at 50% 50%, #45e1ff 0 8%, #0e3d75 9% 60%, #071b35 61% 100%); }
.egg-game-lobby-logo.ssc:not(.has-image) { background: radial-gradient(circle at 50% 50%, #fff 0 10%, #ffb83f 11% 60%, #ff7a22 61% 100%); }

.game-stage-head h1 {
  margin: 0 0 6px;
  color: #14273c;
  font-size: 24px;
  line-height: 28px;
}

.game-stage-head p {
  margin: 0;
  color: #66766f;
  line-height: 1.6;
}

.game-stage-summary {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.game-stage-summary > span:not(.game-status) {
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfe8e3;
  border-radius: 3px;
  background: #f8fbf9;
  color: #5f6d67;
  font-size: 13px;
}

.game-stage-summary b {
  margin-right: 3px;
  color: #ff5a1f;
}

.egg-game-lobby-body {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.egg-game-lobby-body-flat {
  display: block;
}

.egg-game-lobby-body-flat .egg-game-lobby-grid.game-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.egg-game-lobby-summary {
  padding: 14px;
  border: 1px solid #e0e0e0;
  background: #fbfbfb;
}

.egg-game-lobby-summary dl {
  height: 38px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  margin: 0;
  border-bottom: 1px solid #ededed;
}

.egg-game-lobby-summary dt {
  color: #6b7786;
}

.egg-game-lobby-summary dd {
  min-width: 0;
  margin: 0;
  color: #111;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.egg-game-lobby-summary p {
  min-height: 76px;
  margin: 12px 0;
  color: #536170;
  line-height: 1.8;
}

.egg-game-lobby-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.egg-game-lobby-actions a {
  height: 34px;
  line-height: 32px;
  padding: 0 16px;
  border: 1px solid #cfd8e3;
  border-radius: 3px;
  background: #fff;
  color: #26465f;
}

.egg-game-lobby-actions a.primary {
  border-color: #ff7a2c;
  background: #ff7a2c;
  color: #fff;
}

.third-draw-panel {
  margin: 14px 18px 0;
  padding: 12px;
  border: 1px solid #dce7ef;
  background: #f8fbfd;
}

.third-draw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #52635d;
  font-size: 13px;
}

.third-draw-meta b {
  color: #1f2f2a;
}

.third-draw-meta em {
  margin-left: auto;
  font-style: normal;
  color: #1f74b5;
}

.third-draw-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}

.third-draw-numbers span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #b9d4e8;
  color: #23567a;
  font-weight: 700;
}

.third-draw-games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.third-draw-games div {
  min-height: 70px;
  padding: 9px;
  border: 1px solid #e1e8ee;
  background: #fff;
}

.third-draw-games strong,
.third-draw-games span,
.third-draw-games small {
  display: block;
}

.third-draw-games span {
  margin: 4px 0;
  color: #e45d18;
  font-weight: 700;
}

.third-draw-games small {
  color: #66766f;
  line-height: 1.5;
}

.third-draw-verify {
  margin-top: 7px;
  height: 26px;
  padding: 0 14px;
  border: 1px solid #1f74b5;
  border-radius: 3px;
  background: #fff;
  color: #1f74b5;
  cursor: pointer;
}

.draw-verify-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: start center;
  padding-top: 42px;
  background: rgba(15, 23, 42, .32);
}

.draw-verify-dialog {
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #cfd6df;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .22);
}

.draw-verify-dialog header {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #d7dce3;
  background: #f8fafc;
}

.draw-verify-dialog header button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 26px;
  cursor: pointer;
}

.draw-verify-body {
  padding: 10px;
  overflow: auto;
}

.draw-verify-body table {
  width: 100%;
  border-collapse: collapse;
  color: #334155;
  font-size: 13px;
}

.draw-verify-body th,
.draw-verify-body td {
  border: 1px solid #d6d6d6;
  padding: 9px 12px;
  text-align: center;
  vertical-align: middle;
}

.draw-verify-body th {
  width: 115px;
  background: #fbfbfb;
  font-weight: 400;
}

.draw-verify-body code {
  font-family: Consolas, Monaco, monospace;
  word-break: break-all;
}

.draw-verify-body a {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 10px;
  background: #1f5f8f;
  color: #fff;
  text-decoration: none;
}

.draw-verify-numbers {
  color: #e62424;
  font-weight: 700;
}

.draw-verify-rank-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  line-height: 1.8;
  word-break: keep-all;
}

.draw-verify-rank-line em {
  margin-right: 3px;
  color: #ff5a00;
  font-style: normal;
  font-weight: 700;
}

.draw-verify-rank-balls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.draw-verify-body .ok {
  color: #16803e;
}

.draw-verify-body .bad {
  color: #c91f1f;
}

.game-status {
  flex: 0 0 auto;
  min-width: 78px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 3px;
  text-align: center;
  font-size: 13px;
}

.game-status.live {
  color: #17704d;
  background: #e8f8f1;
  border: 1px solid #bde7d4;
}

.game-status.pending {
  color: #9a6414;
  background: #fff6df;
  border: 1px solid #f0d28c;
}

.game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.egg-game-lobby-grid.game-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.game-card {
  min-height: 94px;
  display: block;
  padding: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #27384a !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.game-card:hover {
  border-color: #1f5f49;
  box-shadow: 0 8px 18px rgba(31, 72, 58, .12);
  transform: translateY(-1px);
}

.game-card-icon {
  grid-row: 1 / 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff7a22;
  font-weight: 700;
}

.game-card-icon.has-image {
  background: #fff;
  border: 1px solid #e2ebe7;
  border-radius: 8px;
  overflow: hidden;
}

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

.game-card-icon b {
  font: inherit;
}

.game-card b,
.game-card span,
.game-card em {
  min-width: 0;
}

.game-card b {
  display: block;
  height: 24px;
  line-height: 24px;
  font-size: 15px;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card span {
  display: block;
  height: 34px;
  margin: 5px 0;
  color: #66766f;
  line-height: 17px;
  overflow: hidden;
}

.game-card em {
  display: inline-block;
  height: 24px;
  line-height: 22px;
  padding: 0 9px;
  border-radius: 12px;
  background: #ecfff2;
  font-style: normal;
  color: #148b34;
  font-size: 12px;
}

.game-card.pending {
  background: #fafafa;
}

.game-card.pending .game-card-icon {
  background: #a2aaa6;
}

.game-card.pending em {
  background: #fff8e9;
  color: #9a6414;
}

.box-dodge-category .game-category-icon,
.box-dodge-entry em {
  background: #174632;
  color: #fff;
}

.box-dodge-entry {
  border-color: #b8d8c8;
  background: linear-gradient(180deg, #ffffff 0%, #f2fbf6 100%);
}

.box-dodge-entry span {
  height: 34px;
}

.egg-game-lobby-draws {
  margin-top: 14px;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.egg-game-lobby-draws-head {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 3px solid #284c3f;
  background: #f8f8f8;
}

.egg-game-lobby-draws-head strong {
  margin-right: 8px;
  color: #14273c;
  font-size: 15px;
}

.egg-game-lobby-draws-head span {
  color: #708078;
  font-size: 12px;
}

.egg-game-lobby-draws-head a {
  height: 28px;
  line-height: 26px;
  padding: 0 12px;
  border: 1px solid #1d78c6;
  border-radius: 3px;
  background: #fff;
  color: #116ec0;
  white-space: nowrap;
}

.desktop-game-hall-table-wrap {
  overflow-x: auto;
}

.desktop-game-hall-table-wrap table {
  min-width: 980px;
}

.desktop-game-hall-rounds td:first-child {
  color: #28384b;
  font-weight: 700;
}

.desktop-game-hall-rounds td:nth-child(2) {
  color: #4d6476;
  font-size: 13px;
}

.empty-panel.compact {
  min-height: 150px;
  border: 0;
  background: #fff;
}

.ad-layout,
.business-grid,
.ranking-grid,
.goods-grid {
  display: grid;
  gap: 16px;
}

.ad-layout {
  grid-template-columns: repeat(3, 1fr);
}

.ad-card {
  border: 1px solid #e1e1e1;
  padding: 10px;
}

.ad-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.ad-card strong {
  display: block;
  margin: 10px 0;
}

.desktop-ads-page {
  overflow: hidden;
}

.desktop-profit-vue-page {
  display: grid;
  gap: 12px;
  background: #f7faf8;
  border-color: #d9e5df;
}

.desktop-profit-hero {
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid #d7e6dc;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,247,239,.94)),
    repeating-linear-gradient(135deg, rgba(31,90,67,.08) 0 1px, transparent 1px 18px);
}

.desktop-profit-hero > div:first-child {
  display: grid;
  align-content: center;
  gap: 6px;
}

.desktop-profit-hero span {
  color: #fc6b25;
  font-weight: 900;
  letter-spacing: .02em;
}

.desktop-profit-hero h2 {
  margin: 0;
  color: #123a2b;
  font-size: 24px;
}

.desktop-profit-hero p {
  max-width: 680px;
  margin: 0;
  color: #5d6f68;
  line-height: 1.8;
}

.desktop-profit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.desktop-profit-metrics span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 70px;
  border: 1px solid #dfe9e4;
  background: #fff;
  color: #53645e;
}

.desktop-profit-metrics b {
  color: #ef5b18;
  font-size: 20px;
}

.desktop-profit-compact-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.desktop-profit-side,
.desktop-profit-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.desktop-profit-nav-card {
  position: relative;
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 3px 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid #dce8e2;
  background: #fff;
  color: #123a2b;
  text-align: left;
  cursor: pointer;
}

.desktop-profit-nav-card strong {
  font-size: 15px;
}

.desktop-profit-nav-card span {
  color: #687a73;
  font-size: 12px;
  line-height: 1.45;
}

.desktop-profit-nav-card em {
  grid-row: 1 / span 2;
  grid-column: 2;
  justify-self: end;
  min-width: 44px;
  padding: 4px 7px;
  color: #ef5b18;
  font-style: normal;
  text-align: center;
  border: 1px solid #ffd0ad;
  background: #fff8f1;
}

.desktop-profit-nav-card.active {
  border-color: #ffb27d;
  background: linear-gradient(90deg, #fff7f0, #fff);
  box-shadow: inset 3px 0 0 #ff6b2a;
}

.desktop-profit-metrics em {
  font-style: normal;
}

.desktop-task-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 14px;
}

.desktop-task-tabs button {
  height: 38px;
  border: 1px solid #ffd0ad;
  border-radius: 6px;
  background: #fff8f1;
  color: #ef5b18;
  font-weight: 700;
  cursor: pointer;
}

.desktop-task-tabs button.active {
  color: #fff;
  background: #ff6b2a;
}

.desktop-profit-tabs {
  margin: 0;
}

.desktop-task-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.desktop-task-card {
  min-height: 176px;
  display: grid;
  grid-template-rows: 96px auto auto;
  gap: 7px;
  padding: 10px;
  border: 1px solid #f1d5be;
  border-radius: 10px;
  background: #fff;
}

.desktop-task-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 7px;
  background: #f5faf8;
}

.desktop-task-card strong {
  color: #173f2d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-task-card span {
  color: #ff5a1f;
  font-weight: 900;
}

.desktop-profit-section {
  border: 1px solid #dfe8e4;
  background: #fff;
}

.desktop-profit-section.active {
  border-color: #ffb27d;
  box-shadow: inset 3px 0 0 #ff6b2a;
}

.desktop-profit-section-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #edf1ee;
  background: linear-gradient(90deg, #fff, #f8fbf9);
}

.desktop-profit-section-head h3 {
  margin: 0;
  color: #123a2b;
  font-size: 16px;
}

.desktop-profit-section-head p {
  margin: 3px 0 0;
  color: #71817b;
  font-size: 13px;
}

.desktop-profit-section-head > span {
  min-width: 62px;
  padding: 5px 9px;
  text-align: center;
  color: #ef5b18;
  border: 1px solid #ffd0ad;
  background: #fff8f1;
}

.desktop-profit-task-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.desktop-profit-task-card {
  min-height: 154px;
  grid-template-rows: 86px 34px 28px;
  gap: 0;
  padding: 0;
  border-color: #edf0f5;
  border-radius: 4px;
  text-align: center;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.desktop-profit-task-card:hover {
  border-color: #ffc39a;
  box-shadow: 0 8px 20px rgba(30, 46, 80, .1);
  transform: translateY(-2px);
}

.desktop-profit-task-card img {
  height: 86px;
  border-radius: 0;
}

.desktop-profit-task-card strong {
  display: block;
  align-self: center;
  padding: 0 8px;
  line-height: 36px;
  font-size: 15px;
}

.desktop-profit-task-card span {
  display: block;
  align-self: stretch;
  line-height: 28px;
  background: #fffaf5;
}

.desktop-profit-copy {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dfe8e4;
  background: #fff;
}

.desktop-profit-copy h3 {
  margin: 0;
  color: #123a2b;
  font-size: 15px;
}

.desktop-profit-copy label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
}

.desktop-profit-copy span {
  color: #4b5f57;
}

.desktop-profit-copy input {
  height: 38px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid #d9e0ea;
  background: #fff;
}

.desktop-profit-copy button,
.desktop-profit-copy a {
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: #1f6fa5;
  color: #fff;
  cursor: pointer;
}

.desktop-profit-copy button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.desktop-profit-copy p {
  margin: 0;
  color: #6a7873;
}

.desktop-profit-logs .table-scroll {
  padding: 0 12px 12px;
  overflow-x: auto;
}

.status-pill {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  padding: 3px 8px;
  color: #7a4b00;
  background: #fff8e1;
  border: 1px solid #ffe0a8;
}

.status-pill.approved {
  color: #126b3c;
  background: #eefaf3;
  border-color: #bee5cc;
}

.desktop-benefit-page {
  display: grid;
  gap: 16px;
}

.desktop-benefit-head {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #d9e4de;
  background: linear-gradient(135deg, #f7fbf9, #fff8f1);
}

.desktop-benefit-head h2 {
  margin: 2px 0 6px;
  color: #123a2b;
  font-size: 24px;
}

.desktop-benefit-head span {
  color: #ff6b2a;
  font-weight: 800;
  letter-spacing: .02em;
}

.desktop-benefit-head p {
  margin: 0;
  color: #60706a;
}

.desktop-signin-page {
  color: #153126;
}

.desktop-signin-head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  border: 1px solid #d9e4de;
  background:
    linear-gradient(135deg, rgba(247,251,249,.96), rgba(255,249,241,.96)),
    repeating-linear-gradient(90deg, rgba(36,115,168,.08) 0 1px, transparent 1px 22px);
}

.desktop-signin-head h2 {
  margin: 2px 0 6px;
  color: #123a2b;
  font-size: 24px;
}

.desktop-signin-head span {
  color: #ff6b2a;
  font-weight: 800;
  letter-spacing: .02em;
}

.desktop-signin-head p,
.desktop-signin-note {
  margin: 0;
  color: #60706a;
}

.desktop-signin-action {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.desktop-signin-action .primary-btn {
  gap: 8px;
  min-width: 132px;
  white-space: nowrap;
}

.desktop-signin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dfe8e4;
  background: #fff;
}

.desktop-signin-tabs button {
  min-width: 128px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cbdbe4;
  border-radius: 4px;
  background: #fff;
  color: #17384f;
  cursor: pointer;
}

.desktop-signin-tabs button.active {
  border-color: #2473a8;
  background: #2473a8;
  color: #fff;
}

.desktop-signin-overview {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
}

.desktop-signin-status {
  min-height: 118px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 12px;
  align-content: center;
  padding: 16px;
  border: 1px solid #d7e5dc;
  background: #f6fbf8;
}

.desktop-signin-status > i {
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f2fb;
  color: #2473a8;
  font-size: 20px;
}

.desktop-signin-status span {
  color: #5f756b;
}

.desktop-signin-status strong {
  margin-top: 3px;
  color: #ff5b1a;
  font-size: 22px;
}

.desktop-signin-status p {
  margin: 8px 0 0;
  color: #385348;
  line-height: 1.6;
}

.desktop-signin-status.done {
  border-color: #c9e8d6;
  background: #f1fbf5;
}

.desktop-signin-status.done strong {
  color: #0c8d45;
}

.desktop-signin-status.closed strong {
  color: #8a93a0;
}

.desktop-signin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.desktop-signin-metrics span {
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid #dce7e1;
  background: #fff;
  text-align: center;
}

.desktop-signin-metrics b {
  max-width: 100%;
  color: #ef5b18;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.desktop-signin-metrics em {
  color: #52645d;
  font-style: normal;
  line-height: 1.35;
}

.desktop-signin-center-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: stretch;
}

.desktop-signin-card {
  min-width: 0;
  border: 1px solid #dfe8e4;
  background: #fff;
  padding: 14px;
}

.desktop-signin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  margin-bottom: 12px;
}

.desktop-signin-panel-head h3 {
  margin: 0;
  color: #123a2b;
  font-size: 16px;
}

.desktop-signin-panel-head span {
  color: #75837d;
  white-space: nowrap;
}

.desktop-signin-month {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.desktop-signin-month button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #cbdbe4;
  border-radius: 4px;
  background: #f8fbfd;
  color: #2473a8;
  cursor: pointer;
}

.desktop-signin-week,
.desktop-signin-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.desktop-signin-week {
  margin-bottom: 6px;
  color: #718178;
  text-align: center;
}

.desktop-signin-days span {
  min-height: 46px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid #e3ebe7;
  border-radius: 5px;
  background: #fbfdfc;
}

.desktop-signin-days span.empty {
  visibility: hidden;
}

.desktop-signin-days span.signed {
  border-color: #b9dfca;
  background: #eefaf3;
  color: #0c7b3d;
}

.desktop-signin-days span.today {
  border-color: #ff9a61;
  box-shadow: inset 0 0 0 1px #ff9a61;
}

.desktop-signin-days span.future {
  color: #a0aaa5;
  background: #f7f9f8;
}

.desktop-signin-days b {
  font-size: 15px;
}

.desktop-signin-days em {
  min-height: 16px;
  color: inherit;
  font-size: 12px;
  font-style: normal;
}

.desktop-signin-note {
  margin-top: 12px;
  line-height: 1.6;
}

.desktop-signin-recent .table-scroll,
.desktop-signin-records .table-scroll {
  overflow-x: auto;
}

.desktop-signin-recent .table-scroll {
  overflow-x: hidden;
}

.desktop-signin-table {
  min-width: 620px;
}

.desktop-signin-recent .desktop-signin-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.desktop-signin-recent .desktop-signin-table th:nth-child(1),
.desktop-signin-recent .desktop-signin-table td:nth-child(1) {
  width: 26%;
}

.desktop-signin-recent .desktop-signin-table th:nth-child(2),
.desktop-signin-recent .desktop-signin-table td:nth-child(2) {
  width: 34%;
  white-space: nowrap;
}

.desktop-signin-recent .desktop-signin-table th:nth-child(3),
.desktop-signin-recent .desktop-signin-table td:nth-child(3),
.desktop-signin-recent .desktop-signin-table th:nth-child(4),
.desktop-signin-recent .desktop-signin-table td:nth-child(4) {
  width: 20%;
}

.desktop-signin-table th,
.desktop-signin-table td {
  vertical-align: middle;
}

.desktop-signin-table td {
  overflow-wrap: anywhere;
}

.desktop-signin-table .nowrap {
  white-space: nowrap;
}

.desktop-signin-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.desktop-signin-rule-tips {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.desktop-signin-rule-tips p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #dce8e2;
  border-radius: 6px;
  background: #f8fbff;
  color: #314b61;
  line-height: 1.55;
}

.desktop-signin-rule-tips i {
  width: 16px;
  margin-top: 3px;
  color: #2473a8;
  text-align: center;
}

.desktop-signin-rule-grid article {
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dce8e2;
  border-radius: 6px;
  background: #fbfdfc;
}

.desktop-signin-rule-grid article.current {
  border-color: #ff8e4c;
  background: #fff7ef;
}

.desktop-signin-rule-grid article.missing {
  background: #f7f9f8;
}

.desktop-signin-rule-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.desktop-signin-rule-grid strong {
  color: #123a2b;
  font-size: 17px;
}

.desktop-signin-rule-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e7f2fb;
  color: #2473a8;
  white-space: nowrap;
}

.desktop-signin-rule-grid p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #40564d;
  line-height: 1.55;
}

.desktop-signin-rule-grid p i {
  width: 16px;
  margin-top: 3px;
  color: #2473a8;
  text-align: center;
}

.desktop-signin-rule-grid em {
  display: block;
  margin-top: 2px;
  color: #ef5b18;
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.desktop-benefit-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.desktop-benefit-stats.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.desktop-benefit-stats span {
  min-height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid #dce7e1;
  background: #fff;
}

.desktop-benefit-stats b {
  color: #ef5b18;
  font-size: 22px;
}

.desktop-benefit-stats em {
  color: #52645d;
  font-style: normal;
}

.desktop-benefit-grid {
  display: grid;
  gap: 16px;
}

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

.desktop-benefit-panel {
  border: 1px solid #dfe8e4;
  background: #fff;
  padding: 14px;
}

.desktop-benefit-panel h3 {
  margin: 0 0 12px;
  color: #123a2b;
  font-size: 16px;
}

.desktop-homepage-card,
.desktop-task-detail,
.desktop-task-submit,
.desktop-question-card {
  display: grid;
  gap: 14px;
  border: 1px solid #dfe8e4;
  background: #fff;
  padding: 16px;
}

.desktop-homepage-card {
  grid-template-columns: 180px 1fr 270px;
  align-items: center;
}

.desktop-homepage-card strong,
.desktop-task-detail strong {
  display: block;
  color: #123a2b;
  font-size: 20px;
}

.desktop-homepage-card label,
.desktop-task-submit label {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  align-items: center;
}

.desktop-homepage-card input,
.desktop-task-submit input {
  height: 36px;
  border: 1px solid #cbd7e1;
  border-radius: 3px;
  padding: 0 10px;
}

.desktop-homepage-card img {
  height: 36px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.desktop-task-detail {
  grid-template-columns: 260px 1fr;
  align-items: start;
}

.desktop-task-detail > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5faf8;
}

.desktop-task-detail p,
.desktop-question-card p {
  margin: 10px 0 0;
  color: #52645d;
  line-height: 1.7;
}

.desktop-task-submit {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.desktop-question-card h3 {
  margin: 0;
  color: #123a2b;
}

.desktop-question-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.desktop-question-options button {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d7e1dc;
  background: #fff;
  cursor: pointer;
}

.desktop-question-options button i {
  width: 16px;
  height: 16px;
  border: 1px solid #b9c7c1;
  border-radius: 50%;
}

.desktop-question-options button.active {
  border-color: #ff7a32;
  background: #fff7ef;
}

.desktop-question-options button.active i {
  border-color: #ff7a32;
  background: #ff7a32;
  box-shadow: inset 0 0 0 4px #fff;
}

@media (max-width: 980px) {
  .desktop-benefit-head,
  .desktop-signin-head,
  .desktop-signin-overview,
  .desktop-signin-center-grid,
  .desktop-benefit-grid.two,
  .desktop-homepage-card,
  .desktop-task-detail,
  .desktop-task-submit {
    grid-template-columns: 1fr;
  }

  .desktop-signin-action,
  .desktop-signin-head .ghost-btn {
    justify-items: start;
  }

  .desktop-signin-action {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .desktop-benefit-stats,
  .desktop-benefit-stats.compact,
  .desktop-signin-metrics,
  .desktop-signin-rule-grid,
  .desktop-question-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .desktop-signin-metrics,
  .desktop-signin-rule-grid {
    grid-template-columns: 1fr;
  }

  .desktop-signin-tabs button {
    flex: 1 1 120px;
  }
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-btn {
  background: #2473a8;
  color: #fff;
}

.ghost-btn {
  background: #fff;
  color: #2473a8;
  border-color: #cbd7e1;
}

.inline-actions {
  margin-top: 18px;
}

.desktop-activities-page {
  display: grid;
  gap: 12px;
  background: #f7faf8;
  border-color: #d9e5df;
}

.desktop-activity-hero {
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid #d7e6dc;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,247,239,.94)),
    repeating-linear-gradient(135deg, rgba(31,90,67,.08) 0 1px, transparent 1px 18px);
}

.desktop-activity-hero > div:first-child {
  display: grid;
  align-content: center;
  gap: 6px;
}

.desktop-activity-hero span {
  color: #fc6b25;
  font-weight: 900;
  letter-spacing: .02em;
}

.desktop-activity-hero h2 {
  margin: 0;
  color: #123a2b;
  font-size: 24px;
}

.desktop-activity-hero p {
  max-width: 680px;
  margin: 0;
  color: #5d6f68;
  line-height: 1.8;
}

.desktop-activity-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.desktop-activity-metrics span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 70px;
  border: 1px solid #dfe9e4;
  background: #fff;
  color: #53645e;
}

.desktop-activity-metrics b {
  color: #ef5b18;
  font-size: 20px;
}

.desktop-activity-metrics em {
  font-style: normal;
}

.desktop-activity-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.desktop-activity-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.desktop-activity-tab {
  min-height: 56px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 5px 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid #dfe8e4;
  background: #fff;
  color: #123a2b;
  text-align: left;
  cursor: pointer;
}

.desktop-activity-tab.active {
  border-color: #ffb27d;
  background: linear-gradient(90deg, #fff7f0, #fff);
  box-shadow: inset 3px 0 0 #ff6b2a;
}

.desktop-activity-tab img {
  grid-row: 1 / span 2;
  width: 52px;
  height: 36px;
  object-fit: cover;
  border: 1px solid #edf0f5;
  background: #f6f8fb;
}

.desktop-activity-tab strong {
  min-width: 0;
  overflow: hidden;
  color: #123a2b;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-activity-tab span {
  color: #687a73;
  font-size: 12px;
}

.desktop-activity-detail {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(420px, 52%) minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid #dfe8e4;
  background: #fff;
}

.desktop-activity-detail > img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border: 1px solid #edf0f5;
  background: #fff;
}

.desktop-activity-detail h3 {
  margin: 8px 0 10px;
  color: #123a2b;
  font-size: 24px;
}

.desktop-activity-detail span {
  display: inline-flex;
  padding: 4px 9px;
  color: #ef5b18;
  border: 1px solid #ffd0ad;
  background: #fff8f1;
}

.desktop-activity-detail p {
  margin: 0 0 12px;
  color: #60706a;
}

.activity-list {
  display: grid;
  gap: 20px;
}

.activity-list article {
  min-height: 180px;
  border: 1px solid #ddd;
  background: #fbfbfb;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: start;
  gap: 24px;
  padding: 18px;
}

.activity-list img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid #ccd5df;
}

.activity-list h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.activity-list h3 a {
  color: inherit;
}

.activity-content-label {
  margin: 8px 0 4px;
  color: #111;
  font-weight: 700;
}

.activity-list .activity-content {
  margin-top: 0;
  color: #444;
  line-height: 1.8;
}

.business-hero,
.ranking-hero {
  text-align: center;
  background: linear-gradient(120deg, #d9ebff, #fff);
  margin-bottom: 16px;
}

.business-hero h1,
.ranking-hero h1 {
  margin: 10px 0;
  font-size: 38px;
}

.business-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.business-grid .empty-state {
  grid-column: 1 / -1;
}

.business-grid.is-loading .business-card {
  opacity: .72;
  pointer-events: none;
}

.business-card {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 18px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 154px;
  box-sizing: border-box;
}

.business-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.business-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.business-card h3 {
  margin: 0;
  color: #c71919;
  font-size: 17px;
  line-height: 1.35;
}

.business-card p {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

.business-contact-list {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}

.business-contact-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.business-contact-copy span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.business-contact-copy:hover {
  color: #1f74b5;
}

.business-contact-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  box-sizing: border-box;
}

.business-contact-icon.qq {
  border-radius: 5px;
  background: transparent url("/images/contact/qq-logo.svg") center/100% 100% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(0, 0, 0, .14);
}

.business-contact-icon.qq:before {
  content: none;
}

.business-contact-icon.qq:after {
  content: none;
}

.business-contact-icon.wechat {
  background: linear-gradient(180deg, #49d964, #19a93c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(0, 0, 0, .14);
}

.business-contact-icon.wechat:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 13px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 42%, #19a93c 0 1px, transparent 1.5px), radial-gradient(circle at 64% 42%, #19a93c 0 1px, transparent 1.5px), #fff;
}

.business-contact-icon.wechat:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 11px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 37% 42%, #19a93c 0 1px, transparent 1.5px), radial-gradient(circle at 66% 42%, #19a93c 0 1px, transparent 1.5px), #fff;
  box-shadow: 0 0 0 1px rgba(25, 169, 60, .16);
}

.business-card a {
  color: #1f74b5;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.detail-panel {
  margin-bottom: 18px;
}

.detail-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.detail-image {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border: 1px solid #d8d8d8;
  background: #fafafa;
}

.detail-copy p {
  margin: 8px 0;
  color: #555;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.detail-meta span {
  padding: 4px 8px;
  color: #56616b;
  background: #eef5fb;
  border: 1px solid #d6e3ee;
  border-radius: 3px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.goods-exchange-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8e2ec;
  background: #f8fbfd;
}

.goods-exchange-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #45515c;
}

.goods-exchange-summary b {
  color: #e23b2f;
}

.goods-exchange-field {
  display: grid;
  grid-template-columns: 84px minmax(0, 280px);
  align-items: center;
  gap: 10px;
}

.goods-exchange-field span {
  color: #23384d;
}

.goods-exchange-field input {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #c7d4df;
  background: #fff;
}

.goods-exchange-box p,
.inline-warning {
  margin: 0;
  color: #7a8793;
  line-height: 1.7;
}

.inline-warning {
  color: #c05a19;
}

.desktop-info-page,
.desktop-help-page,
.desktop-forum-page,
.desktop-about-page {
  --reader-green: #18553f;
  --reader-green-soft: #edf7f2;
  --reader-blue: #1f5f8f;
  --reader-ink: #152333;
  --reader-muted: #697887;
  --reader-line: #dfe7ee;
  width: 100%;
  max-width: 1200px;
  min-height: 640px;
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 18px;
  margin: 0 auto;
  align-items: stretch;
}

.desktop-info-side,
.desktop-info-main,
.desktop-help-side,
.desktop-forum-side,
.desktop-about-side,
.desktop-help-main,
.desktop-forum-main,
.desktop-about-main {
  min-height: 640px;
  min-width: 0;
  border: 1px solid var(--reader-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 35, 58, .07);
}

.desktop-info-side,
.desktop-help-side,
.desktop-forum-side,
.desktop-about-side {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.desktop-info-side-head,
.desktop-help-side-head,
.desktop-forum-side-head,
.desktop-about-side-head {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px 18px;
  border-bottom: 3px solid var(--reader-green);
  background: #f8fbfa;
}

.desktop-info-side-head span,
.desktop-info-head span,
.desktop-help-side-head span,
.desktop-forum-side-head span,
.desktop-about-side-head span,
.desktop-help-head span,
.desktop-forum-head span,
.desktop-about-head span {
  color: #fc812f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-info-side-head strong,
.desktop-help-side-head strong,
.desktop-forum-side-head strong,
.desktop-about-side-head strong {
  color: var(--reader-ink);
  font-size: 22px;
  line-height: 1.2;
}

.desktop-info-side-head em,
.desktop-help-side-head em,
.desktop-forum-side-head em,
.desktop-about-side-head em {
  color: var(--reader-muted);
  font-style: normal;
}

.desktop-info-nav,
.desktop-help-nav,
.desktop-forum-sections,
.desktop-about-nav {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  padding: 10px;
}

.desktop-info-nav a,
.desktop-help-nav a,
.desktop-forum-sections a,
.desktop-about-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf1f5;
  color: #26384b;
}

.desktop-info-nav a:last-child,
.desktop-help-nav a:last-child,
.desktop-forum-sections a:last-child,
.desktop-about-nav a:last-child {
  border-bottom: 0;
}

.desktop-info-nav a.active,
.desktop-info-nav a:hover,
.desktop-help-nav a.active,
.desktop-help-nav a:hover,
.desktop-forum-sections a.active,
.desktop-forum-sections a:hover,
.desktop-about-nav a.active,
.desktop-about-nav a:hover {
  color: var(--reader-green);
  background: var(--reader-green-soft);
}

.desktop-forum-sections span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.desktop-forum-sections strong,
.desktop-forum-sections em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-forum-sections em {
  color: var(--reader-muted);
  font-size: 12px;
  font-style: normal;
}

.desktop-forum-sections b {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--reader-blue);
  text-align: center;
}

.desktop-info-summary,
.desktop-help-side-summary,
.desktop-forum-side-metrics,
.desktop-about-side-summary {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #edf1f5;
  background: #fbfcfd;
}

.desktop-info-summary span,
.desktop-help-side-summary span,
.desktop-forum-side-metrics span,
.desktop-about-side-summary span {
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid #e2eaf1;
  background: #fff;
  color: var(--reader-muted);
  font-size: 12px;
}

.desktop-info-summary b,
.desktop-help-side-summary b,
.desktop-forum-side-metrics b,
.desktop-about-side-summary b {
  color: #e23b2f;
  font-size: 18px;
}

.desktop-forum-side-metrics em {
  font-style: normal;
}

.desktop-forum-write {
  min-height: 42px;
  display: grid;
  place-items: center;
  margin: 0 12px 12px;
  border: 1px solid var(--reader-green);
  border-radius: 4px;
  background: var(--reader-green);
  color: #fff;
  font-weight: 700;
}

.desktop-info-main,
.desktop-help-main,
.desktop-forum-main,
.desktop-about-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.desktop-info-head,
.desktop-help-head,
.desktop-forum-head,
.desktop-about-head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--reader-line);
  background: #fbfcfd;
}

.desktop-help-head div,
.desktop-forum-head div,
.desktop-about-head div {
  min-width: 0;
}

.desktop-help-head h2,
.desktop-forum-head h2,
.desktop-about-head h2 {
  margin: 2px 0 4px;
  color: var(--reader-ink);
  font-size: 24px;
  line-height: 1.25;
}

.desktop-help-head p,
.desktop-forum-head p,
.desktop-about-head p {
  margin: 0;
  color: var(--reader-muted);
  line-height: 1.6;
}

.desktop-help-head a {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #d9e0e8;
  border-radius: 4px;
  background: #fff;
  color: #475569;
}

.desktop-help-full-page {
  display: block;
  grid-template-columns: none;
}

.desktop-about-full-page {
  display: block;
  grid-template-columns: none;
}

.desktop-help-full-main {
  width: 100%;
}

.desktop-about-full-main {
  width: 100%;
}

.desktop-help-categorybar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
}

.desktop-about-categorybar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
}

.desktop-help-categorybar a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dfe7ee;
  border-radius: 4px;
  background: #f8fafc;
  color: #26384b;
}

.desktop-about-categorybar a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dfe7ee;
  border-radius: 4px;
  background: #f8fafc;
  color: #26384b;
}

.desktop-help-categorybar a.active,
.desktop-help-categorybar a:hover {
  border-color: var(--reader-green);
  background: var(--reader-green-soft);
  color: var(--reader-green);
}

.desktop-about-categorybar a.active,
.desktop-about-categorybar a:hover {
  border-color: var(--reader-green);
  background: var(--reader-green-soft);
  color: var(--reader-green);
}

.desktop-about-head nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.desktop-about-head nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #d9e0e8;
  border-radius: 4px;
  background: #fff;
  color: #475569;
}

.desktop-about-article {
  padding: 28px 34px 36px;
}

.desktop-about-article h1 {
  max-width: 820px;
  margin: 0 auto 12px;
  color: var(--reader-ink);
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
}

.desktop-about-meta {
  max-width: 820px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 22px;
}

.desktop-about-meta span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #e5edf4;
  border-radius: 3px;
  background: #f8fafc;
  color: var(--reader-muted);
  font-size: 13px;
}

.desktop-about-article .article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
}

.desktop-help-toolbar,
.desktop-forum-thread-title,
.desktop-forum-section-title {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f5;
  color: var(--reader-ink);
}

.desktop-help-toolbar span,
.desktop-forum-thread-title span,
.desktop-forum-section-title span {
  color: var(--reader-muted);
  font-size: 13px;
}

.desktop-help-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.desktop-help-full-page .desktop-help-list {
  grid-template-columns: 1fr;
}

.desktop-help-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 8px 12px;
  align-items: start;
  padding: 12px 18px;
  border-bottom: 1px solid #edf1f5;
  border-right: 1px solid #edf1f5;
  color: var(--reader-ink);
}

.desktop-help-full-page .desktop-help-row {
  min-height: 74px;
  grid-template-columns: 44px minmax(0, 1fr) minmax(190px, auto);
  grid-template-rows: none;
  gap: 14px;
  align-items: center;
  border-right: 0;
}

.desktop-help-row:nth-child(2n) {
  border-right: 0;
}

.desktop-help-row:last-child:nth-child(odd) {
  border-right: 0;
}

.desktop-help-row:hover {
  background: #fbfdfc;
}

.desktop-help-row > b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--reader-green-soft);
  color: var(--reader-green);
}

.desktop-help-row-main,
.desktop-forum-topic {
  min-width: 0;
}

.desktop-help-row-main strong,
.desktop-forum-topic a {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--reader-ink);
  font-size: 16px;
  font-weight: 800;
}

.desktop-help-row-main p,
.desktop-forum-topic p,
.desktop-forum-topic span {
  margin: 5px 0 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--reader-muted);
  line-height: 1.5;
}

.desktop-help-row-meta {
  grid-column: 2;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--reader-muted);
  font-size: 13px;
}

.desktop-help-full-page .desktop-help-row-meta {
  grid-column: auto;
  justify-content: flex-end;
}

.desktop-help-row-meta span,
.desktop-help-row-meta time {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #e5edf4;
  border-radius: 3px;
  background: #f8fafc;
  white-space: nowrap;
}

.desktop-help-article {
  padding: 24px 30px 32px;
}

.desktop-help-article .article-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
}

.desktop-forum-search {
  flex: 0 0 392px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px 66px;
  gap: 8px;
}

.desktop-forum-search input,
.desktop-forum-search button {
  min-height: 34px;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  background: #fff;
  font: inherit;
}

.desktop-forum-search input {
  min-width: 0;
  padding: 0 10px;
}

.desktop-forum-search button {
  cursor: pointer;
}

.desktop-forum-search button:first-of-type {
  border-color: var(--reader-green);
  background: var(--reader-green);
  color: #fff;
}

.desktop-forum-pinned {
  border-bottom: 1px solid var(--reader-line);
}

.desktop-forum-pinned a {
  min-height: 44px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0 18px;
  border-top: 1px solid #edf1f5;
  color: var(--reader-ink);
}

.desktop-forum-pinned b {
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #fff4ed;
  color: #d35d1d;
}

.desktop-forum-pinned span,
.desktop-forum-pinned em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-forum-pinned em {
  color: var(--reader-muted);
  font-style: normal;
}

.desktop-forum-thread-panel {
  min-width: 0;
}

.desktop-forum-thread-head,
.desktop-forum-thread-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 72px 154px;
  gap: 12px;
  align-items: center;
}

.desktop-forum-thread-head {
  min-height: 36px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f5;
  background: #fbfcfd;
  color: var(--reader-muted);
  font-size: 13px;
  font-weight: 700;
}

.desktop-forum-thread-head span:not(:first-child),
.desktop-forum-thread-row > b,
.desktop-forum-thread-row > time {
  text-align: center;
}

.desktop-forum-thread-row {
  min-height: 78px;
  padding: 12px 18px;
  border-bottom: 1px solid #edf1f5;
}

.desktop-forum-thread-row:hover {
  background: #fbfdfc;
}

.desktop-forum-thread-row > b {
  color: #e23b2f;
}

.desktop-forum-thread-row > time {
  color: var(--reader-muted);
  font-size: 13px;
}

.forum-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.forum-side a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.forum-side a span {
  color: #8a98a6;
}

.forum-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.forum-metrics span {
  padding: 8px;
  color: #4a5a67;
  background: #f5f8fb;
  border: 1px solid #dce6ef;
}

.forum-metrics b {
  color: #e23b2f;
}

.forum-legacy-btn {
  width: 100%;
  margin-top: 10px;
}

.forum-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.forum-search input {
  width: 260px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #c7d4df;
}

.forum-search button {
  min-width: 72px;
  border: 1px solid #c7d4df;
  background: #fff;
  cursor: pointer;
}

.forum-search button:first-of-type {
  color: #fff;
  border-color: #2473a8;
  background: #2473a8;
}

.forum-section-head {
  margin-bottom: 12px;
  padding: 12px;
  background: #f8fbfd;
  border: 1px solid #dce6ef;
}

.forum-section-head h3,
.forum-section-head p {
  margin: 0;
}

.forum-section-head p {
  margin-top: 6px;
  color: #697887;
}

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

.forum-thread-list.pinned {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e8ee;
}

.forum-thread-list article {
  padding: 12px;
  border: 1px solid #dde6ef;
  background: #fff;
}

.forum-thread-list a {
  display: block;
  color: #17324c;
  font-weight: 700;
}

.forum-thread-list p {
  margin: 7px 0;
  color: #5f6d79;
  line-height: 1.7;
}

.forum-thread-list span {
  color: #8a98a6;
}

.forum-read .panel-title {
  margin-bottom: 12px;
}

.forum-post-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e1e7ee;
}

.forum-author {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  color: #4c5c69;
}

.forum-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d6e0ea;
}

.forum-author em {
  font-style: normal;
  color: #2473a8;
}

.forum-post-body {
  min-width: 0;
}

.forum-post-body time {
  display: block;
  margin-bottom: 8px;
  color: #8a98a6;
}

.forum-post-body p {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.8;
}

.forum-reply-title {
  margin-top: 16px;
  padding: 10px 12px;
  color: #17324c;
  background: #edf4fa;
  border: 1px solid #d7e3ee;
  font-weight: 700;
}

.forum-write-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.forum-write-form label {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.forum-write-form label span {
  padding-top: 9px;
  color: #344054;
  font-weight: 700;
}

.forum-write-form input,
.forum-write-form select,
.forum-write-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  background: #fff;
  padding: 9px 10px;
  font: inherit;
}

.forum-write-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

.forum-write-thread {
  padding: 10px 12px;
  border: 1px solid #e4ebf3;
  border-radius: 4px;
  background: #f8fafc;
  color: #475569;
}

.forum-write-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.ranking-grid {
  width: 100%;
  max-width: 1200px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
}

.ranking-reward-grid {
  align-items: start;
}

.rank-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.rank-card h2 {
  margin: 0;
  padding: 22px;
  color: #fff;
  background: #d86616;
  text-align: center;
}

.rank-card:nth-child(2) h2 {
  background: #7a5547;
}

.rank-card:nth-child(3) h2 {
  background: #828794;
}

.rank-card table,
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-board-card table {
  table-layout: fixed;
}

.rank-card th,
.rank-card td,
.data-table th,
.data-table td {
  border: 1px solid #e2e2e2;
  padding: 10px;
  text-align: center;
}

.rank-card th,
.rank-card td {
  padding: 10px 8px;
}

.ranking-board-card th:nth-child(1),
.ranking-board-card td:nth-child(1) {
  width: 52px;
}

.ranking-board-card th:nth-child(2),
.ranking-board-card td:nth-child(2) {
  width: 128px;
}

.ranking-board-card th:nth-child(3),
.ranking-board-card td:nth-child(3) {
  width: 84px;
}

.rank-card td:nth-child(2) {
  text-align: left;
}

.ranking-player-name {
  display: block;
  width: 100%;
  overflow: visible;
  color: #1f2937;
  font-weight: 700;
  line-height: 18px;
  overflow-wrap: anywhere;
  text-overflow: clip;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
}

.profit-win {
  color: #e53935 !important;
  font-weight: 700;
}

.profit-loss {
  color: #1f9d55 !important;
  font-weight: 700;
}

.profit-neutral {
  color: #374151 !important;
  font-weight: 700;
}

.rank-no {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #f60;
  color: #e45d18;
  display: inline-grid;
  place-items: center;
}

.ranking-reward-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  min-height: 22px;
  line-height: 18px;
  white-space: normal;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.ranking-reward-cell .eggyx-rank-diamond-icon {
  width: 20px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, .16);
  background: linear-gradient(145deg, #f8fafc 0%, #cbd5e1 48%, #94a3b8 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.72);
  clip-path: polygon(18% 0, 82% 0, 100% 38%, 50% 100%, 0 38%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.pink {
  background: linear-gradient(145deg, #ffe4f2 0%, #f472b6 48%, #be185d 100%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.green {
  background: linear-gradient(145deg, #dcfce7 0%, #34d399 48%, #15803d 100%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.blue {
  background: linear-gradient(145deg, #dbeafe 0%, #60a5fa 48%, #1d4ed8 100%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.purple {
  background: linear-gradient(145deg, #ede9fe 0%, #a78bfa 48%, #6d28d9 100%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.yellow,
.ranking-reward-cell .eggyx-rank-diamond-icon.gold {
  background: linear-gradient(145deg, #fef9c3 0%, #facc15 48%, #d97706 100%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.red {
  background: linear-gradient(145deg, #fee2e2 0%, #fb7185 48%, #be123c 100%);
}

.ranking-reward-cell .eggyx-rank-diamond-icon.black {
  background: linear-gradient(145deg, #d1d5db 0%, #4b5563 48%, #111827 100%);
}

.ranking-reward-cell .eggyx-rank-reward-sep {
  color: #8a8a8a;
}

.ranking-reward-cell .eggyx-rank-card-days {
  display: inline-block;
}

.ranking-reward-card {
  margin-top: 18px;
}

.ranking-reward-card table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-reward-card th,
.ranking-reward-card td {
  height: 42px;
  border: 1px solid #e2e2e2;
  text-align: center;
}

.ranking-reward-card td:nth-child(2) {
  color: #e53935;
  font-weight: 700;
}

.entertainment .platform-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-bottom: 12px;
}

.platform-tabs a {
  padding: 12px;
  text-align: center;
  background: #eaf3ff;
  border: 1px solid #b9d1ef;
}

.platform-tabs a.active {
  background: #2f5849;
  color: #fff;
}

.entertainment-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.entertainment-card {
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.entertainment-card.disabled {
  opacity: .72;
}

.entertainment-cover {
  height: 226px;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}

.entertainment-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.entertainment-cover span {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 10px;
  background: #e8edf3;
  color: #7f8996;
  text-align: center;
  font-weight: 700;
}

.entertainment-card strong,
.entertainment-card em,
.entertainment-card small {
  display: block;
  margin: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entertainment-card strong {
  margin-top: 8px;
  font-size: 15px;
  color: #183246;
}

.entertainment-card em {
  margin-top: 2px;
  color: #6a91af;
  font-size: 11px;
  font-style: normal;
}

.entertainment-card small {
  margin-top: 2px;
  color: #7a8794;
}

.entertainment-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 8px 8px 10px;
}

.entertainment-actions a {
  height: 30px;
  line-height: 30px;
  padding: 0;
  text-align: center;
  font-size: 13px;
  white-space: nowrap;
}

.entertainment-desktop {
  padding: 0;
  overflow: hidden;
}

.desktop-box-dodge {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.desktop-box-dodge-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid #cfd9d4;
  border-bottom: 3px solid #284c3f;
  background: #f8fbf9;
  box-sizing: border-box;
}

.desktop-box-dodge-head h1 {
  margin: 0;
  color: #14273c;
  font-size: 22px;
  line-height: 28px;
}

.desktop-box-dodge-head p {
  margin: 4px 0 0;
  color: #63736c;
}

.desktop-box-dodge-head nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-box-dodge-head a,
.desktop-box-dodge-head button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #1d78c6;
  border-radius: 3px;
  background: #fff;
  color: #116ec0;
  line-height: 30px;
  cursor: pointer;
}

.desktop-box-dodge-head button:disabled {
  color: #8b9691;
  border-color: #cbd5cf;
  cursor: default;
}

.desktop-box-dodge-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d8d8d8;
  border-top: 0;
}

.desktop-box-dodge-stats div {
  min-height: 68px;
  padding: 11px 14px;
  border-right: 1px solid #e5e5e5;
  box-sizing: border-box;
}

.desktop-box-dodge-stats div:last-child {
  border-right: 0;
}

.desktop-box-dodge-stats span {
  display: block;
  margin-bottom: 5px;
  color: #6c7973;
}

.desktop-box-dodge-stats strong {
  color: #14273c;
  font-size: 20px;
}

.desktop-box-dodge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr);
  gap: 12px;
  margin-top: 12px;
}

.desktop-box-panel {
  border: 1px solid #d8d8d8;
  background: #fff;
}

.desktop-box-panel > header {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid #d8d8d8;
  background: #f8f8f8;
}

.desktop-box-panel h2,
.desktop-box-panel h3 {
  margin: 0;
  color: #14273c;
}

.desktop-box-panel h2 {
  font-size: 15px;
}

.desktop-box-panel > header span {
  color: #6d7a74;
}

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

.desktop-box-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dde4e0;
  border-radius: 4px;
  background: #fbfdfc;
}

.desktop-box-card i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #174632;
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.desktop-box-card p {
  margin: 4px 0;
  color: #68766f;
}

.desktop-box-card label,
.desktop-dodge-form label,
.desktop-dodge-list label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #53645c;
}

.desktop-box-card input,
.desktop-dodge-form input,
.desktop-dodge-list input {
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #cfd8d3;
  border-radius: 3px;
  box-sizing: border-box;
}

.desktop-box-card button,
.desktop-dodge-list article > button,
.desktop-dodge-form .primary-btn {
  width: 100%;
  height: 34px;
  margin-top: 10px;
  border: 0;
  border-radius: 3px;
  background: #174632;
  color: #fff;
  cursor: pointer;
}

.desktop-box-card button:disabled,
.desktop-dodge-list article > button:disabled,
.desktop-dodge-form .primary-btn:disabled {
  background: #aab5af;
  cursor: default;
}

.desktop-dodge-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.desktop-choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.desktop-choice-row button {
  height: 32px;
  border: 1px solid #cfd8d3;
  border-radius: 3px;
  background: #fff;
  color: #263f34;
  cursor: pointer;
}

.desktop-choice-row button.active {
  border-color: #174632;
  background: #e8f8f1;
  color: #174632;
  font-weight: 700;
}

.desktop-choice-row.small {
  grid-template-columns: repeat(3, 72px);
}

.desktop-dodge-open-panel,
.desktop-box-record-panel {
  margin-top: 12px;
}

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

.desktop-dodge-list article {
  padding: 12px;
  border: 1px solid #dde4e0;
  border-radius: 4px;
}

.desktop-dodge-row-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.desktop-dodge-row-main b {
  color: #d72828;
}

.desktop-box-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.desktop-box-record-grid > div {
  border: 1px solid #e1e6e3;
  border-radius: 4px;
  padding: 10px;
}

.desktop-box-record-grid h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.desktop-box-record-grid p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid #edf1ef;
}

.desktop-box-record-grid b {
  color: #17704d;
  white-space: nowrap;
}

.desktop-box-record-grid em {
  display: block;
  padding: 12px 0;
  color: #7a8794;
  font-style: normal;
}

.entertainment-type-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid #9fc5f0;
  border-bottom: 0;
}

.entertainment-type-tabs button {
  height: 38px;
  border: 0;
  border-right: 1px solid #9fc5f0;
  background: #f8fbff;
  color: #071b2e;
  font-weight: 700;
  cursor: pointer;
}

.entertainment-type-tabs button:last-child {
  border-right: 0;
}

.entertainment-type-tabs button.active {
  color: #fff;
  background: linear-gradient(180deg, #346b58 0%, #174632 100%);
}

.entertainment-provider-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 7px;
  border: 1px solid #9fc5f0;
  background: #f2f8ff;
}

.entertainment-provider-tab {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid #d0d9e2;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fafc 0%, #e6edf3 100%);
  text-align: left;
  cursor: pointer;
}

.entertainment-provider-tab.active {
  border-color: #51a8e7;
  box-shadow: inset 0 0 0 1px rgba(81, 168, 231, .35);
  background: #eef8ff;
}

.entertainment-provider-tab.disabled {
  opacity: .58;
}

.entertainment-provider-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.entertainment-provider-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entertainment-provider-icon b {
  color: #6b7280;
  font-size: 18px;
}

.entertainment-provider-tab strong,
.entertainment-provider-tab em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entertainment-provider-tab strong {
  color: #0f2537;
  font-size: 15px;
}

.entertainment-provider-tab em {
  margin-top: 2px;
  color: #6a91af;
  font-size: 10px;
  font-style: normal;
}

.entertainment-stage-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px;
  color: #fff;
  background: #224f3d;
}

.entertainment-stage-head strong {
  font-size: 15px;
}

.entertainment-stage-head nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.entertainment-stage-head a {
  padding: 0 9px;
  color: #ffe944;
  border-left: 1px solid rgba(255, 255, 255, .32);
  font-weight: 700;
}

.entertainment-stage-panel {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border: 1px solid #d9dee4;
  border-top: 0;
  background: #fff;
}

.entertainment-stage-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
  border-right: 1px solid #d9dee4;
  overflow: hidden;
}

.entertainment-stage-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entertainment-stage-logo {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  min-width: 62px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: rgba(36, 47, 61, .45);
  background: rgba(239, 244, 248, .8);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  font-size: 22px;
  font-weight: 900;
}

.entertainment-stage-action {
  min-height: 470px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  background: radial-gradient(circle at center, #fff 0%, #fff 42%, #f8fafc 100%);
}

.entertainment-stage-watermark {
  color: rgba(32, 56, 78, .06);
  font-size: 76px;
  font-weight: 900;
  letter-spacing: 0;
}

.entertainment-stage-action .primary-btn {
  min-width: 132px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(20, 118, 173, .22);
}

.entertainment-stage-action .ghost-btn {
  min-width: 142px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.entertainment-stage-action p {
  margin: 0;
  color: #8290a2;
}

.entertainment-subgame-panel {
  border: 1px solid #d9dee4;
  border-top: 0;
  background: #fff;
}

.entertainment-subgame-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #fbfcfe;
  flex-wrap: wrap;
}

.entertainment-subgame-filter > span {
  color: #183a2a;
  font-weight: 700;
}

.entertainment-subgame-filter > div {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.entertainment-subgame-filter button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
}

.entertainment-subgame-filter button.active,
.entertainment-subgame-filter button:hover {
  border-color: #1f5a43;
  background: #1f5a43;
  color: #fff;
}

.entertainment-subgame-filter button:disabled {
  cursor: not-allowed;
  opacity: .66;
}

.entertainment-subgame-filter input {
  width: 180px;
  height: 30px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 0 10px;
}

.entertainment-subgame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  padding: 14px;
}

.entertainment-subgame-card {
  min-height: 154px;
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid #dbe3ec;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
  text-align: center;
}

.entertainment-subgame-card:hover {
  border-color: #1f5a43;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.entertainment-subgame-card:disabled {
  cursor: wait;
  opacity: .72;
}

.entertainment-subgame-card span {
  position: relative;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: #f1f5f9;
}

.entertainment-subgame-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entertainment-subgame-card b {
  color: #6b7280;
  font-size: 22px;
}

.entertainment-subgame-card em {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(31, 90, 67, .9);
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.entertainment-subgame-card strong {
  min-height: 36px;
  color: #0f2537;
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
}

.entertainment-subgame-empty {
  margin: 18px;
}

.desktop-ent-record-page {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  border: 1px solid #d9dee4;
  background: #fff;
}

.desktop-ent-record-head {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 3px solid #284c3f;
  background: #f7f9fb;
}

.desktop-ent-record-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.desktop-ent-record-head span {
  display: block;
  color: #668399;
  font-size: 12px;
  text-transform: uppercase;
}

.desktop-ent-record-head h2 {
  margin: 2px 0 4px;
  color: #183a2a;
  font-size: 20px;
}

.desktop-ent-record-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.desktop-ent-record-tabs {
  min-height: 42px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  background: #224f3d;
}

.desktop-ent-record-tabs a {
  min-width: 116px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .18);
  font-weight: 700;
}

.desktop-ent-record-tabs a.active,
.desktop-ent-record-tabs a:hover {
  background: #183b2e;
  color: #ffe944;
}

.desktop-ent-record-filter {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  background: #fbfcfe;
  flex-wrap: wrap;
}

.desktop-ent-record-filter > div {
  min-width: 240px;
  flex: 1 1 auto;
}

.desktop-ent-record-filter span {
  display: block;
  color: #64748b;
  font-size: 12px;
}

.desktop-ent-record-filter strong {
  color: #0f2537;
}

.desktop-ent-record-filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
}

.desktop-ent-record-filter input {
  height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 0 8px;
  background: #fff;
}

.desktop-ent-record-filter button {
  height: 32px;
  padding: 0 18px;
  border: 1px solid #1479d7;
  border-radius: 3px;
  background: #1479d7;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.desktop-ent-record-filter button:disabled {
  cursor: not-allowed;
  opacity: .66;
}

.desktop-ent-record-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #d8e0e7;
  background: #fff;
}

.desktop-ent-record-summary span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid #e3e9ef;
}

.desktop-ent-record-summary span:last-child {
  border-right: 0;
}

.desktop-ent-record-summary b {
  color: #f4511e;
  font-size: 18px;
}

.desktop-ent-record-summary em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.desktop-ent-record-note {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  background: #fffaf2;
}

.desktop-ent-record-table-wrap {
  overflow-x: auto;
}

.desktop-ent-record-table {
  min-width: 860px;
}

.desktop-ent-record-table th {
  background: #f4f7fa;
  color: #334155;
  white-space: nowrap;
}

.desktop-ent-record-table td {
  color: #334155;
  vertical-align: middle;
}

.desktop-ent-record-table td:last-child {
  max-width: 260px;
  word-break: break-all;
}

.desktop-ent-record-empty {
  margin: 18px;
}

.desktop-ent-record-pager {
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #fbfcfe;
}

.content-layout,
.shop-layout,
.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: start;
}

.side-card {
  padding: 12px;
}

.side-card h3 {
  margin: 0 0 12px;
  padding: 10px;
  border-bottom: 1px solid #e1e1e1;
}

.side-card a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.side-card a.active {
  color: #1b6097;
  background: #eef5ff;
  font-weight: 700;
}

.side-card a.child {
  padding-left: 24px;
  color: #56616b;
}

.side-card a.child.active {
  color: #1b6097;
}

.article-detail {
  min-height: 360px;
}

.desktop-notice-page {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.desktop-notice-side {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  min-width: 0;
  min-height: 620px;
  align-self: stretch;
}

.desktop-notice-box,
.desktop-notice-main {
  border: 1px solid #ddd;
  background: #fff;
}

.desktop-notice-box-hd {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-bottom: 1px solid #ddd;
  background: #f6f6f6;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.desktop-notice-box-hd i {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.desktop-notice-box-hd i.stack:before,
.desktop-notice-box-hd i.stack:after {
  content: "";
  position: absolute;
  left: 2px;
  width: 15px;
  height: 9px;
  border: 2px solid #111;
  border-top-color: #14a784;
  border-radius: 2px;
  background: #fff;
  box-sizing: border-box;
  transform: skewY(-18deg) rotate(-18deg);
}

.desktop-notice-box-hd i.stack:before {
  top: 2px;
}

.desktop-notice-box-hd i.stack:after {
  top: 8px;
  background: transparent;
}

.desktop-notice-box-hd i.link {
  border-radius: 50%;
  background: #8295bd;
}

.desktop-notice-box-hd i.link:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 10px;
  height: 4px;
  border: 2px solid #fff;
  border-right: 0;
  border-left: 0;
  box-sizing: border-box;
  transform: rotate(-35deg);
}

.desktop-notice-box-hd i.domain {
  width: 20px;
  height: 16px;
  border-radius: 2px;
  background: #17c28e;
}

.desktop-notice-box-hd i.domain:before {
  content: ".cn";
  display: block;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-style: normal;
}

.desktop-notice-category {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.desktop-notice-category a {
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #333;
}

.desktop-notice-category a.active,
.desktop-notice-category a:hover {
  color: #fc812f;
  border-color: #fc812f;
  background: #fff8f3;
}

.desktop-notice-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.desktop-notice-quick-grid a {
  min-height: 66px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #3b4a55;
  border: 1px solid #e2e6ec;
  background: #fbfcfd;
}

.desktop-notice-quick-grid i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f74b5;
}

.desktop-notice-domain-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.desktop-notice-domain-list a {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #1f5f8f;
  border: 1px solid #e2e6ec;
  background: #fbfcfd;
}

.desktop-notice-main {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.desktop-notice-title {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #e6e6e6;
  background: #fafafa;
}

.desktop-notice-title > i {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: #777;
}

.desktop-notice-title > i:before {
  content: "NEWS";
  position: absolute;
  left: 4px;
  top: 5px;
  color: #fff;
  font-size: 8px;
  line-height: 1;
}

.desktop-notice-title > i:after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 2px;
  background: #fff;
  box-shadow: 0 -5px 0 #fff;
}

.desktop-notice-title div {
  flex: 1;
  min-width: 0;
}

.desktop-notice-title span {
  display: block;
  color: #fc812f;
  font-weight: 800;
  font-size: 12px;
}

.desktop-notice-title h2 {
  margin: 1px 0 0;
  color: #222;
  font-size: 22px;
}

.desktop-notice-title a,
.desktop-notice-title em {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d9e0ea;
  background: #fff;
  color: #4b5563;
  font-style: normal;
}

.desktop-notice-list {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 18px 22px;
}

.desktop-notice-list li {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 170px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #e6e6e6;
}

.desktop-notice-list li.empty {
  display: block;
  height: 220px;
  line-height: 220px;
  text-align: center;
  color: #9aa3af;
  border-bottom: 0;
}

.desktop-notice-list a {
  min-width: 0;
  display: flex;
  gap: 7px;
  color: #111;
  font-size: 16px;
}

.desktop-notice-list a strong {
  flex: 0 0 auto;
}

.desktop-notice-list a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-notice-list a:hover {
  color: #fc812f;
}

.desktop-notice-list time {
  color: #8a94a3;
  text-align: right;
  font-size: 15px;
  white-space: nowrap;
}

.desktop-notice-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 50%;
  background: #7697ff;
}

.desktop-notice-icon:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: #fff;
}

.desktop-notice-icon:after {
  content: "";
  position: absolute;
  left: 15px;
  top: 9px;
  width: 7px;
  height: 10px;
  border: 2px solid #fff;
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.desktop-notice-icon.notice-tag-info {
  background: #24b8d8;
}

.desktop-notice-icon.notice-tag-info:before {
  content: "i";
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  color: #fff;
  background: transparent;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.desktop-notice-icon.notice-tag-info:after {
  display: none;
}

.desktop-notice-icon.notice-tag-event {
  background: #ff5f9c;
}

.desktop-notice-icon.notice-tag-alert {
  background: #ef5555;
}

.desktop-notice-icon.notice-tag-alert:before {
  content: "!";
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  color: #fff;
  background: transparent;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.desktop-notice-icon.notice-tag-alert:after {
  display: none;
}

.desktop-notice-pagination {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid #e6e6e6;
}

.desktop-notice-pagination button,
.desktop-notice-pagination span {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #dcdfe5;
  background: #fff;
  color: #333;
}

.desktop-notice-pagination button {
  cursor: pointer;
}

.desktop-notice-pagination button.active,
.desktop-notice-pagination button:hover:not(:disabled) {
  color: #fff;
  border-color: #00a389;
  background: #00a389;
}

.desktop-notice-pagination button:disabled {
  color: #b8bec8;
  background: #f7f7f7;
  cursor: not-allowed;
}

.desktop-notice-article {
  flex: 1;
  min-height: 0;
  padding: 26px 32px;
  overflow-y: auto;
}

.desktop-notice-article h1 {
  margin: 0 0 12px;
  color: #222;
  font-size: 26px;
  text-align: center;
}

.desktop-notice-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: #7b8794;
}

.desktop-notice-meta span {
  padding: 4px 9px;
  border: 1px solid #e5eaf0;
  background: #f8fafc;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #888;
  font-size: 14px;
}

.article-meta span,
.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 2px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
}

.article-body {
  white-space: pre-line;
  line-height: 1.9;
  color: #333;
}

.empty-state {
  padding: 24px;
  text-align: center;
  color: #888;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  gap: 16px;
}

.article-list li > div {
  min-width: 0;
}

.article-list li a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.article-list li:first-child a {
  color: #f00;
}

.article-list time {
  color: #888;
  white-space: nowrap;
}

.goods-grid {
  grid-template-columns: repeat(4, 1fr);
}

.goods-grid a {
  border: 1px solid #d8d8d8;
  background: #fafafa;
  padding: 10px;
  text-align: center;
}

.goods-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.desktop-diamond-cover {
  width: 100%;
  height: 130px;
  display: grid;
  place-items: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  background: linear-gradient(135deg, var(--diamond-mid, #f6f8fb), var(--diamond-base, #e5e7eb));
}

.desktop-diamond-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.desktop-diamond-cover.empty {
  background: #f7f8fa;
  color: #8a96a3;
}

.desktop-diamond-cover strong,
.desktop-mall-image-empty {
  color: #fff;
  text-align: center;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}

.desktop-mall-image-empty {
  display: grid;
  place-items: center;
  color: #8a96a3;
  text-shadow: none;
}

.desktop-diamond-svg {
  width: 72px;
  height: 62px;
}

.desktop-diamond-svg path:not(:first-of-type) {
  fill: none;
  stroke: #1f2937;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-diamond-svg path:nth-of-type(1) {
  stroke: #1f2937;
  stroke-width: 3;
  stroke-linejoin: round;
}

.desktop-diamond-svg path:nth-of-type(2) {
  stroke-width: 1.8;
  opacity: .78;
}

.desktop-diamond-svg path:nth-of-type(3) {
  fill: #fff;
  stroke: none;
  opacity: .22;
}

.desktop-diamond-svg path:nth-of-type(4) {
  stroke: #fff;
  stroke-width: 2;
  opacity: .62;
}

.desktop-diamond-detail {
  height: 280px;
  align-content: center;
  border: 1px solid #d8d8d8;
}

.desktop-diamond-detail .desktop-diamond-svg {
  width: 112px;
  height: 96px;
}

.detail-image.desktop-mall-image-empty {
  height: 280px;
  border: 1px solid #d8d8d8;
  background: #f7f8fa;
}

.goods-grid strong,
.goods-grid span {
  display: block;
  margin-top: 8px;
}

.goods-grid span {
  color: #f60;
  font-weight: 700;
}

.goods-grid .desktop-mall-image-empty {
  margin-top: 0;
  color: #8a96a3;
  font-weight: 700;
}

.shop-layout-flat {
  display: block;
}

.shop-main-card {
  min-height: 520px;
}

.shop-summary-bar {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.shop-summary-bar div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #e3ebf4;
  border-radius: 8px;
  background: #fbfdff;
}

.shop-summary-bar strong {
  color: #173f2d;
  font-size: 16px;
}

.shop-summary-bar span {
  color: #f4511e;
  font-weight: 900;
}

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

.goods-stats span {
  padding: 10px;
  background: #f7fbff;
  border: 1px solid #d9e6f1;
}

.goods-stats b {
  color: #f60;
}

.profile-card {
  padding: 18px;
  text-align: center;
}

.profile-card > img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.profile-card strong,
.profile-card span {
  display: block;
  margin: 5px 0;
}

.account-service-card {
  position: relative;
  width: 100%;
  min-height: 62px;
  margin: 14px 0 4px;
  border: 1px solid #b9d3f7;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #1154a3;
  text-align: left;
  cursor: pointer;
  padding: 10px 12px;
  box-shadow: 0 6px 14px rgba(17, 84, 163, .08);
}

.account-service-card:hover {
  border-color: #2f80ed;
  background: #eef7ff;
}

.account-service-card b {
  display: block;
  color: #0f4f99;
  font-size: 15px;
}

.account-service-card small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.account-service-card em {
  position: absolute;
  right: 10px;
  top: 9px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 9px;
  background: #ef4444;
  color: #fff;
  text-align: center;
  font-style: normal;
  font-size: 11px;
}

.account-service-card.has-unread {
  border-color: #fecaca;
  box-shadow: 0 8px 18px rgba(239, 68, 68, .12);
}

.account-service-card.has-unread em,
.account-status-unread-badge {
  animation: accountUnreadPulse 1.05s ease-in-out infinite;
}

.account-menu {
  margin-top: 16px;
  text-align: left;
}

.account-menu a {
  display: block;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: #eef5ff;
  border-radius: 4px;
  color: #1b6097;
}

.account-layout-flat {
  display: block;
}

.account-main-flat {
  padding: 0;
  overflow: hidden;
}

.account-overview-head {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(320px, 1.35fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(105deg, #f7fbff 0%, #fff 46%, #f7f4ec 100%);
}

.account-overview-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-overview-user img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .15);
}

.account-overview-user div {
  min-width: 0;
}

.account-overview-user span {
  display: block;
  color: #1f6fa5;
  font-size: 12px;
  font-weight: 800;
}

.account-overview-user h1 {
  margin: 3px 0 5px;
  color: #102238;
  font-size: 24px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.account-overview-user p {
  margin: 0;
  color: #607086;
}

.account-overview-balance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-overview-balance span {
  min-height: 54px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dfe8f2;
  border-radius: 6px;
  background: rgba(255, 255, 255, .82);
  color: #66758a;
}

.account-overview-balance i {
  color: #1f6fa5;
}

.account-overview-balance b {
  grid-column: 1 / -1;
  min-width: 0;
  color: #f4511e;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.account-overview-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.account-overview-actions .primary-btn,
.account-overview-actions .ghost-btn {
  min-height: 46px;
  gap: 6px;
  white-space: nowrap;
}

.account-overview-actions .account-service-card {
  width: 136px;
  min-width: 136px;
  min-height: 56px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  flex: 0 0 136px;
}

.account-overview-actions .account-service-card > i {
  color: #1f6fa5;
  font-size: 18px;
  flex: 0 0 auto;
}

.account-overview-actions .account-recharge-card {
  border-color: #b9dfd4;
  background: linear-gradient(180deg, #f7fffc 0%, #eefbf6 100%);
  color: #0f766e;
  box-shadow: 0 6px 14px rgba(15, 118, 110, .08);
}

.account-overview-actions .account-recharge-card:hover {
  border-color: #14a784;
  background: #effcf7;
}

.account-overview-actions .account-recharge-card > i,
.account-overview-actions .account-recharge-card b {
  color: #0f766e;
}

.account-overview-actions .account-profile-card {
  border-color: #cbd9ec;
  background: #fff;
  color: #1154a3;
  box-shadow: none;
}

.account-overview-actions .account-profile-card:hover {
  border-color: #2f80ed;
  background: #f8fbff;
}

.account-overview-actions .account-customer-card {
  width: 196px;
  min-width: 196px;
  flex-basis: 196px;
  padding-right: 36px;
}

.account-overview-actions .account-customer-card small {
  white-space: nowrap;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.account-tabs button {
  border: 0;
  padding: 10px 16px;
  background: #eee;
  cursor: pointer;
}

.account-tabs button.active {
  color: #fff;
  background: #98783c;
}

.account-tabs-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #e5edf4;
  background: #f8fafc;
}

.account-tabs-grid button {
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid #d9e4ee;
  border-radius: 5px;
  background: #fff;
  color: #26384b;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 13px;
}

.account-tabs-grid button i {
  width: 16px;
  color: #1f6fa5;
  text-align: center;
}

.account-tabs-grid button span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.account-tabs-grid button.active,
.account-tabs-grid button:hover {
  border-color: #1f6fa5;
  background: #1f6fa5;
  color: #fff;
}

.account-tabs-grid button.active i,
.account-tabs-grid button:hover i {
  color: #fff;
}

.account-tabs-grid .account-money-mode-btn {
  border-color: #f2c572;
  background: #fff9ec;
  color: #7a4a08;
  font-weight: 700;
}

.account-tabs-grid .account-money-mode-btn i {
  color: #d78912;
}

.account-tabs-grid .account-money-mode-btn:hover,
.account-tabs-grid .account-money-mode-btn.rmb {
  border-color: #2083d8;
  background: #2083d8;
  color: #fff;
}

.account-tabs-grid .account-money-mode-btn:hover i,
.account-tabs-grid .account-money-mode-btn.rmb i {
  color: #fff;
}

.account-section-tabs,
.promotion-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5edf4;
  background: #fff;
}

.account-section-tabs button,
.promotion-tabs button {
  min-width: 88px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #d9e4ee;
  border-radius: 4px;
  background: #f8fafc;
  color: #26384b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.account-section-tabs button i,
.promotion-tabs button i {
  color: #1f6fa5;
}

.account-section-tabs button.active,
.account-section-tabs button:hover,
.promotion-tabs button.active,
.promotion-tabs button:hover {
  border-color: #1f6fa5;
  background: #1f6fa5;
  color: #fff;
}

.account-section-tabs button.active i,
.account-section-tabs button:hover i,
.promotion-tabs button.active i,
.promotion-tabs button:hover i {
  color: #fff;
}

.account-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #e7edf3;
  background: #fff;
}

.account-panel-toolbar h2 {
  margin: 0 0 5px;
  color: #10263f;
  font-size: 20px;
}

.account-panel-toolbar p {
  margin: 0;
  color: #607086;
  line-height: 1.6;
}

.account-panel-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #526477;
  white-space: nowrap;
}

.account-panel-toolbar select,
.account-ledger-filters select {
  min-width: 148px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #cfdae7;
  border-radius: 4px;
  background: #fff;
  color: #26384b;
}

.account-stats-panel,
.account-rebate-panel,
.account-rank-reward-panel,
.account-ledger-panel {
  overflow-x: auto;
  background: #fff;
}

.account-ledger-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6edf5;
  background: linear-gradient(100deg, #f8fbff 0%, #fff 58%, #f7fbf8 100%);
}

.account-ledger-head span {
  display: block;
  color: #1f6fa5;
  font-size: 12px;
  font-weight: 800;
}

.account-ledger-head h2 {
  margin: 4px 0 0;
  color: #10243a;
  font-size: 20px;
  line-height: 1.2;
}

.account-ledger-head strong {
  min-width: 82px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e7f4;
  border-radius: 5px;
  background: #fff;
  color: #f4511e;
  font-size: 15px;
}

.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid #edf2f7;
}

.account-stats-grid div,
.account-rebate-progress div {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid #e1eaf4;
  border-radius: 6px;
  background: #f8fbff;
}

.account-stats-grid span,
.account-rebate-progress span {
  color: #607086;
}

.account-stats-grid strong,
.account-rebate-progress strong {
  color: #ff6b22;
  font-size: 20px;
}

.account-stats-table,
.account-rebate-table,
.account-rank-reward-table,
.account-ledger-table {
  min-width: 760px;
}

.account-rebate-hero {
  min-height: 96px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 18px 16px;
  border-bottom: 1px solid #e7edf3;
  background: linear-gradient(100deg, #fff7ed 0%, #ffffff 55%, #eef8ff 100%);
}

.account-rebate-hero > i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #1f6fa5;
  color: #fff;
  font-size: 22px;
}

.account-rebate-hero h2 {
  margin: 5px 0;
  color: #10263f;
  font-size: 22px;
}

.account-rebate-hero p {
  margin: 0;
  color: #607086;
}

.account-rebate-hero span,
.account-rank-type-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1f6fa5;
  font-size: 12px;
}

.account-rebate-hero .status-on {
  background: #e8f8ee;
  color: #13823a;
}

.account-rebate-hero .status-off {
  background: #f3f4f6;
  color: #64748b;
}

.account-rebate-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.account-rebate-rule {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e1eaf4;
  border-radius: 6px;
  background: #fff;
}

.account-rebate-rule strong {
  color: #10263f;
  font-size: 16px;
}

.account-rebate-rule p {
  margin: 0;
  color: #53677d;
  line-height: 1.7;
}

.account-rebate-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-rebate-bars {
  display: grid;
  gap: 10px;
}

.account-rebate-bars > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 160px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e1eaf4;
  border-radius: 6px;
  background: #fff;
}

.account-rebate-bars b {
  color: #10263f;
}

.account-rebate-bars em {
  font-style: normal;
  color: #607086;
  text-align: right;
}

.account-rebate-bars span {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.account-rebate-bars span i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1f6fa5;
}

.account-rebate-bars .done span i {
  background: #18a058;
}

.account-rank-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-rank-type-tabs button {
  border: 1px solid #d9e4ee;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.account-rank-type-tabs button.active,
.account-rank-type-tabs button:hover {
  border-color: #1f6fa5;
  background: #1f6fa5;
  color: #fff;
}

.account-ledger-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 16px 10px;
  border-bottom: 0;
  background: #fff;
}

.account-ledger-tabs button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #d9e4ee;
  border-radius: 5px;
  background: #f8fafc;
  color: #25364a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.account-ledger-tabs button i {
  color: #1f6fa5;
}

.account-ledger-tabs button.active,
.account-ledger-tabs button:hover {
  border-color: #1f6fa5;
  background: #1f6fa5;
  color: #fff;
}

.account-ledger-tabs button.active i,
.account-ledger-tabs button:hover i {
  color: #fff;
}

.account-ledger-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 4px 16px 16px;
  border-bottom: 1px solid #e7edf3;
  background: #fff;
}

.account-ledger-filters label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #53677d;
  font-weight: 700;
  white-space: nowrap;
}

.account-ledger-filters button {
  min-width: 72px;
  height: 36px;
  border: 1px solid #1f6fa5;
  border-radius: 4px;
  background: #1f6fa5;
  color: #fff;
  cursor: pointer;
}

.account-ledger-filters button.gray {
  border-color: #cfd8e3;
  background: #fff;
  color: #475569;
}

.account-ledger-table-wrap {
  overflow-x: auto;
}

.account-ledger-asset {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: #eef6ff;
  color: #1f6fa5;
  font-weight: 700;
}

.account-ledger-table .increase,
.account-ledger-table .decrease {
  font-weight: 700;
}

.account-ledger-table .increase {
  color: #ff4d00;
}

.account-ledger-table .decrease {
  color: #009944;
}

.account-ledger-table .remark {
  max-width: 340px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-dashboard {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.account-dashboard-hero {
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #e6d8bd;
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(255, 244, 225, .92) 0%, rgba(255, 255, 255, .96) 44%, rgba(231, 247, 255, .9) 100%);
}

.account-status-overview {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.account-status-overview button {
  position: relative;
  min-height: 96px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 3px 10px;
  padding: 12px;
  border: 1px solid #dfe8f2;
  border-radius: 7px;
  background: #fff;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
}

.account-status-overview button i {
  grid-row: 1 / span 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf7ff;
  color: #1f6fa5;
  font-size: 17px;
}

.account-status-overview button span {
  color: #64748b;
  font-size: 13px;
}

.account-status-overview button strong {
  min-width: 0;
  color: #102238;
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.account-status-overview button small {
  min-width: 0;
  color: #2c5a45;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.account-status-overview .account-login-status {
  background: #f7fbff;
}

.account-status-overview .account-signin-status {
  background: #fff8f2;
}

.account-status-overview .account-signin-status.done {
  background: #f3fbf6;
}

.account-status-overview .account-signin-status.done strong {
  color: #159947;
}

.account-status-overview .account-message-status {
  background: #f5fbf8;
}

.account-status-overview .account-message-status.has-unread {
  border-color: #fecaca;
  background: #fff7f7;
  box-shadow: 0 8px 18px rgba(239, 68, 68, .08);
}

.account-status-unread-badge {
  position: absolute;
  top: 10px;
  left: 36px;
  z-index: 1;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 10px rgba(239, 68, 68, .4);
  font-size: 11px;
  font-style: normal;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}

@keyframes accountUnreadPulse {
  0%,
  100% {
    transform: scale(.92);
    opacity: .82;
  }

  45% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-service-card.has-unread em,
  .account-status-unread-badge {
    animation: none;
  }
}

.account-status-overview .account-member-diamond {
  grid-row: 1 / span 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--diamond-top, #f8fafc), var(--diamond-mid, #dfe7ef));
}

.account-status-overview .account-member-diamond-svg {
  width: 34px;
  height: 30px;
  display: block;
}

.account-status-overview .account-member-diamond-svg path:not(:first-of-type) {
  fill: none;
  stroke: #1f2937;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-status-overview .account-member-diamond-svg path:first-of-type {
  stroke: #1f2937;
  stroke-width: 3;
  stroke-linejoin: round;
}

.account-status-overview .account-member-diamond-svg path:nth-of-type(2) {
  stroke-width: 1.8;
  opacity: .78;
}

.account-status-overview .account-member-diamond-svg path:nth-of-type(3) {
  fill: #fff;
  opacity: .22;
  stroke: none;
}

.account-status-overview .account-member-diamond-svg path:nth-of-type(4) {
  stroke: #fff;
  stroke-width: 2;
  opacity: .62;
}

.account-status-overview .account-member-diamond.empty {
  filter: grayscale(1);
  opacity: .58;
}

.account-status-overview .account-member-status.active {
  border-color: var(--diamond-mid, #3165ff);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.account-identity img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .16);
}

.account-identity strong,
.account-identity span {
  display: block;
}

.account-identity strong {
  color: #132338;
  font-size: 22px;
}

.account-identity span {
  margin-top: 6px;
  color: #5d6c7d;
}

.account-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-hero-actions button {
  min-width: 108px;
}

.account-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-metric-card {
  min-height: 104px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-content: center;
  gap: 4px 8px;
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  padding: 11px;
  cursor: pointer;
}

.account-metric-card.login {
  background: #f7fbff;
}

.account-metric-card > i {
  grid-row: 1 / span 4;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf7ff;
  color: #1f6fa5;
  font-size: 16px;
}

.account-metric-card span {
  color: #6b7888;
  white-space: nowrap;
}

.account-metric-card strong {
  color: #f4511e;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.account-metric-card strong em {
  display: inline;
  margin-left: 4px;
  color: #1f5a43;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  white-space: nowrap;
}

.account-metric-card em {
  min-width: 0;
  color: #1f5a43;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.account-metric-card small {
  min-width: 0;
  color: #536579;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
}

.account-metric-card.bank {
  background: #f8fbff;
}

.account-metric-card.point {
  background: #fffaf0;
}

.account-metric-card.msg {
  background: #f5fbf8;
}

.account-metric-card.real {
  background: #f7fbff;
}

.account-metric-card.real.done strong,
.account-metric-card.mobile.done strong {
  color: #102238;
}

.account-metric-card.mobile {
  background: #f8fbff;
}

.account-metric-card.downline {
  background: #f6fbff;
}

.account-metric-card.promo {
  background: #fffaf0;
}

.account-metric-card.eco-month {
  background: #f7fbff;
}

.account-metric-card.eco-last {
  background: #f8fbf7;
}

.account-metric-card.eco-total {
  background: #fffaf0;
}

.account-metric-card.signin {
  background: #fff8f2;
}

.account-metric-card.signin.done {
  background: #f3fbf6;
}

.account-metric-card.signin.done strong {
  color: #159947;
}

.account-reward-strip {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.account-reward-strip > div {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #f1d6a9;
  border-radius: 6px;
  background: #fffaf0;
}

.account-reward-strip strong {
  color: #9a6500;
  font-size: 17px;
}

.account-reward-strip span {
  color: #6b7280;
}

.account-reward-strip b {
  color: #f60;
  overflow-wrap: anywhere;
}

.account-benefit-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.account-benefit-card {
  min-width: 0;
  min-height: 188px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: #fff;
  color: #18283b;
  text-align: left;
  cursor: pointer;
}

.account-benefit-card:hover {
  border-color: #b8cce1;
  box-shadow: 0 8px 22px rgba(31, 72, 103, .08);
}

.account-benefit-card header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.account-benefit-card header > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf6ff;
  color: #146db4;
  font-size: 16px;
}

.account-benefit-card.first header > i {
  background: #fff3e8;
  color: #e06916;
}

.account-benefit-card.loss header > i {
  background: #eff7f2;
  color: #1f8a52;
}

.account-benefit-card.rank header > i {
  background: #f2f5ff;
  color: #5267c9;
}

.account-benefit-card header strong,
.account-benefit-card header span,
.account-benefit-card p,
.account-benefit-card > small,
.account-benefit-rules span,
.account-benefit-rules small,
.account-benefit-ranks span,
.account-benefit-ranks b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-benefit-card header strong {
  display: block;
  color: #10243a;
  font-size: 16px;
}

.account-benefit-card header span,
.account-benefit-card > small {
  color: #657587;
  font-size: 12px;
}

.account-benefit-card p {
  margin: 0;
  color: #f60;
  font-weight: 700;
}

.account-benefit-card > small {
  display: block;
}

.account-benefit-rules {
  display: grid;
  gap: 8px;
}

.account-benefit-rules > div {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #edf2f7;
}

.account-benefit-rules b {
  color: #f60;
  white-space: nowrap;
}

.account-benefit-rules i {
  grid-column: 1 / 3;
  height: 8px;
  border-radius: 8px;
  background: #e5e7eb;
  overflow: hidden;
}

.account-benefit-rules em {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ff7a2a;
}

.account-benefit-card.loss .account-benefit-rules em {
  background: #25a764;
}

.account-benefit-rules small {
  grid-column: 1 / 3;
  color: #657587;
}

.account-benefit-ranks {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.account-benefit-ranks > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(92px, .85fr) minmax(92px, .72fr) minmax(120px, 1.1fr);
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 0;
  border-top: 1px solid #edf2f7;
}

.account-benefit-ranks i {
  color: #5267c9;
  text-align: center;
}

.account-benefit-rank-name {
  color: #46576a;
  white-space: nowrap;
}

.account-benefit-rank-state {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.account-benefit-rank-state strong {
  color: #f60;
  font-size: 14px;
  line-height: 1.2;
}

.account-benefit-rank-state small,
.account-benefit-rank-award small {
  color: #66758a;
  font-size: 12px;
  line-height: 1.35;
}

.account-benefit-ranks .unranked .account-benefit-rank-state strong {
  color: #566578;
}

.account-benefit-rank-award {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 7px;
  white-space: nowrap;
  justify-self: end;
}

.account-benefit-rank-award:before {
  content: "奖励";
  color: #66758a;
  font-size: 12px;
}

.account-benefit-rank-award b {
  color: #f60;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
}

.account-benefit-rank-award.encourage:before {
  display: none;
}

.account-benefit-rank-award.encourage small {
  color: #526172;
  font-size: 13px;
  font-weight: 700;
}

.account-benefit-rank-card {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #34465d;
  line-height: 1.2;
}

.account-benefit-rank-card em {
  min-width: 0;
  color: #34465d;
  font-style: normal;
  white-space: nowrap;
}

.account-benefit-rank-diamond {
  flex: 0 0 auto;
  width: 21px;
  height: 18px;
}

.account-benefit-rank-diamond path:not(:first-of-type) {
  fill: none;
  stroke: #1f2937;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-benefit-rank-diamond path:first-of-type {
  stroke: #1f2937;
  stroke-width: 3;
  stroke-linejoin: round;
}

.account-benefit-rank-diamond path:nth-of-type(2) {
  stroke-width: 1.8;
  opacity: .78;
}

.account-benefit-rank-diamond path:nth-of-type(3) {
  fill: #fff;
  opacity: .22;
  stroke: none;
}

.account-benefit-rank-diamond path:nth-of-type(4) {
  stroke: #fff;
  stroke-width: 2;
  opacity: .62;
}

.account-action-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-action-group {
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.account-action-group header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #f4f8fb;
  border-bottom: 1px solid #e5edf4;
}

.account-action-group header strong {
  color: #173d2d;
}

.account-action-group header span {
  color: #718096;
  font-size: 12px;
}

.account-action-group > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 1px;
  background: #edf2f7;
}

.account-action-group a {
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: #fff;
  color: #15263d;
}

.account-action-group a b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #31a7e8, #1f5a43);
}

.account-action-group a b i {
  font-size: 15px;
  line-height: 1;
}

.account-action-group a span {
  font-size: 13px;
}

.account-record-grid {
  margin-top: 14px;
}

.profile-form-panel {
  min-height: 420px;
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #f7fafc;
}

.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #d9e5ef;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f7fb 100%);
}

.profile-hero span,
.profile-form-section header span {
  display: block;
  color: #5f7287;
  font-size: 13px;
  line-height: 1.5;
}

.profile-hero h2 {
  margin: 0;
  color: #10263f;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.profile-completion {
  min-width: 150px;
  display: grid;
  justify-items: end;
  gap: 4px;
}

.profile-completion strong {
  color: #ff4b1f;
  font-size: 24px;
  line-height: 1.2;
}

.profile-completion span {
  color: #526477;
}

.profile-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-status-card {
  min-width: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dfe8f1;
  border-radius: 6px;
  background: #fff;
}

.profile-status-card i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef7ff;
  color: #1672ad;
}

.profile-status-card span,
.profile-status-card strong {
  min-width: 0;
  display: block;
}

.profile-status-card span {
  color: #607086;
  line-height: 1.4;
}

.profile-status-card span em {
  margin-left: 6px;
  color: #e85b11;
  font-style: normal;
}

.profile-status-card strong {
  overflow: hidden;
  color: #10263f;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-status-card small {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #607086;
  white-space: nowrap;
}

.profile-status-card.done small,
.profile-status-card.done i {
  background: #edf9f1;
  color: #168346;
}

.profile-status-card.required small,
.profile-status-card.required i {
  background: #fff6ef;
  color: #e85b11;
}

.profile-form {
  display: grid;
  gap: 14px;
  padding: 0;
}

.profile-form-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce6ef;
  border-radius: 6px;
  background: #fff;
}

.profile-form-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-form-section header strong {
  color: #ff4b1f;
  line-height: 1.5;
  text-align: right;
}

.profile-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-field,
.profile-row {
  min-width: 0;
  display: grid;
  gap: 7px;
  align-content: start;
}

.profile-field > span,
.profile-row > label {
  color: #526477;
  line-height: 1.5;
}

.profile-field-wide {
  grid-column: 1 / -1;
}

.profile-required-badge {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0 6px;
  border: 1px solid #ffd1b5;
  border-radius: 2px;
  background: #fff6ef;
  color: #e85b11;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.profile-field input,
.profile-field select,
.profile-row input,
.profile-row select {
  width: 100%;
  max-width: none;
  height: 40px;
  border: 1px solid #cfd5de;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: #111827;
}

.profile-field input.locked,
.profile-row input.locked {
  background: #f4f5f7;
  color: #6b7280;
}

.profile-static {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-static small,
.profile-static span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 2px;
  background: #e7f8ed;
  color: #168346;
  font-size: 12px;
}

.profile-tip {
  margin: 6px 0 0;
  color: #6b7280;
  line-height: 1.5;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 2px 0 0;
}

.profile-actions button,
.profile-actions a {
  min-width: 112px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.profile-actions button {
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.profile-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.password-form-panel {
  min-height: 420px;
  padding: 4px 16px 20px;
}

.password-rule {
  max-width: 760px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid #e2e6eb;
  border-radius: 4px;
  background: #f1f3f5;
  color: #3f4b5c;
}

.password-form {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.password-status {
  margin-left: 134px;
}

.password-status span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 3px;
  background: #e7f8ed;
  color: #168346;
}

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

.password-row > label {
  text-align: right;
  color: #333;
}

.password-row input {
  width: 100%;
  max-width: 360px;
  height: 40px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
  background: #fff;
}

.password-captcha {
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-captcha input {
  width: 120px;
}

.password-captcha img {
  width: 68px;
  height: 28px;
  border: 1px solid #cfd5de;
  cursor: pointer;
}

.password-actions {
  display: flex;
  gap: 12px;
  margin-left: 134px;
}

.password-actions button {
  min-width: 112px;
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.password-actions .gray {
  background: #9aa3af;
}

.password-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.security-form-panel {
  min-height: 430px;
  padding: 4px 16px 20px;
}

.security-card {
  max-width: 820px;
}

.security-tips {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #e2e6eb;
  border-radius: 4px;
  background: #f6f8fb;
}

.security-tips p {
  margin: 0;
  color: #3f4b5c;
}

.security-tips strong {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 3px;
  background: #fff0f0;
  color: #c53030;
}

.security-tips strong.ok {
  background: #e7f8ed;
  color: #168346;
}

.security-form {
  display: grid;
  gap: 14px;
}

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

.security-row > label {
  text-align: right;
  color: #333;
}

.security-row input,
.security-row select {
  width: 100%;
  max-width: 420px;
  height: 40px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
  background: #fff;
}

.security-code {
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-code input {
  width: 160px;
}

.security-code button {
  min-width: 108px;
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.security-phone {
  color: #26364b;
}

.security-actions {
  display: flex;
  gap: 12px;
  margin-left: 134px;
}

.security-actions button {
  min-width: 112px;
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.security-actions .gray {
  background: #9aa3af;
}

.security-actions button:disabled,
.security-code button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.receiver-panel {
  min-height: 430px;
  padding: 4px 14px 20px;
}

.welfare-code-panel {
  min-height: 430px;
  padding: 4px 14px 20px;
}

.welfare-code-box {
  display: grid;
  gap: 14px;
}

.welfare-code-form {
  display: grid;
  grid-template-columns: 92px minmax(260px, 1fr) 112px 90px;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  background: #fff;
}

.welfare-code-form label {
  display: contents;
}

.welfare-code-form span {
  text-align: right;
  color: #333;
}

.welfare-code-form input {
  height: 38px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
  background: #fff;
}

.welfare-code-form button {
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.welfare-code-form .gray {
  background: #9aa3af;
}

.welfare-code-form button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.welfare-code-tips {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e2e6eb;
  border-radius: 4px;
  background: #f6f8fb;
  color: #3f4b5c;
  line-height: 1.6;
}

.welfare-code-tips p {
  margin: 0;
}

.welfare-code-table td {
  vertical-align: middle;
}

.points-exchange-panel {
  min-height: 430px;
  padding: 14px;
  background: #f7fafc;
}

.points-exchange-box {
  display: grid;
  gap: 14px;
}

.points-exchange-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #d9e5ef;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f7fb 100%);
}

.points-exchange-hero span,
.points-exchange-form header span,
.points-exchange-records header span {
  display: block;
  color: #5f7287;
  font-size: 13px;
  line-height: 1.5;
}

.points-exchange-hero h2,
.points-exchange-records h3 {
  margin: 0;
  color: #10263f;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.points-exchange-hero strong {
  min-width: 136px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #c8dfef;
  border-radius: 4px;
  background: #edf7ff;
  color: #1269a8;
  white-space: nowrap;
}

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

.points-exchange-metric {
  min-width: 0;
  min-height: 96px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value"
    "icon note";
  align-content: center;
  gap: 4px 12px;
  padding: 16px;
  border: 1px solid #dbe7f1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 72, 110, .05);
}

.points-exchange-metric.primary {
  border-color: #f4d7a8;
  background: #fffaf0;
}

.points-exchange-metric i {
  grid-area: icon;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef7ff;
  color: #1672ad;
  font-size: 16px;
}

.points-exchange-metric.primary i {
  background: #fff0d8;
  color: #d86c00;
}

.points-exchange-metric span {
  grid-area: label;
  min-width: 0;
  color: #607086;
  line-height: 1.4;
}

.points-exchange-metric strong {
  grid-area: value;
  min-width: 0;
  color: #ff4b1f;
  font-size: 20px;
  line-height: 1.25;
  word-break: break-word;
}

.points-exchange-metric small {
  grid-area: note;
  color: #27445e;
}

.points-exchange-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.points-exchange-rule-grid div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
  background: #fff;
}

.points-exchange-rule-grid span,
.points-exchange-rule-grid em {
  color: #66778a;
  font-style: normal;
}

.points-exchange-rule-grid strong {
  color: #16314c;
  line-height: 1.4;
}

.points-exchange-rule-grid strong.ok,
.points-exchange-status {
  color: #168346;
}

.points-exchange-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dce6ef;
  border-radius: 6px;
  background: #fff;
}

.points-exchange-form header,
.points-exchange-records header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.points-exchange-form header strong,
.points-exchange-records header strong {
  color: #ff4b1f;
  white-space: nowrap;
}

.points-exchange-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef4;
}

.points-exchange-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f7ab5, #25a078);
}

.points-exchange-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.points-exchange-form label,
.points-exchange-estimate {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.points-exchange-form label span,
.points-exchange-estimate span {
  color: #526477;
  line-height: 1.5;
}

.points-exchange-form input,
.points-exchange-form em {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #cfdae7;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font-style: normal;
  line-height: 1.5;
}

.points-exchange-form em {
  height: auto;
  min-height: 40px;
  padding-top: 9px;
  padding-bottom: 9px;
  word-break: break-word;
}

.points-exchange-question {
  grid-column: 1 / 2;
}

.points-exchange-estimate {
  min-height: 74px;
  align-content: center;
  padding: 12px;
  border: 1px solid #fde1bc;
  border-radius: 6px;
  background: #fff8ef;
}

.points-exchange-estimate b {
  color: #ff4b1f;
  font-size: 20px;
  line-height: 1.2;
}

.points-exchange-estimate small {
  color: #7a5a30;
}

.points-exchange-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.points-exchange-actions button {
  min-width: 90px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.points-exchange-actions .blue {
  background: #2473a8;
}

.points-exchange-actions .green {
  background: #168346;
}

.points-exchange-actions .gray {
  background: #9aa3af;
}

.points-exchange-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.points-exchange-records {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce6ef;
  border-radius: 6px;
  background: #fff;
}

.points-exchange-records-wrap {
  overflow-x: auto;
}

.points-exchange-table {
  min-width: 760px;
}

.points-exchange-table th,
.points-exchange-table td {
  vertical-align: middle;
}

.points-exchange-table .remark {
  min-width: 220px;
  white-space: normal;
  word-break: break-word;
}

.points-exchange-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf9f1;
}

.receiver-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e8ef;
}

.receiver-tabs button {
  min-width: 92px;
  height: 36px;
  border: 1px solid #d1d9e4;
  border-radius: 3px;
  background: #fff;
  color: #28384d;
  cursor: pointer;
}

.receiver-tabs button.active {
  border-color: #2375a8;
  background: #2375a8;
  color: #fff;
}

.receiver-tabs span {
  margin-left: 4px;
  color: inherit;
  opacity: .82;
}

.receiver-manager {
  display: grid;
  gap: 14px;
}

.receiver-empty-state {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d5dee9;
  border-radius: 6px;
  background: #fbfcfe;
}

.receiver-info {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e2e6eb;
  border-radius: 4px;
  background: #f6f8fb;
  color: #3f4b5c;
}

.receiver-info p {
  margin: 0;
}

.receiver-info strong {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 3px;
  background: #fff0f0;
  color: #c53030;
}

.receiver-info strong.ok {
  background: #e7f8ed;
  color: #168346;
}

.receiver-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.receiver-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #fff;
  position: relative;
}

.receiver-card-main {
  min-width: 0;
}

.receiver-card b,
.receiver-card p,
.receiver-card strong,
.receiver-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receiver-card b {
  color: #1f2d3d;
}

.receiver-card p {
  margin: 6px 0;
  color: #536273;
}

.receiver-card strong {
  color: #111827;
  font-family: Consolas, "Courier New", monospace;
}

.receiver-card small {
  margin-top: 5px;
  color: #7b8494;
}

.receiver-card img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 1px solid #e1e6ef;
  border-radius: 5px;
}

.receiver-card button {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 46px;
  height: 26px;
  border: 0;
  border-radius: 3px;
  background: #d24b4b;
  color: #fff;
  cursor: pointer;
}

.receiver-card button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.receiver-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  padding: 14px;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  background: #fbfcfe;
}

.receiver-form h3 {
  margin: 0 0 2px;
  color: #26364b;
  font-size: 16px;
}

.receiver-form label {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.receiver-form label > span {
  text-align: right;
  color: #333;
}

.receiver-form input,
.receiver-form select,
.receiver-form em {
  width: 100%;
  max-width: none;
  min-height: 40px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
  background: #fff;
}

.receiver-form input[type="file"] {
  padding: 8px 10px;
}

.receiver-form input[readonly],
.receiver-form em {
  display: flex;
  align-items: center;
  background: #f4f5f7;
  color: #4b5563;
  font-style: normal;
}

.receiver-form p {
  margin: -4px 0 2px 134px;
  color: #6b7280;
}

.receiver-actions {
  display: flex;
  gap: 12px;
  margin-left: 134px;
}

.receiver-actions button {
  min-width: 112px;
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.receiver-actions .gray {
  background: #9aa3af;
}

.receiver-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.receiver-limit {
  padding: 16px;
  border: 1px dashed #ccd5e2;
  border-radius: 6px;
  background: #f8fafc;
  color: #5b6778;
}

.message-panel {
  min-height: 430px;
  padding: 4px 14px 20px;
}

.message-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e8ef;
}

.message-tabs button {
  min-width: 86px;
  height: 36px;
  border: 1px solid #d1d9e4;
  border-radius: 3px;
  background: #fff;
  color: #28384d;
  cursor: pointer;
}

.message-tabs button.active {
  border-color: #2375a8;
  background: #2375a8;
  color: #fff;
}

.message-tabs .message-read-all {
  margin-left: auto;
  min-width: 92px;
  background: #f8fafc;
}

.message-fee {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #e2e6eb;
  border-radius: 4px;
  background: #f1f3f5;
  color: #465366;
}

.message-fee b {
  color: #f00;
}

.message-compose form {
  display: grid;
  gap: 13px;
  max-width: 760px;
}

.message-compose label {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.message-compose label > span {
  text-align: right;
}

.message-compose input,
.message-compose textarea {
  width: 100%;
  max-width: 520px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
  background: #fff;
}

.message-compose input {
  height: 38px;
}

.message-compose textarea {
  min-height: 126px;
  padding-top: 9px;
  resize: vertical;
}

.message-captcha {
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-captcha input {
  width: 120px;
}

.message-captcha img {
  width: 68px;
  height: 28px;
  border: 1px solid #cfd5de;
  cursor: pointer;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 126px;
}

.message-actions button,
.row-action {
  min-width: 76px;
  height: 34px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.message-actions .gray {
  background: #9aa3af;
}

.message-actions .danger,
.row-action.danger {
  background: #d24b4b;
}

.message-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.message-detail {
  max-width: 800px;
}

.message-detail-grid {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border: 1px solid #d8e0eb;
  border-bottom: 0;
}

.message-detail-grid span,
.message-detail-grid b {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #d8e0eb;
}

.message-detail-grid span {
  justify-content: center;
  background: #eef5ff;
  color: #536273;
  font-weight: 400;
}

.message-detail-grid b {
  color: #26364b;
  font-weight: 600;
  word-break: break-word;
}

.message-body {
  min-height: 180px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #d8e0eb;
  background: #fff;
  color: #243247;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.message-table th,
.message-table td {
  vertical-align: middle;
}

.message-table tr.unread td {
  background: #fffaf0;
  font-weight: 700;
}

.message-table .title {
  text-align: left;
  min-width: 240px;
}

.message-table .title button {
  display: block;
  max-width: 420px;
  border: 0;
  background: transparent;
  color: #1d5f99;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-table .title small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.35;
  word-break: break-word;
}

.row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  margin: 2px;
}

.login-log-panel {
  min-height: 430px;
  padding: 4px 14px 20px;
}

.login-log-table .ip {
  font-family: Consolas, "Courier New", monospace;
  color: #203145;
}

.login-client,
.login-status {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 12px;
  font-size: 12px;
  white-space: nowrap;
}

.login-client {
  background: #eef5ff;
  color: #2b5f95;
}

.login-status.ok {
  background: #e6f7ed;
  color: #168346;
}

.login-status.fail {
  background: #fff0f0;
  color: #c53030;
}

.bank-wallet-panel {
  min-height: 430px;
  padding: 4px 14px 20px;
  color: #1d2b3a;
}

.bank-wallet-box {
  display: grid;
  gap: 14px;
}

.bank-wallet-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #d9e4de;
  background:
    linear-gradient(135deg, rgba(247,251,249,.97), rgba(255,249,242,.97)),
    repeating-linear-gradient(90deg, rgba(36,115,168,.08) 0 1px, transparent 1px 22px);
}

.bank-wallet-title {
  display: grid;
  align-content: center;
  gap: 6px;
}

.bank-wallet-title span,
.bank-section-head span,
.bank-venue-head span {
  color: #ff6b2a;
  font-weight: 800;
}

.bank-wallet-title h2 {
  margin: 0;
  color: #123a2b;
  font-size: 24px;
}

.bank-wallet-title p {
  max-width: 660px;
  margin: 0;
  color: #60706a;
  line-height: 1.7;
}

.bank-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bank-balance-grid div {
  min-height: 104px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 3px 10px;
  padding: 14px;
  border: 1px solid #dce7e1;
  border-radius: 6px;
  background: #fff;
}

.bank-balance-grid i {
  grid-row: 1 / 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f2fb;
  color: #2473a8;
  font-size: 18px;
}

.bank-balance-grid span {
  color: #5d6c66;
}

.bank-balance-grid strong {
  max-width: 100%;
  color: #e53935;
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.bank-balance-grid em {
  color: #52645d;
  font-style: normal;
}

.bank-rule-note,
.bank-transfer-form,
.bank-venue-panel,
.bank-record-panel {
  padding: 12px;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  background: #fff;
  color: #3f4b5c;
  line-height: 1.6;
}

.bank-rule-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  background: #f7faf8;
}

.bank-rule-note p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-wrap: anywhere;
}

.bank-rule-note i {
  margin-top: 4px;
  color: #2473a8;
}

.bank-wallet-main {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: stretch;
}

.bank-transfer-form {
  display: grid;
  gap: 12px;
  height: 100%;
  align-content: start;
}

.bank-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-section-head strong {
  display: block;
  margin-top: 2px;
  color: #123a2b;
  font-size: 16px;
}

.bank-clear-btn {
  min-width: 68px;
  height: 32px;
  border: 1px solid #cfd7e2;
  border-radius: 4px;
  background: #fff;
  color: #52645d;
  cursor: pointer;
}

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

.bank-direction-tabs button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cbdbe4;
  border-radius: 4px;
  background: #fff;
  color: #17384f;
  cursor: pointer;
}

.bank-direction-tabs button.active {
  border-color: #2473a8;
  background: #2473a8;
  color: #fff;
}

.bank-transfer-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.bank-transfer-route > div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px;
  border: 1px solid #dfe8e4;
  border-radius: 5px;
  background: #fbfdfc;
}

.bank-transfer-route > i {
  color: #2473a8;
  text-align: center;
}

.bank-transfer-route span,
.bank-field span {
  color: #667085;
}

.bank-transfer-route strong {
  color: #123a2b;
  font-size: 15px;
}

.bank-transfer-route em {
  color: #ef5b18;
  font-style: normal;
  overflow-wrap: anywhere;
}

.bank-field {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.bank-field input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #cfd5de;
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: #111827;
}

.bank-field em {
  color: #52645d;
  font-style: normal;
  white-space: nowrap;
}

.bank-quick-row,
.bank-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bank-quick-row button {
  min-width: 72px;
  height: 34px;
  border: 1px solid #cfd7e2;
  background: #fff;
  cursor: pointer;
}

.bank-quick-row .blue {
  background: #2473a8;
  color: #fff;
  border-color: #2473a8;
}

.bank-actions button {
  min-width: 112px;
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.bank-actions .gray {
  background: #9aa3af;
}

.bank-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.bank-venue-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
}

.bank-venue-panel *,
.bank-venue-body,
.bank-venue-control,
.bank-venue-transfer,
.bank-venue-auto {
  min-width: 0;
}

.bank-venue-head,
.bank-venue-control,
.bank-venue-transfer,
.bank-venue-auto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bank-venue-head strong {
  display: block;
  margin-top: 2px;
  color: #123a2b;
  font-size: 16px;
}

.bank-venue-panel p,
.bank-venue-auto p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bank-venue-actions,
.bank-venue-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 100%;
}

.bank-venue-actions button,
.bank-venue-control button,
.bank-venue-transfer > button,
.bank-venue-auto button,
.bank-venue-quick button {
  min-width: 82px;
  height: 34px;
  border: 1px solid #2375a8;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.bank-venue-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bank-venue-actions .green {
  border-color: #168346;
  background: #168346;
}

.bank-venue-quick button {
  min-width: 66px;
  border-color: #cfd7e2;
  background: #fff;
  color: #334155;
}

.bank-venue-quick .gray {
  border-color: #9aa3af;
  background: #9aa3af;
  color: #fff;
}

.bank-venue-actions button:disabled,
.bank-venue-control button:disabled,
.bank-venue-transfer > button:disabled,
.bank-venue-auto button:disabled {
  cursor: not-allowed;
  opacity: .55;
  border-color: #9ca3af;
  background: #9ca3af;
}

.bank-venue-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding-top: 8px;
}

.bank-venue-control {
  grid-template-columns: minmax(300px, 1fr) minmax(210px, .72fr) 104px;
  gap: 12px 14px;
}

.bank-venue-route {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid #dfe8e4;
  border-radius: 5px;
  background: #fbfdfc;
}

.bank-venue-route span {
  color: #667085;
}

.bank-venue-route strong {
  color: #123a2b;
  overflow-wrap: anywhere;
}

.bank-venue-control label,
.bank-venue-transfer label,
.bank-venue-auto label {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.bank-venue-control label span,
.bank-venue-transfer label span,
.bank-venue-auto label span {
  text-align: right;
  color: #344054;
}

.bank-venue-control select,
.bank-venue-transfer select,
.bank-venue-transfer input,
.bank-venue-auto select {
  width: 100%;
  height: 36px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
  background: #fff;
  color: #111827;
}

.bank-venue-transfer .bank-venue-direction-field {
  grid-template-columns: 76px minmax(154px, 1fr);
}

.bank-venue-transfer .bank-venue-amount-field {
  grid-template-columns: 50px minmax(0, 1fr) 24px;
}

.bank-venue-transfer label em {
  font-style: normal;
  color: #475467;
}

.bank-venue-balance {
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #dfe7f2;
  border-radius: 4px;
  background: #fff;
  white-space: nowrap;
}

.bank-venue-balance span {
  color: #667085;
  font-size: 12px;
}

.bank-venue-balance strong {
  color: #e53935;
  font-size: 16px;
  line-height: 1;
}

.bank-venue-control button {
  height: 36px;
}

.bank-venue-positive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.bank-venue-positive-list button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #cfe1d8;
  border-radius: 4px;
  background: #f7fcfa;
  color: #1d3a2f;
  cursor: pointer;
  text-align: left;
}

.bank-venue-positive-list span,
.bank-venue-positive-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bank-venue-positive-list strong {
  flex: 0 0 auto;
  color: #e53935;
}

.bank-venue-transfer {
  grid-template-columns: minmax(170px, .78fr) minmax(250px, 1.12fr) minmax(220px, 1fr);
  align-items: center;
  box-sizing: border-box;
  margin-top: 2px;
  padding: 14px 12px;
  border: 1px solid #e1e8ef;
  border-radius: 6px;
  background: #fbfdff;
}

.bank-venue-transfer .bank-venue-route {
  grid-row: 1 / 3;
  min-height: 96px;
  align-self: stretch;
}

.bank-venue-transfer .bank-venue-quick {
  grid-column: 2 / 4;
  justify-content: flex-start;
}

.bank-venue-submit {
  justify-self: start;
  width: 100%;
  max-width: 170px;
}

.bank-venue-auto {
  grid-template-columns: minmax(220px, .5fr) auto minmax(0, 1fr);
  margin-top: auto;
  padding: 12px;
  border: 1px solid #e1e8ef;
  border-radius: 6px;
  background: #f8fbfc;
}

.bank-record-panel {
  display: grid;
  gap: 12px;
}

.bank-log-scroll {
  overflow-x: auto;
}

.bank-log-table {
  min-width: 720px;
}

.bank-log-table th,
.bank-log-table td {
  vertical-align: middle;
}

.bank-log-table .increase,
.bank-log-table .decrease,
.bank-log-table .neutral {
  font-weight: 700;
  white-space: nowrap;
}

.bank-log-table .increase {
  color: #ff4d00;
}

.bank-log-table .decrease {
  color: #009944;
}

.bank-log-table .neutral {
  color: #475467;
}

.bank-log-time {
  width: 168px;
  white-space: nowrap;
}

.bank-log-remark {
  min-width: 280px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .bank-wallet-hero,
  .bank-wallet-main,
  .bank-venue-head,
  .bank-venue-control,
  .bank-venue-transfer,
  .bank-venue-auto {
    grid-template-columns: 1fr;
  }

  .bank-venue-actions,
  .bank-venue-quick {
    justify-content: flex-start;
  }

  .bank-venue-transfer .bank-venue-quick,
  .bank-venue-submit {
    grid-column: auto;
    max-width: none;
  }

  .bank-venue-auto {
    margin-top: 0;
  }

  .bank-rule-note,
  .bank-balance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bank-transfer-route,
  .bank-field {
    grid-template-columns: 1fr;
  }

  .bank-transfer-route > i {
    transform: rotate(90deg);
  }
}

.agent-wallet-tabs {
  height: 41px;
  display: flex;
  align-items: stretch;
  margin: -2px -2px 18px;
  border-bottom: 1px solid #d8d8d8;
  background: #f1f1f1;
}

.agent-wallet-tabs button,
.agent-wallet-tabs a {
  min-width: 108px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 0;
  border-right: 1px solid #d8d8d8;
  background: #f1f1f1;
  color: #111;
  cursor: pointer;
}

.agent-wallet-tabs .active {
  background: #fff;
  color: #ff3366;
}

.recharge-withdraw-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid #d9e5ef;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f8fb 100%);
}

.recharge-withdraw-head > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f2fb;
  color: #1672ad;
  font-size: 18px;
}

.recharge-withdraw-head span {
  display: block;
  color: #5f7287;
  font-size: 13px;
  line-height: 1.4;
}

.recharge-withdraw-head h2 {
  margin: 1px 0 4px;
  color: #10263f;
  font-size: 20px;
  line-height: 1.35;
}

.recharge-withdraw-head p {
  margin: 0;
  color: #516272;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.recharge-withdraw-tabs {
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 108px));
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5edf4;
  background: #fff;
}

.recharge-withdraw-tabs button {
  min-width: 0;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d9e4ee;
  border-radius: 4px;
  background: #f8fafc;
  color: #26384b;
  font-weight: 400;
}

.recharge-withdraw-tabs button.active,
.recharge-withdraw-tabs button:hover {
  border-color: #1f6fa5;
  background: #1f6fa5;
  color: #fff;
}

.wallet-form {
  display: grid;
  gap: 14px;
  padding: 8px 24px 22px;
}

.wallet-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.wallet-row > label {
  color: #333;
  text-align: right;
}

.wallet-note {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #e2e6eb;
  border-radius: 4px;
  background: #f1f3f5;
  color: #3f4b5c;
  line-height: 22px;
}

.wallet-note p {
  margin: 0 0 4px;
}

.wallet-note p:last-child {
  margin-bottom: 0;
}

.wallet-note a {
  color: #f00;
  font-weight: 700;
}

.recharge-guide-note {
  display: grid;
  gap: 4px;
  align-items: start;
}

.recharge-guide-note .recharge-guide-link {
  justify-self: end;
  min-width: 112px;
  height: 38px;
  margin-top: 8px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.agent-receiver-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.agent-receiver-field select {
  width: 360px;
  max-width: 100%;
  height: 40px;
  border: 1px solid #888;
  background: #fff;
  padding: 0 8px;
}

.agent-receiver-empty {
  color: #5b6778;
}

.agent-receiver-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-receiver-links a {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d6dde7;
  border-radius: 4px;
  background: #fff;
  color: #111;
}

.wallet-amount {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wallet-amount input,
.wallet-submit-form input {
  width: 220px;
  max-width: 100%;
  height: 40px;
  border: 1px solid #cfd5de;
  padding: 0 10px;
}

.wallet-amount em {
  color: #56616b;
  font-style: normal;
}

.wallet-amount b {
  color: #f00;
}

.wallet-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 128px;
}

.wallet-quick button {
  min-width: 72px;
  height: 34px;
  border: 1px solid #cfd7e2;
  background: #fff;
  cursor: pointer;
}

.wallet-quick .blue {
  background: #2473a8;
  color: #fff;
  border-color: #2473a8;
}

.wallet-submit-form {
  display: grid;
  gap: 14px;
}

.wallet-security-question {
  min-height: 40px;
  display: flex;
  align-items: center;
  color: #3f4b5c;
}

.wallet-actions {
  display: flex;
  gap: 12px;
  margin-left: 128px;
}

.wallet-actions button {
  min-width: 112px;
  height: 38px;
  border: 0;
  border-radius: 3px;
  background: #2375a8;
  color: #fff;
  cursor: pointer;
}

.wallet-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #9ca3af;
}

.wallet-actions .gray {
  background: #9aa3af;
}

.wallet-warn {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid #ffd2d2;
  border-radius: 4px;
  background: #fff5f5;
  color: #b91c1c;
}

.wallet-warn.ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.wallet-warn.ok button {
  height: 32px;
  margin-top: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: #15803d;
  color: #fff;
  cursor: pointer;
}

.wallet-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wallet-balance-grid div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  background: #f8fafc;
}

.wallet-balance-grid span {
  color: #66758a;
}

.wallet-balance-grid strong {
  color: #f45f18;
  font-size: 22px;
}

.wallet-section-title {
  margin-top: 4px;
  font-weight: 700;
  color: #162236;
}

.recharge-channel-grid,
.recharge-guide-wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
}

.recharge-channel-grid button,
.recharge-guide-wallet-grid button {
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
}

.recharge-channel-grid button.active,
.recharge-guide-wallet-grid button.active {
  border-color: #1f7ed6;
  background: #eef6ff;
}

.recharge-channel-grid i,
.recharge-guide-wallet-grid i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1f7ed6;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.recharge-channel-grid span,
.recharge-guide-wallet-grid span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.recharge-channel-grid em {
  grid-column: 2;
  color: #f45f18;
  font-size: 12px;
  font-style: normal;
}

.recharge-business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.recharge-business-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
}

.recharge-business-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}

.recharge-business-card strong,
.recharge-business-card span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recharge-business-card strong {
  color: #172033;
}

.recharge-business-card span {
  margin-top: 3px;
  color: #64748b;
}

.recharge-business-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}

.recharge-business-card button,
.recharge-record-tools button,
.recharge-record-table button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
}

.desktop-usdt-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce5f0;
  border-radius: 6px;
  background: #f8fbff;
}

.desktop-usdt-box > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.desktop-usdt-box button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #c7d2e1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.desktop-usdt-address {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.desktop-usdt-address img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.desktop-usdt-address p {
  min-width: 0;
  margin: 0;
}

.desktop-usdt-address span {
  display: block;
  margin: 6px 0;
  overflow-wrap: anywhere;
  color: #334155;
}

.recharge-record-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.recharge-record-table td {
  vertical-align: middle;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.stat-grid div {
  min-height: 88px;
  display: grid;
  place-items: center;
  background: #f2f8ff;
  border-radius: 8px;
}

.stat-grid strong,
.stat-grid span {
  display: block;
}

.stat-grid strong {
  color: #f60;
  font-size: 18px;
}

.stat-grid span {
  color: #58708a;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.quick-grid a {
  padding: 10px;
  background: #fff;
  border: 1px solid #dce7f2;
  color: #1f74b5;
  text-align: center;
}

.monthly-reward-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 4px 0 14px;
}

.monthly-reward-panel > div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  background: #fffaf0;
  border: 1px solid #f1d6a9;
  border-radius: 8px;
}

.monthly-reward-panel strong {
  color: #9a6500;
  font-size: 18px;
}

.monthly-reward-panel span {
  color: #6b7280;
}

.monthly-reward-panel b {
  color: #f60;
  font-size: 16px;
}

.invite-panel {
  display: grid;
  gap: 16px;
}

.promotion-panel {
  display: grid;
  gap: 16px;
}

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

.promotion-stats div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #e1e8f0;
  border-radius: 7px;
  background: #fbfdff;
}

.promotion-stats span,
.promotion-stats em {
  color: #64748b;
  font-style: normal;
}

.promotion-stats strong {
  color: #f4511e;
  font-size: 22px;
}

.promotion-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.promotion-link-card,
.promotion-table-card {
  min-width: 0;
  border: 1px solid #dfe8f2;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.promotion-link-card {
  padding: 16px;
}

.promotion-link-card header,
.promotion-table-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.promotion-link-card header {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.promotion-link-card header > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #31a7e8, #1f5a43);
}

.promotion-link-card h3,
.promotion-table-card h3 {
  margin: 0 0 4px;
  color: #132338;
  font-size: 17px;
}

.promotion-link-card p,
.promotion-table-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.promotion-mode-block {
  display: grid;
  gap: 10px;
  padding: 8px 0 20px;
  border-bottom: 1px solid #e8eef5;
}

.promotion-mode-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.promotion-mode-block h3 {
  margin: 0;
  color: #102238;
  font-size: 20px;
  line-height: 1.35;
}

.promotion-mode-block p {
  color: #4b5f73;
  line-height: 1.8;
}

.promotion-mode-block .copy-row {
  margin-top: 4px;
}

.promotion-copy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.promotion-copy-list label {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.promotion-copy-list label > span {
  color: #334155;
  font-weight: 700;
}

.promotion-note {
  margin-top: 12px !important;
  padding: 10px 12px;
  border: 1px solid #f1d6a9;
  background: #fffaf0;
}

.promotion-table-card header {
  padding: 13px 14px;
  border-bottom: 1px solid #e8eef5;
  background: #f8fafc;
}

.promotion-table-card header strong {
  color: #f4511e;
  white-space: nowrap;
}

.promotion-table {
  margin: 0;
  border: 0;
}

.promotion-table th,
.promotion-table td {
  white-space: nowrap;
}

.promotion-pager {
  min-height: 56px;
  border-top: 1px solid #e8eef5;
}

.promotion-rule-list {
  margin-top: 0;
}

.account-section-tabs,
.account-section-tabs :is(button, span, strong, b, em, small),
.account-main-flat > .data-table,
.account-main-flat > .data-table :is(th, td, strong, b, span, em, small, button),
.account-main-flat :is(
  .profile-form-panel,
  .password-form-panel,
  .security-form-panel,
  .receiver-panel,
  .welfare-code-panel,
  .points-exchange-panel,
  .bank-wallet-panel,
  .agent-wallet-tabs,
  .wallet-form,
  .promotion-panel,
  .account-stats-panel,
  .account-rebate-panel,
  .account-rank-reward-panel,
  .account-ledger-panel
),
.account-main-flat :is(
  .profile-form-panel,
  .password-form-panel,
  .security-form-panel,
  .receiver-panel,
  .welfare-code-panel,
  .points-exchange-panel,
  .bank-wallet-panel,
  .agent-wallet-tabs,
  .wallet-form,
  .promotion-panel,
  .account-stats-panel,
  .account-rebate-panel,
  .account-rank-reward-panel,
  .account-ledger-panel
) :is(h1, h2, h3, h4, h5, h6, th, td, label, strong, b, span, em, small, p, a, button, input, select, textarea, li) {
  font-weight: 400;
}

.invite-stats {
  margin-bottom: 0;
}

.invite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.invite-box {
  border: 1px solid #dce7f2;
  background: #fbfdff;
  padding: 14px;
}

.invite-box h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.invite-box p {
  margin: 0 0 12px;
  color: #546372;
  line-height: 1.7;
}

.invite-rule-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}

.invite-rule-line span {
  border: 1px solid #dce7f2;
  background: #f7fbff;
  color: #314256;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 13px;
}

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

.copy-row input {
  min-width: 0;
  height: 36px;
  border: 1px solid #cfdceb;
  padding: 0 10px;
  background: #fff;
}

.copy-row button {
  border: 0;
  background: #1f74b5;
  color: #fff;
  cursor: pointer;
}

.rule-list {
  margin: 0;
  padding: 12px 16px 12px 32px;
  background: #fff7ec;
  border: 1px solid #f4d7ae;
  color: #65513a;
  line-height: 1.8;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.data-panel {
  border: 1px solid #e2e2e2;
  padding: 12px;
}

.data-panel h3 {
  margin: 0 0 10px;
}

.data-table th {
  background: #f0f4f7;
}

.empty-panel {
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 10px;
  color: #333;
  text-align: center;
}

.empty-icon {
  width: 96px;
  height: 76px;
  margin: 0 auto;
  border: 6px solid #c8d6f6;
  border-radius: 12px;
  opacity: .75;
  position: relative;
}

.empty-icon:after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 38px;
  height: 38px;
  border: 6px solid #c8d6f6;
  border-radius: 50%;
  background: #fff;
}

.auth-shell {
  width: min(960px, calc(100vw - 40px));
  min-height: 470px;
  margin: 26px auto 44px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  box-shadow: 0 18px 42px rgba(31, 53, 74, .1);
}

.auth-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 34px;
  color: #1d2f43;
  background:
    linear-gradient(135deg, rgba(252, 129, 47, .18), transparent 38%),
    linear-gradient(315deg, rgba(78, 139, 205, .2), transparent 42%),
    #f3f6f9;
}

.auth-hero:before,
.auth-hero:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(64, 97, 128, .18);
  transform: rotate(-12deg);
}

.auth-hero:before {
  width: 170px;
  height: 96px;
  left: -42px;
  top: 30px;
}

.auth-hero:after {
  width: 210px;
  height: 118px;
  right: -88px;
  bottom: 34px;
}

.auth-hero b {
  display: block;
  margin-bottom: 76px;
  color: #51657a;
  font-size: 13px;
  letter-spacing: 0;
}

.auth-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #0f2740;
  font-size: 28px;
  line-height: 1.2;
}

.auth-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #536577;
  line-height: 1.8;
}

.auth-note-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.auth-note-list span {
  padding: 5px 9px;
  color: #23445f;
  background: rgba(255,255,255,.7);
  border: 1px solid #d6e0ea;
  font-size: 12px;
}

.login-panel {
  max-width: none;
  margin: 0;
}

.auth-form-panel {
  min-height: 100%;
  padding: 34px 38px;
  border: 0;
  border-left: 1px solid #dbe4ee;
  box-shadow: none;
}

.auth-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4ebf2;
}

.auth-title-row h2 {
  margin: 0 0 6px;
  color: #10243a;
  font-size: 22px;
}

.auth-title-row p {
  margin: 0;
  color: #6b7a89;
  font-size: 13px;
}

.login-panel label {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.login-panel label > span {
  color: #1d2b3a;
  font-weight: 700;
}

.login-panel input,
.login-panel select {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid #cfd8e3;
  padding: 0 12px;
  background: #fff;
  color: #152233;
  outline: none;
}

.login-panel input:focus,
.login-panel select:focus {
  border-color: #1f74b5;
  box-shadow: 0 0 0 2px rgba(31, 116, 181, .12);
}

.captcha-row {
  grid-template-columns: 118px minmax(120px, 1fr) 92px !important;
}

.captcha-row img {
  width: 92px;
  height: 40px;
  object-fit: cover;
  border: 1px solid #cfd8e3;
  cursor: pointer;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 2px 0 18px 130px;
  color: #445568;
}

.check-row input {
  width: 14px;
  height: 14px;
  padding: 0;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 130px;
}

.auth-actions .primary-btn {
  min-width: 118px;
}

.text-link {
  color: #1f74b5;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.auth-form-panel .auth-hint {
  margin: -6px 0 14px 130px;
  color: #7b8494;
  font-size: 12px;
  line-height: 1.6;
}

.auth-result {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #b8d7ff;
  background: #eff6ff;
  color: #1d4ed8;
  line-height: 1.7;
}

.login-panel .primary-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

@media (max-width: 820px) {
  .auth-shell {
    width: min(100% - 24px, 560px);
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 16px auto 28px;
  }

  .auth-hero {
    padding: 26px 24px;
  }

  .auth-hero b {
    margin-bottom: 28px;
  }

  .auth-form-panel {
    padding: 24px;
    border-left: 0;
    border-top: 1px solid #dbe4ee;
  }

  .auth-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .login-panel label,
  .captcha-row {
    grid-template-columns: 1fr !important;
    gap: 7px;
  }

  .captcha-row img {
    width: 118px;
  }

  .check-row,
  .auth-actions,
  .auth-form-panel .auth-hint {
    margin-left: 0;
  }
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

.pager button {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.pager button:disabled {
  color: #aaa;
  cursor: default;
}

.desktop-play-round-pager {
  margin: 10px 0 14px;
  gap: 8px;
}

.desktop-play-round-pager span {
  min-width: 54px;
  color: #334155;
  font-size: 13px;
}

.desktop-play-round-pager button {
  min-height: 28px;
  padding: 0 12px;
}

.site-footer {
  flex-shrink: 0;
  padding: 32px 16px;
  color: #fff;
  background: #020202;
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 22px;
}

.site-footer p {
  max-width: 1200px;
  margin: 0 auto;
  color: #c7c7c7;
}

.site-footer-copy + .site-footer-notice {
  margin-top: 12px;
}

.site-footer-notice {
  line-height: 22px;
}

.front-chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 360px;
  height: 500px;
  max-width: calc(100vw - 28px);
  display: flex;
  flex-direction: column;
  border: 1px solid #d8dee9;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .22);
}

.account-chat-panel {
  position: fixed;
  right: max(22px, calc((100vw - 1200px) / 2 + 22px));
  bottom: 24px;
  z-index: 90;
}

.front-chat-panel header {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #111827;
  color: #fff;
}

.front-chat-panel header strong {
  font-size: 15px;
}

.front-chat-panel header button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.front-chat-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background: #f5f7fb;
}

.front-chat-empty {
  margin: 42px 10px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

.front-chat-msg {
  display: flex;
  margin-bottom: 10px;
}

.front-chat-msg.user {
  justify-content: flex-end;
}

.front-chat-msg > div {
  max-width: 78%;
  padding: 9px 11px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
}

.front-chat-msg.user > div {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.front-chat-msg small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 11px;
}

.front-chat-msg.user small {
  color: rgba(255, 255, 255, .72);
}

.front-chat-form {
  padding: 10px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.front-chat-form textarea {
  width: 100%;
  height: 72px;
  resize: none;
  border: 1px solid #cfd6e1;
  padding: 8px;
  outline: none;
  font: 13px/1.5 Arial, "Microsoft YaHei", sans-serif;
}

.front-chat-form div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.front-chat-form small {
  flex: 1;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.front-chat-form button {
  height: 32px;
  border: 0;
  background: #2563eb;
  color: #fff;
  padding: 0 16px;
  cursor: pointer;
}

.front-chat-form button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .topline-inner,
  .brand-row {
    height: auto;
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    height: auto;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }

  .nav a {
    flex: 1 1 33.33%;
    min-width: 33.33%;
    height: 38px;
  }

  .notice-game-row,
  .service-row,
  .ad-layout,
  .invite-grid,
  .business-grid,
  .ranking-grid,
  .content-layout,
  .shop-layout,
  .account-layout,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .entertainment-type-tabs,
  .entertainment-provider-strip,
  .account-overview-head,
  .account-metric-grid,
  .account-reward-strip,
  .account-benefit-overview,
  .account-action-board,
  .account-status-overview,
  .promotion-stats,
  .desktop-task-grid,
  .desktop-profit-task-grid,
  .shop-summary-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-overview-user,
  .account-overview-actions {
    grid-column: 1 / -1;
  }

  .account-overview-actions {
    justify-content: flex-start;
  }

  .account-benefit-card {
    min-height: 0;
  }

  .desktop-profit-hero {
    grid-template-columns: 1fr;
  }

  .desktop-activity-hero,
  .desktop-activity-layout,
  .desktop-activity-detail {
    grid-template-columns: 1fr;
  }

  .desktop-activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-notice-page {
    grid-template-columns: 1fr;
  }

  .desktop-notice-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
  }

  .desktop-notice-main {
    min-height: 520px;
  }

  .desktop-info-page,
  .desktop-help-page,
  .desktop-forum-page,
  .desktop-about-page {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .desktop-info-side,
  .desktop-info-main {
    min-height: 0;
  }

  .desktop-info-nav,
  .desktop-help-nav,
  .desktop-forum-sections,
  .desktop-about-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-forum-search {
    flex: 1 1 360px;
  }

  .desktop-profit-compact-layout {
    grid-template-columns: 1fr;
  }

  .desktop-profit-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-profit-side .desktop-profit-copy {
    grid-column: 1 / -1;
  }

  .desktop-profit-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .egg-game-lobby-body {
    grid-template-columns: 1fr;
  }

  .egg-game-lobby-grid.game-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .index-notice {
    min-height: 260px;
  }

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

  .home-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .desktop-task-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .entertainment-stage-panel {
    grid-template-columns: 1fr;
  }

  .entertainment-stage-art {
    border-right: 0;
    border-bottom: 1px solid #d9dee4;
  }

  .desktop-bet-shortcut-row {
    grid-template-columns: 70px repeat(4, minmax(62px, 1fr));
  }

  .desktop-bet-statusbar {
    grid-template-columns: 1fr 1fr;
  }

  .desktop-bet-statusbar .desktop-bet-limit {
    grid-column: 1 / -1;
  }

  .account-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-action-group > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .points-exchange-summary,
  .points-exchange-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .points-exchange-form-grid {
    grid-template-columns: 1fr;
  }

  .points-exchange-question {
    grid-column: auto;
  }

  .activity-list article {
    grid-template-columns: 1fr;
  }

  .detail-main {
    grid-template-columns: 1fr;
  }

  .goods-grid,
  .mini-grid,
  .goods-stats,
  .stat-grid,
  .quick-grid,
  .monthly-reward-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .wallet-form {
    padding: 8px 0 18px;
  }

  .wallet-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wallet-row > label,
  .profile-row > label {
    text-align: left;
  }

  .wallet-quick,
  .wallet-actions,
  .profile-actions {
    margin-left: 0;
  }

  .profile-form {
    padding: 0;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .front-chat-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: min(520px, calc(100vh - 28px));
  }
}

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 20px);
  }

  .brand-logo strong {
    font-size: 26px;
  }

  .head-actions,
  .top-user {
    flex-wrap: wrap;
  }

  .nav a {
    min-width: 50%;
  }

  .egg-game-category-row,
  .game-icons {
    min-height: auto;
    flex-wrap: wrap;
    padding: 0;
  }

  .game-category {
    flex: 1 1 50%;
    min-height: 76px;
    padding-bottom: 9px;
  }

  .game-category .game-category-icon {
    width: 38px;
    height: 38px;
    margin-left: -19px;
    font-size: 14px;
  }

  .game-tabs {
    width: calc(100% - 12px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .egg-sg-subnav {
    height: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .egg-sg-subnav-menu {
    flex-wrap: wrap;
  }

  .egg-sg-subnav-menu a,
  .egg-sg-subnav-menu button {
    flex: 1 1 33.33%;
    justify-content: center;
  }

  .egg-sg-subnav-tools {
    justify-content: flex-end;
    padding: 6px 8px;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }

  .game-stage-head {
    flex-direction: column;
    align-items: stretch;
  }

  .egg-game-lobby-head {
    height: auto;
    min-height: auto;
  }

  .egg-game-lobby-body {
    padding: 12px;
  }

  .egg-game-lobby-grid.game-card-grid {
    grid-template-columns: 1fr;
  }

  .game-stage-summary {
    justify-content: flex-start;
  }

  .game-status {
    width: 100%;
  }

  .goods-grid,
  .mini-grid,
  .goods-stats,
  .stat-grid,
  .quick-grid,
  .monthly-reward-panel,
  .account-overview-head,
  .account-overview-balance,
  .account-status-overview,
  .account-metric-grid,
  .account-reward-strip,
  .account-benefit-overview,
  .account-action-board,
  .promotion-stats,
  .promotion-layout,
  .promotion-copy-list,
  .desktop-task-grid,
  .desktop-profit-task-grid,
  .desktop-task-tabs,
  .desktop-profit-metrics,
  .shop-summary-bar {
    grid-template-columns: 1fr;
  }

  .account-overview-head {
    padding: 14px;
  }

  .account-tabs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .account-section-tabs,
  .account-panel-toolbar,
  .account-ledger-filters {
    padding: 10px;
  }

  .account-ledger-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 10px;
  }

  .account-panel-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-form-panel {
    padding: 10px;
  }

  .profile-hero,
  .profile-form-section header {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-completion {
    justify-items: start;
  }

  .profile-status-grid,
  .profile-field-grid {
    grid-template-columns: 1fr;
  }

  .points-exchange-panel {
    padding: 10px;
  }

  .points-exchange-hero,
  .points-exchange-form header,
  .points-exchange-records header {
    align-items: flex-start;
    flex-direction: column;
  }

  .points-exchange-summary,
  .points-exchange-rule-grid {
    grid-template-columns: 1fr;
  }

  .account-stats-grid,
  .account-rebate-progress {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .account-rebate-hero {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px 10px;
  }

  .account-rebate-hero > i {
    width: 44px;
    height: 44px;
  }

  .account-rebate-body {
    padding: 10px;
  }

  .account-rebate-bars > div {
    grid-template-columns: 1fr;
  }

  .account-rebate-bars em {
    text-align: left;
  }

  .account-ledger-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .account-ledger-tabs button {
    padding: 0 12px;
  }

  .account-dashboard {
    padding: 12px;
  }

  .account-metric-card.login {
    grid-column: auto;
  }

  .account-benefit-ranks > div {
    grid-template-columns: 20px minmax(0, 1fr) minmax(84px, auto);
  }

  .account-benefit-rank-award {
    grid-column: 2 / 4;
    justify-content: flex-start;
  }

  .desktop-profit-copy label {
    grid-template-columns: 1fr;
  }

  .desktop-profit-side {
    grid-template-columns: 1fr;
  }

  .desktop-activity-list {
    grid-template-columns: 1fr;
  }

  .desktop-notice-side {
    grid-template-columns: 1fr;
  }

  .desktop-notice-list {
    padding: 10px;
  }

  .desktop-notice-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
  }

  .desktop-notice-list time {
    grid-column: 2;
    text-align: left;
    font-size: 13px;
  }

  .desktop-notice-title {
    padding: 10px 12px;
  }

  .desktop-notice-title h2 {
    font-size: 18px;
  }

  .desktop-notice-article {
    padding: 18px 14px;
  }

  .desktop-info-head,
  .desktop-help-head,
  .desktop-forum-head,
  .desktop-about-head {
    align-items: stretch;
    flex-direction: column;
  }

  .desktop-info-nav,
  .desktop-help-nav,
  .desktop-forum-sections,
  .desktop-about-nav,
  .desktop-info-summary,
  .desktop-help-side-summary,
  .desktop-forum-side-metrics,
  .desktop-about-side-summary {
    grid-template-columns: 1fr;
  }

  .desktop-help-row,
  .desktop-forum-thread-head,
  .desktop-forum-thread-row,
  .desktop-forum-pinned a {
    grid-template-columns: 1fr;
  }

  .desktop-help-row {
    border-right: 0;
  }

  .desktop-help-full-page .desktop-help-row {
    grid-template-columns: 1fr;
  }

  .desktop-help-row > b,
  .desktop-forum-thread-head {
    display: none;
  }

  .desktop-help-row-meta {
    grid-column: auto;
    justify-content: flex-start;
  }

  .desktop-help-full-page .desktop-help-row-meta {
    grid-column: auto;
    justify-content: flex-start;
  }

  .desktop-forum-search {
    flex-basis: auto;
    grid-template-columns: 1fr;
  }

  .desktop-forum-thread-row > b,
  .desktop-forum-thread-row > time {
    text-align: left;
  }

  .desktop-about-head nav {
    flex-wrap: wrap;
  }

  .desktop-about-article {
    padding: 22px 16px 28px;
  }

  .desktop-about-article h1 {
    font-size: 22px;
    text-align: left;
  }

  .desktop-about-meta {
    justify-content: flex-start;
  }

  .homepage-main,
  .home-card-grid,
  .home-service-strip,
  .desktop-box-dodge-stats,
  .desktop-box-dodge-layout,
  .desktop-box-grid,
  .desktop-dodge-list,
  .desktop-box-record-grid {
    grid-template-columns: 1fr;
  }

  .desktop-box-dodge-head {
    flex-direction: column;
    align-items: stretch;
  }

  .desktop-box-dodge-head nav {
    flex-wrap: wrap;
  }

  .desktop-box-dodge-head a,
  .desktop-box-dodge-head button {
    flex: 1 1 120px;
    text-align: center;
  }

  .agent-wallet-tabs {
    height: auto;
    flex-wrap: wrap;
  }

  .agent-wallet-tabs button,
  .agent-wallet-tabs a {
    flex: 1 1 50%;
  }

  .recharge-withdraw-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .wallet-amount {
    flex-wrap: wrap;
  }

  .wallet-amount input,
  .wallet-submit-form input,
  .profile-row input,
  .profile-row select,
  .agent-receiver-field select {
    width: 100%;
  }

  .login-panel label,
  .captcha-row {
    grid-template-columns: 1fr !important;
  }

  .check-row {
    margin-left: 0;
  }
}
