/* ==========================================================================
   NERDY MISFITS — DARK CHARCOAL-BLACK & VIBRANT NEON GREMLIN CREW EDITION
   - Deep Charcoal-Black Canvas (#0B0D13) with Neon Ambient Glows
   - Elevated Charcoal Cards (#151824 / #1C2030)
   - Official Logo Neon Green (#39FF14) & Electric Pink (#FF00A8)
   - Gremlin Neon Signatures:
       * Glitch: Acid Neon Green (#39FF14)
       * Pixel: Neon Arcade Purple (#B517FF) & Hot Pink (#FF00A8)
       * Inky: Cyber Neon Cyan (#00E5FF)
       * Zap: Electric Volt Lime (#CCFF00)
       * Booksy: Neon Magenta-Violet (#E040FB)
   ========================================================================== */

:root {
  --bg-charcoal: #0b0d13;
  --bg-charcoal-deep: #07080c;
  --bg-card: #151824;
  --bg-card-elevated: #1c2030;
  --bg-surface: #121520;

  --text-bright: #f8f9fc;
  --text-secondary: #b4bdd4;
  --text-muted: #7c859e;

  --neon-green: #39ff14;
  --neon-pink: #ff00a8;
  --neon-cyan: #00e5ff;
  --neon-purple: #b517ff;
  --neon-volt: #ccff00;
  --neon-plum: #e040fb;

  /* Gremlin Theme Variables */
  --glitch-green: #39ff14;
  --glitch-lime: #39ff14;
  --glitch-bg: rgba(57, 255, 20, 0.13);

  --pixel-purple: #c042ff;
  --pixel-bg: rgba(192, 66, 255, 0.15);

  --inky-blue: #00e5ff;
  --inky-bg: rgba(0, 229, 255, 0.14);

  --zap-olive: #ccff00;
  --zap-bg: rgba(204, 255, 0, 0.14);

  --booksy-plum: #ff2abd;
  --booksy-bg: rgba(255, 42, 189, 0.14);

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-neon-green: rgba(57, 255, 20, 0.55);
  --border-neon-pink: rgba(255, 0, 168, 0.55);

  --font-display: 'Outfit', sans-serif;
  --font-hand: 'Permanent Marker', cursive;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --glow-green: 0 0 22px rgba(57, 255, 20, 0.35);
  --glow-pink: 0 0 22px rgba(255, 0, 168, 0.38);
  --glow-cyan: 0 0 22px rgba(0, 229, 255, 0.35);
  --glow-purple: 0 0 22px rgba(192, 66, 255, 0.38);

  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-charcoal);
  background-image:
    radial-gradient(circle at 15% 12%, rgba(57, 255, 20, 0.11) 0%, transparent 34%),
    radial-gradient(circle at 85% 16%, rgba(255, 0, 168, 0.12) 0%, transparent 36%),
    radial-gradient(circle at 50% 55%, rgba(181, 23, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 20% 85%, rgba(0, 229, 255, 0.08) 0%, transparent 38%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  color: var(--text-bright);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. DARK CHARCOAL HEADER WITH NEON ACCENT BORDER
   ========================================================================== */
.top-sheet-header {
  background: rgba(10, 12, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-bright);
  border-bottom: 2px solid var(--neon-green);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6), 0 2px 18px rgba(57, 255, 20, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.brand-sheet-logo {
  height: 66px;
  width: auto;
  background: #000000;
  padding: 4px 10px;
  border-radius: 12px;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.35), inset 0 0 10px rgba(255, 0, 168, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-cluster:hover .brand-sheet-logo {
  transform: scale(1.04) rotate(-2deg);
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.brand-tagline-box {
  border-left: 2px solid rgba(255, 0, 168, 0.5);
  padding-left: 14px;
}

.brand-superpower {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-subline {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Neon Search Box */
.header-search-wrap {
  flex: 1;
  max-width: 430px;
  position: relative;
}

.friendly-search-box {
  display: flex;
  align-items: center;
  background: #141724;
  border: 2px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  transition: var(--transition);
}

.friendly-search-box:focus-within {
  border-color: var(--neon-green);
  box-shadow: var(--glow-green);
  background: #181c2c;
}

.friendly-search-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  margin-left: 8px;
}

.friendly-search-box input::placeholder {
  color: var(--text-muted);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #151826;
  color: var(--text-bright);
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-green);
  max-height: 380px;
  overflow-y: auto;
  z-index: 250;
  display: none;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}

.search-result-item:hover {
  background: rgba(57, 255, 20, 0.12);
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--neon-cyan);
}

/* Header Perks & Cart Button */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.free-ship-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 168, 0.15);
  border: 1.5px solid var(--neon-pink);
  color: #ff7be2;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255, 0, 168, 0.25);
}

.stash-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--neon-green);
  color: #060906;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--glow-green);
  transition: var(--transition);
}

.stash-cart-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.65);
}

.stash-count {
  background: #090b10;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   2. GREMLIN CREW TAB BAR (DARK CHARCOAL + NEON GLOW TABS)
   ========================================================================== */
.crew-tabs-bar {
  background: #10131d;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 0;
}

.crew-tabs-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.crew-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px 11px;
  text-align: left;
  transition: var(--transition);
  position: relative;
}

.crew-tab-btn:hover {
  transform: translateY(-2px);
  border-color: var(--neon-cyan);
  background: var(--bg-card-elevated);
}

.crew-tab-btn.active {
  transform: translateY(-2px);
}

.crew-tab-btn[data-crew="glitch"].active {
  background: rgba(57, 255, 20, 0.14);
  border-color: var(--neon-green);
  box-shadow: var(--glow-green);
}
.crew-tab-btn[data-crew="pixel"].active {
  background: rgba(192, 66, 255, 0.16);
  border-color: var(--pixel-purple);
  box-shadow: var(--glow-purple);
}
.crew-tab-btn[data-crew="zap"].active {
  background: rgba(204, 255, 0, 0.14);
  border-color: var(--neon-volt);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.35);
}
.crew-tab-btn[data-crew="booksy"].active {
  background: rgba(255, 0, 168, 0.16);
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.crew-tab-btn[data-crew="inky"].active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}
.crew-tab-btn[data-crew="markets"].active {
  background: rgba(57, 255, 20, 0.14);
  border-color: var(--neon-green);
  box-shadow: var(--glow-green);
}

.crew-tab-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-green);
  background: radial-gradient(circle, #2a304d 0%, #121521 100%);
  flex-shrink: 0;
}

.crew-tab-btn[data-crew="pixel"] .crew-tab-avatar  { border-color: var(--pixel-purple); }
.crew-tab-btn[data-crew="zap"] .crew-tab-avatar    { border-color: var(--neon-volt); }
.crew-tab-btn[data-crew="booksy"] .crew-tab-avatar { border-color: var(--neon-pink); }
.crew-tab-btn[data-crew="inky"] .crew-tab-avatar   { border-color: var(--neon-cyan); }

.crew-tab-text {
  min-width: 0;
}

.crew-tab-who {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  line-height: 1.15;
  display: block;
  color: var(--text-bright);
}

.crew-tab-what {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   3. TAB PANELS
   ========================================================================== */
.tab-view-panel {
  display: none;
  padding: 36px 0 64px;
  animation: fadeInView 0.25s ease;
}

.tab-view-panel.active {
  display: block;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. CENTERPIECE: "CIRCLED AROUND THE LOGO" NEON CHARCOAL HUB
   ========================================================================== */
.hub-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

/* The Circular Orbit Stage around the Official Logo */
.logo-circle-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 168, 0.16) 0%, rgba(57, 255, 20, 0.1) 42%, #121522 76%);
  border: 3px solid var(--neon-green);
  border-radius: 50%;
  box-shadow:
    0 0 38px rgba(57, 255, 20, 0.25),
    inset 0 0 40px rgba(255, 0, 168, 0.18),
    0 0 0 4px rgba(255, 0, 168, 0.45);
}

/* Dashed Neon Orbit Ring Inside Circle */
.orbit-dashed-ring {
  position: absolute;
  inset: 14%;
  border: 2.5px dashed rgba(0, 229, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.15);
}

/* Center Logo Medallion */
.center-logo-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 41%;
  aspect-ratio: 1 / 1;
  background: #000000;
  border: 3.5px solid var(--neon-green);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: #ffffff;
  box-shadow:
    0 0 32px rgba(57, 255, 20, 0.45),
    0 0 0 5px var(--neon-pink),
    0 0 45px rgba(255, 0, 168, 0.4);
  z-index: 5;
  cursor: pointer;
  transition: var(--transition);
}

.center-logo-hub:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--neon-pink);
  box-shadow:
    0 0 38px rgba(255, 0, 168, 0.65),
    0 0 0 5px var(--neon-green);
}

.center-logo-hub img {
  width: 92%;
  max-width: 175px;
  height: auto;
  margin-bottom: 6px;
  object-fit: contain;
}

.center-logo-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--neon-green);
  color: #050805;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

/* 5 Gremlin Nodes Positioned in a Pentagon Circle Around the Logo */
.orbit-gremlin-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  z-index: 6;
  transition: var(--transition);
}

.orbit-gremlin-node:hover {
  transform: translate(-50%, -54%) scale(1.1);
  z-index: 10;
}

.orbit-pos-top         { top: 14%; left: 50%; }
.orbit-pos-top-right   { top: 38%; left: 85%; }
.orbit-pos-bot-right   { top: 80%; left: 73%; }
.orbit-pos-bot-left    { top: 80%; left: 27%; }
.orbit-pos-top-left    { top: 38%; left: 15%; }

.orbit-avatar-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d3454 0%, #141726 100%);
  border: 3px solid var(--neon-green);
  overflow: hidden;
  transition: var(--transition);
}

.orbit-gremlin-node.glitch-node .orbit-avatar-ring {
  border-color: var(--neon-green);
  box-shadow: var(--glow-green);
}
.orbit-gremlin-node.pixel-node .orbit-avatar-ring {
  border-color: var(--pixel-purple);
  box-shadow: var(--glow-purple);
}
.orbit-gremlin-node.zap-node .orbit-avatar-ring {
  border-color: var(--neon-volt);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
}
.orbit-gremlin-node.booksy-node .orbit-avatar-ring {
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}
.orbit-gremlin-node.inky-node .orbit-avatar-ring {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.orbit-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-name-badge {
  margin-top: -10px;
  background: #0b0d14;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--neon-green);
  letter-spacing: 0.04em;
}

.orbit-gremlin-node.glitch-node .orbit-name-badge { background: var(--neon-green); color: #050805; border-color: #fff; }
.orbit-gremlin-node.pixel-node  .orbit-name-badge { background: var(--pixel-purple); color: #fff; border-color: #fff; }
.orbit-gremlin-node.zap-node    .orbit-name-badge { background: var(--neon-volt); color: #050805; border-color: #fff; }
.orbit-gremlin-node.booksy-node .orbit-name-badge { background: var(--neon-pink); color: #fff; border-color: #fff; }
.orbit-gremlin-node.inky-node   .orbit-name-badge { background: var(--neon-cyan); color: #041014; border-color: #fff; }

.orbit-dept-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-bright);
  background: rgba(15, 18, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2px 9px;
  border-radius: 6px;
  margin-top: 4px;
}

/* Right Side of Hub: Interactive Crew Spotlight Card */
.crew-spotlight-card {
  background: linear-gradient(155deg, #191d2e 0%, #111420 100%);
  border: 2.5px solid var(--neon-green);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), var(--glow-green);
}

.spotlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 168, 0.16);
  border: 1px solid var(--neon-pink);
  color: #ff7be2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.spotlight-flex {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.spotlight-character-img {
  width: 140px;
  height: 220px;
  object-fit: contain;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.22) 0%, #181c2c 75%);
  border: 2px solid rgba(57, 255, 20, 0.45);
  border-radius: var(--radius-md);
  padding: 8px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}

.spotlight-char-name {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
}

.spotlight-char-role {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}

.spotlight-quote-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.spotlight-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.stat-mini-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stat-mini-box strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--neon-green);
  margin-bottom: 2px;
}

/* ==========================================================================
   5. THE 5 MISFITS CREW CHARACTER CARDS ROW (DARK CHARCOAL + NEON BORDERS)
   ========================================================================== */
.crew-roster-section {
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  margin-bottom: 42px;
}

.crew-roster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.roster-char-card {
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  cursor: pointer;
}

.roster-char-card:nth-child(1):hover { border-color: var(--neon-green); box-shadow: var(--glow-green); transform: translateY(-5px); }
.roster-char-card:nth-child(2):hover { border-color: var(--pixel-purple); box-shadow: var(--glow-purple); transform: translateY(-5px); }
.roster-char-card:nth-child(3):hover { border-color: var(--neon-cyan); box-shadow: var(--glow-cyan); transform: translateY(-5px); }
.roster-char-card:nth-child(4):hover { border-color: var(--neon-volt); box-shadow: 0 0 22px rgba(204,255,0,0.35); transform: translateY(-5px); }
.roster-char-card:nth-child(5):hover { border-color: var(--neon-pink); box-shadow: var(--glow-pink); transform: translateY(-5px); }

.roster-sprite-wrap {
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 70%);
  border-radius: var(--radius-md);
  padding: 8px;
}

.roster-sprite-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
}

.roster-name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1.1;
}

.roster-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.roster-bio {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.roster-open-btn {
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(57, 255, 20, 0.14);
  border: 1.5px solid var(--neon-green);
  color: var(--neon-green);
  text-align: center;
  transition: var(--transition);
}

.roster-char-card:hover .roster-open-btn {
  background: var(--neon-green);
  color: #050805;
  box-shadow: var(--glow-green);
}

/* ==========================================================================
   6. GREMLIN HOST BANNER INSIDE EACH SHOP TAB
   ========================================================================== */
.gremlin-host-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(145deg, #181c2c 0%, #111420 100%);
  border: 2.5px solid var(--neon-green);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), var(--glow-green);
  margin-bottom: 26px;
}

.host-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.host-sprite {
  width: 118px;
  height: 178px;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, #141724 75%);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 6px;
  flex-shrink: 0;
}

.host-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.host-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.15);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}

.host-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 6px;
  color: var(--text-bright);
}

.host-speech {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 14px;
}

/* Neon Filter Pills Inside Host Banner */
.friendly-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  transition: var(--transition);
}

.filter-chip:hover {
  border-color: var(--neon-cyan);
  color: var(--text-bright);
}

.filter-chip.active {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: #050805;
  box-shadow: var(--glow-green);
}

/* ==========================================================================
   7. PRODUCT GRID (DARK CHARCOAL CARDS + NEON HOVER + 1:1 UNCROPPED)
   ========================================================================== */
.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.friendly-select {
  background: var(--bg-card);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: var(--text-bright);
  border-radius: var(--radius-pill);
  padding: 8px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
}

.friendly-select:focus {
  border-color: var(--neon-green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65), var(--glow-green);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #08090e;
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #1e2336 0%, #0b0d14 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.product-placeholder img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--neon-green);
  box-shadow: var(--glow-green);
  margin-bottom: 10px;
}

.stock-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
  backdrop-filter: blur(8px);
}

.stock-pill.ready {
  background: rgba(8, 22, 10, 0.88);
  color: var(--neon-green);
  border: 1.5px solid var(--neon-green);
}

.stock-pill.print-order {
  background: rgba(28, 8, 26, 0.88);
  color: #ff7be2;
  border: 1.5px solid var(--neon-pink);
}

.stock-pill.low {
  background: rgba(30, 22, 6, 0.9);
  color: var(--neon-volt);
  border: 1.5px solid var(--neon-volt);
}

.product-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 4px;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  color: var(--text-bright);
  cursor: pointer;
}

.product-title:hover {
  color: var(--neon-green);
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--neon-green);
}

.btn-add-friendly {
  background: rgba(57, 255, 20, 0.14);
  border: 1.5px solid var(--neon-green);
  color: var(--neon-green);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-add-friendly:hover {
  background: var(--neon-green);
  color: #050805;
  box-shadow: var(--glow-green);
}

/* Primary & Secondary Neon Buttons */
.btn-friendly-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neon-green);
  color: #050805;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--glow-green);
  transition: var(--transition);
}

.btn-friendly-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.65);
}

.btn-friendly-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 168, 0.14);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--neon-pink);
  transition: var(--transition);
}

.btn-friendly-secondary:hover {
  background: rgba(255, 0, 168, 0.28);
  box-shadow: var(--glow-pink);
}

/* ==========================================================================
   8. INKY'S CUSTOM 3D PRINT STUDIO (DARK CHARCOAL + NEON CYAN)
   ========================================================================== */
.inky-studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-bottom: 42px;
}

.studio-card {
  background: var(--bg-card);
  border: 2px solid var(--neon-cyan);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

.studio-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
  margin: 10px 0 20px;
}

.choice-card-btn {
  background: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 11px 13px;
  text-align: left;
  transition: var(--transition);
}

.choice-card-btn:hover {
  border-color: var(--neon-cyan);
}

.choice-card-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.swatch-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.swatch-pill-btn.active {
  background: rgba(57, 255, 20, 0.16);
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: var(--glow-green);
}

.swatch-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   9. SWFL MARKETS ("FIND US THIS WEEK" NEON BAR SCHEDULE CARDS)
   ========================================================================== */
.schedule-banner-box {
  background: linear-gradient(180deg, #270545 0%, #110d1b 100%);
  border: 2px solid rgba(57, 255, 20, 0.45);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  margin-bottom: 42px;
}

.schedule-header-center {
  text-align: center;
  margin-bottom: 26px;
}

.schedule-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--neon-green);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(57, 255, 20, 0.4);
  line-height: 1.1;
}

.schedule-date-range {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.schedule-event-card {
  position: relative;
  background: #1d1829;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 22px 18px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--transition);
}

.schedule-event-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  border-radius: 16px 0 0 16px;
}

.schedule-event-card.neon-pink::before {
  background: var(--neon-pink);
  box-shadow: 0 0 16px var(--neon-pink);
}
.schedule-event-card.neon-cyan::before {
  background: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan);
}
.schedule-event-card.neon-green::before {
  background: var(--neon-green);
  box-shadow: 0 0 16px var(--neon-green);
}

.schedule-event-card:hover {
  transform: translateY(-3px);
  background: #241e33;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}

.schedule-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.schedule-event-card.neon-pink .schedule-top-meta { color: var(--neon-pink); }
.schedule-event-card.neon-cyan .schedule-top-meta { color: var(--neon-cyan); }
.schedule-event-card.neon-green .schedule-top-meta { color: var(--neon-green); }

.schedule-event-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 4px;
}

.schedule-event-city {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
}

.schedule-event-addr {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.schedule-event-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.partner-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  transition: var(--transition);
}

.partner-pill:hover {
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.partner-pill img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ==========================================================================
   10. FOOTER BAR
   ========================================================================== */
.sheet-footer {
  background: var(--bg-charcoal-deep);
  color: #ffffff;
  border-top: 2px solid var(--neon-pink);
  box-shadow: 0 -6px 28px rgba(255, 0, 168, 0.15);
  padding: 36px 0;
}

.sheet-footer-motto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.motto-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
}

/* ==========================================================================
   11. QUICK-VIEW MODAL & CART DRAWER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.84);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.quickview-box {
  background: var(--bg-card);
  border: 2.5px solid var(--neon-green);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 26px;
  position: relative;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.85), var(--glow-green);
}

.close-circle-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--neon-pink);
  color: #fff;
  font-weight: 900;
  z-index: 10;
}

.close-circle-btn:hover {
  background: var(--neon-pink);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(6px);
  z-index: 350;
  display: none;
  justify-content: flex-end;
}

.cart-backdrop.open {
  display: flex;
}

.cart-drawer {
  width: 100%;
  max-width: 420px;
  background: #121521;
  border-left: 2.5px solid var(--neon-green);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.8);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.friendly-toast {
  background: #141826;
  color: #ffffff;
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.65), var(--glow-green);
}

/* ==========================================================================
   12. "CAKE?" PORTAL — STILL ALIVE EASTER EGG BUTTONS & CRT TERMINAL
   ========================================================================== */
.btn-cake-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 154, 0, 0.22), rgba(0, 229, 255, 0.22));
  border: 2px solid #ff9a00;
  color: #ffd166;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.84rem;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px rgba(255, 154, 0, 0.35);
  transition: var(--transition);
}

.btn-cake-pill:hover,
.btn-cake-home:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.6), 0 0 24px rgba(255, 154, 0, 0.5);
}

.btn-cake-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff8800 0%, #ff00a8 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.94rem;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid #ffe66d;
  box-shadow: 0 0 22px rgba(255, 136, 0, 0.45);
  transition: var(--transition);
}

.btn-cake-pill.playing,
.btn-cake-home.playing {
  background: linear-gradient(135deg, #39ff14 0%, #00e5ff 100%);
  color: #050805;
  border-color: #ffffff;
  animation: portalPulse 1.4s infinite ease-in-out;
}

@keyframes portalPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(57, 255, 20, 0.6), 0 0 28px rgba(255, 154, 0, 0.4); }
  50% { box-shadow: 0 0 32px rgba(0, 229, 255, 0.9), 0 0 42px rgba(57, 255, 20, 0.75); }
}

.portal-crt-player {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 350px;
  max-width: calc(100vw - 44px);
  background: #0a0905;
  border: 2px solid #ffb000;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 26px rgba(255, 176, 0, 0.35);
  font-family: var(--font-mono);
  color: #ffb000;
  z-index: 490;
  overflow: hidden;
  display: none;
}

.portal-crt-player.open {
  display: block;
  animation: fadeInView 0.25s ease;
}

.crt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 176, 0, 0.16);
  border-bottom: 1px solid rgba(255, 176, 0, 0.45);
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.crt-close-btn {
  color: #ffb000;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0 4px;
}

.crt-close-btn:hover {
  color: #ffffff;
}

.crt-body {
  padding: 12px 14px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 176, 0, 0.04) 0px,
      rgba(255, 176, 0, 0.04) 1px,
      transparent 1px,
      transparent 3px
    );
}

.crt-lyric-line {
  min-height: 44px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffc947;
  text-shadow: 0 0 8px rgba(255, 176, 0, 0.55);
  margin-bottom: 10px;
  line-height: 1.4;
}

.crt-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px dashed rgba(255, 176, 0, 0.35);
  padding-top: 8px;
}

.crt-btn {
  background: rgba(255, 176, 0, 0.15);
  border: 1px solid #ffb000;
  color: #ffb000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.crt-btn:hover {
  background: #ffb000;
  color: #0a0905;
}

.crt-time {
  font-size: 0.72rem;
  color: rgba(255, 176, 0, 0.8);
}

/* ==========================================================================
   13. CREALITY LIVE PRINTER CAM BUTTONS & TELEMETRY MODAL
   ========================================================================== */
.btn-live-print-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 23, 68, 0.16);
  border: 2px solid #ff1744;
  color: #ff8a9f;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 16px rgba(255, 23, 68, 0.35);
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.btn-live-print-pill:hover {
  transform: translateY(-2px);
  background: #ff1744;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 23, 68, 0.7);
}

.btn-live-print-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.14);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
  transition: var(--transition);
}

.btn-live-print-home:hover {
  background: var(--neon-cyan);
  color: #041014;
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.live-red-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff1744;
  box-shadow: 0 0 10px #ff1744;
  animation: liveBlink 1.3s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes liveBlink {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.45; }
}

.creality-modal-box {
  background: var(--bg-card);
  border: 2.5px solid var(--neon-cyan);
  border-radius: var(--radius-xl);
  max-width: 940px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.88), var(--glow-cyan);
}

.creality-modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.creality-stream-frame {
  aspect-ratio: 16 / 10;
  background: #07090f;
  border: 2px solid rgba(57, 255, 20, 0.45);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.telemetry-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.telemetry-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.telemetry-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.78rem;
}

.telemetry-stat span {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.telemetry-stat strong {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-bright);
}

@media (max-width: 780px) {
  .creality-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1060px) {
  .crew-tabs-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .hub-hero-grid,
  .inky-studio-grid {
    grid-template-columns: 1fr;
  }
  .crew-roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .markets-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .crew-tabs-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .crew-roster-grid,
  .quickview-box {
    grid-template-columns: 1fr;
  }
  .gremlin-host-banner {
    flex-direction: column;
    text-align: center;
  }
  .host-left {
    flex-direction: column;
  }
  .orbit-gremlin-node {
    width: 96px;
  }
  .orbit-avatar-ring {
    width: 62px;
    height: 62px;
  }
}
