:root {
  color-scheme: dark;
  --bg: #030303;
  --border: #555;
  --text: #eeeeee;
  --muted: #9a9a9a;
  --red: #ff4242;
  --soft-red: #ff8a8a;
  --green: #39d353;
  --soft-green: #8ee89c;
  --yellow: #fff200;
  --blue: #2fa7ff;
  --panel: #0b0d10;
  --panel-2: #11161b;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

body.app-restoring .member-home,
body.app-restoring .terminal {
  visibility: hidden;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .9)),
    #050505;
}
.auth-gate.show { display: flex; }
.auth-gate.show ~ #memberHome,
.auth-gate.show ~ .terminal {
  display: none !important;
}
.auth-panel {
  width: min(430px, calc(100vw - 28px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(214, 167, 68, .42);
  border-radius: 18px;
  background: #0a0d11;
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .68), 0 0 0 1px rgba(255, 224, 138, .08) inset;
}
.auth-panel[data-mode="register"],
.auth-panel[data-mode="purchase"] {
  width: min(960px, calc(100vw - 36px));
  padding: 0;
  border-color: rgba(226, 184, 99, .5);
  border-radius: 24px;
  background: #f7f2ea;
  color: #201b14;
}
.vip-showcase { display: none; }
.auth-panel[data-mode="register"] .auth-brand,
.auth-panel[data-mode="purchase"] .auth-brand {
  display: none;
}
.auth-panel[data-mode="register"] .vip-showcase,
.auth-panel[data-mode="purchase"] .vip-showcase {
  display: block;
}
.vip-topbar {
  height: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 30px;
  color: #f6d99b;
  background: #0a0908;
  border-radius: 24px 24px 0 0;
}
.vip-topbar span {
  grid-column: 2;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}
.vip-topbar button {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #f6d99b;
  font-size: 14px;
  cursor: pointer;
}
.vip-hero {
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: center;
  min-height: 220px;
  padding: 28px 44px 34px;
  background:
    linear-gradient(135deg, #10100f 0%, #201a12 52%, #070707 100%);
  color: #fff4d8;
}
.vip-hero h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.22;
  color: #fff0c9;
}
.vip-hero p {
  margin-top: 16px;
  color: #d4c09a;
  font-size: 15px;
}
.vip-hero img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  justify-self: center;
  border-radius: 34px;
  box-shadow: 0 18px 50px rgba(255, 198, 77, .28);
}
.vip-benefits,
.vip-trial,
.auth-panel[data-mode="register"] .auth-form,
.auth-panel[data-mode="purchase"] .auth-form,
.auth-panel[data-mode="register"] .auth-tabs,
.auth-panel[data-mode="purchase"] .auth-tabs,
.auth-panel[data-mode="register"] .auth-message,
.auth-panel[data-mode="purchase"] .auth-message {
  margin-left: 28px;
  margin-right: 28px;
}
.vip-benefits {
  margin-top: -24px;
  padding: 22px 24px 24px;
  border-radius: 22px;
  background: #fffaf2;
  box-shadow: 0 14px 38px rgba(58, 37, 9, .12);
}
.vip-benefits header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.vip-benefits header b {
  font-size: 22px;
  color: #201b14;
}
.vip-benefits header span {
  color: #8a7a62;
  font-size: 14px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.benefit-grid div {
  min-height: 74px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border-radius: 16px;
  background: #fbf0dc;
  text-align: center;
}
.benefit-grid b {
  color: #3a2b15;
  font-size: 15px;
}
.benefit-grid span {
  color: #806f57;
  font-size: 12px;
}
.vip-trial {
  display: grid;
  grid-template-columns: 1fr 160px;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #21190f, #3a2c17);
  color: #f8dfaa;
}
.vip-trial b {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}
.vip-trial strong {
  display: block;
  font-size: 28px;
  line-height: 1.15;
}
.vip-trial span {
  display: block;
  margin-top: 6px;
  color: #d8c7aa;
  font-size: 13px;
}
.vip-trial em {
  justify-self: end;
  min-width: 150px;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff0c7, #e9bd62);
  color: #21180d;
  font-size: 26px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}
.auth-panel[data-mode="register"] .auth-brand,
.auth-panel[data-mode="purchase"] .auth-brand {
  grid-template-columns: 64px 1fr;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.auth-panel[data-mode="register"] .auth-brand img,
.auth-panel[data-mode="purchase"] .auth-brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}
.auth-panel[data-mode="register"] .auth-brand h2,
.auth-panel[data-mode="purchase"] .auth-brand h2 {
  font-size: 28px;
}
.auth-panel[data-mode="register"] .auth-brand p,
.auth-panel[data-mode="purchase"] .auth-brand p {
  margin-top: 5px;
}
.auth-brand {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 214, 107, .22);
  border-radius: 14px;
  background: #111317;
  text-align: left;
}
.auth-brand img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 214, 107, .35), 0 10px 24px rgba(0, 0, 0, .35);
}
.auth-brand h2 {
  margin: 0;
  color: #ffd66b;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}
.auth-brand p {
  margin: 8px 0 0;
  color: #c9b685;
  font-size: 13px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.auth-tabs button {
  height: 46px;
  border-radius: 10px;
  border: 1px solid #283646;
  background: #0f151d;
  color: #d7e1ec;
  cursor: pointer;
}
.auth-tabs button.active {
  border-color: #d6a744;
  background: #1b1a13;
  color: #ffd66b;
}
.auth-message {
  min-height: 20px;
  color: #ffcf66;
  font-size: 12px;
  margin-bottom: 8px;
}
.auth-panel[data-mode="register"] .auth-message,
.auth-panel[data-mode="purchase"] .auth-message {
  color: #9d7132;
  margin-top: 12px;
}
.auth-form {
  display: grid;
  gap: 10px;
}
.auth-form.hidden { display: none; }
.auth-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.auth-fields.single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-form input,
.auth-form select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #2b3744;
  border-radius: 10px;
  background: #070a0e;
  color: #f3f7fb;
  outline: none;
}
.auth-form input:focus,
.auth-form select:focus {
  border-color: #d6a744;
  box-shadow: 0 0 0 2px rgba(214, 167, 68, .16);
}
.auth-form button[type="submit"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d6a744;
  border-radius: 10px;
  background: #d6a744;
  color: #151006;
  font-weight: 700;
  cursor: pointer;
}
.auth-form button.form-submit-hidden {
  display: none;
}
.auth-panel[data-mode="register"] .auth-form,
.auth-panel[data-mode="purchase"] .auth-form {
  margin-top: 14px;
}
.auth-panel[data-mode="register"] .auth-form input,
.auth-panel[data-mode="register"] .auth-form select,
.auth-panel[data-mode="purchase"] .auth-form input,
.auth-panel[data-mode="purchase"] .auth-form select {
  border-color: #e2d6c5;
  background: #fffdf8;
  color: #211b13;
}
.auth-panel[data-mode="register"] .auth-form button[type="submit"],
.auth-panel[data-mode="purchase"] .auth-form button[type="submit"] {
  color: #221707;
  background: linear-gradient(90deg, #f6da91, #dfac4a);
  border-color: #dfac4a;
}
.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #2b3744;
  border-radius: 14px;
  background: #080c11;
}
.auth-panel[data-mode="register"] .payment-card,
.auth-panel[data-mode="purchase"] .payment-card {
  border-color: #eadcc9;
  background: #fffaf2;
}
.payment-card h3 {
  margin: 0 0 8px;
  color: #ffd66b;
  font-size: 18px;
}
.payment-card p {
  margin: 0 0 12px;
  color: #aeb8c4;
  font-size: 13px;
  line-height: 1.45;
}
.remember-login {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c8d1dc;
  font-size: 12px;
  user-select: none;
}
.remember-login input {
  width: 14px;
  height: 14px;
  padding: 0;
}
.payment-qr {
  width: 190px;
  height: 190px;
  max-height: 190px;
  object-fit: contain;
  justify-self: center;
  background: #fff;
  border-radius: 10px;
}
.proof-picker {
  display: grid;
  gap: 5px;
  color: #c8d1dc;
  font-size: 12px;
}
.proof-picker input {
  height: auto;
  padding: 7px;
}
.auth-panel[data-mode="register"] .auth-tabs,
.auth-panel[data-mode="purchase"] .auth-tabs {
  padding-bottom: 24px;
  margin-top: 14px;
}
.auth-panel[data-mode="register"] .auth-tabs button,
.auth-panel[data-mode="purchase"] .auth-tabs button {
  height: 54px;
  border-color: #e1c27a;
  background: #fff7e8;
  color: #594327;
  font-size: 18px;
  font-weight: 700;
}
.auth-panel[data-mode="register"] .auth-tabs button.active,
.auth-panel[data-mode="purchase"] .auth-tabs button.active {
  color: #201609;
  background: linear-gradient(90deg, #f5d889, #e5b657);
}
.auth-panel[data-mode="register"] .auth-tabs button:not(.active),
.auth-panel[data-mode="purchase"] .auth-tabs button:not(.active) {
  background: #fffdf8;
}

.auth-panel[data-mode="register"] {
  position: relative;
  width: min(calc(100vh * .733), calc(100vw - 20px), 760px);
  aspect-ratio: 1086 / 1481;
  max-width: calc(100vw - 20px);
  max-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url("/zc.png?v=20260629-register-no-code1") center / contain no-repeat;
  box-shadow: none;
  overflow: visible;
  color: #fff0c6;
}

.auth-panel[data-mode="register"] .login-topbar,
.auth-panel[data-mode="register"] .auth-brand,
.auth-panel[data-mode="register"] .vip-showcase,
.auth-panel[data-mode="register"] .login-tabs,
.auth-panel[data-mode="register"] .auth-tabs,
.auth-panel[data-mode="register"] .auth-message,
.auth-panel[data-mode="register"] .login-footer {
  display: none !important;
}

.auth-panel[data-mode="register"] .auth-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-panel[data-mode="register"] #registerForm {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
}

.auth-panel[data-mode="register"] #registerForm.hidden {
  display: none;
}

.auth-panel[data-mode="register"] .register-avatar-field {
  position: absolute;
  left: 28.8%;
  top: 25.4%;
  width: 32%;
  height: 8.2%;
  cursor: pointer;
}

.auth-panel[data-mode="register"] .register-avatar-field input {
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.auth-panel[data-mode="register"] .register-avatar-preview {
  position: absolute;
  left: 0;
  top: 0;
  width: 35%;
  height: 100%;
  display: none;
  border-radius: 999px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 213, 116, .35), 0 0 18px rgba(218, 157, 48, .18);
  pointer-events: none;
}

.auth-panel[data-mode="register"] .register-avatar-field.has-preview .register-avatar-preview {
  display: block;
}

.auth-panel[data-mode="register"] .register-fields {
  display: block;
  margin: 0;
  padding: 0;
}

.auth-panel[data-mode="register"] .register-control {
  position: absolute;
  display: block;
  height: 4.9%;
  margin: 0;
}

.auth-panel[data-mode="register"] .register-control span {
  display: none;
}

.auth-panel[data-mode="register"] .register-control input {
  width: 100%;
  height: 100%;
  padding: 0 24px 0 54px;
  border: 0;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff4d8;
  font-size: 16px;
  font-weight: 600;
  outline: 0;
  -webkit-text-fill-color: #fff4d8;
}

.auth-panel[data-mode="register"] .register-control input::placeholder {
  color: transparent;
}

.auth-panel[data-mode="register"] .register-control input:-webkit-autofill {
  transition: background-color 9999s ease-out;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #fff4d8 !important;
}

.auth-panel[data-mode="register"] .register-account {
  left: 28.8%;
  top: 35.6%;
  width: 52.5%;
}

.auth-panel[data-mode="register"] .register-password {
  left: 28.8%;
  top: 42.7%;
  width: 52.5%;
}

.auth-panel[data-mode="register"] .register-phone {
  left: 28.8%;
  top: 50%;
  width: 52.5%;
}

.auth-panel[data-mode="register"] .register-code {
  left: 28.8%;
  top: 57.2%;
  width: 34%;
}

.auth-panel[data-mode="register"] .register-code,
.auth-panel[data-mode="register"] .register-code-btn {
  display: none !important;
  pointer-events: none;
}

.auth-panel[data-mode="register"] .register-code input {
  padding-left: 22px;
}

.auth-panel[data-mode="register"] .register-referral {
  left: 28.8%;
  top: 64.3%;
  width: 52.5%;
}

.auth-panel[data-mode="register"] .register-code-btn,
.auth-panel[data-mode="register"] .register-submit,
.auth-panel[data-mode="register"] .register-login-link {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  box-shadow: none !important;
  font-size: 0;
  cursor: pointer;
}

.auth-panel[data-mode="register"] .register-code-btn {
  left: 64.9%;
  top: 57.2%;
  width: 16.4%;
  height: 4.9%;
}

.auth-panel[data-mode="register"] .register-agree {
  position: absolute;
  left: 18.4%;
  top: 71.7%;
  width: 54%;
  height: 4%;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.auth-panel[data-mode="register"] .register-agree input {
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.auth-panel[data-mode="register"] .register-agree::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 30%;
  width: 13px;
  height: 7px;
  border-left: 3px solid #f4c45d;
  border-bottom: 3px solid #f4c45d;
  filter: drop-shadow(0 0 5px rgba(246, 200, 93, .55));
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform .14s ease;
}

.auth-panel[data-mode="register"] .register-agree:has(input:checked)::after {
  transform: rotate(-45deg) scale(1);
}

.auth-panel[data-mode="register"] .register-submit {
  left: 18.4%;
  top: 76.5%;
  width: 63%;
  height: 6.2%;
}

.auth-panel[data-mode="register"] .register-submit:disabled {
  cursor: progress;
}

.auth-panel[data-mode="register"] .register-login-link {
  left: 52%;
  top: 85.2%;
  width: 14%;
  height: 3.4%;
}

.auth-panel[data-mode="login"] {
  position: relative;
  width: min(1536px, 100vw, 150vh);
  height: min(1024px, 100vh, 66.6667vw);
  aspect-ratio: 3 / 2;
  max-height: 100vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: url("/backup.png") center / contain no-repeat;
  box-shadow: none;
  overflow: hidden;
}

.auth-panel[data-mode="login"]::after {
  content: none;
}

.login-topbar {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.login-lockup {
  display: none;
}

.login-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.login-lockup strong {
  color: #ffd46d;
  font-size: 24px;
  line-height: 1;
}

.login-lockup span {
  padding-left: 4px;
  color: #cbbda2;
  font-size: 13px;
}

.official-link,
.forgot-link {
  border: 0;
  background: transparent;
  color: #f5c86c;
  cursor: pointer;
  font: inherit;
}

.official-link {
  position: absolute;
  left: 85.5%;
  top: 5.8%;
  width: 10.5%;
  height: 5%;
  opacity: 0;
  pointer-events: auto;
}

.forgot-link {
  opacity: 0;
  pointer-events: auto;
}

.official-link {
  position: absolute;
  left: 84.4%;
  top: 4.8%;
  width: 12.2%;
  height: 34px;
  opacity: 1;
  padding: 0 12px;
  z-index: 12;
  border: 1px solid rgba(232, 186, 91, .42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(38, 29, 15, .88), rgba(12, 10, 7, .86));
  color: #f2d792;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 218, 133, .08) inset;
  backdrop-filter: blur(6px);
}

.language-current {
  min-width: 0;
  color: #f7ddb0;
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
}

.language-globe,
.language-arrow {
  color: #f3bf4d;
  pointer-events: none;
}

.language-menu {
  position: absolute;
  left: 84.4%;
  top: 8.6%;
  width: 12.2%;
  display: none;
  z-index: 13;
  padding: 8px;
  border: 1px solid rgba(231, 184, 86, .48);
  border-radius: 12px;
  background: rgba(12, 10, 7, .98);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42);
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.language-menu.show {
  display: grid;
  gap: 5px;
}

.language-menu button {
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f4d489;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.language-menu button:hover,
.language-menu button.active {
  background: rgba(232, 183, 74, .18);
  color: #fff0bd;
}

.auth-panel[data-mode="login"] .auth-brand {
  display: none;
}

.auth-panel[data-mode="login"] .auth-brand img {
  width: min(370px, 82%);
  height: auto;
  aspect-ratio: 1;
  border-radius: 42px;
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(241, 172, 43, .24);
}

.auth-panel[data-mode="login"] .auth-brand h2,
.auth-panel[data-mode="login"] .auth-brand p {
  display: none;
}

.brand-slogan {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.brand-slogan strong {
  color: #ffe29a;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 6px;
}

.brand-slogan span {
  color: #f4d994;
  font-size: 17px;
  word-spacing: 8px;
}

.brand-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(520px, 100%);
  margin-top: 30px;
}

.brand-features div {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-left: 1px solid rgba(240, 193, 94, .18);
}

.brand-features div:first-child {
  border-left: 0;
}

.brand-features b {
  color: #ffd77d;
  font-size: 15px;
}

.brand-features span {
  color: #9e927e;
  font-size: 11px;
}

.auth-panel[data-mode="login"] .auth-card {
  position: absolute;
  left: 56.7%;
  top: 11.4%;
  width: 39.5%;
  height: 76.5%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-panel[data-mode="login"] .auth-card::after {
  content: none;
}

.login-tabs {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 12%;
  display: block;
  margin: 0;
}

.login-tabs strong,
.login-tabs button {
  position: absolute;
  border: 0;
  background: transparent;
}

.login-tabs strong {
  display: none;
}

.login-tabs strong::after {
  content: none;
}

.login-tabs button {
  right: 6.4%;
  top: 34%;
  width: auto;
  height: 28px;
  padding: 0;
  color: #ff4d58;
  font-size: 17px;
  font-weight: 800;
  line-height: 28px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-shadow: 0 0 9px rgba(255, 77, 88, .25);
  cursor: pointer;
}

.login-tabs button:hover {
  color: #ff7078;
}

.auth-panel[data-mode="login"] .auth-message {
  display: none;
}

.auth-panel[data-mode="login"] .auth-form {
  position: absolute;
  left: 7.2%;
  top: 24.7%;
  width: 86%;
  height: 72%;
  display: block;
}

.auth-panel[data-mode="login"] .login-error-text {
  position: absolute;
  left: 2.8%;
  top: 44%;
  z-index: 4;
  width: 94.4%;
  min-height: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid rgba(255, 75, 85, .72);
  border-radius: 14px;
  background: rgba(95, 0, 8, .62);
  color: #ffeded;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 18px rgba(255, 75, 85, .18);
}

.auth-panel[data-mode="login"] .auth-form.login-error .login-error-text {
  display: flex;
}

.auth-panel[data-mode="login"] .auth-form::before,
.auth-panel[data-mode="login"] .auth-form::after {
  content: none;
}

.auth-panel[data-mode="login"] .auth-form.has-username::before {
  top: 0;
  width: 58%;
}

.auth-panel[data-mode="login"] .auth-form.has-password::after {
  top: 18.2%;
  width: 36%;
}

.auth-panel[data-mode="login"] .auth-form::before {
  top: 0;
  width: 58%;
}

.auth-panel[data-mode="login"] .auth-form::after {
  top: 18.2%;
  width: 36%;
}

.auth-panel[data-mode="login"] .login-field {
  position: absolute;
  left: 2.8%;
  z-index: 2;
  width: 94.4%;
  height: 10.9%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  padding: 0 24px;
  border: 1px solid rgba(244, 202, 104, .38);
  border-radius: 18px;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.auth-panel[data-mode="login"] .login-field span {
  color: #f4d476;
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(246, 200, 93, .28);
}

.auth-panel[data-mode="login"] .login-field input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0 4px;
  border: 0;
  border-radius: inherit;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-clip: padding-box !important;
  box-shadow: none !important;
  color: #fff1c6;
  font-size: 15px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  caret-color: #fff1c6;
  -webkit-text-fill-color: #fff1c6;
}

.auth-panel[data-mode="login"] .login-field input:-webkit-autofill,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill:hover,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill:focus,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill:active,
.auth-panel[data-mode="login"] .login-field input:not(:placeholder-shown),
.auth-panel[data-mode="login"] .login-field input:valid {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
}

.auth-panel[data-mode="login"] .login-field:hover,
.auth-panel[data-mode="login"] .login-field:focus-within {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: rgba(244, 202, 104, .38) !important;
}

.auth-panel[data-mode="login"] .login-field input:hover,
.auth-panel[data-mode="login"] .login-field input:focus,
.auth-panel[data-mode="login"] .login-field input:focus-visible,
.auth-panel[data-mode="login"] .login-field input:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
  -webkit-text-fill-color: #fff1c6;
}

.auth-panel[data-mode="login"] .auth-form input:not(:placeholder-shown),
.auth-panel[data-mode="login"] .auth-form input:-webkit-autofill,
.auth-panel[data-mode="login"] .auth-form input:autofill {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: background-color 999999s ease-out, color 999999s ease-out;
  -webkit-text-fill-color: #fff1c6;
}

.auth-panel[data-mode="login"] #loginPassword:not(:placeholder-shown),
.auth-panel[data-mode="login"] #loginPassword:-webkit-autofill,
.auth-panel[data-mode="login"] #loginPassword:autofill {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-clip: padding-box !important;
  -webkit-background-clip: padding-box !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: background-color 999999s ease-out, color 999999s ease-out;
  -webkit-text-fill-color: #fff1c6;
}

@supports selector(input:-internal-autofill-selected) {
  .auth-panel[data-mode="login"] .auth-form input:-internal-autofill-selected {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    background-clip: padding-box !important;
    -webkit-background-clip: padding-box !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-text-fill-color: #fff1c6 !important;
    transition: background-color 999999s ease-out, color 999999s ease-out;
  }
}

.auth-panel[data-mode="login"] .login-field,
.auth-panel[data-mode="login"] .login-field input,
.auth-panel[data-mode="login"] .login-field input:is(:hover, :focus, :focus-visible, :active) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.auth-panel[data-mode="login"] .login-field input,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill:hover,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill:focus,
.auth-panel[data-mode="login"] .login-field input:-webkit-autofill:active,
.auth-panel[data-mode="login"] .login-field input:hover,
.auth-panel[data-mode="login"] .login-field input:focus,
.auth-panel[data-mode="login"] .login-field input:focus-visible,
.auth-panel[data-mode="login"] .login-field input:active,
.auth-panel[data-mode="login"] .login-field input:not(:placeholder-shown),
.auth-panel[data-mode="login"] .login-field input:valid {
  color: #fff1c6 !important;
  caret-color: #fff1c6 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
  -webkit-text-fill-color: #fff1c6 !important;
  transition: background-color 999999s ease-in-out 0s, color 999999s ease-in-out 0s;
}

.auth-panel[data-mode="login"] .login-field input:-webkit-autofill::first-line {
  color: #fff1c6 !important;
  font-size: 15px;
}

.auth-panel[data-mode="login"] .login-field,
.auth-panel[data-mode="login"] .login-field:hover,
.auth-panel[data-mode="login"] .login-field:focus-within,
.auth-panel[data-mode="login"] .login-field input,
.auth-panel[data-mode="login"] .login-field input:is(:hover, :focus, :focus-visible, :active, :valid, :not(:placeholder-shown)) {
  background: rgba(0, 0, 0, 0) !important;
  background-color: rgba(0, 0, 0, 0) !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.auth-panel[data-mode="login"] .auth-form.login-error .login-field {
  border-color: rgba(255, 75, 85, .86) !important;
}

.auth-panel[data-mode="login"] .login-field-account {
  top: 0;
  padding-right: 68px;
}

.auth-panel[data-mode="login"] .login-field-password {
  top: 18.9%;
  padding-right: 68px;
}

.password-toggle {
  position: absolute;
  right: 5.8%;
  top: 18.9%;
  width: 48px;
  height: 10.9%;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  z-index: 3;
}

.password-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(222, 220, 214, .78);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 75% 15%;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 214, 107, .08);
}

.password-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(222, 220, 214, .86);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255, 214, 107, .16);
}

.password-toggle.active {
  color: transparent;
}

.password-toggle.active::before {
  border-top-color: #f2c767;
  border-right-color: #f2c767;
}

.password-toggle.active::after {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #f2c767;
  transform: translate(-50%, -50%) rotate(-35deg);
}

.auth-panel[data-mode="login"] .auth-form input::placeholder {
  color: transparent;
}

.login-options {
  position: absolute;
  left: 4%;
  top: 35.3%;
  width: 100%;
  height: 8%;
  display: block;
}

.auth-panel[data-mode="login"] .remember-login {
  position: absolute;
  left: 0;
  top: 0;
  width: 34%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfc7b9;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auth-panel[data-mode="login"] .remember-login input {
  opacity: 1;
  width: 18px;
  height: 18px;
  accent-color: #f0c35d;
}

.auth-panel[data-mode="login"] .remember-login::after {
  content: none;
  position: absolute;
  left: 10px;
  top: 16px;
  width: 12px;
  height: 6px;
  border-left: 3px solid #f6c85d;
  border-bottom: 3px solid #f6c85d;
  filter: drop-shadow(0 0 5px rgba(246, 200, 93, .55));
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform .14s ease;
}

.auth-panel[data-mode="login"] .remember-login:has(input:checked)::after,
.auth-panel[data-mode="login"] .remember-login.remember-active::after {
  transform: rotate(-45deg) scale(1);
}

.forgot-link {
  position: absolute;
  right: 8%;
  top: -3%;
  width: 24%;
  height: 120%;
  opacity: 1;
  color: #f5c86c;
  font-size: 15px;
  font-weight: 700;
}

.login-submit {
  position: absolute;
  left: 0;
  top: 51%;
  width: 100%;
  height: 12.4% !important;
  margin: 0;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0;
  box-shadow: none;
}

.login-submit.is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffd77d 0%, #e2a93d 52%, #b57916 100%) !important;
  color: #2a1700 !important;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  cursor: wait;
  box-shadow: 0 10px 24px rgba(184, 122, 24, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}

.login-methods {
  position: absolute;
  left: 6%;
  top: 78.2%;
  width: 86%;
  height: 20%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12%;
  color: transparent;
  font-size: 0;
}

.login-methods span {
  min-height: auto;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.auth-panel[data-mode="login"] .auth-tabs {
  position: absolute;
  left: 70%;
  top: 6%;
  width: 24%;
  height: 6%;
  display: block;
  margin: 0;
}

.auth-panel[data-mode="login"] #showLogin {
  display: none;
}

.auth-panel[data-mode="login"] #showRegister {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
}

.auth-panel[data-mode="login"] #showRegister::before {
  content: none;
}

.login-footer {
  display: none;
}

.login-footer span:last-child {
  color: rgba(255, 213, 122, .8);
}

.auth-panel[data-mode="register"] .login-topbar,
.auth-panel[data-mode="purchase"] .login-topbar,
.auth-panel[data-mode="register"] .login-footer,
.auth-panel[data-mode="purchase"] .login-footer,
.auth-panel[data-mode="register"] .login-tabs,
.auth-panel[data-mode="purchase"] .login-tabs,
.auth-panel[data-mode="register"] .login-methods,
.auth-panel[data-mode="purchase"] .login-methods,
.auth-panel[data-mode="register"] .login-options,
.auth-panel[data-mode="purchase"] .login-options {
  display: none;
}

.auth-panel[data-mode="register"] .auth-card,
.auth-panel[data-mode="purchase"] .auth-card {
  padding-bottom: 0;
}

.social-login-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, .68);
}

.social-login-modal.show {
  display: grid;
}

.social-login-dialog {
  position: relative;
  width: min(390px, calc(100vw - 34px));
  padding: 26px 24px 24px;
  border: 1px solid rgba(226, 177, 74, .58);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 202, 88, .18), transparent 42%),
    linear-gradient(145deg, #17110a, #070809);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
  text-align: center;
}

.social-login-close {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #f7d88e;
  font-size: 22px;
  cursor: pointer;
}

.social-login-dialog h2 {
  margin: 0;
  color: #ffe29a;
  font-size: 24px;
}

.social-login-dialog p {
  margin: 10px 0 18px;
  color: #c6b895;
  font-size: 13px;
  line-height: 1.6;
}

.social-qr-box {
  width: 238px;
  height: 238px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(232, 177, 65, .22);
}

.social-qr-box img {
  width: 214px;
  height: 214px;
  object-fit: contain;
}

.social-scan-link {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(232, 185, 87, .48);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #f7d88e;
  cursor: pointer;
}

.social-login-dialog strong {
  display: block;
  margin-top: 12px;
  color: #95ffae;
  font-size: 13px;
}

@media (max-width: 980px) {
  .auth-panel[data-mode="login"] {
    width: min(100vw, 150vh);
    height: min(100vh, 66.6667vw);
    max-height: 100vh;
  }
}

@media (max-width: 680px) {
  .auth-fields,
  .auth-fields.single,
  .payment-card {
    grid-template-columns: 1fr;
  }
  .payment-qr {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 860px) {
  .vip-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .vip-hero h2 {
    font-size: 30px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vip-trial {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vip-trial em {
    justify-self: center;
  }
}

button, select, input {
  font: inherit;
  color: var(--text);
  background: #111;
  border: 1px solid #3b3b3b;
  height: 26px;
  border-radius: 2px;
}
button, select { cursor: pointer; }

select,
select:focus,
select:hover,
select option,
select optgroup {
  color: #1688ff !important;
  -webkit-text-fill-color: #1688ff !important;
  caret-color: #1688ff;
}

select option {
  color: #1688ff !important;
  -webkit-text-fill-color: #1688ff !important;
  background: #ffffff;
}

.member-home {
  height: 100vh;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  background:
    radial-gradient(circle at 84% 14%, rgba(213, 153, 47, .18), transparent 24%),
    radial-gradient(circle at 30% 110%, rgba(213, 153, 47, .10), transparent 30%),
    linear-gradient(135deg, #030303, #0b0b0b 55%, #050505);
  color: #eadcc2;
  overflow: hidden;
}
.terminal.market-hidden { display: none; }
.member-home.home-hidden { display: none; }
.home-sidebar {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 8px;
  border-right: 1px solid rgba(208, 150, 45, .28);
  background:
    linear-gradient(180deg, rgba(255, 212, 111, .05), transparent 18%),
    linear-gradient(180deg, #101010, #070707);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .03);
}
.home-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 6px 4px;
}
.home-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.home-logo b {
  display: block;
  color: #ffd36b;
  font-size: 18px;
  font-weight: 900;
}
.home-logo span,
.home-user span,
.home-stats small,
.home-footer-stats span {
  color: #9b9284;
  font-size: 12px;
}
.home-nav {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  overflow: auto;
}
.home-nav button {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #efe6d4;
  padding: 0 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.home-nav button span {
  flex: 1;
}
.home-nav button.active {
  background:
    linear-gradient(90deg, rgba(96, 70, 28, .92), rgba(67, 49, 22, .88)),
    rgba(255, 210, 103, .08);
  border-color: rgba(211, 154, 47, .88);
  color: #ffd36b;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 126, .05);
}
.home-nav button:hover {
  background:
    linear-gradient(90deg, rgba(216, 157, 48, .22), rgba(216, 157, 48, .08)),
    rgba(255,255,255,.03);
  border-color: rgba(211, 154, 47, .45);
  color: #ffd36b;
}
.home-nav-group {
  display: grid;
  gap: 4px;
}
.home-nav button.home-nav-parent {
  position: relative;
}
.home-menu-caret {
  width: 15px;
  height: 15px;
  color: #c7a45a;
}
.home-subnav {
  display: grid;
  gap: 3px;
  padding: 2px 0 3px 18px;
  border-left: 1px solid rgba(211, 154, 47, .30);
  margin-left: 20px;
}

.home-nav-group:not(.open) .home-subnav {
  display: none;
}

.home-nav-group:not(.open) .home-menu-caret {
  transform: rotate(-90deg);
}

.home-menu-caret {
  transition: transform .16s ease;
}
.home-subnav button {
  height: 28px;
  gap: 7px;
  padding: 0 8px;
  border-radius: 5px;
  color: #cfc3ad;
  font-size: 12px;
  font-weight: 400;
}
.home-subnav button svg {
  width: 15px;
  height: 15px;
  color: #d7a951;
}
.home-subnav button.active {
  color: #ffd36b;
  border-color: rgba(211, 154, 47, .68);
  background: rgba(121, 83, 25, .48);
}
.home-nav-group:has(.home-subnav button.active) > .home-nav-parent,
.home-nav-parent.active {
  background:
    linear-gradient(90deg, rgba(96, 70, 28, .92), rgba(67, 49, 22, .88)),
    rgba(255, 210, 103, .08);
  border-color: rgba(211, 154, 47, .88);
  color: #ffd36b;
}
.quant-nav-group .home-nav-parent {
  border-color: rgba(211, 154, 47, .16);
}
.home-menu-icon {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  padding: 3px;
  border: 1px solid rgba(218, 167, 70, .78);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, rgba(255, 231, 153, .22), rgba(151, 92, 15, .15));
  color: #f3bd59;
  stroke: currentColor;
  fill: none;
}
.home-stat-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(218, 167, 70, .55);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, rgba(255, 231, 153, .22), rgba(151, 92, 15, .16));
  color: #f5c76c;
}
.home-menu-icon::before,
.home-stat-icon::before {
  content: none;
  display: none;
}
.home-stat-icon svg {
  width: 15px;
  height: 15px;
  color: #f5c76c;
  stroke: currentColor;
}
.home-nav small {
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ff3b3b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.home-vip-card {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 12px 10px;
  border: 1px solid rgba(211, 155, 57, .38);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 97, .18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.home-vip-card img {
  width: 80px;
  height: 44px;
  object-fit: contain;
}
.home-vip-card b { color: #ffd36b; }
.home-vip-card span { color: #c5b18b; font-size: 12px; }
.home-message-card {
  display: none;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid rgba(211, 155, 57, .38);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 97, .16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.home-message-card span {
  width: 70px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #ffd36b;
  filter: drop-shadow(0 0 16px rgba(230, 169, 58, .42));
}
.home-message-card span svg {
  width: 44px;
  height: 44px;
}
.home-message-card b {
  color: #ffd36b;
  font-size: 17px;
}
.home-message-card small {
  color: #c5b18b;
  font-size: 12px;
}
.home-message-card button {
  width: 126px;
  height: 34px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 800;
}
.member-home.message-active .home-vip-card { display: none; }
.member-home.message-active .home-message-card { display: grid; }
.home-vip-card button,
.home-hero button,
.home-stats button,
.home-gift button {
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 800;
  font-size: 12px;
}
.home-main {
  min-height: 0;
  display: grid;
  grid-template-rows: 42px minmax(170px, 12vw) 86px minmax(420px, 1fr) 78px;
  gap: 10px;
  padding: 14px 14px 10px;
  overflow: auto;
}
.home-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home-user,
.home-actions,
.home-card-head,
.home-footer-stats,
.home-stats {
  display: flex;
  align-items: center;
}
.home-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 999px;
  background: #27313b;
  color: #fff;
  font-weight: 900;
}
.home-switch-account-btn {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 14px;
  padding: 0 10px;
  border: 1px solid rgba(211, 154, 47, .50);
  border-radius: 4px;
  background: rgba(218, 157, 48, .10);
  color: #ffd36b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.home-agent-status-btn {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  padding: 0 10px;
  border: 1px solid rgba(108, 125, 145, .46);
  border-radius: 4px;
  background: rgba(18, 25, 32, .78);
  color: #cbd5df;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.home-agent-status-btn.is-agent {
  border-color: rgba(60, 207, 115, .48);
  background: rgba(33, 122, 71, .16);
  color: #63e58f;
}
.home-agent-status-btn.is-non-agent {
  border-color: rgba(211, 154, 47, .50);
  background: rgba(218, 157, 48, .10);
  color: #ffd36b;
}
.home-agent-status-btn:hover {
  border-color: rgba(211, 154, 47, .86);
  background: rgba(218, 157, 48, .20);
  color: #fff0bd;
}
.home-switch-account-btn svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}
.home-switch-account-btn:hover {
  border-color: rgba(211, 154, 47, .86);
  background: rgba(218, 157, 48, .22);
  color: #fff0bd;
}
.home-coin-wallet {
  min-width: 204px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 5px 0 10px;
  border: 1px solid rgba(229, 174, 67, .56);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(61, 42, 14, .72), rgba(16, 13, 9, .72));
  box-shadow: inset 0 0 18px rgba(232, 171, 52, .10), 0 0 0 1px rgba(0, 0, 0, .20);
  color: #ffe4a4;
  white-space: nowrap;
}
.home-coin-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
}
.home-coin-value svg {
  width: 16px;
  height: 16px;
  color: #f1bd45;
  filter: drop-shadow(0 0 8px rgba(241, 189, 69, .22));
}
.home-coin-value b {
  color: #ffd66a;
}
.home-coin-value strong {
  overflow: hidden;
  max-width: 74px;
  color: #fff7d0;
  text-overflow: ellipsis;
}
.home-coin-wallet button {
  height: 22px;
  min-width: 66px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffe08b, #df9f2b);
  color: #201405;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(218, 157, 48, .20);
}
.home-coin-wallet button:hover {
  filter: brightness(1.06);
}
.home-trial-days {
  min-width: 180px;
  margin-left: auto;
  margin-right: 8px;
  padding: 5px 14px;
  border: 0;
  border-radius: 4px;
  background: rgba(37, 25, 8, .62);
  box-shadow: none;
  color: #ffd978;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.home-trial-days.is-expiring {
  color: #ff4d5e;
}
.home-actions { gap: 8px; }
.home-actions button {
  position: relative;
  min-width: 58px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #e9ddc3;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.home-actions button svg {
  width: 15px;
  height: 15px;
}
.home-actions .top-message-btn,
.home-actions .top-service-btn {
  border-color: rgba(214, 167, 68, .18);
  background: rgba(255, 255, 255, .02);
}
.home-actions .top-message-btn:hover,
.home-actions .top-service-btn:hover {
  color: #ffd36b;
  border-color: rgba(214, 167, 68, .42);
  background: rgba(214, 167, 68, .11);
}
.home-actions .top-message-btn small {
  position: absolute;
  top: -7px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #080704;
  border-radius: 999px;
  background: #ff3b3b;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.home-actions .top-share-btn {
  min-width: 96px;
  border-color: rgba(255, 218, 122, .38);
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #201300;
  font-weight: 900;
  font-size: 13px;
}
.home-actions .top-share-btn svg {
  color: #201300;
}
.home-hero {
  position: relative;
  min-height: 170px;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 22px 44% 22px 48px;
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .92), rgba(7, 7, 7, .58) 43%, rgba(7, 7, 7, .08) 72%),
    url("/home-hero-bg.png") center center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 30px rgba(0,0,0,.25);
}
.home-hero > div {
  position: relative;
  z-index: 2;
}
.home-hero h2 {
  color: #ffd36b;
  font-size: 28px;
  margin-bottom: 8px;
}
.home-hero p {
  color: #eadcc2;
  font-size: 16px;
}
.home-hero button {
  width: 132px;
  height: 32px;
  margin-top: 18px;
}
.home-stats {
  gap: 8px;
  margin-top: 0;
}
.home-stats article {
  flex: 1;
  min-width: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto auto;
  gap: 2px 10px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(218,157,48,.15), transparent 50%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.home-stats article span {
  grid-row: 1 / 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: radial-gradient(circle at 40% 25%, rgba(255, 226, 134, .32), rgba(158, 94, 12, .18));
}
.home-stats article .home-stat-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}
.home-stats label { color: #9b9284; font-size: 12px; }

.member-home.vip-active .home-main,
.member-home.coin-recharge-active .home-main,
.member-home.activity-active .home-main,
.member-home.income-active .home-main,
.member-home.fans-active .home-main,
.member-home.relation-active .home-main,
.member-home.agent-active .home-main,
.member-home.group-active .home-main,
.member-home.strategy-active .home-main,
.member-home.strategy-upload-active .home-main,
.member-home.analyst-active .home-main,
.member-home.analyst-application-active .home-main,
.member-home.analyst-list-active .home-main,
.member-home.ai-copy-active .home-main,
.member-home.communication-active .home-main,
.member-home.platform-build-active .home-main,
.member-home.market-guess-active .home-main,
.member-home.ea-active .home-main,
.member-home.backtest-active .home-main,
.member-home.quant-history-active .home-main,
.member-home.arbitrage-active .home-main,
.member-home.order-active .home-main,
.member-home.message-active .home-main {
  grid-template-rows: 42px minmax(0, 1fr);
  overflow: auto;
}

.member-home.vip-active .home-main > :not(.home-topbar):not(.vip-center-view),
.member-home.coin-recharge-active .home-main > :not(.home-topbar):not(.coin-recharge-view),
.member-home.activity-active .home-main > :not(.home-topbar):not(.activity-center-view),
.member-home.income-active .home-main > :not(.home-topbar):not(.income-center-view),
.member-home.fans-active .home-main > :not(.home-topbar):not(.fans-center-view),
.member-home.relation-active .home-main > :not(.home-topbar):not(.member-relation-view),
.member-home.agent-active .home-main > :not(.home-topbar):not(.agent-application-view),
.member-home.group-active .home-main > :not(.home-topbar):not(.member-group-view),
.member-home.strategy-active .home-main > :not(.home-topbar):not(.strategy-market-view),
.member-home.strategy-upload-active .home-main > :not(.home-topbar):not(.strategy-upload-manage-view),
.member-home.analyst-active .home-main > :not(.home-topbar):not(.analyst-application-view):not(.analyst-list-view),
.member-home.analyst-application-active .home-main > :not(.home-topbar):not(.analyst-application-view),
.member-home.analyst-list-active .home-main > :not(.home-topbar):not(.analyst-list-view),
.member-home.ai-copy-active .home-main > :not(.home-topbar):not(.ai-copy-page),
.member-home.communication-active .home-main > :not(.home-topbar):not(.communication-center-view),
.member-home.platform-build-active .home-main > :not(.home-topbar):not(.platform-build-view),
.member-home.market-guess-active .home-main > :not(.home-topbar):not(.market-guess-view),
.member-home.ea-active .home-main > :not(.home-topbar):not(.ea-quant-page),
.member-home.backtest-active .home-main > :not(.home-topbar):not(.backtest-center-view),
.member-home.quant-history-active .home-main > :not(.home-topbar):not(.quant-history-view),
.member-home.arbitrage-active .home-main > :not(.home-topbar):not(.arbitrage-monitor-view),
.member-home.order-active .home-main > :not(.home-topbar):not(.order-center-view),
.member-home.message-active .home-main > :not(.home-topbar):not(.message-center-view) {
  display: none;
}

.member-home.vip-active .vip-center-view,
.member-home.coin-recharge-active .coin-recharge-view,
.member-home.activity-active .activity-center-view,
.member-home.income-active .income-center-view,
.member-home.fans-active .fans-center-view,
.member-home.relation-active .member-relation-view,
.member-home.agent-active .agent-application-view,
.member-home.group-active .member-group-view,
.member-home.strategy-active .strategy-market-view,
.member-home.strategy-upload-active .strategy-upload-manage-view,
.member-home.analyst-active .analyst-application-view:not(.hidden),
.member-home.analyst-active .analyst-list-view:not(.hidden),
.member-home.analyst-application-active .analyst-application-view:not(.hidden),
.member-home.analyst-list-active .analyst-list-view:not(.hidden),
.member-home.ai-copy-active .ai-copy-page,
.member-home.communication-active .communication-center-view,
.member-home.platform-build-active .platform-build-view,
.member-home.market-guess-active .market-guess-view,
.member-home.backtest-active .backtest-center-view,
.member-home.quant-history-active .quant-history-view,
.member-home.arbitrage-active .arbitrage-monitor-view,
.member-home.order-active .order-center-view,
.member-home.message-active .message-center-view {
  display: grid;
}

.vip-center-view,
.coin-recharge-view,
.activity-center-view,
.income-center-view,
.fans-center-view,
.member-relation-view,
.agent-application-view,
.member-group-view,
.strategy-market-view,
.market-guess-view,
.ai-copy-page,
.communication-center-view,
.platform-build-view,
.arbitrage-monitor-view,
.quant-history-view,
.world-gold-view,
.order-center-view,
.message-center-view {
  min-height: 0;
  gap: 10px;
  padding: 0 2px 10px;
}

.member-relation-view {
  color: var(--text);
}
.relation-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 8px 4px 0;
}
.relation-page-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0;
}
.relation-page-head span {
  color: var(--muted);
  font-size: 13px;
}
.relation-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.relation-stats article,
.relation-filters,
.relation-tree-card,
.relation-table-card,
.relation-side-card {
  border: 1px solid rgba(218, 157, 48, .35);
  background: radial-gradient(circle at 0 0, rgba(218,157,48,.12), transparent 42%), linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border-radius: 8px;
}
.relation-stats article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 2px 14px;
  padding: 14px 18px;
}
.relation-stats article span {
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #ffe28a, #b17517 68%, rgba(177,117,23,.18));
  color: #111;
}
.relation-stats article label { color: #b9ae9d; font-size: 13px; }
.relation-stats article b { font-size: 25px; }
.relation-stats article b em { font-size: 13px; color: #b9ae9d; font-style: normal; }
.relation-stats article small { color: #aaa; }
.relation-stats article small .up { color: #25e06f; }
.relation-stats article small .down { color: #ff4d5d; }
.relation-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 170px minmax(280px, 1.1fr) 88px 88px;
  gap: 10px;
  align-items: end;
  padding: 12px;
}
.relation-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8d2c6;
  font-size: 13px;
}
.relation-filters input,
.relation-filters select {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: #fff;
  padding: 0 10px;
}
.relation-filters select { background-color: #fff; color: #111; }
.relation-filters button {
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(218,157,48,.65);
  background: linear-gradient(135deg, #f4c95f, #b67815);
  color: #1b1304;
  font-weight: 800;
}
.relation-filters button[type="button"] {
  background: rgba(255,255,255,.04);
  color: #f8d57a;
}
.relation-search {
  position: relative;
}
.relation-search input {
  width: 100%;
  padding-right: 38px;
}
.relation-search button {
  position: absolute;
  right: 2px;
  bottom: 0;
  width: 34px;
  padding: 0;
}
.relation-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 12px;
  min-height: 0;
}
.relation-main {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(310px, .95fr) auto;
  gap: 10px;
}
.relation-tree-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(rgba(218,157,48,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218,157,48,.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 20%, rgba(0,130,255,.11), transparent 45%),
    #071015;
  background-size: 18px 18px, 18px 18px, auto, auto;
}
.relation-legend {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: #b8b1a5;
  font-size: 12px;
  margin-bottom: 8px;
}
.relation-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}
.relation-legend .green { background: #31d66c; }
.relation-legend .blue { background: #29b8f4; }
.relation-legend .purple { background: #d15cf2; }
.relation-legend .violet { background: #7458ff; }
.relation-legend .gray { background: #777; }
.relation-tree-stage {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 4px 10px 18px;
}
.relation-tree-row {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.relation-tree-row.direct {
  justify-content: space-around;
}
.relation-node {
  min-width: 146px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 9px;
  background: rgba(12,14,13,.84);
  color: #fff;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 8px 18px rgba(0,0,0,.18);
}
.relation-node.primary {
  min-width: 220px;
  border-color: #d99f2e;
  box-shadow: 0 0 22px rgba(218,157,48,.25);
}
.relation-node.small {
  min-width: 126px;
  grid-template-columns: 34px 1fr;
  padding: 7px 8px;
}
.relation-node-avatar,
.relation-table-avatar,
.relation-profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff4c4, #a46710);
  color: #111;
  font-weight: 900;
}
.relation-node-avatar { width: 42px; height: 42px; }
.relation-node.small .relation-node-avatar { width: 34px; height: 34px; }
.relation-node-avatar img,
.relation-table-avatar img,
.relation-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.relation-node-body b { display: block; font-size: 14px; }
.relation-node-body small { display: block; color: #b9b1a4; font-size: 11px; }
.relation-node-body em {
  margin-left: 5px;
  padding: 1px 5px;
  border: 1px solid rgba(218,157,48,.55);
  border-radius: 4px;
  color: #fbd36a;
  font-style: normal;
}
.relation-node-body i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
}
.relation-status.ok,
.relation-node-body i.ok,
.relation-profile small.ok { color: #2ee871; }
.relation-node-body i.ok { background: #2ee871; }
.relation-status.warn,
.relation-node-body i.warn,
.relation-profile small.warn { color: #f5c451; }
.relation-node-body i.warn { background: #f5c451; }
.relation-status.off,
.relation-node-body i.off,
.relation-profile small.off { color: #888; }
.relation-node-body i.off { background: #888; }
.relation-table-card {
  padding: 0;
  overflow: hidden;
}
.relation-table-card header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.relation-table-card h3 { margin: 0; font-size: 16px; }
.relation-table-scroll { overflow: auto; }
.relation-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}
.relation-table th,
.relation-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left;
  white-space: nowrap;
}
.relation-table th {
  background: rgba(255,255,255,.035);
  color: #cbbf9e;
  font-size: 13px;
}
.relation-table td small {
  display: block;
  color: #9c9489;
  font-size: 11px;
}
.relation-table-avatar { width: 34px; height: 34px; }
.relation-vip {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid rgba(218,157,48,.5);
  border-radius: 5px;
  color: #f7d05f;
  background: rgba(218,157,48,.12);
}
.relation-action {
  border: 1px solid rgba(218,157,48,.5);
  border-radius: 5px;
  background: rgba(218,157,48,.13);
  color: #f6cd64;
  padding: 5px 9px;
}
.relation-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 11px 14px;
}
.relation-pagination > span { margin-right: auto; color: #c9c0ae; }
.relation-pagination button,
.relation-pagination select,
.relation-pagination input {
  height: 30px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  padding: 0 10px;
}
.relation-pagination select {
  background: #fff;
  color: #111;
}
.relation-pagination button.active {
  border-color: #d79d2b;
  background: rgba(218,157,48,.3);
  color: #ffd66d;
}
.relation-pagination input { width: 52px; text-align: center; }
.relation-side {
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.relation-side-card {
  padding: 16px;
}
.relation-side-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}
.relation-profile {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.relation-profile-avatar {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(218,157,48,.65);
}
.relation-profile b { display: block; font-size: 20px; }
.relation-profile em {
  display: inline-block;
  margin: 4px 0;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(218,157,48,.18);
  color: #fbd66d;
  font-style: normal;
}
.relation-detail-list {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 9px 12px;
  margin: 14px 0 0;
  font-size: 13px;
}
.relation-detail-list dt { color: #a9a092; }
.relation-detail-list dd { margin: 0; text-align: right; color: #fff; }
.relation-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.relation-summary-grid span {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px solid rgba(218,157,48,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.relation-summary-grid svg { color: #d99f2e; }
.relation-summary-grid b {
  font-size: 24px;
  color: #ffd66d;
}
.relation-summary-grid small { color: #b8afa2; }
.relation-empty,
.relation-loading {
  color: #b9b1a4;
  margin: 30px auto;
}

.arbitrage-monitor-view {
  grid-template-rows: minmax(0, 1fr);
}

.vip-center-view {
  grid-template-rows: auto auto auto minmax(0, 1fr);
}

.activity-center-view {
  grid-template-rows: auto 176px minmax(0, 1fr);
}

.income-center-view {
  grid-template-rows: auto auto minmax(260px, .95fr) minmax(300px, 1.05fr);
}

.activity-hero-card,
.activity-card-grid article {
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 202, 85, .22), transparent 28%),
    linear-gradient(135deg, rgba(25, 24, 19, .94), rgba(10, 10, 10, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.activity-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 34px;
  overflow: hidden;
}

.activity-hero-card small {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
  font-weight: 800;
}

.activity-hero-card h3 {
  margin: 12px 0 8px;
  color: #fff4d2;
  font-size: 28px;
}

.activity-hero-card p {
  margin: 0;
  color: #bfb4a4;
  font-size: 14px;
}

.activity-hero-card button {
  flex: 0 0 auto;
  height: 42px;
  min-width: 128px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}

.activity-card-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.activity-card-grid article {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.activity-card-grid svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 999px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .16);
}

.activity-card-grid h3 {
  margin: 0;
  color: #fff4d2;
  font-size: 18px;
}

.activity-card-grid p {
  margin: 0;
  color: #bfb4a4;
  line-height: 1.5;
}

.activity-card-grid span {
  justify-self: start;
  margin-top: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(218, 157, 48, .36);
  border-radius: 999px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .10);
  font-size: 12px;
  font-weight: 800;
}

.fans-center-view {
  grid-template-rows: auto auto auto minmax(0, 1fr);
}

.agent-application-view {
  grid-template-rows: auto auto auto auto;
}

.member-group-view {
  grid-template-rows: auto minmax(0, 1fr);
}

.strategy-market-view {
  grid-template-rows: minmax(0, 1fr);
}

.vip-center-head,
.activity-center-head,
.income-head,
.fans-page-head,
.group-page-head,
.message-center-head,
.vip-summary,
.vip-workbench,
.message-layout,
.message-detail-head,
.message-filter-bar,
.message-pagination,
.message-detail-actions,
.message-action-row,
.vip-secure-row {
  display: flex;
  align-items: center;
}

.vip-center-head,
.activity-center-head,
.income-head,
.fans-page-head,
.group-page-head,
.message-center-head {
  justify-content: space-between;
  min-height: 38px;
}

.vip-center-head h2,
.activity-center-head h2,
.income-head h2,
.fans-page-head h2,
.group-page-head h2,
.message-center-head h2 {
  margin: 0;
  color: #fff4d2;
  font-size: 29px;
  line-height: 1.05;
}

.income-head h2 {
  font-size: 24px;
  line-height: 1.12;
}

.vip-center-head span,
.activity-center-head span,
.income-head span,
.fans-page-head span,
.group-page-head span,
.message-center-head span {
  margin-left: 14px;
  color: #a89d8c;
  font-size: 14px;
}

.vip-center-head > div,
.activity-center-head > div,
.income-head > div,
.fans-page-head > div,
.group-page-head > div,
.message-center-head > div {
  display: flex;
  align-items: baseline;
}

.fans-page-head h2,
.group-page-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.fans-page-head svg,
.group-page-head svg {
  width: 23px;
  color: #d9a13d;
}

.vip-center-head button,
.activity-center-head button,
.income-head button,
.fans-page-head button,
.group-page-head button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid rgba(213, 158, 58, .46);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #f2c767;
  font-weight: 700;
}

.vip-summary {
  position: relative;
  min-height: 150px;
  justify-content: space-between;
  padding: 24px 34px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 45%, rgba(220, 155, 41, .30), transparent 26%),
    linear-gradient(100deg, rgba(255,255,255,.045), rgba(255,255,255,.015) 34%, rgba(197, 128, 27, .08)),
    rgba(11, 11, 11, .88);
}

.vip-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(225, 164, 45, .08) 45% 45.2%, transparent 45.2%),
    radial-gradient(circle at 84% 62%, rgba(245, 192, 77, .18), transparent 19%);
  pointer-events: none;
}

.vip-summary-level,
.vip-summary-value,
.vip-summary-art {
  position: relative;
  z-index: 1;
}

.vip-summary-level {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 310px;
}

.vip-summary-level > i,
.vip-summary-level > svg {
  width: 62px;
  height: 62px;
  padding: 11px;
  border-radius: 999px;
  color: #ffd36b;
  background: radial-gradient(circle at 42% 32%, rgba(255, 228, 144, .28), rgba(167, 100, 15, .20));
  box-shadow: 0 0 28px rgba(233, 171, 48, .16);
}

.vip-summary span,
.vip-summary small,
.vip-upgrade-card span,
.vip-upgrade-card small {
  color: #9d9589;
}

.vip-summary strong {
  display: block;
  color: #ffd36b;
  font-size: 32px;
  line-height: 1.15;
}

.vip-summary-value {
  min-width: 330px;
  padding-left: 26px;
  border-left: 1px solid rgba(210, 151, 44, .45);
}

.vip-summary-value strong {
  margin: 10px 0 8px;
  color: #ffdca0;
  font-size: 28px;
}

.vip-summary-art {
  width: 360px;
  display: grid;
  justify-items: center;
  opacity: .96;
}

.vip-summary-art img {
  width: 210px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(226, 164, 44, .26));
}

.vip-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.vip-tier-card {
  position: relative;
  min-height: 136px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 2px 10px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(236, 188, 91, .14), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}

.vip-tier-card.active {
  border-color: rgba(230, 171, 55, .92);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 209, 92, .22), transparent 36%),
    linear-gradient(180deg, rgba(94, 59, 11, .42), rgba(18, 15, 10, .86));
  box-shadow: 0 0 0 1px rgba(255, 213, 109, .08) inset;
}

.vip-tier-card > i,
.vip-tier-card > svg {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 999px;
  color: #f0c45e;
  background: rgba(255, 216, 127, .10);
}

.vip-tier-card h3 {
  margin: 0;
  color: #f5ead5;
  font-size: 17px;
}

.vip-tier-card strong {
  color: #fff4dc;
  font-size: 14px;
}

.vip-tier-card button {
  grid-column: 1 / 3;
  height: 34px;
  border: 1px solid rgba(219, 164, 57, .42);
  border-radius: 5px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #231600;
  font-weight: 800;
}

.vip-tier-card.active button,
.vip-tier-card[data-vip-tier="普通版"] button {
  background: rgba(255, 255, 255, .04);
  color: #e8d8b5;
}

.vip-tier-card em {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 11px;
  border-radius: 0 7px 0 8px;
  background: linear-gradient(135deg, #f7d37c, #d99d35);
  color: #3b2400;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.vip-workbench {
  align-items: stretch;
  gap: 10px;
  min-height: 330px;
}

.vip-compare-card,
.vip-upgrade-card,
.vip-benefit-row,
.message-list-card,
.message-detail-card {
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(218, 157, 48, .10), transparent 42%),
    rgba(12, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.vip-compare-card {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 12px;
}

.vip-compare-card h3,
.vip-benefit-row h3,
.vip-upgrade-card h3 {
  margin: 0 0 10px;
  color: #fff4d2;
  font-size: 16px;
}

.vip-compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
}

.vip-compare-table th,
.vip-compare-table td {
  height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .055);
  color: #cfc4b3;
  text-align: center;
  white-space: nowrap;
}

.vip-compare-table th:first-child,
.vip-compare-table td:first-child {
  width: 190px;
  color: #f2dca9;
  text-align: left;
}

.vip-compare-table td:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vip-compare-table td:first-child svg {
  width: 15px;
  color: #d9a13d;
}

.vip-compare-table .selected {
  color: #ffc13b;
  background: rgba(212, 151, 43, .18);
}

.vip-compare-table thead th,
.vip-compare-table thead th.selected,
.vip-compare-table thead th:first-child {
  height: 34px;
  padding: 0 10px;
  background: linear-gradient(180deg, #ffe38b, #d79b28);
  color: #241600;
  font-size: 14px;
  font-weight: 900;
  line-height: 34px;
  border-color: rgba(255, 209, 91, .75);
}

.vip-check {
  color: #63e085;
  font-size: 15px;
  font-weight: 900;
}

.vip-cross {
  color: #ff5555;
  font-size: 15px;
  font-weight: 900;
}

.vip-upgrade-card {
  width: 284px;
  display: grid;
  grid-template-rows: repeat(7, auto);
  align-content: start;
  gap: 7px;
  padding: 14px 16px;
}

.vip-cycle-list {
  display: grid;
  gap: 6px;
  margin-bottom: 5px;
}

.vip-cycle-list button {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 10px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #d8cbb5;
  text-align: left;
}

.vip-cycle-list button.active {
  border-color: rgba(224, 166, 55, .86);
  background: rgba(95, 61, 17, .42);
}

.vip-cycle-list b {
  color: #f6ead4;
  font-size: 13px;
}

.vip-cycle-list em {
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 3px;
  background: #e4aa3c;
  color: #2a1700;
  font-size: 10px;
  font-style: normal;
}

.vip-cycle-list strong {
  color: #f5c76c;
  font-size: 12px;
}

.vip-cycle-list small {
  grid-column: 2;
  font-size: 10px;
}

.vip-secure-row {
  justify-content: space-between;
  gap: 4px;
  margin-top: 4px;
  color: #c5b18b;
  font-size: 11px;
}

.vip-secure-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vip-secure-row svg {
  width: 13px;
  color: #f0c45e;
}

.vip-confirm-btn {
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #231600;
  font-size: 16px;
  font-weight: 900;
}

.vip-agree {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a89d8c;
  font-size: 12px;
}

.vip-note {
  color: #756d63;
  font-size: 11px;
}

.vip-purchase-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.vip-purchase-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vip-purchase-summary div,
.vip-purchase-fields,
.vip-purchase-pay {
  border: 1px solid rgba(201, 145, 43, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.vip-purchase-summary div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
}

.vip-purchase-summary span,
.vip-purchase-summary small,
.vip-purchase-fields label,
.vip-purchase-fields p,
.vip-purchase-card footer span {
  color: #a89d8c;
}

.vip-purchase-summary b {
  color: #fff4d2;
  font-size: 24px;
}

.vip-purchase-summary strong {
  color: #ffd36b;
  font-size: 28px;
}

.vip-purchase-pay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  padding: 14px;
}

.vip-purchase-fields {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.vip-purchase-fields label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.vip-purchase-fields select,
.vip-purchase-fields input {
  height: 38px;
  border: 1px solid rgba(201,145,43,.28);
  border-radius: 5px;
  background: rgba(0,0,0,.38);
  color: #f6ead4;
  padding: 0 10px;
}

.vip-proof-field input {
  padding-top: 8px;
}

.vip-purchase-fields p {
  margin: 0;
  font-size: 12px;
}

.vip-purchase-pay img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.vip-purchase-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vip-purchase-card footer button {
  min-width: 150px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #231600;
  font-size: 15px;
  font-weight: 900;
}

.vip-benefit-row {
  display: none;
  padding: 12px 14px;
}

.vip-benefit-row > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(201, 145, 43, .18);
  border-radius: 7px;
  overflow: hidden;
}

.vip-benefit-row article {
  min-height: 78px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  border-left: 1px solid rgba(201, 145, 43, .18);
  background: rgba(255, 255, 255, .025);
  text-align: center;
}

.vip-benefit-row article:first-child { border-left: 0; }
.vip-benefit-row svg { width: 24px; color: #f5c76c; }
.vip-benefit-row b { color: #f6d99b; font-size: 13px; }
.vip-benefit-row span { color: #9d9589; font-size: 11px; }

.income-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 132px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(218, 157, 48, .16), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
  overflow: hidden;
}
.income-summary-row article {
  position: relative;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px 24px;
  border-left: 1px solid rgba(201, 145, 43, .22);
}
.income-summary-row article:first-child { border-left: 0; }
.income-summary-row span,
.income-summary-row small {
  color: #9d9589;
  font-size: 13px;
}
.income-summary-row strong {
  color: #fff3d0;
  font-size: 25px;
  line-height: 1;
}
.income-summary-row article:first-child strong {
  color: #ffd36b;
  font-size: 28px;
}
.income-summary-row small b {
  color: #31d378;
  font-weight: 800;
}
.income-summary-row button {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 98px;
  height: 36px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}
.income-analytics-row {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, .85fr);
  gap: 12px;
}
.income-panel {
  min-height: 0;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0, rgba(218, 157, 48, .11), transparent 46%),
    rgba(12, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}
.income-panel-head,
.income-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 18px;
}
.income-panel h3,
.income-detail-head h3 {
  margin: 0;
  color: #fff4d2;
  font-size: 18px;
}
.income-small-tabs {
  display: inline-flex;
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 6px;
  overflow: hidden;
}
.income-small-tabs button {
  min-width: 58px;
  height: 32px;
  border: 0;
  border-left: 1px solid rgba(201, 145, 43, .22);
  border-radius: 0;
  background: rgba(255, 255, 255, .025);
  color: #bdb2a1;
  font-size: 13px;
}
.income-small-tabs button:first-child { border-left: 0; }
.income-small-tabs button.active {
  background: linear-gradient(180deg, rgba(212, 150, 43, .44), rgba(83, 59, 20, .62));
  color: #ffd36b;
}
.income-trend-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}
.income-panel-head {
  justify-content: space-between;
}
.income-chart-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 6px;
  color: #b8ad9c;
  font-size: 12px;
}
.income-chart-legend i {
  width: 14px;
  height: 7px;
  border-radius: 2px;
  background: #f2c75f;
}
.income-trend-chart {
  position: relative;
  margin: 0 18px 18px;
  min-height: 160px;
  border-bottom: 1px solid rgba(201, 145, 43, .18);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.055) 32px),
    linear-gradient(180deg, transparent, rgba(209, 145, 35, .06));
}
.income-trend-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.income-trend-chart .axis-y,
.income-trend-chart .axis-x {
  position: absolute;
  color: #9d9589;
  font-size: 11px;
}
.income-trend-chart .axis-y { left: 0; transform: translateY(50%); }
.income-trend-chart .axis-x { bottom: -18px; transform: translateX(-50%); }
.income-trend-chart .tooltip {
  position: absolute;
  min-width: 138px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 145, 43, .45);
  border-radius: 5px;
  background: rgba(20, 18, 14, .96);
  color: #e6d7bd;
  font-size: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
}
.income-source-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.income-source-content {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 10px 28px 26px;
}
.income-source-donut {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 999px;
  background: conic-gradient(#f2c75f 0 68.5%, #3f8cff 68.5% 88.8%, #47c58a 88.8% 97.5%, #9b6bff 97.5% 100%);
  box-shadow:
    inset 0 0 0 48px #111,
    0 0 0 1px rgba(240, 196, 91, .26),
    0 0 28px rgba(240, 196, 91, .08);
}
.income-source-donut b {
  color: #fff4d2;
  font-size: 18px;
}
.income-source-donut span {
  color: #9d9589;
  font-size: 12px;
}
.income-source-list {
  display: grid;
  gap: 16px;
  color: #cfc4b3;
}
.income-source-list p {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.income-source-list i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
}
.income-source-list em {
  color: #7d7468;
  font-size: 12px;
  font-style: normal;
}
.income-detail-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.income-detail-head {
  border-bottom: 1px solid rgba(201, 145, 43, .18);
}
.income-detail-head h3 {
  margin-right: 8px;
}
.income-date-filter {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.income-date-filter button,
.income-export-btn {
  height: 34px;
  min-width: 112px;
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #cfc4b3;
}
.income-date-filter svg {
  width: 14px;
  vertical-align: middle;
}
.income-export-btn {
  color: #ffd36b;
  font-weight: 800;
}
.income-table {
  width: 100%;
  border-collapse: collapse;
}
.income-table th,
.income-table td {
  height: 52px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #d8cbb5;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}
.income-table th {
  height: 44px;
  color: #f0e2c8;
  background: rgba(255, 255, 255, .035);
}
.income-kind {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.income-kind i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(242, 199, 95, .18);
  color: #f2c75f;
}
.income-kind.agent i { background: rgba(63, 140, 255, .18); color: #5da0ff; }
.income-kind.activity i { background: rgba(71, 197, 138, .18); color: #47c58a; }
.income-kind.other i { background: rgba(155, 107, 255, .18); color: #a986ff; }
.income-amount {
  color: #ffc13b !important;
  font-weight: 800;
}
.income-status {
  color: #47c58a !important;
}
.income-pagination {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #9d9589;
}
.income-pagination div {
  display: flex;
  gap: 10px;
}
.income-pagination button,
.income-pagination select {
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
}
.income-pagination button.active {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}
.income-pagination select {
  min-width: 104px;
  padding: 0 10px;
}

.fans-page-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 122px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 4% 0, rgba(218,157,48,.16), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
  overflow: hidden;
}
.fans-page-stats article {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px 26px;
  border-left: 1px solid rgba(201, 145, 43, .22);
}
.fans-page-stats article:first-child { border-left: 0; }
.fans-page-stats span,
.fans-page-stats small { color: #9d9589; font-size: 13px; }
.fans-page-stats strong {
  color: #ffdca0;
  font-size: 30px;
  line-height: 1;
}
.fans-page-stats small b { color: #8fd99a; }
.fans-page-tools {
  min-height: 52px;
  display: grid;
  grid-template-columns: 150px 150px 126px 210px minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
}
.fans-page-tools select,
.fans-page-tools button,
.fans-page-tools input {
  height: 40px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
  padding: 0 13px;
}
.fans-page-tools label {
  position: relative;
}
.fans-page-tools label svg {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 18px;
  color: #9d9589;
}
.fans-page-tools input { width: 100%; padding-right: 38px; }
.fans-page-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #f2c767;
  font-weight: 800;
  white-space: nowrap;
}
.fans-page-tools button svg { width: 16px; }
.fans-page-table-card,
.group-list-card,
.group-detail-card,
.agent-search-card,
.agent-list-card,
.agent-flow-card,
.agent-form-card,
.agent-right-card {
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(218, 157, 48, .10), transparent 42%),
    rgba(12, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.fans-page-table-card {
  display: block;
  min-height: 0;
  overflow: auto;
}
.fans-page-table,
.group-member-table {
  width: 100%;
  border-collapse: collapse;
}
.fans-page-table {
  height: max-content;
}
.fans-page-table th,
.fans-page-table td,
.group-member-table th,
.group-member-table td {
  height: 60px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}
.fans-page-table th,
.group-member-table th {
  height: 48px;
  color: #b9ae9e;
  background: rgba(255,255,255,.035);
  font-weight: 700;
}
.fans-page-table input[type="checkbox"],
.group-member-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #d9a13d;
}
.fans-user-cell,
.group-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fans-avatar,
.group-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  color: #1d1200;
  font-weight: 900;
  background: linear-gradient(135deg, #fff0bd, #c99131);
}
.fans-avatar img,
.group-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fans-user-cell b,
.group-user-cell b { display: block; color: #f6ead4; }
.fans-user-cell small,
.group-user-cell small { color: #9d9589; }
.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(218, 157, 48, .45);
  border-radius: 999px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .12);
  font-weight: 800;
}
.vip-badge.gray { color: #bfbfbf; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.vip-badge.green { color: #50d982; border-color: rgba(80,217,130,.32); background: rgba(80,217,130,.08); }
.vip-badge.purple { color: #b69aff; border-color: rgba(182,154,255,.34); background: rgba(182,154,255,.08); }
.fans-detail-link,
.group-detail-link {
  height: 34px;
  min-width: 92px;
  border: 1px solid rgba(218, 157, 48, .46);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #f2c767;
  font-weight: 800;
}
.fans-page-pagination,
.group-pagination {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: #9d9589;
}
.fans-page-pagination div,
.group-pagination div { display: flex; gap: 10px; }
.fans-page-pagination button,
.fans-page-pagination select,
.group-pagination button,
.group-pagination select {
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(201,145,43,.30);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
}
.fans-page-pagination button.active,
.group-pagination button.active {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}
.agent-hero {
  min-height: 154px;
  display: grid;
  align-items: center;
  padding: 18px 58px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 42%, rgba(255, 202, 85, .42), transparent 19%),
    linear-gradient(95deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 58%, rgba(187,120,22,.38)),
    url("/member-login-bg.png?v=20260623-live9") center/cover;
}
.agent-hero h2 {
  margin: 0;
  color: #fff4d2;
  font-size: 32px;
  line-height: 1.08;
}
.agent-hero p {
  margin: 9px 0 16px;
  color: #f4dca3;
  font-size: 15px;
}
.agent-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 142px));
  gap: 16px;
}
.agent-benefits span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 1px 9px;
  align-items: center;
}
.agent-benefits svg {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 999px;
  color: #3a2300;
  background: linear-gradient(135deg, #ffe7a0, #c98722);
}
.agent-benefits b { color: #fff3cf; font-size: 14px; }
.agent-benefits small { color: #cdbb97; font-size: 12px; }
.agent-page-tabs {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(201,145,43,.22);
  border-radius: 0;
  background: rgba(255,255,255,.015);
}
.agent-page-tabs button {
  min-width: auto;
  height: 44px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #d8cbb5;
  font-size: 14px;
  font-weight: 900;
}
.agent-page-tabs button.active {
  border-bottom-color: #f2c75f;
  background: transparent;
  color: #ffd36b;
  box-shadow: none;
}
.agent-page-tabs svg { display: none; }
.agent-tab-panel {
  min-height: 0;
}
.agent-list-panel {
  display: grid;
  gap: 12px;
}
.agent-search-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .8fr) minmax(150px, .8fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px 18px;
}
.agent-search-card label {
  display: grid;
  gap: 7px;
  color: #fff0d0;
  font-weight: 800;
}
.agent-search-card input,
.agent-search-card select {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(218,157,48,.48);
  border-radius: 5px;
  background: rgba(255,255,255,.026);
  color: #e9dec8;
  padding: 0 12px;
  outline: none;
}
.agent-search-actions {
  display: flex;
  gap: 8px;
}
.agent-search-actions button,
.agent-list-head button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 5px;
  font-weight: 900;
  white-space: nowrap;
}
.agent-search-btn {
  min-width: 88px;
  border: 0;
  color: #221500;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
}
.agent-reset-btn,
.agent-list-head button {
  min-width: 82px;
  border: 1px solid rgba(218,157,48,.45);
  color: #f4d183;
  background: rgba(218,157,48,.12);
}
.agent-list-card {
  overflow: hidden;
}
.agent-list-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.agent-list-head h3 {
  margin: 0;
  color: #fff4d2;
  font-size: 18px;
}
.agent-list-head p {
  margin: 4px 0 0;
  color: #9d9589;
}
.agent-list-table {
  width: 100%;
  border-collapse: collapse;
}
.agent-list-table th,
.agent-list-table td {
  height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}
.agent-list-table th {
  height: 44px;
  color: #b9ae9e;
  background: rgba(255,255,255,.035);
  font-weight: 800;
}
.agent-list-table strong {
  display: block;
  color: #fff0d0;
}
.agent-list-table small {
  color: #9d9589;
}
.agent-status-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.agent-status-pill.pending { color: #ffd36b; background: rgba(218,157,48,.13); border: 1px solid rgba(218,157,48,.42); }
.agent-status-pill.approved { color: #55df89; background: rgba(85,223,137,.10); border: 1px solid rgba(85,223,137,.32); }
.agent-status-pill.rejected { color: #ff7777; background: rgba(255,87,87,.10); border: 1px solid rgba(255,87,87,.32); }
.agent-empty {
  height: 132px !important;
  text-align: center !important;
  color: #9d9589 !important;
}
.agent-list-pagination {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: #9d9589;
}
.agent-list-pagination div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.agent-list-pagination button,
.agent-list-pagination select {
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(201,145,43,.30);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
}
.agent-list-pagination button.active {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}
.agent-flow-card {
  padding: 12px 24px 14px;
}
.agent-flow-card h3,
.agent-form-card h3,
.agent-right-card h3 {
  margin: 0 0 12px;
  color: #fff4d2;
  font-size: 18px;
}
.agent-flow-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.agent-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.agent-flow span {
  min-height: 58px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 2px 10px;
  position: relative;
}
.agent-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 28px;
  width: 38%;
  border-top: 1px solid rgba(218,157,48,.42);
}
.agent-flow svg {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(218,157,48,.65);
  border-radius: 999px;
  color: #ffd36b;
  background: rgba(218,157,48,.13);
}
.agent-flow b { color: #ffd36b; font-size: 15px; }
.agent-flow small { color: #c1b5a3; font-size: 12px; }
.agent-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 12px;
  min-height: 0;
}
.agent-form-card,
.agent-right-card {
  padding: 18px 24px;
}
.agent-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.agent-form-card label:not(.agent-agree) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  color: #fff0d0;
  font-weight: 800;
  line-height: 1.2;
}
.agent-form-card label b {
  color: #ff5656;
  font-weight: 900;
  line-height: 1;
}
.agent-form-card label:not(.agent-agree) > input,
.agent-form-card label:not(.agent-agree) > select,
.agent-form-card label:not(.agent-agree) > textarea,
.agent-form-card label:not(.agent-agree) > span {
  flex: 0 0 100%;
}
.agent-form-card input,
.agent-form-card select,
.agent-form-card textarea {
  width: 100%;
  border: 1px solid rgba(218,157,48,.52);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #e9dec8;
  outline: none;
}
.agent-form-card input,
.agent-form-card select {
  height: 36px;
  padding: 0 12px;
}
.agent-form-card textarea {
  min-height: 62px;
  resize: none;
  padding: 10px 12px;
}
.agent-form-card label span {
  display: grid;
  grid-template-columns: 1fr 118px;
}
.agent-form-card label span button {
  border: 1px solid rgba(218,157,48,.52);
  border-left: 0;
  border-radius: 0 5px 5px 0;
  background: rgba(218,157,48,.15);
  color: #fff0c8;
  font-weight: 800;
}
.agent-form-card label span input { border-radius: 5px 0 0 5px; }
.agent-reason {
  margin-top: 12px;
  position: relative;
}
.agent-reason small {
  position: absolute;
  right: 13px;
  bottom: 10px;
  color: #9d9589;
  font-weight: 400;
}
.agent-agree {
  margin: 10px 0;
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #d4c6ae !important;
  font-weight: 400 !important;
}
.agent-agree input {
  width: 18px;
  height: 18px;
  accent-color: #d9a13d;
}
.agent-submit-btn {
  width: min(360px, 100%);
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 24%;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-size: 17px;
  font-weight: 900;
}
.agent-submit-btn:disabled,
.agent-submit-btn.is-disabled {
  background: linear-gradient(90deg, #6d7178, #4c5158);
  color: #d5d9de;
  cursor: not-allowed;
  opacity: .88;
  box-shadow: none;
}
.agent-status-text {
  min-height: 18px;
  margin-top: 6px;
  color: #8fd99a;
}
.agent-right-card {
  background:
    radial-gradient(circle at 74% 12%, rgba(218,157,48,.16), transparent 35%),
    rgba(12, 12, 12, .88);
}
.agent-right-card p {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 3px 14px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(201,145,43,.18);
}
.agent-right-card svg {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 9px;
  color: #ffd36b;
  background: rgba(218,157,48,.16);
}
.agent-right-card b { color: #ffd36b; }
.agent-right-card span { color: #bdb2a1; }
.agent-right-card button {
  width: 100%;
  height: 38px;
  margin-top: 14px;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 5px;
  background: rgba(218,157,48,.16);
  color: #f8d17d;
}
.agent-bottom-stats {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(201,145,43,.18);
}
.agent-bottom-stats span {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 2px 12px;
  padding: 0 34px;
  border-left: 1px solid rgba(201,145,43,.18);
}
.agent-bottom-stats span:first-child { border-left: 0; }
.agent-bottom-stats svg { grid-row: 1 / 3; width: 32px; color: #ffd36b; }
.agent-bottom-stats b { color: #ffdca0; font-size: 20px; }
.agent-bottom-stats small { color: #bdb2a1; }
.group-workbench {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}
.group-list-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  padding: 20px 16px 16px;
}
.group-list-card h3 {
  margin: 0 0 14px;
  color: #fff4d2;
}
.group-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.group-tabs button {
  height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255,255,255,.02);
  color: #bfb4a4;
}
.group-tabs button.active {
  border-color: rgba(218,157,48,.48);
  background: rgba(218,157,48,.12);
  color: #ffd36b;
}
.group-tabs b {
  margin-left: 6px;
  color: #f1c45b;
}
.group-search {
  position: relative;
  margin-bottom: 18px;
}
.group-search input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(201,145,43,.28);
  border-radius: 6px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
  padding: 0 40px 0 14px;
}
.group-search svg {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 18px;
  color: #8f8679;
}
.group-list-rows {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
}
.group-list-item {
  min-height: 70px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255,255,255,.018);
  padding: 10px 12px;
  text-align: left;
}
.group-list-item.active {
  border-color: rgba(218,157,48,.72);
  background: rgba(218,157,48,.10);
}
.group-list-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffd36b;
  background: radial-gradient(circle at 42% 30%, rgba(255,228,144,.28), rgba(156,91,12,.22));
}
.group-list-item b { color: #f6ead4; }
.group-list-item small { display: block; margin-top: 4px; color: #9d9589; }
.group-list-item em {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(218,157,48,.16);
  color: #ffd36b;
  font-size: 11px;
  font-style: normal;
}
.group-list-item .dots {
  color: #d9a13d;
  font-weight: 900;
}
.group-create-bottom {
  height: 52px;
  margin-top: 14px;
  border: 1px solid rgba(218,157,48,.40);
  border-radius: 6px;
  background: rgba(218,157,48,.06);
  color: #ffd36b;
  font-size: 16px;
  font-weight: 900;
}
.member-custom-groups {
  display: grid;
  gap: 14px;
}
.custom-group-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(218,157,48,.28);
  border-radius: 8px;
  background: radial-gradient(circle at 0 0, rgba(218,157,48,.13), rgba(255,255,255,.025) 46%, rgba(0,0,0,.04));
}
.custom-group-form label {
  display: grid;
  gap: 8px;
  color: #fff0d0;
  font-weight: 850;
}
.custom-group-form input,
.custom-group-form textarea {
  width: 100%;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 6px;
  background: rgba(255,255,255,.025);
  color: #f4ead8;
  outline: none;
}
.custom-group-form input {
  height: 40px;
  padding: 0 12px;
}
.custom-group-form textarea {
  height: 40px;
  min-height: 40px;
  resize: vertical;
  padding: 10px 12px;
}
.custom-group-form button,
.custom-group-row button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(218,157,48,.48);
  border-radius: 6px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #241600;
  font-weight: 900;
}
.custom-group-form button:disabled {
  opacity: .65;
  cursor: wait;
}
.custom-group-form svg,
.custom-group-row svg {
  width: 16px;
  height: 16px;
}
.custom-group-list-panel {
  overflow: hidden;
  border: 1px solid rgba(218,157,48,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.018);
}
.custom-group-list-panel header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(218,157,48,.18);
}
.custom-group-list-panel header b {
  color: #fff4d2;
  font-size: 16px;
}
.custom-group-list-panel header span {
  color: #9d9589;
  font-size: 13px;
}
.custom-group-list {
  max-height: min(420px, 50vh);
  overflow: auto;
  padding: 10px;
}
.custom-group-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 94px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(218,157,48,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}
.custom-group-row + .custom-group-row {
  margin-top: 8px;
}
.custom-group-row > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(218,157,48,.14);
  color: #ffd36b;
}
.custom-group-row b {
  color: #fff4d2;
  font-size: 15px;
}
.custom-group-row small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #9d9589;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-group-row button {
  min-height: 36px;
  background: rgba(255,80,80,.10);
  color: #ff8a8a;
}
.custom-group-empty {
  min-height: 110px;
  display: grid;
  place-items: center;
  color: #9d9589;
}
.custom-group-empty.error {
  color: #ff8a8a;
}
.group-detail-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}
.group-detail-hero {
  min-height: 170px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid rgba(201,145,43,.18);
}
.group-detail-hero > span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffd36b;
  background: radial-gradient(circle at 42% 30%, rgba(255,228,144,.28), rgba(156,91,12,.22));
}
.group-detail-hero svg { width: 42px; height: 42px; }
.group-detail-hero h3 {
  margin: 0 0 10px;
  color: #f6ead4;
  font-size: 22px;
}
.group-detail-hero em {
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(218,157,48,.38);
  border-radius: 999px;
  color: #ffd36b;
  font-size: 12px;
  font-style: normal;
}
.group-detail-hero p,
.group-detail-hero small {
  color: #9d9589;
}
.group-detail-hero small b {
  color: #ffd36b;
  font-weight: 800;
}
.group-detail-hero button {
  height: 38px;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 5px;
  background: rgba(218,157,48,.08);
  color: #f8d17d;
}
.group-detail-tabs {
  height: 56px;
  display: flex;
  align-items: end;
  gap: 34px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(201,145,43,.18);
}
.group-detail-tabs button {
  height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a99f90;
  font-size: 16px;
}
.group-detail-tabs button.active {
  color: #ffd36b;
  box-shadow: inset 0 -2px 0 #ffd36b;
}
.group-member-toolbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.group-member-toolbar span { color: #cfc4b3; }
.group-member-toolbar span b { color: #ffd36b; }
.group-member-toolbar div { display: flex; gap: 10px; }
.group-member-toolbar button {
  height: 40px;
  min-width: 108px;
  border: 1px solid rgba(218,157,48,.36);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #f8d17d;
}
.group-create-bottom svg,
.group-member-toolbar svg,
.group-page-head button svg { width: 16px; }
.group-member-table-scroll {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,.06);
  scrollbar-color: rgba(218,157,48,.58) rgba(255,255,255,.05);
}
.group-member-table-scroll::-webkit-scrollbar {
  height: 9px;
}
.group-member-table-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,.05);
}
.group-member-table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(218,157,48,.58);
}
.group-member-table {
  min-width: 1680px;
}
.group-member-table th,
.group-member-table td {
  height: 50px;
  padding: 0 12px;
  font-size: 13px;
}
.group-member-table th {
  height: 38px;
  color: #c7dfff;
  font-size: 13px;
}
.group-member-table .group-avatar {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.group-user-cell.compact {
  gap: 0;
}
.group-user-cell.compact b {
  font-size: 13px;
  line-height: 1.2;
}
.group-user-cell.compact small {
  font-size: 11px;
}
.group-growth {
  color: #f7d36d;
  font-weight: 800;
}

.strategy-market-view {
  min-height: 0;
}
.strategy-market-list-pane,
.strategy-market-detail-pane {
  min-height: 0;
  display: grid;
  gap: 12px;
}
.strategy-market-list-pane {
  grid-template-rows: auto auto minmax(0, 1fr);
}
.strategy-market-detail-pane {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}
.strategy-market-head,
.strategy-market-filters,
.strategy-market-table-card,
.strategy-detail-summary,
.strategy-detail-intro,
.strategy-detail-cards article,
.zone-strategy-card {
  border: 1px solid rgba(201,145,43,.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(218,157,48,.10), transparent 42%),
    rgba(12,12,12,.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.strategy-market-head {
  min-height: 106px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 22px 24px;
}
.strategy-market-head h2,
.strategy-detail-title h2 {
  margin: 0 0 10px;
  color: #ffd36b;
  font-size: 30px;
}
.strategy-market-head span {
  color: #b7ad9d;
}
.strategy-market-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 24px;
  padding-left: 28px;
  border-left: 1px solid rgba(218,157,48,.42);
}
.strategy-market-stats p {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 10px;
  margin: 0;
}
.strategy-market-stats svg {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 8px;
  color: #ffd36b;
  background: rgba(218,157,48,.16);
}
.strategy-market-stats span { color: #9d9589; font-size: 12px; }
.strategy-market-stats b { color: #f6ead4; font-size: 23px; }
.strategy-market-filters {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) repeat(4, minmax(150px, .7fr));
  gap: 12px;
  padding: 10px 14px;
}
.strategy-market-filters label { position: relative; }
.strategy-market-filters input,
.strategy-market-filters select {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(201,145,43,.25);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
  padding: 0 38px 0 14px;
}
.strategy-market-filters svg {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 17px;
  color: #9d9589;
}
.strategy-market-table-card {
  display: block;
  overflow: auto;
}
.strategy-market-table {
  width: 100%;
  border-collapse: collapse;
  height: max-content;
}
.strategy-market-table th,
.strategy-market-table td {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #d8cbb5;
  text-align: left;
  vertical-align: middle;
}
.strategy-market-table th {
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  color: #b9ae9e;
  background: rgba(255,255,255,.035);
  font-weight: 700;
}
.strategy-info-cell {
  min-width: 230px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 9px;
  align-items: center;
}
.strategy-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #231600;
  background: linear-gradient(135deg, #fff0bd, #c99131);
  font-weight: 900;
}
.strategy-info-cell b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f6ead4;
  font-size: 14px;
}
.strategy-info-cell em {
  padding: 1px 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #201400;
  font-size: 11px;
  font-style: normal;
}
.strategy-info-cell small {
  display: block;
  margin-top: 3px;
  color: #9d9589;
}
.strategy-type-pill {
  display: inline-flex;
  margin-top: 4px;
  padding: 1px 7px;
  border: 1px solid rgba(67,214,111,.28);
  border-radius: 5px;
  color: #49d276;
  background: rgba(67,214,111,.08);
  font-size: 11px;
}
.strategy-content-cell {
  min-width: 420px;
}
.strategy-content-cell b {
  display: block;
  margin-bottom: 4px;
  color: #f6ead4;
  font-size: 15px;
}
.strategy-content-cell b em {
  margin-left: 8px;
  padding: 1px 7px;
  border: 1px solid rgba(255, 193, 59, .55);
  border-radius: 999px;
  color: #ffc13b;
  background: rgba(255, 193, 59, .10);
  font-size: 12px;
  font-style: normal;
}
.strategy-content-cell p {
  margin: 0 0 5px;
  color: #b7ad9d;
  line-height: 1.3;
}
.strategy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.strategy-tags span {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 4px;
  color: #bfb4a4;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}
.strategy-score {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 90px;
}
.strategy-score b {
  color: #ffc13b;
  font-size: 22px;
}
.strategy-score span {
  color: #ffc13b;
  letter-spacing: 1px;
}
.strategy-score small { color: #9d9589; }
.strategy-users {
  min-width: 88px;
  text-align: center;
}
.strategy-users b {
  display: block;
  color: #f6ead4;
  font-size: 22px;
}
.strategy-users small { color: #b7ad9d; }
.strategy-actions {
  display: grid;
  gap: 5px;
  min-width: 128px;
}
.strategy-actions button,
.strategy-detail-actions button,
.strategy-detail-title button {
  height: 28px;
  border: 1px solid rgba(218,157,48,.52);
  border-radius: 5px;
  color: #f8d17d;
  background: rgba(255,255,255,.025);
  font-weight: 900;
}
.strategy-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.strategy-actions button svg {
  width: 14px;
}
.strategy-actions .buy,
.strategy-detail-actions .buy {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
}
.strategy-actions small {
  text-align: center;
  color: #b7ad9d;
  font-size: 12px;
}
.strategy-market-pagination {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  color: #b7ad9d;
}
.strategy-market-pagination div {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.strategy-market-pagination button,
.strategy-market-pagination select {
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(201,145,43,.30);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
}
.strategy-market-pagination button.active {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}
.strategy-detail-title {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.strategy-detail-title h2 {
  margin: 0;
}
.strategy-detail-title button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
}
.strategy-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr);
  gap: 12px;
}
.strategy-detail-summary {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px;
  min-height: 250px;
  padding: 22px;
}
.strategy-detail-icon {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffd36b;
  background:
    radial-gradient(circle, rgba(218,157,48,.18), transparent 64%),
    rgba(218,157,48,.08);
  border: 1px solid rgba(218,157,48,.42);
}
.strategy-detail-icon svg { width: 62px; height: 62px; }
.strategy-detail-main h3 {
  margin: 0 0 12px;
  color: #f6ead4;
  font-size: 24px;
}
.strategy-detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(201,145,43,.18);
}
.strategy-detail-metrics p {
  margin: 0;
  padding: 16px 18px;
  border-left: 1px solid rgba(201,145,43,.18);
}
.strategy-detail-metrics p:first-child { border-left: 0; }
.strategy-detail-metrics span,
.strategy-detail-metrics small,
.strategy-detail-metrics em { display: block; color: #9d9589; font-style: normal; }
.strategy-detail-metrics b { color: #ffc13b; font-size: 28px; }
.strategy-detail-author {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 54px 1fr repeat(4, minmax(92px, .7fr));
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(201,145,43,.18);
  padding-top: 12px;
}
.strategy-detail-author b { color: #f6ead4; }
.strategy-detail-author em {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #201400;
  font-size: 11px;
  font-style: normal;
}
.strategy-detail-author small,
.strategy-detail-author span { display: block; color: #9d9589; }
.strategy-detail-author p { margin: 0; text-align: center; }
.strategy-detail-author p b { color: #fff4d2; font-size: 18px; }
.strategy-detail-intro {
  min-height: 250px;
  padding: 22px;
}
.strategy-detail-intro h3,
.strategy-detail-intro h4 {
  color: #ffd36b;
  margin: 0 0 10px;
}
.strategy-detail-intro p {
  color: #cfc4b3;
  line-height: 1.6;
}
.strategy-detail-intro div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  border-top: 1px solid rgba(201,145,43,.18);
}
.strategy-detail-intro div p {
  margin: 0;
  padding-top: 16px;
}
.strategy-detail-intro span { display: block; color: #ffd36b; margin-bottom: 8px; }
.strategy-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.strategy-detail-cards article {
  min-height: 310px;
  padding: 20px;
}
.strategy-detail-cards h3,
.zone-strategy-card h3 {
  margin: 0 0 14px;
  color: #ffd36b;
}
.strategy-detail-cards small { color: #c7b99f; }
.strategy-detail-cards li {
  margin: 8px 0;
  color: #cfc4b3;
}
.logic-chart,
.execution-chart {
  height: 135px;
  margin-top: 18px;
  border: 1px solid rgba(201,145,43,.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 46%, rgba(57,211,83,.45) 47% 49%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(255,255,255,.05) 27px),
    rgba(255,255,255,.018);
}
.logic-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.logic-chart span,
.execution-chart span {
  align-self: start;
  justify-self: start;
  margin: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #49d276;
  background: rgba(67,214,111,.08);
  font-size: 12px;
}
.logic-chart span:nth-child(2) { color: #ff7b70; background: rgba(255,75,85,.08); }
.condition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.condition-grid p {
  min-height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  color: #cfc4b3;
  background: rgba(255,255,255,.025);
}
.condition-grid b {
  padding: 5px 10px;
  border-radius: 5px;
  color: #55df82;
  background: rgba(67,214,111,.12);
}
.strategy-detail-cards footer {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(218,157,48,.38);
  border-radius: 6px;
  color: #ffd36b;
  background: rgba(218,157,48,.08);
}
.execution-chart {
  display: grid;
  align-content: center;
  gap: 16px;
  padding-left: 46%;
  background:
    linear-gradient(140deg, transparent 52%, rgba(57,211,83,.5) 53% 55%, transparent 56%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255,255,255,.05) 29px),
    rgba(255,255,255,.018);
}
.zone-strategy-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 250px 120px;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
}
.zone-strategy-card p {
  margin: 0;
  color: #cfc4b3;
  line-height: 1.6;
}
.zone-strategy-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
}
.zone-strategy-band span {
  min-height: 62px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #ffd36b;
  background: rgba(218,157,48,.14);
  border-left: 1px solid rgba(0,0,0,.28);
  font-weight: 900;
}
.zone-strategy-band span:first-child,
.zone-strategy-band span:nth-child(2) { color: #ff8a78; background: rgba(255,75,85,.22); }
.zone-strategy-band span:nth-child(4),
.zone-strategy-band span:nth-child(5) { color: #59df84; background: rgba(67,214,111,.18); }
.zone-strategy-band small {
  color: currentColor;
  opacity: .85;
  font-size: 11px;
}
.zone-wave {
  height: 82px;
  border: 1px solid rgba(201,145,43,.18);
  border-radius: 6px;
  background:
    radial-gradient(circle at 48% 68%, #ffd36b 0 5px, transparent 6px),
    linear-gradient(145deg, transparent 0 22%, rgba(67,214,111,.5) 23% 25%, transparent 26% 44%, rgba(255,193,59,.6) 45% 47%, transparent 48% 64%, rgba(255,75,85,.55) 65% 67%, transparent 68%),
    linear-gradient(90deg, rgba(67,214,111,.10), rgba(255,193,59,.10), rgba(255,75,85,.10));
}
.zone-strategy-card > button {
  min-height: 56px;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 5px;
  background: rgba(218,157,48,.08);
  color: #ffd36b;
  font-weight: 900;
}
.strategy-detail-actions {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.strategy-detail-actions span {
  color: #9d9589;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.strategy-detail-actions svg { width: 16px; }
.strategy-detail-actions div { display: flex; gap: 12px; }
.strategy-detail-actions button {
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
}
.strategy-detail-actions button:last-child {
  min-width: 230px;
}

.message-center-view {
  grid-template-rows: auto minmax(0, 1fr);
}

.message-layout {
  align-items: stretch;
  gap: 12px;
  min-height: 0;
}

.message-list-card {
  width: min(580px, 43%);
  min-width: 430px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.message-detail-card {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.message-filter-bar {
  gap: 14px;
  min-height: 62px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(201, 145, 43, .18);
}

.message-filter-bar button {
  height: 34px;
  border: 0;
  background: transparent;
  color: #bdb2a1;
  font-weight: 700;
}

.message-filter-bar button.active {
  color: #ffd36b;
  border-bottom: 2px solid #d9a13d;
}

.message-filter-bar b {
  color: #ff4b55;
  font-weight: 900;
}

.message-filter-bar select {
  margin-left: auto;
  width: 112px;
  border: 0;
  background: rgba(255, 255, 255, .02);
  color: #bdb2a1;
}

.message-setting-btn {
  width: 34px;
  display: grid !important;
  place-items: center;
}

.message-setting-btn svg { width: 18px; }

.message-list {
  min-height: 0;
  overflow: auto;
  padding: 8px;
}

.message-item {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #d8cbb5;
  text-align: left;
}

.message-item.active {
  border-color: rgba(210, 151, 44, .68);
  background: linear-gradient(90deg, rgba(92, 61, 20, .60), rgba(255,255,255,.025));
}

.message-item + .message-item {
  border-top: 1px solid rgba(255, 255, 255, .055);
}

.message-item-icon,
.message-detail-title > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 28%, rgba(255, 215, 122, .32), rgba(141, 83, 14, .25));
  color: #f2c767;
}

.message-item-icon.strategy { color: #c38cff; background: rgba(135, 76, 203, .18); }
.message-item-icon.account { color: #42d66b; background: rgba(66, 214, 107, .16); }
.message-item-icon.user { color: #78a8ff; background: rgba(85, 136, 255, .15); }
.message-item-icon.system { color: #ff6969; background: rgba(255, 91, 91, .16); }

.message-item h3 {
  margin: 0 0 7px;
  color: #f4ead8;
  font-size: 15px;
}

.message-item h3 em {
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(224, 166, 55, .55);
  border-radius: 4px;
  color: #f2c767;
  font-size: 11px;
  font-style: normal;
}

.message-item p {
  max-width: 350px;
  margin: 0;
  overflow: hidden;
  color: #9d9589;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.message-item time {
  align-self: start;
  color: #a89d8c;
  font-size: 12px;
}

.message-item.unread::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff414b;
  transform: translateY(-50%);
}

.message-pagination {
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  border-top: 1px solid rgba(201, 145, 43, .18);
  color: #9d9589;
  font-size: 13px;
}

.message-pagination div {
  display: flex;
  gap: 7px;
}

.message-pagination button,
.message-pagination input {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  color: #d8cbb5;
  text-align: center;
}

.message-pagination button.active {
  background: rgba(201, 145, 43, .28);
  color: #ffd36b;
}

.message-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-detail-head {
  justify-content: space-between;
  min-height: 124px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(201, 145, 43, .16);
}

.message-detail-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.message-detail-title h3 {
  margin: 0 0 8px;
  color: #ffd36b;
  font-size: 18px;
}

.message-detail-title h3 em {
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid rgba(224, 166, 55, .55);
  border-radius: 4px;
  color: #f2c767;
  font-size: 11px;
  font-style: normal;
}

.message-detail-title p {
  margin: 0;
  color: #9d9589;
  line-height: 1.6;
}

.message-detail-actions {
  gap: 10px;
}

.message-detail-actions button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #d8cbb5;
}

.message-detail-actions svg {
  width: 16px;
}

.message-detail-body {
  min-height: 0;
  overflow: auto;
  padding: 24px;
}

.message-detail-body > p {
  margin: 0 0 20px;
  color: #cfc4b3;
  line-height: 1.75;
}

.message-signal-box,
.message-mini-chart,
.message-tip {
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
}

.message-signal-box {
  padding: 16px 18px;
}

.message-signal-box h4 {
  margin: 0 0 18px;
  color: #f4ead8;
}

.message-signal-box > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.message-signal-box label {
  color: #9d9589;
  font-size: 12px;
}

.message-signal-box b {
  color: #f4ead8;
  font-size: 16px;
  font-weight: 500;
}

.message-signal-box .buy,
.message-signal-box .profit { color: #34db72; }
.message-signal-box .sell,
.message-signal-box .loss { color: #ff4b55; }

.message-mini-chart {
  position: relative;
  min-height: 266px;
  margin-top: 16px;
  padding: 15px 18px 18px;
  overflow: hidden;
}

.message-chart-head {
  display: flex;
  justify-content: space-between;
  color: #d8cbb5;
  font-size: 13px;
}

.message-candle-field {
  position: absolute;
  left: 22px;
  right: 70px;
  top: 72px;
  bottom: 34px;
  background:
    linear-gradient(0deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 40px, 80px 100%;
}

.message-candle-field i {
  position: absolute;
  bottom: var(--y);
  left: var(--x);
  width: 7px;
  height: var(--h);
  border-radius: 1px;
  background: #2bd26c;
}

.message-candle-field i::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -10px;
  width: 1px;
  height: calc(100% + 20px);
  background: currentColor;
}

.message-candle-field i.down {
  color: #ff4b55;
  background: #ff4b55;
}

.message-candle-field i.up {
  color: #2bd26c;
}

.message-chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9d9589;
  font-size: 13px;
}

.message-price-tags {
  position: absolute;
  right: 22px;
  top: 82px;
  bottom: 58px;
  width: 116px;
  pointer-events: none;
}

.message-price-tags b {
  position: absolute;
  right: 0;
  min-width: 108px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
}

.message-price-tags .take { top: 0; background: #3aaa62; }
.message-price-tags .entry { top: 48%; background: #38b56a; }
.message-price-tags .stop { bottom: 0; background: #d44848; }

.message-tip {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 18px;
  border-color: rgba(214, 154, 42, .28);
  background: rgba(92, 61, 20, .22);
}

.message-tip b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f2c767;
}

.message-tip svg {
  width: 17px;
}

.message-tip span {
  color: #cfc4b3;
  line-height: 1.6;
}

.message-action-row {
  gap: 14px;
  margin-top: 24px;
}

.message-action-row button {
  width: 180px;
  height: 46px;
  border: 1px solid rgba(211, 155, 57, .60);
  border-radius: 5px;
  background: transparent;
  color: #f2c767;
  font-size: 15px;
  font-weight: 800;
}

.message-action-row button:first-child {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
}

.communication-center-view {
  height: 100%;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: auto;
  color: #f6ead4;
}

.anchor-showcase-page {
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.anchor-dashboard {
  min-width: 1180px;
  display: grid;
  gap: 10px;
  padding: 0 2px 10px;
  color: #f4ead9;
}

.anchor-topline,
.anchor-summary-grid article,
.anchor-left,
.anchor-right > section,
.anchor-activity {
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 0, rgba(218, 157, 48, .12), transparent 35%),
    linear-gradient(145deg, rgba(17, 17, 15, .96), rgba(6, 8, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.anchor-topline {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
}

.anchor-topline span,
.anchor-topline p,
.anchor-summary-grid span,
.anchor-summary-grid em,
.anchor-card footer span,
.anchor-featured p,
.anchor-activity td,
.anchor-schedule-card small {
  color: #a99d89;
}

.anchor-topline h2 {
  display: inline;
  margin: 0 12px 0 0;
  color: #fff0b8;
  font-size: 26px;
}

.anchor-topline p {
  display: inline;
  margin: 0;
}

.anchor-topline label {
  width: min(420px, 38vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(218, 157, 48, .36);
  border-radius: 999px;
  background: rgba(3, 4, 5, .72);
  color: #cfa353;
}

.anchor-topline input,
.anchor-filters select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4ead9;
}

.anchor-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.anchor-summary-grid article {
  min-height: 86px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 2px 12px;
  align-content: center;
  padding: 14px 18px;
}

.anchor-summary-grid svg {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid rgba(255, 197, 74, .45);
  border-radius: 999px;
  color: #ffc84f;
  background: rgba(218, 157, 48, .08);
}

.anchor-summary-grid b {
  color: #fff8dc;
  font-size: 24px;
}

.anchor-summary-grid strong,
.anchor-activity span {
  color: #42d36c;
}

.anchor-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 12px;
  align-items: start;
}

.anchor-left,
.anchor-right {
  min-width: 0;
}

.anchor-left {
  padding: 10px;
}

.anchor-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  gap: 10px;
  margin-bottom: 10px;
}

.anchor-filters label {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 6px;
  background: rgba(5, 6, 7, .72);
  color: #a99d89;
  font-size: 13px;
}

.anchor-filters button,
.anchor-card-actions button,
.anchor-feature-profile button,
.anchor-load-more,
.anchor-rank-card button,
.anchor-schedule-card button,
.anchor-activity button {
  border: 1px solid rgba(218, 157, 48, .44);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 800;
}

.anchor-filters button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.anchor-filters .anchor-add-host-btn {
  font-size: 13px;
}

.anchor-filters .anchor-add-host-btn svg {
  width: 16px;
  height: 16px;
}

.anchor-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.anchor-card {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(218, 157, 48, .26);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(24, 24, 22, .95), rgba(8, 9, 9, .98));
}

.anchor-card-cover,
.anchor-feature-cover {
  position: relative;
  height: 98px;
  overflow: hidden;
  border-radius: 6px;
  background: #0a0b0c;
}

.anchor-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .55)),
    radial-gradient(circle at 26% 48%, rgba(255, 193, 64, .42), transparent 25%),
    linear-gradient(135deg, #16110a, #040506 58%, #14100a);
}

.anchor-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 182, 50, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 182, 50, .10) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .32;
}

.anchor-visual span {
  position: absolute;
  left: 18px;
  bottom: 22px;
  width: 110px;
  height: 52px;
  border-radius: 58% 42% 46% 54%;
  background: linear-gradient(145deg, #b87616, #ffd474 46%, #6d3f0e);
  box-shadow: 0 12px 34px rgba(245, 156, 34, .24);
}

.anchor-visual span::before,
.anchor-visual span::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 42px;
  height: 30px;
  border: 5px solid #d89528;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.anchor-visual span::before { left: 8px; transform: rotate(-28deg); }
.anchor-visual span::after { right: -2px; transform: rotate(28deg); }

.anchor-visual i {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 46%;
  height: 58px;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(218, 157, 48, .88) 9% 12%, transparent 12% 23%, rgba(218, 157, 48, .75) 23% 26%, transparent 26% 38%, rgba(218, 157, 48, .95) 38% 41%, transparent 41% 54%, rgba(218, 157, 48, .7) 54% 57%, transparent 57% 70%, rgba(218, 157, 48, .92) 70% 73%, transparent 73%);
}

.anchor-visual b {
  position: absolute;
  right: 14px;
  top: 20px;
  width: 36%;
  height: 40%;
  border-top: 2px solid rgba(255, 196, 72, .62);
  border-right: 2px solid rgba(255, 196, 72, .38);
  transform: skewX(-18deg);
}

.anchor-visual-ai span {
  left: 46%;
  top: 22px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, #4bd7ff, #155d91 52%, #041824);
}

.anchor-visual-ai span::before,
.anchor-visual-ai span::after { display: none; }

.anchor-visual-globe span {
  left: 44%;
  top: 18px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffdc83, #a56b16 52%, #2a1604);
}

.anchor-visual-globe span::before,
.anchor-visual-globe span::after,
.anchor-visual-chart span::before,
.anchor-visual-chart span::after,
.anchor-visual-gold span::before,
.anchor-visual-gold span::after,
.anchor-visual-lighthouse span::before,
.anchor-visual-lighthouse span::after { display: none; }

.anchor-visual-chart span,
.anchor-visual-gold span,
.anchor-visual-lighthouse span {
  width: 42%;
  height: 46px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #0e6ba8, #042033);
}

.anchor-visual-gold span { background: linear-gradient(180deg, #ffcd66, #5b3910); }
.anchor-visual-lighthouse span { background: linear-gradient(180deg, #bf7050, #20140e); }

.anchor-card-cover em,
.anchor-card-cover small,
.anchor-feature-cover span,
.anchor-feature-cover small {
  position: absolute;
  z-index: 1;
}

.anchor-card-cover em {
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(90, 93, 96, .85);
  color: #f4ead9;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.anchor-card-cover em.live,
.anchor-feature-cover span,
.anchor-schedule-card strong {
  background: #e6291e;
  color: #fff;
}

.anchor-card-cover small {
  top: 9px;
  right: 9px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #fff;
}

.anchor-card-cover svg,
.anchor-card-profile svg,
.anchor-feature-profile svg { width: 14px; }

.anchor-card-profile,
.anchor-feature-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -8px;
  padding: 0 4px;
  position: relative;
  z-index: 2;
}

.anchor-card-profile > span,
.anchor-feature-profile > span,
.anchor-rank-card p > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border: 2px solid rgba(255, 226, 158, .9);
  border-radius: 999px;
  background: linear-gradient(180deg, #f5f6f8, #cfd7df);
  color: #171717;
  font-weight: 900;
}

.anchor-card-profile h3,
.anchor-feature-profile h4 {
  margin: 0;
  color: #fff7df;
  font-size: 16px;
}

.anchor-card-profile p,
.anchor-feature-profile p {
  display: flex;
  gap: 5px;
  margin: 4px 0 0;
}

.anchor-card-profile b,
.anchor-feature-profile b {
  padding: 2px 6px;
  border: 1px solid rgba(218, 157, 48, .46);
  border-radius: 4px;
  color: #ffd36b;
  font-size: 11px;
}

.anchor-card footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 4px 8px;
  border-bottom: 1px solid rgba(218, 157, 48, .16);
  font-size: 12px;
}

.anchor-card footer b {
  display: block;
  color: #fff2bd;
}

.anchor-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
}

.anchor-card-actions button,
.anchor-load-more {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.anchor-card-actions button:first-child {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.anchor-load-more {
  width: 210px;
  margin: 12px auto 0;
  background: rgba(218, 157, 48, .08);
}

.anchor-right {
  display: grid;
  gap: 10px;
}

.anchor-featured {
  padding: 12px;
}

.anchor-featured h3,
.anchor-rank-card h3,
.anchor-schedule-card h3,
.anchor-activity h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #ffe39a;
  font-size: 16px;
}

.anchor-feature-cover {
  height: 150px;
  margin-top: 10px;
}

.anchor-feature-cover button {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 210, 95, .75);
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  transform: translate(-50%, -50%);
}

.anchor-feature-cover button svg {
  width: 30px;
  height: 30px;
}

.anchor-feature-cover span {
  right: 72px;
  top: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.anchor-feature-cover small {
  right: 12px;
  top: 13px;
}

.anchor-feature-profile {
  margin-top: 10px;
}

.anchor-feature-profile > span {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.anchor-feature-profile > div {
  flex: 1;
  min-width: 0;
}

.anchor-feature-profile button {
  height: 32px;
  min-width: 70px;
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.anchor-feature-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 12px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(218, 157, 48, .16);
  border-bottom: 1px solid rgba(218, 157, 48, .16);
}

.anchor-feature-stats span {
  display: grid;
  gap: 4px;
  padding: 0 8px;
  border-left: 1px solid rgba(218, 157, 48, .16);
  color: #a99d89;
  font-size: 12px;
}

.anchor-feature-stats span:first-child {
  border-left: 0;
}

.anchor-feature-stats b {
  color: #ffd36b;
  font-size: 16px;
}

.anchor-featured p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.anchor-featured p b {
  margin-right: 8px;
  color: #f6ead4;
}

.anchor-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.anchor-rank-card,
.anchor-schedule-card {
  min-width: 0;
  padding: 12px;
}

.anchor-rank-card header,
.anchor-schedule-card header,
.anchor-activity header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.anchor-rank-card button,
.anchor-schedule-card button,
.anchor-activity button {
  border: 0;
  background: transparent;
  color: #ffd36b;
}

.anchor-rank-card p,
.anchor-schedule-card p {
  display: grid;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin: 7px 0 0;
}

.anchor-rank-card p {
  grid-template-columns: 22px 28px minmax(0, 1fr) auto;
}

.anchor-rank-card p em,
.anchor-schedule-card p em {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(218, 157, 48, .44);
  border-radius: 999px;
  color: #ffd36b;
  font-size: 12px;
  font-style: normal;
}

.anchor-rank-card p > span {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  border-width: 1px;
  font-size: 11px;
}

.anchor-rank-card p b,
.anchor-schedule-card p b {
  min-width: 0;
  overflow: hidden;
  color: #f4ead9;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.anchor-rank-card strong {
  color: #d8c9ac;
  font-size: 12px;
}

.anchor-schedule-card p {
  grid-template-columns: 24px minmax(0, 1fr) 46px;
}

.anchor-schedule-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.anchor-schedule-card strong {
  justify-self: end;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
}

.anchor-schedule-card p:nth-of-type(n + 3) strong {
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
}

.anchor-activity {
  padding: 10px 14px;
}

.anchor-activity table {
  width: 100%;
  border-collapse: collapse;
}

.anchor-activity th,
.anchor-activity td {
  padding: 8px 10px;
  border-top: 1px solid rgba(218, 157, 48, .13);
  text-align: left;
  font-size: 13px;
}

.anchor-activity th {
  color: #bcae92;
  font-weight: 500;
}

.anchor-activity span {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(66, 211, 108, .16);
}

.anchor-showcase-page {
  height: 100%;
  min-height: 0;
  overflow: auto;
  background:
    radial-gradient(circle at 48% 4%, rgba(218, 157, 48, .12), transparent 28%),
    linear-gradient(135deg, rgba(2, 8, 11, .96), rgba(3, 4, 5, .98));
}

.anchor-dashboard {
  min-width: 1410px;
  gap: 10px;
  padding: 0 6px 10px;
}

.anchor-topline {
  min-height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.anchor-topline h2 {
  color: #fff5ce;
  font-size: 25px;
}

.anchor-topline label {
  width: 438px;
  height: 40px;
  border-color: rgba(218, 157, 48, .38);
  background: rgba(4, 6, 8, .84);
}

.anchor-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.anchor-summary-grid article {
  min-height: 96px;
  grid-template-columns: 62px minmax(0, 1fr);
  padding: 14px 24px;
  border-color: rgba(218, 157, 48, .42);
  border-radius: 7px;
}

.anchor-summary-grid article > img {
  grid-row: span 3;
  align-self: center;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.asset-icon {
  grid-row: span 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(239, 185, 76, .38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 219, 128, .26), transparent 44%),
    linear-gradient(135deg, rgba(95, 68, 22, .72), rgba(12, 12, 10, .88));
  color: #ffd86f;
  box-shadow: 0 0 20px rgba(210, 144, 32, .12), inset 0 0 16px rgba(255, 209, 93, .08);
  overflow: hidden;
}

.hot-topic-metrics .asset-icon,
.anchor-summary-grid .asset-icon {
  color: #ffd86f;
}

.asset-icon img,
.asset-icon b {
  grid-area: 1 / 1;
}

.asset-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.asset-icon img:not(.is-broken) + b {
  opacity: 0;
}

.asset-icon img.is-broken {
  display: none;
}

.asset-icon b {
  z-index: 1;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .58);
}

.anchor-summary-grid b {
  font-size: 26px;
}

.anchor-main-grid {
  grid-template-columns: minmax(0, 910px) 488px;
  gap: 20px;
  align-items: start;
}

.anchor-left {
  padding: 10px 10px 8px;
  border-color: rgba(218, 157, 48, .42);
  border-radius: 7px;
}

.anchor-filters {
  grid-template-columns: 168px 168px 150px 170px 114px;
  gap: 12px;
  margin-bottom: 10px;
}

.anchor-filters label {
  height: 36px;
  border-radius: 5px;
  background: rgba(5, 7, 8, .78);
}

.anchor-filters button {
  height: 36px;
}

.anchor-card-grid {
  grid-template-columns: repeat(3, 291px);
  justify-content: space-between;
  gap: 10px 12px;
}

.anchor-card-image {
  width: 291px;
  height: 225px;
  min-height: 0;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.anchor-card-image img {
  display: block;
  width: 291px;
  height: 225px;
  object-fit: contain;
}

.anchor-card-live-hit {
  position: absolute;
  left: 16px;
  bottom: 6px;
  z-index: 3;
  width: 128px;
  height: 28px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.anchor-card-live-hit:focus-visible {
  outline: 2px solid #ffd36b;
  outline-offset: 2px;
}

.anchor-live-page {
  height: 100%;
  min-height: 0;
  overflow: auto;
  background:
    radial-gradient(circle at 34% 4%, rgba(218, 157, 48, .10), transparent 30%),
    linear-gradient(135deg, rgba(4, 6, 8, .97), rgba(6, 5, 4, .98));
}

.anchor-live-shell {
  min-width: 1360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  padding: 16px 20px 22px;
}

.anchor-live-main,
.anchor-live-side {
  min-width: 0;
}

.anchor-live-back {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  border: 1px solid rgba(218, 157, 48, .35);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #f5d48a;
  font-weight: 800;
}

.anchor-live-back svg {
  width: 16px;
  height: 16px;
}

.anchor-live-player,
.anchor-live-profile,
.anchor-live-comments,
.anchor-live-related,
.anchor-live-lessons {
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0, rgba(218, 157, 48, .10), transparent 36%),
    rgba(16, 16, 15, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.anchor-live-player {
  overflow: hidden;
}

.anchor-live-cover {
  position: relative;
  height: min(510px, calc(100vh - 340px));
  min-height: 420px;
  overflow: hidden;
  background: #090909;
}

.anchor-live-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.06) contrast(1.08);
}

.anchor-live-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .78)),
    radial-gradient(circle at 50% 42%, transparent 0 85px, rgba(0, 0, 0, .08) 86px);
  pointer-events: none;
}

.anchor-live-play {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  transform: translate(-50%, -50%);
}

.anchor-live-play svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
  transform: translateX(3px);
}

.anchor-live-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 52px;
  z-index: 2;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
}

.anchor-live-progress span {
  display: block;
  width: 27%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd36b, #d99c30);
}

.anchor-live-progress i {
  position: absolute;
  left: calc(27% - 6px);
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffd36b;
  transform: translateY(-50%);
}

.anchor-live-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: #f4ead8;
  font-size: 13px;
}

.anchor-live-controls span {
  display: flex;
  align-items: center;
  gap: 18px;
}

.anchor-live-controls svg {
  width: 20px;
  height: 20px;
}

.anchor-live-titlebar {
  padding: 16px 2px 12px;
}

.anchor-live-titlebar h2 {
  margin: 0 0 10px;
  color: #fff4d0;
  font-size: 22px;
}

.anchor-live-titlebar div {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #928879;
  font-size: 13px;
}

.anchor-live-titlebar button,
.anchor-live-titlebar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #a69a88;
}

.anchor-live-titlebar button svg,
.anchor-live-titlebar span svg {
  width: 16px;
  height: 16px;
  color: #d8a13a;
}

.anchor-live-titlebar time {
  margin-left: auto;
}

.anchor-live-lessons {
  overflow: hidden;
}

.anchor-live-lessons nav,
.anchor-live-comments nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 46px;
  border-bottom: 1px solid rgba(218, 157, 48, .22);
  background: rgba(255, 255, 255, .025);
}

.anchor-live-lessons nav button,
.anchor-live-comments nav button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #9d9282;
  font-size: 15px;
  font-weight: 700;
}

.anchor-live-lessons nav button.active,
.anchor-live-comments nav button.active {
  border-bottom-color: #ffd36b;
  color: #ffd36b;
}

.anchor-live-lessons p {
  min-height: 42px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #a99e8e;
}

.anchor-live-lessons p.active {
  background: linear-gradient(90deg, rgba(242, 181, 66, .24), rgba(242, 181, 66, .06));
  color: #ffe7a7;
}

.anchor-live-lessons p span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f1c45b;
}

.anchor-live-lessons p svg {
  width: 18px;
  height: 18px;
}

.anchor-live-lessons p b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.anchor-live-lessons p em {
  margin-left: 10px;
  padding: 1px 6px;
  border: 1px solid rgba(218, 157, 48, .65);
  border-radius: 4px;
  color: #ffd36b;
  font-size: 11px;
  font-style: normal;
}

.anchor-live-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.anchor-live-profile,
.anchor-live-comments,
.anchor-live-related {
  padding: 14px;
}

.anchor-live-profile header {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.anchor-live-avatar,
.anchor-live-comment-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #e7c07b, #303842);
  color: #15100a;
  font-weight: 900;
}

.anchor-live-avatar {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(239, 185, 76, .45);
  font-size: 28px;
}

.anchor-live-profile h3 {
  margin: 0 0 6px;
  color: #fff2cf;
  font-size: 18px;
}

.anchor-live-profile h3 em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(218, 157, 48, .2);
  color: #ffde81;
  font-size: 11px;
  font-style: normal;
}

.anchor-live-profile h3 svg {
  width: 13px;
  height: 13px;
}

.anchor-live-profile p,
.anchor-live-related p,
.anchor-live-comments small {
  color: #a79c8d;
  line-height: 1.55;
}

.anchor-live-profile footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.anchor-live-profile footer button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(218, 157, 48, .52);
  border-radius: 7px;
  background: transparent;
  color: #ffd36b;
  font-size: 15px;
  font-weight: 850;
}

.anchor-live-profile footer button:first-child {
  background: linear-gradient(180deg, #ffdd79, #d49b36);
  color: #201000;
}

.anchor-live-comments {
  padding: 0;
  overflow: hidden;
}

.anchor-live-comments div {
  display: grid;
  gap: 0;
  padding: 10px 14px 0;
}

.anchor-live-comments p {
  position: relative;
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0 10px;
  margin: 0;
  padding: 8px 0;
}

.anchor-live-comment-avatar {
  grid-row: 1 / 4;
  width: 40px;
  height: 40px;
  color: #fff1ca;
  background: linear-gradient(180deg, #6f7e8b, #25313a);
}

.anchor-live-comments b {
  color: #f2e6d2;
}

.anchor-live-comments b em {
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(218, 157, 48, .2);
  color: #ffd36b;
  font-size: 10px;
  font-style: normal;
}

.anchor-live-comments small {
  grid-column: 2 / 4;
}

.anchor-live-comments time {
  color: #756d62;
}

.anchor-live-comments strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c7b99e;
  font-size: 12px;
}

.anchor-live-comments strong svg {
  width: 14px;
  height: 14px;
}

.anchor-live-comments > button {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
  color: #c99839;
}

.anchor-live-related header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.anchor-live-related h3 {
  margin: 0;
  color: #ffd36b;
}

.anchor-live-related header button {
  border: 0;
  background: transparent;
  color: #c99839;
}

.anchor-live-related article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.anchor-live-related article div {
  position: relative;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 5px;
  background: #090909;
}

.anchor-live-related img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anchor-live-related article div span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .72);
  color: #fff0c8;
  font-size: 11px;
}

.anchor-live-related p {
  margin: 0;
}

.anchor-live-related p b,
.anchor-live-related p em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anchor-live-related p b {
  color: #f0e3cc;
  font-size: 13px;
}

.anchor-live-related p em {
  color: #8d8274;
  font-size: 12px;
  font-style: normal;
}

.anchor-load-more {
  width: 214px;
  height: 28px;
  margin-top: 8px;
  border: 0;
  background: rgba(13, 15, 14, .92);
  color: #dba23e;
}

.anchor-right {
  gap: 10px;
}

.anchor-featured {
  width: 488px;
  min-height: 436px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.anchor-featured > img {
  display: block;
  width: 488px;
  height: 436px;
  object-fit: contain;
}

.anchor-side-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.anchor-rank-card,
.anchor-schedule-card {
  min-height: 213px;
  padding: 12px 14px;
  border-color: rgba(218, 157, 48, .42);
  border-radius: 7px;
}

.anchor-rank-card h3,
.anchor-schedule-card h3,
.anchor-activity h3 {
  color: #ffd36b;
}

.anchor-rank-card p,
.anchor-schedule-card p {
  min-height: 32px;
}

.anchor-activity {
  padding: 8px 14px;
  border-color: rgba(218, 157, 48, .42);
  border-radius: 7px;
}

.anchor-activity th,
.anchor-activity td {
  padding: 6px 10px;
}

.communication-placeholder {
  display: grid;
  gap: 12px;
}

.communication-empty-workbench {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(22, 17, 9, .92), rgba(10, 9, 7, .96));
  color: #a99d89;
  text-align: center;
}

.communication-empty-workbench svg {
  width: 54px;
  height: 54px;
  color: #ffd36b;
}

.communication-empty-workbench h3 {
  margin: 0;
  color: #ffe39a;
}

.hot-topic-page {
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.hot-topic-dashboard {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 0 2px 10px;
  color: #f3ebdc;
}

.hot-topic-head,
.hot-topic-metrics article,
.hot-topic-list-card,
.hot-topic-detail,
.hot-topic-sidebar > section,
.hot-topic-activity {
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 0, rgba(218, 157, 48, .10), transparent 34%),
    linear-gradient(145deg, rgba(21, 22, 20, .96), rgba(6, 7, 8, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.hot-topic-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px;
}

.hot-topic-head span {
  color: #9d9485;
}

.hot-topic-head h2 {
  display: inline;
  margin: 0 18px 0 0;
  color: #fff4c8;
  font-size: 24px;
}

.hot-topic-head p {
  display: inline;
  margin: 0;
  color: #9e968a;
}

.hot-topic-head label {
  width: 320px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 999px;
  background: rgba(5, 6, 7, .84);
  color: #d5a84a;
}

.hot-topic-head input,
.hot-topic-filters select,
.hot-topic-comment-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f3ebdc;
}

.hot-topic-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hot-topic-metrics article {
  min-height: 76px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 2px 12px;
  align-content: center;
  padding: 12px 20px;
}

.hot-topic-metrics svg {
  grid-row: span 3;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(255, 197, 74, .42);
  border-radius: 999px;
  color: #ffc547;
  background: rgba(218, 157, 48, .08);
}

.hot-topic-metrics span,
.hot-topic-metrics em,
.hot-topic-item footer,
.hot-topic-author,
.hot-topic-comments time,
.hot-topic-comments strong,
.hot-topic-activity td,
.hot-topic-users em,
.hot-topic-rank span {
  color: #a79d8d;
}

.hot-topic-metrics b {
  color: #fff2be;
  font-size: 28px;
}

.hot-topic-metrics strong {
  color: #3fd36f;
}

.hot-topic-main {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr) 330px;
  gap: 12px;
  align-items: stretch;
  min-height: 0;
}

.hot-topic-list-card,
.hot-topic-detail,
.hot-topic-sidebar {
  min-width: 0;
}

.hot-topic-list-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}

.hot-topic-list-card > nav {
  display: flex;
  gap: 8px;
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(218, 157, 48, .14);
}

.hot-topic-list-card > nav button,
.hot-topic-filters button,
.hot-topic-item button,
.hot-topic-detail > header button,
.hot-topic-actions button,
.hot-topic-comments header button,
.hot-topic-comment-box button,
.hot-topic-sidebar header button,
.hot-topic-tags button,
.hot-topic-activity header button {
  border: 1px solid rgba(218, 157, 48, .38);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 800;
}

.hot-topic-list-card > nav button {
  height: 30px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  color: #bdb4a4;
}

.hot-topic-list-card > nav button.active,
.hot-topic-list-card > nav button:hover {
  color: #ffd36b;
  border-bottom-color: #d99a24;
}

.hot-topic-filters {
  display: grid;
  grid-template-columns: auto 1fr 90px auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  color: #a79d8d;
  font-size: 13px;
}

.hot-topic-filters select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(218, 157, 48, .24);
  border-radius: 5px;
  background: rgba(5, 6, 7, .74);
}

.hot-topic-filters button {
  height: 34px;
  padding: 0 16px;
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.hot-topic-list {
  min-height: 0;
  overflow: auto;
  padding: 0 10px 10px;
}

.hot-topic-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid transparent;
  border-top-color: rgba(218, 157, 48, .13);
}

.hot-topic-item.active,
.hot-topic-item:hover {
  border-color: rgba(218, 157, 48, .48);
  border-radius: 6px;
  background: rgba(218, 157, 48, .055);
}

.hot-topic-thumb {
  position: relative;
  height: 92px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255, 203, 82, .20);
  background:
    radial-gradient(circle at 15% 15%, rgba(218, 157, 48, .20), transparent 38%),
    rgba(0, 0, 0, .46);
}

.hot-topic-thumb .anchor-visual {
  transform: scale(.8);
  transform-origin: center;
}

.topic-visual {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(218, 157, 48, .18), transparent 38%),
    linear-gradient(145deg, rgba(26, 22, 14, .96), rgba(4, 6, 7, .98));
}

.topic-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.topic-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .20), transparent 36%, rgba(0, 0, 0, .12));
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .16);
}

.topic-visual b {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  padding: 8px;
  color: #ffd36b;
  font-size: 13px;
  text-align: center;
}

.topic-visual.is-broken b {
  display: grid;
}

.topic-visual-hero img {
  object-fit: cover;
  object-position: center center;
}

.hot-topic-thumb em {
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff0a6, #d99a24);
  color: #1f1505;
  font-style: normal;
  font-weight: 900;
}

.hot-topic-item header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hot-topic-item h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #f6ead4;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hot-topic-item button {
  height: 30px;
  padding: 0 10px;
}

.hot-topic-item p,
.hot-topic-detail header p {
  display: flex;
  gap: 5px;
  margin: 6px 0;
}

.hot-topic-item p span,
.hot-topic-detail header p span {
  padding: 2px 6px;
  border: 1px solid rgba(66, 149, 255, .28);
  border-radius: 4px;
  color: #76aaff;
  background: rgba(42, 106, 255, .10);
  font-size: 12px;
}

.hot-topic-item footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.hot-topic-item footer b {
  color: #e7ddcc;
}

.hot-topic-item footer small,
.hot-topic-author small,
.hot-topic-comments small,
.hot-topic-users small,
.hot-topic-activity b {
  padding: 1px 5px;
  border: 1px solid rgba(218, 157, 48, .35);
  border-radius: 4px;
  color: #ffd36b;
  font-size: 11px;
}

.hot-topic-item footer svg {
  width: 13px;
  color: #ff5e2e;
}

.hot-topic-detail {
  display: grid;
  grid-template-rows: 104px auto auto auto auto minmax(0, 1fr);
  overflow: hidden;
}

.hot-topic-hero {
  position: relative;
  overflow: hidden;
  margin: 10px 12px 0;
  border-radius: 6px;
  min-height: 82px;
  border: 1px solid rgba(218, 157, 48, .28);
  background: rgba(0, 0, 0, .32);
}

.hot-topic-detail > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 0;
}

.hot-topic-detail > header em {
  display: inline-flex;
  margin-right: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff0a6, #d99a24);
  color: #1f1505;
  font-style: normal;
  font-weight: 900;
}

.hot-topic-detail h3 {
  display: inline;
  margin: 0;
  color: #fff3c8;
  font-size: 26px;
}

.hot-topic-detail > header button {
  height: 36px;
  min-width: 116px;
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.hot-topic-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(218, 157, 48, .14);
}

.hot-topic-author b {
  color: #f7ead2;
}

.hot-topic-author svg {
  width: 15px;
  color: #ff5e2e;
}

.hot-topic-author strong,
.hot-topic-author span b {
  color: #ff6b43;
}

.hot-topic-excerpt {
  margin: 0;
  padding: 8px 14px 12px;
  color: #c9bea8;
  line-height: 1.6;
}

.hot-topic-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 14px 12px;
}

.hot-topic-actions button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hot-topic-actions button:first-child,
.hot-topic-actions button:last-child {
  background: rgba(218, 157, 48, .16);
}

.hot-topic-comments {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: auto;
  border-top: 1px solid rgba(218, 157, 48, .15);
}

.hot-topic-comments header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.hot-topic-comments h4 {
  margin: 0;
  color: #efe4cf;
}

.hot-topic-comments p {
  display: grid;
  grid-template-columns: 28px auto auto minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 7px 14px;
  border-top: 1px solid rgba(218, 157, 48, .10);
}

.hot-topic-comments p > span,
.hot-topic-users p > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #eceff3, #c7d0dc);
  color: #111;
  font-weight: 900;
}

.hot-topic-comments p b {
  color: #f3eadb;
}

.hot-topic-comments p em {
  min-width: 0;
  overflow: hidden;
  color: #d1c6b3;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hot-topic-comments strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hot-topic-comments strong svg {
  width: 14px;
}

.hot-topic-comment-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px 32px 104px;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(218, 157, 48, .14);
}

.hot-topic-comment-box input {
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(218, 157, 48, .20);
  border-radius: 5px;
  background: rgba(5, 6, 7, .7);
}

.hot-topic-comment-box button:last-child {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.hot-topic-sidebar {
  display: grid;
  gap: 10px;
}

.hot-topic-sidebar > section {
  padding: 12px;
}

.hot-topic-sidebar header,
.hot-topic-activity header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hot-topic-sidebar h3,
.hot-topic-activity h3 {
  margin: 0;
  color: #fff1bd;
  font-size: 16px;
}

.hot-topic-sidebar header button,
.hot-topic-activity header button {
  border: 0;
  background: transparent;
}

.hot-topic-rank p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
}

.hot-topic-rank em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #3b3f42;
  color: #d9d0c0;
  font-style: normal;
  font-weight: 900;
}

.hot-topic-rank p:nth-of-type(-n + 3) em {
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.hot-topic-rank b {
  overflow: hidden;
  color: #d7cdbb;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hot-topic-rank span {
  display: inline-flex;
  gap: 4px;
}

.hot-topic-rank svg {
  width: 14px;
  color: #ff5e2e;
}

.hot-topic-users p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  margin: 10px 0 0;
}

.hot-topic-users b {
  color: #f1e7d8;
}

.hot-topic-users small {
  justify-self: start;
}

.hot-topic-users em {
  grid-row: 1 / span 2;
  grid-column: 3;
  font-style: normal;
  font-size: 12px;
}

.hot-topic-tags div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hot-topic-tags button {
  min-height: 30px;
  padding: 0 10px;
}

.hot-topic-activity {
  padding: 12px 14px;
}

.hot-topic-activity table {
  width: 100%;
  margin-top: 8px;
  border-collapse: collapse;
}

.hot-topic-activity th,
.hot-topic-activity td {
  padding: 7px 10px;
  border-top: 1px solid rgba(218, 157, 48, .12);
  text-align: left;
  font-size: 13px;
}

.hot-topic-activity th {
  color: #b7ab95;
  font-weight: 500;
}

.hot-topic-activity td span {
  color: #d99a24;
}

.hot-topic-page {
  height: 100%;
  min-height: 0;
  overflow: auto;
  background:
    radial-gradient(circle at 48% 6%, rgba(218, 157, 48, .12), transparent 28%),
    radial-gradient(circle at 78% 32%, rgba(218, 157, 48, .08), transparent 26%),
    linear-gradient(135deg, #050607 0%, #11100d 46%, #070706 100%);
}

.hot-topic-dashboard {
  min-width: 1450px;
  gap: 10px;
  padding: 0 8px 10px;
}

.hot-topic-head {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hot-topic-head h2 {
  color: #fff5ce;
  font-size: 22px;
}

.hot-topic-head label {
  width: 320px;
  height: 36px;
  border-color: rgba(218, 157, 48, .38);
  background: rgba(4, 6, 8, .84);
}

.hot-topic-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(218, 157, 48, .36);
  border-radius: 7px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 0, rgba(218, 157, 48, .10), transparent 38%),
    linear-gradient(145deg, rgba(21, 22, 20, .94), rgba(5, 7, 8, .98));
}

.hot-topic-metrics article {
  min-height: 76px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 12px 30px;
  border: 0;
  border-left: 1px solid rgba(218, 157, 48, .22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hot-topic-metrics article:first-child {
  border-left: 0;
}

.hot-topic-metrics article > img {
  grid-row: span 3;
  align-self: center;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.hot-topic-metrics b {
  font-size: 24px;
}

.hot-topic-assets-main {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(292px, 339px);
  gap: 12px;
  align-items: stretch;
  min-height: 560px;
  height: clamp(560px, calc(100vh - 388px), 660px);
}

.hot-topic-image-card,
.hot-topic-activity-image {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.hot-topic-image-card > img,
.hot-topic-activity-image > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hot-topic-assets-main .hot-topic-image-card {
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.hot-topic-assets-main .hot-topic-image-card > img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hot-topic-live-activity.hot-topic-activity-image {
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.hot-topic-live-activity.hot-topic-activity-image > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hot-topic-assets-main .hot-topic-list-card {
  grid-column: 1;
  width: 100%;
  max-width: none;
}

.hot-topic-assets-main .hot-topic-sidebar {
  grid-column: 2;
  justify-self: end;
  width: 100%;
  max-width: 339px;
}

.hot-topic-wide-list {
  border-color: rgba(218, 157, 48, .36);
  background:
    radial-gradient(circle at 10% 0, rgba(218, 157, 48, .12), transparent 30%),
    linear-gradient(145deg, rgba(18, 18, 16, .96), rgba(5, 6, 6, .98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .045),
    0 20px 48px rgba(0, 0, 0, .18);
}

.hot-topic-wide-list .hot-topic-list {
  display: grid;
  gap: 8px;
  padding: 10px 12px 14px;
}

.hot-topic-wide-list .hot-topic-item {
  grid-template-columns: 154px minmax(0, 1fr);
  min-height: 112px;
  padding: 10px 12px;
  border: 1px solid rgba(218, 157, 48, .12);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(218, 157, 48, .08), rgba(255, 255, 255, .015) 48%, rgba(0, 0, 0, .12));
}

.hot-topic-wide-list .hot-topic-item.active,
.hot-topic-wide-list .hot-topic-item:hover {
  border-color: rgba(255, 198, 83, .52);
  background:
    radial-gradient(circle at 0 20%, rgba(218, 157, 48, .16), transparent 34%),
    linear-gradient(90deg, rgba(218, 157, 48, .10), rgba(7, 8, 8, .72));
}

.hot-topic-wide-list .hot-topic-thumb {
  height: 92px;
  border: 1px solid rgba(218, 157, 48, .22);
  background: rgba(0, 0, 0, .24);
}

.hot-topic-wide-list .hot-topic-item h3 {
  font-size: 17px;
}

.hot-topic-wide-list .hot-topic-summary {
  display: -webkit-box;
  margin: 6px 0 8px;
  overflow: hidden;
  color: rgba(235, 225, 207, .68);
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hot-topic-wide-list .hot-topic-item footer {
  flex-wrap: wrap;
  gap: 7px 12px;
}

.hot-topic-wide-sidebar {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
}

.hot-topic-wide-sidebar > section {
  border-color: rgba(218, 157, 48, .34);
  background:
    radial-gradient(circle at 18% 0, rgba(218, 157, 48, .10), transparent 32%),
    linear-gradient(145deg, rgba(18, 19, 17, .94), rgba(5, 7, 8, .98));
}

.hot-topic-live-activity,
.hot-topic-activity-image {
  width: 100%;
  margin-top: -2px;
}

.hot-topic-live-activity {
  border-color: rgba(218, 157, 48, .34);
  background:
    radial-gradient(circle at 12% 0, rgba(218, 157, 48, .10), transparent 30%),
    linear-gradient(145deg, rgba(17, 18, 16, .96), rgba(5, 6, 6, .98));
}

.hot-topic-font-step {
  font-size: 13px;
}

.hot-topic-font-step .hot-topic-head h2 {
  font-size: 20px;
}

.hot-topic-font-step .hot-topic-head p,
.hot-topic-font-step .hot-topic-head span,
.hot-topic-font-step .hot-topic-head input,
.hot-topic-font-step .hot-topic-list-card > nav button,
.hot-topic-font-step .hot-topic-filters,
.hot-topic-font-step .hot-topic-item button,
.hot-topic-font-step .hot-topic-sidebar header button,
.hot-topic-font-step .hot-topic-tags button,
.hot-topic-font-step .hot-topic-activity header button {
  font-size: 12px;
}

.hot-topic-font-step .hot-topic-metrics span,
.hot-topic-font-step .hot-topic-metrics em {
  font-size: 13px;
}

.hot-topic-font-step .hot-topic-metrics b {
  font-size: 22px;
}

.hot-topic-font-step .hot-topic-item h3 {
  font-size: 15px;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-item h3 {
  font-size: 16px;
}

.hot-topic-font-step .hot-topic-summary,
.hot-topic-font-step .hot-topic-rank b,
.hot-topic-font-step .hot-topic-users b {
  font-size: 13px;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-item > div:last-child {
  min-width: 0;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-summary {
  display: block;
  margin: 4px 0 2px;
  overflow: hidden;
  color: rgba(235, 225, 207, .72);
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-item footer {
  margin-top: -3px;
  gap: 5px;
  font-size: 11px;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-item footer b,
.hot-topic-font-step .hot-topic-wide-list .hot-topic-item footer strong,
.hot-topic-font-step .hot-topic-wide-list .hot-topic-item footer time {
  font-size: 11px;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-item footer small {
  padding: 1px 4px;
  font-size: 10px;
}

.hot-topic-font-step .hot-topic-wide-list .hot-topic-item footer svg {
  width: 11px;
  height: 11px;
}

.hot-topic-font-step .hot-topic-sidebar h3,
.hot-topic-font-step .hot-topic-activity h3 {
  font-size: 15px;
}

.hot-topic-font-step .hot-topic-rank p,
.hot-topic-font-step .hot-topic-users p {
  font-size: 13px;
}

.hot-topic-font-step .hot-topic-activity th,
.hot-topic-font-step .hot-topic-activity td {
  font-size: 12px;
}

.hot-topic-font-step .hot-topic-item h3,
.hot-topic-font-step .hot-topic-rank h3,
.hot-topic-font-step .hot-topic-rank b,
.hot-topic-font-step .hot-topic-rank em,
.hot-topic-font-step .hot-topic-rank span,
.hot-topic-font-step .hot-topic-users h3,
.hot-topic-font-step .hot-topic-users b,
.hot-topic-font-step .hot-topic-users small,
.hot-topic-font-step .hot-topic-users em,
.hot-topic-font-step .hot-topic-users p > span,
.hot-topic-font-step .hot-topic-tags h3,
.hot-topic-font-step .hot-topic-tags button,
.hot-topic-font-step .hot-topic-sidebar header button {
  font-weight: 400;
}

@media (max-width: 980px) {
  .hot-topic-assets-main {
    grid-template-columns: minmax(340px, 1fr) minmax(260px, 339px);
  }

  .hot-topic-assets-main .hot-topic-sidebar {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .hot-topic-assets-main {
    grid-template-columns: 1fr;
  }

  .hot-topic-assets-main .hot-topic-list-card,
  .hot-topic-assets-main .hot-topic-sidebar {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
  }
}

.my-follow-dashboard {
  min-width: 1460px;
}

.my-follow-main {
  grid-template-columns: 430px minmax(0, 1fr) 330px;
}

.my-follow-list {
  padding-bottom: 0;
}

.follow-topic-item {
  grid-template-columns: 128px minmax(0, 1fr);
}

.follow-topic-item > div:last-child > em {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #9f978a;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.follow-card-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  color: #aaa091;
  font-size: 12px;
}

.follow-card-user b {
  color: #eadfcc;
}

.follow-card-user time {
  color: #8d8478;
}

.follow-load-more,
.follow-all-comments {
  height: 28px;
  margin: 0 12px 10px;
  border: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(218, 157, 48, .10);
  color: #d99a24;
  font-weight: 900;
}

.my-follow-detail {
  grid-template-rows: auto 104px auto auto auto auto minmax(0, 1fr);
}

.my-follow-detail > header {
  padding-top: 12px;
}

.follow-detail-actions {
  display: flex;
  gap: 8px;
}

.follow-detail-actions button {
  border: 1px solid rgba(218, 157, 48, .42);
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
}

.follow-author > span,
.follow-analyst-rank p > span,
.follow-recommend p > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(218, 157, 48, .45);
  border-radius: 999px;
  background: linear-gradient(180deg, #e7edf4, #c7d1dc);
  color: #151515;
  font-weight: 900;
}

.follow-author strong {
  margin-left: auto;
  color: #c7bca9;
  font-weight: 500;
}

.follow-author strong + strong {
  margin-left: 6px;
}

.follow-actions {
  grid-template-columns: repeat(4, 112px);
}

.follow-comments {
  grid-template-rows: auto auto minmax(0, auto) auto;
}

.follow-comments .hot-topic-comment-box {
  grid-row: 2;
  padding-top: 4px;
}

.follow-all-comments {
  justify-self: center;
  min-width: 180px;
  margin-top: 6px;
  border-radius: 6px;
}

.my-follow-sidebar {
  grid-template-rows: auto auto auto auto;
}

.follow-analyst-rank p {
  display: grid;
  grid-template-columns: 24px 36px minmax(0, 1fr) auto;
  gap: 4px 8px;
  align-items: center;
  margin: 10px 0 0;
}

.follow-analyst-rank p > em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #3b3f42;
  color: #d9d0c0;
  font-style: normal;
  font-weight: 900;
}

.follow-analyst-rank p:nth-of-type(-n + 3) > em {
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.follow-analyst-rank b,
.follow-recommend b {
  color: #f2e6d1;
}

.follow-analyst-rank small,
.follow-recommend small {
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid rgba(218, 157, 48, .35);
  border-radius: 4px;
  color: #ffd36b;
  font-size: 11px;
}

.follow-analyst-rank p > i {
  grid-column: 3;
  color: #8f8679;
  font-size: 12px;
  font-style: normal;
}

.follow-analyst-rank strong {
  grid-column: 4;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a79d8d;
  font-size: 12px;
  font-weight: 500;
}

.follow-analyst-rank strong svg {
  width: 13px;
  color: #ff5e2e;
}

.follow-timeline {
  position: relative;
}

.follow-timeline p {
  position: relative;
  display: grid;
  grid-template-columns: 14px 58px minmax(0, auto) auto;
  gap: 6px;
  align-items: center;
  margin: 10px 0 0;
  color: #a79d8d;
  font-size: 12px;
}

.follow-timeline p::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -11px;
  bottom: 12px;
  width: 1px;
  background: rgba(218, 157, 48, .28);
}

.follow-timeline p:first-of-type::before {
  top: 6px;
}

.follow-timeline em {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 2px solid #d99a24;
  border-radius: 999px;
  background: #111;
  font-style: normal;
}

.follow-timeline p:nth-of-type(3) em,
.follow-timeline p:nth-of-type(4) em {
  border-color: #3fd36f;
}

.follow-timeline p:nth-of-type(5) em {
  border-color: #e9507a;
}

.follow-timeline b {
  color: #e5d8c4;
}

.follow-timeline span {
  color: #8d8478;
}

.follow-timeline small {
  grid-column: 2 / -1;
  overflow: hidden;
  color: #c4b9a6;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.follow-tags button:last-child {
  border-style: dashed;
}

.follow-recommend p {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 72px;
  gap: 4px 8px;
  align-items: center;
  margin: 12px 0 0;
}

.follow-recommend em {
  grid-column: 2;
  color: #8f8679;
  font-size: 12px;
  font-style: normal;
}

.follow-recommend button {
  grid-column: 3;
  grid-row: 1 / span 2;
  height: 34px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 900;
}

.my-follow-activity td:last-child span {
  color: #31d066;
}

.video-manage-page {
  min-height: 0;
  height: 100%;
  overflow: auto;
}

.video-manage-dashboard {
  min-width: 1320px;
  display: grid;
  gap: 10px;
  padding: 0 2px 10px;
  color: #f3ebdc;
}

.video-manage-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.video-manage-head h2 {
  display: inline;
  margin: 0 18px 0 0;
  color: #fff4c8;
  font-size: 24px;
}

.video-manage-head p {
  display: inline;
  margin: 0;
  color: #9e968a;
}

.video-manage-head label {
  width: 320px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 999px;
  background: rgba(5, 6, 7, .84);
  color: #d5a84a;
}

.video-manage-head input,
.video-filter-row input,
.video-filter-row select,
.video-pager select,
.video-trend-panel select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f3ebdc;
}

.video-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.video-metric-grid article,
.video-list-card,
.video-panel,
.video-preview-card {
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 0, rgba(218, 157, 48, .10), transparent 34%),
    linear-gradient(145deg, rgba(21, 22, 20, .96), rgba(6, 7, 8, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.video-metric-grid article {
  min-height: 88px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 2px 12px;
  align-content: center;
  padding: 14px 18px;
}

.video-metric-grid svg {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  color: #ffc547;
}

.video-metric-grid span,
.video-metric-grid em,
.video-table td,
.video-preview-card dt,
.video-preview-card dd,
.video-recent-card small {
  color: #a79d8d;
}

.video-metric-grid b {
  color: #fff2be;
  font-size: 24px;
}

.video-metric-grid small {
  color: #d6cbb8;
  font-size: 15px;
}

.video-metric-grid strong {
  color: #40d875;
}

.video-metric-grid .down {
  color: #ff625e;
}

.video-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 12px;
  align-items: start;
}

.video-left-column {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.video-list-card {
  min-width: 0;
  overflow: hidden;
}

.video-list-card > header,
.video-panel > header,
.video-recent-card header,
.video-preview-card > header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(218, 157, 48, .15);
}

.video-list-card h3,
.video-panel h3,
.video-preview-card h3 {
  margin: 0;
  color: #fff1bd;
  font-size: 16px;
}

.video-list-card > header button,
.video-filter-row button,
.video-preview-card > header button,
.video-preview-card footer button,
.video-recent-card header button,
.video-pager button {
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 800;
}

.video-list-card > header button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.video-filter-row {
  display: grid;
  grid-template-columns: 220px 120px 120px 1fr 60px 60px;
  gap: 10px;
  padding: 12px 14px;
}

.video-filter-row label,
.video-filter-row select,
.video-filter-row div {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(218, 157, 48, .24);
  border-radius: 5px;
  background: rgba(5, 6, 7, .74);
  color: #a79d8d;
}

.video-filter-row div input {
  width: 88px;
}

.video-filter-row button {
  height: 34px;
}

.video-filter-row button:nth-last-child(2) {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.video-table-wrap {
  overflow: auto;
  padding: 0 14px;
}

.video-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.video-table th,
.video-table td {
  height: 42px;
  padding: 6px 8px;
  border-top: 1px solid rgba(218, 157, 48, .12);
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

.video-table th {
  color: #b9ad96;
  font-weight: 600;
  background: rgba(255, 255, 255, .035);
}

.video-table td b {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: #f3ebdc;
  text-overflow: ellipsis;
}

.video-thumb,
.video-mini-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #08090a;
  contain: paint;
}

.video-thumb {
  width: 62px;
  height: 34px;
}

.video-mini-thumb {
  width: 50px;
  height: 36px;
  flex: 0 0 50px;
}

.video-cover {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 199, 83, .18), transparent 42%),
    radial-gradient(circle at 78% 28%, rgba(235, 169, 48, .42), transparent 34%),
    linear-gradient(135deg, #101315, #050607 68%);
  isolation: isolate;
}

.video-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 191, 67, .08) 19px 20px),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, .48));
}

.video-cover span {
  position: absolute;
  left: 10%;
  right: 12%;
  bottom: 22%;
  height: 34%;
  border-bottom: 2px solid rgba(242, 181, 66, .78);
  transform: skewX(-20deg);
}

.video-cover span::before,
.video-cover span::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 28%;
  border-top: 2px solid rgba(255, 218, 122, .85);
}

.video-cover span::before {
  left: 0;
  transform: rotate(-24deg);
  transform-origin: left bottom;
}

.video-cover span::after {
  right: 0;
  transform: rotate(22deg);
  transform-origin: right bottom;
}

.video-cover i {
  position: absolute;
  right: 8%;
  bottom: 15%;
  width: 30%;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 205, 92, .95), rgba(122, 76, 16, .6));
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 78% 0, 78% 100%, 60% 100%, 60% 28%, 40% 28%, 40% 100%, 22% 100%, 22% 52%, 0 52%);
  opacity: .9;
}

.video-cover b {
  position: absolute;
  left: 12%;
  top: 16%;
  width: 42%;
  height: 18%;
  border-top: 2px solid rgba(226, 156, 36, .72);
  border-right: 2px solid rgba(226, 156, 36, .55);
  transform: skewX(-18deg);
}

.video-cover em {
  position: absolute;
  right: 3px;
  bottom: 3px;
  z-index: 1;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .68);
  color: #ffd36b;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.video-cover-ai {
  background:
    radial-gradient(circle at 52% 42%, rgba(37, 190, 255, .66), transparent 28%),
    radial-gradient(circle at 40% 44%, rgba(17, 82, 145, .7), transparent 38%),
    linear-gradient(135deg, #061628, #020508 72%);
}

.video-cover-ai span {
  left: 26%;
  right: 26%;
  top: 20%;
  bottom: auto;
  height: 52%;
  border: 1px solid rgba(93, 196, 255, .65);
  border-radius: 50%;
  transform: none;
}

.video-cover-ai span::before,
.video-cover-ai span::after {
  display: none;
}

.video-cover-ai i {
  background: linear-gradient(180deg, rgba(75, 165, 255, .9), rgba(21, 67, 132, .45));
}

.video-cover-gold {
  background:
    radial-gradient(circle at 28% 58%, rgba(255, 202, 94, .58), transparent 34%),
    linear-gradient(135deg, #2a1805, #050607 72%);
}

.video-cover-gold span {
  left: 16%;
  right: 38%;
  bottom: 20%;
  height: 34%;
  border: 0;
  background: linear-gradient(135deg, #f5c96d, #825113);
  clip-path: polygon(0 42%, 100% 0, 100% 64%, 0 100%);
}

.video-cover-gold span::before,
.video-cover-gold span::after {
  display: none;
}

.video-cover-globe {
  background:
    radial-gradient(circle at 50% 45%, rgba(229, 173, 65, .54), transparent 34%),
    linear-gradient(135deg, #241706, #050607 72%);
}

.video-cover-chart {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 212, 101, .34), transparent 24%),
    linear-gradient(135deg, #092342, #050607 68%);
}

.video-cover-lighthouse {
  background:
    radial-gradient(circle at 76% 32%, rgba(255, 183, 74, .38), transparent 24%),
    linear-gradient(135deg, #29170d, #08111a 70%);
}

.video-thumb .anchor-visual,
.video-mini-thumb .anchor-visual,
.video-player-box > .anchor-visual {
  display: none !important;
}

.video-status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.video-status.published,
.video-recent-card em.published {
  color: #54e585;
  background: rgba(57, 211, 83, .14);
}

.video-status.pending,
.video-recent-card em.pending {
  color: #ffd36b;
  background: rgba(218, 157, 48, .18);
}

.video-status.draft,
.video-recent-card em.draft {
  color: #d8d0c4;
  background: rgba(255, 255, 255, .12);
}

.video-status.offline,
.video-recent-card em.offline {
  color: #ff6963;
  background: rgba(255, 80, 72, .14);
}

.video-actions {
  display: flex;
  gap: 8px;
  margin: 0;
}

.video-actions button {
  border: 0;
  background: transparent;
  color: #e5b851;
  cursor: pointer;
}

.video-pager {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #b8ad9b;
}

.video-pager div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-pager button,
.video-pager select {
  height: 28px;
  min-width: 30px;
  padding: 0 8px;
}

.video-pager button.active {
  background: linear-gradient(180deg, rgba(218, 157, 48, .52), rgba(117, 79, 19, .68));
  color: #fff2be;
}

.video-bottom-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr) 330px;
  gap: 12px;
}

.video-panel {
  min-height: 176px;
  padding: 14px;
}

.video-panel > h3 {
  margin-bottom: 14px;
}

.video-donut-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: center;
}

.video-donut {
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, #151617 0 43%, transparent 44%),
    conic-gradient(#f2b542 0 28%, #ffd06b 28% 47%, #9a85ff 47% 62%, #65a7ff 62% 76%, #6ed19b 76% 88%, #b17be8 88% 100%);
}

.video-donut b {
  color: #f5ead5;
  font-size: 13px;
  text-align: center;
}

.video-donut strong {
  color: #fff7d7;
  font-size: 17px;
}

.video-donut-wrap ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-donut-wrap li {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  gap: 8px;
  align-items: center;
  color: #d8cdb9;
  font-size: 12px;
}

.video-donut-wrap li i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.video-donut-wrap li em {
  color: #a79d8d;
  font-style: normal;
}

.video-trend-panel {
  padding: 0;
}

.video-trend-panel header {
  border-bottom: 0;
}

.video-chart-legend {
  display: flex;
  gap: 24px;
  padding: 0 20px 0 78px;
  color: #c8bda7;
  font-size: 12px;
}

.video-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-chart-legend i {
  width: 16px;
  height: 3px;
  background: #f5b93e;
}

.video-chart-legend span:nth-child(2) i {
  background: #4aa3ff;
}

.video-trend-chart {
  width: 100%;
  height: 142px;
  overflow: visible;
}

.video-trend-chart .grid path {
  stroke: rgba(218, 157, 48, .12);
}

.video-trend-chart .line {
  fill: none;
  stroke-width: 3;
}

.video-trend-chart .gold { stroke: #f5b93e; fill: url(#videoTrendGold); }
.video-trend-chart .blue { stroke: #4aa3ff; fill: url(#videoTrendBlue); }
.video-trend-chart text {
  fill: #9d9485;
  font-size: 12px;
}

.video-recent-card {
  padding: 0;
}

.video-recent-card p {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  margin: 0;
  padding: 9px 14px;
  border-top: 1px solid rgba(218, 157, 48, .12);
}

.video-recent-card b {
  overflow: hidden;
  color: #f3ebdc;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-recent-card small {
  grid-column: 2 / 3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-recent-card em {
  grid-row: 1 / span 2;
  grid-column: 3;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.video-preview-card {
  min-height: 640px;
  padding-bottom: 14px;
}

.video-preview-card > header button {
  height: 30px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .04);
}

.video-player-box {
  position: relative;
  height: 214px;
  margin: 14px 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #08090a;
  contain: paint;
}

.video-player-art,
.video-player-art .video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.video-player-art .video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 58%, rgba(244, 173, 46, .42), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .38));
}

.video-player-art .video-cover span {
  left: 12%;
  right: 26%;
  bottom: 23%;
  height: 48%;
}

.video-player-art .video-cover i {
  right: 9%;
  bottom: 13%;
  width: 32%;
  height: 58%;
}

.video-player-art .video-cover b {
  left: 56%;
  top: 18%;
  width: 34%;
  height: 34%;
}

.video-player-box > button {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 218, 122, .76);
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  transform: translate(-50%, -50%);
}

.video-player-box > button svg {
  width: 28px;
  height: 28px;
}

.video-player-box > .video-control-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
}

.video-player-box > .video-control-bar > span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b542 0 10%, rgba(255, 255, 255, .28) 10% 100%);
}

.video-player-box p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  color: #fff;
}

.video-player-box p b {
  flex: 1;
  font-weight: 500;
}

.video-preview-card dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 14px;
  margin: 0;
  padding: 0 16px;
}

.video-preview-card dt,
.video-preview-card dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.video-preview-card dd {
  color: #d9cfbd;
}

.video-preview-card dd span {
  display: inline-flex;
  margin: 0 5px 5px 0;
  padding: 2px 7px;
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 4px;
  color: #d9c28a;
}

.video-preview-card footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 20px 14px 0;
}

.video-preview-card footer button {
  height: 38px;
}

.video-preview-card footer button:first-child {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.video-preview-card footer button:nth-child(2) {
  border-color: rgba(255, 82, 75, .48);
  color: #ff625e;
}

@media (max-width: 1280px) {
  .video-main-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-preview-card {
    min-height: 0;
  }
}

.communication-head,
.communication-stats,
.communication-layout,
.communication-feed-card header,
.communication-post,
.communication-post header,
.communication-post footer,
.communication-compose div,
.communication-topic-card div,
.communication-rank-card p {
  display: flex;
  align-items: center;
}

.communication-head {
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(218, 157, 48, .075), transparent 34%),
    linear-gradient(145deg, rgba(22, 17, 9, .92), rgba(10, 9, 7, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 28px rgba(0, 0, 0, .22);
}

.communication-head span {
  color: rgba(255, 211, 107, .74);
  font-size: 12px;
  font-weight: 800;
}

.communication-head h2 {
  margin: 4px 0;
  color: #ffe39a;
  font-size: 28px;
}

.communication-head p {
  margin: 0;
  color: #a99d89;
}

.communication-head button,
.communication-compose button,
.communication-topic-card button,
.communication-post footer button {
  border: 1px solid rgba(218, 157, 48, .46);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 800;
}

.communication-head button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.communication-head button svg,
.communication-post footer svg {
  width: 16px;
}

.communication-stats {
  gap: 10px;
}

.communication-stats article {
  flex: 1 1 0;
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 2px 12px;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(218, 157, 48, .075), transparent 34%),
    linear-gradient(145deg, rgba(22, 17, 9, .92), rgba(10, 9, 7, .96));
}

.communication-stats svg {
  grid-row: span 3;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 999px;
  color: #211405;
  background: linear-gradient(180deg, #ffe39a, #c98e2b);
}

.communication-stats span,
.communication-stats em,
.communication-post time,
.communication-post p,
.communication-rank-card span {
  color: #a99d89;
}

.communication-stats b {
  color: #ffe39a;
  font-size: 24px;
}

.communication-stats em {
  font-size: 12px;
  font-style: normal;
}

.communication-layout {
  align-items: stretch;
  gap: 12px;
  min-height: 0;
}

.communication-feed-card,
.communication-compose,
.communication-topic-card,
.communication-rank-card {
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(218, 157, 48, .075), transparent 34%),
    linear-gradient(145deg, rgba(22, 17, 9, .92), rgba(10, 9, 7, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.communication-feed-card {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.communication-feed-card > header {
  justify-content: space-between;
  min-height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(218, 157, 48, .16);
}

.communication-feed-card h3,
.communication-compose h3,
.communication-topic-card h3,
.communication-rank-card h3,
.communication-post h4 {
  margin: 0;
  color: #ffe39a;
}

.communication-feed-card label {
  width: min(360px, 44%);
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 999px;
  background: rgba(7, 7, 6, .82);
  color: #a99d89;
}

.communication-feed-card input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f6ead4;
}

.communication-post-list {
  min-height: 0;
  overflow: auto;
  padding: 10px;
}

.communication-post {
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.communication-post + .communication-post {
  border-top-color: rgba(218, 157, 48, .12);
}

.communication-post:hover {
  border-color: rgba(218, 157, 48, .34);
  background: rgba(218, 157, 48, .055);
}

.communication-post > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe39a, #c98e2b);
  color: #211405;
  font-weight: 900;
}

.communication-post > div {
  flex: 1;
  min-width: 0;
}

.communication-post header {
  gap: 8px;
}

.communication-post header b {
  color: #f6ead4;
}

.communication-post em {
  padding: 1px 6px;
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 999px;
  color: #ffd36b;
  font-size: 11px;
  font-style: normal;
}

.communication-post time {
  margin-left: auto;
  font-size: 12px;
}

.communication-post h4 {
  margin-top: 8px;
  font-size: 16px;
}

.communication-post p {
  margin: 8px 0 12px;
  line-height: 1.55;
}

.communication-post footer {
  gap: 8px;
}

.communication-post footer button {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 12px;
}

.communication-side {
  flex: 0 0 360px;
  min-width: 320px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
}

.communication-compose,
.communication-topic-card,
.communication-rank-card {
  padding: 14px;
}

.communication-compose textarea {
  width: 100%;
  min-height: 92px;
  margin: 12px 0;
  padding: 10px 12px;
  resize: vertical;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 6px;
  outline: 0;
  background: rgba(7, 7, 6, .82);
  color: #f6ead4;
}

.communication-compose div,
.communication-topic-card div {
  gap: 8px;
  flex-wrap: wrap;
}

.communication-compose button,
.communication-topic-card button {
  min-height: 30px;
  padding: 0 10px;
}

.communication-compose button:first-child {
  border-color: rgba(255, 211, 107, .82);
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.communication-rank-card p {
  justify-content: space-between;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(218, 157, 48, .12);
}

.communication-rank-card b {
  color: #f6ead4;
}

.doc-center-page {
  min-width: 1380px;
  height: 100%;
  overflow: auto;
  padding: 22px 28px 28px;
  background:
    radial-gradient(circle at 58% 0, rgba(218, 157, 48, .08), transparent 30%),
    linear-gradient(135deg, rgba(3, 9, 12, .98), rgba(4, 5, 6, .98));
  color: #d8cdbb;
}

.doc-center-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 0 6px 14px;
  border-bottom: 1px solid rgba(218, 157, 48, .22);
}

.doc-center-head span {
  color: #938a7c;
  font-size: 14px;
}

.doc-center-head h2 {
  margin: 28px 0 8px;
  color: #ffd36b;
  font-size: 34px;
  letter-spacing: 0;
}

.doc-center-head p {
  margin: 0;
  color: #b9b0a2;
  font-size: 15px;
}

.doc-center-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 58px;
}

.doc-center-actions label {
  width: 320px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(218, 157, 48, .44);
  border-radius: 8px;
  background: rgba(4, 6, 8, .72);
}

.doc-center-actions input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f5ead4;
}

.doc-center-actions button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 800;
}

.doc-center-actions button.primary {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #241504;
}

.doc-center-actions svg {
  width: 17px;
}

.doc-center-tabs {
  display: flex;
  gap: 34px;
  padding: 16px 10px 0;
}

.doc-center-tabs button {
  height: 34px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #9d9485;
  font-size: 15px;
  font-weight: 900;
}

.doc-center-tabs button.active {
  border-bottom-color: #ffd36b;
  color: #ffd36b;
}

.doc-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.doc-stat-grid article,
.doc-category-card,
.doc-file-card {
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 211, 107, .08), transparent 38%),
    linear-gradient(145deg, rgba(17, 21, 22, .94), rgba(4, 7, 8, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.doc-stat-grid article {
  min-height: 118px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 18px 22px;
}

.doc-stat-grid article > span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 211, 107, .08);
}

.doc-stat-grid article > span.folder { color: #f5b93e; }
.doc-stat-grid article > span.doc { color: #4aa3ff; }
.doc-stat-grid article > span.image { color: #8b68ff; }
.doc-stat-grid article > span.zip { color: #29d36f; }

.doc-stat-grid svg {
  width: 34px;
  height: 34px;
}

.doc-stat-grid b,
.doc-file-card h3,
.doc-category-card h3 {
  color: #ffd36b;
}

.doc-stat-grid b {
  display: block;
  color: #c9c0b2;
  font-size: 15px;
}

.doc-stat-grid strong {
  display: block;
  margin: 5px 0;
  color: #ffd36b;
  font-size: 30px;
}

.doc-stat-grid em {
  color: #b8ad9d;
  font-style: normal;
}

.doc-main-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
}

.doc-category-card {
  min-height: 528px;
  padding: 18px 10px;
}

.doc-category-card h3 {
  margin: 0 10px 16px;
  font-size: 18px;
}

.doc-category-card div {
  display: grid;
  gap: 6px;
}

.doc-category-card button {
  height: 40px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #c8bead;
  text-align: left;
}

.doc-category-card button.active,
.doc-category-card button:hover {
  background: linear-gradient(90deg, rgba(218, 157, 48, .26), rgba(218, 157, 48, .06));
  color: #ffd36b;
}

.doc-category-card button svg {
  width: 18px;
  color: #f3b43e;
}

.doc-file-card {
  min-height: 528px;
  padding: 12px 10px 14px;
}

.doc-file-card > header,
.doc-file-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-file-card > header {
  padding: 2px 8px 12px;
}

.doc-file-card h3 {
  display: inline;
  margin: 0 20px 0 0;
  font-size: 18px;
}

.doc-file-card header span,
.doc-file-card footer span {
  color: #9d9485;
}

.doc-file-card nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-file-card nav button,
.doc-file-card nav select,
.doc-file-card footer button,
.doc-file-card footer select {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #cfc4b3;
}

.doc-file-card nav button {
  width: 42px;
}

.doc-file-card nav button.active,
.doc-file-card footer button.active {
  border-color: rgba(255, 211, 107, .72);
  color: #ffd36b;
  background: rgba(218, 157, 48, .16);
}

.doc-file-card nav select,
.doc-file-card footer select {
  min-width: 126px;
  padding: 0 12px;
}

.doc-file-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-file-table th,
.doc-file-table td {
  height: 60px;
  padding: 0 18px;
  border-top: 1px solid rgba(218, 157, 48, .10);
  color: #c9c0b2;
  text-align: left;
  font-size: 14px;
}

.doc-file-table th {
  height: 46px;
  background: rgba(218, 157, 48, .08);
  color: #aaa192;
  font-weight: 700;
}

.doc-file-name,
.doc-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.doc-file-name svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
}

.doc-file-name .pdf { color: #ff5f55; }
.doc-file-name .word { color: #4aa3ff; }
.doc-file-name .ppt { color: #ff884a; }
.doc-file-name .zip { color: #29d36f; }
.doc-file-name .image { color: #8b68ff; }

.doc-file-name b {
  color: #ddd2c0;
}

.doc-row-actions {
  gap: 14px;
}

.doc-row-actions button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #d99a24;
  padding: 0;
}

.doc-row-actions svg {
  width: 18px;
}

.doc-file-card > footer {
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px 0;
}

.doc-file-card > footer span {
  margin-right: 12px;
}

.doc-file-card > footer button {
  min-width: 34px;
}

@media (max-width: 1180px) {
  .communication-layout,
  .communication-stats {
    display: grid;
  }

  .communication-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .communication-head,
  .communication-feed-card > header {
    display: grid;
  }

  .communication-feed-card label,
  .communication-side {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

.member-home.smart-active .home-main {
  grid-template-rows: minmax(0, 1fr);
  overflow: auto;
}

.member-home.smart-active .home-main > :not(.smart-analysis-view) {
  display: none;
}

.member-home.smart-active .smart-analysis-view {
  display: grid;
}

.member-home.world-gold-active .home-main {
  grid-template-rows: minmax(0, 1fr);
  overflow: auto;
}

.member-home.world-gold-active .home-main > :not(.world-gold-view) {
  display: none;
}

.member-home.world-gold-active .world-gold-view {
  display: grid;
}

.world-gold-view {
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(0, 1fr);
  padding: 6px 2px 8px;
}

.smart-analysis-view {
  min-height: 0;
  height: 100%;
  grid-template-rows: auto auto minmax(520px, 1fr) auto;
  gap: 12px;
  padding: 6px 2px 8px;
}

.smart-head,
.smart-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.smart-head {
  padding: 2px 2px 8px;
}

.smart-head h2 {
  margin: 0;
  color: #fff4d2;
  font-size: 25px;
  letter-spacing: 0;
}

.smart-head span,
.smart-card-head span,
.smart-metric-card span,
.smart-metric-card small,
.smart-ohlc,
.smart-summary-text,
.smart-table span,
.smart-legend,
.smart-bars span,
.smart-hot-list span,
.smart-log-list span {
  color: #9d9589;
}

.smart-head button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(210, 156, 54, .62);
  border-radius: 6px;
  background: rgba(40, 28, 9, .62);
  color: #f7c75c;
  font-weight: 700;
}

.smart-head button svg,
.smart-card-head svg {
  width: 16px;
  height: 16px;
}

.smart-metric-grid,
.smart-bottom-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.smart-metric-card,
.smart-chart-card,
.smart-conclusion-card,
.smart-bottom-card {
  border: 1px solid rgba(191, 132, 35, .45);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    #0b0c0d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.smart-metric-card {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-auto-rows: min-content;
  gap: 8px 10px;
  padding: 16px 16px 14px;
  overflow: hidden;
}

.smart-metric-card::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 110px;
  height: 110px;
  opacity: .2;
  background: linear-gradient(135deg, transparent 35%, #d99931 35% 45%, transparent 45% 55%, #d99931 55% 65%, transparent 65%);
  transform: rotate(-12deg);
}

.smart-metric-card > i {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(224, 169, 69, .55);
  background: radial-gradient(circle at 35% 25%, rgba(255, 225, 129, .32), rgba(166, 102, 17, .18));
  color: #e6ad48;
}

.smart-metric-card div {
  min-width: 0;
}

.smart-metric-card b {
  display: block;
  color: #f7ead0;
  font-size: 15px;
}

.smart-metric-card strong {
  grid-column: 1 / 3;
  margin-top: 8px;
  color: #ffcf5a;
  font-size: 19px;
}

.smart-metric-card strong.buy,
.smart-table .buy,
.smart-log-list .ok {
  color: #30d57a;
}

.smart-metric-card strong.sell,
.smart-table .sell,
.smart-log-list .warn {
  color: #ff5959;
}

.smart-metric-card small,
.smart-metric-card p {
  grid-column: 1 / 3;
  margin: 0;
  font-size: 13px;
}

.smart-metric-card em {
  color: #f2d083;
  font-style: normal;
}

.smart-body-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(360px, .9fr);
  align-items: stretch;
  gap: 12px;
}

.smart-chart-card,
.smart-conclusion-card,
.smart-bottom-card {
  min-width: 0;
  padding: 16px;
}

.smart-chart-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.smart-card-head h3 {
  margin: 0;
  color: #fff1cf;
  font-size: 17px;
}

.smart-card-head h3 i {
  margin-right: 6px;
  color: #f2b84d;
  vertical-align: -3px;
}

.smart-tabs {
  display: inline-flex;
  height: 28px;
  border: 1px solid rgba(124, 99, 58, .45);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
}

.smart-tabs button {
  min-width: 66px;
  height: 28px;
  border: 0;
  border-right: 1px solid rgba(124, 99, 58, .36);
  border-radius: 0;
  background: transparent;
  color: #9f978b;
  font-size: 12px;
}

.smart-tabs button:last-child {
  border-right: 0;
}

.smart-tabs button.active {
  background: linear-gradient(180deg, rgba(212, 150, 43, .42), rgba(83, 59, 20, .55));
  color: #ffd56a;
}

.smart-ohlc {
  margin: 12px 0 6px;
  font-size: 13px;
}

.smart-mini-chart {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: block;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.04);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 24%,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(180deg, rgba(255, 69, 69, .13), transparent 44%, rgba(25, 214, 111, .1));
}

.smart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f1c45b;
}

.smart-candle {
  position: relative;
  flex: 1 1 6px;
  min-width: 4px;
  height: var(--h);
  max-width: 10px;
  border-radius: 1px;
  background: var(--c);
  box-shadow: 0 calc(var(--wick-top) * -1) 0 -1px var(--c), 0 var(--wick-bottom) 0 -1px var(--c);
}

.smart-ma {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  opacity: .9;
}

.smart-ma.gold {
  top: 46%;
  background: linear-gradient(90deg, transparent, #d6a01f, transparent);
}

.smart-ma.blue {
  top: 63%;
  background: linear-gradient(90deg, transparent, #2c92df, transparent);
}

.smart-conclusion-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
}

#smartSummaryText {
  margin: 0;
  color: #cec5b5;
  line-height: 1.7;
  font-size: 14px;
}

.smart-table {
  display: grid;
}

.smart-table div {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(200, 147, 48, .18);
}

.smart-table b {
  color: #eee2cf;
  font-weight: 600;
}

.smart-table em,
.smart-stars {
  color: #f4bd4d;
  font-style: normal;
}

.smart-bottom-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
}

.smart-bottom-card {
  min-height: 150px;
}

.smart-win-box {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.smart-donut {
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 999px;
  background: conic-gradient(#f0bd52 0 72%, #45be75 72% 92%, #7754c9 92% 100%);
  position: relative;
}

.smart-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: #101010;
}

.smart-donut b,
.smart-donut span {
  position: relative;
  z-index: 1;
}

.smart-donut b {
  color: #f6c85f;
  font-size: 25px;
  line-height: 1;
}

.smart-donut span {
  color: #9d9589;
  font-size: 12px;
  line-height: 1.2;
  margin-top: 0;
}

.smart-legend p,
.smart-bars p,
.smart-hot-list p,
.smart-log-list p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 11px 0;
  color: #d7cdbc;
  font-size: 13px;
}

.smart-legend i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #f0bd52;
}

.smart-legend p:nth-child(2) i { background: #45be75; }
.smart-legend p:nth-child(3) i { background: #7754c9; }

.smart-bars span,
.smart-hot-list span {
  width: 68px;
}

.smart-bars i,
.smart-hot-list i {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1be55 var(--w), rgba(255,255,255,.06) var(--w));
}

.smart-bars p:nth-child(2) i { background: linear-gradient(90deg, #41b96f var(--w), rgba(255,255,255,.06) var(--w)); }
.smart-bars p:nth-child(3) i { background: linear-gradient(90deg, #9b9b9b var(--w), rgba(255,255,255,.06) var(--w)); }

.smart-hot-list b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #f0bd52, #8d5b18);
  color: #111;
  font-size: 11px;
}

.smart-log-list p {
  margin: 10px 0;
}

.smart-log-list span {
  width: 40px;
  flex: 0 0 auto;
}

.smart-log-list i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #35c76f;
}

.smart-log-list p:nth-child(4) i {
  background: #f2a533;
}

@media (max-width: 1220px) {
  .smart-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .smart-body-grid,
  .smart-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .member-home.smart-active {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-home.smart-active .home-sidebar {
    display: none;
  }

  .member-home.smart-active .home-main {
    width: 100vw;
    padding: 12px;
  }

  .smart-head,
  .smart-card-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .smart-head h2 {
    font-size: 23px;
  }

  .smart-metric-grid {
    grid-template-columns: 1fr;
  }

  .smart-metric-card {
    min-height: 118px;
  }

  .smart-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .smart-tabs button {
    min-width: 62px;
  }

  .smart-mini-chart {
    min-height: 360px;
  }

  .smart-win-box {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
.home-stats b {
  color: #ffd36b;
  font-size: 21px;
}
.home-stats button {
  width: 74px;
  height: 26px;
  margin-top: 2px;
  font-size: 12px;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(450px, 1.35fr) minmax(320px, .9fr) minmax(330px, .95fr);
  grid-template-rows: minmax(220px, .95fr) minmax(250px, 1.05fr);
  gap: 10px;
  min-height: 520px;
  margin-top: 0;
}
.home-card {
  min-height: 0;
  border: 1px solid rgba(201, 145, 43, .26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0, rgba(214, 154, 42, .10), transparent 44%),
    rgba(13, 13, 13, .86);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}
.home-card.wide { min-height: 0; }
.home-card-head {
  justify-content: space-between;
  margin-bottom: 10px;
}
.home-card h3 {
  margin: 0;
  color: #f4ead8;
  font-size: 16px;
}
.home-card-head span,
.home-card-head button {
  border: 0;
  background: transparent;
  color: #9b9284;
  font-size: 12px;
}

.home-business-card {
  grid-column: 1 / 3;
  grid-row: 1;
}

.home-forex-cloud-card {
  grid-column: 1;
  grid-row: 2;
}

.home-fans-card {
  grid-column: 2;
  grid-row: 2;
}

.home-announcement-card {
  grid-column: 3;
  grid-row: 2;
}

.home-business-layout {
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.12fr);
  gap: 12px;
}

.home-business-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(201, 145, 43, .18);
  border-radius: 7px;
  background:
    linear-gradient(110deg, rgba(255, 204, 87, .08), rgba(255, 255, 255, .018) 55%),
    rgba(0, 0, 0, .18);
}

.home-business-cover {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(244, 189, 79, .26);
  border-radius: 7px;
  background: #0a0a0a;
}

.home-business-cover img,
.home-forex-video-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-business-cover span,
.home-forex-video-card div span {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 34px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffdd79, #c88e25);
  color: #451f00;
  font-size: 12px;
  font-weight: 900;
}

.home-business-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.home-business-copy h4 {
  margin: 0;
  overflow: hidden;
  color: #fff2c3;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.home-business-tags em {
  padding: 2px 7px;
  border: 1px solid rgba(62, 137, 255, .45);
  border-radius: 4px;
  background: rgba(30, 92, 173, .26);
  color: #63a8ff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.home-business-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #bfb6a8;
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-business-copy footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #867b6c;
  font-size: 12px;
}

.home-business-copy footer b,
.home-business-table em {
  color: #ffb13b;
  font-style: normal;
}

.home-business-table {
  min-width: 0;
  display: grid;
  align-content: start;
  border-radius: 6px;
  overflow: hidden;
}

.home-business-table > div {
  min-height: 29px;
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) 54px 84px minmax(86px, .78fr) 58px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #958b7c;
  font-size: 12px;
}

.home-business-table .home-business-table-head {
  color: #8f877a;
  font-size: 11px;
}

.home-business-table b {
  min-width: 0;
  overflow: hidden;
  color: #d8cfc0;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-forex-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  height: calc(100% - 30px);
}

.home-forex-video-card {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(112px, 1fr) auto auto auto auto;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(241, 196, 91, .10), transparent 58%),
    rgba(255, 255, 255, .024);
}

.home-forex-video-card > div {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  border-radius: 6px;
  background: #0b0b0b;
}

.home-forex-video-card h4,
.home-forex-video-card p,
.home-forex-video-card em {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-forex-video-card h4 {
  color: #f9e2ad;
  font-size: 13px;
}

.home-forex-video-card p {
  color: #a79c8b;
  font-size: 12px;
}

.home-forex-video-card em {
  color: #e7a83d;
  font-size: 12px;
  font-style: normal;
}

.home-forex-video-card button {
  height: 24px;
  border: 1px solid rgba(201, 145, 43, .42);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-size: 12px;
  font-weight: 800;
}

.home-fans-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

.home-fans-stats p {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(201, 145, 43, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
}

.home-fans-stats span {
  color: #9d9589;
  font-size: 11px;
}

.home-fans-stats b {
  color: #ffd36b;
  font-size: 15px;
}

.home-fans-table {
  display: grid;
  gap: 0;
}

.home-fans-table div,
.home-fans-table p {
  min-width: 0;
  min-height: 28px;
  display: grid;
  grid-template-columns: minmax(118px, 1.2fr) minmax(120px, 1fr) 48px;
  align-items: center;
  gap: 8px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #8f877a;
  font-size: 11px;
}

.home-fans-table b {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #f0e5d3;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-fan-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #f6d46b, #ad771f);
  color: #171009;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.home-fans-table span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-fans-table em {
  color: #39db7f;
  font-style: normal;
  font-weight: 700;
}

.home-fans-table em.is-new {
  color: #64a7ff;
}
.home-line-chart {
  position: relative;
  height: 112px;
  border-bottom: 1px solid rgba(201, 145, 43, .18);
  background: repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(255,255,255,.04) 25px);
}
.home-line-chart::before {
  content: "";
  position: absolute;
  inset: 20px 8px 16px;
  background: linear-gradient(180deg, rgba(226, 169, 49, .35), transparent);
  clip-path: polygon(0 70%, 14% 38%, 28% 58%, 42% 26%, 56% 48%, 70% 18%, 84% 42%, 100% 12%, 100% 100%, 0 100%);
}
.home-line-chart i {
  position: absolute;
  bottom: 16px;
  width: 2px;
  background: #d9a13d;
}
.home-source-box {
  min-height: 154px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 6px 8px 0;
}
.home-donut {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  margin: 0 auto;
  border-radius: 999px;
  background: conic-gradient(#f1c45b 0 68%, #2d84ff 68% 88%, #26c892 88% 96%, #8d5bff 96% 100%);
  box-shadow:
    inset 0 0 0 32px #111,
    0 0 0 1px rgba(240, 196, 91, .22),
    0 0 26px rgba(240, 196, 91, .08);
}
.home-donut b { color: #fff; font-size: 15px; line-height: 1; }
.home-donut small { color: #9b9284; font-size: 11px; }
.home-source-list {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
}
.home-source-list p {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #bdb4a5;
  font-size: 12px;
}
.home-source-list i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--c);
}
.home-source-list b {
  color: #d8c8aa;
  font-size: 12px;
  font-weight: 500;
}
.home-source-list em {
  margin-top: 4px;
  color: #716a60;
  font-size: 11px;
  font-style: normal;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.quick-grid button {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #d8c8aa;
  font-size: 13px;
  font-weight: 600;
}
.quick-grid button:hover {
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
}

.mt5-panel {
  grid-column: 3;
  grid-row: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 10px;
}

.mt5-panel .home-card-head {
  margin-bottom: 0;
}

.mt5-panel .home-card-head span,
.mt5-panel .home-card-head em {
  min-width: 60px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(150, 150, 150, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
  font-weight: 700;
}

.mt5-panel .connection-head {
  display: flex;
  align-items: center;
}

.mt5-panel .connection-head span {
  display: none;
}

.mt5-panel .home-card-head em {
  font-style: normal;
}

.mt5-panel .home-card-head em.online,
.mt5-account-grid b.up,
.mt5-settings b.online {
  color: #36e07d;
  border-color: rgba(54, 224, 125, .42);
}

.mt5-panel .home-card-head em.offline,
.mt5-panel .home-card-head em.failed,
.mt5-account-grid b.down,
.mt5-settings b.offline,
.mt5-settings .erp-server-card em.offline,
.mt5-settings .erp-server-card em.failed {
  color: #ff5959;
  border-color: rgba(255, 89, 89, .42);
}

.mt5-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mt5-settings p {
  min-height: 48px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 1px 6px;
  margin: 0;
  padding: 5px 7px;
  border: 1px solid rgba(201, 145, 43, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
}

.mt5-settings i {
  grid-row: 1 / 4;
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 6px;
  color: #f0bd52;
  background: rgba(240, 189, 82, .12);
}

.mt5-settings span,
.mt5-account-grid span {
  color: #9d9589;
  font-size: 12px;
}

.mt5-settings b,
.mt5-settings em {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mt5-settings b {
  color: #f4ead8;
}

.mt5-settings em {
  color: #d1aa52;
  font-style: normal;
  font-weight: 750;
}

.mt5-settings button {
  grid-column: 2;
  justify-self: start;
  min-width: 70px;
  height: 20px;
  padding: 0 8px;
  border: 1px solid rgba(218, 157, 48, .55);
  border-radius: 4px;
  background: rgba(218, 157, 48, .10);
  color: #ffd36b;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.mt5-settings .erp-server-card em {
  grid-column: 3;
  grid-row: 3;
  justify-self: end;
  min-width: 58px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(150, 150, 150, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #d1aa52;
  font-size: 11px;
  line-height: 1;
}

.mt5-settings .erp-server-card em.online {
  color: #36e07d;
  border-color: rgba(54, 224, 125, .42);
  background: rgba(54, 224, 125, .08);
}

.mt5-settings .erp-server-card em.offline,
.mt5-settings .erp-server-card em.failed {
  background: rgba(255, 89, 89, .08);
}

.mt5-settings button:hover {
  border-color: rgba(255, 211, 107, .92);
  background: rgba(218, 157, 48, .20);
}

.mt5-settings button:disabled {
  opacity: .66;
  cursor: wait;
}

.mt5-settings .mt5-server-card em {
  justify-self: start;
  padding: 1px 8px;
  border: 1px solid rgba(150, 150, 150, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.mt5-settings .mt5-server-card em.online {
  color: #36e07d;
  border-color: rgba(54, 224, 125, .42);
  background: rgba(54, 224, 125, .08);
}

.mt5-settings .mt5-server-card em.offline {
  color: #ff5959;
  border-color: rgba(255, 89, 89, .42);
  background: rgba(255, 89, 89, .08);
}

.mt5-account-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.mt5-account-grid p {
  min-width: 0;
  min-height: 48px;
  display: grid;
  align-content: center;
  gap: 3px;
  margin: 0;
  padding: 6px 7px;
  border: 1px solid rgba(201, 145, 43, .16);
  border-radius: 6px;
  background:
    radial-gradient(circle at 8% 0, rgba(218, 157, 48, .12), transparent 48%),
    rgba(255, 255, 255, .025);
}

.mt5-account-grid b {
  min-width: 0;
  overflow: hidden;
  color: #ffd36b;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mt5-account-grid p:first-child {
  grid-column: auto;
  min-height: 48px;
}

.mt5-account-grid p:first-child b {
  color: #f4ead8;
}

.feature-dialog.lp-provider-dialog {
  width: min(560px, calc(100vw - 48px));
  height: min(720px, calc(100vh - 48px));
  max-height: min(720px, calc(100vh - 48px));
}

.feature-dialog.lp-provider-dialog .feature-body {
  overflow: hidden;
}

.feature-dialog.member-custom-group-dialog {
  width: min(720px, calc(100vw - 48px));
}

.lp-provider-picker {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: start;
  gap: 10px;
}

.lp-provider-tip {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 9px 14px;
  border: 1px solid rgba(218, 157, 48, .24);
  border-radius: 7px;
  background: rgba(218, 157, 48, .08);
}

.lp-provider-tip b {
  color: #ffd36b;
  font-size: 16px;
}

.lp-provider-tip span,
.lp-provider-safe {
  color: #bfb4a4;
  font-size: 12px;
  line-height: 1.35;
}

.lp-provider-list {
  min-height: 0;
  max-height: none;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: auto;
}

.lp-provider-item {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  grid-template-rows: auto auto;
  gap: 10px 14px;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(218, 157, 48, .11), rgba(20, 20, 18, .34) 38%, rgba(255, 255, 255, .018)),
    rgba(8, 12, 14, .92);
  color: #f4ead8;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 224, 145, .08);
}

.lp-provider-item:hover,
.lp-provider-item.active {
  border-color: rgba(255, 211, 107, .78);
  background:
    linear-gradient(135deg, rgba(218, 157, 48, .2), rgba(20, 20, 18, .42) 40%, rgba(46, 122, 255, .06)),
    rgba(12, 15, 16, .96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 224, 145, .12);
}

.lp-provider-item:disabled {
  opacity: .68;
  cursor: wait;
}

.lp-provider-main {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.lp-provider-name {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.lp-provider-name b {
  color: #fff4d2;
  font-size: 17px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-provider-name em {
  color: #9d9589;
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-provider-score {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(59, 141, 255, .42);
  border-radius: 999px;
  background: rgba(59, 141, 255, .12);
  color: #69a8ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.lp-provider-details {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.lp-provider-details small {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(255, 214, 126, .12);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: #d8c8aa;
  font-size: 12px;
  line-height: 1.2;
}

.lp-provider-details small span {
  color: #c8ad76;
  font-size: 11px;
}

.lp-provider-details small b {
  min-width: 0;
  color: #f3e2bc;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-provider-item i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  width: 76px;
  padding: 8px 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.lp-provider-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(218, 157, 48, .32);
  border-radius: 8px;
  color: #bfb4a4;
  text-align: center;
}

.feature-dialog.lp-provider-dialog {
  width: min(620px, calc(100vw - 48px));
  height: min(760px, calc(100vh - 36px));
  max-height: min(760px, calc(100vh - 36px));
  border: 1px solid rgba(62, 85, 102, .88);
  border-radius: 10px;
  background:
    radial-gradient(circle at 82% 6%, rgba(33, 113, 182, .20), transparent 30%),
    linear-gradient(145deg, #07101a, #02070c 70%);
  color: #f5ead7;
  box-shadow: 0 32px 88px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .04);
}

.feature-dialog.lp-provider-dialog header {
  min-height: 84px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(86, 111, 130, .42);
  background: linear-gradient(180deg, rgba(13, 27, 42, .82), rgba(5, 12, 20, .18));
}

.feature-dialog.lp-provider-dialog header h2 {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 52px;
  color: #f8ead2;
  font-size: 20px;
  line-height: 1.1;
}

.feature-dialog.lp-provider-dialog header h2::before {
  content: "⛓";
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transform: translateY(-50%);
  background:
    linear-gradient(135deg, rgba(255, 211, 107, .92), rgba(147, 96, 28, .54)),
    rgba(218, 157, 48, .18);
  color: #1c1304;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(218, 157, 48, .22), inset 0 1px 0 rgba(255,255,255,.18);
}

.feature-dialog.lp-provider-dialog header h2::after {
  content: "请选择要连接的 LP 服务器，系统将为您配置数据库连接信息";
  color: #b8c3cf;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.feature-dialog.lp-provider-dialog header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(155, 175, 193, .38);
  border-radius: 3px;
  background: rgba(255,255,255,.02);
  color: #bfc8d0;
  font-size: 22px;
}

.feature-dialog.lp-provider-dialog .feature-body {
  padding: 18px 22px 22px;
  overflow: hidden;
}

.lp-provider-picker {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 22px;
}

.lp-provider-tip {
  min-height: 74px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(218, 157, 48, .55);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(218, 157, 48, .12), rgba(255,255,255,.018)),
    rgba(18, 21, 21, .70);
}

.lp-provider-tip > i,
.lp-provider-tip > svg {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 8px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .14);
}

.lp-provider-tip b {
  color: #ffd36b;
  font-size: 18px;
  line-height: 1.15;
}

.lp-provider-tip span {
  color: #aab5bf;
  font-size: 12px;
  line-height: 1.35;
}

.lp-provider-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 20px;
  overflow: auto;
  padding-right: 3px;
}

.lp-provider-item {
  width: 100%;
  height: auto;
  min-height: 118px;
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 30px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(86, 111, 130, .52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 28, 42, .88), rgba(5, 11, 18, .92)),
    rgba(4, 9, 14, .95);
  color: #f4ead8;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.lp-provider-item:hover,
.lp-provider-item.active {
  border-color: rgba(255, 211, 107, .95);
  background:
    radial-gradient(circle at 12% 50%, rgba(218, 157, 48, .20), transparent 24%),
    linear-gradient(135deg, rgba(29, 31, 25, .94), rgba(6, 13, 20, .95));
  box-shadow: 0 0 20px rgba(218, 157, 48, .20), inset 0 1px 0 rgba(255, 224, 145, .12);
}

.lp-provider-item:disabled {
  opacity: .68;
  cursor: wait;
}

.lp-provider-logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 227, 148, .22), transparent 34%),
    linear-gradient(135deg, rgba(81, 132, 255, .45), rgba(4, 30, 58, .92));
  color: #6eb0ff;
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 0 22px rgba(59, 141, 255, .20);
}

.lp-provider-item.active .lp-provider-logo {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 244, 194, .28), transparent 34%),
    linear-gradient(135deg, rgba(255, 218, 118, .65), rgba(60, 39, 8, .94));
  color: #fff4cf;
  box-shadow: 0 0 24px rgba(218, 157, 48, .32);
}

.lp-provider-content {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.lp-provider-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lp-provider-title-row b {
  min-width: 0;
  color: #fff7df;
  font-size: 20px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-provider-title-row em {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid rgba(218, 157, 48, .35);
  border-radius: 5px;
  background: rgba(218, 157, 48, .13);
  color: #ffd36b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.lp-provider-item:not(.active) .lp-provider-title-row em {
  border-color: rgba(59, 141, 255, .36);
  background: rgba(59, 141, 255, .12);
  color: #7bb7ff;
}

.lp-provider-details {
  display: grid;
  grid-template-columns: 1fr .72fr 1fr 1.12fr;
  gap: 0;
  min-width: 0;
}

.lp-provider-details small {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid rgba(125, 144, 158, .22);
  border-radius: 0;
  background: transparent;
  color: #b8c3cf;
  font-size: 12px;
  line-height: 1.2;
}

.lp-provider-details small:first-child {
  border-left: 0;
  padding-left: 0;
}

.lp-provider-details small span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #95a2af;
  font-size: 11px;
  white-space: nowrap;
}

.lp-provider-details small span svg {
  width: 12px;
  height: 12px;
  color: #81909d;
}

.lp-provider-details small b {
  min-width: 0;
  color: #dce7ef;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-provider-rating span strong {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #1b69d8;
  color: #d9ecff;
  font-size: 11px;
}

.lp-provider-rating b {
  display: flex;
  gap: 1px;
  color: rgba(255,255,255,.20);
  font-size: 16px;
  letter-spacing: 0;
}

.lp-provider-rating b span.active {
  color: #ffc24d;
}

.lp-provider-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  align-self: start;
  justify-self: end;
  border: 1px solid rgba(155, 175, 193, .46);
  border-radius: 50%;
  color: #221500;
  font-size: 15px;
  font-weight: 950;
}

.lp-provider-item.active .lp-provider-check {
  border-color: #ffd36b;
  background: linear-gradient(135deg, #ffe08c, #dda034);
}

.lp-provider-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(86, 111, 130, .28);
}

.lp-provider-safe {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #b7c0c8;
  font-size: 12px;
  line-height: 1.35;
}

.lp-provider-safe svg {
  width: 16px;
  height: 16px;
  color: #e6ae3f;
}

.lp-provider-footer div {
  display: flex;
  gap: 12px;
}

.lp-provider-cancel,
.lp-provider-confirm {
  height: 36px;
  min-width: 78px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
}

.lp-provider-cancel {
  border: 1px solid rgba(155, 175, 193, .36);
  background: rgba(255,255,255,.04);
  color: #d0d8df;
}

.lp-provider-confirm {
  border: 1px solid rgba(255, 211, 107, .72);
  background: linear-gradient(135deg, #ffe18b, #d99d35);
  color: #231600;
}

.home-market-list,
.home-signal-list,
.home-notices {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-market-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  min-height: 20px;
  margin-bottom: 3px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #8f8576;
  font-size: 12px;
}
.home-market-list div,
.home-signal-list div,
.home-notices li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  min-height: 24px;
  color: #cfc6b6;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.home-market-list b,
.home-signal-list b { color: #f3ead8; }
.home-market-list .up,
.home-signal-list .buy,
.home-notices b { color: #ff4d57; }
.home-market-list .down,
.home-signal-list .sell { color: #2ecb6f; }
.home-notices span { color: #8f8576; }
.home-footer-stats {
  gap: 0;
  margin-top: 0;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 204, 92, .06), rgba(255, 204, 92, .02)),
    rgba(8,8,8,.78);
}
.home-footer-stats div {
  flex: 1;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 214, 117, .12);
  background: rgba(255,255,255,.018);
}
.home-footer-stats div:last-child { border-right: 0; }
.home-footer-stats p {
  display: grid;
  gap: 1px;
  margin: 0;
}
.home-footer-icon {
  width: 34px;
  height: 34px;
  color: #d9a33a;
  stroke: currentColor;
  filter: drop-shadow(0 0 8px rgba(240, 176, 52, .32));
}
.home-footer-stats label { color: #9b9284; font-size: 12px; }
.home-footer-stats b { color: #f6d17a; font-size: 17px; line-height: 1.1; }
.home-footer-stats span { color: #8fc99b; font-size: 12px; }
.home-footer-stats .home-gift {
  min-width: 320px;
  flex: 0 0 320px;
  background:
    radial-gradient(circle at 88% 52%, rgba(234, 173, 52, .34), transparent 42%),
    linear-gradient(90deg, rgba(255,255,255,.03), rgba(105, 65, 14, .45));
}
.home-gift-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(45deg, transparent 35%, rgba(255,255,255,.25) 36% 43%, transparent 44%),
    linear-gradient(135deg, #f7d37c, #9a6014);
  box-shadow: 0 10px 24px rgba(214, 157, 48, .22);
}
.home-gift-icon svg {
  width: 28px;
  height: 28px;
  color: #3b2304;
  stroke: currentColor;
}
.home-gift button {
  width: 74px;
  height: 28px;
  font-size: 12px;
}
.home-gift b {
  font-size: 13px;
  line-height: 1.25;
}

.platform-build-view {
  min-height: 0;
  overflow: auto;
}

.platform-build-page {
  min-width: 1380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  padding: 0 2px 10px;
  color: #efe3cc;
}

.platform-build-main {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.forex-broker-page {
  min-width: 1380px;
  min-height: 100%;
  padding: 16px 22px 24px;
  color: #efe4cf;
  background:
    radial-gradient(circle at 22% 8%, rgba(218, 157, 48, .12), transparent 28%),
    radial-gradient(circle at 82% 0, rgba(255, 209, 99, .08), transparent 24%),
    #080909;
}

.forex-broker-head {
  margin-bottom: 20px;
}

.forex-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  color: #9f9585;
  font-size: 13px;
}

.forex-breadcrumb svg {
  width: 14px;
  height: 14px;
  color: #d99f32;
}

.forex-breadcrumb b {
  color: #ffd36b;
}

.forex-broker-head h2 {
  margin: 10px 0 6px;
  font-size: 28px;
  line-height: 1.15;
  color: #fff4d4;
}

.forex-broker-head p {
  margin: 0;
  color: #bfb5a4;
  font-size: 15px;
}

.forex-search-panel,
.forex-section {
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 0, rgba(218, 157, 48, .11), transparent 30%),
    linear-gradient(145deg, rgba(24, 25, 22, .95), rgba(8, 9, 10, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.forex-search-panel {
  padding: 20px 24px 24px;
  margin-bottom: 16px;
}

.forex-search-head,
.forex-section-head,
.forex-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.forex-search-head h3,
.forex-section-head h3 {
  margin: 0;
  color: #fff0c5;
  font-size: 18px;
}

.forex-search-head button,
.forex-section-head button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #dcc58d;
  font-weight: 700;
  cursor: pointer;
}

.forex-search-head svg,
.forex-section-head svg {
  width: 16px;
  height: 16px;
}

.forex-filter-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr 78px 86px;
  gap: 14px 22px;
  align-items: end;
  margin-top: 22px;
}

.forex-filter-grid label {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #bdb29f;
  font-size: 14px;
}

.forex-filter-grid input,
.forex-filter-grid select {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(218, 157, 48, .26);
  border-radius: 6px;
  background: rgba(5, 6, 7, .82);
  color: #f5e8cb;
  outline: 0;
  padding: 0 14px;
}

.forex-filter-grid select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ad9d82 50%), linear-gradient(135deg, #ad9d82 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.forex-search-box {
  position: relative;
}

.forex-search-box input {
  padding-right: 42px;
}

.forex-search-box svg {
  position: absolute;
  right: 14px;
  bottom: 11px;
  width: 18px;
  height: 18px;
  color: #d7bb74;
}

.forex-reset,
.forex-search-submit {
  height: 42px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.forex-reset {
  border: 1px solid rgba(218, 157, 48, .48);
  background: rgba(11, 12, 13, .86);
  color: #ffd36b;
}

.forex-search-submit {
  border: 0;
  color: #261704;
  background: linear-gradient(180deg, #ffe48a, #e6a832);
  box-shadow: 0 8px 18px rgba(218, 157, 48, .22);
}

.forex-section {
  padding: 18px 22px;
  margin-bottom: 16px;
}

.forex-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.forex-broker-card {
  position: relative;
  min-height: 148px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px 14px 14px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(30, 31, 29, .94), rgba(10, 11, 12, .98));
}

.forex-broker-card em {
  position: absolute;
  top: 0;
  right: 8px;
  transform: translateY(-1px);
  min-width: 42px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(180deg, #ffe69a, #d99d2a);
  color: #2b1902;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.forex-card-main,
.forex-broker-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.forex-broker-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--broker-logo-bg, #151515);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.forex-broker-page .forex-card-main .forex-broker-logo {
  width: 48px !important;
  height: 48px !important;
  border-radius: 8px;
}

.forex-broker-page .forex-table .forex-broker-logo {
  width: 28px !important;
  height: 28px !important;
  border-radius: 5px;
  font-size: 11px;
}

.forex-broker-logo-image {
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, .16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .05), transparent 45%),
    var(--broker-logo-bg, #151515);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .26),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.forex-broker-logo-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.forex-broker-logo-image.has-image span {
  display: none;
}

.forex-broker-logo-image span {
  display: grid;
  place-items: center;
}

.forex-broker-name .forex-broker-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-size: 12px;
}

.forex-card-main h4,
.forex-broker-name strong {
  margin: 0;
  color: #fff7e1;
  font-size: 15px;
  white-space: nowrap;
}

.forex-card-main p {
  margin: 5px 0 0;
  color: #b8ad9c;
  font-size: 12px;
  line-height: 1.2;
}

.forex-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #bfb4a3;
  font-size: 13px;
}

.forex-rating b {
  color: #fff2c2;
  font-size: 16px;
}

.forex-rating span {
  color: #bfb4a3;
}

.forex-rating span.filled {
  color: #f2b52e;
}

.forex-rating.compact b {
  min-width: 28px;
  font-size: 14px;
}

.forex-broker-card button,
.forex-table button {
  height: 34px;
  border: 1px solid rgba(218, 157, 48, .58);
  border-radius: 6px;
  background: rgba(10, 10, 10, .74);
  color: #ffd36b;
  font-weight: 800;
  cursor: pointer;
}

.forex-contact-btn {
  min-width: 74px;
}

.forex-table-card {
  padding-bottom: 14px;
}

.forex-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 7px;
  font-size: 13px;
}

.forex-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.forex-table-wrap .forex-table {
  min-width: 1480px;
}

.forex-table th,
.forex-table td {
  height: 44px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  text-align: left;
  color: #efe2c8;
  white-space: nowrap;
}

.forex-table th {
  height: 48px;
  color: #c8b58c;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}

.forex-table tr:last-child td {
  border-bottom: 0;
}

.forex-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid rgba(114, 147, 255, .38);
  background: rgba(77, 111, 255, .12);
  color: #a7c2ff;
  font-weight: 700;
}

.forex-env-badge,
.forex-verified-badge {
  min-width: 54px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 5px;
  font-weight: 900;
}

.forex-env-badge {
  border: 1px solid rgba(255, 211, 107, .44);
  color: #ffd36b;
  background: rgba(218, 157, 48, .14);
}

.forex-verified-badge {
  border: 1px solid rgba(67, 203, 128, .38);
  color: #69df8e;
  background: rgba(67, 203, 128, .12);
}

.forex-type-badge.maker {
  border-color: rgba(67, 203, 128, .34);
  background: rgba(67, 203, 128, .12);
  color: #70d894;
}

.forex-type-badge.dma {
  border-color: rgba(218, 157, 48, .38);
  background: rgba(218, 157, 48, .12);
  color: #ffd36b;
}

.forex-type-badge.mixed {
  border-color: rgba(198, 141, 255, .36);
  background: rgba(198, 141, 255, .12);
  color: #d2aaff;
}

.forex-table-foot {
  min-height: 42px;
  padding-top: 14px;
  color: #c9bdab;
}

.forex-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forex-pagination button,
.forex-pagination select {
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 6px;
  background: rgba(7, 8, 9, .76);
  color: #d8ccba;
}

.forex-pagination button.active {
  border-color: transparent;
  color: #2a1904;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe18a, #d99b27);
}

.forex-pagination select {
  width: 92px;
  padding: 0 8px;
}

.forex-empty {
  min-height: 60px;
  display: grid;
  place-items: center;
  color: #a79b8b;
}

.forex-application-page {
  min-width: 1040px;
  max-width: 1100px;
  padding: 16px 20px 30px;
  color: #efe4cf;
  background:
    radial-gradient(circle at 26% 0, rgba(218, 157, 48, .1), transparent 26%),
    radial-gradient(circle at 78% 12%, rgba(255, 209, 99, .06), transparent 28%),
    #070808;
}

.forex-application-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px 14px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(145deg, rgba(20, 21, 20, .96), rgba(7, 8, 9, .98));
}

.forex-application-head h2 {
  margin: 0 0 8px;
  color: #fff3d3;
  font-size: 22px;
  line-height: 1.15;
}

.forex-application-head p {
  margin: 0;
  color: #9e9588;
  font-size: 13px;
}

.forex-application-steps {
  min-width: 410px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.forex-application-steps li {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #8f877c;
  font-size: 12px;
  font-weight: 700;
}

.forex-application-steps b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #d4c8b8;
}

.forex-application-steps li.active {
  color: #ffd36b;
}

.forex-application-steps li.active b {
  background: linear-gradient(180deg, #ffd76e, #e2a129);
  color: #2c1a04;
}

.forex-application-form {
  display: grid;
  gap: 12px;
}

.forex-application-card {
  padding: 16px 20px 18px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0, rgba(218, 157, 48, .08), transparent 28%),
    linear-gradient(145deg, rgba(20, 21, 20, .96), rgba(7, 8, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.forex-application-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #ffd36b;
  font-size: 15px;
}

.forex-application-card h3 svg {
  width: 16px;
  height: 16px;
}

.forex-application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.forex-application-field {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #c8bda9;
  font-size: 13px;
}

.forex-application-field span b {
  margin-left: 2px;
  color: #ff4f5f;
}

.forex-application-wide {
  grid-column: 1 / -1;
}

.forex-application-field input,
.forex-application-field select,
.forex-application-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: rgba(3, 4, 5, .78);
  color: #f6ead2;
  outline: 0;
  font-size: 13px;
}

.forex-application-field input,
.forex-application-field select {
  height: 36px;
  padding: 0 12px;
}

.forex-application-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #978c7d 50%), linear-gradient(135deg, #978c7d 50%, transparent 50%);
  background-position: calc(100% - 17px) 15px, calc(100% - 11px) 15px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.forex-application-field textarea {
  min-height: 86px;
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

.forex-application-field em {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8f887c;
  font-size: 12px;
  font-style: normal;
}

.forex-application-field.invalid input,
.forex-application-field.invalid select,
.forex-application-field.invalid textarea,
.forex-application-field.invalid .forex-upload-box {
  border-color: rgba(255, 76, 95, .82);
  box-shadow: 0 0 0 1px rgba(255, 76, 95, .16);
}

.forex-upload-input {
  display: none;
}

.forex-upload-box {
  min-height: 106px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(3, 4, 5, .5);
  color: #d7cebf;
  cursor: pointer;
}

.forex-upload-box svg {
  width: 26px;
  height: 26px;
  color: #d9d0c3;
}

.forex-upload-box strong {
  font-size: 13px;
}

.forex-upload-box small {
  color: #8d867b;
  font-size: 12px;
}

.forex-application-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #bfb5a4;
  font-size: 13px;
}

.forex-application-agree input {
  width: 15px;
  height: 15px;
  accent-color: #dba136;
}

.forex-application-agree b {
  color: #ffd36b;
}

.forex-application-submit {
  width: 420px;
  height: 38px;
  display: block;
  margin: 18px auto 10px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  color: #2b1903;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(218, 157, 48, .2);
}

.forex-application-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: #a99f8f;
  font-size: 12px;
}

.forex-application-note svg {
  width: 14px;
  height: 14px;
  color: #d9a132;
}

.forex-exposure-page {
  min-width: 1380px;
  min-height: 100%;
  padding: 18px 20px 24px;
  color: #efe4cf;
  background:
    radial-gradient(circle at 16% 0, rgba(218, 157, 48, .12), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(255, 201, 92, .06), transparent 26%),
    #070808;
}

.forex-exposure-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px 16px;
}

.forex-exposure-head h2 {
  margin: 0 0 8px;
  color: #fff2d3;
  font-size: 30px;
  line-height: 1;
}

.forex-exposure-head p {
  margin: 0;
  color: #b8ad9b;
  font-size: 14px;
}

.forex-exposure-head > span {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  color: #d7c7a5;
  font-size: 13px;
}

.forex-exposure-head svg {
  width: 17px;
  height: 17px;
  color: #e8b23b;
}

.forex-exposure-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.forex-exposure-stats article,
.forex-exposure-panel,
.forex-exposure-records,
.forex-exposure-submit-card,
.forex-exposure-submit-side section,
.forex-exposure-history-main,
.forex-exposure-detail {
  border: 1px solid rgba(218, 157, 48, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 18%, rgba(218, 157, 48, .13), transparent 28%),
    linear-gradient(145deg, rgba(22, 23, 21, .96), rgba(7, 8, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.forex-exposure-stats article {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 26px;
  overflow: hidden;
}

.forex-exposure-stats i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 113, .26), rgba(218, 157, 48, .08));
}

.forex-exposure-stats svg {
  width: 31px;
  height: 31px;
  color: #e4ad38;
}

.forex-exposure-stats span,
.forex-exposure-stats em {
  display: block;
  color: #b9ae9c;
  font-style: normal;
}

.forex-exposure-stats b {
  display: block;
  margin: 4px 0;
  color: #ffd36b;
  font-size: 30px;
  line-height: 1;
}

.forex-exposure-tabs {
  display: grid;
  grid-template-columns: repeat(3, 190px) 1fr;
  border: 1px solid rgba(218, 157, 48, .32);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(24,25,23,.98), rgba(10,10,10,.98));
  overflow: hidden;
}

.forex-exposure-tabs button {
  position: relative;
  height: 58px;
  border: 0;
  border-right: 1px solid rgba(218, 157, 48, .16);
  background: transparent;
  color: #aaa091;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.forex-exposure-tabs button.active {
  color: #ffd36b;
  background: radial-gradient(circle at 50% 100%, rgba(218, 157, 48, .23), rgba(218, 157, 48, .04) 58%, transparent);
}

.forex-exposure-tabs button.active::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, transparent, #ffd36b, transparent);
}

.forex-exposure-panel,
.forex-exposure-records,
.forex-exposure-submit-layout,
.forex-exposure-history-layout {
  border-radius: 0 0 8px 8px;
}

.forex-exposure-panel {
  padding: 16px 14px 8px;
}

.forex-exposure-toolbar,
.forex-exposure-history-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(5, auto) 170px;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.forex-exposure-toolbar label,
.forex-exposure-history-filter label {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(3,4,5,.72);
}

.forex-exposure-toolbar input,
.forex-exposure-history-filter input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f7e9ca;
}

.forex-exposure-toolbar svg,
.forex-exposure-history-filter svg {
  width: 17px;
  height: 17px;
  color: #d4a039;
}

.forex-exposure-toolbar button,
.forex-exposure-toolbar select,
.forex-exposure-history-filter button,
.forex-exposure-history-filter select {
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  background: rgba(8,9,10,.78);
  color: #d2c8b8;
  padding: 0 15px;
  font-weight: 800;
}

.forex-exposure-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.forex-exposure-toolbar button.active,
.forex-exposure-history-filter button:last-child {
  border-color: rgba(218,157,48,.72);
  color: #2a1904;
  background: linear-gradient(180deg, #ffe58b, #d99a28);
}

.forex-exposure-list {
  display: grid;
  gap: 8px;
}

.forex-exposure-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px 150px;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  padding: 16px 22px 16px 14px;
  border: 1px solid rgba(218, 157, 48, .25);
  border-radius: 8px;
  background: rgba(8, 9, 9, .62);
}

.forex-exposure-case-main {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.forex-exposure-case h3 {
  margin: 0 0 8px;
  color: #fff3d1;
  font-size: 18px;
}

.forex-exposure-case p {
  margin: 0 0 8px;
  color: #c0b5a4;
}

.forex-exposure-case p b {
  display: inline-flex;
  margin-left: 14px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(218, 157, 48, .18);
  color: #e1a82f;
  font-size: 12px;
}

.forex-exposure-case small {
  display: -webkit-box;
  overflow: hidden;
  color: #a89f91;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.forex-exposure-status {
  width: fit-content;
  min-width: 58px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(218,157,48,.32);
  border-radius: 5px;
  background: rgba(218, 157, 48, .16);
  color: #ffd36b;
  font-size: 13px;
  font-weight: 900;
}

.forex-exposure-status.hot,
.forex-exposure-status.rejected {
  border-color: rgba(255, 76, 95, .4);
  background: rgba(255, 76, 95, .2);
  color: #ff6b74;
}

.forex-exposure-status.follow {
  border-color: rgba(82, 144, 230, .45);
  background: rgba(82, 144, 230, .18);
  color: #7db7ff;
}

.forex-exposure-status.resolved {
  border-color: rgba(67, 203, 128, .38);
  background: rgba(67, 203, 128, .16);
  color: #78dc91;
}

.forex-exposure-status.pending {
  border-color: rgba(218, 157, 48, .45);
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
}

.forex-exposure-user {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 6px 10px;
  align-items: center;
  color: #cfc3b0;
}

.forex-exposure-avatar {
  width: 40px;
  height: 40px;
  grid-row: span 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e9d8bc, #8aa4b5);
  color: #1f1c18;
  font-weight: 900;
}

.forex-exposure-user time {
  justify-self: end;
  color: #aaa092;
}

.forex-exposure-user p {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #9f9689;
  font-size: 13px;
}

.forex-exposure-user svg {
  width: 15px;
  height: 15px;
}

.forex-exposure-case > button,
.forex-exposure-records button,
.forex-exposure-detail footer button {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .58);
  border-radius: 6px;
  background: rgba(36, 24, 5, .66);
  color: #ffd36b;
  font-weight: 900;
  cursor: pointer;
}

.forex-exposure-pagination {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.forex-exposure-pagination button,
.forex-exposure-pagination select {
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 6px;
  background: rgba(7, 8, 9, .82);
  color: #d4c9b8;
}

.forex-exposure-pagination button.active {
  border-color: transparent;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  font-weight: 900;
}

.forex-exposure-records {
  margin-top: 12px;
  padding: 14px 18px 10px;
}

.forex-exposure-records header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.forex-exposure-records h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 18px;
}

.forex-exposure-records table,
.forex-exposure-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.forex-exposure-records th,
.forex-exposure-records td,
.forex-exposure-history-table th,
.forex-exposure-history-table td {
  height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left;
  color: #d6cbb8;
}

.forex-exposure-records th,
.forex-exposure-history-table th {
  color: #b8ad9b;
  font-weight: 700;
}

.forex-exposure-submit-layout,
.forex-exposure-history-layout {
  display: grid;
  gap: 18px;
  padding: 14px 10px 0;
  border: 1px solid rgba(218, 157, 48, .32);
  border-top: 0;
  background: linear-gradient(145deg, rgba(15,16,15,.88), rgba(6,7,8,.96));
}

.forex-exposure-submit-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.forex-exposure-submit-card {
  padding: 18px 20px 22px;
}

.forex-exposure-submit-card h3,
.forex-exposure-submit-side h3,
.forex-exposure-detail h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #ffd36b;
  font-size: 16px;
}

.forex-exposure-submit-card label {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: #d0c4b3;
}

.forex-exposure-submit-card label > span b {
  margin-left: 3px;
  color: #ff5b66;
}

.forex-exposure-submit-card input,
.forex-exposure-submit-card select,
.forex-exposure-submit-card textarea,
.forex-exposure-submit-card .amount div {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(218,157,48,.22);
  border-radius: 6px;
  background: rgba(3,4,5,.78);
  color: #f2e5ce;
  outline: 0;
}

.forex-exposure-submit-card input,
.forex-exposure-submit-card select {
  height: 40px;
  padding: 0 14px;
}

.forex-exposure-submit-card textarea {
  min-height: 82px;
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.5;
}

.forex-exposure-submit-card em {
  position: absolute;
  right: 14px;
  top: 12px;
  color: #8f8779;
  font-size: 12px;
  font-style: normal;
}

.forex-exposure-submit-card .amount div {
  display: grid;
  grid-template-columns: 1fr 90px 42px;
  align-items: center;
  overflow: hidden;
}

.forex-exposure-submit-card .amount input {
  border: 0;
}

.forex-exposure-submit-card .amount strong,
.forex-exposure-submit-card .amount small {
  display: grid;
  place-items: center;
  height: 40px;
  border-left: 1px solid rgba(218,157,48,.18);
  color: #d6c9b7;
}

.forex-exposure-upload-input {
  display: none;
}

.forex-exposure-upload {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 6px;
  border: 1px dashed rgba(218,157,48,.58);
  border-radius: 7px;
  background: rgba(94, 62, 10, .18);
  cursor: pointer;
}

.forex-exposure-upload svg {
  width: 28px;
  height: 28px;
  color: #e5ad36;
}

.forex-exposure-upload small,
.forex-exposure-submit-card label > small {
  color: #9d9487;
}

.forex-exposure-agree {
  grid-template-columns: auto 1fr !important;
  gap: 10px !important;
  margin-top: 6px;
}

.forex-exposure-agree input {
  width: 16px;
  height: 16px;
  accent-color: #dba136;
}

.forex-exposure-agree b {
  color: #ffd36b;
}

.forex-exposure-submit-card footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-left: 156px;
}

.forex-exposure-submit-card footer button {
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(218,157,48,.62);
  background: rgba(8,9,10,.72);
  color: #ffd36b;
  font-weight: 900;
}

.forex-exposure-submit-card footer button:first-child {
  border: 0;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
}

.forex-exposure-submit-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.forex-exposure-submit-side section {
  padding: 16px 18px;
}

.forex-exposure-submit-side ol,
.forex-exposure-submit-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.forex-exposure-submit-side li {
  position: relative;
  margin-bottom: 13px;
  color: #b8ad9c;
  line-height: 1.5;
}

.forex-exposure-submit-side ol li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.forex-exposure-submit-side ol b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  color: #2b1903;
}

.forex-exposure-submit-side ol strong {
  color: #e6d8bf;
}

.forex-exposure-submit-side ol span {
  grid-column: 2;
  color: #9f9689;
}

.forex-exposure-submit-side ul li {
  padding-left: 16px;
}

.forex-exposure-submit-side ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dba136;
}

.forex-exposure-history-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.forex-exposure-history-main {
  padding: 14px;
}

.forex-exposure-history-filter {
  grid-template-columns: minmax(240px, 1fr) 150px 160px 170px 82px 82px;
}

.forex-exposure-history-table tr.active td {
  border-top: 1px solid rgba(218,157,48,.58);
  border-bottom: 1px solid rgba(218,157,48,.58);
  background: rgba(218,157,48,.08);
}

.forex-exposure-progress {
  position: relative;
  width: 72px;
  height: 5px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.16);
  vertical-align: middle;
  overflow: hidden;
}

.forex-exposure-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #e6ad34;
}

.forex-exposure-progress.resolved span {
  background: #6bdd76;
}

.forex-exposure-progress.follow span,
.forex-exposure-progress.pending span {
  background: #f0b638;
}

.forex-exposure-progress.rejected span {
  background: #ff4f5f;
}

.forex-exposure-detail {
  align-self: start;
  overflow: hidden;
}

.forex-exposure-detail header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 0;
  color: #b8ad9c;
}

.forex-exposure-detail h3 {
  margin: 12px 16px 8px;
  color: #fff2d2;
  font-size: 18px;
}

.forex-exposure-detail > p {
  margin: 0 16px 6px;
  color: #a99f90;
}

.forex-exposure-detail section {
  padding: 14px 16px;
  border-top: 1px solid rgba(218,157,48,.18);
}

.forex-exposure-detail dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 12px;
  margin: 0;
  color: #cfc2ad;
}

.forex-exposure-detail dt {
  color: #9f9689;
}

.forex-exposure-detail dd {
  margin: 0;
}

.forex-exposure-detail dd button {
  float: right;
  height: 30px;
  border: 1px solid rgba(218,157,48,.58);
  border-radius: 5px;
  background: rgba(36,24,5,.66);
  color: #ffd36b;
}

.forex-exposure-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.forex-exposure-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 8px 10px;
  padding-bottom: 16px;
  color: #aaa092;
}

.forex-exposure-timeline li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: -2px;
  width: 1px;
  background: rgba(255,255,255,.18);
}

.forex-exposure-timeline li:last-child::before {
  display: none;
}

.forex-exposure-timeline b {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: #111;
}

.forex-exposure-timeline .done b {
  border-color: #e2aa32;
  background: #e2aa32;
}

.forex-exposure-timeline strong {
  color: #e7dac2;
}

.forex-exposure-timeline span {
  grid-column: 2 / 4;
}

.forex-exposure-timeline time {
  color: #a99f90;
}

.forex-exposure-detail footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 16px 16px;
}

.forex-exposure-detail footer .danger {
  border-color: rgba(255,76,95,.7);
  color: #ff626c;
  background: rgba(255,76,95,.12);
}

.forex-opportunity-page {
  min-width: 1380px;
  min-height: 100%;
  padding: 18px 20px 22px;
  color: #efe4cf;
  background:
    linear-gradient(145deg, rgba(10, 11, 11, .98), rgba(5, 6, 7, .98)),
    #070808;
}

.forex-opportunity-head {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.forex-opportunity-head h2 {
  margin: 0 0 8px;
  color: #fff2d3;
  font-size: 30px;
  line-height: 1;
}

.forex-opportunity-head p {
  margin: 0;
  color: #b9af9f;
  font-size: 14px;
}

.forex-opportunity-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 16px;
}

.forex-opportunity-stats article,
.forex-opportunity-main,
.forex-opportunity-recommend,
.forex-opportunity-publish,
.forex-opportunity-advantage,
.forex-opportunity-flow {
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0, rgba(218, 157, 48, .12), transparent 34%),
    linear-gradient(145deg, rgba(23, 24, 22, .96), rgba(7, 8, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.forex-opportunity-stats article {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 28px;
}

.forex-opportunity-stats svg {
  width: 46px;
  height: 46px;
  color: #e0a83a;
  filter: drop-shadow(0 0 14px rgba(218,157,48,.22));
}

.forex-opportunity-stats span,
.forex-opportunity-stats em {
  display: block;
  color: #b8ad9c;
  font-style: normal;
}

.forex-opportunity-stats b {
  display: block;
  margin: 2px 0;
  color: #ffd36b;
  font-size: 30px;
  line-height: 1;
}

.forex-opportunity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.forex-opportunity-main {
  overflow: hidden;
}

.forex-opportunity-tabs {
  display: grid;
  grid-template-columns: repeat(4, 150px) 1fr;
  height: 40px;
  border-bottom: 1px solid rgba(218,157,48,.24);
}

.forex-opportunity-tabs button {
  position: relative;
  border: 0;
  border-right: 1px solid rgba(218,157,48,.14);
  background: rgba(255,255,255,.02);
  color: #a99f90;
  font-weight: 800;
  cursor: pointer;
}

.forex-opportunity-tabs button.active {
  color: #ffd36b;
  background: rgba(218,157,48,.12);
}

.forex-opportunity-tabs button.active::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  background: #ffd36b;
}

.forex-opportunity-filter {
  display: grid;
  grid-template-columns: 190px 180px 190px 190px minmax(230px, 1fr);
  gap: 10px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(218,157,48,.18);
}

.forex-opportunity-filter label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #b8ad9b;
  font-size: 12px;
}

.forex-opportunity-filter label:first-child {
  align-self: end;
  position: relative;
}

.forex-opportunity-filter input,
.forex-opportunity-filter select,
.forex-opportunity-filter label div {
  width: 100%;
  height: 34px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 5px;
  background: rgba(4,5,6,.78);
  color: #e9dcc6;
  outline: 0;
  padding: 0 12px;
}

.forex-opportunity-filter label:first-child input {
  padding-right: 34px;
}

.forex-opportunity-filter label:first-child svg {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 17px;
  height: 17px;
  color: #9e9486;
}

.forex-opportunity-filter label div {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 22px;
  align-items: center;
  padding: 0 8px;
}

.forex-opportunity-filter label div input {
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0 4px;
}

.forex-opportunity-filter label div b {
  color: #968c80;
  text-align: center;
}

.forex-opportunity-filter label div svg {
  width: 16px;
  height: 16px;
  color: #9e9486;
}

.forex-opportunity-filter > label:nth-child(6) {
  width: 210px;
}

.forex-opportunity-filter > button {
  width: 84px;
  height: 34px;
  align-self: end;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 5px;
  background: rgba(9,10,10,.82);
  color: #d8cbb8;
  font-weight: 900;
  cursor: pointer;
}

.forex-opportunity-filter > button:last-child {
  color: #2b1903;
  border: 0;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
}

.forex-opportunity-list {
  padding: 0 16px 6px;
}

.forex-opportunity-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 58px 110px 84px minmax(0, 1fr) 206px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(218,157,48,.18);
}

.forex-opportunity-logo {
  width: 54px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.forex-opportunity-logo.xm {
  background: #050506;
  color: #fff;
}

.forex-opportunity-logo.exness {
  background: #080808;
  color: #ffe600;
}

.forex-opportunity-logo.ic {
  background: #111;
  color: #82f66f;
}

.forex-opportunity-logo.fxpro {
  background: #e3242f;
}

.forex-opportunity-logo.fbs {
  background: #24763a;
  font-size: 19px;
}

.forex-opportunity-logo.axi {
  background: #e8334a;
  font-size: 19px;
}

.forex-opportunity-logo.tickmill {
  background: #f4f4f4;
  color: #c9232c;
}

.forex-opportunity-logo.multibank {
  background: #181013;
  color: #e5bd66;
}

.forex-opportunity-row > strong {
  color: #f4ead8;
  font-size: 14px;
}

.forex-opportunity-tags {
  display: grid;
  gap: 4px;
}

.forex-opportunity-tags span {
  width: fit-content;
  min-width: 58px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(218,157,48,.18);
  color: #ffd36b;
  font-size: 12px;
  font-weight: 800;
}

.forex-opportunity-tags span:nth-child(2) {
  background: rgba(67,203,128,.16);
  color: #88de92;
}

.forex-opportunity-info {
  min-width: 0;
}

.forex-opportunity-info h3 {
  margin: 0 0 4px;
  color: #ffd36b;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forex-opportunity-info p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 4px;
  color: #aaa092;
  font-size: 12px;
}

.forex-opportunity-info em {
  display: block;
  color: #d3c3a0;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forex-opportunity-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.forex-opportunity-actions button,
.forex-opportunity-recommend header button,
.forex-opportunity-publish button {
  height: 32px;
  border: 1px solid rgba(218,157,48,.58);
  border-radius: 5px;
  background: rgba(36,24,5,.64);
  color: #ffd36b;
  font-weight: 900;
  cursor: pointer;
}

.forex-opportunity-actions button:last-child,
.forex-opportunity-publish button {
  border: 0;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
}

.forex-opportunity-table-foot {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #b8ad9b;
}

.forex-opportunity-table-foot div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forex-opportunity-table-foot button,
.forex-opportunity-table-foot select {
  min-width: 30px;
  height: 30px;
  border: 1px solid rgba(218,157,48,.25);
  border-radius: 5px;
  background: rgba(7,8,9,.82);
  color: #d4c9b8;
}

.forex-opportunity-table-foot button.active {
  border-color: transparent;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  font-weight: 900;
}

.forex-opportunity-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.forex-opportunity-recommend,
.forex-opportunity-publish,
.forex-opportunity-advantage {
  padding: 18px;
}

.forex-opportunity-recommend header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.forex-opportunity-recommend h3,
.forex-opportunity-publish h3,
.forex-opportunity-advantage h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 18px;
}

.forex-opportunity-recommend header button {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
}

.forex-opportunity-recommend article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(218,157,48,.16);
}

.forex-opportunity-recommend article:last-child {
  border-bottom: 0;
}

.forex-opportunity-recommend h4 {
  margin: 0 0 5px;
  color: #fff0d0;
  font-size: 15px;
}

.forex-opportunity-recommend p {
  display: flex;
  gap: 6px;
  margin: 0 0 5px;
}

.forex-opportunity-recommend b {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(218,157,48,.18);
  color: #ffd36b;
  font-size: 12px;
}

.forex-opportunity-recommend small,
.forex-opportunity-publish p,
.forex-opportunity-advantage span {
  color: #aaa092;
}

.forex-opportunity-publish h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.forex-opportunity-publish p {
  margin: 0 0 18px;
  line-height: 1.55;
}

.forex-opportunity-publish button {
  width: 100%;
  height: 42px;
  font-size: 16px;
}

.forex-opportunity-advantage div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  margin-top: 18px;
}

.forex-opportunity-advantage p {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 10px;
  margin: 0;
}

.forex-opportunity-advantage svg {
  width: 25px;
  height: 25px;
  grid-row: span 2;
  color: #e0a83a;
}

.forex-opportunity-advantage b {
  color: #f5e8cc;
  font-size: 14px;
}

.forex-opportunity-flow {
  min-height: 74px;
  display: grid;
  grid-template-columns: 160px 1fr 46px 1fr 46px 1fr 46px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 22px;
}

.forex-opportunity-flow h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 18px;
  line-height: 1.25;
}

.forex-opportunity-flow article {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 52px 1fr;
  gap: 4px 10px;
  align-items: center;
}

.forex-opportunity-flow article b {
  align-self: start;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #dba136;
  border-radius: 50%;
  color: #ffd36b;
}

.forex-opportunity-flow article svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  border: 1px solid rgba(218,157,48,.38);
  border-radius: 50%;
  color: #e0a83a;
}

.forex-opportunity-flow article strong {
  color: #f7ead1;
  font-size: 16px;
}

.forex-opportunity-flow article span {
  grid-column: 3;
  color: #aaa092;
  white-space: nowrap;
}

.forex-opportunity-flow > em {
  display: grid;
  place-items: center;
  color: #dba136;
  font-style: normal;
}

.forex-blacklist-page {
  min-width: 1380px;
  min-height: 100%;
  padding: 18px 20px 24px;
  color: #efe4cf;
  background:
    radial-gradient(circle at 78% 2%, rgba(218, 157, 48, .12), transparent 28%),
    linear-gradient(145deg, rgba(10,11,11,.98), rgba(5,6,7,.98));
}

.forex-blacklist-head h2 {
  margin: 0 0 8px;
  color: #fff2d3;
  font-size: 30px;
  line-height: 1;
}

.forex-blacklist-head p {
  margin: 0;
  color: #b9af9f;
  font-size: 14px;
}

.forex-blacklist-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 14px;
}

.forex-blacklist-stats article,
.forex-blacklist-filter,
.forex-blacklist-table-card,
.forex-blacklist-detail-card {
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0, rgba(218, 157, 48, .12), transparent 34%),
    linear-gradient(145deg, rgba(23, 24, 22, .96), rgba(7, 8, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.forex-blacklist-stats article {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 34px;
}

.forex-blacklist-stats svg {
  width: 52px;
  height: 52px;
  color: #e0a83a;
  filter: drop-shadow(0 0 14px rgba(218,157,48,.22));
}

.forex-blacklist-stats span,
.forex-blacklist-stats em {
  display: block;
  color: #b8ad9c;
  font-style: normal;
}

.forex-blacklist-stats b {
  display: block;
  margin: 4px 0;
  color: #ffd36b;
  font-size: 30px;
  line-height: 1;
}

.forex-blacklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
}

.forex-blacklist-layout main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.forex-blacklist-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 18px 20px 16px;
}

.forex-blacklist-filter label {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #c2b7a6;
  font-size: 13px;
}

.forex-blacklist-filter input,
.forex-blacklist-filter select {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: rgba(4,5,6,.78);
  color: #e9dcc6;
  outline: 0;
  padding: 0 12px;
}

.forex-blacklist-filter p {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #b8ad9c;
}

.forex-blacklist-filter p svg {
  width: 16px;
  height: 16px;
  color: #dba136;
}

.forex-blacklist-filter > div {
  grid-column: 4;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.forex-blacklist-filter button {
  width: 108px;
  height: 38px;
  border: 1px solid rgba(218,157,48,.58);
  border-radius: 5px;
  background: rgba(8,9,10,.78);
  color: #d8ccb8;
  font-weight: 900;
  cursor: pointer;
}

.forex-blacklist-filter button:first-child {
  border: 0;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
}

.forex-blacklist-table-card {
  overflow: hidden;
}

.forex-blacklist-table-card h3 {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(218,157,48,.2);
  color: #ffd36b;
  font-size: 16px;
}

.forex-blacklist-table-card h3 span {
  color: #b8ad9c;
  font-size: 13px;
}

.forex-blacklist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.forex-blacklist-table th,
.forex-blacklist-table td {
  height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(218,157,48,.13);
  color: #d8ccb8;
  text-align: left;
}

.forex-blacklist-table th {
  color: #b8ad9c;
  font-weight: 700;
  background: rgba(255,255,255,.025);
}

.forex-blacklist-table tbody tr {
  cursor: pointer;
}

.forex-blacklist-table tbody tr.active td {
  border-top: 1px solid rgba(218,157,48,.65);
  border-bottom: 1px solid rgba(218,157,48,.65);
  background: rgba(218,157,48,.08);
}

.forex-blacklist-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 145px;
}

.forex-blacklist-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3e2c4, #9fb3c0);
  color: #1e1a15;
  font-weight: 900;
}

.forex-blacklist-user p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.forex-blacklist-user strong {
  color: #f7ead0;
}

.forex-blacklist-user small {
  color: #8f8678;
}

.forex-blacklist-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 5px;
  background: rgba(218,157,48,.14);
  color: #ffd36b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.forex-blacklist-badge.high,
.forex-blacklist-badge.blocked {
  border-color: rgba(255,76,95,.5);
  background: rgba(255,76,95,.16);
  color: #ff636d;
}

.forex-blacklist-badge.medium,
.forex-blacklist-badge.review {
  border-color: rgba(218,157,48,.55);
  background: rgba(218,157,48,.18);
  color: #ffd36b;
}

.forex-blacklist-badge.low,
.forex-blacklist-badge.cleared {
  border-color: rgba(67,203,128,.42);
  background: rgba(67,203,128,.14);
  color: #79df8f;
}

.forex-blacklist-table button {
  height: 30px;
  min-width: 76px;
  border: 1px solid rgba(218,157,48,.58);
  border-radius: 5px;
  background: rgba(36,24,5,.64);
  color: #ffd36b;
  font-weight: 900;
}

.forex-blacklist-pagination {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #b8ad9c;
}

.forex-blacklist-pagination div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forex-blacklist-pagination button,
.forex-blacklist-pagination select {
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(218,157,48,.24);
  border-radius: 5px;
  background: rgba(7,8,9,.82);
  color: #d4c9b8;
}

.forex-blacklist-pagination button.active {
  border-color: transparent;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  font-weight: 900;
}

.forex-blacklist-detail-card {
  padding: 16px 16px 18px;
}

.forex-blacklist-detail-card h3 {
  margin: 0 0 16px;
  color: #ffd36b;
  font-size: 18px;
}

.forex-blacklist-detail-card header {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.forex-blacklist-detail-card header strong {
  color: #f8ead0;
  font-size: 15px;
}

.forex-blacklist-detail-card header em {
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(218,157,48,.35);
  border-radius: 5px;
  color: #d6b461;
  font-size: 12px;
  font-style: normal;
}

.forex-blacklist-info {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 9px 12px;
  margin: 0 0 14px;
  color: #d3c8b8;
}

.forex-blacklist-info dt {
  color: #9f9689;
}

.forex-blacklist-info dd {
  margin: 0;
  min-width: 0;
}

.forex-blacklist-mini-logo {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 20px;
  margin-right: 8px;
  border-radius: 4px;
  background: #080808;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.forex-blacklist-box {
  padding: 13px 14px;
  margin-top: 10px;
  border: 1px solid rgba(218,157,48,.22);
  border-radius: 7px;
  background: rgba(8,9,10,.55);
}

.forex-blacklist-box h4 {
  margin: 0 0 10px;
  color: #ffd36b;
  font-size: 15px;
}

.forex-blacklist-box p {
  margin: 0;
  color: #bdb3a4;
  line-height: 1.65;
}

.forex-blacklist-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.forex-blacklist-box div button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 5px;
  background: rgba(218,157,48,.12);
  color: #dcb65d;
  font-weight: 800;
}

.forex-blacklist-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.forex-blacklist-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 72px 1fr;
  gap: 8px;
  min-height: 34px;
  color: #9f9689;
}

.forex-blacklist-timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: -1px;
  width: 1px;
  background: rgba(218,157,48,.28);
}

.forex-blacklist-timeline li:last-child::before {
  display: none;
}

.forex-blacklist-timeline b {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: #0c0d0d;
}

.forex-blacklist-timeline li.done b {
  border-color: #e0a83a;
  background: #e0a83a;
}

.forex-blacklist-timeline strong {
  color: #e7dac2;
}

.forex-blacklist-detail-card footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.forex-blacklist-detail-card footer button {
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  font-weight: 900;
  cursor: pointer;
}

.forex-blacklist-detail-card footer .danger {
  color: #fff;
  background: linear-gradient(180deg, #e34848, #b51f24);
}

.forex-license-page {
  min-width: 1380px;
  min-height: 100%;
  padding: 18px 20px 24px;
  color: #efe4cf;
  font-size: 13px;
  background:
    radial-gradient(circle at 76% 0, rgba(218, 157, 48, .14), transparent 26%),
    linear-gradient(145deg, rgba(10,11,11,.98), rgba(5,6,7,.98));
}

.forex-license-head h2 {
  margin: 0 0 8px;
  color: #fff2d3;
  font-size: 28px;
  line-height: 1;
}

.forex-license-head p {
  margin: 0;
  color: #b9af9f;
  font-size: 13px;
}

.forex-license-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  margin-top: 14px;
}

.forex-license-main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.forex-license-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.forex-license-stats article,
.forex-license-filter,
.forex-license-card,
.forex-license-flow,
.forex-license-rank,
.forex-license-note,
.forex-license-consult {
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0, rgba(218, 157, 48, .12), transparent 34%),
    linear-gradient(145deg, rgba(23, 24, 22, .96), rgba(7, 8, 9, .98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.forex-license-stats article {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 26px;
}

.forex-license-stats svg {
  width: 52px;
  height: 52px;
  color: #e0a83a;
  filter: drop-shadow(0 0 14px rgba(218,157,48,.24));
}

.forex-license-stats span,
.forex-license-stats em {
  display: block;
  color: #b8ad9c;
  font-style: normal;
}

.forex-license-stats b {
  display: block;
  margin: 4px 0;
  color: #ffd36b;
  font-size: 28px;
  line-height: 1;
}

.forex-license-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 190px 190px 86px 86px;
  gap: 14px;
  padding: 14px 16px;
  align-items: center;
}

.forex-license-filter label {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: rgba(4,5,6,.78);
}

.forex-license-filter label svg {
  width: 17px;
  height: 17px;
  color: #9e9486;
}

.forex-license-filter input,
.forex-license-filter select {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: rgba(4,5,6,.78);
  color: #e9dcc6;
  outline: 0;
  padding: 0 12px;
  font-size: 13px;
}

.forex-license-filter label input {
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
}

.forex-license-filter button {
  height: 38px;
  border: 1px solid rgba(218,157,48,.58);
  border-radius: 5px;
  background: rgba(8,9,10,.78);
  color: #d8ccb8;
  font-weight: 900;
  cursor: pointer;
}

.forex-license-filter button:first-of-type {
  border: 0;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
}

.forex-license-tables {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
}

.forex-license-card {
  overflow: hidden;
}

.forex-license-card h3,
.forex-license-flow h3,
.forex-license-rank h3,
.forex-license-note h3,
.forex-license-consult h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ffd36b;
  font-size: 16px;
}

.forex-license-card h3 {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(218,157,48,.22);
}

.forex-license-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.forex-license-card th,
.forex-license-card td {
  height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(218,157,48,.12);
  color: #d8ccb8;
  text-align: left;
}

.forex-license-card th {
  color: #b8ad9c;
  font-weight: 700;
  background: rgba(218,157,48,.08);
}

.forex-license-card > button {
  width: 100%;
  height: 44px;
  border: 0;
  background: rgba(218,157,48,.06);
  color: #ffd36b;
  font-weight: 900;
  cursor: pointer;
}

.forex-license-card > button svg {
  width: 15px;
  height: 15px;
  margin-left: 6px;
  vertical-align: middle;
}

.forex-license-difficulty {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(218,157,48,.16);
  color: #ffd36b;
  font-size: 12px;
  font-weight: 900;
}

.forex-license-difficulty.hard {
  background: rgba(255,76,95,.16);
  color: #ff6872;
}

.forex-license-difficulty.easy {
  background: rgba(67,203,128,.16);
  color: #79df8f;
}

.forex-license-stars {
  white-space: nowrap;
}

.forex-license-stars span {
  color: rgba(255,255,255,.22);
  font-size: 14px;
}

.forex-license-stars .on {
  color: #f1b52e;
}

.forex-license-flag {
  margin-right: 8px;
  font-size: 16px;
}

.forex-license-card td svg {
  width: 16px;
  height: 16px;
  color: #dba136;
}

.forex-license-flow {
  position: relative;
  padding: 14px 16px 12px;
}

.forex-license-flow > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.forex-license-flow article {
  position: relative;
  min-height: 122px;
  padding: 16px 14px 12px;
  border: 1px solid rgba(218,157,48,.32);
  border-radius: 7px;
  background: rgba(8,9,10,.62);
}

.forex-license-flow article b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  color: #2b1903;
}

.forex-license-flow article h4 {
  margin: 8px 0 6px;
  color: #f8ead0;
  font-size: 13px;
}

.forex-license-flow article p {
  margin: 0;
  color: #9f9689;
  line-height: 1.45;
}

.forex-license-flow article svg {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  color: #dba136;
}

.forex-license-flow em {
  display: none;
}

.forex-license-flow > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: #b8ad9c;
  font-size: 12px;
}

.forex-license-flow > p svg {
  width: 16px;
  height: 16px;
  color: #ffd36b;
}

.forex-license-flow > button {
  position: absolute;
  right: 16px;
  bottom: 11px;
  border: 0;
  background: transparent;
  color: #ffd36b;
  font-weight: 900;
}

.forex-license-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.forex-license-rank,
.forex-license-note,
.forex-license-consult {
  padding: 16px;
}

.forex-license-rank h3,
.forex-license-note h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(218,157,48,.22);
}

.forex-license-rank article {
  display: grid;
  grid-template-columns: 26px 48px 1fr 34px;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(218,157,48,.13);
}

.forex-license-rank article:last-child {
  border-bottom: 0;
}

.forex-license-rank article > b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
}

.forex-license-rank article > span {
  width: 42px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(218,157,48,.18);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}

.forex-license-rank h4 {
  margin: 0 0 3px;
  color: #f7ead0;
  font-size: 13px;
}

.forex-license-rank p {
  margin: 0;
  color: #9f9689;
  font-size: 12px;
}

.forex-license-rank strong {
  color: #ffd36b;
  text-align: right;
}

.forex-license-note ol {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.forex-license-note li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  color: #b8ad9c;
  line-height: 1.45;
  font-size: 12px;
}

.forex-license-note b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(218,157,48,.24);
  color: #ffd36b;
}

.forex-license-consult {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 18px;
  text-align: center;
}

.forex-license-consult > svg {
  width: 58px;
  height: 58px;
  padding: 14px;
  border: 1px solid rgba(218,157,48,.42);
  border-radius: 50%;
  color: #dba136;
  background: rgba(218,157,48,.12);
}

.forex-license-consult p {
  margin: 0;
  color: #b8ad9c;
}

.forex-license-consult button {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

.platform-build-hero,
.platform-service-strip article,
.platform-solution-card,
.platform-process-card,
.platform-advantage-card,
.platform-consult-card,
.platform-guarantee-card {
  border: 1px solid rgba(218, 157, 48, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 0, rgba(218, 157, 48, .12), transparent 38%),
    linear-gradient(145deg, rgba(21, 22, 20, .96), rgba(5, 6, 7, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.platform-build-hero {
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 18px 22px;
}

.platform-build-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.42), rgba(0,0,0,.76)),
    repeating-linear-gradient(155deg, transparent 0 24px, rgba(218,157,48,.055) 25px 26px);
  pointer-events: none;
}

.platform-build-hero > * {
  position: relative;
  z-index: 1;
}

.platform-build-hero span {
  color: #9d9485;
}

.platform-build-hero h2 {
  margin: 14px 0 8px;
  color: #ffd36b;
  font-size: 40px;
  line-height: 1;
}

.platform-build-hero p {
  margin: 0;
  color: #c4b9a8;
  font-size: 16px;
}

.platform-build-hero label {
  width: 370px;
  height: 38px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 999px;
  background: rgba(5, 6, 7, .86);
  color: #d99a24;
}

.platform-build-hero input,
.platform-consult-card input,
.platform-consult-card select,
.platform-consult-card textarea {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4ead8;
}

.platform-hero-art {
  position: absolute;
  right: 275px;
  top: 12px;
  width: 250px;
  height: 102px;
  opacity: .92;
}

.platform-hero-art span,
.platform-hero-art i,
.platform-hero-art b {
  position: absolute;
  display: block;
}

.platform-hero-art span {
  left: 64px;
  top: 20px;
  width: 96px;
  height: 48px;
  background: linear-gradient(180deg, #ffdb7c, #a36513);
  clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
  box-shadow: 0 0 30px rgba(255, 187, 58, .42);
}

.platform-hero-art i {
  left: 0;
  right: 0;
  bottom: 5px;
  height: 44px;
  border: 1px solid rgba(218,157,48,.38);
  transform: skewX(-18deg);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(218,157,48,.22) 18% 20%, transparent 20% 40%, rgba(218,157,48,.18) 40% 42%, transparent 42%),
    linear-gradient(180deg, rgba(218,157,48,.14), transparent);
}

.platform-hero-art b {
  left: 108px;
  top: 0;
  width: 28px;
  height: 88px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffd36b, #8f5712);
  box-shadow: 44px 16px 0 -5px #b87818, 86px 28px 0 -9px #7e4d13;
}

.platform-service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.platform-service-strip article {
  min-height: 124px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 16px;
  align-content: center;
  padding: 14px 18px;
}

.platform-service-strip h3 {
  margin: 10px 0 4px;
  color: #ffd36b;
  font-size: 22px;
}

.platform-service-strip p {
  margin: 0;
  color: #afa594;
  line-height: 1.7;
}

.platform-art,
.platform-showcase {
  position: relative;
  min-height: 86px;
}

.platform-art span,
.platform-art i,
.platform-art b,
.platform-showcase span,
.platform-showcase i,
.platform-showcase b {
  position: absolute;
  display: block;
}

.platform-art-server span {
  left: 10px;
  top: 16px;
  width: 72px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4b4d4b, #151716);
  box-shadow: inset 0 -12px 0 rgba(218,157,48,.18), 0 15px 28px rgba(0,0,0,.45);
}

.platform-art-server i,
.platform-art-server b {
  left: 18px;
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: #d99a24;
}

.platform-art-server i { top: 28px; }
.platform-art-server b { top: 48px; }

.platform-art-shield span {
  left: 18px;
  top: 4px;
  width: 72px;
  height: 78px;
  display: grid;
  place-items: center;
  color: #ffd36b;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(255,215,122,.22), rgba(65,38,7,.78));
  clip-path: polygon(50% 0, 93% 16%, 84% 72%, 50% 100%, 16% 72%, 7% 16%);
  border: 1px solid rgba(218,157,48,.55);
}

.platform-art-chart span {
  left: 16px;
  bottom: 14px;
  width: 72px;
  height: 56px;
  background:
    linear-gradient(90deg, transparent 0 12px, rgba(255,211,107,.7) 12px 24px, transparent 24px 32px, rgba(255,211,107,.45) 32px 48px, transparent 48px 56px, rgba(255,211,107,.8) 56px 72px),
    linear-gradient(180deg, transparent, rgba(218,157,48,.15));
}

.platform-art-chart i {
  left: 12px;
  top: 24px;
  width: 78px;
  height: 38px;
  border-left: 2px solid rgba(218,157,48,.55);
  border-bottom: 2px solid rgba(218,157,48,.55);
  transform: skewX(-8deg);
}

.platform-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-solution-card {
  position: relative;
  min-height: 302px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 16px;
}

.platform-solution-card > strong {
  position: absolute;
  right: -1px;
  top: -1px;
  padding: 6px 16px;
  border-radius: 0 8px 0 8px;
  background: linear-gradient(180deg, #ffe28c, #d99a24);
  color: #2b1904;
  font-size: 12px;
}

.platform-solution-card header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-solution-card header em {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #d8a23c, #4c300c);
  color: #fff0b8;
  font-style: normal;
  font-weight: 900;
}

.platform-solution-card h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 20px;
}

.platform-solution-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  align-items: center;
}

.platform-showcase-terminal span {
  left: 32px;
  top: 30px;
  width: 116px;
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(135deg, #202422, #0a0b0b);
  box-shadow: inset 0 0 0 1px rgba(218,157,48,.35), 0 20px 28px rgba(0,0,0,.48);
}

.platform-showcase-terminal i {
  left: 56px;
  top: 54px;
  width: 130px;
  height: 88px;
  border-radius: 10px;
  border: 1px solid rgba(218,157,48,.42);
  background:
    linear-gradient(90deg, rgba(255,211,107,.18) 0 14%, transparent 14% 100%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.08) 0 2px, transparent 2px 16px),
    #111313;
}

.platform-showcase-terminal b {
  left: 16px;
  bottom: 8px;
  width: 176px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,211,107,.42), transparent 68%);
}

.platform-showcase-mf8 span {
  left: 48px;
  top: 28px;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(218,157,48,.46);
  color: #ffd36b;
  font-size: 30px;
  font-weight: 900;
  background: radial-gradient(circle, rgba(218,157,48,.24), rgba(5,6,7,.72));
  box-shadow: inset 0 0 32px rgba(218,157,48,.20);
}

.platform-showcase-mf8 i {
  left: 18px;
  top: 64px;
  width: 188px;
  height: 74px;
  border: 1px solid rgba(218,157,48,.28);
  border-radius: 50%;
}

.platform-showcase-mf8 b {
  left: 25px;
  bottom: 18px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #d99a24;
  box-shadow: 130px -80px 0 -8px rgba(218,157,48,.64), 176px -34px 0 -7px rgba(218,157,48,.72);
}

.platform-showcase-pricing span {
  left: 28px;
  bottom: 28px;
  width: 170px;
  height: 100px;
  border-left: 1px solid rgba(218,157,48,.55);
  border-bottom: 1px solid rgba(218,157,48,.55);
  background: linear-gradient(180deg, transparent, rgba(218,157,48,.10));
}

.platform-showcase-pricing i {
  left: 46px;
  top: 78px;
  width: 126px;
  height: 46px;
  border-top: 5px solid #ffd36b;
  border-right: 5px solid #ffd36b;
  transform: skewY(-16deg);
}

.platform-showcase-pricing b {
  left: 58px;
  bottom: 40px;
  width: 22px;
  height: 42px;
  background: rgba(218,157,48,.72);
  box-shadow: 40px -18px 0 0 rgba(218,157,48,.45), 80px -34px 0 0 rgba(218,157,48,.82);
}

.platform-solution-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-solution-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9beaa;
  font-size: 13px;
}

.platform-solution-card li svg {
  width: 16px;
  color: #d99a24;
}

.platform-solution-card footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.platform-solution-card footer button,
.platform-consult-card button {
  height: 40px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 6px;
  background: transparent;
  color: #ffd36b;
  font-weight: 900;
}

.platform-solution-card footer button:last-child,
.platform-consult-card button {
  border: 0;
  background: linear-gradient(180deg, #ffe28c, #d99a24);
  color: #231604;
}

.platform-process-card,
.platform-advantage-card {
  padding: 14px;
}

.platform-process-card h3,
.platform-advantage-card h3,
.platform-consult-card h3,
.platform-guarantee-card h3 {
  margin: 0 0 12px;
  color: #ffd36b;
  font-size: 18px;
}

.platform-process-card > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.platform-process-card article,
.platform-advantage-card article {
  min-height: 84px;
  position: relative;
  padding: 14px 52px 14px 16px;
  border: 1px solid rgba(218,157,48,.25);
  border-radius: 6px;
  background: rgba(218,157,48,.05);
}

.platform-process-card > div > span {
  display: none;
}

.platform-process-card article:not(:last-of-type)::after {
  content: "→";
  position: absolute;
  right: -22px;
  top: 34px;
  color: #d99a24;
  font-size: 20px;
}

.platform-process-card b {
  color: #ffd36b;
  font-size: 20px;
}

.platform-process-card h4,
.platform-advantage-card h4 {
  margin: 0 0 6px;
  color: #f2e5cc;
  font-size: 16px;
}

.platform-process-card p,
.platform-advantage-card p {
  margin: 0;
  color: #8f8679;
  line-height: 1.45;
}

.platform-process-card svg,
.platform-advantage-card svg {
  position: absolute;
  right: 16px;
  top: 24px;
  width: 34px;
  height: 34px;
  color: #d99a24;
}

.platform-advantage-card > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.platform-advantage-card article {
  min-height: 86px;
  padding-left: 74px;
}

.platform-advantage-card svg {
  left: 18px;
  right: auto;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid rgba(218,157,48,.35);
  border-radius: 999px;
  background: rgba(218,157,48,.08);
}

.platform-build-side {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

.platform-consult-card,
.platform-guarantee-card {
  padding: 18px;
}

.platform-consult-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: #b9ad99;
}

.platform-consult-card select,
.platform-consult-card input,
.platform-consult-card textarea {
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(218,157,48,.24);
  border-radius: 6px;
  background: rgba(5, 6, 7, .72);
}

.platform-consult-card textarea {
  height: 108px;
  padding-top: 12px;
  resize: none;
}

.platform-consult-card em {
  margin-top: -28px;
  padding-right: 10px;
  color: #8f8679;
  font-style: normal;
  text-align: right;
}

.platform-consult-card button {
  width: 100%;
  height: 44px;
  margin-top: 16px;
}

.platform-guarantee-card {
  align-self: stretch;
}

.platform-guarantee-card p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 10px;
  margin: 18px 0 0;
}

.platform-guarantee-card svg {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  color: #d99a24;
}

.platform-guarantee-card b {
  color: #f0e1c7;
}

.platform-guarantee-card span {
  color: #8f8679;
}

.platform-build-view {
  padding: 0;
}

.platform-build-page {
  min-width: 1420px;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  padding: 18px 14px 14px 30px;
  background:
    radial-gradient(circle at 70% 2%, rgba(218, 157, 48, .12), transparent 24%),
    linear-gradient(135deg, rgba(3, 8, 10, .94), rgba(3, 4, 5, .98));
}

.platform-build-main {
  gap: 10px;
}

.platform-build-hero {
  min-height: 100px;
  padding: 0 14px 0 10px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 7, .95) 0 38%, rgba(3, 6, 7, .52) 58%, rgba(3, 6, 7, .92) 100%),
    radial-gradient(circle at 76% 42%, rgba(218, 157, 48, .18), transparent 36%);
  box-shadow: none;
}

.platform-build-hero::before {
  display: none;
}

.platform-build-hero h2 {
  margin: 0 0 12px;
  color: #ffd36b;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
}

.platform-build-hero p {
  color: #b9b2a4;
  font-size: 17px;
}

.platform-build-hero > img {
  position: absolute;
  right: 124px;
  top: 0;
  width: 389px;
  height: 112px;
  object-fit: contain;
  opacity: .98;
  filter: drop-shadow(0 0 22px rgba(218, 157, 48, .26));
}

.platform-service-strip {
  gap: 8px;
}

.platform-service-strip article,
.platform-solution-card,
.platform-process-card,
.platform-advantage-card,
.platform-consult-card,
.platform-guarantee-card {
  border-color: rgba(218, 157, 48, .42);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(16, 22, 22, .90), rgba(5, 7, 8, .97)),
    radial-gradient(circle at 72% 0, rgba(218, 157, 48, .16), transparent 38%);
}

.platform-service-strip article {
  min-height: 118px;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 24px;
  overflow: hidden;
}

.platform-service-strip article > img {
  align-self: center;
  justify-self: center;
  max-width: 88px;
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .38));
}

.platform-service-strip h3 {
  margin: 0 0 8px;
  color: #ffd15d;
  font-size: 21px;
  font-weight: 900;
}

.platform-service-strip p {
  color: #a9a296;
  font-size: 14px;
  line-height: 1.75;
}

.platform-solution-grid {
  gap: 10px;
}

.platform-solution-card {
  min-height: 318px;
  padding: 14px 18px 18px;
}

.platform-solution-card > strong {
  top: -1px;
  right: -1px;
  padding: 5px 16px;
  border-radius: 0 7px 0 7px;
}

.platform-solution-card header {
  min-height: 34px;
  gap: 10px;
}

.platform-solution-card header > img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.platform-solution-card h3 {
  color: #ffd15d;
  font-size: 19px;
  font-weight: 900;
}

.platform-solution-body {
  grid-template-columns: 194px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.platform-solution-card figure {
  display: grid;
  place-items: center;
  min-height: 174px;
  margin: 0;
}

.platform-solution-card figure img {
  max-width: 191px;
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .48));
}

.platform-solution-card ul {
  gap: 11px;
}

.platform-solution-card li {
  color: #bfb5a4;
  font-size: 13px;
}

.platform-solution-card li svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #d99a24;
}

.platform-solution-card footer {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 18px;
}

.platform-solution-card footer button,
.platform-consult-card button {
  height: 40px;
  border-radius: 6px;
  font-size: 15px;
}

.platform-process-card,
.platform-advantage-card {
  padding: 14px 14px 16px;
}

.platform-process-card h3,
.platform-advantage-card h3,
.platform-consult-card h3,
.platform-guarantee-card h3 {
  color: #ffd15d;
  font-weight: 900;
}

.platform-process-card > div {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.platform-process-card article {
  flex: 1 1 0;
  min-width: 0;
  min-height: 82px;
  padding: 14px 60px 14px 16px;
  overflow: visible;
}

.platform-process-card article:not(:last-of-type)::after {
  display: none;
}

.platform-process-card > div > span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  margin: 0;
  align-self: center;
}

.platform-process-card > div > span img {
  width: 41px;
  height: 17px;
  object-fit: contain;
}

.platform-process-card b {
  color: #ffd15d;
}

.platform-process-card h4,
.platform-advantage-card h4 {
  color: #f6ead4;
  font-size: 16px;
}

.platform-process-card p,
.platform-advantage-card p {
  color: #8f887c;
  font-size: 13px;
}

.platform-process-card article > img {
  position: absolute;
  right: 16px;
  top: 24px;
  max-width: 48px;
  max-height: 46px;
  object-fit: contain;
}

.platform-advantage-card > div {
  gap: 28px;
}

.platform-advantage-card article {
  min-height: 84px;
  padding: 16px 14px 14px 86px;
}

.platform-advantage-card article > img {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.platform-build-side {
  gap: 12px;
}

.platform-consult-card,
.platform-guarantee-card {
  padding: 18px;
}

.platform-consult-card {
  min-height: 445px;
}

.platform-consult-card h3,
.platform-guarantee-card h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(218, 157, 48, .22);
}

.platform-consult-card label {
  margin-top: 16px;
  gap: 9px;
  font-size: 14px;
}

.platform-consult-card select,
.platform-consult-card input,
.platform-consult-card textarea {
  height: 38px;
  border-color: rgba(218, 157, 48, .30);
  border-radius: 7px;
  background: rgba(5, 8, 9, .84);
  color: #d7cbb7;
}

.platform-consult-card textarea {
  height: 108px;
}

.platform-guarantee-card {
  min-height: 308px;
}

.platform-guarantee-card p {
  grid-template-columns: 34px minmax(0, 1fr);
  margin: 18px 0 0;
}

.platform-guarantee-card p img {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.platform-guarantee-card b {
  color: #f6ead4;
  font-size: 14px;
}

.platform-guarantee-card span {
  color: #8f887c;
  line-height: 1.45;
}

.terminal {
  height: 100vh;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  background:
    radial-gradient(circle at 84% 14%, rgba(213, 153, 47, .18), transparent 24%),
    radial-gradient(circle at 30% 110%, rgba(213, 153, 47, .10), transparent 30%),
    linear-gradient(135deg, #030303, #0b0b0b 55%, #050505);
  color: #eadcc2;
}

.market-sidebar {
  grid-row: 1 / 2;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 8px;
  border-right: 1px solid rgba(208, 150, 45, .28);
  background:
    linear-gradient(180deg, rgba(255, 212, 111, .05), transparent 18%),
    linear-gradient(180deg, #101010, #070707);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .03);
}

.market-mt5-mini {
  display: grid;
  gap: 4px;
  padding: 12px 10px;
  border: 1px solid rgba(211, 155, 57, .38);
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 97, .15), transparent 55%),
    rgba(255, 255, 255, .02);
}

.market-mt5-mini span {
  width: fit-content;
  min-width: 58px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid rgba(54, 224, 125, .42);
  border-radius: 999px;
  color: #36e07d;
  font-size: 12px;
  font-weight: 800;
}

.market-mt5-mini span.offline {
  border-color: rgba(255, 89, 89, .42);
  color: #ff5959;
}

.market-mt5-mini b {
  color: #ffd36b;
  font-size: 14px;
}

.market-mt5-mini small {
  color: #b9ad98;
  font-size: 12px;
}

.left-panel {
  display: none;
  grid-row: 1 / 2;
  min-height: 0;
  border-right: 1px solid #323232;
  background: #080a0c;
  display: grid;
  grid-template-rows: auto auto minmax(220px, 1fr) minmax(150px, auto) minmax(92px, auto) auto;
  gap: 8px;
  padding: 8px;
}

.terminal > .left-panel {
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}
.brand > div:nth-child(2) {
  min-width: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #315075;
  background: #13243a;
  font-weight: 800;
}
h1, h2, p { margin: 0; }
h1 { font-size: 15px; }
.brand p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.svip-badge {
  margin-left: auto;
  width: 110px;
  height: 55px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 198, 65, .55));
}
.svip-badge.hidden { display: none; }

.side-card {
  min-height: 0;
  border: 1px solid #29313a;
  background: var(--panel);
  overflow: hidden;
}
.side-head {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid #29313a;
  background: #0d1116;
}
.side-head span {
  font-size: 13px;
  font-weight: 700;
}
.side-head strong {
  color: var(--green);
  font-size: 12px;
}
.account-detail-btn {
  height: 22px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid #315075;
  background: #101820;
  color: #dcecff;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.account-detail-btn:hover,
.account-detail-btn.active {
  border-color: var(--blue);
  background: #17314a;
  color: #fff;
}
.side-head input {
  width: 128px;
  padding: 0 8px;
  font-size: 12px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 12px;
  padding: 10px;
}
.account-grid label,
.account-strip label {
  color: #8e8e8e;
  font-size: 12px;
}
.account-grid b {
  font-size: 13px;
  text-align: right;
}

.symbols {
  height: 100%;
  overflow: auto;
}
.symbol-row {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 10px;
  border: 0;
  border-bottom: 1px solid #202830;
  border-radius: 0;
  background: transparent;
  padding: 9px 10px;
  text-align: left;
}
.symbol-row:hover { background: #111a23; }
.symbol-row.active {
  background: #172232;
  box-shadow: inset 3px 0 0 var(--blue);
}
.symbol-main {
  display: grid;
  gap: 4px;
}
.symbol-row b {
  font-size: 15px;
  line-height: 1;
}
.symbol-price {
  align-self: start;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}
.symbol-price.up { color: var(--red); }
.symbol-price.down { color: var(--green); }
.symbol-price.flat { color: #ffffff; }
.symbol-range {
  grid-column: 1 / 3;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #9fc7ed;
  font-size: 12px;
}
.symbol-row small {
  color: #818b96;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.signals {
  display: grid;
  gap: 7px;
  padding: 8px;
  max-height: 190px;
  overflow: auto;
}
.signal {
  border: 1px solid #29313a;
  background: #090c0f;
  padding: 8px;
}
.signal h3 {
  margin: 0 0 5px;
  font-size: 13px;
}
.signal p {
  color: #b7c0ca;
  font-size: 12px;
  line-height: 1.35;
}
.signal.bull h3 { color: var(--green); }
.signal.bear h3 { color: var(--red); }
.signal.warn h3 { color: var(--yellow); }
.signal.neutral h3 { color: var(--blue); }

.alert-settings {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
  padding: 7px 8px 0;
  color: #aeb8c4;
  font-size: 12px;
}
.alert-settings button {
  height: 26px;
  border: 1px solid #2d3b4d;
  background: #101820;
  color: #dcecff;
  cursor: pointer;
}
.alert-settings label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.alert-settings input[type="number"] {
  width: 50px;
  height: 24px;
  border: 1px solid #2d3b4d;
  background: #070a0d;
  color: #fff;
  padding: 0 4px;
}

.positions {
  padding: 8px;
  color: #b7c0ca;
  font-size: 12px;
  max-height: 118px;
  overflow: auto;
}

.member-card {
  min-height: 76px;
  border: 1px solid #29313a;
  background: #0b1016;
  padding: 8px;
  overflow: hidden;
}
.member-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.member-name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-level {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #29313a;
  background: #0c1218;
  color: #8ee89c;
  padding: 0 7px;
  font-size: 12px;
  white-space: nowrap;
}
.member-level.svip {
  color: #ffd66b;
  background: #19150b;
  border-color: #5a4921;
  font-weight: 700;
}
.switch-account-btn {
  margin-left: auto;
  height: 24px;
  border: 1px solid #315075;
  background: #101820;
  color: #dcecff;
  font-size: 12px;
  padding: 0 8px;
  cursor: pointer;
  white-space: nowrap;
}
.switch-account-btn:hover {
  border-color: var(--blue);
  color: #fff;
  background: #172232;
}
.member-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  margin-top: 7px;
}
.member-actions input {
  width: 100%;
  height: 26px;
  font-size: 11px;
  padding: 0 6px;
}
.member-actions button {
  height: 26px;
  font-size: 12px;
  padding: 0 7px;
}
.member-stats {
  margin-top: 8px;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #ff4d57;
  background: #101216;
  color: #ff4d57;
  padding: 0 10px;
  font-size: 15px;
}
.member-stats b {
  color: #ff4d57;
  font-size: 16px;
}
.children-list {
  display: grid;
  gap: 4px;
  max-height: 22px;
  margin-top: 5px;
  overflow: auto;
  color: #aeb9c5;
  font-size: 11px;
}
.child-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #202830;
  padding-top: 4px;
}
.position-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #202830;
}

.chart-frame {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  position: relative;
  margin: 10px 12px 8px;
  border: 1px solid rgba(201, 145, 43, .38);
  border-radius: 8px;
  min-height: 0;
  display: grid;
  grid-template-rows: 40px 42px 40px minmax(0, 1fr) 130px 38px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    #050505;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.feature-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
  background:
    linear-gradient(90deg, rgba(218, 157, 48, .12), rgba(255,255,255,.02)),
    #090909;
}
.feature-menu button {
  height: 28px;
  min-width: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(211, 154, 47, .42);
  border-radius: 5px;
  background: rgba(255, 255, 255, .045);
  color: #eadcc2;
  font-size: 13px;
  box-shadow: none;
}
.feature-menu button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}
.kline-feature-menu {
  min-height: 0;
  justify-content: flex-start;
}
.kline-feature-menu button {
  min-width: 124px;
  height: 30px;
  font-weight: 800;
}
.kline-feature-menu .voice-alert-toggle {
  min-width: 148px;
  margin-left: 0;
}
.feature-menu button:hover {
  border-color: rgba(211, 154, 47, .88);
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
}
.feature-menu button.active {
  border-color: rgba(211, 154, 47, .88);
  background: linear-gradient(180deg, rgba(212, 150, 43, .42), rgba(83, 59, 20, .55));
  color: #ffd36b;
  box-shadow: inset 0 -2px 0 rgba(255, 211, 107, .72);
}

.top-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 0 10px;
  border-bottom: 1px solid rgba(201, 145, 43, .18);
  background: rgba(7, 7, 7, .94);
  font-size: 13px;
  overflow: visible;
  position: relative;
}
.top-readout strong {
  color: var(--muted);
  font-size: 11px;
  margin-left: 12px;
  font-weight: 400;
}
.instrument-readout {
  display: none;
}
.toolbar {
  display: flex;
  align-items: center;
  margin-left: 0;
  justify-content: flex-end;
  gap: 8px;
  font-size: 12px;
  position: absolute;
  left: 12px;
}
.chart-tools {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
  padding: 3px;
  border: 1px solid rgba(201, 145, 43, .38);
  background: rgba(255, 255, 255, .035);
}
.chart-tools button {
  width: 28px;
  height: 22px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 3px;
  background: #111;
  color: #d8c8aa;
  font-size: 13px;
  padding: 0;
}
.chart-tools button:hover,
.chart-tools button.active {
  border-color: rgba(211, 154, 47, .82);
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
}
.kline-overlay-controls {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  padding: 3px;
  border: 1px solid rgba(201, 145, 43, .38);
  background: rgba(255, 255, 255, .035);
}
.kline-overlay-controls button {
  height: 22px;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 3px;
  background: #111;
  color: #d8c8aa;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.kline-overlay-controls button svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}
.kline-overlay-controls button:hover,
.kline-overlay-controls button.active {
  border-color: rgba(211, 154, 47, .82);
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
  box-shadow: inset 0 -2px 0 rgba(255, 211, 107, .55);
}
.voice-alert-toggle {
  height: 28px;
  min-width: 142px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 2px solid rgba(255, 89, 89, .88);
  border-radius: 0;
  background: rgba(255, 255, 255, .045);
  color: #f1dfbd;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.voice-alert-toggle svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}
.voice-alert-toggle em {
  min-width: 22px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 3px;
  background: rgba(255, 89, 89, .16);
  color: #ff7b70;
  font-style: normal;
  line-height: 1;
}
.voice-alert-toggle:hover {
  border-color: rgba(255, 211, 107, .9);
  color: #ffd36b;
}
.voice-alert-toggle.active {
  border-color: rgba(46, 203, 111, .85);
  background: linear-gradient(180deg, rgba(46, 203, 111, .22), rgba(4, 24, 14, .76));
  color: #8ff0ad;
  box-shadow: inset 0 -2px 0 rgba(46, 203, 111, .55);
}
.voice-alert-toggle.active em {
  background: rgba(46, 203, 111, .16);
  color: #8ff0ad;
}
.toolbar-feature-btn {
  height: 28px;
  min-width: 94px;
  margin-left: 6px;
  border: 1px solid rgba(211, 154, 47, .42);
  border-radius: 5px;
  background: rgba(255, 255, 255, .045);
  color: #eadcc2;
  font-size: 13px;
  box-shadow: none;
}
.toolbar-feature-btn:hover {
  border-color: rgba(211, 154, 47, .82);
  background: rgba(218, 157, 48, .18);
  color: #ffd36b;
}
.toolbar-feature-btn.active {
  border-color: rgba(211, 154, 47, .82);
  background: linear-gradient(180deg, rgba(212, 150, 43, .42), rgba(83, 59, 20, .55));
  color: #ffd36b;
  box-shadow: inset 0 -2px 0 rgba(255, 211, 107, .72);
}
.toolbar select { min-width: 72px; padding: 0 6px; }
.toolbar label { display: flex; align-items: center; gap: 5px; color: #bdbdbd; }
.segmented { display: flex; border-left: 1px solid #252525; }
.tf {
  width: 38px;
  border-left: 0;
  border-radius: 0;
  padding: 0;
  color: #aaa;
}
.tf.active {
  color: #ffd36b;
  border-color: rgba(211, 154, 47, .72);
  background: rgba(218, 157, 48, .20);
}

.main-chart-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 69, 69, .09), transparent 43%, rgba(25, 214, 111, .08)),
    #020202;
}
.market-ai-summary-panel {
  position: absolute;
  z-index: 10;
  left: 12px;
  bottom: 34px;
  width: 214px;
  min-height: 250px;
  padding: 18px 16px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background:
    radial-gradient(circle at 20% 24%, rgba(69, 196, 104, .13), transparent 30%),
    linear-gradient(180deg, rgba(17, 22, 23, .95), rgba(10, 12, 14, .92));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .05);
  color: #d8d1c7;
  pointer-events: none;
}
.market-ai-summary-panel.hidden {
  display: none;
}
.market-ai-summary-panel h4 {
  margin: 0 0 18px;
  color: #f2ead9;
  font-size: 17px;
  font-weight: 900;
}
.market-ai-score {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.market-ai-score b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 6px solid #29c66b;
  border-top-color: rgba(255, 255, 255, .20);
  color: #f8f5e8;
  font-size: 22px;
  line-height: 1;
}
.market-ai-score span {
  display: grid;
  gap: 5px;
  color: #a9a196;
  font-size: 14px;
}
.market-ai-score em,
.market-ai-summary-panel p b.up {
  color: #31e07a;
}
.market-ai-summary-panel p b.down {
  color: #ff4d58;
}
.market-ai-score em,
.market-ai-summary-panel p b {
  font-style: normal;
  font-weight: 900;
}
.market-ai-summary-panel p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 11px 0 0;
  color: #aaa195;
  font-size: 14px;
}
.market-ai-summary-panel p span {
  color: #b4ab9e;
}
.market-ai-summary-panel p b {
  color: #f4ead7;
  white-space: nowrap;
}
.market-ai-empty {
  color: #a9a196;
  font-size: 13px;
}
.chart, .indicator-chart {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.candle-overlay {
  position: absolute;
  inset: 0 64px 0 0;
  z-index: 5;
  width: calc(100% - 64px);
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.candle-overlay .kline-wick {
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.candle-overlay .kline-body {
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.trend-channel-overlay {
  position: absolute;
  inset: 0 64px 0 0;
  z-index: 4;
  width: calc(100% - 64px);
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.wedge-overlay {
  position: absolute;
  inset: 0 64px 0 0;
  z-index: 6;
  width: calc(100% - 64px);
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.wedge-overlay polygon,
.wedge-overlay line {
  vector-effect: non-scaling-stroke;
}
.wedge-fill {
  fill: rgba(255, 211, 107, .09);
  stroke: rgba(255, 211, 107, .22);
  stroke-width: 1;
}
.wedge-edge {
  stroke: #ffd36b;
  stroke-width: 1.6;
  stroke-dasharray: 7 4;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, .42));
}
.wedge-label {
  font-size: 12px;
  font-weight: 800;
  fill: #ffd36b;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, .72);
  stroke-width: 3px;
}
.trend-channel-overlay polygon,
.trend-channel-overlay line {
  vector-effect: non-scaling-stroke;
}
.trend-channel-fill {
  fill: rgba(47, 167, 255, .035);
}
.trend-channel-fill.down {
  fill: rgba(255, 75, 85, .035);
}
.trend-channel-edge {
  stroke: #2fa7ff;
  stroke-width: 1.6;
  stroke-dasharray: 8 5;
  filter: drop-shadow(0 0 5px rgba(47, 167, 255, .50));
}
.trend-channel-mid {
  stroke: #ffd36b;
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, .42));
}
.trend-channel-edge.down {
  stroke: #ff5b63;
  filter: drop-shadow(0 0 5px rgba(255, 75, 85, .45));
}
.trend-channel-mid.down {
  stroke: #f0c45e;
}

.drawing-layer {
  position: absolute;
  inset: 0 64px 0 0;
  z-index: 7;
  width: calc(100% - 64px);
  height: 100%;
  pointer-events: auto;
  touch-action: none;
  cursor: crosshair;
}

.drawing-layer line,
.drawing-layer rect {
  vector-effect: non-scaling-stroke;
}

.sr-overlay {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 8;
  pointer-events: none;
}

.sr-tag {
  position: absolute;
  right: 7px;
  min-width: 120px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sr-tag.resistance { background: #ff4b55; }
.sr-tag.support { background: #31d354; color: #071507; }

.trend-overlay {
  position: absolute;
  z-index: 9;
  right: 74px;
  top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 470px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(160, 160, 160, .28);
  background: rgba(0, 0, 0, .54);
  color: #bdbdbd;
  font-size: 14px;
  pointer-events: none;
}
.trend-overlay b {
  font-weight: 400;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 14px;
}
.trend-overlay small {
  color: #8d8d8d;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.trend-overlay.buy b {
  color: #001800;
  background: var(--soft-green);
}
.trend-overlay.sell b {
  color: #210000;
  background: var(--soft-red);
}
.trend-overlay.wait b {
  color: #111;
  background: #bdbdbd;
}

.zones {
  position: absolute;
  inset: 0 64px 0 0;
  z-index: 3;
  pointer-events: none;
}
.heatmap-overlay {
  position: absolute;
  inset: 0 64px 0 0;
  z-index: 3;
  pointer-events: none;
  opacity: .78;
  mix-blend-mode: screen;
}
.heatmap-cell {
  position: absolute;
  bottom: 0;
  width: 2.8%;
  min-width: 5px;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
  filter: blur(.2px);
}
.zone {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed color-mix(in srgb, currentColor 48%, #000 52%);
  border-bottom: 1px dashed color-mix(in srgb, currentColor 48%, #000 52%);
}
.zone.sell-strong { top: 0; height: 16%; color: var(--red); background: linear-gradient(90deg, rgba(255,0,0,.16), rgba(255,0,0,.035)); }
.zone.sell { top: 16%; height: 20%; color: var(--soft-red); background: linear-gradient(90deg, rgba(255,138,138,.08), rgba(255,138,138,.025)); }
.zone.wait { top: 36%; height: 31%; color: #8b8b8b; background: linear-gradient(90deg, rgba(120,120,120,.10), rgba(70,70,70,.018)); }
.zone.buy { top: 67%; height: 18%; color: var(--soft-green); background: linear-gradient(90deg, rgba(142,232,156,.08), rgba(142,232,156,.025)); }
.zone.buy-strong { top: 85%; height: 15%; color: var(--green); background: linear-gradient(90deg, rgba(20,180,55,.15), rgba(20,180,55,.035)); }

.zone-card {
  position: absolute;
  left: clamp(268px, 28vw, 470px);
  min-width: 0;
  width: 178px;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, currentColor 55%, #000 45%);
  border-radius: 3px;
  background: rgba(20, 20, 20, .62);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.25;
}
.zone-card small {
  display: inline;
  margin-left: 10px;
  font-size: 9px;
  font-weight: 400;
}
.zone-card.sell-strong { top: 8px; color: var(--red); }
.zone-card.sell { top: calc(16% + 6px); color: var(--soft-red); }
.zone-card.buy { top: calc(67% + 6px); bottom: auto; color: var(--soft-green); }
.zone-card.buy-strong { top: calc(85% + 6px); bottom: auto; color: var(--green); }

.zone-title {
  position: absolute;
  right: 24px;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
  line-height: 1.28;
}
.zone-title.sell-strong { top: 20px; color: var(--red); }
.zone-title.sell { top: 116px; color: var(--soft-red); }
.zone-title.wait {
  top: 48%;
  right: 42%;
  transform: translate(50%, -50%);
  color: rgba(230,230,230,.72);
  text-align: center;
}
.zone-title.buy { bottom: 116px; color: var(--soft-green); }
.zone-title.buy-strong { bottom: 42px; color: var(--green); }

.price-tag {
  position: absolute;
  right: -64px;
  min-width: 62px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
}
.price-tag.red { background: var(--red); }
.price-tag.soft-red { background: var(--soft-red); color: #210000; }
.price-tag.green { background: var(--green); color: #001800; }
.price-tag.soft-green { background: var(--soft-green); color: #001800; }
.price-tag.gray { background: #bdbdbd; color: #111; }
.price-tag.current { background: #fff; color: #000; }

.legend {
  position: absolute;
  left: 28px;
  top: 178px;
  z-index: 4;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
  pointer-events: none;
}
.legend div:first-child { color: var(--yellow); }
.legend div:last-child { color: var(--blue); }
.legend-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
.legend-line.ema20 { background: var(--yellow); }
.legend-line.ema50 { background: var(--blue); }

.indicator-wrap {
  position: relative;
  border-top: 1px solid var(--border);
  background: #000;
}
.macd-label {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 10px;
  font-size: 12px;
  color: #eee;
  pointer-events: none;
}
.strategy-note {
  position: absolute;
  z-index: 4;
  right: 0;
  top: -4px;
  bottom: 0;
  width: 330px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.78);
  padding: 8px 12px;
  color: #fff;
}
.strategy-note h2 {
  margin: 0 0 6px;
  color: #ffe600;
  font-size: 13px;
}
.strategy-note p {
  margin: 4px 0;
  font-size: 10px;
  line-height: 1.18;
}
.strategy-note p::before {
  content: "•";
  margin-right: 6px;
}

.symbol-tabs {
  display: flex;
  align-items: stretch;
  background: linear-gradient(#161616, #0e0e0e);
  border-top: 1px solid #242424;
  overflow-x: auto;
}
.tab {
  min-width: 132px;
  border: 0;
  border-right: 1px solid #292929;
  border-radius: 0;
  height: 37px;
  color: #9c9c9c;
  background: transparent;
  font-size: 13px;
}
.tab.active {
  color: #fff;
  background: #2a2a2a;
  box-shadow: inset 0 -2px 0 var(--blue);
}

.account-strip {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  display: grid;
  grid-template-columns: 1.45fr repeat(5, 1fr);
  gap: 1px;
  min-height: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(201, 145, 43, .26);
  border-radius: 0;
  overflow: hidden;
  background: rgba(201, 145, 43, .20);
}
.account-strip div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(218, 157, 48, .12), transparent 52%),
    #0d0d0d;
  padding: 0 14px;
  font-size: 14px;
}
.account-strip span {
  color: var(--green);
  font-weight: 700;
}
.account-strip b {
  color: #f1d18a;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 64px;
  max-width: 420px;
  background: #151515;
  color: #fff;
  border: 1px solid #555;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: .18s ease;
  z-index: 10050;
}
.toast.show { opacity: 1; transform: translateY(0); }

.auth-notice {
  position: fixed;
  left: 50%;
  top: 26px;
  z-index: 10080;
  min-width: 260px;
  max-width: min(520px, calc(100vw - 36px));
  padding: 12px 18px;
  border: 1px solid rgba(242, 191, 82, .72);
  border-radius: 8px;
  background: rgba(15, 11, 5, .95);
  color: #ffe6a6;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .38), 0 0 20px rgba(229, 178, 70, .2);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .18s ease, transform .18s ease;
}

.auth-notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.auth-notice.notice-error {
  border-color: rgba(255, 87, 87, .78);
  color: #fff1f1;
  background: rgba(43, 12, 12, .95);
}

.auth-notice.notice-success {
  border-color: rgba(63, 219, 121, .7);
  color: #eaffef;
  background: rgba(8, 38, 20, .95);
}

.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .68);
}
.feature-modal.show { display: flex; }
.feature-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 28px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #334252;
  background: #090d12;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}
.feature-dialog.fans-dialog {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border: 0;
  border-radius: 0;
  background: #f7faff;
  color: #1f2937;
  box-shadow: none;
}
.feature-dialog.orders-dialog {
  position: relative;
  width: min(1160px, calc(100vw - 24px));
  height: min(760px, calc(100vh - 24px));
  max-height: calc(100vh - 24px);
  border: 1px solid rgba(189, 137, 45, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 8%, rgba(188, 132, 32, .16), transparent 28%),
    linear-gradient(145deg, #0d0f13, #08090b 72%);
  color: #f8ead0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .62);
}
.feature-dialog.share-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 1px solid rgba(201, 145, 43, .38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0, rgba(218, 157, 48, .16), transparent 42%),
    linear-gradient(145deg, rgba(24, 20, 12, .96), rgba(6, 7, 8, .98));
  color: #f6ead4;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .64), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.feature-dialog.vip-purchase-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 1px solid rgba(201, 145, 43, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 8%, rgba(218, 157, 48, .18), transparent 32%),
    linear-gradient(145deg, rgba(23, 20, 14, .98), rgba(7, 8, 9, .98));
  color: #f6ead4;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .66), inset 0 1px 0 rgba(255,255,255,.04);
}
.feature-dialog.withdrawal-dialog {
  width: min(1280px, calc(100vw - 24px));
  height: min(800px, calc(100vh - 24px));
  max-height: calc(100vh - 24px);
  border: 1px solid rgba(201, 145, 43, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 10%, rgba(218, 157, 48, .14), transparent 32%),
    linear-gradient(145deg, rgba(17, 18, 20, .98), rgba(6, 7, 9, .98));
  color: #f6ead4;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .68), inset 0 1px 0 rgba(255,255,255,.04);
}
.feature-dialog.ai-copy-dialog,
.feature-dialog.ea-quant-dialog,
.feature-dialog.arbitrage-monitor-dialog {
  width: min(1680px, calc(100vw - 18px));
  height: min(900px, calc(100vh - 18px));
  max-height: calc(100vh - 18px);
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0, rgba(218, 157, 48, .14), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(218, 157, 48, .10), transparent 34%),
    linear-gradient(145deg, #0d0e10, #070708 72%);
  color: #f6ead4;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .68);
}

.feature-dialog.mt5-account-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 1px solid rgba(201, 145, 43, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 10%, rgba(218, 157, 48, .14), transparent 34%),
    linear-gradient(145deg, rgba(18, 17, 14, .98), rgba(6, 8, 10, .98));
  color: #f6ead4;
  box-shadow: 0 30px 82px rgba(0, 0, 0, .66);
}

.feature-dialog.forex-broker-detail-dialog {
  width: min(1500px, calc(100vw - 18px));
  height: min(880px, calc(100vh - 18px));
  max-height: calc(100vh - 18px);
  border: 1px solid rgba(218, 157, 48, .36);
  border-radius: 8px;
  background: #050606;
  color: #f5ead6;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .72);
}

.feature-dialog.forex-broker-detail-dialog > header {
  min-height: 0;
  height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}

.feature-dialog.forex-broker-detail-dialog > header h2 {
  display: none;
}

.feature-dialog.forex-broker-detail-dialog > header > button {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(218, 157, 48, .38);
  border-radius: 5px;
  background: rgba(0, 0, 0, .45);
  color: #f2d797;
}

.feature-dialog.forex-broker-detail-dialog .feature-body {
  padding: 0;
  overflow: auto;
}

.forex-broker-detail-panel {
  min-width: 1260px;
  display: grid;
  gap: 12px;
  padding: 4px;
  color: #f3eadb;
  background: #050606;
}

.forex-broker-detail-hero,
.forex-detail-card,
.forex-detail-analysis,
.forex-detail-actions {
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 6px;
  background:
    radial-gradient(circle at 80% 0, rgba(218, 157, 48, .08), transparent 34%),
    linear-gradient(145deg, rgba(28, 29, 31, .94), rgba(9, 10, 11, .98));
}

.forex-broker-detail-hero {
  display: grid;
  grid-template-columns: 300px minmax(360px, 1fr) 205px 205px 205px;
  grid-template-rows: auto auto;
  gap: 14px;
  padding: 16px 18px 12px;
}

.forex-detail-logo-card {
  position: relative;
  min-height: 178px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7f7f8;
  overflow: hidden;
}

.forex-detail-logo-card > span {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 76px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 0 0 9px 0;
  color: #fff;
  background: #22aa5a;
  font-weight: 900;
}

.forex-detail-logo-card .forex-broker-logo {
  width: 210px !important;
  height: 110px !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

.forex-detail-title h3 {
  margin: 6px 0 10px;
  color: #fff;
  font-size: 32px;
}

.forex-detail-title p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
  color: #ddd7ca;
  font-size: 16px;
}

.forex-detail-title nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.forex-detail-title nav span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 5px;
  color: #dfd4c1;
  background: rgba(255, 255, 255, .08);
}

.forex-detail-title a {
  min-height: 58px;
  display: grid;
  grid-template-columns: 32px 110px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  max-width: 430px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  color: #f4cc71;
  background: rgba(255, 255, 255, .04);
  text-decoration: none;
}

.forex-detail-title a svg {
  color: #dcd6ca;
}

.forex-detail-score,
.forex-detail-kpi {
  min-height: 134px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(35, 36, 38, .82), rgba(15, 16, 18, .96));
}

.forex-detail-score b,
.forex-detail-kpi b {
  color: #f2be63;
  font-size: 46px;
  line-height: 1;
}

.forex-detail-score em,
.forex-detail-score span,
.forex-detail-kpi span,
.forex-detail-kpi small {
  color: #d7d0c3;
  font-style: normal;
}

.forex-detail-reply {
  grid-column: 4 / span 2;
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  background: rgba(255, 255, 255, .04);
}

.forex-detail-reply button {
  width: 116px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  font-weight: 900;
}

.forex-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 12px;
}

.forex-detail-card {
  padding: 14px 18px;
}

.forex-detail-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #ffe08c;
  font-size: 19px;
}

.forex-detail-card h4 strong {
  margin-left: auto;
  padding: 2px 16px;
  border: 1px solid rgba(255, 211, 107, .34);
  border-radius: 5px;
  color: #ffd36b;
}

.forex-detail-card > p {
  min-height: 44px;
  display: grid;
  grid-template-columns: 52px 1fr 82px 20px;
  gap: 10px;
  align-items: center;
  margin: 0 0 6px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
}

.forex-detail-card > p em {
  justify-self: end;
  padding: 2px 8px;
  border: 1px solid rgba(58, 213, 112, .34);
  border-radius: 5px;
  color: #57de80;
  font-style: normal;
}

.forex-detail-env > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.forex-detail-env p {
  min-height: 90px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

.forex-detail-env p b {
  color: #fff;
  font-size: 30px;
}

.forex-detail-env p em {
  justify-self: end;
  padding: 3px 8px;
  border: 1px solid rgba(63, 210, 111, .34);
  border-radius: 5px;
  color: #54df7c;
  font-style: normal;
}

.forex-detail-analysis {
  padding: 12px 14px 8px;
}

.forex-detail-analysis nav {
  display: flex;
  gap: 34px;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.forex-detail-analysis nav button {
  border: 0;
  background: transparent;
  color: #ded5c7;
  font-size: 16px;
}

.forex-detail-analysis nav .active {
  color: #ffd36b;
  border-bottom: 2px solid #ffd36b;
}

.forex-detail-analysis-body {
  display: grid;
  grid-template-columns: 330px 1fr 320px;
  gap: 14px;
  padding-top: 10px;
}

.forex-donut-card,
.forex-position-card,
.forex-sentiment-card {
  min-height: 176px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

.forex-donut {
  float: left;
  width: 118px;
  height: 118px;
  margin: 12px 20px 0 0;
  border-radius: 50%;
  background: conic-gradient(#51c66f 0 56%, #e94e55 56% 85%, #555 85% 100%);
  box-shadow: inset 0 0 0 30px #171819;
}

.forex-donut-card p {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #e6dccb;
}

.forex-donut-card p span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #666;
}

.forex-donut-card p .long { background: #51c66f; }
.forex-donut-card p .short { background: #e94e55; }

.forex-position-card table {
  width: 100%;
  border-collapse: collapse;
}

.forex-position-card th,
.forex-position-card td {
  height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-align: left;
}

.forex-position-card td:last-child {
  color: #51d879;
}

.forex-position-card .down {
  color: #ff565e !important;
}

.forex-sentiment-card div {
  width: 180px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 22px auto 12px;
  border-radius: 180px 180px 0 0;
  background: conic-gradient(from 270deg, #f5c15f 0 62%, #52c66c 62% 84%, #d94b54 84% 100%);
  color: #ffd36b;
}

.forex-sentiment-card div b {
  font-size: 34px;
}

.forex-detail-actions {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
}

.forex-detail-actions button {
  min-width: 126px;
  height: 42px;
  border: 1px solid rgba(218, 157, 48, .44);
  border-radius: 5px;
  background: rgba(0, 0, 0, .28);
  color: #f2d18a;
  font-size: 16px;
}

.forex-detail-actions span {
  color: #8e877c;
}

.forex-detail-actions strong {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  color: #2b1903;
  background: linear-gradient(180deg, #ffe58c, #dfa12b);
  box-shadow: 0 0 0 5px rgba(218, 157, 48, .16);
}
.withdrawal-apply-dashboard {
  display: grid;
  gap: 10px;
  color: #f6ead4;
}
.withdrawal-loading,
.withdrawal-error {
  min-height: 220px;
  place-items: center;
  justify-content: center;
  align-items: center;
  color: #f2c75f;
  font-size: 18px;
  font-weight: 800;
}
.withdrawal-title-block {
  padding: 4px 2px 0;
}
.withdrawal-title-block h3 {
  margin: 0 0 4px;
  color: #ffd36b;
  font-size: 26px;
}
.withdrawal-title-block p {
  margin: 0;
  color: #a9a094;
  font-size: 13px;
}
.withdrawal-summary-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.withdrawal-summary-cards article {
  min-height: 84px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 16%, rgba(218, 157, 48, .12), transparent 45%),
    rgba(255, 255, 255, .025);
}
.withdrawal-summary-cards svg {
  grid-row: 1 / 4;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .18);
}
.withdrawal-summary-cards span,
.withdrawal-summary-cards small {
  color: #aaa094;
  font-size: 12px;
}
.withdrawal-summary-cards b {
  color: #ffd36b;
  font-size: 20px;
  line-height: 1.1;
}
.withdrawal-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 12px;
}
.withdrawal-form-panel,
.withdrawal-side-panel section,
.withdrawal-record-panel {
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 6% 0, rgba(218, 157, 48, .10), transparent 40%),
    rgba(7, 8, 9, .78);
}
.withdrawal-form-panel {
  padding: 14px 18px;
}
.withdrawal-form-panel h3,
.withdrawal-side-panel h3,
.withdrawal-record-panel h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd36b;
  font-size: 18px;
}
.withdrawal-form-panel h3 svg,
.withdrawal-side-panel h3 svg,
.withdrawal-record-panel h3 svg {
  width: 18px;
  height: 18px;
}
.withdrawal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.withdrawal-form-grid label,
.withdrawal-field {
  display: grid;
  gap: 6px;
  color: #d8cbb5;
  font-size: 13px;
  font-weight: 800;
}
.withdrawal-form-grid input,
.withdrawal-form-grid select,
.withdrawal-form-grid textarea {
  width: 100%;
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #f7ead0;
  outline: none;
}
.withdrawal-form-grid select,
.withdrawal-form-grid select option {
  color: #2fa7ff;
}
.withdrawal-form-grid input,
.withdrawal-form-grid select {
  height: 38px;
  padding: 0 12px;
}
.withdrawal-form-grid input[readonly] {
  color: #d7c8ae;
  background: rgba(255, 255, 255, .018);
}
.withdrawal-form-grid textarea {
  min-height: 58px;
  padding: 10px 12px;
  resize: none;
}
.withdrawal-methods {
  height: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 6px;
  overflow: hidden;
}
.withdrawal-methods label {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(201, 145, 43, .24);
  color: #d8cbb5;
  cursor: pointer;
}
.withdrawal-methods label:first-child { border-left: 0; }
.withdrawal-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.withdrawal-methods input:checked + span {
  color: #211600;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
}
.withdrawal-methods span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.withdrawal-amount-line {
  display: grid;
  grid-template-columns: 1fr 96px;
}
.withdrawal-amount-line input {
  border-radius: 6px 0 0 6px;
}
.withdrawal-amount-line button {
  border: 1px solid rgba(201, 145, 43, .36);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: rgba(218, 157, 48, .16);
  color: #ffd36b;
  font-weight: 900;
}
.withdrawal-remark {
  grid-column: 1 / -1;
  position: relative;
}
.withdrawal-remark small {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #9d9589;
  font-weight: 400;
}
.withdrawal-calc-line {
  display: flex;
  gap: 22px;
  margin-top: 10px;
  color: #b5a999;
  font-size: 13px;
}
.withdrawal-calc-line b {
  color: #ffd36b;
}
.withdrawal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-top: 12px;
}
.withdrawal-submit-btn,
.withdrawal-reset-btn,
.withdrawal-record-panel button {
  height: 42px;
  border: 1px solid rgba(201, 145, 43, .46);
  border-radius: 6px;
  font-weight: 900;
}
.withdrawal-submit-btn {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #211600;
}
.withdrawal-submit-btn:disabled {
  opacity: .7;
  cursor: wait;
}
.withdrawal-reset-btn,
.withdrawal-record-panel button {
  background: rgba(218, 157, 48, .10);
  color: #ffd36b;
}
.withdrawal-side-panel {
  display: grid;
  gap: 12px;
}
.withdrawal-side-panel section {
  padding: 16px;
}
.withdrawal-side-panel p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  margin: 9px 0;
  color: #d2c5ad;
  font-size: 13px;
}
.withdrawal-side-panel p svg {
  width: 16px;
  height: 16px;
  color: #ffd36b;
}
.withdrawal-side-panel strong {
  display: block;
  margin-top: 10px;
  color: #f1c45b;
  font-size: 13px;
  line-height: 1.6;
}
.withdrawal-side-panel button {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
  color: #f4e2bd;
  text-align: left;
  padding: 8px 14px;
  font-weight: 800;
}
.withdrawal-side-panel button b,
.withdrawal-side-panel button span {
  display: block;
}
.withdrawal-side-panel button span {
  margin-top: 3px;
  color: #b8aa92;
  font-size: 12px;
  font-weight: 600;
}
.withdrawal-record-panel {
  padding: 12px 14px;
}
.withdrawal-record-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.withdrawal-record-panel h3 {
  margin: 0;
}
.withdrawal-record-panel button {
  width: 80px;
  height: 34px;
}
.withdrawal-record-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.withdrawal-record-panel th,
.withdrawal-record-panel td {
  height: 36px;
  padding: 0 10px;
  border-top: 1px solid rgba(201, 145, 43, .15);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}
.withdrawal-record-panel th {
  color: #a99f90;
  background: rgba(255, 255, 255, .025);
}
.withdrawal-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}
.withdrawal-status.pending { color: #ffd36b; background: rgba(218,157,48,.15); }
.withdrawal-status.approved { color: #63ddff; background: rgba(47,167,255,.15); }
.withdrawal-status.paid { color: #51df89; background: rgba(57,211,83,.15); }
.withdrawal-status.rejected { color: #ff7070; background: rgba(255,66,66,.14); }
.feature-dialog header {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #26313d;
}
.feature-dialog.share-dialog header {
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
}
.feature-dialog.vip-purchase-dialog header {
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
}
.feature-dialog.ai-copy-dialog > header,
.feature-dialog.ea-quant-dialog > header,
.feature-dialog.arbitrage-monitor-dialog > header {
  min-height: 0;
  height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}
.feature-dialog.ai-copy-dialog > header h2,
.feature-dialog.ea-quant-dialog > header h2,
.feature-dialog.arbitrage-monitor-dialog > header h2 {
  display: none;
}
.feature-dialog.ai-copy-dialog > header > button,
.feature-dialog.ea-quant-dialog > header > button,
.feature-dialog.arbitrage-monitor-dialog > header > button {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 145, 43, .42);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #d8cbb5;
}
.feature-dialog.ai-copy-dialog header > button:hover,
.feature-dialog.ea-quant-dialog header > button:hover,
.feature-dialog.arbitrage-monitor-dialog header > button:hover {
  color: #ffd36b;
  border-color: rgba(255, 211, 107, .65);
}
.feature-dialog.share-dialog header h2 {
  color: #ffd36b;
  font-size: 18px;
}
.feature-dialog.share-dialog header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 145, 43, .38);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #d8cbb5;
}
.feature-dialog.share-dialog header button:hover {
  border-color: rgba(255, 211, 107, .68);
  color: #ffd36b;
  background: rgba(218, 157, 48, .10);
}
.feature-dialog.orders-dialog header {
  min-height: 62px;
  padding: 0 24px;
  border-bottom: 0;
}
.feature-dialog.orders-dialog header h2 {
  color: #f6ead4;
  font-size: 22px;
}
.feature-dialog.orders-dialog header button {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 999;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 157, 54, .72);
  border-radius: 999px;
  background: rgba(13, 15, 19, .94);
  color: #e9aa35;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(214, 157, 54, .18);
}
.feature-dialog.orders-dialog header button:hover {
  background: #1c1408;
  border-color: #ffd36b;
  color: #ffd36b;
  transform: translateY(-1px);
}
.feature-dialog.fans-dialog header {
  min-height: 0;
  height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}
.feature-dialog.fans-dialog header h2 {
  display: none;
}
.feature-dialog.fans-dialog header button {
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe7f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: transparent;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(30, 41, 59, .12);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.feature-dialog.fans-dialog header button::before,
.feature-dialog.fans-dialog header button::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #64748b;
}

.feature-dialog.fans-dialog header button::before {
  transform: rotate(45deg);
}

.feature-dialog.fans-dialog header button::after {
  transform: rotate(-45deg);
}

.feature-dialog.fans-dialog header button:hover {
  border-color: #7db4ff;
  background: #eff6ff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .18);
  transform: translateY(-1px);
}

.feature-dialog.fans-dialog header button:hover::before,
.feature-dialog.fans-dialog header button:hover::after {
  background: #2878ff;
}
.feature-dialog h2 {
  margin: 0;
  font-size: 16px;
}
.feature-body {
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 10px;
}
.feature-dialog.share-dialog .feature-body {
  padding: 14px;
}
.feature-dialog.ai-copy-dialog .feature-body,
.feature-dialog.ea-quant-dialog .feature-body,
.feature-dialog.arbitrage-monitor-dialog .feature-body {
  padding: 10px;
  overflow: auto;
}
.feature-dialog.fans-dialog .feature-body {
  padding: 28px 34px;
  gap: 18px;
  background: #f7faff;
}
.feature-dialog.orders-dialog .feature-body {
  padding: 0 24px 18px;
  gap: 10px;
}
.feature-dialog.withdrawal-dialog .feature-body {
  padding: 12px 18px 18px;
  gap: 10px;
  overflow: auto;
}
.orders-dashboard {
  display: grid;
  gap: 10px;
}
.orders-summary-card,
.orders-panel {
  border: 1px solid rgba(173, 122, 36, .45);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 210, 120, .04), rgba(255, 210, 120, .015)),
    rgba(9, 10, 12, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.orders-summary-card {
  position: relative;
  min-height: 150px;
  padding: 16px 260px 18px 16px;
  overflow: hidden;
}
.orders-section-title,
.orders-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.orders-section-title span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #f4c96d, #8a5a15);
}
.orders-section-title b,
.orders-panel-head h3 {
  margin: 0;
  color: #f7ead4;
  font-size: 16px;
}
.orders-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
}
.orders-summary-grid div {
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid rgba(179, 129, 46, .34);
}
.orders-summary-grid div:first-child {
  border-left: 0;
  padding-left: 24px;
}
.orders-summary-grid label,
.orders-summary-grid small {
  display: block;
  color: #a39b8f;
  font-size: 13px;
}
.orders-summary-grid strong {
  display: block;
  margin: 10px 0 8px;
  color: #e8b54c;
  font-size: 20px;
}
.positive { color: #32d06d !important; }
.negative { color: #ff5b65 !important; }
.orders-summary-art {
  position: absolute;
  right: 34px;
  top: 18px;
  width: 210px;
  height: 120px;
  opacity: .9;
}
.orders-summary-art::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 8px;
  width: 96px;
  height: 84px;
  border: 2px solid rgba(230, 177, 76, .65);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(246, 206, 123, .24), rgba(39, 25, 8, .4));
  transform: rotate(7deg);
  box-shadow: 0 18px 35px rgba(0, 0, 0, .35);
}
.orders-summary-art::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(234, 178, 73, .28);
  background: radial-gradient(ellipse at center, rgba(228, 161, 43, .35), transparent 68%);
}
.orders-panel {
  overflow: hidden;
}
.orders-panel-head {
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(173, 122, 36, .24);
}
.orders-panel-head button,
.order-close-btn,
.order-chart-btn,
.orders-empty-state button {
  height: 30px;
  border: 1px solid rgba(214, 157, 54, .58);
  border-radius: 5px;
  background: rgba(38, 28, 13, .72);
  color: #f0c777;
  font-weight: 700;
  cursor: pointer;
}
.orders-panel-head button {
  padding: 0 14px;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
}
.orders-table th,
.orders-table td {
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(173, 122, 36, .18);
  color: #c9c9c9;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}
.orders-table th {
  color: #918a80;
  font-weight: 700;
  background: rgba(255, 255, 255, .015);
}
.order-symbol-badge {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d875, #a26a19);
  color: #3c2504;
  font-size: 11px;
  font-weight: 900;
}
.order-dir {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  border-radius: 4px;
  font-weight: 800;
}
.order-dir.buy {
  color: #31d66d;
  background: rgba(49, 214, 109, .12);
}
.order-dir.sell {
  color: #ff5b65;
  background: rgba(255, 91, 101, .12);
}
.order-close-btn {
  min-width: 72px;
}
.order-chart-btn {
  width: 34px;
  margin-left: 8px;
}
.orders-empty-state {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #8f8f8f;
}
.orders-empty-state div {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #777;
  font-size: 28px;
}
.orders-empty-state b {
  color: #bdb7aa;
}
.orders-empty-state p {
  color: #858585;
  font-size: 13px;
}
.orders-empty-state button {
  min-width: 92px;
  margin-top: 4px;
  background: linear-gradient(90deg, #dba63d, #f4cf75);
  color: #261801;
}
.feature-card {
  border: 1px solid #26313d;
  background: #0c1218;
  padding: 10px;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}
.feature-card p {
  margin: 4px 0;
  color: #b7c0ca;
  font-size: 13px;
  line-height: 1.45;
}
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.feature-actions button,
.feature-card input {
  height: 30px;
  border: 1px solid #334252;
  background: #101720;
  color: #e8f0f8;
  padding: 0 10px;
}
.feature-card input {
  width: 100%;
}
.copy-state {
  color: var(--soft-green);
  font-size: 12px;
}

.share-link-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0, rgba(218, 157, 48, .12), transparent 42%),
    rgba(12, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.share-qr-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
}

.share-qr-box img {
  width: 126px;
  height: 126px;
  display: block;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
}

.share-qr-box span {
  color: #61df8a;
  font-size: 12px;
  font-weight: 700;
}

.share-link-content {
  min-width: 0;
}

.share-link-content h3 {
  margin: 2px 0 10px;
  color: #ffd36b;
  font-size: 15px;
}

.share-link-content input {
  height: 34px;
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #f6ead4;
}

.share-link-content p {
  margin: 9px 0 0;
  color: #b7ad9d;
}

.share-link-card .feature-actions button {
  height: 34px;
  border: 1px solid rgba(218, 157, 48, .52);
  border-radius: 5px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-weight: 900;
}

.share-link-card .copy-state {
  margin-top: 6px;
  color: #61df8a;
  font-weight: 700;
}

.ai-copy-page {
  min-height: 0;
  height: 100%;
  padding: 14px 16px 16px;
  overflow: auto;
  background:
    radial-gradient(circle at 22% 2%, rgba(218, 157, 48, .10), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .018), rgba(0, 0, 0, .12));
}

.ai-copy-page-shell {
  min-height: 100%;
}

.ai-copy-dashboard.ai-copy-page-dashboard {
  min-height: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .48fr);
  gap: 14px;
}

.ai-copy-dashboard {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .52fr);
  gap: 16px;
}

.ai-copy-rank-card,
.ai-copy-settings {
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0, rgba(218, 157, 48, .10), transparent 38%),
    rgba(12, 12, 12, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  overflow: hidden;
}

.ai-copy-rank-card {
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto auto;
}

.ai-copy-hero {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
}

.ai-copy-icon,
.ai-trader-avatar {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 28%, #ffe4a0, #9b651a 72%);
  color: #190f00;
  font-weight: 900;
}

.ai-copy-icon {
  width: 48px;
  height: 48px;
  color: #221500;
}

.ai-copy-icon svg {
  width: 30px;
  height: 30px;
}

.ai-copy-hero h3,
.ai-copy-settings h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 22px;
}

.ai-copy-hero p {
  margin: 8px 0 0;
  color: #b7ad9d;
  padding-right: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-copy-hero button,
.ai-copy-settings header button,
.ai-copy-follow-btn,
.ai-copy-selected button {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .46);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #f2c767;
  font-weight: 800;
  white-space: nowrap;
}

.ai-copy-hero > button {
  position: absolute;
  right: 22px;
  top: 18px;
  min-width: 104px;
}

.ai-copy-tabs {
  min-height: 58px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0 22px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ai-copy-tabs button,
.ai-copy-tabs label {
  height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #b7ad9d;
}

.ai-copy-tabs button.active {
  color: #ffd36b;
  border-bottom-color: #ffd36b;
}

.ai-copy-tabs label {
  flex: 1 1 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-color: rgba(201, 145, 43, .22);
  background: rgba(255, 255, 255, .025);
}

.ai-copy-tabs input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f6ead4;
}

.ai-copy-table {
  width: 100%;
  align-self: start;
  table-layout: fixed;
  border-collapse: collapse;
}

.ai-copy-col-rank {
  width: 3%;
}

.ai-copy-col-trader {
  width: 20%;
}

.ai-copy-col-qualification,
.ai-copy-col-days,
.ai-copy-col-followers,
.ai-copy-col-status,
.ai-copy-col-contact {
  width: 10%;
}

.ai-copy-col-profit {
  width: 12%;
}

.ai-copy-col-action {
  width: 7%;
}

.ai-copy-table tbody tr {
  height: 60px;
}

.ai-copy-table th,
.ai-copy-table td {
  height: 60px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-align: left;
  color: #d8cbb5;
  font-size: 13px;
  white-space: nowrap;
}

.ai-copy-table th {
  height: 36px;
  color: #9d9589;
  font-weight: 700;
}

.ai-copy-table th:first-child,
.ai-copy-table td:first-child {
  padding-left: 4px;
  padding-right: 4px;
}

.ai-copy-table tr.active {
  background: linear-gradient(90deg, rgba(218, 157, 48, .12), rgba(255, 255, 255, .02));
}

.ai-copy-table strong {
  display: block;
  color: #39c869;
  font-size: 15px;
  line-height: 1.05;
}

.ai-copy-table b {
  display: block;
  color: #f6ead4;
  font-size: 13px;
  line-height: 1.05;
}

.ai-copy-table small {
  color: #9d9589;
  font-size: 11px;
  line-height: 1.05;
}

.ai-rank {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #b7ad9d;
  font-size: 15px;
  font-weight: 900;
}

.ai-rank.medal {
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe49a, #c58c28);
  color: #251600;
  font-size: 13px;
}

.ai-trader-cell {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.ai-trader-avatar {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.ai-trader-cell em,
.ai-copy-selected em {
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 4px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .10);
  font-size: 10px;
  font-style: normal;
}

.ai-copy-follow-btn {
  min-width: 64px;
  height: 24px;
  padding: 0 12px;
  font-size: 13px;
}

.ai-copy-qualification,
.ai-copy-status,
.ai-copy-contact {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.ai-copy-qualification,
.ai-copy-status {
  padding: 0 8px;
  border: 1px solid rgba(218, 157, 48, .38);
  border-radius: 5px;
  color: #ffd36b;
  background: rgba(218, 157, 48, .08);
  font-size: 12px;
  font-weight: 800;
}

.ai-copy-status {
  color: #39c869;
  border-color: rgba(57, 200, 105, .36);
  background: rgba(57, 200, 105, .08);
}

.ai-copy-contact {
  color: #d8cbb5;
  font-size: 12px;
}

.ai-copy-rank-card footer {
  padding: 12px 24px;
  color: #8f877a;
  font-size: 12px;
}

.ai-copy-settings {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.ai-copy-settings header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.ai-copy-settings label {
  color: #f6ead4;
  font-weight: 800;
}

.ai-copy-selected {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 68px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
}

.ai-copy-trader-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ai-copy-trader-summary span,
.ai-copy-cost span {
  display: grid;
  gap: 4px;
  color: #9d9589;
  font-size: 12px;
}

.ai-copy-trader-summary b,
.ai-copy-cost b {
  color: #f6ead4;
  font-size: 15px;
}

.ai-copy-money,
.ai-copy-risk,
.ai-copy-advanced {
  display: grid;
  align-items: center;
  gap: 10px;
}

.ai-copy-money {
  grid-template-columns: minmax(0, 1fr) 58px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
}

.ai-copy-money input,
.ai-copy-risk input,
.ai-copy-advanced input {
  height: 40px;
  border: 1px solid rgba(201, 145, 43, .20);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  color: #f6ead4;
  padding: 0 12px;
}

.ai-copy-money input {
  border: 0;
  background: transparent;
}

.ai-copy-money span {
  color: #d8cbb5;
}

.ai-copy-settings p,
.ai-copy-scale,
.ai-copy-modes small,
.ai-copy-risk small {
  color: #9d9589;
}

.ai-copy-range {
  width: 100%;
  accent-color: #f2c767;
}

.ai-copy-scale {
  display: flex;
  justify-content: space-between;
  margin-top: -10px;
  font-size: 12px;
}

.ai-copy-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ai-copy-modes button {
  min-height: 70px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 7px;
  background: rgba(255, 255, 255, .018);
  color: #d8cbb5;
  text-align: left;
  padding: 12px 14px;
}

.ai-copy-modes button.active {
  border-color: rgba(218, 157, 48, .62);
  background: rgba(218, 157, 48, .10);
  color: #ffd36b;
}

.ai-copy-risk {
  grid-template-columns: 1fr 78px 24px 1fr;
}

.ai-copy-advanced {
  grid-template-columns: 1.15fr 70px 28px 1.15fr 70px 28px;
}

.ai-copy-cost {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 7px;
  background: rgba(218, 157, 48, .08);
}

.ai-copy-cost span:last-child b {
  color: #39c869;
}

.ai-copy-start {
  height: 42px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-size: 17px;
  font-weight: 900;
}

.ai-copy-placeholder {
  min-height: 520px;
  border: 1px solid rgba(218, 163, 61, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(218, 163, 61, .16), transparent 34%),
    linear-gradient(135deg, rgba(13, 24, 23, .98), rgba(5, 10, 13, .98));
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  color: #e8edf5;
}

.ai-copy-placeholder header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-copy-placeholder header > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(218, 163, 61, .16);
  color: #ffd15d;
  box-shadow: 0 0 28px rgba(218, 163, 61, .18);
}

.ai-copy-placeholder h2 {
  margin: 0 0 6px;
  color: #f8f1dd;
  font-size: 28px;
}

.ai-copy-placeholder p {
  margin: 0;
  color: #aeb6c2;
  line-height: 1.7;
}

.ai-copy-placeholder-body {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  background: rgba(255, 255, 255, .035);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.ai-copy-placeholder-body b {
  color: #ffd15d;
  font-size: 18px;
}

.ai-copy-placeholder code {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid rgba(218, 163, 61, .25);
  background: rgba(0, 0, 0, .26);
  color: #48e862;
  overflow-wrap: anywhere;
}

.ai-copy-placeholder > .ai-copy-start {
  max-width: 220px;
  cursor: pointer;
}

.my-copy-page {
  display: grid;
  gap: 14px;
  color: #edf2f8;
}

.my-copy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.my-copy-head h2 {
  margin: 0;
  color: #f8f1dd;
  font-size: 22px;
}

.my-copy-head p {
  margin: 8px 0 0;
  color: #b9c2ce;
}

.my-copy-head p span {
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(218, 157, 48, .36);
  border-radius: 5px;
  background: rgba(218, 157, 48, .12);
  color: #ffd15d;
  font-size: 12px;
}

.my-copy-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.my-copy-tools button,
.my-copy-trades header button,
.my-copy-profile button,
.my-copy-reminders > button {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  color: #f4d080;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.my-copy-tools .primary,
.my-copy-profile button {
  border-color: rgba(255, 211, 107, .52);
  background: linear-gradient(180deg, #ffd877, #d69a31);
  color: #211400;
  font-weight: 800;
}

.my-copy-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.my-copy-stats article,
.my-copy-card {
  border: 1px solid rgba(201, 145, 43, .25);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0, rgba(218, 157, 48, .09), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .10)),
    rgba(10, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.my-copy-stats article {
  min-height: 96px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.my-copy-stats small {
  color: #aeb8c6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.my-copy-stats small svg {
  width: 13px;
  height: 13px;
  opacity: .7;
}

.my-copy-stats b {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.my-copy-stats span {
  color: #b7bdc7;
}

.my-copy-page .profit {
  color: #73df58 !important;
}

.my-copy-page .loss {
  color: #ff5555 !important;
}

.my-copy-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
}

.my-copy-main {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.my-copy-card {
  overflow: hidden;
}

.my-copy-tabs {
  height: 50px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.my-copy-tabs button {
  height: 38px;
  min-width: 120px;
  border: 1px solid transparent;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: #c3c8d0;
  font-size: 15px;
}

.my-copy-tabs button.active {
  border-color: rgba(218, 157, 48, .30);
  border-bottom-color: rgba(218, 157, 48, .12);
  background: linear-gradient(180deg, rgba(218, 157, 48, .18), rgba(218, 157, 48, .06));
  color: #ffd15d;
  font-weight: 800;
}

.my-copy-current,
.my-copy-trades {
  overflow-x: auto;
}

.my-copy-current table,
.my-copy-trades table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.my-copy-current th,
.my-copy-current td,
.my-copy-trades th,
.my-copy-trades td {
  height: 48px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #edf2f8;
  text-align: left;
  white-space: nowrap;
}

.my-copy-current th,
.my-copy-trades th {
  color: #aeb8c6;
  background: rgba(255, 255, 255, .035);
  font-weight: 700;
}

.my-copy-trader {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-copy-trader > span,
.my-copy-profile > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 28%, #fff0c0, #9b651a 72%);
  color: #201300;
  font-weight: 900;
}

.my-copy-trader b,
.my-copy-profile b {
  display: block;
  color: #fff;
}

.my-copy-trader em,
.my-copy-profile em {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(218, 157, 48, .16);
  color: #ffd15d;
  font-size: 11px;
  font-style: normal;
}

.my-copy-trader small {
  display: block;
  margin-top: 3px;
  color: #aeb8c6;
}

.my-copy-trader i,
.my-copy-profile i {
  color: #ffc93a;
  font-style: normal;
}

.my-copy-status,
.my-copy-holding {
  padding: 4px 8px;
  border: 1px solid rgba(73, 220, 101, .26);
  border-radius: 5px;
  background: rgba(38, 140, 61, .18);
  color: #6ff087;
}

.my-copy-holding {
  border-color: rgba(57, 147, 255, .30);
  background: rgba(57, 147, 255, .12);
  color: #67b2ff;
}

.my-copy-paused {
  padding: 4px 8px;
  border: 1px solid rgba(218, 157, 48, .32);
  border-radius: 5px;
  background: rgba(218, 157, 48, .12);
  color: #ffbe42;
}

.my-copy-actions {
  display: flex;
  gap: 6px;
}

.my-copy-actions button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(218, 157, 48, .38);
  border-radius: 5px;
  background: rgba(218, 157, 48, .07);
  color: #ffd15d;
  white-space: nowrap;
}

.my-copy-actions button.blue {
  border-color: rgba(57, 147, 255, .35);
  background: rgba(57, 147, 255, .10);
  color: #73b7ff;
}

.my-copy-trades header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.my-copy-trades h3,
.my-copy-side h3,
.my-copy-side h4 {
  margin: 0;
  color: #f8f1dd;
}

.my-copy-trades h3 span {
  color: #aeb8c6;
  font-size: 14px;
  font-weight: 500;
}

.my-copy-side {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.my-copy-trader-info,
.my-copy-reminders {
  padding: 14px;
}

.my-copy-profile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.my-copy-profile small {
  display: block;
  margin: 4px 0;
  color: #aeb8c6;
}

.my-copy-profile button {
  height: 30px;
  padding: 0 12px;
}

.my-copy-side dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.my-copy-side dt {
  color: #909aa8;
  font-size: 12px;
}

.my-copy-side dd {
  margin: 5px 0 0;
  color: #fff;
  font-weight: 800;
}

.my-copy-trader-info p {
  color: #b8c0cc;
  line-height: 1.7;
}

.my-copy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.my-copy-tags span {
  padding: 4px 8px;
  border: 1px solid rgba(57, 147, 255, .28);
  border-radius: 5px;
  background: rgba(57, 147, 255, .10);
  color: #7dbbff;
  font-size: 12px;
}

.my-copy-tags span:nth-child(3),
.my-copy-tags span:nth-child(4) {
  border-color: rgba(218, 157, 48, .30);
  background: rgba(218, 157, 48, .10);
  color: #ffd15d;
}

.my-copy-reminders article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.my-copy-reminders article > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.my-copy-reminders article > span.danger {
  background: #e34a4a;
}

.my-copy-reminders article > span.success {
  background: #29a75b;
}

.my-copy-reminders article > span.warning {
  background: #d69a31;
}

.my-copy-reminders b {
  color: #fff;
}

.my-copy-reminders p {
  margin: 5px 0 0;
  color: #aeb8c6;
  line-height: 1.6;
}

.my-copy-reminders time {
  color: #8e98a6;
  font-size: 12px;
}

.my-copy-reminders > button {
  width: 100%;
  margin-top: 10px;
  justify-content: flex-end;
  border: 0;
  background: transparent;
}

.my-copy-reminders h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-copy-reminders h3 button {
  height: auto;
  border: 0;
  background: transparent;
  color: #ffd15d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.my-copy-pagination {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 12px;
  color: #aeb8c6;
}

.my-copy-pagination span:first-child {
  margin-right: auto;
}

.my-copy-pagination button,
.my-copy-pagination select {
  min-width: 30px;
  height: 30px;
  border: 1px solid rgba(218, 157, 48, .26);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #f4d080;
}

.my-copy-pagination button.active {
  background: linear-gradient(180deg, #ffd877, #d69a31);
  color: #211400;
  font-weight: 800;
}

.my-students-page .my-copy-stats article {
  min-height: 92px;
}

.my-students-page .my-copy-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.my-students-table {
  min-width: 1080px !important;
}

.my-students-detail-table {
  min-width: 1120px !important;
}

.copy-income-page {
  gap: 10px;
}

.copy-income-filters {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr) 90px 90px;
  gap: 10px;
}

.copy-income-filters button,
.copy-income-filters select,
.copy-income-orders header button,
.my-copy-pagination input {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #dfe6ef;
  padding: 0 12px;
}

.copy-income-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.copy-income-filters .primary {
  justify-content: center;
  border-color: rgba(255, 211, 107, .52);
  background: linear-gradient(180deg, #ffd877, #d69a31);
  color: #211400;
  font-weight: 800;
}

.copy-income-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.copy-income-stats article {
  min-height: 96px;
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 10%, rgba(218, 157, 48, .13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .12)),
    rgba(10, 12, 12, .88);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}

.copy-income-stats article > i {
  width: 42px;
  height: 42px;
  color: #f6bd3b;
}

.copy-income-stats small {
  display: block;
  color: #aeb8c6;
}

.copy-income-stats b {
  display: block;
  margin: 5px 0 2px;
  font-size: 22px;
  line-height: 1;
}

.copy-income-stats span {
  color: #c1c7d0;
}

.copy-income-charts {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.1fr;
  gap: 10px;
}

.copy-income-charts article {
  min-height: 250px;
  padding: 12px 14px;
}

.copy-income-charts article:nth-child(n + 2) {
  font-size: 13px;
}

.copy-income-charts header,
.copy-income-orders header {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-income-charts h3,
.copy-income-orders h3 {
  margin: 0;
  color: #f8f1dd;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.copy-income-charts article:nth-child(n + 2) h3 {
  font-size: 16px;
}

.copy-income-charts h3 span {
  color: #aeb8c6;
  font-size: 14px;
  font-weight: 500;
}

.copy-income-charts article:nth-child(n + 2) h3 span {
  font-size: 13px;
}

.copy-income-charts header button {
  height: 30px;
  border: 1px solid rgba(218, 157, 48, .24);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #cfd6df;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-income-charts article:nth-child(n + 2) header button {
  font-size: 13px;
}

.copy-income-line {
  width: 100%;
  height: 210px;
  margin-top: 4px;
}

.copy-income-line line {
  stroke: rgba(255, 255, 255, .08);
  stroke-width: 1;
}

.copy-income-line rect {
  fill: rgba(255, 255, 255, .22);
}

.copy-income-line .line {
  fill: none;
  stroke: #f4c542;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.copy-income-line .fill {
  fill: url(#copyIncomeLineFill);
  stroke: none;
}

.copy-income-line circle {
  fill: #f4c542;
  stroke: #1c1200;
  stroke-width: 2;
}

.copy-income-line .axis {
  fill: #aeb8c6;
  font-size: 11px;
}

.copy-income-tip {
  padding: 8px 10px;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 5px;
  background: rgba(6, 8, 10, .86);
  color: #dfe6ef;
  font-size: 11px;
  line-height: 1.45;
}

.copy-income-donut {
  min-height: 190px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  position: relative;
}

.donut-ring {
  width: 174px;
  height: 174px;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(#f3c53e 0 46.2%, #5c78b8 46.2% 69%, #d94d45 69% 86.3%, #6387c6 86.3% 95.4%, #8c68c7 95.4% 100%);
  position: relative;
}

.donut-ring::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: #0b1010;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, .65);
}

.donut-center {
  position: absolute;
  left: 44px;
  top: 68px;
  width: 122px;
  text-align: center;
  pointer-events: none;
}

.donut-center span,
.donut-center small {
  display: block;
  color: #aeb8c6;
}

.donut-center b {
  display: block;
  margin: 6px 0;
  color: #60e75c;
  font-size: 18px;
}

.copy-income-donut ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.copy-income-donut li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 54px 70px;
  align-items: center;
  gap: 8px;
  color: #cbd2dc;
  font-size: 13px;
}

.copy-income-donut li i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.copy-income-donut li b {
  color: #fff;
}

.copy-income-donut li em {
  color: #8f99a8;
  font-style: normal;
  text-align: right;
}

.copy-income-rank-bars {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.copy-income-rank-bars div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.copy-income-rank-bars span {
  color: #dfe6ef;
}

.copy-income-rank-bars b {
  height: 16px;
  min-width: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c58c28, #ffd76d);
}

.copy-income-rank-bars em {
  color: #59e458;
  font-style: normal;
}

.copy-income-orders {
  overflow-x: auto;
}

.copy-income-orders header {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.copy-income-orders header div {
  display: flex;
  gap: 10px;
}

.copy-income-orders header button {
  color: #ffd15d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-income-orders table {
  width: 100%;
  min-width: 1220px;
  border-collapse: collapse;
}

.copy-income-orders th,
.copy-income-orders td {
  height: 34px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #dfe6ef;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.copy-income-orders th {
  color: #aeb8c6;
  background: rgba(255, 255, 255, .035);
}

.copy-income-orders em {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(218, 157, 48, .16);
  color: #ffd15d;
  font-size: 11px;
  font-style: normal;
}

.copy-income-orders .my-copy-pagination input {
  width: 54px;
  text-align: center;
}

.analyst-active .home-main {
  grid-template-rows: auto 1fr;
}

.analyst-application-view {
  min-height: 0;
  overflow: auto;
  padding: 16px 20px 76px;
  background:
    radial-gradient(circle at 78% 0%, rgba(31, 88, 130, .16), transparent 32%),
    linear-gradient(180deg, rgba(6, 13, 20, .94), rgba(4, 6, 8, .98));
}

.analyst-apply-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.analyst-apply-head span {
  color: rgba(220, 227, 235, .58);
  font-size: 13px;
}

.analyst-apply-head h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0;
  color: #fff6d7;
  font-size: 28px;
  line-height: 1.2;
}

.analyst-apply-head h2 em {
  border: 1px solid rgba(213, 158, 48, .42);
  border-radius: 999px;
  padding: 5px 12px;
  color: #e9bd54;
  background: rgba(213, 158, 48, .09);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.analyst-apply-head strong {
  border: 1px solid rgba(213, 158, 48, .42);
  border-radius: 999px;
  padding: 6px 14px;
  color: #ffd266;
  background: rgba(213, 158, 48, .12);
  font-size: 13px;
}

.analyst-apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.analyst-apply-form {
  display: grid;
  gap: 12px;
}

.analyst-apply-card,
.analyst-flow-card,
.analyst-tip-card {
  border: 1px solid rgba(213, 158, 48, .22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 27, 36, .92), rgba(8, 12, 16, .96)),
    rgba(0, 0, 0, .86);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.analyst-apply-card {
  padding: 18px 20px;
}

.analyst-apply-card h3,
.analyst-flow-card h3,
.analyst-tip-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #ffe29a;
  font-size: 17px;
}

.analyst-apply-card h3 svg {
  width: 18px;
  height: 18px;
  color: #e4ad39;
}

.analyst-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

.analyst-form-grid label,
.analyst-textarea-label {
  display: grid;
  gap: 7px;
  color: #eef2f5;
  font-size: 14px;
  font-weight: 700;
}

.analyst-form-grid label span,
.analyst-textarea-label span,
.analyst-avatar-field > span {
  color: rgba(255, 248, 224, .9);
}

.analyst-form-grid b,
.analyst-textarea-label b,
.analyst-avatar-field b {
  color: #ff4d5e;
}

.analyst-form-grid input,
.analyst-form-grid select,
.analyst-textarea-label textarea {
  width: 100%;
  border: 1px solid rgba(213, 158, 48, .26);
  border-radius: 6px;
  background: rgba(18, 25, 33, .86);
  color: #f8fafc;
  outline: none;
}

.analyst-form-grid input,
.analyst-form-grid select {
  height: 38px;
  padding: 0 12px;
}

.analyst-form-grid select {
  color: #3ea2ff;
}

.analyst-form-grid input:focus,
.analyst-form-grid select:focus,
.analyst-textarea-label textarea:focus {
  border-color: rgba(233, 183, 70, .78);
  box-shadow: 0 0 0 2px rgba(233, 183, 70, .12);
}

.analyst-radio-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 38px;
}

.analyst-radio-row label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .86);
  font-weight: 600;
}

.analyst-avatar-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 86px 72px 1fr;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 700;
}

.analyst-avatar-field p {
  margin: 0;
  color: rgba(220, 227, 235, .56);
  font-size: 13px;
  font-weight: 500;
}

.analyst-avatar-btn {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(213, 158, 48, .28);
  border-radius: 8px;
  background: rgba(255, 209, 93, .08);
  color: #f5c456;
}

.analyst-avatar-btn span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 7px;
}

.analyst-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analyst-textarea-label {
  position: relative;
  margin-top: 14px;
}

.analyst-textarea-label textarea {
  min-height: 72px;
  resize: vertical;
  padding: 12px;
}

.analyst-textarea-label small {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(220, 227, 235, .56);
  font-weight: 500;
}

.analyst-cert-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.analyst-cert-row b {
  display: block;
  color: #fff6d7;
  margin-bottom: 5px;
}

.analyst-cert-row p {
  margin: 0;
  color: rgba(220, 227, 235, .58);
  font-size: 13px;
}

.analyst-cert-row button,
.analyst-apply-actions button,
.analyst-flow-card button {
  border: 1px solid rgba(213, 158, 48, .42);
  border-radius: 6px;
  background: rgba(213, 158, 48, .08);
  color: #ffd36b;
  font-weight: 800;
}

.analyst-cert-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
}

.analyst-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.analyst-tag-row span {
  width: 100%;
  color: #fff6d7;
  font-weight: 800;
}

.analyst-tag-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  border: 1px solid rgba(213, 158, 48, .24);
  border-radius: 6px;
  padding: 0 12px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .035);
}

.analyst-apply-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(213, 158, 48, .18);
  border-radius: 8px;
  background: rgba(6, 10, 14, .9);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.analyst-apply-actions button {
  min-width: 150px;
  height: 38px;
}

.analyst-apply-actions button:last-child {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.analyst-apply-side {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 12px;
}

.analyst-flow-card,
.analyst-tip-card {
  padding: 16px;
}

.analyst-flow-card ol {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.analyst-flow-card li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, .7);
}

.analyst-flow-card li b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #dfe6ee;
  font-size: 13px;
}

.analyst-flow-card li.active b {
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #201306;
}

.analyst-flow-card li span {
  color: #ffe29a;
  font-weight: 800;
}

.analyst-flow-card li small {
  display: block;
  margin-top: 3px;
  color: rgba(220, 227, 235, .55);
  font-size: 12px;
}

.analyst-tip-card {
  background: linear-gradient(145deg, rgba(44, 32, 12, .9), rgba(9, 12, 14, .96));
}

.analyst-tip-card p {
  margin: 9px 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.analyst-list-view {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 16px 18px 70px;
  background:
    radial-gradient(circle at 88% 12%, rgba(29, 78, 128, .16), transparent 30%),
    linear-gradient(180deg, rgba(5, 12, 20, .96), rgba(4, 6, 10, .98));
  color: #eef5ff;
}

.member-home.analyst-active:has(.analyst-list-view:not(.hidden)) .home-main {
  grid-template-rows: 42px minmax(0, 1fr);
  gap: 4px;
  padding-top: 8px;
}

.member-home.analyst-active:has(.analyst-list-view:not(.hidden)) .analyst-list-view {
  grid-row: 2;
  align-self: start;
  padding-top: 8px;
}

.analyst-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.analyst-list-head span {
  color: rgba(255, 209, 93, .72);
  font-size: 13px;
}

.analyst-list-head h2 {
  margin: 10px 0 4px;
  color: #fff7dc;
  font-size: 28px;
  line-height: 1.15;
}

.analyst-list-head p {
  margin: 0;
  color: rgba(223, 232, 245, .62);
  font-size: 14px;
}

.analyst-list-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(460px, .9fr);
  gap: 18px;
  margin-bottom: 14px;
  align-items: stretch;
}

.analyst-list-filters,
.analyst-list-stats,
.analyst-list-card,
.analyst-list-pagination {
  border: 1px solid rgba(213, 158, 48, .24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 22, 31, .92), rgba(5, 9, 14, .96)),
    rgba(0, 0, 0, .82);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.analyst-list-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(120px, .8fr)) auto auto;
  gap: 10px;
  padding: 14px;
}

.analyst-list-filters label {
  position: relative;
}

.analyst-list-filters label svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: rgba(223, 232, 245, .62);
}

.analyst-list-filters input,
.analyst-list-filters select,
.analyst-list-filters button {
  width: 100%;
  height: 36px;
  border: 1px solid rgba(132, 151, 172, .18);
  border-radius: 6px;
  background: rgba(8, 13, 19, .72);
  color: #dfe8f5;
  outline: none;
}

.analyst-list-filters input {
  padding: 0 12px 0 36px;
}

.analyst-list-filters select {
  padding: 0 10px;
  color: #3ea2ff;
}

.analyst-list-filters button {
  min-width: 72px;
  padding: 0 14px;
  color: #f6d477;
  font-weight: 800;
}

.analyst-list-filters button:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-color: rgba(213, 158, 48, .58);
  background: linear-gradient(180deg, rgba(238, 182, 64, .22), rgba(107, 75, 23, .62));
}

.analyst-list-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.analyst-list-stats article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas: "icon label" "icon value";
  gap: 2px 12px;
  align-content: center;
  min-width: 0;
  padding: 14px 16px;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.analyst-list-stats article:first-child {
  border-left: 0;
}

.analyst-list-stats svg {
  grid-area: icon;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  color: #ffd466;
  background: rgba(213, 158, 48, .16);
}

.analyst-list-stats span {
  grid-area: label;
  color: rgba(223, 232, 245, .62);
  font-size: 13px;
}

.analyst-list-stats b {
  grid-area: value;
  color: #fff7dc;
  font-size: 24px;
  line-height: 1.05;
}

.analyst-list-card {
  overflow: hidden;
}

.analyst-list-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.analyst-list-table th,
.analyst-list-table td {
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  padding: 14px 12px;
  vertical-align: middle;
}

.analyst-list-table th {
  height: 44px;
  color: rgba(223, 232, 245, .72);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, .035);
}

.analyst-list-table tr.featured td {
  background: linear-gradient(90deg, rgba(211, 154, 48, .17), rgba(18, 28, 39, .12));
}

.analyst-list-table th:nth-child(1),
.analyst-list-table td:nth-child(1) { width: 66px; text-align: center; }
.analyst-list-table th:nth-child(2),
.analyst-list-table td:nth-child(2) { width: 310px; }
.analyst-list-table th:nth-child(3),
.analyst-list-table td:nth-child(3) { width: 170px; }
.analyst-list-table th:nth-child(4),
.analyst-list-table td:nth-child(4) { width: 190px; }
.analyst-list-table th:nth-child(5),
.analyst-list-table td:nth-child(5),
.analyst-list-table th:nth-child(6),
.analyst-list-table td:nth-child(6) { width: 118px; }
.analyst-list-table th:nth-child(7),
.analyst-list-table td:nth-child(7) { width: 130px; }
.analyst-list-table th:nth-child(8),
.analyst-list-table td:nth-child(8) { width: 120px; text-align: center; }

.analyst-rank {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe489, #c48424);
  color: #221500;
  font-weight: 900;
}

.analyst-rank svg {
  width: 18px;
  height: 18px;
}

.analyst-rank.plain {
  background: transparent;
  color: rgba(223, 232, 245, .86);
  font-size: 18px;
}

.analyst-rank.rank-2 {
  background: linear-gradient(180deg, #dfe6f3, #75849c);
}

.analyst-rank.rank-3 {
  background: linear-gradient(180deg, #f1a568, #90512d);
}

.analyst-info-cell {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.analyst-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe198, #c28529);
  color: #1d1406;
  font-weight: 900;
}

.analyst-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analyst-info-cell strong {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff7dc;
  font-size: 15px;
}

.analyst-info-cell em {
  flex: none;
  border: 1px solid rgba(213, 158, 48, .45);
  border-radius: 999px;
  padding: 2px 7px;
  color: #ffd466;
  background: rgba(213, 158, 48, .1);
  font-size: 11px;
  font-style: normal;
}

.analyst-info-cell small,
.analyst-cert-cell small,
.analyst-list-table td > small {
  display: block;
  margin-top: 4px;
  color: rgba(223, 232, 245, .58);
  font-size: 12px;
}

.analyst-info-cell p {
  margin: 5px 0 0;
  color: rgba(223, 232, 245, .58);
  font-size: 12px;
  line-height: 1.45;
}

.analyst-tag-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.analyst-tag-stack span {
  border: 1px solid rgba(213, 158, 48, .18);
  border-radius: 999px;
  padding: 4px 8px;
  color: #f5cf75;
  background: rgba(213, 158, 48, .09);
  font-size: 12px;
}

.analyst-cert-cell b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffe29a;
  font-size: 14px;
}

.analyst-cert-cell svg {
  width: 17px;
  height: 17px;
  color: #f0b83e;
}

.analyst-up {
  color: #51d876 !important;
}

.analyst-stars {
  display: grid;
  gap: 3px;
}

.analyst-stars span {
  color: #f5b93a;
  letter-spacing: 1px;
}

.analyst-stars b {
  color: #ffd466;
}

.analyst-detail-btn {
  height: 34px;
  border: 1px solid rgba(213, 158, 48, .5);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(213, 158, 48, .08);
  color: #ffd466;
  font-weight: 800;
}

.analyst-empty {
  height: 110px;
  text-align: center;
  color: rgba(223, 232, 245, .56);
}

.analyst-list-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
}

.analyst-list-pagination > span {
  margin-right: auto;
  color: rgba(223, 232, 245, .7);
}

.analyst-list-pagination div {
  display: inline-flex;
  gap: 7px;
}

.analyst-list-pagination button,
.analyst-list-pagination select,
.analyst-list-pagination input {
  height: 32px;
  border: 1px solid rgba(213, 158, 48, .35);
  border-radius: 5px;
  background: rgba(7, 11, 16, .76);
  color: #f7d77d;
}

.analyst-list-pagination button {
  min-width: 32px;
  padding: 0 10px;
}

.analyst-list-pagination button.active {
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #221500;
  font-weight: 900;
}

.analyst-list-pagination select {
  padding: 0 8px;
  color: #3ea2ff;
}

.analyst-list-pagination label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(223, 232, 245, .64);
  font-size: 13px;
}

.analyst-list-pagination input {
  width: 46px;
  text-align: center;
}

@media (max-width: 1180px) {
  .ai-copy-dashboard,
  .ai-copy-page-dashboard {
    grid-template-columns: 1fr;
  }
}

.order-center-view {
  height: 100%;
  min-height: 0;
  padding: 10px 2px 10px;
  overflow: auto;
}

.order-center-page {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  color: #f6ead4;
}

.order-page-head {
  min-height: 142px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  align-items: stretch;
}

.order-page-head > div,
.order-page-head > aside,
.order-market-card,
.order-chart-card,
.order-ticket-card,
.order-table-card {
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0, rgba(218, 157, 48, .10), transparent 36%),
    rgba(12, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.order-page-head > div {
  display: grid;
  align-content: center;
  min-height: 74px;
  padding: 14px 18px;
}

.order-page-head h2 {
  margin: 0;
  color: #ffd36b;
  font-size: 28px;
}

.order-page-head span,
.order-ticket-card span,
.order-info-row span,
.order-scale,
.order-market-card small {
  color: #9d9589;
}

.order-page-head > aside {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.order-page-head article {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  padding: 12px 18px;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.order-page-head article:first-child {
  border-left: 0;
}

.order-page-head article b {
  color: #f6ead4;
  font-size: 18px;
}

.order-page-head article small {
  color: #c9bda9;
  font-size: 12px;
}

.order-page-tabs {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
  border-radius: 0;
  background: rgba(255, 255, 255, .015);
}

.order-page-tabs button {
  height: 44px;
  min-width: auto;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #d7c9b6;
  font-size: 14px;
  font-weight: 900;
}

.order-page-tabs button.active {
  border-bottom-color: #f2c75f;
  background: transparent;
  color: #ffd36b;
  box-shadow: none;
}

.order-tab-panel {
  min-height: 0;
}

.order-tab-panel.hidden {
  display: none;
}

.order-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 340px minmax(500px, 1fr) 330px;
  grid-template-rows: minmax(220px, 240px) minmax(250px, 1fr);
  gap: 10px;
}

.order-market-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: 12px;
  overflow: hidden;
}

.order-market-card h3,
.order-chart-card h3,
.order-ticket-card h3,
.order-table-card h3 {
  margin: 0;
  color: #f6ead4;
  font-size: 17px;
}

.order-market-card label {
  position: relative;
  display: block;
  margin-top: 8px;
}

.order-market-card label input {
  width: 100%;
  height: 30px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 5px;
  background: rgba(255, 255, 255, .024);
  color: #f6ead4;
  padding: 0 34px 0 12px;
}

.order-market-card label svg {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 15px;
  height: 15px;
  color: #827765;
}

.order-market-card nav,
.order-chart-card header nav,
.order-table-card nav,
.order-segment,
.order-direction,
.order-checks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-market-card nav {
  margin-top: 12px;
  justify-content: space-between;
}

.order-market-card nav button,
.order-chart-card header button,
.order-table-card nav button,
.order-segment button {
  height: 30px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #a99f91;
  font-weight: 800;
}

.order-market-card nav button.active,
.order-chart-card header button.active,
.order-table-card nav button.active,
.order-segment button.active {
  border-color: rgba(218, 157, 48, .58);
  background: rgba(218, 157, 48, .16);
  color: #ffd36b;
}

.order-market-head {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 72px 64px 64px;
  gap: 6px;
  padding: 10px 6px 6px;
  color: #d5cbbd;
  font-size: 13px;
  font-weight: 800;
}

.order-market-head span:not(:first-child) {
  text-align: right;
}

.order-products {
  min-height: 0;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.order-products::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.order-products article {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) 72px 64px 64px;
  gap: 6px;
  align-items: center;
  min-height: 32px;
  padding: 4px 6px;
  border-radius: 5px;
}

.order-products article.active {
  background: linear-gradient(90deg, rgba(218, 157, 48, .22), rgba(255, 255, 255, .035));
}

.order-products .order-product-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d37c, #b77d22);
  color: #201300;
  font-size: 10px;
  font-weight: 900;
}

.order-product-name {
  min-width: 0;
}

.order-products b {
  display: block;
  color: #f6ead4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-products small {
  display: block;
  color: #948a7e;
  font-size: 11px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-products strong {
  color: #f6ead4;
  text-align: right;
  font-size: 13px;
  white-space: nowrap;
}

.order-products .order-price-high,
.order-products .order-price-low {
  color: #c9bdad;
  text-align: right;
  font-size: 12px;
  white-space: nowrap;
}

.order-products .price-up {
  color: #ff4d58;
}

.order-products .price-down {
  color: #28d46c;
}

.order-products .price-flat {
  color: #f6ead4;
}

.order-products em {
  font-style: normal;
  text-align: right;
  font-size: 12px;
}

.order-center-page .profit,
.order-center-page .up,
.order-center-page .buy:not(button) {
  color: #28d46c !important;
}

.order-center-page .loss,
.order-center-page .down,
.order-center-page .sell:not(button) {
  color: #ff4d58 !important;
}

.order-chart-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.order-chart-card header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.order-chart-card header > div {
  display: grid;
  gap: 6px;
}

.order-chart-card header > div:last-child {
  display: flex;
  align-items: center;
}

.order-chart-card header button svg {
  width: 15px;
  height: 15px;
}

.order-kline {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 76px 100%,
    radial-gradient(circle at 50% 105%, rgba(218,157,48,.12), transparent 38%);
}

.order-kline-title {
  position: absolute;
  left: 50px;
  top: 8px;
  z-index: 3;
  display: grid;
  gap: 3px;
  color: #d8cbb5;
  font-size: 11px;
}

.order-kline-title b {
  color: #f6ead4;
  font-size: 13px;
}

.order-candle-grid {
  position: absolute;
  left: 50px;
  right: 36px;
  top: 54px;
  bottom: 34px;
}

.order-candle-grid i {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 100%;
  transform: translateX(-50%);
}

.order-candle-grid i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--top);
  width: 1px;
  height: var(--wick);
  transform: translateX(-50%);
  background: currentColor;
}

.order-candle-grid i::after {
  content: "";
  position: absolute;
  left: 0;
  top: var(--bodyTop);
  width: 8px;
  height: var(--body);
  min-height: 5px;
  border-radius: 1px;
  background: currentColor;
}

.order-candle-grid i.up { color: #22d778; }
.order-candle-grid i.down { color: #ff4d58; }

.order-candle-grid i span {
  display: none;
}

.order-candle-grid i::selection {
  background: transparent;
}

.order-candle-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -38px;
  height: 34px;
  background:
    linear-gradient(90deg, rgba(40,212,108,.45), rgba(255,77,88,.55), rgba(40,212,108,.42));
  clip-path: polygon(0 70%, 4% 50%, 7% 78%, 11% 44%, 15% 82%, 20% 38%, 25% 76%, 31% 46%, 38% 66%, 45% 30%, 52% 76%, 59% 40%, 66% 58%, 73% 28%, 81% 70%, 88% 42%, 100% 52%, 100% 100%, 0 100%);
  opacity: .78;
}

.order-chart-tools {
  position: absolute;
  left: 14px;
  top: 60px;
  display: grid;
  gap: 8px;
  color: #8d8b86;
}

.order-chart-tools span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.order-ticket-card {
  grid-row: span 2;
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 16px;
}

.order-ticket-card header {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.order-ticket-card h3 {
  font-size: 18px;
}

.order-ticket-card h3 small {
  color: #9d9589;
  font-size: 12px;
}

.order-ticket-card label {
  color: #bfb3a0;
  font-size: 13px;
}

.order-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.order-direction {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.order-direction button,
.order-ticket-card footer button {
  height: 38px;
  border: 0;
  border-radius: 5px;
  color: #fff;
}

.order-direction .buy,
.order-ticket-card footer .buy {
  background: linear-gradient(90deg, #25a85c, #1f8a4b);
}

.order-direction .sell,
.order-ticket-card footer .sell {
  background: linear-gradient(90deg, #e84e5a, #bb2634);
}

.order-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px 36px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 5px;
  overflow: hidden;
}

.order-stepper input,
.order-ticket-card > input {
  height: 36px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #f6ead4;
  padding: 0 12px;
}

.order-stepper input {
  border: 0;
}

.order-stepper button {
  height: 36px;
  border-width: 0 0 0 1px;
  border-radius: 0;
}

.order-percent {
  width: 100%;
  accent-color: #f2c767;
}

.order-scale,
.order-info-row,
.order-ticket-card p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.order-info-row b {
  color: #c8baa5;
  font-weight: 700;
}

.order-checks {
  justify-content: flex-start;
  gap: 14px;
  color: #bfb3a0;
  font-size: 12px;
}

.order-checks input {
  width: auto;
  height: auto;
  accent-color: #f2c767;
}

.order-ticket-card footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.order-ticket-card footer small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.86);
}

.order-ticket-card p {
  margin: 0;
  color: #8f877a;
}

.order-ticket-card a {
  color: #b7ad9d;
}

.order-table-card {
  min-width: 0;
  overflow: hidden;
}

.order-table-card.positions {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.order-table-card.history {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.order-records-card {
  grid-column: 1 / 3;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.order-table-card nav,
.order-table-card header {
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.order-table-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-record-tabs {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border-bottom: 0 !important;
  padding: 0 !important;
}

.order-record-title {
  display: grid;
  gap: 2px;
  min-width: 150px;
}

.order-record-title h3 {
  margin: 0;
  color: #f6ead4;
  font-size: 17px;
}

.order-record-title span {
  color: #9d9589;
  font-size: 12px;
}

.order-record-tabs button {
  display: inline-flex;
  align-items: center;
  min-width: auto;
  height: 48px;
  padding: 0 2px;
  justify-content: center;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #d7c9b6;
  font-size: 14px;
  font-weight: 900;
}

.order-table-card .order-record-tabs button {
  height: 48px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}

.order-table-card .order-record-tabs button.active {
  border-bottom-color: #f2c75f;
  background: transparent;
  color: #ffd36b;
}

.order-record-body {
  min-height: 0;
  overflow: auto;
}

.order-record-body.hidden,
.order-table-card select.hidden {
  display: none;
}

.order-table-card select {
  height: 30px;
  border: 1px solid rgba(201, 145, 43, .26);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #d8cbb5;
  padding: 0 8px;
}

.order-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.order-table-card th,
.order-table-card td {
  height: 35px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}

.order-table-card th {
  color: #9d9589;
  font-weight: 700;
}

.order-table-card td button {
  min-height: 28px;
  height: 28px;
  border-radius: 5px;
}

.mt5-order-panel {
  min-height: 0;
  display: grid;
  gap: 10px;
}

.mt5-summary-card,
.mt5-table-card {
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 15%, rgba(218, 157, 48, .18), transparent 32%),
    rgba(12, 12, 12, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.mt5-summary-card {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  overflow: hidden;
  padding: 18px;
}

.mt5-summary-card > header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.mt5-summary-card > header span,
.mt5-symbol-dot {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d37c, #b77d22);
  color: #2a1700;
  font-weight: 900;
}

.mt5-summary-card > header span {
  width: 34px;
  height: 34px;
}

.mt5-summary-card > header svg {
  width: 18px;
  height: 18px;
}

.mt5-summary-card h3,
.mt5-table-card h3 {
  margin: 0;
  color: #f6ead4;
  font-size: 18px;
}

.mt5-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  min-width: 0;
}

.mt5-summary-grid article {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid rgba(201, 145, 43, .26);
}

.mt5-summary-grid article:first-child {
  border-left: 0;
  padding-left: 22px;
}

.mt5-summary-grid span,
.mt5-summary-grid small {
  color: #9d9589;
}

.mt5-summary-grid b {
  color: #ffd36b;
  font-size: 20px;
}

.mt5-summary-art {
  position: relative;
  min-height: 86px;
}

.mt5-summary-art::before {
  content: "";
  position: absolute;
  right: 58px;
  top: -2px;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(218, 157, 48, .72);
  border-radius: 9px;
  transform: rotate(7deg);
  background: linear-gradient(135deg, rgba(255, 211, 107, .18), rgba(255, 255, 255, .02));
  box-shadow: 0 0 30px rgba(218, 157, 48, .18);
}

.mt5-summary-art::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 6px;
  width: 170px;
  height: 38px;
  border: 1px solid rgba(218, 157, 48, .38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 157, 48, .18), transparent 72%);
}

.mt5-table-card {
  min-width: 0;
  overflow: hidden;
}

.mt5-table-card > header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
}

.mt5-table-card > header button,
.mt5-table-card td button {
  min-height: 30px;
  height: 30px;
  border: 1px solid rgba(218, 157, 48, .55);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 900;
}

.mt5-table-scroll {
  overflow: auto;
}

.mt5-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mt5-table-card th,
.mt5-table-card td {
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}

.mt5-table-card th {
  height: 40px;
  color: #9d9589;
  background: rgba(255, 255, 255, .025);
  font-weight: 800;
}

.mt5-table-card td:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mt5-symbol-dot {
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.mt5-dir {
  min-width: 28px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  font-weight: 900;
}

.mt5-dir.buy {
  background: rgba(40, 212, 108, .16);
  color: #28d46c;
}

.mt5-dir.sell {
  background: rgba(255, 77, 88, .15);
  color: #ff4d58;
}

.mt5-table-card td button.icon {
  width: 34px;
  margin-left: 6px;
  padding: 0;
}

.mt5-table-card td button.icon svg {
  width: 15px;
  height: 15px;
}

.erp-head-page {
  min-height: 100%;
  color: #f6ead4;
}

.erp-head-layout {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(650px, 1.42fr) minmax(420px, .86fr);
  gap: 28px;
  padding: 22px 28px 28px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 46% 15%, rgba(231, 173, 67, .16), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(201, 145, 43, .10), transparent 30%),
    linear-gradient(135deg, #070809, #141210 48%, #090909);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.erp-head-main,
.erp-head-side {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-content: start;
}

.erp-head-title {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 4px 6px;
}

.erp-head-title::after {
  content: "";
  position: absolute;
  left: 220px;
  right: 0;
  bottom: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 111, .86), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 199, 80, .7));
}

.erp-head-title p,
.erp-head-title span,
.erp-head-hero-panel p,
.erp-head-login-row,
.erp-head-purchase p,
.erp-head-plan li,
.erp-head-services article span,
.erp-head-services article small {
  color: rgba(235, 225, 207, .68);
}

.erp-head-title p {
  margin: 0;
  color: #d0b069;
  font-weight: 800;
}

.erp-head-title p span {
  margin: 0 9px;
}

.erp-head-title p b {
  color: #ffd36b;
}

.erp-head-title h2 {
  margin: 0;
  color: #ffdf8a;
  font-size: 45px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(218, 157, 48, .35);
}

.erp-head-hero-panel,
.erp-head-login,
.erp-head-purchase,
.erp-head-services article {
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 20%, rgba(218, 157, 48, .10), transparent 34%),
    rgba(17, 15, 12, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 18px 40px rgba(0, 0, 0, .24);
}

.erp-head-hero-panel {
  position: relative;
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(400px, .9fr) minmax(330px, .72fr);
  gap: 18px;
  padding: 34px 32px 30px;
  overflow: hidden;
}

.erp-head-hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -8% -25% 18%;
  height: 210px;
  background:
    linear-gradient(135deg, transparent 24%, rgba(201, 145, 43, .12) 24% 25%, transparent 25% 38%, rgba(201, 145, 43, .10) 38% 39%, transparent 39%),
    radial-gradient(ellipse at center, rgba(236, 182, 70, .16), transparent 62%);
  pointer-events: none;
}

.erp-head-asset-card {
  min-height: auto;
  display: block;
  padding: 0;
  background: rgba(17, 15, 12, .78);
}

.erp-head-asset-card::before {
  content: none;
}

.erp-head-asset-card > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.erp-head-asset-action {
  position: absolute;
  bottom: 9.2%;
  height: 11%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.erp-head-asset-action:hover {
  box-shadow: inset 0 0 0 2px rgba(255, 222, 131, .7), 0 0 20px rgba(218, 157, 48, .24);
}

.erp-head-asset-action.login {
  left: 4.2%;
  width: 27.5%;
}

.erp-head-asset-action.buy {
  left: 34.2%;
  width: 27.4%;
}

.erp-head-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 18px;
}

.erp-head-hero-copy h3,
.erp-head-login h3,
.erp-head-purchase h3,
.erp-head-services h3 {
  margin: 0;
  color: #ffda78;
  font-size: 22px;
}

.erp-head-hero-copy p,
.erp-head-purchase p {
  margin: 0;
  font-size: 14px;
}

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

.erp-head-feature-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
}

.erp-head-feature-grid span,
.erp-head-services article i,
.erp-head-login h3 i,
.erp-head-purchase h3 i {
  display: grid;
  place-items: center;
  color: #ffd36b;
}

.erp-head-feature-grid span {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: rgba(218, 157, 48, .14);
}

.erp-head-feature-grid svg {
  width: 21px;
  height: 21px;
}

.erp-head-feature-grid b {
  display: block;
  color: #fff0c9;
}

.erp-head-feature-grid small {
  display: block;
  margin-top: 4px;
  color: rgba(235, 225, 207, .58);
  font-size: 12px;
}

.erp-head-hero-copy footer {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.erp-head-hero-copy footer button,
.erp-head-plan button,
.erp-head-login-btn {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(247, 195, 91, .64);
  border-radius: 6px;
  padding: 0 34px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 900;
}

.erp-head-hero-copy footer .primary,
.erp-head-login-btn,
.erp-head-plan.featured button {
  border: 0;
  background: linear-gradient(180deg, #ffe082, #d99a28);
  color: #211405;
  box-shadow: 0 10px 24px rgba(218, 157, 48, .22);
}

.erp-head-hero-copy footer svg {
  width: 19px;
  height: 19px;
}

.erp-head-visual {
  position: relative;
  min-height: 390px;
}

.erp-head-device {
  position: absolute;
  left: 12px;
  right: 18px;
  top: 26px;
  height: 245px;
  border: 1px solid rgba(255, 219, 128, .38);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,0) 18%),
    linear-gradient(135deg, #141312, #0b0c0d);
  transform: perspective(760px) rotateY(-16deg) rotateX(5deg);
  box-shadow: 0 28px 54px rgba(0,0,0,.38), 0 0 30px rgba(218,157,48,.12);
  overflow: hidden;
}

.erp-head-device header {
  height: 34px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 10px 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.erp-head-device header span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d39a2f;
}

.erp-head-device section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 54px 1fr;
  gap: 12px;
  padding: 16px;
}

.erp-head-mini-card {
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255,211,107,.58) 0 34%, transparent 34%),
    rgba(255,255,255,.055);
}

.erp-head-mini-card.wide {
  background:
    linear-gradient(90deg, rgba(45,213,115,.50) 0 18%, transparent 18% 28%, rgba(255,211,107,.54) 28% 70%, transparent 70%),
    rgba(255,255,255,.05);
}

.erp-head-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 110px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.erp-head-bars i {
  flex: 1;
  height: 40%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #ffd873, #9a6421);
}

.erp-head-bars i:nth-child(2) { height: 64%; }
.erp-head-bars i:nth-child(3) { height: 48%; }
.erp-head-bars i:nth-child(4) { height: 82%; }
.erp-head-bars i:nth-child(5) { height: 58%; }

.erp-head-donut {
  align-self: center;
  justify-self: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(#ffd36b 0 42%, #2dd573 42% 66%, rgba(255,255,255,.12) 66% 100%);
  box-shadow: inset 0 0 0 26px #15120d;
}

.erp-head-core {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 2px solid rgba(255, 218, 114, .62);
  background: radial-gradient(circle, #2b1c08, #0e0b07 72%);
  color: #ffcf66;
  font-size: 29px;
  font-weight: 900;
  box-shadow: 0 0 42px rgba(218,157,48,.34);
}

.erp-head-ring {
  position: absolute;
  left: 18%;
  right: 14%;
  bottom: 24px;
  height: 64px;
  border: 2px solid rgba(255, 212, 108, .46);
  border-radius: 50%;
  transform: perspective(450px) rotateX(68deg);
  box-shadow: 0 0 24px rgba(218,157,48,.35);
}

.erp-head-float {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 211, 107, .48);
  border-radius: 10px;
  background: rgba(24, 17, 8, .82);
  color: #ffd36b;
  box-shadow: 0 0 22px rgba(218, 157, 48, .18);
}

.erp-head-float svg {
  width: 25px;
  height: 25px;
}

.erp-head-float.one { left: 1%; top: 134px; }
.erp-head-float.two { right: 0; top: 166px; }
.erp-head-float.three { right: 10%; bottom: 88px; }

.erp-head-services {
  display: grid;
  gap: 16px;
}

.erp-head-services h3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  text-align: center;
}

.erp-head-services h3 span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 107, .72));
}

.erp-head-services h3 span:last-child {
  background: linear-gradient(90deg, rgba(255, 211, 107, .72), transparent);
}

.erp-head-services h3 i {
  width: 9px;
  height: 9px;
  background: #ffd36b;
  transform: rotate(45deg);
}

.erp-head-services > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.erp-head-services article {
  min-height: 170px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.erp-head-services article.asset {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.erp-head-services article.asset img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.erp-head-services article i {
  width: 56px;
  height: 56px;
}

.erp-head-services article svg {
  width: 48px;
  height: 48px;
}

.erp-head-services article b {
  color: #ffdc82;
  font-size: 18px;
}

.erp-head-login,
.erp-head-purchase {
  padding: 28px;
}

.erp-head-login {
  display: grid;
  gap: 18px;
}

.erp-head-login h3,
.erp-head-purchase h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
}

.erp-head-login h3 svg,
.erp-head-purchase h3 svg {
  width: 28px;
  height: 28px;
}

.erp-head-login label {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #f1dfbc;
  font-weight: 800;
}

.erp-head-login label > div {
  position: relative;
  min-width: 0;
}

.erp-head-login input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: rgba(0, 0, 0, .2);
  color: #f6ead4;
  padding: 0 44px;
}

.erp-head-login label > div > svg {
  position: absolute;
  left: 16px;
  top: 15px;
  width: 17px;
  height: 17px;
  color: #8f8678;
}

.erp-head-login label button,
.erp-head-login-row button,
.erp-head-login .captcha button {
  border: 0;
  background: transparent;
  color: #d9a13b;
}

.erp-head-login label button {
  position: absolute;
  right: 10px;
  top: 12px;
}

.erp-head-login label button svg,
.erp-head-login .captcha button svg {
  width: 17px;
  height: 17px;
}

.erp-head-login .captcha > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 36px;
  gap: 10px;
}

.erp-head-login .captcha input {
  padding: 0 14px;
}

.erp-head-login .captcha b {
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(236, 227, 207, .98));
  color: #286241;
  font-family: Georgia, serif;
  font-size: 19px;
  letter-spacing: 7px;
  text-indent: 7px;
}

.erp-head-login .captcha button {
  position: static;
  height: 48px;
  border: 1px solid rgba(218, 157, 48, .16);
  border-radius: 999px;
  background: rgba(218, 157, 48, .05);
}

.erp-head-login-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.erp-head-login-row label {
  display: inline-flex;
  grid-template-columns: none;
  gap: 8px;
  font-weight: 700;
}

.erp-head-login-row input {
  width: 14px;
  height: 14px;
  accent-color: #d39a2f;
}

.erp-head-login-btn {
  width: 100%;
  height: 50px;
  font-size: 16px;
}

.erp-head-purchase {
  display: grid;
  gap: 24px;
}

.erp-head-purchase header {
  display: grid;
  gap: 8px;
}

.erp-head-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.erp-head-plan {
  position: relative;
  min-height: 292px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 13px;
  padding: 28px 16px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  text-align: center;
}

.erp-head-plan.featured {
  border-color: #f1bd4f;
  background: linear-gradient(180deg, rgba(218,157,48,.20), rgba(218,157,48,.06));
  box-shadow: inset 0 0 0 1px rgba(255, 217, 118, .2);
}

.erp-head-plan em {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  min-width: 72px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffec9c, #dca33a);
  color: #5b3504;
  font-style: normal;
  font-weight: 900;
}

.erp-head-plan h4 {
  margin: 0;
  color: #fff1c8;
  font-size: 18px;
}

.erp-head-plan strong {
  color: #f5bd4d;
  font-size: 30px;
  line-height: 1;
}

.erp-head-plan strong small,
.erp-head-plan strong span {
  font-size: 15px;
  font-weight: 700;
}

.erp-head-plan ul {
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.erp-head-plan li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.erp-head-plan li svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: #f4c75e;
}

.erp-head-plan button {
  width: 100%;
  height: 42px;
  padding: 0 12px;
}

.erp-head-purchase footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.erp-head-purchase footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(235, 225, 207, .72);
  font-size: 13px;
  white-space: nowrap;
}

.erp-head-purchase footer svg {
  width: 19px;
  height: 19px;
  color: #c89431;
}

.mt5-agent-login-page {
  min-height: calc(100vh - 64px);
  margin: -10px -2px;
  padding: clamp(34px, 5vh, 58px) clamp(38px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at 18% 7%, rgba(218, 157, 48, .12), transparent 24%),
    radial-gradient(circle at 50% 52%, rgba(218, 157, 48, .10), transparent 28%),
    radial-gradient(circle at 85% 32%, rgba(255, 218, 116, .05), transparent 30%),
    linear-gradient(135deg, #050607 0%, #12100d 47%, #050607 100%);
  color: #f8edd7;
  overflow: hidden auto;
}

.mt5-agent-page-head {
  display: grid;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.mt5-agent-page-head h2 {
  margin: 0;
  color: #ffd35d;
  font-size: 30px;
  line-height: 1.15;
}

.mt5-agent-page-head p {
  margin: 0;
  color: rgba(238, 226, 206, .64);
  font-size: 16px;
}

.mt5-agent-login-main {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.mt5-agent-login-card {
  width: min(100%, 530px);
  display: grid;
  gap: 22px;
  padding: 42px 38px 38px;
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 211, 93, .09), transparent 36%),
    linear-gradient(145deg, rgba(28, 27, 24, .94), rgba(8, 9, 9, .96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 28px 58px rgba(0, 0, 0, .36);
}

.mt5-agent-login-card header {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 4px;
}

.mt5-agent-login-card header > span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 218, 118, .17), transparent 48%),
    rgba(218, 157, 48, .08);
  color: #f6bf50;
}

.mt5-agent-login-card header svg {
  width: 42px;
  height: 42px;
}

.mt5-agent-login-card h3 {
  margin: 0 0 7px;
  color: #ffd35d;
  font-size: 28px;
}

.mt5-agent-login-card header p {
  margin: 0;
  color: rgba(238, 226, 206, .62);
  font-size: 15px;
}

.mt5-agent-field {
  display: grid;
  gap: 10px;
  color: #f8edd7;
  font-size: 15px;
  font-weight: 800;
}

.mt5-agent-field > span {
  position: relative;
  height: 50px;
  display: block;
}

.mt5-agent-field svg {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 18px;
  height: 18px;
  color: #8f8678;
  pointer-events: none;
}

.mt5-agent-field input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(218, 157, 48, .30);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #fff7e5;
  font-size: 15px;
  padding: 0 44px;
  outline: none;
}

.mt5-agent-field input:focus {
  border-color: rgba(255, 211, 93, .66);
  box-shadow: 0 0 0 3px rgba(218, 157, 48, .12);
}

.mt5-agent-field input::placeholder {
  color: rgba(238, 226, 206, .38);
}

.mt5-agent-field button {
  position: absolute;
  right: 12px;
  top: 11px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #9b9283;
}

.mt5-agent-field button svg {
  position: static;
  width: 18px;
  height: 18px;
}

.mt5-agent-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  align-items: end;
  gap: 22px;
}

.mt5-agent-captcha .mt5-agent-field input {
  padding: 0 16px;
}

.mt5-agent-captcha-code {
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 4px;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.18) 1px, transparent 2px),
    radial-gradient(circle at 70% 65%, rgba(0,0,0,.16) 1px, transparent 2px),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(235, 229, 213, .98));
  background-size: 18px 18px, 22px 22px, auto;
  color: #1e1a15;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 14px;
  text-indent: 14px;
}

.mt5-agent-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(238, 226, 206, .84);
  font-size: 15px;
}

.mt5-agent-form-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.mt5-agent-form-row input {
  width: 17px;
  height: 17px;
  accent-color: #dba13a;
}

.mt5-agent-form-row button {
  border: 0;
  background: transparent;
  color: #f0b946;
  font-size: 14px;
  font-weight: 900;
}

.mt5-agent-submit {
  height: 60px;
  margin-top: 10px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffdf82, #dfa63b);
  color: #141006;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(218, 157, 48, .22);
}

.mt5-agent-feature-grid {
  max-width: 1030px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0 auto 44px;
}

.mt5-agent-feature-grid article {
  min-height: 124px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(218, 157, 48, .25);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 32%, rgba(255, 211, 93, .08), transparent 34%),
    rgba(255, 255, 255, .025);
}

.mt5-agent-feature-grid article > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(218, 157, 48, .34);
  border-radius: 999px;
  color: #f5bd4d;
  background: rgba(218, 157, 48, .08);
}

.mt5-agent-feature-grid svg {
  width: 35px;
  height: 35px;
}

.mt5-agent-feature-grid b {
  display: block;
  margin-bottom: 8px;
  color: #ffd35d;
  font-size: 17px;
}

.mt5-agent-feature-grid p {
  margin: 0;
  color: rgba(238, 226, 206, .62);
  font-size: 14px;
  line-height: 1.65;
}

.mt5-agent-login-foot {
  display: grid;
  grid-template-columns: 64px auto 64px;
  justify-content: center;
  align-items: center;
  gap: 34px;
  color: rgba(238, 226, 206, .64);
  font-size: 15px;
}

.mt5-agent-login-foot span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 157, 48, .82));
}

.mt5-agent-login-foot span:last-child {
  background: linear-gradient(90deg, rgba(218, 157, 48, .82), transparent);
}

@media (max-width: 980px) {
  .mt5-agent-login-page {
    padding: 28px 18px 38px;
  }

  .mt5-agent-login-main {
    min-height: auto;
    padding: 36px 0;
  }

  .mt5-agent-feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .mt5-agent-page-head h2 {
    font-size: 24px;
  }

  .mt5-agent-login-card {
    padding: 26px 18px;
  }

  .mt5-agent-login-card header {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .mt5-agent-login-card header > span {
    width: 60px;
    height: 60px;
  }

  .mt5-agent-login-card h3 {
    font-size: 22px;
  }

  .mt5-agent-captcha {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mt5-agent-feature-grid article {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 18px;
  }

  .mt5-agent-feature-grid article > span {
    width: 56px;
    height: 56px;
  }
}

.erp-head-login-page {
  min-height: calc(100vh - 64px);
  margin: -10px -2px;
  padding: clamp(34px, 5vh, 70px) clamp(44px, 5vw, 76px);
  background:
    radial-gradient(circle at 47% 52%, rgba(223, 161, 50, .13), transparent 28%),
    radial-gradient(circle at 72% 14%, rgba(218, 157, 48, .08), transparent 26%),
    linear-gradient(135deg, #050607 0%, #11100e 48%, #060708 100%);
  overflow: hidden;
}

.erp-head-login-layout {
  min-height: calc(100vh - 164px);
  display: grid;
  grid-template-columns: minmax(640px, 1fr) minmax(430px, 526px);
  align-items: center;
  gap: clamp(42px, 5vw, 82px);
}

.erp-head-login-hero {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.erp-head-login-hero img {
  width: min(100%, 898px);
  height: auto;
  display: block;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, .36));
}

.erp-head-login-card {
  min-width: 0;
  border: 1px solid rgba(219, 161, 58, .38);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 213, 111, .08), transparent 30%),
    linear-gradient(145deg, rgba(24, 24, 22, .90), rgba(8, 9, 10, .92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 28px 64px rgba(0, 0, 0, .36);
  overflow: hidden;
}

.erp-head-login-form {
  display: grid;
  gap: 24px;
  padding: 52px;
}

.erp-head-login-form header {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.erp-head-login-form h3 {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  color: #f3be55;
  font-size: 32px;
  line-height: 1.1;
}

.erp-head-login-form h3 svg {
  width: 46px;
  height: 46px;
  color: #f4bd54;
}

.erp-head-login-form p {
  margin: 0;
  padding-left: 66px;
  color: rgba(236, 226, 211, .76);
  font-size: 16px;
}

.erp-head-field {
  position: relative;
  display: block;
  min-width: 0;
}

.erp-head-field input {
  width: 100%;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: rgba(7, 8, 9, .44);
  color: #f7ead4;
  padding: 0 58px 0 60px;
  font-size: 15px;
  outline: 0;
}

.erp-head-field input:focus {
  border-color: rgba(245, 190, 80, .62);
  box-shadow: 0 0 0 3px rgba(218, 157, 48, .12);
}

.erp-head-field input::placeholder {
  color: rgba(236, 226, 211, .46);
}

.erp-head-field > svg {
  position: absolute;
  left: 24px;
  top: 20px;
  width: 21px;
  height: 21px;
  color: rgba(236, 226, 211, .72);
}

.erp-head-field button {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(236, 226, 211, .80);
  padding: 0;
}

.erp-head-field button svg {
  width: 19px;
  height: 19px;
}

.erp-head-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 46px;
  gap: 14px;
  align-items: center;
}

.erp-head-captcha-row .erp-head-field input {
  padding-right: 18px;
}

.erp-head-captcha-row b {
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(231, 232, 224, .98)),
    repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 5px, transparent 5px 10px);
  color: #2d6a55;
  font-family: Georgia, serif;
  font-size: 23px;
  letter-spacing: 10px;
  text-indent: 10px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.erp-head-captcha-row > button {
  width: 46px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: #f2b94e;
}

.erp-head-captcha-row > button svg {
  width: 23px;
  height: 23px;
}

.erp-head-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
  color: rgba(236, 226, 211, .82);
  font-size: 15px;
}

.erp-head-form-row label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.erp-head-form-row input {
  width: 17px;
  height: 17px;
  accent-color: #e1aa3d;
}

.erp-head-form-row button {
  border: 0;
  background: transparent;
  color: #f1b846;
  font-weight: 800;
}

.erp-head-login-submit {
  height: 62px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffdf82, #dfa63b);
  color: #120c05;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(218, 157, 48, .20);
}

.erp-head-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  color: rgba(236, 226, 211, .74);
}

.erp-head-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14));
}

.erp-head-divider span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, .14), transparent);
}

.erp-head-divider em {
  font-style: normal;
}

.erp-head-upgrade-btn {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "icon title" "icon desc";
  align-content: center;
  justify-content: center;
  gap: 4px 12px;
  border: 1px solid rgba(218, 157, 48, .45);
  border-radius: 7px;
  background: rgba(255, 255, 255, .02);
  color: #f2bc50;
  font-weight: 900;
}

.erp-head-upgrade-btn svg {
  grid-area: icon;
  width: 27px;
  height: 27px;
}

.erp-head-upgrade-btn strong {
  grid-area: title;
  color: #f2bc50;
  font-size: 17px;
}

.erp-head-upgrade-btn small {
  grid-area: desc;
  color: rgba(236, 226, 211, .58);
  font-size: 15px;
  font-weight: 600;
}

.erp-crm-shell {
  position: fixed;
  inset: 0;
  z-index: 4500;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background:
    radial-gradient(circle at 54% 5%, rgba(222, 163, 55, .12), transparent 30%),
    linear-gradient(135deg, #050505 0%, #11100e 48%, #050505 100%);
  color: #f8edd7;
  overflow: hidden;
}

.erp-crm-sidebar {
  border-right: 1px solid rgba(218, 157, 48, .34);
  background:
    radial-gradient(circle at 100% 10%, rgba(218, 157, 48, .14), transparent 36%),
    linear-gradient(180deg, rgba(22, 20, 17, .96), rgba(3, 4, 4, .99));
}

.erp-crm-sidebar h1 {
  height: 70px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 44px;
  border-bottom: 1px solid rgba(218, 157, 48, .26);
  color: #ffd35d;
  font-size: 24px;
}

.erp-crm-sidebar nav {
  display: grid;
  gap: 12px;
  padding: 20px 12px;
}

.erp-crm-sidebar button {
  position: relative;
  height: 58px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #f5ead7;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.erp-crm-sidebar button.active {
  border-color: rgba(218, 157, 48, .40);
  background: linear-gradient(90deg, rgba(218, 157, 48, .28), rgba(218, 157, 48, .08));
  color: #ffe08a;
}

.erp-crm-sidebar button svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border: 1px solid rgba(218, 157, 48, .35);
  border-radius: 5px;
  color: #ffcf5a;
  background: rgba(218, 157, 48, .12);
}

.erp-crm-sidebar button b {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffd35d;
  box-shadow: 0 0 14px rgba(255, 211, 93, .7);
}

.erp-crm-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 70px minmax(0, 1fr);
  overflow: hidden;
}

.erp-crm-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 26px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(218, 157, 48, .25);
  background: linear-gradient(90deg, rgba(5, 5, 5, .98), rgba(34, 27, 16, .82), rgba(5, 5, 5, .98));
}

.erp-crm-user,
.erp-crm-wallet {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.erp-crm-user span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #233246;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.erp-crm-user b {
  color: #fff6df;
  font-size: 16px;
}

.erp-crm-user em {
  color: #d6c7a7;
  font-style: normal;
}

.erp-crm-user strong {
  padding: 4px 12px;
  border: 1px solid rgba(39, 213, 111, .62);
  border-radius: 5px;
  color: #31e074;
  background: rgba(39, 213, 111, .10);
}

.erp-crm-user button,
.erp-crm-wallet,
.erp-crm-return {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .50);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #ffd35d;
  font-weight: 900;
}

.erp-crm-user button,
.erp-crm-return {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}

.erp-crm-user button svg,
.erp-crm-wallet svg,
.erp-crm-return svg {
  width: 16px;
  height: 16px;
}

.erp-crm-wallet {
  padding: 0 6px 0 14px;
  background: linear-gradient(90deg, rgba(49, 34, 9, .88), rgba(8, 8, 8, .92));
}

.erp-crm-wallet button,
.erp-crm-return {
  border: 0;
  background: linear-gradient(180deg, #ffe08b, #dfaa3d);
  color: #1d1304;
}

.erp-crm-board {
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 26px;
}

.erp-crm-cards,
.erp-crm-panel {
  border: 1px solid rgba(218, 157, 48, .26);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0, rgba(255, 212, 106, .07), transparent 28%),
    linear-gradient(145deg, rgba(19, 20, 19, .95), rgba(5, 6, 7, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.erp-crm-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.erp-crm-cards article {
  min-height: 138px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(218, 157, 48, .22);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(18, 19, 19, .90), rgba(8, 9, 9, .96));
}

.erp-crm-cards svg {
  width: 24px;
  height: 24px;
  color: #ffd35d;
}

.erp-crm-cards span,
.erp-crm-panel h2 {
  color: #fff0bd;
  font-weight: 900;
}

.erp-crm-cards b {
  color: #ffd45e;
  font-size: 30px;
  line-height: 1.1;
}

.erp-crm-cards em {
  color: #f6ead8;
  font-style: normal;
}

.erp-crm-orders {
  margin-top: 0;
  padding: 16px 22px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.erp-crm-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.erp-crm-panel table {
  width: 100%;
  border-collapse: collapse;
}

.erp-crm-panel th,
.erp-crm-panel td {
  height: 44px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  color: #fff;
}

.erp-crm-panel th {
  color: #ffdc6e;
  font-weight: 900;
}

.erp-crm-lower {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.erp-crm-left {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
}

.erp-crm-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 12px;
}

.erp-crm-summary article {
  display: grid;
  justify-items: center;
  gap: 12px;
  border-left: 1px solid rgba(218, 157, 48, .22);
}

.erp-crm-summary article:first-child {
  border-left: 0;
}

.erp-crm-summary span {
  color: #ffda6e;
  font-weight: 900;
}

.erp-crm-summary b {
  color: #fff;
  font-size: 24px;
}

.erp-crm-tools {
  padding: 26px;
}

.erp-crm-tools div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 38px;
}

.erp-crm-tools button {
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.erp-crm-tools button svg {
  width: 70px;
  height: 70px;
  padding: 18px;
  border: 1px solid rgba(218, 157, 48, .56);
  border-radius: 9px;
  color: #ffcf57;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 207, 87, .22), transparent 52%),
    rgba(218, 157, 48, .06);
}

.erp-crm-agent-table {
  padding: 18px 22px;
}

.erp-crm-agent-table th,
.erp-crm-agent-table td {
  height: 39px;
  font-size: 14px;
}

@media (max-width: 1280px) {
  .erp-crm-shell {
    grid-template-columns: 188px minmax(0, 1fr);
  }

  .erp-crm-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .erp-crm-lower {
    grid-template-columns: 1fr;
  }
}

.mt5-retail-shell {
  min-height: 920px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid rgba(201, 145, 43, .18);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0, rgba(218, 157, 48, .08), transparent 36%),
    linear-gradient(135deg, #090b0d, #151515 45%, #08090a);
  color: #e7dece;
}

.mt5-retail-sidebar {
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr) auto;
  border-right: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, #101113, #0a0b0d);
}

.mt5-retail-sidebar header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #f0b84a;
  font-size: 19px;
  font-weight: 900;
}

.mt5-retail-sidebar header svg,
.mt5-retail-top svg {
  width: 18px;
  height: 18px;
  color: #c7953a;
}

.mt5-retail-sidebar nav {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 12px 0;
}

.mt5-retail-sidebar nav button {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: #9f9a91;
  padding: 0 16px;
  text-align: left;
  font-weight: 800;
}

.mt5-retail-sidebar nav button.active {
  border-left-color: #d39a2f;
  background: rgba(211, 154, 47, .14);
  color: #ffd36b;
}

.mt5-retail-sidebar nav svg {
  width: 17px;
  height: 17px;
}

.mt5-retail-sidebar footer {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #918a7d;
  font-size: 12px;
}

.mt5-retail-sidebar footer b,
.mt5-retail-top em {
  color: #37d26b;
  font-style: normal;
}

.mt5-retail-top em.pending {
  color: #ffcf66;
}

.mt5-retail-top em.unavailable {
  color: #ff4f66;
}

.mt5-retail-sidebar footer i,
.mt5-retail-top em i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 999px;
  background: #37d26b;
}

.mt5-retail-top em.pending i {
  background: #ffcf66;
}

.mt5-retail-top em.unavailable i {
  background: #ff4f66;
}

.mt5-retail-sidebar footer strong {
  color: #e9ad35;
  font-size: 20px;
}

.mt5-retail-sidebar footer button,
.mt5-retail-top button,
.mt5-retail-positions footer button,
.mt5-retail-table-wrap button {
  height: 34px;
  border: 1px solid rgba(218, 157, 48, .5);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 900;
}

.mt5-retail-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 52px 78px minmax(0, 1fr);
}

.mt5-retail-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #b9b0a0;
}

.mt5-retail-mode-title {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(218, 157, 48, .52);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(218,157,48,.16), rgba(92,61,16,.12));
  color: #ffd36b !important;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.mt5-retail-top b,
.mt5-retail-top strong {
  color: #f4ead7;
}

.mt5-retail-top strong small {
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(218, 157, 48, .55);
  border-radius: 999px;
  color: #ffd36b;
}

.mt5-retail-account {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.018);
}

.mt5-retail-account article {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,.055);
}

.mt5-retail-account article:first-child {
  border-left: 0;
}

.mt5-retail-account span,
.mt5-retail-ticket label,
.mt5-retail-ticket p span {
  color: #928b80;
}

.mt5-retail-account b {
  color: #f4ead7;
  font-size: 16px;
}

.mt5-retail-account-pending {
  color: #ffcf66;
  font-size: 11px;
}

.mt5-account-picker {
  display: grid;
  gap: 14px;
  color: #f4ead7;
}

.mt5-account-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mt5-account-picker-head strong {
  color: #ffc44c;
  font-size: 18px;
}

.mt5-account-picker-head button {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(218, 157, 48, .45);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #ffd36b;
  font-weight: 900;
}

.mt5-account-picker-head svg {
  width: 15px;
  height: 15px;
}

.mt5-account-list {
  display: grid;
  gap: 8px;
  max-height: min(520px, calc(100vh - 260px));
  overflow: auto;
  padding-right: 4px;
}

.mt5-account-list button {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr .9fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  background: rgba(255,255,255,.035);
  color: #f4ead7;
  text-align: left;
}

.mt5-account-list button:hover,
.mt5-account-list button.is-selected {
  border-color: rgba(218, 157, 48, .62);
  background: rgba(218, 157, 48, .10);
}

.mt5-account-list button.switching {
  opacity: .72;
}

.mt5-account-list b {
  color: #fff2ce;
  font-size: 17px;
}

.mt5-account-list small,
.mt5-account-list em,
.mt5-account-list i,
.mt5-account-picker p {
  color: #9f9789;
  font-style: normal;
}

.mt5-account-list .badges {
  display: inline-flex;
  gap: 6px;
  justify-content: flex-end;
}

.mt5-account-list .badges span {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(218, 157, 48, .45);
  color: #ffd36b;
  font-size: 11px;
}

.mt5-account-list .badges .current {
  border-color: rgba(46, 213, 115, .5);
  color: #38e27b;
}

.mt5-retail-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 235px minmax(520px, 1fr) 300px;
  grid-template-rows: minmax(540px, 1fr) 294px;
  gap: 10px;
  padding: 10px;
}

.mt5-retail-quotes,
.mt5-retail-chart,
.mt5-retail-ticket,
.mt5-retail-positions {
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 7px;
  background: rgba(17, 18, 20, .82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.mt5-retail-quotes {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
}

.mt5-retail-quotes header,
.mt5-retail-chart header,
.mt5-retail-positions nav {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mt5-retail-quotes header {
  justify-content: space-between;
  padding: 0 14px;
}

.mt5-retail-quotes h3,
.mt5-retail-positions nav button,
.mt5-retail-chart header b {
  margin: 0;
  color: #f0e6d4;
  font-size: 15px;
}

.mt5-retail-quotes header button {
  border: 0;
  background: transparent;
  color: #918a7d;
  font-size: 20px;
}

.mt5-retail-quotes label {
  position: relative;
  margin: 10px 12px;
}

.mt5-retail-quotes label input {
  width: 100%;
  height: 34px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: rgba(0,0,0,.24);
  color: #f4ead7;
  padding: 0 12px 0 34px;
}

.mt5-retail-quotes label svg {
  position: absolute;
  left: 11px;
  top: 9px;
  width: 15px;
  height: 15px;
  color: #7f776c;
}

.mt5-retail-quote-list {
  min-height: 0;
  overflow: auto;
}

.mt5-retail-quote-empty {
  padding: 22px 14px;
  color: #918a7d;
  font-size: 13px;
  text-align: center;
}

.mt5-retail-quote-list button {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 74px;
  grid-template-areas: "icon name price" "icon name change";
  align-items: center;
  gap: 2px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d8d0c2;
  padding: 9px 10px;
  text-align: left;
}

.mt5-retail-quote-list button.active {
  background: rgba(218, 157, 48, .12);
}

.mt5-retail-coin {
  grid-area: icon;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6d27b, #9c6a25);
  color: #170d00;
  font-size: 11px;
  font-weight: 900;
}

.mt5-retail-quote-list b {
  grid-area: name;
  color: #f0e6d4;
}

.mt5-retail-quote-list small {
  display: block;
  margin-top: 3px;
  color: #857e73;
  font-size: 11px;
}

.mt5-retail-quote-list strong,
.mt5-retail-quote-list em {
  justify-self: end;
  font-style: normal;
}

.mt5-retail-quote-list strong {
  grid-area: price;
  font-size: 13px;
}

.mt5-retail-quote-list em {
  grid-area: change;
  font-size: 11px;
}

.mt5-retail-add {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: transparent;
  color: #c89234;
  padding: 0 16px;
  font-weight: 900;
}

.mt5-retail-add svg {
  width: 15px;
  height: 15px;
}

.mt5-retail-chart {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) 78px;
  overflow: hidden;
}

.mt5-retail-chart header {
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
}

.mt5-retail-symbol-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
}

.mt5-retail-chart header .mt5-retail-symbol-title .mt5-retail-coin {
  display: none;
}

.mt5-retail-symbol-title b {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.mt5-retail-symbol-title small {
  display: inline;
  color: #898176;
  font-size: 11px;
}

.mt5-retail-symbol-title strong {
  font-size: 22px;
}

.mt5-retail-symbol-title em {
  font-style: normal;
  font-weight: 800;
}

.mt5-retail-chart dl {
  display: grid;
  grid-template-columns: repeat(4, auto auto);
  gap: 3px 9px;
  margin: 0;
  color: #888176;
  font-size: 12px;
}

.mt5-retail-chart dd {
  margin: 0;
  color: #bfb5a5;
}

.mt5-retail-periods,
.mt5-retail-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mt5-retail-periods button,
.mt5-retail-tools button {
  border: 0;
  background: transparent;
  color: #9e9589;
  font-weight: 800;
}

.mt5-retail-periods button.active {
  color: #ffd36b;
  border-bottom: 2px solid #d39a2f;
}

.mt5-retail-tools {
  min-height: 34px;
  gap: 13px;
  color: #8f887e;
}

.mt5-retail-tools button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mt5-retail-tools svg {
  width: 14px;
  height: 14px;
}

.mt5-retail-kline {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 78px 100%;
}

.mt5-retail-candle-grid {
  left: 34px;
  right: 58px;
  top: 28px;
  bottom: 68px;
}

.mt5-retail-price-line {
  position: absolute;
  left: 34px;
  right: 58px;
  top: var(--line);
  border-top: 1px dashed rgba(255, 77, 88, .45);
}

.mt5-retail-price-line span {
  position: absolute;
  right: -58px;
  top: -12px;
  min-width: 54px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #e54c58;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mt5-retail-data-source {
  position: absolute;
  z-index: 6;
  left: 44px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(232, 176, 65, .42);
  border-radius: 999px;
  background: rgba(11, 12, 12, .82);
  color: #f1c65d;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
  pointer-events: none;
}

.mt5-retail-data-source.loading {
  color: #9fd0ff;
  border-color: rgba(96, 166, 255, .42);
}

.mt5-retail-kline-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: #f4c75f;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 78px 100%,
    rgba(0,0,0,.18);
}

.mt5-retail-kline-empty b {
  font-size: 16px;
  font-weight: 900;
}

.mt5-retail-kline-empty span {
  color: #8d877e;
  font-size: 12px;
}

.mt5-retail-level {
  position: absolute;
  z-index: 3;
  left: 34px;
  right: 58px;
  top: var(--top);
  border-top: 1px dashed currentColor;
  pointer-events: none;
}

.mt5-retail-level span {
  position: absolute;
  right: 0;
  top: -22px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0,0,0,.58);
  color: currentColor;
  font-size: 12px;
  font-weight: 900;
}

.mt5-retail-level.support {
  color: rgba(43, 214, 111, .78);
}

.mt5-retail-level.resistance {
  color: rgba(255, 77, 88, .78);
}

.mt5-retail-signal {
  position: absolute;
  z-index: 5;
  left: calc(34px + (100% - 92px) * var(--left) / 100);
  top: calc(28px + (100% - 96px) * var(--top) / 100);
  min-width: 26px;
  height: 22px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -110%);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}

.mt5-retail-signal::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.mt5-retail-signal.buy {
  background: #1fbf63;
  color: #1fbf63;
}

.mt5-retail-signal.sell {
  background: #ff4d58;
  color: #ff4d58;
}

.mt5-retail-signal.buy,
.mt5-retail-signal.sell {
  -webkit-text-fill-color: #fff;
}

.mt5-retail-axis {
  position: absolute;
  top: 24px;
  right: 8px;
  bottom: 82px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #8d877e;
  font-size: 11px;
}

.mt5-retail-time-axis {
  position: absolute;
  left: 34px;
  right: 58px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  color: #8d877e;
  font-size: 11px;
}

.mt5-retail-ticket {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.mt5-retail-select,
.mt5-retail-type,
.mt5-retail-stepper,
.mt5-retail-lots {
  width: 100%;
}

.mt5-retail-select {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #f2e7d2;
  font-size: 15px;
  font-weight: 900;
}

.mt5-retail-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 5px;
  overflow: hidden;
}

.mt5-retail-type button {
  height: 38px;
  border: 0;
  background: rgba(255,255,255,.03);
  color: #aea599;
  font-weight: 900;
}

.mt5-retail-type button.active {
  color: #ffd36b;
  background: rgba(211, 154, 47, .16);
  box-shadow: inset 0 0 0 1px rgba(211, 154, 47, .38);
}

.mt5-retail-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  height: 38px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(0,0,0,.22);
}

.mt5-retail-stepper button,
.mt5-retail-stepper input {
  border: 0;
  border-left: 1px solid rgba(255,255,255,.05);
  background: transparent;
  color: #f2e7d2;
  text-align: center;
  font-weight: 900;
}

.mt5-retail-stepper button:first-child {
  border-left: 0;
}

.mt5-retail-lots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}

.mt5-retail-lots button {
  height: 28px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.05);
  background: transparent;
  color: #aaa195;
  font-size: 11px;
}

.mt5-retail-ticket p {
  margin: 0;
  font-size: 12px;
}

.mt5-retail-ticket p b {
  color: #d5a23d;
}

.mt5-retail-ticket small {
  font-size: 12px;
}

.mt5-retail-order-tip {
  color: #8f8778;
  line-height: 1.35;
}

.mt5-retail-ticket.mode-market footer {
  margin-top: 0;
}

.mt5-retail-ticket footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.mt5-retail-ticket footer button {
  min-height: 78px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.mt5-retail-ticket footer b {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.mt5-retail-ticket footer .sell {
  background: linear-gradient(180deg, #e94f5b, #d83443);
}

.mt5-retail-ticket footer .buy {
  background: linear-gradient(180deg, #2bc16d, #1b9d57);
}

.mt5-retail-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.mt5-retail-confirm input {
  accent-color: #d39a2f;
}

.mt5-retail-positions {
  grid-column: 2 / 4;
  display: grid;
  grid-template-rows: 45px minmax(0, 1fr) 52px;
  min-width: 0;
  overflow: hidden;
}

.mt5-retail-positions nav {
  gap: 30px;
  padding: 0 18px;
}

.mt5-retail-positions nav button {
  height: 45px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #928b80;
  font-weight: 900;
}

.mt5-retail-positions nav button.active {
  color: #ffd36b;
  border-bottom-color: #d39a2f;
}

.mt5-retail-table-wrap {
  overflow: auto;
}

.mt5-retail-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mt5-retail-table-wrap th,
.mt5-retail-table-wrap td {
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #cfc6b8;
  text-align: left;
  white-space: nowrap;
}

.mt5-retail-table-wrap th {
  height: 36px;
  color: #948d84;
  font-size: 12px;
}

.mt5-retail-positions footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
}

.mt5-retail-positions footer span {
  color: #928b80;
}

.mt5-retail-positions footer div {
  display: flex;
  gap: 12px;
}

.mt5-retail-positions footer button:last-child {
  min-width: 76px;
  border: 0;
  background: linear-gradient(180deg, #e2b35b, #c59035);
  color: #211405;
}

.mt5-retail-shell .up,
.mt5-retail-shell .loss {
  color: #ff4d58 !important;
}

.mt5-retail-shell .down,
.mt5-retail-shell .profit {
  color: #28d46c !important;
}

.mt5-retail-chart {
  grid-template-rows: auto 54px auto auto minmax(0, 1fr);
}

.mt5-retail-chart-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 7px;
  min-height: 54px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(23, 22, 19, .94);
}

.mt5-retail-chart-tabs button {
  height: 39px;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  background: transparent;
  color: #c4b8a7;
  font-size: 15px;
  font-weight: 900;
}

.mt5-retail-chart-tabs button.active {
  border-color: rgba(211, 154, 47, .82);
  background:
    linear-gradient(180deg, rgba(255, 205, 91, .28), rgba(155, 103, 26, .30)),
    rgba(218, 157, 48, .10);
  color: #ffd45f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 7px 18px rgba(0,0,0,.18);
}

.mt5-retail-chart > .mt5-retail-tools:not(.mt5-retail-tools-enhanced) {
  display: none;
}

.mt5-retail-tools-enhanced {
  min-height: 38px;
  gap: 10px;
  padding: 0 18px;
  background: rgba(10, 11, 12, .72);
}

.mt5-retail-tools-enhanced button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  background: rgba(255,255,255,.025);
}

.mt5-retail-tools-enhanced label {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c0b0;
  font-size: 12px;
  font-weight: 800;
}

.mt5-retail-tools-enhanced input {
  width: 36px;
  height: 20px;
  appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: #1d1e20;
  position: relative;
}

.mt5-retail-tools-enhanced input::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 1px;
  left: 1px;
  border-radius: 999px;
  background: #dad6ce;
  transition: transform .18s ease;
}

.mt5-retail-tools-enhanced input:checked {
  background: #c99632;
  border-color: rgba(255, 210, 98, .65);
}

.mt5-retail-tools-enhanced input:checked::before {
  transform: translateX(16px);
  background: #fff8df;
}

.mt5-retail-ai-summary {
  position: absolute;
  z-index: 4;
  left: 20px;
  top: 62px;
  width: 184px;
  padding: 16px 15px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 24%, rgba(69, 196, 104, .13), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 24, .95), rgba(13, 15, 17, .91));
  box-shadow: 0 16px 38px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
  color: #d8d1c7;
}

.mt5-retail-ai-summary h4 {
  margin: 0 0 14px;
  color: #f2ead9;
  font-size: 13px;
  font-weight: 900;
}

.mt5-retail-ai-score {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.mt5-retail-ai-score b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 4px solid #29c66b;
  border-top-color: rgba(255,255,255,.18);
  color: #f8f5e8;
  font-size: 18px;
}

.mt5-retail-ai-score span {
  display: grid;
  gap: 4px;
  color: #a9a196;
  font-size: 12px;
}

.mt5-retail-ai-score em,
.mt5-retail-ai-summary p b {
  color: #31e07a;
  font-style: normal;
  font-weight: 900;
}

.mt5-retail-ai-summary p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0 0;
  color: #aaa195;
  font-size: 12px;
}

.mt5-retail-ai-summary p span {
  color: #b4ab9e;
}

.mt5-retail-ai-summary p b {
  color: #f4ead7;
  white-space: nowrap;
}

.mt5-retail-ai-summary p b.up {
  color: #31e07a !important;
}

.mt5-retail-ai-summary p b.down {
  color: #ff4d58 !important;
}

.mt5-retail-chart.mode-strategy .mt5-retail-periods,
.mt5-retail-chart.mode-strategy .mt5-retail-tools,
.mt5-retail-chart.mode-copy .mt5-retail-periods,
.mt5-retail-chart.mode-copy .mt5-retail-tools {
  display: none;
}

.mt5-retail-chart.mode-strategy {
  grid-template-rows: auto 54px minmax(0, 1fr);
}

.mt5-retail-chart.mode-copy {
  grid-template-rows: auto 54px minmax(0, 1fr);
}

.mt5-retail-chart.mode-strategy .mt5-retail-kline,
.mt5-retail-chart.mode-copy .mt5-retail-kline {
  background:
    radial-gradient(circle at 82% 0, rgba(218, 157, 48, .06), transparent 38%),
    linear-gradient(180deg, rgba(16, 18, 20, .98), rgba(9, 11, 12, .96));
  padding: 12px;
}

.mt5-retail-strategy-panel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr) 52px;
  gap: 10px;
  color: #d9d1c2;
}

.mt5-retail-strategy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mt5-retail-strategy-stats article {
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.mt5-retail-strategy-stats span {
  color: #9d9488;
  font-size: 13px;
}

.mt5-retail-strategy-stats b {
  color: #f7ead1;
  font-size: 25px;
  line-height: 1;
}

.mt5-retail-strategy-stats b small {
  margin-left: 4px;
  color: #f7ead1;
  font-size: 13px;
}

.mt5-retail-strategy-table {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 5px;
}

.mt5-retail-strategy-table header,
.mt5-retail-strategy-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) .8fr 1.1fr .9fr .8fr .8fr .75fr 104px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.mt5-retail-strategy-table header {
  height: 40px;
  color: #958c81;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mt5-retail-strategy-table header span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mt5-retail-strategy-table header svg {
  width: 12px;
  height: 12px;
}

.mt5-retail-strategy-row {
  min-height: 84px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.012);
}

.mt5-retail-strategy-row:last-child {
  border-bottom: 0;
}

.mt5-retail-strategy-name {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.mt5-retail-strategy-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(218, 157, 48, .34), rgba(117, 76, 16, .28));
  color: #f6be47;
}

.mt5-retail-strategy-icon.down {
  background: linear-gradient(135deg, rgba(178, 70, 218, .34), rgba(67, 23, 103, .32));
  color: #c26cff;
}

.mt5-retail-strategy-icon svg {
  width: 22px;
  height: 22px;
}

.mt5-retail-strategy-name b {
  min-width: 0;
  color: #fff0d5;
  font-size: 14px;
}

.mt5-retail-strategy-name small,
.mt5-retail-strategy-row b small {
  display: block;
  margin-top: 5px;
  color: #8f877b;
  font-size: 11px;
  font-weight: 600;
}

.mt5-retail-strategy-row > span {
  color: #c9bda9;
  font-size: 12px;
}

.mt5-retail-strategy-curve {
  position: relative;
  height: 40px;
  display: flex;
  align-items: end;
  gap: 4px;
  color: #35dd73;
  font-size: 11px;
  font-weight: 900;
}

.mt5-retail-strategy-curve i {
  width: 4px;
  border-radius: 999px;
  background: currentColor;
}

.mt5-retail-strategy-curve i:nth-child(1) { height: 12px; opacity: .55; }
.mt5-retail-strategy-curve i:nth-child(2) { height: 20px; opacity: .7; }
.mt5-retail-strategy-curve i:nth-child(3) { height: 15px; opacity: .65; }
.mt5-retail-strategy-curve i:nth-child(4) { height: 28px; }
.mt5-retail-strategy-curve i:nth-child(5) { height: 24px; }
.mt5-retail-strategy-curve i:nth-child(6) { height: 34px; }

.mt5-retail-strategy-curve.down {
  color: #ff4d58;
}

.mt5-retail-strategy-curve b {
  margin-left: 8px;
  white-space: nowrap;
}

.mt5-retail-strategy-row > b {
  font-size: 13px;
}

.mt5-retail-strategy-row em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-weight: 900;
}

.mt5-retail-strategy-row em svg {
  width: 14px;
  height: 14px;
}

.mt5-retail-strategy-row .risk-medium {
  color: #ffc34b;
}

.mt5-retail-strategy-row .risk-low {
  color: #50de7d;
}

.mt5-retail-strategy-row strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.mt5-retail-strategy-row strong i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.mt5-retail-strategy-row .running {
  color: #2ed66c;
}

.mt5-retail-strategy-row .paused {
  color: #e29d32;
}

.mt5-retail-strategy-row .review {
  color: #4a9fff;
}

.mt5-retail-strategy-users {
  color: #f7ead1 !important;
  font-weight: 900;
}

.mt5-retail-strategy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mt5-retail-strategy-actions button {
  height: 25px;
  border: 1px solid rgba(218, 157, 48, .45);
  border-radius: 4px;
  background: rgba(0,0,0,.18);
  color: #d7c6a8;
  font-size: 12px;
  font-weight: 900;
}

.mt5-retail-strategy-actions button.primary {
  background: linear-gradient(180deg, #f1c764, #c99432);
  color: #241605;
}

.mt5-retail-strategy-actions span {
  grid-column: 1 / -1;
  color: #8f877b;
  text-align: center;
}

.mt5-retail-strategy-panel footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a69d91;
}

.mt5-retail-strategy-panel footer div {
  display: flex;
  gap: 7px;
}

.mt5-retail-strategy-panel footer button {
  min-width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: rgba(255,255,255,.025);
  color: #bdb3a3;
}

.mt5-retail-strategy-panel footer button.active {
  border-color: rgba(218, 157, 48, .7);
  background: rgba(218, 157, 48, .14);
  color: #ffd36b;
}

.mt5-retail-copy-panel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr) 34px;
  gap: 10px;
  color: #d9d1c2;
}

.mt5-retail-copy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.2fr .9fr;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  overflow: hidden;
}

.mt5-retail-copy-stats article {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas: "icon label" "icon value";
  align-content: center;
  gap: 3px 10px;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,.055);
}

.mt5-retail-copy-stats article:first-child {
  border-left: 0;
}

.mt5-retail-copy-stats i {
  grid-area: icon;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(218,157,48,.42), rgba(48,126,43,.30));
  color: #f8c55b;
}

.mt5-retail-copy-stats span {
  grid-area: label;
  color: #9d9488;
  font-size: 12px;
}

.mt5-retail-copy-stats b {
  grid-area: value;
  color: #ffd36b;
  font-size: 16px;
}

.mt5-retail-copy-table {
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 5px;
}

.mt5-retail-copy-table > header,
.mt5-retail-copy-row {
  display: grid;
  grid-template-columns: minmax(145px, 1.25fr) .8fr .65fr .55fr .85fr .75fr .85fr .7fr minmax(115px, 1fr) 92px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.mt5-retail-copy-table > header {
  height: 40px;
  color: #958c81;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mt5-retail-copy-row {
  position: relative;
  min-height: 126px;
  padding-top: 12px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.012);
}

.mt5-retail-copy-row:last-child {
  border-bottom: 0;
}

.mt5-retail-copy-trader {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mt5-retail-copy-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(218,157,48,.72);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, rgba(255,210,92,.35), rgba(20,27,31,.95));
  color: #ffd36b;
}

.mt5-retail-copy-avatar svg {
  width: 25px;
  height: 25px;
}

.mt5-retail-copy-trader b {
  color: #fff1d4;
  font-size: 14px;
  min-width: 0;
}

.mt5-retail-copy-trader em {
  margin-left: 7px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(218,157,48,.22);
  color: #ffd36b;
  font-style: normal;
  font-size: 10px;
}

.mt5-retail-copy-trader small,
.mt5-retail-copy-row strong small {
  display: block;
  margin-top: 5px;
  color: #8f877b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.mt5-retail-copy-symbols {
  display: grid;
  gap: 5px;
  color: #c9bda9;
  font-size: 12px;
}

.mt5-retail-copy-symbols span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mt5-retail-copy-symbols i {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(218,157,48,.24);
  color: #ffd36b;
  font-style: normal;
  font-size: 10px;
}

.mt5-retail-copy-row > span {
  color: #d4cab9;
  font-size: 12px;
}

.mt5-retail-copy-row > b {
  color: #28d46c;
  font-size: 13px;
}

.mt5-retail-copy-row strong {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: #2ed66c;
  font-size: 12px;
}

.mt5-retail-copy-row strong > i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 999px;
  background: #2ed66c;
}

.mt5-retail-copy-curve {
  height: 42px;
  display: flex;
  align-items: end;
  gap: 4px;
  color: #32d86d;
}

.mt5-retail-copy-curve i {
  width: 4px;
  border-radius: 999px;
  background: currentColor;
}

.mt5-retail-copy-curve i:nth-child(1) { height: 8px; opacity: .55; }
.mt5-retail-copy-curve i:nth-child(2) { height: 13px; opacity: .65; }
.mt5-retail-copy-curve i:nth-child(3) { height: 11px; opacity: .6; }
.mt5-retail-copy-curve i:nth-child(4) { height: 18px; opacity: .75; }
.mt5-retail-copy-curve i:nth-child(5) { height: 23px; }
.mt5-retail-copy-curve i:nth-child(6) { height: 29px; }
.mt5-retail-copy-curve i:nth-child(7) { height: 36px; }

.mt5-retail-copy-actions {
  display: grid;
  gap: 6px;
}

.mt5-retail-copy-actions button,
.mt5-retail-copy-row footer button {
  height: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  background: rgba(0,0,0,.20);
  color: #d7c6a8;
  font-size: 12px;
  font-weight: 900;
}

.mt5-retail-copy-actions button.primary {
  border-color: rgba(218,157,48,.65);
  background: linear-gradient(180deg, #f1c764, #c99432);
  color: #241605;
}

.mt5-retail-copy-row footer {
  position: absolute;
  left: 16px;
  right: 240px;
  bottom: 11px;
  display: grid;
  grid-template-columns: 100px 150px 150px;
  gap: 10px;
}

.mt5-retail-copy-row footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 31px;
  color: #cdbfaa;
}

.mt5-retail-copy-row footer button.checked {
  color: #52df83;
}

.mt5-retail-copy-row footer svg {
  width: 14px;
  height: 14px;
}

.mt5-retail-copy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #91897e;
  font-size: 12px;
}

.mt5-retail-copy-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mt5-retail-copy-foot svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1320px) {
  .erp-head-login-layout {
    grid-template-columns: 1fr;
  }
  .erp-head-login-card {
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }
  .erp-head-layout {
    grid-template-columns: 1fr;
  }
  .erp-head-hero-panel {
    grid-template-columns: 1fr;
  }
  .erp-head-visual {
    min-height: 340px;
  }
  .erp-head-services > div,
  .erp-head-purchase footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .order-workspace {
    grid-template-columns: 280px minmax(460px, 1fr) 310px;
  }
  .mt5-retail-workspace {
    grid-template-columns: 220px minmax(470px, 1fr) 280px;
  }
  .order-page-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .mt5-retail-shell {
    grid-template-columns: 1fr;
  }
  .mt5-retail-sidebar {
    display: none;
  }
  .mt5-retail-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .order-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }
  .mt5-retail-quotes,
  .mt5-retail-ticket,
  .mt5-retail-positions {
    grid-column: auto;
    grid-row: auto;
  }
  .order-ticket-card {
    grid-row: auto;
  }
  .order-page-head > aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mt5-summary-card {
    grid-template-columns: 1fr;
  }
  .mt5-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mt5-summary-art {
    display: none;
  }
}

.quant-simple-panel {
  display: grid;
  gap: 18px;
  color: #f6ead4;
}

.quant-simple-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0, rgba(218, 157, 48, .12), transparent 42%),
    rgba(12, 12, 12, .86);
}

.quant-simple-panel h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 24px;
}

.quant-simple-panel p {
  margin: 6px 0 0;
  color: #a99d8c;
}

.quant-simple-panel button {
  height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(218, 157, 48, .55);
  border-radius: 6px;
  background: linear-gradient(180deg, #f4ce72, #d59629);
  color: #140d03;
  font-weight: 900;
}

.quant-form-grid,
.quant-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quant-form-grid label,
.quant-result-grid article,
.quant-history-list article {
  border: 1px solid rgba(201, 145, 43, .25);
  border-radius: 8px;
  background: rgba(12, 12, 12, .78);
}

.quant-form-grid label {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: #a99d8c;
}

.quant-form-grid select,
.quant-form-grid input {
  height: 38px;
  border: 1px solid rgba(201, 145, 43, .26);
  border-radius: 6px;
  background: rgba(0, 0, 0, .32);
  color: #f6ead4;
  padding: 0 10px;
}

.quant-result-grid article {
  padding: 16px;
}

.quant-result-grid span {
  display: block;
  color: #a99d8c;
  margin-bottom: 8px;
}

.quant-result-grid b {
  font-size: 24px;
}

.quant-result-grid .profit {
  color: #39c869;
}

.quant-placeholder-chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(201, 145, 43, .25);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(12, 12, 12, .78);
}

.quant-placeholder-chart i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #ffd36b, #b4771e);
}

.quant-placeholder-chart i:nth-child(1) { height: 32%; }
.quant-placeholder-chart i:nth-child(2) { height: 46%; }
.quant-placeholder-chart i:nth-child(3) { height: 58%; }
.quant-placeholder-chart i:nth-child(4) { height: 42%; }
.quant-placeholder-chart i:nth-child(5) { height: 76%; }
.quant-placeholder-chart i:nth-child(6) { height: 88%; }

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

.quant-history-list article {
  display: grid;
  grid-template-columns: 180px 1fr 120px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.quant-history-list b {
  color: #ffd36b;
}

.quant-history-list span {
  color: #f6ead4;
}

.quant-history-list em {
  color: #a99d8c;
  font-style: normal;
  text-align: right;
}

.arbitrage-monitor-dashboard {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto;
  gap: 12px;
  color: #eadcc2;
}

.arb-page-head,
.arb-price-card,
.arb-time-card,
.arb-filter-row,
.arb-table-wrap {
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(216, 157, 48, .16), transparent 32%),
    linear-gradient(180deg, rgba(28, 25, 18, .78), rgba(7, 7, 7, .88)),
    rgba(8, 8, 8, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.arb-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 15px 18px;
  background:
    radial-gradient(circle at 82% 0, rgba(218, 157, 48, .22), transparent 34%),
    linear-gradient(135deg, rgba(18, 17, 13, .98), rgba(7, 7, 7, .98));
}

.arb-page-head h2 {
  margin: 0;
  color: #f6ead4;
  font-size: 26px;
}

.arb-page-head p {
  margin: 6px 0 0;
  color: #b7ac9b;
}

.arb-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.arb-head-actions label {
  height: 34px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(201, 145, 43, .35);
  border-radius: 8px;
  background: rgba(9, 9, 9, .74);
  color: #9b9284;
}

.arb-head-actions input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff4d2;
}

.arb-head-actions button,
.arb-filter-row button,
.arb-detail-btn,
.arb-alert-btn,
.arb-monitor-foot button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(205, 150, 48, .46);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(79, 55, 16, .82), rgba(32, 25, 15, .86));
  color: #ffe08a;
  font-weight: 800;
}

.arb-price-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.arb-price-card,
.arb-time-card {
  min-height: 126px;
  padding: 14px 16px;
}

.arb-price-card h3 {
  margin: 0 0 14px;
  color: #ffd36b;
  font-size: 17px;
}

.arb-price-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  text-align: center;
}

.arb-price-card span,
.arb-time-card span,
.arb-table span {
  color: #b7ac9b;
  font-size: 13px;
}

.arb-price-card b {
  font-size: 22px;
}

.arb-price-card small {
  display: block;
  margin-top: 13px;
  color: #d8c9ae;
  text-align: center;
}

.arb-price-card strong {
  width: 86px;
  height: 28px;
  display: grid;
  place-items: center;
  margin: 5px auto 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #43ff8b, #18d963);
  color: #00170b;
  font-size: 18px;
  font-weight: 900;
}

.arb-time-card {
  display: grid;
  align-content: center;
  gap: 12px;
}

.arb-time-card b {
  color: #f6ead4;
  font-size: 15px;
}

.arb-time-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #d8c9ae;
}

.arb-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.arb-filter-row nav,
.arb-filter-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.arb-filter-row nav button {
  min-width: 84px;
  height: 42px;
  border-color: rgba(201, 145, 43, .26);
  border-radius: 7px;
  background: rgba(14, 13, 10, .86);
}

.arb-filter-row nav button.active {
  border-color: rgba(242, 181, 43, .54);
  background: linear-gradient(180deg, rgba(115, 85, 26, .95), rgba(59, 43, 18, .95));
  color: #ffdf75;
}

.arb-filter-row select {
  height: 38px;
  min-width: 172px;
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 7px;
  background: rgba(9, 9, 9, .90);
  color: #eadcc2;
  padding: 0 12px;
}

.arb-table-section {
  display: grid;
  gap: 8px;
}

.arb-table-section h3 {
  margin: 0 0 0 10px;
  color: #ffd36b;
  font-size: 16px;
}

.arb-table-wrap {
  overflow: auto;
}

.arb-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  table-layout: fixed;
}

.arb-table th,
.arb-table td {
  border: 1px solid rgba(201, 145, 43, .18);
  padding: 9px 12px;
  vertical-align: middle;
}

.arb-table th {
  height: 42px;
  background: rgba(65, 45, 16, .72);
  color: #ffe9a6;
  font-size: 14px;
  font-weight: 900;
}

.arb-table td {
  color: #eadcc2;
  font-size: 14px;
}

.arb-table td:first-child {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.arb-table b,
.arb-table strong,
.arb-table em {
  display: block;
  font-style: normal;
}

.arb-table em {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 900;
}

.arb-table .arb-diff-value {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
}

.arb-table td:nth-child(4),
.arb-table td:nth-child(5),
.arb-table td:nth-child(6) {
  text-align: center;
}

.arb-row-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(242, 181, 43, .88), rgba(122, 84, 19, .88));
  color: #101a21;
}

.arb-row-icon svg {
  width: 15px;
  height: 15px;
}

.arb-row-icon[class*="flag-"] {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #12345a;
}

.arb-row-icon.flag-ru {
  background: linear-gradient(#fff 0 33%, #2857b7 33% 66%, #db2f2f 66%);
}

.arb-row-icon.flag-jp {
  background: radial-gradient(circle, #c72b38 0 27%, #fff 28%);
}

.arb-row-icon.flag-ae {
  background: linear-gradient(90deg, #d9252b 0 28%, transparent 28%), linear-gradient(#169b62 0 33%, #fff 33% 66%, #000 66%);
}

.arb-row-icon.flag-za {
  background: linear-gradient(145deg, #007a4d 0 34%, #ffb612 34% 43%, #000 43% 57%, #fff 57% 66%, #de3831 66%);
}

.arb-detail-btn {
  width: 64px;
  color: #23a8ff;
}

.arb-action-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.arb-alert-btn {
  width: 86px;
  color: #ffd36b;
}

.arb-spread-cell {
  position: relative;
  transition: background-color .2s ease;
}

.arb-spread-cell.arb-alert-high {
  animation: arbAlertHigh 1s infinite;
}

.arb-spread-cell.arb-alert-low {
  animation: arbAlertLow 1s infinite;
}

@keyframes arbAlertHigh {
  0%, 100% {
    background: rgba(220, 20, 38, .88);
  }
  50% {
    background: rgba(4, 3, 3, .94);
  }
}

@keyframes arbAlertLow {
  0%, 100% {
    background: rgba(21, 180, 82, .88);
  }
  50% {
    background: rgba(4, 3, 3, .94);
  }
}

.feature-dialog.arbitrage-alert-dialog {
  width: min(920px, calc(100vw - 72px));
}

.arbitrage-alert-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  color: #f6ead4;
}

.arb-alert-left,
.arb-alert-form {
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0, rgba(214, 155, 39, .12), transparent 38%),
    rgba(13, 12, 10, .92);
}

.arb-alert-left h3,
.arb-alert-form h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 20px;
}

.arb-alert-left p {
  margin: 8px 0 14px;
  color: #aa9d8d;
  font-size: 13px;
}

.arb-alert-history-list {
  display: grid;
  gap: 10px;
  max-height: 292px;
  overflow: auto;
  padding-right: 4px;
}

.arb-alert-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(201, 145, 43, .20);
  border-radius: 8px;
  background: rgba(5, 5, 5, .48);
}

.arb-alert-history-item.active {
  border-color: rgba(255, 208, 92, .72);
  background: rgba(83, 57, 17, .38);
}

.arb-alert-history-item b,
.arb-alert-history-item span,
.arb-alert-history-item small {
  display: block;
}

.arb-alert-history-item b {
  color: #fff4d2;
  font-size: 15px;
}

.arb-alert-history-item span {
  margin-top: 5px;
  color: #ffd36b;
  font-size: 13px;
}

.arb-alert-history-item small {
  margin-top: 4px;
  color: #928779;
  font-size: 12px;
}

.arb-alert-history-item button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 91, 91, .46);
  border-radius: 7px;
  background: rgba(75, 18, 18, .42);
  color: #ff8b8b;
  font-weight: 800;
}

.arb-alert-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #8f8375;
  border: 1px dashed rgba(201, 145, 43, .24);
  border-radius: 8px;
  background: rgba(7, 7, 7, .42);
}

.arb-alert-form {
  display: grid;
  align-content: start;
  gap: 13px;
}

.arb-alert-form label {
  display: grid;
  gap: 7px;
  color: #d7c8ad;
  font-weight: 800;
}

.arb-alert-form input {
  height: 40px;
  width: 100%;
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 7px;
  background: rgba(2, 2, 2, .56);
  color: #fff4d2;
  padding: 0 12px;
  font: inherit;
  outline: 0;
}

.arb-alert-form input:focus {
  border-color: rgba(255, 211, 107, .76);
  box-shadow: 0 0 0 2px rgba(255, 211, 107, .12);
}

.arb-alert-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.arb-alert-tip {
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(255, 211, 107, .08);
  color: #b9ad99;
  font-size: 13px;
}

.arb-alert-save {
  height: 42px;
  border-radius: 8px;
}

.arb-monitor-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  color: #d8c9ae;
}

.arb-monitor-foot span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.arb-monitor-foot span svg {
  color: #ffd36b;
  flex: 0 0 auto;
}

.arb-monitor-foot small {
  color: #a99d8c;
}

.arbitrage-monitor-dashboard .up {
  color: #24f36f;
}

.arbitrage-monitor-dashboard .down {
  color: #ff3d4e;
}

.world-gold-dashboard {
  --wg-bg: #050607;
  --wg-panel: rgba(12, 13, 12, .92);
  --wg-line: rgba(170, 123, 38, .34);
  --wg-gold: #f2bb48;
  --wg-soft: #9d9383;
  --wg-green: #29d26d;
  --wg-red: #ff4b55;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  overflow: auto;
  background: transparent;
  color: #eadcc2;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.wg-page-head {
  padding: 2px 2px 0;
}

.wg-page-head h2 {
  margin: 0;
  color: #fff4d2;
  font-size: 25px;
  letter-spacing: 0;
}

.wg-page-head span {
  color: #9d9589;
}

.wg-page-head button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(210, 156, 54, .62);
  border-radius: 6px;
  background: rgba(40, 28, 9, .62);
  color: #f7c75c;
  font-weight: 700;
}

.wg-topbar {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid var(--wg-line);
}

.wg-brand {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-right: 1px solid var(--wg-line);
}

.wg-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(241, 194, 83, .18), rgba(92, 63, 16, .22));
}

.wg-brand-mark img {
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.wg-brand b {
  display: block;
  color: #ffd36b;
  font-size: 24px;
  line-height: 1.1;
}

.wg-brand small,
.wg-userbar small {
  display: block;
  color: #b5a681;
}

.wg-status,
.wg-userbar {
  display: flex;
  align-items: center;
  gap: 22px;
}

.wg-status {
  padding: 0 22px;
  color: #d4af4f;
}

.wg-status span,
.wg-userbar span,
.wg-vip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wg-status strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wg-green);
  font-weight: 700;
}

.wg-status strong i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--wg-green);
  box-shadow: 0 0 0 4px rgba(41, 210, 109, .12);
}

.wg-userbar {
  justify-self: end;
  padding: 0 24px 0 14px;
  color: #dcd4c6;
}

.wg-vip {
  height: 30px;
  padding: 0 16px;
  border: 1px solid var(--wg-line);
  border-radius: 999px;
  color: #ffd36b;
  background: rgba(240, 182, 62, .07);
}

.wg-userbar > div {
  border-left: 1px solid rgba(255, 255, 255, .10);
  padding-left: 18px;
}

.wg-userbar b {
  color: #f5ead2;
}

.wg-main {
  min-height: 0;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.wg-sidebar {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-right: 1px solid var(--wg-line);
  background:
    radial-gradient(circle at 80% 16%, rgba(218, 157, 48, .10), transparent 38%),
    rgba(7, 9, 10, .96);
}

.wg-sidebar nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 12px;
}

.wg-sidebar nav button {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d8d0c1;
  padding: 0 18px;
  font-size: 16px;
  text-align: left;
}

.wg-sidebar nav button.active {
  color: #fff1c6;
  background:
    linear-gradient(90deg, rgba(177, 128, 35, .62), rgba(177, 128, 35, .16)),
    rgba(255, 211, 107, .06);
  box-shadow: inset 3px 0 0 #f4bd4b;
}

.wg-vip-card {
  margin: 0 18px 18px;
  padding: 20px 28px;
  border: 1px solid rgba(202, 150, 48, .42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0, rgba(246, 196, 74, .24), transparent 28%),
    linear-gradient(145deg, rgba(92, 67, 22, .55), rgba(9, 9, 8, .96));
}

.wg-vip-card h3 {
  margin: 0 0 12px;
  color: #ffd36b;
  font-size: 21px;
}

.wg-vip-card p {
  margin: 7px 0;
  color: #f0d697;
}

.wg-vip-card p::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 999px;
  background: #ffd36b;
}

.wg-vip-card button {
  width: 100%;
  height: 36px;
  margin-top: 14px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffe08a, #d99b30);
  color: #271800;
  font-weight: 900;
}

.wg-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px 14px;
  overflow: auto;
}

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

.wg-stat-card,
.wg-market-state,
.wg-map-panel,
.wg-chart-panel,
.wg-country-panel {
  border: 1px solid rgba(191, 132, 35, .45);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    #0b0c0d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.wg-stat-card {
  min-height: 124px;
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
}

.wg-stat-card::after,
.wg-market-state::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 110px;
  height: 110px;
  opacity: .18;
  background: linear-gradient(135deg, transparent 35%, #d99931 35% 45%, transparent 45% 55%, #d99931 55% 65%, transparent 65%);
  transform: rotate(-12deg);
}

.wg-stat-card span,
.wg-market-state span {
  display: block;
  color: #f6cb64;
  font-weight: 800;
}

.wg-stat-card > span,
.wg-stat-card b,
.wg-stat-card em {
  position: relative;
  z-index: 1;
}

.wg-stat-card > span {
  white-space: nowrap;
  font-size: 15px;
}

.wg-stat-card small,
.wg-chart-panel small,
.wg-map-panel small {
  color: #cba64a;
  font-size: 11px;
}

.wg-stat-card b {
  display: block;
  margin-top: 14px;
  color: #f4bd4b;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: .02em;
}

.wg-stat-card em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 15px;
}

.wg-spark {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 88px;
  height: 54px;
  opacity: .92;
  z-index: 0;
}

.wg-spark path:first-child {
  fill: none;
  stroke: #f4bd4b;
  stroke-width: 2;
}

.wg-spark.down path:first-child {
  stroke: var(--wg-red);
}

.wg-spark .fill {
  fill: rgba(244, 189, 75, .14);
  stroke: 0;
}

.wg-spark.down .fill {
  fill: rgba(255, 75, 85, .13);
}

.wg-market-state {
  min-height: 124px;
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
}

.wg-market-state b {
  display: block;
  margin-top: 16px;
  color: #f4bd4b;
  font-size: 30px;
}

.wg-market-state em {
  display: block;
  margin-top: 8px;
  color: var(--wg-green);
  font-style: normal;
  font-size: 16px;
}

.wg-market-state img {
  position: absolute;
  right: 20px;
  bottom: 12px;
  width: 72px;
  opacity: .52;
}

.wg-panel-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(450px, .95fr);
  gap: 12px;
}

.wg-left-stack {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(360px, 1.04fr) minmax(300px, .86fr);
  gap: 0;
}

.wg-map-panel,
.wg-chart-panel,
.wg-country-panel {
  min-width: 0;
  overflow: hidden;
}

.wg-map-panel h3,
.wg-chart-panel h3,
.wg-country-panel h3 {
  margin: 0;
  padding: 16px 16px 0;
  color: #ffe09a;
  font-size: 19px;
}

.wg-map {
  position: relative;
  height: 330px;
  margin: 8px 14px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 44%, rgba(46, 231, 126, .12), transparent 13%),
    radial-gradient(circle at 50% 50%, rgba(244, 189, 75, .11), transparent 46%),
    linear-gradient(180deg, rgba(244, 189, 75, .035), rgba(0, 0, 0, .10)),
    #070706;
  mask-image: radial-gradient(ellipse at center, #000 0 72%, transparent 92%);
}

.wg-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .28;
  background:
    linear-gradient(rgba(244, 189, 75, .18) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(244, 189, 75, .15) 1px, transparent 1px) 0 0 / 92px 100%,
    radial-gradient(circle, rgba(244, 189, 75, .45) 0 1px, transparent 1.35px) 0 0 / 7px 7px;
  pointer-events: none;
}

.wg-map::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: 1;
  background:
    radial-gradient(circle at 71% 43%, rgba(57, 238, 142, .24), transparent 10%),
    radial-gradient(circle at 18% 42%, rgba(255, 206, 64, .17), transparent 10%),
    radial-gradient(circle at 53% 48%, rgba(255, 206, 64, .13), transparent 11%);
  filter: blur(2px);
  pointer-events: none;
}

.wg-world-map {
  position: absolute;
  left: 3%;
  top: 4%;
  z-index: 2;
  width: 94%;
  height: 88%;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(244, 189, 75, .22));
}

.wg-world-map pattern circle {
  fill: rgba(255, 206, 82, .95);
}

.wg-map-grid path {
  fill: none;
  stroke: rgba(243, 185, 69, .22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.wg-map-land-shadow path {
  fill: rgba(0, 0, 0, .38);
  transform: translate(8px, 9px);
}

.wg-map-land path {
  fill: url(#wgGoldMapDots);
  stroke: url(#wgLandGlow);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.wg-map-islands path {
  opacity: .78;
}

.wg-continent {
  position: absolute;
  display: none;
  border-radius: 45% 55% 44% 56%;
  background:
    radial-gradient(circle, rgba(244, 189, 75, .75) 0 1px, transparent 1.4px) 0 0 / 4px 4px;
  opacity: .58;
  filter: drop-shadow(0 0 5px rgba(244, 189, 75, .14));
}

.wg-north-america { left: 5%; top: 13%; width: 29%; height: 32%; transform: rotate(-10deg); }
.wg-south-america { left: 25%; top: 47%; width: 13%; height: 34%; transform: rotate(16deg); }
.wg-europe { left: 45%; top: 16%; width: 17%; height: 18%; }
.wg-africa { left: 47%; top: 35%; width: 17%; height: 34%; transform: rotate(4deg); }
.wg-asia { left: 58%; top: 17%; width: 34%; height: 39%; transform: rotate(4deg); }
.wg-australia { left: 77%; top: 64%; width: 16%; height: 16%; transform: rotate(-4deg); }

.wg-map-pin {
  position: absolute;
  min-width: 74px;
  z-index: 5;
  padding: 8px 10px;
  border: 1px solid rgba(244, 189, 75, .42);
  border-radius: 6px;
  background: rgba(5, 6, 6, .88);
  color: #f5d27b;
  transform: translate(-50%, -28%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.wg-map-pin i {
  position: absolute;
  left: 50%;
  top: -20px;
  width: 14px;
  height: 14px;
  border: 3px solid #ffcc40;
  border-radius: 999px;
  background: #fff0a6;
  transform: translateX(-50%);
  box-shadow: 0 0 0 8px rgba(244, 189, 75, .22), 0 0 24px rgba(244, 189, 75, .88);
}

.wg-map-pin.hot i {
  border-color: #47ef95;
  box-shadow: 0 0 0 11px rgba(71, 239, 149, .18), 0 0 0 24px rgba(71, 239, 149, .10), 0 0 28px rgba(71, 239, 149, .72);
}

.wg-map-pin strong,
.wg-map-pin span,
.wg-map-pin b {
  display: block;
}

.wg-map-pin strong {
  color: #ffe09a;
  font-size: 13px;
}

.wg-map-pin span {
  color: #d7c7a0;
  font-size: 12px;
}

.wg-map-pin b {
  margin-top: 3px;
  color: #ffd36b;
  font-size: 14px;
}

.wg-range-tabs {
  display: flex;
  padding: 0 14px 8px;
}

.wg-range-tabs button {
  min-width: 66px;
  height: 32px;
  border: 1px solid rgba(167, 118, 31, .32);
  background: rgba(0, 0, 0, .22);
  color: #d8caa8;
}

.wg-range-tabs button.active {
  color: #fff0bd;
  background: rgba(146, 100, 22, .45);
  border-color: #bd882e;
}

.wg-chart-panel {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.wg-chart-panel header {
  padding: 14px 16px 0;
}

.wg-chart-panel header h3 {
  padding: 0;
}

.wg-chart-panel header div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  justify-content: center;
}

.wg-chart-panel header span {
  color: #d6cbb9;
  font-size: 13px;
}

.wg-chart-panel header span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--line);
}

.wg-chart-wrap {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 32px;
  height: 230px;
  padding: 6px 22px 12px 16px;
}

.wg-chart-wrap aside {
  display: grid;
  align-content: space-between;
  color: #bfb7aa;
}

.wg-line-chart {
  width: 100%;
  height: 100%;
  border-left: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.wg-line-chart .grid path {
  fill: none;
  stroke: rgba(255, 255, 255, .09);
  stroke-width: .8;
}

.wg-line-chart polyline {
  fill: none;
  stroke-width: 2;
}

.wg-chart-wrap footer {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  color: #bfb7aa;
  font-size: 12px;
}

.wg-country-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.wg-country-panel h3 {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--wg-line);
}

.wg-country-panel table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.wg-country-panel th,
.wg-country-panel td {
  border-right: 1px solid var(--wg-line);
  border-bottom: 1px solid var(--wg-line);
  padding: 11px 18px;
  text-align: left;
}

.wg-country-panel th {
  color: #f4d081;
  background: rgba(160, 112, 24, .10);
  font-size: 13px;
}

.wg-country-panel td {
  color: #e7dac4;
  font-size: 15px;
}

.wg-country-panel td:nth-child(3) {
  color: #f3bd4b;
}

.wg-country-panel td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.wg-country-panel th:first-child,
.wg-country-panel td:first-child {
  min-width: 126px;
}

.wg-country-panel th:nth-child(2),
.wg-country-panel td:nth-child(2) {
  width: 74px;
}

.wg-country-panel th:nth-child(4),
.wg-country-panel td:nth-child(4) {
  width: 84px;
}

.wg-flag {
  width: 24px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.flag-us { background: repeating-linear-gradient(#b22234 0 2px, #fff 2px 4px); position: relative; }
.flag-us::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 8px; background: #21468b; }
.flag-cn { background: #de2910; }
.flag-jp { background: radial-gradient(circle, #bc002d 0 28%, #fff 29%); }
.flag-eu { background: #0646a8; }
.flag-uk { background: linear-gradient(35deg, transparent 0 42%, #fff 42% 48%, #cf142b 48% 54%, #fff 54% 60%, transparent 60%), #012169; }
.flag-in { background: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%); }
.flag-au { background: #012169; }
.flag-ca { background: linear-gradient(90deg, #d52b1e 0 24%, #fff 24% 76%, #d52b1e 76%); }
.flag-hk { background: #de2910; }
.flag-sg { background: linear-gradient(#ef3340 0 50%, #fff 50%); }
.flag-ae { background: linear-gradient(90deg, #f00 0 25%, transparent 25%), linear-gradient(#009739 0 33%, #fff 33% 66%, #000 66%); }
.flag-tr { background: #e30a17; }

.wg-country-panel footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #d5bd75;
}

.wg-country-panel footer button {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid rgba(218, 157, 48, .52);
  border-radius: 999px;
  background: rgba(155, 106, 20, .15);
  color: #ffd36b;
}

.wg-ticker {
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  align-items: center;
  border-top: 1px solid var(--wg-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)),
    #080808;
  overflow: hidden;
}

.wg-ticker span {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, .10);
}

.wg-ticker b {
  color: #e4b84d;
}

.wg-ticker em {
  color: #d6cec0;
  font-style: normal;
}

.wg-ticker button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #f4bd4b;
  padding: 0 22px;
  font-weight: 800;
}

.world-gold-dashboard .up {
  color: var(--wg-green);
}

.world-gold-dashboard .down {
  color: var(--wg-red);
}

.strategy-upload-manage-view {
  align-content: start;
  gap: 12px;
  padding: 12px 18px 70px;
  background:
    radial-gradient(circle at 86% 8%, rgba(37, 112, 170, .18), transparent 32%),
    linear-gradient(180deg, rgba(5, 13, 23, .98), rgba(4, 7, 11, .98));
  color: #eef6ff;
}

.strategy-upload-head,
.strategy-upload-panel,
.strategy-upload-table-card,
.strategy-upload-stats article {
  border: 1px solid rgba(196, 142, 44, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(35, 97, 143, .15), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.strategy-upload-head {
  min-height: 82px;
  padding: 16px 18px;
}

.strategy-upload-head span {
  display: block;
  margin-bottom: 8px;
  color: #b99a55;
  font-size: 12px;
}

.strategy-upload-head h2 {
  margin: 0 0 6px;
  color: #ffe8a7;
  font-size: 22px;
  line-height: 1.1;
}

.strategy-upload-head p,
.strategy-upload-form small,
.strategy-upload-muted {
  color: rgba(228, 234, 244, .66);
}

.strategy-upload-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.strategy-upload-stats article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
}

.strategy-upload-stats i {
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #f3bb3f;
  background: linear-gradient(145deg, rgba(199, 144, 38, .32), rgba(32, 69, 99, .15));
}

.strategy-upload-stats svg {
  width: 23px;
  height: 23px;
}

.strategy-upload-stats span {
  color: rgba(228, 234, 244, .72);
  font-size: 12px;
}

.strategy-upload-stats strong {
  color: #fff4c7;
  font-size: 24px;
  line-height: 1;
}

.strategy-upload-stats em {
  color: #39d86f;
  font-size: 12px;
  font-style: normal;
}

.strategy-upload-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 12px;
}

.strategy-upload-panel {
  padding: 14px;
}

.strategy-upload-panel h3,
.strategy-upload-table-card h3 {
  margin: 0;
  color: #fff4c7;
  font-size: 16px;
}

.strategy-upload-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

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

.strategy-upload-field,
.strategy-upload-upload,
.strategy-upload-tags,
.strategy-upload-textarea {
  display: grid;
  gap: 6px;
}

.strategy-upload-field label,
.strategy-upload-upload label,
.strategy-upload-tags label,
.strategy-upload-textarea label {
  color: rgba(242, 230, 196, .9);
  font-size: 12px;
  font-weight: 700;
}

.strategy-upload-field.required label::after,
.strategy-upload-upload.required label::after,
.strategy-upload-textarea.required label::after {
  content: " *";
  color: #ff4b5b;
}

.strategy-upload-field input,
.strategy-upload-field select,
.strategy-upload-textarea textarea,
.strategy-upload-filters input,
.strategy-upload-filters select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(202, 147, 38, .33);
  border-radius: 5px;
  background: rgba(5, 9, 14, .72);
  color: #eef6ff;
  padding: 7px 10px;
  outline: none;
}

.strategy-upload-field select,
.strategy-upload-filters select {
  color: #2fa1ff;
}

.strategy-upload-field input:focus,
.strategy-upload-field select:focus,
.strategy-upload-textarea textarea:focus,
.strategy-upload-filters input:focus,
.strategy-upload-filters select:focus {
  border-color: rgba(242, 188, 72, .78);
  box-shadow: 0 0 0 2px rgba(242, 188, 72, .12);
}

.strategy-upload-field.full,
.strategy-upload-upload.full,
.strategy-upload-tags,
.strategy-upload-textarea,
.strategy-upload-form footer {
  grid-column: 1 / -1;
}

.strategy-upload-type-row,
.strategy-upload-tag-row,
.strategy-upload-actions,
.strategy-upload-form footer,
.strategy-upload-pager {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.strategy-type-chip,
.strategy-upload-type-row button,
.strategy-tag-chip {
  border: 1px solid rgba(202, 147, 38, .32);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  color: rgba(238, 246, 255, .86);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.strategy-type-chip.active,
.strategy-upload-type-row button.active,
.strategy-tag-chip.active {
  border-color: rgba(245, 183, 62, .8);
  background: linear-gradient(180deg, rgba(207, 150, 41, .34), rgba(116, 76, 10, .26));
  color: #ffe8a7;
}

.strategy-upload-drop {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px dashed rgba(245, 183, 62, .5);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
}

.strategy-upload-drop svg {
  color: #f1b93f;
}

.strategy-upload-file-name {
  color: #fff4c7;
  font-weight: 700;
}

.strategy-upload-cover {
  width: 64px;
  height: 40px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 216, 100, .75), rgba(93, 51, 3, .35)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 4px, transparent 4px 9px);
}

.strategy-upload-textarea textarea {
  min-height: 66px;
  resize: vertical;
}

.strategy-upload-count {
  justify-self: end;
  color: rgba(228, 234, 244, .54);
  font-size: 11px;
}

.strategy-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(238, 246, 255, .78);
  font-size: 12px;
}

.strategy-switch input {
  display: none;
}

.strategy-switch span {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.strategy-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d7dce3;
  transition: transform .18s ease;
}

.strategy-switch input:checked + span {
  background: linear-gradient(180deg, #ffcf68, #d29223);
}

.strategy-switch input:checked + span::after {
  transform: translateX(16px);
  background: #1a1203;
}

.strategy-upload-form button,
.strategy-upload-table-card button,
.strategy-upload-preview button,
.strategy-upload-preview-card button {
  border: 1px solid rgba(204, 149, 42, .55);
  border-radius: 5px;
  background: rgba(22, 28, 37, .75);
  color: #ffd875;
  padding: 7px 14px;
  font-weight: 800;
  cursor: pointer;
}

.strategy-upload-form button.primary,
.strategy-upload-table-card button.primary {
  border-color: rgba(255, 207, 104, .9);
  background: linear-gradient(180deg, #ffd776, #d69629);
  color: #231704;
}

.strategy-upload-form footer button,
.strategy-upload-preview-card header button,
.strategy-upload-table-card > header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  min-height: 28px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 1;
}

.strategy-upload-form footer button svg,
.strategy-upload-preview-card header button svg,
.strategy-upload-table-card > header button svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.strategy-upload-preview {
  display: grid;
  gap: 12px;
}

.strategy-preview-main {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
}

.strategy-preview-cover {
  min-height: 92px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 200, 69, .8), rgba(64, 28, 3, .2)),
    repeating-linear-gradient(-35deg, rgba(255,255,255,.16) 0 5px, transparent 5px 13px);
  box-shadow: inset 0 0 0 1px rgba(255, 222, 128, .22);
}

.strategy-preview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.strategy-preview-title strong {
  color: #fff4c7;
  font-size: 17px;
}

.strategy-status,
.strategy-risk {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
}

.strategy-status.online { color: #38e37a; background: rgba(26, 129, 54, .18); }
.strategy-status.review { color: #ffd56e; background: rgba(202, 147, 38, .18); }
.strategy-status.paused { color: #9da8b6; background: rgba(157, 168, 182, .14); }
.strategy-status.draft { color: #9ccaff; background: rgba(47, 161, 255, .14); }
.strategy-risk.low { color: #37e178; background: rgba(30, 132, 69, .15); }
.strategy-risk.mid { color: #ffd56e; background: rgba(202, 147, 38, .15); }
.strategy-risk.high { color: #ff6975; background: rgba(255, 75, 91, .15); }

.strategy-preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(202, 147, 38, .18);
  border-radius: 6px;
  overflow: hidden;
}

.strategy-preview-metrics div {
  padding: 9px 10px;
  border-right: 1px solid rgba(202, 147, 38, .13);
}

.strategy-preview-metrics div:last-child {
  border-right: 0;
}

.strategy-preview-metrics span {
  display: block;
  color: rgba(228, 234, 244, .58);
  font-size: 11px;
}

.strategy-preview-metrics strong {
  color: #fff1bd;
  font-size: 15px;
}

.strategy-preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr);
  gap: 12px;
}

.strategy-upload-chart,
.strategy-preview-desc {
  min-height: 132px;
  border: 1px solid rgba(202, 147, 38, .17);
  border-radius: 6px;
  padding: 10px;
  background: rgba(0, 0, 0, .18);
}

.strategy-upload-chart svg {
  width: 100%;
  height: 112px;
}

.strategy-preview-desc p {
  margin: 8px 0 0;
  color: rgba(228, 234, 244, .72);
  line-height: 1.65;
}

.strategy-preview-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.strategy-preview-tags span {
  border: 1px solid rgba(202, 147, 38, .26);
  border-radius: 4px;
  padding: 4px 8px;
  color: #ffd875;
  background: rgba(202, 147, 38, .1);
  font-size: 11px;
}

.strategy-upload-table-card {
  padding: 12px;
}

.strategy-upload-table-head,
.strategy-upload-filters,
.strategy-upload-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.strategy-upload-filters {
  margin-bottom: 10px;
}

.strategy-upload-filters input {
  width: 230px;
}

.strategy-upload-filters select {
  width: 138px;
}

.strategy-upload-table-wrap {
  border: 1px solid rgba(202, 147, 38, .18);
  border-radius: 7px;
  overflow: hidden;
}

.strategy-upload-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.strategy-upload-table th,
.strategy-upload-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: rgba(238, 246, 255, .88);
  text-align: left;
  vertical-align: middle;
}

.strategy-upload-table th {
  color: #ffe8a7;
  background: rgba(202, 147, 38, .16);
  font-weight: 800;
}

.strategy-upload-table tr:hover td {
  background: rgba(255, 255, 255, .025);
}

.strategy-upload-name strong {
  display: block;
  color: #fff4c7;
}

.strategy-upload-name span {
  color: rgba(228, 234, 244, .55);
  font-size: 11px;
}

.strategy-upload-profit {
  color: #33df78;
  font-weight: 800;
}

.strategy-upload-loss {
  color: #ff4b5b;
  font-weight: 800;
}

.strategy-upload-actions button {
  min-height: 22px;
  padding: 2px 6px;
  font-size: 10px;
  line-height: 1;
}

.strategy-upload-actions button.danger {
  color: #ff6975;
  border-color: rgba(255, 75, 91, .42);
}

.strategy-upload-action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
}

.strategy-upload-action-cell button {
  min-width: 42px;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
}

.strategy-upload-pager button {
  min-width: 28px;
  padding: 5px 8px;
}

.strategy-upload-pager button.active {
  background: linear-gradient(180deg, #ffd776, #d69629);
  color: #251500;
}

.strategy-upload-empty {
  padding: 28px;
  text-align: center;
  color: rgba(228, 234, 244, .58);
}

.strategy-upload-stats b {
  display: block;
  color: #fff4c7;
  font-size: 25px;
  line-height: 1.05;
}

.strategy-upload-stats small {
  color: #35d976;
  font-size: 12px;
}

.strategy-upload-form h3 {
  grid-column: 1 / -1;
}

.strategy-upload-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.strategy-upload-grid label,
.strategy-upload-desc {
  display: grid;
  gap: 6px;
}

.strategy-upload-grid label > span,
.strategy-upload-desc > span,
.strategy-upload-tags > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(242, 230, 196, .9);
  font-size: 12px;
  font-weight: 800;
}

.strategy-upload-grid b,
.strategy-upload-desc b {
  color: #ff4b5b;
  font-weight: 900;
}

.strategy-upload-grid small,
.strategy-upload-desc small {
  margin-left: auto;
  color: rgba(228, 234, 244, .52);
  font-weight: 500;
}

.strategy-upload-grid input,
.strategy-upload-grid select,
.strategy-upload-desc textarea {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(202, 147, 38, .33);
  border-radius: 5px;
  background: rgba(5, 9, 14, .74);
  color: #eef6ff;
  padding: 7px 10px;
  outline: none;
}

.strategy-upload-grid select {
  color: #2fa1ff;
}

.strategy-inline-input {
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  border: 1px solid rgba(202, 147, 38, .33);
  border-radius: 5px;
  overflow: hidden;
  background: rgba(5, 9, 14, .74);
}

.strategy-inline-input input {
  border: 0;
  background: transparent;
}

.strategy-inline-input em {
  color: rgba(242, 230, 196, .74);
  font-style: normal;
  text-align: center;
}

.strategy-upload-files {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.strategy-file-drop {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px dashed rgba(245, 183, 62, .48);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  cursor: pointer;
}

.strategy-file-drop svg {
  grid-row: 1 / 3;
  color: #f1b93f;
}

.strategy-file-drop b {
  color: #fff4c7;
  font-size: 13px;
}

.strategy-file-drop small {
  color: rgba(228, 234, 244, .54);
  font-size: 11px;
}

.strategy-upload-tags {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
}

.strategy-upload-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.strategy-upload-tags em,
.strategy-type-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(202, 147, 38, .26);
  border-radius: 4px;
  padding: 4px 8px;
  color: #ffd875;
  background: rgba(202, 147, 38, .1);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.strategy-upload-desc {
  grid-column: 1 / -1;
}

.strategy-upload-desc textarea {
  min-height: 72px;
  resize: vertical;
}

.strategy-upload-switches {
  grid-column: 1 / -1;
  display: flex;
  gap: 22px;
  color: rgba(238, 246, 255, .78);
  font-size: 12px;
}

.strategy-upload-switches label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.strategy-upload-form footer {
  justify-content: center;
}

.strategy-upload-preview-card {
  display: grid;
  gap: 12px;
}

.strategy-upload-preview-card header,
.strategy-upload-table-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.strategy-upload-preview-card header h3,
.strategy-upload-table-card > header h3 {
  color: #fff4c7;
}

.strategy-preview-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
}

.strategy-preview-hero .strategy-preview-cover {
  min-height: 92px;
}

.strategy-preview-hero h4 {
  margin: 0 0 8px;
  color: #fff4c7;
  font-size: 17px;
}

.strategy-preview-hero h4 em {
  margin-left: 8px;
}

.strategy-preview-hero h4 em.online,
.strategy-preview-hero h4 em.review,
.strategy-preview-hero h4 em.paused,
.strategy-preview-hero h4 em.draft {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.strategy-preview-hero h4 em.online { color: #38e37a; background: rgba(26, 129, 54, .18); }
.strategy-preview-hero h4 em.review { color: #ffd56e; background: rgba(202, 147, 38, .18); }
.strategy-preview-hero h4 em.paused { color: #9da8b6; background: rgba(157, 168, 182, .14); }
.strategy-preview-hero h4 em.draft { color: #9ccaff; background: rgba(47, 161, 255, .14); }

.strategy-preview-hero p {
  margin: 4px 0;
  color: rgba(228, 234, 244, .68);
  font-size: 12px;
}

.strategy-preview-metrics {
  grid-column: 1 / -1;
}

.strategy-preview-chart {
  display: grid;
  gap: 6px;
  min-height: 142px;
  border: 1px solid rgba(202, 147, 38, .17);
  border-radius: 6px;
  padding: 10px;
  background: rgba(0, 0, 0, .18);
}

.strategy-preview-chart span {
  color: rgba(228, 234, 244, .72);
  font-size: 12px;
}

.strategy-preview-chart svg {
  width: 100%;
  height: 112px;
}

.strategy-preview-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 10px;
}

.strategy-preview-info > div {
  border: 1px solid rgba(202, 147, 38, .17);
  border-radius: 6px;
  padding: 10px;
  background: rgba(0, 0, 0, .16);
}

.strategy-preview-info b {
  color: #ffe8a7;
  font-size: 12px;
}

.strategy-preview-info p,
.strategy-preview-info small {
  display: block;
  margin: 8px 0 0;
  color: rgba(228, 234, 244, .7);
  line-height: 1.6;
}

.strategy-upload-table-card > header > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.strategy-upload-table-card > header label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 6px;
  width: 230px;
  min-height: 34px;
  border: 1px solid rgba(202, 147, 38, .33);
  border-radius: 5px;
  padding: 0 8px;
  background: rgba(5, 9, 14, .72);
}

.strategy-upload-table-card > header label svg {
  color: rgba(242, 230, 196, .7);
}

.strategy-upload-table-card > header input,
.strategy-upload-table-card > header select,
.strategy-upload-pagination select {
  border: 1px solid rgba(202, 147, 38, .33);
  border-radius: 5px;
  background: rgba(5, 9, 14, .72);
  color: #2fa1ff;
  min-height: 34px;
  padding: 6px 9px;
}

.strategy-upload-table-card > header label input {
  min-height: 32px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #eef6ff;
}

.strategy-upload-pagination,
.strategy-upload-pagination > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.strategy-upload-pagination {
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(228, 234, 244, .64);
}

.strategy-upload-pagination button {
  min-width: 28px;
  padding: 5px 8px;
}

.strategy-upload-pagination button.active {
  background: linear-gradient(180deg, #ffd776, #d69629);
  color: #251500;
}

@media (max-width: 1280px) {
  .strategy-upload-workbench,
  .strategy-preview-body {
    grid-template-columns: 1fr;
  }

  .strategy-upload-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .quant-form-grid,
  .quant-result-grid,
  .quant-history-list article {
    grid-template-columns: 1fr;
  }

  .quant-history-list em {
    text-align: left;
  }
}

@media (max-width: 1200px) {
  .arb-page-head,
  .arb-filter-row,
  .arb-monitor-foot {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .arb-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arb-head-actions {
    flex-wrap: wrap;
  }

  .wg-topbar {
    grid-template-columns: 1fr;
    height: auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .wg-brand,
  .wg-status,
  .wg-userbar {
    border-right: 0;
    padding: 0;
  }

  .wg-main {
    grid-template-columns: 1fr;
  }

  .wg-sidebar {
    display: none;
  }

  .wg-card-grid,
  .wg-panel-grid {
    grid-template-columns: 1fr;
  }

  .wg-left-stack {
    grid-template-rows: auto auto;
  }

  .wg-country-panel table {
    min-width: 680px;
  }

  .wg-country-panel {
    overflow: auto;
  }
}

@media (max-width: 720px) {
  .feature-dialog.arbitrage-monitor-dialog {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .arb-price-grid {
    grid-template-columns: 1fr;
  }

  .arb-filter-row nav button,
  .arb-filter-row select,
  .arb-filter-row > div button,
  .arb-head-actions label {
    width: 100%;
  }

  .world-gold-dashboard {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .wg-card-grid {
    grid-template-columns: 1fr;
  }

  .wg-topbar,
  .wg-status,
  .wg-userbar {
    align-items: flex-start;
  }

  .wg-status,
  .wg-userbar {
    flex-wrap: wrap;
  }

  .wg-map {
    height: 260px;
  }

  .wg-map-pin {
    transform: translate(-50%, -18%) scale(.88);
  }

  .wg-ticker {
    grid-template-columns: 1fr;
  }

  .wg-ticker span {
    min-height: 34px;
  }
}

.backtest-center-view {
  min-height: 0;
  overflow: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 16% 0, rgba(218, 157, 48, .08), transparent 34%),
    #070707;
}

.backtest-page {
  display: grid;
  gap: 10px;
  min-width: 1120px;
}

.backtest-head {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 320px;
  align-items: center;
  gap: 16px;
}

.backtest-head h2 {
  margin: 0;
  color: #ffd36b;
  font-size: 26px;
}

.backtest-head p {
  margin: 6px 0 0;
  color: #a99d8c;
}

.backtest-head nav {
  display: flex;
  gap: 10px;
}

.backtest-head button,
.bt-panel header button,
.bt-record-card td button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(218, 157, 48, .46);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #f2c767;
  font-weight: 800;
}

.backtest-head button {
  min-width: 104px;
}

.backtest-head svg,
.bt-panel header svg {
  width: 16px;
  height: 16px;
}

.backtest-head aside {
  height: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  row-gap: 4px;
  padding: 0 16px;
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background: rgba(12, 12, 12, .86);
}

.backtest-head aside span {
  color: #a99d8c;
}

.backtest-head aside b {
  color: #f6ead4;
  font-size: 18px;
}

.backtest-head aside i {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  color: #d7a951;
}

.bt-panel {
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0, rgba(218, 157, 48, .08), transparent 42%),
    rgba(12, 12, 12, .86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.bt-panel > header {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.bt-panel h3 {
  margin: 0;
  color: #f6ead4;
  font-size: 17px;
}

.bt-overview {
  padding-bottom: 10px;
}

.bt-metric-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  padding: 0 14px;
}

.bt-metric-grid article {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 6px;
  background: rgba(0, 0, 0, .20);
}

.bt-metric-grid span,
.bt-metric-grid small,
.bt-stat-card span,
.bt-drawdown-card footer span {
  color: #9d9589;
}

.bt-metric-grid b {
  color: #f6ead4;
  font-size: 20px;
}

.bt-metric-grid .profit,
.bt-table .profit,
.bt-stat-card .profit {
  color: #39c869;
}

.bt-grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(320px, .95fr);
  gap: 10px;
}

.bt-grid-sub {
  display: grid;
  grid-template-columns: .86fr .86fr 1.52fr;
  gap: 10px;
}

.bt-return-card header nav {
  display: flex;
  gap: 6px;
}

.bt-return-card header button {
  min-width: 58px;
  height: 28px;
  font-size: 12px;
}

.bt-return-card header button.active {
  background: rgba(218, 157, 48, .20);
  color: #ffd36b;
}

.bt-chart-large,
.bt-chart-small {
  position: relative;
  height: 188px;
  margin: 0 16px 14px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 10% 100%;
}

.bt-chart-small {
  height: 118px;
  margin-top: 10px;
}

.bt-chart-large svg,
.bt-chart-small svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bt-grid-line {
  stroke: rgba(255,255,255,.06);
  stroke-width: .4;
}

.bt-return-line,
.bt-drawdown-line {
  fill: none;
  stroke-width: 1.8;
}

.bt-return-line {
  stroke: #f1b83b;
  filter: drop-shadow(0 0 5px rgba(241,184,59,.4));
}

.bt-drawdown-line {
  stroke: #ff3f3f;
  filter: drop-shadow(0 0 5px rgba(255,63,63,.35));
}

.bt-chart-large span,
.bt-chart-large em {
  position: absolute;
  top: 8px;
  color: #eac15d;
  font-size: 12px;
  font-style: normal;
}

.bt-chart-large span { left: 72px; }
.bt-chart-large em { left: 170px; color: #8f8a83; }

.bt-distribution-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-rows: auto 1fr;
  align-items: center;
  padding: 18px;
}

.bt-distribution-card h3 {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.bt-donut {
  width: 146px;
  height: 146px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#f7c65d 0 42%, #3b87ff 42% 65%, #39c869 65% 81%, #9666ee 81% 91%, #617aa8 91% 100%);
}

.bt-donut span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #111;
  color: #f6ead4;
}

.bt-donut small {
  color: #c7bba7;
}

.bt-distribution-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bt-distribution-card li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #d8cbb5;
}

.bt-distribution-card li i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #f7c65d;
}

.bt-distribution-card li:nth-child(2) i { background: #3b87ff; }
.bt-distribution-card li:nth-child(3) i { background: #39c869; }
.bt-distribution-card li:nth-child(4) i { background: #9666ee; }
.bt-distribution-card li:nth-child(5) i { background: #617aa8; }

.bt-stat-card {
  padding: 14px 18px;
}

.bt-stat-card h3 {
  margin-bottom: 10px;
}

.bt-stat-card p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 4px 0;
  color: #d8cbb5;
}

.bt-stat-card .loss,
.bt-table .loss,
.bt-drawdown-card .loss {
  color: #ff5858;
}

.bt-drawdown-card {
  padding: 14px 18px;
}

.bt-drawdown-card footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bt-drawdown-card footer b {
  display: block;
  margin-top: 4px;
  color: #f6ead4;
}

.bt-month-card {
  padding: 14px 18px;
}

.bt-bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 14px;
  padding: 18px 8px 22px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 100% 25%;
}

.bt-bars i {
  position: relative;
  height: var(--h);
  min-height: 10px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #54c875, #2d7d42);
}

.bt-bars i.loss {
  align-self: center;
  background: linear-gradient(180deg, #d94b4b, #8d2727);
}

.bt-bars span {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  color: #9d9589;
  font-style: normal;
  white-space: nowrap;
}

.bt-record-card {
  overflow: auto;
}

.bt-record-card header nav {
  display: flex;
  gap: 10px;
}

.bt-record-card header button:first-child {
  min-width: 114px;
  background: linear-gradient(180deg, #f4ce72, #d59629);
  color: #140d03;
}

.bt-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.bt-table th,
.bt-table td {
  height: 44px;
  padding: 0 12px;
  border-top: 1px solid rgba(255,255,255,.055);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}

.bt-table th {
  color: #9d9589;
  font-weight: 700;
}

.bt-table td b {
  display: block;
  color: #f6ead4;
  font-size: 13px;
}

.bt-table td small {
  display: inline-flex;
  margin-top: 2px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(218, 157, 48, .13);
  color: #dca83d;
}

.bt-table td button {
  min-width: 34px;
  padding: 0 9px;
  margin-right: 6px;
  font-size: 12px;
}

.quant-history-view {
  min-height: 0;
  overflow: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 0, rgba(218, 157, 48, .08), transparent 34%),
    #080909;
}

.quant-history-page {
  min-width: 1180px;
  display: grid;
  gap: 14px;
  color: #e8dfcf;
}

.qh-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.qh-head p,
.qh-head span {
  margin: 0;
  color: #9d9589;
}

.qh-head h2 {
  margin: 6px 0 6px;
  color: #f6ead4;
  font-size: 27px;
  line-height: 1.1;
}

.qh-head button,
.qh-filter-card button,
.qh-table-card footer button {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #f2c767;
  font-weight: 800;
}

.qh-head button,
.qh-filter-card .primary {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #1b1204;
}

.qh-head svg,
.qh-table-card svg {
  width: 15px;
  height: 15px;
}

.qh-filter-card {
  display: grid;
  grid-template-columns: 210px repeat(4, minmax(130px, 1fr)) 74px 74px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 7px;
  background: rgba(14, 15, 15, .82);
}

.qh-filter-card label,
.qh-filter-card select {
  height: 34px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 5px;
  background: rgba(5, 7, 8, .82);
  color: #b8afa1;
}

.qh-filter-card label svg {
  margin-left: auto;
  color: #d6a951;
}

.qh-filter-card label em {
  color: #7c756c;
  font-style: normal;
}

.qh-filter-card select {
  appearance: none;
  outline: 0;
}

.qh-filter-card .ghost {
  color: #d4c8b2;
  background: rgba(0, 0, 0, .18);
}

.qh-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.qh-stat-grid article {
  min-height: 88px;
  display: grid;
  grid-template-columns: 62px auto auto;
  gap: 3px 14px;
  align-content: center;
  padding: 0 20px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 7px;
  background:
    radial-gradient(circle at 20% 0, rgba(218, 157, 48, .10), transparent 36%),
    rgba(16, 17, 17, .86);
}

.qh-stat-grid article > svg {
  grid-row: 1 / span 3;
  align-self: center;
  width: 48px;
  height: 48px;
  padding: 11px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 185, 76, .42);
  border-radius: 9px;
  color: #efb94c;
  background: rgba(218, 157, 48, .08);
}

.qh-stat-grid article span {
  grid-column: 2 / -1;
  color: #b1a796;
}

.qh-stat-grid article b {
  color: #ffd36b;
  font-size: 28px;
  line-height: 1;
}

.qh-stat-grid article em {
  align-self: end;
  color: #a99d8c;
  font-style: normal;
}

.qh-stat-grid article.green > svg,
.qh-stat-grid article.green b {
  color: #7ad95a;
  border-color: rgba(122, 217, 90, .40);
}

.qh-stat-grid article.orange > svg,
.qh-stat-grid article.orange b {
  color: #ff6a38;
  border-color: rgba(255, 106, 56, .42);
}

.qh-stat-grid article.blue > svg,
.qh-stat-grid article.blue b {
  color: #6688ff;
  border-color: rgba(102, 136, 255, .42);
}

.qh-table-card {
  overflow: hidden;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 58px),
    rgba(12, 13, 13, .88);
}

.qh-table-card table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.qh-table-card th,
.qh-table-card td {
  height: 44px;
  padding: 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  color: #d7cdbd;
  text-align: left;
  white-space: nowrap;
}

.qh-table-card th {
  height: 46px;
  color: #d1c7b8;
  background: rgba(255, 255, 255, .025);
  font-weight: 600;
}

.qh-tag,
.qh-status {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 5px;
  color: #6ee06b;
  border: 1px solid rgba(76, 180, 88, .35);
  background: rgba(42, 140, 58, .18);
}

.qh-tag.stop {
  color: #ff673c;
  border-color: rgba(255, 103, 60, .42);
  background: rgba(154, 50, 25, .16);
}

.qh-tag.tune {
  color: #56a1ff;
  border-color: rgba(86, 161, 255, .36);
  background: rgba(43, 100, 190, .16);
}

.qh-tag.settle {
  color: #d77bff;
  border-color: rgba(215, 123, 255, .36);
  background: rgba(123, 50, 170, .18);
}

.qh-table-card .profit {
  color: #7ad95a;
}

.qh-table-card footer {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  color: #d7cdbd;
}

.qh-table-card footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qh-table-card footer button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  color: #cfc3b0;
  background: rgba(0, 0, 0, .20);
}

.qh-table-card footer button.active {
  color: #1b1204;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
}

.qh-table-card footer em {
  color: #8f8779;
  font-style: normal;
}

.qh-page-size {
  min-width: 92px;
}

@media (max-width: 1450px) {
  .backtest-page {
    min-width: 1040px;
  }

  .bt-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bt-grid-main,
  .bt-grid-sub {
    grid-template-columns: 1fr;
  }
}

.ea-quant-dashboard {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .38fr);
  gap: 14px;
}

.ea-quant-page {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 18% 0, rgba(218, 157, 48, .08), transparent 34%),
    #070707;
}

.ea-quant-page-shell {
  min-height: 100%;
}

.ea-page-dashboard {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  align-items: stretch;
}

.ea-page-hero {
  min-height: 64px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding: 0 0 8px;
}

.ea-page-hero h3 {
  font-size: 28px;
}

.ea-page-hero nav button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 108px;
  justify-content: center;
}

.ea-page-hero nav svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1500px) {
  .ea-page-dashboard {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  }

  .ea-page-dashboard .ea-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 0;
  }

  .ea-page-dashboard .ea-summary article:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 1180px) {
  .ea-page-dashboard {
    grid-template-columns: 1fr;
  }
}

.ea-main {
  display: grid;
  grid-template-rows: auto auto minmax(0, auto) minmax(220px, 1fr);
  gap: 14px;
  min-width: 0;
}

.ea-hero,
.ea-summary,
.ea-table-card,
.ea-chart-card,
.ea-distribution-card,
.ea-builder {
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0, rgba(218, 157, 48, .10), transparent 38%),
    rgba(12, 12, 12, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.ea-hero {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
}

.ea-hero h3 {
  margin: 0;
  color: #ffd36b;
  font-size: 26px;
}

.ea-hero p {
  margin: 6px 0 0;
  color: #b7ad9d;
}

.ea-hero nav,
.ea-table-card header nav,
.ea-chart-card header nav {
  display: flex;
  gap: 8px;
}

.ea-hero button,
.ea-table-card header button,
.ea-chart-card header button,
.ea-builder-tabs button {
  height: 36px;
  border: 1px solid rgba(218, 157, 48, .46);
  border-radius: 6px;
  background: rgba(218, 157, 48, .08);
  color: #f2c767;
  font-weight: 800;
}

.ea-table-card header button {
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.ea-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 18px 20px;
}

.ea-summary article {
  display: grid;
  gap: 8px;
  padding: 0 18px;
  border-left: 1px solid rgba(201, 145, 43, .22);
}

.ea-summary article:first-child {
  border-left: 0;
  padding-left: 0;
}

.ea-summary span,
.ea-summary small,
.ea-builder p {
  color: #9d9589;
}

.ea-summary b {
  color: #f6ead4;
  font-size: 24px;
}

.ea-summary article:nth-child(-n+2) b,
.ea-summary article:first-child small {
  color: #39c869;
}

.ea-summary em {
  color: #ffd36b;
  font-style: normal;
}

.ea-table-card {
  overflow: auto;
}

.ea-table-card header,
.ea-chart-card header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.ea-table-card h4,
.ea-chart-card h4,
.ea-distribution-card h4,
.ea-builder h4 {
  margin: 0;
  color: #f6ead4;
  font-size: 18px;
}

.ea-table-card header button.active,
.ea-chart-card header button.active,
.ea-builder-tabs button.active {
  border-color: rgba(218, 157, 48, .62);
  background: rgba(218, 157, 48, .16);
  color: #ffd36b;
}

.ea-table {
  width: 100%;
  min-width: 1000px;
  table-layout: fixed;
  border-collapse: collapse;
}

.ea-table th:nth-child(1),
.ea-table td:nth-child(1) {
  width: 180px;
}

.ea-table th:nth-child(2),
.ea-table td:nth-child(2) {
  width: 80px;
}

.ea-table th:nth-child(3),
.ea-table td:nth-child(3) {
  width: 110px;
}

.ea-table th:nth-child(4),
.ea-table td:nth-child(4) {
  width: 130px;
}

.ea-table th:nth-child(5),
.ea-table td:nth-child(5) {
  width: 145px;
}

.ea-table th:nth-child(6),
.ea-table td:nth-child(6) {
  width: 150px;
}

.ea-table th:nth-child(7),
.ea-table td:nth-child(7) {
  width: 105px;
}

.ea-table th:nth-child(8),
.ea-table td:nth-child(8) {
  width: 90px;
}

.ea-table th,
.ea-table td {
  height: 56px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  color: #d8cbb5;
  text-align: left;
  white-space: nowrap;
}

.ea-table th {
  height: 42px;
  color: #9d9589;
  font-weight: 700;
}

.ea-name-cell {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.ea-name-cell > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 28%, #ffe4a0, #9b651a 72%);
  color: #190f00;
  font-weight: 900;
}

.ea-name-cell b {
  display: block;
  color: #f6ead4;
}

.ea-name-cell small {
  display: inline-flex;
  margin-top: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(218, 157, 48, .12);
  color: #ffd36b;
  font-size: 11px;
}

.ea-table em {
  font-style: normal;
  font-weight: 800;
}

.ea-table em.running,
.ea-table .profit {
  color: #39c869;
}

.ea-table em.stopped,
.ea-table .loss {
  color: #ff5858;
}

.ea-row-actions {
  display: flex;
  gap: 6px;
}

.ea-row-actions button {
  min-width: 30px;
  height: 28px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #f2c767;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.ea-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ea-chart-card,
.ea-distribution-card {
  min-height: 230px;
  overflow: hidden;
}

.ea-curve {
  position: relative;
  height: 170px;
  margin: 0 18px 18px;
}

.ea-curve svg {
  width: 100%;
  height: 100%;
}

.ea-grid-line {
  stroke: rgba(255, 255, 255, .08);
  stroke-width: .35;
}

.ea-curve-line {
  fill: none;
  stroke: #f2bd46;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 4px rgba(242, 189, 70, .35));
}

.ea-curve circle {
  fill: #ffd36b;
}

.ea-chart-tip {
  position: absolute;
  right: 24px;
  bottom: 26px;
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .58);
  color: #ffd36b;
}

.ea-chart-tip small {
  color: #b7ad9d;
}

.ea-distribution-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px 18px;
  padding: 18px;
}

.ea-distribution-card h4 {
  grid-column: 1 / -1;
}

.ea-donut {
  width: 170px;
  height: 170px;
  place-self: center;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(#ffd36b 0 47%, #3b86ff 47% 64%, #38d987 64% 74%, #ff5fa2 74% 78%, #a66cff 78% 85%, #777 85% 100%);
  position: relative;
}

.ea-donut::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: inherit;
  background: #111;
}

.ea-donut span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.ea-donut b {
  color: #f6ead4;
}

.ea-donut small {
  color: #d8cbb5;
}

.ea-distribution-card ul {
  display: grid;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ea-distribution-card li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  color: #d8cbb5;
}

.ea-distribution-card li i {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 2px;
  background: #ffd36b;
}

.ea-distribution-card li:nth-child(2) i { background: #3b86ff; }
.ea-distribution-card li:nth-child(3) i { background: #38d987; }
.ea-distribution-card li:nth-child(4) i { background: #ff5fa2; }
.ea-distribution-card li:nth-child(5) i { background: #a66cff; }
.ea-distribution-card li:nth-child(6) i { background: #777; }

.ea-builder {
  display: grid;
  gap: 14px;
  padding: 14px;
  align-content: start;
}

.ea-balance {
  padding: 12px 14px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
}

.ea-balance span,
.ea-builder label {
  display: block;
  color: #b7ad9d;
}

.ea-balance b {
  display: block;
  margin-top: 5px;
  color: #f6ead4;
  font-size: 18px;
}

.ea-builder > section {
  display: grid;
  gap: 14px;
}

.ea-builder-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ea-builder-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}

.ea-builder-tabs button.active {
  border-bottom-color: #ffd36b;
}

.ea-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ea-strategy-grid button {
  min-height: 64px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: #d8cbb5;
  text-align: left;
  padding: 10px;
  font-weight: 800;
}

.ea-strategy-grid button.active {
  border-color: rgba(218, 157, 48, .72);
  background: linear-gradient(135deg, #f7d37c, #d99d35);
  color: #221500;
}

.ea-strategy-grid small {
  display: block;
  margin-top: 4px;
  color: inherit;
  opacity: .8;
  font-weight: 500;
}

.ea-strategy-dynamic {
  margin-top: -2px;
}

.ea-strategy-detail {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(201, 145, 43, .14), rgba(255, 255, 255, .025));
}

.ea-strategy-detail header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.ea-strategy-detail strong {
  display: block;
  color: #ffe4a1;
  font-size: 16px;
}

.ea-strategy-detail p {
  margin: 4px 0 0;
  color: #c9bdab;
  line-height: 1.45;
}

.ea-strategy-detail header > span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(255, 211, 107, .28);
  border-radius: 999px;
  color: #ffd36b;
  font-size: 12px;
  white-space: nowrap;
}

.ea-strategy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ea-strategy-tags em {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 211, 107, .10);
  color: #f6d989;
  font-size: 12px;
  font-style: normal;
}

.ea-param-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ea-param-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ea-param-grid span {
  color: #b7ad9d;
  font-size: 12px;
}

.ea-param-grid input,
.ea-param-grid select,
.ea-param-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 6px;
  background: rgba(0, 0, 0, .22);
  color: #f6ead4;
  padding: 7px 9px;
  outline: 0;
}

.ea-param-grid select {
  height: 34px;
  color: #1687ff;
}

.ea-param-grid textarea {
  resize: vertical;
}

.ea-param-wide {
  grid-column: 1 / -1;
}

.ea-form {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.ea-form select,
.ea-input,
.ea-form input {
  height: 36px;
  border: 1px solid rgba(201, 145, 43, .22);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  color: #d8cbb5;
}

.ea-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  overflow: hidden;
}

.ea-input input {
  border: 0;
  background: transparent;
  color: #f6ead4;
  padding: 0 12px;
}

.ea-input span {
  display: grid;
  place-items: center;
  color: #b7ad9d;
}

.ea-range {
  width: 100%;
  accent-color: #ffd36b;
}

.ea-create-start {
  height: 40px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
  font-size: 16px;
  font-weight: 900;
}

.ea-quant-page .ea-page-hero h3 {
  font-size: 22px;
}

.ea-quant-page .ea-page-hero p {
  font-size: 13px;
}

.ea-quant-page .ea-hero button,
.ea-quant-page .ea-table-card header button,
.ea-quant-page .ea-chart-card header button,
.ea-quant-page .ea-builder-tabs button {
  font-size: 13px;
}

.ea-quant-page .ea-summary b {
  font-size: 20px;
}

.ea-quant-page .ea-table-card h4,
.ea-quant-page .ea-chart-card h4,
.ea-quant-page .ea-distribution-card h4,
.ea-quant-page .ea-builder h4 {
  font-size: 16px;
}

.ea-quant-page .ea-name-cell b,
.ea-quant-page .ea-strategy-grid button,
.ea-quant-page .ea-strategy-detail strong,
.ea-quant-page .ea-form label,
.ea-quant-page .ea-builder label {
  font-size: 14px;
}

.ea-quant-page .ea-strategy-detail p,
.ea-quant-page .ea-param-grid input,
.ea-quant-page .ea-param-grid select,
.ea-quant-page .ea-param-grid textarea,
.ea-quant-page .ea-form select,
.ea-quant-page .ea-input,
.ea-quant-page .ea-form input {
  font-size: 13px;
}

.ea-quant-page .ea-balance b,
.ea-quant-page .ea-donut b {
  font-size: 16px;
}

.ea-quant-page .ea-create-start {
  font-size: 14px;
}

@media (max-width: 1180px) {
  .ea-quant-dashboard {
    grid-template-columns: 1fr;
  }
}

.fans-dashboard {
  width: min(1500px, 100%);
  min-height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  color: #334155;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.fans-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fans-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e8f1ff;
  color: #2563eb;
  font-size: 12px;
  letter-spacing: -3px;
}

.fans-title h3 {
  margin: 0;
  color: #1f2937;
  font-size: 24px;
}

.fans-title p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 14px;
}

.fans-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 0;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.fans-stat,
.fans-share {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
}

.fans-stat + .fans-stat,
.fans-share {
  border-left: 1px solid #e8edf5;
}

.stat-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.stat-icon.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.stat-icon.purple { background: linear-gradient(135deg, #a78bfa, #6d5dfc); }
.stat-icon.green { background: linear-gradient(135deg, #bbf7d0, #86efac); color: #059669; }

.fans-summary label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.fans-summary strong {
  display: block;
  color: #111827;
  font-size: 27px;
  line-height: 1.1;
}

.fans-summary strong small {
  font-size: 16px;
  font-weight: 400;
}

.fans-summary p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
}

.fans-summary p b {
  color: #10b981;
  font-weight: 700;
}

.share-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
}

.share-copy-row input {
  height: 38px;
  min-width: 0;
  border: 1px solid #dbe4ef;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  padding: 0 12px;
}

.share-copy-row button {
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: #2878ff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.share-copy-row button:hover {
  background: #1d66df;
  box-shadow: 0 8px 18px rgba(40, 120, 255, .22);
  transform: translateY(-1px);
}

.fans-table-card {
  overflow: auto;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.fans-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1040px;
}

.fans-table th,
.fans-table td {
  height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid #eef2f7;
  color: #475569;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}

.fans-table th {
  height: 48px;
  color: #334155;
  background: #fbfdff;
  font-weight: 800;
}

.fans-table tr:last-child td {
  border-bottom: 0;
}

.fan-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #2563eb;
  font-weight: 800;
}

.vip-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.vip-pill.gold { background: #fff3d6; color: #c88400; }
.vip-pill.green { background: #dcfce7; color: #059669; }
.vip-pill.gray { background: #f1f5f9; color: #64748b; }

.fan-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.fan-phone-locked {
  padding: 0 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  cursor: pointer;
}

.fan-phone-locked small {
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
}

.fan-phone-locked:hover {
  background: #ffedd5;
  color: #9a3412;
}

.fan-detail-btn {
  border: 0;
  background: transparent;
  color: #2878ff;
  font-weight: 700;
  cursor: pointer;
}

.fan-detail-btn:hover {
  color: #0f5ed7;
  text-decoration: underline;
}

#authGate #authPanel[data-mode="login"] #loginUsername,
#authGate #authPanel[data-mode="login"] #loginPassword,
#authGate #authPanel[data-mode="login"] #loginUsername:hover,
#authGate #authPanel[data-mode="login"] #loginPassword:hover,
#authGate #authPanel[data-mode="login"] #loginUsername:focus,
#authGate #authPanel[data-mode="login"] #loginPassword:focus,
#authGate #authPanel[data-mode="login"] #loginUsername:focus-visible,
#authGate #authPanel[data-mode="login"] #loginPassword:focus-visible,
#authGate #authPanel[data-mode="login"] #loginUsername:active,
#authGate #authPanel[data-mode="login"] #loginPassword:active,
#authGate #authPanel[data-mode="login"] #loginUsername:valid,
#authGate #authPanel[data-mode="login"] #loginPassword:valid,
#authGate #authPanel[data-mode="login"] #loginUsername:not(:placeholder-shown),
#authGate #authPanel[data-mode="login"] #loginPassword:not(:placeholder-shown),
#authGate #authPanel[data-mode="login"] #loginUsername:-webkit-autofill,
#authGate #authPanel[data-mode="login"] #loginPassword:-webkit-autofill,
#authGate #authPanel[data-mode="login"] #loginUsername:-webkit-autofill:hover,
#authGate #authPanel[data-mode="login"] #loginPassword:-webkit-autofill:hover,
#authGate #authPanel[data-mode="login"] #loginUsername:-webkit-autofill:focus,
#authGate #authPanel[data-mode="login"] #loginPassword:-webkit-autofill:focus {
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  background-clip: border-box !important;
  box-shadow: none !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0) inset !important;
  color: #fff1c6 !important;
  caret-color: #fff1c6 !important;
  -webkit-text-fill-color: #fff1c6 !important;
  filter: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#authGate #authPanel[data-mode="login"] #loginUsername:-webkit-autofill,
#authGate #authPanel[data-mode="login"] #loginPassword:-webkit-autofill,
#authGate #authPanel[data-mode="login"] #loginUsername:-webkit-autofill:hover,
#authGate #authPanel[data-mode="login"] #loginPassword:-webkit-autofill:hover,
#authGate #authPanel[data-mode="login"] #loginUsername:-webkit-autofill:focus,
#authGate #authPanel[data-mode="login"] #loginPassword:-webkit-autofill:focus {
  -webkit-background-clip: text !important;
  background-clip: text !important;
  transition: background-color 999999s ease-in-out 0s, color 999999s ease-in-out 0s;
}

.fan-detail-panel {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  background: rgba(15, 23, 42, .28);
  backdrop-filter: blur(3px);
}

.fan-detail-panel.show {
  display: grid;
}

.fan-detail-card {
  position: relative;
  width: min(520px, calc(100vw - 34px));
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  overflow: hidden;
}

.fan-detail-card header {
  display: flex !important;
  align-items: center !important;
  gap: 16px;
  height: auto !important;
  min-height: 96px !important;
  padding: 22px 24px !important;
  border-bottom: 1px solid #edf2f7 !important;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
  overflow: visible !important;
}

.fan-detail-card header h3 {
  display: block !important;
  margin: 0;
  color: #111827;
  font-size: 21px;
}

.fan-detail-card header p {
  margin: 6px 0 0;
  color: #2878ff;
  font-weight: 700;
}

.fan-avatar.large {
  width: 58px;
  height: 58px;
  font-size: 22px;
}

.fan-detail-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe7f5;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.fan-detail-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  padding: 12px 24px 24px;
}

.fan-detail-grid label,
.fan-detail-grid b {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.fan-detail-grid label {
  color: #64748b;
}

.fan-detail-grid b {
  color: #1f2937;
  font-weight: 700;
}

.fan-detail-phone-locked {
  color: #c2410c !important;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fan-detail-phone-locked:hover {
  color: #9a3412 !important;
}

.fans-empty {
  height: 90px !important;
  text-align: center !important;
  color: #94a3b8 !important;
}

.fans-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 13px;
}

.fans-pagination div {
  display: flex;
  gap: 8px;
}

.fans-pagination button,
.fans-pagination select {
  min-width: 36px;
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
  color: #475569;
}

.fans-pagination button.active {
  border-color: #2878ff;
  background: #2878ff;
  color: #fff;
}

.fans-pagination button:disabled {
  color: #cbd5e1;
}

.fans-pagination select {
  min-width: 110px;
  padding: 0 8px;
}

@media (max-width: 900px) {
  .feature-dialog.fans-dialog .feature-body {
    padding: 18px;
  }
  .share-link-card {
    grid-template-columns: 1fr;
  }
  .fans-summary {
    grid-template-columns: 1fr;
  }
  .fans-stat + .fans-stat,
  .fans-share {
    border-left: 0;
    border-top: 1px solid #e8edf5;
  }
  .fans-pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 1180px) {
  body { overflow: auto; }
  .member-home {
    min-height: 100vh;
    height: auto;
  }
  .home-main {
    overflow: auto;
    grid-template-rows: auto;
  }
  .home-stats,
  .home-footer-stats {
    flex-wrap: wrap;
  }
  .home-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .home-business-card,
  .home-forex-cloud-card,
  .home-fans-card,
  .home-announcement-card,
  .mt5-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .home-business-layout {
    grid-template-columns: 1fr;
  }
  .home-forex-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-hero {
    padding-right: 30px;
  }
  .terminal {
    height: auto;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto 760px;
  }
  .market-sidebar {
    grid-row: auto;
    grid-template-rows: auto auto auto;
    border-right: 0;
    border-bottom: 1px solid rgba(208, 150, 45, .28);
  }
  .left-panel {
    display: none;
    grid-row: auto;
    grid-template-rows: auto auto 260px auto auto auto;
    border-right: 0;
    border-bottom: 1px solid #323232;
  }
  .chart-frame {
    grid-column: 1;
    grid-template-rows: 40px auto 40px 540px 140px 38px;
  }
  .top-readout {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 10px;
  }
  .strategy-note { width: 320px; }
  .account-strip {
    grid-column: 1;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
  }
}

.coin-recharge-view {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  height: 100%;
  padding: 6px 2px 12px;
}

.coin-recharge-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 28%, rgba(215, 154, 45, .24), transparent 32%),
    linear-gradient(135deg, rgba(29, 26, 18, .95), rgba(8, 8, 8, .94));
}

.coin-recharge-head small {
  display: block;
  margin-bottom: 5px;
  color: #caa24f;
  font-size: 12px;
  font-weight: 800;
}

.coin-recharge-head h2 {
  margin: 0;
  color: #ffe6a4;
  font-size: 30px;
  line-height: 1;
}

.coin-recharge-head p {
  margin: 8px 0 0;
  color: #b7aea1;
  font-size: 14px;
}

.coin-recharge-head button,
.coin-record-footer button,
.coin-record-footer select,
.coin-record-table button,
.coin-custom-row button {
  border: 1px solid rgba(218, 157, 48, .58);
  border-radius: 6px;
  background: rgba(218, 157, 48, .14);
  color: #ffd86f;
  font-weight: 800;
}

.coin-recharge-head button {
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.coin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.coin-stat-grid article {
  min-height: 94px;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 2px 14px;
  padding: 16px;
  border: 1px solid rgba(201, 145, 43, .30);
  border-radius: 8px;
  background:
    radial-gradient(circle at 4% 2%, rgba(25, 121, 196, .18), transparent 42%),
    linear-gradient(145deg, rgba(20, 31, 40, .62), rgba(11, 10, 8, .92));
}

.coin-stat-grid article i,
.coin-stat-grid article svg {
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 8px;
  color: #ffbd35;
  background: rgba(218, 157, 48, .16);
}

.coin-stat-grid span,
.coin-stat-grid small {
  color: #aaa195;
  font-size: 12px;
}

.coin-stat-grid strong {
  color: #fff0c7;
  font-size: 24px;
  line-height: 1.1;
}

.coin-recharge-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 14px;
}

.coin-recharge-main,
.coin-recharge-side {
  min-height: 0;
  display: grid;
  gap: 12px;
}

.coin-recharge-main {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.coin-recharge-side {
  grid-template-rows: auto minmax(130px, auto);
  align-content: start;
}

.coin-panel {
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 16%, rgba(218, 157, 48, .12), transparent 30%),
    linear-gradient(145deg, rgba(18, 24, 29, .86), rgba(12, 10, 7, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.coin-panel h3 {
  margin: 0 0 14px;
  color: #fff5d0;
  font-size: 18px;
}

.coin-buy-panel,
.coin-pay-panel,
.coin-confirm-card,
.coin-note-card {
  padding: 18px;
}

.coin-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.coin-package-card {
  position: relative;
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 18px 90px 18px 20px;
  border: 1px solid rgba(201, 145, 43, .34);
  border-radius: 8px;
  text-align: left;
  background: linear-gradient(135deg, rgba(27, 34, 38, .76), rgba(18, 14, 9, .92));
  color: #f6d479;
  cursor: pointer;
}

.coin-package-card.active {
  border-color: #f2b948;
  box-shadow: 0 0 18px rgba(218, 157, 48, .22), inset 0 1px 0 rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 80% 35%, rgba(255, 199, 80, .20), transparent 36%),
    linear-gradient(135deg, rgba(42, 34, 17, .92), rgba(20, 19, 14, .96));
}

.coin-package-card em {
  position: absolute;
  top: -1px;
  left: 16px;
  padding: 3px 11px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #ffe18b, #d79b34);
  color: #2b1700;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.coin-package-card span strong {
  color: #ffd365;
  font-size: 24px;
}

.coin-package-card b {
  color: #fff3cf;
  font-size: 16px;
}

.coin-package-card small {
  color: #41e989;
  font-weight: 800;
}

.coin-package-card svg {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  color: rgba(218, 157, 48, .30);
  stroke-width: 1.7;
}

.coin-custom-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 54px 180px 92px;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
}

.coin-custom-row label,
.coin-custom-row span {
  color: #ddd0b9;
  font-weight: 800;
}

.coin-custom-row input {
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 5px;
  background: rgba(6, 10, 14, .66);
  color: #ffe8ad;
  outline: none;
}

.coin-custom-row b {
  color: #f7c84c;
  text-align: right;
}

.coin-custom-row button {
  height: 38px;
}

.coin-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.coin-pay-method {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(201, 145, 43, .32);
  border-radius: 8px;
  background: rgba(14, 18, 20, .74);
  color: #efe4cf;
  font-weight: 900;
}

.coin-pay-method.active {
  border-color: #f2b948;
  box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .20), 0 0 16px rgba(218, 157, 48, .18);
  background: linear-gradient(135deg, rgba(41, 34, 18, .92), rgba(9, 25, 33, .70));
}

.coin-pay-method svg {
  width: 28px;
  height: 28px;
  color: #ffca56;
}

.coin-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
}

.coin-panel-title span {
  color: #a99f90;
  font-size: 12px;
}

.coin-record-table {
  overflow: auto;
  padding: 0 16px 12px;
}

.coin-record-table table {
  width: 100%;
  border-collapse: collapse;
  color: #eee1c6;
  font-size: 13px;
}

.coin-record-table th {
  height: 38px;
  color: #bfb5a4;
  text-align: left;
  font-weight: 800;
}

.coin-record-table td {
  height: 42px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.coin-record-table button {
  min-width: 46px;
  height: 26px;
  margin-right: 6px;
}

.coin-pay-tag {
  color: #d9c7a9;
}

.coin-status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.coin-status.paid { color: #25e27b; background: rgba(37, 226, 123, .14); }
.coin-status.pending { color: #ffd15c; background: rgba(255, 209, 92, .14); }
.coin-status.refund { color: #4fa7ff; background: rgba(79, 167, 255, .14); }
.coin-status.cancel { color: #9a9a9a; background: rgba(255, 255, 255, .10); }

.coin-record-footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 16px 14px;
}

.coin-record-footer button,
.coin-record-footer select {
  height: 30px;
  padding: 0 10px;
}

.coin-record-footer button.active {
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #211400;
}

.coin-confirm-card dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px 10px;
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
}

.coin-confirm-card dt {
  color: #aaa195;
}

.coin-confirm-card dd {
  margin: 0;
  color: #fff2cf;
  font-weight: 900;
  text-align: right;
}

.coin-confirm-card dd em {
  margin-left: 6px;
  color: #f7c64b;
  font-style: normal;
}

.coin-confirm-card dd.amount,
.coin-confirm-card dd.coins {
  color: #ffd15d;
  font-size: 18px;
}

.coin-confirm-card dd.bonus {
  color: #25e27b;
}

.coin-confirm-card dd.pay {
  color: #5ee08d;
}

.coin-confirm-card dd button {
  width: 30px;
  height: 26px;
  border: 1px solid rgba(218, 157, 48, .48);
  background: rgba(0,0,0,.18);
  color: #ffe29a;
}

.coin-confirm-card dd span {
  display: inline-flex;
  justify-content: center;
  width: 44px;
}

.coin-qr-box {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(7, 12, 15, .56);
}

.coin-qr-box img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}

.coin-qr-box b,
.coin-qr-box span,
.coin-qr-box small {
  display: block;
}

.coin-qr-box b {
  color: #ffe6a5;
  font-size: 18px;
}

.coin-qr-box span {
  margin: 6px 0 10px;
  color: #ffd15d;
}

.coin-qr-box small {
  margin-top: 8px;
  color: #c8bdad;
}

.coin-qr-box small svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
  color: #f7c64b;
}

.coin-primary-btn,
.coin-secondary-btn {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  border-radius: 6px;
  font-weight: 900;
}

.coin-primary-btn {
  border: 0;
  background: linear-gradient(90deg, #f7d37c, #d99d35);
  color: #221500;
}

.coin-secondary-btn {
  border: 1px solid rgba(201, 145, 43, .32);
  background: rgba(0,0,0,.16);
  color: #ead8b5;
}

.coin-note-card {
  display: grid;
  gap: 8px;
}

.coin-note-card p {
  margin: 0;
  color: #c9bfaf;
  line-height: 1.55;
}

.coin-note-card svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: #f6c75d;
  vertical-align: -3px;
}

@media (max-width: 1280px) {
  .coin-recharge-layout {
    grid-template-columns: 1fr;
  }
  .coin-recharge-side {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 980px) {
  .coin-stat-grid,
  .coin-package-grid,
  .coin-pay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coin-custom-row {
    grid-template-columns: 1fr;
  }
  .coin-recharge-side {
    grid-template-columns: 1fr;
  }
}

.market-guess-view {
  min-height: 0;
  height: 100%;
  padding: 14px 16px 16px;
  overflow: auto;
  background:
    radial-gradient(circle at 30% 0, rgba(218, 157, 48, .10), transparent 34%),
    linear-gradient(135deg, rgba(4, 13, 20, .98), rgba(4, 7, 10, .96));
}

.market-guess-shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
}

.guess-head,
.guess-stats,
.guess-dashboard,
.guess-play-card,
.guess-choice-row,
.guess-sentiment,
.guess-people,
.guess-comment,
.guess-panel header,
.guess-chat article,
.guess-chat footer {
  display: flex;
  align-items: center;
}

.guess-head {
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid rgba(201, 145, 43, .22);
}

.guess-head small {
  color: #d9a139;
  font-weight: 800;
}

.guess-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 4px;
  color: #fff1c2;
  font-size: 28px;
}

.guess-head h2 svg,
.guess-head p,
.guess-head label svg {
  color: #f3b93f;
}

.guess-head p {
  margin: 0;
  color: #a99d89;
}

.guess-head label {
  width: min(380px, 34vw);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(201, 145, 43, .36);
  border-radius: 999px;
  background: rgba(0, 0, 0, .24);
}

.guess-head input,
.guess-comment input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f3e5c7;
}

.guess-dashboard {
  align-items: stretch;
  gap: 14px;
  min-height: 0;
}

.guess-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr) auto;
  gap: 12px;
}

.guess-side {
  flex: 0 0 430px;
  min-width: 360px;
  display: grid;
  grid-template-rows: minmax(260px, .9fr) auto auto;
  gap: 10px;
}

.guess-stats {
  gap: 10px;
}

.guess-stats article,
.guess-market-card,
.guess-list-card,
.guess-panel {
  border: 1px solid rgba(201, 145, 43, .38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(218, 157, 48, .12), transparent 42%),
    rgba(8, 14, 18, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.guess-stats article {
  flex: 1 1 0;
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-content: center;
  gap: 2px 12px;
  padding: 14px;
}

.guess-stats svg {
  grid-row: span 3;
  width: 50px;
  height: 50px;
  padding: 12px;
  border-radius: 999px;
  color: #ffc343;
  background: rgba(218, 157, 48, .14);
}

.guess-stats span,
.guess-chart-side span,
.guess-clock span,
.guess-list-card footer {
  color: #938979;
  font-size: 12px;
}

.guess-stats b {
  color: #ffd36b;
  font-size: 24px;
}

.guess-stats em {
  color: #47d46f;
  font-size: 12px;
  font-style: normal;
}

.guess-market-card,
.guess-list-card,
.guess-panel {
  overflow: hidden;
}

.guess-tabs {
  height: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(201, 145, 43, .24);
}

.guess-tabs button {
  border: 0;
  background: transparent;
  color: #bdb1a0;
  font-weight: 800;
}

.guess-tabs button.active {
  color: #ffd36b;
  box-shadow: inset 0 -2px 0 #f0b338;
}

.guess-tabs svg {
  width: 16px;
  vertical-align: middle;
}

.guess-play-card {
  align-items: stretch;
  gap: 12px;
  padding: 12px;
}

.guess-chart-side,
.guess-action-side {
  min-width: 0;
  display: grid;
}

.guess-chart-side {
  flex: 1 1 46%;
  padding: 16px;
  border: 1px solid rgba(201, 145, 43, .28);
  border-radius: 7px;
  background: rgba(255, 255, 255, .018);
}

.guess-chart-side header,
.guess-round,
.guess-list-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guess-chart-side h3,
.guess-list-card h3,
.guess-panel h3 {
  margin: 0;
  color: #ffd36b;
}

.guess-panel h3 {
  font-size: 16px;
}

.guess-chart-side h3 span,
.guess-chart-side h3 em {
  margin-left: 8px;
  color: #d7c8ad;
  font-size: 13px;
  font-style: normal;
}

.guess-chart-side header > b {
  padding: 3px 9px;
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 4px;
  color: #f0b338;
  background: rgba(218, 157, 48, .10);
}

.guess-chart-side strong {
  color: #ff4e53;
  font-size: 32px;
  letter-spacing: 0;
}

.guess-chart-side p,
.guess-table .up,
.guess-record .up {
  color: #37d26b;
}

.guess-mini-chart {
  position: relative;
  min-height: 170px;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.06);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.055) 32px),
    linear-gradient(180deg, transparent, rgba(218, 157, 48, .10));
}

.guess-mini-chart::before {
  content: "";
  position: absolute;
  inset: 18px 18px 20px;
  background: linear-gradient(135deg, transparent 0 7%, #f0b338 7% 9%, transparent 9% 16%, #f0b338 16% 18%, transparent 18% 27%, #f0b338 27% 29%, transparent 29% 39%, #f0b338 39% 41%, transparent 41% 51%, #f0b338 51% 53%, transparent 53% 64%, #f0b338 64% 66%, transparent 66% 75%, #f0b338 75% 77%, transparent 77% 88%, #f0b338 88% 90%, transparent 90%);
  opacity: .9;
  clip-path: polygon(0 64%, 9% 58%, 18% 61%, 28% 45%, 40% 36%, 51% 42%, 62% 31%, 74% 44%, 85% 34%, 100% 23%, 100% 100%, 0 100%);
}

.guess-mini-chart i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ffd36b;
  box-shadow: 0 0 12px #ffd36b;
}

.guess-chart-side footer {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.guess-chart-side footer button,
.guess-panel button,
.guess-list-card button,
.guess-round button,
.guess-comment button {
  border: 1px solid rgba(218, 157, 48, .42);
  border-radius: 5px;
  background: rgba(218, 157, 48, .08);
  color: #e9bd58;
  font-weight: 800;
}

.guess-chart-side footer button {
  height: 28px;
  border: 0;
  background: transparent;
  color: #a99d89;
}

.guess-action-side {
  flex: 1 1 54%;
  gap: 10px;
}

.guess-clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
}

.guess-clock p {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 12px 0;
  border-right: 1px solid rgba(255,255,255,.06);
}

.guess-clock p:last-child {
  border-right: 0;
}

.guess-clock b {
  color: #f7c24f;
  font-size: 22px;
}

.guess-tip {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(201, 145, 43, .24);
  border-radius: 6px;
  color: #c9bea9;
  background: rgba(255,255,255,.02);
}

.guess-tip svg {
  width: 15px;
  color: #f0b338;
  vertical-align: middle;
}

.guess-choice-row {
  gap: 12px;
}

.guess-choice {
  flex: 1;
  min-height: 88px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-content: center;
  gap: 2px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  color: #fff;
}

.guess-choice svg {
  grid-row: span 2;
  width: 54px;
  height: 54px;
}

.guess-choice b {
  font-size: 26px;
}

.guess-choice.up {
  background: linear-gradient(135deg, #108741, #25b55b);
}

.guess-choice.down {
  background: linear-gradient(135deg, #b12d2f, #e34a4d);
}

.guess-choice.active {
  box-shadow: 0 0 0 2px rgba(255, 211, 107, .9), 0 0 28px rgba(255, 211, 107, .28);
}

.guess-sentiment {
  gap: 10px;
}

.guess-sentiment b:first-child {
  color: #36d36d;
}

.guess-sentiment b:last-child,
.guess-table .down,
.guess-record .down {
  color: #ff5258;
}

.guess-sentiment i,
.guess-ratio i {
  flex: 1;
  display: flex;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.guess-sentiment span,
.guess-ratio b:first-child {
  background: #34cf68;
}

.guess-ratio b:last-child {
  background: #ef474d;
}

.guess-people {
  justify-content: space-between;
  color: #a99d89;
}

.guess-comment {
  gap: 8px;
  padding: 8px;
  border-top: 1px solid rgba(201, 145, 43, .18);
}

.guess-comment > span,
.guess-chat article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8deb0, #9d6b32);
  color: #160d00;
  font-weight: 900;
}

.guess-comment input {
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
}

.guess-comment button {
  height: 32px;
  min-width: 80px;
  background: linear-gradient(90deg, #9d6b2b, #d29a3b);
  color: #fff2c8;
}

.guess-list-card {
  padding: 12px;
}

.guess-table,
.guess-rank,
.guess-record {
  width: 100%;
  border-collapse: collapse;
}

.guess-table th,
.guess-table td,
.guess-rank td,
.guess-record td {
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #cfc4b3;
  text-align: left;
  white-space: nowrap;
}

.guess-side .guess-panel h3 {
  font-size: 15px;
}

.guess-side .guess-panel header button {
  height: 26px;
  padding: 0 9px;
  font-size: 12px;
}

.guess-side .guess-rank td,
.guess-side .guess-record td {
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.guess-table th {
  color: #8f8577;
  font-size: 12px;
}

.guess-table td b {
  color: #ffd36b;
}

.guess-table td span,
.guess-table small {
  display: block;
  color: #8f8577;
}

.guess-ratio {
  display: grid;
  grid-template-columns: 40px minmax(80px, 1fr) 40px;
  align-items: center;
  gap: 7px;
}

.guess-table strong {
  color: #37d26b;
}

.guess-list-card footer {
  height: 30px;
  display: grid;
  place-items: center;
}

.guess-panel {
  padding: 12px;
}

.guess-panel header {
  justify-content: space-between;
  height: 30px;
  margin-bottom: 8px;
}

.guess-panel header span {
  color: #43d169;
  font-size: 11px;
}

.guess-chat article {
  gap: 8px;
  min-height: 42px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.guess-chat article > span {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.guess-chat p {
  flex: 1;
  margin: 0;
  color: #cfc4b3;
  font-size: 13px;
  line-height: 1.35;
}

.guess-chat b {
  display: block;
  color: #e7b64b;
  font-size: 13px;
}

.guess-chat em {
  padding: 1px 5px;
  border: 1px solid rgba(218, 157, 48, .4);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
}

.guess-chat time {
  color: #82786a;
  font-size: 11px;
}

.guess-chat strong,
.guess-rank td:last-child,
.guess-record td:nth-child(4) {
  color: #f2b53c;
}

.guess-chat strong {
  font-size: 12px;
}

.guess-chat footer {
  gap: 6px;
  padding-top: 8px;
  color: #a99d89;
  font-size: 12px;
}

.guess-chat footer button {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.guess-rank tr:nth-child(1) td:first-child,
.guess-rank tr:nth-child(2) td:first-child,
.guess-rank tr:nth-child(3) td:first-child {
  color: #fff;
  font-weight: 900;
}

.guess-rank tr:last-child {
  background: rgba(218, 157, 48, .20);
}

@media (max-width: 1280px) {
  .guess-dashboard {
    display: grid;
  }
  .guess-side {
    flex-basis: auto;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 980px) {
  .guess-head,
  .guess-dashboard,
  .guess-play-card,
  .guess-stats {
    display: grid;
  }
  .guess-head label {
    width: 100%;
  }
  .guess-side {
    grid-template-columns: 1fr;
  }
  .guess-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Unified theme for strategy upload, analyst and market guess pages. */
.strategy-upload-manage-view,
.analyst-application-view,
.analyst-list-view,
.market-guess-view {
  --sam-bg-0: rgba(3, 4, 4, .99);
  --sam-bg-1: rgba(10, 9, 7, .96);
  --sam-bg-2: rgba(22, 17, 9, .92);
  --sam-border: rgba(218, 157, 48, .34);
  --sam-border-soft: rgba(218, 157, 48, .20);
  --sam-gold: #ffd36b;
  --sam-gold-strong: #ffe39a;
  --sam-text: #f6ead4;
  --sam-muted: #a99d89;
  --sam-field: rgba(7, 7, 6, .82);
  background:
    linear-gradient(90deg, rgba(218, 157, 48, .045), transparent 30%, rgba(218, 157, 48, .025)),
    radial-gradient(circle at 82% 0, rgba(218, 157, 48, .095), transparent 28%),
    linear-gradient(180deg, #070807 0%, #030404 48%, #010202 100%);
  color: var(--sam-text);
}

.member-home.strategy-upload-active .home-main,
.member-home.analyst-active .home-main,
.member-home.market-guess-active .home-main {
  background:
    linear-gradient(90deg, rgba(218, 157, 48, .035), transparent 32%, rgba(218, 157, 48, .018)),
    radial-gradient(circle at 88% 0, rgba(218, 157, 48, .075), transparent 30%),
    #020303;
}

.strategy-upload-head,
.strategy-upload-panel,
.strategy-upload-table-card,
.strategy-upload-stats article,
.analyst-apply-card,
.analyst-flow-card,
.analyst-tip-card,
.analyst-list-filters,
.analyst-list-stats,
.analyst-list-card,
.analyst-list-pagination,
.guess-stats article,
.guess-market-card,
.guess-list-card,
.guess-panel,
.guess-chart-side,
.guess-clock,
.guess-tip {
  border-color: var(--sam-border);
  background:
    radial-gradient(circle at 100% 0, rgba(218, 157, 48, .075), transparent 34%),
    linear-gradient(145deg, var(--sam-bg-2), var(--sam-bg-1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 12px 28px rgba(0, 0, 0, .22);
}

.strategy-upload-head span,
.analyst-apply-head span,
.analyst-list-head span {
  color: rgba(255, 211, 107, .74);
}

.strategy-upload-head h2,
.strategy-upload-panel h3,
.strategy-upload-table-card h3,
.strategy-upload-preview-card header h3,
.strategy-upload-table-card > header h3,
.analyst-apply-head h2,
.analyst-apply-card h3,
.analyst-flow-card h3,
.analyst-tip-card h3,
.analyst-list-head h2,
.analyst-list-stats b,
.analyst-info-cell strong,
.analyst-cert-cell b,
.guess-head h2,
.guess-stats b,
.guess-chart-side h3,
.guess-list-card h3,
.guess-panel h3,
.guess-clock b,
.guess-table td b {
  color: var(--sam-gold-strong);
}

.strategy-upload-head p,
.strategy-upload-muted,
.strategy-upload-form small,
.strategy-preview-desc p,
.strategy-preview-hero p,
.strategy-preview-chart span,
.strategy-preview-info p,
.strategy-preview-info small,
.strategy-upload-pagination,
.analyst-list-head p,
.analyst-tip-card p,
.analyst-flow-card li small,
.analyst-avatar-field p,
.analyst-cert-row p,
.analyst-textarea-label small,
.analyst-list-pagination > span,
.analyst-list-pagination label,
.analyst-info-cell p,
.analyst-info-cell small,
.analyst-cert-cell small,
.analyst-list-table td > small,
.guess-head p,
.guess-stats span,
.guess-chart-side span,
.guess-clock span,
.guess-list-card footer,
.guess-table th,
.guess-table small,
.guess-table td span,
.guess-people,
.guess-chat footer,
.guess-chat time {
  color: var(--sam-muted);
}

.strategy-upload-stats i,
.analyst-list-stats svg,
.analyst-avatar-btn,
.analyst-avatar,
.analyst-rank {
  color: #211405;
  background: linear-gradient(180deg, #ffe39a, #c98e2b);
}

.strategy-upload-stats span,
.analyst-list-stats span {
  color: rgba(246, 234, 212, .70);
}

.strategy-upload-stats strong,
.strategy-upload-stats b,
.strategy-preview-title strong,
.strategy-preview-metrics strong,
.strategy-preview-hero h4,
.strategy-upload-name strong,
.strategy-upload-file-name,
.strategy-file-drop b,
.analyst-cert-row b,
.analyst-tag-row span {
  color: var(--sam-text);
}

.strategy-upload-field label,
.strategy-upload-upload label,
.strategy-upload-tags label,
.strategy-upload-textarea label,
.strategy-upload-grid label > span,
.strategy-upload-desc > span,
.strategy-upload-tags > span,
.analyst-form-grid label,
.analyst-textarea-label,
.analyst-avatar-field,
.analyst-form-grid label span,
.analyst-textarea-label span,
.analyst-avatar-field > span {
  color: rgba(246, 234, 212, .88);
}

.strategy-upload-field input,
.strategy-upload-field select,
.strategy-upload-textarea textarea,
.strategy-upload-filters input,
.strategy-upload-filters select,
.strategy-upload-grid input,
.strategy-upload-grid select,
.strategy-upload-desc textarea,
.strategy-inline-input,
.strategy-upload-table-card > header label,
.strategy-upload-table-card > header input,
.strategy-upload-table-card > header select,
.strategy-upload-pagination select,
.analyst-form-grid input,
.analyst-form-grid select,
.analyst-textarea-label textarea,
.analyst-list-filters input,
.analyst-list-filters select,
.analyst-list-filters button,
.analyst-list-pagination button,
.analyst-list-pagination select,
.analyst-list-pagination input,
.guess-head label,
.guess-comment input {
  border-color: var(--sam-border-soft);
  background: var(--sam-field);
  color: var(--sam-text);
}

.strategy-upload-field select,
.strategy-upload-filters select,
.strategy-upload-grid select,
.strategy-upload-table-card > header select,
.strategy-upload-pagination select,
.analyst-form-grid select,
.analyst-list-filters select,
.analyst-list-pagination select {
  color: var(--sam-text);
}

.strategy-upload-field input:focus,
.strategy-upload-field select:focus,
.strategy-upload-textarea textarea:focus,
.strategy-upload-filters input:focus,
.strategy-upload-filters select:focus,
.strategy-upload-grid input:focus,
.strategy-upload-grid select:focus,
.strategy-upload-desc textarea:focus,
.analyst-form-grid input:focus,
.analyst-form-grid select:focus,
.analyst-textarea-label textarea:focus,
.analyst-list-filters input:focus,
.analyst-list-filters select:focus {
  border-color: rgba(255, 211, 107, .76);
  box-shadow: 0 0 0 2px rgba(218, 157, 48, .13);
}

.strategy-type-chip,
.strategy-upload-type-row button,
.strategy-tag-chip,
.strategy-upload-tags em,
.strategy-type-pill,
.strategy-preview-tags span,
.analyst-tag-row label,
.analyst-tag-stack span,
.analyst-info-cell em,
.analyst-apply-head h2 em,
.analyst-apply-head strong {
  border-color: rgba(218, 157, 48, .34);
  background: rgba(218, 157, 48, .09);
  color: var(--sam-gold);
}

.strategy-type-chip.active,
.strategy-upload-type-row button.active,
.strategy-tag-chip.active,
.analyst-list-filters button:last-child,
.analyst-apply-actions button:last-child,
.strategy-upload-form button.primary,
.strategy-upload-table-card button.primary,
.strategy-upload-pager button.active,
.strategy-upload-pagination button.active,
.analyst-list-pagination button.active {
  border-color: rgba(255, 211, 107, .82);
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #211405;
}

.strategy-upload-form button,
.strategy-upload-table-card button,
.strategy-upload-preview button,
.strategy-upload-preview-card button,
.analyst-cert-row button,
.analyst-apply-actions button,
.analyst-flow-card button,
.analyst-detail-btn,
.analyst-list-filters button,
.guess-panel button,
.guess-list-card button,
.guess-round button {
  border-color: rgba(218, 157, 48, .46);
  background: rgba(218, 157, 48, .08);
  color: var(--sam-gold);
}

.strategy-upload-table-wrap,
.strategy-preview-metrics,
.strategy-upload-chart,
.strategy-preview-desc,
.strategy-preview-chart,
.strategy-preview-info > div,
.guess-comment {
  border-color: var(--sam-border-soft);
  background: rgba(0, 0, 0, .18);
}

.strategy-upload-table th,
.analyst-list-table th,
.guess-table th {
  color: var(--sam-gold-strong);
  background: rgba(218, 157, 48, .14);
}

.strategy-upload-table td,
.analyst-list-table td,
.guess-table td,
.guess-rank td,
.guess-record td,
.guess-chat p {
  color: rgba(246, 234, 212, .86);
}

.strategy-upload-table tr:hover td,
.analyst-list-table tr.featured td {
  background: linear-gradient(90deg, rgba(218, 157, 48, .16), rgba(255, 255, 255, .02));
}

.strategy-file-drop,
.strategy-upload-drop {
  border-color: rgba(218, 157, 48, .48);
  background: rgba(218, 157, 48, .045);
}

.strategy-file-drop svg,
.strategy-upload-drop svg,
.analyst-apply-card h3 svg,
.analyst-cert-cell svg,
.analyst-stars span,
.analyst-stars b {
  color: var(--sam-gold);
}

.strategy-upload-cover,
.strategy-preview-cover {
  background:
    linear-gradient(135deg, rgba(255, 211, 107, .78), rgba(75, 48, 10, .32)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .12) 0 4px, transparent 4px 9px);
}

.strategy-status.draft,
.strategy-preview-hero h4 em.draft {
  color: #d6c8ac;
  background: rgba(214, 200, 172, .12);
}

.analyst-rank.rank-2 {
  background: linear-gradient(180deg, #e8dac1, #8f826f);
}

.analyst-rank.rank-3 {
  background: linear-gradient(180deg, #e0aa6e, #7a4d2b);
}

.market-guess-view .guess-head {
  border-bottom-color: rgba(218, 157, 48, .28);
}

.market-guess-view .guess-tabs {
  border-bottom-color: rgba(218, 157, 48, .22);
}

.market-guess-view .guess-mini-chart {
  border-color: var(--sam-border-soft);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(218, 157, 48, .055) 32px),
    linear-gradient(180deg, transparent, rgba(218, 157, 48, .10)),
    #080807;
}

.market-guess-view .guess-table td,
.market-guess-view .guess-rank td,
.market-guess-view .guess-record td,
.market-guess-view .guess-chat article {
  border-bottom-color: rgba(218, 157, 48, .12);
}

.market-guess-view .guess-chart-side footer button {
  border: 0;
  background: transparent;
  color: var(--sam-muted);
}

.market-guess-view .guess-list-card h3 {
  font-size: 16px;
}

.market-guess-view .guess-table th {
  font-size: 11px;
}

.market-guess-view .guess-table td {
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.market-guess-view .guess-table td b {
  font-size: 13px;
  line-height: 1.1;
}

.market-guess-view .guess-table td span,
.market-guess-view .guess-table small,
.market-guess-view .guess-table td em {
  font-size: 11px;
}

.market-guess-view .guess-ratio {
  grid-template-columns: 34px minmax(72px, 1fr) 34px;
  gap: 6px;
  font-size: 12px;
}

.market-guess-view .guess-table strong {
  font-size: 12px;
}

.market-guess-view .guess-table button {
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
}

.doc-upload-page {
  min-width: 1420px;
  min-height: 100%;
  padding: 18px 26px 24px;
  overflow: auto;
  color: #d9cfbf;
  background:
    radial-gradient(circle at 64% 0, rgba(218, 157, 48, .10), transparent 28%),
    linear-gradient(135deg, rgba(3, 9, 12, .98), rgba(4, 5, 6, .99));
}

.doc-upload-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 2px 8px 14px;
  border-bottom: 1px solid rgba(218, 157, 48, .2);
}

.doc-upload-head span {
  color: #968c7c;
  font-size: 14px;
}

.doc-upload-head h2 {
  margin: 28px 0 8px;
  color: #ffd36b;
  font-size: 34px;
  line-height: 1;
}

.doc-upload-head p {
  margin: 0;
  color: #ada494;
}

.doc-upload-head button,
.doc-upload-card button,
.doc-upload-form-card footer button,
.doc-upload-table-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(218, 157, 48, .45);
  border-radius: 6px;
  background: rgba(218, 157, 48, .07);
  color: #ffd36b;
  font-weight: 800;
}

.doc-upload-head button {
  height: 38px;
  padding: 0 16px;
  margin-top: 38px;
}

.doc-upload-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 8px 14px;
}

.doc-upload-stats article,
.doc-upload-card,
.doc-upload-table-card,
.doc-upload-form-card,
.doc-upload-rules {
  border: 1px solid rgba(218, 157, 48, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 211, 107, .08), transparent 34%),
    linear-gradient(145deg, rgba(17, 22, 23, .94), rgba(4, 7, 8, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.doc-upload-stats article {
  min-height: 96px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
}

.doc-upload-stats article > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 211, 107, .09);
  color: #f5b93e;
}

.doc-upload-stats svg {
  width: 34px;
  height: 34px;
}

.doc-upload-stats b {
  display: block;
  color: #c9c0b2;
  font-size: 15px;
}

.doc-upload-stats strong {
  display: block;
  margin: 4px 0;
  color: #ffd36b;
  font-size: 29px;
  line-height: 1;
}

.doc-upload-stats em {
  color: #b7ad9d;
  font-style: normal;
}

.doc-upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr);
  gap: 16px;
  padding: 0 8px;
}

.doc-upload-left,
.doc-upload-right {
  display: grid;
  gap: 16px;
  align-content: start;
}

.doc-upload-card,
.doc-upload-table-card,
.doc-upload-form-card,
.doc-upload-rules {
  padding: 16px 18px;
}

.doc-upload-card h3,
.doc-upload-table-card h3,
.doc-upload-form-card h3,
.doc-upload-rules h3,
.doc-upload-subtitle {
  margin: 0 0 14px;
  color: #ffd36b;
  font-size: 18px;
}

.doc-upload-drop {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed rgba(218, 157, 48, .58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 211, 107, .18), transparent 18%),
    linear-gradient(135deg, rgba(255, 211, 107, .06), rgba(255, 255, 255, .01));
  cursor: pointer;
}

.doc-upload-drop.dragging {
  border-color: #ffd36b;
  background-color: rgba(218, 157, 48, .10);
}

.doc-upload-drop > svg {
  width: 66px;
  height: 66px;
  color: #f5b93e;
  filter: drop-shadow(0 0 18px rgba(245, 185, 62, .32));
}

.doc-upload-drop h4 {
  margin: 4px 0 0;
  color: #ffd36b;
  font-size: 17px;
}

.doc-upload-drop p {
  margin: 0;
  color: #b9b0a2;
}

.doc-upload-drop div {
  display: flex;
  gap: 28px;
  margin-top: 10px;
}

.doc-upload-drop button {
  width: 170px;
  height: 36px;
}

.doc-upload-drop button.primary,
.doc-upload-form-card footer button.primary {
  border: 0;
  background: linear-gradient(180deg, #ffd77a, #d99a24);
  color: #221404;
}

.doc-upload-subtitle {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}

.doc-upload-progress {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-upload-progress li {
  display: grid;
  grid-template-columns: 32px minmax(170px, 1fr) minmax(220px, 1fr) 78px 28px;
  align-items: center;
  gap: 12px;
}

.doc-upload-file-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(180deg, #ef4c4c, #ab2424);
}

.doc-upload-file-icon.doc,
.doc-upload-file-icon.docx {
  background: linear-gradient(180deg, #66a8ff, #285fc4);
}

.doc-upload-file-icon.xlsx,
.doc-upload-file-icon.xls {
  background: linear-gradient(180deg, #48df85, #168241);
}

.doc-upload-file-icon.zip {
  background: linear-gradient(180deg, #f6af39, #9a6515);
}

.doc-upload-file-icon svg {
  width: 17px;
  height: 17px;
}

.doc-upload-progress b {
  color: #efe5d4;
  font-weight: 700;
}

.doc-upload-progress em {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.doc-upload-progress em span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5b93e, #ffd77a);
}

.doc-upload-progress li:nth-child(n+3) em span {
  background: linear-gradient(90deg, #45c84f, #8ceb58);
}

.doc-upload-progress strong {
  color: #efe5d4;
  font-weight: 500;
}

.doc-upload-progress button {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  color: #ff625d;
}

.doc-upload-progress button.done {
  color: #45d65d;
}

.doc-upload-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.doc-upload-table-card th,
.doc-upload-table-card td {
  height: 34px;
  border-bottom: 1px solid rgba(218, 157, 48, .12);
  color: #bfb5a6;
  text-align: left;
}

.doc-upload-table-card th {
  color: #cfc4b2;
  font-weight: 700;
}

.doc-upload-file-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #efe5d4;
}

.doc-upload-file-name svg {
  width: 18px;
  color: #f5b93e;
}

.doc-upload-table-card td em {
  padding: 2px 8px;
  border-radius: 4px;
  font-style: normal;
  font-weight: 700;
}

.doc-upload-table-card td em.passed {
  color: #44d264;
  background: rgba(68, 210, 100, .12);
}

.doc-upload-table-card td em.pending {
  color: #ffd36b;
  background: rgba(218, 157, 48, .16);
}

.doc-upload-table-card td button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f3b43e;
}

.doc-upload-table-card footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  color: #b7ad9d;
}

.doc-upload-table-card footer button,
.doc-upload-table-card footer select {
  height: 30px;
  min-width: 30px;
  border: 1px solid rgba(218, 157, 48, .32);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
  color: #d9cfbf;
}

.doc-upload-table-card footer button.active {
  color: #ffd36b;
  background: rgba(218, 157, 48, .24);
}

.doc-upload-form-card {
  min-height: 500px;
}

.doc-upload-form-card label {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  color: #c8bdad;
}

.doc-upload-form-card label > span b {
  color: #ff5a4f;
}

.doc-upload-form-card input,
.doc-upload-form-card select,
.doc-upload-form-card textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(218, 157, 48, .26);
  border-radius: 5px;
  background: rgba(4, 6, 8, .66);
  color: #efe5d4;
  padding: 0 12px;
  outline: 0;
}

.doc-upload-form-card textarea {
  min-height: 38px;
  padding-top: 9px;
  resize: none;
}

.doc-upload-form-card label > em {
  grid-column: 2;
  justify-self: end;
  margin-top: -8px;
  color: #8c8376;
  font-style: normal;
}

.doc-upload-tags p,
.doc-upload-radio p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-wrap: wrap;
}

.doc-upload-tags button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(218, 157, 48, .35);
  border-radius: 4px;
  background: rgba(218, 157, 48, .10);
  color: #ffd36b;
}

.doc-upload-radio label {
  display: inline-flex;
  grid-template-columns: none;
  gap: 6px;
  margin: 0 10px 0 0;
}

.doc-upload-form-card footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

.doc-upload-form-card footer button {
  width: 160px;
  height: 38px;
}

.doc-upload-rules ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-upload-rules li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.doc-upload-rules li > b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #d99a24;
  border-radius: 50%;
  color: #ffd36b;
}

.doc-upload-rules p {
  margin: 2px 0 0;
  color: #bfb5a6;
  line-height: 1.55;
}

.doc-upload-rules strong {
  color: #ffd36b;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    overflow: auto;
  }

  body {
    background: #030303;
  }

  button,
  select,
  input,
  textarea {
    min-height: 38px;
    font-size: 14px;
  }

  .auth-gate {
    align-items: stretch;
    justify-content: stretch;
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .auth-panel,
  .auth-panel[data-mode="login"],
  .auth-panel[data-mode="register"],
  .auth-panel[data-mode="purchase"] {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 14px;
  }

  .login-topbar,
  .login-footer {
    gap: 8px;
    flex-wrap: wrap;
  }

  .auth-brand,
  .auth-panel[data-mode="register"] .auth-brand,
  .auth-panel[data-mode="purchase"] .auth-brand {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 10px;
  }

  .auth-brand img,
  .auth-panel[data-mode="register"] .auth-brand img,
  .auth-panel[data-mode="purchase"] .auth-brand img {
    width: 54px;
    height: 54px;
  }

  .brand-features,
  .register-fields,
  .auth-fields,
  .auth-fields.single,
  .payment-card,
  .vip-hero,
  .vip-trial {
    grid-template-columns: 1fr !important;
  }

  .vip-topbar {
    height: auto;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-radius: 0;
    padding: 12px 14px;
  }

  .vip-topbar span {
    grid-column: auto;
    justify-self: start;
    font-size: 18px;
  }

  .vip-hero {
    min-height: auto;
    padding: 22px 16px;
    text-align: left;
  }

  .vip-hero h2 {
    font-size: 26px;
  }

  .vip-hero img {
    width: 118px;
    height: 118px;
  }

  .vip-benefits,
  .vip-trial,
  .auth-panel[data-mode="register"] .auth-form,
  .auth-panel[data-mode="purchase"] .auth-form,
  .auth-panel[data-mode="register"] .auth-tabs,
  .auth-panel[data-mode="purchase"] .auth-tabs,
  .auth-panel[data-mode="register"] .auth-message,
  .auth-panel[data-mode="purchase"] .auth-message {
    margin-left: 0;
    margin-right: 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .member-home {
    height: auto;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: visible;
  }

  .home-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 0;
    display: block;
    padding: 10px 10px 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(208, 150, 45, .35);
  }

  .home-logo {
    min-height: 44px;
    padding: 0 2px 8px;
  }

  .home-logo img {
    width: 40px;
    height: 40px;
  }

  .home-logo b {
    font-size: 16px;
  }

  .home-logo span,
  .home-sidebar .home-vip-card,
  .home-sidebar .home-message-card {
    display: none;
  }

  .home-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    scroll-snap-type: x proximity;
  }

  .home-nav button,
  .home-subnav button {
    min-width: 104px;
    height: 38px;
    flex: 0 0 auto;
    justify-content: center;
    padding: 0 10px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .home-nav button span {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-nav-group {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
  }

  .home-subnav,
  .home-nav-group:not(.open) .home-subnav {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .home-menu-caret {
    display: none;
  }

  .home-main,
  .member-home.vip-active .home-main,
  .member-home.coin-recharge-active .home-main,
  .member-home.activity-active .home-main,
  .member-home.income-active .home-main,
  .member-home.fans-active .home-main,
  .member-home.relation-active .home-main,
  .member-home.agent-active .home-main,
  .member-home.group-active .home-main,
  .member-home.strategy-active .home-main,
  .member-home.strategy-upload-active .home-main,
  .member-home.analyst-active .home-main,
  .member-home.analyst-application-active .home-main,
  .member-home.analyst-list-active .home-main,
  .member-home.ai-copy-active .home-main,
  .member-home.communication-active .home-main,
  .member-home.platform-build-active .home-main,
  .member-home.market-guess-active .home-main,
  .member-home.ea-active .home-main,
  .member-home.backtest-active .home-main,
  .member-home.arbitrage-active .home-main,
  .member-home.order-active .home-main,
  .member-home.message-active .home-main {
    display: block;
    min-height: 0;
    padding: 10px;
    overflow: visible;
  }

  .home-main > * {
    margin-bottom: 10px;
  }

  .home-topbar {
    height: auto;
    min-height: 44px;
    align-items: flex-start;
    flex-direction: column;
  }

  .home-user {
    width: 100%;
  }

  .home-actions {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-actions > * {
    flex: 0 0 auto;
  }

  .home-coin-wallet {
    min-width: 168px;
  }

  .home-switch-account-btn,
  .home-agent-status-btn {
    margin-left: 8px;
  }

  .home-stats,
  .home-footer-stats,
  .stats,
  .quick-actions,
  .metric-grid,
  .overview-grid,
  .income-stats,
  .rebate-stats,
  .video-audit-stats,
  .fund-center-stats,
  .menu-control-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  .home-hero,
  .home-market,
  .home-info-row,
  .home-card-row,
  .vip-center-view,
  .coin-recharge-view,
  .activity-center-view,
  .income-center-view,
  .fans-center-view,
  .member-relation-view,
  .agent-application-view,
  .member-group-view,
  .strategy-market-view,
  .strategy-upload-manage-view,
  .analyst-application-view,
  .analyst-list-view,
  .ai-copy-page,
  .communication-center-view,
  .platform-build-view,
  .market-guess-view,
  .ea-quant-page,
  .backtest-center-view,
  .quant-history-view,
  .arbitrage-monitor-view,
  .order-center-view,
  .message-center-view,
  .rebate-layout,
  .fund-center-grid,
  .menu-control-layout,
  .video-audit-layout,
  .video-audit-bottom,
  .doc-upload-form-card label {
    grid-template-columns: 1fr !important;
  }

  .home-hero,
  .home-card,
  .home-market,
  .vip-center-view,
  .coin-recharge-view,
  .activity-center-view,
  .income-center-view,
  .fans-center-view,
  .member-relation-view,
  .agent-application-view,
  .member-group-view,
  .strategy-market-view,
  .strategy-upload-manage-view,
  .analyst-application-view,
  .analyst-list-view,
  .ai-copy-page,
  .communication-center-view,
  .platform-build-view,
  .market-guess-view,
  .ea-quant-page,
  .backtest-center-view,
  .quant-history-view,
  .arbitrage-monitor-view,
  .order-center-view,
  .message-center-view {
    min-width: 0;
    width: 100%;
  }

  .home-business-feature,
  .home-business-table > div,
  .home-fans-table div,
  .home-fans-table p {
    grid-template-columns: 1fr !important;
  }

  .home-forex-list,
  .home-fans-stats {
    grid-template-columns: 1fr !important;
  }

  table {
    min-width: 680px;
  }

  .doc-upload-table-card,
  .market-table-card,
  .order-table-card,
  .fund-center-table-card,
  .rebate-card,
  .video-audit-table-wrap,
  .menu-control-table-card {
    overflow-x: auto;
  }

  .doc-upload-form-card label > em {
    grid-column: auto;
    justify-self: start;
    margin-top: 0;
  }

  .doc-upload-form-card footer {
    flex-direction: column;
  }

  .doc-upload-form-card footer button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .auth-panel,
  .auth-panel[data-mode="login"],
  .auth-panel[data-mode="register"],
  .auth-panel[data-mode="purchase"] {
    padding: 10px;
  }

  .benefit-grid,
  .home-stats,
  .home-footer-stats,
  .stats,
  .quick-actions,
  .metric-grid,
  .overview-grid,
  .income-stats,
  .rebate-stats,
  .video-audit-stats,
  .fund-center-stats,
  .menu-control-stats {
    grid-template-columns: 1fr !important;
  }

  .home-nav button,
  .home-subnav button {
    min-width: 96px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .auth-panel,
  .auth-panel[data-mode="login"] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    background:
      radial-gradient(circle at 50% -10%, rgba(255, 202, 91, .22), transparent 34%),
      linear-gradient(180deg, #11120f 0%, #050606 72%);
  }

  .auth-brand {
    display: grid !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    margin: 4px 0 0;
    padding: 4px 2px;
  }

  .auth-brand h2 {
    font-size: 24px;
  }

  .auth-brand p {
    margin-top: 2px;
    font-size: 13px;
  }

  .brand-slogan,
  .brand-features {
    display: none !important;
  }

  .auth-card {
    width: 100% !important;
    max-width: 100%;
    border-radius: 14px;
    padding: 14px;
    background: rgba(8, 10, 10, .86);
    border-color: rgba(255, 211, 107, .22);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
  }

  .auth-panel[data-mode="login"] .auth-card,
  .auth-panel[data-mode="login"] .auth-form,
  .login-methods,
  .login-options,
  .login-tabs,
  .password-toggle {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .auth-panel[data-mode="login"] .auth-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .auth-panel[data-mode="login"] .auth-form {
    display: grid !important;
    gap: 10px;
  }

  .auth-panel[data-mode="login"] .login-field {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
  }

  .password-toggle {
    justify-self: end;
    width: 44px !important;
    margin-top: -54px;
    margin-right: 4px;
    z-index: 2;
  }

  .login-tabs {
    margin-bottom: 12px;
  }

  .login-tabs strong {
    font-size: 19px;
  }

  .login-field,
  .register-control {
    min-height: 48px;
    border-radius: 10px;
  }

  .login-submit,
  .register-submit,
  .auth-form button[type="submit"] {
    min-height: 46px;
    border-radius: 10px;
    font-size: 16px;
  }

  .login-methods {
    position: static !important;
    width: 100% !important;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .login-methods span {
    min-width: 0;
    height: 36px;
    justify-content: center;
    padding: 0 6px;
    overflow: hidden;
    border-radius: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .login-footer {
    margin-top: auto;
    justify-content: center;
    font-size: 11px;
    line-height: 1.5;
  }

  .login-footer span:last-child {
    flex-basis: 100%;
    text-align: center;
  }

  .vip-showcase {
    overflow: hidden;
    border-radius: 14px;
  }

  .vip-benefits {
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
  }

  .vip-benefits header {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
  }

  .vip-benefits header b {
    font-size: 18px;
  }

  .vip-trial {
    padding: 14px;
    border-radius: 14px;
  }

  .vip-trial strong {
    font-size: 22px;
  }

  .member-home {
    background: linear-gradient(180deg, #060707 0%, #0d0d0b 100%);
  }

  .home-sidebar,
  .market-sidebar {
    border-bottom-color: rgba(218, 163, 61, .22);
    background: rgba(8, 9, 9, .96);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .32);
  }

  .home-nav {
    position: relative;
    min-height: 88px;
    align-items: start;
    padding-bottom: 44px;
  }

  .home-nav-group {
    display: block;
  }

  .home-nav button,
  .home-subnav button {
    min-width: 88px;
    height: 38px;
    gap: 5px;
    border-radius: 999px;
    font-size: 12px;
  }

  .home-menu-icon {
    width: 19px;
    height: 19px;
    padding: 2px;
  }

  .home-subnav,
  .home-nav-group:not(.open) .home-subnav {
    display: none;
  }

  .home-nav-group.open .home-subnav,
  .market-nav-group.open .home-subnav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 2px;
  }

  .home-nav-group.open .home-subnav button {
    min-width: 96px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
  }

  .home-main,
  .member-home.vip-active .home-main,
  .member-home.coin-recharge-active .home-main,
  .member-home.activity-active .home-main,
  .member-home.income-active .home-main,
  .member-home.fans-active .home-main,
  .member-home.relation-active .home-main,
  .member-home.agent-active .home-main,
  .member-home.group-active .home-main,
  .member-home.strategy-active .home-main,
  .member-home.strategy-upload-active .home-main,
  .member-home.analyst-active .home-main,
  .member-home.analyst-application-active .home-main,
  .member-home.analyst-list-active .home-main,
  .member-home.ai-copy-active .home-main,
  .member-home.communication-active .home-main,
  .member-home.platform-build-active .home-main,
  .member-home.market-guess-active .home-main,
  .member-home.ea-active .home-main,
  .member-home.backtest-active .home-main,
  .member-home.arbitrage-active .home-main,
  .member-home.order-active .home-main,
  .member-home.message-active .home-main {
    padding: 12px;
  }

  .home-topbar {
    padding: 10px;
    border: 1px solid rgba(218, 163, 61, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
  }

  .home-user {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .home-user > div:nth-child(2) {
    min-width: 0;
    flex: 1 1 180px;
  }

  .home-user b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-switch-account-btn,
  .home-agent-status-btn {
    margin-left: 0;
  }

  .home-coin-wallet {
    width: 100%;
    min-width: 0;
  }

  .home-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .home-actions button {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .home-hero {
    min-height: 128px;
    padding: 18px;
    border-radius: 14px;
  }

  .home-hero h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .home-hero p {
    font-size: 13px;
  }

  .home-card,
  .home-market,
  .section-card,
  .vip-center-view,
  .coin-recharge-view,
  .activity-center-view,
  .income-center-view,
  .fans-center-view,
  .member-relation-view,
  .agent-application-view,
  .member-group-view,
  .strategy-market-view,
  .strategy-upload-manage-view,
  .analyst-application-view,
  .analyst-list-view,
  .ai-copy-page,
  .communication-center-view,
  .platform-build-view,
  .market-guess-view,
  .ea-quant-page,
  .backtest-center-view,
  .arbitrage-monitor-view,
  .order-center-view,
  .message-center-view {
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .login-methods {
    grid-template-columns: 1fr;
  }

  .home-nav button,
  .home-subnav button {
    min-width: 82px;
  }
}

.member-home .home-subnav button {
  font-weight: 400 !important;
}

.auth-gate.forgot-mode {
  align-items: stretch;
  justify-content: stretch;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 203, 104, .12), transparent 34%),
    linear-gradient(180deg, #0d1117 0%, #05070a 54%, #010203 100%);
}

.auth-gate.forgot-mode #authPanel {
  display: none !important;
}

.forgot-password-view {
  width: 100%;
  min-height: 100vh;
  padding: 24px 5vw 46px;
  color: #f8efd9;
  background:
    radial-gradient(circle at 52% 16%, rgba(255, 218, 140, .08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 38%);
}

.forgot-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(213, 170, 92, .18);
}

.forgot-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.forgot-logo img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(246, 185, 66, .22);
}

.forgot-logo strong {
  display: block;
  color: #ffd982;
  font-size: 25px;
  line-height: 1.1;
}

.forgot-logo span {
  color: #f2d18a;
  font-size: 14px;
}

.forgot-back {
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #f4c86e;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.forgot-title {
  margin: 46px auto 30px;
  text-align: center;
}

.forgot-title h1 {
  margin: 0;
  color: #f8cf76;
  font-size: 34px;
  letter-spacing: 0;
}

.forgot-title p {
  margin: 12px 0 0;
  color: rgba(247, 238, 219, .72);
  font-size: 17px;
}

.forgot-reset-grid {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.forgot-step-card {
  min-height: 660px;
  padding: 40px 48px 46px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 218, 140, .08), transparent 32%),
    linear-gradient(145deg, rgba(22, 26, 31, .96), rgba(7, 10, 13, .95));
  box-shadow: 0 22px 64px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.forgot-step-card-disabled {
  opacity: .78;
}

.forgot-step-card-ready {
  opacity: 1;
  border-color: rgba(245, 194, 94, .34);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .38), 0 0 34px rgba(230, 176, 70, .08);
}

.forgot-step-line {
  position: relative;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-step-line::before,
.forgot-step-line::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(231, 184, 91, .4), transparent);
}

.forgot-step-line span {
  width: 60px;
  height: 60px;
  margin: 0 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 194, 98, .76);
  border-radius: 50%;
  color: #f8d27a;
  font-size: 24px;
  font-weight: 900;
  background: rgba(12, 10, 7, .78);
  box-shadow: 0 0 28px rgba(237, 180, 72, .16);
}

.forgot-step-card h2 {
  margin: 28px 0 8px;
  text-align: center;
  color: #f6cf78;
  font-size: 27px;
  letter-spacing: 0;
}

.forgot-step-card > p {
  margin: 0 0 38px;
  text-align: center;
  color: rgba(247, 238, 219, .62);
  font-size: 16px;
}

.forgot-form {
  display: grid;
  gap: 24px;
}

.forgot-field {
  display: grid;
  gap: 12px;
  color: #f8efd9;
  font-size: 16px;
  font-weight: 700;
}

.forgot-field em {
  color: rgba(247, 238, 219, .58);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.forgot-input-wrap {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .015) inset;
}

.forgot-input-wrap:focus-within {
  border-color: rgba(244, 199, 111, .55);
  box-shadow: 0 0 0 3px rgba(244, 199, 111, .08);
}

.forgot-input-wrap i,
.forgot-input-wrap svg {
  width: 22px;
  height: 22px;
  color: #f3c567;
}

.forgot-input-wrap input {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff3d1;
  font-size: 16px;
  font-weight: 600;
}

.forgot-input-wrap input::placeholder {
  color: rgba(255, 255, 255, .36);
}

.forgot-input-wrap.has-eye {
  grid-template-columns: 34px minmax(0, 1fr) 36px;
}

.forgot-eye {
  width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  cursor: pointer;
}

.forgot-eye.active {
  color: #f8d277;
}

.forgot-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 14px;
}

.forgot-outline-btn,
.forgot-primary-btn {
  border: 1px solid rgba(241, 196, 105, .78);
  border-radius: 8px;
  color: #1c1305;
  font-weight: 900;
  cursor: pointer;
}

.forgot-outline-btn {
  min-height: 58px;
  background: rgba(19, 17, 13, .65);
  color: #f8d27a;
}

.forgot-outline-btn:disabled,
.forgot-primary-btn:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.forgot-hint,
.forgot-success {
  min-height: 22px;
  margin: -6px 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 238, 219, .64);
  font-size: 14px;
  font-weight: 400;
}

.forgot-hint svg,
.forgot-success svg {
  width: 15px;
  height: 15px;
}

.forgot-success {
  justify-content: center;
  color: #37d97c;
}

.forgot-primary-btn {
  min-height: 64px;
  margin-top: 8px;
  border-color: rgba(255, 223, 137, .8);
  background: linear-gradient(180deg, #ffe18d 0%, #e6b044 100%);
  box-shadow: 0 18px 34px rgba(198, 129, 34, .22), 0 1px 0 rgba(255, 255, 255, .5) inset;
  font-size: 20px;
}

.forgot-step-arrow {
  color: rgba(237, 187, 89, .72);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -4px;
  text-align: center;
}

.forgot-notice {
  width: min(700px, calc(100% - 24px));
  min-height: 26px;
  margin: 22px auto 0;
  text-align: center;
  color: #f6d37c;
  font-size: 14px;
}

.forgot-notice.error {
  color: #ff7373;
}

.forgot-notice.success {
  color: #36d879;
}

@media (max-width: 960px) {
  .forgot-password-view {
    padding: 18px 18px 34px;
  }

  .forgot-reset-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .forgot-step-arrow {
    display: none;
  }

  .forgot-step-card {
    min-height: auto;
    padding: 28px 22px 30px;
  }
}

@media (max-width: 560px) {
  .forgot-header {
    height: auto;
    align-items: flex-start;
    padding-bottom: 14px;
  }

  .forgot-logo strong {
    font-size: 20px;
  }

  .forgot-title {
    margin: 28px auto 20px;
  }

  .forgot-title h1 {
    font-size: 28px;
  }

  .forgot-title p {
    font-size: 14px;
  }

  .forgot-code-row {
    grid-template-columns: 1fr;
  }

  .forgot-primary-btn {
    min-height: 54px;
    font-size: 17px;
  }
}
