﻿:root {
  --bg: #071513;
  --panel: #0d211d;
  --panel-2: #102b25;
  --ink: #0f231e;
  --text: #eef8f3;
  --muted: #8da39c;
  --muted-dark: #5d6f69;
  --line: rgba(145, 180, 166, 0.22);
  --green: #42c57f;
  --green-2: #17865c;
  --gold: #d7ae55;
  --paper: #f5f8f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--text);
  background: rgba(7, 21, 19, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
}

.site-header .brand .brand-mark {
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 1px solid rgba(180, 238, 190, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 42% 34%, rgba(248, 255, 226, 0.42), rgba(115, 209, 135, 0.18) 45%, rgba(15, 59, 47, 0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.16);
}

.site-header .brand .brand-copy {
  display: grid;
  gap: 1px;
}

.site-header .brand .brand-copy strong {
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.site-header .brand .brand-copy small {
  color: rgba(238, 248, 243, 0.58);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: rgba(238, 248, 243, 0.78);
  font-size: 15px;
  white-space: nowrap;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(66, 197, 127, 0.6);
  border-radius: 999px;
  color: var(--text);
  background: rgba(66, 197, 127, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding: clamp(82px, 10vw, 138px) clamp(20px, 5vw, 72px) clamp(72px, 9vw, 118px);
  color: var(--text);
  background:
    radial-gradient(circle at 78% 26%, rgba(66, 197, 127, 0.26), transparent 32%),
    radial-gradient(circle at 18% 75%, rgba(215, 174, 85, 0.16), transparent 30%),
    linear-gradient(135deg, #06110f 0%, #0b201c 48%, #071513 100%);
}

.short-hero {
  min-height: calc(100vh - 168px);
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(54px, 7vw, 86px);
}

.short-hero h1 span {
  display: block;
}

.logo-lab {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 12%, rgba(66, 197, 127, 0.13), transparent 28%),
    rgba(7, 21, 19, 0.96);
}

.logo-lab-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.logo-lab-copy p {
  margin-bottom: 0;
  color: rgba(238, 248, 243, 0.66);
  font-size: 15px;
}

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

.logo-option {
  min-height: 132px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(238, 248, 243, 0.14);
  border-radius: 18px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.logo-option:hover,
.logo-option.active {
  transform: translateY(-2px);
  border-color: rgba(66, 197, 127, 0.72);
  background: rgba(66, 197, 127, 0.12);
}

.logo-option img {
  width: 64px;
  height: 64px;
}

.logo-option span,
.logo-option strong,
.logo-option small {
  display: block;
}

.logo-option strong {
  margin-bottom: 5px;
  font-size: 16px;
}

.logo-option small {
  color: rgba(238, 248, 243, 0.58);
  font-size: 13px;
  line-height: 1.45;
}

.logo-lab-large-link {
  justify-self: end;
  color: var(--green);
  font-weight: 700;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 88%);
  pointer-events: none;
}

.hero-copy,
.hero-panel,
section {
  position: relative;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.3vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  color: rgba(238, 248, 243, 0.74);
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #062019;
  background: linear-gradient(135deg, #6ee69d, #d7ae55);
}

.button.secondary {
  color: var(--text);
  border: 1px solid rgba(238, 248, 243, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button.light {
  color: #073024;
  border-color: transparent;
  background: #fff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 46px;
}

.metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.metrics span {
  color: rgba(238, 248, 243, 0.62);
  font-size: 14px;
}

.home-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.home-link-grid a {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(238, 248, 243, 0.16);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.home-link-grid strong,
.home-link-grid span {
  display: block;
}

.home-link-grid strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.home-link-grid span {
  color: rgba(238, 248, 243, 0.62);
  font-size: 14px;
}

.hero-panel {
  isolation: isolate;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-stage {
  position: relative;
  z-index: 4;
  width: min(330px, 68vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 34%, rgba(252, 255, 224, 0.55), rgba(194, 238, 156, 0.32) 28%, rgba(82, 184, 111, 0.22) 48%, rgba(8, 55, 43, 0.38) 72%),
    radial-gradient(circle at 62% 70%, rgba(213, 174, 85, 0.24), transparent 42%),
    linear-gradient(145deg, rgba(237, 255, 220, 0.14), rgba(8, 44, 36, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -30px 60px rgba(0, 52, 39, 0.22),
    0 36px 90px rgba(0, 0, 0, 0.3),
    0 20px 52px rgba(48, 172, 98, 0.16);
  animation: logoFloat 6.8s ease-in-out infinite;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 46%, rgba(89, 218, 137, 0.28), transparent 52%),
    radial-gradient(circle at 64% 76%, rgba(215, 174, 85, 0.18), transparent 42%);
  filter: blur(20px);
}

.logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(218, 244, 178, 0.28);
  box-shadow:
    inset 0 0 32px rgba(246, 255, 220, 0.12),
    0 0 44px rgba(66, 197, 127, 0.12);
  pointer-events: none;
}

.logo-stage img {
  position: relative;
  z-index: 3;
  width: 86%;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 34px 40px rgba(0, 0, 0, 0.34))
    drop-shadow(0 14px 22px rgba(16, 92, 58, 0.24));
}

.logo-halo {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.halo-one {
  inset: 8%;
  border: 1px solid rgba(215, 174, 85, 0.22);
  animation: ringPulse 6s ease-in-out infinite;
}

.halo-two {
  inset: 18%;
  border: 1px solid rgba(66, 197, 127, 0.22);
  animation: slowSpin 14s linear infinite;
}

.orbit {
  position: absolute;
  width: min(520px, 82vw);
  aspect-ratio: 1;
  z-index: 1;
  border: 1px solid rgba(23, 134, 92, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(66, 197, 127, 0.14), transparent 62%),
    conic-gradient(from 30deg, transparent, rgba(215, 174, 85, 0.2), transparent 30%, rgba(66, 197, 127, 0.24), transparent 64%);
  animation: slowSpin 20s linear infinite;
}

.growth-field {
  position: absolute;
  z-index: 2;
  width: min(580px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.growth-ring {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(23, 134, 92, 0.18);
  border-radius: 50%;
  animation: ringPulse 5.6s ease-in-out infinite;
}

.ring-two {
  inset: 16%;
  border-color: rgba(215, 174, 85, 0.2);
  animation-delay: 1.4s;
}

.light-sweep {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: conic-gradient(from 215deg, transparent 0 35%, rgba(255, 248, 205, 0.65) 41%, rgba(91, 203, 130, 0.24) 47%, transparent 56% 100%);
  filter: blur(1px);
  opacity: 0.72;
  animation: slowSpin 9s linear infinite;
}

.stem {
  position: absolute;
  left: 50%;
  bottom: 19%;
  width: 4px;
  height: 185px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 168, 98, 0.04), rgba(42, 168, 98, 0.76));
  transform-origin: bottom center;
  animation: stemGrow 3.2s ease-out both, stemBreathe 4.6s ease-in-out 3.2s infinite;
}

.stem-main {
  transform: translateX(-50%) rotate(-5deg);
}

.stem-left {
  height: 142px;
  bottom: 30%;
  transform: translateX(-50%) rotate(-48deg);
  animation-delay: 0.35s, 3.4s;
}

.stem-right {
  height: 150px;
  bottom: 31%;
  transform: translateX(-50%) rotate(46deg);
  animation-delay: 0.55s, 3.6s;
}

.leaf {
  position: absolute;
  width: 54px;
  height: 30px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(95, 208, 133, 0.72), rgba(23, 134, 92, 0.22));
  box-shadow: 0 12px 34px rgba(29, 128, 78, 0.16);
  transform: scale(0) rotate(-24deg);
  animation: leafOpen 3.8s ease-out both, leafFloat 5s ease-in-out 3.8s infinite;
}

.leaf-one {
  left: 33%;
  top: 31%;
  animation-delay: 0.7s, 4s;
}

.leaf-two {
  right: 30%;
  top: 36%;
  transform: scale(0) rotate(120deg);
  animation-delay: 1.05s, 4.2s;
}

.leaf-three {
  right: 41%;
  top: 18%;
  width: 44px;
  height: 25px;
  animation-delay: 1.35s, 4.4s;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7ae55;
  box-shadow: 0 0 22px rgba(215, 174, 85, 0.68);
  opacity: 0;
  animation: sparkRise 4.8s ease-in-out infinite;
}

.spark-one {
  left: 27%;
  bottom: 36%;
}

.spark-two {
  right: 24%;
  bottom: 45%;
  animation-delay: 1.2s;
}

.spark-three {
  left: 53%;
  top: 22%;
  animation-delay: 2.2s;
}

.signal-card {
  position: absolute;
  z-index: 3;
  min-width: 108px;
  padding: 11px 14px;
  border: 1px solid rgba(238, 248, 243, 0.22);
  border-radius: 10px;
  color: rgba(238, 248, 243, 0.88);
  background: rgba(10, 33, 28, 0.68);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.signal-a {
  top: 66px;
  right: 38px;
}

.signal-b {
  left: 10px;
  bottom: 130px;
}

.signal-c {
  right: 44px;
  bottom: 64px;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringPulse {
  0%, 100% {
    opacity: 0.46;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes stemGrow {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes stemBreathe {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(66, 197, 127, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(66, 197, 127, 0.32));
  }
}

@keyframes leafOpen {
  from {
    opacity: 0;
    transform: scale(0) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-18deg);
  }
}

@keyframes leafFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes sparkRise {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.6);
  }
  22% {
    opacity: 1;
  }
  72% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translateY(-46px) scale(1.1);
  }
}

section {
  padding: clamp(68px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.matrix-section,
.agent-solutions,
.model-market,
.model-entry,
.why,
.developer-section,
.pricing-section,
.contact {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(22px, 4vw, 64px);
  margin-bottom: 34px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 18px;
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p {
  margin-top: 16px;
}

.product-grid,
.why-grid,
.scene-grid,
.plan-grid {
  display: grid;
  gap: 18px;
}

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

.product-grid article,
.why-grid article,
.scene-grid article,
.plan-grid article {
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background: #fff;
}

.product-grid article {
  min-height: 300px;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  border-radius: 12px;
  color: #0a3025;
  background: linear-gradient(135deg, rgba(66, 197, 127, 0.32), rgba(215, 174, 85, 0.32));
  font-weight: 800;
}

.product-grid p,
.why-grid p,
.scene-grid p,
.plan-grid p {
  color: var(--muted-dark);
}

.product-grid a {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-2);
  font-weight: 700;
}

.agent-solutions {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

.agent-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

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

.agent-card-grid article,
.agent-workflow-card {
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.agent-card-grid article {
  min-height: 260px;
  padding: 28px;
}

.agent-card-grid .card-index {
  margin-bottom: 32px;
}

.agent-card-grid p,
.agent-workflow-card p,
.agent-workflow-card span {
  color: var(--muted-dark);
}

.agent-workflow-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  color: var(--ink);
}

.agent-workflow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(66, 197, 127, 0.2), transparent 32%),
    radial-gradient(circle at 16% 92%, rgba(215, 174, 85, 0.18), transparent 34%);
  pointer-events: none;
}

.agent-workflow-card > * {
  position: relative;
}

.agent-workflow-card ol {
  display: grid;
  gap: 18px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.agent-workflow-card li {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 3px solid rgba(66, 197, 127, 0.52);
}

.agent-workflow-card strong,
.agent-workflow-card span {
  display: block;
}

.agent-workflow-card strong {
  color: var(--ink);
}

.promo-video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 26%, rgba(66, 197, 127, 0.2), transparent 34%),
    radial-gradient(circle at 16% 78%, rgba(215, 174, 85, 0.16), transparent 30%),
    linear-gradient(135deg, #06110f 0%, #0d211d 54%, #071513 100%);
}

.promo-video-copy p {
  max-width: 720px;
  color: rgba(238, 248, 243, 0.72);
  font-size: 18px;
}

.video-script-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.video-script-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(238, 248, 243, 0.14);
  border-radius: 14px;
  color: rgba(238, 248, 243, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.promo-video-card {
  padding: 18px;
  border: 1px solid rgba(238, 248, 243, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.promo-video {
  display: block;
  width: 100%;
  border-radius: 18px;
  background: #071513;
  aspect-ratio: 16 / 9;
}

.promo-video-card p {
  margin: 14px 4px 2px;
  color: rgba(238, 248, 243, 0.66);
  font-size: 14px;
}

.logo-preview-page {
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(66, 197, 127, 0.18), transparent 30%),
    linear-gradient(135deg, #06110f 0%, #0d211d 48%, #071513 100%);
}

.logo-preview-shell {
  min-height: 100vh;
  padding: clamp(34px, 5vw, 72px);
}

.logo-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.logo-preview-header h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 5vw, 70px);
}

.logo-preview-header p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(238, 248, 243, 0.68);
  font-size: 18px;
}

.logo-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
}

.logo-preview-grid article {
  padding: 24px;
  border: 1px solid rgba(238, 248, 243, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.logo-preview-canvas {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 248, 243, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.045) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.045) 75%),
    rgba(7, 21, 19, 0.82);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}

.logo-preview-canvas img {
  width: min(360px, 82%);
  height: auto;
}

.logo-preview-grid h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 26px;
}

.logo-preview-grid p {
  margin-bottom: 0;
  color: rgba(238, 248, 243, 0.66);
}

.logo-scale-preview {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(238, 248, 243, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.logo-scale-preview h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.logo-scale-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.logo-scale-row div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(238, 248, 243, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.logo-scale-row img {
  width: 48px;
  height: 48px;
}

.logo-scale-row span {
  color: rgba(238, 248, 243, 0.72);
  font-size: 14px;
}

.model-market {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

.model-entry {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

.model-entry-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  padding: 28px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.model-entry-card strong,
.model-entry-card span {
  display: block;
}

.model-entry-card strong {
  margin-bottom: 6px;
  color: #0f2a23;
  font-size: 22px;
}

.model-entry-card span {
  color: var(--muted-dark);
}

.model-entry-note {
  max-width: 980px;
  margin: 16px 0 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.model-entry .model-summary,
.model-entry .model-grid,
.model-entry .model-note {
  display: none;
}

.model-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.model-summary span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 14px;
  color: #14382e;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 14px 34px rgba(17, 48, 38, 0.06);
}

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

.model-card {
  min-height: 268px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 249, 0.96)),
    #fff;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.model-top,
.model-meta,
.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.model-top {
  justify-content: space-between;
  margin-bottom: 18px;
}

.provider,
.type,
.model-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.provider {
  color: #073024;
  background: rgba(66, 197, 127, 0.17);
}

.provider.deepseek {
  color: #11305f;
  background: rgba(92, 132, 224, 0.16);
}

.provider.zhipu,
.provider.hunyuan {
  color: #2c205e;
  background: rgba(120, 96, 206, 0.16);
}

.provider.doubao,
.provider.kling,
.provider.vidu {
  color: #5d3511;
  background: rgba(215, 174, 85, 0.18);
}

.provider.qwen,
.provider.moonshot {
  color: #0a3c58;
  background: rgba(74, 169, 204, 0.16);
}

.provider.minimax,
.provider.xiaomi {
  color: #14382e;
  background: rgba(66, 197, 127, 0.16);
}

.type {
  color: #124235;
  border: 1px solid rgba(66, 197, 127, 0.24);
  background: rgba(66, 197, 127, 0.08);
}

.type.video {
  color: #5d3511;
  border-color: rgba(215, 174, 85, 0.28);
  background: rgba(215, 174, 85, 0.1);
}

.type.image {
  color: #384012;
  border-color: rgba(153, 180, 57, 0.28);
  background: rgba(153, 180, 57, 0.1);
}

.model-card h3 {
  min-height: 58px;
  margin-bottom: 12px;
  color: #0f2a23;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.model-card p {
  margin-bottom: 18px;
  color: var(--muted-dark);
  font-size: 15px;
}

.model-meta {
  margin-top: auto;
  margin-bottom: 12px;
}

.model-meta span {
  color: rgba(15, 35, 30, 0.72);
  background: rgba(15, 35, 30, 0.06);
}

.price-line {
  padding-top: 14px;
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

.price-line strong {
  color: #0d3327;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.model-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(21, 69, 54, 0.12);
  border-radius: 14px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.model-square-page {
  min-height: 100vh;
  color: #17233d;
  background:
    linear-gradient(90deg, rgba(238, 244, 255, 0.9), rgba(251, 253, 255, 0.96) 24%, #f7f9fc 100%);
}

.market-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.market-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 28px 18px;
  border-right: 1px solid rgba(120, 132, 170, 0.14);
  background:
    radial-gradient(circle at 30% 8%, rgba(125, 105, 255, 0.1), transparent 34%),
    rgba(248, 250, 255, 0.92);
}

.market-brand {
  display: block;
  max-width: 210px;
  margin: 0 0 24px;
}

.market-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.market-menu {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.market-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  color: #69738f;
  font-size: 15px;
  font-weight: 700;
}

.market-menu a.active,
.market-menu a:hover {
  color: #2e2d8f;
  background: #fff;
  box-shadow: 0 12px 32px rgba(56, 64, 110, 0.08);
}

.filter-panel {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(39, 51, 94, 0.08);
}

.filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.filter-title strong {
  color: #1e2741;
  font-size: 18px;
}

.filter-title button,
.market-toolbar button,
.card-tools button {
  border: 0;
  color: #7b83a0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.filter-panel section {
  padding: 12px 0 8px;
}

.filter-panel section + section {
  border-top: 1px solid rgba(120, 132, 170, 0.12);
}

.filter-panel h2 {
  margin-bottom: 10px;
  color: #1e2741;
  font-size: 14px;
  line-height: 1.2;
}

.filter-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

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

.filter-pills button {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(120, 132, 170, 0.12);
  border-radius: 10px;
  color: #56617d;
  background: #f8f9fd;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-pills button.selected {
  color: #4b42e8;
  border-color: rgba(92, 79, 255, 0.34);
  background: rgba(92, 79, 255, 0.08);
}

.filter-pills span {
  color: #8a91a8;
  font-size: 12px;
}

.market-main {
  min-width: 0;
  padding: 40px clamp(24px, 3.4vw, 48px) 46px;
}

.market-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  margin-bottom: 26px;
  padding: 20px 24px;
  border: 1px solid rgba(120, 132, 170, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(100deg, rgba(226, 249, 255, 0.88), rgba(247, 242, 255, 0.9));
}

.market-topbar p {
  margin-bottom: 4px;
  color: #6f78a0;
  font-size: 14px;
}

.market-topbar strong {
  color: #17233d;
  font-size: 22px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.topbar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: #302b83;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(56, 64, 110, 0.08);
}

.market-tabs {
  display: flex;
  gap: 34px;
  margin-bottom: 18px;
  padding-left: 4px;
  color: #69738f;
  font-size: 18px;
  font-weight: 800;
}

.market-tabs a {
  position: relative;
  padding-bottom: 10px;
}

.market-tabs a.active {
  color: #1e2741;
}

.market-tabs a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: #6a53ff;
  transform: translateX(-50%);
}

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.market-toolbar strong {
  color: #3b4564;
}

.market-search {
  width: min(360px, 100%);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(56, 64, 110, 0.06);
}

.market-search span {
  color: #9098ad;
  font-size: 13px;
  font-weight: 700;
}

.market-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #17233d;
  font: inherit;
  background: transparent;
}

.market-toolbar button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  color: #4e57d8;
  background: #fff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(56, 64, 110, 0.06);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature-model,
.square-model-card {
  min-width: 0;
  border: 1px solid rgba(120, 132, 170, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(56, 64, 110, 0.07);
}

.feature-model {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 25%, rgba(76, 221, 255, 0.75), transparent 25%),
    radial-gradient(circle at 78% 20%, rgba(129, 89, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #2447b8, #55b7f5 58%, #8664ff);
}

.feature-model h2,
.feature-model p,
.feature-model strong,
.feature-model span {
  position: relative;
  z-index: 2;
}

.feature-model span {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.feature-model h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.feature-model p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.feature-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.55) 45%, transparent 54% 100%);
  opacity: 0.6;
}

.square-model-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.square-card-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.model-logo {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #6a53ff;
  font-size: 13px;
  font-weight: 900;
}

.model-logo.deepseek { background: linear-gradient(135deg, #5577ff, #7e9cff); }
.model-logo.glm { background: linear-gradient(135deg, #4f66ff, #7a55ff); }
.model-logo.doubao { background: linear-gradient(135deg, #19c1f0, #6a53ff); }
.model-logo.qwen { background: linear-gradient(135deg, #466dff, #31c1ff); }
.model-logo.kling { background: linear-gradient(135deg, #755cff, #6f49ef); }
.model-logo.moonshot { background: linear-gradient(135deg, #1c1f29, #5c6577); }
.model-logo.minimax { background: linear-gradient(135deg, #ff4f78, #ff8d55); }
.model-logo.xiaomi { background: linear-gradient(135deg, #a9b0bc, #7e8794); }
.model-logo.vidu { background: linear-gradient(135deg, #262b38, #676f82); }
.model-logo.hunyuan { background: linear-gradient(135deg, #35b9ff, #4577ff); }

.square-card-head h2 {
  margin-bottom: 4px;
  color: #18213a;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: #fff;
  background: #6a53ff;
  font-size: 11px;
  font-weight: 800;
}

.badge.video {
  background: #7657ff;
}

.badge.image {
  background: #576cff;
}

.card-tools {
  display: flex;
  gap: 6px;
}

.card-tools button {
  min-width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 7px;
  color: #8c96ad;
  background: #f4f6fb;
  font-size: 11px;
}

.square-model-card p {
  margin-bottom: 12px;
  color: #667089;
  font-size: 13px;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 12px;
}

.tag-row span {
  padding: 3px 7px;
  border-radius: 7px;
  color: #657089;
  background: #f4f6fb;
  font-size: 12px;
  font-weight: 700;
}

.card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(120, 132, 170, 0.12);
}

.card-price span {
  color: #a1a8b8;
  font-size: 12px;
  font-weight: 800;
}

.card-price strong {
  color: #7a8497;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.market-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(120, 132, 170, 0.12);
  border-radius: 14px;
  color: #6f7890;
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.featured-models-page {
  min-height: 100vh;
  color: #121a34;
  background: #fff;
}

.featured-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.featured-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 30px 14px;
  border-right: 1px solid rgba(123, 133, 165, 0.12);
  background:
    radial-gradient(circle at 42% 3%, rgba(130, 111, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #fafbff 0%, #f7f9fc 100%);
}

.featured-brand {
  display: block;
  width: 190px;
  margin: 0 auto 30px;
}

.featured-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.featured-menu {
  display: grid;
  gap: 4px;
}

.featured-menu p {
  margin: 14px 8px 5px;
  color: #9aa3b9;
  font-size: 13px;
  font-weight: 800;
}

.featured-menu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 12px;
  color: #47516d;
  font-size: 15px;
  font-weight: 700;
}

.featured-menu a span {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(71, 81, 109, 0.26);
  border-radius: 5px;
}

.featured-menu a.active,
.featured-menu a:hover {
  color: #1d2750;
  background: #fff;
  box-shadow: 0 12px 34px rgba(40, 55, 92, 0.08);
}

.featured-menu a.active span {
  border-color: #6a53ff;
  background: rgba(106, 83, 255, 0.12);
}

.featured-main {
  position: relative;
  min-width: 0;
  padding: 92px clamp(28px, 5vw, 96px) 64px;
}

.featured-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 142px;
  background: linear-gradient(90deg, rgba(224, 249, 255, 0.8), rgba(247, 243, 255, 0.92));
  pointer-events: none;
}

.featured-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.featured-tabs {
  display: flex;
  gap: 44px;
  font-size: 20px;
  font-weight: 900;
}

.featured-tabs a {
  position: relative;
  padding-bottom: 12px;
  color: #4a536d;
}

.featured-tabs a.active {
  color: #101936;
}

.featured-tabs a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 30px;
  height: 5px;
  border-radius: 999px;
  background: #7b5cff;
  transform: translateX(-50%);
}

.featured-actions {
  display: flex;
  gap: 12px;
}

.featured-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #101010;
  font-size: 14px;
  font-weight: 800;
}

.featured-actions a + a {
  color: #39415c;
  background: rgba(255, 255, 255, 0.86);
}

.hero-model-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1260px;
  margin: 0 auto 34px;
}

.hero-model-card {
  min-height: 176px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(24, 35, 68, 0.13);
}

.hero-model-card.model-b {
  background:
    linear-gradient(180deg, transparent 25%, rgba(5, 8, 18, 0.62) 100%),
    radial-gradient(circle at 32% 20%, rgba(220, 255, 255, 0.8), transparent 26%),
    linear-gradient(135deg, #bfd9e7, #5d9ec6 54%, #2d3950);
}

.hero-model-card.model-c {
  background:
    linear-gradient(180deg, transparent 20%, rgba(4, 6, 17, 0.68) 100%),
    radial-gradient(circle at 28% 20%, rgba(55, 213, 255, 0.7), transparent 30%),
    linear-gradient(135deg, #414ce5, #45b3e8 55%, #6a53ff);
}

.hero-model-card.model-a {
  background:
    linear-gradient(180deg, transparent 22%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(circle at 70% 20%, rgba(146, 222, 255, 0.72), transparent 26%),
    linear-gradient(135deg, #0d1420, #29405c 56%, #101010);
}

.hero-model-card h1 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.hero-model-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.sub2api-panel {
  max-width: 1260px;
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  margin: 0 auto 38px;
  padding: 0;
}

.sub2api-copy,
.flow-steps,
.console-matrix article {
  border: 1px solid rgba(126, 138, 171, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(35, 45, 81, 0.06);
}

.sub2api-copy {
  padding: 26px;
}

.sub2api-copy span {
  display: inline-block;
  margin-bottom: 14px;
  color: #6b5cff;
  font-size: 13px;
  font-weight: 900;
}

.sub2api-copy h2 {
  margin-bottom: 14px;
  color: #101936;
  font-size: 28px;
  line-height: 1.16;
}

.sub2api-copy p {
  margin: 0;
  color: #69748d;
  font-size: 15px;
}

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

.flow-steps article {
  min-height: 150px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f9ff, #fff);
}

.flow-steps strong {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 10px;
  color: #fff;
  background: #6b5cff;
  font-size: 14px;
}

.flow-steps h3 {
  margin-bottom: 8px;
  color: #101936;
  font-size: 18px;
}

.flow-steps p,
.console-matrix p {
  margin: 0;
  color: #69748d;
  font-size: 14px;
}

.console-matrix {
  max-width: 1260px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 38px;
}

.console-matrix article {
  min-height: 150px;
  padding: 20px;
}

.console-matrix h2 {
  margin-bottom: 10px;
  color: #101936;
  font-size: 19px;
}

.featured-category {
  max-width: 1260px;
  margin: 0 auto 38px;
  padding: 0;
}

.featured-category h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #111a36;
  font-size: 19px;
  line-height: 1.2;
}

.category-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 2px solid #17213d;
  border-radius: 4px;
}

.category-icon.text {
  border-radius: 3px;
}

.category-icon.image {
  border-radius: 50%;
}

.category-icon.video {
  width: 20px;
  border-radius: 6px;
}

.featured-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.featured-model-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(126, 138, 171, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.94)),
    #fff;
  box-shadow: 0 12px 32px rgba(35, 45, 81, 0.055);
}

.vendor-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: #6a53ff;
  font-size: 14px;
  font-weight: 900;
}

.vendor-icon.openai { color: #222; background: #fff; box-shadow: inset 0 0 0 1px rgba(126, 138, 171, 0.12); }
.vendor-icon.anthropic { background: linear-gradient(135deg, #ff7b4d, #f0a35f); }
.vendor-icon.gemini { background: linear-gradient(135deg, #5076ff, #d6e0ff); }
.vendor-icon.minimax { background: linear-gradient(135deg, #ff4e7e, #ff9d6b); }
.vendor-icon.deepseek { background: linear-gradient(135deg, #466dff, #6c8dff); }
.vendor-icon.glm { background: linear-gradient(135deg, #4166ff, #7864ff); }
.vendor-icon.doubao { background: linear-gradient(135deg, #20d6d6, #7b5cff); }
.vendor-icon.kling { background: linear-gradient(135deg, #25c2ff, #2ed66c); }
.vendor-icon.wan { background: linear-gradient(135deg, #4c66ff, #7864ff); }
.vendor-icon.vidu { background: linear-gradient(135deg, #171b25, #5e6676); }

.featured-model-card h3 {
  margin: 0 0 6px;
  color: #101936;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.featured-model-card p {
  margin: 0;
  color: #69748d;
  font-size: 13px;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.featured-note {
  max-width: 1260px;
  margin: 10px auto 0;
  color: #7a8398;
  font-size: 14px;
}

.admin-models-panel {
  border: 1px dashed rgba(126, 138, 171, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.admin-models-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}

.admin-models-head h2 {
  margin-bottom: 8px;
}

.admin-models-head p {
  margin: 0;
  color: #7a8398;
  font-size: 14px;
}

.admin-models-auth {
  display: flex;
  gap: 8px;
}

.admin-models-auth input {
  width: min(280px, 48vw);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(126, 138, 171, 0.16);
  border-radius: 10px;
  color: #101936;
  background: #f7f9fc;
  font: inherit;
}

.admin-models-auth button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #2349d8;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hidden-models-notice {
  padding: 12px 14px;
  border-radius: 12px;
  color: #667089;
  background: #f7f9fc;
  font-size: 13px;
  font-weight: 800;
}

.hidden-models-notice[data-type="success"] {
  color: #117a43;
  background: rgba(34, 197, 94, 0.1);
}

.hidden-models-notice[data-type="warning"] {
  color: #9a5a00;
  background: rgba(245, 158, 11, 0.14);
}

.hidden-models-notice[data-type="error"] {
  color: #b42318;
  background: rgba(239, 68, 68, 0.1);
}

.hidden-model-group {
  margin-top: 18px;
}

.hidden-model-group > h3 {
  margin-bottom: 12px;
  color: #101936;
  font-size: 18px;
}

.admin-gateway-page {
  min-height: 100vh;
  color: #101936;
  background: #f7f9fc;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.admin-main {
  min-width: 0;
  padding: 46px clamp(24px, 4vw, 72px) 56px;
}

.admin-hero {
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 28px;
  border: 1px solid rgba(126, 138, 171, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(100deg, rgba(224, 249, 255, 0.92), rgba(248, 244, 255, 0.96)),
    #fff;
  box-shadow: 0 16px 38px rgba(35, 45, 81, 0.06);
}

.admin-hero span {
  display: inline-block;
  margin-bottom: 12px;
  color: #6b5cff;
  font-size: 13px;
  font-weight: 900;
}

.admin-hero h1 {
  margin-bottom: 12px;
  color: #101936;
  font-size: clamp(34px, 5vw, 56px);
}

.admin-hero p {
  max-width: 900px;
  margin: 0;
  color: #667089;
  font-size: 16px;
}

.admin-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 18px;
}

.admin-auth-panel {
  max-width: 1180px;
  margin: 0 auto 18px;
}

.admin-auth-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 12px;
}

.admin-auth-row label,
.source-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #3f4963;
  font-size: 13px;
  font-weight: 800;
}

.admin-auth-row input,
.source-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(126, 138, 171, 0.16);
  border-radius: 10px;
  color: #101936;
  background: #f7f9fc;
  font: inherit;
}

.admin-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #2349d8;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(35, 73, 216, 0.18);
}

.admin-button.secondary {
  color: #2349d8;
  background: rgba(35, 73, 216, 0.08);
  box-shadow: none;
}

.admin-hint {
  margin-top: 6px;
}

.admin-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #3f4963;
  background: #f7f9fc;
  font-size: 13px;
  font-weight: 800;
}

.admin-notice[data-type="success"] {
  color: #117a43;
  background: rgba(34, 197, 94, 0.1);
}

.admin-notice[data-type="warning"] {
  color: #9a5a00;
  background: rgba(245, 158, 11, 0.14);
}

.admin-notice[data-type="error"] {
  color: #b42318;
  background: rgba(239, 68, 68, 0.1);
}

#gatewayStatus[data-state="healthy"] {
  color: #117a43;
  background: rgba(34, 197, 94, 0.12);
}

#gatewayStatus[data-state="down"] {
  color: #b42318;
  background: rgba(239, 68, 68, 0.12);
}

.admin-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(126, 138, 171, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(35, 45, 81, 0.055);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-card h2,
.admin-card-head h2 {
  margin: 0 0 12px;
  color: #101936;
  font-size: 22px;
}

.admin-card-head h2 {
  margin: 0;
}

.admin-card-head span,
.security-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #5146d8;
  background: rgba(107, 92, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.admin-card p {
  margin: 0;
  color: #667089;
  font-size: 14px;
}

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

.upstream-list {
  display: grid;
  gap: 12px;
}

.upstream-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f9fc;
}

.upstream-row strong {
  color: #101936;
}

.upstream-row span {
  color: #667089;
  font-size: 13px;
}

.upstream-row em {
  padding: 4px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.upstream-row.healthy em {
  color: #117a43;
  background: rgba(34, 197, 94, 0.12);
}

.upstream-row.unknown em {
  color: #5146d8;
  background: rgba(107, 92, 255, 0.1);
}

.upstream-row.warning em {
  color: #9a5a00;
  background: rgba(245, 158, 11, 0.14);
}

.upstream-row.down em {
  color: #b42318;
  background: rgba(239, 68, 68, 0.12);
}

.live-list {
  display: grid;
  gap: 12px;
}

.compact-list {
  margin-top: 12px;
}

.empty-row {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  color: #667089;
  background: #f7f9fc;
  font-size: 13px;
  font-weight: 800;
}

.user-key-form {
  margin-top: 16px;
}

.routing-section {
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 0;
}

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

.routing-steps article {
  min-height: 154px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f9ff, #fff);
}

.routing-steps strong {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 9px;
  color: #fff;
  background: #6b5cff;
}

.routing-steps h3 {
  margin-bottom: 8px;
  color: #101936;
  font-size: 17px;
}

.key-demo {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  color: #d8f5e8;
  background: #071513;
  overflow-x: auto;
}

.security-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.implementation-note {
  max-width: 1180px;
  margin: 0 auto;
}

.capabilities,
.scenes,
.newsroom,
.site-footer {
  color: var(--text);
  background: var(--bg);
}

.developer-section {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

.dev-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.code-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(21, 69, 54, 0.18);
  background: #071513;
  box-shadow: 0 24px 54px rgba(17, 48, 38, 0.16);
}

.code-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  color: rgba(238, 248, 243, 0.82);
  border-bottom: 1px solid rgba(145, 180, 166, 0.18);
  font-weight: 700;
}

.code-title span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 18px 0 0 var(--gold), 36px 0 0 rgba(238, 248, 243, 0.36);
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #d8f5e8;
  font-size: 14px;
  line-height: 1.75;
}

code {
  font-family: Consolas, "Courier New", monospace;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  background: #fff;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
}

.steps span {
  color: var(--muted-dark);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 46px auto 0;
}

.capability-strip div {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0, rgba(66, 197, 127, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.045);
}

.capability-strip span {
  font-size: 22px;
  font-weight: 800;
}

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

.why-grid article {
  min-height: 210px;
  padding: 26px;
}

.why-grid article::before,
.scene-grid article::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

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

.scene-grid article {
  min-height: 230px;
  padding: 26px;
  color: var(--text);
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.scene-grid p {
  color: rgba(238, 248, 243, 0.66);
}

.pricing-section {
  border-top: 1px solid rgba(21, 69, 54, 0.1);
}

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

.plan-grid article {
  min-height: 230px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.plan-grid span {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0a3025;
  background: rgba(66, 197, 127, 0.13);
  font-weight: 700;
  font-size: 14px;
}

.newsroom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsroom p,
.site-footer p {
  color: rgba(238, 248, 243, 0.62);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(30px, 5vw, 76px);
}

.contact-copy p {
  max-width: 680px;
  color: var(--muted-dark);
  font-size: 18px;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(21, 69, 54, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 48, 38, 0.08);
}

.contact-card p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #e4ebe7;
}

.contact-card p:last-child {
  border-bottom: 0;
}

.contact-card strong {
  color: #203630;
}

.contact-card span,
.contact-card a {
  color: var(--muted-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
}

.compact-footer {
  padding-top: 26px;
  padding-bottom: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: rgba(238, 248, 243, 0.66);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.footer-brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(180, 238, 190, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 42% 34%, rgba(248, 255, 226, 0.38), rgba(115, 209, 135, 0.16) 45%, rgba(15, 59, 47, 0.58) 100%);
}

.footer-brand-mark img {
  width: 32px;
  height: 32px;
}

.footer-brand strong,
.footer-brand p {
  display: block;
}

.footer-brand strong {
  font-size: 16px;
}

.footer-brand p {
  margin: 2px 0 0;
  color: rgba(238, 248, 243, 0.58);
  font-size: 14px;
}

.footer-compliance {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.copyright {
  margin: 0;
  text-align: right;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .site-header,
  .logo-lab,
  .hero,
  .section-heading,
  .agent-split,
  .promo-video-section,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .product-grid,
  .why-grid,
  .scene-grid,
  .plan-grid,
  .model-grid,
  .dev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-footer {
    align-items: start;
  }

  .footer-links,
  .copyright,
  .footer-compliance {
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
  }

  .market-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

  .market-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .featured-main {
    padding-right: 28px;
    padding-left: 28px;
  }

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

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

  .console-matrix,
  .routing-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

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

@media (max-width: 680px) {
  .site-header {
    gap: 16px;
  }

  .brand,
  .footer-brand {
    max-width: 100%;
  }

  .metrics,
  .home-link-grid,
  .product-grid,
  .agent-card-grid,
  .logo-option-grid,
  .logo-preview-grid,
  .why-grid,
  .scene-grid,
  .plan-grid,
  .model-grid,
  .model-summary,
  .dev-grid,
  .capability-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

  .signal-card {
    font-size: 13px;
  }

  .newsroom {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .market-shell {
    display: block;
  }

  .market-sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .market-brand {
    max-width: 220px;
  }

  .filter-panel {
    padding: 14px;
  }

  .filter-pills.two,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-main {
    padding: 22px 16px 34px;
  }

  .market-topbar,
  .market-toolbar,
  .topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .market-tabs {
    gap: 24px;
    font-size: 16px;
  }

  .market-search,
  .market-toolbar button,
  .topbar-actions a {
    width: 100%;
  }

  .featured-shell {
    display: block;
  }

  .featured-sidebar {
    position: static;
    height: auto;
    padding: 18px 14px;
  }

  .featured-brand {
    width: 210px;
    margin-right: 0;
    margin-left: 0;
  }

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

  .featured-menu p {
    grid-column: 1 / -1;
  }

  .featured-main {
    padding: 76px 16px 34px;
  }

  .featured-header,
  .featured-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-tabs {
    gap: 28px;
    font-size: 18px;
  }

  .hero-model-row,
  .featured-card-grid,
  .flow-steps,
  .console-matrix {
    grid-template-columns: 1fr;
  }

  .featured-model-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .admin-shell {
    display: block;
  }

  .admin-main {
    padding: 22px 16px 34px;
  }

  .admin-grid,
  .routing-steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .upstream-row {
    grid-template-columns: 1fr;
  }
}

.beian {
  margin: 6px 0 0;
  color: rgba(219, 244, 233, 0.68);
  font-size: 13px;
}

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

.beian a:hover {
  color: #9EF0C1;
}

.compliance-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Console preview: 2026-06-27 */
.yishu-console-page {
  background: #f5f7fb;
  color: #17213d;
}

.yishu-console-page [hidden] {
  display: none !important;
}

.console-shell {
  min-height: 100vh;
}

.console-sidebar {
  background: linear-gradient(180deg, #f7f4ff 0%, #f7fbff 48%, #ffffff 100%);
  border-right: 1px solid rgba(126, 138, 171, 0.12);
}

.console-sidebar .featured-brand {
  height: 82px;
}

.console-menu a {
  color: #29324d;
}

.console-main {
  padding-bottom: 48px;
}

.console-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(18px);
  background: rgba(246, 249, 255, 0.86);
}

.console-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  margin: 28px 0 22px;
  padding: 34px;
  border: 1px solid rgba(126, 138, 171, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(105, 87, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f8ff 52%, #eef7ff 100%);
  box-shadow: 0 24px 80px rgba(58, 73, 114, 0.08);
}

.console-eyebrow,
.console-card-head span,
.model-hub-toolbar span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #6957ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.console-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #68738c;
  font-size: 16px;
  line-height: 1.75;
}

.console-login-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(105, 87, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.console-login-card strong {
  font-size: 18px;
}

.console-login-card p {
  margin: 8px 0;
  font-size: 14px;
}

.console-login-card p[data-type="success"],
.hidden-models-notice[data-type="success"] {
  color: #15803d;
}

.console-login-card p[data-type="warning"],
.hidden-models-notice[data-type="warning"] {
  color: #b45309;
}

.console-login-card p[data-type="error"],
.hidden-models-notice[data-type="error"] {
  color: #b91c1c;
}

.console-login-card a,
.console-button,
.quick-action-grid a,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #171b2f;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.metric-card,
.console-card,
.plan-grid article,
.settings-grid article {
  border: 1px solid rgba(126, 138, 171, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 56px rgba(58, 73, 114, 0.06);
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  display: block;
  color: #6f7890;
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.metric-card p {
  margin: 8px 0 0;
  color: #7a849a;
  font-size: 13px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.console-card {
  padding: 22px;
}

.console-section {
  margin-bottom: 18px;
}

.console-card-head,
.model-hub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.console-card-head h2,
.model-hub-toolbar h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.console-card-head a,
.model-hub-toolbar a {
  color: #6957ff;
  font-weight: 800;
}

.announcement-list {
  display: grid;
  gap: 12px;
}

.announcement-list p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f6f7ff;
  color: #3e465d;
  line-height: 1.6;
}

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

.quick-action-grid a {
  min-height: 58px;
  background: #f0f2ff;
  color: #3b32d6;
}

.console-table {
  display: grid;
  gap: 10px;
}

.console-table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr 0.8fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8faff;
  color: #30394f;
}

.console-table.compact .console-table-row {
  grid-template-columns: 1fr 1.2fr 1.2fr 0.7fr 1fr;
}

.console-table-head {
  background: #eef2ff;
  color: #69738d;
  font-size: 13px;
  font-weight: 800;
}

.console-table-row em {
  color: #8a94aa;
  font-size: 12px;
  font-style: normal;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: middle;
}

.status-dot.healthy {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.status-dot.warning {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.status-dot.neutral {
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14);
}

.copy-button {
  min-height: 32px;
  padding: 0 12px;
  background: #ffffff;
  color: #5d50ea;
  border: 1px solid rgba(105, 87, 255, 0.18);
}

.usage-bars {
  display: grid;
  gap: 14px;
}

.usage-bars p {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #5b6478;
}

.usage-bars b {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6957ff, #34c5f4);
}

.usage-bars em {
  color: #17213d;
  font-style: normal;
  font-weight: 800;
}

.status-list {
  display: grid;
  gap: 13px;
}

.status-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid rgba(126, 138, 171, 0.1);
  color: #2f394f;
}

.status-list span {
  color: #778196;
}

.playground-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 16px;
}

.playground-panel label {
  display: block;
  margin-bottom: 8px;
  color: #5c6577;
  font-size: 13px;
  font-weight: 800;
}

.playground-panel select,
.playground-panel textarea,
.admin-models-auth input {
  width: 100%;
  border: 1px solid rgba(126, 138, 171, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: #17213d;
  font: inherit;
}

.playground-panel select {
  height: 46px;
  padding: 0 14px;
}

.playground-panel textarea {
  padding: 14px;
  resize: vertical;
}

.playground-panel pre {
  min-height: 138px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 14px;
  background: #11182d;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.6;
}

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

.plan-grid article,
.settings-grid article {
  padding: 18px;
  box-shadow: none;
}

.plan-grid strong,
.settings-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.plan-grid p,
.settings-grid p {
  margin: 0 0 14px;
  color: #6f7890;
  line-height: 1.6;
}

.plan-grid span {
  color: #6957ff;
  font-size: 13px;
  font-weight: 800;
}

.model-hub-toolbar {
  margin-bottom: 20px;
}

.model-filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.model-filter-pills button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(105, 87, 255, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #4d46c8;
  font-weight: 800;
}

.model-filter-pills button.active {
  color: #ffffff;
  background: #6957ff;
  border-color: #6957ff;
}

@media (max-width: 1100px) {
  .console-hero,
  .two-column-grid,
  .playground-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .console-hero {
    padding: 24px;
  }

  .console-hero h1 {
    font-size: 28px;
  }

  .metrics-grid,
  .plan-grid,
  .settings-grid,
  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .console-table-row,
  .console-table.compact .console-table-row {
    grid-template-columns: 1fr;
  }
}

.yishu-console-page section {
  padding: 0;
}

.yishu-console-page .console-hero {
  padding: 34px;
}

.yishu-console-page .console-card {
  padding: 22px;
}

.yishu-console-page .admin-models-panel {
  padding: 22px;
  border-radius: 20px;
}

@media (max-width: 720px) {
  .yishu-console-page .console-hero,
  .yishu-console-page .console-card,
  .yishu-console-page .admin-models-panel {
    padding: 18px;
  }
}
