:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --line: #d9e1ea;
  --text: #172033;
  --muted: #66748a;
  --primary: #136f63;
  --primary-dark: #0c5149;
  --gold: #c49226;
  --danger: #b42318;
  --warning: #9a6700;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(20, 32, 50, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body:not(.admin-mode) .admin-only {
  display: none;
}

body.admin-mode .customer-only {
  display: none;
}

.hidden-admin-tool {
  display: none !important;
}

body.admin-mode #stakingForm {
  display: none;
}

body.admin-mode #stakingView .work-grid {
  grid-template-columns: minmax(0, 1fr);
}

body:not(.admin-mode) {
  background: #f6f8fb;
}

body:not(.admin-mode) .app-shell {
  display: block;
  min-height: 100vh;
}

body:not(.admin-mode) .sidebar,
body:not(.admin-mode) .topbar {
  display: none;
}

body:not(.admin-mode) .main {
  min-height: 100vh;
  padding: 22px;
  display: grid;
  place-items: center;
}

body:not(.admin-mode) #stakingView {
  width: 100%;
}

body:not(.admin-mode) #eventView {
  width: 100%;
}

body:not(.admin-mode) #stakingView .work-grid {
  width: min(100%, 420px);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 0;
}

body:not(.admin-mode) #stakingForm {
  padding: 28px;
  border-color: #e8edf4;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 32, 51, 0.12);
}

body:not(.admin-mode) #stakingForm label {
  margin-bottom: 16px;
  color: #3f4b5f;
  font-size: 14px;
  font-weight: 700;
}

body:not(.admin-mode) #stakingForm input,
body:not(.admin-mode) #stakingForm select {
  min-height: 56px;
  border-color: #d8e0ea;
  background: #fbfcfe;
  font-size: 18px;
  font-weight: 700;
}

body:not(.admin-mode) #stakingForm input:focus,
body:not(.admin-mode) #stakingForm select:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(19, 111, 99, 0.12);
}

body:not(.admin-mode) #approveStakingBtn {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  font-size: 18px;
}

.customer-staking-list {
  width: 100%;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(23, 32, 51, 0.08);
}

.customer-staking-list[hidden] {
  display: none;
}

.customer-staking-title {
  margin-bottom: 12px;
  color: #172033;
  font-size: 14px;
  font-weight: 800;
}

.customer-staking-items {
  display: grid;
  gap: 10px;
}

.customer-staking-item {
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
  display: grid;
  gap: 10px;
}

.customer-staking-item strong,
.customer-staking-item span {
  display: block;
}

.customer-staking-item strong {
  font-size: 15px;
}

.customer-staking-item span {
  margin-top: 3px;
  color: #66748a;
  font-size: 13px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  background: #111827;
  color: #f9fafb;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0b429;
  color: #141414;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: #aab3c2;
  font-size: 12px;
  margin-top: 3px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav-item {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8dee9;
  background: transparent;
  text-align: left;
}

.nav-item:hover,
.nav-item.active {
  background: #233047;
  color: #ffffff;
}

.super-admin-only[hidden] {
  display: none !important;
}

.main {
  min-width: 0;
  padding: 24px;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-login-panel {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 28px;
}

.admin-login-panel[hidden] {
  display: none;
}

.admin-login-card {
  width: min(100%, 420px);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-login-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #141414;
  font-size: 24px;
  font-weight: 900;
}

.admin-login-card span,
.admin-login-card p {
  color: var(--muted);
}

.admin-login-card h2 {
  margin: 4px 0 6px;
  font-size: 26px;
}

.admin-login-card p {
  line-height: 1.5;
}

.team-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8f3ef;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.team-summary-card em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.team-summary-card.active {
  border-color: rgba(19, 111, 99, 0.35);
  box-shadow: 0 0 0 3px rgba(19, 111, 99, 0.1);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 26px;
  line-height: 1.2;
}

h2 {
  font-size: 16px;
  line-height: 1.3;
}

h3 {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.topbar p {
  color: var(--muted);
  margin-top: 6px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 14px;
  font-weight: 700;
}

.primary-button {
  background: var(--primary);
  color: #ffffff;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.primary-button.bnb-transfer-button {
  background: #c99718;
  color: #ffffff;
}

.primary-button.bnb-transfer-button:hover {
  background: #a87908;
}

.secondary-button {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(15, 118, 110, 0.32);
}

.secondary-button:hover {
  background: rgba(15, 118, 110, 0.08);
}

.ghost-button,
.icon-button {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}

.icon-button {
  width: 40px;
  padding: 0;
  font-size: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  top: 22px;
  z-index: 10;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #172033;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.48);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.24);
  padding: 16px;
}

.narrow-modal {
  width: min(520px, 100%);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.modal-head p {
  color: var(--muted);
  margin-top: 5px;
  font-size: 13px;
}

.diagnostic-box,
.error-box {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.diagnostic-box {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
}

.error-box {
  border: 1px solid #ffc9c3;
  background: #fff1ef;
  color: var(--danger);
}

.countdown-panel {
  border: 1px solid #b7dfd4;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
  background: #f0fbf7;
}

.countdown-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

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

.time-box {
  min-height: 54px;
  border: 1px solid #cfe9e1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.time-box strong,
.time-box span {
  display: block;
  text-align: center;
}

.time-box strong {
  font-size: 20px;
  line-height: 1;
}

.time-box span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.countdown-grid.expired .time-box {
  background: #fff4d6;
}

.countdown-line {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid #d5e1ee;
  border-radius: 8px;
  background: #f8fafc;
}

.countdown-days {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--primary);
  font-weight: 800;
}

.countdown-days small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.countdown-clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0;
}

.countdown-line.expired {
  border-color: #f2d99b;
  background: #fff8e6;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wallet-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.wallet-list {
  display: grid;
  gap: 8px;
}

.wallet-option {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-align: left;
}

.wallet-option:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(19, 111, 99, 0.08);
}

.wallet-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  font-weight: 800;
}

.wallet-option strong,
.wallet-option small {
  display: block;
}

.wallet-option small {
  color: var(--muted);
  margin-top: 3px;
}

.compact-label {
  margin-bottom: 0;
}

.field-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.address-box {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  overflow-wrap: anywhere;
}

.wallet-launch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.wallet-launch-row .ghost-button {
  flex: 1 1 140px;
}

.trust-send-button {
  width: 100%;
  margin-top: 8px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

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

.metric,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px;
  min-height: 108px;
  display: grid;
  align-content: space-between;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  font-size: 30px;
  line-height: 1;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.staking-admin-panel {
  padding: 18px;
}

.staking-admin-panel .panel-head {
  align-items: flex-start;
}

.staking-admin-panel .filter-row {
  min-width: min(340px, 100%);
}

.staking-card-list {
  display: grid;
  gap: 8px;
}

.staking-admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(20, 32, 50, 0.05);
}

.list-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  color: var(--muted);
  font-size: 13px;
}

.list-summary strong {
  color: var(--text);
}

.staking-management-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.staking-customer-list,
.staking-customer-detail,
.stake-detail-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.staking-customer-row {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 12px;
  display: grid;
  gap: 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 32, 50, 0.04);
}

.staking-customer-row:hover,
.staking-customer-row.active {
  border-color: rgba(19, 111, 99, 0.46);
  background: #f1fbf7;
}

.staking-customer-row.active {
  box-shadow: inset 3px 0 0 var(--primary), 0 8px 18px rgba(19, 111, 99, 0.08);
}

.staking-customer-main,
.staking-customer-main strong,
.staking-customer-main small {
  display: block;
  min-width: 0;
}

.staking-customer-main strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.staking-customer-main small {
  margin-top: 5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.staking-customer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.staking-customer-metrics span {
  min-width: 0;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 8px;
}

.staking-customer-metrics b,
.staking-customer-metrics small {
  display: block;
}

.staking-customer-metrics b {
  font-size: 14px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.staking-customer-metrics small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.staking-customer-time .countdown-line {
  width: 100%;
  justify-content: space-between;
}

.staking-customer-detail {
  align-self: start;
}

.staking-detail-head,
.staking-detail-stats,
.stake-detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.staking-detail-head {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.staking-detail-head h3 {
  margin: 3px 0 4px;
  font-size: 20px;
}

.staking-detail-head p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.staking-detail-stats {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: #fbfcfe;
}

.staking-detail-stats article {
  min-width: 0;
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.staking-detail-stats span,
.staking-detail-stats strong {
  display: block;
}

.staking-detail-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.staking-detail-stats strong {
  margin-top: 6px;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.stake-detail-card {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.stake-detail-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.stake-detail-card-head strong,
.stake-detail-card-head span {
  display: block;
}

.stake-detail-card-head strong {
  font-size: 16px;
}

.stake-detail-card-head span {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.stake-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stake-detail-field {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 10px;
  display: grid;
  gap: 5px;
  align-content: start;
}

.stake-detail-field > span,
.stake-detail-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stake-detail-field strong,
.stake-detail-field small {
  display: block;
}

.stake-detail-field strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.compact-staking-card {
  gap: 10px;
  box-shadow: none;
}

.compact-staking-main {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(150px, 0.9fr) auto;
  gap: 8px;
  align-items: center;
}

.compact-staking-main .staking-card-title {
  min-width: 0;
}

.compact-staking-main .staking-card-title span {
  overflow-wrap: anywhere;
}

.compact-field {
  padding: 8px 10px;
  min-height: 62px;
}

.compact-field .countdown-line {
  min-width: 0;
}

.compact-status {
  justify-self: end;
}

.product-management-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.product-form-panel {
  position: sticky;
  top: 18px;
}

.product-list-panel {
  min-width: 0;
}

.product-card-list {
  display: grid;
  gap: 12px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  display: grid;
  gap: 12px;
}

.product-card.event-product-card {
  border-color: rgba(200, 163, 45, 0.48);
  background: #fffdf5;
}

.product-card.paused {
  opacity: 0.72;
}

.product-card-head,
.product-card-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-title-block {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.product-title-block strong {
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}

.product-title-block small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-type-badge {
  width: fit-content;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e9eef6;
  color: #526173;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.product-type-badge.event {
  background: #171f32;
  color: #f6d34f;
}

.product-condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.product-condition-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #fbfcfe;
}

.event-product-card .product-condition-grid article {
  background: #fff9df;
}

.product-condition-grid span,
.product-condition-grid strong {
  display: block;
}

.product-condition-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-condition-grid strong {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-card-actions {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.staking-card-head,
.staking-card-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.staking-card-title strong,
.staking-card-title span {
  display: block;
}

.staking-card-title strong {
  font-size: 16px;
}

.staking-card-wallet {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.staking-card-wallet span,
.staking-card-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.staking-card-wallet strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.45;
}

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

.staking-card-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.staking-card-field strong,
.staking-card-field small {
  display: block;
}

.staking-card-field strong {
  font-size: 15px;
}

.staking-card-countdown .countdown-line {
  width: 100%;
  justify-content: space-between;
}

.staking-card-actions {
  padding-top: 4px;
}

.staking-card-actions .execute-cell {
  width: min(100%, 380px);
}

.staking-card-actions .row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: #fbfcfe;
  text-align: center;
}

.ops-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}

.ops-card span,
.ops-card strong {
  display: block;
}

.ops-card span {
  color: var(--muted);
  font-size: 12px;
}

.ops-card strong {
  margin-top: 6px;
  font-size: 18px;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-subgrid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.sub-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfe;
}

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

.execute-cell {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.inline-amount {
  min-height: 30px;
  padding: 4px 8px;
}

.split-layout,
.work-grid {
  display: grid;
  gap: 16px;
}

.split-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.work-grid {
  grid-template-columns: 320px minmax(0, 1fr);
}

.single-column-grid {
  grid-template-columns: minmax(0, 1fr);
}

.panel {
  padding: 16px;
  min-width: 0;
}

.panel-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.stacked-head {
  margin-top: 18px;
}

.form-panel {
  align-self: start;
}

.customer-admin-field {
  display: none;
}

body.admin-mode .customer-admin-field {
  display: grid;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 11px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(19, 111, 99, 0.12);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-row input {
  width: 16px;
  height: 16px;
}

.search {
  max-width: 220px;
  min-height: 36px;
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.wallet-table {
  min-width: 0;
  table-layout: fixed;
}

.wallet-table th:first-child,
.wallet-table td:first-child {
  width: 180px;
}

.customer-table {
  min-width: 780px;
}

.summary-table {
  min-width: 0;
}

.withdrawal-table {
  min-width: 920px;
}

.staking-table {
  min-width: 1260px;
}

.product-table {
  min-width: 560px;
}

th,
td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th {
  color: var(--muted);
  background: var(--surface-2);
  font-size: 12px;
  text-transform: uppercase;
}

td {
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

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

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.wallet-address-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.full-address {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.45;
}

.copy-button {
  min-width: 58px;
}

@media (max-width: 720px) {
  .wallet-table th:first-child,
  .wallet-table td:first-child {
    width: 112px;
  }

  .wallet-address-line {
    grid-template-columns: 1fr;
  }

  .wallet-address-line .copy-button {
    justify-self: start;
  }
}

.wallet-balance-cell strong,
.wallet-balance-cell .muted {
  display: block;
  white-space: nowrap;
}

.event-reward-cell strong {
  color: var(--gold);
  display: block;
  white-space: nowrap;
}

.event-reward-cell .muted {
  display: block;
  max-width: 180px;
}

.inline-name-input {
  min-width: 180px;
  max-width: 260px;
  min-height: 34px;
  padding: 7px 9px;
  font-weight: 700;
}

.customer-management-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.customer-directory-panel {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.customer-directory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 180px;
}

.customer-directory-controls .search {
  max-width: none;
}

.customer-directory-list,
.customer-record-list,
.customer-wallet-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.customer-directory-item {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 12px;
  text-align: left;
  display: grid;
  gap: 7px;
  overflow: hidden;
}

.customer-directory-item.active {
  border-color: rgba(19, 111, 99, 0.48);
  background: #f0faf7;
  box-shadow: inset 3px 0 0 var(--primary);
}

.customer-directory-title,
.section-title,
.customer-detail-head,
.customer-record-card,
.customer-wallet-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.customer-directory-title strong,
.customer-directory-subtitle,
.customer-detail-head p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.customer-directory-subtitle {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.customer-directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-directory-meta span {
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 4px 7px;
  font-size: 12px;
  font-weight: 700;
}

.customer-detail-panel {
  display: grid;
  gap: 14px;
}

.customer-detail-head h2 {
  margin-top: 3px;
}

.customer-detail-head p {
  color: var(--muted);
  margin-top: 4px;
}

.customer-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.customer-stat,
.customer-detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.customer-stat {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.customer-stat span {
  color: var(--muted);
  font-size: 12px;
}

.customer-stat strong {
  font-size: 20px;
}

.customer-detail-section {
  padding: 14px;
}

.customer-delete-section {
  border-color: rgba(207, 60, 60, 0.28);
  background: #fff8f8;
}

.customer-danger-note {
  margin-top: 5px;
  color: #9b3131;
  font-size: 12px;
  line-height: 1.5;
}

.customer-delete-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.customer-delete-summary span {
  border-radius: 999px;
  background: rgba(207, 60, 60, 0.08);
  color: #8f2b2b;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.admin-confirm-warning {
  margin-top: 12px;
  border-radius: 8px;
  background: rgba(207, 60, 60, 0.1);
  color: #8f2b2b;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.section-title {
  align-items: center;
  margin-bottom: 12px;
}

.section-title h3 {
  font-size: 15px;
}

.customer-edit-grid,
.customer-funding-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.customer-funding-form .funding-note {
  grid-column: span 2;
}

.funding-status-warning {
  grid-column: span 2;
  padding: 10px 12px;
  border: 1px solid rgba(211, 47, 47, 0.24);
  border-radius: 8px;
  background: rgba(211, 47, 47, 0.08);
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.funding-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.customer-wallet-card,
.customer-record-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.customer-wallet-card {
  display: grid;
}

.customer-record-card strong,
.customer-wallet-card strong {
  display: block;
}

.customer-record-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.super-admin-action {
  background: #fffdf4;
  border-color: rgba(176, 140, 28, 0.28);
}

.admin-confirm-body {
  display: grid;
  gap: 10px;
}

.admin-confirm-rows {
  display: grid;
  gap: 8px;
  margin: 0;
}

.admin-confirm-rows div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fbfcfe;
}

.admin-confirm-rows dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-confirm-rows dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.confirm-phrase-wrap {
  margin-top: 12px;
}

.team-readonly-mode .customer-directory-item,
.team-readonly-mode .customer-detail-section {
  background: #fcfdff;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill.ok {
  background: #e7f8ef;
  color: #087443;
}

.pill.warn {
  background: #fff4d6;
  color: var(--warning);
}

.pill.danger {
  background: #ffebe9;
  color: var(--danger);
}

.queue-list,
.audit-list,
.admin-account-list,
.settings-side-stack {
  display: grid;
  gap: 10px;
}

.operator-wallet-status {
  display: grid;
  gap: 10px;
}

.operator-wallet-overview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #fbfcfe;
}

.operator-wallet-overview strong,
.operator-wallet-overview small {
  display: block;
}

.operator-wallet-overview strong {
  margin-top: 4px;
  font-size: 20px;
}

.operator-wallet-overview small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.operator-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.operator-balance-grid article,
.operator-address-list,
.operator-check {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.operator-balance-grid article {
  min-width: 0;
  padding: 12px;
}

.operator-balance-grid span,
.operator-balance-grid strong,
.operator-balance-grid small {
  display: block;
}

.operator-balance-grid span,
.operator-balance-grid small,
.operator-address-list span,
.operator-check span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.operator-balance-grid strong {
  margin-top: 6px;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.operator-balance-grid small {
  margin-top: 4px;
}

.operator-address-list {
  display: grid;
  gap: 0;
}

.operator-address-list div {
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.operator-address-list div:last-child {
  border-bottom: 0;
}

.operator-address-list span,
.operator-address-list strong {
  display: block;
}

.operator-address-list strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.operator-check-list {
  display: grid;
  gap: 6px;
}

.operator-check {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border-left-width: 4px;
}

.operator-check.ok {
  border-left-color: #087443;
}

.operator-check.warn {
  border-left-color: var(--warning);
}

.operator-check.danger {
  border-left-color: var(--danger);
}

.operator-check strong {
  font-size: 13px;
}

.queue-item,
.audit-item,
.admin-account-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: #fff;
}

.queue-item strong,
.audit-item strong,
.admin-account-card strong {
  font-size: 14px;
}

.admin-account-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fbfcfe;
}

.admin-account-card {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(140px, 0.8fr) minmax(160px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.admin-account-edit-form label {
  margin: 0;
}

.admin-account-edit-form input,
.admin-account-edit-form select {
  min-height: 42px;
}

.admin-account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
}

.account-panel {
  max-width: 720px;
}

.account-panel .admin-account-edit-form {
  display: grid;
  gap: 14px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.small-button {
  min-height: 30px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
  font-weight: 700;
}

.small-button.approve {
  color: var(--primary);
}

.small-button.reject {
  color: var(--danger);
}

@media (max-width: 1180px) {
  .product-condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-staking-main {
    grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(120px, 1fr));
  }

  .staking-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stake-detail-grid,
  .staking-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .admin-account-card {
    grid-template-columns: 1fr;
  }

  .compact-staking-main {
    grid-template-columns: 1fr;
  }

  .compact-status {
    justify-self: start;
  }

  .staking-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staking-card-actions {
    display: grid;
    justify-content: stretch;
  }

  .staking-card-actions .execute-cell,
  .staking-card-actions .row-actions {
    width: 100%;
  }

  .staking-card-actions .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .brand div:last-child,
  .nav-item span {
    display: none;
  }

  .sidebar {
    padding: 18px 12px;
    align-items: center;
  }

  .nav-item {
    justify-content: center;
    padding: 0;
  }

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

  .split-layout,
  .work-grid,
  .wallet-grid,
  .customer-management-layout,
  .product-management-layout,
  .staking-management-layout,
  .admin-subgrid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .customer-directory-panel,
  .product-form-panel {
    position: static;
  }

  .customer-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .product-card-head,
  .product-card-actions {
    display: grid;
    justify-content: stretch;
  }

  .product-condition-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .nav {
    display: flex;
    overflow-x: auto;
  }

  .nav-item {
    width: 42px;
    flex: 0 0 42px;
  }

  .main {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
  }

  .primary-button {
    flex: 1;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .list-summary {
    display: grid;
  }

  .staking-card-grid,
  .staking-card-wallet,
  .stake-detail-grid,
  .staking-detail-stats,
  .staking-customer-metrics,
  .operator-balance-grid {
    grid-template-columns: 1fr;
  }

  .customer-stat-grid,
  .customer-edit-grid,
  .customer-funding-form {
    grid-template-columns: 1fr;
  }

  .customer-funding-form .funding-note {
    grid-column: auto;
  }

  .funding-status-warning {
    grid-column: auto;
  }

  .funding-actions {
    flex-direction: column;
  }

  .customer-detail-head,
  .customer-record-card,
  .customer-wallet-card {
    display: grid;
  }

  .customer-record-meta {
    justify-items: start;
    text-align: left;
  }

  .admin-confirm-rows div {
    grid-template-columns: 1fr;
  }
}

body:not(.admin-mode) {
  --customer-bg: #05090f;
  --customer-panel: rgba(16, 23, 33, 0.9);
  --customer-panel-2: rgba(20, 29, 42, 0.88);
  --customer-line: rgba(255, 218, 61, 0.18);
  --customer-text: #f7f9ff;
  --customer-muted: #9aa4b4;
  --customer-gold: #ffd52e;
  --customer-green: #35e078;
  background:
    linear-gradient(180deg, rgba(5, 9, 15, 0.46), rgba(5, 9, 15, 0.9)),
    url("/assets/staking-bg-gold.png") center top / cover fixed;
  color: var(--customer-text);
}

body:not(.admin-mode) .main {
  padding: 0;
  align-items: start;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 213, 46, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(5, 9, 15, 0.2), rgba(5, 9, 15, 0.86));
}

body:not(.admin-mode) #stakingView .work-grid {
  width: min(100%, 430px);
  min-height: 100vh;
  padding: 20px 16px 28px;
  gap: 14px;
}

body:not(.admin-mode) #stakingForm {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.admin-mode) .event-page {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 16px 28px;
}

.customer-app-head {
  min-height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--customer-gold);
}

.customer-brand.logo-last .customer-brand-mark {
  order: 2;
}

.customer-brand.logo-last strong {
  order: 1;
}

.customer-brand.logo-last::after {
  display: none !important;
}

.customer-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.customer-event-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 232, 117, 0.92);
  border-radius: 999px;
  padding: 6px 15px 6px 7px;
  background:
    linear-gradient(135deg, #ffe176, #ffbc20);
  color: #11151d;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 191, 32, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.customer-event-pill .event-pill-kicker {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #121722;
  color: #ffe176;
  font-size: 10px;
  letter-spacing: 0;
  line-height: 1;
}

.customer-event-pill strong {
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.customer-event-pill:hover {
  background: #ffe176;
  color: #11151d;
  transform: translateY(-1px);
}

.customer-brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.customer-brand strong {
  font-size: 21px;
  line-height: 1;
}

.customer-wallet-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 213, 46, 0.34);
  background: var(--customer-gold);
  color: #11151d;
  font-weight: 900;
}

.customer-network-dot {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 2px solid #11151d;
  border-radius: 50%;
  position: relative;
}

.customer-network-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #11151d;
  border-radius: 50%;
}

.customer-hero-card,
.stake-field,
.customer-event-reward,
.customer-countdown-preview,
.customer-staking-list {
  border: 1px solid rgba(255, 213, 46, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(21, 31, 45, 0.94), rgba(10, 16, 25, 0.92)),
    rgba(12, 18, 28, 0.94);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.customer-hero-card {
  padding: 20px 18px;
  margin-bottom: 14px;
}

.customer-theme-intro {
  margin-bottom: 14px;
}

.customer-theme-intro[hidden] {
  display: none;
}

.customer-event-reward {
  margin-bottom: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.customer-event-reward[hidden] {
  display: none;
}

.customer-event-reward span,
.customer-event-reward small {
  display: block;
  color: var(--customer-muted);
}

.customer-event-reward strong {
  color: var(--customer-gold);
  font-size: 20px;
  white-space: nowrap;
}

.customer-event-reward small {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
}

.hero-status-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-check {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--customer-gold);
  color: #11151d;
  font-size: 30px;
  font-weight: 900;
}

.hero-status-row strong,
.hero-status-row small {
  display: block;
}

.hero-status-row strong {
  color: var(--customer-text);
  font-size: 21px;
  line-height: 1.15;
}

.hero-status-row small {
  margin-top: 5px;
  color: var(--customer-muted);
  font-size: 13px;
}

.hero-active-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--customer-green);
  font-size: 13px;
  font-weight: 800;
}

.hero-active-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics span {
  min-width: 0;
  padding: 17px 8px 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics span:last-child {
  border-right: 0;
}

.hero-metrics small,
.hero-metrics strong,
.hero-metrics em {
  display: block;
}

.hero-metrics small {
  color: var(--customer-muted);
  font-size: 11px;
}

.hero-metrics strong {
  margin-top: 8px;
  color: var(--customer-gold);
  font-size: 23px;
  line-height: 1.05;
}

.hero-metrics em {
  margin-top: 6px;
  color: var(--customer-muted);
  font-size: 11px;
  font-style: normal;
}

body:not(.admin-mode) #stakingForm label {
  margin-bottom: 14px;
  color: var(--customer-text);
  font-size: 14px;
}

body:not(.admin-mode) #stakingForm .customer-name-field input {
  min-height: 54px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(8, 12, 20, 0.72);
  color: var(--customer-text);
  font-size: 18px;
  font-weight: 800;
}

body:not(.admin-mode) #stakingForm:not(.has-product-selected) .stake-amount-field,
body:not(.admin-mode) #stakingForm:not(.has-product-selected) #customerCountdownPreview,
body:not(.admin-mode) #stakingForm:not(.has-product-selected) #approveStakingBtn {
  display: none;
}

.stake-field {
  padding: 20px 18px;
}

.stake-field-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--customer-text);
  font-size: 21px;
  font-weight: 800;
}

.stake-field-title::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 2px solid var(--customer-gold);
  border-radius: 50%;
  box-shadow: inset 0 -8px 0 rgba(255, 213, 46, 0.18);
}

.stake-amount-control {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px 44px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(7, 11, 19, 0.78);
}

body:not(.admin-mode) #stakingForm .stake-amount-control input {
  min-height: 56px;
  border: 0 !important;
  background: transparent !important;
  color: var(--customer-text) !important;
  padding: 0 4px;
  font-size: 33px;
  font-weight: 600;
}

body:not(.admin-mode) #stakingForm .stake-amount-control input:focus,
body:not(.admin-mode) #stakingForm .customer-name-field input:focus {
  border-color: rgba(255, 213, 46, 0.45);
  background: rgba(10, 15, 24, 0.88) !important;
  box-shadow: 0 0 0 3px rgba(255, 213, 46, 0.12);
}

body:not(.admin-mode) #stakingForm .stake-amount-control input::placeholder,
body:not(.admin-mode) #stakingForm .customer-name-field input::placeholder {
  color: rgba(222, 228, 239, 0.72);
}

.asset-unit {
  color: #dce2ec;
  font-size: 18px;
  font-weight: 900;
}

.amount-step {
  width: 44px;
  height: 44px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(28, 39, 55, 0.86);
  color: #e8edf6;
  font-size: 26px;
}

.stake-range-copy {
  display: flex;
  justify-content: space-between;
  margin: 14px 0 10px;
  color: var(--customer-muted);
}

.stake-range-copy small {
  font-size: 13px;
}

.stake-range {
  accent-color: var(--customer-gold);
  height: 7px;
  padding: 0;
}

.amount-preset-row,
.period-chip-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.period-chip-row {
  gap: 18px;
}

.period-chip-section {
  display: grid;
  gap: 10px;
}

.period-chip-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--customer-text);
}

.period-chip-section-title strong {
  font-size: 15px;
}

.period-chip-section-title small {
  color: var(--customer-muted);
  font-size: 12px;
}

.period-chip-list {
  display: grid;
  gap: 10px;
}

.amount-preset-row button,
.period-chip-row button {
  min-height: 46px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 12, 20, 0.66);
  color: #d9e0eb;
  font-weight: 800;
}

.period-chip-row button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "main"
    "terms";
  align-items: stretch;
  justify-items: stretch;
  gap: 12px;
  padding: 16px;
  text-align: left;
}

.period-chip-row button.event-staking {
  border-color: rgba(255, 213, 46, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 213, 46, 0.17), rgba(8, 12, 20, 0.72)),
    rgba(8, 12, 20, 0.74);
}

.period-chip-row button.standard-staking {
  border-color: rgba(98, 177, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(98, 177, 255, 0.12), rgba(8, 12, 20, 0.76)),
    rgba(8, 12, 20, 0.74);
}

.period-chip-row button.has-countdown {
  min-height: 168px;
}

.period-event-mark {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #ffcc26;
  color: #131821;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.period-standard-mark {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #d8ecff;
  color: #102033;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.period-chip-main {
  grid-area: main;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.period-card-head {
  grid-area: head;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.period-card-code {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--customer-text);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.period-chip-main small,
.period-chip-terms,
.event-complete-text {
  color: var(--customer-muted);
  font-size: 12px;
}

.period-chip-row button.active .period-event-mark,
.period-chip-row button:hover .period-event-mark {
  background: #15110a;
  color: #ffcc26;
}

.period-chip-row button.active .period-standard-mark,
.period-chip-row button:hover .period-standard-mark {
  background: #102033;
  color: #d8ecff;
}

.period-chip-label {
  display: block;
  max-width: 100%;
  color: var(--customer-text);
  font-size: 20px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.period-chip-terms {
  grid-area: terms;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  justify-self: stretch;
  color: var(--customer-gold);
  font-weight: 900;
  white-space: normal;
}

.period-chip-terms span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 7px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.period-chip-terms small,
.period-chip-terms b {
  display: block;
  line-height: 1;
}

.period-chip-terms small {
  color: var(--customer-muted);
  font-size: 10px;
  font-weight: 800;
}

.period-chip-terms b {
  color: var(--customer-gold);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.event-complete-stamp {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid #ef4444;
  border-radius: 50%;
  color: #ef4444;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-14deg);
  box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.16);
}

.period-chip-row button.event-completed {
  opacity: 0.78;
}

.event-complete-text {
  justify-self: end;
  color: #ffdf6b;
  font-weight: 900;
}

.event-progress-text {
  justify-self: end;
  color: #ffe99b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.period-chip-countdown {
  display: inline-grid;
  justify-items: center;
  gap: 3px;
  width: 100%;
}

.event-participation-modal,
.event-name-modal,
.staking-notice-modal {
  max-width: 430px;
  color: #152032;
}

.event-participation-modal .modal-head h2,
.event-name-modal .modal-head h2,
.staking-notice-modal .modal-head h2 {
  color: #152032;
}

.event-participation-modal .modal-head p,
.event-name-modal .modal-head p,
.staking-notice-modal .modal-head p,
.event-participation-body p {
  color: #475569;
}

.event-participation-body {
  display: grid;
  gap: 12px;
  line-height: 1.55;
}

.event-participation-body strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.staking-notice-body {
  display: grid;
  gap: 12px;
  color: #1f2937;
  line-height: 1.55;
}

.staking-notice-body strong {
  color: #b45309;
  font-size: 24px;
}

.staking-notice-body p {
  margin: 0;
  color: #475569;
}

.staking-notice-body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.staking-notice-body dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.staking-notice-body dt {
  color: #64748b;
  font-weight: 800;
}

.staking-notice-body dd {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
  text-align: right;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.period-chip-countdown .countdown-line {
  width: 100%;
  justify-content: center;
  gap: 4px;
  padding: 4px 5px;
  border-color: rgba(255, 213, 46, 0.22);
  background: rgba(255, 213, 46, 0.16);
  color: #ffe99b;
}

.period-chip-countdown .countdown-clock {
  color: #fff3c4;
  font-size: 11px;
}

.period-chip-countdown .countdown-days {
  color: var(--customer-gold);
}

.period-chip-countdown .countdown-days small {
  color: #f4e4a2;
}

.period-chip-countdown > small {
  color: var(--customer-gold);
  font-size: 10px;
  font-weight: 900;
}

.period-chip-row button.active .period-chip-countdown .countdown-line,
.period-chip-row button:hover .period-chip-countdown .countdown-line {
  background: rgba(17, 21, 29, 0.16);
  border-color: rgba(17, 21, 29, 0.24);
}

.period-chip-row button.active .period-chip-countdown .countdown-clock,
.period-chip-row button:hover .period-chip-countdown .countdown-clock,
.period-chip-row button.active .period-chip-countdown .countdown-days,
.period-chip-row button:hover .period-chip-countdown .countdown-days,
.period-chip-row button.active .period-chip-countdown .countdown-days small,
.period-chip-row button:hover .period-chip-countdown .countdown-days small {
  color: #15110a;
}

.period-chip-row button.active .period-chip-countdown > small,
.period-chip-row button:hover .period-chip-countdown > small {
  color: #15110a;
}

.amount-preset-row button:hover,
.period-chip-row button:hover,
.period-chip-row button.active {
  border-color: transparent;
  background: var(--customer-gold);
  color: #15110a;
}

.amount-preset-row button:disabled,
.period-chip-row button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

body:not(.admin-mode) .stake-period-field select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.period-hint {
  display: block;
  margin-top: 14px;
  color: var(--customer-muted);
  font-size: 13px;
}

.period-hint::before {
  content: "☆ ";
  color: var(--customer-gold);
}

.event-card {
  padding: 22px 18px 20px;
  border: 1px solid rgba(255, 213, 46, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(21, 31, 45, 0.96), rgba(7, 12, 20, 0.95)),
    rgba(12, 18, 28, 0.94);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.event-card-head {
  display: grid;
  gap: 5px;
  text-align: center;
}

.event-card-head span {
  color: var(--customer-gold);
  font-size: 12px;
  font-weight: 900;
}

.event-card-head strong {
  color: var(--customer-text);
  font-size: 30px;
  line-height: 1.05;
}

.event-card-head small {
  color: var(--customer-muted);
  font-size: 13px;
}

.event-page .customer-app-head {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-align: center;
}

.event-page .customer-brand {
  justify-content: center;
}

.event-page #eventBackBtn {
  justify-self: center;
  min-width: 132px;
  justify-content: center;
}

.reward-card-game {
  width: 100%;
  margin: 28px auto 22px;
  display: grid;
  justify-items: center;
}

.reward-card-button {
  width: min(100%, 292px);
  min-height: 352px;
  min-width: 0;
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px 22px;
  border: 1px solid rgba(255, 213, 46, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 218, 53, 0.28), rgba(8, 12, 20, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(8, 12, 20, 0.92);
  color: var(--customer-text);
  text-align: center;
  transform-style: preserve-3d;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.reward-card-button::before,
.reward-card-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.reward-card-button::before {
  inset: 14px;
  border: 1px solid rgba(255, 213, 46, 0.26);
  border-radius: 14px;
}

.reward-card-button::after {
  width: 180px;
  height: 180px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: rgba(255, 213, 46, 0.13);
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 46, 0.18);
}

.reward-card-button span,
.reward-card-button small,
.reward-card-button strong {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.reward-card-button span {
  color: var(--customer-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.reward-card-button strong {
  color: var(--customer-text);
  font-size: 33px;
  line-height: 1.08;
}

.reward-card-button small {
  color: var(--customer-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.reward-card-button.is-spinning {
  animation: rewardCardSpin 1.18s cubic-bezier(0.32, 0.72, 0.18, 1.02) infinite;
}

.reward-card-button.is-revealed {
  border-color: var(--customer-green);
  background:
    linear-gradient(145deg, rgba(66, 214, 154, 0.34), rgba(8, 12, 20, 0.82)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
    rgba(8, 12, 20, 0.92);
  box-shadow: 0 24px 60px rgba(66, 214, 154, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.reward-card-button.is-revealed strong {
  color: var(--customer-gold);
  font-size: 37px;
}

.reward-card-button:disabled {
  cursor: not-allowed;
}

@keyframes rewardCardSpin {
  0% {
    transform: perspective(900px) rotateY(0deg) scale(1);
  }
  48% {
    transform: perspective(900px) rotateY(540deg) scale(1.04);
  }
  100% {
    transform: perspective(900px) rotateY(1080deg) scale(1);
  }
}

.event-notice {
  margin: -6px 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 213, 46, 0.15);
  border-radius: 8px;
  background: rgba(255, 213, 46, 0.08);
  color: #d8deea;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.event-result {
  min-height: 108px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 16px;
  border: 1px solid rgba(255, 213, 46, 0.16);
  border-radius: 8px;
  background: rgba(6, 10, 17, 0.62);
  text-align: center;
}

.event-result span,
.event-result small {
  color: var(--customer-muted);
}

.event-result strong {
  color: var(--customer-gold);
  font-size: 30px;
  line-height: 1;
}

body:not(.admin-mode) #approveStakingBtn {
  width: 100%;
  min-height: 68px;
  margin: 10px 0 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe45a, #ffd01e);
  color: #141414;
  box-shadow: 0 12px 30px rgba(255, 208, 30, 0.24);
  font-size: 21px;
  font-weight: 900;
}

body:not(.admin-mode) #approveStakingBtn::after {
  content: "";
}

.customer-countdown-preview {
  padding: 12px 16px 14px;
}

.preview-head {
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
}

.preview-head span {
  color: var(--customer-gold);
  font-size: 19px;
  font-weight: 800;
}

.preview-head strong {
  color: var(--customer-muted);
  font-size: 13px;
}

.selected-product-countdowns {
  display: grid;
  gap: 8px;
}

.selected-countdown-item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 11, 19, 0.58);
}

.selected-countdown-summary {
  min-width: 0;
}

.selected-countdown-summary span,
.selected-countdown-summary strong {
  display: block;
}

.selected-countdown-summary span {
  min-width: 0;
  color: var(--customer-text);
  font-size: 13px;
  font-weight: 800;
}

.selected-countdown-summary strong {
  margin-top: 3px;
  color: var(--customer-gold);
  font-size: 12px;
  font-weight: 900;
}

.selected-countdown-item .countdown-line {
  justify-self: end;
  background: rgba(255, 210, 35, 0.16);
  border-color: rgba(255, 210, 35, 0.34);
}

.selected-countdown-item .countdown-clock {
  color: #fff3c4;
}

.selected-countdown-item .countdown-days {
  color: var(--customer-gold);
}

.selected-countdown-item .countdown-days small {
  color: #f4e4a2;
}

body:not(.admin-mode) .countdown-grid {
  gap: 0;
}

body:not(.admin-mode) .time-box {
  min-height: 60px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
}

body:not(.admin-mode) .time-box:last-child {
  border-right: 0;
}

body:not(.admin-mode) .time-box strong {
  color: var(--customer-gold);
  font-size: 29px;
}

body:not(.admin-mode) .time-box span {
  color: var(--customer-muted);
  font-size: 12px;
}

body:not(.admin-mode) .customer-staking-list {
  margin-top: 0;
  padding: 17px 14px;
  color: var(--customer-text);
}

body:not(.admin-mode) .customer-staking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--customer-text);
  font-size: 20px;
}

.customer-staking-title small {
  color: var(--customer-gold);
  font-size: 13px;
}

body:not(.admin-mode) .customer-staking-items {
  gap: 12px;
}

body:not(.admin-mode) .customer-staking-item {
  grid-template-columns: minmax(0, 1.12fr) minmax(92px, 0.78fr) minmax(82px, 0.66fr) minmax(0, 1.22fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 14, 23, 0.76);
}

.stake-item-main,
.stake-item-reward,
.stake-item-period,
.stake-item-time {
  min-width: 0;
}

.stake-item-main {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--customer-green);
  box-shadow: 0 0 12px var(--customer-green);
}

body:not(.admin-mode) .stake-item-main strong,
body:not(.admin-mode) .stake-item-reward strong,
body:not(.admin-mode) .stake-item-period strong {
  color: var(--customer-text);
  font-size: 19px;
}

body:not(.admin-mode) .stake-item-reward strong {
  color: var(--customer-gold);
}

body:not(.admin-mode) .stake-item-main strong small {
  font-size: 12px;
}

body:not(.admin-mode) .stake-item-reward strong small {
  font-size: 12px;
}

body:not(.admin-mode) .stake-item-main span,
body:not(.admin-mode) .stake-item-reward span,
body:not(.admin-mode) .stake-item-period span,
body:not(.admin-mode) .stake-item-time span,
body:not(.admin-mode) .stake-item-time small {
  color: var(--customer-muted);
  font-size: 12px;
}

.stake-item-period strong {
  color: var(--customer-gold) !important;
}

.stake-item-period em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-top: 7px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(53, 224, 120, 0.14);
  color: var(--customer-green);
  font-style: normal;
  font-weight: 800;
}

.stake-item-time .compact-countdown {
  max-width: none;
}

.stake-item-time .countdown-line {
  margin-top: 6px;
  background: rgba(255, 210, 35, 0.16);
  border-color: rgba(255, 210, 35, 0.34);
  color: #ffe99b;
}

.stake-item-time .countdown-clock {
  color: #fff3c4;
}

.stake-item-time .countdown-days {
  color: var(--customer-gold);
}

.stake-item-time .countdown-days small {
  color: #f4e4a2;
}

.stake-item-time .compact-countdown .time-box {
  min-height: 34px;
}

.stake-item-time .compact-countdown .time-box strong {
  font-size: 16px;
}

.stake-progress {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.stake-progress i {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: var(--customer-gold);
}

@media (max-width: 430px) {
  body:not(.admin-mode) #stakingView .work-grid {
    padding: 17px 14px 24px;
  }

  .customer-app-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .customer-event-pill {
    min-width: 150px;
  }

  .hero-status-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .hero-active-dot {
    grid-column: 2;
  }

  .hero-check {
    width: 44px;
    height: 44px;
  }

  .hero-metrics small {
    font-size: 10px;
  }

  .hero-metrics strong {
    font-size: 20px;
  }

  .customer-event-reward {
    grid-template-columns: 1fr;
  }

  .amount-preset-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .period-chip-row {
    grid-template-columns: 1fr;
  }

  .period-chip-row button {
    grid-template-columns: minmax(0, 1fr);
  }

  .period-chip-terms,
  .event-complete-stamp,
  .event-complete-text,
  .event-progress-text {
    justify-self: start;
  }

  body:not(.admin-mode) .customer-staking-item {
    grid-template-columns: 1fr;
  }

  .selected-countdown-item {
    grid-template-columns: 1fr;
  }

  .selected-countdown-item .countdown-line {
    justify-self: stretch;
    justify-content: center;
  }

  .admin-account-card {
    grid-template-columns: 1fr;
  }
}

body:not(.admin-mode).theme-team-3 {
  --customer-bg: #f4faf7;
  --customer-panel: rgba(255, 255, 255, 0.94);
  --customer-panel-2: rgba(239, 248, 243, 0.96);
  --customer-line: rgba(12, 108, 89, 0.16);
  --customer-text: #12241f;
  --customer-muted: #60766f;
  --customer-gold: #0f7b65;
  --customer-green: #c79228;
  background:
    radial-gradient(circle at 14% 8%, rgba(15, 123, 101, 0.16), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(199, 146, 40, 0.18), transparent 26%),
    linear-gradient(180deg, #f8fcfa 0%, #eaf5ef 100%);
}

body:not(.admin-mode).theme-team-4 {
  --customer-bg: #050912;
  --customer-panel: rgba(9, 18, 31, 0.92);
  --customer-panel-2: rgba(13, 27, 45, 0.9);
  --customer-line: rgba(34, 211, 238, 0.2);
  --customer-text: #eefaff;
  --customer-muted: #8aa5b9;
  --customer-gold: #ffb84d;
  --customer-green: #22d3ee;
  background:
    radial-gradient(circle at 16% 8%, rgba(34, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(255, 184, 77, 0.13), transparent 30%),
    linear-gradient(180deg, #050912 0%, #08111e 54%, #04070d 100%);
}

body:not(.admin-mode).theme-team-3 .main {
  background:
    linear-gradient(120deg, rgba(15, 123, 101, 0.08) 0 1px, transparent 1px 40px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(232, 245, 238, 0.72));
}

body:not(.admin-mode).theme-team-4 .main {
  background:
    linear-gradient(120deg, rgba(34, 211, 238, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(5, 9, 18, 0.2), rgba(5, 9, 18, 0.86));
}

body:not(.admin-mode).theme-team-3 .customer-brand {
  color: #0f6f5d;
}

body:not(.admin-mode).theme-team-4 .customer-brand {
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-3 .customer-brand-mark {
  border: 0;
  background: linear-gradient(135deg, #0f7b65, #1fa184);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 123, 101, 0.2);
}

body:not(.admin-mode).theme-team-4 .customer-brand-mark {
  border-color: rgba(34, 211, 238, 0.82);
  background: rgba(34, 211, 238, 0.1);
  color: #9df2ff;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.2);
}

body:not(.admin-mode).theme-team-3 .customer-event-pill {
  border-color: rgba(199, 146, 40, 0.34);
  background: linear-gradient(135deg, #fff7da, #f0c35b);
  color: #16251f;
  box-shadow: 0 12px 24px rgba(199, 146, 40, 0.18);
}

body:not(.admin-mode).theme-team-3 .customer-event-pill .event-pill-kicker {
  background: #0f6f5d;
  color: #fff8dc;
}

body:not(.admin-mode).theme-team-4 .customer-event-pill {
  border-color: rgba(255, 184, 77, 0.44);
  background: linear-gradient(135deg, #ffbe5c, #f59e0b);
  color: #101724;
  box-shadow: 0 0 26px rgba(245, 158, 11, 0.24);
}

body:not(.admin-mode).theme-team-4 .customer-event-pill .event-pill-kicker {
  background: #07111f;
  color: #ffcf7d;
}

body:not(.admin-mode).theme-team-3 .customer-wallet-pill {
  border-color: rgba(15, 123, 101, 0.2);
  background: #ffffff;
  color: #0f6f5d;
  box-shadow: 0 10px 22px rgba(15, 123, 101, 0.1);
}

body:not(.admin-mode).theme-team-3 .customer-network-dot,
body:not(.admin-mode).theme-team-3 .customer-network-dot::after {
  border-color: #0f6f5d;
}

body:not(.admin-mode).theme-team-4 .customer-wallet-pill {
  border-color: rgba(34, 211, 238, 0.32);
  background: rgba(34, 211, 238, 0.12);
  color: #dffbff;
}

body:not(.admin-mode).theme-team-4 .customer-network-dot,
body:not(.admin-mode).theme-team-4 .customer-network-dot::after {
  border-color: #22d3ee;
}

body:not(.admin-mode).theme-team-3 .customer-hero-card,
body:not(.admin-mode).theme-team-3 .stake-field,
body:not(.admin-mode).theme-team-3 .customer-event-reward,
body:not(.admin-mode).theme-team-3 .customer-countdown-preview,
body:not(.admin-mode).theme-team-3 .customer-staking-list,
body:not(.admin-mode).theme-team-3 .event-card,
body:not(.admin-mode).theme-team-3 .event-notice,
body:not(.admin-mode).theme-team-3 .event-result {
  border-color: rgba(15, 123, 101, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 246, 0.94)),
    #ffffff;
  box-shadow: 0 18px 42px rgba(31, 73, 61, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body:not(.admin-mode).theme-team-4 .customer-hero-card,
body:not(.admin-mode).theme-team-4 .stake-field,
body:not(.admin-mode).theme-team-4 .customer-event-reward,
body:not(.admin-mode).theme-team-4 .customer-countdown-preview,
body:not(.admin-mode).theme-team-4 .customer-staking-list,
body:not(.admin-mode).theme-team-4 .event-card,
body:not(.admin-mode).theme-team-4 .event-notice,
body:not(.admin-mode).theme-team-4 .event-result {
  border-color: rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(145deg, rgba(14, 30, 49, 0.94), rgba(6, 14, 26, 0.9)),
    #08111e;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(157, 242, 255, 0.05);
}

body:not(.admin-mode).theme-team-3 .hero-status-row,
body:not(.admin-mode).theme-team-3 .hero-metrics span {
  border-color: rgba(15, 123, 101, 0.12);
}

body:not(.admin-mode).theme-team-4 .hero-status-row,
body:not(.admin-mode).theme-team-4 .hero-metrics span {
  border-color: rgba(34, 211, 238, 0.12);
}

body:not(.admin-mode).theme-team-3 .hero-check {
  background: linear-gradient(135deg, #0f7b65, #22a485);
  color: #ffffff;
}

body:not(.admin-mode).theme-team-4 .hero-check {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #06101d;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.22);
}

body:not(.admin-mode).theme-team-3 #stakingForm .stake-amount-control,
body:not(.admin-mode).theme-team-3 #stakingForm .customer-name-field input,
body:not(.admin-mode).theme-team-3 .amount-preset-row button,
body:not(.admin-mode).theme-team-3 .period-chip-row button,
body:not(.admin-mode).theme-team-3 .selected-countdown-item,
body:not(.admin-mode).theme-team-3 .customer-staking-item {
  border-color: rgba(15, 123, 101, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: #14241f;
}

body:not(.admin-mode).theme-team-4 #stakingForm .stake-amount-control,
body:not(.admin-mode).theme-team-4 #stakingForm .customer-name-field input,
body:not(.admin-mode).theme-team-4 .amount-preset-row button,
body:not(.admin-mode).theme-team-4 .period-chip-row button,
body:not(.admin-mode).theme-team-4 .selected-countdown-item,
body:not(.admin-mode).theme-team-4 .customer-staking-item {
  border-color: rgba(34, 211, 238, 0.16);
  background: rgba(5, 13, 25, 0.72);
  color: #eafaff;
}

body:not(.admin-mode).theme-team-3 #stakingForm .stake-amount-control input,
body:not(.admin-mode).theme-team-3 #stakingForm .customer-name-field input {
  background: #f8fcfa !important;
  color: #12241f !important;
  border-radius: 8px;
  color-scheme: light;
  box-shadow: inset 0 0 0 1px rgba(15, 123, 101, 0.08);
}

body:not(.admin-mode).theme-team-3 #stakingForm .stake-amount-control input::placeholder,
body:not(.admin-mode).theme-team-3 #stakingForm .customer-name-field input::placeholder {
  color: rgba(72, 96, 88, 0.72);
}

body:not(.admin-mode).theme-team-3 .asset-unit {
  color: #31534a;
}

body:not(.admin-mode).theme-team-3 .amount-step {
  border-left-color: rgba(15, 123, 101, 0.12);
  background: #e5f3ee;
  color: #0f6f5d;
}

body:not(.admin-mode).theme-team-4 .amount-step {
  border-left-color: rgba(34, 211, 238, 0.14);
  background: rgba(34, 211, 238, 0.09);
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.event-staking {
  border-color: rgba(199, 146, 40, 0.34);
  background: linear-gradient(135deg, rgba(255, 247, 218, 0.9), rgba(255, 255, 255, 0.76));
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.standard-staking {
  border-color: rgba(15, 123, 101, 0.22);
  background: linear-gradient(135deg, rgba(229, 243, 238, 0.96), rgba(255, 255, 255, 0.78));
}

body:not(.admin-mode).theme-team-4 .period-chip-row button.event-staking {
  border-color: rgba(255, 184, 77, 0.4);
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.16), rgba(5, 13, 25, 0.76));
}

body:not(.admin-mode).theme-team-4 .period-chip-row button.standard-staking {
  border-color: rgba(34, 211, 238, 0.28);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(5, 13, 25, 0.76));
}

body:not(.admin-mode).theme-team-3 .period-event-mark {
  background: #f0c35b;
  color: #16251f;
}

body:not(.admin-mode).theme-team-3 .period-standard-mark {
  background: #d9f0e8;
  color: #0f6f5d;
}

body:not(.admin-mode).theme-team-4 .period-event-mark {
  background: #ffb84d;
  color: #08111e;
}

body:not(.admin-mode).theme-team-3 .reward-card-button {
  border-color: rgba(15, 123, 101, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(225, 242, 235, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(15, 123, 101, 0.12), transparent 38%);
  color: #12241f;
  box-shadow: 0 22px 50px rgba(31, 73, 61, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body:not(.admin-mode).theme-team-3 .reward-card-button strong {
  color: #12241f;
}

body:not(.admin-mode).theme-team-3 .reward-card-button span,
body:not(.admin-mode).theme-team-3 .reward-card-button.is-revealed strong {
  color: #0f7b65;
}

body:not(.admin-mode).theme-team-3 .reward-card-button.is-revealed {
  border-color: #0f7b65;
  background:
    linear-gradient(145deg, #ffffff, #d9f0e8),
    radial-gradient(circle at 50% 0%, rgba(15, 123, 101, 0.18), transparent 40%);
  box-shadow: 0 14px 30px rgba(15, 123, 101, 0.16);
}

body:not(.admin-mode).theme-team-4 .reward-card-button {
  border-radius: 4px;
  border-color: rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.13), rgba(5, 13, 25, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(255, 184, 77, 0.12), transparent 38%);
}

body:not(.admin-mode).theme-team-4 .reward-card-button.is-revealed {
  border-color: #22d3ee;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.16);
}

body:not(.admin-mode).theme-team-4 .period-standard-mark {
  background: rgba(34, 211, 238, 0.18);
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-3 .customer-app-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 11px;
  margin-bottom: 12px;
}

body:not(.admin-mode).theme-team-3 .customer-brand {
  justify-content: space-between;
  padding: 4px 2px;
}

body:not(.admin-mode).theme-team-3 .customer-brand::after {
  content: "CLIENT DESK";
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 123, 101, 0.08);
  color: #0f6f5d;
  font-size: 11px;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-3 .customer-head-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

body:not(.admin-mode).theme-team-3 .customer-event-pill {
  justify-content: flex-start;
  border-radius: 18px;
}

body:not(.admin-mode).theme-team-3 .customer-wallet-pill {
  border-radius: 18px;
}

body:not(.admin-mode).theme-team-3 .customer-theme-intro {
  padding: 18px;
  border: 1px solid rgba(15, 123, 101, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 248, 243, 0.94));
  box-shadow: 0 18px 38px rgba(31, 73, 61, 0.12);
}

.prime-intro-layout,
.prime-intro-copy,
.prime-intro-ledger,
.prime-step-strip,
.prime-account-card,
.prime-ledger {
  min-width: 0;
}

.prime-intro-layout {
  display: grid;
  gap: 14px;
}

.prime-intro-copy {
  display: grid;
  gap: 6px;
}

.prime-intro-copy span {
  color: #c79228;
  font-size: 12px;
  font-weight: 900;
}

.prime-intro-copy strong {
  color: #12241f;
  font-size: 25px;
  line-height: 1.14;
}

.prime-intro-copy small {
  color: #60766f;
  font-size: 13px;
  line-height: 1.45;
}

.prime-intro-ledger {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 123, 101, 0.1);
}

.prime-intro-ledger div,
.prime-ledger div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.prime-intro-ledger span,
.prime-ledger span {
  color: #60766f;
  font-size: 12px;
  font-weight: 800;
}

.prime-intro-ledger strong,
.prime-ledger strong {
  min-width: 0;
  color: #0f6f5d;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.prime-step-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.prime-step-strip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(15, 123, 101, 0.08);
  color: #24463d;
  font-size: 13px;
  font-weight: 900;
}

.prime-step-strip b {
  color: #0f7b65;
  font-size: 11px;
}

.prime-account-steps {
  margin-top: 16px;
}

body:not(.admin-mode).theme-team-3 .customer-hero-card {
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
}

.prime-account-card {
  padding: 18px;
  border: 1px solid rgba(15, 123, 101, 0.16);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(31, 73, 61, 0.12);
}

.prime-account-top {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.prime-account-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #0f7b65, #1fa184);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.prime-account-top small,
.prime-account-top strong,
.prime-account-top em {
  display: block;
}

.prime-account-top small {
  color: #c79228;
  font-size: 11px;
  font-weight: 900;
}

.prime-account-top strong {
  color: #12241f;
  font-size: 19px;
}

.prime-account-top em {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef7f3;
  color: #0f6f5d;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.prime-balance-line {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #123d33, #0f7b65);
  color: #ffffff;
}

.prime-balance-line span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.prime-balance-line strong {
  font-size: 32px;
  line-height: 1;
}

.prime-balance-line small {
  font-size: 13px;
}

.prime-ledger {
  display: grid;
  gap: 9px;
  padding: 13px;
  border-radius: 18px;
  background: #f5fbf8;
}

.prime-account-card p {
  margin: 14px 0 0;
  color: #60766f;
  font-size: 13px;
  line-height: 1.45;
}

body:not(.admin-mode).theme-team-3 .stake-field {
  border-radius: 26px;
}

body:not(.admin-mode).theme-team-3 .stake-field-title {
  font-size: 19px;
}

body:not(.admin-mode).theme-team-3 .period-chip-list {
  gap: 12px;
}

body:not(.admin-mode).theme-team-3 .period-chip-row button {
  min-height: 158px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "main"
    "terms";
  gap: 13px;
  padding: 17px;
  border-radius: 22px;
}

body:not(.admin-mode).theme-team-3 .period-chip-main {
  grid-area: main;
}

body:not(.admin-mode).theme-team-3 .period-chip-terms {
  grid-area: terms;
  justify-self: stretch;
}

body:not(.admin-mode).theme-team-3 .period-card-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 123, 101, 0.12);
}

body:not(.admin-mode).theme-team-3 .period-card-code {
  background: #ffffff;
  color: #0f6f5d;
  box-shadow: inset 0 0 0 1px rgba(15, 123, 101, 0.12);
}

body:not(.admin-mode).theme-team-3 .period-chip-terms span {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(15, 123, 101, 0.08);
}

body:not(.admin-mode).theme-team-3 .event-progress-text,
body:not(.admin-mode).theme-team-3 .event-complete-text,
body:not(.admin-mode).theme-team-3 .period-chip-countdown {
  grid-column: 1;
  justify-self: start;
}

body:not(.admin-mode).theme-team-3 .event-complete-stamp {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.8);
}

body:not(.admin-mode).theme-team-3 .stake-amount-control {
  min-height: 92px;
  grid-template-columns: minmax(0, 1fr) 58px 42px 42px;
  border-radius: 24px;
  background: #ffffff;
}

body:not(.admin-mode).theme-team-3 #approveStakingBtn {
  min-height: 60px;
  border-radius: 20px;
}

body:not(.admin-mode).theme-team-4 .customer-app-head {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 6px;
  background: rgba(3, 8, 17, 0.72);
}

body:not(.admin-mode).theme-team-4 .customer-brand {
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

body:not(.admin-mode).theme-team-4 .customer-brand::after {
  content: "BSC NODE";
  color: #ffb84d;
  font-size: 11px;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-4 .customer-head-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

body:not(.admin-mode).theme-team-4 .customer-event-pill,
body:not(.admin-mode).theme-team-4 .customer-wallet-pill {
  border-radius: 4px;
}

body:not(.admin-mode).theme-team-4 .customer-theme-intro {
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(5, 13, 25, 0.95), rgba(3, 8, 17, 0.92));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}

.edge-intro-layout,
.edge-console-lines,
.edge-console-metrics,
.edge-status-board,
.edge-matrix,
.edge-route {
  min-width: 0;
}

.edge-console-head {
  display: grid;
  grid-template-columns: 9px 9px 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.16);
}

.edge-console-head span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22d3ee;
}

.edge-console-head span:nth-child(2) {
  background: #ffb84d;
}

.edge-console-head span:nth-child(3) {
  background: #64748b;
}

.edge-console-head strong,
.edge-console-head em {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.edge-console-head strong {
  color: #dffbff;
}

.edge-console-head em {
  color: #ffb84d;
}

.edge-console-lines {
  display: grid;
  gap: 8px;
  padding: 14px 12px;
}

.edge-console-lines code,
.edge-route code {
  display: block;
  color: #9df2ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.edge-console-lines code:nth-child(2),
.edge-route code:nth-child(2) {
  color: #ffcf7d;
}

.edge-console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(34, 211, 238, 0.16);
}

.edge-console-metrics span {
  display: grid;
  gap: 4px;
  padding: 11px 9px;
  border-right: 1px solid rgba(34, 211, 238, 0.12);
}

.edge-console-metrics span:last-child {
  border-right: 0;
}

.edge-console-metrics small,
.edge-matrix small {
  color: #8aa5b9;
  font-size: 10px;
  font-weight: 900;
}

.edge-console-metrics strong,
.edge-matrix strong {
  color: #ffb84d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 15px;
}

body:not(.admin-mode).theme-team-4 .customer-hero-card {
  padding: 0;
  border-radius: 6px;
}

.edge-status-board {
  display: grid;
  gap: 14px;
  padding: 15px;
}

.edge-status-line {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.edge-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}

.edge-status-line strong,
.edge-status-line em {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.edge-status-line strong {
  color: #eafaff;
}

.edge-status-line em {
  color: #8aa5b9;
}

.edge-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.edge-matrix span {
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.06);
}

.edge-route {
  display: grid;
  gap: 6px;
  padding: 11px;
  border-left: 3px solid #ffb84d;
  background: rgba(255, 184, 77, 0.08);
}

.edge-status-board p {
  margin: 0;
  color: #8aa5b9;
  font-size: 13px;
  line-height: 1.45;
}

body:not(.admin-mode).theme-team-4 .stake-field {
  border-radius: 6px;
}

body:not(.admin-mode).theme-team-4 .stake-field-title {
  color: #dffbff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 17px;
}

body:not(.admin-mode).theme-team-4 .period-chip-list {
  gap: 9px;
}

body:not(.admin-mode).theme-team-4 .period-chip-row button {
  min-height: 152px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "main"
    "terms";
  gap: 12px;
  padding: 14px;
  border-radius: 4px;
  border-left-width: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

body:not(.admin-mode).theme-team-4 .period-chip-main {
  grid-area: main;
}

body:not(.admin-mode).theme-team-4 .period-chip-terms {
  grid-area: terms;
  justify-self: stretch;
}

body:not(.admin-mode).theme-team-4 .period-card-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}

body:not(.admin-mode).theme-team-4 .period-card-code {
  border-radius: 3px;
  background: rgba(34, 211, 238, 0.08);
  color: #9df2ff;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.14);
}

body:not(.admin-mode).theme-team-4 .period-chip-terms span {
  background: rgba(34, 211, 238, 0.07);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.1);
}

body:not(.admin-mode).theme-team-4 .period-chip-terms b {
  color: #ffcf7d;
}

body:not(.admin-mode).theme-team-4 .event-progress-text,
body:not(.admin-mode).theme-team-4 .event-complete-text,
body:not(.admin-mode).theme-team-4 .period-chip-countdown {
  grid-column: 1 / -1;
  justify-self: start;
}

body:not(.admin-mode).theme-team-4 .stake-amount-control {
  min-height: 86px;
  grid-template-columns: minmax(0, 1fr) 54px 40px 40px;
  border-radius: 4px;
  background: rgba(2, 7, 18, 0.84);
}

body:not(.admin-mode).theme-team-4 #approveStakingBtn {
  min-height: 58px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

body:not(.admin-mode).theme-team-3 .amount-preset-row button:hover,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active {
  background: linear-gradient(135deg, #0f7b65, #1fa184);
  color: #ffffff;
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-main small,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-terms,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-terms small,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-terms b,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-card-code,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-main small,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-terms,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-terms small,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-terms b,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-card-code {
  color: rgba(255, 255, 255, 0.88);
}

body:not(.admin-mode).theme-team-4 .amount-preset-row button:hover,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #06101d;
}

body:not(.admin-mode).theme-team-4 .period-chip-row button.active .period-chip-main small,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active .period-chip-terms,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active .period-chip-terms small,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active .period-chip-terms b,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active .period-card-code,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover .period-chip-main small,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover .period-chip-terms,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover .period-chip-terms small,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover .period-chip-terms b,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover .period-card-code {
  color: rgba(6, 16, 29, 0.82);
}

body:not(.admin-mode).theme-team-3 #approveStakingBtn {
  background: linear-gradient(135deg, #0f7b65, #1fa184);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 123, 101, 0.22);
}

body:not(.admin-mode).theme-team-4 #approveStakingBtn {
  background: linear-gradient(135deg, #ffb84d, #f59e0b);
  color: #07111f;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.2);
}

body:not(.admin-mode).theme-team-3 .preview-head span,
body:not(.admin-mode).theme-team-3 .period-chip-terms,
body:not(.admin-mode).theme-team-3 .customer-event-reward strong,
body:not(.admin-mode).theme-team-3 .hero-metrics strong,
body:not(.admin-mode).theme-team-3 .selected-countdown-summary strong,
body:not(.admin-mode).theme-team-3 .time-box strong,
body:not(.admin-mode).theme-team-3 .stake-item-reward strong {
  color: #0f7b65;
}

body:not(.admin-mode).theme-team-4 .preview-head span,
body:not(.admin-mode).theme-team-4 .period-chip-terms,
body:not(.admin-mode).theme-team-4 .customer-event-reward strong,
body:not(.admin-mode).theme-team-4 .hero-metrics strong,
body:not(.admin-mode).theme-team-4 .selected-countdown-summary strong,
body:not(.admin-mode).theme-team-4 .time-box strong,
body:not(.admin-mode).theme-team-4 .stake-item-reward strong {
  color: #ffb84d;
}

body:not(.admin-mode).theme-team-3 .period-hint::before,
body:not(.admin-mode).theme-team-3 .stake-field-title::before {
  border-color: #0f7b65;
  color: #0f7b65;
}

body:not(.admin-mode).theme-team-4 .period-hint::before,
body:not(.admin-mode).theme-team-4 .stake-field-title::before {
  border-color: #22d3ee;
  color: #22d3ee;
}

@media (max-width: 430px) {
  body:not(.admin-mode).theme-team-3 #stakingView .work-grid,
  body:not(.admin-mode).theme-team-4 #stakingView .work-grid {
    padding-top: 15px;
  }

  body:not(.admin-mode).theme-team-3 .customer-app-head,
  body:not(.admin-mode).theme-team-4 .customer-app-head {
    gap: 13px;
  }

  body:not(.admin-mode).theme-team-3 .customer-brand strong,
  body:not(.admin-mode).theme-team-4 .customer-brand strong {
    font-size: 22px;
  }

  body:not(.admin-mode).theme-team-3 .customer-event-pill,
  body:not(.admin-mode).theme-team-4 .customer-event-pill {
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  body:not(.admin-mode).theme-team-3 .customer-wallet-pill,
  body:not(.admin-mode).theme-team-4 .customer-wallet-pill {
    flex: 0 0 auto;
  }
}

body:not(.admin-mode).theme-team-3 {
  --customer-bg: #050506;
  --customer-panel: rgba(16, 16, 18, 0.94);
  --customer-panel-2: rgba(27, 23, 16, 0.92);
  --customer-line: rgba(244, 198, 93, 0.28);
  --customer-text: #fff7df;
  --customer-muted: #b8ad91;
  --customer-gold: #f7c85b;
  --customer-green: #2dd4bf;
  color: var(--customer-text);
  background:
    linear-gradient(135deg, rgba(247, 200, 91, 0.16) 0 1px, transparent 1px 42px),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 52px),
    linear-gradient(180deg, #030304 0%, #10100f 48%, #050506 100%);
}

body:not(.admin-mode).theme-team-3 .main {
  background:
    linear-gradient(180deg, rgba(247, 200, 91, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(64, 44, 12, 0.34), rgba(2, 2, 3, 0.72));
}

body:not(.admin-mode).theme-team-3 .customer-app-head {
  padding: 14px;
  border: 1px solid rgba(247, 200, 91, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(21, 19, 16, 0.96), rgba(8, 8, 9, 0.94)),
    #080809;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-3 .customer-brand {
  color: #fff7df;
}

body:not(.admin-mode).theme-team-3 .customer-brand strong {
  color: #fff7df;
}

body:not(.admin-mode).theme-team-3 .customer-brand::after {
  content: "BLACK GOLD";
  background: linear-gradient(135deg, rgba(247, 200, 91, 0.2), rgba(166, 102, 24, 0.22));
  color: #f7c85b;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.24);
}

body:not(.admin-mode).theme-team-3 .customer-brand-mark {
  border: 1px solid rgba(247, 200, 91, 0.78);
  background: linear-gradient(145deg, #ffe08a, #b87418 48%, #241504);
  color: #11100d;
  box-shadow: 0 0 28px rgba(247, 200, 91, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

body:not(.admin-mode).theme-team-3 .customer-event-pill,
body:not(.admin-mode).theme-team-3 .customer-wallet-pill {
  border-color: rgba(247, 200, 91, 0.34);
  background: linear-gradient(135deg, rgba(247, 200, 91, 0.16), rgba(21, 19, 16, 0.9));
  color: #fff3c9;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 247, 223, 0.1);
}

body:not(.admin-mode).theme-team-3 .customer-event-pill .event-pill-kicker {
  background: linear-gradient(135deg, #ffe08a, #c97c18);
  color: #140d04;
}

body:not(.admin-mode).theme-team-3 .customer-network-dot,
body:not(.admin-mode).theme-team-3 .customer-network-dot::after {
  border-color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .customer-hero-card,
body:not(.admin-mode).theme-team-3 .stake-field,
body:not(.admin-mode).theme-team-3 .customer-event-reward,
body:not(.admin-mode).theme-team-3 .customer-countdown-preview,
body:not(.admin-mode).theme-team-3 .customer-staking-list,
body:not(.admin-mode).theme-team-3 .event-card,
body:not(.admin-mode).theme-team-3 .event-notice,
body:not(.admin-mode).theme-team-3 .event-result {
  border-color: rgba(247, 200, 91, 0.22);
  background:
    linear-gradient(145deg, rgba(20, 19, 17, 0.96), rgba(8, 8, 9, 0.95)),
    #090909;
  color: #fff7df;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-3 .event-card {
  position: relative;
  border-color: rgba(247, 200, 91, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 224, 138, 0.16), transparent 34%),
    linear-gradient(145deg, #11100f, #050506 72%);
}

body:not(.admin-mode).theme-team-3 .event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(247, 200, 91, 0.05) 0 1px, transparent 1px 12px);
  opacity: 0.7;
}

body:not(.admin-mode).theme-team-3 .event-card > * {
  position: relative;
  z-index: 1;
}

body:not(.admin-mode).theme-team-3 .event-card-head span,
body:not(.admin-mode).theme-team-3 .period-hint::before,
body:not(.admin-mode).theme-team-3 .stake-field-title::before {
  color: #f7c85b;
  border-color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .event-card-head strong,
body:not(.admin-mode).theme-team-3 .stake-field-title,
body:not(.admin-mode).theme-team-3 .prime-account-top strong,
body:not(.admin-mode).theme-team-3 .period-chip-label {
  color: #fff7df;
}

body:not(.admin-mode).theme-team-3 .event-card-head small,
body:not(.admin-mode).theme-team-3 .prime-account-card p,
body:not(.admin-mode).theme-team-3 .prime-intro-copy small {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-3 .reward-card-button {
  border: 1px solid rgba(255, 224, 138, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 240, 178, 0.96), rgba(232, 170, 55, 0.94) 43%, rgba(106, 56, 8, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 12px);
  color: #150f05;
  box-shadow: 0 30px 70px rgba(247, 200, 91, 0.22), 0 18px 44px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

body:not(.admin-mode).theme-team-3 .reward-card-button::before {
  border-color: rgba(83, 43, 4, 0.34);
}

body:not(.admin-mode).theme-team-3 .reward-card-button::after {
  background: rgba(255, 247, 223, 0.16);
  box-shadow: inset 0 0 0 1px rgba(83, 43, 4, 0.18), 0 0 44px rgba(255, 247, 223, 0.2);
}

body:not(.admin-mode).theme-team-3 .reward-card-button span,
body:not(.admin-mode).theme-team-3 .reward-card-button strong,
body:not(.admin-mode).theme-team-3 .reward-card-button small {
  color: #150f05;
  text-shadow: 0 1px 0 rgba(255, 247, 223, 0.4);
}

body:not(.admin-mode).theme-team-3 .reward-card-button strong {
  font-size: 29px;
}

body:not(.admin-mode).theme-team-3 .reward-card-button.is-revealed {
  border-color: #fff0b2;
  background:
    linear-gradient(145deg, #fff6d4, #f7c85b 42%, #9b5d12),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 12px);
  box-shadow: 0 0 34px rgba(247, 200, 91, 0.32), 0 30px 74px rgba(0, 0, 0, 0.46);
}

body:not(.admin-mode).theme-team-3 .reward-card-button.is-revealed strong {
  color: #140d04;
  font-size: 36px;
}

body:not(.admin-mode).theme-team-3 .event-result strong,
body:not(.admin-mode).theme-team-3 .customer-event-reward strong,
body:not(.admin-mode).theme-team-3 .preview-head span,
body:not(.admin-mode).theme-team-3 .period-chip-terms,
body:not(.admin-mode).theme-team-3 .hero-metrics strong,
body:not(.admin-mode).theme-team-3 .selected-countdown-summary strong,
body:not(.admin-mode).theme-team-3 .time-box strong,
body:not(.admin-mode).theme-team-3 .stake-item-reward strong {
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .prime-account-card {
  border-color: rgba(247, 200, 91, 0.24);
  background:
    linear-gradient(145deg, rgba(22, 20, 17, 0.98), rgba(8, 8, 9, 0.96)),
    #090909;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-3 .prime-account-icon {
  border: 1px solid rgba(255, 224, 138, 0.74);
  background: linear-gradient(145deg, #ffe08a, #c97c18);
  color: #120d04;
}

body:not(.admin-mode).theme-team-3 .prime-account-top small,
body:not(.admin-mode).theme-team-3 .prime-ledger strong,
body:not(.admin-mode).theme-team-3 .prime-step-strip b {
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .prime-account-top em {
  background: rgba(247, 200, 91, 0.14);
  color: #ffe08a;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.2);
}

body:not(.admin-mode).theme-team-3 .prime-step-strip span,
body:not(.admin-mode).theme-team-3 .prime-ledger,
body:not(.admin-mode).theme-team-3 .period-chip-terms span {
  background: rgba(255, 247, 223, 0.06);
  color: #fff7df;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.14);
}

body:not(.admin-mode).theme-team-3 .prime-balance-line {
  background:
    linear-gradient(135deg, #241504, #8f5510 46%, #f7c85b);
  color: #fff7df;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 34px rgba(247, 200, 91, 0.14);
}

body:not(.admin-mode).theme-team-3 #stakingForm .stake-amount-control,
body:not(.admin-mode).theme-team-3 #stakingForm .customer-name-field input,
body:not(.admin-mode).theme-team-3 .amount-preset-row button,
body:not(.admin-mode).theme-team-3 .period-chip-row button,
body:not(.admin-mode).theme-team-3 .selected-countdown-item,
body:not(.admin-mode).theme-team-3 .customer-staking-item {
  border-color: rgba(247, 200, 91, 0.24);
  background:
    linear-gradient(145deg, rgba(23, 22, 20, 0.94), rgba(8, 8, 9, 0.92));
  color: #fff7df;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-3 #stakingForm .stake-amount-control input,
body:not(.admin-mode).theme-team-3 #stakingForm .customer-name-field input {
  background: #090909 !important;
  color: #fff7df !important;
  color-scheme: dark;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.16);
}

body:not(.admin-mode).theme-team-3 #stakingForm .stake-amount-control input::placeholder,
body:not(.admin-mode).theme-team-3 #stakingForm .customer-name-field input::placeholder,
body:not(.admin-mode).theme-team-3 .asset-unit,
body:not(.admin-mode).theme-team-3 .prime-ledger span,
body:not(.admin-mode).theme-team-3 .period-chip-main small,
body:not(.admin-mode).theme-team-3 .period-chip-terms small {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-3 .amount-step {
  border-left-color: rgba(247, 200, 91, 0.18);
  background: rgba(247, 200, 91, 0.12);
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.event-staking,
body:not(.admin-mode).theme-team-3 .period-chip-row button.standard-staking {
  background:
    linear-gradient(145deg, rgba(26, 23, 18, 0.96), rgba(8, 8, 9, 0.94));
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.event-staking {
  border-color: rgba(247, 200, 91, 0.36);
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.standard-staking {
  border-color: rgba(255, 247, 223, 0.16);
}

body:not(.admin-mode).theme-team-3 .period-event-mark,
body:not(.admin-mode).theme-team-3 .period-standard-mark,
body:not(.admin-mode).theme-team-3 .period-card-code {
  background: linear-gradient(135deg, rgba(247, 200, 91, 0.18), rgba(255, 247, 223, 0.06));
  color: #f7c85b;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.2);
}

body:not(.admin-mode).theme-team-3 .amount-preset-row button:hover,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active,
body:not(.admin-mode).theme-team-3 #approveStakingBtn {
  background: linear-gradient(135deg, #ffe08a, #c97c18 58%, #5b3108);
  color: #130e05;
  box-shadow: 0 0 26px rgba(247, 200, 91, 0.28), 0 18px 38px rgba(0, 0, 0, 0.34);
}

body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-main small,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-terms,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-terms small,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-chip-terms b,
body:not(.admin-mode).theme-team-3 .period-chip-row button.active .period-card-code,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-main small,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-terms,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-terms small,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-chip-terms b,
body:not(.admin-mode).theme-team-3 .period-chip-row button:hover .period-card-code {
  color: #130e05;
}

body:not(.admin-mode).theme-team-3 #eventParticipationModal {
  background:
    radial-gradient(circle at 50% 18%, rgba(247, 200, 91, 0.2), transparent 34%),
    rgba(2, 2, 3, 0.78);
  backdrop-filter: blur(8px);
}

body:not(.admin-mode).theme-team-3 .event-participation-modal {
  position: relative;
  max-width: 430px;
  overflow: hidden;
  border: 1px solid rgba(247, 200, 91, 0.36);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 224, 138, 0.13), transparent 34%),
    linear-gradient(145deg, rgba(19, 18, 16, 0.98), rgba(6, 6, 7, 0.98)),
    #080808;
  color: #fff7df;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.64), 0 0 38px rgba(247, 200, 91, 0.14), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-3 .event-participation-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 247, 223, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(247, 200, 91, 0.05) 0 1px, transparent 1px 12px);
}

body:not(.admin-mode).theme-team-3 .event-participation-modal > * {
  position: relative;
  z-index: 1;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .modal-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(247, 200, 91, 0.18);
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .modal-head h2 {
  color: #fff7df;
  font-size: 24px;
  line-height: 1.15;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .modal-head p,
body:not(.admin-mode).theme-team-3 .event-participation-body p {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .icon-button {
  border: 1px solid rgba(247, 200, 91, 0.24);
  background: rgba(247, 200, 91, 0.1);
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .event-participation-body {
  gap: 14px;
  padding-top: 2px;
}

body:not(.admin-mode).theme-team-3 .event-participation-body strong {
  color: #fff7df;
  font-size: 22px;
  line-height: 1.2;
}

body:not(.admin-mode).theme-team-3 .gold-event-badge {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe08a, #c97c18);
  color: #130e05;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0 22px rgba(247, 200, 91, 0.24);
}

body:not(.admin-mode).theme-team-3 .gold-event-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body:not(.admin-mode).theme-team-3 .gold-event-metrics span {
  min-width: 0;
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 11px 9px;
  border: 1px solid rgba(247, 200, 91, 0.18);
  border-radius: 16px;
  background: rgba(255, 247, 223, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-3 .gold-event-metrics small {
  color: #b8ad91;
  font-size: 11px;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-3 .gold-event-metrics b {
  color: #f7c85b;
  font-size: 14px;
  overflow-wrap: anywhere;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 10px;
  margin-top: 18px;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .ghost-button,
body:not(.admin-mode).theme-team-3 .event-participation-modal .primary-button {
  min-height: 48px;
  border-radius: 16px;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .ghost-button {
  border-color: rgba(247, 200, 91, 0.24);
  background: rgba(255, 247, 223, 0.05);
  color: #fff3c9;
}

body:not(.admin-mode).theme-team-3 .event-participation-modal .primary-button {
  border: 0;
  background: linear-gradient(135deg, #ffe08a, #c97c18 58%, #5b3108);
  color: #130e05;
  box-shadow: 0 0 26px rgba(247, 200, 91, 0.28), 0 16px 34px rgba(0, 0, 0, 0.36);
}

@media (max-width: 430px) {
  body:not(.admin-mode).theme-team-3 .gold-event-metrics {
    grid-template-columns: 1fr;
  }
}

body:not(.admin-mode).theme-team-3 .modal-backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(247, 200, 91, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88));
  backdrop-filter: blur(8px);
}

body:not(.admin-mode).theme-team-3 .modal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 200, 91, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 224, 138, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(19, 18, 16, 0.98), rgba(6, 6, 7, 0.98)),
    #080808;
  color: #fff7df;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.64), 0 0 38px rgba(247, 200, 91, 0.14), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-3 .modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 247, 223, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(247, 200, 91, 0.05) 0 1px, transparent 1px 12px);
}

body:not(.admin-mode).theme-team-3 .modal > * {
  position: relative;
  z-index: 1;
}

body:not(.admin-mode).theme-team-3 .modal-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(247, 200, 91, 0.18);
}

body:not(.admin-mode).theme-team-3 .modal-head h2,
body:not(.admin-mode).theme-team-3 .event-name-modal .modal-head h2,
body:not(.admin-mode).theme-team-3 .staking-notice-modal .modal-head h2 {
  color: #fff7df;
}

body:not(.admin-mode).theme-team-3 .modal-head p,
body:not(.admin-mode).theme-team-3 .event-name-modal .modal-head p,
body:not(.admin-mode).theme-team-3 .staking-notice-modal .modal-head p,
body:not(.admin-mode).theme-team-3 .staking-notice-body,
body:not(.admin-mode).theme-team-3 .staking-notice-body p,
body:not(.admin-mode).theme-team-3 .staking-notice-body dt,
body:not(.admin-mode).theme-team-3 .event-name-modal label,
body:not(.admin-mode).theme-team-3 #connectedWalletModal label {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-3 .modal label {
  color: #fff3c9;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-3 .modal input,
body:not(.admin-mode).theme-team-3 .modal select,
body:not(.admin-mode).theme-team-3 .address-box {
  border-color: rgba(247, 200, 91, 0.24);
  background: rgba(255, 247, 223, 0.06);
  color: #fff7df;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-3 .modal input::placeholder {
  color: #8f846f;
}

body:not(.admin-mode).theme-team-3 .modal select option {
  background: #11100f;
  color: #fff7df;
}

body:not(.admin-mode).theme-team-3 .modal .icon-button {
  border: 1px solid rgba(247, 200, 91, 0.24);
  background: rgba(247, 200, 91, 0.1);
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .modal .icon-button:hover {
  background: rgba(247, 200, 91, 0.18);
}

body:not(.admin-mode).theme-team-3 .modal-actions {
  gap: 10px;
  margin-top: 18px;
}

body:not(.admin-mode).theme-team-3 .modal .ghost-button,
body:not(.admin-mode).theme-team-3 .modal .primary-button {
  min-height: 48px;
  border-radius: 16px;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-3 .modal .ghost-button {
  border-color: rgba(247, 200, 91, 0.24);
  background: rgba(255, 247, 223, 0.05);
  color: #fff3c9;
}

body:not(.admin-mode).theme-team-3 .modal .primary-button {
  border: 0;
  background: linear-gradient(135deg, #ffe08a, #c97c18 58%, #5b3108);
  color: #130e05;
  box-shadow: 0 0 26px rgba(247, 200, 91, 0.28), 0 16px 34px rgba(0, 0, 0, 0.36);
}

body:not(.admin-mode).theme-team-3 .diagnostic-box,
body:not(.admin-mode).theme-team-3 .error-box {
  border-color: rgba(247, 200, 91, 0.22);
  background: rgba(255, 247, 223, 0.06);
  color: #fff3c9;
}

body:not(.admin-mode).theme-team-3 .error-box {
  border-color: rgba(255, 122, 95, 0.34);
  background: rgba(255, 122, 95, 0.1);
  color: #ffb7a8;
}

body:not(.admin-mode).theme-team-3 .wallet-section {
  border-color: rgba(247, 200, 91, 0.2);
  background: rgba(255, 247, 223, 0.05);
}

body:not(.admin-mode).theme-team-3 .wallet-section h3 {
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .wallet-option {
  border-color: rgba(247, 200, 91, 0.22);
  background: rgba(11, 10, 9, 0.86);
  color: #fff7df;
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.05);
}

body:not(.admin-mode).theme-team-3 .wallet-option:hover {
  border-color: rgba(247, 200, 91, 0.58);
  box-shadow: 0 0 0 3px rgba(247, 200, 91, 0.12), 0 16px 34px rgba(0, 0, 0, 0.28);
}

body:not(.admin-mode).theme-team-3 .wallet-icon {
  border: 1px solid rgba(247, 200, 91, 0.34);
  background: linear-gradient(145deg, #ffe08a, #c97c18);
  color: #130e05;
}

body:not(.admin-mode).theme-team-3 .wallet-option small,
body:not(.admin-mode).theme-team-3 .field-note {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-3 .staking-notice-body strong,
body:not(.admin-mode).theme-team-3 .staking-notice-body dd {
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-3 .staking-notice-body dl {
  border-color: rgba(247, 200, 91, 0.2);
  background: rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-3 .staking-notice-body dl div {
  border-bottom-color: rgba(247, 200, 91, 0.14);
}

@media (max-width: 430px) {
  body:not(.admin-mode).theme-team-3 .modal {
    border-radius: 22px;
    padding: 15px;
  }

  body:not(.admin-mode).theme-team-3 .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

body:not(.admin-mode).theme-team-4 {
  --customer-bg: #030711;
  --customer-panel: rgba(5, 14, 25, 0.94);
  --customer-panel-2: rgba(7, 23, 37, 0.9);
  --customer-line: rgba(34, 211, 238, 0.28);
  --customer-text: #eaffff;
  --customer-muted: #83a4b8;
  --customer-gold: #ffb84d;
  --customer-green: #22d3ee;
  color: var(--customer-text);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.08) 0 1px, transparent 1px 38px),
    linear-gradient(180deg, rgba(34, 211, 238, 0.06) 0 1px, transparent 1px 38px),
    radial-gradient(circle at 18% 10%, rgba(34, 211, 238, 0.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(255, 184, 77, 0.14), transparent 28%),
    linear-gradient(180deg, #030711 0%, #06101f 52%, #02050b 100%);
}

body:not(.admin-mode).theme-team-4 .main {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(3, 7, 17, 0.2), rgba(3, 7, 17, 0.88));
}

body:not(.admin-mode).theme-team-4 .customer-app-head {
  border-color: rgba(34, 211, 238, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(7, 18, 32, 0.96), rgba(2, 7, 17, 0.94));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(157, 242, 255, 0.08);
}

body:not(.admin-mode).theme-team-4 .customer-brand,
body:not(.admin-mode).theme-team-4 .customer-brand strong {
  color: #eaffff;
}

body:not(.admin-mode).theme-team-4 .customer-brand::after {
  content: "SIGNAL NODE";
  color: #ffb84d;
}

body:not(.admin-mode).theme-team-4 .customer-brand-mark {
  border-color: rgba(34, 211, 238, 0.84);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(2, 7, 17, 0.9));
  color: #9df2ff;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.24), inset 0 0 0 1px rgba(157, 242, 255, 0.12);
}

body:not(.admin-mode).theme-team-4 .customer-event-pill,
body:not(.admin-mode).theme-team-4 .customer-wallet-pill {
  border-color: rgba(34, 211, 238, 0.26);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(2, 7, 17, 0.82));
  color: #eaffff;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.14), inset 0 1px 0 rgba(157, 242, 255, 0.08);
}

body:not(.admin-mode).theme-team-4 .customer-event-pill .event-pill-kicker {
  background: #ffb84d;
  color: #06101d;
}

body:not(.admin-mode).theme-team-4 .customer-hero-card,
body:not(.admin-mode).theme-team-4 .stake-field,
body:not(.admin-mode).theme-team-4 .customer-event-reward,
body:not(.admin-mode).theme-team-4 .customer-countdown-preview,
body:not(.admin-mode).theme-team-4 .customer-staking-list,
body:not(.admin-mode).theme-team-4 .event-card,
body:not(.admin-mode).theme-team-4 .event-notice,
body:not(.admin-mode).theme-team-4 .event-result {
  border-color: rgba(34, 211, 238, 0.2);
  background:
    linear-gradient(145deg, rgba(8, 20, 34, 0.96), rgba(2, 7, 17, 0.94)),
    #050b16;
  color: #eaffff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(157, 242, 255, 0.06);
}

body:not(.admin-mode).theme-team-4 .event-card {
  position: relative;
  border-left: 4px solid rgba(34, 211, 238, 0.62);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(8, 20, 34, 0.98), rgba(2, 7, 17, 0.96));
}

body:not(.admin-mode).theme-team-4 .event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(157, 242, 255, 0.08) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.08), transparent);
}

body:not(.admin-mode).theme-team-4 .event-card > * {
  position: relative;
  z-index: 1;
}

body:not(.admin-mode).theme-team-4 .event-card-head span,
body:not(.admin-mode).theme-team-4 .stake-field-title::before,
body:not(.admin-mode).theme-team-4 .period-hint::before {
  color: #22d3ee;
  border-color: #22d3ee;
}

body:not(.admin-mode).theme-team-4 .event-card-head strong,
body:not(.admin-mode).theme-team-4 .stake-field-title,
body:not(.admin-mode).theme-team-4 .period-chip-label {
  color: #eaffff;
}

body:not(.admin-mode).theme-team-4 .event-card-head small,
body:not(.admin-mode).theme-team-4 .period-chip-main small,
body:not(.admin-mode).theme-team-4 .period-chip-terms small {
  color: #83a4b8;
}

body:not(.admin-mode).theme-team-4 .reward-card-button {
  border: 1px solid rgba(34, 211, 238, 0.46);
  border-left-width: 4px;
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(4, 11, 22, 0.96) 58%),
    linear-gradient(90deg, transparent, rgba(255, 184, 77, 0.1), transparent);
  color: #eaffff;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.16), 0 24px 58px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(157, 242, 255, 0.08);
}

body:not(.admin-mode).theme-team-4 .reward-card-button::before {
  border-color: rgba(34, 211, 238, 0.24);
  border-radius: 4px;
}

body:not(.admin-mode).theme-team-4 .reward-card-button::after {
  border-radius: 0;
  background: rgba(34, 211, 238, 0.08);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.14), 0 0 42px rgba(34, 211, 238, 0.16);
}

body:not(.admin-mode).theme-team-4 .reward-card-button span {
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-4 .reward-card-button strong {
  color: #ffb84d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 30px;
}

body:not(.admin-mode).theme-team-4 .reward-card-button small {
  color: #a8c3d2;
}

body:not(.admin-mode).theme-team-4 .reward-card-button.is-revealed {
  border-color: #22d3ee;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(4, 11, 22, 0.96) 58%),
    linear-gradient(90deg, rgba(255, 184, 77, 0.14), transparent);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.24), 0 24px 58px rgba(0, 0, 0, 0.4);
}

body:not(.admin-mode).theme-team-4 #stakingForm .stake-amount-control,
body:not(.admin-mode).theme-team-4 #stakingForm .customer-name-field input,
body:not(.admin-mode).theme-team-4 .amount-preset-row button,
body:not(.admin-mode).theme-team-4 .period-chip-row button,
body:not(.admin-mode).theme-team-4 .selected-countdown-item,
body:not(.admin-mode).theme-team-4 .customer-staking-item {
  border-color: rgba(34, 211, 238, 0.18);
  background:
    linear-gradient(145deg, rgba(7, 18, 32, 0.92), rgba(2, 7, 17, 0.9));
  color: #eaffff;
}

body:not(.admin-mode).theme-team-4 .period-chip-row button.event-staking {
  border-color: rgba(255, 184, 77, 0.38);
}

body:not(.admin-mode).theme-team-4 .period-chip-row button.standard-staking {
  border-color: rgba(34, 211, 238, 0.28);
}

body:not(.admin-mode).theme-team-4 .period-card-code,
body:not(.admin-mode).theme-team-4 .period-standard-mark {
  background: rgba(34, 211, 238, 0.12);
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-4 .period-event-mark {
  background: #ffb84d;
  color: #06101d;
}

body:not(.admin-mode).theme-team-4 .amount-preset-row button:hover,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #06101d;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.24), 0 16px 34px rgba(0, 0, 0, 0.32);
}

body:not(.admin-mode).theme-team-4 #approveStakingBtn {
  border: 0;
  background: linear-gradient(135deg, #ffb84d, #f59e0b);
  color: #06101d;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.22);
}

body:not(.admin-mode).theme-team-4 .modal-backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(34, 211, 238, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.74), rgba(2, 5, 11, 0.9));
  backdrop-filter: blur(8px);
}

body:not(.admin-mode).theme-team-4 .modal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-left-width: 4px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.1), transparent 42%),
    linear-gradient(145deg, rgba(7, 18, 32, 0.98), rgba(2, 7, 17, 0.98)),
    #050b16;
  color: #eaffff;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.64), 0 0 34px rgba(34, 211, 238, 0.14), inset 0 1px 0 rgba(157, 242, 255, 0.08);
}

body:not(.admin-mode).theme-team-4 .modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(157, 242, 255, 0.08) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.08), transparent);
}

body:not(.admin-mode).theme-team-4 .modal > * {
  position: relative;
  z-index: 1;
}

body:not(.admin-mode).theme-team-4 .modal-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
}

body:not(.admin-mode).theme-team-4 .modal-head h2,
body:not(.admin-mode).theme-team-4 .event-participation-modal .modal-head h2,
body:not(.admin-mode).theme-team-4 .event-name-modal .modal-head h2,
body:not(.admin-mode).theme-team-4 .staking-notice-modal .modal-head h2 {
  color: #eaffff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

body:not(.admin-mode).theme-team-4 .modal-head p,
body:not(.admin-mode).theme-team-4 .event-participation-modal .modal-head p,
body:not(.admin-mode).theme-team-4 .event-name-modal .modal-head p,
body:not(.admin-mode).theme-team-4 .staking-notice-modal .modal-head p,
body:not(.admin-mode).theme-team-4 .event-participation-body p,
body:not(.admin-mode).theme-team-4 .staking-notice-body,
body:not(.admin-mode).theme-team-4 .staking-notice-body p,
body:not(.admin-mode).theme-team-4 .staking-notice-body dt {
  color: #83a4b8;
}

body:not(.admin-mode).theme-team-4 .event-participation-body strong,
body:not(.admin-mode).theme-team-4 .staking-notice-body strong,
body:not(.admin-mode).theme-team-4 .staking-notice-body dd {
  color: #ffb84d;
}

body:not(.admin-mode).theme-team-4 .modal label {
  color: #9df2ff;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-4 .modal input,
body:not(.admin-mode).theme-team-4 .modal select,
body:not(.admin-mode).theme-team-4 .address-box {
  border-color: rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.07);
  color: #eaffff;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(157, 242, 255, 0.06);
}

body:not(.admin-mode).theme-team-4 .modal input::placeholder {
  color: #7193a8;
}

body:not(.admin-mode).theme-team-4 .modal select option {
  background: #071220;
  color: #eaffff;
}

body:not(.admin-mode).theme-team-4 .modal .icon-button {
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.1);
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-4 .modal-actions {
  gap: 10px;
  margin-top: 18px;
}

body:not(.admin-mode).theme-team-4 .modal .ghost-button,
body:not(.admin-mode).theme-team-4 .modal .primary-button {
  min-height: 48px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-4 .modal .ghost-button {
  border-color: rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.07);
  color: #dffbff;
}

body:not(.admin-mode).theme-team-4 .modal .primary-button {
  border: 0;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #06101d;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.24), 0 16px 34px rgba(0, 0, 0, 0.36);
}

body:not(.admin-mode).theme-team-4 .diagnostic-box,
body:not(.admin-mode).theme-team-4 .error-box {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.07);
  color: #dffbff;
}

body:not(.admin-mode).theme-team-4 .error-box {
  border-color: rgba(255, 184, 77, 0.34);
  background: rgba(255, 184, 77, 0.1);
  color: #ffcf7d;
}

body:not(.admin-mode).theme-team-4 .wallet-section,
body:not(.admin-mode).theme-team-4 .staking-notice-body dl {
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.06);
}

body:not(.admin-mode).theme-team-4 .wallet-section h3 {
  color: #22d3ee;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

body:not(.admin-mode).theme-team-4 .wallet-option {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(2, 7, 17, 0.88);
  color: #eaffff;
}

body:not(.admin-mode).theme-team-4 .wallet-option:hover {
  border-color: rgba(34, 211, 238, 0.58);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), 0 16px 34px rgba(0, 0, 0, 0.3);
}

body:not(.admin-mode).theme-team-4 .wallet-icon {
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.12);
  color: #9df2ff;
}

body:not(.admin-mode).theme-team-4 .wallet-option small,
body:not(.admin-mode).theme-team-4 .field-note {
  color: #83a4b8;
}

body:not(.admin-mode).theme-team-4 .signal-event-badge {
  width: max-content;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.14);
  color: #9df2ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.24);
}

body:not(.admin-mode).theme-team-4 .signal-event-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body:not(.admin-mode).theme-team-4 .signal-event-metrics span {
  min-width: 0;
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 11px 9px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.07);
}

body:not(.admin-mode).theme-team-4 .signal-event-metrics small {
  color: #83a4b8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-4 .signal-event-metrics b {
  color: #ffb84d;
  font-size: 14px;
  overflow-wrap: anywhere;
}

@media (max-width: 430px) {
  body:not(.admin-mode).theme-team-4 .modal {
    padding: 15px;
  }

  body:not(.admin-mode).theme-team-4 .modal-actions,
  body:not(.admin-mode).theme-team-4 .signal-event-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }
}

body:not(.admin-mode).theme-team-4 {
  --customer-bg: #050506;
  --customer-panel: rgba(16, 16, 18, 0.94);
  --customer-panel-2: rgba(27, 23, 16, 0.92);
  --customer-line: rgba(244, 198, 93, 0.28);
  --customer-text: #fff7df;
  --customer-muted: #b8ad91;
  --customer-gold: #f7c85b;
  --customer-green: #2dd4bf;
  color: var(--customer-text);
  background:
    linear-gradient(135deg, rgba(247, 200, 91, 0.16) 0 1px, transparent 1px 42px),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 52px),
    linear-gradient(180deg, #030304 0%, #10100f 48%, #050506 100%);
}

body:not(.admin-mode).theme-team-4 .main {
  background:
    linear-gradient(180deg, rgba(247, 200, 91, 0.08), transparent 28%),
    linear-gradient(145deg, rgba(64, 44, 12, 0.34), rgba(2, 2, 3, 0.72));
}

body:not(.admin-mode).theme-team-4 .customer-app-head {
  padding: 14px;
  border: 1px solid rgba(247, 200, 91, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(21, 19, 16, 0.96), rgba(8, 8, 9, 0.94)),
    #080809;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-4 .customer-brand {
  color: #fff7df;
  font-family: inherit;
}

body:not(.admin-mode).theme-team-4 .customer-brand strong {
  color: #fff7df;
  font-family: inherit;
}

body:not(.admin-mode).theme-team-4 .customer-brand::after {
  content: "BLACK GOLD";
  background: linear-gradient(135deg, rgba(247, 200, 91, 0.2), rgba(166, 102, 24, 0.22));
  color: #f7c85b;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.24);
}

body:not(.admin-mode).theme-team-4 .customer-brand-mark {
  border: 1px solid rgba(247, 200, 91, 0.78);
  background: linear-gradient(145deg, #ffe08a, #b87418 48%, #241504);
  color: #11100d;
  box-shadow: 0 0 28px rgba(247, 200, 91, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

body:not(.admin-mode).theme-team-4 .customer-event-pill,
body:not(.admin-mode).theme-team-4 .customer-wallet-pill {
  border-color: rgba(247, 200, 91, 0.34);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(247, 200, 91, 0.16), rgba(21, 19, 16, 0.9));
  color: #fff3c9;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 247, 223, 0.1);
}

body:not(.admin-mode).theme-team-4 .customer-event-pill .event-pill-kicker {
  background: linear-gradient(135deg, #ffe08a, #c97c18);
  color: #140d04;
}

body:not(.admin-mode).theme-team-4 .customer-network-dot,
body:not(.admin-mode).theme-team-4 .customer-network-dot::after {
  border-color: #f7c85b;
}

body:not(.admin-mode).theme-team-4 .customer-hero-card,
body:not(.admin-mode).theme-team-4 .stake-field,
body:not(.admin-mode).theme-team-4 .customer-event-reward,
body:not(.admin-mode).theme-team-4 .customer-countdown-preview,
body:not(.admin-mode).theme-team-4 .customer-staking-list,
body:not(.admin-mode).theme-team-4 .event-card,
body:not(.admin-mode).theme-team-4 .event-notice,
body:not(.admin-mode).theme-team-4 .event-result {
  border-color: rgba(247, 200, 91, 0.22);
  background:
    linear-gradient(145deg, rgba(20, 19, 17, 0.96), rgba(8, 8, 9, 0.95)),
    #090909;
  color: #fff7df;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-4 .event-card {
  position: relative;
  border-left: 1px solid rgba(247, 200, 91, 0.34);
  border-color: rgba(247, 200, 91, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 224, 138, 0.16), transparent 34%),
    linear-gradient(145deg, #11100f, #050506 72%);
}

body:not(.admin-mode).theme-team-4 .event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(247, 200, 91, 0.05) 0 1px, transparent 1px 12px);
  opacity: 0.7;
}

body:not(.admin-mode).theme-team-4 .event-card > * {
  position: relative;
  z-index: 1;
}

body:not(.admin-mode).theme-team-4 .event-card-head span,
body:not(.admin-mode).theme-team-4 .period-hint::before,
body:not(.admin-mode).theme-team-4 .stake-field-title::before {
  color: #f7c85b;
  border-color: #f7c85b;
}

body:not(.admin-mode).theme-team-4 .event-card-head strong,
body:not(.admin-mode).theme-team-4 .stake-field-title,
body:not(.admin-mode).theme-team-4 .prime-account-top strong,
body:not(.admin-mode).theme-team-4 .period-chip-label {
  color: #fff7df;
  font-family: inherit;
}

body:not(.admin-mode).theme-team-4 .event-card-head small,
body:not(.admin-mode).theme-team-4 .prime-account-card p,
body:not(.admin-mode).theme-team-4 .prime-intro-copy small,
body:not(.admin-mode).theme-team-4 .period-chip-main small,
body:not(.admin-mode).theme-team-4 .period-chip-terms small {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-4 .customer-hero-card {
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
}

body:not(.admin-mode).theme-team-4 .prime-account-card {
  border-color: rgba(247, 200, 91, 0.24);
  background:
    linear-gradient(145deg, rgba(22, 20, 17, 0.98), rgba(8, 8, 9, 0.96)),
    #090909;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-4 .prime-account-icon {
  border: 1px solid rgba(255, 224, 138, 0.74);
  background: linear-gradient(145deg, #ffe08a, #c97c18);
  color: #120d04;
}

body:not(.admin-mode).theme-team-4 .prime-account-top small,
body:not(.admin-mode).theme-team-4 .prime-ledger strong,
body:not(.admin-mode).theme-team-4 .prime-step-strip b {
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-4 .prime-account-top em {
  background: rgba(247, 200, 91, 0.14);
  color: #ffe08a;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.2);
}

body:not(.admin-mode).theme-team-4 .prime-step-strip span,
body:not(.admin-mode).theme-team-4 .prime-ledger,
body:not(.admin-mode).theme-team-4 .period-chip-terms span {
  background: rgba(255, 247, 223, 0.06);
  color: #fff7df;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.14);
}

body:not(.admin-mode).theme-team-4 .prime-balance-line {
  background:
    linear-gradient(135deg, #241504, #8f5510 46%, #f7c85b);
  color: #fff7df;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 34px rgba(247, 200, 91, 0.14);
}

body:not(.admin-mode).theme-team-4 .reward-card-button {
  border: 1px solid rgba(255, 224, 138, 0.78);
  border-left-width: 1px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 240, 178, 0.96), rgba(232, 170, 55, 0.94) 43%, rgba(106, 56, 8, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 12px);
  color: #150f05;
  box-shadow: 0 30px 70px rgba(247, 200, 91, 0.22), 0 18px 44px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

body:not(.admin-mode).theme-team-4 .reward-card-button::before {
  border-color: rgba(83, 43, 4, 0.34);
  border-radius: 14px;
}

body:not(.admin-mode).theme-team-4 .reward-card-button::after {
  border-radius: 50%;
  background: rgba(255, 247, 223, 0.16);
  box-shadow: inset 0 0 0 1px rgba(83, 43, 4, 0.18), 0 0 44px rgba(255, 247, 223, 0.2);
}

body:not(.admin-mode).theme-team-4 .reward-card-button span,
body:not(.admin-mode).theme-team-4 .reward-card-button strong,
body:not(.admin-mode).theme-team-4 .reward-card-button small {
  color: #150f05;
  font-family: inherit;
  text-shadow: 0 1px 0 rgba(255, 247, 223, 0.4);
}

body:not(.admin-mode).theme-team-4 .reward-card-button strong {
  font-size: 29px;
}

body:not(.admin-mode).theme-team-4 .reward-card-button.is-revealed {
  border-color: #fff0b2;
  background:
    linear-gradient(145deg, #fff6d4, #f7c85b 42%, #9b5d12),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 12px);
  box-shadow: 0 0 34px rgba(247, 200, 91, 0.32), 0 30px 74px rgba(0, 0, 0, 0.46);
}

body:not(.admin-mode).theme-team-4 .reward-card-button.is-revealed strong {
  color: #140d04;
  font-size: 36px;
}

body:not(.admin-mode).theme-team-4 #stakingForm .stake-amount-control,
body:not(.admin-mode).theme-team-4 #stakingForm .customer-name-field input,
body:not(.admin-mode).theme-team-4 .amount-preset-row button,
body:not(.admin-mode).theme-team-4 .period-chip-row button,
body:not(.admin-mode).theme-team-4 .selected-countdown-item,
body:not(.admin-mode).theme-team-4 .customer-staking-item {
  border-color: rgba(247, 200, 91, 0.24);
  border-left-width: 1px;
  background:
    linear-gradient(145deg, rgba(23, 22, 20, 0.94), rgba(8, 8, 9, 0.92));
  color: #fff7df;
  font-family: inherit;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-4 .period-card-code,
body:not(.admin-mode).theme-team-4 .period-event-mark,
body:not(.admin-mode).theme-team-4 .period-standard-mark {
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 200, 91, 0.18), rgba(255, 247, 223, 0.06));
  color: #f7c85b;
  box-shadow: inset 0 0 0 1px rgba(247, 200, 91, 0.2);
}

body:not(.admin-mode).theme-team-4 .period-chip-terms b,
body:not(.admin-mode).theme-team-4 .event-result strong,
body:not(.admin-mode).theme-team-4 .customer-event-reward strong,
body:not(.admin-mode).theme-team-4 .preview-head span,
body:not(.admin-mode).theme-team-4 .period-chip-terms,
body:not(.admin-mode).theme-team-4 .hero-metrics strong,
body:not(.admin-mode).theme-team-4 .selected-countdown-summary strong,
body:not(.admin-mode).theme-team-4 .time-box strong,
body:not(.admin-mode).theme-team-4 .stake-item-reward strong {
  color: #f7c85b;
  font-family: inherit;
}

body:not(.admin-mode).theme-team-4 .amount-preset-row button:hover,
body:not(.admin-mode).theme-team-4 .period-chip-row button:hover,
body:not(.admin-mode).theme-team-4 .period-chip-row button.active,
body:not(.admin-mode).theme-team-4 #approveStakingBtn {
  border-radius: 20px;
  background: linear-gradient(135deg, #ffe08a, #c97c18 58%, #5b3108);
  color: #130e05;
  font-family: inherit;
  box-shadow: 0 0 26px rgba(247, 200, 91, 0.28), 0 18px 38px rgba(0, 0, 0, 0.34);
}

body:not(.admin-mode).theme-team-4 .modal-backdrop {
  background:
    radial-gradient(circle at 50% 18%, rgba(247, 200, 91, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.88));
  backdrop-filter: blur(8px);
}

body:not(.admin-mode).theme-team-4 .modal {
  border: 1px solid rgba(247, 200, 91, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 224, 138, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(19, 18, 16, 0.98), rgba(6, 6, 7, 0.98)),
    #080808;
  color: #fff7df;
  font-family: inherit;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.64), 0 0 38px rgba(247, 200, 91, 0.14), inset 0 1px 0 rgba(255, 247, 223, 0.08);
}

body:not(.admin-mode).theme-team-4 .modal::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 247, 223, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(247, 200, 91, 0.05) 0 1px, transparent 1px 12px);
}

body:not(.admin-mode).theme-team-4 .modal-head {
  border-bottom-color: rgba(247, 200, 91, 0.18);
}

body:not(.admin-mode).theme-team-4 .modal-head h2,
body:not(.admin-mode).theme-team-4 .event-participation-modal .modal-head h2,
body:not(.admin-mode).theme-team-4 .event-name-modal .modal-head h2,
body:not(.admin-mode).theme-team-4 .staking-notice-modal .modal-head h2 {
  color: #fff7df;
  font-family: inherit;
}

body:not(.admin-mode).theme-team-4 .modal-head p,
body:not(.admin-mode).theme-team-4 .event-participation-modal .modal-head p,
body:not(.admin-mode).theme-team-4 .event-name-modal .modal-head p,
body:not(.admin-mode).theme-team-4 .staking-notice-modal .modal-head p,
body:not(.admin-mode).theme-team-4 .event-participation-body p,
body:not(.admin-mode).theme-team-4 .staking-notice-body,
body:not(.admin-mode).theme-team-4 .staking-notice-body p,
body:not(.admin-mode).theme-team-4 .staking-notice-body dt {
  color: #b8ad91;
}

body:not(.admin-mode).theme-team-4 .event-participation-body strong,
body:not(.admin-mode).theme-team-4 .staking-notice-body strong,
body:not(.admin-mode).theme-team-4 .staking-notice-body dd {
  color: #fff7df;
}

body:not(.admin-mode).theme-team-4 .modal label {
  color: #fff3c9;
  font-weight: 900;
}

body:not(.admin-mode).theme-team-4 .modal input,
body:not(.admin-mode).theme-team-4 .modal select,
body:not(.admin-mode).theme-team-4 .address-box {
  border-color: rgba(247, 200, 91, 0.24);
  background: rgba(255, 247, 223, 0.06);
  color: #fff7df;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-4 .modal .icon-button {
  border: 1px solid rgba(247, 200, 91, 0.24);
  border-radius: 8px;
  background: rgba(247, 200, 91, 0.1);
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-4 .modal .ghost-button,
body:not(.admin-mode).theme-team-4 .modal .primary-button {
  border-radius: 16px;
  font-family: inherit;
}

body:not(.admin-mode).theme-team-4 .modal .ghost-button {
  border-color: rgba(247, 200, 91, 0.24);
  background: rgba(255, 247, 223, 0.05);
  color: #fff3c9;
}

body:not(.admin-mode).theme-team-4 .modal .primary-button {
  background: linear-gradient(135deg, #ffe08a, #c97c18 58%, #5b3108);
  color: #130e05;
  box-shadow: 0 0 26px rgba(247, 200, 91, 0.28), 0 16px 34px rgba(0, 0, 0, 0.36);
}

body:not(.admin-mode).theme-team-4 .diagnostic-box,
body:not(.admin-mode).theme-team-4 .error-box,
body:not(.admin-mode).theme-team-4 .wallet-section,
body:not(.admin-mode).theme-team-4 .staking-notice-body dl {
  border-color: rgba(247, 200, 91, 0.22);
  background: rgba(255, 247, 223, 0.06);
  color: #fff3c9;
}

body:not(.admin-mode).theme-team-4 .wallet-section h3,
body:not(.admin-mode).theme-team-4 .gold-event-badge,
body:not(.admin-mode).theme-team-4 .gold-event-metrics b {
  color: #f7c85b;
}

body:not(.admin-mode).theme-team-4 .wallet-option {
  border-color: rgba(247, 200, 91, 0.22);
  background: rgba(11, 10, 9, 0.86);
  color: #fff7df;
}

body:not(.admin-mode).theme-team-4 .wallet-icon,
body:not(.admin-mode).theme-team-4 .gold-event-badge {
  border: 1px solid rgba(247, 200, 91, 0.34);
  background: linear-gradient(145deg, #ffe08a, #c97c18);
  color: #130e05;
}

body:not(.admin-mode).theme-team-4 .gold-event-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body:not(.admin-mode).theme-team-4 .gold-event-metrics span {
  min-width: 0;
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 11px 9px;
  border: 1px solid rgba(247, 200, 91, 0.18);
  border-radius: 16px;
  background: rgba(255, 247, 223, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 247, 223, 0.06);
}

body:not(.admin-mode).theme-team-4 .gold-event-metrics small {
  color: #b8ad91;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 430px) {
  body:not(.admin-mode).theme-team-4 .modal {
    border-radius: 22px;
  }

  body:not(.admin-mode).theme-team-4 .gold-event-metrics {
    grid-template-columns: 1fr;
  }
}
