:root{--bg:#0b0c10;--panel:#12141b;--panel2:#171a23;--border:#272b37;--text:#f4f5fb;--muted:#989eae;--purple:#8b5cf6;--purple2:#6d4aff;--green:#70e1b2;--radius:18px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 0%,#20173b 0,transparent 35%),var(--bg);min-height:100vh}button,input,select,textarea{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}.topbar{height:82px;display:flex;align-items:center;gap:28px;padding:0 clamp(18px,5vw,76px);border-bottom:1px solid #ffffff0c;background:#0b0c10e8;position:sticky;top:0;z-index:10;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:9px;font-weight:900;letter-spacing:1.3px;white-space:nowrap}.brand>span:last-child{color:#a78bfa;margin-left:-7px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#a78bfa,#6d4aff);color:white;font-size:20px}.search{height:44px;display:flex;align-items:center;gap:10px;flex:1;max-width:560px;padding:0 8px 0 14px;border:1px solid var(--border);border-radius:12px;background:#14151d;color:var(--muted)}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:white}.search button{border:0;border-radius:8px;background:#29223e;color:#c4b5fd;padding:8px 13px}.topbar nav{display:flex;align-items:center;gap:8px;margin-left:auto}.nav-btn{background:transparent;border:0;color:#b7bbc8;padding:10px 11px}.nav-btn:hover{color:white}.btn{border-radius:11px;padding:12px 17px;border:1px solid transparent;font-weight:750;color:white;transition:.2s}.btn:hover{transform:translateY(-1px);filter:brightness(1.1)}.btn-primary{background:linear-gradient(135deg,#9b72ff,#6d4aff);box-shadow:0 8px 25px #7548f533}.btn-outline{background:#171923;border-color:#353846}.btn-ghost{background:transparent;color:#c5c8d3}.hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:475px;align-items:center;padding:65px clamp(22px,8vw,125px) 55px;overflow:hidden;position:relative}.hero-copy{z-index:1}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:850;color:#a78bfa}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#70e1b2;box-shadow:0 0 12px #70e1b2;margin-right:8px}.hero h1{font-size:clamp(48px,6.5vw,82px);line-height:.99;letter-spacing:-4px;margin:23px 0 20px;font-weight:900}.hero h1 span{color:#a78bfa}.hero-copy>p{max-width:490px;color:#a7aabb;font-size:17px;line-height:1.7}.hero-actions{display:flex;gap:12px;margin-top:27px}.hero-stats{display:flex;gap:32px;margin-top:45px}.hero-stats div{display:flex;flex-direction:column;gap:6px}.hero-stats strong{font-size:13px}.hero-stats small{font-size:11px;color:#858b9d}.hero-art{height:360px;position:relative;display:grid;place-items:center}.hero-glow{position:absolute;width:300px;height:300px;background:#7045ff44;filter:blur(75px);border-radius:50%}.orbit{position:absolute;border:1px solid #a78bfa30;border-radius:50%;transform:rotate(-22deg)}.orbit-a{width:360px;height:180px}.orbit-b{width:270px;height:330px;transform:rotate(43deg)}.game-cube{position:relative;z-index:1;display:grid;place-items:center;width:160px;height:160px;border-radius:38px;font-size:95px;color:#f4eaff;background:linear-gradient(145deg,#b49aff,#5a32d5 65%,#29185f);box-shadow:inset -15px -18px 30px #1b0c43,0 30px 80px #6038d977;transform:rotate(-9deg)}.float-card{position:absolute;z-index:2;display:flex;align-items:center;gap:11px;padding:13px 16px;border:1px solid #ffffff1b;background:#171923e8;border-radius:14px;box-shadow:0 15px 35px #0005;backdrop-filter:blur(10px)}.float-card b,.float-card small{display:block}.float-card b{font-size:12px}.float-card small{font-size:10px;color:#a1a5b4;margin-top:4px}.card-top{top:37px;right:0}.card-bottom{bottom:40px;left:0}.mini-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px}.purple{background:#34245a;color:#c4b5fd}.green{background:#173e35;color:#70e1b2}.category-strip{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:19px 20px;border-top:1px solid #ffffff0b;border-bottom:1px solid #ffffff0b;background:#101117}.category{display:flex;align-items:center;gap:9px;padding:13px 17px;border-radius:12px;background:transparent;border:1px solid transparent;color:#a4a9b8}.category span{font-size:19px;color:#a78bfa}.category b{font-size:12px}.category:hover,.category.active{background:#211a35;border-color:#493576;color:white}.section{padding:65px clamp(22px,7vw,105px)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.section-head h2{font-size:30px;letter-spacing:-1px;margin:9px 0}.section-head p{color:var(--muted);font-size:13px;margin:0}.section-head select{background:#171923;border:1px solid var(--border);border-radius:10px;padding:11px 14px;color:#d4d6e1}.listing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.listing-card{background:linear-gradient(150deg,#171923,#111219);border:1px solid #282b37;border-radius:16px;overflow:hidden;transition:.2s}.listing-card:hover{transform:translateY(-4px);border-color:#6546a4;box-shadow:0 18px 35px #0003}.listing-art{height:138px;display:grid;place-items:center;position:relative;background:radial-gradient(circle at 50% 20%,#4d337c,#211a34 58%,#171923);font-size:47px}.listing-art .game-tag{position:absolute;top:12px;left:12px;background:#0b0c10b8;border:1px solid #ffffff20;border-radius:7px;padding:5px 8px;font-size:10px;color:#d6cafa}.listing-body{padding:16px}.listing-body h3{font-size:14px;line-height:1.4;margin:0 0 8px;min-height:40px}.listing-body p{font-size:11px;color:#999fb0;line-height:1.5;margin:0 0 14px;min-height:32px}.seller-line{font-size:10px;color:#969bad;margin-bottom:15px}.price-line{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff0e;padding-top:13px}.price{font-size:20px;font-weight:850;letter-spacing:-.6px}.price small{font-size:10px;color:#9297a7;font-weight:500}.buy-btn{background:#30234e;border:1px solid #4d367a;color:#d8caff;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:800}.empty-state{grid-column:1/-1;padding:55px 20px;text-align:center;color:var(--muted);border:1px dashed #343744;border-radius:16px}.trust-band{margin:0 clamp(22px,7vw,105px) 60px;padding:27px 30px;display:flex;align-items:center;gap:20px;border:1px solid #3b2b59;border-radius:17px;background:linear-gradient(110deg,#211831,#15141f)}.trust-icon{display:grid;place-items:center;flex:0 0 50px;height:50px;border-radius:14px;background:#34234f;color:#c4b5fd;font-size:27px}.trust-band h3{margin:0 0 6px;font-size:15px}.trust-band p{margin:0;color:#a4a7b6;font-size:12px;line-height:1.5}.trust-band .btn{margin-left:auto;white-space:nowrap}footer{border-top:1px solid #ffffff0c;padding:35px clamp(22px,7vw,105px);display:flex;align-items:center;gap:20px;flex-wrap:wrap}footer p,footer small{color:#858a9b;font-size:11px}footer .footer-links{margin-left:auto;display:flex;gap:20px;font-size:11px;color:#a9adba}.modal-backdrop{position:fixed;inset:0;z-index:30;background:#050509d9;display:grid;place-items:center;padding:20px;overflow:auto}.modal{width:min(100%,540px);max-height:90vh;overflow:auto;background:#151720;border:1px solid #343746;border-radius:18px;padding:25px;box-shadow:0 25px 100px #0009}.modal h2{margin:0 0 8px;font-size:23px}.modal>p{color:var(--muted);font-size:13px;line-height:1.6}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.close-btn{border:0;background:#242633;color:#ddd;border-radius:9px;width:34px;height:34px}.field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.field label{font-size:12px;font-weight:700;color:#c7cad5}.field input,.field select,.field textarea{width:100%;background:#0e1016;color:#f5f5fa;border:1px solid #333746;border-radius:10px;padding:12px;outline:0}.field textarea{min-height:95px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8b5cf6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.form-error{color:#ff9caa;font-size:12px;min-height:16px}.full{width:100%;margin-top:8px}.page-wrap{padding:45px clamp(22px,7vw,105px);min-height:55vh}.page-title{margin:0 0 8px;font-size:31px;letter-spacing:-1px}.subtext{color:var(--muted);font-size:13px;margin:0 0 26px}.panel{background:#14161e;border:1px solid #292d39;border-radius:16px;padding:22px;margin-bottom:17px}.panel h3{margin:0 0 17px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid #ffffff10;vertical-align:top}th{color:#a8adbd;font-size:10px;text-transform:uppercase;letter-spacing:.8px}td{color:#e3e4ec}.muted{color:var(--muted)}.status{display:inline-block;border-radius:7px;padding:5px 8px;background:#29243a;color:#c4b5fd;font-size:10px;white-space:nowrap}.status.completed,.status.resolved{background:#18352e;color:#7be4b8}.status.disputed,.status.open{background:#46262a;color:#ffb2b7}.status.pending_payment{background:#3b3220;color:#f4d38b}.row-actions{display:flex;gap:7px;flex-wrap:wrap}.small-btn{border:1px solid #3b3f4e;background:#20232e;color:#e6e7ef;padding:7px 10px;border-radius:8px;font-size:11px}.small-btn.primary{background:#3c2b61;border-color:#5b4389}.notice{padding:12px 14px;background:#28213a;border:1px solid #463369;border-radius:10px;color:#d5c9ff;font-size:12px;line-height:1.6;margin:12px 0}.notice.warn{background:#34281b;border-color:#614727;color:#f0d3a4}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metric{background:#1b1e28;border:1px solid #2d303c;border-radius:12px;padding:17px}.metric strong{display:block;font-size:24px;margin-top:8px}.metric span{font-size:11px;color:var(--muted)}.order-card{padding:17px;background:#191b25;border:1px solid #2c303d;border-radius:12px;margin:10px 0}.order-card h4{margin:0 0 8px}.order-card p{font-size:12px;color:var(--muted);line-height:1.6}.order-card .row-actions{margin-top:12px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;z-index:60;background:#e9e5ff;color:#201737;padding:12px 18px;border-radius:12px;font-size:13px;font-weight:750;transition:.25s;pointer-events:none;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(max-width:1050px){.topbar{gap:15px;padding:0 22px}.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{padding-left:45px;padding-right:45px}.nav-btn{padding:8px}.hero-art{transform:scale(.9)}}@media(max-width:760px){.topbar{height:auto;min-height:74px;flex-wrap:wrap;padding:14px 17px;gap:12px}.brand{font-size:13px}.topbar nav{gap:3px}.nav-btn{font-size:11px;padding:8px 6px}.search{order:3;flex-basis:100%;max-width:none}.topbar .btn{padding:9px 11px;font-size:11px}.hero{grid-template-columns:1fr;padding:49px 23px 20px}.hero h1{font-size:59px}.hero-art{height:280px;transform:scale(.85);margin-top:5px}.hero-stats{gap:19px;margin-top:32px}.hero-stats strong{font-size:11px}.hero-stats small{font-size:9px}.category-strip{justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.category{white-space:nowrap}.section{padding:45px 18px}.section-head{align-items:flex-start;flex-direction:column}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.listing-art{height:112px}.listing-body{padding:12px}.listing-body h3{font-size:12px}.listing-body p{font-size:10px}.price{font-size:17px}.buy-btn{padding:8px}.trust-band{margin:0 18px 38px;flex-wrap:wrap;padding:20px}.trust-band .btn{margin-left:0}.footer-links{margin-left:0!important;flex-wrap:wrap}footer{padding:30px 20px}.metric-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.page-wrap{padding:32px 18px}}@media(max-width:390px){.listing-grid{grid-template-columns:1fr}.listing-art{height:140px}.hero h1{font-size:52px}.hero-stats{gap:12px}}
.oauth-actions{display:grid;gap:12px;margin:18px 0}.oauth-actions a{text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center}.oauth-actions .btn{min-height:46px}.metric-grid{margin:18px 0}
/* NexusSoul Light Dashboard Theme */
:root {
  --bg: #f5f6fa;
  --panel: #ffffff;
  --panel2: #f8f9fc;
  --border: #e5e7ef;
  --text: #202236;
  --muted: #777d91;
  --purple: #7957e8;
  --purple2: #6240d8;
  color: var(--text);
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--text);
}
.topbar {
  background: #171426;
  border-bottom: 1px solid #29243c;
  color: #fff;
}
.topbar .nav-btn { color: #d2cde2; }
.topbar .nav-btn:hover { color: #fff; }
.topbar .search {
  background: #242035;
  border-color: #39334e;
}
.topbar .search input { color: #fff; }
.topbar .btn-outline {
  background: #2b2540;
  border-color: #49405f;
  color: #fff;
}
.hero {
  background: linear-gradient(120deg,#fff 0%,#f4f1ff 65%,#eee8ff 100%);
}
.hero-copy > p { color: #686d82; }
.hero-stats strong { color: #25243a; }
.hero-stats small { color: #777d91; }
.category-strip {
  background: #fff;
  border-color: var(--border);
}
.category { color: #666c80; }
.category:hover,.category.active {
  background: #f0ebff;
  border-color: #d8cdfd;
  color: #5637c2;
}
.section-head p { color: var(--muted); }
.section-head select {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.listing-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 4px 16px #20204008;
}
.listing-card:hover { box-shadow: 0 12px 28px #33245f14; }
.listing-body h3 { color: #22243a; }
.listing-body p,.seller-line { color: #777d91; }
.price-line { border-color: var(--border); }
.price { color: #24243a; }
.empty-state { border-color: #d8dbe6; }
.trust-band {
  background: #fff;
  border-color: #e4defb;
}
.trust-band h3 { color: #25243a; }
.trust-band p { color: #72778b; }
.trust-band .btn-outline {
  background: #f2edff;
  color: #5637c2;
  border-color: #ddd2ff;
}
footer {
  background: #fff;
  border-color: var(--border);
}
footer p,footer small,footer .footer-links { color: #777d91; }
.page-wrap { color: var(--text); }
.panel,.order-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 3px 14px #20204008;
}
.panel h3,.order-card h4 { color: #24243a; }
th { color: #777d91; }
td { color: #33354b; border-color: var(--border); }
.metric {
  background: #fff;
  border-color: var(--border);
}
.metric strong { color: #24243a; }
.metric span { color: #777d91; }
.status { background: #f0ebff; color: #6544ce; }
.small-btn {
  background: #f5f4fa;
  border-color: #dedfeb;
  color: #35354c;
}
.small-btn.primary {
  background: #7957e8;
  border-color: #7957e8;
  color: #fff;
}
.modal {
  background: #fff;
  color: #24243a;
  border-color: var(--border);
}
.modal > p,.field label { color: #686d82; }
.field input,.field select,.field textarea {
  background: #f8f9fc;
  color: #24243a;
  border-color: #dfe2eb;
}
@media(max-width:760px) {
  .topbar { background: #171426; }
}
/* NexusSoul Dashboard Layout */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: #f5f6fa;
}
.sidebar {
  width: 248px;
  min-width: 248px;
  min-height: 100vh;
  background: #171426;
  color: #d4d0e2;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 10px 28px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .5px;
}
.sidebar-brand strong { color: #a995ff; }
.sidebar-brand small {
  display: block;
  margin-top: 4px;
  color: #928ba9;
  font-size: 9px;
  letter-spacing: 1.3px;
}
.sidebar-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
  font-size: 22px;
  background: linear-gradient(135deg,#9675ff,#603bd1);
  box-shadow: 0 5px 18px #7957e844;
}
.sidebar-label {
  padding: 18px 12px 8px;
  color: #827b9b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.sidebar-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #c6c1d7;
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: .18s ease;
}
.sidebar-link span {
  width: 20px;
  color: #a69bbf;
  text-align: center;
  font-size: 18px;
}
.sidebar-link:hover {
  background: #242035;
  color: white;
}
.sidebar-link.active {
  background: #35285d;
  border-color: #4a387b;
  color: white;
}
.sidebar-link.active span { color: #b8a6ff; }
.sidebar-spacer { flex: 1; min-height: 24px; }
.sidebar-help {
  padding: 15px;
  margin: 18px 2px 12px;
  border: 1px solid #39314e;
  border-radius: 12px;
  background: #211c33;
  font-size: 12px;
}
.sidebar-help strong { color: #fff; }
.sidebar-help p {
  color: #a9a2bd;
  line-height: 1.6;
}
.sidebar-help button {
  border: 0;
  background: transparent;
  color: #b7a4ff;
  font-weight: 700;
  cursor: pointer;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px 0;
  border-top: 1px solid #39314e;
  font-size: 12px;
}
.sidebar-avatar {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #392b63;
  color: #d6cbff;
  font-weight: 800;
}
.sidebar-user strong { display: block; color: white; }
.sidebar-user small {
  display: block;
  margin-top: 4px;
  color: #9c95b1;
}
.dashboard-main { min-width: 0; flex: 1; }
.dashboard-main .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
}
.dashboard-main #app {
  max-width: 1500px;
  margin: 0 auto;
}
.dashboard-main .hero { border-radius: 0 0 18px 18px; }
.dashboard-main footer { margin-top: 35px; }
@media(max-width:900px) {
  .sidebar { width: 210px; min-width: 210px; }
}
@media(max-width:680px) {
  .dashboard-layout { display: block; }
  .sidebar {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 12px;
  }
  .sidebar-brand { padding-bottom: 12px; }
  .sidebar-label,.sidebar-spacer,.sidebar-help,.sidebar-user { display: none; }
  .sidebar-link {
    width: auto;
    display: inline-flex;
    padding: 9px 10px;
    margin: 2px;
  }
  .dashboard-main .topbar {
    position: static;
    flex-wrap: wrap;
  }
}


/* Sidebar icon styling */
.sidebar-link > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 800;
  margin-right: 8px;
}

.sidebar-link.active > span {
  background: #7653e8;
  color: #ffffff;
}

.sidebar-help button {
  white-space: nowrap;
}


/* Refined sidebar navigation */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-link > span {
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin: 0;
  border-radius: 8px;
  background: #29213f;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.sidebar-link.active > span {
  background: #7653e8;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(118, 83, 232, 0.25);
}

.sidebar-link:hover > span {
  background: #493575;
  color: #ffffff;
}

.sidebar-help button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* NEXUSSOUL PREMIUM RED BLUE BLACK THEME */
:root {
  color-scheme: dark;
  --ns-bg: #070a12;
  --ns-panel: #0d1321;
  --ns-panel-hover: #121b2d;
  --ns-border: #25334a;
  --ns-blue: #2583ff;
  --ns-blue-light: #65b2ff;
  --ns-red: #ff4057;
  --ns-text: #f3f6ff;
  --ns-muted: #9aa9bf;
}

html {
  background: var(--ns-bg);
  color-scheme: dark;
}

body {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(37,131,255,.13), transparent 34%),
    radial-gradient(ellipse at 96% 10%, rgba(255,64,87,.09), transparent 27%),
    var(--ns-bg);
  color: var(--ns-text);
}

header, nav, .navbar, .topbar, .sidebar {
  border-color: var(--ns-border);
}

button, .btn, .button, input[type="submit"] {
  transition: background .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}

button:hover, .btn:hover, .button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

button:not(.secondary):not(.danger):not(.small-btn),
.btn:not(.secondary):not(.danger),
.button:not(.secondary):not(.danger),
input[type="submit"] {
  border-color: rgba(37,131,255,.55);
}

input, textarea, select {
  background-color: #090f1b;
  color: var(--ns-text);
  border-color: var(--ns-border);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(37,131,255,.35);
  outline-offset: 1px;
  border-color: var(--ns-blue);
}

.card, .panel, .stat-card, .dashboard-card,
.table-wrap, .modal-content {
  border-color: var(--ns-border);
}

.card:hover, .dashboard-card:hover {
  border-color: rgba(37,131,255,.45);
}

a {
  color: var(--ns-blue-light);
}

a:hover {
  color: #a0d0ff;
}

.status {
  border: 1px solid var(--ns-border);
  border-radius: 999px;
}

button.danger, .btn.danger, .danger {
  border-color: rgba(255,64,87,.55);
}

::selection {
  background: rgba(37,131,255,.35);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
/* END NEXUSSOUL PREMIUM THEME */

/* NexusSoul Premium Theme Override */
:root {
  color-scheme: dark;
  --ns-bg: #070a12;
  --ns-panel: #0d1322;
  --ns-panel-hover: #121c30;
  --ns-blue: #168cff;
  --ns-blue-glow: #00c8ff;
  --ns-red: #ff365e;
  --ns-text: #f3f6ff;
  --ns-muted: #9aa9c2;
  --ns-border: rgba(105, 155, 220, 0.2);
}

html,
body {
  background: var(--ns-bg);
  color: var(--ns-text);
}

.dashboard-layout,
.dashboard-main,
#app {
  background-color: var(--ns-bg);
  color: var(--ns-text);
}

.dashboard-layout {
  border-color: var(--ns-border);
}

#app input,
#app select,
#app textarea {
  background-color: var(--ns-panel);
  color: var(--ns-text);
  border-color: var(--ns-border);
}

#app input::placeholder,
#app textarea::placeholder {
  color: var(--ns-muted);
}

#app button,
#app .btn,
#app [role="button"] {
  transition: background-color 160ms ease, border-color 160ms ease,
    transform 160ms ease, box-shadow 160ms ease;
}

#app button:hover,
#app .btn:hover {
  border-color: var(--ns-blue);
}

#app a {
  color: var(--ns-blue-glow);
}

#app a:hover {
  color: var(--ns-text);
}

::selection {
  background: rgba(22, 140, 255, 0.35);
  color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  #app button:hover,
  #app .btn:hover {
    transform: translateY(-1px);
  }
}

/* NEXUSSOUL_PREMIUM_REDESIGN_V2 */
/* Visual-only theme layer. Existing app logic and database are untouched. */

:root {
  color-scheme: dark;
  --ns-bg: #070a12;
  --ns-bg-soft: #0a1020;
  --ns-surface: #0e1628;
  --ns-surface-2: #121d32;
  --ns-surface-3: #17243b;
  --ns-blue: #168cff;
  --ns-blue-bright: #35b6ff;
  --ns-cyan: #00d5ff;
  --ns-red: #ff365e;
  --ns-red-soft: rgba(255, 54, 94, .12);
  --ns-white: #f4f7ff;
  --ns-muted: #9aa9c2;
  --ns-border: rgba(126, 165, 220, .18);
  --ns-glow: 0 0 35px rgba(22, 140, 255, .15);
  --ns-radius: 18px;
  --ns-radius-sm: 12px;
}

* {
  scrollbar-color: #243c60 #080d18;
  scrollbar-width: thin;
}

html {
  background: var(--ns-bg) !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 75% 0%, rgba(0, 117, 255, .10), transparent 35%),
    radial-gradient(ellipse at 0% 45%, rgba(255, 54, 94, .035), transparent 30%),
    var(--ns-bg) !important;
  color: var(--ns-white) !important;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body, button, input, select, textarea {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.dashboard-layout {
  min-height: 100vh;
  background: transparent !important;
  color: var(--ns-white) !important;
  gap: 0;
}

.dashboard-layout aside,
.dashboard-layout .sidebar,
.sidebar,
aside {
  background: rgba(8, 13, 25, .96) !important;
  color: var(--ns-white) !important;
  border-color: var(--ns-border) !important;
}

.dashboard-layout .sidebar,
.sidebar {
  box-shadow: 10px 0 40px rgba(0, 0, 0, .12);
}

.dashboard-layout .sidebar a,
.sidebar a,
aside a {
  color: var(--ns-muted);
  border-radius: 11px;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.dashboard-layout .sidebar a:hover,
.sidebar a:hover,
aside a:hover,
.sidebar a.active,
.sidebar [aria-current="page"] {
  color: var(--ns-white) !important;
  background: linear-gradient(100deg, rgba(22, 140, 255, .20), rgba(22, 140, 255, .04)) !important;
  border-color: rgba(22, 140, 255, .28);
}

.dashboard-main,
main,
#app {
  color: var(--ns-white);
}

.dashboard-main {
  background: transparent !important;
  min-width: 0;
}

.topbar,
.dashboard-layout header,
.dashboard-main header {
  color: var(--ns-white);
  border-color: var(--ns-border) !important;
}

.topbar {
  background: rgba(7, 10, 18, .78) !important;
  backdrop-filter: blur(18px);
}

#app {
  width: 100%;
  box-sizing: border-box;
}

#app h1,
#app h2,
#app h3,
#app h4,
.dashboard-main h1,
.dashboard-main h2,
.dashboard-main h3 {
  color: var(--ns-white);
  letter-spacing: -.035em;
  line-height: 1.15;
}

#app h1,
.dashboard-main h1 {
  font-weight: 850;
}

#app p,
#app label,
.dashboard-main p {
  color: var(--ns-muted);
}

#app a,
.dashboard-main a {
  color: var(--ns-blue-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#app a:hover,
.dashboard-main a:hover {
  color: var(--ns-cyan);
}

/* Homepage hero */
#app .hero,
#app section.hero,
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ns-white);
  background:
    radial-gradient(ellipse at 82% 20%, rgba(0, 213, 255, .13), transparent 32%),
    radial-gradient(ellipse at 90% 85%, rgba(255, 54, 94, .12), transparent 28%),
    linear-gradient(125deg, #0d172b 0%, #0a1020 48%, #10152a 100%) !important;
  border: 1px solid rgba(81, 150, 255, .24);
  border-radius: 26px;
  box-shadow: var(--ns-glow), inset 0 1px rgba(255,255,255,.035);
}

#app .hero::before,
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -150px;
  border-radius: 50%;
  border: 1px solid rgba(0, 213, 255, .22);
  box-shadow: 0 0 0 35px rgba(22, 140, 255, .035),
              0 0 0 75px rgba(22, 140, 255, .025);
  pointer-events: none;
}

#app .hero h1,
.hero h1,
#app .hero-copy h1 {
  color: #fff !important;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .99;
}

#app .hero p,
.hero p {
  color: #aebdd5 !important;
  line-height: 1.75;
}

#app .hero-art {
  filter: drop-shadow(0 15px 38px rgba(0, 132, 255, .18));
}

/* Main sections and section headings */
#app section,
.dashboard-main section {
  border-color: var(--ns-border);
}

#app .section,
#app .marketplace-section,
#app .trust-band {
  color: var(--ns-white);
}

#app .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#app .section-head h2 {
  font-weight: 800;
}

/* Panels, listing cards and dashboard cards */
#app .listing-card,
#app .product-card,
#app .game-card,
#app .category-card,
#app .stat-card,
#app .dashboard-card,
#app .panel,
#app .card,
#app .listing,
.dashboard-main .card,
.dashboard-main .panel,
.dashboard-main .stat-card,
.dashboard-main .listing-card {
  color: var(--ns-white);
  background: linear-gradient(155deg, rgba(18, 29, 50, .97), rgba(10, 16, 30, .98)) !important;
  border: 1px solid var(--ns-border) !important;
  border-radius: var(--ns-radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#app .listing-card:hover,
#app .product-card:hover,
#app .game-card:hover,
#app .category-card:hover,
#app .dashboard-card:hover,
#app .card:hover,
.dashboard-main .card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 140, 255, .55) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .26), 0 0 24px rgba(22, 140, 255, .08);
}

#app .listing-grid,
#app .product-grid,
#app .game-grid {
  gap: 20px;
}

#app .listing-card h3,
#app .product-card h3,
#app .game-card h3,
#app .category-card h3,
#app .card h3 {
  color: var(--ns-white) !important;
}

#app .listing-card p,
#app .product-card p,
#app .game-card p,
#app .card p {
  color: var(--ns-muted);
}

/* Buttons */
#app button,
#app .btn,
#app input[type="button"],
#app input[type="submit"],
.dashboard-main button,
.dashboard-main .btn {
  border-radius: 11px;
  font-weight: 750;
  transition: transform .16s ease, filter .16s ease,
    border-color .16s ease, box-shadow .16s ease;
}

#app button:hover,
#app .btn:hover,
.dashboard-main button:hover,
.dashboard-main .btn:hover {
  filter: brightness(1.1);
}

#app .btn-primary,
#app button.btn-primary,
#app .primary-button,
#app button[type="submit"],
#app input[type="submit"] {
  color: #fff !important;
  background: linear-gradient(115deg, #0878f9, #12b8ff) !important;
  border: 1px solid rgba(110, 206, 255, .4) !important;
  box-shadow: 0 6px 22px rgba(22, 140, 255, .2);
}

#app .btn-primary:hover,
#app .primary-button:hover,
#app button[type="submit"]:hover {
  box-shadow: 0 8px 28px rgba(22, 140, 255, .32);
}

#app .btn-danger,
#app .btn-delete,
#app .danger-button,
#app button.danger {
  color: #fff !important;
  background: linear-gradient(115deg, #c91e43, #ff365e) !important;
  border: 1px solid rgba(255, 90, 120, .4) !important;
}

#app .btn-secondary,
#app .btn-outline,
#app .secondary-button {
  color: var(--ns-white) !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid var(--ns-border) !important;
}

#app button:focus-visible,
#app a:focus-visible,
#app input:focus-visible,
#app select:focus-visible,
#app textarea:focus-visible {
  outline: 2px solid var(--ns-cyan);
  outline-offset: 3px;
}

/* Inputs, search and game category controls */
#app input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
#app select,
#app textarea,
.dashboard-main input:not([type="checkbox"]):not([type="radio"]),
.dashboard-main select,
.dashboard-main textarea {
  box-sizing: border-box;
  max-width: 100%;
  color: var(--ns-white) !important;
  background: #0b1425 !important;
  border: 1px solid #253a5a !important;
  border-radius: 12px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15);
}

#app input:focus,
#app select:focus,
#app textarea:focus,
.dashboard-main input:focus,
.dashboard-main select:focus,
.dashboard-main textarea:focus {
  border-color: var(--ns-blue) !important;
  box-shadow: 0 0 0 3px rgba(22, 140, 255, .13);
  outline: none;
}

#app input::placeholder,
#app textarea::placeholder,
.dashboard-main input::placeholder {
  color: #7285a3 !important;
  opacity: 1;
}

#app select option,
.dashboard-main select option {
  color: var(--ns-white);
  background: #0b1425;
}

/* Badges, statuses and small metadata */
#app .badge,
#app .tag,
#app .chip,
#app .status,
#app .listing-status {
  border-radius: 999px;
}

#app .badge,
#app .tag,
#app .chip {
  color: #9bdcff;
  background: rgba(22, 140, 255, .12);
  border: 1px solid rgba(22, 140, 255, .22);
}

#app .status-pending,
#app .badge-pending {
  color: #ffd78a;
  background: rgba(255, 190, 60, .10);
  border-color: rgba(255, 190, 60, .25);
}

#app .status-rejected,
#app .badge-rejected,
#app .status-expired {
  color: #ff8aa0;
  background: var(--ns-red-soft);
  border-color: rgba(255, 54, 94, .28);
}

#app .status-approved,
#app .badge-approved {
  color: #78f0c1;
  background: rgba(28, 210, 140, .10);
  border-color: rgba(28, 210, 140, .24);
}

/* Tables and listing management */
#app table,
.dashboard-main table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ns-white);
  background: transparent;
}

#app th,
#app td,
.dashboard-main th,
.dashboard-main td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--ns-border);
}

#app th,
.dashboard-main th {
  color: #9db3d2;
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

#app tr:hover td,
.dashboard-main tr:hover td {
  background: rgba(22, 140, 255, .035);
}

/* Dialogs, menus and popovers */
#app dialog,
#app .modal,
#app .modal-content,
#app .dialog,
#app [role="dialog"] {
  color: var(--ns-white);
  background: #0c1424 !important;
  border: 1px solid rgba(74, 146, 255, .3) !important;
  border-radius: 20px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .55), var(--ns-glow);
}

#app dialog::backdrop {
  background: rgba(1, 4, 11, .78);
  backdrop-filter: blur(5px);
}

#app .dropdown-menu,
#app .menu,
#app [role="menu"],
#app [role="listbox"] {
  color: var(--ns-white);
  background: #0c1424;
  border: 1px solid var(--ns-border);
  border-radius: 13px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .35);
}

#app .dropdown-menu a:hover,
#app [role="option"]:hover,
#app [role="menuitem"]:hover {
  background: rgba(22, 140, 255, .12);
}

/* Footer and separators */
#app footer,
footer {
  color: var(--ns-muted);
  background: transparent;
  border-color: var(--ns-border);
}

#app hr,
.dashboard-main hr {
  border: 0;
  border-top: 1px solid var(--ns-border);
}

/* Keep icons and images within their existing layout */
#app img,
.dashboard-main img {
  max-width: 100%;
}

#app svg,
.dashboard-main svg {
  flex-shrink: 0;
}

/* Mobile and tablet */
@media (max-width: 900px) {
  .dashboard-layout {
    display: flex;
    flex-direction: column;
  }

  .dashboard-layout .sidebar,
  .sidebar {
    max-width: 100%;
  }

  #app .hero,
  .hero {
    border-radius: 20px;
  }

  #app .hero h1,
  .hero h1,
  #app .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.7rem);
  }

  #app .section-head {
    flex-wrap: wrap;
  }

  #app .listing-grid,
  #app .product-grid,
  #app .game-grid {
    gap: 13px;
  }
}

@media (max-width: 600px) {
  #app {
    padding-left: 14px;
    padding-right: 14px;
  }

  #app .hero,
  .hero {
    padding: 22px !important;
    border-radius: 17px;
  }

  #app .hero h1,
  .hero h1,
  #app .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  #app .section-head {
    align-items: flex-start;
  }

  #app button,
  #app .btn {
    max-width: 100%;
  }

  #app table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* NEXUSSOUL_RED_ACCENT_FIX */
:root {
  --ns-red: #ff3158;
  --ns-red-bright: #ff496b;
  --ns-red-glow: rgba(255, 49, 88, .22);
}

/* Stronger red accent on the premium hero */
#app .hero {
  border-color: rgba(255, 49, 88, .42) !important;
  box-shadow: inset 4px 0 0 #ff3158,
    0 0 32px rgba(255, 49, 88, .09),
    0 0 35px rgba(22, 140, 255, .12);
}

#app .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff3158, #168cff 58%, transparent);
  pointer-events: none;
}

/* Red-accented destructive and important actions */
#app .btn-danger,
#app .btn-delete,
#app .danger-button,
#app button.danger,
#app [data-action="delete"] {
  background: linear-gradient(115deg, #d71943, #ff3158) !important;
  border-color: rgba(255, 112, 139, .65) !important;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(255, 49, 88, .18);
}

/* Red hover details, section accents and status chips */
#app .section-head h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 9px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff3158, #168cff);
}

#app .status-rejected,
#app .badge-rejected,
#app .status-expired,
#app .badge-danger {
  color: #ff9aad !important;
  background: rgba(255, 49, 88, .14) !important;
  border-color: rgba(255, 49, 88, .4) !important;
}

#app .listing-card:hover,
#app .product-card:hover {
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 49, 88, .12);
}

#app a:hover {
  text-decoration-color: #ff496b;
}

/* NEXUSSOUL_UNIFIED_THEME_V3 */
:root {
  color-scheme: dark;
  --ns-bg: #060912;
  --ns-panel: #0c1322;
  --ns-panel-raised: #111c30;
  --ns-border: #223450;
  --ns-blue: #168cff;
  --ns-cyan: #31c5ff;
  --ns-red: #ff3158;
  --ns-red-deep: #b90f35;
  --ns-text: #f4f7ff;
  --ns-muted: #a0aec4;
  --ns-radius: 16px;
  background: var(--ns-bg) !important;
  color: var(--ns-text);
}

html {
  background: var(--ns-bg) !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ns-text) !important;
  background:
    radial-gradient(ellipse at 78% 4%, rgba(22,140,255,.15), transparent 34%),
    radial-gradient(ellipse at 8% 36%, rgba(255,49,88,.075), transparent 30%),
    var(--ns-bg) !important;
}

.dashboard-layout,
.dashboard-main,
#app {
  color: var(--ns-text) !important;
  background: transparent !important;
}

.dashboard-layout {
  min-height: 100vh;
}

.dashboard-layout .sidebar,
.sidebar {
  color: var(--ns-text) !important;
  background:
    linear-gradient(180deg, rgba(14,25,44,.99), rgba(7,11,21,.99)) !important;
  border-right: 1px solid rgba(49,113,181,.25) !important;
  box-shadow: 8px 0 35px rgba(0,0,0,.18);
}

.sidebar-brand {
  color: #fff !important;
}

.sidebar-logo {
  color: white !important;
  background: linear-gradient(135deg, var(--ns-red), var(--ns-red-deep)) !important;
  box-shadow: 0 0 24px rgba(255,49,88,.3);
}

.sidebar-label {
  color: #7488a6 !important;
  letter-spacing: 1.8px !important;
}

.sidebar-link {
  color: #aebbd0 !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  transition: .2s ease !important;
}

.sidebar-link:hover {
  color: white !important;
  background: rgba(22,140,255,.10) !important;
  border-color: rgba(22,140,255,.25) !important;
}

.sidebar-link.active {
  color: white !important;
  background: linear-gradient(100deg, rgba(22,140,255,.22), rgba(255,49,88,.09)) !important;
  border-color: rgba(22,140,255,.36) !important;
  box-shadow: inset 3px 0 0 var(--ns-red), 0 5px 18px rgba(0,0,0,.15);
}

.sidebar-link span {
  color: var(--ns-cyan);
}

.sidebar-help {
  color: #dce7f9 !important;
  background: linear-gradient(145deg, #111f35, #101321) !important;
  border: 1px solid #263d5e !important;
  border-radius: 14px !important;
}

.sidebar-help button {
  color: #ff8ba1 !important;
}

.sidebar-user {
  border-top: 1px solid #253650 !important;
}

.sidebar-avatar {
  background: linear-gradient(135deg, var(--ns-blue), var(--ns-red)) !important;
  color: white !important;
}

.dashboard-main .topbar,
.topbar {
  color: white !important;
  background: rgba(6,9,18,.88) !important;
  border-bottom: 1px solid rgba(55,111,174,.28) !important;
  backdrop-filter: blur(20px);
}

.nav-btn {
  color: #aebbd0 !important;
}

.nav-btn:hover {
  color: white !important;
  background: rgba(22,140,255,.1) !important;
  border-radius: 9px;
}

#app h1,
#app h2,
#app h3,
#app h4,
.dashboard-main h1,
.dashboard-main h2,
.dashboard-main h3,
.dashboard-main h4 {
  color: #f6f8ff !important;
}

#app p,
#app label,
#app small,
.dashboard-main p {
  color: var(--ns-muted);
}

#app .hero,
#app section.hero,
.hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  color: white !important;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(22,140,255,.20), transparent 38%),
    radial-gradient(ellipse at 5% 100%, rgba(255,49,88,.18), transparent 43%),
    linear-gradient(115deg, #0b1425 0%, #090e1b 56%, #11101d 100%) !important;
  border: 1px solid rgba(49,109,174,.25) !important;
  border-bottom: 2px solid var(--ns-red) !important;
  box-shadow: inset 5px 0 0 var(--ns-red), 0 20px 70px rgba(0,0,0,.2) !important;
}

#app .hero::before,
.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: .55;
  background-image:
    linear-gradient(rgba(75,139,210,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,139,210,.045) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
}

#app .hero .eyebrow,
.hero .eyebrow {
  color: #ff718b !important;
}

#app .hero h1 span,
.hero h1 span {
  color: var(--ns-cyan) !important;
  text-shadow: 0 0 28px rgba(22,140,255,.3);
}

#app .hero-copy > p,
.hero-copy > p {
  color: #b1bfd4 !important;
}

#app .hero-stats strong,
.hero-stats strong {
  color: #f5f8ff !important;
}

#app .hero-stats small,
.hero-stats small {
  color: #8fa1bb !important;
}

#app .hero-art .hero-glow {
  background: rgba(22,140,255,.32) !important;
}

#app .hero-art .game-cube {
  background: linear-gradient(145deg, #35baff, #1261ce 60%, #182342) !important;
  box-shadow: inset -12px -14px 30px rgba(3,13,38,.65),
    0 25px 80px rgba(22,140,255,.3),
    10px 12px 0 rgba(255,49,88,.75) !important;
}

#app .hero-art .orbit {
  border-color: rgba(49,197,255,.4) !important;
}

#app .float-card {
  color: white !important;
  background: rgba(11,20,36,.94) !important;
  border-color: rgba(74,137,202,.42) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,.35), -3px 0 0 var(--ns-red);
}

#app .section,
#app .page-wrap,
#app .section-head {
  color: var(--ns-text) !important;
}

#app .section-head h2 {
  letter-spacing: -.8px;
}

#app .section-head h2::after {
  content: "" !important;
  display: block !important;
  width: 68px !important;
  height: 4px !important;
  margin-top: 12px !important;
  border-radius: 9px !important;
  background: linear-gradient(90deg, var(--ns-red) 0 45%, var(--ns-blue) 45% 100%) !important;
  box-shadow: 0 0 15px rgba(255,49,88,.2);
}

#app .category-strip {
  background: rgba(10,16,29,.94) !important;
  border-color: #223550 !important;
}

#app .category {
  color: #aebbd0 !important;
  border-color: #253650 !important;
  border-radius: 11px !important;
}

#app .category:hover,
#app .category.active {
  color: white !important;
  background: linear-gradient(110deg, rgba(22,140,255,.2), rgba(255,49,88,.12)) !important;
  border-color: var(--ns-blue) !important;
  box-shadow: inset 0 -2px 0 var(--ns-red);
}

#app .listing-grid {
  gap: 18px !important;
}

#app .listing-card,
#app .product-card,
#app .game-card,
#app .category-card,
#app .stat-card,
#app .dashboard-card,
#app .card,
#app .panel,
#app .metric,
#app .order-card,
.dashboard-main .panel,
.dashboard-main .listing-card {
  color: var(--ns-text) !important;
  background: linear-gradient(150deg, #111d31, #0a101d 82%) !important;
  border: 1px solid #263b59 !important;
  border-radius: var(--ns-radius) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.16) !important;
}

#app .listing-card,
#app .product-card {
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

#app .listing-card::before,
#app .product-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--ns-red), var(--ns-blue) 65%, transparent);
  opacity: .9;
}

#app .listing-card:hover,
#app .product-card:hover,
#app .game-card:hover,
#app .category-card:hover,
#app .card:hover {
  transform: translateY(-4px);
  border-color: rgba(22,140,255,.7) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.3), 0 0 0 1px rgba(255,49,88,.22) !important;
}

#app .listing-art {
  background:
    radial-gradient(circle at 75% 15%, rgba(22,140,255,.24), transparent 45%),
    linear-gradient(145deg, #152743, #0b1120) !important;
  border-bottom: 1px solid #263b59;
}

#app .listing-art .game-tag {
  color: #f1f7ff !important;
  background: rgba(5,10,20,.88) !important;
  border: 1px solid rgba(255,49,88,.7) !important;
}

#app .listing-body h3 {
  color: #f4f7ff !important;
}

#app .listing-body p,
#app .seller-line {
  color: #98a9c2 !important;
}

#app .price-line {
  border-top-color: #263750 !important;
}

#app .price {
  color: white !important;
}

#app .price small {
  color: #8fa1bb !important;
}

#app .btn,
#app button,
.dashboard-main .btn,
.dashboard-main button {
  transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

#app .btn-primary,
#app button.btn-primary,
#app .primary-button,
#app button[type="submit"],
#app input[type="submit"] {
  color: white !important;
  background: linear-gradient(110deg, #0878f9, #16b8ff) !important;
  border: 1px solid #4acaff !important;
  box-shadow: 0 7px 24px rgba(22,140,255,.2) !important;
}

#app .btn-primary:hover,
#app .primary-button:hover,
#app button[type="submit"]:hover {
  filter: brightness(1.15);
  box-shadow: 0 8px 30px rgba(22,140,255,.3) !important;
}

#app .btn-danger,
#app .btn-delete,
#app .danger-button,
#app button.danger,
#app [data-action="delete"],
#app .btn-delete-listing {
  color: white !important;
  background: linear-gradient(110deg, #b90f35, #ff3158) !important;
  border: 1px solid #ff718b !important;
  box-shadow: 0 6px 20px rgba(255,49,88,.2) !important;
}

#app .btn-outline,
#app .btn-ghost,
#app .btn-secondary,
#app .small-btn,
#app .buy-btn,
#app button:not(.btn-primary):not(.btn-danger):not([type="submit"]) {
  color: #e4edff;
}

#app .btn-outline,
#app .btn-secondary,
#app .small-btn {
  background: #121e32 !important;
  border: 1px solid #304969 !important;
}

#app .buy-btn {
  background: linear-gradient(115deg, #0c66d9, #168cff) !important;
  border: 1px solid #50bfff !important;
  color: white !important;
}

#app .buy-btn:hover {
  background: linear-gradient(115deg, #bd123a, #ff3158) !important;
  border-color: #ff718b !important;
}

#app input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
#app select,
#app textarea,
.dashboard-main input:not([type="checkbox"]):not([type="radio"]),
.dashboard-main select,
.dashboard-main textarea {
  color: #f4f7ff !important;
  background: #080f1c !important;
  border: 1px solid #2a4263 !important;
  border-radius: 10px;
}

#app input::placeholder,
#app textarea::placeholder {
  color: #70829c !important;
}

#app input:focus,
#app select:focus,
#app textarea:focus,
.dashboard-main input:focus,
.dashboard-main select:focus,
.dashboard-main textarea:focus {
  outline: none !important;
  border-color: var(--ns-blue) !important;
  box-shadow: 0 0 0 3px rgba(22,140,255,.13) !important;
}

#app select option {
  color: white !important;
  background: #0b1425 !important;
}

#app .modal,
#app .modal-content,
#app .modal-backdrop .modal,
#app [role="dialog"] {
  color: white !important;
  background: #0c1424 !important;
  border: 1px solid #304765 !important;
  box-shadow: 0 25px 90px rgba(0,0,0,.65), 0 0 30px rgba(22,140,255,.08) !important;
}

#app .modal-head {
  border-bottom: 1px solid #253954;
  padding-bottom: 12px;
}

#app .field label {
  color: #c6d6ec !important;
}

#app .status,
#app .badge,
#app .tag,
#app .chip,
#app .listing-status {
  border: 1px solid #2c4a6e !important;
  border-radius: 7px !important;
  color: #a9d9ff !important;
  background: rgba(22,140,255,.12) !important;
}

#app .status.completed,
#app .status.resolved,
#app .status-approved,
#app .badge-approved {
  color: #83f0c1 !important;
  background: rgba(32,210,145,.1) !important;
  border-color: rgba(32,210,145,.3) !important;
}

#app .status.disputed,
#app .status.open,
#app .status-rejected,
#app .badge-rejected,
#app .status-expired,
#app .badge-danger {
  color: #ff9caf !important;
  background: rgba(255,49,88,.14) !important;
  border-color: rgba(255,49,88,.45) !important;
}

#app .status.pending_payment,
#app .status-pending,
#app .badge-pending {
  color: #ffdaa0 !important;
  background: rgba(255,190,60,.1) !important;
  border-color: rgba(255,190,60,.3) !important;
}

#app .notice {
  color: #d9e9ff !important;
  background: #101f34 !important;
  border: 1px solid #294767 !important;
}

#app .notice.warn {
  background: rgba(255,49,88,.09) !important;
  border-color: rgba(255,49,88,.42) !important;
}

#app table {
  color: #eaf1ff !important;
  background: transparent !important;
}

#app th,
#app td {
  border-bottom: 1px solid #263750 !important;
  color: #dbe7f8 !important;
}

#app th {
  color: #91b7e4 !important;
  background: rgba(22,140,255,.06) !important;
}

#app tr:hover td {
  background: rgba(22,140,255,.055) !important;
}

#app .empty-state {
  color: #a5b5cc !important;
  background: rgba(11,19,33,.72) !important;
  border: 1px dashed #355174 !important;
}

#app .trust-band {
  color: white !important;
  background: linear-gradient(110deg, #111e32, #10111e) !important;
  border: 1px solid #304c70 !important;
  box-shadow: inset 4px 0 0 var(--ns-red);
}

#app .trust-icon {
  color: white !important;
  background: linear-gradient(135deg, var(--ns-red), var(--ns-blue)) !important;
}

#app footer {
  color: #a8b7ce !important;
  background: transparent !important;
  border-top: 1px solid #263750 !important;
}

#app a:hover {
  color: #66caff !important;
}

#app button:focus-visible,
#app a:focus-visible,
#app input:focus-visible,
#app select:focus-visible,
#app textarea:focus-visible {
  outline: 2px solid var(--ns-cyan) !important;
  outline-offset: 3px;
}

#app img {
  max-width: 100%;
}

@media (max-width: 760px) {
  .dashboard-layout .sidebar,
  .sidebar {
    border-right: 0 !important;
    border-bottom: 1px solid #263b59 !important;
  }

  #app .hero,
  .hero {
    padding-left: 22px !important;
    padding-right: 22px !important;
    border-radius: 0 0 14px 14px;
  }

  #app .hero h1,
  .hero h1 {
    font-size: clamp(42px, 11vw, 59px) !important;
    letter-spacing: -2px !important;
  }

  #app .hero-art {
    max-width: 100%;
    transform: scale(.86);
    transform-origin: center;
  }

  #app .section-head {
    align-items: stretch !important;
    gap: 14px;
  }

  #app .section-head select {
    max-width: 100%;
  }

  #app .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #app .listing-card {
    min-width: 0;
  }

  #app .listing-body {
    padding: 12px !important;
  }

  #app .listing-body h3 {
    font-size: 13px !important;
  }

  #app .price-line {
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
  }

  #app .trust-band .btn {
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  #app .listing-grid {
    grid-template-columns: 1fr !important;
  }

  #app .listing-art {
    min-height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #app *,
  .sidebar-link,
  .btn {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* NEXUSSOUL_LIGHTNING_RED_BOOST_V4 */
:root {
  --ns-blue: #168cff;
  --ns-cyan: #48e5ff;
  --ns-red: #ff174f;
  --ns-red-deep: #ff003c;
}

/* Stronger electric atmosphere */
html, body {
  background-color: #040711 !important;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(0, 112, 255, .22), transparent 38%),
    radial-gradient(ellipse at 92% 18%, rgba(255, 0, 60, .19), transparent 34%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 95, 255, .15), transparent 48%) !important;
}

.dashboard-main {
  background:
    radial-gradient(ellipse at 82% 4%, rgba(0, 132, 255, .12), transparent 34%),
    radial-gradient(ellipse at 4% 22%, rgba(255, 0, 58, .075), transparent 28%) !important;
}

/* Hero: brighter blue core + visible red energy */
#app .hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  border: 1px solid rgba(36, 153, 255, .72) !important;
  box-shadow:
    0 0 12px rgba(0, 132, 255, .55),
    0 0 32px rgba(0, 112, 255, .32),
    0 0 65px rgba(0, 75, 255, .18),
    inset 0 0 28px rgba(0, 116, 255, .12),
    inset 5px 0 0 #ff174f,
    inset 0 -3px 0 rgba(255, 23, 79, .95) !important;
  background-color: #070d1b !important;
  background-image:
    radial-gradient(ellipse at 82% 35%, rgba(0, 145, 255, .34), transparent 35%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 0, 58, .25), transparent 38%),
    linear-gradient(125deg, #070b16 0%, #0a1730 52%, #080b18 100%) !important;
}

/* Lightning bolt */
#app .hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: 5%;
  right: 12%;
  width: clamp(90px, 15vw, 190px);
  height: 90%;
  opacity: .94;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.98) 0%,
    #a6f5ff 12%,
    #31c5ff 36%,
    #168cff 62%,
    rgba(0,80,255,.15) 100%
  );
  clip-path: polygon(
    56% 0%, 100% 0%, 69% 31%,
    91% 31%, 28% 100%, 43% 56%,
    13% 56%
  );
  filter:
    drop-shadow(0 0 4px #ffffff)
    drop-shadow(0 0 10px #31c5ff)
    drop-shadow(0 0 22px #168cff)
    drop-shadow(0 0 42px #005dff);
  transform: skewX(-8deg);
  animation: nsLightningPulse 2.8s ease-in-out infinite;
}

/* Blue energy haze behind hero content */
#app .hero::before {
  background-image:
    linear-gradient(rgba(49,197,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49,197,255,.055) 1px, transparent 1px),
    radial-gradient(ellipse at 80% 35%, rgba(0,145,255,.30), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(255,0,60,.19), transparent 40%) !important;
  background-size: 28px 28px, 28px 28px, auto, auto !important;
}

/* Make red accents unmistakable */
.sidebar-logo,
.sidebar-logo * {
  text-shadow: 0 0 12px rgba(255, 23, 79, .65) !important;
}

.sidebar-link.active {
  border-color: rgba(255, 23, 79, .7) !important;
  box-shadow:
    inset 4px 0 0 #ff174f,
    0 0 16px rgba(255, 23, 79, .18) !important;
  background: linear-gradient(
    90deg,
    rgba(255, 23, 79, .22),
    rgba(10, 25, 48, .88) 75%
  ) !important;
}

.section-head h2,
.section-title,
#app h2 {
  text-decoration-color: #ff174f;
  text-shadow: 0 0 16px rgba(255, 23, 79, .16);
}

#app .listing-card {
  border-color: rgba(38, 105, 174, .52) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 23, 79, .8),
    0 0 0 1px rgba(255, 23, 79, .045) !important;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease !important;
}

#app .listing-card:hover {
  border-color: rgba(49, 197, 255, .95) !important;
  box-shadow:
    0 0 12px rgba(22, 140, 255, .38),
    0 0 28px rgba(22, 140, 255, .22),
    inset 0 2px 0 #ff174f !important;
  transform: translateY(-4px);
}

#app .buy-btn:hover,
#app button:hover,
#app .btn:hover {
  box-shadow:
    0 0 12px rgba(22, 140, 255, .5),
    0 0 24px rgba(22, 140, 255, .2) !important;
}

#app .btn-danger,
#app .delete-btn,
#app button.danger {
  background: linear-gradient(135deg, #ff174f, #bd0037) !important;
  border-color: #ff5578 !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(255, 23, 79, .26) !important;
}

@keyframes nsLightningPulse {
  0%, 100% {
    opacity: .72;
    filter:
      drop-shadow(0 0 4px #fff)
      drop-shadow(0 0 10px #31c5ff)
      drop-shadow(0 0 22px #168cff);
  }
  45% {
    opacity: 1;
    filter:
      drop-shadow(0 0 7px #fff)
      drop-shadow(0 0 16px #48e5ff)
      drop-shadow(0 0 35px #168cff)
      drop-shadow(0 0 55px #005dff);
  }
  52% { opacity: .48; }
  58% { opacity: 1; }
}

@media (max-width: 760px) {
  #app .hero::after {
    right: 3%;
    width: 76px;
    opacity: .62;
  }
}

@media (prefers-reduced-motion: reduce) {
  #app .hero::after {
    animation: none !important;
  }
}


/* NexusSoul combined dashboard fix: responsive orders and navigation */
.ns-orders-page { max-width: 1500px; margin: 0 auto; }
.ns-orders-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:24px; }
.ns-orders-eyebrow { color:#2583ff; font-size:10px; font-weight:900; letter-spacing:2px; margin-bottom:8px; }
.ns-orders-panel { padding:clamp(14px,2vw,26px)!important; }
.ns-orders-panel-head { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:20px; }
.ns-orders-panel-head h2 { margin:0 0 7px; font-size:22px; color:#f4f7ff!important; }
.ns-orders-panel-head p { margin:0; color:#9fb0c9; font-size:12px; line-height:1.6; }
.ns-order-tabs { display:flex; gap:12px; margin:18px 0; overflow-x:auto; padding:3px 2px 8px; }
.ns-order-tab { min-width:180px; flex:1; display:flex; flex-direction:column; gap:6px; text-align:left; padding:16px 19px; border:1px solid #263b59; border-radius:13px; background:linear-gradient(145deg,#101b2e,#0a101d); color:#dce8fb; cursor:pointer; transition:all .18s ease; }
.ns-order-tab span { font-size:14px; font-weight:850; }
.ns-order-tab small { color:#8fa3bf; font-size:11px; }
.ns-order-tab:hover,.ns-order-tab.active { border-color:#2583ff; background:linear-gradient(110deg,rgba(22,140,255,.20),rgba(255,23,79,.10)); box-shadow:inset 0 -2px 0 #ff174f,0 7px 22px #0003; }
.ns-order-tab.active span { color:#fff; }
.ns-orders-table-wrap { width:100%; overflow:auto; border:1px solid #263b59; border-radius:12px; }
.ns-orders-table { min-width:980px; width:100%; }
.ns-orders-table th { background:#101b2e; color:#91a9c9; white-space:nowrap; }
.ns-orders-table td { color:#e0e9f7; border-bottom:1px solid #26364e; }
.ns-orders-table tbody tr:hover { background:rgba(37,131,255,.055); }
.ns-order-title { min-width:190px; max-width:300px; font-weight:800; line-height:1.5; overflow-wrap:anywhere; }
.ns-order-id { display:block; margin-top:5px; color:#7890b0; font-size:10px; }
.ns-order-type { display:inline-block; padding:5px 8px; border-radius:7px; background:#132943; border:1px solid #254a70; color:#9dccff; font-size:11px; }
.ns-order-date { min-width:175px; white-space:nowrap; font-size:11px; }
.ns-order-status { display:inline-block; padding:6px 9px; border-radius:7px; border:1px solid #34425a; background:#182338; color:#c9d7ee; white-space:nowrap; font-size:10px; font-weight:800; }
.ns-order-status-good { color:#85f1c3; border-color:#205943; background:#102d27; }
.ns-order-status-warn { color:#ffb5c1; border-color:#6b2b40; background:#321522; }
.ns-order-price { color:#fff; white-space:nowrap; font-size:14px; }
.ns-order-net-note { display:block; margin-top:5px; color:#91a9c9; white-space:nowrap; font-size:10px; }
.ns-orders-footnote { margin:13px 0 0; color:#8295b2; font-size:11px; line-height:1.6; }
.ns-orders-empty { padding:48px 15px; text-align:center; }
.ns-orders-empty-icon { display:block; font-size:34px; margin-bottom:12px; }
.ns-orders-empty h3 { color:#f4f7ff!important; margin:0 0 8px; }
.ns-orders-empty p { color:#91a3bd; font-size:12px; line-height:1.7; }
@media(max-width:650px) {
  .ns-orders-heading { align-items:flex-start; }
  .ns-orders-panel-head { align-items:flex-start; }
  .ns-order-tab { min-width:150px; padding:13px; }
  .ns-orders-table { min-width:920px; }
}



/* NexusSoul full-screen Browse Marketplace */
.ns-browse-page {
  min-height: calc(100vh - 24px);
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 42px);
  color: #edf4ff;
}
.ns-browse-hero {
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #233b5b;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(23,126,255,.19), transparent 45%),
    radial-gradient(ellipse at 0% 100%, rgba(255,23,79,.12), transparent 40%),
    linear-gradient(135deg, #0d1728, #080d17 75%);
  box-shadow: 0 20px 60px #0004;
}
.ns-browse-topline, .ns-browse-hero-content, .ns-browse-section-head,
.ns-browse-results-head {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.ns-browse-kicker {
  display:block; color:#4da0ff; font-size:10px; font-weight:900;
  letter-spacing:2px; margin-bottom:10px;
}
.ns-browse-hero h1 {
  margin:14px 0 10px; font-size:clamp(30px,5vw,56px);
  line-height:1.08; letter-spacing:-1.8px; color:#f5f8ff;
}
.ns-browse-hero h1 span {
  color:#2583ff; text-shadow:0 0 30px #167dff35;
}
.ns-browse-hero-content p { color:#a4b5ce; font-size:14px; line-height:1.7; }
.ns-browse-count {
  flex-shrink:0; border:1px solid #28496f; background:#0b1a2c;
  border-radius:12px; padding:13px 16px; color:#c4ddff;
  font-size:12px; font-weight:800;
}
.ns-browse-search {
  display:flex; align-items:center; gap:12px; margin-top:25px;
  padding:0 16px; min-height:54px; border:1px solid #2a405e;
  border-radius:12px; background:#070d17;
}
.ns-browse-search span { font-size:25px; color:#4199ff; }
.ns-browse-search input {
  width:100%; border:0!important; outline:none!important; box-shadow:none!important;
  background:transparent!important; color:#f4f7ff!important;
}
.ns-browse-section { margin:32px 0; }
.ns-browse-section h2, .ns-browse-results h2 {
  margin:0; color:#f4f7ff; font-size:clamp(20px,2.5vw,28px);
}
.ns-browse-game-tabs {
  display:flex; gap:10px; overflow-x:auto; padding:18px 2px 8px;
  scrollbar-width:thin; scrollbar-color:#245a91 #0a101b;
}
.ns-browse-game-tab {
  flex:0 0 auto; padding:12px 17px; border-radius:10px;
  border:1px solid #273b57; background:#0b1422; color:#aebed4;
  font-weight:800; font-size:12px; cursor:pointer; transition:.18s ease;
}
.ns-browse-game-tab:hover {
  border-color:#2583ff; color:#fff; transform:translateY(-1px);
}
.ns-browse-game-tab.active {
  color:#fff; border-color:#2583ff;
  background:linear-gradient(110deg,#143e6d,#142137);
  box-shadow:inset 0 -2px #ff174f;
}
.ns-browse-results { margin-top:32px; }
.ns-browse-results-head { margin-bottom:22px; }
.ns-browse-results-head p { margin:8px 0 0; color:#8ea2bf; font-size:12px; }
.ns-browse-category-control { display:flex; flex-direction:column; gap:7px; min-width:180px; }
.ns-browse-category-control span { color:#8ea2bf; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:1px; }
.ns-browse-category-control select {
  min-height:42px; padding:0 12px; border:1px solid #2b4260;
  border-radius:9px; background:#0b1422; color:#e6efff;
}
.ns-browse-listing-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px;
}
.ns-browse-card {
  min-width:0; display:flex; flex-direction:column; overflow:hidden;
  border:1px solid #253954; border-radius:15px;
  background:linear-gradient(155deg,#101c2d,#0a101b 72%);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ns-browse-card:hover {
  transform:translateY(-3px); border-color:#2583ff;
  box-shadow:0 15px 35px #0004, inset 0 -2px #ff174f;
}
.ns-browse-card-top {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:8px; padding:14px 15px; border-bottom:1px solid #1d3049;
}
.ns-browse-game-label {
  color:#a7d3ff; font-size:10px; font-weight:900; text-transform:uppercase;
  letter-spacing:.5px;
}
.ns-browse-category-label {
  color:#ff9ab1; background:#321423; border:1px solid #6b263e;
  border-radius:6px; padding:4px 7px; font-size:10px;
}
.ns-browse-card-body { padding:17px 16px; flex:1; }
.ns-browse-card-body h3 {
  margin:0 0 10px; color:#f2f6ff; font-size:16px; line-height:1.5;
  overflow-wrap:anywhere;
}
.ns-browse-description {
  min-height:54px; margin:0; color:#98a9c1; font-size:12px; line-height:1.7;
  overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:3;
  -webkit-box-orient:vertical; overflow:hidden;
}
.ns-browse-seller {
  display:flex; align-items:center; gap:7px; margin-top:17px;
  color:#8296b2; font-size:10px;
}
.ns-browse-seller strong { color:#d6e5fa; overflow-wrap:anywhere; }
.ns-browse-seller-dot {
  width:7px; height:7px; border-radius:50%; background:#42dda0;
  box-shadow:0 0 10px #42dda044;
}
.ns-browse-card-footer {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 16px; border-top:1px solid #1d3049; background:#080e18;
}
.ns-browse-card-footer small { display:block; margin-bottom:5px; color:#8194af; font-size:10px; }
.ns-browse-price { color:#fff; font-size:19px; font-weight:900; }
.ns-browse-details { padding:10px 12px!important; white-space:nowrap; font-size:11px!important; }
.ns-browse-loading, .ns-browse-empty {
  grid-column:1/-1; padding:55px 18px; text-align:center;
  border:1px dashed #2a405d; border-radius:15px; background:#0b1320;
}
.ns-browse-empty > span { font-size:32px; color:#2583ff; }
.ns-browse-empty h3 { margin:10px 0; color:#f4f7ff; }
.ns-browse-empty p { color:#91a3bd; font-size:12px; line-height:1.7; }
.ns-browse-detail-backdrop {
  position:fixed; inset:0; z-index:9999; display:grid; place-items:center;
  padding:18px; background:rgba(2,5,11,.82); backdrop-filter:blur(8px);
}
.ns-browse-detail-modal {
  position:relative; width:min(620px,100%); max-height:90vh; overflow:auto;
  padding:30px; border:1px solid #2a4a70; border-radius:18px;
  background:linear-gradient(145deg,#101c2d,#080e18);
  box-shadow:0 25px 90px #0009, inset 0 -3px #ff174f;
}
.ns-browse-detail-close {
  position:absolute; top:12px; right:15px; border:0; background:transparent;
  color:#c5d5ea; font-size:27px; cursor:pointer;
}
.ns-browse-detail-modal h2 { margin:10px 0 14px; color:#f4f7ff; line-height:1.5; overflow-wrap:anywhere; }
.ns-browse-detail-modal p { color:#a0b2ca; font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.ns-browse-detail-meta { display:flex; gap:8px; flex-wrap:wrap; }
.ns-browse-detail-meta span { padding:6px 9px; border-radius:7px; border:1px solid #28476b; color:#acd3ff; font-size:11px; }
.ns-browse-detail-price { margin-top:20px; color:#fff; font-size:30px; font-weight:900; }
.ns-browse-detail-note { font-size:11px!important; }
@media(max-width:1050px) {
  .ns-browse-listing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .ns-browse-page { padding:12px; }
  .ns-browse-hero { padding:20px 16px; border-radius:15px; }
  .ns-browse-hero-content { align-items:flex-start; flex-direction:column; gap:8px; }
  .ns-browse-count { padding:9px 12px; }
  .ns-browse-results-head { align-items:flex-start; flex-direction:column; }
  .ns-browse-category-control { width:100%; }
  .ns-browse-listing-grid { grid-template-columns:1fr; }
  .ns-browse-card-footer { align-items:flex-end; }
  .ns-browse-details { white-space:normal; }
}


/* NexusSoul Browse compact category/game picker */
.ns-browse-picker { position:relative; z-index:80; margin:12px 0 4px; }
.ns-browse-picker-actions { display:flex; align-items:center; }
.ns-picker-trigger {
  display:flex; align-items:center; gap:11px; min-width:235px; max-width:100%;
  padding:10px 13px; border:1px solid #294363; border-radius:11px;
  color:#eaf3ff; text-align:left; cursor:pointer;
  background:linear-gradient(120deg,#101f33,#0a111d);
  box-shadow:0 7px 20px #0003; transition:all .18s ease;
}
.ns-picker-trigger:hover,.ns-picker-trigger.is-open {
  border-color:#2583ff; box-shadow:inset 0 -2px #ff174f,0 8px 24px #0004;
}
.ns-picker-trigger-icon {
  display:grid; place-items:center; width:34px; height:34px; flex-shrink:0;
  border-radius:9px; background:#132b48; color:#5caaff; font-size:20px;
}
.ns-picker-trigger-text { display:flex; flex-direction:column; gap:3px; min-width:0; }
.ns-picker-trigger-text strong { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ns-picker-trigger-text small { color:#8fa5c2; font-size:10px; }
.ns-picker-chevron { margin-left:auto; color:#7e9dc3; font-size:18px; }
.ns-picker-panel {
  position:absolute; top:calc(100% + 9px); left:0; width:min(590px,calc(100vw - 34px));
  max-height:min(490px,calc(100vh - 150px)); overflow:hidden;
  border:1px solid #2b4667; border-radius:15px;
  background:linear-gradient(145deg,#101c2d,#080e18);
  box-shadow:0 24px 70px #000b,inset 0 -2px #ff174f;
}
.ns-picker-panel[hidden] { display:none!important; }
.ns-picker-panel-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 17px 12px; border-bottom:1px solid #22354e;
}
.ns-picker-panel-head .ns-browse-kicker { margin-bottom:5px; font-size:9px; }
.ns-picker-panel-head h3 { margin:0; color:#f2f6ff; font-size:17px; }
.ns-picker-close {
  width:30px; height:30px; border:1px solid #2b405c; border-radius:8px;
  background:#101a29; color:#c6d7ee; font-size:20px; cursor:pointer;
}
.ns-picker-columns { display:grid; grid-template-columns:190px minmax(0,1fr); min-height:0; }
.ns-picker-categories { padding:13px 10px; border-right:1px solid #22354e; }
.ns-picker-categories > label,.ns-picker-games > label {
  display:block; margin:0 0 9px; color:#8199b9; font-size:9px;
  font-weight:900; text-transform:uppercase; letter-spacing:1px;
}
.ns-picker-category {
  display:flex; align-items:center; gap:9px; width:100%; margin:3px 0;
  padding:9px 10px; border:1px solid transparent; border-radius:8px;
  background:transparent; color:#afc0d8; text-align:left; font-size:11px;
  font-weight:750; cursor:pointer;
}
.ns-picker-category > span { width:17px; color:#559fff; text-align:center; }
.ns-picker-category:hover,.ns-picker-category.active {
  border-color:#284c74; color:#fff;
  background:linear-gradient(100deg,#15385e,#111e30);
  box-shadow:inset 2px 0 #ff174f;
}
.ns-picker-games { min-width:0; padding:13px; }
.ns-picker-search-wrap {
  display:flex; align-items:center; gap:8px; padding:0 10px; height:36px;
  border:1px solid #293f5c; border-radius:8px; background:#080e18;
}
.ns-picker-search-wrap > span { color:#4da0ff; font-size:20px; }
.ns-picker-search-wrap input {
  width:100%; min-width:0; border:0!important; outline:none!important;
  box-shadow:none!important; background:transparent!important;
  color:#eff6ff!important; font-size:11px;
}
.ns-picker-game-list {
  display:flex; flex-direction:column; gap:3px; margin-top:9px;
  max-height:260px; overflow-y:auto; overscroll-behavior:contain;
  scrollbar-width:thin; scrollbar-color:#2b6196 #0a111b;
}
.ns-picker-game {
  display:flex; align-items:center; gap:9px; width:100%; padding:9px 8px;
  border:1px solid transparent; border-radius:8px; background:transparent;
  color:#c7d7ed; text-align:left; font-size:11px; cursor:pointer;
}
.ns-picker-game:hover {
  border-color:#284d75; background:#13243a; color:#fff;
}
.ns-picker-game-icon { display:grid; place-items:center; width:25px; height:25px; flex-shrink:0; border-radius:7px; background:#132b47; }
.ns-picker-game-arrow { margin-left:auto; color:#609ce4; font-size:18px; }
.ns-picker-loading,.ns-picker-no-games { padding:18px 7px; color:#8fa5c2; font-size:11px; text-align:center; }
.ns-picker-footer { padding-top:8px; color:#7187a4; font-size:9px; }
@media(max-width:560px) {
  .ns-picker-panel { width:min(430px,calc(100vw - 24px)); max-height:calc(100vh - 130px); }
  .ns-picker-columns { grid-template-columns:135px minmax(0,1fr); }
  .ns-picker-categories { padding:10px 6px; }
  .ns-picker-category { gap:5px; padding:9px 6px; font-size:10px; }
  .ns-picker-games { padding:10px 8px; }
}
/* Hide the duplicate outer site chrome only while the full-screen Browse page is active. */
body:has(#app .ns-browse-page) .sidebar,
body:has(#app .ns-browse-page) .topbar { display:none!important; }
body:has(#app .ns-browse-page) .dashboard-layout { display:block!important; }

/* NexusSoul Home category and game picker */
body.ns-home-category-active .topbar > .brand {
  display: none !important;
}

#ns-home-category-menu {
  position: relative;
  z-index: 25;
  margin: 0 3px 12px;
}

#ns-home-category-menu .ns-home-menu-heading {
  padding: 15px 10px 7px;
  color: #929bb2;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.35px;
}

#ns-home-category-menu .ns-home-category-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  padding: 10px;
  border: 1px solid #28374d;
  border-radius: 10px;
  color: #e8efff;
  background: linear-gradient(110deg, #111c2c, #171426);
  text-align: left;
  font-size: 11px;
  font-weight: 800;
}

#ns-home-category-menu .ns-home-category-trigger:hover,
#ns-home-category-menu.is-open .ns-home-category-trigger {
  border-color: #168dff;
  box-shadow: 0 0 16px #087dff20;
}

#ns-home-category-menu .ns-home-trigger-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #087dff, #263bff);
}

#ns-home-category-menu .ns-home-chevron {
  margin-left: auto;
  color: #ff465b;
  font-size: 16px;
}

#ns-home-category-menu .ns-home-category-panel {
  margin-top: 7px;
  padding: 11px;
  border: 1px solid #27354b;
  border-radius: 12px;
  background: #0c111b;
  box-shadow: 0 18px 42px #0009;
}

#ns-home-category-menu .ns-home-menu-label {
  margin: 4px 0 8px;
  color: #8392ab;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1px;
}

#ns-home-category-menu .ns-home-category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

#ns-home-category-menu .ns-home-category-option,
#ns-home-category-menu .ns-home-game-option {
  width: 100%;
  padding: 8px 9px;
  border: 1px solid #222c3c;
  border-radius: 7px;
  color: #c6d0e2;
  background: #121a28;
  text-align: left;
  font-size: 10px;
  transition: border-color .15s, background .15s, color .15s;
}

#ns-home-category-menu .ns-home-category-option:hover,
#ns-home-category-menu .ns-home-category-option.active,
#ns-home-category-menu .ns-home-game-option:hover,
#ns-home-category-menu .ns-home-game-option.active {
  border-color: #168dff;
  color: #fff;
  background: #102b49;
}

#ns-home-category-menu .ns-home-games-label {
  margin-top: 13px;
}

#ns-home-category-menu #ns-home-game-search {
  width: 100%;
  min-height: 35px;
  margin-bottom: 7px;
  padding: 8px 10px;
  border: 1px solid #2a3547;
  border-radius: 8px;
  outline: none;
  color: #f5f7ff;
  background: #080d15;
  font-size: 11px;
}

#ns-home-category-menu #ns-home-game-search:focus {
  border-color: #168dff;
  box-shadow: 0 0 0 2px #168dff20;
}

#ns-home-category-menu .ns-home-game-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 180px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
}

#ns-home-category-menu .ns-home-game-list::-webkit-scrollbar {
  width: 5px;
}

#ns-home-category-menu .ns-home-game-list::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #285a91;
}

#ns-home-category-menu .ns-home-no-games {
  padding: 12px 5px;
  color: #929bb2;
  font-size: 11px;
}

@media (max-width: 760px) {
  #ns-home-category-menu .ns-home-category-panel {
    max-height: 55vh;
    overflow-y: auto;
  }
}

/* NEXUSSOUL_FIXED_CATEGORY_NAV_V1 */
body.ns-fixed-category-home .sidebar-brand {
  display: none !important;
}

body.ns-fixed-category-home .topbar > .brand {
  display: inline-flex !important;
  visibility: visible !important;
}

body.ns-fixed-category-home #ns-home-category-menu {
  display: none !important;
}

.ns-fixed-category-shell {
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  margin: 0;
  color: #f4f7ff;
  background: #080c12;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(26,145,255,.32);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.ns-fixed-category-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(2px, 1.2vw, 18px);
  width: 100%;
  max-width: 1440px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ns-fixed-category-trigger {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0 15px;
  color: #c7d1e0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .015em;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.ns-fixed-category-trigger:hover,
.ns-fixed-category-trigger:focus-visible,
.ns-fixed-category-trigger.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(18,137,255,.12), rgba(18,137,255,0));
  border-bottom-color: #168bff;
  outline: none;
}

.ns-fixed-category-trigger.is-active::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: -3px;
  height: 2px;
  background: #ff334f;
  box-shadow: 0 0 12px rgba(255,51,79,.65);
}

.ns-fixed-category-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 901;
  padding: 25px clamp(18px, 4vw, 60px) 20px;
  color: #f4f7ff;
  background: #0b111b;
  border-top: 1px solid #172a40;
  border-bottom: 1px solid rgba(22,139,255,.55);
  box-shadow: 0 22px 40px rgba(0,0,0,.48);
}

.ns-fixed-category-panel[hidden] {
  display: none !important;
}

.ns-fixed-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto 18px;
}

.ns-fixed-panel-eyebrow {
  color: #168bff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .17em;
}

.ns-fixed-panel-heading h3 {
  margin: 5px 0 4px;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 850;
}

.ns-fixed-panel-heading p {
  margin: 0;
  color: #9baabe;
  font-size: 13px;
}

.ns-fixed-panel-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid #26364a;
  border-radius: 9px;
  color: #dbe7f8;
  background: #111b29;
  cursor: pointer;
}

.ns-fixed-panel-close:hover {
  color: #fff;
  border-color: #ff334f;
  background: rgba(255,51,79,.12);
}

.ns-fixed-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1320px;
  margin: 0 auto;
}

.ns-fixed-game-option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 58px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid #1e2c3e;
  border-radius: 10px;
  color: #edf4ff;
  background: linear-gradient(135deg, #111b29, #0d141f);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.ns-fixed-game-option:hover,
.ns-fixed-game-option:focus-visible {
  border-color: #168bff;
  background: linear-gradient(135deg, #122b46, #101724);
  transform: translateY(-1px);
  outline: none;
}

.ns-fixed-game-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #58b0ff;
  background: rgba(22,139,255,.13);
}

.ns-fixed-game-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ns-fixed-game-arrow {
  margin-left: auto;
  color: #ff4059;
  opacity: .85;
}

.ns-fixed-menu-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  color: #a8b5c8;
  border: 1px dashed #26364a;
  border-radius: 10px;
}

.ns-fixed-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  max-width: 1320px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid #1b2939;
  color: #8e9db1;
  font-size: 12px;
}

.ns-fixed-browse-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid #168bff;
  border-radius: 8px;
  color: #fff;
  background: #0875d1;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.ns-fixed-browse-button:hover {
  border-color: #ff334f;
  background: #1269b2;
}

@media (max-width: 900px) {
  .ns-fixed-category-bar {
    justify-content: flex-start;
    min-height: 52px;
    padding: 0 10px;
  }

  .ns-fixed-category-trigger {
    padding: 0 12px;
    font-size: 13px;
  }

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

  .ns-fixed-category-panel {
    padding: 20px 15px;
  }
}

@media (max-width: 520px) {
  .ns-fixed-game-grid {
    grid-template-columns: 1fr;
  }

  .ns-fixed-panel-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ns-fixed-browse-button {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ns-fixed-category-trigger,
  .ns-fixed-game-option,
  .ns-fixed-browse-button {
    transition: none;
  }
}


/* NEXUSSOUL_SAFE_PREMIUM_UI_PATCH_V1 */
:root {
  --ns-accent-blue: #168cff;
  --ns-accent-red: #ff304f;
  --ns-card-bg: #0c1220;
  --ns-card-border: rgba(83, 153, 255, .25);
}
#game-create-form,
#game-create-form * {
  box-sizing: border-box;
}
#game-create-form {
  display: grid;
  gap: 13px;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--ns-card-border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(22,140,255,.075), rgba(255,48,79,.035));
}
#game-create-form input:not([type="checkbox"]):not([type="file"]),
#game-create-form textarea,
#game-create-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(130,165,210,.28);
  border-radius: 10px;
  background: #080d17;
  color: #f4f7ff;
  padding: 12px 13px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
#game-create-form input:focus,
#game-create-form textarea:focus,
#game-create-form select:focus {
  border-color: var(--ns-accent-blue);
  box-shadow: 0 0 0 3px rgba(22,140,255,.13);
}
#game-create-form textarea {
  min-height: 100px;
  resize: vertical;
}
#game-create-form .category-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 9px;
}
#game-create-form .category-checkboxes label {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  min-height: 43px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--ns-card-border);
  border-radius: 10px;
  background: rgba(16,26,43,.86);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
#game-create-form .category-checkboxes label:has(input:checked) {
  border-color: var(--ns-accent-blue);
  background: rgba(22,140,255,.15);
}
#game-create-form .category-checkboxes input[type="checkbox"] {
  accent-color: var(--ns-accent-blue);
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
#ns-game-image-preview {
  display: none;
  width: min(100%, 360px);
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--ns-card-border);
  border-radius: 14px;
  background: #070b12;
  padding: 6px;
}
#admin-games-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
}
#admin-games-list > .panel {
  min-width: 0;
  margin: 0 !important;
  padding: 16px;
  border: 1px solid var(--ns-card-border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16,26,43,.98), rgba(8,13,23,.98));
  overflow-wrap: anywhere;
}
#admin-games-list img {
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
#staff-management-panel,
#staff-user-results,
#admin-users {
  min-width: 0;
}
#staff-user-results .table-wrap,
#admin-users .table-wrap {
  overflow-x: auto;
  border-radius: 12px;
}
#staff-user-results table,
#admin-users table {
  min-width: 620px;
}
#staff-prev:disabled,
#staff-next:disabled {
  opacity: .45;
  cursor: not-allowed;
}
@media (max-width: 600px) {
  #game-create-form { padding: 12px; }
  #game-create-form .category-checkboxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



/* NEXUSSOUL_SAFE_DARK_RED_RIGHT_SIDEBAR_V3 */
html, body {
  background: #050506 !important;
  color: #f2f2f5;
}
.dashboard-layout {
  display: flex !important;
  flex-direction: row !important;
  background: #050506 !important;
}
.dashboard-main {
  min-width: 0;
  flex: 1 1 auto;
  background: #050506 !important;
}
.sidebar {
  flex: 0 0 250px;
  background: #080809 !important;
  border-left: 1px solid #29292d !important;
  border-right: 0 !important;
}
.sidebar-user {
  margin: 12px 0 20px;
  padding: 14px;
  border: 1px solid #421218;
  border-radius: 12px;
  background: #12090b !important;
}
.sidebar-link { margin: 4px 0; border-radius: 9px; }
.sidebar-link.active, .sidebar-link:hover {
  background: #281014 !important;
  border-color: #761522 !important;
}
.panel, .metric, .notice, .empty-state {
  background-color: #0b0b0e !important;
  border-color: #29292f !important;
}
.btn-primary {
  background: #9d1421 !important;
  border-color: #b51a29 !important;
}
.btn-primary:hover { background: #c21d2b !important; }
.category-strip:empty { display: none !important; }
@media (max-width: 850px) {
  .dashboard-layout { flex-direction: column !important; }
  .sidebar {
    width: 100%;
    flex-basis: auto;
    border-left: 0 !important;
    border-bottom: 1px solid #29292d !important;
  }
}


/* NEXUSSOUL_WALLET_STEPS_V1 */
.ns-wallet-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.ns-wallet-steps button,
.ns-address-controls button,
.ns-review-actions button {
  cursor: pointer;
  border: 1px solid #4b2029;
  border-radius: 10px;
  padding: 11px 16px;
  color: #f7f7fb;
  background: #171216;
  transition: background .18s ease, border-color .18s ease;
}
.ns-wallet-steps button:hover,
.ns-address-controls button:hover,
.ns-review-actions button:hover {
  border-color: #c8324b;
  background: #29141b;
}
.ns-wallet-steps button.is-active {
  background: #8f1f35;
  border-color: #df405a;
}
.ns-address-controls,
.ns-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.ns-crypto-qr {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}
.ns-payout-review {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #743044;
  border-radius: 14px;
  background: #130e12;
  overflow-wrap: anywhere;
}
.ns-payout-review [data-review-countdown] {
  color: #d7c5cb;
}
.ns-payout-review button:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.panel.ns-wallet-hidden[hidden] {
  display: none !important;
}


/* NEXUSSOUL_METHOD_SPECIFIC_PAYMENT_DETAILS_V1 */
.ns-payment-qr-controls {
  margin: 20px 0;
  display: grid;
  justify-items: start;
  gap: 14px;
}
.ns-payment-qr-controls[hidden],
.ns-payment-qr-frame[hidden] {
  display: none !important;
}
.ns-payment-qr-frame {
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #4c2731;
  border-radius: 16px;
  background: #fff;
}
.ns-payment-qr-image {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  image-rendering: pixelated;
}
.ns-payment-qr-error {
  color: #ff8293;
  overflow-wrap: anywhere;
}
.ns-inline-copy {
  margin: 10px 0 0 10px;
}
#upi-qr-image {
  width: min(100%, 400px) !important;
  height: auto !important;
  display: block;
  margin: 18px auto;
  background: #fff;
  padding: 14px;
  border-radius: 14px;
}
/* NEXUSSOUL_WALLET_QR_SIZE_REPAIR_V1 */
#upi-qr-panel,
#upi-qr-panel .qr-frame,
.wallet-qr-panel,
.wallet-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 16px auto;
  max-width: 100%;
}
#upi-qr-image,
.wallet-qr-panel img,
.wallet-qr-frame img {
  display: block;
  width: min(380px, 88vw);
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  #upi-qr-image,
  .wallet-qr-panel img,
  .wallet-qr-frame img {
    width: min(320px, 86vw);
  }
}
/* NEXUSSOUL NEON MARKETPLACE REDESIGN — 2026-10-22 */
:root{color-scheme:dark;--bg:#080910;--panel:#111320;--panel2:#171a2b;--border:#292b43;--text:#f7f6ff;--muted:#a3a6c0;--purple:#a855f7;--purple2:#713cff;--green:#67f5d0;}
html{scroll-behavior:smooth;background:#080910}body{background:radial-gradient(ellipse at 78% 4%,#38206b55 0,transparent 32%),radial-gradient(ellipse at 12% 38%,#152c4b35 0,transparent 36%),#080910;color:#f7f6ff;overflow-x:hidden}button,input,select,textarea{color-scheme:dark}::selection{background:#8b5cf6;color:#fff}
.dashboard-layout{min-height:100vh;background:transparent}.sidebar{background:linear-gradient(180deg,#10111e 0%,#0b0c14 100%)!important;border-right:1px solid #ffffff12!important;box-shadow:12px 0 50px #0002}.sidebar-brand{color:#fff!important}.sidebar-logo,.brand-mark{background:linear-gradient(135deg,#d946ef,#8b5cf6 55%,#3b82f6)!important;box-shadow:0 0 26px #8b5cf644}.sidebar-label{color:#8185a5!important;letter-spacing:1.5px}.sidebar-link{color:#b6b8d1!important;border:1px solid transparent!important;transition:all .2s ease}.sidebar-link>span{background:#1c1d30!important;color:#a78bfa!important;border-radius:9px}.sidebar-link.active,.sidebar-link:hover{background:linear-gradient(100deg,#342052aa,#1a1a31)!important;border-color:#8b5cf64d!important;color:#fff!important;box-shadow:inset 3px 0 #a855f7,0 5px 20px #0002}.sidebar-link.active>span{background:#6d3cc6!important;color:#fff!important}.sidebar-help{background:linear-gradient(135deg,#211738,#121323)!important;border:1px solid #a855f733!important;border-radius:15px}.sidebar-user{background:#151627!important;border:1px solid #ffffff14!important}.sidebar-avatar{background:linear-gradient(135deg,#9333ea,#2563eb)!important;color:white!important}
.dashboard-main{background:transparent!important;min-width:0}.topbar,.dashboard-main .topbar{background:#0b0c13eF!important;border-bottom:1px solid #ffffff12!important;backdrop-filter:blur(20px);box-shadow:0 8px 35px #0002}.brand{color:#f7f6ff!important;letter-spacing:1.2px}.brand>span:last-child{color:#c4b5fd!important}.search{background:#141526!important;border-color:#30314b!important;box-shadow:inset 0 1px #ffffff05}.search:focus-within{border-color:#9b5cf6!important;box-shadow:0 0 0 3px #8b5cf622}.search button{background:linear-gradient(135deg,#8b5cf6,#6d3cff)!important;color:#fff!important}.nav-btn{color:#b7bad3!important}.nav-btn:hover{color:#fff!important}.btn{border-radius:12px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.btn-primary{background:linear-gradient(120deg,#c026d3,#8b5cf6 52%,#4f46e5)!important;border:1px solid #c4b5fd55!important;box-shadow:0 8px 28px #8b5cf644!important}.btn-primary:hover{box-shadow:0 10px 36px #8b5cf666!important}.btn-outline{background:#191a2b!important;border-color:#373853!important;color:#f2efff!important}.btn-ghost{border:1px solid #ffffff20!important;color:#e4dafa!important}.hero{isolation:isolate;background:radial-gradient(ellipse at 78% 48%,#5b21b633,transparent 34%),linear-gradient(120deg,#0b0c14 0%,#121026 53%,#11152a 100%)!important;border-bottom:1px solid #ffffff10}.hero:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.19;pointer-events:none;background-image:linear-gradient(#a78bfa12 1px,transparent 1px),linear-gradient(90deg,#a78bfa12 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(90deg,transparent,#000)}.hero h1{color:#fff;text-shadow:0 5px 36px #a855f722}.hero h1 span{background:linear-gradient(90deg,#e879f9,#a78bfa 48%,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy>p{color:#b7bad0!important}.hero-stats strong{color:#f2efff!important}.hero-stats small{color:#8f93b1!important}.hero-art{filter:saturate(1.2)}.game-cube{background:linear-gradient(145deg,#e879f9,#8b5cf6 48%,#2638a8)!important;box-shadow:inset -15px -18px 30px #1b0c43,0 30px 100px #8b5cf677,0 0 45px #60a5fa22!important}.hero-glow{background:#8b5cf655!important}.orbit{border-color:#b4a0ff38!important}.float-card{background:#151628eF!important;border-color:#b7a1ff33!important;box-shadow:0 15px 45px #0005,0 0 24px #8b5cf610!important}.category-strip{background:#0d0e18!important;border-color:#ffffff12!important}.category{color:#c3c5dc!important;background:#131526!important;border:1px solid #292b43!important;border-radius:12px!important}.category:hover,.category.active{background:#2a1c49!important;border-color:#8b5cf6!important;color:#e9d5ff!important;box-shadow:0 0 18px #8b5cf622}
.section{background:transparent}.eyebrow{color:#c4a4ff!important}.section-head h2,.page-title,.dashboard-main h1,.dashboard-main h2,.dashboard-main h3{color:#f7f6ff!important}.section-head p,.subtext{color:#a3a6c0!important}.section-head select{background:#141526!important;border-color:#343550!important;color:#f7f6ff!important;border-radius:11px;padding:11px 13px}.listing-grid{gap:18px}.listing-card{background:linear-gradient(155deg,#17182a 0%,#10111d 100%)!important;border:1px solid #ffffff13!important;border-radius:18px!important;box-shadow:0 12px 35px #0002!important}.listing-card:hover{transform:translateY(-5px);border-color:#9b5cf6aa!important;box-shadow:0 20px 45px #0005,0 0 24px #8b5cf61b!important}.listing-art{background:radial-gradient(ellipse at 50% 0%,#55338c 0%,#252044 46%,#131522 100%)!important}.listing-art .game-tag{background:#0b0c14dd!important;border-color:#ffffff20!important;color:#e9d5ff!important}.listing-body h3{color:#f6f4ff!important}.listing-body p,.seller-line{color:#a1a4bd!important}.price-line{border-color:#ffffff14!important}.price{color:#fff!important}.price small{color:#969ab5!important}.buy-btn{background:linear-gradient(120deg,#352052,#29204b)!important;border-color:#7047a8!important;color:#eadcff!important}.buy-btn:hover{background:linear-gradient(120deg,#6d28d9,#4f46e5)!important;color:white!important}.empty-state{background:#111321!important;border-color:#39324f!important;color:#b4b5cf!important}.trust-band{background:radial-gradient(ellipse at 0% 0%,#6d28d933,transparent 55%),linear-gradient(110deg,#171528,#10121f)!important;border-color:#5c3d8b!important;box-shadow:0 16px 45px #0002}.trust-icon{background:linear-gradient(135deg,#6d28d9,#4338ca)!important;color:#fff!important}.trust-band h3{color:#fff!important}.trust-band p{color:#b1b4ce!important}.trust-band .btn-outline{background:#211a35!important;border-color:#5d4388!important;color:#e9d5ff!important}footer{background:#0a0b12!important;border-color:#ffffff12!important}footer p,footer small,footer .footer-links{color:#969ab5!important}.footer-links a:hover{color:#d8b4fe!important}
.panel,.order-card,.metric{background:linear-gradient(145deg,#171827,#10111c)!important;border:1px solid #ffffff14!important;box-shadow:0 8px 30px #0002!important}.panel h3,.order-card h4,.metric strong{color:#f7f6ff!important}.metric span,th{color:#a3a6c0!important}td{color:#e3e4f4!important;border-color:#ffffff12!important}.status{background:#302044!important;color:#e4ccff!important}.status.completed,.status.resolved{background:#123b35!important;color:#8cf5d4!important}.status.disputed,.status.open{background:#48202f!important;color:#ffb6c7!important}.status.pending_payment{background:#44351c!important;color:#ffdf94!important}.small-btn{background:#1b1c2e!important;border-color:#3b3c58!important;color:#e8e6fa!important}.small-btn.primary{background:linear-gradient(120deg,#9333ea,#5b45d9)!important;border-color:#a78bfa!important;color:white!important}.notice{background:#211a36!important;border-color:#65439b!important;color:#e4d8ff!important}.notice.warn{background:#332719!important;border-color:#74502a!important;color:#ffe1aa!important}.modal{background:#121321!important;border-color:#3a3553!important;color:#f7f6ff!important;box-shadow:0 25px 100px #000b,0 0 50px #8b5cf622!important}.modal>p,.field label{color:#b7bad0!important}.field input,.field select,.field textarea{background:#0b0c15!important;border-color:#363750!important;color:#f7f6ff!important}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a855f7!important;box-shadow:0 0 0 3px #a855f722!important}.close-btn{background:#27243b!important;color:#fff!important}.toast{background:#e9d5ff!important;color:#25123c!important}
@media(min-width:1500px){.hero{padding-left:clamp(90px,9vw,170px);padding-right:clamp(90px,9vw,170px);min-height:520px}.listing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.listing-art{height:165px}.section{padding-left:clamp(70px,7vw,130px);padding-right:clamp(70px,7vw,130px)}}
@media(max-width:1050px){.topbar{gap:12px;padding:0 18px}.topbar nav{gap:2px}.nav-btn{font-size:12px}.hero{padding-left:38px;padding-right:38px}.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}}
@media(max-width:850px){.dashboard-layout{flex-direction:column!important}.sidebar{width:100%!important;max-width:none!important;flex-basis:auto!important;max-height:none!important;border-right:0!important;border-bottom:1px solid #ffffff14!important;padding:12px 14px!important}.sidebar-brand{margin-bottom:10px}.sidebar-label,.sidebar-spacer,.sidebar-help,.sidebar-user{display:none!important}.sidebar{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px;overflow-x:auto!important}.sidebar-brand{flex:0 0 auto;margin-right:10px}.sidebar-link{flex:0 0 auto!important;width:auto!important;margin:0!important;padding:9px 11px!important;white-space:nowrap;font-size:12px}.sidebar-link>span{display:none!important}.dashboard-main .topbar{position:sticky;top:0}.hero{border-radius:0 0 22px 22px}.page-wrap{padding:30px 22px}}
@media(max-width:680px){.topbar,.dashboard-main .topbar{height:auto;min-height:0;padding:12px 14px;gap:10px;flex-wrap:wrap}.brand{font-size:12px}.brand-mark{width:30px;height:30px}.topbar nav{order:2;width:100%;margin-left:0;justify-content:space-between;overflow-x:auto}.topbar nav .nav-btn{font-size:11px;padding:8px 6px;white-space:nowrap}.topbar nav .btn{font-size:11px;padding:8px 10px;white-space:nowrap}.search{order:3;flex:1 0 100%;max-width:none;height:42px}.sidebar{padding:9px 10px!important}.sidebar-brand{font-size:11px;margin-right:5px}.sidebar-logo{width:30px!important;height:30px!important}.sidebar-link{font-size:11px;padding:8px 10px!important}.hero{grid-template-columns:1fr;padding:38px 20px 16px;min-height:0}.hero h1{font-size:clamp(46px,13vw,62px);letter-spacing:-2.8px;margin:18px 0 14px}.hero-copy>p{font-size:14px;line-height:1.65}.hero-actions{flex-wrap:wrap;margin-top:20px}.hero-actions .btn{padding:11px 13px;font-size:12px}.hero-stats{gap:14px;margin-top:27px;flex-wrap:wrap}.hero-stats strong{font-size:11px}.hero-stats small{font-size:9px}.hero-art{height:230px;max-width:100%;transform:scale(.82);transform-origin:center;margin:-4px 0 -12px}.card-top{right:-8px;top:16px}.card-bottom{left:-8px;bottom:12px}.float-card{padding:10px 12px}.section{padding:34px 14px}.section-head{gap:14px}.section-head h2{font-size:24px;line-height:1.15}.section-head p{font-size:12px}.section-head select{width:100%;max-width:none}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.listing-card{border-radius:14px!important}.listing-art{height:clamp(96px,29vw,130px);font-size:36px}.listing-art .game-tag{top:7px;left:7px;padding:4px 6px;font-size:9px}.listing-body{padding:10px}.listing-body h3{font-size:12px;min-height:0;margin-bottom:7px}.listing-body p{font-size:10px;min-height:0;margin-bottom:10px}.seller-line{font-size:9px;margin-bottom:10px}.price-line{gap:6px;align-items:flex-start;flex-wrap:wrap;padding-top:10px}.price{font-size:16px}.buy-btn{font-size:10px;padding:8px 9px}.trust-band{margin:0 14px 28px;padding:17px;gap:12px}.trust-band h3{font-size:14px}.trust-band p{font-size:11px}.trust-band .btn{width:100%}footer{padding:25px 16px;gap:12px}footer .footer-links{width:100%;margin-left:0!important;gap:13px}.page-wrap{padding:25px 14px}.page-title{font-size:26px}.panel{padding:15px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{padding:13px}.metric strong{font-size:21px}.form-grid{grid-template-columns:1fr}.modal-backdrop{padding:10px;align-items:end}.modal{width:100%;max-height:92dvh;padding:18px;border-radius:18px 18px 12px 12px}.table-wrap{max-width:100%}table{min-width:620px}}
@media(max-width:370px){.listing-grid{grid-template-columns:1fr}.listing-art{height:150px}.hero-stats{gap:10px}.hero-stats>div{min-width:calc(50% - 10px)}.topbar nav{gap:0}.topbar nav .nav-btn{padding:7px 4px}.hero h1{font-size:45px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* NexusSoul admin dashboard visual refresh */
.ns-admin-dashboard-nav{margin:8px 0 24px;padding:22px;border:1px solid rgba(151,111,255,.24);border-radius:20px;background:linear-gradient(135deg,rgba(25,20,48,.96),rgba(12,16,29,.97));box-shadow:0 18px 50px rgba(0,0,0,.2)}
.ns-admin-welcome{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.ns-admin-welcome h2{font-size:clamp(24px,3vw,34px);margin:7px 0 8px;letter-spacing:-.03em}.ns-admin-welcome p{margin:0;color:var(--muted,#a8aec4);max-width:650px}.ns-admin-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#b7a0ff}.ns-admin-live{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid rgba(98,226,168,.25);border-radius:999px;padding:8px 11px;color:#9ce9c5;font-size:12px}.ns-admin-live i{width:7px;height:7px;border-radius:50%;background:#62e2a8;box-shadow:0 0 12px #62e2a8}.ns-admin-nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ns-admin-nav-card{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;padding:16px;border-radius:14px;border:1px solid rgba(160,157,201,.18);background:rgba(255,255,255,.035);color:inherit;cursor:pointer;transition:transform .18s,border-color .18s,background .18s}.ns-admin-nav-card:hover,.ns-admin-nav-card.is-active{transform:translateY(-2px);border-color:rgba(174,143,255,.7);background:rgba(130,92,255,.12)}.ns-admin-card-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:rgba(151,111,255,.16);color:#c9b9ff;font-size:20px}.ns-admin-nav-card span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.ns-admin-nav-card strong{font-size:13px}.ns-admin-nav-card small{font-size:11px;color:var(--muted,#a8aec4)}.ns-admin-nav-card>b{color:#b9a7ff}.ns-admin-managed-panel{scroll-margin-top:24px;border-radius:16px!important;border:1px solid rgba(160,157,201,.16)!important}.ns-admin-managed-panel h3{letter-spacing:-.015em}@media(max-width:760px){.ns-admin-dashboard-nav{padding:15px;border-radius:15px}.ns-admin-welcome{display:block}.ns-admin-live{margin-top:14px}.ns-admin-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ns-admin-nav-card{padding:12px;gap:9px}.ns-admin-card-icon{flex-basis:34px;height:34px}.ns-admin-nav-card strong{font-size:12px}.ns-admin-nav-card small{font-size:10px}}@media(max-width:420px){.ns-admin-nav-grid{grid-template-columns:1fr}.ns-admin-nav-card{padding:13px}}


/* NexusSoul account moderation controls */
.ns-user-moderation{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:300px}.ns-user-moderation .row-actions{display:flex;flex-wrap:wrap;gap:6px}.ns-user-moderation input{min-height:34px}.ns-admin-nav-card{gap:12px}.ns-admin-nav-card>span:nth-child(2){display:flex;flex-direction:column;gap:5px}.ns-admin-nav-card small{display:block;margin-top:2px}@media(max-width:700px){.ns-user-moderation{min-width:250px}.ns-user-moderation input[type="text"]{max-width:100%}}


/* NexusSoul moderation gate and appeal */
.ns-moderation-screen{position:fixed;inset:0;z-index:99999;overflow:auto;display:grid;place-items:center;padding:24px;background:#080a12;color:#f5f5ff;font-family:inherit}
.ns-moderation-card{width:min(680px,100%);padding:clamp(22px,5vw,42px);border:1px solid rgba(165,140,255,.25);border-radius:24px;background:linear-gradient(145deg,#17172a,#0d111d);box-shadow:0 24px 100px rgba(0,0,0,.55)}
.ns-moderation-symbol{display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(255,140,140,.4);border-radius:16px;color:#ffb0b0;font-size:30px}
.ns-moderation-eyebrow{margin:24px 0 8px;color:#b9a5ff;font-size:11px;font-weight:800;letter-spacing:.16em}
.ns-moderation-card h1{margin:0;font-size:clamp(28px,5vw,42px);letter-spacing:-.04em}
.ns-moderation-subtitle,.ns-moderation-card p{line-height:1.65;color:#b8bfd2}
.ns-moderation-reason{margin:24px 0;padding:17px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.035)}
.ns-moderation-reason strong{font-size:13px}.ns-moderation-reason p{margin-bottom:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ns-moderation-countdown{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0;padding:18px;border-radius:14px;background:rgba(139,112,255,.1)}
.ns-moderation-countdown span{color:#c2c7d8}.ns-moderation-countdown strong{font-size:clamp(22px,4vw,32px);font-variant-numeric:tabular-nums;color:#d6c9ff}
.ns-moderation-appeal{margin-top:26px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}
.ns-moderation-appeal h2{margin:0;font-size:22px}.ns-moderation-appeal label{display:block;margin:16px 0 8px;font-weight:700}
.ns-moderation-appeal textarea{display:block;width:100%;min-height:140px;resize:vertical;padding:13px;border:1px solid #35394d;border-radius:12px;background:#090d18;color:#fff;font:inherit}
.ns-moderation-appeal textarea:focus{outline:2px solid #9e87ff;outline-offset:2px}
.ns-moderation-helper{font-size:12px}.ns-moderation-appeal button{margin-top:10px}.ns-moderation-appeal button:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:520px){.ns-moderation-screen{padding:12px}.ns-moderation-card{border-radius:18px}.ns-moderation-countdown{align-items:flex-start;flex-direction:column}}
/* ===== NEXUSSOUL WALLET REDESIGN ===== */
#app:has(#wallet-metrics) #wallet-metrics {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px !important;
  margin: 22px 0 !important;
}

#app:has(#wallet-metrics) #wallet-metrics .metric {
  background: linear-gradient(145deg, #111a2a, #0b101b) !important;
  border: 1px solid #168cff45 !important;
  border-radius: 15px !important;
  padding: 22px !important;
  min-height: 105px;
  box-shadow: 0 10px 30px #0004 !important;
}

#app:has(#wallet-metrics) #wallet-metrics .metric span {
  color: #9baec5 !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#app:has(#wallet-metrics) #wallet-metrics .metric strong {
  display: block;
  color: #f4f8ff !important;
  font-size: 25px !important;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

#app:has(#wallet-open-deposit) .wallet-deposit-launch {
  background: linear-gradient(110deg, #10223a, #0b1422) !important;
  border: 1px solid #168cff70 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin: 20px 0 !important;
  box-shadow: 0 12px 35px #0005 !important;
}

#app:has(#wallet-open-deposit) .wallet-deposit-launch h3 {
  color: #f5f8ff !important;
  margin-bottom: 7px;
}

#app:has(#wallet-open-deposit) #wallet-open-deposit {
  background: linear-gradient(110deg, #168cff, #0864d8) !important;
  color: #fff !important;
  border: 1px solid #65b5ff !important;
  border-radius: 10px !important;
  padding: 13px 30px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 22px #168cff45 !important;
}

#app:has(#wallet-open-deposit) #wallet-open-deposit:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

#app:has(#wallet-deposit-workspace) .wallet-deposit-workspace {
  background: #080d16 !important;
  border: 1px solid #168cff70 !important;
  border-radius: 17px !important;
  padding: 14px !important;
  margin: 22px 0 !important;
  box-shadow: 0 18px 55px #0008 !important;
}

#app:has(#wallet-deposit-workspace) .wallet-deposit-workspace[hidden] {
  display: none !important;
}

#app:has(#wallet-deposit-workspace) .wallet-deposit-workspace > .panel {
  background: #101824 !important;
  border: 1px solid #263c56 !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
}

#app:has(#wallet-deposit-workspace) #wallet-close-deposit {
  border-color: #ff304f80 !important;
  color: #ff7185 !important;
}

#app:has(#payout-form) .panel:has(> #payout-form) {
  background: linear-gradient(145deg, #17121a, #10131d) !important;
  border: 1px solid #ff304f55 !important;
  border-radius: 16px !important;
  padding: 22px !important;
  margin: 22px 0 !important;
  box-shadow: 0 12px 35px #0005 !important;
}

#app:has(#payout-form) .panel:has(> #payout-form) h3 {
  color: #fff !important;
}

#app:has(#payout-form) #payout-form input,
#app:has(#payout-form) #payout-form select {
  background: #090e18 !important;
  color: #f2f6ff !important;
  border: 1px solid #34445a !important;
  border-radius: 9px !important;
}

#app:has(#payout-form) #payout-form input:focus,
#app:has(#payout-form) #payout-form select:focus {
  border-color: #168cff !important;
  outline: 2px solid #168cff30 !important;
}

#app:has(#payout-form) #payout-form button[type="submit"] {
  border-radius: 9px !important;
  border: 1px solid #ff304f80 !important;
  color: #fff !important;
}

#app:has(#wallet-deposits) .panel:has(#wallet-deposits),
#app:has(#wallet-payouts) .panel:has(#wallet-payouts),
#app:has(#wallet-transactions) .panel:has(#wallet-transactions) {
  background: #0e1520 !important;
  border: 1px solid #263b54 !important;
  border-radius: 14px !important;
  padding: 20px !important;
  margin: 16px 0 !important;
}

#app:has(#wallet-metrics) .panel h3 {
  color: #f3f7ff !important;
}

#app:has(#wallet-metrics) .notice {
  border-radius: 10px !important;
}

@media (max-width: 600px) {
  #app:has(#wallet-metrics) #wallet-metrics {
    grid-template-columns: 1fr 1fr !important;
  }

  #app:has(#wallet-open-deposit) .wallet-deposit-launch {
    padding: 16px !important;
  }

  #app:has(#wallet-open-deposit) #wallet-open-deposit {
    padding: 11px 18px !important;
  }

  #app:has(#wallet-deposit-workspace) .wallet-deposit-workspace {
    padding: 8px !important;
  }
}
/* ===== END NEXUSSOUL WALLET REDESIGN ===== */


/* ===== NEXUSSOUL SEPARATE PAYOUT WORKSPACE ===== */
#app:has(#wallet-open-payout) .wallet-payout-launch {
  background: linear-gradient(110deg, #21121b, #11131d) !important;
  border: 1px solid #ff304f70 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin: 20px 0 !important;
  box-shadow: 0 12px 35px #0005 !important;
}

#app:has(#wallet-open-payout) .wallet-payout-launch h3 {
  color: #fff !important;
}

#app:has(#wallet-open-payout) #wallet-open-payout {
  border: 1px solid #ff304f !important;
  color: #fff !important;
  background: linear-gradient(110deg, #d92343, #a91532) !important;
  border-radius: 10px !important;
  padding: 13px 22px !important;
  font-weight: 800 !important;
}

#app:has(#wallet-payout-workspace) .wallet-payout-workspace {
  background: #0c1019 !important;
  border: 1px solid #ff304f70 !important;
  border-radius: 17px !important;
  padding: 14px !important;
  margin: 22px 0 !important;
  box-shadow: 0 18px 55px #0008 !important;
}

#app:has(#wallet-payout-workspace) .wallet-payout-workspace[hidden] {
  display: none !important;
}

#app:has(#wallet-payout-workspace) .wallet-payout-workspace > .panel {
  background: #15121a !important;
  border: 1px solid #57303b !important;
  border-radius: 12px !important;
}

#app:has(#wallet-payout-workspace) #wallet-close-payout {
  border-color: #ff304f80 !important;
  color: #ff7185 !important;
}
/* ===== END SEPARATE PAYOUT WORKSPACE ===== */



/* NEXUSSOUL_DEPOSIT_WIZARD_V1 */
#app:has(#deposit-form) .ns-deposit-stage {
  margin: 12px 0;
  padding: 18px;
  border: 1px solid #263c56;
  border-radius: 13px;
  background: #0b1420;
}

#app:has(#deposit-form) .ns-deposit-stage[hidden],
#app:has(#deposit-form) #wallet-deposit-workspace .panel[hidden] {
  display: none !important;
}

#app:has(#deposit-form) .ns-deposit-stage h3 {
  margin-top: 0;
  color: #fff;
}

#app:has(#deposit-form) .ns-deposit-stage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

#app:has(#deposit-form) .ns-deposit-stage-actions button {
  min-height: 42px;
}

#app:has(#deposit-form) #wallet-deposit-workspace .ns-payment-qr-controls {
  display: none !important;
}

#app:has(#deposit-form) #wallet-address-qr {
  margin-top: 16px;
  overflow-wrap: anywhere;
}

#app:has(#deposit-form) #deposit-preview {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  #app:has(#deposit-form) .ns-deposit-stage {
    padding: 13px;
  }

  #app:has(#deposit-form) .ns-deposit-stage-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #app:has(#deposit-form) .ns-deposit-stage-actions button {
    width: 100%;
  }
}

/* Profile and seller dashboard */
.profile-avatar-preview{width:104px;height:104px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#20243a;border:2px solid var(--ns-border);font-size:34px;font-weight:800}
.profile-avatar-preview img{width:100%;height:100%;object-fit:cover}
.profile-items-list{display:grid;gap:10px}
.profile-item-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--ns-border);border-radius:12px;background:#111a2a}
.profile-item-main,.profile-item-meta{display:flex;flex-direction:column;gap:6px;min-width:0}
.profile-item-main strong{overflow-wrap:anywhere}
.profile-item-main small{color:var(--ns-muted);font-size:12px}
.profile-item-meta{align-items:flex-end;flex-shrink:0}
.profile-item-meta .status{text-transform:capitalize}
.sidebar-avatar{object-fit:cover;border-radius:50%}
@media(max-width:600px){.profile-item-row{align-items:flex-start}.profile-item-meta{font-size:12px}}


/* NexusSoul profile and settings redesign */
.ns-profile-page,.ns-settings-page{display:grid;gap:22px;max-width:1050px;margin:0 auto}
.ns-profile-hero{position:relative;overflow:hidden;padding:30px;border:1px solid #243b59;border-radius:20px;background:radial-gradient(ellipse at 90% 0%,#14518a55,transparent 55%),linear-gradient(135deg,#111d30,#0b1220 75%)}
.ns-profile-identity{display:flex;align-items:center;gap:22px}
.ns-profile-avatar{width:100px;height:100px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#168cff,#103b70);border:3px solid #328fff;box-shadow:0 0 30px #168cff35;color:#fff;font-size:38px;font-weight:800}
.ns-profile-avatar img{width:100%;height:100%;object-fit:cover}
.ns-profile-name h2{margin:0 0 5px;font-size:27px;color:#fff}
.ns-profile-name p{margin:0;color:#91a8c4}
.ns-profile-tags{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:13px}
.ns-profile-badge{font-size:10px;letter-spacing:1px;font-weight:800;padding:6px 10px;border-radius:20px;color:#80c4ff;background:#12365a;border:1px solid #2768a2}
.ns-profile-member{font-size:12px;color:#91a8c4}
.ns-profile-member strong{color:#e2edff}
.ns-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ns-profile-stat{padding:22px;border-radius:16px;border:1px solid #24364e;background:linear-gradient(145deg,#121f32,#0c1422)}
.ns-profile-stat span{display:block;color:#94a9c3;font-size:13px;margin-bottom:10px}
.ns-profile-stat strong{font-size:27px;color:#fff;overflow-wrap:anywhere}
.ns-profile-stat.ns-profit strong{color:#36d99a}
.ns-profile-listings{padding:24px;border:1px solid #24364e;border-radius:18px;background:#0e1726}
.ns-profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.ns-profile-section-heading h3,.ns-settings-heading h3{margin:0;color:#fff;font-size:19px}
.ns-profile-section-heading p,.ns-settings-heading p{margin:5px 0 0;color:#91a5bd;font-size:13px}
.ns-profile-items{display:grid;gap:10px}
.ns-profile-item{display:flex;align-items:center;gap:15px;padding:15px;border:1px solid #263950;border-radius:13px;background:#121f30}
.ns-profile-item-icon{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#15365a;color:#5bb2ff}
.ns-profile-item-info{display:grid;gap:5px;min-width:0;flex:1}
.ns-profile-item-info strong{color:#f1f6ff;overflow-wrap:anywhere}
.ns-profile-item-info span,.ns-profile-item-price span{color:#91a5bd;font-size:12px;text-transform:capitalize}
.ns-profile-item-price{display:grid;gap:5px;text-align:right}
.ns-profile-item-price strong{color:#fff}
.ns-profile-empty{padding:28px;text-align:center;border:1px dashed #344b66;border-radius:13px}
.ns-profile-empty strong{color:#fff}
.ns-profile-empty p{color:#91a5bd;font-size:13px;margin-bottom:0}
.ns-profile-footer{display:flex;justify-content:flex-end}
.ns-settings-card{padding:25px;border:1px solid #263950;border-radius:18px;background:linear-gradient(145deg,#111e30,#0c1421)}
.ns-settings-heading{margin-bottom:22px}
.ns-settings-avatar-row{display:flex;align-items:center;gap:22px;margin-bottom:18px}
.ns-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.ns-settings-page .field{min-width:0}
.ns-settings-page .field input,.ns-settings-page .field select{width:100%}
.ns-settings-page .profile-avatar-preview{width:88px;height:88px;flex-shrink:0}
.ns-settings-page .profile-avatar-preview img{width:100%;height:100%;object-fit:cover}
.ns-settings-page .btn{margin-top:8px}
.ns-settings-page .form-error{margin:8px 0}
@media(max-width:650px){.ns-profile-hero{padding:20px}.ns-profile-identity{gap:15px}.ns-profile-avatar{width:76px;height:76px}.ns-profile-name h2{font-size:21px}.ns-profile-stats{grid-template-columns:1fr}.ns-profile-stat{padding:17px}.ns-profile-stat strong{font-size:23px}.ns-profile-section-heading{align-items:flex-start;flex-direction:column}.ns-profile-item{gap:10px;padding:12px}.ns-profile-item-icon{width:35px;height:35px}.ns-settings-card{padding:18px}.ns-settings-fields{grid-template-columns:1fr}.ns-settings-avatar-row{align-items:flex-start;flex-direction:column}}
