:root {
  --bg: #01193b;
  --bg-header: rgba(1, 25, 59, 0.92);
  --card: #03255a;
  --card2: #01193e;
  --gold: #c48b28;
  --gold-deep: #d9bb7f;
  --gold-line: rgba(162, 188, 253, 0.45);
  --text: #ffffff;
  --muted: #94a3b8;
  --buy: #2fa500;
  --sell: #ff3a3a;
  --navy: #01193b;
  --border: #a2bcfd;
  --input: rgba(0, 15, 52, 0.65);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, Helvetica, sans-serif;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

.page {
  width: 100%;
  height: 100%;
  background: var(--bg) url("../imgs/app-theme-bg.png") no-repeat center bottom / cover;
}

.top {
  position: relative;
  z-index: 60;
  display: table;
  width: 100%;
  height: 8vh;
  border-bottom: 1px solid var(--gold-line);
  background: var(--bg-header);
  table-layout: fixed;
}

.top-cell {
  display: table-cell;
  vertical-align: middle;
  width: 33.33%;
  padding: 0 1.2vw;
}

.top-left {
  text-align: left;
  color: var(--gold-deep);
  font-size: 0.85vw;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.icon-btn {
  display: inline-block;
  width: 2.2vw;
  height: 2.2vw;
  margin-right: 0.5vw;
  border: 1px solid var(--gold);
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  line-height: 2.1vw;
  color: var(--gold);
  background: var(--card);
}

.icon-btn svg {
  vertical-align: middle;
}

.user-wrap {
  position: relative;
  display: inline-block;
  margin-left: 0.6vw;
  vertical-align: middle;
  text-align: left;
}

.user-chip {
  display: inline-block;
  padding: 0.45vh 0.9vw 0.45vh 0.55vw;
  border: 1px solid var(--gold);
  border-radius: 2vw;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.login-pop {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  width: 210px;
  padding: 12px 10px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.login-pop.show {
  display: block;
}

.login-pop p {
  margin: 0 0 10px;
  color: #111;
  font-size: 16px;
}

#popGuest.hide {
  display: none;
}

#popUser {
  display: none;
}

#popUser.show {
  display: block;
}

.gold-btn {
  display: inline-block;
  width: 70%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #3a2e18;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
}

.gold-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.login-wrap {
  position: relative;
  z-index: 2;
  display: table;
  width: 100%;
  height: 100%;
}

.login-inner {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 24px 16px;
}

.login-card {
  position: relative;
  display: inline-block;
  width: 92%;
  max-width: 420px;
  padding: 28px 28px 26px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(120, 90, 40, 0.16);
  color: var(--text);
}

.login-logo {
  display: block;
  width: min(260px, 88%);
  height: auto;
  max-height: 88px;
  margin: 4px auto 10px;
  mix-blend-mode: normal;
  object-fit: contain;
}

.login-kicker {
  margin: 0 0 4px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-align: center;
}

.login-title {
  margin: 0;
  color: var(--gold-deep);
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-align: center;
}

.login-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.login-denied {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 22px;
}

.login-denied.show {
  display: flex;
}

.login-denied-card {
  width: 100%;
  max-width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.login-denied-title {
  margin: 0 0 8px;
  color: #111;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.login-denied-msg {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.login-denied-ok {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #e5e7eb;
  color: #111;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
}

.login-card label {
  display: block;
  margin: 16px 0 6px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-card label sup {
  color: #d13b3b;
}

.login-field {
  display: table;
  width: 100%;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: var(--input);
}

.login-field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 163, 106, 0.18);
}

.login-ico {
  display: table-cell;
  width: 42px;
  color: var(--gold-deep);
  text-align: center;
  vertical-align: middle;
}

.login-field input {
  display: table-cell;
  width: 100%;
  padding: 12px 14px 12px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.login-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin: 22px 0 0;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 18px rgba(201, 163, 106, 0.28);
}

.login-contact {
  margin-top: 22px;
}

.login-contact.hide {
  display: none;
}

.login-or {
  display: table;
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.16em;
}

.login-or i,
.login-or b {
  display: table-cell;
  vertical-align: middle;
}

.login-or i {
  height: 1px;
  background: var(--gold-line);
}

.login-or b {
  width: 1%;
  padding: 0 10px;
  white-space: nowrap;
  font-weight: bold;
}

.login-social {
  margin-top: 14px;
  text-align: center;
}

.login-social-btn {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin: 0 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
  background: #fffaf2;
  line-height: 42px;
  text-align: center;
}

.login-social-btn svg {
  vertical-align: middle;
}

#loginFields.hide {
  display: none;
}

#otpFields {
  display: none;
  text-align: center;
}

#otpFields.show {
  display: block;
}

.otp-help {
  margin: 18px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.otp-row {
  text-align: center;
}

.otp {
  width: 52px;
  height: 58px;
  margin: 0 6px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: var(--input);
  color: var(--text);
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  font-family: inherit;
}

.otp:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 163, 106, 0.18);
}

.modal.login-required .login-card {
  box-shadow: 0 22px 60px rgba(120, 90, 40, 0.18);
}

.user-chip svg {
  vertical-align: middle;
  margin-right: 0.4vw;
  color: var(--gold);
}

.user-chip span {
  display: inline-block;
  vertical-align: middle;
}

.user-name {
  display: block !important;
  color: var(--text);
  font-size: 0.7vw;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.user-id {
  display: block !important;
  color: var(--muted);
  font-size: 0.62vw;
}

.top-center {
  text-align: center;
}

.top-right {
  text-align: right;
  white-space: nowrap;
}

.logo {
  width: min(280px, 42vw);
  height: auto;
  max-height: 72px;
  vertical-align: middle;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
}

.phone-dot {
  display: none;
}

.clock,
.live-badge,
.live-dot {
  display: none;
}

.title-row {
  padding: 0.8vh 0;
  text-align: center;
  color: var(--text);
  font-size: 1.05vw;
  font-weight: bold;
  letter-spacing: 0.18em;
  border-bottom: 0;
}

.title-row .spark {
  display: none;
}

.line {
  display: inline-block;
  width: 7vw;
  height: 2px;
  margin: 0 0.8vw;
  vertical-align: middle;
  background: var(--gold);
}

.kyc {
  padding: 0.6vh 1.5vw;
  color: var(--muted);
  font-size: 0.85vw;
  text-align: right;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-line);
  background: var(--bg-header);
}

.tabs {
  padding: 1.2vh 1.2vw 0.4vh;
  text-align: center;
  white-space: nowrap;
}

.tabs.tabs-one {
  max-width: 42vw;
  margin: 1.2vh auto 0.4vh;
  padding: 0.5vh;
  border: 0;
  border-radius: 1.2vw;
  background: transparent;
}

.tab {
  display: inline-block;
  margin: 0 0.4vw;
  padding: 0.7vh 2.4vw;
  border: 0;
  background: var(--gold-line);
  color: #5c4a2e;
  font-size: 0.88vw;
  font-weight: bold;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 2vh;
}

.tab.on {
  border-color: var(--gold);
  background: var(--gold);
  color: #3a2e18;
  box-shadow: 0 6px 16px rgba(201, 163, 106, 0.28);
}

.layout {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2vh clamp(12px, 2vw, 28px) 7.5rem;
  box-sizing: border-box;
}

.col-main {
  display: block;
  width: 100%;
  vertical-align: top;
  padding-right: 0;
}

.col-side {
  display: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: clamp(8px, 0.8vw, 14px);
  width: 100%;
}

.card {
  display: block;
  padding: 1.2vh 0.8vw 1vh;
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: 1vw;
  vertical-align: top;
  box-shadow: 0 8px 18px rgba(120, 90, 40, 0.06);
}

.card-top {
  display: table;
  width: 100%;
}

.card-icon,
.card-info {
  display: table-cell;
  vertical-align: top;
}

.card-icon {
  width: 3.2vw;
}

.metal-icon {
  width: 2.6vw;
  height: 2.6vw;
  object-fit: contain;
  vertical-align: middle;
}

.metal-icon-sm {
  width: 1.7vw;
  height: 1.7vw;
  object-fit: contain;
  vertical-align: middle;
}

.card-title {
  color: var(--gold-deep);
  font-size: 0.72vw;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.card-price {
  margin-top: 0.3vh;
  color: var(--text);
  font-size: 1.05vw;
  font-weight: bold;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.card-hl {
  display: table;
  width: 100%;
  margin-top: 1vh;
  padding-top: 0.8vh;
  border-top: 1px solid var(--gold-line);
  color: var(--muted);
  font-size: 0.62vw;
}

.card-hl span {
  display: table-cell;
  vertical-align: middle;
}

.hl-col {
  width: 50%;
}

.card-hl b {
  color: var(--gold-deep);
  font-weight: normal;
  margin-right: 0.35em;
}

.card-hl i {
  font-style: normal;
  white-space: nowrap;
}

.hl-mid {
  width: 1px;
  background: var(--gold-line);
}

.hl-right {
  text-align: right;
}

.section-label {
  margin: 1.8vh 0 0.8vh;
  color: var(--text);
  font-size: 0.85vw;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.prod-head {
  display: table;
  width: 100%;
  table-layout: fixed;
  padding: 0 1vw 0.8vh;
  color: var(--muted);
  font-size: 0.75vw;
  text-transform: uppercase;
}

.prod-head span {
  display: table-cell;
}

.prod-head .buy,
.prod-head .sell {
  width: 22%;
  text-align: center;
}

.prod-head .buy {
  color: var(--buy);
}

.prod-head .sell {
  color: var(--sell);
}

#products {
  overflow: auto;
}

.prod-row {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin-top: 0.9vh;
  padding: 1.3vh 1vw;
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: 1.1vw;
  box-shadow: 0 8px 18px rgba(120, 90, 40, 0.05);
}

.prod-row > div {
  display: table-cell;
  vertical-align: middle;
}

.prod {
  color: var(--text);
  font-size: 1.05vw;
  font-weight: bold;
}

.icon-wrap {
  display: inline-block;
  width: 2.4vw;
  height: 2.4vw;
  margin-right: 0.55vw;
  border: 1px solid var(--gold);
  background: var(--input);
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  line-height: 2.3vw;
}

.buy-col,
.sell-col {
  width: 22%;
  text-align: center;
}

.buy-val {
  color: var(--text);
  font-size: 1.35vw;
  font-weight: bold;
  white-space: nowrap;
}

.sell-val {
  color: var(--text);
  font-size: 1.35vw;
  font-weight: bold;
  white-space: nowrap;
}

.sub {
  display: block;
  margin-top: 0.3vh;
  color: var(--muted);
  font-size: 0.75vw;
  font-weight: normal;
}

.buy-col .sub {
  color: var(--sell) !important;
}

.sell-col .sub {
  color: var(--buy) !important;
}

.panel {
  margin-bottom: 1.4vh;
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: 0.8vw;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(120, 90, 40, 0.05);
}

.panel h2 {
  margin: 0;
  padding: 1vh 0.8vw;
  color: #3a2e18;
  font-size: 0.95vw;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  border-bottom: 1px solid var(--gold-line);
  background: #f3ead8;
}

.panel .body {
  padding: 1.2vh 1vw 1.6vh;
  color: var(--muted);
  font-size: 0.85vw;
  line-height: 1.5;
}

.panel p {
  margin: 0 0 0.9vh;
}

.terminal {
  text-align: center;
}

.term-row {
  margin: 1.1vh 0;
  color: var(--text);
  font-size: 1vw;
  text-transform: uppercase;
}

.term-box {
  display: inline-block;
  margin-left: 0.8vw;
  border: 1px solid var(--gold);
  border-radius: 4px;
  vertical-align: middle;
  background: var(--input);
}

.term-box b,
.term-box i {
  display: inline-block;
  padding: 0.25vh 0.55vw;
  font-style: normal;
  font-weight: normal;
}

.term-box b {
  border-right: 1px solid var(--gold);
  min-width: 3vw;
}

.trust {
  padding: 1.2vh 1vw;
  border: 1px solid var(--gold-line);
  background: #f3ead8;
  border-radius: 0.8vw;
}

.trust b {
  display: block;
  color: var(--gold-deep);
  font-size: 0.8vw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust span {
  display: block;
  margin-top: 0.4vh;
  color: var(--muted);
  font-size: 0.8vw;
}

.bottom-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.6rem 0.8rem 1.1rem;
  text-align: center;
}

.nav-toggle {
  position: fixed;
  right: 1.1vw;
  bottom: 1.1vw;
  z-index: 61;
  width: 3.2vw;
  height: 3.2vw;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

body.nav-hidden .bottom-wrap {
  display: none;
}

body.nav-hidden .layout {
  padding-bottom: 2.4rem;
}

.bottom-nav {
  display: table;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  table-layout: fixed;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(120, 90, 40, 0.12);
}

.nav-item {
  display: table-cell;
  color: #9a9084;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: inherit;
}

.nav-item svg {
  margin-right: 6px;
  vertical-align: middle;
}

.nav-live .live-pill {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--gold);
  border-radius: 999px;
  box-shadow: none;
}

.nav-live .live-pill span {
  vertical-align: middle;
}

.nav-mobile {
  display: none;
}

.buy-col,
.sell-col {
  cursor: pointer;
}

.trust-mobile {
  display: none;
}

.drawer-bg,
.drawer,
.modal {
  display: none;
}

.drawer-bg.show,
.modal.show {
  display: block;
}

.drawer-bg {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(28, 25, 20, 0.35);
}

.drawer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 90;
  width: 320px;
  max-width: 90%;
  padding: 18px 14px;
  background: var(--bg);
  overflow: auto;
}

.drawer.show {
  display: block;
}

.drawer-user {
  display: table;
  width: 100%;
  margin-bottom: 22px;
  padding: 10px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--text);
  background: var(--card);
}

.drawer-user svg,
.drawer-user span {
  display: table-cell;
  vertical-align: middle;
}

.drawer-user svg {
  width: 36px;
  color: var(--gold);
}

.drawer-user b {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

.drawer-user i {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 10px;
}

.drawer-link {
  display: block;
  width: 100%;
  padding: 14px 4px;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.drawer-link.on {
  color: var(--gold-deep);
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

.modal-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 25, 20, 0.28);
}

.modal.login-required .modal-close {
  display: none;
}

.modal.login-required .modal-bg {
  background: var(--bg);
}

body.login-locked .page,
body.login-locked .drawer,
body.login-locked .drawer-bg,
body.login-locked .nav-toggle {
  visibility: hidden;
}

.modal-box {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 380px;
  margin: 10vh auto 0;
  padding: 18px 12px 22px;
  background: var(--card);
  border-radius: 12px;
  color: var(--text);
  box-shadow: 0 16px 40px rgba(120, 90, 40, 0.18);
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  line-height: 28px;
}

.modal-box h3 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.order-card {
  max-width: 340px;
  margin: 0 auto;
  padding: 16px 14px 18px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: var(--bg-header);
}

.order-title {
  margin: 0;
  color: var(--gold-deep);
  font-size: 17px;
  font-weight: bold;
  text-align: center;
}

.mode-switch {
  display: table;
  width: 100%;
  margin-top: 16px;
  padding: 8px 6px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: var(--card);
  table-layout: fixed;
  text-align: center;
}

.mode,
.mode-bar {
  display: table-cell;
  vertical-align: middle;
}

.mode {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.mode.on {
  color: var(--text);
  border-bottom: 1px solid var(--gold);
}

.mode-bar {
  color: var(--muted);
  width: 20px;
}

.bidask {
  display: table;
  width: 100%;
  margin-top: 16px;
  table-layout: fixed;
  text-align: center;
}

.bidask > div {
  display: table-cell;
}

.bidask span {
  display: block;
  color: var(--text);
  font-size: 17px;
}

.bidask .bid {
  display: block;
  margin-top: 4px;
  color: #ef4444;
  font-size: 16px;
}

.bidask .ask {
  display: block;
  margin-top: 4px;
  color: #22c55e;
  font-size: 16px;
}

.qty-row {
  display: table;
  width: 100%;
  margin-top: 16px;
  table-layout: fixed;
}

.qty-row span,
.qty-row select,
.qty-row input {
  display: table-cell;
  vertical-align: middle;
}

.qty-row span {
  color: var(--text);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 50%;
}

.qty-row select,
.qty-row input {
  width: 112px;
  padding: 8px 10px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
}

#limitRow {
  display: none;
}

#limitRow.show {
  display: table;
}

.order-btns {
  display: table;
  width: 100%;
  margin-top: 20px;
  table-layout: fixed;
  border-spacing: 12px 0;
}

.order-btns button {
  display: table-cell;
  width: 48%;
  padding: 12px 8px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
}

.btn-sell {
  background: #ef4444;
}

.btn-buy {
  background: #22c55e;
}

.toast {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: #fff;
  border-radius: 8px;
  transform: translateX(-50%);
  font-size: 14px;
  white-space: nowrap;
}

.toast.show {
  display: block;
}

.view-panel {
  display: none;
}

.view-panel.show {
  display: block;
}

.page.scrollable {
  overflow: auto;
  height: auto;
  min-height: 100%;
}

html.scrollable,
body.scrollable {
  overflow: auto;
  height: auto;
  min-height: 100%;
}

.order-tabs {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin-bottom: 1.6vh;
  padding: 0.8vh 0.4vw;
  border: 1px solid var(--gold-line);
  border-radius: 1vw;
  background: var(--card);
  text-align: center;
}

.order-tab {
  display: table-cell;
  padding: 0.7vh 0.4vw;
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  font-size: 0.95vw;
  font-weight: bold;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
}

.order-tab.on {
  color: var(--text);
  border-bottom: 2px solid var(--gold);
}

.trade-head,
.trade-row {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.trade-head {
  padding: 0 0.8vw 0.8vh;
  color: var(--text);
  font-size: 0.85vw;
  font-weight: bold;
}

.trade-head span,
.trade-row > span {
  display: table-cell;
  vertical-align: middle;
}

.trade-head span:first-child,
.trade-row > span:first-child {
  width: 10%;
}

.trade-head span:nth-child(n + 3),
.trade-row > span:nth-child(n + 3) {
  width: 16%;
  text-align: center;
}

.trade-card {
  margin-top: 0.9vh;
  padding: 1.2vh 0.8vw 1vh;
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: 1vw;
  cursor: default;
  box-shadow: 0 8px 18px rgba(120, 90, 40, 0.05);
}

.trade-card.can-edit {
  cursor: pointer;
}

.trade-row {
  color: var(--text);
  font-size: 0.95vw;
  font-weight: bold;
}

.trade-meta {
  margin-top: 0.7vh;
  color: var(--muted);
  font-size: 0.72vw;
}

.trade-meta span {
  display: inline-block;
  margin-right: 1.4vw;
}

.margin-grid {
  display: table;
  width: 100%;
  max-width: 920px;
  margin: 4vh auto 0;
  table-layout: fixed;
  border-spacing: 1.6vw 0;
}

.margin-grid .panel {
  display: table-cell;
  width: 50%;
  vertical-align: top;
}

.empty-screen,
.notify-list {
  max-width: 720px;
  margin: 4vh auto 0;
  padding: 0 1.5vw 8rem;
}

.empty-screen {
  color: var(--muted);
  text-align: center;
  font-size: 1.1vw;
}

.notify-item {
  margin-top: 1vh;
  padding: 1.4vh 1vw;
  border: 1px solid var(--gold-line);
  background: var(--card);
  border-radius: 0.8vw;
}

.notify-item b {
  display: block;
  color: var(--gold-deep);
  font-size: 0.95vw;
}

.notify-item p {
  margin: 0.5vh 0 0;
  color: var(--text);
  font-size: 0.85vw;
}

.notify-item i {
  display: block;
  margin-top: 0.5vh;
  color: var(--muted);
  font-size: 0.7vw;
  font-style: normal;
}

.nav-item.on,
.nav-live,
.nav-live-mob {
  color: var(--gold-deep);
}

@media (max-width: 768px) {
  html,
  body,
  .page {
    overflow: auto;
    height: auto;
    min-height: 100%;
  }

  .top {
    height: 68px;
  }

  .top-cell {
    padding: 0 10px;
  }

  #phoneText,
  .user-wrap,
  .kyc,
  .col-side,
  .nav-desktop,
  .title-row .line {
    display: none !important;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    line-height: 32px;
    margin-right: 0;
  }

  .logo {
    width: min(220px, 72vw);
    max-height: 56px;
    height: auto;
  }

  .live-head {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 10px 12px 6px;
  }

  .trade-info {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .live-head-title {
    font-size: 15px;
  }

  .live-head-sub {
    font-size: 11px;
  }

  .trade-info-text strong,
  .trade-info-text span {
    font-size: 11px;
  }

  .products-head-left {
    font-size: 12px;
  }

  .badge-buy,
  .badge-sell {
    font-size: 10px;
    margin-left: 6px;
    padding: 4px 8px;
  }

  .title-row {
    font-size: 11px;
    letter-spacing: 0.22em;
    padding: 10px 0;
    color: var(--text);
  }

  .title-row .spark {
    display: inline;
    margin: 0 8px;
  }

  .tabs,
  .tabs.tabs-one {
    max-width: none;
    margin: 10px 12px 0;
    padding: 2px;
    border-radius: 16px;
  }

  .tab {
    min-width: 0;
    padding: 8px 18px;
    font-size: 11px;
  }

  .tabs.tabs-one .tab {
    min-width: 72%;
  }

  .layout {
    display: block;
    max-width: none;
    padding: 12px 12px 110px;
  }

  .col-main {
    display: block;
    width: 100%;
    padding: 0;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    white-space: normal;
  }

  .card {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-right: 0;
    padding: 12px;
    white-space: normal;
    vertical-align: top;
    min-height: 118px;
    height: auto;
    box-sizing: border-box;
  }

  .card-icon {
    width: 40px;
  }

  .metal-icon {
    width: 40px;
    height: 40px;
  }

  .card-title {
    font-size: 10px;
  }

  .card-price {
    font-size: 18px;
  }

  .card-hl {
    font-size: 10px;
    table-layout: fixed;
    margin-top: 10px;
    padding-top: 8px;
  }

  .card-hl b,
  .card-hl i {
    display: block;
    margin-right: 0;
  }

  .card-hl i {
    margin-top: 2px;
    font-size: 11px;
  }

  .hl-col {
    vertical-align: top;
  }

  .section-label {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .products-wrap {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .prod-head {
    font-size: 11px;
    padding: 0 2px 8px;
    border-bottom: 0;
  }

  #products {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .prod-row {
    margin-top: 0;
    padding: 14px 12px;
    border: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    border-radius: 16px;
    background: var(--card);
    margin-bottom: 10px;
  }

  .prod {
    font-size: 13px;
  }

  .icon-wrap {
    width: 36px;
    height: 36px;
    line-height: 34px;
  }

  .metal-icon-sm {
    width: 24px;
    height: 24px;
  }

  .buy-val,
  .sell-val {
    font-size: 16px;
  }

  .sub {
    font-size: 10px;
  }

  .trust-mobile {
    display: block;
    margin-top: 18px;
    padding: 14px 12px;
  }

  .trust-mobile b {
    font-size: 11px;
  }

  .trust-mobile span {
    font-size: 10px;
  }

  .bottom-wrap {
    padding: 28px 8px 12px;
    overflow: visible;
  }

  .nav-toggle {
    right: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  body.nav-hidden .layout {
    padding-bottom: 70px;
  }

  .nav-mobile {
    display: table !important;
    width: 100% !important;
    max-width: none;
    padding: 10px 8px 10px;
    border-radius: 28px;
    table-layout: fixed !important;
    border-spacing: 8px 0;
    overflow: visible;
    position: relative;
  }

  .nav-mobile .nav-item {
    display: table-cell !important;
    width: 20%;
    font-size: 9px;
    color: #9a9084;
    font-weight: bold;
    vertical-align: bottom;
    height: 58px;
    padding: 0 2px;
    white-space: normal;
  }

  .nav-mobile .nav-item svg {
    display: block !important;
    margin: 0 auto 4px !important;
  }

  .nav-mobile .nav-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .live-circle {
    display: block;
    width: 52px;
    height: 52px;
    margin: -26px auto 4px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: var(--card);
    box-shadow: 0 6px 16px rgba(201, 163, 106, 0.22);
    line-height: 48px;
    text-align: center;
    color: var(--gold);
  }

  .nav-mobile .nav-live-mob .live-circle svg {
    display: inline-block !important;
    margin: 0 !important;
    vertical-align: middle;
  }

  .nav-live-mob {
    color: var(--gold-deep) !important;
    position: relative;
    top: 0;
    overflow: visible;
  }

  .toast {
    bottom: 108px;
    white-space: normal;
    max-width: 86%;
    text-align: center;
  }

  .order-tabs {
    margin: 0 0 12px;
    padding: 6px 4px;
    border-radius: 12px;
  }

  .order-tab {
    font-size: 12px;
    padding: 8px 4px;
  }

  .trade-head,
  .trade-row {
    font-size: 12px;
  }

  .trade-meta {
    font-size: 10px;
  }

  .margin-grid {
    display: block;
    width: auto;
    margin: 16px 12px 0;
    border-spacing: 0;
  }

  .margin-grid .panel {
    display: block;
    width: 100%;
    margin-bottom: 14px;
  }

  .empty-screen,
  .notify-item b,
  .notify-item p {
    font-size: 14px;
  }

  .empty-screen,
  .notify-list {
    margin-top: 18px;
    padding: 0 12px 110px;
  }

  .login-card {
    width: 100%;
    max-width: 360px;
    padding: 22px 18px 20px;
  }

  .login-title {
    font-size: 24px;
  }

  .otp {
    width: 46px;
    height: 52px;
    margin: 0 4px;
  }
}

.empty {
  padding: 4vh 1vw;
  color: var(--muted);
  text-align: center;
  font-size: 1.2vw;
}

.green {
  color: var(--buy) !important;
}

.red {
  color: var(--sell) !important;
}

.white {
  color: var(--text) !important;
}

/* === New design (gemlay-bullion-new-app) === */
.top {
  border-bottom: 1px solid var(--gold-line);
  background: var(--bg-header);
}

.icon-btn {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  background: rgba(0, 15, 52, 0.55);
}

.user-chip {
  border-color: var(--border);
  background: rgba(0, 15, 52, 0.55);
  color: var(--text);
}

.user-name {
  color: var(--text) !important;
}

.user-id {
  color: var(--muted) !important;
}

.top-center .logo {
  mix-blend-mode: normal;
  filter: none;
  display: inline-block;
}

.page:not(.scrollable) #pageTitleRow {
  display: none;
}

.kyc {
  background: rgba(0, 15, 52, 0.45);
  color: var(--muted);
  border-bottom-color: var(--gold-line);
}

.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 20px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.8vh clamp(12px, 2vw, 28px) 0.6vh;
  box-sizing: border-box;
}

.live-head-left {
  flex: 1 1 auto;
  min-width: 0;
}

.live-head-title {
  color: var(--text);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.live-head-title svg {
  vertical-align: middle;
  margin-right: 0.35vw;
  color: var(--gold);
}

.live-head-title span {
  vertical-align: middle;
}

.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.live-head-sub {
  margin: 0.3vh 0 0;
  color: var(--muted);
  font-size: clamp(10px, 0.72vw, 13px);
}

.trade-info {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  min-width: 168px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1.2px solid rgba(133, 167, 252, 0.35);
  border-radius: 16px;
  background: linear-gradient(90deg, var(--card), var(--card2));
  margin-left: auto;
}

.trade-info-text {
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}

.trade-info-text strong {
  display: block;
  color: var(--buy);
  font-size: clamp(10px, 0.72vw, 12px);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.trade-info-text strong.closed {
  color: var(--sell);
}

.trade-info-text span {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-size: clamp(11px, 0.82vw, 14px);
  white-space: nowrap;
}

.trade-status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
  background: #22c55e;
}

.trade-status-dot.closed {
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.18);
  background: #ef4444;
}

#viewLive .tabs {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.tabs {
  margin: 0.6vh clamp(12px, 2vw, 28px) 0;
  padding: 3px;
  border: 1.2px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}

.tab {
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
}

.tab.on {
  background: linear-gradient(90deg, #003074, #022454);
  color: var(--text);
  box-shadow: none;
}

.card {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--card), var(--card2));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.card-title {
  color: var(--text);
  text-align: center;
}

.card-top {
  display: block;
  text-align: center;
}

.card-icon {
  display: block;
  width: auto;
  text-align: center;
  margin-bottom: 6px;
}

.card-info {
  display: block;
  text-align: center;
}

.card-hl {
  border-top-color: rgba(162, 188, 253, 0.35);
  color: var(--muted);
}

.card-hl .hl-low {
  color: var(--sell);
}

.card-hl .hl-high {
  color: var(--buy);
}

.products-head {
  display: table;
  width: 100%;
  margin: 1.8vh 0 0.8vh;
  padding: 0 0.2vw;
  table-layout: fixed;
}

.products-head-left,
.products-badges {
  display: table-cell;
  vertical-align: middle;
}

.products-head-left {
  color: var(--text);
  font-size: 0.85vw;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.products-head-left svg {
  vertical-align: middle;
  margin-right: 0.4vw;
  color: var(--gold-deep);
}

.products-badges {
  text-align: right;
  white-space: nowrap;
}

.badge-buy,
.badge-sell {
  display: inline-block;
  margin-left: 0.8vw;
  padding: 0.35vh 0.7vw;
  border-radius: 8px;
  font-size: 0.68vw;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge-buy {
  color: var(--buy);
  border: 1px solid rgba(47, 165, 0, 0.45);
}

.badge-sell {
  color: var(--sell);
  border: 1px solid rgba(255, 58, 58, 0.45);
}

.prod-row {
  border: 1px solid var(--border);
  background: linear-gradient(90deg, var(--card), var(--card2));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.prod {
  color: var(--text);
}

.icon-wrap {
  border-color: var(--gold);
  background: rgba(0, 15, 52, 0.5);
}

.buy-val,
.sell-val {
  color: var(--text);
}

.panel {
  border-color: var(--border);
  background: linear-gradient(180deg, var(--card), var(--card2));
}

.panel h2 {
  color: var(--gold-deep);
  background: rgba(0, 15, 52, 0.35);
  border-bottom-color: var(--gold-line);
}

.panel .body {
  color: var(--muted);
}

.term-row {
  color: var(--text);
}

.term-box {
  border-color: var(--border);
  background: rgba(0, 15, 52, 0.45);
}

.trust {
  border-color: var(--border);
  background: rgba(0, 15, 52, 0.45);
}

.bottom-nav {
  border-color: var(--border);
  background: rgba(0, 15, 52, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.nav-item {
  color: var(--muted);
}

.nav-item.on,
.nav-live,
.nav-live-mob {
  color: var(--gold-deep) !important;
}

.live-circle {
  background: var(--text);
  border-color: var(--gold);
  color: var(--navy);
}

.drawer-bg {
  background: rgba(0, 8, 20, 0.65);
}

.drawer {
  width: min(360px, 88%);
  padding: 16px 12px 20px;
  background: var(--bg) url("../imgs/app-theme-bg.png") no-repeat center bottom / cover;
  border-right: 1px solid var(--border);
}

.drawer-head {
  display: table;
  width: 100%;
  margin-bottom: 14px;
  padding: 4px 6px 10px;
}

.drawer-user-text,
.drawer-bell {
  display: table-cell;
  vertical-align: middle;
}

.drawer-user-text b {
  display: block;
  font-size: 16px;
  text-transform: capitalize;
}

.drawer-user-text i {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.drawer-bell {
  width: 42px;
  height: 42px;
  border: 1px solid #efe8db;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  text-align: center;
  line-height: 40px;
  cursor: pointer;
}

.drawer-card {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0, 15, 52, 0.35);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.drawer-card.on {
  border-color: var(--gold);
}

.drawer-ico {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #faf4e8;
  font-size: 16px;
}

.drawer-chev {
  margin-left: auto;
  color: #9e9e9e;
  font-size: 18px;
}

.drawer-support {
  display: flex;
  align-items: center;
  margin: 14px 0 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(0, 15, 52, 0.35);
}

.drawer-support-text {
  flex: 1;
  color: var(--text);
}

.drawer-support-kicker {
  display: block;
  font-size: 11px;
}

.drawer-support-text b {
  display: block;
  font-size: 13px;
  margin: 2px 0;
}

.drawer-support-text small {
  color: var(--muted);
  font-size: 10px;
}

.drawer-support-call {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--buy);
  color: #fff;
  text-align: center;
  line-height: 40px;
  text-decoration: none;
}

.drawer-logout {
  border-color: rgba(255, 58, 58, 0.6);
  background: rgba(212, 17, 17, 0.21);
  color: var(--sell);
}

.drawer-powered {
  margin: 12px 0 0;
  text-align: center;
  color: #b8860b;
  font-size: 11px;
  font-weight: 700;
}

.margin-page {
  max-width: 720px;
  margin: 2vh auto 0;
  padding: 0 2vw 8rem;
}

.margin-outer {
  margin-bottom: 18px;
  padding: 16px;
  border: 1.2px solid var(--border);
  border-radius: 22px;
  background: rgba(0, 15, 52, 0.25);
}

.margin-outer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.margin-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: #faf4e8;
}

.margin-icon img {
  width: 28px;
  height: 28px;
}

.margin-outer-head h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.margin-gold h2 {
  color: var(--gold);
}

.margin-silver h2 {
  color: var(--text);
}

.margin-underline {
  display: block;
  width: 45px;
  height: 2px;
  margin-top: 4px;
  border-radius: 1px;
}

.margin-underline.gold {
  background: var(--gold);
}

.margin-underline.silver {
  background: var(--text);
}

.margin-inner {
  padding: 8px 14px;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  background: rgba(0, 15, 52, 0.45);
}

.margin-metric {
  display: table;
  width: 100%;
  padding: 12px 0;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.metric-left,
.margin-metric strong {
  display: table-cell;
  vertical-align: middle;
}

.margin-metric strong {
  text-align: right;
  font-size: 18px;
}

.margin-metric strong.used {
  color: var(--sell);
}

.margin-metric strong.avail {
  color: var(--buy);
}

.metric-badge {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  vertical-align: middle;
}

.metric-badge.wallet {
  background: #faf4e8;
  color: var(--gold);
}

.metric-badge.down {
  background: #fdeaea;
  color: var(--sell);
}

.metric-badge.up {
  background: #ebf7ed;
  color: var(--buy);
}

.margin-dash {
  border-top: 1px dashed #e5dec9;
  opacity: 0.65;
}

.modal-bg {
  background: rgba(0, 8, 20, 0.75);
}

.modal-box {
  background: linear-gradient(180deg, #03255a, #01193e);
  border: 1px solid var(--border);
  color: var(--text);
  max-width: 420px;
}

.modal-box h3 {
  color: var(--text);
  letter-spacing: 0.14em;
}

.order-card-v2 {
  background: rgba(0, 15, 52, 0.55);
  border-color: var(--border);
}

.order-product-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--border);
  line-height: 50px;
  text-align: center;
  font-size: 22px;
}

.order-title-line {
  width: 36px;
  height: 2px;
  margin: 6px auto 12px;
  background: var(--gold);
}

.mode-pill {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 15, 52, 0.65);
  border: 1px solid var(--border);
}

.mode-pill .mode-bar {
  display: none;
}

.mode-pill .mode {
  flex: 1;
  padding: 8px 6px;
  border-radius: 999px;
  color: var(--muted);
}

.mode-pill .mode.on {
  color: var(--text);
  background: rgba(0, 48, 116, 0.85);
  border-bottom: 0;
  box-shadow: inset 0 -2px 0 var(--gold);
}

.bidask-v2 {
  margin-top: 18px;
  table-layout: fixed;
}

.bidask-v2 > div {
  width: 42%;
}

.bidask-v2 .bidask-divider {
  display: table-cell;
  width: 16%;
  vertical-align: middle;
  text-align: center;
  color: var(--muted);
}

.bidask-divider::before {
  content: "◆";
  font-size: 10px;
}

.order-section-dash {
  height: 1px;
  margin: 16px 0 4px;
  border-top: 1px dashed rgba(229, 222, 201, 0.55);
}

.order-btns button {
  border-radius: 999px;
}

.btn-sell {
  background: var(--sell);
}

.btn-buy {
  background: var(--buy);
}

.empty {
  color: var(--muted);
}

.login-card {
  background: linear-gradient(180deg, #03255a, #01193e);
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.login-title,
.login-kicker {
  color: var(--gold-deep);
}

.login-sub,
.login-card label {
  color: var(--muted);
}

.login-field {
  border-color: var(--border);
  background: var(--input);
}

.login-field input {
  color: var(--text);
}

.login-logo {
  mix-blend-mode: normal;
  filter: none;
}

.page.scrollable .live-head {
  display: none;
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#viewOrders .col-main,
#viewNotify .notify-list,
.margin-page {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.page.scrollable #pageTitleRow {
  display: block;
}
