* {
  box-sizing: border-box;
}

:root {
  --cyan: #028db9;
  --cyan-dark: #007fad;
  --line: #e7e7e7;
  --text: #253242;
}

[v-cloak] {
  display: none;
}

html,
body {
  width: 100%;
  min-width: 1490px;
  height: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  color: var(--text);
  background: #f1f2f4;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
}

#app.auth-locked {
  min-width: 0;
  min-height: 100vh;
}

#app.auth-locked > :not(.host-login-page):not(.notice-toast) {
  display: none !important;
}

.host-authenticated-shell {
  display: contents;
}

.host-login-page {
  min-width: 100vw;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #eef2f5;
}

.host-login-card {
  width: 380px;
  display: grid;
  gap: 18px;
  padding: 30px 32px 32px;
  border: 1px solid #dde5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(27, 49, 70, 0.16);
}

.host-login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf1f4;
}

.host-login-brand img {
  width: 86px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.host-login-brand h1 {
  margin: 0 0 5px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f3347;
}

.host-login-brand p {
  margin: 0;
  font-size: 13px;
  color: #71808e;
}

.host-login-field {
  display: grid;
  gap: 8px;
  color: #33465a;
  font-weight: 600;
}

.host-login-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d5dee7;
  border-radius: 4px;
  outline: none;
  color: #1f3347;
  background: #fbfcfd;
}

.host-login-field input:focus {
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 141, 185, 0.12);
}

.host-login-field input:disabled {
  color: #8895a3;
  background: #f3f6f8;
  cursor: not-allowed;
}

.host-login-error {
  margin: -4px 0 0;
  padding: 9px 10px;
  border-radius: 4px;
  color: #b42318;
  background: #fff1f0;
  border: 1px solid #ffd5d2;
}

.host-login-submit {
  height: 44px;
  border-radius: 4px;
  color: #fff;
  background: var(--cyan);
  font-weight: 700;
}

.host-login-submit:hover {
  background: var(--cyan-dark);
}

.host-login-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

button,
textarea {
  font: inherit;
}

button {
  border: 0;
  appearance: none;
  cursor: pointer;
}

.top-status {
  position: relative;
  min-width: 1490px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px 0 22px;
  color: #fff;
  background: #008db8;
  white-space: nowrap;
}

.brand {
  width: 108px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 94px;
  height: 35px;
  display: block;
  object-fit: contain;
}

.brand-mark {
  width: 34px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 15px 3px 15px 3px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.brand-name {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.notice {
  min-width: 0;
  max-width: none;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  color: #ffeb1a;
  overflow: hidden;
}

.notice svg {
  width: 20px;
  height: 20px;
  fill: #ffe044;
  color: #ffe044;
  flex: 0 0 auto;
}

.notice-window {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.notice-track {
  display: inline-block;
  min-width: 840px;
  animation: marquee 18s linear infinite;
}

.more {
  color: #fff;
  padding: 0;
  background: transparent;
  font-size: 12px;
  flex: 0 0 auto;
}

.more:hover {
  color: #dff7ff;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.room-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 14px;
}

.icon-chip {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.icon-chip svg {
  width: 14px;
  height: 14px;
}

.feedback,
.download,
.account,
.bell {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 6px;
}

.feedback {
  width: 72px;
  background: #27bee1;
}

.bell {
  width: 28px;
  background: transparent;
  position: relative;
}

.notify-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.download {
  width: 119px;
  background: #08c735;
}

.account {
  min-width: 78px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.1);
}

.feedback svg,
.download svg,
.account svg,
.bell svg {
  width: 16px;
  height: 16px;
}

.download-popover,
.account-menu {
  position: absolute;
  top: 42px;
  z-index: 18;
  color: #263442;
  background: #fff;
  border: 1px solid #d9e2ea;
  border-radius: 4px;
  box-shadow: 0 7px 22px rgba(24, 39, 52, 0.18);
}

.download-mask {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
}

.download-popover {
  position: static;
  width: min(1030px, 94vw);
  padding: 0;
  overflow: hidden;
}

.download-popover header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: #eef8ff;
  border-bottom: 1px solid #d5eaf8;
}

.download-popover h3 {
  margin: 0;
  color: #172635;
  font-size: 16px;
}

.download-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-mini {
  height: 26px;
  padding: 0 10px;
  color: #356174;
  background: #fff;
  border: 1px solid #b8d6e5;
  border-radius: 3px;
}

.download-mini.primary {
  color: #fff;
  background: #008fbd;
  border-color: #008fbd;
}

.download-mini:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.download-close {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #8a98a6;
  background: transparent;
  border-radius: 3px;
}

.download-close svg {
  width: 18px;
  height: 18px;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 10px;
  padding: 10px;
}

.download-row {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 10px 8px;
  border: 1px solid #edf2f5;
  border-radius: 3px;
}

.download-row p {
  margin: 5px 0;
  color: #586778;
  white-space: normal;
  word-break: break-all;
}

.download-row button,
.account-menu button {
  height: 28px;
  margin-right: 6px;
  padding: 0 10px;
  color: #fff;
  background: #008fbd;
  border-radius: 3px;
}

.download-row .ghost {
  color: #008fbd;
  background: #eefaff;
}

.download-config-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 14px;
  padding: 0 10px 10px;
}

.download-config-form label {
  display: grid;
  gap: 5px;
  color: #435466;
  font-size: 13px;
}

.download-config-form input {
  height: 32px;
  padding: 0 9px;
  color: #1d2f3c;
  background: #fff;
  border: 1px solid #cbd7df;
  border-radius: 3px;
  outline: none;
}

.download-config-form input:focus {
  border-color: #008fbd;
  box-shadow: 0 0 0 2px rgba(0, 143, 189, 0.12);
}

.qr-box {
  width: 160px;
  height: 160px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 20px, #111 20px 30px, transparent 30px),
    linear-gradient(#111 10px, transparent 10px 20px, #111 20px 30px, transparent 30px),
    #fff;
  border: 7px solid #fff;
  outline: 1px solid #cbd7df;
}

.download-tip {
  margin: 0 10px 10px;
  padding: 7px 10px;
  color: #ef6a28;
  background: #fff9e8;
  border: 1px solid #f5e2a8;
  border-radius: 3px;
  white-space: normal;
}

@media (max-width: 900px) {
  .download-popover {
    max-height: 92vh;
    overflow: auto;
  }

  .download-cards,
  .download-config-form {
    grid-template-columns: 1fr;
  }

  .download-row {
    min-height: auto;
  }
}

.account-menu {
  right: 14px;
  z-index: 24;
  width: 150px;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.account-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  color: #3a4958;
  background: #fff;
  border-radius: 0;
}

.account-menu button:hover {
  color: #008fbd;
  background: #eefaff;
}

.main-nav {
  min-width: 1490px;
  height: 78px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 16px 0 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.main-nav ul {
  display: flex;
  align-items: stretch;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
  min-width: 58px;
  color: #101820;
  font-weight: 700;
  font-size: 14px;
}

.nav-link {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  font-weight: inherit;
}

.main-nav li.active {
  color: #008cbd;
}

.main-nav li.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 151, 205, 0.08);
}

.nav-icon {
  width: 36px;
  height: 34px;
  display: grid;
  place-items: center;
}

.nav-icon img {
  max-width: 36px;
  max-height: 34px;
  display: block;
  object-fit: contain;
}

.nav-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke-width: 0;
}

.nav-badge {
  position: absolute;
  top: 6px;
  right: -8px;
  z-index: 2;
  min-width: 22px;
  height: 14px;
  padding: 0 3px;
  color: #fff;
  background: #ff7c00;
  border-radius: 2px;
  font-size: 9px;
  line-height: 14px;
  font-weight: 800;
  text-align: center;
}

.audit-btn {
  align-self: center;
  width: 82px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  background: #ff7627;
  border-radius: 23px 0 0 23px;
  box-shadow: 0 3px 10px rgba(255, 116, 33, 0.35);
  font-weight: 700;
  margin-right: -16px;
  position: relative;
  z-index: 19;
}

.audit-btn svg {
  width: 21px;
  height: 21px;
  stroke: #fff;
}

.audit-btn.open {
  box-shadow: 0 4px 14px rgba(255, 118, 39, 0.48);
}

.audit-drawer-mask {
  position: fixed;
  left: 0;
  right: 0;
  top: 120px;
  bottom: 0;
  z-index: 18;
  display: flex;
  justify-content: flex-end;
  background: rgba(17, 24, 39, 0.08);
}

html:has(.audit-drawer-mask),
body:has(.audit-drawer-mask) {
  overflow-x: hidden;
}

.audit-drawer {
  width: 1044px;
  max-width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: 1px solid #d9dee7;
  box-shadow: -3px 0 10px rgba(32, 46, 61, 0.12);
}

.audit-drawer-head {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 0 16px;
  color: #26384a;
  background: #eaf5f9;
  border-bottom: 1px solid #d9e8ef;
}

.audit-drawer-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.audit-drawer-close {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #84929d;
  background: transparent;
}

.audit-drawer-close svg {
  width: 18px;
  height: 18px;
}

.audit-drawer-tabs {
  height: 42px;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 14px;
  background: #f6fafc;
  border-bottom: 1px solid #dfe9ef;
}

.audit-drawer-tabs button {
  min-width: 128px;
  padding: 0 18px;
  color: #44576a;
  background: transparent;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  font-size: 14px;
}

.audit-drawer-tabs button.selected {
  color: #008cbd;
  border-bottom-color: #008cbd;
  font-weight: 700;
}

.audit-drawer-body {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #fff;
}

.audit-drawer-summary {
  min-height: 18px;
  margin: 0 0 16px;
  padding: 0;
  color: #46546c;
  background: transparent;
  border: 0;
  font-weight: 700;
  line-height: 18px;
}

.audit-drawer-table-wrap {
  min-height: 0;
  flex: 1;
  overflow: auto;
  background: #fff;
  border: 1px solid #d9dee7;
}

.audit-drawer-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #344456;
  font-size: 13px;
}

.audit-drawer-table th,
.audit-drawer-table td {
  height: 38px;
  padding: 4px 7px;
  border: 1px solid #dce2e8;
  text-align: center;
  white-space: nowrap;
}

.audit-drawer-table th {
  color: #273849;
  background: #e7f2f5;
  font-weight: 700;
}

.audit-drawer-table th:nth-child(1),
.audit-drawer-table td:nth-child(1) {
  width: 13.5%;
  white-space: pre-line;
  line-height: 18px;
}

.audit-drawer-table th:nth-child(2),
.audit-drawer-table td:nth-child(2) {
  width: 10%;
}

.audit-drawer-table th:nth-child(3),
.audit-drawer-table td:nth-child(3) {
  width: 8%;
}

.audit-drawer-table th:nth-child(4),
.audit-drawer-table td:nth-child(4) {
  width: 9%;
}

.audit-drawer-table th:nth-child(5),
.audit-drawer-table td:nth-child(5) {
  width: 11.5%;
}

.audit-drawer-table th:nth-child(6),
.audit-drawer-table td:nth-child(6) {
  width: 9.5%;
}

.audit-drawer-table th:nth-child(7),
.audit-drawer-table td:nth-child(7) {
  width: 15%;
}

.audit-drawer-table th:nth-child(8),
.audit-drawer-table td:nth-child(8) {
  width: 7%;
}

.audit-drawer-table th:nth-child(9),
.audit-drawer-table td:nth-child(9) {
  width: 16.5%;
}

.audit-drawer-table tbody tr:nth-child(even) td {
  background: #fff;
}

.audit-drawer-empty {
  height: 170px;
  display: grid;
  place-items: center;
  color: #8a98a5;
  background: #fff;
  border: 1px solid #dfe8ee;
}

.audit-drawer-pager {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
  color: #526071;
  background: #fff;
  font-size: 13px;
}

.audit-pager-total {
  margin-right: 4px;
}

.audit-pager-size,
.audit-pager-step,
.audit-pager-jump {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 13px;
}

.audit-pager-size {
  min-width: 100px;
  gap: 8px;
  color: #354254;
  background: #f4f7fa;
  border: 1px solid #d8e0e8;
}

.audit-pager-size svg {
  width: 14px;
  height: 14px;
  color: #6e7c8f;
}

.audit-pager-step {
  min-width: 68px;
  color: #a2aab5;
  background: #f3f4f6;
  border: 1px solid #d7dce2;
}

.audit-pager-step:disabled {
  cursor: not-allowed;
}

.audit-pager-input {
  width: 68px;
  height: 32px;
  color: #6a7585;
  text-align: center;
  background: #f4f7fa;
  border: 1px solid #d8e0e8;
  border-radius: 4px;
}

.audit-pager-jump {
  min-width: 64px;
  color: #fff;
  background: #008fbd;
  border: 1px solid #008fbd;
}

.workbench {
  width: 100vw;
  min-width: 1490px;
  height: calc(100vh - 120px);
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: #f2f3f5;
}

.panel {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.13);
}

.game-panel {
  position: relative;
  width: 344px;
  flex: 0 0 344px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.tabs {
  width: 244px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  display: flex;
  align-items: stretch;
  margin: 17px auto 15px;
  overflow: hidden;
  border-radius: 19px;
  background: #eef1f5;
}

.tabs button {
  min-width: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  height: 36px;
  min-height: 36px;
  padding: 0;
  color: #7b8491;
  background: transparent;
  font-size: 16px;
  line-height: 1;
}

.tabs button.selected {
  color: #fff;
  background: #008fbd;
}

.game-list {
  flex: 1 1 auto;
  padding: 0 10px 10px;
  overflow: hidden;
}

.game-row {
  height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr 54px;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border-radius: 8px;
}

.game-row.current {
  background: #e9edf1;
}

.game-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 1.05;
}

.game-logo.orange {
  background: radial-gradient(circle at 35% 30%, #ffc86e, #f5881c);
}

.game-logo.white {
  color: #df244e;
  background: #fff;
  border-color: #edf0f5;
}

.game-logo.red {
  background: radial-gradient(circle at 35% 28%, #ff8293, #e9364f);
}

.game-logo.cyan {
  background: radial-gradient(circle at 35% 30%, #93dcff, #38bdf8);
}

.game-logo.purple,
.game-logo.violet {
  background: radial-gradient(circle at 35% 30%, #f781ff, #b823e8);
}

.game-logo.blue {
  background: radial-gradient(circle at 35% 30%, #95b8ff, #406cf0);
}

.game-logo.sky {
  background: radial-gradient(circle at 35% 30%, #84e7ff, #0691c9);
}

.game-logo.rose {
  background: radial-gradient(circle at 35% 30%, #ff94a3, #ef476f);
}

.game-logo.green,
.game-logo.lime {
  background: radial-gradient(circle at 35% 30%, #9cec86, #25ad44);
}

.game-logo.teal {
  background: radial-gradient(circle at 35% 30%, #73e3cc, #08a992);
}

.game-logo.amber {
  background: radial-gradient(circle at 35% 30%, #fcd46f, #e89a00);
}

.game-logo.slate,
.game-logo.gray {
  background: radial-gradient(circle at 35% 30%, #b8c2d1, #64748b);
}

.game-copy {
  min-width: 0;
}

.game-copy h3 {
  margin: 0 0 6px;
  overflow: hidden;
  color: #263446;
  font-size: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-copy p {
  margin: 0;
  color: #546170;
}

.switch {
  width: 50px;
  height: 27px;
  padding: 3px;
  justify-self: end;
  background: #d6dde4;
  border-radius: 16px;
}

.switch span {
  display: block;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
  transform: translateX(0);
}

.switch.on {
  background: #008fbd;
}

.switch.on span {
  transform: translateX(23px);
}

.online-box {
  height: 93px;
  padding: 14px 17px 12px;
  border-top: 1px solid #e5e8eb;
}

.online-box h2 {
  margin: 0 0 13px;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.online-box strong {
  color: #008db8;
}

.online-box p {
  margin: 0;
  color: #536071;
}

.service-list {
  flex: 1 1 auto;
  padding: 0 10px 10px;
  overflow: hidden;
}

.service-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: 44px 1fr 62px;
  align-items: center;
  gap: 9px;
  padding: 8px 8px;
  border-radius: 7px;
  border-bottom: 1px solid #edf1f4;
  cursor: pointer;
}

.service-row:hover,
.service-row.active {
  background: #e9edf1;
}

.service-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: #fff;
  background: #008fbd;
  border-radius: 50%;
  font-weight: 800;
}

.service-list.third .service-avatar {
  border-radius: 9px;
  background: #fff;
  border: 1px solid #edf1f4;
}

.service-copy {
  min-width: 0;
}

.service-copy h3 {
  margin: 0 0 5px;
  overflow: hidden;
  color: #243343;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-copy p {
  margin: 0 0 4px;
  color: #7b8793;
  font-size: 12px;
}

.service-copy em {
  display: block;
  overflow: hidden;
  color: #536170;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  color: #8a96a2;
  font-size: 12px;
}

.service-side b {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #f04438;
  border-radius: 10px;
  font-size: 11px;
  line-height: 18px;
}

.service-status {
  padding: 1px 6px;
  border-radius: 9px;
  background: #edf2f6;
}

.service-status.success {
  color: #1e9f5a;
  background: #eaf8ef;
}

.service-status.warning {
  color: #e07a14;
  background: #fff4e5;
}

.service-summary h2 {
  margin-bottom: 11px;
  font-size: 21px;
}

.home-member-panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 10px 10px;
  overflow: visible;
}

.home-online-form {
  height: 33px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 1px 2px 13px;
}

.home-online-form input,
.home-sort > button {
  height: 31px;
  color: #536071;
  background: #f7fafc;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
  outline: none;
}

.home-online-form input {
  width: 100px;
  padding: 0 7px;
}

.home-online-form input::placeholder {
  color: #aab4bf;
}

.home-sort {
  position: relative;
  width: 110px;
  z-index: 6;
}

.home-sort > button {
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 10px;
}

.home-sort.open > button {
  border-color: #0087b4;
  box-shadow: 0 0 0 1px rgba(0, 135, 180, 0.08);
}

.home-sort svg {
  width: 16px;
  height: 16px;
  color: #8a97a6;
}

.home-sort ul {
  position: absolute;
  top: 35px;
  left: 0;
  width: 110px;
  padding: 4px 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.home-sort li {
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #54606e;
  cursor: pointer;
}

.home-sort li:hover {
  background: #f3f6f8;
}

.home-sort li.selected {
  color: #0087b4;
}

.home-search,
.home-clear {
  height: 28px;
  padding: 0 11px;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

.home-search {
  background: #0087b4;
}

.home-clear {
  background: #e75a56;
}

.home-member-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-member-row {
  position: relative;
  min-height: 94px;
  display: grid;
  grid-template-columns: 12px 48px 1fr 39px;
  grid-template-rows: 45px 32px;
  align-items: center;
  column-gap: 7px;
  padding: 5px 5px 4px 8px;
  color: #26384a;
  border-radius: 7px;
  cursor: pointer;
}

.home-member-panel.entertainment .home-member-row {
  grid-template-columns: 12px 48px 1fr;
  grid-template-rows: 58px;
  min-height: 70px;
  margin-top: 1px;
  padding-top: 6px;
}

.home-member-row.active {
  background: #eceff4;
}

.home-presence {
  width: 9px;
  height: 9px;
  grid-row: 1 / span 2;
  background: #c5c9cd;
  border-radius: 50%;
}

.home-presence.online {
  background: #3fad46;
}

.home-member-avatar {
  width: 47px;
  height: 47px;
  grid-row: 1 / span 2;
  object-fit: cover;
  border-radius: 50%;
}

.home-member-copy {
  min-width: 0;
  grid-row: 1 / span 2;
  align-self: center;
}

.home-member-panel.entertainment .home-member-copy {
  align-self: center;
}

.home-member-copy strong {
  display: block;
  overflow: hidden;
  color: #34465a;
  font-size: 16px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-member-copy small {
  display: block;
  grid-column: 2 / span 3;
  margin-top: 13px;
  color: #34465a;
  font-size: 14px;
}

.home-member-more {
  width: 32px;
  height: 28px;
  align-self: end;
  color: #3d4a5c;
  background: transparent;
  font-size: 22px;
  line-height: 18px;
  letter-spacing: 1px;
}

.home-member-status {
  grid-column: 4;
  width: 45px;
  height: 27px;
  align-self: start;
  justify-self: end;
  color: #fff;
  background: #3fad46;
  border-radius: 3px;
  font-size: 14px;
}

.home-member-menu {
  position: absolute;
  top: -35px;
  left: 330px;
  z-index: 20;
  width: 150px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.home-member-menu::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 60px;
  width: 12px;
  height: 12px;
  background: #fff;
  box-shadow: -1px 1px 2px rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
}

.home-member-menu > button,
.home-member-menu-item > button {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 43px;
  color: #4e5d6b;
  background: #fff;
  border-bottom: 1px solid #edf0f2;
  text-align: left;
  font-size: 16px;
}

.home-member-menu > button:last-child {
  border-bottom: 0;
}

.home-member-menu-item {
  position: relative;
}

.home-status-menu {
  position: absolute;
  top: 2px;
  left: 136px;
  z-index: 22;
  width: 132px;
  padding: 4px 0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.home-status-menu button {
  height: 31px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 10px;
  color: #4d5d6d;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.home-status-menu button:hover {
  background: #f3f6f8;
}

.home-status-menu button.disabled,
.home-status-menu button:disabled {
  color: #b8c0ca;
  cursor: not-allowed;
}

.chat-panel {
  position: relative;
  width: 384px;
  flex: 0 0 384px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.service {
  width: 384px;
  flex: 0 0 384px;
}

.chat-panel.service.expanded {
  flex: 1 1 auto;
  width: auto;
}

.chat-header {
  height: 62px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  background: #f8fbfc;
  border-bottom: 1px solid #e6edf2;
}

.chat-header h2 {
  margin: 0 0 5px;
  color: #223241;
  font-size: 17px;
  line-height: 1;
}

.chat-header p {
  margin: 0;
  color: #7a8794;
  font-size: 12px;
}

.chat-scroll {
  flex: 1 1 auto;
  padding: 0 60px 10px 70px;
  overflow: hidden;
  background: #fff;
}

.chat-header + .chat-scroll {
  padding-top: 14px;
}

.chat-item {
  position: relative;
  margin: 0 0 14px;
}

.chat-item:first-child {
  margin-top: -28px;
}

.chat-header + .chat-scroll .chat-item:first-child {
  margin-top: 0;
}

.chat-meta {
  margin: 0 2px 5px;
  color: #7b8792;
  font-size: 13px;
}

.chat-item.right .chat-meta {
  text-align: right;
}

.chat-item.left .chat-meta {
  margin-left: -52px;
}

.bubble {
  position: relative;
  width: 214px;
  max-width: 214px;
  min-height: 42px;
  padding: 9px 12px;
  color: #4a5961;
  background: #d7f7bf;
  border-radius: 4px;
  line-height: 1.55;
  word-break: break-all;
}

.chat-item.right .bubble {
  margin-left: auto;
}

.chat-item.right .bubble::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 18px;
  border-width: 7px 0 7px 9px;
  border-style: solid;
  border-color: transparent transparent transparent #d7f7bf;
}

.bubble.plain {
  width: auto;
  max-width: 180px;
  margin-left: -52px;
  background: #fff;
  border: 1px solid #f0f0f0;
}

.bubble.plain::after {
  content: none;
}

.bubble p {
  margin: 0;
  min-height: 1px;
}

.ghost-badge {
  position: absolute;
  right: -44px;
  top: 29px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #d9dde1;
  border: 4px solid #f0f2f4;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.chat-item.left .ghost-badge {
  display: none;
}

.chat-input {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px 10px 14px;
  border-top: 1px solid #ebedf0;
}

.chat-input textarea {
  width: 278px;
  height: 65px;
  padding: 10px 8px;
  resize: none;
  color: #4f5d6c;
  background: #f8fbfc;
  border: 1px solid #d4dce3;
  border-radius: 3px;
  outline: none;
}

.chat-input textarea::placeholder {
  color: #b6c0c9;
  font-size: 16px;
}

.chat-input button {
  width: 69px;
  height: 36px;
  color: #fff;
  background: #008fbd;
  border-radius: 18px;
  font-size: 16px;
}

.home-chat-scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 18px 18px;
  overflow: hidden;
  background: #fff;
}

.home-chat-time {
  margin-bottom: 13px;
  color: #7a8794;
  text-align: center;
  font-size: 14px;
}

.home-chat-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
}

.home-chat-message.right {
  justify-content: flex-end;
}

.home-chat-avatar {
  width: 33px;
  height: 33px;
  object-fit: cover;
  border-radius: 50%;
}

.home-chat-avatar-ghost {
  display: grid;
  place-items: center;
  color: #cfd4d9;
  background: #f1f2f3;
  border: 3px solid #eceff2;
  font-size: 11px;
  font-weight: 700;
}

.home-chat-body {
  max-width: min(330px, 78%);
}

.home-chat-message.right .home-chat-body {
  text-align: right;
}

.chat-panel.expanded .home-chat-body {
  max-width: 580px;
}

.home-chat-meta {
  margin: 0 0 3px;
  color: #7c8894;
  font-size: 14px;
}

.home-chat-bubble {
  position: relative;
  display: inline-block;
  max-width: 100%;
  min-height: 39px;
  padding: 9px 13px;
  color: #465869;
  background: #f4f7f8;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.home-chat-message.left .home-chat-bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 12px;
  border-width: 7px 8px 7px 0;
  border-style: solid;
  border-color: transparent #f4f7f8 transparent transparent;
}

.home-chat-message.right .home-chat-bubble {
  color: #263a21;
  background: #dcf8c6;
}

.home-chat-message.right .home-chat-bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 12px;
  border-width: 7px 0 7px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #dcf8c6;
}

.home-chat-bubble p {
  min-height: 6px;
  margin: 0;
}

.home-chat-image {
  max-width: 150px;
  max-height: 120px;
  display: block;
  object-fit: contain;
  border-radius: 3px;
  cursor: context-menu;
}

.home-chat-image-context-menu {
  position: fixed;
  z-index: 30;
  width: 110px;
  padding: 4px 0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.home-chat-image-context-menu button {
  width: 100%;
  height: 34px;
  padding: 0 14px;
  color: #465869;
  background: #fff;
  text-align: left;
  font-size: 14px;
}

.home-chat-image-context-menu button:hover {
  background: #f3f6f8;
}

.home-chat-bubble.highlighted {
  max-width: 290px;
}

.chat-panel.expanded .home-chat-bubble.highlighted {
  max-width: 520px;
}

.home-chat-bubble.highlighted span {
  display: inline;
  padding: 1px 2px;
  color: #fff;
  background: #1890ff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home-question-row {
  min-height: 26px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-top: 1px solid #eef1f4;
}

.home-question-row button {
  height: 24px;
  padding: 0 6px;
  color: #337ab7;
  background: #ecf5ff;
  border: 1px solid #8bb9e2;
  border-radius: 3px;
  font-size: 14px;
}

.home-chat-footer {
  position: relative;
  height: 94px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 10px 10px 8px;
  border-top: 1px solid #ebedf0;
  background: #fff;
}

.home-chat-footer textarea {
  width: 105px;
  height: 65px;
  padding: 10px 8px;
  resize: none;
  color: #4f5d6c;
  background: #f7fafc;
  border: 1px solid #d4dce3;
  border-radius: 3px;
  outline: none;
}

.chat-panel.expanded .home-chat-footer textarea {
  flex: 1 1 auto;
  width: auto;
}

.home-chat-footer textarea::placeholder {
  color: #b6c0c9;
  font-size: 16px;
}

.home-footer-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: transparent;
}

.home-file-icon,
.home-album-icon {
  width: 32px;
  height: 29px;
  color: #fff;
  background: #000;
  border-radius: 2px;
}

.home-file-icon svg,
.home-album-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.home-album-tool {
  position: relative;
  flex: 0 0 auto;
}

.home-hidden-image-input,
.home-upload-hidden-file {
  display: none;
}

.home-image-help-popover {
  position: absolute;
  left: -18px;
  bottom: 42px;
  z-index: 11;
  width: 278px;
  min-height: 96px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
  padding: 10px;
  color: #4a5968;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  line-height: 1.45;
}

.home-image-help-popover::after {
  content: "";
  position: absolute;
  left: 31px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

.home-image-help-preview {
  width: 68px;
  height: 68px;
  background:
    linear-gradient(135deg, transparent 42%, #0087b4 43% 57%, transparent 58%),
    linear-gradient(45deg, #e9f5f8 0 50%, #d1ebf2 50% 100%);
  border: 1px solid #d7e3e8;
  border-radius: 3px;
}

.home-image-help-popover p {
  margin: 0;
}

.home-emoji-icon,
.home-quick-icon {
  width: 36px;
  height: 36px;
  color: #aeb4bb;
}

.home-emoji-icon.active,
.home-quick-icon.active {
  color: #0087b4;
}

.home-emoji-icon svg,
.home-quick-icon svg {
  width: 30px;
  height: 30px;
}

.home-send-btn {
  width: 68px;
  height: 37px;
  flex: 0 0 auto;
  color: #fff;
  background: #0087b4;
  border-radius: 19px;
  font-size: 16px;
}

.home-reply-popover {
  position: absolute;
  left: 64px;
  bottom: 91px;
  z-index: 8;
  width: 242px;
  height: 389px;
  padding: 12px 12px 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.chat-panel.expanded .home-reply-popover {
  left: 65px;
}

.home-reply-popover label {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  background: #f7fafc;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
}

.home-reply-popover label svg {
  width: 16px;
  height: 16px;
  color: #617899;
}

.home-reply-popover input {
  min-width: 0;
  flex: 1;
  background: transparent;
  outline: none;
}

.home-reply-popover input::placeholder {
  color: #a8b2bd;
}

.home-reply-list {
  height: 294px;
  margin: 8px -4px 0;
  overflow-y: auto;
  border-bottom: 1px solid #edf0f3;
}

.home-reply-list button {
  width: 100%;
  min-height: 54px;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #263445;
  background: transparent;
  border-radius: 4px;
  text-align: left;
}

.home-reply-list button:hover {
  background: #f2f8fb;
}

.home-reply-list strong,
.home-reply-list span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-reply-list strong {
  font-size: 14px;
  font-weight: 600;
}

.home-reply-list span {
  color: #7b8794;
  font-size: 12px;
}

.home-reply-empty-text {
  margin: 118px 0 0;
  color: #9aa6b2;
  text-align: center;
}

.home-reply-popover > button {
  height: 50px;
  color: #0087b4;
  background: transparent;
  font-size: 16px;
  text-align: left;
}

.home-emoji-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  z-index: 7;
  max-height: 232px;
  overflow-y: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e5e8ec;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.14);
}

.emotion-box-line {
  display: grid;
  grid-template-columns: repeat(8, 36px);
  gap: 7px;
}

.home-emoji-panel .ly-emotion {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 3px;
}

.home-emoji-panel .ly-emotion:hover {
  background: #f2f5f8;
}

.home-emoji-panel .ly-static-emotion {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.data-float {
  position: absolute;
  right: -9px;
  top: 292px;
  width: 64px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  background: #008fbd;
  border-radius: 25px 0 0 25px;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}

.data-float svg {
  width: 23px;
  height: 23px;
}

.help-float,
.down-float {
  position: absolute;
  right: 13px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.help-float {
  bottom: 160px;
  color: #fff;
  background: #008fbd;
}

.down-float {
  bottom: 106px;
  color: #aab1b9;
  background: #f4f5f6;
  border: 1px solid #e1e3e6;
}

.help-float svg,
.down-float svg {
  width: 29px;
  height: 29px;
}

.data-panel {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 12px;
  overflow: hidden;
}

.home-detail-panel {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(270px, 380px);
  align-content: start;
  gap: 14px;
}

.home-detail-card {
  min-height: 160px;
  padding: 14px 16px 16px;
  background: #fff;
  border: 1px solid #e5ebf0;
  border-radius: 4px;
  box-shadow: 0 2px 9px rgba(20, 36, 50, 0.07);
}

.home-detail-card h2 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: #233241;
  border-bottom: 1px solid #edf1f4;
  font-size: 16px;
}

.home-detail-card label {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #6c7885;
  border-bottom: 1px dashed #e9edf1;
}

.home-detail-card label:last-child {
  border-bottom: 0;
}

.home-detail-card strong {
  color: #233241;
  font-weight: 600;
}

.quick-reply-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.quick-reply-list .query-btn {
  height: 31px;
  padding: 0 12px;
}

.third-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 74px);
  gap: 12px;
}

.third-service-grid button {
  height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #394859;
  background: #f8fafc;
  border: 1px solid #e6edf2;
  border-radius: 4px;
  font-size: 12px;
}

.third-service-grid img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 150px);
  grid-template-rows: repeat(2, 69px);
  gap: 10px 9px;
  margin-bottom: 20px;
}

.metric-card {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 11px rgba(0, 0, 0, 0.11);
}

.metric-card:first-child,
.metric-card:nth-child(2) {
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 12px;
}

.metric-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.metric-card:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.metric-card:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

.metric-card:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.metric-card:nth-child(5) {
  grid-column: 4;
  grid-row: 1;
}

.metric-card:nth-child(6) {
  grid-column: 5;
  grid-row: 1;
}

.metric-card:nth-child(7) {
  grid-column: 2;
  grid-row: 2;
}

.metric-card:nth-child(8) {
  grid-column: 3;
  grid-row: 2;
}

.metric-card:nth-child(9) {
  grid-column: 4;
  grid-row: 2;
}

.metric-card:nth-child(10) {
  grid-column: 5;
  grid-row: 2;
}

.metric-card p {
  margin: 0 0 7px;
  color: #445160;
  white-space: nowrap;
}

.metric-card strong {
  display: block;
  color: #050b12;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.metric-card strong.teal {
  color: #008db8;
}

.metric-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 50%;
}

.metric-icon svg {
  width: 18px;
  height: 18px;
}

.table-wrap {
  overflow: hidden;
}

.home-countdown {
  color: #233241;
}

.home-countdown em {
  margin-left: 4px;
  color: #ff3b30;
  font-style: normal;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  height: 41px;
  padding: 0 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

th {
  color: #273342;
  background: #e7f1f3;
  font-weight: 500;
}

tbody tr:nth-child(odd) {
  background: #fbfcfc;
}

tbody tr:nth-child(even) {
  background: #f0f4f5;
}

td:first-child,
th:first-child {
  width: 150px;
  text-align: left;
}

td a {
  color: #008fbd;
  text-decoration: none;
}

.blue {
  color: #008fbd;
}

.danger {
  color: #ff3b30;
  font-weight: 500;
}

.status-pill {
  color: #60717f;
}

.link-btn {
  color: #008fbd;
  background: transparent;
}

.page-shell {
  width: 100vw;
  min-width: 1490px;
  height: calc(100vh - 120px);
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  overflow: hidden;
  background: #f2f3f5;
}

.sub-nav {
  width: 154px;
  min-width: 154px;
  padding: 12px 0;
  background: #f7f8fa;
  overflow: hidden auto;
}

.sub-nav button {
  width: calc(100% - 20px);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 10px;
  padding: 0 12px;
  color: #2c3948;
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 18px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.07);
  font-weight: 600;
}

.sub-nav button svg {
  width: 15px;
  height: 15px;
  color: #a9b2bd;
}

.sub-nav button.picked {
  color: #fff;
  background: linear-gradient(90deg, #0877c9 0%, #03b7b4 100%);
  border-color: #008fbd;
}

.sub-nav button.picked svg {
  color: #fff;
}

.game-sub-nav {
  padding: 12px 8px;
  background: #f7f8fa;
}

.game-sub-nav button {
  height: 38px;
  justify-content: space-between;
  margin: 0 0 9px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 19px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
}

.game-sub-nav button.picked {
  color: #fff;
  background: #008fbd;
  border-color: #008fbd;
  border-left: 1px solid #008fbd;
  padding-left: 12px;
}

.game-sub-nav button.picked svg {
  color: #fff;
}

.content-panel {
  position: relative;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 14px;
  overflow: auto;
}

.page-titlebar {
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid #e8edf1;
}

.page-titlebar h1 {
  margin: 0 0 5px;
  color: #233241;
  font-size: 18px;
  line-height: 1;
}

.page-titlebar p {
  margin: 0;
  color: #758292;
  font-size: 13px;
}

.title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mini-btn,
.query-btn,
.reset-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #d9e2ea;
  color: #425162;
  background: #fff;
}

.mini-btn svg,
.query-btn svg,
.reset-btn svg {
  width: 15px;
  height: 15px;
}

.mini-btn.primary,
.query-btn {
  color: #fff;
  background: #008fbd;
  border-color: #008fbd;
}

.query-btn.danger {
  color: #fff;
  background: #ef4d56;
  border-color: #ef4d56;
}

.query-btn.success {
  color: #fff;
  background: #19b66a;
  border-color: #19b66a;
}

.query-btn.light {
  color: #425162;
  background: #fff;
  border-color: #d9e2ea;
}

.query-btn.warning {
  color: #fff;
  background: #f0a020;
  border-color: #f0a020;
}

.query-btn.omit {
  color: #222;
  background: #fff;
  border-color: #cfd8e3;
}

.query-btn:disabled,
.reset-btn:disabled,
.mini-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-table .cell-btn {
  height: 28px;
  min-width: 44px;
  padding: 0 9px;
}

.more-actions-row td {
  height: auto;
  padding: 8px 12px 10px;
  white-space: normal;
  text-align: left;
  background: #f7fbfd;
  border-top: 1px solid #d9edf6;
  border-bottom: 1px solid #d9edf6;
}

.inline-more-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.inline-more-actions .query-btn {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.reset-btn {
  background: #f8fafc;
}

.save-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #fff;
  background: #008fbd;
  border: 1px solid #008fbd;
  border-radius: 4px;
}

.filter-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 11px;
  border-bottom: 1px solid #edf1f4;
}

.table-tabs {
  display: flex;
  align-items: flex-end;
  margin: 4px 0 10px;
  border-bottom: 1px solid #dfe5e8;
}

.table-tabs button {
  min-width: 118px;
  height: 36px;
  margin-bottom: -1px;
  color: #415160;
  background: #f9fbfc;
  border: 1px solid #dfe5e8;
  border-radius: 3px 3px 0 0;
}

.table-tabs button.selected {
  color: #008fbd;
  background: #fff;
  border-bottom-color: #fff;
}

.mark-six-odds-nav {
  margin-bottom: 12px;
}

.mark-six-odds-nav .table-tabs {
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 8px;
  border-bottom: 0;
  gap: 8px;
}

.mark-six-odds-nav .table-tabs button {
  min-width: 86px;
  margin-bottom: 0;
  border-radius: 4px;
}

.filter-prefix {
  margin-left: 4px;
  color: #1f2f3e;
  font-size: 13px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-item > span {
  color: #526070;
  font-size: 12px;
}

.fake-input,
.checkline {
  min-width: 148px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 9px;
  color: #2c3b4c;
  background: #f7fafb;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
}

.fake-input svg,
.checkline svg {
  width: 14px;
  height: 14px;
  color: #95a1ad;
}

input.fake-input {
  display: inline-block;
  outline: none;
}

.date-input-wrap {
  position: relative;
  min-width: 148px;
  height: 32px;
  display: inline-flex;
  align-items: center;
}

.date-input-wrap .fake-input {
  width: 100%;
  padding-right: 30px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.date-input-wrap svg {
  position: absolute;
  right: 8px;
  width: 15px;
  height: 15px;
  color: #8795a6;
  pointer-events: none;
}

.date-input-wrap.open .fake-input {
  border-color: #20a6d2;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(32, 166, 210, 0.12);
}

.date-input-wrap.open > svg {
  color: #168fbd;
}

.date-picker-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  width: 248px;
  padding: 8px;
  color: #24364a;
  background: #fff;
  border: 1px solid #d8e1e8;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.16);
}

.date-picker-popover header {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.date-picker-popover header strong {
  font-size: 13px;
  font-weight: 700;
}

.date-picker-popover header button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #607386;
  background: transparent;
  border-radius: 3px;
}

.date-picker-popover header button:hover {
  color: #168fbd;
  background: #eef8fb;
}

.date-picker-popover header button svg {
  position: static;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.date-picker-weekdays,
.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.date-picker-weekdays span {
  height: 24px;
  display: grid;
  place-items: center;
  color: #8a98a8;
  font-size: 12px;
}

.date-picker-days button {
  width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #334960;
  background: transparent;
  border-radius: 3px;
  font-size: 12px;
}

.date-picker-days button:hover {
  color: #168fbd;
  background: #eef8fb;
}

.date-picker-days button.muted {
  color: #b4bec8;
}

.date-picker-days button.today {
  color: #168fbd;
  font-weight: 700;
}

.date-picker-days button.selected {
  color: #fff;
  background: #20a6d2;
  font-weight: 700;
}

.filter-suffix {
  margin: 0 2px 0 -2px;
  color: #5f6f7e;
}

.table-check {
  width: 14px;
  height: 14px;
  accent-color: #008fbd;
  vertical-align: middle;
}

.activity-status-btn {
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  color: #fff;
  background: #19be6b;
  border: 1px solid #19be6b;
  border-radius: 4px;
}

.activity-status-btn.closed {
  background: #ed4014;
  border-color: #ed4014;
}

.fake-input.compact {
  min-width: 82px;
}

.filter-control {
  flex: 0 0 auto;
}

.filter-control.input-control {
  justify-content: flex-start;
  color: #99a5b1;
  background: #f7fafb;
}

.filter-control.date-control {
  min-width: 148px;
  color: #697789;
  background: #f7fafb;
}

.filter-control.date-control svg {
  margin-left: 16px;
}

.filter-control.check-control {
  min-width: auto;
  justify-content: flex-start;
  background: #fff;
}

.filter-control.select-control .select-input {
  min-width: 148px;
}

.select-box {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.select-box .select-trigger {
  cursor: pointer;
  background: #fff;
}

.select-box.open .select-trigger {
  border-color: #2d8cf0;
  box-shadow: 0 0 0 2px rgba(45, 140, 240, 0.12);
}

.select-box.open .select-trigger svg {
  transform: rotate(180deg);
}

.select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 80;
  min-width: 100%;
  width: max-content;
  max-width: 340px;
  max-height: 248px;
  padding: 5px 0;
  margin: 0;
  overflow-y: auto;
  list-style: none;
  color: #515a6e;
  background: #fff;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

.select-menu li {
  min-width: 120px;
  height: 31px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  white-space: nowrap;
  cursor: pointer;
}

.select-menu li:hover,
.select-menu li.selected {
  color: #2d8cf0;
  background: #f3f9ff;
}

.select-box.compact .select-menu {
  min-width: 96px;
}

.filter-spacer {
  flex: 1 1 auto;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
  padding: 12px 0;
}

.summary-card {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #6b86f6;
  border-radius: 50%;
}

.summary-icon svg {
  width: 18px;
  height: 18px;
}

.summary-card.success .summary-icon {
  background: #22c07a;
}

.summary-card.warning .summary-icon {
  background: #f0a229;
}

.summary-card.danger .summary-icon {
  background: #ef4d56;
}

.summary-card.primary .summary-icon,
.summary-card.info .summary-icon {
  background: #008fbd;
}

.summary-card.muted .summary-icon {
  background: #9aa6b2;
}

.summary-card p {
  margin: 0 0 7px;
  color: #667384;
}

.summary-card strong {
  color: #101820;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
}

.switch-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
  padding: 0 0 12px;
}

.switch-board article {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  background: #f9fbfc;
  border: 1px solid #e2e9ef;
  border-radius: 4px;
}

.switch-board h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.switch-board p {
  margin: 0;
  color: #748192;
  font-size: 12px;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 10px;
  padding: 0 0 12px;
}

.result-list article,
.number-grid article {
  padding: 12px;
  background: #f9fbfc;
  border: 1px solid #e1e8ef;
  border-radius: 4px;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.result-head span {
  color: #708091;
  font-size: 12px;
}

.balls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.balls span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
  font-size: 12px;
}

.balls span:nth-child(2n) {
  background: #3177ee;
}

.balls span:nth-child(3n) {
  background: #19b66a;
}

.result-tags {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}

.result-tags span {
  padding: 3px 7px;
  color: #008fbd;
  background: #eaf8fc;
  border-radius: 11px;
  font-size: 12px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 0 12px;
}

.number-grid strong {
  display: block;
  color: #008fbd;
  font-size: 22px;
  line-height: 1;
}

.number-grid span,
.number-grid em {
  display: inline-block;
  margin-top: 10px;
  margin-right: 7px;
  color: #657386;
  font-style: normal;
}

.admin-table-wrap {
  position: relative;
  overflow: auto;
  border: 1px solid #dfe5e8;
  border-radius: 2px;
}

.admin-table-wrap.table-fill {
  min-height: calc(100vh - 318px);
}

.admin-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.admin-table.loading tbody {
  opacity: 0.62;
}

.admin-table .wallet-drag-row {
  cursor: grab;
}

.admin-table .wallet-drag-row.dragging {
  opacity: 0.55;
}

.table-loading-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #31627c;
  background: #eef8fc;
  border-bottom: 1px solid #cfe8f2;
  font-size: 13px;
}

.table-loading-bar span {
  width: 13px;
  height: 13px;
  border: 2px solid #8fd0e6;
  border-top-color: #008fbd;
  border-radius: 50%;
  animation: table-loading-spin 0.8s linear infinite;
}

@keyframes table-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.user-list-table-wrap {
  overflow-x: scroll;
}

.user-list-table-wrap .admin-table {
  width: 1490px;
  min-width: 1490px;
  table-layout: fixed;
}

.apply-list-table-wrap {
  overflow-x: scroll;
}

.apply-list-table-wrap .admin-table {
  width: 2330px;
  min-width: 2330px;
  table-layout: fixed;
}

.apply-list-table-wrap .admin-table tbody td {
  height: 74px;
  text-align: center;
}

.apply-list-table-wrap .admin-table th:nth-child(1),
.apply-list-table-wrap .admin-table td:nth-child(1),
.apply-list-table-wrap .admin-table th:nth-child(2),
.apply-list-table-wrap .admin-table td:nth-child(2),
.apply-list-table-wrap .admin-table th:nth-child(3),
.apply-list-table-wrap .admin-table td:nth-child(3),
.apply-list-table-wrap .admin-table th:nth-child(4),
.apply-list-table-wrap .admin-table td:nth-child(4),
.apply-list-table-wrap .admin-table th:nth-child(5),
.apply-list-table-wrap .admin-table td:nth-child(5),
.apply-list-table-wrap .admin-table th:nth-child(6),
.apply-list-table-wrap .admin-table td:nth-child(6),
.apply-list-table-wrap .admin-table th:nth-child(8),
.apply-list-table-wrap .admin-table td:nth-child(8),
.apply-list-table-wrap .admin-table th:nth-child(9),
.apply-list-table-wrap .admin-table td:nth-child(9),
.apply-list-table-wrap .admin-table th:nth-child(10),
.apply-list-table-wrap .admin-table td:nth-child(10),
.apply-list-table-wrap .admin-table th:nth-child(11),
.apply-list-table-wrap .admin-table td:nth-child(11),
.apply-list-table-wrap .admin-table th:nth-child(12),
.apply-list-table-wrap .admin-table td:nth-child(12),
.apply-list-table-wrap .admin-table th:nth-child(13),
.apply-list-table-wrap .admin-table td:nth-child(13),
.apply-list-table-wrap .admin-table th:nth-child(14),
.apply-list-table-wrap .admin-table td:nth-child(14),
.apply-list-table-wrap .admin-table th:nth-child(15),
.apply-list-table-wrap .admin-table td:nth-child(15) {
  width: 132px;
}

.apply-list-table-wrap .admin-table th:nth-child(7),
.apply-list-table-wrap .admin-table td:nth-child(7) {
  width: 168px;
}

.apply-list-table-wrap .admin-table th:nth-child(16),
.apply-list-table-wrap .admin-table td:nth-child(16) {
  width: 210px;
}

.user-list-table-wrap .admin-table th:nth-child(1),
.user-list-table-wrap .admin-table td:nth-child(1) {
  width: 80px;
}

.user-list-table-wrap .admin-table th:nth-child(2),
.user-list-table-wrap .admin-table td:nth-child(2) {
  width: 52px;
}

.user-list-table-wrap .admin-table th:nth-child(3),
.user-list-table-wrap .admin-table td:nth-child(3) {
  width: 86px;
}

.user-list-table-wrap .admin-table th:nth-child(4),
.user-list-table-wrap .admin-table td:nth-child(4) {
  width: 112px;
}

.user-list-table-wrap .admin-table th:nth-child(5),
.user-list-table-wrap .admin-table td:nth-child(5) {
  width: 104px;
}

.user-list-table-wrap .admin-table th:nth-child(6),
.user-list-table-wrap .admin-table td:nth-child(6) {
  width: 96px;
}

.user-list-table-wrap .admin-table th:nth-child(7),
.user-list-table-wrap .admin-table td:nth-child(7),
.user-list-table-wrap .admin-table th:nth-child(8),
.user-list-table-wrap .admin-table td:nth-child(8),
.user-list-table-wrap .admin-table th:nth-child(11),
.user-list-table-wrap .admin-table td:nth-child(11) {
  width: 108px;
}

.user-list-table-wrap .admin-table th:nth-child(9),
.user-list-table-wrap .admin-table td:nth-child(9),
.user-list-table-wrap .admin-table th:nth-child(10),
.user-list-table-wrap .admin-table td:nth-child(10),
.user-list-table-wrap .admin-table th:nth-child(12),
.user-list-table-wrap .admin-table td:nth-child(12) {
  width: 82px;
}

.user-list-table-wrap .admin-table th:nth-child(13),
.user-list-table-wrap .admin-table td:nth-child(13) {
  width: 94px;
}

.user-list-table-wrap .admin-table th:nth-child(14),
.user-list-table-wrap .admin-table td:nth-child(14) {
  width: 220px;
}

.admin-table th {
  background: #f4f8fa;
}

.rebate-operation-title-row th {
  height: 38px;
  text-align: left;
  color: #263849;
  background: #f4f8fa;
}

.rebate-operation-row td {
  padding: 10px 8px;
}

.rebate-operation-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #33475a;
}

.rebate-operation-form label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.rebate-operation-form input {
  width: 62px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid #d6e0e7;
  border-radius: 3px;
  outline: none;
}

.admin-table th,
.admin-table td {
  height: 38px;
  padding: 0 8px;
  border: 1px solid #dfe5e8;
  font-size: 13px;
}

.owner-edit-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  width: 100%;
}

.owner-edit-cell input {
  width: min(100%, 92px);
  height: 28px;
  padding: 0 7px;
  color: #263544;
  background: #fff;
  border: 1px solid #cfdbe3;
  border-radius: 3px;
  outline: none;
}

.owner-edit-cell textarea {
  width: min(100%, 420px);
  min-height: 74px;
  padding: 6px 7px;
  color: #263544;
  background: #fff;
  border: 1px solid #cfdbe3;
  border-radius: 3px;
  line-height: 1.45;
  resize: vertical;
  outline: none;
}

.close-message-table-wrap.table-fill {
  min-height: 0;
}

.close-message-table {
  min-width: 1080px;
  table-layout: fixed;
}

.close-message-table th,
.close-message-table td {
  height: auto;
  min-height: 38px;
  padding: 0 10px;
  color: #272828;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
}

.close-message-table th {
  height: 32px;
  background: #e5f1f5;
  font-weight: 500;
}

.close-message-table th:nth-child(1),
.close-message-table td:nth-child(1) {
  width: 160px;
}

.close-message-table th:nth-child(2),
.close-message-table td:nth-child(2) {
  width: 475px;
}

.close-message-table th:nth-child(3),
.close-message-table td:nth-child(3) {
  width: 190px;
}

.close-message-table th:nth-child(4),
.close-message-table td:nth-child(4) {
  width: 255px;
}

.close-message-content-cell {
  display: flex;
  justify-content: center;
  width: 100%;
}

.close-message-content-cell textarea {
  width: min(100%, 620px);
  height: 82px;
  margin: 5px 0;
  padding: 5px 7px;
  color: #263544;
  background: #f4f7f8;
  border: 1px solid #d9dadc;
  border-radius: 4px;
  line-height: 1.45;
  resize: none;
  outline: none;
}

.close-message-time-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  color: #272828;
  white-space: nowrap;
}

.close-message-time-cell input {
  width: 60px;
  height: 24px;
  padding: 0 6px;
  color: #263544;
  background: #f4f7f8;
  border: 1px solid #d9dadc;
  border-radius: 4px;
  text-align: center;
  outline: none;
}

.close-message-desc-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 5px 0;
  color: #3d4d5e;
  line-height: 1.65;
  text-align: left;
  white-space: normal;
}

.owner-edit-cell .table-switch {
  min-width: 58px;
  height: 26px;
}

.admin-table .empty-table-cell {
  height: 170px;
  padding: 0;
  text-align: center;
  color: #596877;
  background: #fff;
}

.admin-table-wrap.table-fill .empty-table-cell,
.make-report-table .empty-table-cell {
  height: calc(100vh - 420px);
  min-height: 170px;
}

.empty-state {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #333;
}

.empty-state p {
  margin: 0;
  color: #333;
}

.empty-state-figure {
  position: relative;
  width: 62px;
  height: 48px;
  display: block;
}

.empty-state-figure::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 30px;
  background: #f2f4f6;
  border: 1px solid #e4e8ec;
  border-radius: 4px 4px 2px 2px;
}

.empty-state-figure::after {
  content: "";
  position: absolute;
  top: 0;
  right: 3px;
  width: 34px;
  height: 34px;
  border: 2px solid #eef1f4;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(24deg);
}

.admin-table td:first-child,
.admin-table th:first-child {
  width: auto;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 22px;
  padding: 0 8px;
  border-radius: 12px;
  background: #eef2f5;
  color: #697688;
  font-size: 12px;
}

.status-tag.success {
  color: #15965d;
  background: #e8f8f0;
}

.status-tag.warning {
  color: #b7791f;
  background: #fff6df;
}

.status-tag.danger {
  color: #d3323b;
  background: #fff0f1;
}

.pager {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #697789;
}

.page-size {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #526071;
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 3px;
}

.pager input {
  width: 68px;
  height: 28px;
  color: #526071;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #dce5ec;
  border-radius: 3px;
}

.pager button {
  height: 28px;
  padding: 0 10px;
  color: #526071;
  background: #fff;
  border: 1px solid #dce5ec;
  border-radius: 3px;
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(22, 31, 42, 0.32);
}

.modal-mask.notice-mask {
  z-index: 2000;
  display: block;
  background: rgba(0, 0, 0, 0.5);
  animation: noticeFadeIn 0.25s ease-in both;
}

.home-album-mask {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  place-items: start center;
  padding-top: 92px;
  background: rgba(0, 0, 0, 0.42);
}

.home-album-modal {
  width: 520px;
  height: 526px;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
}

.home-album-modal header {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #e5f1f5;
}

.home-album-modal h2 {
  margin: 0;
  color: #273849;
  font-size: 14px;
  font-weight: 400;
}

.home-album-modal header button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #9aa5ad;
  background: transparent;
}

.home-album-modal header svg {
  width: 17px;
  height: 17px;
}

.home-album-body {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  padding: 30px 20px;
}

.home-album-image {
  width: 98px;
  height: 98px;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid #e4e8eb;
  border-radius: 4px;
}

.home-album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-album-add {
  width: 98px;
  height: 130px;
  display: grid;
  grid-template-rows: 98px 22px;
  justify-items: center;
  gap: 10px;
  background: transparent;
  cursor: pointer;
}

.home-album-add-plus {
  position: relative;
  width: 98px;
  height: 98px;
  border: 1px dashed #d8d8d8;
  border-radius: 10px;
}

.home-album-add-plus::before,
.home-album-add-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #d8d8d8;
  transform: translate(-50%, -50%);
}

.home-album-add-plus::before {
  width: 41px;
  height: 4px;
}

.home-album-add-plus::after {
  width: 4px;
  height: 41px;
}

.home-album-add-caption {
  width: 96px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #555;
  background: #f7f7f7;
  border: 0;
  font-size: 14px;
  text-align: center;
  opacity: 1;
  -webkit-text-fill-color: #555;
  pointer-events: none;
}

.home-album-upload-body {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px 10px;
  padding: 28px 20px;
}

.home-upload-box {
  width: 98px;
  height: 98px;
  color: #777;
  background: #fff;
  border: 1px dashed #d8d8d8;
  border-radius: 8px;
}

.home-album-upload-body label {
  grid-column: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5968;
}

.home-album-upload-body input {
  width: 280px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
  outline: none;
}

.home-save-album {
  grid-column: 1 / span 2;
  width: 96px;
  height: 32px;
  color: #fff;
  background: #0087b4;
  border-radius: 3px;
}

.home-image-send-mask {
  position: fixed;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
}

.home-send-image-modal {
  width: 375px;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
}

.home-send-image-modal header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #e8eaec;
}

.home-send-image-modal h2 {
  margin: 0;
  color: #17233d;
  font-size: 14px;
  font-weight: 500;
}

.home-send-image-modal header button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #999;
  background: transparent;
}

.home-send-image-modal .pasteCon {
  padding: 18px;
}

.home-send-image-modal .pasteCon img {
  width: 100%;
  min-height: 150px;
  max-height: 320px;
  object-fit: contain;
  background: #f7f7f7;
}

.home-send-image-modal .btncon {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.home-send-image-modal .btncon button {
  min-width: 58px;
  height: 30px;
  color: #fff;
  background: #0087b4;
  border-radius: 3px;
}

.modal-card {
  width: 620px;
  max-height: 86vh;
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.modal-wallet {
  width: 760px;
}

.modal-subAccount {
  width: 670px;
}

.modal-rechargeKind {
  width: 650px;
}

.modal-rechargeMode {
  width: 750px;
}

.modal-robotEdit {
  width: 1050px;
}

.modal-robotScore {
  width: 360px;
}

.modal-safePasswordConfirm {
  width: 430px;
}

.modal-homeMemberRemark,
.modal-homeSendImage {
  width: 375px;
}

.modal-flyRatioManager {
  width: min(1000px, 96vw);
}

.modal-flyRatioAdd {
  width: min(800px, 94vw);
}

.modal-batchProxy {
  width: 520px;
}

.modal-operationGrid {
  width: 520px;
}

.modal-redPacket {
  width: 950px;
}

.modal-promotionCreate {
  width: min(1120px, 92vw);
}

.modal-carouselCreate {
  width: 650px;
}

.modal-activityPrize {
  width: 560px;
}

.modal-turntableEdit {
  width: 980px;
}

.modal-reportDetail {
  width: 1050px;
}

.modal-memberProfile {
  width: 610px;
}

.modal-entertainmentQuota {
  width: 360px;
}

.modal-noticeMore {
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.modal-systemSettingsForm,
.modal-card.system-confirm {
  width: 500px;
}

.modal-systemSettingsForm header,
.modal-card.system-confirm header {
  background: #eef8ff;
  border-bottom-color: #d5eaf8;
}

.modal-card header,
.modal-card footer {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #e9eef2;
}

.modal-card.addActivity header {
  height: 27px;
  padding: 0 10px;
  background: #e5f1f5;
  border-bottom-color: #d9e2e8;
  border-radius: 4px 4px 0 0;
}

.modal-card.addActivity h2 {
  color: #272828;
  font-size: 12px;
  font-weight: 400;
}

.modal-card.addActivity header button {
  width: 24px;
  height: 24px;
}

.modal-card.addActivity footer {
  height: 44px;
  padding: 10px;
}

.modal-card.addActivity footer button {
  width: 51px;
  min-width: 51px;
  height: 23px;
  padding: 0;
  font-size: 12px;
  line-height: 23px;
  border-radius: 3px;
}

.modal-card footer {
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e9eef2;
  border-bottom: 0;
}

.modal-card h2 {
  margin: 0;
  font-size: 17px;
}

.modal-card header button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #758292;
  background: transparent;
}

.modal-card header svg {
  width: 18px;
  height: 18px;
}

.notice-box {
  position: absolute;
  inset: 0;
  display: block;
  color: rgba(0, 0, 0, 0.72);
  font-size: 16px;
  pointer-events: auto;
}

.notice-box * {
  box-sizing: border-box;
}

.notice-box .notice {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 280px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-width: none;
  overflow: visible;
  color: rgba(0, 0, 0, 0.72);
  background: #fff;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease-in-out;
}

.notice-box .notice-header {
  position: relative;
  z-index: 2;
}

.notice-box .notice-header img {
  position: absolute;
  top: -90px;
  z-index: 999;
  width: 100%;
}

.notice-box .notice-header .close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  width: 23px;
  height: 23px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAwNJREFUaEPdmktoFEEQhr9aoglGsxLUQ1B8BYQoCKL4AB/gTRSCRwUVhIDXkJOIQRFP4sGLIAgq6FEDijdBEYyiCIIGhPgikoNKMIlK1JA2JT0yGWd3u2d3EtuBPexud/X/1XTXVFePUIPLGFMPbATWA8uAJUATMMea/waMAAPAW+AJ8EhEvlc7vGQ1YIxRgdvtZxPQ4GlrDHgI3NOPiCig9+UNYIxRofuBgzEPew+c6KB36DJwVUQUzPlyBjDGFIB2oANY4DyCX8NPwAWgR0QmXLo6ARhjFgFngDYXozVo0wd0iciHSrYqAhhj1ljxeXm9lEa9GwrxvBxEWQBjzC7gGDC7kidy+v8HcEpEbpeyXxLAij+ZkzBfs8dLQaQC2Gmji2mmPJ8E1DvRkTad/gKwC/ZKjpHG1/tRe10TB5ILewqADZWXpjHa+MJodDoUD7FJgL3AUV+r09z+tIhcj8b8A2CfsD3/4NRJ+kenUnv0xI4DHAaOuHhz+MtYfd+r9y0bVq94V1dXcHpilrI7Pj5RePzi9dK2lYsHi3MbXJO78yJyUW3+BrCJ2S3X3Kb3Wf/ywY+fm5ubGke3rlvVnxVCxd9/+rJ1aOTrvJaF84c2r2194+JAQHOn3ZoARgB7Jjm6HTsTHzgrRA1snBCRmxGA5jk7XAG0XTUCqukb03hXRLrEbkbuZMjnM0HUSLxyaNq9UwG2Te6ezvp4P97WR5BPW0c9nQrQCexz7JDazEWYS5sMGq4pwDlgS4bOU7qUE5iTeB3/gQLcsJvwahlS14QajUJl1ohVRtiAAugCLlat3hpIelt/1jifg3g1PawAvcCsWgEkQ6x+z0m8mv75XwDkN4WKjaOY/KdQ8Is4+DAa/IMs+FRCK8vhJnN2QxNuOm0Bgt/QaK0/3C2lvQvhbuotgB5chFtWsRDhFrYsgJ7ChFtatBB6GhNmcTfaEwRdXo9B6OlMmAccCYgwj5gS00lTjfAO+WIQ4R6zxiDCPeiOVyyCfdUgWXYJ9mWPtPrRTL5u8wsdOtwdGMCjtAAAAABJRU5ErkJggg==) no-repeat;
  background-size: contain;
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #fff;
  outline: none;
  transition: background-color 0.2s ease-in-out;
}

.notice-box .notice-header .close:active {
  background-color: rgba(255, 255, 255, 0.3);
}

.notice-box .notice-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: row;
  flex-grow: 1;
  max-height: 300px;
  padding-top: 70px;
  padding-bottom: 20px;
  background: #fff;
  border-radius: 20px;
}

.notice-box .notice-body .notice-menu {
  position: relative;
  z-index: 1;
  width: 120px;
  flex: 0 0 120px;
  flex-shrink: 0;
  padding-bottom: 10px;
  margin-left: -10px;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.notice-box .notice-body .notice-menu-item {
  position: relative;
  z-index: 0;
  width: 120px;
  padding: 10px 0 10px 12px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.notice-box .notice-body .notice-menu-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-box .notice-body .notice-menu-item.active {
  color: #fff;
}

.notice-box .notice-body .notice-menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  background: #3a7bbc;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(-99px);
  transition: all 0.3s ease-in-out;
}

.notice-box .notice-body .notice-menu-item::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  bottom: -10px;
  left: -1px;
  display: block;
  width: 10px;
  height: 10px;
  border: 6px solid;
  border-color: #001529 #001529 transparent transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid transparent;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease-in-out;
}

.notice-box .notice-body .notice-menu-item.active::after,
.notice-box .notice-body .notice-menu-item.active::before {
  opacity: 1;
  transform: translateY(0);
}

.notice-box .notice-body .notice-content {
  position: relative;
  flex: 1;
  flex-basis: 100px;
  flex-grow: 1;
  width: 100px;
  height: 100%;
  padding: 0 10px;
}

.notice-box .notice-body .notice-content::before,
.notice-box .notice-body .notice-content::after {
  content: "";
  position: absolute;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 20px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.notice-box .notice-body .notice-content::before {
  top: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0), #fff);
}

.notice-box .notice-body .notice-content::after {
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.notice-box .notice-body .notice-content-item {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.notice-box .notice-body .notice-content-item .date {
  margin: 0;
  font-size: 13px;
}

.notice-box .notice-body .notice-content-item p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.42;
}

.notice-box .notice-body .notice-content-item h3 {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 16px;
}

.notice-box .notice-body .notice-content-item-msg {
  height: auto;
  margin-top: 10px;
}

.notice-box .notice .notice-pagination {
  position: relative;
  bottom: 10px;
  line-height: 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  text-align: center;
}

@keyframes noticeFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  max-height: 62vh;
  overflow: auto;
}

.modal-form.single {
  grid-template-columns: 1fr;
}

.entertainment-quota-modal {
  position: relative;
  min-height: 216px;
  padding: 16px 28px 12px;
}

.entertainment-quota-modal .third {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2d3b4c;
  font-size: 14px;
  line-height: 34px;
}

.entertainment-quota-modal .third input {
  flex: 0 0 auto;
}

.entertainment-quota-modal .third img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.entertainment-quota-password {
  margin-top: 14px;
}

.entertainment-quota-force {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 2px 108px;
  color: #536273;
  font-size: 13px;
}

.member-profile-modal {
  max-height: 66vh;
  padding: 10px;
  overflow: auto;
}

.member-profile-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 86px minmax(0, 1fr);
  border: 1px solid #dfe7ee;
  border-bottom: 0;
}

.member-profile-row:last-child {
  border-bottom: 1px solid #dfe7ee;
}

.member-profile-label,
.member-profile-value {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 4px 8px;
}

.member-profile-label {
  color: #405063;
  background: #eef8fc;
  border-right: 1px solid #dfe7ee;
}

.member-profile-value {
  border-right: 1px solid #dfe7ee;
}

.member-profile-value:last-child {
  border-right: 0;
}

.member-profile-value input {
  width: 100%;
  height: 28px;
  padding: 0 8px;
  color: #536273;
  background: #f2f3f5;
  border: 1px solid #d7dde3;
  border-radius: 3px;
  outline: none;
}

.member-profile-value img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
}

.red-packet-modal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-height: 66vh;
  padding: 10px 16px 16px;
  overflow: auto;
}

.red-packet-games-row,
.red-packet-modal > label {
  min-width: 0;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 0;
  color: #3c4a5b;
  border-bottom: 1px solid #e8eef2;
}

.red-packet-games-row {
  align-items: start;
}

.red-packet-games-row > span {
  padding-top: 5px;
}

.red-packet-games-row em {
  margin-right: 4px;
  color: #f56c6c;
  font-style: normal;
}

.red-packet-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  gap: 8px 18px;
}

.red-packet-game-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.red-packet-modal input,
.red-packet-modal .fake-input {
  width: 100%;
  min-width: 0;
  height: 32px;
}

.red-packet-modal input:disabled {
  color: #6d7784;
  background: #f4f7f9;
}

.red-packet-switch-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.red-packet-type-switch {
  min-height: 34px;
  display: flex;
  align-items: center;
}

.ivu-switch-like {
  position: relative;
  width: 44px;
  height: 22px;
  padding: 0;
  background: #dcdee2;
  border: 1px solid #dcdee2;
  border-radius: 999px;
  vertical-align: middle;
}

.ivu-switch-like::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(31, 45, 61, 0.22);
}

.ivu-switch-like.large {
  width: 56px;
  height: 26px;
}

.ivu-switch-like.large span {
  position: absolute;
  inset: 0 8px 0 22px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
}

.ivu-switch-like.large::after {
  top: 3px;
  width: 18px;
  height: 18px;
}

.ivu-switch-like.checked {
  background: #2d8cf0;
  border-color: #2d8cf0;
}

.ivu-switch-like.checked::after {
  left: auto;
  right: 2px;
}

.ivu-switch-like.large.checked span {
  inset: 0 22px 0 8px;
}

.red-packet-radios {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.red-packet-radios label {
  display: inline-flex;
  grid-template-columns: none;
  gap: 6px;
}

.red-form.fahongbao-content {
  display: block;
  max-width: 820px;
  padding: 24px 0 0 64px;
  color: #272828;
  font-size: 12px;
  background: #fff;
}

.red-table-form {
  width: 720px;
  overflow: visible;
  border: 1px solid #e1e1e5;
  border-radius: 4px;
}

.red-table-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 40px;
  margin: 0;
  border-bottom: 1px solid #e1e1e5;
}

.red-table-row:last-child {
  border-bottom: 0;
}

.red-table-label {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 0 0 7px;
  color: #272828;
  font-size: 12px;
  line-height: 40px;
  text-align: left;
}

.red-table-label em {
  color: #ed4014;
  font-style: normal;
}

.red-table-content {
  min-width: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 5px 7px;
  color: #272828;
  border-left: 1px solid #e1e1e5;
}

.red-table-content > input,
.red-table-content textarea,
.red-table-content .fake-input,
.red-date-input input {
  width: 350px;
  height: 25px;
  min-width: 0;
  padding: 2px 7px;
  color: #515a6e;
  font-size: 12px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
}

.red-table-content textarea {
  height: 56px;
  resize: none;
}

.red-table-content .select-box.compact {
  width: 350px;
}

.red-table-content .select-box.compact .select-menu {
  width: 350px;
}

.red-date-input {
  width: 350px;
}

.red-date-input svg {
  width: 14px;
  height: 14px;
}

.game-list-content {
  width: 620px;
  overflow: hidden;
  padding-top: 5px;
  padding-bottom: 1px;
}

.game-list-content .switch-list {
  width: 25%;
  height: 22px;
  float: left;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 5px;
  padding-right: 7px;
  color: #272828;
  font-size: 12px;
  line-height: 22px;
}

.game-list-content input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #2d8cf0;
}

.game-list-content .lotteryname {
  display: inline-block;
  width: 8em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.red-form .red-packet-radios {
  min-height: 22px;
}

.red-form .red-packet-radios label {
  align-items: center;
  color: #272828;
}

.red-form .red-packet-radios input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.red-form .red-packet-switch-text {
  gap: 10px;
}

.red-form .footer {
  width: 720px;
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.red-form .footer button {
  min-width: 64px;
  height: 32px;
}

.report-detail-modal {
  padding: 14px;
  overflow: auto;
}

.report-detail-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.report-type-select {
  width: 170px;
}

.report-date-input {
  width: 150px;
  height: 32px;
  padding: 0 10px;
  color: #536273;
  border: 1px solid #d9e2ea;
  border-radius: 4px;
  outline: none;
}

.report-detail-modal .admin-table th,
.report-detail-modal .admin-table td {
  padding: 0 8px;
  font-size: 12px;
}

.report-detail-bottom {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5e6b78;
}

.report-detail-bottom strong {
  color: #1f8fbd;
  font-weight: 500;
}

.modal-form label.wide {
  grid-column: 1 / -1;
}

.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #516071;
}

.modal-form input,
.modal-form textarea,
.modal-form select,
.modal-form .fake-input {
  width: 100%;
  min-height: 34px;
  padding: 8px;
  color: #253242;
  border: 1px solid #d9e2ea;
  border-radius: 3px;
  outline: none;
}

.modal-form textarea {
  min-height: 78px;
  resize: none;
}

.modal-form .modal-multi-select {
  width: 100%;
}

.modal-form .modal-multi-select .select-menu {
  width: 100%;
  max-width: none;
}

.system-setting-form {
  display: grid;
  gap: 14px;
  padding: 22px 24px 18px 16px;
  max-height: 62vh;
  overflow: auto;
}

.system-setting-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
}

.system-setting-row.wide {
  align-items: start;
}

.system-setting-label {
  line-height: 34px;
  color: #536273;
  text-align: right;
}

.system-setting-control input,
.system-setting-control textarea {
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  color: #253242;
  border: 1px solid #d9e2ea;
  border-radius: 3px;
  outline: none;
  background: #fff;
}

.system-setting-control textarea {
  min-height: 86px;
  resize: none;
}

.system-radio-options {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #405063;
}

.system-radio-options label,
.system-input-line {
  display: inline-flex;
  align-items: center;
}

.system-radio-options label {
  gap: 6px;
}

.system-input-line {
  width: 100%;
  gap: 8px;
}

.system-input-line input {
  flex: 1;
}

.system-info {
  width: 20px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  color: #2f80ed;
  cursor: help;
}

.system-info svg {
  width: 16px;
  height: 16px;
}

.modal-body {
  padding: 0 16px 16px;
}

.robot-score-modal {
  padding: 12px 16px 10px;
}

.robot-score-row {
  min-height: 40px;
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  border: 1px solid #dfe7ee;
  border-bottom: 0;
}

.robot-score-row:last-child {
  border-bottom: 1px solid #dfe7ee;
}

.robot-score-row > span:first-child {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #334155;
  background: #e8f8fc;
}

.robot-score-row input,
.robot-score-row .select-box {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-left: 1px solid #dfe7ee;
  border-radius: 0;
}

.robot-score-row input {
  padding: 0 10px;
  background: #f8fbfd;
  outline: none;
}

.safe-password-confirm {
  padding: 26px 32px 20px;
}

.safe-password-confirm-message {
  margin: 0 0 16px;
  color: #536273;
  font-size: 14px;
  line-height: 1.6;
}

.safe-password-confirm-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 12px;
}

.safe-password-confirm-row > span:first-child {
  color: #536273;
  text-align: right;
}

.safe-password-confirm-row em,
.batch-proxy-label em {
  margin-right: 3px;
  color: #f56c6c;
  font-style: normal;
}

.password-eye-input {
  position: relative;
  display: block;
}

.password-eye-input input,
.batch-proxy-select .fake-input {
  width: 100%;
  min-height: 34px;
  padding: 7px 34px 7px 10px;
  border: 1px solid #d9e2ea;
  border-radius: 3px;
  outline: none;
  background: #fff;
}

.password-eye-input svg {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: #9aa7b5;
  transform: translateY(-50%);
}

.home-send-image-modal {
  padding: 18px 18px 20px;
}

.home-send-image-preview {
  height: 150px;
  margin-bottom: 18px;
  background: #f8fafb;
  border: 1px dashed #d8e1e8;
  border-radius: 4px;
}

.home-send-image-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.home-send-image-actions button {
  min-width: 76px;
  height: 32px;
  color: #fff;
  background: #bfc3c9;
  border-radius: 3px;
}

.home-send-image-actions button:last-child {
  background: #0087b4;
}

.fly-ratio-manager-modal,
.fly-ratio-add-modal {
  padding: 16px;
}

.fly-ratio-toolbar,
.fly-ratio-search,
.fly-ratio-actions,
.fly-ratio-pager,
.fly-ratio-percent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fly-ratio-toolbar {
  margin-bottom: 12px;
}

.fly-ratio-search {
  margin-bottom: 12px;
}

.fly-ratio-search input {
  width: 220px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
  color: #2b3a48;
}

.fly-ratio-actions {
  margin-bottom: 12px;
}

.fly-ratio-table {
  max-height: 320px;
  border: 1px solid #edf1f4;
}

.fly-ratio-table th:first-child {
  width: 44px;
}

.fly-ratio-table td {
  height: 48px;
}

.fly-ratio-pager {
  justify-content: flex-end;
  margin-top: 12px;
  color: #5e6b78;
  font-size: 13px;
}

.fly-ratio-pager button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
  background: #fff;
  color: #52616f;
}

.fly-ratio-pager input {
  width: 44px;
  height: 28px;
  text-align: center;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
}

.fly-ratio-percent {
  justify-content: center;
  margin-top: 18px;
  color: #35475a;
}

.fly-ratio-percent input {
  width: 300px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
}

.report-delete-modal {
  padding: 26px 36px 22px;
}

.report-delete-modal input {
  width: 220px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
}

.account-password-modal,
.account-2fa-modal {
  padding: 22px 32px 18px;
}

.account-password-modal {
  display: grid;
  gap: 14px;
}

.account-password-modal label,
.account-2fa-modal label,
.twofa-qr-line,
.twofa-secret-line {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 12px;
}

.account-password-modal label > span,
.account-2fa-modal label > span,
.twofa-qr-line > span:first-child,
.twofa-secret-line > span:first-child {
  text-align: right;
  color: #4f5f6f;
}

.account-password-modal input,
.account-2fa-modal input {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
}

.account-2fa-modal {
  display: grid;
  gap: 10px;
  color: #34475a;
  line-height: 1.55;
}

.twofa-link-line {
  margin-left: 18px;
  color: #198fbd;
}

.twofa-qr-box {
  width: 116px;
  height: 116px;
  border: 1px solid #d6e0e7;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.twofa-qr-box img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.twofa-secret-line code {
  color: #24384b;
  background: #f4f8fb;
  border: 1px solid #dbe6ee;
  border-radius: 4px;
  padding: 6px 8px;
  word-break: break-all;
}

.modal-homeFaq {
  width: min(640px, calc(100vw - 32px));
}

.home-faq-modal {
  padding: 18px 24px 22px;
  display: grid;
  gap: 14px;
}

.home-faq-search {
  height: 36px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  color: #6f7d8b;
}

.home-faq-search i {
  width: 16px;
  height: 16px;
  justify-self: center;
}

.home-faq-search input {
  border: 0;
  outline: 0;
  height: 100%;
  min-width: 0;
}

.home-faq-list {
  max-height: min(54vh, 460px);
  overflow: auto;
  display: grid;
  gap: 10px;
}

.home-faq-item {
  border: 1px solid #dbe6ee;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}

.home-faq-item strong {
  display: block;
  color: #24384b;
  margin-bottom: 5px;
}

.home-faq-item p {
  margin: 0;
  color: #526576;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.home-faq-empty {
  text-align: center;
  color: #7c8a98;
  margin: 20px 0 10px;
}

.modal-feedbackReal {
  width: 760px;
}

.feedback-real-modal {
  min-height: 460px;
  padding: 0 12px 14px;
}

.feedback-tabs {
  display: flex;
  height: 42px;
  align-items: flex-end;
  border-bottom: 1px solid #dfe5e8;
}

.feedback-tabs button {
  min-width: 96px;
  height: 36px;
  margin-bottom: -1px;
  color: #425365;
  background: #f9fbfc;
  border: 1px solid #dfe5e8;
  border-radius: 3px 3px 0 0;
}

.feedback-tabs button.selected {
  color: #008fbd;
  background: #fff;
  border-bottom-color: #fff;
  font-weight: 600;
}

.feedback-history-empty {
  height: 390px;
  display: grid;
  place-items: center;
  color: #546678;
}

.feedback-create-form {
  display: grid;
  gap: 16px;
  padding: 18px 8px 0;
}

.feedback-create-form label {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
}

.feedback-create-form label > span {
  padding-top: 8px;
  text-align: right;
  color: #4f5f6f;
}

.feedback-create-form em {
  color: #f56c6c;
  font-style: normal;
}

.feedback-create-form input,
.feedback-create-form textarea {
  width: 100%;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
}

.feedback-create-form input {
  height: 34px;
  padding: 0 10px;
}

.feedback-create-form textarea {
  min-height: 120px;
  padding: 8px 10px;
  resize: none;
}

.upload-slot {
  width: 72px;
  height: 72px;
  color: #95a4b2;
  font-size: 28px;
  background: #fbfdfe;
  border: 1px dashed #cfdbe4;
  border-radius: 4px;
}

.feedback-image-input {
  display: none;
}

.feedback-image-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-image-list button {
  position: relative;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
  background: #f7fafc;
}

.feedback-image-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feedback-image-list span {
  position: absolute;
  top: 2px;
  right: 4px;
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 0 / 60%);
}

.batch-proxy-modal {
  display: grid;
  gap: 16px;
  padding: 22px 32px 18px;
}

.batch-proxy-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 12px;
}

.batch-proxy-label {
  color: #536273;
  text-align: right;
}

.batch-proxy-radios {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 34px;
  color: #405063;
}

.batch-proxy-radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.batch-proxy-select {
  width: 240px;
}

.batch-proxy-member-row {
  align-items: start;
}

.batch-proxy-members {
  width: min(520px, 100%);
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d9e2ea;
  border-radius: 4px;
  background: #fbfdff;
}

.batch-proxy-select-all,
.batch-proxy-member {
  min-height: 30px;
  display: grid;
  grid-template-columns: auto minmax(92px, 1fr) minmax(90px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  color: #405063;
}

.batch-proxy-select-all {
  grid-template-columns: auto 1fr;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6edf3;
  font-weight: 600;
}

.batch-proxy-select-all em {
  color: #2f6fbd;
  font-style: normal;
  font-weight: 600;
}

.batch-proxy-member em {
  overflow: hidden;
  color: #7a8795;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.batch-proxy-member strong {
  color: #2f6fbd;
  font-size: 12px;
  font-weight: 600;
}

.batch-proxy-member small {
  min-width: 48px;
  padding: 2px 6px;
  color: #68788a;
  text-align: center;
  background: #eef2f6;
  border-radius: 3px;
}

.batch-proxy-member:has(input:disabled) {
  opacity: 0.56;
}

.batch-proxy-empty {
  width: min(520px, 100%);
  padding: 12px;
  color: #7a8795;
  background: #fbfdff;
  border: 1px dashed #d9e2ea;
  border-radius: 4px;
}

.modal-body .seg-tabs.small {
  margin-top: 0;
}

.score-radios {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 0 2px;
  color: #334155;
}

.score-radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.quick-notes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0 0;
  color: #6a7887;
}

.quick-notes button,
.operation-grid button,
.cell-actions button {
  min-height: 26px;
  padding: 0 8px;
  color: #008fbd;
  background: #eefaff;
  border: 1px solid #beeaf8;
  border-radius: 3px;
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.recharge-kind-modal {
  display: grid;
  gap: 16px;
  padding: 14px 58px 24px;
}

.recharge-kind-modal label,
.kind-radio-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 86px 286px;
  align-items: center;
  gap: 10px;
}

.recharge-kind-modal label > span:first-child,
.kind-radio-row > span:first-child {
  color: #445160;
  text-align: right;
}

.recharge-kind-modal input[type="text"] {
  width: 100%;
  min-height: 32px;
  padding: 6px 9px;
  color: #253242;
  background: #f7fafb;
  border: 1px solid #d9e2ea;
  border-radius: 3px;
  outline: none;
}

.recharge-kind-modal .fake-input {
  width: 100%;
  min-height: 32px;
  background: #fff;
}

.kind-select .select-menu {
  max-height: 230px;
  overflow: auto;
}

.kind-radio-options {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
}

.kind-radio-options label {
  min-height: auto;
  display: inline-flex;
  grid-template-columns: none;
  gap: 4px;
}

.modal-rechargeMode header {
  height: 42px;
  background: #f1fbff;
  border-bottom-color: #d6e8ef;
}

.modal-rechargeMode h2 {
  font-size: 14px;
  font-weight: 500;
  color: #223241;
}

.modal-rechargeMode footer {
  height: 52px;
  background: #fff;
}

.modal-rechargeMode footer .reset-btn {
  height: 28px;
  color: #fff;
  background: #bfc3c9;
  border-color: #bfc3c9;
}

.modal-rechargeMode footer .save-btn {
  height: 28px;
  background: #008fc3;
  border-color: #008fc3;
}

.recharge-mode-modal {
  max-height: calc(86vh - 94px);
  padding: 14px 10px 68px 42px;
  overflow-y: auto;
}

.mode-field-row,
.mode-icon-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 130px minmax(0, 520px);
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.mode-icon-row {
  align-items: flex-start;
  margin: 2px 0 14px;
}

.mode-label {
  color: #344355;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.mode-label em {
  margin-right: 4px;
  color: #e63b3b;
  font-style: normal;
}

.mode-label .hint-dot {
  margin-left: 4px;
}

.recharge-mode-modal input[type="text"] {
  width: 100%;
  height: 32px;
  padding: 6px 10px;
  color: #253242;
  background: #f7fafb;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
  outline: none;
}

.recharge-mode-modal input::placeholder {
  color: #b7c1cc;
}

.mode-select,
.mode-select .fake-input {
  width: 100%;
}

.mode-select .fake-input {
  min-height: 32px;
  background: #f7fafb;
}

.mode-select .fake-input.placeholder,
.mode-select .select-placeholder {
  color: #9ca9b6;
}

.mode-multi-select .fake-input {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  padding-right: 28px;
  position: relative;
}

.mode-multi-select .fake-input svg {
  position: absolute;
  right: 9px;
}

.mode-select-chip {
  height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  color: #485a6a;
  font-style: normal;
  background: #fff;
  border: 1px solid #d8e1e8;
  border-radius: 3px;
}

.mode-select-chip b {
  color: #9aa7b4;
  font-weight: 400;
}

.mode-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 112px);
  gap: 22px 10px;
  padding-top: 1px;
}

.mode-icon-option {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #344355;
  font-size: 13px;
  white-space: nowrap;
}

.mode-icon-option input,
.mode-radio-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #008fc3;
}

.payment-logo {
  width: 31px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 31px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border-radius: 5px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.13);
}

.logo-zfb { background: #1677ff; }
.logo-wechat { background: #11b84f; }
.logo-gbpay { background: #2678d9; }
.logo-union { background: #e7313d; }
.logo-quick { background: #ff8a00; }
.logo-bank { background: #079b9f; }
.logo-union-pay { background: #0967b1; }
.logo-cashier { background: #f04438; }
.logo-qq { color: #111827; background: #f6d64a; }
.logo-jd { background: #e73435; }
.logo-wallet { background: #ff9f2a; }
.logo-card { background: #5ba3f0; }
.logo-maji { background: #2aaeea; }
.logo-xiyan { background: #6aa1ff; }
.logo-zftong { background: #34c38f; }
.logo-topay { background: #2f2f2f; }
.logo-taiji { background: #e2932b; }
.logo-genesis { background: #4ca4ff; }
.logo-sanbao { background: #d2a15f; }
.logo-usdt { background: #26a17b; }
.logo-recharge { background: #36a3ff; }
.logo-erc20 { background: #26a17b; }
.logo-trc20 { background: #26a17b; }
.logo-rmb { background: #d43f3a; }
.logo-okpay { color: #111827; background: #f8fafc; border: 1px solid #d5dde6; }
.logo-pay988 { background: #7b61ff; }
.logo-gopay { background: #08a8d8; }

.mode-expand {
  grid-column: 1 / -1;
  width: 118px;
  height: 24px;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: -3px;
  color: #008fc3;
  background: transparent;
  font-size: 16px;
}

.mode-expand svg {
  width: 18px;
  height: 18px;
  border: 1px solid #008fc3;
  border-radius: 50%;
  padding: 2px;
}

.mode-radio-row {
  margin-top: 2px;
}

.mode-radio-options {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #334155;
}

.mode-radio-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.subaccount-modal {
  max-height: 66vh;
  padding: 8px 10px 4px;
  overflow: auto;
}

.subaccount-fields {
  display: grid;
  gap: 8px;
  padding-bottom: 8px;
}

.subaccount-fields label,
.safe-password-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  min-height: 32px;
  border: 1px solid #dfe7ee;
  background: #fff;
}

.subaccount-fields label > span,
.safe-password-row > span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #334155;
  background: #e9f8fc;
  text-align: left;
}

.subaccount-fields input,
.safe-password-row input {
  width: 100%;
  min-height: 30px;
  padding: 7px 9px;
  color: #253242;
  background: #f8fbfd;
  border: 0;
  border-radius: 3px;
  outline: none;
}

.subaccount-fields .switch {
  align-self: center;
  margin-left: 0;
}

.permission-sections {
  display: grid;
  gap: 8px;
  padding: 0 0 8px;
}

.permission-section {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border: 1px solid #dfe7ee;
  border-radius: 3px;
  background: #fff;
}

.permission-section-side {
  min-height: 64px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  background: #e9f8fc;
}

.permission-section-side .switch {
  justify-self: start;
}

.permission-section-side strong {
  color: #243447;
  font-size: 14px;
}

.permission-section header {
  min-height: 40px;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #e7edf2;
}

.permission-section strong {
  color: #243447;
  font-size: 14px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 8px;
  align-items: start;
  padding: 8px;
}

.permission-switch-item {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 6px 3px 8px;
  color: #243447;
  background: #fbfdff;
  border: 1px solid #dce8ef;
  border-radius: 3px;
}

.permission-switch-item > span {
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.permission-switch-item .switch {
  flex: 0 0 auto;
}

.safe-password-row {
  max-width: none;
  padding: 0;
  margin-bottom: 8px;
}

.modal-robot-form {
  max-height: 66vh;
  margin: 12px 16px 0;
  overflow: auto;
}

.robot-edit-real {
  max-height: 66vh;
  margin: 8px 10px 0;
  overflow: auto;
  border: 1px solid #dfe7ee;
  border-bottom: 0;
}

.robot-edit-line,
.robot-edit-grid,
.robot-runtime-grid,
.robot-games-row {
  border-bottom: 1px solid #dfe7ee;
}

.robot-edit-line {
  min-height: 40px;
  display: grid;
  grid-template-columns: 190px 1fr;
}

.robot-field-label {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #254257;
  background: #e9f8fc;
}

.robot-field-control,
.robot-edit-cell,
.robot-runtime-cell {
  min-width: 0;
}

.robot-avatar-control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
}

.robot-avatar-control img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
}

.robot-avatar-option-line {
  align-items: center;
  gap: 10px;
}

.robot-avatar-preview {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #d8e5ec;
}

.robot-avatar-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 46%);
}

.robot-avatar-picker-modal,
.robot-avatar-upload-modal {
  width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 42px rgb(0 0 0 / 22%);
  overflow: hidden;
}

.robot-avatar-picker-modal header,
.robot-avatar-upload-modal header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #254257;
  background: #eef8fb;
  border-bottom: 1px solid #dce7ef;
}

.robot-avatar-picker-modal h2,
.robot-avatar-upload-modal h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.robot-avatar-picker-modal header button,
.robot-avatar-upload-modal header button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #7d8b96;
}

.robot-avatar-grid {
  max-height: 390px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  overflow: auto;
}

.robot-avatar-grid button {
  aspect-ratio: 1;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 3px;
  background: #f5f8fa;
}

.robot-avatar-grid button.selected {
  border-color: #12a6cf;
  background: #e9f8fc;
}

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

.robot-avatar-picker-modal footer,
.robot-avatar-upload-modal footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #e7eef3;
}

.robot-avatar-upload-body {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 20px;
}

.robot-avatar-upload-box {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  color: #6b7e8c;
  border: 1px dashed #9fcbd8;
  border-radius: 4px;
  background: #f5fbfd;
}

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

.robot-avatar-upload-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgb(0 0 0 / 46%);
  border-radius: 3px;
  font-size: 12px;
}

.mini-blue {
  min-height: 26px;
  padding: 0 10px;
  color: #fff;
  background: #37b8da;
  border-radius: 4px;
}

.mini-danger {
  min-height: 26px;
  padding: 0 10px;
  color: #fff;
  background: #f56c6c;
  border-radius: 4px;
}

.activity-rule-input {
  width: 100%;
  min-width: 92px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #dce5ec;
  border-radius: 3px;
}

.activity-rule-title {
  margin: 10px 0 8px;
  color: #445160;
  font-weight: 600;
}

.activity-rule-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.activity-rule-control em {
  color: #445160;
  font-style: normal;
  white-space: nowrap;
}

.config-upload {
  gap: 8px;
}

.config-upload button {
  width: 34px;
  height: 30px;
  padding: 0;
}

.config-upload svg {
  width: 15px;
  height: 15px;
}

.activity-modal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px;
  max-height: min(600px, 72vh);
  overflow: auto;
  color: #272828;
  font-size: 12px;
}

.activity-modal-row {
  display: grid;
  grid-template-columns: 23% minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 10px;
  color: #272828;
}

.activity-modal-row .left-con {
  justify-self: stretch;
  margin-right: 0;
  text-align: right;
}

.activity-modal-row > input,
.activity-input-with-tip input,
.activity-date-input input {
  width: 250px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #dce5ec;
  border-radius: 3px;
  background: #fff;
}

.activity-radio-options {
  display: flex;
  gap: 18px;
}

.activity-radio-options label,
.turntable-enable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
}

.activity-radio-options em {
  font-style: normal;
}

.activity-upload {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-con .demo-upload-list {
  width: 355px;
  height: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #9aa7b4;
  background: #fff;
  border: 1px dashed #d9e2ea;
  border-radius: 4px;
}

.activity-con .demo-upload-list.imgUrl1 {
  width: 355px;
  min-height: 130px;
  height: auto;
}

.activity-con .demo-upload-list.square {
  width: 160px;
  height: 160px;
}

.activity-con .demo-upload-list img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.activity-con .demo-upload-list.imgUrl1 img {
  height: auto;
}

.activity-con .uploadIcon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  color: #aab3bd;
  background: #f8fafc;
  border: 1px solid #e2e8ef;
  border-radius: 4px;
  font-size: 34px;
  line-height: 1;
}

.activity-con .demo-upload-list-cover {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
}

.activity-con .demo-upload-list:hover .demo-upload-list-cover {
  display: flex;
}

.upload-size-tip,
.activity-input-with-tip em,
.activity-prize-help span {
  color: #f56c6c;
  font-style: normal;
  font-size: 12px;
}

.activity-input-with-tip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.activity-date-input {
  width: 250px;
}

.activity-date-input input {
  width: 100%;
}

.activity-date-input svg {
  color: #9aa7b4;
}

.activity-select {
  width: 250px;
}

.turntable-edit-modal {
  max-height: 68vh;
  overflow: auto;
}

.turntable-edit-modal .activity-modal {
  padding-bottom: 8px;
}

.turntable-condition {
  padding: 6px 0 0;
}

.turntable-condition h3 {
  margin: 8px 0 6px;
  font-size: 13px;
  color: #272828;
}

.turntable-condition p {
  margin: 0 0 10px;
  color: #f56c6c;
}

.compact-tabs {
  margin-bottom: 12px;
}

.turntable-flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.turntable-flow-row > input {
  width: 140px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #dce5ec;
  border-radius: 3px;
}

.turntable-prize-table {
  min-width: 900px;
}

.activity-condition {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #eef2f5;
}

.activity-prize-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
}

.activity-prize-modal {
  max-height: 60vh;
}

.activity-prize-note {
  margin: 4px 0 0 23%;
}
}

.robot-edit-grid {
  display: grid;
}

.robot-edit-grid.top-grid {
  grid-template-columns: 1.35fr 1.35fr 0.85fr 1fr;
}

.robot-edit-grid.top-grid .robot-edit-cell {
  grid-template-columns: 84px minmax(0, 1fr);
}

.robot-edit-grid.two-grid,
.robot-runtime-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.robot-edit-cell,
.robot-runtime-cell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-right: 1px solid #dfe7ee;
}

.robot-edit-cell:last-child,
.robot-runtime-cell:last-child {
  border-right: 0;
}

.robot-edit-cell input,
.robot-select-text input,
.runtime-control input:not([type="checkbox"]) {
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  color: #344155;
  background: #f7fbfd;
  border: 1px solid #d9e2ea;
  border-radius: 3px;
  outline: none;
}

.robot-edit-cell input:disabled {
  color: #566273;
  background: #eef1f3;
}

.robot-edit-cell > .switch {
  align-self: center;
  margin-left: 10px;
}

.runtime-control {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px 48px minmax(76px, 1fr) minmax(76px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
}

.runtime-control em {
  font-style: normal;
}

.robot-select-text {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 10px;
}

.robot-select-text .select-box,
.robot-edit-cell > .select-box {
  width: auto;
  margin: 4px 10px;
}

.robot-games-row {
  display: grid;
  grid-template-columns: 190px 1fr;
}

.robot-games-row .game-switch-list {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  padding: 8px 12px;
}

.modal-robot-form.robot-config .config-row {
  grid-template-columns: 220px minmax(420px, 1fr);
}

.modal-robot-form.robot-config .config-row.wide {
  grid-template-columns: 220px minmax(420px, 1fr);
}

.modal-robot-form .game-switch-list {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.modal-note.robot-note {
  grid-column: 1 / -1;
  margin: 8px 12px 12px;
}

.operation-grid button {
  height: 34px;
  color: #344355;
  background: #f8fafc;
  border-color: #d9e2ea;
}

.confirm-body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px 20px;
  color: #405063;
}

.confirm-body svg {
  width: 28px;
  height: 28px;
  color: #f0a020;
}

.confirm-body.info svg {
  color: #2f80ed;
}

.modal-card.system-confirm .confirm-body {
  min-height: 110px;
  padding: 22px 28px;
}

.detail-body {
  padding: 16px 22px;
}

.detail-body dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 12px;
  margin: 0;
}

.detail-body dt {
  color: #6c7b8a;
  text-align: right;
}

.detail-body dd {
  margin: 0;
  color: #253242;
}

.modal-applyDetail {
  width: 650px;
}

.modal-applyReview {
  width: 420px;
}

.apply-detail-modal {
  padding: 12px 16px 8px;
}

.apply-review-modal {
  padding: 16px 22px 20px;
}

.apply-review-question {
  margin: 0 0 16px;
  color: #283544;
  font-size: 15px;
  line-height: 1.7;
}

.apply-review-question strong {
  padding: 0 2px;
  font-weight: 700;
}

.apply-review-modal dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px 8px;
  margin: 0;
}

.apply-review-modal dt {
  color: #6c7b8a;
  text-align: right;
}

.apply-review-modal dd {
  margin: 0;
  color: #253242;
}

.apply-review-modal textarea {
  width: 100%;
  min-height: 74px;
  margin-top: 14px;
  resize: vertical;
  border: 1px solid #d7dde6;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.5;
}

.apply-member-detail-modal .member-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.member-column,
.member-extra-grid {
  display: grid;
  gap: 4px;
}

.member-extra-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 4px;
}

.member-detail-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 34px;
  border: 1px solid #e5edf4;
  background: #fff;
}

.member-detail-row .th {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  color: #606d7c;
  background: #f5f8fb;
  border-right: 1px solid #e5edf4;
}

.member-detail-row .td {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 4px 8px;
}

.member-detail-row .input {
  overflow: hidden;
  color: #263242;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-qr-thumb {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.member-qr-thumb img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.member-image-preview-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
}

.member-image-preview {
  position: relative;
  max-width: 620px;
  max-height: 78vh;
  padding: 16px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 18px 50px rgba(15, 35, 56, 0.28);
}

.member-image-preview button {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #5d6a78;
  cursor: pointer;
}

.member-image-preview img {
  display: block;
  max-width: 560px;
  max-height: 70vh;
  object-fit: contain;
}

.modal-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #ef6a28;
}

.apply-ip-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.25;
}

.apply-ip-cell em {
  color: #f04d4f;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.apply-list-btn {
  height: 26px;
}

.cell-actions button.apply-list-btn.primary {
  color: #fff;
  background: #008fbd;
  border-color: #008fbd;
}

.cell-actions button.apply-list-btn.success {
  color: #fff;
  background: #19b66a;
  border-color: #19b66a;
}

.cell-actions button.apply-list-btn.danger {
  color: #fff;
  background: #ef4d56;
  border-color: #ef4d56;
}

.cell-actions button.apply-list-btn.warning {
  color: #fff;
  background: #f0a020;
  border-color: #f0a020;
}

.cell-actions button.apply-list-btn.omit {
  color: #222;
  background: #fff;
  border-color: #cfd8e3;
}

.cell-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.member-recharge-kind-cell {
  min-width: 72px;
  display: inline-flex;
  position: relative;
  justify-content: center;
}

.member-recharge-kind-trigger.active {
  color: #008fbd;
  border-color: #8fd8ef;
  background: #eefaff;
}

.member-recharge-kind-picker {
  position: absolute;
  top: 32px;
  left: 50%;
  z-index: 24;
  width: 148px;
  max-height: 188px;
  margin: 0;
  padding: 4px;
  list-style: none;
  overflow: auto;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(31, 46, 61, 0.14);
}

.member-recharge-kind-picker li + li {
  margin-top: 2px;
}

.member-recharge-kind-picker button {
  width: 100%;
  min-height: 30px;
  display: grid;
  gap: 2px;
  padding: 5px 7px;
  color: #32465a;
  text-align: left;
  background: #fff;
  border-radius: 3px;
}

.member-recharge-kind-picker button:hover,
.member-recharge-kind-picker button.selected {
  color: #008fbd;
  background: #eefaff;
}

.member-recharge-kind-picker button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.member-recharge-kind-picker small {
  min-width: 0;
  overflow: hidden;
  color: #7c8b9a;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-cell-select {
  min-width: 64px;
  display: inline-flex;
  position: relative;
  justify-content: center;
}

.inline-cell-select-trigger.active {
  color: #008fbd;
  border-color: #8fd8ef;
  background: #eefaff;
}

.inline-cell-picker {
  position: absolute;
  top: 32px;
  left: 50%;
  z-index: 24;
  min-width: 76px;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid #d7e3eb;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(31, 46, 61, 0.14);
  transform: translateX(-50%);
}

.inline-cell-picker li + li {
  margin-top: 2px;
}

.inline-cell-picker button {
  width: 100%;
  min-height: 28px;
  padding: 5px 10px;
  color: #32465a;
  text-align: center;
  white-space: nowrap;
  background: #fff;
  border-radius: 3px;
}

.inline-cell-picker button:hover,
.inline-cell-picker button.selected {
  color: #008fbd;
  background: #eefaff;
}

.inline-cell-picker button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.notice-toast {
  position: fixed;
  top: 58px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  min-width: 176px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #1d5f3a;
  background: #f0fff6;
  border: 1px solid #a7e5bd;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(27, 43, 59, 0.14);
}

.notice-toast.info {
  color: #24607a;
  background: #eefaff;
  border-color: #b8e5f5;
}

.notice-toast svg {
  width: 17px;
  height: 17px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-330px);
  }
}

.content-panel.no-sub-nav {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.seg-tabs {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 12px 0;
  border-bottom: 1px solid #e8edf1;
}

.seg-tabs button {
  height: 42px;
  min-width: 104px;
  color: #4a5968;
  background: #fff;
  border-bottom: 3px solid transparent;
  font-weight: 700;
}

.seg-tabs button.selected {
  color: #008fbd;
  border-bottom-color: #008fbd;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 12px 18px;
  padding: 4px 0 16px;
}

.field-row,
.textarea-grid label,
.compact-form label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field-row span,
.textarea-grid span,
.compact-form span {
  width: 150px;
  color: #4b5a69;
  text-align: right;
}

.field-row input,
.textarea-grid textarea,
.compact-form input,
.password-row input,
.fly-options input[type="text"],
.fly-options label input:not([type="radio"]),
.odds-table input,
.rebate-plans input {
  min-height: 32px;
  padding: 5px 8px;
  color: #263544;
  background: #fff;
  border: 1px solid #d7e1e8;
  border-radius: 3px;
  outline: none;
}

.settings-grid input {
  width: 190px;
}

.switch-board.dense {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
}

.switch-board.dense article {
  min-height: 58px;
  padding: 9px 12px;
}

.switch-board.dense h3 {
  font-size: 14px;
}

.textarea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 12px;
  padding: 0 0 12px;
}

.textarea-grid textarea {
  width: 390px;
  min-height: 66px;
  resize: none;
}

.form-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 0;
  background: #fff;
}

.view-section {
  padding: 16px 0;
  color: #3a4857;
}

.view-section h2,
.band-title,
.wallet-help h2 {
  margin: 0 0 12px;
  color: #1f2d3a;
  font-size: 17px;
  line-height: 1;
}

.view-section p,
.note-line {
  margin: 0 0 13px;
  color: #667385;
}

.rebate-settings-panel {
  max-width: 1060px;
  padding-top: 0;
}

.rebate-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rebate-intro,
.rebate-note {
  margin: 0 0 10px;
  color: #486276;
  line-height: 1.65;
}

.rebate-intro {
  padding: 8px 10px;
  background: #f6fbfd;
  border: 1px solid #dcecf4;
  border-radius: 4px;
}

.rebate-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 10px 0 8px;
  border: 1px solid #dbe7ee;
  border-radius: 4px;
  overflow: hidden;
}

.rebate-plans article {
  min-height: 56px;
  display: grid;
  grid-template-columns: 150px 260px 190px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #e8f0f5;
}

.rebate-plans article:nth-child(even) {
  background: #fbfdff;
}

.rebate-plans article:last-child {
  border-bottom: 0;
}

.rebate-plan-name,
.rebate-range-fields,
.rebate-percent-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25384b;
  white-space: nowrap;
}

.rebate-plan-name {
  justify-content: flex-end;
  font-weight: 600;
}

.rebate-plan-name input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}

.rebate-range-fields input,
.rebate-percent-field input {
  width: 96px;
  min-height: 32px;
  padding: 5px 8px;
  color: #263544;
  background: #fff;
  border: 1px solid #d7e1e8;
  border-radius: 3px;
  outline: none;
}

.rebate-percent-field input {
  width: 86px;
}

.rebate-range-fields input:focus,
.rebate-percent-field input:focus {
  border-color: #63b3d4;
  box-shadow: 0 0 0 2px rgba(0, 143, 189, 0.08);
}

.rebate-auto-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rebate-auto-switch span {
  color: #4b5a69;
}

.rebate-game-plans {
  width: min(1050px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 10px 22px;
  margin: 14px 0;
}

.rebate-game-row {
  min-height: 40px;
  display: grid;
  grid-template-columns: 150px 100px 24px;
  align-items: center;
  gap: 8px;
}

.rebate-game-row span {
  color: #4b5a69;
  text-align: right;
}

.rebate-game-row input {
  min-height: 32px;
  padding: 5px 8px;
  color: #263544;
  background: #fff;
  border: 1px solid #d7e1e8;
  border-radius: 3px;
  outline: none;
}

.rebate-game-all {
  grid-column: 1 / -1;
}

.rebate-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.compact-form {
  max-width: 720px;
}

.compact-form label {
  margin: 16px 0;
}

.compact-form input {
  width: 160px;
}

.offline-settings {
  width: 100%;
  max-width: none;
  padding: 0 0 18px;
  background: #fff;
}

.offline-settings .offline-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 220px minmax(260px, 420px);
  align-items: center;
  color: #293847;
}

.offline-settings .offline-label {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 74px;
  color: #303d4a;
  font-size: 14px;
}

.offline-settings .offline-control {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.offline-settings .option-line {
  gap: 28px;
}

.offline-settings .option-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #263544;
  line-height: 1;
}

.offline-settings input:not([type="radio"]) {
  width: 220px;
  height: 32px;
  padding: 5px 8px;
  color: #263544;
  background: #fff;
  border: 1px solid #dcdee2;
  border-radius: 4px;
}

.offline-qrcode-box {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #8a99a8;
  background: #f7fafb;
  border: 1px solid #dcdee2;
  border-radius: 2px;
  cursor: pointer;
}

.offline-qrcode-box span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0b8fbd;
  font-size: 18px;
  font-weight: 700;
}

.offline-qrcode-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offline-virtual-card {
  position: relative;
  width: min(690px, 100%);
  margin: 8px 0 12px;
  padding: 18px 16px 18px 0;
  border: 1px dashed #d7e0e8;
  border-radius: 2px;
}

.offline-virtual-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: #9aa7b4;
  font-size: 22px;
  line-height: 22px;
  cursor: pointer;
}

.offline-add-row {
  width: min(690px, 100%);
  height: 32px;
  border: 1px dashed #d7e0e8;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.rebate-type {
  width: 220px;
  margin-bottom: 0;
}

.rebate-type .select-trigger {
  white-space: nowrap;
}

.monitor-bar,
.password-row,
.fly-options {
  min-height: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f4;
}

.monitor-bar strong {
  color: #1f2d3a;
}

.monitor-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-top: 12px;
}

.monitor-grid article {
  min-height: 118px;
}

.monitor-grid strong {
  margin-bottom: 10px;
}

.monitor-grid span {
  min-width: 54px;
  margin: 6px 6px 0 0;
  padding: 4px 6px;
  background: #fff;
  border: 1px solid #e0e7ee;
  border-radius: 3px;
}

.monitor-grid em {
  margin: 0 0 0 4px;
  color: #008fbd;
}

.monitor-table {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  width: max-content;
  min-width: 100%;
  border-top: 1px solid #dfe5e8;
  border-left: 1px solid #dfe5e8;
}

.monitor-col {
  min-width: 124px;
  border-right: 1px solid #dfe5e8;
  border-bottom: 1px solid #dfe5e8;
}

.monitor-col.wide {
  min-width: 228px;
}

.monitor-col h3 {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #1f2d3a;
  background: #f4f8fa;
  border-bottom: 1px solid #dfe5e8;
  font-size: 14px;
  font-weight: 500;
}

.monitor-cell {
  height: 31px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 6px;
  padding: 2px 5px;
  background: #fafafa;
  border-bottom: 1px solid #edf1f4;
}

.monitor-cell span {
  text-align: center;
}

.monitor-cell .ring {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  background: #fff;
  border: 2px solid #e94b4b;
  border-radius: 50%;
  font-weight: 700;
}

.monitor-cell:nth-child(3n) .ring {
  border-color: #2d78e8;
}

.monitor-cell:nth-child(4n) .ring {
  border-color: #22af6d;
}

.monitor-cell:nth-child(5n) .ring {
  border-color: #f5c542;
}

.monitor-cell .ring.ball-ssc {
  color: #222;
  background: #fff;
  border-width: 3px;
}

.ring.ball-ssc.ball-0 {
  border-color: #c1ec56;
}

.ring.ball-ssc.ball-1 {
  border-color: #ffc219;
}

.ring.ball-ssc.ball-2 {
  border-color: #3078e3;
}

.ring.ball-ssc.ball-3 {
  border-color: #da3120;
}

.ring.ball-ssc.ball-4 {
  border-color: #c438b4;
}

.ring.ball-ssc.ball-5 {
  border-color: #ed851f;
}

.ring.ball-ssc.ball-6 {
  border-color: #1cac58;
}

.ring.ball-ssc.ball-7 {
  border-color: #a02110;
}

.ring.ball-ssc.ball-8 {
  border-color: #423f44;
}

.ring.ball-ssc.ball-9 {
  border-color: #05a3da;
}

.monitor-cell .ring.ball-pcdd {
  color: #fff;
  background: linear-gradient(#68e55c 0, #4ec641);
  border: 0;
  border-radius: 50%;
}

.ring.ball-pcdd.ball-0 {
  background: linear-gradient(#ffe55a 0, #ffc641);
}

.ring.ball-pcdd.ball-2,
.ring.ball-pcdd.ball-5,
.ring.ball-pcdd.ball-8,
.ring.ball-pcdd.ball-11,
.ring.ball-pcdd.ball-14,
.ring.ball-pcdd.ball-17,
.ring.ball-pcdd.ball-20,
.ring.ball-pcdd.ball-23,
.ring.ball-pcdd.ball-26 {
  background: linear-gradient(#6ca2ff 0, #2972ff);
}

.ring.ball-pcdd.ball-3,
.ring.ball-pcdd.ball-6,
.ring.ball-pcdd.ball-9,
.ring.ball-pcdd.ball-12,
.ring.ball-pcdd.ball-15,
.ring.ball-pcdd.ball-18,
.ring.ball-pcdd.ball-21,
.ring.ball-pcdd.ball-24,
.ring.ball-pcdd.ball-27 {
  background: linear-gradient(#fb898b 0, #ef1d1d);
}

.monitor-cell .ring.ball-markSix {
  color: #000;
  background: url("https://static.wokekj.com:38531/robot/static/img/greenBall.32ea4377.png") center / 100% 100% no-repeat;
  border: 0;
  border-radius: 50%;
  font-weight: 400;
}

.ring.ball-markSix.ball-1,
.ring.ball-markSix.ball-2,
.ring.ball-markSix.ball-7,
.ring.ball-markSix.ball-8,
.ring.ball-markSix.ball-12,
.ring.ball-markSix.ball-13,
.ring.ball-markSix.ball-18,
.ring.ball-markSix.ball-19,
.ring.ball-markSix.ball-23,
.ring.ball-markSix.ball-24,
.ring.ball-markSix.ball-29,
.ring.ball-markSix.ball-30,
.ring.ball-markSix.ball-34,
.ring.ball-markSix.ball-35,
.ring.ball-markSix.ball-40,
.ring.ball-markSix.ball-45,
.ring.ball-markSix.ball-46 {
  background-image: url("https://static.wokekj.com:38531/robot/static/img/redBall.5b10f0bf.png");
}

.ring.ball-markSix.ball-3,
.ring.ball-markSix.ball-4,
.ring.ball-markSix.ball-9,
.ring.ball-markSix.ball-10,
.ring.ball-markSix.ball-14,
.ring.ball-markSix.ball-15,
.ring.ball-markSix.ball-20,
.ring.ball-markSix.ball-25,
.ring.ball-markSix.ball-26,
.ring.ball-markSix.ball-31,
.ring.ball-markSix.ball-36,
.ring.ball-markSix.ball-37,
.ring.ball-markSix.ball-41,
.ring.ball-markSix.ball-42,
.ring.ball-markSix.ball-47,
.ring.ball-markSix.ball-48 {
  background-image: url("https://static.wokekj.com:38531/robot/static/img/blueBall.15448c3b.png");
}

.monitor-cell input {
  width: 100%;
  height: 24px;
  color: #526071;
  text-align: center;
  background: #fff;
  border: 1px solid #d7e1e8;
  border-radius: 4px;
}

.monitor-cell .race-ball {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.dice-group {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 4px;
}

.dice-face {
  width: 27px;
  height: 27px;
  position: relative;
  display: inline-block;
  color: transparent;
  background-image: url("https://static.wokekj.com:38531/robot/static/img/ball_4.834dd923.png");
  background-repeat: repeat;
  background-size: 100%;
  border: 0;
  border-radius: 0;
}

.dice-face i {
  display: none;
}

.dice-face.dice-1 {
  background-position: 0 0;
}

.dice-face.dice-2 {
  background-position: 0 -27px;
}

.dice-face.dice-3 {
  background-position: 0 -54px;
}

.dice-face.dice-4 {
  background-position: 0 -81px;
}

.dice-face.dice-5 {
  background-position: 0 -108px;
}

.dice-face.dice-6 {
  background-position: 0 -135px;
}

.sport-ball {
  width: 34px;
  height: 27px;
  display: inline-block;
  justify-self: center;
  color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.sport-ball-1 {
  background-image: url("./assets/sport-1.png");
}

.sport-ball-2 {
  background-image: url("./assets/sport-2.png");
}

.sport-ball-3 {
  background-image: url("./assets/sport-3.png");
}

.sport-ball-4 {
  background-image: url("./assets/sport-4.png");
}

.sport-ball-5 {
  background-image: url("./assets/sport-5.png");
}

.sport-ball-6 {
  background-image: url("./assets/sport-6.png");
}

.sport-token {
  min-width: 42px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 1px;
}

.sport-token b {
  min-width: 12px;
  color: #1597e5;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.sport-token em {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  font-style: normal;
  line-height: 1;
}

.sport-token-1 b,
.sport-token-4 b,
.sport-token-6 b {
  color: #ff5b22;
}

.sport-token-1 em,
.sport-token-4 em {
  background: #fff0e7;
}

.sport-token-2 em,
.sport-token-5 em {
  background: #e8f7ff;
}

.sport-token-3 em {
  background: #eefaff;
}

.sport-token-6 em {
  background: #ffe8e8;
}

.race-1 {
  background: #f2e500;
}

.race-2 {
  background: #0088eb;
}

.race-3 {
  background: #333;
}

.race-4 {
  background: #fb8400;
}

.race-5 {
  background: #55dbe8;
}

.race-6 {
  background: #5943f6;
}

.race-7 {
  background: #b8b8b8;
}

.race-8 {
  background: #ff2a13;
}

.race-9 {
  background: #8e0900;
}

.race-10 {
  background: #16b51e;
}

.odds-table input {
  width: 92px;
  text-align: center;
}

.canada-quota-settings {
  margin-bottom: 0;
  color: #263544;
  background: #fff;
}

.quota-setting-tab {
  width: 102px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #008fbd;
  background: #fff;
  border: 1px solid #dbe5ec;
  border-bottom-color: #fff;
  border-radius: 3px 3px 0 0;
}

.quota-setting-tab.single-tab {
  margin-top: 12px;
}

.quota-setting-line,
.quota-setting-grid,
.quota-setting-grid.single-point {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  min-height: 36px;
  padding: 5px 0;
  border-top: 1px solid #dbe5ec;
}

.quota-setting-line span,
.quota-setting-grid > span {
  min-width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.quota-setting-line label,
.quota-setting-grid label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.quota-setting-line input[type="checkbox"],
.quota-setting-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #008fbd;
}

.quota-setting-grid input:not([type="checkbox"]) {
  width: 96px;
  height: 32px;
  border: 1px solid #d7e1e8;
  border-radius: 3px;
  background: #f7fafc;
}

.quota-setting-grid.single label,
.quota-setting-grid.single-point label {
  min-width: 330px;
}

.quota-setting-grid.combo {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 8px 14px;
}

.quota-combo-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 10px 42px;
}

.quota-combo-fields label {
  min-height: 32px;
}

.odds-global-row td {
  background: #fff;
}

.odds-limit-cell {
  min-width: 138px;
  white-space: nowrap;
}

.odds-limit-cell span {
  display: inline-block;
  margin-left: 8px;
  color: #5d6875;
  font-size: 12px;
}

.password-row span {
  color: #4b5a69;
  font-weight: 700;
}

.password-row input {
  width: 360px;
  background: #f7fafc;
}

.fly-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fly-options input:not([type="radio"]) {
  width: 56px;
  text-align: center;
}

.band-title {
  height: 38px;
  display: flex;
  align-items: center;
  margin: 12px 0 0;
  padding: 0 12px;
  color: #fff;
  background: #008fbd;
}

.make-layout {
  display: grid;
  grid-template-columns: 344px 22px minmax(760px, 1fr);
  min-height: calc(100vh - 138px);
  margin: -10px -15px -15px;
  background: #f4f6f8;
}

.make-side {
  background: #fff;
  border-right: 1px solid #d9e1e6;
  overflow: hidden auto;
}

.make-password {
  min-height: 54px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 46px 48px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid #edf1f4;
}

.make-password span {
  color: #2e3c4a;
}

.make-password input {
  width: 100%;
  height: 34px;
  padding: 5px 8px;
  color: #9aa6b2;
  background: #f3f6f8;
  border: 1px solid #d9e1e8;
  border-radius: 3px;
}

.make-password button {
  white-space: nowrap;
}

.compact-btn {
  min-width: 46px;
  height: 32px;
  padding: 0 10px;
}

.make-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #edf1f4;
}

.make-stat {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  border-bottom: 1px solid #edf1f4;
}

.make-stat:nth-child(1),
.make-stat:nth-child(2) {
  grid-column: 1 / -1;
}

.make-stat:nth-child(4) {
  border-left: 1px solid #edf1f4;
}

.make-stat span {
  color: #1f2d3a;
}

.make-stat strong {
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

.make-stat strong.green {
  color: #02aa3c;
}

.make-stat strong.red {
  color: #ff003d;
}

.make-fly {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 0;
}

.make-fly label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #213040;
}

.make-fly input:not([type="radio"]) {
  width: 38px;
  height: 30px;
  padding: 4px;
  text-align: center;
  background: #f7fafb;
  border: 1px solid #d7e1e8;
  border-radius: 3px;
}

.make-note {
  margin: 0;
  padding: 0 8px 10px;
  color: #ff002f;
  font-size: 12px;
  line-height: 1.4;
}

.make-band {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #1f2d3a;
  background: #f4f4f4;
  border-top: 1px solid #e6ebef;
  border-bottom: 1px solid #e6ebef;
  font-size: 14px;
  font-weight: 500;
}

.make-game-wrap {
  padding: 14px 18px;
}

.make-game-table th,
.make-game-table td {
  height: 51px;
  text-align: center;
}

.make-game-table .switch {
  width: 48px;
  height: 24px;
  background: #c9cdd1;
}

.make-game-table .switch.on {
  background: #c9cdd1;
}

.make-game-table .switch span,
.make-game-table .switch.on span {
  width: 20px;
  height: 20px;
  transform: translateX(0);
}

.make-split {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  border-right: 1px solid #d0d6dc;
}

.make-split button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #008fbd;
  border-radius: 0 23px 23px 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.make-split svg {
  width: 24px;
  height: 24px;
}

.make-report {
  min-width: 0;
  padding: 24px 22px 10px;
  background: #fff;
}

.make-report-title {
  margin: 0 0 14px;
  color: #303b47;
  font-size: 15px;
}

.make-filter {
  padding: 0 0 18px;
  border: 0;
}

.make-filter .fake-input {
  min-width: 136px;
  background: #f3f6f8;
}

.make-filter .fake-input:nth-of-type(1),
.make-filter .fake-input:nth-of-type(2) {
  min-width: 88px;
}

.make-filter button {
  height: 32px;
}

.make-report-table {
  min-height: 568px;
}

.make-report-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #e4e9ee;
}

.make-report-bottom .note-line {
  margin: 0;
  padding: 7px 10px;
  color: #7a5a00;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 4px;
}

.ball {
  width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  margin: 0 3px;
  color: #253242;
  background: #fff;
  border: 2px solid #ef4444;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.ball:nth-child(2n) {
  border-color: #3177ee;
}

.ball:nth-child(3n) {
  border-color: #19b66a;
}

.wallet-help {
  max-height: 340px;
  margin-top: 14px;
  padding: 0 14px 14px;
  overflow: hidden auto;
  background: #fbfcfd;
  border: 1px solid #e4ebf0;
  border-radius: 4px;
}

.wallet-help h2 {
  height: 48px;
  display: flex;
  align-items: center;
  margin: 0 -14px 12px;
  padding: 0 16px;
  color: #008fbd;
  background: #eaf6f9;
}

.wallet-help p {
  margin: 0 0 8px;
  color: #4b5a69;
  line-height: 1.45;
}

.wallet-help p:nth-child(2),
.wallet-help p:nth-child(7),
.wallet-help p:nth-child(12),
.wallet-help p:nth-child(17),
.wallet-help p:nth-child(18),
.wallet-help p:nth-child(19),
.wallet-help p:nth-child(20),
.wallet-help p:nth-child(21) {
  color: #1f2d3a;
  font-weight: 700;
}

.settings-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(310px, 1fr));
  border-top: 1px solid #dde5e9;
  border-left: 1px solid #dde5e9;
}

.settings-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 10px;
}

.setting-col {
  border-top: 1px solid #dde5e9;
  border-left: 1px solid #dde5e9;
}

.setting-row {
  min-height: 38px;
  display: grid;
  grid-template-columns: 20px minmax(138px, 1fr) minmax(110px, 230px);
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  background: #fff;
  border-right: 1px solid #dde5e9;
  border-bottom: 1px solid #dde5e9;
}

.setting-row.wide {
  min-height: 74px;
  grid-column: span 3;
  grid-template-columns: 20px 150px 1fr;
}

.setting-row.switch-row {
  grid-template-columns: 20px minmax(160px, 1fr) 72px;
}

.setting-row.has-inline-action {
  grid-template-columns: 20px minmax(138px, 1fr) minmax(180px, 1fr);
}

.setting-row.avatar-row {
  min-height: 62px;
  grid-template-columns: 20px 130px 1fr;
}

.setting-row.text-row {
  min-height: 112px;
  grid-template-columns: 20px 120px 1fr;
}

.setting-row b {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2d8cf0;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.hint-dot {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #2d8cf0;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  cursor: help;
  user-select: none;
}

.hint-dot.mini {
  width: 15px;
  height: 15px;
  margin-left: 4px;
  vertical-align: middle;
  font-size: 10px;
}

.hint-tooltip {
  position: fixed;
  z-index: 700;
  min-height: 30px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  color: #fff;
  background: #2e3440;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  pointer-events: none;
}

.hint-tooltip::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: -11px;
  border: 6px solid transparent;
  border-top-color: #2e3440;
}

.hint-tooltip.right::after {
  left: auto;
  right: 12px;
}

.setting-row span {
  color: #344456;
  text-align: left;
}

.setting-row input,
.setting-row textarea,
.config-row input,
.config-row textarea {
  width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  color: #263544;
  background: #f7fafb;
  border: 1px solid #d7e1e8;
  border-radius: 3px;
  outline: none;
}

.avatar-setting-box {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.avatar-setting-box img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}

.avatar-placeholder {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #b9c2ca;
  background: #f0f2f4;
  border: 1px solid #e3e8ec;
  border-radius: 6px;
  line-height: 1.1;
}

.avatar-placeholder strong {
  color: #b4bdc7;
  font-size: 14px;
}

.avatar-placeholder small {
  color: #c2cad1;
  font-size: 11px;
}

.setting-row textarea,
.config-row textarea {
  min-height: 58px;
  resize: none;
}

.setting-inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 5px;
}

.setting-inline-btn {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff;
  background: #008fbd;
  border: 1px solid #008fbd;
  border-radius: 4px;
}

.switch.tiny {
  width: 58px;
  height: 24px;
  position: relative;
  padding: 2px;
  justify-self: start;
  overflow: hidden;
}

.switch.tiny em {
  position: absolute;
  inset: 0 8px 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  pointer-events: none;
}

.switch.tiny span {
  width: 20px;
  height: 20px;
}

.switch.tiny.on span {
  transform: translateX(34px);
}

.switch.tiny.on em {
  inset: 0 22px 0 6px;
}

.inline-note {
  color: #667385;
  font-style: normal;
}

.notice-alert {
  min-height: 38px;
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 0 14px;
  color: #2f6021;
  background: #f3ffe9;
  border: 1px solid #bdeaa3;
  border-radius: 3px;
}

.report-summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 10px;
  color: #7a5a00;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 2px;
}

.table-bottom-notes {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.table-bottom-notes.close-message-bottom {
  min-height: 60px;
  margin-top: 0;
  justify-content: space-between;
}

.close-message-bottom .plain-summary {
  color: #ff1212;
  line-height: 1.55;
}

.close-message-bottom-actions {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.close-message-bottom-actions .query-btn {
  min-width: 66px;
  height: 30px;
  padding: 0 12px;
  color: #fff;
  border: 0;
  border-radius: 4px;
}

.offline-settings select {
  width: 220px;
  height: 32px;
  padding: 5px 8px;
  color: #263544;
  background: #fff;
  border: 1px solid #dcdee2;
  border-radius: 4px;
}

.close-message-bottom-actions .query-btn:first-child {
  background: #0087b4;
}

.close-message-bottom-actions .query-btn:last-child {
  background: #24bc28;
}

.plain-summary {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #233241;
}

.plain-summary span + span {
  margin-left: 2px;
}

.plain-summary strong {
  margin: 0 3px;
  color: #111827;
}

.wallet-layout {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 430px;
  gap: 14px;
  align-items: start;
  padding-top: 12px;
}

.wallet-layout .admin-table-wrap {
  min-height: 220px;
}

.wallet-help {
  margin-top: 0;
}

.table-thumb {
  max-width: 86px;
  max-height: 34px;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 2px;
}

.table-thumb[src*="/default/avatar/"] {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.user-avatar-thumb {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.online-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #bfc7d2;
  border-radius: 50%;
  vertical-align: middle;
}

.online-status-dot.active {
  background: #1fc566;
}

.table-thumb[src*="/discount/"],
.table-thumb[src*="/carousel/"] {
  width: 306px;
  height: 112px;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
}

.activity-media-table-wrap .admin-table {
  min-width: 1260px;
  table-layout: fixed;
}

.activity-media-table-wrap .admin-table tbody td {
  height: 128px;
}

.activity-media-table-wrap .admin-table th:nth-child(1),
.activity-media-table-wrap .admin-table td:nth-child(1) {
  width: 56px;
}

.activity-media-table-wrap .admin-table th:nth-child(3),
.activity-media-table-wrap .admin-table td:nth-child(3) {
  width: 460px;
}

.activity-media-table-wrap .admin-table th:nth-last-child(2),
.activity-media-table-wrap .admin-table td:nth-last-child(2),
.activity-media-table-wrap .admin-table th:nth-last-child(1),
.activity-media-table-wrap .admin-table td:nth-last-child(1) {
  width: 104px;
}

.avatar-cell {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #42c6ff, #008fbd);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.open-table th:nth-child(1),
.open-table td:nth-child(1) {
  width: 120px;
}

.open-table th:nth-child(2),
.open-table td:nth-child(2) {
  width: 158px;
}

.open-table th:nth-child(3),
.open-table td:nth-child(3) {
  width: 45%;
  text-align: center;
}

.open-table th:nth-child(n + 4),
.open-table td:nth-child(n + 4) {
  width: 68px;
  text-align: center;
}

.open-table-markSix th:nth-child(3),
.open-table-markSix td:nth-child(3) {
  width: 74px;
}

.open-table-markSix th:nth-child(n + 3),
.open-table-markSix td:nth-child(n + 3) {
  min-width: 62px;
}

.open-balls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.open-balls .ring,
.open-mark-six-cell .ring {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.open-balls .ball-ssc {
  color: #222;
  background: #fff;
  border: 3px solid #e94b4b;
}

.open-balls .ball-pcdd {
  color: #fff;
  background: linear-gradient(#68e55c 0, #4ec641);
  border: 0;
}

.open-balls .ball-markSix,
.open-mark-six-cell .ball-markSix {
  color: #000;
  background: url("https://static.wokekj.com:38531/robot/static/img/greenBall.32ea4377.png") center / 100% 100% no-repeat;
  border: 0;
  font-weight: 400;
}

.open-balls .race-ball {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.open-balls .dice-face,
.open-balls .sport-ball {
  flex: 0 0 auto;
}

.open-mark-six-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.open-mark-six-cell em {
  color: #243345;
  font-style: normal;
}

.config-form,
.red-form {
  max-width: 1180px;
  padding: 14px 0;
}

.config-form.robot-config {
  max-width: none;
  margin: 8px 18px 0;
  padding: 0;
  border-top: 1px solid #dfe5e8;
  border-left: 1px solid #dfe5e8;
}

.config-row {
  min-height: 44px;
  display: grid;
  grid-template-columns: 132px minmax(260px, 520px);
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.robot-config .config-row {
  min-height: 34px;
  grid-template-columns: 300px minmax(420px, 1fr);
  gap: 8px;
  margin: 0;
  padding: 3px 8px 3px 0;
  border-right: 1px solid #dfe5e8;
  border-bottom: 1px solid #dfe5e8;
}

.config-row.wide {
  grid-template-columns: 132px minmax(260px, 1fr);
}

.robot-config .config-row.wide {
  grid-template-columns: 300px minmax(420px, 1fr);
}

.activity-config-form.config-form {
  max-width: none;
}

.activity-config-form .config-row.upload-row {
  min-height: 145px;
  grid-template-columns: 132px minmax(360px, 1fr);
  align-items: center;
}

.activity-config-form .config-row.upload-row > span:first-child {
  align-self: center;
}

.activity-config-form .activity-config-upload {
  min-height: 132px;
  display: inline-flex;
  align-items: center;
}

.activity-config-form .demo-upload-list {
  width: 355px;
  height: 130px;
  margin-right: 4px;
}

.activity-config-form .demo-upload-list.imgUrl1 {
  width: 355px;
  min-height: 130px;
  height: 130px;
}

.config-row > span {
  color: #445160;
  text-align: right;
}

.robot-config .config-row > span {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  color: #334155;
}

.config-row > span .hint-dot {
  margin-right: 5px;
}

.game-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-line {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.option-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #304254;
  white-space: nowrap;
}

.runtime-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 8px 18px;
}

.robot-config .runtime-list {
  gap: 6px 22px;
}

.runtime-list label {
  min-height: 34px;
  display: grid;
  grid-template-columns: 16px 48px minmax(88px, 1fr) minmax(88px, 1fr);
  align-items: center;
  gap: 8px;
  color: #334155;
}

.runtime-list input[type="text"],
.runtime-list input:not([type]) {
  min-width: 0;
}

.select-text-line {
  display: grid;
  grid-template-columns: 118px minmax(220px, 1fr);
  gap: 8px;
}

.robot-config .select-text-line {
  max-width: 620px;
  grid-template-columns: 118px minmax(320px, 1fr);
}

.game-switch-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px 16px;
  padding: 5px 0;
}

.game-switch-list label {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) 58px;
  align-items: center;
  gap: 8px;
  color: #435266;
}

.robot-config .form-actions {
  margin: 12px 18px 0;
}

.game-chip-list em {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #008fbd;
  background: #eaf8fc;
  border: 1px solid #b7e4ef;
  border-radius: 3px;
  font-style: normal;
}

.cell-text.success {
  color: #15965d;
}

.cell-text.warning {
  color: #b7791f;
}

.blank-page {
  min-height: 520px;
  background: #fff;
}

.jump-overlay {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 5;
  width: 660px;
  min-height: 408px;
  padding: 56px 34px 22px;
  color: #202326;
  text-align: center;
  background: #fff8ed;
  border: 2px solid #f05b68;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(168, 66, 29, 0.18);
  transform: translateX(-50%);
}

.jump-close {
  position: absolute;
  top: -17px;
  right: -17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #008fbd;
  background: #f9ffff;
  border: 3px solid #008fbd;
  border-radius: 50%;
}

.jump-close svg {
  width: 24px;
  height: 24px;
}

.jump-badge {
  position: absolute;
  top: -36px;
  left: 18px;
  color: #ff6a00;
  font-size: 58px;
  line-height: 1;
  font-style: italic;
  text-shadow: 2px 3px 0 #ffe64d;
}

.jump-overlay h2,
.jump-overlay h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
}

.jump-overlay h2 {
  font-size: 40px;
}

.jump-overlay h3 {
  margin-top: 8px;
  color: #f04d2f;
  font-size: 46px;
}

.jump-overlay p {
  margin: 18px auto 0;
  max-width: 550px;
  color: #3f2f28;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
  text-align: left;
}

.jump-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}

.jump-highlights article {
  min-height: 96px;
  padding: 14px 8px;
  background: linear-gradient(180deg, #fff 0%, #ffe8bc 100%);
  border: 1px solid #ffd38c;
  border-radius: 10px;
}

.jump-highlights span,
.jump-highlights em {
  display: block;
}

.jump-highlights span {
  color: #d9342a;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.jump-highlights em {
  margin-top: 10px;
  color: #a04737;
  font-size: 13px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 700;
}

.jump-overlay .jump-footer {
  max-width: none;
  margin-top: 18px;
  color: #2b2522;
  text-align: center;
  font-size: 15px;
}

.audit-modal {
  padding: 16px;
}

.audit-modal h4 {
  margin: 0 0 12px;
  color: #1f2d3a;
  font-size: 16px;
}

.audit-modal table {
  width: 100%;
}
