/* =========================================================
   news_cyberneon -- 暗紫荧光赛博朋克 news CMS template
   class prefix: cbn-
   ========================================================= */

:root {
  --cbn-bg: #0a0a12;
  --cbn-bg-alt: #100f1c;
  --cbn-panel: #14131f;
  --cbn-panel-2: #191828;
  --cbn-purple: #b026ff;
  --cbn-cyan: #00f0ff;
  --cbn-pink: #ff2e97;
  --cbn-text: #c9c9e0;
  --cbn-text-dim: #85859f;
  --cbn-border: rgba(176, 38, 255, 0.4);
  --cbn-font-mono: "JetBrains Mono", "Consolas", "SFMono-Regular", monospace;
  --cbn-font-sans: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cbn-bg);
  color: var(--cbn-text);
}

body.cbn-body {
  font-family: var(--cbn-font-sans);
  line-height: 1.7;
  font-size: 15px;
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(176, 38, 255, 0.14), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(0, 240, 255, 0.1), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255, 46, 151, 0.08), transparent 45%);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--cbn-font-sans); font-weight: 800; }
p { margin: 0; }

/* fallback-color + gradient-text utility (rule: 兜底color 先行) */
.cbn-gradtext {
  color: var(--cbn-purple);
  background: linear-gradient(90deg, var(--cbn-purple), var(--cbn-cyan), var(--cbn-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- scanline overlay ---------- */
.cbn-scanoverlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* ---------- system status bar ---------- */
.cbn-sysbar {
  background: #050508;
  border-bottom: 1px solid var(--cbn-border);
  position: relative;
  z-index: 20;
}
.cbn-sysbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cbn-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cbn-cyan);
}
.cbn-sysbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cbn-cyan);
  box-shadow: 0 0 4px var(--cbn-cyan), 0 0 10px var(--cbn-cyan);
  flex-shrink: 0;
  animation: cbn-pulse 1.6s ease-in-out infinite;
}
.cbn-sysbar-text--right { margin-left: auto; color: var(--cbn-text-dim); }
@keyframes cbn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ---------- header ---------- */
.cbn-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 15, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cbn-border);
  box-shadow: 0 1px 24px rgba(176, 38, 255, 0.18);
}
.cbn-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.cbn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cbn-brand-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(176, 38, 255, 0.6));
}
.cbn-brand-name {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--cbn-font-sans);
  color: var(--cbn-purple);
  background: linear-gradient(90deg, var(--cbn-purple), var(--cbn-cyan), var(--cbn-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.cbn-nav {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cbn-nav::-webkit-scrollbar { display: none; }
.cbn-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cbn-nav-item { flex-shrink: 0; }
.cbn-nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cbn-text-dim);
  transition: color 0.25s ease;
}
.cbn-nav-link::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--cbn-purple), var(--cbn-cyan), var(--cbn-pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.cbn-nav-link:hover,
.cbn-nav-link:focus {
  color: var(--cbn-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
}
.cbn-nav-link:hover::before,
.cbn-nav-link:focus::before { transform: scaleX(1); }

/* ---------- shell / layout ---------- */
.cbn-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  position: relative;
  z-index: 5;
}

/* ---------- hero ---------- */
.cbn-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 32px;
  margin-bottom: 32px;
  border: 1px solid var(--cbn-border);
  border-radius: 4px;
  background: linear-gradient(160deg, var(--cbn-panel) 0%, var(--cbn-bg-alt) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.15) inset,
    0 0 30px rgba(176, 38, 255, 0.25),
    0 0 60px rgba(0, 240, 255, 0.08);
}
.cbn-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(176, 38, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 38, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 30% 30%, black, transparent 75%);
  opacity: 0.7;
}
.cbn-hero-inner { position: relative; z-index: 2; max-width: 700px; }
.cbn-hero-tag {
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cbn-pink);
  text-shadow: 0 0 8px rgba(255, 46, 151, 0.7);
  margin-bottom: 14px;
}
.cbn-hero-title {
  font-size: 40px;
  line-height: 1.2;
  color: var(--cbn-purple);
  background: linear-gradient(100deg, var(--cbn-cyan), var(--cbn-purple) 45%, var(--cbn-pink) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 0 rgba(0, 240, 255, 0.35), -2px 0 rgba(255, 46, 151, 0.35);
  margin-bottom: 16px;
}
.cbn-hero-desc { color: var(--cbn-text-dim); font-size: 15px; max-width: 560px; }

/* ---------- bento glitch grid (homepage exclusive) ---------- */
.cbn-bento { margin-bottom: 40px; }
.cbn-bento-head { margin-bottom: 16px; }
.cbn-bento-title {
  font-size: 20px;
  color: var(--cbn-text);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cbn-bento-title-en {
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--cbn-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}
.cbn-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
  grid-template-areas:
    "a a b c"
    "a a d e"
    "f g d e";
}
.cbn-bcard:nth-child(1) { grid-area: a; }
.cbn-bcard:nth-child(2) { grid-area: b; }
.cbn-bcard:nth-child(3) { grid-area: c; }
.cbn-bcard:nth-child(4) { grid-area: d; }
.cbn-bcard:nth-child(5) { grid-area: e; }
.cbn-bcard:nth-child(6) { grid-area: f; }
.cbn-bcard:nth-child(7) { grid-area: g; }

.cbn-bcard {
  position: relative;
  border: 1px solid var(--cbn-purple);
  border-radius: 2px;
  background: var(--cbn-panel);
  box-shadow: 0 0 8px rgba(176, 38, 255, 0.55), inset 0 0 24px rgba(176, 38, 255, 0.06);
  transition: clip-path 0.35s steps(3, end), box-shadow 0.3s ease, transform 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}
.cbn-bcard::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(0, 240, 255, 0.35);
  pointer-events: none;
}
.cbn-bcard:hover {
  border-color: var(--cbn-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.75), 0 0 28px rgba(255, 46, 151, 0.3);
  transform: translateY(-2px);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 4% 100%, 0 94%);
}
.cbn-bcard-link { display: flex; flex-direction: column; height: 100%; padding: 18px 16px 14px; }
.cbn-bcard:nth-child(1) .cbn-bcard-link { justify-content: center; }
.cbn-bcard-hex {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cbn-purple), var(--cbn-pink));
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  box-shadow: 0 0 8px var(--cbn-purple);
  z-index: 2;
}
.cbn-bcard-hex-in {
  width: 14px;
  height: 14px;
  background: var(--cbn-bg);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.cbn-bcard-title {
  font-size: 15px;
  color: var(--cbn-text);
  margin: 24px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cbn-bcard:nth-child(1) .cbn-bcard-title {
  font-size: 22px;
  margin-top: 30px;
  -webkit-line-clamp: 3;
}
.cbn-bcard-info {
  font-size: 13px;
  color: var(--cbn-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  flex: 1;
}
.cbn-bcard-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--cbn-font-mono);
  font-size: 11px;
  color: var(--cbn-text-dim);
  margin-top: auto;
}

/* ---------- two-column shell: sidebar LEFT ---------- */
.cbn-columns {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.cbn-side { display: flex; flex-direction: column; gap: 22px; }
.cbn-side-block {
  border: 1px solid var(--cbn-border);
  border-radius: 3px;
  background: var(--cbn-panel);
  padding: 16px;
  box-shadow: 0 0 10px rgba(176, 38, 255, 0.15);
}
.cbn-side-title {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cbn-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.25);
}
.cbn-side-list li { border-bottom: 1px dotted rgba(176, 38, 255, 0.2); }
.cbn-side-list li:last-child { border-bottom: none; }
.cbn-side-list a {
  display: block;
  padding: 8px 2px;
  font-size: 13px;
  color: var(--cbn-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.cbn-side-list a:hover {
  color: var(--cbn-pink);
  text-shadow: 0 0 6px rgba(255, 46, 151, 0.6);
  padding-left: 6px;
}
.cbn-side-list--tight a { white-space: normal; }

.cbn-main { min-width: 0; }
.cbn-block { margin-bottom: 32px; }
.cbn-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cbn-border);
}
.cbn-block-title {
  font-size: 19px;
  color: var(--cbn-text);
}
.cbn-block-tag {
  font-family: var(--cbn-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cbn-pink);
  border: 1px solid var(--cbn-pink);
  border-radius: 2px;
  padding: 3px 8px;
  box-shadow: 0 0 6px rgba(255, 46, 151, 0.5);
  flex-shrink: 0;
}

/* ---------- feed list (latest) ---------- */
.cbn-feed-item { border-bottom: 1px dashed rgba(176, 38, 255, 0.25); }
.cbn-feed-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 4px;
}
.cbn-feed-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--cbn-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
.cbn-feed-date {
  flex-shrink: 0;
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  color: var(--cbn-text-dim);
}
.cbn-feed-link:hover .cbn-feed-title {
  color: var(--cbn-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}

/* ---------- card grid (deep dive / editor pick) ---------- */
.cbn-cardgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cbn-card {
  position: relative;
  border: 1px solid var(--cbn-cyan);
  border-radius: 2px;
  background: var(--cbn-panel-2);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.45);
  overflow: hidden;
  transition: clip-path 0.35s steps(3, end), box-shadow 0.3s ease, transform 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.cbn-card::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 46, 151, 0.3);
  pointer-events: none;
}
.cbn-card:hover {
  border-color: var(--cbn-pink);
  box-shadow: 0 0 14px rgba(255, 46, 151, 0.7);
  transform: translateY(-2px);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 4% 100%, 0 94%);
}
.cbn-card-link { display: block; padding: 18px 16px 14px; }
.cbn-card-hex {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cbn-cyan), var(--cbn-purple));
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  box-shadow: 0 0 8px var(--cbn-cyan);
  z-index: 2;
}
.cbn-card-hex-in {
  width: 12px;
  height: 12px;
  background: var(--cbn-bg);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.cbn-card-title {
  font-size: 15px;
  margin: 20px 0 8px;
  color: var(--cbn-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cbn-card-info {
  font-size: 13px;
  color: var(--cbn-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.cbn-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--cbn-font-mono);
  font-size: 11px;
  color: var(--cbn-text-dim);
}

/* ---------- breadcrumb ---------- */
.cbn-crumb { margin-bottom: 22px; }
.cbn-crumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  color: var(--cbn-text-dim);
  font-family: var(--cbn-font-mono);
}
.cbn-crumb-inner a { color: var(--cbn-cyan); }
.cbn-crumb-inner a:hover { text-shadow: 0 0 6px rgba(0, 240, 255, 0.7); }
.cbn-crumb-sep { color: var(--cbn-purple); flex-shrink: 0; }
.cbn-crumb-current {
  flex: 1;
  min-width: 0;
  color: var(--cbn-pink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- list page: hex-badge listgrid ---------- */
.cbn-listgrid { display: flex; flex-direction: column; gap: 14px; }
.cbn-litem {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--cbn-border);
  border-radius: 3px;
  background: var(--cbn-panel);
  box-shadow: 0 0 8px rgba(176, 38, 255, 0.18);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.cbn-litem:hover {
  border-color: var(--cbn-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}
.cbn-litem-hex {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cbn-purple), var(--cbn-cyan));
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  box-shadow: 0 0 10px rgba(176, 38, 255, 0.6);
}
.cbn-litem-hex-in {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cbn-bg);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  font-style: normal;
  color: var(--cbn-cyan);
}
.cbn-litem-body { flex: 1; min-width: 0; }
.cbn-litem-title {
  font-size: 16px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cbn-litem-title a:hover {
  color: var(--cbn-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}
.cbn-litem-info {
  font-size: 13px;
  color: var(--cbn-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.cbn-litem-meta {
  display: flex;
  gap: 14px;
  font-family: var(--cbn-font-mono);
  font-size: 11px;
  color: var(--cbn-text-dim);
}

.cbn-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.cbn-pager-btn {
  padding: 7px 14px;
  border: 1px solid var(--cbn-purple);
  border-radius: 2px;
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  color: var(--cbn-text);
  transition: color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cbn-pager-btn:hover {
  color: var(--cbn-cyan);
  border-color: var(--cbn-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* ---------- article (show page) ---------- */
.cbn-article {
  border: 1px solid var(--cbn-border);
  border-radius: 3px;
  background: var(--cbn-panel);
  padding: 26px 28px;
  box-shadow: 0 0 18px rgba(176, 38, 255, 0.2);
}
.cbn-article-head { border-bottom: 1px solid rgba(0, 240, 255, 0.25); padding-bottom: 16px; margin-bottom: 20px; }
.cbn-article-title {
  font-size: 26px;
  line-height: 1.4;
  color: var(--cbn-purple);
  background: linear-gradient(100deg, var(--cbn-cyan), var(--cbn-purple) 50%, var(--cbn-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.cbn-article-meta {
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  color: var(--cbn-text-dim);
}
.cbn-article-body {
  font-size: 16px;
  color: var(--cbn-text);
  line-height: 1.9;
}
.cbn-article-body img { border-radius: 3px; margin: 16px 0; box-shadow: 0 0 12px rgba(176, 38, 255, 0.3); }
.cbn-article-body p { margin-bottom: 16px; }
.cbn-article-body a { color: var(--cbn-cyan); border-bottom: 1px dashed var(--cbn-cyan); }
.cbn-article-body a:hover { color: var(--cbn-pink); border-color: var(--cbn-pink); }

.cbn-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.cbn-prevnext-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--cbn-border);
  border-radius: 3px;
  background: var(--cbn-panel);
  box-shadow: 0 0 8px rgba(176, 38, 255, 0.15);
}
.cbn-prevnext-item--next { flex-direction: row-reverse; text-align: right; }
.cbn-prevnext-label {
  flex-shrink: 0;
  font-family: var(--cbn-font-mono);
  font-size: 11px;
  color: var(--cbn-pink);
  text-shadow: 0 0 6px rgba(255, 46, 151, 0.5);
}
.cbn-prevnext-link {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--cbn-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cbn-prevnext-link:hover {
  color: var(--cbn-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}

/* ---------- footer ---------- */
.cbn-footer {
  position: relative;
  margin-top: 40px;
  background: #050508;
  border-top: 1px solid var(--cbn-border);
  overflow: hidden;
}
.cbn-footer-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 120px;
  background: linear-gradient(90deg, var(--cbn-purple), var(--cbn-cyan), var(--cbn-pink));
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
}
.cbn-footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.cbn-footer-logo { height: 34px; margin-bottom: 12px; filter: drop-shadow(0 0 6px rgba(176, 38, 255, 0.6)); }
.cbn-footer-desc { font-size: 13px; color: var(--cbn-text-dim); line-height: 1.8; }
.cbn-footer-title {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cbn-cyan);
  margin-bottom: 14px;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}
.cbn-footer-list li { margin-bottom: 9px; }
.cbn-footer-list a {
  font-size: 13px;
  color: var(--cbn-text-dim);
  transition: color 0.2s ease;
}
.cbn-footer-list a:hover { color: var(--cbn-pink); text-shadow: 0 0 6px rgba(255, 46, 151, 0.5); }
.cbn-footer-bottom {
  position: relative;
  border-top: 1px solid rgba(176, 38, 255, 0.2);
  padding: 16px 20px 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--cbn-font-mono);
  font-size: 12px;
  color: var(--cbn-text-dim);
}

/* =========================================================
   responsive breakpoints: 1024 / 768 / 480
   ========================================================= */
@media (max-width: 1024px) {
  .cbn-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: none;
  }
  .cbn-bcard { grid-area: auto !important; }
  .cbn-bcard:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .cbn-cardgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cbn-columns { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .cbn-header-inner { flex-wrap: wrap; gap: 10px; }
  .cbn-nav { order: 3; flex-basis: 100%; }
  .cbn-columns { grid-template-columns: 1fr; }
  .cbn-side { flex-direction: row; flex-wrap: wrap; }
  .cbn-side-block { flex: 1 1 220px; min-width: 0; }
  .cbn-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbn-bcard:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cbn-cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbn-hero { padding: 40px 22px; }
  .cbn-hero-title { font-size: 30px; }
  .cbn-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .cbn-bento-grid { grid-template-columns: 1fr; }
  .cbn-bcard:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .cbn-cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbn-litem { flex-direction: column; }
  .cbn-litem-hex { width: 40px; height: 40px; }
  .cbn-litem-hex-in { width: 32px; height: 32px; }
  .cbn-prevnext { grid-template-columns: 1fr; }
  .cbn-prevnext-item--next { flex-direction: row; text-align: left; }
  .cbn-footer-inner { grid-template-columns: 1fr; }
  .cbn-hero-title { font-size: 24px; }
  .cbn-sysbar-text--right { display: none; }
}
