/*
  HALO SCT visual theme for octra_wallet legacy UI.
  Styling only — maps existing class names to front-end/HALOSCTWallet reference look.
  Do not add reference wallet logic here.
*/

@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

body.halo-sct {
  --halo-blue: #0003c9;
  --halo-lblue: #000080;
  --halo-dblue: #000060;
  --halo-white: #ffffff;
  --halo-yellow: #ffff00;
  --halo-cyan: #00ffff;
  --halo-green: #00ff00;
  --halo-red: #ff5555;
  --halo-grey: #aaaaaa;
  --halo-mgrey: #555577;
  --halo-priv: #ff55ff;
  --halo-font: "Share Tech Mono", "Courier New", monospace;
  --blue: var(--halo-blue);
  --white: var(--halo-white);
  --yellow: var(--halo-yellow);
  --grey: var(--halo-grey);
  --green: var(--halo-green);
  --dblue: var(--halo-dblue);
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

html:has(body.halo-sct) {
  background: var(--halo-blue);
  min-height: 100%;
  min-height: 100dvh;
}

body.halo-sct {
  font-family: var(--halo-font);
  background: var(--halo-blue);
  color: var(--halo-white);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.halo-sct a {
  color: var(--halo-cyan);
  border-bottom-color: rgba(0, 255, 255, 0.35);
}

body.halo-sct a:hover {
  color: var(--halo-yellow);
  border-bottom-color: var(--halo-yellow);
}

/* ── HALOS dos-screen shell ── */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

body.halo-sct .dos-screen {
  background: transparent;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

body.halo-sct .menu-bar {
  background: var(--halo-grey);
  color: #000;
  padding: 0;
  display: flex;
  align-items: stretch;
  height: 20px;
  font-size: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

body.halo-sct .menu-bar-title {
  background: var(--halo-blue);
  color: var(--halo-yellow);
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-weight: bold;
  letter-spacing: 0.05em;
}

body.halo-sct .menu-item {
  padding: 0 10px;
  display: flex;
  align-items: center;
  cursor: default;
  color: #000;
}

body.halo-sct .menu-item:hover {
  background: var(--halo-blue);
  color: var(--halo-white);
}

body.halo-sct .menu-bar-right {
  margin-left: auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #000;
  gap: 12px;
}

body.halo-sct #menuPriceDisplay {
  background: var(--halo-dblue);
  border: 1px solid #4444aa;
  padding: 1px 7px;
  color: var(--halo-cyan);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: bold;
}

body.halo-sct .net-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #888;
  display: inline-block;
  margin-right: 3px;
}

body.halo-sct .net-dot.ok {
  background: var(--halo-green);
  box-shadow: 0 0 4px var(--halo-green);
}

body.halo-sct .net-dot.err {
  background: var(--halo-red);
}

body.halo-sct .dos-window {
  margin: 8px 8px 0;
  border: 2px solid var(--halo-white);
  background: var(--halo-blue);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  min-height: 0;
  backdrop-filter: blur(2px) brightness(0.85);
  -webkit-backdrop-filter: blur(2px) brightness(0.85);
}

/* ── community disclaimer (below dos-window, inside dos-screen) ── */
body.halo-sct #communityDisclaimerBox {
  margin: 0 8px 8px;
  border: 2px solid var(--halo-yellow);
  border-left: 3px solid var(--halo-yellow);
  background: var(--halo-blue);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 10px;
  color: var(--halo-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.7;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

body.halo-sct #communityDisclaimerBox .disclaimer-hdr {
  font-size: 12px;
  font-weight: bold;
  color: var(--halo-yellow);
  margin-bottom: 6px;
  letter-spacing: 0.12em;
}

body.halo-sct #communityDisclaimerBox .disclaimer-lead {
  color: var(--halo-white);
  font-weight: bold;
}

body.halo-sct #communityDisclaimerBox .disclaimer-bullet {
  margin-top: 4px;
  color: var(--halo-grey);
}

body.halo-sct #communityDisclaimerBox .disclaimer-footer {
  margin-top: 6px;
  color: var(--halo-yellow);
  font-size: 9px;
}

body.halo-sct .dos-title-bar {
  background: rgba(0, 3, 201, 0.6);
  border-bottom: 1px solid var(--halo-white);
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

body.halo-sct .dos-title-text {
  color: var(--halo-yellow);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.1em;
  flex: 1;
  text-transform: uppercase;
}

body.halo-sct .dos-title-btns {
  display: flex;
  gap: 2px;
}

body.halo-sct .dos-lock-control {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

body.halo-sct .dos-lock-label {
  color: var(--halo-yellow);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.halo-sct .dos-lock-control:hover .dos-lock-label {
  color: var(--halo-white);
}

body.halo-sct .dos-btn-sm {
  width: 16px;
  height: 14px;
  background: var(--halo-grey);
  border: 1px solid #000;
  color: #000;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--halo-font);
}

body.halo-sct .dos-btn-sm:hover {
  background: var(--halo-white);
  color: var(--halo-blue);
}

body.halo-sct .status-bar {
  background: var(--halo-grey);
  color: #000;
  padding: 2px 6px;
  font-size: 11px;
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--halo-white);
  border-bottom: none;
  flex-wrap: wrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.halo-sct .status-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

body.halo-sct .status-dot {
  width: 6px;
  height: 6px;
  background: var(--halo-green);
  display: inline-block;
}

body.halo-sct .blink {
  animation: blink 1.5s infinite;
}

body.halo-sct .dos-window .wrap.dos-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  margin: 0;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 10px;
  overflow-y: auto;
}

body.halo-sct .dos-window .wrap.dos-content > header {
  display: none !important;
}

body.halo-sct .warn-box {
  border: 1px solid var(--halo-white);
  padding: 5px 10px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

body.halo-sct .warn-icon {
  color: var(--halo-yellow);
  flex-shrink: 0;
  font-weight: bold;
}

body.halo-sct .warn-text {
  font-size: 11px;
  color: var(--halo-yellow);
  line-height: 1.5;
  text-transform: uppercase;
}

/* ── shell / window ── */
body.halo-sct .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  background: var(--halo-blue);
  border: none;
  box-shadow: none;
}

/* ── header (menu bar) ── */
body.halo-sct header {
  background: var(--halo-grey);
  border-bottom: 1px solid var(--halo-white);
  min-height: 22px;
  padding: 0;
}

body.halo-sct header .left {
  background: var(--halo-blue);
  padding: 2px 12px;
  border-right: 1px solid var(--halo-white);
}

body.halo-sct header .title {
  font-size: 13px;
  font-weight: bold;
  color: var(--halo-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.halo-sct header .subtitle {
  font-size: 10px;
  color: var(--halo-cyan);
  margin-top: 1px;
  letter-spacing: 0.06em;
}

body.halo-sct header .subtitle .mono {
  color: var(--halo-cyan);
}

body.halo-sct header .right,
body.halo-sct header .logout-btn {
  background: var(--halo-grey);
  color: #000;
  border: none;
  border-left: 1px solid #888;
  font-family: var(--halo-font);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 10px;
}

body.halo-sct header .right.online {
  background: var(--halo-grey);
  color: #000;
}

body.halo-sct header .right.online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--halo-green);
  box-shadow: 0 0 4px var(--halo-green);
  margin-right: 5px;
  vertical-align: middle;
}

body.halo-sct header .right.error::before {
  background: var(--halo-red);
  box-shadow: 0 0 4px var(--halo-red);
}

body.halo-sct header .logout-btn:hover,
body.halo-sct header .right:hover {
  background: var(--halo-blue);
  color: var(--halo-white);
}

/* ── nav tabs (HALOS dos-tab look) ── */
body.halo-sct .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 50, 0.7);
  border-bottom: 1px solid var(--halo-white);
  margin: 0 0 10px;
  padding: 0;
}

body.halo-sct .nav-tabs a {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  color: var(--halo-grey);
  background: var(--halo-dblue);
  border-right: 1px solid #555;
  border-bottom: none;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  font-size: 12px;
  font-family: var(--halo-font);
}

body.halo-sct .nav-tabs a:hover {
  background: var(--halo-lblue);
  color: var(--halo-white);
}

body.halo-sct .nav-tabs a.active {
  background: var(--halo-blue);
  color: var(--halo-yellow);
  border-bottom: 2px solid var(--halo-blue);
  margin-bottom: -1px;
}

body.halo-sct .badge {
  background: var(--halo-priv);
  color: #000;
}

/* ── dashboard stats ── */
body.halo-sct .stats-row {
  border-bottom: 1px solid #555;
}

body.halo-sct .stat-box {
  background: var(--halo-dblue);
  border-right: 1px solid #555;
  padding: 10px;
}

body.halo-sct .stat-box .label {
  color: var(--halo-cyan);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

body.halo-sct .stat-box .value {
  color: var(--halo-white);
  font-size: 14px;
  font-weight: bold;
}

body.halo-sct #view-dashboard .stats-row .stat-box:first-child .value {
  font-size: 18px;
  color: var(--halo-white);
}

/* ── sections ── */
body.halo-sct .section-title,
body.halo-sct .form-panel-title,
body.halo-sct .ide-picker-title,
body.halo-sct .ide-tree-header {
  background: var(--halo-white);
  color: var(--halo-blue);
  border-top: none;
  border-bottom: none;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
}

body.halo-sct .balance-strip {
  background: var(--halo-dblue);
  border-bottom: 1px solid #555;
  color: var(--halo-grey);
}

body.halo-sct .balance-strip .bal-label {
  color: var(--halo-cyan);
  text-transform: uppercase;
}

body.halo-sct .balance-strip .mono {
  color: var(--halo-white);
}

body.halo-sct .balance-strip .bal-sep {
  color: var(--halo-mgrey);
}

/* ── tables ── */
body.halo-sct th {
  background: var(--halo-lblue);
  color: var(--halo-cyan);
  border-bottom: 1px solid var(--halo-white);
  text-transform: uppercase;
  font-size: 10px;
}

body.halo-sct td {
  background: var(--halo-dblue);
  border-bottom: 1px solid #333388;
  color: var(--halo-white);
}

body.halo-sct tr:hover td {
  border-color: var(--halo-white);
}

body.halo-sct .detail-table td:first-child {
  color: var(--halo-cyan);
}

body.halo-sct .mono {
  font-family: var(--halo-font);
}

body.halo-sct .green {
  color: var(--halo-green);
}

body.halo-sct .red {
  color: var(--halo-red);
}

body.halo-sct .yellow,
body.halo-sct .gray {
  color: var(--halo-grey);
}

body.halo-sct .confirmed-tag {
  color: var(--halo-green);
}

body.halo-sct .pending-text {
  color: var(--halo-grey);
}

body.halo-sct .hash a,
body.halo-sct .addr a {
  color: var(--halo-cyan);
  border-bottom-color: rgba(0, 255, 255, 0.35);
}

body.halo-sct .private-tag {
  background: #003300;
  color: var(--halo-green);
  border: 1px solid var(--halo-green);
}

body.halo-sct .stealth-tag {
  background: #330000;
  color: var(--halo-red);
  border: 1px solid var(--halo-red);
}

body.halo-sct .pending-tag {
  background: var(--halo-dblue);
  color: var(--halo-grey);
  border: 1px solid #555;
}

body.halo-sct .contract-tag {
  background: var(--halo-lblue);
  color: var(--halo-cyan);
  border: 1px solid var(--halo-cyan);
}

/* ── forms ── */
body.halo-sct .form-row label {
  color: var(--halo-cyan);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

body.halo-sct .form-row input,
body.halo-sct .form-row textarea,
body.halo-sct .form-row select,
body.halo-sct .modal-input,
body.halo-sct #ct-template {
  background: var(--halo-lblue);
  border: 1px solid var(--halo-white);
  color: var(--halo-white);
  font-family: var(--halo-font);
  font-size: 12px;
}

body.halo-sct .form-row input:focus,
body.halo-sct .form-row textarea:focus,
body.halo-sct .form-row select:focus,
body.halo-sct .modal-input:focus {
  border-color: var(--halo-yellow);
  background: var(--halo-dblue);
  outline: none;
}

body.halo-sct .form-row input::placeholder,
body.halo-sct .form-row textarea::placeholder {
  color: var(--halo-mgrey);
}

body.halo-sct .form-split .form-panel {
  border-right: 1px solid #555;
}

/* ── buttons ── */
body.halo-sct .action-btn,
body.halo-sct .load-more,
body.halo-sct .token-btn,
body.halo-sct .modal-btn,
body.halo-sct .acct-btn {
  background: var(--halo-grey);
  border: 1px solid var(--halo-white);
  color: #000;
  font-family: var(--halo-font);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  width: auto;
}

body.halo-sct .action-btn {
  display: inline-block;
  width: 100%;
}

body.halo-sct .action-row .action-btn {
  flex: 1;
}

body.halo-sct .action-btn:hover,
body.halo-sct .load-more:hover,
body.halo-sct .token-btn:hover,
body.halo-sct .modal-btn:hover,
body.halo-sct .acct-btn:hover {
  background: var(--halo-white);
  color: var(--halo-blue);
}

body.halo-sct .action-btn:disabled,
body.halo-sct .load-more:disabled {
  background: var(--halo-dblue);
  color: var(--halo-mgrey);
  border-color: #555;
}

/* secondary/cancel buttons keep inline grey in markup — theme overrides */
body.halo-sct .action-btn[style*="background:#8C9DB6"],
body.halo-sct .action-btn[style*="background: #8C9DB6"] {
  background: var(--halo-dblue) !important;
  color: var(--halo-cyan) !important;
  border: 1px solid #555 !important;
}

body.halo-sct .form-row[style*="color:#8C9DB6"],
body.halo-sct .form-row[style*="color: #8C9DB6"] {
  color: var(--halo-grey) !important;
}

body.halo-sct .disasm-view,
body.halo-sct #ct-disasm-code {
  color: var(--halo-white) !important;
}

body.halo-sct .modal-btn-primary,
body.halo-sct .token-btn:not(.token-btn-sec) {
  background: var(--halo-blue);
  border: 2px solid var(--halo-white);
  color: var(--halo-white);
}

body.halo-sct .modal-btn-primary:hover,
body.halo-sct .token-btn:not(.token-btn-sec):hover {
  background: var(--halo-white);
  color: var(--halo-blue);
}

body.halo-sct .token-btn-sec {
  background: var(--halo-dblue);
  color: var(--halo-cyan);
  border: 1px solid #555;
}

/* ── results / messages ── */
body.halo-sct .result-ok {
  color: var(--halo-green);
}

body.halo-sct .result-error {
  color: var(--halo-red);
}

body.halo-sct .result-msg {
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.halo-sct .result-msg.result-ok {
  border-color: var(--halo-green);
  background: #003300;
}

body.halo-sct .result-msg.result-error {
  border-color: var(--halo-red);
  background: #330000;
}

body.halo-sct .error-box,
body.halo-sct .keys-warn,
body.halo-sct .msg-box {
  background: var(--halo-dblue);
  border: 1px solid var(--halo-white);
  color: var(--halo-yellow);
}

body.halo-sct .loading,
body.halo-sct .staging-empty {
  color: var(--halo-grey);
  font-style: normal;
  text-transform: uppercase;
}

body.halo-sct .mnemonic-warning {
  background: #330000;
  border: 1px solid var(--halo-red);
  color: var(--halo-red);
}

body.halo-sct .mnemonic-word {
  background: #003300;
  border: 1px solid var(--halo-green);
  color: var(--halo-green);
  font-family: var(--halo-font);
}

body.halo-sct .mnemonic-word .mw-num {
  color: var(--halo-grey);
}

/* ── cards / lists ── */
body.halo-sct .tx-card,
body.halo-sct .token-card {
  background: var(--halo-dblue);
  border-bottom: 1px solid #333388;
}

body.halo-sct .tx-card:hover,
body.halo-sct .token-card:hover {
  background: var(--halo-lblue);
}

body.halo-sct .card-label {
  color: var(--halo-cyan);
}

body.halo-sct .token-symbol {
  color: var(--halo-yellow);
}

body.halo-sct .token-name,
body.halo-sct .token-zero {
  color: var(--halo-grey);
}

body.halo-sct .account-card {
  background: var(--halo-dblue) !important;
  border: 1px solid var(--halo-white) !important;
  color: var(--halo-white) !important;
}

body.halo-sct .account-card:hover {
  background: var(--halo-lblue) !important;
  color: var(--halo-yellow) !important;
}

/* ── footer / status bar ── */
body.halo-sct .footer {
  background: var(--halo-grey);
  color: #000;
  border-top: 1px solid var(--halo-white);
  text-transform: uppercase;
  font-size: 11px;
  margin-top: auto;
}

/* ── modals ── */
body.halo-sct #modal-overlay,
body.halo-sct .modal-overlay {
  background: rgba(0, 3, 201, 0.82);
}

body.halo-sct #modal-box,
body.halo-sct .modal-box {
  background: var(--halo-blue);
  border: 2px solid var(--halo-white);
  box-shadow: none;
}

body.halo-sct #modal-title,
body.halo-sct .modal-title {
  color: var(--halo-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.halo-sct #modal-sub,
body.halo-sct .modal-message {
  color: var(--halo-cyan);
}

body.halo-sct .import-tabs {
  border-bottom: 1px solid var(--halo-white);
}

body.halo-sct .import-tab {
  color: var(--halo-grey);
  text-transform: uppercase;
}

body.halo-sct .import-tab.active {
  color: var(--halo-yellow);
  border-bottom-color: var(--halo-yellow);
}

body.halo-sct .import-tab:hover {
  color: var(--halo-white);
}

/* ── dev / IDE ── */
body.halo-sct .ide-file-tree,
body.halo-sct .ide-tabs,
body.halo-sct .editor-gutter {
  background: var(--halo-dblue);
  border-color: #555;
  color: var(--halo-cyan);
}

body.halo-sct .ide-tab {
  color: var(--halo-grey);
  border-color: #555;
}

body.halo-sct .ide-tab.active {
  background: var(--halo-blue);
  color: var(--halo-yellow);
  border-bottom-color: var(--halo-yellow);
}

body.halo-sct .ide-tree-file:hover,
body.halo-sct .ide-picker-item:hover {
  background: var(--halo-lblue);
}

body.halo-sct .ide-tree-file.active {
  background: var(--halo-lblue);
  color: var(--halo-yellow);
}

body.halo-sct .ide-project-bar {
  background: var(--halo-lblue);
  border-bottom: 1px solid var(--halo-white);
}

body.halo-sct .ide-icon {
  background-color: var(--halo-cyan);
}

body.halo-sct .editor-wrap,
body.halo-sct .code-editor,
body.halo-sct .editor-highlight {
  background: var(--halo-dblue);
  color: var(--halo-white);
  border-color: #555;
}

body.halo-sct .editor-body textarea.code-editor {
  caret-color: var(--halo-yellow);
}

body.halo-sct .aml-kw,
body.halo-sct .asm-instr {
  color: var(--halo-yellow);
}

body.halo-sct .aml-type,
body.halo-sct .aml-num,
body.halo-sct .aml-builtin,
body.halo-sct .asm-reg,
body.halo-sct .asm-num {
  color: var(--halo-cyan);
}

body.halo-sct .aml-str,
body.halo-sct .aml-comment,
body.halo-sct .asm-comment,
body.halo-sct .asm-str {
  color: var(--halo-grey);
}

body.halo-sct .console-output {
  background: var(--halo-dblue);
  color: var(--halo-green);
  border: 1px solid #555;
}

body.halo-sct .ide-picker-actions .action-btn .tpl-label {
  color: var(--halo-yellow);
}

body.halo-sct .ide-picker-actions .action-btn .tpl-desc,
body.halo-sct .ide-picker-date,
body.halo-sct .ide-picker-section-label,
body.halo-sct .ide-picker-list-title {
  color: var(--halo-grey);
}

body.halo-sct .ide-picker-name {
  color: var(--halo-cyan);
}

body.halo-sct #stealth-log,
body.halo-sct #decrypt-log {
  background: var(--halo-dblue);
  border: 1px solid #555;
  color: var(--halo-white);
}

body.halo-sct #stealth-log .log-ok,
body.halo-sct #decrypt-log .log-ok {
  color: var(--halo-green);
}

body.halo-sct #stealth-log .log-err,
body.halo-sct #decrypt-log .log-err {
  color: var(--halo-red);
}

body.halo-sct #stealth-log .log-info,
body.halo-sct #decrypt-log .log-info {
  color: var(--halo-cyan);
}

body.halo-sct .dash-more-row a,
body.halo-sct .back-link {
  color: var(--halo-cyan);
}

body.halo-sct .dash-more-row a:hover,
body.halo-sct .back-link:hover {
  color: var(--halo-yellow);
}

/* ── kizuna nft gallery ── */
body.halo-sct .nft-card {
  background: var(--halo-blue);
  border-color: var(--halo-cyan);
}
body.halo-sct .nft-card-clickable:hover {
  border-color: var(--halo-yellow);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
body.halo-sct .nft-card-name {
  color: var(--halo-white);
}
body.halo-sct .nft-card-id {
  color: var(--halo-cyan);
}
body.halo-sct .nft-card-placeholder {
  background: var(--halo-blue);
  color: var(--halo-cyan);
}
body.halo-sct .nft-lightbox-panel {
  background: var(--halo-blue);
  border-color: var(--halo-cyan);
}
body.halo-sct .nft-lightbox-title {
  color: var(--halo-white);
}
body.halo-sct .nft-lightbox-close {
  color: var(--halo-cyan);
}
body.halo-sct .nft-lightbox-close:hover {
  color: var(--halo-yellow);
}

/* ── full-page layout ── */
body.halo-sct .content-area {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

body.halo-sct .view.active {
  flex: 1 1 auto;
  width: 100%;
}

body.halo-sct .nft-lightbox {
  z-index: 10000;
}

/* ── mobile tweaks ── */
@media (max-width: 700px) {
  body.halo-sct .dos-window {
    margin: 0;
    border-left: none;
    border-right: none;
  }

  body.halo-sct .menu-bar {
    flex-wrap: wrap;
    height: auto;
    min-height: 20px;
  }

  body.halo-sct .menu-bar-right {
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px 8px 4px;
  }

  body.halo-sct .nav-tabs a {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 10px;
    padding: 4px 8px;
  }

  body.halo-sct .nft-gallery-grid {
    padding: 8px;
  }
}
