:root {
  --sidebar: #1f2937;
  --sidebar-dark: #111827;
  --blue: #3f7bf5;
  --border: #e8e8e8;
  --muted: #6b7280;
  --bg: #f4f5f7;
  --danger: #ff5f5f;
  --green: #10b981;
}

.activity-unlock-page {
  min-height: calc(100vh - 150px);
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 3px;
  padding: 30px;
  color: #606266;
  font-size: 14px;
}
.unlock-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-bottom: 22px;
}
.unlock-filter label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  color: #606266;
}
.unlock-filter select {
  width: 150px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 13px;
  font-weight: 400;
  padding: 0 30px 0 12px;
}
.unlock-btn {
  height: 29px;
  min-width: 84px;
  border: 1px solid #409eff;
  border-radius: 3px;
  background: #409eff;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 0 15px;
}
.unlock-table-wrap {
  width: 100%;
  overflow: auto;
}
.unlock-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #ebeef5;
}
.unlock-table th,
.unlock-table td {
  height: 34px;
  border: 1px solid #ebeef5;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: #606266;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.unlock-table th {
  background: #f5f7fa;
  color: #909399;
  font-weight: 700;
}
.unlock-link {
  border: 0;
  background: transparent;
  color: #409eff;
  font-size: 13px;
  cursor: pointer;
  padding: 0 4px;
}
.unlock-link.danger {
  color: #f56c6c;
}
.unlock-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.unlock-dialog {
  position: relative;
  width: 750px;
  min-height: 0;
  max-height: calc(100vh - 80px);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.unlock-dialog h2 {
  flex: 0 0 auto;
  height: 54px;
  line-height: 54px;
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: #303133;
}
.unlock-close {
  position: absolute;
  right: 22px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #909399;
  cursor: pointer;
}
.unlock-form {
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding: 25px 90px 30px;
}
.unlock-field {
  display: grid;
  grid-template-columns: 16px 104px 390px;
  align-items: center;
  gap: 0;
  min-height: 42px;
  font-size: 14px;
  font-weight: 400;
  color: #606266;
}
.unlock-star {
  color: #f56c6c;
  font-weight: 700;
  text-align: center;
}
.unlock-label-text {
  padding-right: 12px;
  text-align: right;
  white-space: nowrap;
}
.unlock-form select,
.unlock-vip-row input {
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  font-size: 14px;
  padding: 0 14px;
}
.unlock-ratio-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  margin-top: 2px;
}
.unlock-ratio-label {
  display: grid;
  grid-template-columns: 16px 104px;
  align-items: start;
  padding-top: 7px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  color: #606266;
}
.unlock-vip-row {
  display: grid;
  grid-template-columns: 72px 220px 24px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  font-size: 14px;
  color: #606266;
}
.unlock-vip-row input {
  width: 220px;
}
.unlock-vip-row em {
  font-style: normal;
}
.unlock-tip {
  margin: 8px 0 12px 120px;
  color: #909399;
  font-size: 13px;
  font-weight: 400;
}
.unlock-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-left: 0;
  padding-top: 4px;
}
.unlock-submit,
.unlock-cancel {
  width: auto;
  height: 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  padding: 0 18px;
}
.unlock-submit {
  border: 1px solid #409eff;
  background: #409eff;
  color: #fff;
}
.unlock-cancel {
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #606266;
}

.vip-def-page {
  min-height: calc(100vh - 150px);
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 3px;
  padding: 30px;
  color: #606266;
  font-size: 14px;
}
.vip-def-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-bottom: 22px;
}
.vip-def-filter label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #606266;
}
.vip-def-filter select {
  width: 150px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  padding: 0 30px 0 12px;
}
.vip-def-btn {
  height: 32px;
  min-width: 84px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  font-size: 14px;
  padding: 0 15px;
}
.vip-def-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-left: 1px solid #ebeef5;
  border-top: 1px solid #ebeef5;
}
.vip-def-table {
  min-width: 3560px;
  border-collapse: collapse;
  table-layout: fixed;
}
.vip-def-table th,
.vip-def-table td {
  height: 34px;
  border-right: 1px solid #ebeef5;
  border-bottom: 1px solid #ebeef5;
  padding: 6px 8px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: #606266;
  white-space: nowrap;
}
.vip-def-table th {
  background: #f5f7fa;
  color: #909399;
  font-weight: 700;
}
.vip-def-table thead tr:nth-child(2) th {
  width: 100px;
}
.vip-link {
  border: 0;
  background: transparent;
  color: #409eff;
  font-size: 13px;
  cursor: pointer;
  padding: 0 4px;
}
.vip-link.red,
.red {
  color: #f56c6c;
}
.blue {
  color: #4169e1;
}
.vip-def-pager {
  padding: 14px 0 0;
  text-align: right;
  color: #606266;
}
.vip-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vip-dialog {
  width: 750px;
  max-height: calc(100vh - 70px);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.vip-dialog-hd {
  position: relative;
  flex: 0 0 54px;
  line-height: 54px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #303133;
}
.vip-dialog-close {
  position: absolute;
  right: 22px;
  top: 14px;
  border: 0;
  background: transparent;
  color: #909399;
  font-size: 22px;
  line-height: 22px;
}
.vip-dialog-bd {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 42px 22px;
}
.vip-section {
  margin-bottom: 6px;
}
.vip-divider {
  height: 1px;
  margin: 8px 0 18px;
  background: #ebeef5;
}
.vip-section h3 {
  margin: 0 0 16px;
  font-size: 16px;
  color: #303133;
  font-weight: 700;
}
.vip-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 16px;
}
.vip-form-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  color: #606266;
  font-size: 14px;
}
.vip-form-item > span:first-child {
  padding-right: 12px;
  text-align: right;
  white-space: nowrap;
}
.vip-form-item input,
.vip-form-item select {
  width: 175px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #606266;
  padding: 0 12px;
}
.vip-text-btn {
  border: 0;
  background: transparent;
  color: #409eff;
  text-align: left;
  padding: 0;
}
.vip-radio-item {
  width: 360px;
}
.vip-radio-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #606266;
}
.vip-radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vip-dialog-ft {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 0 0 24px;
}
.vip-ok {
  height: 32px;
  min-width: 58px;
  border: 1px solid #409eff;
  border-radius: 4px;
  background: #409eff;
  color: #fff;
  padding: 0 18px;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; }
body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: #111827;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.layout { min-height: 100%; display: flex; }
.layout.compact-nav .sidebar {
  width: 56px;
  flex-basis: 56px;
  overflow: hidden;
}
.layout.compact-nav .brand {
  width: 56px;
  padding: 0 10px;
  align-items: flex-start;
  line-height: 1.25;
  white-space: normal;
  word-break: keep-all;
}
.layout.compact-nav .menu-title {
  width: 48px;
  justify-content: center;
  padding: 0;
}
.layout.compact-nav .menu-title > span,
.layout.compact-nav .menu-title .caret,
.layout.compact-nav .submenu {
  display: none !important;
}
.layout.compact-nav .menu-title > span:has(.icon) {
  display: inline-flex !important;
}
.layout.compact-nav .menu-title > span:has(.icon) {
  font-size: 0;
}
.layout.compact-nav .menu-title .icon {
  font-size: 16px;
}
.layout.compact-nav .single {
  width: 48px;
  min-height: 44px;
  justify-content: center;
  padding: 0;
  font-size: 0;
}
.layout.compact-nav .single .icon {
  font-size: 16px;
}
.layout.compact-nav .icon {
  width: 18px;
}
.sidebar {
  width: 220px;
  background: var(--sidebar);
  color: #cfd8e3;
  flex: 0 0 220px;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}
.brand {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
}
.menu-section { border-top: 1px solid rgba(255,255,255,.02); }
.menu-title, .menu-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px;
  padding: 0 16px 0 22px;
  color: #d1d5db;
}
.menu-title {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  justify-content: space-between;
}
.menu-title:hover, .menu-link:hover { background: #263142; color: #fff; border-radius: 6px; }
.menu-section.open > .menu-title { background: transparent; color: #d1d5db; }
.menu-link.active, .single.active {
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  margin: 4px;
}
.menu-link { margin: 4px 4px 4px 4px; padding-left: 48px; font-size: 14px; font-weight: 400; }
.submenu .menu-link.active { padding-left: 48px; }
.icon { width: 16px; text-align: center; opacity: .85; }
.caret { margin-left: auto; color: #9ca3af; }
.submenu { display: none; background: var(--sidebar-dark); }
.menu-section.open .submenu { display: block; }

.shell { flex: 1; min-width: 0; }
.topbar {
  height: 56px;
  background: #1f2937;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  overflow-x: auto;
  white-space: nowrap;
}
.build { min-width: 170px; font-size: 13px; line-height: 1.35; }
.audit-item { position: relative; display: inline-flex; align-items: center; gap: 4px; min-width: max-content; }
.badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  border-radius: 999px;
  background: #ff6b6b;
  color: #fff;
  border: 1px solid rgba(255,255,255,.65);
  padding: 0 5px;
  font-size: 12px;
}
.user-btn {
  margin-left: auto;
  background: #3478f6;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 18px;
}
.tabs {
  height: 38px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: end;
  padding-left: 16px;
}
.tab {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-bottom: 0;
  color: #1677ff;
  background: #fff;
}
.content { padding: 24px 16px 48px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 14px;
}
.card-hd {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.card-bd { padding: 16px; }
.home-card { width: min(720px, 100%); padding: 24px; display: flex; gap: 18px; }
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #7c4dff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 700;
}
.profile-table td { padding: 8px 12px; }
.profile-table td:first-child { color: var(--muted); }

.toolbar {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
.field { display: grid; gap: 6px; color: #374151; }
.field input, .field select, .field textarea {
  min-width: 150px;
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 4px 9px;
  background: #fff;
}
.field textarea { height: 80px; min-width: 360px; }
.btn {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #111827;
  height: 32px;
  border-radius: 4px;
  padding: 0 12px;
}
.btn.primary { background: #1677ff; border-color: #1677ff; color: #fff; }
.btn.danger { color: #ff4d4f; border-color: #ffccc7; }
.btn.link { border: 0; color: #1677ff; background: transparent; padding: 0 4px; }
.btn.small { height: 26px; padding: 0 8px; }
.btn + .btn { margin-left: 4px; }

.table-wrap { overflow: auto; }
table.data {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.data th, .data td {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}
.data th {
  background: #fafafa;
  color: #374151;
  font-weight: 600;
}
.prop-record-page {
  overflow: hidden;
}
.prop-record-filter {
  align-items: end;
}
.prop-record-filter .field {
  min-width: 150px;
}
.prop-record-filter .field input,
.prop-record-filter .field select {
  min-width: 150px;
}
.prop-record-filter .prop-date-range {
  grid-template-columns: auto 190px auto 190px;
  align-items: center;
  gap: 8px;
}
.prop-date-range span {
  grid-column: 1 / -1;
}
.prop-date-range em {
  font-style: normal;
  color: #6b7280;
}
.prop-record-table-wrap {
  border-top: 1px solid #f0f0f0;
}
.prop-record-table {
  min-width: 1280px;
}
.prop-record-table th,
.prop-record-table td {
  text-align: center;
  height: 34px;
  padding: 7px 12px;
}
.amount-plus {
  color: #20a66a;
  font-weight: 600;
}
.amount-minus {
  color: #ff4d4f;
  font-weight: 600;
}
.total-row td {
  background: #fbfcff;
  font-weight: 600;
}
.prop-record-page .pager select,
.prop-record-page .pager input {
  width: 78px;
  height: 30px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 0 8px;
}
.prop-record-page .pager input {
  width: 46px;
}
.game-filter-grid {
  grid-template-columns: repeat(5, minmax(142px, 1fr));
}
.game-list-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.game-list-card .table-wrap {
  max-height: calc(100vh - 330px);
}
.game-list-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #303133;
}
.inline-range {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
}
.inline-range input {
  width: 42px;
  height: 28px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #f5f7fa;
  color: #606266;
  text-align: center;
}
.icon-only {
  width: 36px;
  padding: 0;
}
.page.active {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #1677ff;
  color: #fff;
}
.pager {
  gap: 10px;
  align-items: center;
}
.pager input {
  width: 44px;
  height: 28px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  text-align: center;
}
.game-chain-options {
  display: grid;
  gap: 10px;
}
.chain-row {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  padding: 10px;
  display: grid;
  grid-template-columns: 100px repeat(4, minmax(110px, 1fr));
  gap: 10px;
  align-items: center;
}
.chain-row label,
.column-checks label {
  color: #606266;
}
.column-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
}
.game-edit-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  background: #eef4ff;
  color: #1d4ed8;
  border: 1px solid #cfe0ff;
}
.tag.red { background: #fff1f0; color: #cf1322; border-color: #ffa39e; }
.tag.green { background: #f6ffed; color: #389e0d; border-color: #b7eb8f; }
.tag.gold { background: #fffbe6; color: #ad6800; border-color: #ffe58f; }
.pager { padding: 12px 16px; display: flex; justify-content: end; color: var(--muted); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 12px; }
.metric { padding: 16px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.metric .num { font-size: 24px; font-weight: 700; margin-top: 8px; }
.hint { color: var(--muted); line-height: 1.8; }
.notice { background: #e6f4ff; border: 1px solid #91caff; padding: 12px; border-radius: 6px; color: #1f4e79; }
.commission-page {
  width: 510px;
  max-width: calc(100vw - 92px);
}
.commission-main {
  border-radius: 6px;
}
.commission-main .card-hd {
  font-size: 16px;
  font-weight: 700;
  gap: 16px;
  align-items: center;
}
.commission-main .card-hd > span:first-child {
  max-width: 300px;
}
.dev-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8c8c8c;
  font-weight: 400;
  white-space: nowrap;
  flex: 0 0 auto;
}
.plan-panel {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  margin-bottom: 14px;
  background: #fff;
  padding-bottom: 0;
}
.plan-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-weight: 700;
  border-bottom: 1px solid #f0f0f0;
}
.plan-search {
  margin: 10px 12px;
  width: calc(100% - 24px);
  height: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 4px 10px;
}
.plan-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-top: 1px solid #f0f0f0;
}
.plan-item.active {
  background: #e6f7ff;
}
.delete-icon {
  border: 0;
  background: transparent;
  color: #ff4d4f;
  width: 18px;
  height: 18px;
  padding: 0;
  position: relative;
}
.delete-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 8px;
  height: 10px;
  border: 1px solid #ff4d4f;
  border-top: 0;
  border-radius: 0 0 2px 2px;
}
.delete-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 10px;
  height: 1px;
  background: #ff4d4f;
  box-shadow: 3px -2px 0 -1px #ff4d4f;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  min-height: 32px;
}
.commission-page .field {
  margin-bottom: 0;
}
.commission-page .field input {
  width: 100%;
}
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.radio-dot {
  width: 14px;
  height: 14px;
  border: 1px solid #1677ff;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #1677ff;
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
}
.commission-table {
  width: 100%;
  min-width: 0;
}
.commission-table input {
  width: 100%;
  min-width: 70px;
  height: 30px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 3px 8px;
}
.soft-copy {
  color: #595959;
  line-height: 1.75;
  margin: 8px 0 12px;
}
.switch {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  background: #d1d5db;
  position: relative;
  vertical-align: middle;
}
.switch.on { background: #1677ff; }
.switch::after {
  content: "";
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: .18s;
}
.switch.on::after { left: 24px; }
.switch.text-switch {
  width: 58px;
  color: #fff;
  font-size: 12px;
  line-height: 24px;
  text-align: left;
  padding: 0 8px;
}
.switch.text-switch::before {
  content: attr(data-off);
  position: absolute;
  right: 8px;
  top: 0;
  height: 24px;
  line-height: 24px;
  color: #fff;
}
.switch.text-switch.on::before {
  content: attr(data-on);
  left: 8px;
  right: auto;
}
.switch.text-switch.on {
  background: #1677ff;
}
.switch.text-switch.on::after {
  left: 36px;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  width: min(720px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.modal-hd, .modal-ft {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.modal-ft { border-top: 1px solid var(--border); border-bottom: 0; justify-content: end; gap: 8px; }
.modal-bd { padding: 18px; }
.modal-close {
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: rgba(0,0,0,.45);
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}
.modal-close:hover {
  color: rgba(0,0,0,.88);
  background: rgba(0,0,0,.04);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.toast {
  position: fixed;
  top: 70px;
  right: 24px;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #1677ff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  padding: 12px 16px;
}

.game-chain-retained {
  display: none;
}
.game-chain-page {
  min-height: 100vh;
  background: #0d0e12;
  color: #e9eef8;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
.gc-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  background: #17181d;
  border-bottom: 1px solid #24262d;
}
.gc-burger {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 6px;
}
.gc-burger span {
  height: 2px;
  border-radius: 99px;
  background: #8792a4;
}
.gc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 146px;
}
.gc-mascot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #123f2e, #b9ed20);
  color: #101400;
  font-weight: 900;
}
.gc-brand strong {
  font-style: italic;
  font-size: 20px;
  line-height: 1;
}
.gc-brand span {
  color: #bdf31e;
}
.gc-auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gc-auth button {
  position: relative;
  border: 0;
  background: transparent;
  color: #f4f6fb;
  font-weight: 800;
  font-size: 15px;
}
.gc-auth .register {
  min-width: 110px;
  height: 40px;
  border-radius: 6px;
  background: #d7ff35;
  color: #131600;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}
.gc-auth em {
  position: absolute;
  right: -8px;
  top: -8px;
  min-width: 42px;
  height: 20px;
  border-radius: 10px 10px 10px 2px;
  background: #d53575;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  line-height: 20px;
}
.gc-side {
  position: fixed;
  top: 62px;
  bottom: 0;
  left: 0;
  width: 218px;
  padding: 14px;
  background: #121318;
  border-right: 1px solid #252832;
}
.gc-side a {
  display: flex;
  align-items: center;
  height: 42px;
  color: #a3adbe;
  font-weight: 800;
}
.gc-side a.active {
  color: #c8fb23;
}
.gc-main {
  margin-left: 218px;
  margin-right: 300px;
  padding: 24px 22px 84px;
}
.gc-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.gc-tabs button {
  height: 38px;
  min-width: 108px;
  border: 0;
  border-radius: 5px;
  background: #1c1e25;
  color: #aeb8c8;
  font-weight: 800;
}
.gc-tabs button.active {
  background: #252832;
  color: #d7ff35;
}
.gc-title-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.gc-title-row h1 {
  margin: 0;
  font-size: 22px;
  color: #eef3fb;
}
.gc-search {
  height: 44px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  background: #111217;
  border: 1px solid #20232b;
  overflow: hidden;
}
.gc-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dce5f4;
  padding: 0 12px;
}
.gc-search button {
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #8f9bb0;
  font-size: 24px;
}
.gc-filter-wrap {
  position: relative;
}
.gc-trigger {
  height: 44px;
  min-width: 132px;
  border: 0;
  border-radius: 5px;
  background: #1c1e25;
  color: #c4cedd;
  font-weight: 800;
}
.gc-trigger::after {
  content: "⌄";
  margin-left: 18px;
  color: #778397;
}
.gc-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 150px;
  display: none;
  padding: 7px;
  border-radius: 7px;
  background: #24262d;
  border: 1px solid #353946;
  box-shadow: 0 16px 32px rgba(0,0,0,.32);
}
.gc-menu.open {
  display: grid;
  gap: 4px;
}
.gc-menu button {
  height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d5deec;
  text-align: left;
  padding: 0 10px;
}
.gc-menu button:hover,
.gc-menu button.active {
  background: #c8fb23;
  color: #111500;
}
.gc-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}
.gc-game-card {
  min-height: 178px;
  border-radius: 7px;
  background: linear-gradient(180deg, #202229, #17191f);
  border: 1px solid #2a2d37;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.gc-chain-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cdd6e6;
  font-weight: 900;
  margin-bottom: 10px;
}
.gc-chain-title img {
  width: 24px;
  height: 24px;
}
.gc-game-card dl {
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.gc-game-card dt {
  color: #f1f5fb;
  font-size: 16px;
  font-weight: 900;
}
.gc-game-card dd {
  margin: 0;
  color: #c8fb23;
  font-weight: 900;
}
.gc-result-map {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(#272a32 1px, transparent 1px),
    linear-gradient(90deg, #272a32 1px, transparent 1px),
    #111318;
  background-size: 24px 24px;
}
.gc-result-map span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  justify-self: center;
  border: 2px solid currentColor;
  background: #15171c;
}
.gc-result-map .hot {
  color: #e9475f;
}
.gc-result-map .cold {
  color: #4681ff;
}
.gc-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #1b1d24;
  color: #8e9aaf;
}
.gc-right {
  position: fixed;
  top: 62px;
  right: 0;
  bottom: 0;
  width: 300px;
  padding: 14px 12px 86px;
  background: #15161b;
  border-left: 1px solid #252832;
  overflow: auto;
}
.gc-right > button {
  width: calc(50% - 6px);
  height: 44px;
  margin: 0 4px 12px 0;
  border: 0;
  border-radius: 5px;
  background: #292b35;
  color: #fff;
  font-weight: 900;
}
.gc-right nav {
  display: grid;
  gap: 6px;
}
.gc-right a {
  min-height: 42px;
  display: flex;
  align-items: center;
  color: #d6deeb;
  font-weight: 800;
}
.gc-bottom {
  display: none;
}

@media (max-width: 980px) {
  .gc-side,
  .gc-right {
    display: none;
  }
  .gc-main {
    margin: 0;
    padding: 14px 12px 86px;
  }
  .gc-title-row {
    grid-template-columns: 1fr 1fr;
  }
  .gc-title-row h1 {
    grid-column: 1 / -1;
  }
  .gc-search {
    grid-column: 1 / -1;
  }
  .gc-games {
    grid-template-columns: 1fr;
  }
  .gc-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    height: 64px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #17191f;
    border-top: 1px solid #292c35;
  }
  .gc-bottom span {
    display: grid;
    place-items: center;
    color: #8f9bae;
    font-size: 12px;
    font-weight: 800;
  }
}

@media (max-width: 520px) {
  .gc-brand {
    min-width: 122px;
  }
  .gc-brand strong {
    font-size: 18px;
  }
  .gc-auth .register {
    min-width: 86px;
  }
  .gc-trigger {
    min-width: 0;
    width: 100%;
  }
  .gc-result-map {
    grid-template-columns: repeat(7, minmax(22px, 1fr));
  }
}

.hash-transfer-main {
  color: #edf2f7;
}
.hash-player-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hash-top-search,
.hash-top-icon,
.hash-avatar,
.hash-recharge {
  height: 40px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}
.hash-top-search,
.hash-top-icon,
.hash-avatar {
  width: 40px;
  display: inline-grid;
  place-items: center;
  background: #20232b;
  color: #8f9bae;
}
.hash-recharge {
  padding: 0 15px;
  background: #d7ff35;
  color: #111600;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}
.hash-avatar {
  background: linear-gradient(145deg, #263241, #12151b);
  border: 1px solid rgba(215, 255, 53, .2);
}
.hash-transfer-page.v2 .hash-transfer-main {
  margin-right: 0;
  max-width: 1200px;
  padding-top: 24px;
}
.transfer-game-selector {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid #2c3441;
  border-radius: 8px;
  background: #171b22;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.transfer-game-selector button,
.transfer-game-selector strong {
  min-width: 150px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}
.transfer-game-selector button {
  background: #252b34;
  color: #cbd5e1;
}
.transfer-game-selector strong {
  background: #3a414d;
  color: #fff;
}
.transfer-ref-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 10px;
  align-items: start;
}
.transfer-ref-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.transfer-play-card {
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #2c3441;
  border-radius: 8px;
  background: #171b22;
}
.transfer-game-shell {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #2c3441;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 25, 33, .96), rgba(14, 17, 22, .96)),
    #14181f;
}
.transfer-game-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: end;
}
.transfer-play-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.transfer-title-stack {
  min-width: 0;
}
.transfer-breadcrumb {
  color: #c9d3e2;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}
.transfer-title-stack h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}
.transfer-title-stack h1 em {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 24px;
  margin-left: 8px;
  border-radius: 5px;
  background: rgba(85, 133, 255, .18);
  color: #8db7ff;
  font-size: 13px;
  font-style: normal;
  vertical-align: 3px;
}
.transfer-play-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.transfer-play-actions button {
  height: 28px;
  border: 0;
  background: transparent;
  color: #9eb1c8;
  font-weight: 800;
}
.transfer-play-actions button:hover {
  color: #d7ff35;
}
.transfer-tabs {
  width: 100%;
  margin-bottom: 0;
}
.transfer-toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
  margin-bottom: 0;
}
.transfer-limit {
  color: #fff;
  font-weight: 800;
}
.transfer-limit span {
  color: #c7ff25;
}
.transfer-toolbar .help {
  width: max-content;
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #343b47;
  border-radius: 999px;
  background: #171b22;
  color: #dfe7f2;
  padding: 0 10px 0 6px;
  font-weight: 800;
}
.transfer-toolbar .help span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #d7ff35;
  color: #121600;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 0 2px rgba(215, 255, 53, .16);
}
.transfer-toolbar .help:hover {
  border-color: rgba(215, 255, 53, .58);
  color: #fff;
}
.block-countdown {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #2d3542;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(19, 47, 73, .62), rgba(61, 34, 72, .48)),
    #171b22;
  overflow: hidden;
}
.transfer-play-card .block-countdown.transfer-blockbar {
  grid-template-columns: minmax(150px, 1fr) 110px minmax(150px, 1fr) 90px;
  gap: 8px;
  padding: 12px;
}
.transfer-play-card .block-countdown.transfer-blockbar .countdown-meter {
  min-width: 0;
}
.transfer-play-card .block-countdown.transfer-blockbar .block-node div,
.transfer-play-card .block-countdown.transfer-blockbar .history-btn {
  min-height: 42px;
  padding: 0 10px;
}
.transfer-play-card .block-countdown.transfer-blockbar .block-node b {
  font-size: 13px;
}
.block-node {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.block-node span {
  color: #aeb8c8;
  font-weight: 900;
}
.block-node div,
.history-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  background: rgba(12, 16, 22, .72);
  padding: 0 12px;
}
.block-node b {
  color: #fff;
  font-size: 15px;
}
.block-node b::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: -3px;
  border-radius: 50%;
  background: #dfe7f2;
  box-shadow: inset 0 0 0 5px #6c7788;
}
.block-node.next b {
  color: #c7ff25;
}
.block-node.next b::before {
  background: #c7ff25;
  box-shadow: inset 0 0 0 5px #263900;
}
.block-node button {
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: #75e16f;
  color: #071407;
  padding: 0 10px;
  font-weight: 900;
}
.countdown-meter {
  min-width: 190px;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.meter-arc {
  position: relative;
  width: 76px;
  height: 52px;
  overflow: hidden;
}
.meter-arc::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid rgba(167, 179, 196, .22);
  border-bottom: 0;
  border-radius: 76px 76px 0 0;
}
.meter-arc i {
  position: absolute;
  left: 6px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3c3c;
}
.meter-arc strong {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  color: #c7ff25;
  font-size: 18px;
}
.meter-line {
  width: 174px;
  height: 16px;
  position: relative;
}
.meter-line::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 7px;
  border-top: 2px dashed #d9e2ef;
}
.meter-line span {
  position: absolute;
  right: 0;
  top: 0;
  min-width: 30px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #c7ff25;
  font-weight: 900;
}
.meter-line span::before {
  content: "[--]";
}
.history-btn {
  align-self: end;
  border: 0;
  color: #fff;
  font-weight: 900;
}
.transfer-arena {
  justify-self: end;
  width: min(330px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 8px;
  background: #101318;
}
.transfer-arena button {
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
  font-weight: 900;
}
.transfer-arena button.active {
  background: #3a414d;
  color: #fff;
}
.transfer-top-grid {
  display: grid;
  grid-template-columns: minmax(430px, 1.06fr) minmax(360px, .94fr);
  gap: 14px;
  margin-bottom: 0;
}
.transfer-play-card .transfer-top-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.transfer-play-card .odds-options {
  min-height: 72px;
  padding: 10px 14px;
}
.transfer-play-card .odds-options strong {
  font-size: 24px;
}
.transfer-play-card .transfer-qr-row {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
}
.transfer-play-card .qr-card.compact {
  width: 128px;
}
.transfer-play-card .qr-card.compact .qr-box {
  width: 86px;
  height: 86px;
}
.transfer-play-card .wallet-form.compact {
  grid-template-columns: minmax(0, 1fr) 64px;
}
.transfer-play-card .wallet-inline,
.transfer-play-card .wallet-form.compact input {
  min-width: 0;
}
.transfer-card {
  background: #2a2d35;
  border: 1px solid #303640;
  border-radius: 6px;
  color: #edf2f7;
}
.transfer-card-title {
  color: #d8e0ec;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 14px 8px;
}
.transfer-address-card {
  padding-bottom: 12px;
}
.transfer-address-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  margin: 0 14px;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: #15181d;
}
.transfer-address-line code {
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f4f7fb;
  font-weight: 900;
}
.transfer-address-line button {
  height: 46px;
  border: 0;
  background: #15181d;
  color: #fff;
  font-weight: 900;
}
.transfer-qr-row {
  min-height: 126px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 14px;
  padding: 12px 0 0;
  background: #1b1e23;
  border-radius: 0 0 6px 6px;
}
.qr-card.compact {
  width: 150px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  color: #f4f7fb;
}
.qr-card.compact .qr-box {
  width: 96px;
  height: 96px;
  padding: 5px;
  margin-bottom: 5px;
}
.qr-card.compact .qr-save {
  height: auto;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
}
.wallet-inline {
  display: grid;
  gap: 8px;
  padding-right: 14px;
}
.wallet-inline span {
  color: #c7ff25;
  font-size: 13px;
  font-weight: 900;
}
.wallet-inline strong {
  color: #fff;
}
.wallet-status-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(38, 52, 39, .82);
  border: 1px solid rgba(199, 255, 37, .34);
}
.wallet-status-card span {
  position: relative;
  color: #c7ff25;
  padding-left: 20px;
}
.wallet-status-card span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #c7ff25;
  color: #162000;
  font-size: 11px;
  font-weight: 900;
}
.wallet-status-card strong,
.wallet-status-card em {
  grid-column: 1;
}
.wallet-status-card em {
  color: #aeb8c8;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}
.wallet-status-card .hash-ghost-btn {
  grid-row: 1 / span 3;
  grid-column: 2;
  height: 34px;
  white-space: nowrap;
}
.wallet-form.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
}
.wallet-form.compact input,
.wallet-form.compact button {
  height: 36px;
}
.odds-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.odds-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 14px 10px;
  min-height: 96px;
  background: #1c2027;
  margin: 0 14px 0;
  border-radius: 6px;
}
.odds-options div {
  display: grid;
  place-items: center;
  gap: 7px;
}
.odds-options strong {
  font-size: 28px;
  line-height: 1;
}
.odds-options span {
  min-width: 52px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #15181d;
  font-size: 12px;
  font-weight: 900;
}
.banker {
  color: #ff425c;
}
.tie {
  color: #39d878;
}
.player {
  color: #d0cf43;
}
.block-banner {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0 14px 12px;
  background: #2a2d35;
}
.block-banner span {
  position: relative;
  min-height: 48px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 10px 12px 6px 28px;
  background: #1c2027;
  border-top: 1px solid #303743;
  color: #9eb1c8;
  font-size: 12px;
  font-weight: 800;
}
.block-banner span:first-child {
  border-radius: 0 0 0 6px;
}
.block-banner span:last-child {
  border-radius: 0 0 6px 0;
}
.block-banner span + span {
  border-left: 1px solid #303743;
}
.block-banner span::before {
  content: "";
  position: absolute;
  left: calc(50% - 62px);
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #7f8da2;
  box-shadow: 0 0 0 4px rgba(127, 141, 162, .1);
}
.block-banner span:first-child::before {
  background: #6cc7ff;
  box-shadow: 0 0 0 4px rgba(108, 199, 255, .1);
}
.block-banner span:last-child::before {
  background: #c7ff25;
  box-shadow: 0 0 0 4px rgba(199, 255, 37, .1);
}
.block-banner em {
  color: #8d9aac;
  font-style: normal;
}
.block-banner b {
  font-size: 14px;
  line-height: 1.1;
  color: #c7ff25;
}
.block-banner span:first-child b {
  color: #7dd3fc;
}
.trend-panel {
  min-width: 0;
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid #2c3441;
  border-radius: 8px;
  background: #171b22;
}
.trend-head {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 900;
}
.badge-dot-text {
  margin-left: 9px;
}
.trend-tabs {
  justify-self: end;
  width: min(660px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.trend-tabs button {
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: #14171c;
  color: #9ca3af;
  font-weight: 900;
}
.trend-tabs button.active {
  background: #3a414d;
  color: #fff;
}
.trend-grid {
  display: grid;
  grid-template-columns: repeat(42, minmax(18px, 1fr));
  border: 1px solid #252b35;
  background: #20252d;
  overflow: hidden;
}
.trend-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-right: 1px solid #11161d;
  border-bottom: 1px solid #11161d;
  font-size: 12px;
  font-weight: 900;
}
.trend-grid span.banker,
.trend-grid span.tie,
.trend-grid span.player {
  border-radius: 50%;
  margin: 2px;
  color: #11161d;
}
.trend-grid span.banker {
  background: #ff425c;
}
.trend-grid span.tie {
  background: #39d878;
}
.trend-grid span.player {
  background: #d0cf43;
}
.trend-note {
  margin: 8px 0 0;
  color: #9ea9ba;
  font-size: 12px;
}
.trend-note::first-letter {
  color: #d7ff35;
}
.record-card {
  overflow: hidden;
}
.transfer-side-record {
  min-height: 282px;
  background: #171b22;
}
.transfer-side-record table {
  font-size: 12px;
}
.transfer-side-record th,
.transfer-side-record td {
  padding: 0 10px;
}
.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}
.record-head button {
  border: 0;
  background: transparent;
  color: #7ed957;
  font-weight: 900;
}
.record-card table {
  width: 100%;
  border-collapse: collapse;
}
.record-card th,
.record-card td {
  height: 38px;
  padding: 0 16px;
  border-top: 1px solid #232933;
  background: #343942;
  color: #e5ebf5;
  text-align: left;
}
.record-card th {
  color: #f4f7fb;
}
.record-card th:last-child,
.record-card td:last-child {
  text-align: right;
  padding-right: 24px;
}
.record-card .loss {
  color: #ff4e64;
}
.coin {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  margin-right: 5px;
}
.coin.usdt {
  background: #25c985;
}
.coin.trx {
  background: #ef3949;
}

.h5-transfer-page {
  min-height: 100vh;
  padding-bottom: 72px;
  background: #0d0f13;
  color: #eef4fb;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.h5-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 0 10px;
  background: #17191f;
  border-bottom: 1px solid #262b34;
}
.h5-menu {
  width: 34px;
  height: 34px;
  display: grid;
  gap: 4px;
  align-content: center;
  border: 0;
  background: transparent;
  padding: 6px;
}
.h5-menu span {
  height: 2px;
  border-radius: 999px;
  background: #8d99aa;
}
.h5-transfer-page .gc-brand {
  min-width: 0;
}
.h5-transfer-page .gc-brand strong {
  font-size: 18px;
}
.h5-wallet-pill {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 6px;
  background: #20242d;
  color: #fff;
  font-weight: 900;
}
.h5-wallet-pill span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #25c985;
  color: #fff;
  font-size: 12px;
}
.h5-main {
  display: grid;
  gap: 12px;
  padding: 14px 12px 20px;
}
.h5-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.h5-breadcrumb {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #dce5f2;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.h5-breadcrumb span {
  color: #9aa7b8;
}
.h5-breadcrumb em {
  color: #687589;
  font-style: normal;
}
.h5-breadcrumb strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h5-title-row .help {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid #384151;
  border-radius: 50%;
  background: #171b22;
  padding: 0;
}
.h5-title-row .help span {
  width: 22px;
  height: 22px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d7ff35;
  color: #121600;
  font-weight: 900;
}
.h5-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid #2b3340;
  border-radius: 8px;
  background: #11151b;
}
.h5-mode-tabs button {
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a9b4c4;
  font-weight: 900;
}
.h5-mode-tabs button.active {
  background: #3b4352;
  color: #fff;
}
.h5-limit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 900;
}
.h5-limit-row span {
  color: #a9b4c4;
}
.h5-limit-row strong {
  color: #c7ff25;
}
.h5-limit-row em {
  color: #526070;
  font-style: normal;
}
.block-countdown.h5 {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  gap: 6px;
  padding: 12px 10px 10px;
  margin-bottom: 0;
}
.block-countdown.h5 .history-btn {
  grid-column: 1 / -1;
  justify-self: end;
  min-height: 36px;
  padding: 0 12px;
  margin-top: -2px;
}
.block-countdown.h5 .block-node {
  gap: 6px;
  min-width: 0;
  justify-items: stretch;
}
.block-countdown.h5 .block-node span {
  text-align: center;
  font-size: 12px;
}
.block-countdown.h5 .block-node div {
  width: 100%;
  min-height: 44px;
  gap: 4px;
  justify-content: space-between;
  padding: 0 6px;
  overflow: hidden;
}
.block-countdown.h5 .block-node b {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1;
}
.block-countdown.h5 .block-node b::before {
  flex: 0 0 auto;
  display: block;
  width: 10px;
  height: 10px;
  margin-right: 3px;
  vertical-align: 0;
  box-shadow: inset 0 0 0 3px #6c7788;
}
.block-countdown.h5 .block-node.next b::before {
  box-shadow: inset 0 0 0 3px #263900;
}
.block-countdown.h5 .block-node button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 7px;
}
.block-countdown.h5 .countdown-meter {
  min-width: 0;
  align-self: center;
}
.block-countdown.h5 .meter-arc {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 50%;
  background: conic-gradient(#ff382c 0 128deg, rgba(92, 103, 119, .35) 128deg 360deg);
}
.block-countdown.h5 .meter-arc::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #273141, #1b2230);
}
.block-countdown.h5 .meter-arc::before {
  inset: 8px;
  border: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -18deg, transparent 0 12deg, rgba(168, 178, 194, .2) 12deg 18deg),
    transparent;
}
.block-countdown.h5 .meter-arc strong {
  position: relative;
  z-index: 1;
  left: auto;
  bottom: auto;
  transform: none;
  color: #fff;
  font-size: 21px;
  line-height: 1;
}
.block-countdown.h5 .meter-arc i {
  z-index: 2;
  left: 8px;
  bottom: 18px;
  width: 7px;
  height: 7px;
  background: #ff382c;
}
.block-countdown.h5 .meter-line {
  display: none;
}
.h5-card {
  border: 1px solid #303743;
  border-radius: 8px;
  background: #262b34;
  overflow: hidden;
}
.h5-card-title {
  padding: 12px 14px 8px;
  color: #dce5f2;
  font-size: 13px;
  font-weight: 900;
}
.h5-address-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #15191f;
}
.h5-address-line code {
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-weight: 900;
}
.h5-address-line button {
  border: 0;
  background: #15191f;
  color: #fff;
  font-weight: 900;
}
.h5-wallet-area {
  display: grid;
  grid-template-columns: 1fr;
  margin: 10px 12px 12px;
  padding: 12px;
  border-radius: 6px;
  background: #1a1e25;
}
.wallet-inline.h5 {
  padding-right: 0;
  gap: 8px;
}
.wallet-inline.h5 span {
  font-size: 13px;
}
.wallet-inline.h5 .wallet-form.compact {
  grid-template-columns: minmax(0, 1fr) 68px;
  gap: 8px;
}
.wallet-inline.h5 .wallet-form.compact input,
.wallet-inline.h5 .wallet-form.compact button {
  height: 38px;
}
.wallet-inline.h5 .wallet-form.compact input {
  min-width: 0;
  padding: 0 10px;
  font-size: 13px;
}
.wallet-inline.h5 .wallet-error {
  min-height: 16px;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
}
.wallet-inline.h5 .wallet-status-card {
  grid-template-columns: 1fr;
}
.wallet-inline.h5 .wallet-status-card .hash-ghost-btn {
  grid-column: 1;
  grid-row: auto;
  width: max-content;
}
.h5-odds-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 12px;
  padding: 14px 8px;
  border-radius: 7px;
  background: #1a1f27;
}
.h5-odds-options div {
  display: grid;
  justify-items: center;
  gap: 7px;
}
.h5-odds-options strong {
  font-size: 28px;
  line-height: 1;
}
.h5-odds-options span {
  min-width: 54px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #11151b;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.h5-block-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 10px 12px 12px;
  overflow: hidden;
  border-radius: 7px;
  background: #303743;
}
.h5-block-row div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: #1a1f27;
}
.h5-block-row span {
  color: #94a2b6;
  font-size: 12px;
  font-weight: 800;
}
.h5-block-row strong {
  color: #c7ff25;
}
.h5-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 12px 6px;
  font-weight: 900;
}
.h5-trend-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 12px 10px;
}
.h5-trend-tabs button {
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: #15191f;
  color: #aeb8c8;
  font-weight: 900;
}
.h5-trend-tabs button.active {
  background: #3b4352;
  color: #fff;
}
.trend-grid.h5 {
  grid-template-columns: repeat(14, minmax(18px, 1fr));
  margin: 0 12px;
  border-radius: 5px;
}
.h5-roadmap {
  display: grid;
  grid-template-columns: repeat(18, minmax(17px, 1fr));
  grid-auto-rows: 17px;
  margin: 0 12px;
  border: 1px solid #252b35;
  background: #20252d;
  overflow: hidden;
}
.h5-roadmap span {
  display: grid;
  place-items: center;
  border-right: 1px solid #11161d;
  border-bottom: 1px solid #11161d;
  font-size: 11px;
  font-weight: 900;
}
.h5-roadmap span.banker,
.h5-roadmap span.tie,
.h5-roadmap span.player {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  align-self: center;
  justify-self: center;
  color: #11161d;
}
.h5-roadmap span.banker {
  background: #ff425c;
}
.h5-roadmap span.tie {
  background: #39d878;
}
.h5-roadmap span.player {
  background: #d0cf43;
}
.h5-trend-card .trend-note {
  margin: 8px 12px 12px;
  padding: 0;
  color: #aeb8c8;
}
.h5-record-card {
  margin-bottom: 12px;
}
.h5-record-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr .7fr .8fr;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-top: 1px solid #303743;
  background: #343a44;
}
.h5-record-row span {
  display: inline-flex;
  align-items: center;
  color: #fff;
}
.h5-record-row b,
.h5-record-row em,
.h5-record-row strong {
  text-align: right;
}
.h5-record-row b,
.h5-record-row em {
  color: #e4ebf5;
  font-style: normal;
}
.h5-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #17191f;
  border-top: 1px solid #292f39;
}
.h5-bottom-nav span {
  display: grid;
  place-items: center;
  color: #9aa7b8;
  font-size: 12px;
  font-weight: 900;
}

.game-help-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .72);
}
.game-help-modal {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid rgba(199, 255, 37, .28);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(14, 18, 15, .96), rgba(17, 22, 25, .9)),
    radial-gradient(circle at 64% 44%, rgba(200, 32, 55, .28), transparent 30%);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .56);
}
.game-help-close {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid #3a4453;
  border-radius: 50%;
  background: #15191f;
  color: #dfe7f2;
  font-size: 20px;
}
.game-help-hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 330px;
  gap: 28px;
  padding: clamp(24px, 4vw, 46px);
}
.game-help-copy h2 {
  max-width: 720px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.28;
  letter-spacing: 0;
}
.game-help-copy h2::first-line {
  color: #c7ff25;
}
.hash-example {
  max-width: 540px;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px 24px;
  border: 1px solid #c7ff25;
  border-radius: 8px;
  background: rgba(199, 255, 37, .08);
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
}
.hash-example strong {
  padding: 7px 12px;
  border: 2px dashed #c7ff25;
  border-radius: 7px;
  color: #c7ff25;
}
.game-help-copy p {
  margin: 12px 0;
  color: #f3f6fb;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 800;
}
.game-help-copy b,
.game-help-examples b,
.game-help-examples em {
  color: #c7ff25;
}
.game-help-examples {
  display: grid;
  gap: 16px;
  align-content: center;
}
.game-help-examples article {
  padding: 18px;
  border: 1px solid #33404f;
  border-radius: 8px;
  background: rgba(13, 18, 24, .88);
}
.game-help-examples strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}
.game-help-examples p {
  margin: 0 0 8px;
  color: #d7dfeb;
  line-height: 1.6;
  font-weight: 700;
}
.game-help-examples em {
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 720px) {
  .game-help-mask {
    align-items: end;
    padding: 0;
  }
  .game-help-modal {
    width: 100%;
    max-height: 92vh;
    border-radius: 12px 12px 0 0;
  }
  .game-help-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 14px 26px;
  }
  .game-help-copy h2 {
    font-size: 25px;
    padding-right: 34px;
  }
  .hash-example {
    min-height: 74px;
    padding: 14px;
    font-size: 20px;
    overflow: hidden;
  }
  .game-help-copy p {
    font-size: 15px;
  }
  .game-help-examples article {
    padding: 14px;
  }
}
.hash-game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.hash-kicker {
  color: #a3e635;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.hash-game-head h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}
.hash-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  background: #20262f;
  color: #fff;
  font-weight: 700;
}
.hash-balance span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
}
.hash-mode-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: min(360px, 100%);
  gap: 8px;
  padding: 6px;
  margin-bottom: 16px;
  background: #101318;
  border: 1px solid #29313d;
  border-radius: 8px;
}
.hash-mode-tabs button {
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
}
.hash-mode-tabs button.active {
  background: #3a414d;
  color: #fff;
  font-weight: 700;
}
.hash-bet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
.hash-bet-main {
  display: grid;
  gap: 14px;
}
.transfer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 14px;
  align-items: stretch;
}
.transfer-rule-card {
  min-height: 168px;
  padding: 16px;
  border: 1px solid rgba(163, 230, 53, .48);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(27, 38, 20, .92), rgba(24, 31, 29, .72)),
    radial-gradient(circle at 86% 50%, rgba(190, 30, 60, .32), transparent 34%);
}
.hash-panel-title.compact {
  margin-bottom: 10px;
}
.rule-main {
  margin: 0 0 12px;
  color: #f3f6fb;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 800;
}
.rule-main b,
.rule-inline b,
.transfer-note b,
.transfer-limits b {
  color: #c7ff25;
}
.rule-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rule-inline span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(9, 13, 18, .58);
  color: #c8d2df;
  font-weight: 700;
}
.transfer-address-panel {
  order: -1;
  padding-bottom: 14px;
}
.transfer-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 222px;
  gap: 16px;
  align-items: start;
}
.address-copy-area p {
  margin: 0 0 10px;
  color: #c9d2e1;
}
.transfer-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.transfer-limits span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  background: #151a21;
  color: #dce5f4;
  font-weight: 800;
}
.transfer-note {
  margin: 12px 0 0;
  color: #c7ff25;
  font-weight: 800;
}
.compact-rule-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.compact-rule-strip div {
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #1e242d;
  border: 1px solid #2d3542;
}
.compact-rule-strip span {
  display: block;
  margin-bottom: 5px;
  color: #8f9bae;
}
.compact-rule-strip strong {
  color: #f4f7fb;
}
.hash-panel,
.hash-mini-card,
.hash-history {
  background: #1e242d;
  border: 1px solid #2d3542;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.hash-panel {
  padding: 18px;
}
.hash-panel.is-disabled {
  opacity: .58;
}
.transfer-address-panel.is-disabled {
  opacity: 1;
}
.hash-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.hash-panel-title > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hash-panel-title strong {
  font-size: 17px;
}
.hash-step {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #a3e635;
  color: #101318;
  font-weight: 800;
}
.hash-copy {
  max-width: 680px;
  color: #b6c0cc;
  margin: 0 0 14px;
  line-height: 1.75;
}
.wallet-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 132px;
  gap: 10px;
}
.wallet-form input,
.stake-row input {
  height: 42px;
  border: 1px solid #3a4453;
  border-radius: 6px;
  background: #12161c;
  color: #fff;
  padding: 0 12px;
  outline: 0;
}
.wallet-form input:focus,
.stake-row input:focus {
  border-color: #a3e635;
  box-shadow: 0 0 0 2px rgba(163, 230, 53, .16);
}
.hash-primary-btn,
.hash-ghost-btn,
.qr-save,
.address-line button {
  height: 42px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
}
.hash-primary-btn,
.qr-save {
  background: #a3e635;
  color: #101318;
}
.hash-ghost-btn {
  padding: 0 12px;
  border: 1px solid #465160;
  background: transparent;
  color: #d7dde5;
}
.wallet-error {
  color: #fb7185;
  min-height: 16px;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.35;
}
.wallet-active-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #151b22;
  border: 1px solid #324153;
}
.wallet-active-card span,
.wallet-active-card em,
.qr-detail label,
.hash-mini-card span {
  color: #96a1af;
  font-style: normal;
}
.wallet-active-card strong {
  color: #a3e635;
  font-size: 20px;
}
.hash-live,
.hash-status {
  color: #a3e635;
  font-weight: 700;
}
.bet-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bet-choice-grid button {
  min-height: 154px;
  border: 1px solid #313a47;
  border-radius: 8px;
  background: #171c23;
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
}
.bet-choice-grid button.active {
  border-color: #a3e635;
  box-shadow: inset 0 0 0 1px rgba(163, 230, 53, .35);
}
.bet-choice-grid span {
  font-size: 42px;
  font-weight: 800;
  color: #fb2f6f;
}
.bet-choice-grid button + button span {
  color: #facc15;
}
.bet-choice-grid em {
  min-width: 90px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0f1318;
  color: #d7dde5;
  font-style: normal;
}
.stake-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.stake-row button {
  width: 72px;
  height: 38px;
  border: 1px solid #3a4453;
  border-radius: 6px;
  background: #151a21;
  color: #edf2f7;
}
.stake-row button.active {
  background: #a3e635;
  border-color: #a3e635;
  color: #101318;
  font-weight: 800;
}
.stake-row label {
  min-width: 140px;
}
.stake-row input {
  width: 100%;
  height: 38px;
}
.qr-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.qr-card {
  background: #eef4fb;
  color: #111827;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.qr-title {
  color: #f43f5e;
  font-weight: 700;
  margin-bottom: 10px;
}
.qr-box {
  width: 206px;
  height: 206px;
  margin: 0 auto 10px;
  padding: 8px;
  background: #fff;
}
.fake-qr {
  display: grid;
  grid-template-columns: repeat(29, 1fr);
  grid-template-rows: repeat(29, 1fr);
  width: 100%;
  height: 100%;
  gap: 1px;
}
.fake-qr i {
  background: #fff;
}
.fake-qr i.on {
  background: #050505;
}
.qr-save {
  width: 100%;
  height: 34px;
  background: transparent;
  color: #2563eb;
}
.qr-detail {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
}
.qr-detail strong {
  font-size: 17px;
  color: #fff;
}
.qr-detail p {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: #b6c0cc;
  line-height: 1.7;
}
.address-line {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
  align-items: center;
}
.address-line code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
  background: #11161d;
  color: #a3e635;
}
.address-line button {
  background: #2f3744;
  color: #fff;
}
.hash-bet-side {
  display: grid;
  gap: 14px;
}
.hash-mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.hash-mini-card strong {
  font-size: 20px;
  color: #a3e635;
}
.hash-history {
  padding: 16px;
}
.hash-history-title {
  margin-bottom: 12px;
  color: #d7dde5;
  font-weight: 700;
}
.hash-history div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hash-history span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
}
.hash-history .big {
  background: rgba(251, 47, 111, .14);
  color: #fb2f6f;
}
.hash-history .small {
  background: rgba(250, 204, 21, .14);
  color: #facc15;
}

@media (max-width: 980px) {
  .hash-bet-layout,
  .qr-content,
  .transfer-hero,
  .transfer-address-grid,
  .transfer-top-grid {
    grid-template-columns: 1fr;
  }
  .hash-transfer-page.v2 .hash-transfer-main {
    max-width: none;
  }
  .transfer-toolbar {
    gap: 10px;
  }
  .transfer-arena,
  .trend-tabs {
    justify-self: stretch;
    width: 100%;
  }
  .transfer-limit {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }
  .transfer-top-grid {
    margin-bottom: 18px;
  }
  .trend-head {
    grid-template-columns: 1fr;
  }
  .trend-grid {
    grid-template-columns: repeat(24, minmax(16px, 1fr));
  }
  .hash-bet-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .block-countdown.transfer-blockbar {
    grid-template-columns: 1fr auto 1fr;
    padding: 10px;
    gap: 8px;
  }
  .block-countdown.transfer-blockbar .history-btn {
    grid-column: 1 / -1;
    justify-self: end;
    min-height: 36px;
  }
  .block-countdown.transfer-blockbar .block-node div {
    min-height: 40px;
    padding: 0 8px;
  }
  .block-countdown.transfer-blockbar .block-node b {
    font-size: 12px;
  }
  .block-countdown.transfer-blockbar .block-node b::before {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    box-shadow: inset 0 0 0 4px #6c7788;
  }
  .block-countdown.transfer-blockbar .block-node.next b::before {
    box-shadow: inset 0 0 0 4px #263900;
  }
  .block-countdown.transfer-blockbar .block-node button {
    height: 30px;
    padding: 0 7px;
  }
  .block-countdown.transfer-blockbar .countdown-meter {
    min-width: 72px;
  }
  .block-countdown.transfer-blockbar .meter-arc {
    width: 54px;
    height: 38px;
  }
  .block-countdown.transfer-blockbar .meter-arc::before {
    border-width: 6px;
  }
  .block-countdown.transfer-blockbar .meter-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .hash-player-actions .hash-top-search,
  .hash-player-actions .hash-top-icon,
  .hash-player-actions .hash-avatar,
  .hash-player-actions .hash-balance {
    display: none;
  }
  .hash-game-head,
  .hash-panel-title {
    align-items: stretch;
    flex-direction: column;
  }
  .wallet-form,
  .bet-choice-grid,
  .hash-bet-side,
  .compact-rule-strip {
    grid-template-columns: 1fr;
  }
  .transfer-qr-row {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 8px;
  }
  .wallet-form.compact {
    grid-template-columns: minmax(0, 1fr) 64px;
  }
  .odds-options {
    min-height: 82px;
  }
  .odds-options strong {
    font-size: 24px;
  }
  .qr-detail {
    grid-template-columns: 1fr;
  }
  .bet-choice-grid button {
    min-height: 116px;
  }
}

.pre-admin-page {
  min-height: 100vh;
  background: #f2f2f2;
  color: #606266;
  font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}
.pre-topbar {
  height: 70px;
  background: #222c3c;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 22px;
  gap: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.pre-hamburger {
  font-size: 22px;
  line-height: 1;
}
.pre-brand {
  font-size: 26px;
  font-weight: 700;
  min-width: 170px;
}
.pre-alerts {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  white-space: nowrap;
}
.pre-alert {
  display: inline-grid;
  justify-items: center;
  gap: 2px;
  color: #fff;
  font-size: 13px;
  min-width: 54px;
}
.pre-alert strong {
  font-size: 15px;
  font-weight: 500;
}
.pre-user {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 14px;
}
.pre-body {
  display: flex;
  min-height: calc(100vh - 70px);
}
.pre-sidebar {
  width: 250px;
  flex: 0 0 250px;
  background: #34445a;
  color: #d4d9e0;
  height: calc(100vh - 70px);
  overflow-y: auto;
}
.pre-menu-row {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 24px;
  color: #d7dde5;
}
.pre-menu-row .pre-icon {
  width: 16px;
  color: #c7ced8;
}
.pre-menu-row .pre-caret {
  margin-left: auto;
  color: #8996a8;
}
.pre-menu-row.active-parent {
  background: rgba(0,0,0,.08);
}
.pre-submenu {
  background: #34445a;
  padding: 0 0 8px;
}
.pre-submenu a {
  display: flex;
  align-items: center;
  height: 50px;
  padding-left: 40px;
  color: #d7dde5;
  font-size: 14px;
}
.pre-submenu a.active {
  color: #409eff;
}
.pre-main {
  flex: 1;
  min-width: 0;
  padding: 0 10px 24px;
}
.pre-tabs {
  height: 40px;
  background: #fff;
  border-top: 1px solid #e4e7ed;
  border-bottom: 1px solid #e4e7ed;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pre-tab-left {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
}
.pre-tab {
  height: 28px;
  line-height: 26px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #fff;
  padding: 0 12px;
  font-size: 13px;
  color: #606266;
}
.pre-tab.active {
  background: #409eff;
  color: #fff;
  border-color: #409eff;
}
.pre-label-select {
  height: 30px;
  background: #409eff;
  border: 0;
  color: #fff;
  padding: 0 14px;
  border-radius: 3px;
  margin-right: 8px;
}
.pre-panel {
  margin-top: 10px;
  min-height: calc(100vh - 122px);
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 3px;
  padding: 30px;
  overflow: auto;
}
.pre-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
}
.pre-filter label {
  font-size: 14px;
  color: #606266;
}
.pre-select {
  width: 100px;
  height: 34px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  padding: 0 12px;
  background: #fff;
}
.pre-btn {
  height: 34px;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #606266;
  padding: 0 15px;
}
.pre-btn.primary {
  background: #409eff;
  border-color: #409eff;
  color: #fff;
}
.pre-btn.mini {
  height: 28px;
  padding: 0 9px;
  font-size: 12px;
  margin: 2px;
}
.pre-table-wrap {
  overflow: auto;
}
.pre-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #606266;
  font-size: 14px;
}
.pre-table th,
.pre-table td {
  border: 1px solid #ebeef5;
  height: 34px;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pre-table th {
  background: #f5f7fa;
  color: #909399;
  font-weight: 700;
}
.pre-status-on {
  color: #409eff;
  font-weight: 700;
}
.pre-status-off {
  color: #f56c6c;
  font-weight: 700;
}
.pre-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
  color: #606266;
}
.pre-page-number {
  min-width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #409eff;
  color: #fff;
  display: inline-grid;
  place-items: center;
}
.pre-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.45);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 38px;
}
.pre-dialog {
  width: 800px;
  max-height: calc(100vh - 70px);
  overflow: auto;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.pre-dialog-hd {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  color: #303133;
}
.pre-dialog-close {
  position: absolute;
  right: 22px;
  top: 15px;
  border: 0;
  background: transparent;
  color: #909399;
  font-size: 22px;
}
.pre-dialog-bd {
  padding: 18px 62px 30px;
}
.pre-form-row {
  display: grid;
  grid-template-columns: 110px 300px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 51px;
}
.pre-form-row label {
  text-align: right;
  color: #606266;
}
.pre-required::before {
  content: "*";
  color: #f56c6c;
  margin-right: 4px;
}
.pre-input,
.pre-textarea {
  border: 1px solid #dcdfe6;
  height: 34px;
  border-radius: 4px;
  padding: 0 12px;
  color: #606266;
}
.pre-textarea {
  height: 52px;
  padding-top: 8px;
}
.pre-upload-row {
  display: grid;
  grid-template-columns: 110px 102px 118px;
  gap: 16px;
  align-items: center;
  margin: 12px 0;
}
.pre-upload {
  width: 100px;
  height: 100px;
  border: 1px dashed #d9d9d9;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 34px;
}
.pre-ref {
  width: 104px;
  height: 82px;
  background: #bfbfbf;
  color: #606266;
  display: grid;
  place-items: center;
  border-radius: 5px;
  text-align: center;
  font-size: 13px;
}
.pre-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 470px;
}
.pre-lang {
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  background: #f5f7fa;
  color: #606266;
  padding: 3px 8px;
  font-size: 12px;
}
.pre-dialog-ft {
  text-align: center;
  padding: 0 0 26px;
}
.pre-game-page .pre-topbar {
  height: 70px;
  padding: 0 14px;
  background: #242f42;
}
.pre-game-page .pre-brand {
  font-size: 22px;
  min-width: 170px;
}
.pre-game-page .pre-alerts {
  justify-content: flex-end;
  gap: 24px;
}
.pre-game-page .pre-body {
  min-height: calc(100vh - 70px);
}
.pre-game-page .pre-sidebar {
  width: 250px;
  flex-basis: 250px;
  height: calc(100vh - 70px);
  background: #304156;
}
.pre-game-page .pre-menu-row {
  height: 56px;
  padding: 0 24px;
  color: rgb(191, 203, 217);
  font-size: 14px;
}
.pre-game-page .pre-menu-row.active-parent {
  color: rgb(191, 203, 217);
  background: #304156;
}
.pre-game-page .pre-submenu {
  background: #1f2d3d;
  padding: 0;
}
.pre-game-page .pre-submenu a {
  height: 50px;
  padding-left: 40px;
  color: rgb(191, 203, 217);
  font-size: 14px;
}
.pre-game-page .pre-submenu a.active {
  color: #409eff;
}
.pre-game-page .pre-main {
  padding: 0 10px 10px;
  background: #f2f2f2;
}
.pre-game-page .pre-tabs {
  height: 40px;
  margin: 0 -10px;
  padding-left: 10px;
}
.pre-game-panel {
  margin-top: 0;
  padding: 30px;
  min-height: calc(100vh - 116px);
}
.pre-game-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 10px;
  margin-bottom: 20px;
}
.pre-game-field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #606266;
  font-size: 13px;
}
.pre-game-field span {
  white-space: nowrap;
}
.pre-game-field .pre-input,
.pre-game-field .pre-select {
  width: 150px;
  height: 32px;
  font-size: 13px;
}
.pre-game-field .pre-select.wide {
  width: 150px;
}
.pre-game-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.pre-game-actions .pre-btn {
  height: 29px;
  border-radius: 3px;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 500;
}
.pre-btn.square {
  width: 46px;
  padding: 0;
}
.pre-column-btn {
  margin-left: auto;
}
.pre-game-table-wrap {
  border-top: 1px solid #ebeef5;
}
.pre-game-table {
  min-width: 1570px;
  font-size: 13px;
}
.pre-game-table th,
.pre-game-table td {
  height: 34px;
  padding: 0 8px;
}
.pre-game-table .pre-game-th-0 { width: 38px; }
.pre-game-table .pre-game-th-1 { width: 90px; }
.pre-game-table .pre-game-th-2 { width: 150px; }
.pre-game-table .pre-game-th-3,
.pre-game-table .pre-game-th-4,
.pre-game-table .pre-game-th-5 { width: 100px; }
.pre-game-table .pre-game-th-6,
.pre-game-table .pre-game-th-7,
.pre-game-table .pre-game-th-8 { width: 80px; }
.pre-game-table .pre-game-th-9 { width: 280px; }
.pre-game-table .pre-game-th-10 { width: 400px; }
.pre-game-table .pre-on {
  color: #67c23a;
}
.pre-link {
  border: 0;
  background: transparent;
  color: #409eff;
  cursor: pointer;
  padding: 0 4px;
  font-size: 13px;
}
.pre-link.red {
  color: #f56c6c;
}
.pre-link.green {
  color: #67c23a;
}
.pre-range-inputs {
  display: inline-grid;
  grid-template-columns: 44px 12px 44px;
  align-items: center;
  gap: 3px;
  margin-right: 4px;
}
.pre-range-inputs input {
  width: 44px;
  height: 24px;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
  text-align: center;
  color: #606266;
  background: #fff;
}
.pre-game-modal-mask {
  padding: 70px 0 24px;
  align-items: flex-start;
}
.pre-game-edit-dialog {
  width: 750px;
  max-height: calc(100vh - 94px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pre-game-edit-dialog .pre-dialog-hd {
  height: 54px;
  padding: 20px 20px 10px;
  font-size: 16px;
  font-weight: 700;
}
.pre-game-edit-dialog .pre-dialog-close {
  top: 20px;
  right: 22px;
  font-size: 22px;
  color: #a4aab3;
}
.pre-game-edit-body {
  padding: 25px 25px 30px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.pre-game-edit-row {
  min-height: 51px;
  display: grid;
  grid-template-columns: 140px 390px;
  align-items: center;
  column-gap: 0;
}
.pre-game-edit-row > label:first-child {
  text-align: right;
  color: #606266;
  font-size: 14px;
  padding-right: 12px;
}
.pre-game-edit-input {
  width: 390px;
  height: 32px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 14px;
  color: #606266;
  background: #fff;
  font-size: 14px;
}
.pre-game-edit-input:disabled {
  color: #c0c4cc;
  background: #f5f7fa;
}
.pre-game-qr-row {
  min-height: 86px;
  align-items: start;
}
.pre-game-qr-row > label:first-child {
  line-height: 32px;
}
.pre-game-qr-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}
.pre-game-qr-preview {
  width: 72px;
  height: 72px;
  border: 1px dashed #c0c4cc;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 9px, rgba(144,147,153,.16) 10px, transparent 11px),
    linear-gradient(transparent 9px, rgba(144,147,153,.16) 10px, transparent 11px),
    #fafafa;
  background-size: 18px 18px;
  display: grid;
  place-items: center;
  color: #909399;
  font-size: 12px;
}
.pre-game-qr-control.has-file .pre-game-qr-preview {
  border-style: solid;
  border-color: #67c23a;
  background:
    linear-gradient(90deg, #111827 12px, transparent 12px 18px, #111827 18px 28px, transparent 28px),
    linear-gradient(#111827 12px, transparent 12px 18px, #111827 18px 28px, transparent 28px),
    #fff;
  background-size: 36px 36px;
}
.pre-game-qr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pre-game-radio-row > div {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #606266;
}
.pre-game-radio-row input[type="radio"] {
  accent-color: #409eff;
}
.pre-game-edit-limits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
}
.pre-game-edit-limits .pre-game-edit-row {
  grid-template-columns: 140px 140px;
}
.pre-game-edit-limits .pre-game-edit-row > label:first-child {
  font-size: 13px;
  white-space: nowrap;
}
.pre-game-edit-limits .pre-game-edit-input {
  width: 140px;
}
.pre-game-edit-ft {
  padding: 10px 20px 20px;
  flex: 0 0 auto;
  background: #fff;
}
.pre-game-edit-ft .pre-btn {
  width: 58px;
  height: 32px;
  line-height: 30px;
  padding: 0;
  white-space: nowrap;
}
.pre-login-dialog {
  width: 700px;
}
.pre-login-body {
  padding: 34px 52px 22px;
}
.pre-rule-section {
  border-top: 1px solid #ebeef5;
  padding: 24px 0 20px;
}
.pre-rule-section:first-child {
  border-top: 0;
  padding-top: 0;
}
.pre-rule-title {
  color: #303133;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pre-rule-tip {
  color: #606266;
  line-height: 1.5;
  margin: 0 0 22px;
}
.pre-rule-tip .danger {
  color: #f56c6c;
  font-weight: 700;
}
.pre-radio-line {
  display: grid;
  grid-template-columns: 170px 90px 90px;
  align-items: center;
  min-height: 52px;
  color: #606266;
  padding-left: 52px;
}
.pre-radio-line > span:first-child {
  text-align: right;
  padding-right: 18px;
}
.pre-radio-line label,
.pre-check-line label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #606266;
}
.pre-radio-line input[type="radio"],
.pre-check-line input[type="checkbox"] {
  accent-color: #409eff;
}
.pre-check-line {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding-left: 112px;
}
.pre-google-row {
  display: grid;
  grid-template-columns: 170px 220px;
  gap: 10px;
  align-items: center;
  padding-left: 52px;
  min-height: 50px;
}
.pre-google-row label {
  text-align: right;
  color: #606266;
}
.pre-login-footer {
  text-align: right;
  padding: 0 52px 28px;
}
.pre-config-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px 16px;
  padding-left: 52px;
  align-items: start;
}
.pre-config-grid > label {
  text-align: right;
  color: #606266;
  line-height: 32px;
}
.pre-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-height: 32px;
  align-items: center;
}
.pre-chip-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #606266;
}
.pre-chip-group input {
  accent-color: #409eff;
}
.pre-help-box {
  margin: 12px 0 0 222px;
  padding: 12px 14px;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  color: #606266;
  line-height: 1.7;
}
.security-verified-box {
  display: grid;
  gap: 8px;
}
.security-verified-line {
  min-height: 44px;
  border-radius: 5px;
  background: #181a1e;
  color: #dbe6f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  font-weight: 900;
}
.security-verified-line em {
  color: #c9fc01;
  font-style: normal;
  font-size: 12px;
}

@media (max-width: 900px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .topbar { gap: 12px; }
}

.security-page {
  min-height: 100vh;
  background: #0f1013;
  color: #eef5ff;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  overflow: hidden;
  position: relative;
}
.security-page::before {
  content: "";
  position: fixed;
  inset: 56px 0 0 220px;
  background:
    radial-gradient(circle at 38% 6%, rgba(58, 255, 127, .12), transparent 18%),
    radial-gradient(circle at 75% 4%, rgba(180, 40, 95, .17), transparent 20%),
    linear-gradient(90deg, rgba(9, 14, 20, .68), rgba(11, 12, 15, .42)),
    repeating-linear-gradient(90deg, rgba(32, 39, 47, .9) 0 104px, rgba(109, 32, 48, .55) 104px 208px, rgba(20, 69, 82, .65) 208px 312px);
  filter: blur(5px);
  opacity: .42;
}
.security-topbar {
  height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  background: #111216;
  display: flex;
  align-items: center;
  padding: 0 14px;
  position: relative;
  z-index: 3;
}
.security-icon-btn,
.security-square,
.security-avatar {
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: #1b1e24;
  color: #6d7a8d;
  display: inline-grid;
  place-items: center;
}
.security-icon-btn {
  gap: 4px;
  padding: 10px;
}
.security-icon-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #647185;
  border-radius: 99px;
}
.security-icon-btn span:nth-child(2) {
  background: #9ac100;
  transform: translateX(5px);
}
.security-brand {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.security-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #173c2b, #7fa000);
  color: #c9fc01;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(201, 252, 1, .22);
}
.security-logo-text {
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0;
  color: #b7c0ce;
}
.security-logo-text span {
  color: #91b900;
}
.security-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.security-balance {
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(115, 132, 154, .18);
  border-radius: 6px;
  background: #171a20;
  color: #9da9ba;
  font-weight: 700;
}
.security-balance span {
  color: #13b981;
}
.security-recharge {
  height: 36px;
  border: 0;
  border-radius: 5px;
  background: #88a500;
  color: #111400;
  padding: 0 15px;
  font-weight: 800;
}
.badge-dot {
  position: relative;
}
.badge-dot::after {
  content: "1";
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #2ea043;
  color: #d8f8d8;
  font-size: 11px;
}
.security-avatar {
  background: linear-gradient(145deg, #1f2833, #050607);
  border: 1px solid rgba(201, 252, 1, .18);
}
.security-side {
  width: 220px;
  position: fixed;
  z-index: 2;
  top: 56px;
  bottom: 0;
  left: 0;
  background: #121418;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.security-side a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7d899a;
  font-weight: 700;
}
.security-side a span {
  width: 20px;
  color: #778497;
  text-align: center;
}
.security-side a.active,
.security-side a.active span {
  color: #9fc602;
}
.security-side b {
  margin-left: auto;
  min-width: 72px;
  height: 19px;
  border-radius: 9px;
  background: #9b1657;
  color: #ffd5ec;
  font-size: 12px;
  display: inline-grid;
  place-items: center;
}
.security-socials {
  margin-top: auto;
  display: flex;
  gap: 7px;
}
.security-socials span {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: #20242b;
  color: #d7e0ee;
  font-weight: 800;
}
.security-service {
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  height: 38px;
  background: #1b1f26;
  color: #9facbf;
  font-weight: 800;
}
.security-main {
  position: relative;
  z-index: 1;
  margin-left: 220px;
  padding: 72px 14vw 80px;
  min-height: calc(100vh - 56px);
}
.security-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 28px 12px;
  opacity: .82;
}
.security-summary-card {
  background: #202227;
  border-radius: 6px;
  min-height: 168px;
  padding: 22px 14px 12px;
  position: relative;
}
.summary-icon {
  display: block;
  color: #718096;
  font-size: 22px;
  margin-bottom: 14px;
}
.security-summary-card strong {
  display: block;
  color: #c9d1dc;
  font-size: 16px;
  margin-bottom: 10px;
}
.security-summary-card p {
  margin: 0 0 14px;
  color: #667286;
  line-height: 1.65;
  font-weight: 700;
}
.security-summary-card button,
.summary-value {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: #789600;
  color: #111500;
  font-size: 16px;
  font-weight: 900;
}
.summary-value {
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #111317;
  color: #77869a;
}
.summary-value em {
  margin-left: auto;
  color: #9ac100;
  font-style: normal;
}
.security-summary-card i {
  position: absolute;
  right: 14px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #95b900;
  color: #1b2200;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}
.security-footnote {
  margin-top: 30px;
  max-width: 560px;
  color: #586579;
  line-height: 1.65;
  font-weight: 700;
}
.foot-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.security-footnote h3 {
  color: #a5afbf;
  margin-top: 48px;
}
.coin-row {
  display: flex;
  gap: 12px;
}
.coin-row span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #182027;
  color: #9ac100;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.security-dim {
  position: fixed;
  inset: 56px 0 0 220px;
  z-index: 4;
  background: rgba(0, 0, 0, .58);
}
.security-panel {
  position: fixed;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 424px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 48px);
  transform: translate(-50%, -50%);
  background: #24262a;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
  padding: 18px 16px;
  overflow: auto;
}
.security-panel-title {
  min-height: 24px;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  margin-bottom: 16px;
}
.security-panel-title h1 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  font-weight: 900;
}
.security-panel-title button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 5px;
  background: #4d5868;
  color: #ccd7e8;
  font-size: 18px;
  line-height: 20px;
}
.security-form {
  display: grid;
  gap: 14px;
}
.security-field {
  display: grid;
  gap: 10px;
}
.security-field span {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}
.security-field input {
  width: 100%;
  height: 44px;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  background: #181a1e;
  color: #dbe6f5;
  padding: 0 12px;
  outline: none;
  font-weight: 800;
  font-size: 16px;
}
.security-field input::placeholder {
  color: #627086;
}
.security-field input:focus {
  box-shadow: 0 0 0 1px rgba(201, 252, 1, .32);
}
.security-field input.invalid {
  box-shadow: 0 0 0 1px rgba(255, 86, 86, .72);
}
.security-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 8px;
}
.security-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  gap: 8px;
}
.security-contact-row select {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: #181a1e;
  color: #dbe6f5;
  padding: 0 8px;
  outline: none;
  font-weight: 900;
  font-size: 16px;
  display: none;
}
.security-contact-row.show-country {
  grid-template-columns: 74px minmax(0, 1fr) 80px;
}
.security-contact-row.show-country select {
  display: block;
}
.security-field em {
  color: #627086;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
}
.security-field .security-error {
  display: none;
  color: #ff6b6b;
}
.security-field .security-error.show {
  display: block;
}
.security-contact-tabs {
  height: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
  background: #181a1e;
}
.security-contact-tabs button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #637086;
  font-size: 16px;
  font-weight: 900;
}
.security-contact-tabs button.active {
  background: #c9fc01;
  color: #101500;
}
.security-inline button,
.security-contact-row button {
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #8cf26f 0%, #2eea78 100%);
  color: #020d04;
  font-size: 16px;
  font-weight: 900;
}
.security-inline button.sent,
.security-contact-row button.sent {
  background: linear-gradient(180deg, #9ff27a 0%, #4bea7b 100%);
  color: #17310a;
  cursor: not-allowed;
}
.security-code-group {
  display: grid;
  gap: 14px;
}
.security-submit {
  margin-top: 8px;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: #6b8600;
  color: #101500;
  font-size: 16px;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16);
}
.security-submit:hover {
  background: #c9fc01;
}

@media (max-width: 960px) {
  .security-side {
    display: none;
  }
  .security-page::before,
  .security-dim {
    left: 0;
  }
  .security-main {
    margin-left: 0;
    padding: 70px 16px 80px;
  }
  .security-summary-grid {
    grid-template-columns: 1fr;
  }
  .security-top-actions .security-square:nth-of-type(n+2),
  .security-balance {
    display: none;
  }
}

@media (max-width: 520px) {
  .security-topbar {
    padding: 0 12px;
  }
  .security-logo-text {
    font-size: 17px;
  }
  .security-recharge {
    display: none;
  }
  .security-dim {
    inset: 0;
  }
  .security-panel {
    top: auto;
    bottom: 14px;
    left: 50%;
    width: calc(100% - 52px);
    max-width: 424px;
    max-height: calc(100vh - 28px);
    transform: none;
    transform: translateX(-50%);
    border-radius: 8px;
    padding: 16px 12px 18px;
  }
  .security-contact-row {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 6px;
  }
  .security-contact-row.show-country {
    grid-template-columns: 68px minmax(0, 1fr) 72px;
  }
}
