:root {
  --bg: #07080b;
  --panel: rgba(12, 14, 18, .74);
  --panel2: rgba(10, 12, 16, .62);
  --border: rgba(255, 255, 255, .10);
  --text: rgba(255, 138, 61, 0.92);
  --muted: rgba(255, 138, 61, 0.64);
  --dim: rgba(255, 138, 61, 0.45);

  /* theme palette pulled from your image vibe */
  --accent: #ff8a3d;
  /* warm amber */
  --accent2: #b36bff;
  /* subtle purple highlight */
  --good: #41d17d;
  --warn: #f6b44b;
  --bad: #ff4b4b;

  --shadow: 0 18px 50px rgba(0, 0, 0, .65);
  --radius: 18px;

  --bgimg: url("bg.jpg");
}

/* background image + cinematic overlays */
body {
  margin: 0;
  font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text);
  background: var(--bg);
  min-height: 100%;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: var(--bgimg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05) brightness(.62);
}

/* darken + add warm/purple cinematic tint */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 480px at 18% 18%, rgba(255, 138, 61, .22), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(179, 107, 255, .18), transparent 62%),
    radial-gradient(1200px 800px at 50% 120%, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .75));
}

/* top bar: glassy over background */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, .35);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.card {
  background:
    linear-gradient(180deg,
      rgba(18, 20, 26, 0.58),
      rgba(10, 12, 16, 0.48));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, .65),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);

  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;

  /* fade-in default */
  opacity: 0;
  transform: translateY(14px);
}

.cardHead,
.rows,
.foot {
  background: rgba(0, 0, 0, .12);
}

.rows {
  backdrop-filter: blur(6px);
}

.camFrame {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  overflow: hidden;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
}

/* accent touches */
.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: black;
  border: 1px solid rgba(255, 138, 61, .38);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.btn.primary {
  background: linear-gradient(145deg, rgba(255, 138, 61, .30), rgba(255, 138, 61, .10));
  border-color: rgba(255, 138, 61, .35);
}

/* fade-in animation for panels */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* default state before JS toggles */
.card {
  opacity: 0;
  transform: translateY(14px);
}

/* allow background to be visible immediately */
body::before,
body::after {
  opacity: 1;
}

/* when the page is "ready", animate cards in */
body.loaded .card {
  animation: fadeUp 2.2s cubic-bezier(.16, .84, .44, 1) forwards;
}

/* stagger cards automatically */
/* global pause so the background hits first */
body.loaded .card:nth-child(1) {
  animation-delay: 0.9s;
}

body.loaded .card:nth-child(2) {
  animation-delay: 1.05s;
}

body.loaded .card:nth-child(3) {
  animation-delay: 1.2s;
}

body.loaded .card:nth-child(4) {
  animation-delay: 1.35s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
  background: rgba(11, 13, 18, .65);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.titles {
  min-width: 0
}

.title {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 15px;
  text-transform: uppercase;
}

.subtitle {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 64vw;
}

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

.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.btn:hover {
  color: var(--text);
  background: rgba(255, 138, 61, 0.08);
  border-color: rgba(255, 138, 61, 0.25);
  box-shadow: 0 0 15px rgba(255, 138, 61, 0.15);
  text-shadow: 0 0 8px rgba(255, 138, 61, 0.6);
}

.btn.ghost {
  background: transparent
}

.btn.primary {
  background: linear-gradient(145deg, rgba(124, 58, 237, .35), rgba(124, 58, 237, .12));
  border-color: rgba(124, 58, 237, .35);
}

/* Navbar */
.navbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 16px;
  flex: 1;
  /* allow it to take space if needed, or justify-content elsewhere */
  justify-content: center;
  /* Center it for symmetry? Or start. Let's keep it flexible. */
}

.nav-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent);
  font-size: 11px;
  /* smaller than techText 14px */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 138, 61, 0.08);
  border-color: rgba(255, 138, 61, 0.25);
  box-shadow: 0 0 15px rgba(255, 138, 61, 0.15);
  text-shadow: 0 0 8px rgba(255, 138, 61, 0.6);
}

.nav-link.active {
  background: rgba(0, 0, 0, 0.5);
  /* Darker amber glow */
  box-shadow: 0 0 12px rgba(184, 92, 0, 0.4), inset 0 0 6px rgba(184, 92, 0, 0.1);
  border-color: rgba(184, 92, 0, 0.5);
  /* Darker amber border */
  text-shadow: 0 0 8px rgba(255, 110, 0, 0.6);
  color: #ff9e5e;
  /* slightly brighter text to stand out against dark glow */
}

@media (max-width: 768px) {
  .topbar {
    justify-content: center;
    padding: 10px;
  }

  .navbar {
    order: 3;
    width: 100%;
    margin: 8px 0 0 0;
  }

  .brand {
    flex: 1;
  }

  .actions {
    margin-left: auto;
  }
}

@media (max-width: 500px) {
  .brand .titles {
    display: none;
  }

  .actions .ticker {
    display: none;
  }
}


.wrap {
  padding: 16px;
  max-width: 1300px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

  .subtitle {
    max-width: 55vw;
  }
}

.card {
  background: linear-gradient(180deg, rgba(17, 21, 34, .92), rgba(15, 19, 32, .92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.cardHead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 8px 14px;
}

.cardTitle {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cardSpinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 138, 61, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card.refreshing .cardSpinner {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}

.cardMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}

.pill {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
}

.pill.status {
  color: rgba(255, 255, 255, .8)
}

.pill.status.good {
  border-color: rgba(34, 197, 94, .35);
  color: rgba(34, 197, 94, .95)
}

.pill.status.warn {
  border-color: rgba(245, 158, 11, .35);
  color: rgba(245, 158, 11, .95)
}

.pill.status.bad {
  border-color: rgba(239, 68, 68, .35);
  color: rgba(239, 68, 68, .95)
}

.right {
  text-align: right
}

.big {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
}

.small {
  font-size: 12px;
  color: var(--muted)
}

.dim {
  color: var(--dim)
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
}

.rows {
  padding: 6px 14px 12px 14px
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px dashed rgba(255, 255, 255, .08);
}

.row:first-child {
  border-top: none
}

.k {
  color: var(--muted)
}

.v {
  color: rgba(255, 255, 255, .9);
  text-align: right;
  min-width: 40%
}

.cam {
  padding: 10px 14px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.camHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px
}

.link {
  color: rgba(255, 255, 255, .8);
  text-decoration: none
}

.link:hover {
  color: #fff;
  text-decoration: underline
}

.camFrame {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
  background: #080a10;
}

.camImg {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(0, 0, 0, .12);
}

.spark {
  height: 8px;
  width: 80px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124, 58, 237, .0), rgba(124, 58, 237, .9), rgba(34, 197, 94, .65));
  opacity: .75;
  filter: blur(.1px);
}

/* Progress bar */
.pbar {
  height: 9px;
  width: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(6px);
}

.pbarFill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width .45s ease;
  background: linear-gradient(90deg, rgba(255, 138, 61, .95), rgba(179, 107, 255, .65));
}

/* State-based colors */
.card[data-state="printing"] .pbarFill {
  background-color: var(--accent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  box-shadow: 0 0 16px rgba(255, 138, 61, .6);
  animation: techBarAnim 0.8s linear infinite;
}

.card[data-state="paused"] .pbarFill {
  background: linear-gradient(90deg, rgba(246, 180, 75, .95), rgba(246, 180, 75, .35));
}

.card[data-state="error"] .pbarFill,
.card[data-state="offline"] .pbarFill {
  background: linear-gradient(90deg, rgba(255, 75, 75, .95), rgba(255, 75, 75, .35));
}

.card[data-state="idle"] .pbarFill,
.card[data-state="ready"] .pbarFill {
  background: linear-gradient(90deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .12));
}

.footer {
  padding: 12px 16px 18px 16px;
  color: var(--dim);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.dot {
  opacity: .5
}

.muted {
  color: var(--muted)
}

@media (max-width: 920px) {
  .card {
    background:
      linear-gradient(180deg,
        rgba(16, 18, 24, 0.62),
        rgba(8, 10, 14, 0.52));
    backdrop-filter: blur(12px);
  }
}


/* High Tech Spinner */
.loadingObj {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: transparent;
  /* allow BG visibility */
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.loadingObj.hidden {
  opacity: 0;
}

.techSpinner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent2);
  box-shadow: 0 0 15px var(--accent), 0 0 5px var(--accent2);
  animation: techSpin 1.2s linear infinite;
  position: relative;
}

.techSpinner::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--accent2);
  border-left-color: var(--accent);
  animation: techSpinRev 0.8s linear infinite;
}

.techText {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--accent);
  text-transform: uppercase;
  animation: blink 1.5s infinite alternate;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
}

.techText.ticker {
  font-size: 11px;
  animation: none;
  /* disable blight for readability */
  border: 1px solid rgba(255, 138, 61, 0.2);
  min-width: 120px;
  text-align: center;
  margin-right: 12px;
  /* subtle pulse instead of blink */
  animation: tickerPulse 3s infinite alternate;
}

@keyframes tickerPulse {
  from {
    border-color: rgba(255, 138, 61, 0.15);
    box-shadow: 0 0 2px rgba(255, 138, 61, 0.1);
  }

  to {
    border-color: rgba(255, 138, 61, 0.45);
    box-shadow: 0 0 8px rgba(255, 138, 61, 0.25);
  }
}

@keyframes techSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes techSpinRev {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes blink {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

@keyframes techBarAnim {
  0% {
    background-position: 40px 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* News Feed */
.newsContainer {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .2);
  margin-top: 20px;
  backdrop-filter: blur(4px);
  border-radius: 12px;

  /* Fade-in default (hidden initially) */
  opacity: 0;
  transform: translateY(14px);
}

body.loaded .newsContainer {
  animation: fadeUp 2.2s cubic-bezier(.16, .84, .44, 1) forwards;
  animation-delay: 1.8s;
}

.newsLabel {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: bold;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.newsContent {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 20px;

  /* Tech Text styling match */
  color: var(--accent);
  font-size: 12px;
  /* Slightly smaller than 14px */
  letter-spacing: 1.5px;
  text-shadow: 0 0 8px var(--accent);
  text-transform: uppercase;
}

/* Animations for news items */
.newsAnim-fade {
  animation: newsFadeIn 0.8s ease forwards;
}

.newsAnim-slideRight {
  animation: newsSlideRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.newsAnim-digitize {
  animation: newsDigitize 0.5s steps(5) forwards;
}

@keyframes newsFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsSlideRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes newsDigitize {
  0% {
    opacity: 0;
    filter: blur(4px);
  }

  50% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
  }
}


.aiAskBtn.loading .spinner {
  display: inline-block;
}

.aiAskBtn.loading .btnLabel {
  opacity: .85;
}

/* CRITICAL: prevent the global .btn.loading::after spinner from duplicating on the Ask button */
#aiAskBtn.loading::after,
.aiAskBtn.loading::after {
  content: none !important;
  display: none !important;
}

/* ---------- AI log scroll ---------- */
.aiLog {
  max-height: 240px;
  overflow: auto;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .22);
}

.aiLine {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.aiLine:last-child {
  border-bottom: none;
}

.aiHead {
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 4px;
}

.aiMsg {
  white-space: pre-wrap;
  color: rgba(255, 255, 255, .88);
  line-height: 1.35;
}

.aiLine.you .aiMsg {
  color: rgba(255, 255, 255, .92);
}

.aiLine.bob .aiMsg {
  color: rgba(255, 255, 255, .86);
}

/* ---------- Little “?” buttons ---------- */
.qBtn {
  margin-left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.qBtn:hover {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .10);
}

/* ---------- Raw modal ---------- */
.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modalBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
}

.modalCard {
  position: relative;
  max-width: 980px;
  width: min(980px, calc(100vw - 24px));
  margin: 54px auto;
  background: rgba(10, 12, 16, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .70);
  overflow: hidden;
}

.modalHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.modalTitle {
  font-weight: 800;
  letter-spacing: .2px;
}

.modalBody {
  margin: 0;
  padding: 14px;
  max-height: min(70vh, 640px);
  overflow: auto;
  background: rgba(0, 0, 0, .25);
  color: rgba(255, 255, 255, .88);
}

/* Background must be visible even before body.loaded, otherwise boot overlay sits on black */
body::before,
body::after {
  opacity: 1 !important;
  transition: opacity 1.4s ease;
}

/* Boot overlay: lighten veil so background shows through */
.bootOverlay {
  background: rgba(0, 0, 0, .10) !important;
  backdrop-filter: blur(2px) !important;
}

.bootGlass {
  background: rgba(10, 12, 16, .28) !important;
}

/* Ask button: prevent global .btn.loading::after spinner from duplicating */
#aiAskBtn.loading::after,
.aiAskBtn.loading::after {
  content: none !important;
  display: none !important;
}

/* ---------- Bob button next to status ---------- */
.statusRow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bobBtn {
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(0, 200, 255, .45);
  color: rgba(127, 220, 255, .95);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: .6px;
}

.bobBtn:hover {
  background: rgba(0, 200, 255, .12);
  border-color: rgba(0, 200, 255, .65);
}

/* ---------- Bob modal layout ---------- */
.modalCardWide {
  max-width: 1180px;
  width: min(1180px, calc(100vw - 24px));
}

.bobWrap {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 14px;
  padding: 12px 0 0;
}

.bobChat { display: flex; flex-direction: column; gap: 10px; }
.bobInputRow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.bobInput {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .22);
  color: rgba(255, 255, 255, .92);
  outline: none;
}

.bobInput:focus {
  border-color: rgba(0, 200, 255, .45);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, .12);
}

.bobHint { font-size: 12px; }

.bobCtx {
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
  border-radius: 14px;
  padding: 10px;
  height: 100%;
}

.bobCtxPre {
  margin: 8px 0 0;
  white-space: pre-wrap;
  max-height: 420px;
  overflow: auto;
}

@media (max-width: 860px) {
  .bobWrap { grid-template-columns: 1fr; }
  .bobCtxPre { max-height: 240px; }
}
