:root {
  --bg: #02060f;
  --bg-soft: #050d1d;
  --panel: #0a1427;
  --panel-soft: #0c1931;
  --text: #e7f2ff;
  --text-soft: #9eb8dc;
  --line: #22385a;
  --line-strong: #31548a;
  --brand: #38bdf8;
  --brand-2: #7dd3fc;
  --brand-deep: #0ea5e9;
  --magic-accent: #38bdf8;
  --magic-ink: #eaf4ff;
  --warm: #1a2438;
  --warm-line: #34507a;
  --shadow: 0 20px 38px rgba(2, 10, 24, 0.58);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(760px 300px at -8% -12%, rgba(56, 189, 248, 0.18), transparent 72%),
    radial-gradient(920px 360px at 105% -10%, rgba(59, 130, 246, 0.16), transparent 74%),
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  color: var(--text);
  font: 16px/1.66 "Source Han Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.wrap {
  width: min(1260px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(88, 132, 199, 0.34);
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(4, 10, 23, 0.94) 0%, rgba(4, 10, 22, 0.9) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font: 800 26px/1.1 "Segoe UI", "Poppins", "Montserrat", "Arial", sans-serif;
  letter-spacing: 0.025em;
}

.brand-logo {
  display: none !important;
}

.brand span {
  position: relative;
  top: 1px;
  background: linear-gradient(180deg, #f2f8ff 0%, #b8dcff 56%, #7ec7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px;
  border: 1px solid rgba(101, 143, 207, 0.34);
  border-radius: 14px;
  background: rgba(7, 16, 34, 0.84);
  box-shadow: inset 0 1px 0 rgba(190, 219, 255, 0.14);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #b9d2f6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding: 7px 11px;
  transition: 0.16s ease;
}

.nav a:hover {
  border-color: rgba(93, 151, 221, 0.58);
  background: rgba(18, 33, 63, 0.74);
  transform: translateY(-1px);
}

.nav a.active {
  border-color: rgba(92, 186, 248, 0.72);
  color: #eef7ff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.36), rgba(14, 165, 233, 0.34));
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.28);
}

.xg-body {
  overflow-x: hidden;
}

.xg-bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(440px 280px at 14% 18%, rgba(56, 189, 248, 0.17), transparent 75%),
    radial-gradient(520px 320px at 86% 12%, rgba(37, 99, 235, 0.15), transparent 78%),
    radial-gradient(420px 260px at 50% 88%, rgba(14, 116, 234, 0.12), transparent 75%);
  z-index: 0;
}

.paw-global-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.xg-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26) 0%, rgba(56, 189, 248, 0.03) 64%, transparent 100%);
  transition: opacity 0.2s ease;
}

.xg-home-main {
  position: relative;
  z-index: 3;
  padding: 20px 0 8px;
}

.paw-cosmos > .topbar,
.paw-cosmos > main,
.paw-cosmos > footer {
  position: relative;
  z-index: 3;
}

.paw-spark-home {
  background:
    radial-gradient(680px 320px at 6% -8%, rgba(56, 189, 248, 0.18), transparent 72%),
    radial-gradient(760px 320px at 98% -10%, rgba(59, 130, 246, 0.16), transparent 74%),
    linear-gradient(180deg, #000000 0%, #030812 46%, #061024 100%);
  color: #deebff;
}

.paw-spark-home .xg-bg-layer {
  background:
    radial-gradient(460px 280px at 18% 18%, rgba(56, 189, 248, 0.14), transparent 75%),
    radial-gradient(520px 300px at 86% 12%, rgba(37, 99, 235, 0.11), transparent 78%),
    radial-gradient(420px 280px at 50% 90%, rgba(2, 132, 199, 0.12), transparent 76%);
}

.paw-spark-home .topbar {
  border-bottom-color: rgba(101, 143, 207, 0.3);
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.92) 0%, rgba(7, 15, 30, 0.88) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.paw-spark-home .brand span {
  background: linear-gradient(180deg, #f6fbff 0%, #bfe2ff 56%, #87cdff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.28);
}

.paw-spark-home .nav {
  border-color: rgba(108, 144, 201, 0.3);
  background: rgba(9, 19, 39, 0.75);
}

.paw-spark-home .nav a {
  color: #c8d9f6;
}

.paw-spark-home .nav a:hover {
  border-color: rgba(103, 155, 210, 0.46);
  background: rgba(24, 40, 72, 0.64);
}

.paw-spark-home .nav a.active {
  border-color: rgba(96, 199, 255, 0.72);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.36), rgba(37, 99, 235, 0.34));
  color: #eff7ff;
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.28);
}

.paw-cosmos .topbar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(56rem, 80vw);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.92) 50%, transparent 100%);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.48);
  pointer-events: none;
}

.spark-main {
  display: grid;
  gap: 14px;
}

.first-home-body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.first-home-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.first-home-footer {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(96vw, 980px);
  margin: 0;
  text-align: center;
  color: rgba(194, 214, 240, 0.92);
  font-size: 12px;
  z-index: 80;
  line-height: 1.5;
}

.first-home-footer .icp-link {
  color: inherit;
  border-bottom-color: rgba(194, 214, 240, 0.66);
}

.first-home-stage {
  position: relative;
  width: min(1200px, 100%);
  min-height: min(40rem, 100vh - 32px);
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

.first-home-title {
  margin: 0;
  position: relative;
  z-index: 30;
  font-family: "Poppins", "Segoe UI", "Arial", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(3rem, 11vw, 7.25rem);
  line-height: 1;
  transform: translateY(58px);
  background: linear-gradient(180deg, #f6fbff 0%, #cbe8ff 56%, #7cc9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
}

.first-home-spark-shell {
  position: relative;
  width: min(56rem, 94vw);
  height: 14.5rem;
  margin-top: -38px;
  z-index: 5;
}

.first-home-line {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.first-home-line-indigo-blur {
  width: 100%;
  height: 2px;
  filter: blur(2px);
  background: linear-gradient(90deg, transparent, #4f46e5, transparent);
  z-index: 1;
  animation: line-breathe-soft 6.2s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.first-home-line-indigo {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  z-index: 2;
  animation: line-breathe-core 6.2s cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.first-home-line-sky-blur {
  width: min(20rem, 60%);
  height: 5px;
  filter: blur(6px);
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  z-index: 5;
  mix-blend-mode: screen;
  animation: line-breathe-sky-soft 4.8s linear infinite 0.2s;
}

.first-home-line-sky {
  width: min(20rem, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  z-index: 6;
  mix-blend-mode: screen;
  animation: line-breathe-sky-core 4.8s linear infinite 0.2s;
}

.first-home-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.first-home-radial-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(520px 280px at top, transparent 18%, #000 100%);
}

.first-home-start {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  z-index: 40;
  margin-top: 0;
  width: min(170px, 54vw);
  height: 56px;
  display: grid;
  place-items: center;
}

.first-home-liquid-glass-react-wrap {
  position: relative;
  width: 148px;
  height: 44px;
}

.first-home-liquid-glass-react {
  cursor: pointer;
  filter: saturate(0.84) brightness(0.9) !important;
  box-shadow: none !important;
}

.first-home-liquid-glass-react,
.first-home-liquid-glass-react * {
  user-select: none;
}

.first-home-start-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
}

.first-home-start .liquid-glass-btn {
  width: 100%;
  min-width: 100%;
}

.liquid-glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(220, 242, 255, 0.56);
  background:
    linear-gradient(132deg, rgba(229, 246, 255, 0.28) 0%, rgba(183, 224, 255, 0.17) 48%, rgba(141, 206, 255, 0.24) 100%);
  color: #ecf7ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    0 16px 38px rgba(52, 166, 255, 0.25),
    inset 0 1px 0 rgba(242, 250, 255, 0.92),
    inset 0 -12px 16px rgba(36, 98, 151, 0.18),
    inset 0 0 30px rgba(217, 240, 255, 0.24);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.liquid-glass-btn::before {
  content: "";
  position: absolute;
  inset: 7px 16px auto;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.92), rgba(247, 252, 255, 0.06));
  filter: blur(0.3px);
  pointer-events: none;
  z-index: 2;
}

.liquid-glass-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  border: 1px solid rgba(239, 250, 255, 0.44);
  background:
    radial-gradient(130% 140% at 18% 18%, rgba(244, 252, 255, 0.34) 0%, rgba(244, 252, 255, 0) 58%),
    radial-gradient(120% 140% at 82% 86%, rgba(127, 199, 255, 0.22) 0%, rgba(127, 199, 255, 0) 62%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass-btn:hover {
  transform: none;
  box-shadow:
    0 16px 38px rgba(52, 166, 255, 0.25),
    inset 0 1px 0 rgba(242, 250, 255, 0.92),
    inset 0 -12px 16px rgba(36, 98, 151, 0.18),
    inset 0 0 30px rgba(217, 240, 255, 0.24);
  filter: none;
}

.liquid-glass-btn:active {
  transform: translateY(0) scale(0.994);
}

.liquid-glass-btn__label {
  position: relative;
  z-index: 3;
  text-shadow:
    0 1px 0 rgba(40, 86, 124, 0.58),
    0 0 14px rgba(224, 243, 255, 0.56);
}

.liquid-glass-btn__caustic {
  position: absolute;
  inset: -16% -22%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(44% 72% at 16% 50%, rgba(244, 252, 255, 0.48) 0%, rgba(244, 252, 255, 0) 66%),
    radial-gradient(44% 70% at 86% 52%, rgba(139, 208, 255, 0.36) 0%, rgba(139, 208, 255, 0) 66%),
    conic-gradient(from 160deg at 50% 50%, rgba(235, 248, 255, 0.00) 0deg, rgba(235, 248, 255, 0.30) 86deg, rgba(235, 248, 255, 0.00) 186deg, rgba(119, 195, 255, 0.26) 262deg, rgba(235, 248, 255, 0.00) 360deg);
  filter: blur(9px) saturate(1.16);
  animation: liquid-caustic-sweep 4.6s ease-in-out infinite;
}

@keyframes line-breathe-soft {
  0%, 100% {
    opacity: 0.66;
    transform: translateY(-50%) scaleX(0.988);
    filter: blur(2.15px);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-50%) scaleX(1.012);
    filter: blur(2.65px);
  }
}

@keyframes line-breathe-core {
  0%, 100% {
    opacity: 0.74;
    transform: translateY(-50%) scaleX(0.992);
  }
  50% {
    opacity: 0.92;
    transform: translateY(-50%) scaleX(1.008);
  }
}

@keyframes line-breathe-sky-soft {
  0% {
    opacity: 0.36;
    transform: translateY(-50%) scaleX(0.95) scaleY(0.9);
    filter: blur(5.2px) brightness(1.04);
  }
  20% {
    opacity: 0.52;
    transform: translateY(-50%) scaleX(0.99) scaleY(0.96);
    filter: blur(6.4px) brightness(1.14);
  }
  40% {
    opacity: 0.84;
    transform: translateY(-50%) scaleX(1.04) scaleY(1.02);
    filter: blur(9.5px) brightness(1.38);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1.09) scaleY(1.08);
    filter: blur(12.8px) brightness(1.74);
  }
  60% {
    opacity: 0.84;
    transform: translateY(-50%) scaleX(1.04) scaleY(1.02);
    filter: blur(9.5px) brightness(1.38);
  }
  80% {
    opacity: 0.52;
    transform: translateY(-50%) scaleX(0.99) scaleY(0.96);
    filter: blur(6.4px) brightness(1.14);
  }
  100% {
    opacity: 0.36;
    transform: translateY(-50%) scaleX(0.95) scaleY(0.9);
    filter: blur(5.2px) brightness(1.04);
  }
}

@keyframes line-breathe-sky-core {
  0% {
    opacity: 0.44;
    transform: translateY(-50%) scaleX(0.96) scaleY(0.9);
    box-shadow: 0 0 7px rgba(56, 189, 248, 0.30), 0 0 14px rgba(56, 189, 248, 0.18);
  }
  20% {
    opacity: 0.56;
    transform: translateY(-50%) scaleX(1) scaleY(0.96);
    box-shadow: 0 0 9px rgba(56, 189, 248, 0.34), 0 0 18px rgba(56, 189, 248, 0.2);
  }
  40% {
    opacity: 0.86;
    transform: translateY(-50%) scaleX(1.04) scaleY(1.02);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.64), 0 0 30px rgba(56, 189, 248, 0.42);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1.08) scaleY(1.08);
    box-shadow: 0 0 28px rgba(56, 189, 248, 1), 0 0 62px rgba(56, 189, 248, 0.85);
  }
  60% {
    opacity: 0.86;
    transform: translateY(-50%) scaleX(1.04) scaleY(1.02);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.64), 0 0 30px rgba(56, 189, 248, 0.42);
  }
  80% {
    opacity: 0.56;
    transform: translateY(-50%) scaleX(1) scaleY(0.96);
    box-shadow: 0 0 9px rgba(56, 189, 248, 0.34), 0 0 18px rgba(56, 189, 248, 0.2);
  }
  100% {
    opacity: 0.44;
    transform: translateY(-50%) scaleX(0.96) scaleY(0.9);
    box-shadow: 0 0 7px rgba(56, 189, 248, 0.30), 0 0 14px rgba(56, 189, 248, 0.18);
  }
}

@keyframes liquid-caustic-sweep {
  0% {
    transform: translateX(-6%) translateY(0) scale(1);
    opacity: 0.64;
  }
  50% {
    transform: translateX(6%) translateY(-2%) scale(1.04);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-6%) translateY(0) scale(1);
    opacity: 0.64;
  }
}

.spark-hero-wrap {
  position: relative;
}

.spark-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(98, 139, 197, 0.34);
  border-radius: 26px;
  background:
    radial-gradient(680px 260px at 96% 2%, rgba(52, 211, 153, 0.14), transparent 70%),
    linear-gradient(165deg, rgba(11, 22, 45, 0.97) 0%, rgba(9, 19, 40, 0.96) 54%, rgba(9, 27, 45, 0.94) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(170, 205, 255, 0.12);
  padding: 28px;
}

.paw-cosmos .spark-hero-panel {
  background:
    radial-gradient(820px 340px at 96% -2%, rgba(70, 210, 186, 0.18), transparent 72%),
    radial-gradient(760px 300px at 4% 0%, rgba(86, 161, 255, 0.16), transparent 72%),
    linear-gradient(166deg, rgba(8, 22, 45, 0.96) 0%, rgba(8, 21, 44, 0.94) 56%, rgba(9, 26, 47, 0.94) 100%);
}

.spark-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spark-layer {
  position: absolute;
  inset: -18%;
  opacity: 0.56;
  background-repeat: repeat;
}

.spark-layer-a {
  background-image:
    radial-gradient(circle at 22% 28%, rgba(164, 250, 228, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 66%, rgba(140, 230, 255, 0.75) 0 1.1px, transparent 2px),
    radial-gradient(circle at 52% 18%, rgba(162, 255, 218, 0.7) 0 0.9px, transparent 2px);
  background-size: 220px 220px, 280px 280px, 320px 320px;
  animation: spark-drift-a 26s linear infinite;
}

.spark-layer-b {
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 35% 72%, rgba(188, 252, 230, 0.78) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 24%, rgba(132, 223, 255, 0.72) 0 1px, transparent 2px);
  background-size: 260px 260px, 340px 340px;
  animation: spark-drift-b 34s linear infinite reverse;
}

.spark-beam {
  position: absolute;
  top: -42%;
  height: 190%;
  filter: blur(1px);
}

.paw-cosmos .spark-beam {
  display: none;
}

.spark-beam-a {
  left: 8%;
  width: 34%;
  transform: rotate(-14deg);
  background: linear-gradient(180deg, rgba(60, 211, 163, 0.4) 0%, rgba(44, 147, 173, 0.08) 60%, rgba(0, 0, 0, 0) 100%);
}

.spark-beam-b {
  right: 10%;
  width: 30%;
  transform: rotate(16deg);
  background: linear-gradient(180deg, rgba(92, 208, 169, 0.34) 0%, rgba(35, 128, 160, 0.06) 60%, rgba(0, 0, 0, 0) 100%);
}

.spark-hero-content {
  position: relative;
  z-index: 2;
}

.spark-kicker {
  display: inline-flex;
  margin: 0;
  border: 1px solid rgba(110, 186, 170, 0.7);
  border-radius: 999px;
  background: rgba(17, 49, 64, 0.56);
  color: #9ef1dd;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
}

.spark-hero-content h1 {
  margin: 12px 0 0;
  font: 800 clamp(34px, 4.6vw, 62px)/1.05 "Segoe UI", "Poppins", "Arial", sans-serif;
  color: #f0f7ff;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.spark-hero-content p {
  margin: 13px 0 0;
  max-width: 780px;
  color: #aec4e6;
}

.spark-hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.paw-spark-home .btn,
.paw-spark-home button {
  border-color: rgba(119, 152, 208, 0.52);
  background: rgba(13, 28, 52, 0.8);
  color: #d6e8ff;
}

.paw-spark-home .btn.primary,
.paw-spark-home button.primary {
  border-color: rgba(120, 234, 194, 0.72);
  color: #f3fffa;
  background: linear-gradient(135deg, rgba(15, 143, 119, 0.86), rgba(52, 211, 153, 0.8));
  box-shadow: 0 10px 20px rgba(15, 143, 119, 0.35);
}

.paw-spark-home .btn.ghost {
  border-style: solid;
  background: rgba(15, 30, 56, 0.72);
}

.spark-tags {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spark-tags span {
  border: 1px solid rgba(101, 154, 209, 0.46);
  border-radius: 999px;
  background: rgba(13, 30, 58, 0.66);
  color: #a8c5ea;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.spark-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.spark-card {
  border: 1px solid rgba(99, 137, 193, 0.35);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(9, 20, 39, 0.9) 0%, rgba(9, 24, 43, 0.88) 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  padding: 16px;
}

.spark-card h2 {
  margin: 0;
  color: #edf5ff;
}

.spark-card p {
  margin: 8px 0 0;
  color: #a8c0e1;
}

.spark-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #b8cdea;
  display: grid;
  gap: 6px;
}

.spark-guides {
  border: 1px solid rgba(99, 138, 197, 0.34);
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(8, 21, 40, 0.9) 0%, rgba(10, 25, 46, 0.88) 100%);
  padding: 16px;
}

.spark-guide-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.spark-guide-item {
  text-decoration: none;
  border: 1px solid rgba(102, 144, 201, 0.35);
  border-radius: 14px;
  background: rgba(9, 24, 44, 0.82);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26);
  padding: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.spark-guide-item:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 208, 181, 0.56);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.34);
}

.spark-guide-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #eff6ff;
}

.spark-guide-item p {
  margin: 8px 0 0;
  color: #a8c0de;
  font-size: 13px;
}

.paw-spark-home .section-head h2 {
  color: #eff6ff;
}

.paw-spark-home .section-head p {
  color: #a7c1e2;
}

.paw-spark-home footer {
  color: #9ab3d6;
}

@keyframes spark-drift-a {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-42px, 36px, 0); }
}

@keyframes spark-drift-b {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(38px, -32px, 0); }
}

.xg-hero,
.xg-entry-card,
.xg-topic-board,
.xg-monitor-card,
.xg-stat {
  backdrop-filter: blur(10px);
}

.xg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
}

.xg-hero-card {
  border: 1px solid #d9e6f4;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 252, 255, 0.92) 100%);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.09);
  padding: 24px;
  transition: transform 0.2s ease;
}

.xg-hero-kicker {
  display: inline-flex;
  margin: 0 0 10px;
  border: 1px solid #cfe3de;
  border-radius: 999px;
  background: #ecfff8;
  color: #195f53;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.xg-hero-card h1 {
  margin: 0;
  font: 800 clamp(32px, 4.6vw, 56px)/1.06 "Segoe UI", "Poppins", "Arial", sans-serif;
  color: #0d1b35;
  letter-spacing: -0.01em;
}

.xg-hero-card p {
  margin: 12px 0 0;
  color: #4a5d79;
  font-size: 15px;
}

.xg-hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.xg-hero-side {
  display: grid;
  gap: 10px;
}

.xg-stat {
  border: 1px solid #d8e5f3;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 250, 255, 0.92) 100%);
  padding: 13px;
  transition: transform 0.2s ease;
}

.xg-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  color: #0d7a71;
}

.xg-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.xg-stat p {
  margin: 8px 0 0;
  color: #546885;
  font-size: 13px;
}

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

.xg-entry-card {
  border: 1px solid #d8e5f3;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 252, 255, 0.94) 100%);
  padding: 16px;
  transition: transform 0.2s ease;
}

.xg-entry-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.xg-entry-card p {
  margin: 8px 0 0;
  color: #52607a;
}

.xg-entry-card ul {
  margin: 9px 0 0;
  padding-left: 20px;
  color: #40536f;
  display: grid;
  gap: 4px;
}

.xg-topic-board {
  margin-top: 12px;
  border: 1px solid #d8e5f3;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 251, 255, 0.92) 100%);
  padding: 16px;
}

.xg-topic-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xg-topic-chips .chip {
  text-decoration: none;
  cursor: pointer;
}

.xg-monitor-card {
  margin-top: 12px;
  border: 1px solid #d8e5f3;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 252, 248, 0.95) 100%);
  padding: 16px;
}

.tilt-card {
  will-change: transform;
}

.live-hero h1 {
  font: 800 clamp(30px, 4.2vw, 48px)/1.1 "Segoe UI", "Poppins", "Arial", sans-serif;
}

.live-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.live-tool-card {
  border: 1px solid #d8e6f4;
  border-radius: 16px;
  background: linear-gradient(170deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  padding: 13px;
}

.live-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.live-tool-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.live-tool-head span {
  border: 1px solid #cae4db;
  border-radius: 999px;
  background: #ecfff8;
  color: #165f53;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}

.live-tool-card p {
  margin: 8px 0 0;
  color: #52607a;
  font-size: 13px;
}

.live-tool-links {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

.monitor-card {
  border: 1px solid #d8e6f4;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
}

.monitor-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.home-main,
main.wrap {
  padding-top: 24px;
}

.hero,
.section,
.feature-card,
.card,
.home-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  padding: 24px;
  background:
    radial-gradient(540px 200px at 98% 2%, rgba(100, 116, 139, 0.13), transparent 75%),
    radial-gradient(520px 240px at 4% 0%, rgba(0, 245, 168, 0.12), transparent 72%),
    linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
}

.hero h1 {
  margin: 0;
  font: 700 clamp(30px, 4vw, 44px)/1.2 "STZhongsong", "Songti SC", "KaiTi", serif;
}

.hero p {
  margin: 10px 0 0;
  max-width: 920px;
  color: var(--text-soft);
  font-size: 15px;
}

.hero-tools {
  margin-bottom: 14px;
}

.hero-badge,
.chip,
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e2f0;
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
}

.hero-badge {
  margin-bottom: 10px;
}

.meta-tags,
.chip-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-actions,
.actions,
.btns {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn,
button {
  border: 1px solid #d3deeb;
  border-radius: 11px;
  background: #ffffff;
  color: #1f2937;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
}

.btn.primary,
button.primary,
.lane-btn.active {
  border-color: #b5f6dd;
  color: #071b19;
  background: linear-gradient(135deg, var(--magic-accent), #7bf9d3);
  box-shadow: 0 8px 18px rgba(0, 245, 168, 0.25);
}

.btn.ghost {
  border-style: dashed;
}

.notice {
  margin-top: 14px;
  border: 1px solid var(--warm-line);
  border-radius: 13px;
  background: var(--warm);
  color: #775212;
  font-size: 13px;
  padding: 10px 12px;
}

.home-hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  position: relative;
}

.home-hero-v2::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 12%;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(0, 245, 168, 0.35);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero-main-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.hero-main-card::before {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 245, 168, 0.24), rgba(0, 245, 168, 0));
  pointer-events: none;
}

.hero-main-card h1 {
  margin: 0;
  font: 700 clamp(34px, 4.8vw, 54px)/1.08 "STZhongsong", "Songti SC", "KaiTi", serif;
}

.hero-main-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.hero-side-grid {
  display: grid;
  gap: 10px;
}

.hero-stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, #f9fbff 0%, #ffffff 100%);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
  padding: 14px;
}

.hero-stat-card strong {
  display: block;
  font-size: 24px;
  color: var(--brand-deep);
  line-height: 1.1;
}

.hero-stat-card span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.hero-stat-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.quick-entry-grid,
.roadmap-list,
.matrix-grid,
.card-list,
.tool-grid,
.chart-stack,
.out-grid,
.grid {
  display: grid;
  gap: 12px;
}

.quick-entry-grid {
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  padding: 15px;
}

.entry-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.entry-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.section {
  margin-top: 14px;
  padding: 16px;
}

.section h2,
.section-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.section .desc,
.section-head p,
.item p,
.matrix-grid li,
.tutorial-content li {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.section-head {
  display: grid;
  gap: 6px;
}

.roadmap-list {
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  padding: 12px;
}

.roadmap-item .step {
  display: inline-flex;
  border: 1px solid #bcded3;
  border-radius: 999px;
  background: #ebfbf5;
  color: #1d5f50;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
}

.roadmap-item h3 {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.3;
}

.roadmap-item p {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.roadmap-item a {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(14, 95, 79, 0.45);
}

.matrix-grid {
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.matrix-grid article {
  border: 1px solid #d7eae3;
  border-radius: var(--radius-md);
  background: #fbfffd;
  padding: 12px;
}

.matrix-grid h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.matrix-grid ul {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.card-list {
  margin-top: 10px;
}

.item {
  border: 1px solid #dcece6;
  border-radius: 12px;
  background: #fbfffd;
  padding: 11px;
}

.item h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.tutorial-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tutorial-card .meta {
  margin-top: 8px;
  color: #5b7b74;
  font-size: 12px;
  font-weight: 700;
}

.tutorial-main .section {
  padding: 14px;
}

.tutorial-content .card-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tutorial-steps,
.tutorial-checklist {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.tool-lane-switcher {
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.lane-buttons {
  display: inline-flex;
  width: 100%;
  gap: 8px;
  flex-wrap: nowrap;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #f3f6fb;
  padding: 6px;
}

.lane-btn {
  flex: 1 1 0;
  background: transparent;
  border-color: transparent;
  color: #4b5563;
  border-radius: 9px;
}

.tool-lane {
  display: none;
}

.tool-lane.is-active {
  display: block;
}

.tool-grid {
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.tool {
  border: 1px solid #d8e8e2;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.tool-featured {
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border-color: #cfe0f2;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.tool h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.tool small {
  color: #5a7a74;
}

.upload-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hidden-input {
  display: none;
}

.dropzone {
  border: 1.5px dashed #c5d7eb;
  border-radius: 12px;
  background: #f8fbff;
  color: #42526b;
  font-size: 13px;
  padding: 10px 12px;
  cursor: pointer;
  transition: 0.16s ease;
}

.dropzone.dragover {
  border-color: #66f3c7;
  background: #ecfff7;
}

.file-meta {
  color: #5a7a73;
  font-size: 12px;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid #ccded8;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  padding: 9px 10px;
  outline: none;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

textarea:focus,
input:focus,
select:focus {
  border-color: #87c8b7;
  box-shadow: 0 0 0 3px rgba(23, 145, 117, 0.12);
}

.row,
.row3 {
  display: grid;
  gap: 8px;
}

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

.row3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.out {
  min-height: 54px;
  border: 1px dashed #c5d7eb;
  border-radius: 10px;
  background: #f8fbff;
  color: #1e293b;
  font: 13px/1.58 Consolas, "JetBrains Mono", "Cascadia Code", monospace;
  white-space: pre-wrap;
  padding: 10px;
}

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

.chart-stack {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.chart-box {
  height: 230px;
  border: 1px solid #d4e7e1;
  border-radius: 12px;
  background: linear-gradient(180deg, #fcfffe 0%, #f8fdfb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 4px 12px rgba(18, 82, 68, 0.08);
  overflow: hidden;
}

.chart-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #698a84;
  font-size: 12px;
  padding: 8px;
}

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

footer {
  margin: 18px auto 28px;
  width: min(1260px, 92vw);
  text-align: center;
  color: #5a7a73;
  font-size: 13px;
}

.icp-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(90, 122, 115, 0.6);
}

.icp-link:hover {
  color: #2a4f46;
  border-bottom-color: rgba(42, 79, 70, 0.88);
}

.paw-cosmos {
  color: #d9e9ff;
}

.paw-cosmos .hero,
.paw-cosmos .section,
.paw-cosmos .feature-card,
.paw-cosmos .card,
.paw-cosmos .home-card {
  border-color: rgba(102, 136, 190, 0.32);
  background: linear-gradient(170deg, rgba(8, 20, 39, 0.92) 0%, rgba(10, 26, 49, 0.88) 100%);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.28);
}

.paw-cosmos .hero h1,
.paw-cosmos .section h2,
.paw-cosmos .section-head h2,
.paw-cosmos .item h3,
.paw-cosmos .guide-hot-card h3,
.paw-cosmos .guide-road-grid h3,
.paw-cosmos .monitor-card h2 {
  color: #edf5ff;
}

.paw-cosmos .hero p,
.paw-cosmos .section .desc,
.paw-cosmos .section-head p,
.paw-cosmos .item p,
.paw-cosmos .guide-hot-card p,
.paw-cosmos .guide-road-grid p,
.paw-cosmos .guide-meta,
.paw-cosmos .tutorial-content li,
.paw-cosmos .out,
.paw-cosmos footer {
  color: #a8c0e2;
}

.paw-cosmos .tag,
.paw-cosmos .chip,
.paw-cosmos .hero-badge {
  border-color: rgba(110, 156, 214, 0.44);
  background: rgba(8, 22, 42, 0.74);
  color: #bdd3f3;
}

.paw-cosmos .btn,
.paw-cosmos button {
  border-color: rgba(110, 152, 206, 0.42);
  background: rgba(9, 24, 46, 0.78);
  color: #dce9ff;
}

.paw-cosmos .btn.primary,
.paw-cosmos button.primary {
  border-color: rgba(113, 204, 255, 0.56);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.86), rgba(37, 99, 235, 0.86));
  color: #f2f9ff;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.34);
}

.paw-cosmos .notice {
  border-color: rgba(228, 188, 104, 0.46);
  background: linear-gradient(160deg, rgba(67, 43, 10, 0.62), rgba(47, 32, 12, 0.52));
  color: #f7dba8;
}

.paw-cosmos .entry-card,
.paw-cosmos .roadmap-item,
.paw-cosmos .matrix-grid article,
.paw-cosmos .item,
.paw-cosmos .live-tool-card,
.paw-cosmos .monitor-card,
.paw-cosmos .guide-hot-card,
.paw-cosmos .guide-road-grid article,
.paw-cosmos .tool,
.paw-cosmos .hero-main-card,
.paw-cosmos .hero-stat-card,
.paw-cosmos .tool-lane-switcher {
  border-color: rgba(105, 149, 208, 0.3);
  background: linear-gradient(170deg, rgba(8, 22, 42, 0.86) 0%, rgba(10, 26, 50, 0.84) 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.paw-cosmos textarea,
.paw-cosmos input,
.paw-cosmos select,
.paw-cosmos .dropzone,
.paw-cosmos .out {
  border-color: rgba(103, 150, 212, 0.42);
  background: rgba(8, 22, 42, 0.78);
  color: #dbe8ff;
}

.paw-cosmos textarea:focus,
.paw-cosmos input:focus,
.paw-cosmos select:focus {
  border-color: rgba(120, 223, 192, 0.58);
  box-shadow: 0 0 0 3px rgba(42, 178, 156, 0.22);
}

.paw-cosmos .live-tool-head span,
.paw-cosmos .file-meta,
.paw-cosmos .tool small,
.paw-cosmos .tutorial-card .meta {
  color: #8eafd8;
}

.landing-v3 {
  padding: 24px 0 8px;
}

.l3-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 14px;
}

.l3-hero-main {
  border: 1px solid #dbe3f1;
  border-radius: 28px;
  background:
    radial-gradient(680px 280px at 108% -12%, rgba(34, 197, 94, 0.17), transparent 70%),
    radial-gradient(420px 240px at -8% 2%, rgba(13, 148, 136, 0.18), transparent 74%),
    linear-gradient(160deg, #ffffff 0%, #f8fbff 56%, #f6fffc 100%);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.09);
  padding: 30px 28px;
}

.l3-kicker {
  display: inline-flex;
  margin: 0 0 10px;
  border: 1px solid #cae4df;
  border-radius: 999px;
  background: #f3fffb;
  color: #145f55;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
}

.l3-hero-main h1 {
  margin: 0;
  font: 700 clamp(34px, 4.6vw, 56px)/1.08 "STZhongsong", "Songti SC", "KaiTi", serif;
  color: #0f172a;
}

.l3-lead {
  margin: 12px 0 0;
  color: #475569;
  font-size: 15px;
  max-width: 760px;
}

.l3-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.l3-hero-panel {
  border: 1px solid #dbe3f1;
  border-radius: 24px;
  background:
    radial-gradient(340px 180px at 90% 8%, rgba(13, 148, 136, 0.16), transparent 75%),
    linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
  padding: 14px;
}

.l3-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
}

.l3-panel-grid article {
  border: 1px solid #dae5f2;
  border-radius: 16px;
  background: #ffffffcc;
  padding: 12px;
}

.l3-panel-grid strong {
  display: block;
  color: #0f766e;
  font-size: 24px;
  line-height: 1.1;
}

.l3-panel-grid span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
}

.l3-panel-grid p {
  margin: 8px 0 0;
  color: #52607a;
  font-size: 12px;
  line-height: 1.5;
}

.l3-routes,
.l3-tool-slab,
.l3-roadmap,
.l3-final {
  margin-top: 14px;
  border: 1px solid #dde6f2;
  border-radius: 24px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  padding: 16px;
}

.l3-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.l3-head p {
  margin: 8px 0 0;
  color: #52607a;
  font-size: 14px;
}

.l3-route-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.l3-route-card {
  border: 1px solid #d9e6f6;
  border-radius: 16px;
  background: linear-gradient(170deg, #ffffff 0%, #f5fffb 100%);
  padding: 13px;
}

.l3-route-card span {
  display: inline-flex;
  border: 1px solid #c4e5d8;
  border-radius: 999px;
  background: #ecfff7;
  color: #165f53;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
}

.l3-route-card h3 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

.l3-route-card p {
  margin: 8px 0 0;
  color: #5a677e;
  font-size: 13px;
}

.l3-route-card a {
  display: inline-block;
  margin-top: 10px;
  color: #0f766e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px dashed rgba(15, 118, 110, 0.45);
}

.l3-tools-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.l3-tools-grid article {
  border: 1px solid #dce7f4;
  border-radius: 16px;
  background: linear-gradient(175deg, #ffffff 0%, #f7fbff 100%);
  padding: 12px;
}

.l3-tools-grid h3 {
  margin: 0;
  font-size: 18px;
}

.l3-tools-grid ul {
  margin: 9px 0 0;
  padding-left: 18px;
  color: #52607a;
  font-size: 13px;
  line-height: 1.6;
}

.l3-road-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.l3-road-grid article {
  border: 1px solid #d8e6f6;
  border-radius: 16px;
  background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
  padding: 12px;
}

.l3-road-grid span {
  display: inline-flex;
  min-width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e8fff5;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 6px;
}

.l3-road-grid h3 {
  margin: 9px 0 0;
  font-size: 17px;
  line-height: 1.35;
}

.l3-road-grid p {
  margin: 7px 0 0;
  color: #52607a;
  font-size: 13px;
}

.l3-final {
  text-align: center;
  background:
    radial-gradient(420px 200px at 15% 12%, rgba(34, 197, 94, 0.12), transparent 75%),
    radial-gradient(400px 200px at 80% 7%, rgba(13, 148, 136, 0.12), transparent 75%),
    linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
}

.l3-final-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guide-hot-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guide-hot-card {
  border: 1px solid #d9e6f6;
  border-radius: 16px;
  background: linear-gradient(170deg, #ffffff 0%, #f8fcff 100%);
  padding: 13px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-topic {
  display: inline-flex;
  border: 1px solid #cbe4db;
  border-radius: 999px;
  background: #ecfff8;
  color: #165f53;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
}

.guide-hot-card h3 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.guide-hot-card p {
  margin: 8px 0 0;
  color: #52607a;
  font-size: 13px;
}

.guide-meta {
  margin-top: 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
}

.guide-road-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guide-road-grid article {
  border: 1px solid #d8e6f6;
  border-radius: 14px;
  background: #f9fcff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-road-grid span {
  display: inline-flex;
  min-width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e8fff5;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 6px;
}

.guide-road-grid h3 {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.3;
}

.guide-road-grid p {
  margin: 7px 0 0;
  color: #52607a;
  font-size: 13px;
}

.guide-hot-card .actions,
.guide-road-grid article .actions {
  margin-top: auto;
  padding-top: 12px;
}

.guide-pager {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-pager-btn {
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid #d4e1f1;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.guide-pager-btn:hover:not(:disabled) {
  border-color: #c0d3eb;
  background: #f8fbff;
}

.guide-pager-btn.active {
  border-color: #b5cae6;
  background: #eef6ff;
  color: #0f172a;
}

.guide-pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gh-toolbar {
  margin-top: 14px;
  padding: 14px;
}

.gh-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gh-filter-btn {
  border: 1px solid #d4e1f1;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
}

.gh-filter-btn.active {
  border-color: transparent;
  color: #06211d;
  background: linear-gradient(135deg, #00f5a8, #7bf9d3);
  box-shadow: 0 8px 16px rgba(0, 245, 168, 0.22);
}

.gh-search-row {
  margin-top: 10px;
}

.gh-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gh-tool-card {
  border: 1px solid #d8e6f6;
  border-radius: 16px;
  background: linear-gradient(170deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  padding: 13px;
}

.gh-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gh-tool-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.gh-tool-head span {
  border: 1px solid #cae4db;
  border-radius: 999px;
  background: #ecfff8;
  color: #165f53;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}

.gh-tool-card p {
  margin: 8px 0 0;
  color: #52607a;
  font-size: 13px;
}

.gh-meta {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gh-meta span {
  border: 1px solid #dae7f5;
  border-radius: 999px;
  background: #f4f9ff;
  color: #3b4d66;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}

.gh-tool-card a {
  display: inline-block;
  margin-top: 10px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15, 118, 110, 0.45);
}

.gh-no-result {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .spark-panels,
  .spark-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l3-hero,
  .l3-route-grid,
  .l3-tools-grid,
  .l3-road-grid,
  .xg-hero-grid,
  .xg-entry-grid,
  .guide-hot-grid,
  .guide-road-grid,
  .gh-tool-grid,
  .live-tool-grid,
  .monitor-grid {
    grid-template-columns: 1fr;
  }

  .l3-panel-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-v2,
  .quick-entry-grid,
  .roadmap-list,
  .matrix-grid,
  .tutorial-cards,
  .tutorial-content .card-list,
  .tool-grid,
  .tool-grid-hero,
  .grid,
  .out-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .first-home-stage {
    min-height: calc(100vh - 20px);
    border-radius: 10px;
  }

  .first-home-title {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .liquid-glass-btn {
    min-width: 162px;
    height: 50px;
    font-size: 17px;
    padding-inline: 24px;
  }

  .first-home-spark-shell {
    width: min(40rem, 90vw);
  }

  .spark-hero-panel,
  .spark-card,
  .spark-guides {
    padding: 13px;
    border-radius: 16px;
  }

  .spark-hero-content h1 {
    font-size: 36px;
  }

  .spark-panels,
  .spark-guide-grid {
    grid-template-columns: 1fr;
  }

  .landing-v3 {
    padding-top: 16px;
  }

  .l3-hero-main,
  .l3-hero-panel,
  .l3-routes,
  .l3-tool-slab,
  .l3-roadmap,
  .l3-final,
  .xg-hero-card,
  .xg-entry-card,
  .xg-topic-board,
  .xg-monitor-card {
    padding: 13px;
    border-radius: 16px;
  }

  .l3-hero-main h1 {
    font-size: 34px;
  }

  .l3-head h2 {
    font-size: 22px;
  }

  .topbar-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .brand {
    font-size: 22px;
  }

  .nav a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .hero,
  .section,
  .hero-main-card {
    padding: 14px;
  }

  .hero-main-card h1 {
    font-size: 38px;
  }

  .xg-hero-card h1 {
    font-size: 34px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .section h2,
  .section-head h2,
  .entry-card h2 {
    font-size: 20px;
  }

  .row,
  .row3,
  .out-grid {
    grid-template-columns: 1fr;
  }

  .lane-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lane-btn {
    width: 100%;
  }
}

/* Liquid glass runtime host (powered by rdev/liquid-glass-react) */
.paw-liquid-glass-card {
  position: relative;
  overflow: hidden;
}

.paw-liquid-glass-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.paw-liquid-glass-host.is-ready {
  opacity: 1;
}

.paw-liquid-glass-layer {
  pointer-events: none !important;
  filter: saturate(0.92) brightness(0.9);
  opacity: 0.96;
}

.paw-liquid-glass-layer,
.paw-liquid-glass-layer *,
.paw-liquid-glass-host .glass {
  transition: none !important;
  animation: none !important;
}

.paw-liquid-glass-host * {
  transition: none !important;
  animation: none !important;
}

.paw-liquid-glass-card > *:not(.paw-liquid-glass-host) {
  position: relative;
  z-index: 2;
}

/* Transparent reset: disable dynamic glass and reduce blue mask */
.xg-bg-layer,
.paw-liquid-glass-host {
  display: none !important;
}

.xg-cursor-glow {
  display: block !important;
  background: radial-gradient(circle, rgba(148, 199, 255, 0.24) 0%, rgba(148, 199, 255, 0.03) 62%, transparent 100%) !important;
}

.paw-cosmos .topbar::after {
  display: none !important;
}

.first-home-radial-mask {
  background:
    radial-gradient(
      ellipse 70% 58% at 50% 50%,
      rgba(0, 0, 0, 0) 34%,
      rgba(0, 0, 0, 0.16) 56%,
      rgba(0, 0, 0, 0.46) 74%,
      rgba(0, 0, 0, 0.9) 100%
    ) !important;
}

.liquid-glass-btn,
.liquid-glass-btn:hover,
.liquid-glass-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

.liquid-glass-btn::before,
.liquid-glass-btn::after,
.liquid-glass-btn__caustic {
  display: none !important;
}

.paw-cosmos :is(
  .hero,
  .section,
  .feature-card,
  .card,
  .home-card,
  .entry-card,
  .roadmap-item,
  .matrix-grid > article,
  .item,
  .live-tool-card,
  .monitor-card,
  .guide-hot-card,
  .guide-road-grid > article,
  .tool,
  .hero-main-card,
  .hero-stat-card,
  .tool-lane-switcher,
  .spark-hero-panel,
  .spark-card,
  .spark-guides,
  .gh-tool-card,
  .l3-hero-main,
  .l3-hero-panel,
  .l3-routes,
  .l3-tool-slab,
  .l3-roadmap,
  .l3-final,
  .l3-route-card,
  .l3-tools-grid > article,
  .l3-road-grid > article,
  .tutorial-main,
  .tutorial-content,
  .tilt-card
) {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: rgba(170, 183, 201, 0.34) !important;
}

/* Neutral dark palette override (reduce blue density) */
.paw-spark-home {
  background: linear-gradient(180deg, #000000 0%, #05070b 52%, #080b11 100%) !important;
  color: #e5e7eb !important;
}

.paw-spark-home .topbar {
  border-bottom-color: rgba(145, 158, 176, 0.22) !important;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.95) 0%, rgba(6, 8, 12, 0.9) 100%) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42) !important;
}

.paw-spark-home .nav {
  border-color: rgba(136, 150, 170, 0.28) !important;
  background: rgba(10, 12, 16, 0.82) !important;
}

.paw-spark-home .nav a {
  color: #cfd6df !important;
}

.paw-spark-home .nav a:hover {
  border-color: rgba(168, 178, 194, 0.4) !important;
  background: rgba(22, 24, 30, 0.75) !important;
}

.paw-spark-home .nav a.active {
  border-color: rgba(186, 196, 210, 0.55) !important;
  color: #f5f7fa !important;
  background: rgba(28, 31, 38, 0.7) !important;
  box-shadow: none !important;
}

.paw-cosmos .btn.primary,
.paw-cosmos button.primary {
  border-color: rgba(178, 189, 203, 0.48) !important;
  background: rgba(34, 38, 46, 0.86) !important;
  color: #f2f4f7 !important;
  box-shadow: none !important;
}

/* De-blue override: keep cursor glow, neutralize the rest */
body {
  background-image:
    radial-gradient(740px 300px at -8% -12%, rgba(158, 169, 184, 0.08), transparent 72%),
    radial-gradient(900px 340px at 105% -10%, rgba(148, 160, 176, 0.08), transparent 74%),
    linear-gradient(rgba(180, 190, 204, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 190, 204, 0.035) 1px, transparent 1px) !important;
}

.paw-cosmos,
.paw-spark-home {
  color: #e6e8ed !important;
}

.paw-cosmos .topbar,
.paw-spark-home .topbar {
  border-bottom-color: rgba(146, 156, 170, 0.24) !important;
  background: linear-gradient(180deg, rgba(10, 11, 15, 0.95) 0%, rgba(7, 8, 11, 0.92) 100%) !important;
}

.paw-cosmos .brand span,
.paw-spark-home .brand span {
  background: linear-gradient(180deg, #ffffff 0%, #e6ebf3 58%, #c9d1dc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 0 10px rgba(192, 200, 212, 0.2) !important;
}

.paw-cosmos .nav,
.paw-spark-home .nav {
  border-color: rgba(136, 148, 164, 0.28) !important;
  background: rgba(12, 14, 19, 0.84) !important;
  box-shadow: inset 0 1px 0 rgba(216, 222, 232, 0.08) !important;
}

.paw-cosmos .nav a,
.paw-spark-home .nav a {
  color: #cfd6df !important;
}

.paw-cosmos .nav a:hover,
.paw-spark-home .nav a:hover {
  border-color: rgba(162, 172, 186, 0.44) !important;
  background: rgba(24, 27, 34, 0.72) !important;
}

.paw-cosmos .nav a.active,
.paw-spark-home .nav a.active {
  border-color: rgba(188, 198, 212, 0.56) !important;
  background: rgba(31, 35, 44, 0.72) !important;
  color: #f4f6fa !important;
  box-shadow: none !important;
}

.paw-cosmos :is(
  .hero,
  .section,
  .feature-card,
  .card,
  .home-card,
  .entry-card,
  .roadmap-item,
  .matrix-grid > article,
  .item,
  .live-tool-card,
  .monitor-card,
  .guide-hot-card,
  .guide-road-grid > article,
  .tool,
  .hero-main-card,
  .hero-stat-card,
  .tool-lane-switcher,
  .spark-hero-panel,
  .spark-card,
  .spark-guides,
  .gh-tool-card,
  .l3-hero-main,
  .l3-hero-panel,
  .l3-routes,
  .l3-tool-slab,
  .l3-roadmap,
  .l3-final,
  .l3-route-card,
  .l3-tools-grid > article,
  .l3-road-grid > article,
  .tutorial-main,
  .tutorial-content,
  .tilt-card
) {
  border-color: rgba(156, 167, 183, 0.34) !important;
}

.paw-cosmos .btn,
.paw-cosmos button {
  border-color: rgba(162, 173, 188, 0.4) !important;
  background: rgba(23, 26, 32, 0.8) !important;
  color: #e5e8ee !important;
}

.paw-cosmos .btn.primary,
.paw-cosmos button.primary {
  border-color: rgba(176, 186, 198, 0.5) !important;
  background: rgba(36, 40, 48, 0.9) !important;
  color: #f2f4f8 !important;
  box-shadow: none !important;
}

.paw-cosmos .spark-layer-a,
.paw-cosmos .spark-layer-b {
  filter: grayscale(1) saturate(0.12) brightness(0.9) !important;
}

.paw-spark-home .spark-hero-panel,
.paw-spark-home .spark-card,
.paw-spark-home .spark-guides,
.paw-spark-home .spark-guide-item {
  background: linear-gradient(170deg, rgba(12, 14, 18, 0.9) 0%, rgba(14, 16, 21, 0.86) 100%) !important;
  border-color: rgba(154, 166, 184, 0.34) !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important;
}

.paw-spark-home .spark-kicker,
.paw-spark-home .spark-tags span {
  background: rgba(22, 25, 32, 0.7) !important;
  border-color: rgba(160, 172, 190, 0.5) !important;
  color: #d5dde8 !important;
}

.paw-spark-home .spark-hero-content p,
.paw-spark-home .spark-card p,
.paw-spark-home .spark-card ul,
.paw-spark-home .spark-guide-item p,
.paw-spark-home .section-head p,
.paw-spark-home footer {
  color: #b8c0cc !important;
}

.paw-spark-home .spark-card h2,
.paw-spark-home .spark-guide-item h3,
.paw-spark-home .section-head h2,
.paw-spark-home .spark-hero-content h1 {
  color: #eef1f5 !important;
}

.paw-spark-home .spark-guide-item:hover {
  border-color: rgba(184, 194, 208, 0.56) !important;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34) !important;
}

.first-home-spark-shell {
  width: min(68rem, 98vw) !important;
  height: 18.5rem !important;
  margin-top: -52px !important;
}

.first-home-particles {
  -webkit-mask-image: radial-gradient(
    ellipse 64% 58% at 50% 50%,
    rgba(0, 0, 0, 1) 34%,
    rgba(0, 0, 0, 0.68) 54%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.06) 84%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 64% 58% at 50% 50%,
    rgba(0, 0, 0, 1) 34%,
    rgba(0, 0, 0, 0.68) 54%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.06) 84%,
    transparent 100%
  );
}

.first-home-title {
  background: linear-gradient(180deg, #ffffff 0%, #e9edf4 56%, #c9d1dd 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 0 12px rgba(204, 212, 223, 0.26) !important;
}

.first-home-line-indigo-blur {
  background: linear-gradient(90deg, transparent, rgba(184, 194, 210, 0.72), transparent) !important;
}

.first-home-line-indigo {
  background: linear-gradient(90deg, transparent, rgba(198, 208, 223, 0.82), transparent) !important;
}

.quick-seq-box {
  display: grid;
  gap: 14px;
}

.quick-seq-input {
  width: 100%;
  border: 1px solid rgba(96, 139, 205, 0.48);
  border-radius: 12px;
  background: rgba(6, 18, 36, 0.66);
  color: #e4efff;
  padding: 12px 13px;
  resize: vertical;
  font: 500 14px/1.6 "Consolas", "Menlo", "Monaco", monospace;
}

.quick-seq-input:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.quick-seq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-seq-out {
  margin: 0;
  white-space: pre-wrap;
  border: 1px solid rgba(95, 139, 205, 0.4);
  border-radius: 12px;
  background: rgba(8, 20, 39, 0.68);
  padding: 12px 13px;
  color: #cfe3ff;
  min-height: 120px;
  font: 500 13px/1.55 "Consolas", "Menlo", "Monaco", monospace;
}

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

.wb-card {
  border: 1px solid rgba(92, 136, 199, 0.36);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(9, 20, 39, 0.86) 0%, rgba(6, 14, 30, 0.82) 100%);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.wb-card-wide {
  grid-column: span 2;
}

.wb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wb-head h2 {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 21px);
}

.wb-head span {
  border: 1px solid rgba(96, 145, 214, 0.4);
  background: rgba(10, 24, 44, 0.7);
  color: #b9d7ff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.wb-input {
  width: 100%;
  border: 1px solid rgba(96, 139, 205, 0.44);
  border-radius: 12px;
  background: rgba(7, 18, 36, 0.66);
  color: #e4efff;
  padding: 12px 13px;
  resize: vertical;
  min-height: 130px;
  font: 500 13px/1.6 "Consolas", "Menlo", "Monaco", monospace;
}

.wb-input:focus,
.wb-inline-fields input:focus,
.wb-inline-fields select:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.82);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.22);
}

.wb-controls {
  display: grid;
  gap: 8px;
}

.wb-meta {
  color: #9ec0ea;
  font-size: 13px;
}

.wb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wb-inline-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wb-inline-fields label {
  display: grid;
  gap: 6px;
  color: #bad3f3;
  font-size: 13px;
  font-weight: 700;
}

.wb-inline-fields input,
.wb-inline-fields select {
  width: 100%;
  border: 1px solid rgba(96, 139, 205, 0.44);
  border-radius: 10px;
  background: rgba(8, 20, 39, 0.7);
  color: #dbe9fc;
  padding: 8px 10px;
  font-size: 13px;
}

.wb-out {
  margin: 0;
  min-height: 94px;
  white-space: pre-wrap;
  border: 1px solid rgba(95, 139, 205, 0.4);
  border-radius: 12px;
  background: rgba(8, 20, 39, 0.68);
  padding: 12px 13px;
  color: #d0e4ff;
  font: 500 13px/1.55 "Consolas", "Menlo", "Monaco", monospace;
}

.wb-chart {
  width: 100%;
  height: 260px;
  border: 1px solid rgba(92, 136, 199, 0.38);
  border-radius: 12px;
  background: rgba(7, 18, 36, 0.62);
}

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

  .wb-card-wide {
    grid-column: span 1;
  }
}

@media (max-width: 860px) {
  .wb-inline-fields {
    grid-template-columns: 1fr;
  }

  .quick-seq-actions,
  .wb-actions {
    flex-direction: column;
  }
}

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

.svgx-card {
  border: 1px solid rgba(92, 136, 199, 0.36);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(9, 20, 39, 0.86) 0%, rgba(6, 14, 30, 0.82) 100%);
  padding: 14px;
}

.svgx-panel {
  display: grid;
  gap: 12px;
}

.svgx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.svgx-head h2 {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 21px);
}

.svgx-head span {
  border: 1px solid rgba(96, 145, 214, 0.4);
  background: rgba(10, 24, 44, 0.7);
  color: #b9d7ff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.svgx-controls {
  display: grid;
  gap: 8px;
}

.svgx-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.svgx-kpi {
  border: 1px solid rgba(101, 149, 214, 0.34);
  border-radius: 10px;
  background: rgba(9, 21, 41, 0.72);
  padding: 8px 10px;
  display: grid;
  gap: 3px;
}

.svgx-kpi small {
  color: #95b8e6;
  font-size: 12px;
}

.svgx-kpi strong {
  color: #ebf5ff;
  font-size: 18px;
  line-height: 1;
}

.svgx-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.svgx-slider-grid label {
  display: grid;
  gap: 6px;
  color: #bad3f3;
  font-size: 13px;
  font-weight: 700;
}

.svgx-slider-grid output {
  margin-left: 4px;
  color: #d7e9ff;
}

.svgx-slider-grid input[type="range"] {
  width: 100%;
}

.svgx-selected-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.svgx-selected-meta > div {
  border: 1px solid rgba(101, 149, 214, 0.34);
  border-radius: 10px;
  background: rgba(9, 21, 41, 0.72);
  padding: 8px 10px;
  font-size: 12px;
  color: #9fc2ed;
}

.svgx-selected-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #e9f3ff;
  word-break: break-all;
}

.svgx-text-edit {
  display: grid;
  gap: 6px;
  color: #bad3f3;
  font-size: 13px;
  font-weight: 700;
}

.svgx-text-edit input {
  width: 100%;
  border: 1px solid rgba(96, 139, 205, 0.44);
  border-radius: 10px;
  background: rgba(8, 20, 39, 0.7);
  color: #dbe9fc;
  padding: 8px 10px;
  font-size: 13px;
}

.svgx-nudge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.svgx-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.svgx-zoom-label {
  border: 1px solid rgba(95, 145, 214, 0.36);
  border-radius: 10px;
  background: rgba(8, 20, 40, 0.7);
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b8d2f3;
}

.svgx-zoom-label input[type="range"] {
  width: 160px;
}

.svgx-zoom-label output {
  color: #e9f2ff;
  font-weight: 700;
  min-width: 48px;
  text-align: right;
}

.svgx-canvas-wrap {
  border: 1px solid rgba(92, 136, 199, 0.38);
  border-radius: 14px;
  background: rgba(7, 18, 36, 0.62);
  padding: 8px;
}

.svgx-canvas {
  width: 100%;
  min-height: 560px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(4, 10, 20, 0.96);
  position: relative;
  cursor: default;
}

.svgx-canvas.is-pan {
  cursor: grab;
}

.svgx-canvas svg {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
}

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

  .svgx-slider-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .svgx-selected-meta {
    grid-template-columns: 1fr;
  }

  .svgx-kpi-grid {
    grid-template-columns: 1fr;
  }

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

  .svgx-zoom-label {
    justify-content: space-between;
  }
}
