/* HorosCode SellerShops — Darknet Template Demo (visual only) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #030508;
  --bg-teal: #041418;
  --bg-card: #080c10;
  --bg-sidebar: #060a0e;
  --border-red: #cc2222;
  --border-cyan: rgba(0, 212, 255, 0.35);
  --text: #d8f0e8;
  --text-muted: #5a8a7a;
  --accent-green: #00ff88;
  --accent-cyan: #00d4ff;
  --accent-neon: #39ffda;
  --tor-purple: #2a1a3a;
  --tor-bar: #1a1028;
  --mono: "JetBrains Mono", "Cascadia Code", "Consolas", monospace;
  --sans: "Inter", system-ui, sans-serif;
  --btn-yellow: #e6c200;
  --btn-green: #22aa44;
  --btn-blue: #1a6aaa;
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.45), 0 0 40px rgba(0, 255, 136, 0.15);
  /* Tor Grid view */
  --tor-bg: #000000;
  --nav-green: #003300;
  --nav-green-hover: #004400;
  --text-green: #66ff66;
  --text-green-dim: #44cc44;
  --search-bg: #ffffff;
  --search-border: #cccccc;
  --card-border: #1a1a1a;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: radial-gradient(ellipse at 50% 0%, #0a1820 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

a { color: var(--accent-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* CRT scanlines */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
}

/* Noise grain */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* Disclaimer */
.demo-disclaimer {
  position: sticky;
  top: 0;
  z-index: 10000;
  padding: 10px 20px;
  background: linear-gradient(90deg, #1a0a0a, #0a1a18);
  border-bottom: 1px solid rgba(255, 204, 102, 0.3);
  text-align: center;
  font-size: 0.82rem;
  font-family: var(--mono);
  color: #ffcc66;
}
.demo-disclaimer strong { color: #fff; }

.demo-back {
  position: relative;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 24px;
  padding: 8px 14px;
  border: 1px solid var(--border-cyan);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--mono);
  color: var(--accent-green);
  transition: background 0.2s, box-shadow 0.2s;
}
.demo-back:hover {
  background: rgba(0, 255, 136, 0.08);
  box-shadow: var(--glow-green);
  text-decoration: none;
}

/* Tor Browser window */
.tor-window {
  position: relative;
  z-index: 10;
  margin: 0 24px 32px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-teal);
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tor-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: linear-gradient(180deg, #3a2850, var(--tor-bar));
  border-bottom: 1px solid rgba(120, 80, 180, 0.4);
}

.tor-dots {
  display: flex;
  gap: 6px;
}
.tor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tor-dot--red { background: #ff5f57; }
.tor-dot--yellow { background: #febc2e; }
.tor-dot--green { background: #28c840; }

.tor-tab {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: #c8b8e0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tor-onion { font-size: 0.9rem; }

.tor-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #1e1430, #120c1c);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.tor-nav-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  color: #888;
  font-size: 0.75rem;
  cursor: not-allowed;
}

.tor-url-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f0ece8;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.tor-shield { font-size: 0.85rem; }
.tor-lock { font-size: 0.75rem; }

.tor-url-bar {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #1a4020;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tor-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 255, 136, 0.15);
  color: var(--accent-green);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* View tabs */
.view-tabs {
  display: flex;
  gap: 0;
  background: #060a0e;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.view-radio { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.view-tab {
  flex: 0 0 auto;
  min-width: max-content;
  padding: 10px 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.view-tab:hover { color: var(--accent-cyan); background: rgba(0, 212, 255, 0.04); }
#view-landing:checked ~ .view-tabs .view-tab[for="view-landing"],
#view-market:checked ~ .view-tabs .view-tab[for="view-market"],
#view-list:checked ~ .view-tabs .view-tab[for="view-list"],
#view-tor:checked ~ .view-tabs .view-tab[for="view-tor"],
#view-anonymous:checked ~ .view-tabs .view-tab[for="view-anonymous"],
#view-noir:checked ~ .view-tabs .view-tab[for="view-noir"],
#view-voidframe:checked ~ .view-tabs .view-tab[for="view-voidframe"],
#view-nexus:checked ~ .view-tabs .view-tab[for="view-nexus"],
#view-shell:checked ~ .view-tabs .view-tab[for="view-shell"],
#view-blackops:checked ~ .view-tabs .view-tab[for="view-blackops"] {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.06);
}
#view-tor:checked ~ .view-tabs .view-tab[for="view-tor"] {
  color: #66ff66;
  border-bottom-color: #66ff66;
  background: rgba(102, 255, 102, 0.08);
}
#view-anonymous:checked ~ .view-tabs .view-tab[for="view-anonymous"] {
  color: #c9a227;
  border-bottom-color: #c9a227;
  background: rgba(201, 162, 39, 0.1);
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
}
#view-noir:checked ~ .view-tabs .view-tab[for="view-noir"] {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
}
#view-voidframe:checked ~ .view-tabs .view-tab[for="view-voidframe"] {
  color: #fff;
  border-bottom-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
#view-nexus:checked ~ .view-tabs .view-tab[for="view-nexus"] {
  color: #7eb8ff;
  border-bottom-color: #7eb8ff;
  background: rgba(126, 184, 255, 0.08);
}
#view-shell:checked ~ .view-tabs .view-tab[for="view-shell"] {
  color: #00ff66;
  border-bottom-color: #00ff66;
  background: rgba(0, 255, 102, 0.08);
}
#view-blackops:checked ~ .view-tabs .view-tab[for="view-blackops"] {
  color: #94a3b8;
  border-bottom-color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}

.view-panel { display: none; }
#view-landing:checked ~ .shop-shell .view-landing,
#view-market:checked ~ .shop-shell .view-market,
#view-list:checked ~ .shop-shell .view-list,
#view-tor:checked ~ .shop-shell .view-tor,
#view-anonymous:checked ~ .shop-shell .view-anonymous,
#view-noir:checked ~ .shop-shell .view-noir,
#view-voidframe:checked ~ .shop-shell .view-voidframe,
#view-nexus:checked ~ .shop-shell .view-nexus,
#view-shell:checked ~ .shop-shell .view-shell,
#view-blackops:checked ~ .shop-shell .view-blackops {
  display: block;
}

.shop-shell {
  padding: 0;
  min-height: 400px;
}

/* ─── Landing View ─── */
.view-landing {
  padding: 32px 24px 40px;
  background: radial-gradient(ellipse at 50% 30%, #0a2030 0%, #030508 70%);
}

.landing-hero {
  text-align: center;
  margin-bottom: 28px;
}

.glitch-title {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  position: relative;
  animation: glitch-skew 4s infinite;
}
.glitch-title--sm { font-size: 1.4rem; }

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.glitch-title::before {
  color: var(--accent-green);
  animation: glitch-1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch-title::after {
  color: #ff00aa;
  animation: glitch-2 2.5s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-skew {
  0%, 90%, 100% { transform: skew(0deg); }
  92% { transform: skew(-1deg); }
  94% { transform: skew(1deg); }
}
@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  91% { transform: translate(-2px, 1px); opacity: 0.7; }
  93% { transform: translate(2px, -1px); opacity: 0.5; }
}
@keyframes glitch-2 {
  0%, 88%, 100% { transform: translate(0); opacity: 0; }
  89% { transform: translate(2px, 0); opacity: 0.6; }
  91% { transform: translate(-2px, 1px); opacity: 0.4; }
}

.landing-sub {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.landing-search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.landing-search {
  display: flex;
  align-items: center;
  width: min(520px, 100%);
  background: linear-gradient(180deg, #0ae8f0, #00b8d4);
  border-radius: 6px;
  padding: 4px;
  box-shadow: var(--glow-cyan);
}

.landing-search-label {
  padding: 10px 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a1820;
}

.landing-search-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--sans);
  font-size: 0.88rem;
  color: #333;
  border-radius: 4px;
}
.landing-search-input:disabled { cursor: not-allowed; opacity: 0.85; }

.landing-search-btn {
  padding: 10px 16px;
  margin-left: 4px;
  border: none;
  background: #0066cc;
  color: #fff;
  font-size: 1rem;
  border-radius: 4px;
  cursor: not-allowed;
  opacity: 0.9;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 20px 16px;
  max-width: 720px;
  margin: 0 auto 24px;
}

.icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s;
}
.icon-tile:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.icon-glow {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #0a3040 0%, #050a10 70%);
  border: 2px solid var(--accent-cyan);
  box-shadow: var(--glow-cyan), inset 0 0 20px rgba(0, 212, 255, 0.1);
  transition: box-shadow 0.2s;
}
.icon-tile:hover .icon-glow {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.3);
  border-color: var(--accent-neon);
}

.icon-symbol {
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 0 10px var(--accent-cyan);
}

.icon-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.landing-info-bar {
  text-align: center;
  padding: 10px 16px;
  background: rgba(0, 180, 200, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Marketplace View ─── */
.view-market {
  background: var(--bg);
}

.market-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 500px;
}

.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-red);
  padding: 0;
}

.sidebar-block {
  border-bottom: 1px solid var(--border-red);
}

.sidebar-title {
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sidebar-title--red {
  background: var(--border-red);
  color: #fff;
}

.cat-list,
.vendor-list,
.mirror-list {
  list-style: none;
  padding: 8px 0;
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.cat-list a:hover {
  background: rgba(204, 34, 34, 0.1);
  text-decoration: none;
}

.cat-count {
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--border-red);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
}

.vendor-list li,
.mirror-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text);
}

.vendor-avatar,
.mirror-icon {
  font-size: 0.8rem;
  opacity: 0.7;
}

.mirror-list li {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent-green);
}

.market-main {
  padding: 16px 20px 24px;
}

.market-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(204, 34, 34, 0.4);
}
.market-header h1 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.market-terminal {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  list-style: none;
  margin-bottom: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  overflow: hidden;
}

.card-header-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--border-red), #ff4444);
}

.card-title-bar {
  padding: 8px 10px;
  background: #1a1a22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.card-title-bar h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.card-vendor {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #222228;
  font-family: var(--sans);
  font-size: 0.7rem;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.card-thumb {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, #0a1420, #0a0a12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.card-price {
  padding: 8px 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.card-price .btc {
  color: var(--btn-yellow);
  margin-left: 4px;
}

.card-stars {
  padding: 0 10px 6px;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 2px;
}

.card-escrow {
  margin: 0 8px 8px;
  padding: 6px 10px;
  background: var(--btn-blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.68rem;
  text-align: center;
  border-radius: 2px;
}
.escrow-label {
  display: block;
  font-size: 0.58rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-wishlist,
.btn-order {
  display: block;
  width: calc(100% - 16px);
  margin: 0 8px 6px;
  padding: 7px;
  border: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.85;
}
.btn-wishlist {
  background: var(--btn-yellow);
  color: #1a1a00;
}
.btn-order {
  background: var(--btn-green);
  color: #fff;
  margin-bottom: 10px;
}

/* Top vendors */
.top-vendors-section {
  border-top: 2px solid #333;
  padding-top: 16px;
}
.top-vendors-title {
  padding: 8px 12px;
  background: #222;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.top-vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  list-style: none;
}
.vendor-card {
  border: 1px solid var(--border-red);
  background: var(--bg-card);
  text-align: center;
  overflow: hidden;
}
.vendor-card-header {
  padding: 6px 8px;
  background: #222;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: #ccc;
}
.vendor-card-thumb {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #0a0a10;
}
.btn-view {
  width: 100%;
  padding: 6px;
  border: none;
  background: var(--btn-green);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.85;
}

/* ─── Vertical List View ─── */
.view-list {
  padding: 24px;
  background: radial-gradient(ellipse at 50% 0%, #0a1820 0%, var(--bg) 60%);
}

.list-header {
  margin-bottom: 24px;
  text-align: center;
}
.list-sub {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.vertical-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  transition: background 0.15s;
}
.list-item:hover {
  background: rgba(0, 212, 255, 0.04);
}

.list-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: radial-gradient(circle, #0a3040, #050a10);
  border: 1px solid var(--accent-cyan);
  box-shadow: var(--glow-green);
  font-size: 1.2rem;
  color: var(--accent-green);
  text-shadow: 0 0 8px var(--accent-green);
}

.list-title {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
  margin-bottom: 2px;
}

.list-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Footer */
.shop-footer {
  padding: 16px 24px;
  border-top: 1px dashed rgba(0, 212, 255, 0.15);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: #040608;
}

/* Responsive */
@media (max-width: 768px) {
  .tor-window { margin: 0 12px 20px; }
  .market-layout { grid-template-columns: 1fr; }
  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-red);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .sidebar-block { border-right: 1px solid rgba(204, 34, 34, 0.3); }
  .icon-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 14px; }
  .icon-glow { width: 60px; height: 60px; }
  .tor-url-wrap { padding: 5px 8px; }
  .tor-url-bar { font-size: 0.65rem; }
  .view-landing { padding: 20px 16px 32px; }
  .view-list { padding: 16px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .landing-search { flex-wrap: wrap; }
  .landing-search-label { width: 100%; text-align: center; padding-bottom: 0; }
  .tor-nav-btn { display: none; }
}


/* ─── Tor Grid view (classic marketplace) ─── */
body.view-tor-active {
  background: #0a0a0a;
}
body.view-tor-active .crt-overlay,
body.view-tor-active .noise-overlay {
  display: none;
}

.view-tor {
  padding: 0;
  background: #000000;
  --text: #ffffff;
  --text-muted: #999999;
  --bg: #000000;
}

/* ─── Marketplace layout ─── */
.view-tor .market-shell {
  background: var(--bg);
  min-height: 500px;
}

.view-tor .market-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px 12px;
  background: var(--bg);
}

.view-tor .tor-wordmark {
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
}

.view-tor .market-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  max-width: 100%;
  background: var(--search-bg);
  border: 1px solid var(--search-border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.view-tor .market-search--focused {
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(102, 255, 102, 0.15);
}

.view-tor .market-search-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: #222;
}
.view-tor .market-search-input::placeholder { color: #888; }

.view-tor .market-search-btn {
  padding: 0 16px;
  border: none;
  border-left: 1px solid var(--search-border);
  background: #f5f5f5;
  color: #555;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
}
.view-tor .market-search-btn:hover { background: #eee; }

/* Category nav bar */
.view-tor .market-catnav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  background: var(--nav-green);
  border-top: 1px solid #002200;
  border-bottom: 1px solid #001a00;
}

.view-tor .market-catnav-link {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  transition: background 0.15s;
}
.view-tor .market-catnav-link:hover {
  background: var(--nav-green-hover);
  text-decoration: none;
}
.view-tor .market-catnav-link--active {
  background: #004d00;
  font-weight: 600;
}
.view-tor .market-catnav-link--icon {
  margin-left: auto;
  border-right: none;
  border-left: 1px solid rgba(0, 0, 0, 0.25);
  font-size: 1rem;
  padding: 10px 18px;
}

/* Sub-bar / breadcrumb */
.view-tor .market-subbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 20px;
  background: var(--bg);
  border-bottom: 1px solid #111;
  font-size: 0.75rem;
}
.view-tor .market-subbar a {
  color: var(--text-green-dim);
}
.view-tor .market-subbar a:hover { color: var(--text-green); }
.view-tor .market-subbar-sep {
  color: #444;
  font-size: 0.7rem;
}
.view-tor .market-subbar-current {
  color: var(--text-muted);
}

/* Product grid */
.view-tor .tor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
}

.view-tor .tor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 20px;
  border: 1px solid var(--card-border);
  background: var(--bg);
  text-align: center;
  transition: background 0.15s;
}
.view-tor .tor-card:hover {
  background: #0a0a0a;
}

.view-tor .tor-card-img {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  margin-bottom: 12px;
  background: #111;
  border: 1px solid #222;
}

.view-tor .tor-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-green);
  line-height: 1.3;
  margin-bottom: 2px;
}

.view-tor .tor-card-desc {
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 2px;
}

.view-tor .tor-card-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ─── CSS-only product images ─── */

/* Mandala / DMT */
.view-tor .tor-card-img--mandala {
  background:
    radial-gradient(circle at 50% 50%, #ff6600 0%, transparent 8%),
    radial-gradient(circle at 50% 50%, transparent 12%, #cc4400 13%, transparent 14%),
    conic-gradient(from 0deg, #ff8800, #ff4400, #ffaa00, #cc2200, #ff8800);
  border-radius: 50%;
  border: 2px solid #aa3300;
}

/* Chemical diagram / 2C-B */
.view-tor .tor-card-img--chemical {
  background: #0a1a0a;
  position: relative;
}
.view-tor .tor-card-img--chemical::before {
  content: "";
  position: absolute;
  inset: 15%;
  border: 2px solid #44ff44;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 48%, #44ff44 48%, #44ff44 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, #44ff44 48%, #44ff44 52%, transparent 52%);
}
.view-tor .tor-card-img--chemical::after {
  content: "C\u2088H\u2081\u2081NO\u2082";
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
  font-size: 0.55rem;
  color: #66ff66;
  font-family: "Consolas", monospace;
}

/* Mushroom / Amanita */
.view-tor .tor-card-img--mushroom {
  background: radial-gradient(ellipse at 50% 30%, #cc2222 0%, #aa1111 40%, transparent 41%),
              radial-gradient(ellipse at 50% 55%, #f5f0e0 0%, #e8dcc8 50%, #d4c8a8 100%);
  border-radius: 4px;
}
.view-tor .tor-card-img--mushroom::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 25%, #ffffff44 0%, transparent 15%),
              radial-gradient(circle at 65% 30%, #ffffff33 0%, transparent 12%);
}
.view-tor .tor-card-img--mushroom { position: relative; }

/* LSD liquid droplet */
.view-tor .tor-card-img--droplet {
  background: linear-gradient(180deg, #001a33 0%, #002244 100%);
  position: relative;
}
.view-tor .tor-card-img--droplet::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 55%;
  background: radial-gradient(ellipse at 50% 30%, #66ccff 0%, #2288cc 60%, #115588 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 4px 12px rgba(34, 136, 204, 0.4);
}
.view-tor .tor-card-img--droplet::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 42%;
  width: 12%;
  height: 8%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

/* Psilocybe cubensis */
.view-tor .tor-card-img--psilocybin {
  background: radial-gradient(circle at 50% 50%, #3a2a1a 0%, #2a1a0a 100%);
  position: relative;
}
.view-tor .tor-card-img--psilocybin::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 35%;
  background: #c8a878;
  border-radius: 50% 50% 40% 40%;
}
.view-tor .tor-card-img--psilocybin::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 12%;
  height: 30%;
  background: #e8dcc8;
  border-radius: 2px;
}

/* Cannabis on textured ring */
.view-tor .tor-card-img--cannabis-ring {
  background: radial-gradient(circle at 50% 50%, #1a2a10 30%, #0a1a08 70%, #050a04 100%);
  border-radius: 50%;
  position: relative;
}
.view-tor .tor-card-img--cannabis-ring::before {
  content: "\1F33F";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  filter: hue-rotate(-10deg);
}

/* Standalone cannabis leaf */
.view-tor .tor-card-img--cannabis-leaf {
  background: #0a1508;
  position: relative;
}
.view-tor .tor-card-img--cannabis-leaf::before {
  content: "\1F33F";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
}

/* Floral / MDMA crystals */
.view-tor .tor-card-img--floral {
  background: linear-gradient(135deg, #1a0a1a 0%, #2a1020 100%);
  position: relative;
}
.view-tor .tor-card-img--floral::before {
  content: "\273F \273F \273F";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ff66aa;
  letter-spacing: 4px;
}

/* Blotter sheet grid */
.view-tor .tor-card-img--blotter {
  background: #111;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 8%;
}
.view-tor .tor-card-img--blotter::before {
  content: "";
  position: absolute;
  inset: 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  background:
    linear-gradient(90deg, #ff0066 25%, #00ccff 25%, #00ccff 50%, #ffcc00 50%, #ffcc00 75%, #66ff66 75%) 0 0 / 100% 25%,
    linear-gradient(90deg, #9900ff 25%, #ff6600 25%, #ff6600 50%, #00ff99 50%, #00ff99 75%, #ff0099 75%) 0 25% / 100% 25%,
    linear-gradient(90deg, #3366ff 25%, #ff3366 25%, #ff3366 50%, #ccff00 50%, #ccff00 75%, #ff9933 75%) 0 50% / 100% 25%,
    linear-gradient(90deg, #00ffcc 25%, #ff00cc 25%, #ff00cc 50%, #ffff00 50%, #ffff00 75%, #6633ff 75%) 0 75% / 100% 25%;
}
.view-tor .tor-card-img--blotter { position: relative; }

/* Ketamine vial */
.view-tor .tor-card-img--ketamine {
  background: linear-gradient(180deg, #0a0a15 0%, #101020 100%);
  position: relative;
}
.view-tor .tor-card-img--ketamine::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 50%;
  background: linear-gradient(180deg, #ddd 0%, #bbb 15%, rgba(200, 220, 255, 0.6) 20%, rgba(180, 200, 240, 0.8) 100%);
  border-radius: 2px 2px 4px 4px;
  border: 1px solid #999;
}
.view-tor .tor-card-img--ketamine::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 10%;
  background: #888;
  border-radius: 2px 2px 0 0;
}

/* Footer */
.view-tor .shop-footer {
  padding: 16px 24px;
  border-top: 1px solid #111;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg);
}

/* Responsive */
@media (max-width: 1024px) {
  .view-tor .tor-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .view-tor .tor-window { margin: 0 12px 20px; }
  .view-tor .market-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 14px 10px;
  }
  .view-tor .tor-wordmark { font-size: 1.6rem; }
  .view-tor .market-catnav-link { padding: 8px 12px; font-size: 0.75rem; }
  .view-tor .market-catnav-link--icon { margin-left: 0; }
  .view-tor .tor-nav-btn { display: none; }
}

@media (max-width: 540px) {
  .view-tor .tor-grid { grid-template-columns: repeat(2, 1fr); }
  .view-tor .tor-card { padding: 12px 8px 16px; }
  .view-tor .tor-card-img { max-width: 90px; }
  .view-tor .demo-back { margin: 12px 14px; }
}

/* ─── Anonymous Glow Grid view ─── */
body.view-anon-active {
  background: #020408;
}
body.view-anon-active .crt-overlay {
  opacity: 0.04;
}

.view-anonymous {
  padding: 20px 16px 28px;
  background: radial-gradient(ellipse at 50% 20%, #0a1428 0%, #020408 65%);
}

.anon-frame {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 32px;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: linear-gradient(165deg, #060c18 0%, #020408 45%, #040a14 100%);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.15),
    0 0 24px rgba(201, 162, 39, 0.25),
    0 0 60px rgba(201, 162, 39, 0.08),
    inset 0 0 80px rgba(0, 212, 255, 0.03);
  overflow: hidden;
}

.anon-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 140px 140px;
  mix-blend-mode: overlay;
  border-radius: inherit;
}

.anon-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 10px;
  margin-bottom: 22px;
}
.anon-row--bottom {
  margin-bottom: 0;
  margin-top: 22px;
}

.anon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.anon-icon {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1;
  position: relative;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6)) drop-shadow(0 0 20px rgba(0, 212, 255, 0.35));
}

.anon-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7), 0 0 24px rgba(0, 212, 255, 0.4);
  letter-spacing: 0.02em;
}

.anon-sublabel {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(0, 212, 255, 0.65);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

/* DARKWEB book card */
.anon-icon--darkweb {
  aspect-ratio: 3 / 4;
  max-width: 72px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 255, 0.45);
  background:
    radial-gradient(circle at 50% 38%, transparent 18%, rgba(0, 255, 255, 0.15) 19%, transparent 20%),
    radial-gradient(circle at 50% 38%, transparent 28%, rgba(0, 212, 255, 0.2) 29%, transparent 30%),
    radial-gradient(circle at 50% 38%, transparent 38%, rgba(0, 255, 255, 0.12) 39%, transparent 40%),
    conic-gradient(from 0deg at 50% 42%, rgba(0, 255, 255, 0.25), transparent, rgba(0, 212, 255, 0.2), transparent, rgba(0, 255, 255, 0.25)),
    linear-gradient(180deg, #0a1828 0%, #040810 100%);
  box-shadow:
    inset 0 0 30px rgba(0, 212, 255, 0.15),
    0 0 16px rgba(0, 255, 255, 0.4);
}

.anon-darkweb-label {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
  text-align: center;
}

/* Cannabis leaves — increasing glow detail */
.anon-icon--leaf {
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 80, 60, 0.4) 0%, transparent 70%);
}

.anon-icon--leaf::before {
  content: "";
  position: absolute;
  inset: 8%;
  background:
  /* central stem */
    linear-gradient(180deg, transparent 42%, #00ffcc 42%, #00ffcc 44%, transparent 44%),
  /* left leaflet */
    radial-gradient(ellipse 45% 55% at 35% 45%, transparent 58%, #00ffee 59%, #00ffee 62%, transparent 63%),
  /* right leaflet */
    radial-gradient(ellipse 45% 55% at 65% 45%, transparent 58%, #00ffee 59%, #00ffee 62%, transparent 63%),
  /* top leaflet */
    radial-gradient(ellipse 40% 50% at 50% 28%, transparent 58%, #00ffff 59%, #00ffff 62%, transparent 63%),
  /* bottom leaflets */
    radial-gradient(ellipse 35% 45% at 38% 68%, transparent 58%, #00e8ff 59%, #00e8ff 62%, transparent 63%),
    radial-gradient(ellipse 35% 45% at 62% 68%, transparent 58%, #00e8ff 59%, #00e8ff 62%, transparent 63%);
  filter: drop-shadow(0 0 4px #00ffff);
}

.anon-icon--leaf-1::before {
  opacity: 0.55;
  filter: drop-shadow(0 0 3px #00ffff);
}
.anon-icon--leaf-1::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.4;
}

.anon-icon--leaf-2::before {
  opacity: 0.72;
  filter: drop-shadow(0 0 6px #00ffff) drop-shadow(0 0 12px rgba(0, 255, 255, 0.4));
}
.anon-icon--leaf-2::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
}

.anon-icon--leaf-3::before {
  opacity: 0.88;
  filter: drop-shadow(0 0 8px #00ffff) drop-shadow(0 0 18px rgba(0, 255, 255, 0.5));
}
.anon-icon--leaf-3::after {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.15);
}

.anon-icon--leaf-4::before {
  opacity: 1;
  filter: drop-shadow(0 0 10px #00ffff) drop-shadow(0 0 24px rgba(0, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
}
.anon-icon--leaf-4::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.12) 0%, transparent 65%);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.25);
}

/* Middle search + info */
.anon-mid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.anon-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(180deg, #0a1018 0%, #060a10 100%);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.anon-search-text {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: rgba(0, 255, 255, 0.85);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  letter-spacing: 0.03em;
}

.anon-search-btn {
  width: 36px;
  height: 32px;
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 3px;
  background: rgba(0, 40, 50, 0.6);
  color: #00ffff;
  font-size: 1rem;
  cursor: not-allowed;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.anon-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(90deg, #00b8c8 0%, #00d4e8 50%, #00a8b8 100%);
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-top: none;
  border-radius: 0 0 4px 4px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #021418;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
}

.anon-info-icon {
  font-size: 0.85rem;
  color: #021418;
  opacity: 0.7;
}

/* Bottom row icons */
.anon-icon--mushroom {
  background: radial-gradient(ellipse at 50% 32%, #00ffff 0%, #00cccc 25%, transparent 26%),
              radial-gradient(ellipse at 50% 38%, rgba(0, 255, 255, 0.3) 0%, transparent 45%);
}
.anon-icon--mushroom::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 42%;
  background: radial-gradient(ellipse at 50% 30%, #00ffff 0%, #00a8b8 50%, #006878 100%);
  border-radius: 50% 50% 40% 40%;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.6);
}
.anon-icon--mushroom::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 14%;
  height: 32%;
  background: linear-gradient(180deg, #c8e8e8, #88b8b8);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.anon-icon--mushroom-alt::before {
  filter: hue-rotate(15deg);
}

.anon-icon--vial {
  background: radial-gradient(circle at 50% 60%, rgba(0, 255, 255, 0.08) 0%, transparent 60%);
}
.anon-icon--vial::before {
  content: "";
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 52%;
  background: linear-gradient(180deg, rgba(200, 240, 255, 0.3) 0%, rgba(0, 255, 255, 0.15) 30%, rgba(0, 200, 220, 0.25) 100%);
  border: 1px solid rgba(0, 255, 255, 0.6);
  border-radius: 2px 2px 6px 6px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.2);
}
.anon-icon--vial::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 12%;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 255, 255, 0.5) 0,
    rgba(0, 255, 255, 0.5) 2px,
    transparent 2px,
    transparent 4px
  );
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 2px 2px 0 0;
}

.anon-icon--bowl {
  background: radial-gradient(circle at 50% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
}
.anon-icon--bowl::before {
  content: "";
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 28%;
  border: 2px solid #00ffff;
  border-top: none;
  border-radius: 0 0 50% 50%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(0, 255, 255, 0.15) 6px, rgba(0, 255, 255, 0.15) 7px),
    repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(0, 255, 255, 0.15) 6px, rgba(0, 255, 255, 0.15) 7px);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.4);
}
.anon-icon--bowl::after {
  content: "";
  position: absolute;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 22%;
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-bottom: none;
  border-radius: 50% 50% 0 0;
}

.anon-icon--skull {
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.06) 0%, transparent 65%);
}
.anon-icon--skull::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  height: 52%;
  background: radial-gradient(ellipse at 50% 40%, #00ffff 0%, #00a8b8 60%, #004858 100%);
  border-radius: 45% 45% 40% 40%;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 65% 80%, 50% 95%, 35% 80%, 15% 100%, 0 75%);
}
.anon-icon--skull::after {
  content: "";
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 12%;
  background:
    radial-gradient(circle at 30% 50%, #020408 25%, transparent 26%),
    radial-gradient(circle at 70% 50%, #020408 25%, transparent 26%);
}

/* Anonymous view responsive */
@media (max-width: 768px) {
  .anon-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
  }
  .anon-frame {
    padding: 20px 12px 24px;
  }
  .anon-icon {
    max-width: 90px;
  }
}

@media (max-width: 480px) {
  .view-tab {
    font-size: 0.65rem;
    padding: 8px 10px;
  }
  .anon-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .anon-search-text {
    font-size: 0.75rem;
  }
  .anon-info-bar {
    font-size: 0.68rem;
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* ═══════════════════════════════════════════════════════════
   Tab 6 — Noir Luxe (High-End Luxury)
   ═══════════════════════════════════════════════════════════ */
body.view-noir-active .crt-overlay,
body.view-noir-active .noise-overlay { opacity: 0.03; }

.view-noir {
  background: #0c0c0e;
  color: #f2f0eb;
  padding: 0 0 40px;
  min-height: 480px;
}

.noir-hero {
  padding: 56px 32px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #121214 0%, #0c0c0e 100%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.noir-eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.75);
  margin-bottom: 20px;
}

.noir-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: #f2f0eb;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.noir-tagline {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: rgba(242, 240, 235, 0.45);
  letter-spacing: 0.04em;
}

.noir-section-label {
  padding: 32px 32px 20px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.6);
}

.noir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.noir-card {
  padding: 24px 20px 28px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  background: rgba(12, 12, 14, 0.9);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.noir-card:hover {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.12), inset 0 0 60px rgba(201, 168, 76, 0.03);
}

.noir-card-visual {
  height: 120px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.noir-card-visual--amber {
  background: linear-gradient(145deg, #1a1510 0%, #2a2015 40%, #0c0c0e 100%),
    radial-gradient(circle at 70% 30%, rgba(201, 168, 76, 0.35) 0%, transparent 50%);
}
.noir-card-visual--violet {
  background: linear-gradient(145deg, #15101a 0%, #201528 40%, #0c0c0e 100%),
    radial-gradient(circle at 30% 60%, rgba(140, 100, 200, 0.3) 0%, transparent 50%);
}
.noir-card-visual--sapphire {
  background: linear-gradient(145deg, #0a1220 0%, #102040 40%, #0c0c0e 100%),
    radial-gradient(circle at 50% 40%, rgba(60, 120, 200, 0.35) 0%, transparent 50%);
}
.noir-card-visual--emerald {
  background: linear-gradient(145deg, #0a1810 0%, #102818 40%, #0c0c0e 100%),
    radial-gradient(circle at 60% 50%, rgba(60, 140, 80, 0.3) 0%, transparent 50%);
}

.noir-card-cat {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.4);
  margin-bottom: 8px;
}

.noir-card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #f2f0eb;
  margin-bottom: 6px;
}

.noir-card-desc {
  font-size: 0.78rem;
  color: rgba(242, 240, 235, 0.45);
  margin-bottom: 16px;
}

.noir-card-price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #c9a84c;
  margin-bottom: 20px;
}

.noir-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 0.9;
}
.noir-btn--ghost { color: rgba(242, 240, 235, 0.7); }
.noir-btn--gold {
  background: rgba(201, 168, 76, 0.12);
  color: #c9a84c;
  border-color: #c9a84c;
}

/* ═══════════════════════════════════════════════════════════
   Tab 7 — Voidframe (Brutalist)
   ═══════════════════════════════════════════════════════════ */
body.view-void-active {
  background: #000;
}
body.view-void-active .crt-overlay,
body.view-void-active .noise-overlay { display: none; }

.view-voidframe {
  background: #000;
  color: #fff;
  font-family: var(--mono);
  padding: 24px 20px 32px;
  min-height: 480px;
}

.void-header {
  position: relative;
  padding: 24px 40px;
  border: 4px solid #fff;
  margin-bottom: 24px;
  box-shadow: 8px 8px 0 #fff;
}

.void-corner {
  position: absolute;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
}
.void-corner--tl { top: 4px; left: 8px; }
.void-corner--tr { top: 4px; right: 8px; }
.void-corner--bl { bottom: 4px; left: 8px; }
.void-corner--br { bottom: 4px; right: 8px; }

.void-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.void-sub {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #aaa;
}

.void-panels {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.void-panel {
  padding: 12px 16px;
  border: 3px solid #fff;
  background: #000;
  min-width: 160px;
}
.void-panel--offset-1 {
  transform: translate(4px, -4px);
  box-shadow: 6px 6px 0 #fff;
}
.void-panel--offset-2 {
  transform: translate(-6px, 6px);
  box-shadow: -6px 6px 0 #fff;
  margin-left: auto;
}

.void-panel-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  color: #888;
}

.void-panel code {
  font-size: 0.8rem;
  color: #fff;
}

.void-table-wrap {
  border: 4px solid #fff;
  overflow-x: auto;
  margin-bottom: 24px;
  box-shadow: 10px 10px 0 #fff;
}

.void-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.void-table th,
.void-table td {
  border: 2px solid #fff;
  padding: 10px 12px;
  text-align: left;
}
.void-table th {
  background: #fff;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}
.void-table tbody tr:nth-child(even) {
  background: #111;
}

.void-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.void-card {
  flex: 1;
  min-width: 120px;
  padding: 16px;
  border: 3px solid #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.void-card--a { transform: translate(3px, 5px); box-shadow: 5px 5px 0 #fff; }
.void-card--b { transform: translate(-4px, -3px); box-shadow: -5px 5px 0 #fff; }
.void-card--c { transform: translate(2px, -6px); box-shadow: 5px -5px 0 #fff; }
.void-card strong { font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════
   Tab 8 — Nexus (Modern Dashboard)
   ═══════════════════════════════════════════════════════════ */
body.view-nexus-active .crt-overlay { opacity: 0.05; }

.view-nexus {
  background: #0d1117;
  color: #e6edf3;
  min-height: 500px;
}

.nexus-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}

.nexus-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #58a6ff;
  letter-spacing: -0.02em;
}

.nexus-wallet {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.nexus-wallet-item {
  padding: 6px 12px;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.25);
  border-radius: 6px;
  color: #7ee787;
}

.nexus-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #8b949e;
  cursor: pointer;
}
.nexus-mode-input { position: absolute; opacity: 0; width: 0; height: 0; }
.nexus-mode-slider {
  width: 40px;
  height: 22px;
  background: #30363d;
  border-radius: 11px;
  position: relative;
  transition: background 0.2s;
}
.nexus-mode-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #58a6ff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.nexus-mode-input:checked + .nexus-mode-slider::after {
  transform: translateX(18px);
}

.nexus-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}

.nexus-sidebar {
  padding: 16px 12px;
  background: #0d1117;
  border-right: 1px solid #21262d;
}

.nexus-sidebar-title {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b949e;
  margin-bottom: 12px;
  padding: 0 8px;
}

.nexus-cat-tree {
  list-style: none;
  font-size: 0.82rem;
}
.nexus-cat-tree ul {
  list-style: none;
  padding-left: 12px;
  margin-top: 4px;
}
.nexus-cat-item--open > ul { display: block; }
.nexus-cat-item:not(.nexus-cat-item--open) > ul { display: none; }
.nexus-cat-tree a {
  display: block;
  padding: 4px 8px;
  color: #8b949e;
  text-decoration: none;
  border-radius: 4px;
}
.nexus-cat-tree a:hover { color: #58a6ff; background: rgba(88, 166, 255, 0.08); }

.nexus-cat-btn {
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  border: none;
  background: transparent;
  color: #e6edf3;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  border-radius: 4px;
}
.nexus-cat-btn:hover { background: rgba(255, 255, 255, 0.04); }

.nexus-main { padding: 16px 20px; }

.nexus-search-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.nexus-search {
  width: 100%;
  padding: 10px 14px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  color: #e6edf3;
  font-size: 0.88rem;
}
.nexus-search::placeholder { color: #484f58; }

.nexus-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nexus-chip {
  padding: 6px 12px;
  border: 1px solid #30363d;
  border-radius: 20px;
  background: transparent;
  color: #8b949e;
  font-size: 0.72rem;
  cursor: not-allowed;
}
.nexus-chip--active {
  background: rgba(88, 166, 255, 0.15);
  border-color: #58a6ff;
  color: #58a6ff;
}

.nexus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  list-style: none;
}

.nexus-card {
  padding: 12px;
  background: rgba(22, 27, 34, 0.7);
  border: 1px solid #30363d;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}
.nexus-card:hover {
  border-color: #58a6ff;
  transform: translateY(-2px);
}

.nexus-card-img {
  height: 100px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.nexus-card-img--grad1 { background: linear-gradient(135deg, #ff6600, #cc2200); }
.nexus-card-img--grad2 { background: linear-gradient(135deg, #44ff44, #118811); }
.nexus-card-img--grad3 { background: linear-gradient(135deg, #2288cc, #004488); }
.nexus-card-img--grad4 { background: linear-gradient(135deg, #228833, #0a4418); }

.nexus-vendor-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.62rem;
  background: rgba(126, 231, 135, 0.15);
  color: #7ee787;
  border-radius: 4px;
  margin-bottom: 6px;
}

.nexus-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.nexus-stars {
  font-size: 0.72rem;
  color: #f0c040;
  margin-bottom: 6px;
}
.nexus-stars span { color: #8b949e; margin-left: 4px; }

.nexus-price {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #7ee787;
}

.nexus-grid[data-mode="digital"] .nexus-card-img--grad1,
.nexus-grid[data-mode="digital"] .nexus-card-img--grad4 {
  filter: hue-rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════
   Tab 9 — Root Shell (Terminal)
   ═══════════════════════════════════════════════════════════ */
body.view-shell-active {
  background: #000;
}
body.view-shell-active .crt-overlay,
body.view-shell-active .noise-overlay { display: none; }

.view-shell {
  padding: 16px;
  background: #000;
  min-height: 480px;
}

.shell-chrome {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #003300;
  background: #0a0a0a;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #00ff66;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.shell-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  z-index: 2;
}

.shell-titlebar {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #001a00;
  border-bottom: 1px solid #003300;
  font-size: 0.72rem;
  color: #00cc52;
}

.shell-status {
  color: #00ff66;
  animation: shell-blink 1.5s step-end infinite;
}

@keyframes shell-blink {
  50% { opacity: 0.4; }
}

.shell-output {
  flex: 1;
  padding: 12px 14px;
  overflow-y: auto;
  max-height: 320px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.shell-line { margin-bottom: 4px; }
.shell-line--boot { color: #00cc52; font-weight: 600; }
.shell-line--input { color: #66ff99; }
.shell-line--table { margin: 8px 0; }

.shell-cmd { color: #ffff66; }

.shell-table-head,
.shell-table-row {
  display: grid;
  grid-template-columns: 40px 1fr 120px 80px;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #003300;
  font-size: 0.75rem;
}
.shell-table-head {
  color: #00cc52;
  font-weight: 600;
  border-bottom: 1px solid #004400;
}

.shell-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #003300;
  background: #050505;
  position: relative;
  z-index: 1;
}

.shell-prompt {
  color: #00ff66;
  white-space: nowrap;
  font-size: 0.78rem;
}

.shell-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #00ff66;
  font-family: var(--mono);
  font-size: 0.82rem;
  outline: none;
}

.shell-cursor {
  animation: cursor-blink 1s step-end infinite;
  color: #00ff66;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   Tab 10 — Black Ops (Pro Darknet)
   ═══════════════════════════════════════════════════════════ */
body.view-blackops-active .crt-overlay { opacity: 0.04; }

.view-blackops {
  background: #0f1419;
  color: #e2e8f0;
  min-height: 500px;
  position: relative;
}

.blackops-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #0a0e14;
  transition: opacity 0.4s;
}
.blackops-loader--done { opacity: 0; pointer-events: none; }
.blackops-loader[hidden] { display: none; }

.blackops-loader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid #1e293b;
  border-top-color: #64748b;
  border-radius: 50%;
  animation: blackops-spin 0.8s linear infinite;
}

@keyframes blackops-spin {
  to { transform: rotate(360deg); }
}

.blackops-loader-text {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.blackops-loader-bar {
  width: 200px;
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
  overflow: hidden;
}
.blackops-loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #475569, #94a3b8);
  animation: blackops-progress 2s ease-out forwards;
}

@keyframes blackops-progress {
  to { width: 100%; }
}

.blackops-content[hidden] { display: none; }

.blackops-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  background: #1a2332;
  border-bottom: 1px solid #334155;
}

.blackops-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f1f5f9;
}

.blackops-mega { position: relative; margin-left: 24px; }
.blackops-mega-trigger {
  padding: 8px 14px;
  background: #0f1419;
  border: 1px solid #475569;
  color: #cbd5e1;
  font-size: 0.82rem;
  cursor: pointer;
  border-radius: 4px;
}
.blackops-mega:hover .blackops-mega-panel { display: grid; }

.blackops-mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-width: 480px;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 6px;
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.blackops-mega-col {
  padding: 14px 16px;
  border-right: 1px solid #334155;
}
.blackops-mega-col:last-child { border-right: none; }
.blackops-mega-col h3 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 10px;
}
.blackops-mega-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.78rem;
  color: #e2e8f0;
  text-decoration: none;
}
.blackops-mega-col a:hover { color: #38bdf8; }

.blackops-cart {
  margin-left: auto;
  padding: 8px 14px;
  background: #0f1419;
  border: 1px solid #475569;
  color: #e2e8f0;
  font-size: 0.88rem;
  cursor: not-allowed;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blackops-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 10px;
}

.blackops-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0;
  min-height: 400px;
}

.blackops-main { padding: 20px; }

.blackops-heading {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 16px;
}

.blackops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  list-style: none;
}

.blackops-card {
  background: #1a2332;
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.blackops-card:hover { border-color: #64748b; }

.blackops-card-img {
  height: 90px;
}
.blackops-card-img--1 { background: linear-gradient(135deg, #ea580c, #7c2d12); }
.blackops-card-img--2 { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.blackops-card-img--3 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.blackops-card-img--4 { background: linear-gradient(135deg, #16a34a, #14532d); }

.blackops-card-badges {
  display: flex;
  gap: 6px;
  padding: 8px 10px 0;
}
.blackops-badge {
  padding: 2px 6px;
  font-size: 0.58rem;
  font-weight: 600;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blackops-badge--pgp { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.blackops-badge--escrow { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.blackops-card h2 {
  padding: 8px 10px 4px;
  font-size: 0.88rem;
  font-weight: 600;
}

.blackops-vendor {
  padding: 0 10px;
  font-size: 0.72rem;
  color: #94a3b8;
}
.blackops-trust {
  color: #4ade80;
  font-weight: 600;
}

.blackops-price {
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #fbbf24;
}

.blackops-add {
  display: block;
  width: calc(100% - 20px);
  margin: 0 10px 12px;
  padding: 8px;
  background: #334155;
  border: none;
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: not-allowed;
  border-radius: 4px;
}

.blackops-sidebar {
  padding: 20px 16px;
  background: #141c28;
  border-left: 1px solid #334155;
}
.blackops-sidebar h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 14px;
}

.blackops-cart-list {
  list-style: none;
  font-size: 0.78rem;
  margin-bottom: 16px;
}
.blackops-cart-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
}

.blackops-cart-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-weight: 700;
  font-family: var(--mono);
  color: #fbbf24;
  border-top: 1px solid #334155;
  margin-bottom: 14px;
}

.blackops-checkout {
  width: 100%;
  padding: 10px;
  background: #2563eb;
  border: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: not-allowed;
  border-radius: 4px;
  opacity: 0.9;
}

/* New views responsive */
@media (max-width: 768px) {
  .nexus-layout { grid-template-columns: 1fr; }
  .nexus-sidebar { border-right: none; border-bottom: 1px solid #21262d; }
  .blackops-body { grid-template-columns: 1fr; }
  .blackops-sidebar { border-left: none; border-top: 1px solid #334155; }
  .blackops-mega-panel {
    min-width: 280px;
    grid-template-columns: repeat(2, 1fr);
  }
  .noir-hero { padding: 40px 20px 32px; }
  .noir-grid { padding: 0 16px; }
}

@media (max-width: 540px) {
  .void-panels { flex-direction: column; }
  .void-panel--offset-2 { margin-left: 0; }
  .blackops-mega { margin-left: 0; }
  .blackops-mega-panel { grid-template-columns: 1fr; }
}

