/* CYBER NOVA — dark neon skin layered over suit-room UI */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&family=JetBrains+Mono:wght@600;700&display=swap");

:root {
  color-scheme: dark;
  --ink: #e8f7ff;
  --ink-soft: #b7c9d8;
  --frost: #00e5ff;
  --frost-bright: #ff2bd6;
  --frost-mist: rgba(0, 229, 255, 0.14);
  --seal: #ff2bd6;
  --paper: #07070f;
  --panel: rgba(12, 14, 28, 0.88);
  --panel-solid: #0c0e1c;
  --line: rgba(0, 229, 255, 0.18);
  --mute: #7f93a8;
  --ok: #2dffb3;
  --warn: #ffc14d;
  --danger: #ff4d6d;
  --sky: #7a5cff;
  --peach: #ff2bd6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 0 0 1px rgba(0, 229, 255, 0.08), 0 16px 40px rgba(0, 0, 0, 0.45);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Orbitron", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shell-max: 720px;
  --neon-pink: #ff2bd6;
  --neon-cyan: #00e5ff;
  --neon-violet: #8a2be2;
  --bg0: #05050c;
  --bg1: #0a0b16;
  --glow-pink: 0 0 18px rgba(255, 43, 214, 0.45);
  --glow-cyan: 0 0 18px rgba(0, 229, 255, 0.4);
}

html, body { min-height: 100%; }
body,
body.brand-sketch {
  color: var(--ink);
  font: 400 14px/1.55 var(--font);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(255, 43, 214, 0.22), transparent 55%),
    radial-gradient(820px 460px at 100% 0%, rgba(0, 229, 255, 0.18), transparent 52%),
    radial-gradient(640px 360px at 70% 110%, rgba(138, 43, 226, 0.2), transparent 55%),
    linear-gradient(165deg, #05050c 0%, #0a0b16 48%, #070714 100%);
  background-attachment: fixed;
}
body::before,
body.brand-sketch::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 43, 214, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.app-topbar {
  background: rgba(7, 8, 18, 0.82) !important;
  border-bottom: 1px solid rgba(0, 229, 255, 0.16) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.brand-mark,
.wordmark-logo {
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.35)) drop-shadow(0 0 18px rgba(255, 43, 214, 0.25)) !important;
}
.quota-chip {
  background: rgba(0, 229, 255, 0.12) !important;
  color: var(--neon-cyan) !important;
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: var(--glow-cyan);
}
.topbar-user, .btn-ghost { color: var(--ink-soft) !important; }
.btn-ghost:hover { color: var(--neon-cyan) !important; }

.panel,
.room-stage,
.run-stage,
.login-panel,
.mine-activate,
.empty-home,
.stat,
.slot-editor,
.status-box,
.picker-sheet {
  background:
    radial-gradient(520px 240px at 12% 0%, rgba(255, 43, 214, 0.12), transparent 58%),
    radial-gradient(420px 200px at 100% 8%, rgba(0, 229, 255, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(14, 16, 32, 0.96) 0%, rgba(10, 12, 24, 0.96) 100%) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(0, 229, 255, 0.2) !important;
  box-shadow: var(--shadow) !important;
}

.page-kicker,
.hero-label,
.eyebrow {
  color: var(--neon-cyan) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}
.page-title,
.login-brand-title,
.mine-activate-title,
.login-panel h2,
.panel h2,
.mint-top h1 {
  font-family: var(--display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  background: linear-gradient(90deg, #ff2bd6 0%, #00e5ff 50%, #8a2be2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.25));
}
.login-tagline,
.sub,
.muted,
.slot-fixed-tip,
.save-hint,
.status-label {
  color: var(--mute) !important;
}

.login-mascot,
.empty-mascot {
  filter:
    drop-shadow(0 0 18px rgba(255, 43, 214, 0.35))
    drop-shadow(0 0 28px rgba(0, 229, 255, 0.25)) !important;
}

.room-input,
.field input,
.preset-name-row input,
.picker-search,
.mint-form input,
.mint-form select,
.list-toolbar input[type="search"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
input:not([type]),
select,
textarea {
  background: rgba(5, 8, 18, 0.95) !important;
  color: #e8f7ff !important;
  border: 1px solid rgba(0, 229, 255, 0.28) !important;
  -webkit-text-fill-color: #e8f7ff !important;
  caret-color: var(--neon-cyan) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 43, 214, 0.05) !important;
  color-scheme: dark;
}
.room-input:focus,
.field input:focus,
.preset-name-row input:focus,
.picker-search:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input:not([type]):focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 43, 214, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(255, 43, 214, 0.16), var(--glow-cyan) !important;
  background: rgba(8, 12, 24, 0.98) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.room-input::placeholder,
.field input::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(127, 147, 168, 0.55) !important;
  -webkit-text-fill-color: rgba(127, 147, 168, 0.55) !important;
}
/* kill UA white autofill / number spinner trays washing out neon text */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #e8f7ff !important;
  caret-color: var(--neon-cyan);
  box-shadow: 0 0 0 1000px #080c18 inset !important;
  transition: background-color 99999s ease-out;
}
.inline-num {
  width: 120px !important;
  margin-left: 8px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
}
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  filter: invert(1) hue-rotate(160deg);
  opacity: 0.85;
}

.btn,
.button,
.slot-actions button,
.preset-tab,
.run-preset-card,
.chip,
.kind-card {
  background: rgba(10, 14, 28, 0.9) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(0, 229, 255, 0.22) !important;
  box-shadow: none !important;
}
.btn-primary,
.button.primary,
.preset-tab.active,
.run-preset-card.active,
.tabs button.active,
.chip.active,
.kind-card.active,
.status-actions > button.primary,
.status-run-actions button.primary {
  background: linear-gradient(135deg, #ff2bd6 0%, #00e5ff 55%, #8a2be2 100%) !important;
  color: #07070f !important;
  border-color: transparent !important;
  box-shadow: 0 0 22px rgba(255, 43, 214, 0.35), 0 0 28px rgba(0, 229, 255, 0.22) !important;
  font-weight: 800 !important;
}
.btn-secondary,
.button.secondary {
  background: rgba(0, 229, 255, 0.08) !important;
  color: var(--neon-cyan) !important;
  border-color: rgba(0, 229, 255, 0.35) !important;
}
.btn-danger,
.button.danger,
.status-run-actions button.danger {
  background: rgba(255, 77, 109, 0.14) !important;
  color: #ff8da3 !important;
  border-color: rgba(255, 77, 109, 0.4) !important;
}

.tabs {
  background: rgba(8, 10, 22, 0.9) !important;
  border: 1px solid rgba(0, 229, 255, 0.16) !important;
}
.tabs button { color: var(--mute) !important; background: transparent !important; }

.bottom-nav-inner {
  background: linear-gradient(180deg, rgba(12, 14, 28, 0.96), rgba(8, 10, 20, 0.96)) !important;
  border: 1px solid rgba(0, 229, 255, 0.22) !important;
  box-shadow: 0 0 24px rgba(255, 43, 214, 0.18), 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}
.bottom-nav-item { color: var(--mute) !important; }
.bottom-nav-item .nav-ico {
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.35));
}
.bottom-nav-item.active {
  color: var(--neon-cyan) !important;
  background: rgba(0, 229, 255, 0.1) !important;
}
.bottom-nav-item.active::after {
  background: linear-gradient(90deg, #ff2bd6, #00e5ff) !important;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
}
.bottom-nav-item.active .nav-ico {
  filter: drop-shadow(0 0 6px rgba(255, 43, 214, 0.7)) drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  color: var(--neon-pink);
}

.slot-tile,
.run-preset-card {
  background: rgba(8, 10, 22, 0.92) !important;
  border: 1px solid rgba(0, 229, 255, 0.2) !important;
  color: var(--ink) !important;
  box-shadow: 0 0 0 1px rgba(255, 43, 214, 0.04) !important;
}
.slot-tile:active,
.slot-tile.active,
.run-preset-card.active {
  border-color: rgba(255, 43, 214, 0.75) !important;
  background: rgba(255, 43, 214, 0.12) !important;
  box-shadow: 0 0 0 3px rgba(255, 43, 214, 0.16), var(--glow-cyan) !important;
}
.slot-tile.empty .name { color: rgba(127, 147, 168, 0.55) !important; }
.preset-active-tip {
  background: rgba(45, 255, 179, 0.08) !important;
  border-color: rgba(45, 255, 179, 0.28) !important;
  color: #2dffb3 !important;
}
.status-value { color: var(--ink) !important; }
.status-value.gold { color: #ffc14d !important; text-shadow: 0 0 8px rgba(255, 193, 77, 0.35); }
.status-value.busy { color: var(--neon-cyan) !important; }
.status-value.ok { color: var(--ok) !important; }
.status-account {
  background: rgba(0, 229, 255, 0.06) !important;
  color: var(--ink-soft) !important;
}
.quota-tip {
  background: rgba(255, 193, 77, 0.08) !important;
  border-color: rgba(255, 193, 77, 0.35) !important;
  color: #ffd27a !important;
}
.runner {
  background: rgba(0, 229, 255, 0.08) !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
  color: var(--neon-cyan) !important;
}
.runner.on {
  color: var(--ok) !important;
  border-color: rgba(45, 255, 179, 0.4) !important;
  background: rgba(45, 255, 179, 0.1) !important;
}

.picker-mask { background: rgba(2, 4, 12, 0.72) !important; }
.picker-sheet {
  background: #0b0d1a !important;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 43, 214, 0.12) !important;
}
.picker-handle { background: rgba(0, 229, 255, 0.35) !important; }
.picker-title { color: var(--ink) !important; }
.toast {
  background: linear-gradient(135deg, rgba(255, 43, 214, 0.9), rgba(0, 229, 255, 0.85)) !important;
  color: #07070f !important;
  font-weight: 700;
  box-shadow: var(--glow-pink);
}

/* admin / mint shared */
.login-shell,
.admin-shell,
.sidebar,
.workspace,
.login-form-wrap,
.login-brand {
  color: var(--ink);
}
.login-form,
.card,
.section,
.table-wrap,
.mint-result {
  background: rgba(10, 12, 24, 0.92) !important;
  border: 1px solid rgba(0, 229, 255, 0.18) !important;
  color: var(--ink) !important;
}
.sidebar {
  background: rgba(7, 8, 18, 0.96) !important;
  border-right: 1px solid rgba(0, 229, 255, 0.14) !important;
}
.nav-item {
  color: var(--mute) !important;
  background: transparent !important;
}
.nav-item.active,
.nav-item:hover {
  color: var(--neon-cyan) !important;
  background: rgba(0, 229, 255, 0.1) !important;
  box-shadow: inset 3px 0 0 var(--neon-pink);
}
th {
  background: rgba(0, 229, 255, 0.06) !important;
  color: var(--mute) !important;
}
td, th { border-bottom-color: rgba(0, 229, 255, 0.1) !important; }
.login-copy h1,
.form-heading h2 {
  font-family: var(--display) !important;
  background: linear-gradient(90deg, #ff2bd6, #00e5ff, #8a2be2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

code {
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.08);
  border-radius: 4px;
  padding: 0 4px;
}
