:root {
  color-scheme: dark;
  --bg: #050913;
  --line: rgba(133, 159, 235, 0.16);
  --text: #eef4ff;
  --muted: #98a7c3;
  --blue: #2777ff;
  --blue-2: #6250ff;
  --mint: #4be2bf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 18%, rgba(26, 86, 246, 0.18), transparent 28%),
    radial-gradient(circle at 20% 0, rgba(19, 46, 116, 0.16), transparent 24%),
    radial-gradient(circle at 48% 100%, rgba(19, 96, 255, 0.08), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    "SF Pro Display",
    "SF Pro Text",
    "PingFang SC",
    "HarmonyOS Sans SC",
    "Microsoft YaHei",
    sans-serif;
  font-feature-settings: "ss01" 1, "cv11" 1;
}

.page-shell {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(133, 159, 235, 0.12);
  backdrop-filter: blur(12px);
}

.brand,
footer strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand span,
footer strong span {
  color: #45a8ff;
}

.topbar nav,
.topbar-actions,
footer,
footer nav,
.hero-actions,
.trust-row,
.panel-head,
.newsletter,
.newsletter form,
.stats {
  display: flex;
  align-items: center;
}

.topbar nav {
  gap: 52px;
}

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

.topbar nav a {
  color: #dde6fa;
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
  position: relative;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, #7ca2ff, transparent);
  transition: transform 180ms ease;
}

.topbar nav a:hover,
.topbar nav a.active,
.panel-head a:hover,
footer a:hover {
  color: white;
}

.topbar nav a:hover::after,
.topbar nav a.active::after {
  transform: scaleX(1);
}

.topbar-actions {
  gap: 24px;
}

.auth-slot {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search input {
  width: 270px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  background: rgba(5, 11, 24, 0.86);
  color: var(--text);
  padding: 0 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search {
  position: relative;
}

.search input {
  padding-right: 48px;
}

.search button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  display: grid;
  place-items: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.search button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search:hover button,
.search:focus-within button {
  transform: scale(1.08);
  background: rgba(95, 132, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(52, 94, 255, 0.1);
}

.search button:hover {
  transform: scale(1.14) rotate(-6deg);
}

.search input:focus {
  outline: none;
  border-color: rgba(95, 132, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(52, 94, 255, 0.12);
}

.pill-btn,
.text-btn,
.hero button,
.pick-card button,
.outline-btn,
.newsletter button {
  border: 0;
  color: white;
  cursor: pointer;
}

.pill-btn,
.hero button,
.newsletter button {
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1676ff, #6538f3);
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.pill-btn:hover,
.hero button:hover,
.newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 93, 255, 0.28);
  filter: brightness(1.08);
}

.pill-btn {
  width: 118px;
  border-radius: 999px;
}

.text-btn {
  height: 40px;
  padding: 0 4px;
  background: transparent;
  color: #dbe6ff;
  transition: color 180ms ease;
}

.text-btn:hover {
  color: white;
}

.user-chip {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 999px;
  background: rgba(9, 16, 34, 0.82);
  color: #eef4ff;
  padding: 0 14px 0 8px;
}

.user-chip span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a7cff, #6a43ff);
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-backdrop[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.register-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(133, 159, 235, 0.2);
  background: linear-gradient(180deg, rgba(14, 24, 43, 0.98), rgba(8, 15, 29, 0.99));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.register-modal p {
  margin: 0 0 8px;
  color: #7fa4ff;
  font-size: 12px;
}

.register-modal h2 {
  margin: 0 0 20px;
}

.register-modal form {
  display: grid;
  gap: 14px;
}

.register-modal label {
  display: grid;
  gap: 8px;
  color: #dce6fb;
  font-size: 13px;
}

.register-modal input,
.register-modal select {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0 14px;
}

.register-modal button[type="submit"] {
  height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #1676ff, #6538f3);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  color: #c9d6f4;
  font-size: 24px;
}

.register-modal small {
  display: block;
  min-height: 18px;
  margin-top: 12px;
  color: #7ff1d5;
}

.hero {
  min-height: 340px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  padding: 34px 16px 22px;
  position: relative;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #77a0ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 600px;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

.hero h1 span {
  color: #6b7cff;
}

.hero p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
  font-weight: 400;
}

.hero-actions {
  gap: 18px;
  margin-bottom: 18px;
}

.hero button {
  width: 142px;
}

.hero button.ghost {
  background: transparent;
  border: 1px solid rgba(160, 180, 255, 0.32);
}

.hero button.ghost:hover {
  border-color: rgba(160, 180, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.hero-art {
  position: relative;
  height: 290px;
  overflow: hidden;
  perspective: 900px;
  --mx: 0;
  --my: 0;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(36, 111, 255, 0.95) 1px, transparent 1.6px);
  background-size: 11px 11px;
  mask-image: radial-gradient(circle at center, black 0 58%, transparent 82%);
  opacity: 0.58;
  transform: scale(1);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms ease;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 4% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 50%, rgba(56, 108, 255, 0.24), transparent 52%),
    radial-gradient(circle at 68% 46%, rgba(124, 91, 255, 0.14), transparent 44%),
    radial-gradient(circle at 56% 70%, rgba(75, 226, 191, 0.12), transparent 38%);
  filter: blur(10px);
  animation: ambientHue 9s ease-in-out infinite;
}

.world-map,
.beam,
.glow-base,
.cube,
.floating-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.world-map {
  width: 94%;
  height: 80%;
  opacity: 0.24;
  background:
    radial-gradient(circle at 18% 40%, rgba(62, 113, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 33% 32%, rgba(62, 113, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 52% 46%, rgba(62, 113, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 73% 34%, rgba(62, 113, 255, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 54%, rgba(62, 113, 255, 0.92) 0 2px, transparent 3px);
}

.beam {
  width: 210px;
  height: 240px;
  top: 54%;
  background: linear-gradient(180deg, rgba(76, 126, 255, 0), rgba(76, 126, 255, 0.18), rgba(76, 126, 255, 0));
  filter: blur(10px);
}

.glow-base {
  width: 336px;
  height: 76px;
  top: 76%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 128, 255, 1), rgba(24, 59, 177, 0.38) 55%, transparent 72%);
  filter: blur(4px);
}

.cube {
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 164, 255, 0.48);
  background:
    linear-gradient(145deg, rgba(28, 96, 255, 0.9), rgba(83, 72, 255, 0.46)),
    rgba(12, 24, 52, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(89, 136, 255, 0.22),
    inset -22px -22px 48px rgba(4, 10, 28, 0.32),
    0 0 64px rgba(44, 112, 255, 0.64);
  animation: pulseCube 6s ease-in-out infinite;
  transform:
    translate(-50%, -50%)
    rotateY(calc(var(--mx) * 10deg))
    rotateX(calc(var(--my) * -8deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
  transform-style: preserve-3d;
}

.hero-art .sheen {
  display: none;
}

.cube::before,
.cube::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent);
}

.cube::before {
  inset: -18px 0 auto;
  height: 18px;
  transform-origin: bottom;
  transform: rotateX(90deg);
  background: linear-gradient(90deg, rgba(116, 157, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.cube::after {
  inset: 0 -18px 0 auto;
  width: 18px;
  transform-origin: left;
  transform: rotateY(90deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(53, 92, 204, 0.18));
}

.cube span {
  font-size: 70px;
  font-weight: 700;
  color: #eef4ff;
  text-shadow: 0 0 20px rgba(134, 171, 255, 0.9);
}

.floating-card {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(7, 17, 38, 0.94);
  border: 1px solid rgba(92, 140, 255, 0.32);
  color: #dce7ff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  animation: drift 5s ease-in-out infinite;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.floating-card svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.github {
  left: 27%;
  top: 24%;
}

.code {
  left: 80%;
  top: 29%;
  color: #4fb4ff;
  animation-delay: -1.1s;
}

.chart {
  left: 83%;
  top: 73%;
  color: #3475ff;
  animation-delay: -2.2s;
}

.doc-card {
  left: 18%;
  top: 69%;
  color: #5580ff;
  animation-delay: -3.2s;
}

.hero-art:hover .floating-card {
  border-color: rgba(123, 164, 255, 0.46);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.hero-art:hover .glow-base {
  filter: blur(5px);
}

.hero-art:hover::after {
  animation-duration: 4.5s;
}

.hero-art:hover .cube::before {
  opacity: 1;
}

.hero-art:hover::before {
  transform: scale(1.08);
  opacity: 0.72;
}

@keyframes drift {
  50% {
    transform: translate(-50%, calc(-50% - 8px));
  }
}

@keyframes pulseCube {
  50% {
    transform:
      translate(-50%, calc(-50% - 4px))
      rotateY(calc(var(--mx) * 10deg + 4deg))
      rotateX(calc(var(--my) * -8deg - 3deg));
    box-shadow:
      inset 0 0 0 1px rgba(89, 136, 255, 0.24),
      inset -22px -22px 48px rgba(4, 10, 28, 0.32),
      0 0 78px rgba(44, 112, 255, 0.76);
  }
}

@keyframes ambientHue {
  50% {
    filter: blur(12px) hue-rotate(18deg);
    transform: scale(1.04);
  }
}

.hero-art:hover .cube {
  background:
    linear-gradient(145deg, rgba(45, 115, 255, 0.94), rgba(116, 78, 255, 0.56)),
    rgba(12, 24, 52, 0.94);
}

.hero-art::marker {
  content: "";
}

.hero-art {
  isolation: isolate;
}

.hero-art:hover .world-map::before {
  opacity: 1;
}

.world-map::before {
  content: "";
  position: absolute;
  inset: -10%;
  opacity: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-70%);
}

.hero-art:hover .world-map::before {
  animation: sweepSheen 900ms ease-out 1;
}

@keyframes sweepSheen {
  to {
    transform: translateX(70%);
    opacity: 0;
  }
}

.panel:not(.floating-card) {
  background:
    linear-gradient(180deg, rgba(14, 24, 43, 0.98), rgba(8, 15, 29, 0.99));
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.panel:not(.floating-card)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 38%);
}

.panel:not(.floating-card) {
  position: relative;
  overflow: hidden;
}

.panel:not(.floating-card):hover,
.pick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 151, 255, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.panel-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-head h2 {
  margin: 0 0 5px;
  font-size: 18px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.panel-head h2::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5b7cff;
  box-shadow: 0 0 12px rgba(91, 124, 255, 0.7);
}

.panel-head p,
.panel-head a {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.panel-head a {
  color: #5d79ff;
}

.editorial-band,
.content-band {
  margin-top: 10px;
}

.panel-head h2,
.hero h1 {
  font-weight: 650;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.9fr;
  gap: 16px;
}

.dashboard-grid > * {
  min-width: 0;
}

.growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.82fr) minmax(240px, 0.78fr);
  gap: 16px;
  margin: 0 0 28px;
}

.growth-grid > * {
  min-width: 0;
}

.must-read,
.trend-watch,
.community-compact {
  padding: 20px;
}

.editorial-focus {
  background:
    radial-gradient(circle at 0 0, rgba(53, 104, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.95), rgba(9, 16, 31, 0.98));
}

.editorial-aside {
  background:
    radial-gradient(circle at 100% 0, rgba(75, 226, 191, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.95), rgba(9, 16, 31, 0.98));
}

.community-compact {
  background:
    radial-gradient(circle at 100% 0, rgba(114, 92, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.95), rgba(9, 16, 31, 0.98));
}

.must-read-list {
  display: grid;
  gap: 0;
}

.must-read-list article {
  display: grid;
  grid-template-columns: 52px 1fr 88px;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 14px 0;
  border-top: 1px solid rgba(149, 169, 255, 0.12);
}

.must-read-list article:first-child {
  border-top: 0;
}

.must-read-list span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(84, 117, 255, 0.28), rgba(31, 54, 124, 0.16));
  border: 1px solid rgba(130, 161, 255, 0.2);
  color: #6f8fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.must-read-list h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.must-read-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.must-read-list small {
  color: #7db0ff;
  font-size: 11px;
}

.read-thumb {
  width: 88px;
  height: 62px;
  justify-self: end;
  border-radius: 8px;
  border: 1px solid rgba(149, 169, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.03);
}

img.read-thumb {
  object-fit: cover;
}

.thumb-model {
  background:
    radial-gradient(circle at 70% 30%, rgba(120, 159, 255, 0.95), transparent 20%),
    linear-gradient(135deg, rgba(31, 71, 179, 0.9), rgba(8, 14, 31, 0.95));
}

.thumb-code {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(110, 180, 255, 0.9) 18% 22%, transparent 22% 36%, rgba(110, 180, 255, 0.72) 36% 40%, transparent 40%),
    linear-gradient(135deg, rgba(15, 45, 110, 0.95), rgba(8, 14, 31, 0.95));
}

.thumb-agent {
  background:
    radial-gradient(circle at 30% 70%, rgba(75, 226, 191, 0.9), transparent 18%),
    radial-gradient(circle at 70% 30%, rgba(111, 92, 255, 0.9), transparent 18%),
    linear-gradient(135deg, rgba(12, 31, 62, 0.95), rgba(8, 14, 31, 0.95));
}

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

.trend-watch-grid article {
  min-height: 108px;
  padding: 14px;
  border: 1px solid rgba(149, 169, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.012);
}

.trend-watch-grid strong,
.trend-watch-grid b,
.trend-watch-grid span,
.trend-watch-grid em {
  display: block;
}

.trend-watch-grid strong {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.trend-watch-grid b {
  margin-bottom: 6px;
  color: #7ff1d5;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.trend-watch-grid span {
  color: var(--muted);
  font-size: 12px;
}

.trend-watch-grid em {
  margin-top: 6px;
  color: #dce6fb;
  font-size: 13px;
  font-style: normal;
}

.wide,
.news,
.insight {
  min-height: 324px;
  padding: 20px;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pick-card {
  min-height: 236px;
  padding: 16px;
  display: grid;
  justify-items: center;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(149, 169, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pick-card::after,
.media-hotspot-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(128, 161, 255, 0.8), transparent);
  transition: opacity 180ms ease;
}

.pick-card:hover::after,
.media-hotspot-card:hover::after {
  opacity: 1;
}

.pick-card,
.media-hotspot-card {
  position: relative;
  overflow: hidden;
}

.pick-card h3 {
  font-size: 15px;
  margin: 12px 0 8px;
  font-weight: 600;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pick-card p,
.pick-card small,
.pick-card footer,
.list-panel em,
blockquote,
cite {
  color: var(--muted);
}

.pick-card p {
  height: 34px;
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pick-card small {
  display: inline-block;
  margin: 8px 0 12px;
}

.pick-card footer {
  font-size: 12px;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.pick-card button {
  width: 100%;
  height: 34px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(149, 169, 255, 0.16);
  transition: background 180ms ease, border-color 180ms ease;
}

.pick-card:hover button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(149, 169, 255, 0.3);
}

.logo-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}

.logo-tile {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.logo-tile.llama {
  color: #171717;
  background: linear-gradient(145deg, #b8fff5, #f4b9ff);
}

.logo-tile.langchain {
  color: #07110d;
  background: linear-gradient(145deg, #b8ff47, #6dbf1e);
}

.logo-tile.memos {
  background: linear-gradient(145deg, #7d6cff, #3920df);
}

.logo-tile.interpreter {
  border-radius: 50%;
  color: white;
  background: #05070d;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-tile.openclaw {
  border-radius: 50%;
  background: linear-gradient(145deg, #7aa8ff, #6a43ff);
}

.logo-tile.n8n {
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7f66, #ff4f8b);
}

.logo-tile.autogpt {
  border-radius: 50%;
  background: linear-gradient(145deg, #2dd4bf, #0f766e);
}

.logo-tile.diffusion {
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb86b, #ef5da8);
}

.logo-tile.prompts {
  border-radius: 50%;
  background: linear-gradient(145deg, #79e5ff, #2777ff);
}

.logo-tile.hermes {
  border-radius: 50%;
  background: linear-gradient(145deg, #c084fc, #7c3aed);
}

.logo-tile.dify {
  border-radius: 50%;
  background: linear-gradient(145deg, #a3e635, #16a34a);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list div,
.news-list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(149, 169, 255, 0.1);
  color: inherit;
  text-decoration: none;
}

.news-list .news-thumb {
  width: 64px;
  height: 52px;
  max-width: 64px;
  max-height: 52px;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(149, 169, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.news-list div:first-child,
.news-list a:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-list a:hover span {
  color: white;
}

.news-list i {
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  font-style: normal;
  font-weight: 700;
}

.news-list i,
.logo-tile {
  flex: none;
}

.news-list i.openai {
  background:
    radial-gradient(circle at center, transparent 0 12px, #e7f0ff 13px 15px, transparent 16px),
    linear-gradient(145deg, #0f6fb8, #0a2746);
}

.news-list i.openai::before {
  content: "◎";
}

.news-list i.copilot {
  background: linear-gradient(135deg, #55c2ff, #8f5cff 52%, #ff9d59);
}

.news-list i.copilot::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(0 20%, 50% 0, 100% 20%, 100% 80%, 50% 100%, 0 80%);
}

.news-list i.runway {
  color: white;
  background: #05070d;
  font-size: 12px;
}

.news-list i.anthropic {
  color: #1a1208;
  background: linear-gradient(145deg, #d5b184, #986d3f);
}

.news-list span {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  min-width: 0;
  display: grid;
  gap: 4px;
  overflow: hidden;
}

.news-list small {
  margin-top: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list em {
  color: #7db0ff;
  font-size: 11px;
  font-style: normal;
}

.news-state {
  min-height: 54px;
  display: flex;
  align-items: center;
  color: var(--muted);
}

.news-state.error {
  color: #ffb7c3;
}

.article-shell {
  padding: 34px 0 56px;
}

.article-page .brand {
  text-decoration: none;
}

.article-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px;
}

.article-back {
  display: inline-block;
  margin-bottom: 24px;
  color: #a8bcff;
  text-decoration: none;
}

.article-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.article-tags span,
.article-tags a {
  padding: 4px 10px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 999px;
  color: #bdd0ff;
  font-size: 12px;
}

.article-share {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.article-share button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
}

.why-card {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(125, 176, 255, 0.18);
  border-radius: 10px;
  background: rgba(42, 74, 140, 0.12);
}

.why-card strong {
  display: block;
  margin-bottom: 6px;
  color: #7db0ff;
}

.why-card p {
  margin: 0;
  color: #dce7ff;
  line-height: 1.7;
}

.browse-page {
  padding: 34px 0 56px;
}

.browse-page h1 {
  margin: 0 0 18px;
}

#browse-results {
  display: grid;
  gap: 12px;
}

.browse-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.browse-card span,
.browse-card small {
  color: var(--muted);
}

.simple-grid {
  display: grid;
  gap: 12px;
}

.channel-page {
  padding: 34px 0 60px;
}

.channel-hero {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 24px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 12%, rgba(75, 226, 191, 0.12), transparent 28%),
    radial-gradient(circle at 12% 0, rgba(62, 117, 255, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.018);
}

.channel-hero p,
.channel-hero h1,
.channel-hero span {
  margin: 0;
}

.channel-hero p {
  color: #78a2ff;
  font-size: 12px;
  text-transform: uppercase;
}

.channel-hero h1 {
  font-size: 30px;
}

.channel-hero span {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.channel-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.channel-toolbar strong {
  color: #b9c8e7;
  font-size: 13px;
  font-weight: 500;
}

.channel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-filters label {
  display: grid;
  gap: 6px;
}

.channel-filters span {
  color: var(--muted);
  font-size: 12px;
}

.channel-filters input,
.channel-filters select {
  min-width: 150px;
  height: 38px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 8px;
  background: rgba(5, 11, 24, 0.86);
  color: white;
  padding: 0 12px;
}

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

.headline-section {
  margin-top: 28px;
}

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

.headline-card {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.headline-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.headline-card span {
  color: var(--muted);
  font-size: 12px;
}

.channel-card {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.channel-card:hover {
  transform: translateY(-2px);
  border-color: rgba(133, 159, 235, 0.34);
  background: rgba(255, 255, 255, 0.03);
}

.channel-card div {
  display: grid;
  gap: 8px;
}

.channel-card strong {
  font-size: 17px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.channel-card span {
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.channel-card small {
  color: #8ea3d8;
}

.metric-card small {
  color: #7ff1d5;
  font-size: 14px;
}

.tool-page {
  padding: 34px 0 60px;
}

.tool-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 280px;
  gap: 22px;
  padding: 24px;
}

.tool-header {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.tool-header p,
.tool-header h1,
.tool-header span,
.tool-copy h2,
.tool-copy p,
.tool-highlights h2 {
  margin: 0;
}

.tool-header p {
  color: #78a2ff;
  font-size: 12px;
  text-transform: uppercase;
}

.tool-header h1 {
  font-size: 32px;
}

.tool-header span,
.tool-copy p {
  color: var(--muted);
}

.tool-copy {
  display: grid;
  gap: 10px;
}

.tool-copy h2,
.tool-highlights h2 {
  margin-top: 10px;
  font-size: 18px;
}

.tool-copy p {
  line-height: 1.8;
}

.tool-meta {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.tool-meta div {
  display: grid;
  gap: 4px;
}

.tool-meta span {
  color: var(--muted);
  font-size: 12px;
}

.tool-meta a {
  color: #8fb3ff;
}

.tool-highlights {
  display: grid;
  gap: 10px;
}

.tool-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-highlights li {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(95, 132, 255, 0.1);
  color: #d9e5ff;
  font-size: 13px;
}

.tool-related {
  display: grid;
  gap: 10px;
}

.tool-related h2 {
  margin: 10px 0 0;
  font-size: 18px;
}

.tool-related div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-related span {
  padding: 7px 10px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 999px;
  color: #bfd0ff;
  font-size: 13px;
}

.code-window {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 10px;
  background: #070d19;
}

.code-window header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(133, 159, 235, 0.12);
}

.code-window header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #32405c;
}

.code-window header span:first-child {
  background: #ff6b6b;
}

.code-window header span:nth-child(2) {
  background: #ffd166;
}

.code-window header span:nth-child(3) {
  background: #4be2bf;
}

.code-window header b {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}

.code-window pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #dfe9ff;
}

.code-window button {
  margin: 0 18px 18px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
}

.submit-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.submit-panel label {
  display: grid;
  gap: 8px;
}

.submit-panel input,
.submit-panel textarea {
  width: 100%;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 8px;
  background: rgba(5, 11, 24, 0.86);
  color: white;
  padding: 12px;
}

.submit-panel textarea {
  min-height: 120px;
}

.discovery-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.discovery-bar::-webkit-scrollbar {
  display: none;
}

.discovery-bar nav,
.discovery-bar div {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.discovery-bar nav::-webkit-scrollbar,
.discovery-bar div::-webkit-scrollbar {
  display: none;
}

.discovery-bar a {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 999px;
  color: #bfd0ff;
  font-size: 12px;
}

.browse-card mark {
  color: white;
  background: rgba(255, 214, 102, 0.28);
}

.empty-results {
  display: grid;
  gap: 10px;
}

.empty-results a {
  color: #8fb3ff;
}

.article-detail h1 {
  margin: 0 0 14px;
  font-size: 34px;
}

.article-detail header p {
  margin: 0 0 10px;
  color: var(--muted);
}

.article-detail header small {
  color: #8ea3d8;
}

.article-prose {
  margin-top: 28px;
  color: #dce7ff;
  font-size: 16px;
  line-height: 1.9;
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose > :last-child {
  margin-bottom: 0;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose blockquote,
.article-prose pre,
.article-prose figure {
  margin: 0 0 18px;
}

.article-prose h2,
.article-prose h3 {
  margin: 32px 0 14px;
  line-height: 1.35;
  color: white;
}

.article-prose h2 {
  font-size: 24px;
}

.article-prose h3 {
  font-size: 19px;
}

.article-prose ul,
.article-prose ol {
  padding-left: 24px;
}

.article-prose li + li {
  margin-top: 8px;
}

.article-prose blockquote {
  padding: 14px 18px;
  border-left: 3px solid rgba(95, 132, 255, 0.72);
  background: rgba(255, 255, 255, 0.03);
  color: #c6d4f3;
}

.article-prose pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
  background: rgba(3, 8, 18, 0.88);
}

.article-prose code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.article-prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
}

.article-prose a {
  color: #8fb3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.article-nav a,
.article-nav-empty {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.article-nav a {
  display: grid;
  gap: 8px;
}

.article-nav small {
  color: var(--muted);
}

.article-nav strong {
  line-height: 1.45;
}

.article-nav-empty {
  display: grid;
  place-items: center start;
  color: rgba(152, 167, 195, 0.62);
}

.related-articles {
  margin-top: 30px;
}

.related-articles h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.related-articles > div {
  display: grid;
  gap: 12px;
}

.related-articles a {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.related-articles span {
  color: var(--muted);
  font-size: 13px;
}

.article-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.article-state.error {
  color: #ffb7c3;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 18px;
  padding: 28px 0 48px;
}

.admin-editor,
.admin-list {
  padding: 22px;
}

.admin-editor form {
  display: grid;
  gap: 14px;
}

.admin-editor label {
  display: grid;
  gap: 8px;
  color: #dbe6ff;
  font-size: 13px;
}

.admin-editor input,
.admin-editor textarea,
.admin-editor select {
  width: 100%;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 8px;
  background: rgba(5, 11, 24, 0.86);
  color: white;
  padding: 11px 12px;
}

.admin-editor textarea {
  min-height: 90px;
  resize: vertical;
}

.admin-editor textarea[name="content"] {
  min-height: 180px;
}

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

.admin-editor button,
.admin-articles button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #1676ff, #6538f3);
  color: white;
  cursor: pointer;
}

.admin-editor small {
  display: block;
  min-height: 18px;
  margin-top: 12px;
  color: #7ff1d5;
}

.admin-articles {
  display: grid;
  gap: 12px;
}

.admin-articles article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-toolbar select,
.admin-toolbar button {
  min-height: 38px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-radius: 8px;
  background: rgba(5, 11, 24, 0.86);
  color: white;
  padding: 0 12px;
}

.cover-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-users {
  display: grid;
  gap: 12px;
}

.admin-users article {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
}

.audit-logs {
  display: grid;
  gap: 10px;
}

.audit-logs article {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(133, 159, 235, 0.16);
  border-radius: 8px;
}

.audit-logs span,
.audit-logs small,
.audit-logs time {
  color: var(--muted);
}

.admin-shell.single {
  grid-template-columns: 1fr;
}

.error-page {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 12px;
}

.admin-articles article > div {
  display: grid;
  gap: 6px;
}

.admin-articles article > div:last-child {
  display: flex;
  gap: 8px;
}

.admin-articles span {
  color: var(--muted);
  font-size: 12px;
}

.admin-articles button {
  padding: 0 14px;
}

.news-list span::first-line {
  color: #eef4ff;
}

.insight {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.insight h3 {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1.45;
  margin: 26px 0 12px;
  font-weight: 650;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.insight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(75, 226, 191, 0.12), transparent 34%);
  pointer-events: none;
}

.insight > p {
  position: relative;
  z-index: 1;
  width: 62%;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.outline-btn {
  position: relative;
  z-index: 1;
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(75, 226, 191, 0.42);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.outline-btn:hover {
  background: rgba(75, 226, 191, 0.08);
  border-color: rgba(75, 226, 191, 0.68);
  transform: translateY(-2px);
}

.insight .outline-btn {
  margin-top: auto;
  align-self: flex-start;
}

.trend {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 250px;
  height: 250px;
  background:
    radial-gradient(circle at 70% 68%, rgba(75, 226, 191, 0.16), transparent 42%),
    linear-gradient(180deg, transparent, rgba(75, 226, 191, 0.08));
  filter: drop-shadow(0 0 18px rgba(75, 226, 191, 0.24));
}

.trend::before,
.trend::after {
  content: "";
  position: absolute;
  inset: 0;
}

.trend::before {
  background:
    linear-gradient(136deg, transparent 0 38%, rgba(75, 226, 191, 0.18) 38.4%, transparent 39.2%),
    linear-gradient(132deg, transparent 0 46%, rgba(75, 226, 191, 0.28) 46.4%, transparent 47.2%),
    linear-gradient(126deg, transparent 0 54%, rgba(75, 226, 191, 0.42) 54.4%, transparent 55.2%),
    linear-gradient(120deg, transparent 0 62%, rgba(75, 226, 191, 0.7) 62.4%, transparent 63.3%),
    linear-gradient(114deg, transparent 0 70%, rgba(75, 226, 191, 0.92) 70.4%, transparent 71.4%);
  clip-path: polygon(0 100%, 100% 100%, 100% 8%, 72% 40%, 56% 28%, 42% 52%, 28% 42%, 12% 74%);
}

.trend::after {
  background:
    linear-gradient(180deg, rgba(75, 226, 191, 0), rgba(75, 226, 191, 0.12)),
    radial-gradient(circle at 83% 18%, rgba(75, 226, 191, 0.9) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 36%, rgba(75, 226, 191, 0.76) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 28%, rgba(75, 226, 191, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 39% 53%, rgba(75, 226, 191, 0.58) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 43%, rgba(75, 226, 191, 0.54) 0 2px, transparent 3px);
  clip-path: polygon(0 100%, 100% 100%, 100% 8%, 72% 40%, 56% 28%, 42% 52%, 28% 42%, 12% 74%);
}

.list-panel,
.community,
.workflow-panel {
  min-height: 192px;
  padding: 18px 20px;
}

.list-panel .panel-head h2::before {
  background: #4e9eff;
}

.community .panel-head h2::before {
  background: #4be2bf;
}

.news .panel-head h2::before {
  background: #875cff;
}

.insight .panel-head h2::before {
  background: #4be2bf;
}

.community-compact {
  min-height: 0;
}

.community-compact blockquote {
  margin: 10px 0 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
}

.community-compact .stats strong {
  font-size: 18px;
}

.community-compact .stats small {
  font-size: 11px;
}

.list-panel ol,
.community blockquote {
  margin-top: 14px;
}

.panel-head.small {
  margin-bottom: 12px;
}

.panel-head.small h2 {
  font-size: 16px;
}

.list-panel ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: item;
}

.list-panel li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  grid-template-areas:
    "rank title score"
    ". detail detail";
  gap: 4px 10px;
  margin-top: 14px;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.list-panel li > a {
  color: inherit;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 22px 1fr auto;
  grid-template-areas:
    "rank title score"
    ". detail detail";
  gap: 4px 10px;
  text-decoration: none;
}

.list-panel li:hover {
  color: #fff;
  transform: translateX(3px);
}

.list-panel li > a::before {
  content: counter(item);
  counter-increment: item;
  color: #ffcb3d;
  grid-area: rank;
}

.list-panel span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  grid-area: title;
}

.list-panel em,
.list-panel b {
  font-style: normal;
  font-size: 12px;
}

.list-panel em {
  grid-area: detail;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-panel em:empty {
  display: none;
}

.list-panel b {
  grid-area: score;
  align-self: center;
}

.community blockquote {
  margin: 8px 0 14px;
  padding: 14px 16px;
  line-height: 1.65;
  border-radius: 10px;
  background: rgba(28, 42, 73, 0.88);
  border: 1px solid rgba(133, 159, 235, 0.1);
}

.community cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
}

.community blockquote a {
  color: inherit;
  text-decoration: none;
}

.community blockquote a:hover {
  color: #fff;
}

.community-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.community-list a {
  color: inherit;
  display: grid;
  gap: 3px;
  text-decoration: none;
}

.community-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-list small {
  color: var(--muted);
  font-size: 11px;
}

.workflow-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.workflow-list article {
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid rgba(149, 169, 255, 0.1);
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.workflow-list article a {
  color: inherit;
  display: grid;
  gap: 5px;
  text-decoration: none;
}

.workflow-list article:hover {
  color: #fff;
  transform: translateX(3px);
}

.workflow-list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.workflow-list strong {
  font-size: 14px;
  font-weight: 600;
}

.workflow-list span {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-panel .panel-head h2::before {
  background: #ff8c5b;
}

.media-hotspots {
  padding: 18px;
  margin-top: 28px;
}

.media-hotspots {
  background:
    radial-gradient(circle at 100% 0, rgba(31, 110, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(16, 27, 47, 0.95), rgba(9, 16, 31, 0.98));
}

.media-hotspots .panel-head {
  margin-bottom: 20px;
}

.media-hotspots .panel-head h2::before {
  background: #5b7cff;
}

.media-hotspot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.media-hotspot-card {
  color: inherit;
  display: block;
  min-height: 112px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(149, 169, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}

.media-hotspot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 151, 255, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.media-hotspot-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.media-hotspot-card p {
  min-height: 38px;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.media-hotspot-card span {
  color: #7db0ff;
  font-size: 12px;
}

.media-page {
  padding: 34px 0 48px;
}

.editorial-page {
  padding: 34px 0 48px;
}

.editorial-hero {
  margin-bottom: 18px;
}

.editorial-hero p {
  margin: 0 0 10px;
  color: #6f8fff;
}

.editorial-hero h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

.editorial-hero span {
  color: var(--muted);
}

.editorial-grid,
.trend-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.lead-story,
.side-story,
.trend-feature,
.trend-card {
  padding: 18px;
}

.lead-story h2,
.side-story h2,
.trend-feature h2,
.trend-card h2 {
  margin: 12px 0;
}

.lead-story p,
.side-story p,
.trend-feature p,
.trend-card p {
  color: var(--muted);
  line-height: 1.8;
}

.lead-story small,
.side-story small,
.trend-feature small {
  color: #7db0ff;
}

.trend-feature b,
.trend-card b {
  display: block;
  margin: 10px 0;
  color: #7ff1d5;
  font-size: 28px;
}

.media-page-hero {
  margin-bottom: 18px;
}

.media-page-hero p {
  margin: 0 0 10px;
  color: #6f8fff;
}

.media-page-hero h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

.media-page-hero span {
  color: var(--muted);
}

.media-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-bottom: 14px;
}

.media-feature,
.media-radar,
.media-platform {
  padding: 18px;
}

.media-feature h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.media-feature p,
.media-platform p {
  color: var(--muted);
  line-height: 1.8;
}

.radar-bars {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.radar-bars span {
  display: grid;
  gap: 8px;
}

.radar-bars b {
  font-size: 14px;
}

.radar-bars i {
  display: block;
  width: var(--value);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1a7cff, #57d9c1);
}

.media-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.media-platform h2 {
  margin: 0 0 14px;
}

.media-platform ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.media-platform li {
  margin-bottom: 8px;
}

.stats {
  justify-content: space-between;
  gap: 12px;
}

.stats strong {
  font-size: 23px;
  color: #a8fff0;
  font-variant-numeric: tabular-nums;
}

.stats small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.newsletter {
  justify-content: space-between;
  min-height: 72px;
  padding: 22px 24px;
  margin-top: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(7, 15, 32, 0.96);
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(32, 106, 255, 0.08), transparent 28%, transparent 72%, rgba(97, 75, 255, 0.08));
}

.newsletter {
  position: relative;
  overflow: hidden;
}

@media (min-width: 1181px) {
  .community {
    display: grid;
    align-content: space-between;
  }
}

.newsletter h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
}

.newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.newsletter form {
  width: 410px;
}

.newsletter input {
  flex: 1;
  height: 42px;
  border: 1px solid rgba(133, 159, 235, 0.18);
  border-right: 0;
  background: transparent;
  color: white;
  padding: 0 16px;
  border-radius: 8px 0 0 8px;
}

.newsletter input:disabled,
.newsletter button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.newsletter button {
  width: 130px;
  border-radius: 0 8px 8px 0;
}

.newsletter form,
.newsletter div {
  position: relative;
  z-index: 1;
}

footer {
  justify-content: space-between;
  height: 60px;
  color: var(--muted);
  font-size: 12px;
}

footer strong {
  font-size: 18px;
}

footer nav {
  gap: 36px;
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(100% - 32px, 1080px);
  }

  .topbar {
    flex-wrap: wrap;
    height: auto;
    gap: 18px;
    padding: 18px 0;
  }

  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 28px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .pick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .channel-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .channel-filters input,
  .channel-filters select {
    width: 100%;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .headline-grid {
    grid-template-columns: 1fr;
  }

  .tool-detail {
    grid-template-columns: 1fr;
  }

  .media-hotspot-grid,
  .media-detail-grid,
  .media-overview-grid,
  .editorial-grid,
  .trend-page-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 760px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px 0 16px;
  }

  .brand {
    justify-self: start;
    font-size: 28px;
  }

  .topbar nav {
    order: 2;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 24px;
  }

  .topbar nav a:nth-child(n + 4) {
    display: none;
  }

  .topbar-actions {
    display: contents;
  }

  .search {
    order: 3;
    grid-column: 1 / -1;
  }

  .auth-slot {
    order: 1;
    justify-self: end;
    gap: 14px;
  }

  .pill-btn {
    display: none;
  }

  .newsletter,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter {
    display: none;
  }

  .search input,
  .newsletter form {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 284px;
    padding-inline: 0;
    padding-top: 22px;
    align-items: start;
    justify-items: center;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
  }

  .hero p br {
    display: none;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.2;
  }

  .hero p {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  .hero button {
    width: 100%;
  }

  .hero-art {
    position: absolute;
    inset: -8px -18px 0;
    z-index: 1;
    height: auto;
    margin-top: 0;
    opacity: 0.42;
    filter: brightness(0.58) saturate(0.95);
    pointer-events: none;
  }

  .cube {
    width: 132px;
    height: 132px;
  }

  .cube span {
    font-size: 58px;
  }

  .glow-base {
    width: 260px;
    height: 58px;
  }

  .beam {
    width: 180px;
    height: 220px;
  }

  .floating-card {
    width: 46px;
    height: 46px;
  }

  .floating-card.github {
    top: 24%;
    left: 28%;
  }

  .floating-card.code {
    top: 20%;
    left: 74%;
  }

  .floating-card.chart {
    top: 72%;
    left: 78%;
  }

  .floating-card.doc-card {
    top: 68%;
    left: 24%;
  }

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

  .pick-card {
    min-height: 214px;
    padding: 12px;
  }

  .pick-card h3 {
    margin: 10px 0 6px;
    font-size: 14px;
  }

  .pick-card p {
    height: 38px;
    font-size: 11px;
    line-height: 1.55;
  }

  .pick-card small {
    margin: 7px 0 10px;
    font-size: 11px;
  }

  .pick-card footer {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .pick-card button {
    height: 32px;
    font-size: 12px;
  }

  .trend-watch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trend-watch-grid article {
    min-height: 114px;
    padding: 12px;
  }

  .trend-watch-grid b {
    font-size: 22px;
  }

  .trend-watch-grid em {
    font-size: 12px;
  }

  .article-detail {
    padding: 20px;
  }

  .article-detail h1 {
    font-size: 26px;
  }

  .article-prose {
    font-size: 15px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .admin-shell,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-articles article {
    align-items: stretch;
    flex-direction: column;
  }

  .insight > p {
    width: 100%;
  }

  .newsletter {
    gap: 18px;
  }

  footer {
    height: auto;
    gap: 14px;
    padding: 20px 0;
    align-items: center;
    text-align: center;
  }

  footer nav {
    justify-content: center;
  }
}
