:root, html[data-theme="dark"] {
  --bg-page: #0d0f14;
  --bg-glass: rgba(18, 20, 28, 0.84);
  --bg-card: rgba(24, 28, 39, 0.80);
  --bg-card-hover: rgba(31, 36, 51, 0.94);
  --bg-elev: rgba(35, 41, 56, 0.88);
  --bg-input: #111520;
  --halo-center: radial-gradient(circle, rgba(13,15,20,0.96) 0%, rgba(13,15,20,0.80) 46%, rgba(13,15,20,0) 73%);
  --border-subtle: rgba(148, 163, 184, 0.15);
  --border-bright: rgba(34, 211, 238, 0.55);
  --text-pri: #f3f5f9;
  --text-sec: #94a3b8;
  --text-dim: rgba(148, 163, 184, 0.13);
  --accent-cyan: #22d3ee;
  --accent-indigo: #6366f1;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --shadow-card: 0 18px 46px rgba(0, 0, 0, 0.54);
}
html[data-theme="light"] {
  --bg-page: #f6f8fc;
  --bg-glass: rgba(255, 255, 255, 0.91);
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-elev: #eef2f8;
  --bg-input: #ffffff;
  --halo-center: radial-gradient(circle, rgba(246,248,252,0.97) 0%, rgba(246,248,252,0.84) 48%, rgba(246,248,252,0) 75%);
  --border-subtle: rgba(15, 23, 42, 0.10);
  --border-bright: #0284c7;
  --text-pri: #0f172a;
  --text-sec: #475569;
  --text-dim: rgba(15, 23, 42, 0.07);
  --accent-cyan: #0284c7;
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.07);
}
html[data-theme="mint"] {
  --bg-page: #eaf5ed;
  --bg-glass: rgba(238, 248, 241, 0.92);
  --bg-card: rgba(250, 254, 251, 0.95);
  --bg-card-hover: #ffffff;
  --bg-elev: #dceee1;
  --bg-input: #ffffff;
  --halo-center: radial-gradient(circle, rgba(234,245,237,0.97) 0%, rgba(234,245,237,0.84) 48%, rgba(234,245,237,0) 75%);
  --border-subtle: rgba(5, 150, 105, 0.16);
  --border-bright: #059669;
  --text-pri: #063928;
  --text-sec: #375a4b;
  --text-dim: rgba(6, 57, 40, 0.08);
  --accent-cyan: #047857;
  --shadow-card: 0 12px 30px rgba(6, 57, 40, 0.07);
}
html[data-theme="warm"] {
  --bg-page: #f7f1e3;
  --bg-glass: rgba(250, 245, 234, 0.92);
  --bg-card: rgba(255, 252, 245, 0.95);
  --bg-card-hover: #ffffff;
  --bg-elev: #ede3cd;
  --bg-input: #ffffff;
  --halo-center: radial-gradient(circle, rgba(247,241,227,0.97) 0%, rgba(247,241,227,0.84) 48%, rgba(247,241,227,0) 75%);
  --border-subtle: rgba(146, 64, 14, 0.15);
  --border-bright: #b45309;
  --text-pri: #291d12;
  --text-sec: #6b533b;
  --text-dim: rgba(41, 29, 18, 0.08);
  --accent-cyan: #0369a1;
  --shadow-card: 0 12px 30px rgba(41, 29, 18, 0.07);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg-page); color: var(--text-pri);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: background 0.28s ease, color 0.28s ease;
}
select option { background: var(--bg-input); color: var(--text-pri); }

/* 全局弥散极光球 + 极细空间网格 + 贝塞尔流光弧线 */
.ky-global-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ky-orb { position: absolute; border-radius: 50%; filter: blur(95px); opacity: 0.28; animation: kyOrbFloat 18s ease-in-out infinite alternate; }
html:not([data-theme="dark"]) .ky-orb { opacity: 0.13; }
.ky-orb-1 { width: 540px; height: 540px; left: -120px; top: -90px; background: radial-gradient(circle, #22d3ee, transparent 70%); }
.ky-orb-2 { width: 620px; height: 620px; right: -160px; top: 120px; background: radial-gradient(circle, #6366f1, transparent 70%); animation-delay: -6s; }
.ky-orb-3 { width: 520px; height: 520px; left: 32%; bottom: -180px; background: radial-gradient(circle, #10b981, transparent 70%); animation-delay: -11s; }
@keyframes kyOrbFloat { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(38px, 28px) scale(1.08); } }

.ky-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(148,163,184,0.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(148,163,184,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.ky-conn-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.28; }
.ky-conn-path { fill: none; stroke: url(#kyArcGrad); stroke-width: 0.18; stroke-dasharray: 6 6; animation: kyDashMove 26s linear infinite; }
@keyframes kyDashMove { to { stroke-dashoffset: -120; } }

/* 顶栏与零遮挡 6x2 独立并行工作站导航坞 */
.ky-header-stack {
  position: sticky; top: 0; z-index: 950;
  background: var(--bg-glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border-subtle);
}
.ky-topbar {
  min-height: 56px; max-width: 1460px; margin: 0 auto; padding: 6px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.ky-brand-wrap { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ky-brand-zh { font-size: 19px; font-weight: 900; letter-spacing: 0.8px; color: var(--text-pri); }
.ky-brand-en { font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--border-bright); color: var(--accent-cyan); font-family: Consolas, monospace; }
.ky-brand-corp { font-size: 11.5px; color: var(--text-sec); padding-left: 8px; border-left: 1px solid var(--border-subtle); }
@media (max-width: 1180px) { .ky-brand-corp { display: none; } }

.ky-top-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ky-chip-btn {
  padding: 5px 11px; border-radius: 99px; background: var(--bg-elev);
  border: 1px solid var(--border-subtle); color: var(--text-pri);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: 0.2s;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
.ky-chip-btn:hover { border-color: var(--accent-cyan); transform: translateY(-1px); }
.ky-chip-btn.gold { border-color: rgba(245, 158, 11, 0.52); color: #f59e0b; background: rgba(245, 158, 11, 0.11); }
html:not([data-theme="dark"]) .ky-chip-btn.gold { color: #b45309; }
.ky-chip-btn.cyan { background: linear-gradient(135deg, #4f46e5, #0891b2); color: #ffffff; border-color: #22d3ee; font-weight: 800; }

.ky-subnav-bar { border-top: 1px solid var(--border-subtle); background: rgba(0, 0, 0, 0.14); }
html:not([data-theme="dark"]) .ky-subnav-bar { background: rgba(255, 255, 255, 0.48); }
.ky-subnav-inner {
  max-width: 1460px; margin: 0 auto; padding: 7px 20px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px;
}
@media (max-width: 1024px) { .ky-subnav-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 660px) { .ky-subnav-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ky-ws-tab {
  padding: 6px 8px; border-radius: 9px; font-size: 12.5px; font-weight: 800;
  color: var(--text-sec); text-decoration: none; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  transition: 0.2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ky-ws-tab:hover, .ky-ws-tab.active {
  color: #ffffff; background: linear-gradient(135deg, #4f46e5, #0891b2);
  border-color: #22d3ee; box-shadow: 0 4px 14px rgba(34, 211, 238, 0.25);
}

/* 首屏：北冥三垣·三重同心星枢 + 双翼弹簧聚光卡 + 动态打字机 */
.ky-hero-sec {
  position: relative; z-index: 2; max-width: 1480px; margin: 0 auto;
  min-height: 750px; padding: 42px 20px 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
.ky-astrolabe-stage {
  position: absolute; left: 50%; top: 50%; width: 780px; height: 780px;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 1;
}
@media (max-width: 900px) { .ky-astrolabe-stage { transform: translate(-50%, -50%) scale(0.64); opacity: 0.52; } }
.ky-astro-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.ky-ring-outer { width: 740px; height: 740px; border: 1px dashed rgba(148, 163, 184, 0.24); animation: kyOrbitCW 110s linear infinite; }
.ky-ring-mid { width: 576px; height: 576px; border: 1px solid rgba(99, 102, 241, 0.26); animation: kyOrbitCCW 84s linear infinite; }
.ky-ring-inner { width: 412px; height: 412px; border: 1.5px solid rgba(34, 211, 238, 0.32); animation: kyOrbitCW 62s linear infinite; }

@keyframes kyOrbitCW { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes kyOrbitCCW { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes kySelfCCW62 { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes kySelfCW84 { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes kySelfCCW110 { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

.ky-orbit-slot {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--ang)) translate(var(--rad)) rotate(calc(-1 * var(--ang)));
}
.ky-orb-cap {
  display: inline-flex; align-items: center; gap: 5px;
  transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 99px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  font-size: 11px; font-weight: 800; color: var(--text-pri); white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28); backdrop-filter: blur(8px);
}
.ky-ring-inner .ky-orb-cap { animation: kySelfCCW62 62s linear infinite; border-color: rgba(34, 211, 238, 0.40); }
.ky-ring-mid .ky-orb-cap { animation: kySelfCW84 84s linear infinite; pointer-events: auto; cursor: pointer; text-decoration: none; }
.ky-ring-mid .ky-orb-cap:hover { border-color: #22d3ee; background: #0891b2; color: #fff; }
.ky-ring-outer .ky-orb-cap { animation: kySelfCCW110 110s linear infinite; font-size: 10.5px; color: #f59e0b; border-color: rgba(245, 158, 11, 0.38); }
.ky-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 6px #10b981; flex-shrink: 0; }

/* 中心阅读保护光晕与首屏前景交互舱 */
.ky-hero-halo { position: absolute; left: 50%; top: 50%; width: 760px; height: 540px; transform: translate(-50%, -50%); background: var(--halo-center); z-index: 2; pointer-events: none; }
.ky-hero-fg { position: relative; z-index: 4; max-width: 820px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.ky-hero-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border-radius: 99px;
  background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.36);
  font-size: 12.5px; font-weight: 800; color: var(--accent-cyan);
}
.ky-hero-h1 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; line-height: 1.25; letter-spacing: -0.4px; }
.ky-hero-h1 .line2 {
  display: block; min-height: 1.32em;
  background: linear-gradient(90deg, #22d3ee 0%, #818cf8 52%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ky-cursor { display: inline-block; margin-left: 3px; color: #22d3ee; -webkit-text-fill-color: #22d3ee; animation: kyBlink 0.9s infinite; }
@keyframes kyBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ky-hero-sub { margin: 0; font-size: 14px; color: var(--text-sec); max-width: 690px; line-height: 1.62; }

.ky-console-box {
  width: 100%; background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-bright); border-radius: 20px; padding: 10px 12px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.36); display: flex; align-items: center; gap: 10px;
}
@media (max-width: 780px) { .ky-console-box { flex-direction: column; align-items: stretch; } }
.ky-console-in { flex: 1; background: transparent; border: none; color: var(--text-pri); font-size: 14px; outline: none; padding: 8px 6px; }
.ky-gift-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 99px;
  background: linear-gradient(90deg, rgba(245,158,11,0.15), rgba(34,211,238,0.12));
  border: 1px solid rgba(245, 158, 11, 0.44); color: var(--text-pri);
  font-size: 12.5px; font-weight: 800; cursor: pointer; transition: 0.22s;
}
.ky-gift-pill:hover { transform: translateY(-2px); border-color: #f59e0b; box-shadow: 0 8px 24px rgba(245,158,11,0.22); }

.ky-metrics-bar { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 4px; }
.ky-m-item { text-align: center; }
.ky-m-val { font-size: 24px; font-weight: 900; color: var(--accent-cyan); font-family: Consolas, "Microsoft YaHei", sans-serif; }
.ky-m-lbl { font-size: 11.5px; color: var(--text-sec); font-weight: 700; }
.ky-m-sep { width: 1px; height: 28px; background: var(--border-subtle); }

/* 左右双翼物理弹簧聚光特写卡 */
.ky-wing-card {
  position: absolute; top: 50%; width: 248px; z-index: 5;
  background: var(--bg-card); backdrop-filter: blur(18px);
  border: 1px solid var(--border-bright); border-radius: 18px; padding: 15px 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease;
}
.ky-wing-left { left: 22px; transform: translateY(-50%); }
.ky-wing-right { right: 22px; transform: translateY(-50%); }
.ky-wing-card.pop { transform: translateY(-54%) scale(1.03); }
@media (max-width: 1360px) {
  .ky-wing-card { position: static; transform: none !important; width: 100%; max-width: 390px; }
  .ky-wings-mobile-wrap { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; width: 100%; z-index: 4; margin-top: 12px; }
}

/* 通用版块标题与容器 */
.ky-sec { position: relative; z-index: 3; max-width: 1420px; margin: 0 auto; padding: 44px 20px; }
.ky-sec-head { text-align: center; margin-bottom: 30px; }
.ky-sec-chip { display: inline-block; padding: 4px 13px; border-radius: 99px; background: rgba(99,102,241,0.14); border: 1px solid rgba(99,102,241,0.35); color: #818cf8; font-size: 11.5px; font-weight: 900; margin-bottom: 10px; }
.ky-sec-h2 { margin: 0 0 8px; font-size: clamp(23px, 2.5vw, 32px); font-weight: 900; }
.ky-grad-txt { background: linear-gradient(90deg, #22d3ee, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ky-sec-p { margin: 0 auto; max-width: 680px; font-size: 13.5px; color: var(--text-sec); line-height: 1.6; }

/* 第三段：01~04 四大商业生产力壁垒卡 */
.ky-cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .ky-cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ky-cap-grid { grid-template-columns: 1fr; } }
.ky-cap-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 20px; padding: 22px 20px; overflow: hidden; transition: 0.25s; box-shadow: var(--shadow-card);
}
.ky-cap-card:hover { transform: translateY(-4px); border-color: var(--border-bright); background: var(--bg-card-hover); }
.ky-cap-num { position: absolute; right: 16px; top: 8px; font-size: 44px; font-weight: 900; color: var(--text-dim); font-family: Consolas, sans-serif; pointer-events: none; }
.ky-cap-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.3); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.ky-cap-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 900; }
.ky-cap-desc { margin: 0; font-size: 12.8px; color: var(--text-sec); line-height: 1.65; }

/* 第四段：01~11 独立并行工作站全景矩阵 (精确 4x3 = 12 格严整对齐) */
.ky-ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1080px) { .ky-ws-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .ky-ws-grid { grid-template-columns: 1fr; } }
.ky-ws-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-card); overflow: hidden; transition: 0.26s ease; text-decoration: none; color: inherit;
}
.ky-ws-card.span-2 { grid-column: span 2; }
@media (max-width: 1080px) { .ky-ws-card.span-2 { grid-column: span 1; } }
.ky-ws-card:hover { transform: translateY(-5px); border-color: var(--border-bright); background: var(--bg-card-hover); }
.ky-ws-cover {
  height: 168px; border-radius: 14px; background-size: cover; background-position: center;
  position: relative; overflow: hidden; border: 1px solid rgba(148,163,184,0.16);
  transition: transform 0.35s ease;
}
.ky-ws-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,24,0.10) 0%, rgba(10,14,24,0.62) 100%); }
.ky-ws-idx { position: absolute; left: 12px; top: 10px; z-index: 2; padding: 2px 9px; border-radius: 99px; background: rgba(13,15,20,0.82); border: 1px solid rgba(34,211,238,0.45); color: #22d3ee; font-size: 11px; font-weight: 900; font-family: Consolas, monospace; }
.ky-ws-badge { position: absolute; right: 12px; top: 10px; z-index: 2; padding: 2px 10px; border-radius: 99px; background: rgba(16,185,129,0.24); border: 1px solid rgba(16,185,129,0.55); color: #6ee7b7; font-size: 11px; font-weight: 800; backdrop-filter: blur(6px); }
.ky-ws-title { margin: 0; font-size: 17.5px; font-weight: 900; }
.ky-ws-desc { margin: 0; font-size: 12.8px; color: var(--text-sec); line-height: 1.62; flex: 1; }
.ky-ws-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border-subtle); font-size: 12px; }
.ky-feat-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #22d3ee, #6366f1, #f59e0b); transform: scaleX(0); transform-origin: left; transition: transform 0.32s ease; }
.ky-ws-card:hover .ky-feat-bar { transform: scaleX(1); }

/* 第五段：商业成品样板广场 (分类筛选 + 悬停一键做同款) */
.ky-filter-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ky-flt-btn { padding: 7px 16px; border-radius: 99px; background: var(--bg-card); border: 1px solid var(--border-subtle); color: var(--text-sec); font-size: 12.5px; font-weight: 800; cursor: pointer; transition: 0.2s; }
.ky-flt-btn.active, .ky-flt-btn:hover { background: linear-gradient(135deg, #4f46e5, #0891b2); color: #fff; border-color: #22d3ee; }
.ky-plaza-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .ky-plaza-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ky-plaza-grid { grid-template-columns: 1fr; } }
.ky-tpl-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 18px; overflow: hidden; transition: 0.25s; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.ky-tpl-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.ky-tpl-thumb { height: 174px; background-size: cover; background-position: center; position: relative; }
.ky-tpl-overlay { position: absolute; inset: 0; background: rgba(9,13,24,0.68); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.22s; }
.ky-tpl-card:hover .ky-tpl-overlay { opacity: 1; }
.ky-tpl-body { padding: 13px 15px; display: flex; flex-direction: column; gap: 7px; }
.ky-tpl-title { font-size: 14px; font-weight: 900; }
.ky-tpl-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ky-tpl-tag { font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--bg-elev); color: var(--text-sec); font-weight: 700; }

/* 底部行动横幅 + 支付信任徽章页脚 + 通用表单模态窗 */
.ky-cta-box {
  max-width: 1380px; margin: 16px auto 44px; padding: 42px 24px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(30,41,82,0.76), rgba(8,47,73,0.82));
  border: 1px solid var(--border-bright); text-align: center; position: relative; z-index: 3; overflow: hidden;
  color: #f8fafc;
}
html:not([data-theme="dark"]) .ky-cta-box { background: linear-gradient(135deg, #1e293b, #0f172a); }
.ky-in, select.ky-in, textarea.ky-in { width: 100%; background: var(--bg-input); border: 1px solid var(--border-subtle); color: var(--text-pri); padding: 10px 13px; border-radius: 11px; font-size: 13.5px; outline: none; font-family: inherit; }
.ky-in:focus { border-color: var(--accent-cyan); }
.ky-btn { padding: 10px 20px; border-radius: 12px; border: 1px solid #22d3ee; background: linear-gradient(135deg, #4f46e5, #0891b2); color: #fff; font-size: 13.5px; font-weight: 900; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; text-decoration: none; }
.ky-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ky-btn.emerald { background: linear-gradient(135deg, #059669, #0891b2); border-color: #34d399; }
.ky-footer { position: relative; z-index: 3; border-top: 1px solid var(--border-subtle); padding: 26px 20px 32px; text-align: center; font-size: 12.5px; color: var(--text-sec); background: var(--bg-glass); }
.ky-trust-bar { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.ky-trust-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border-subtle); font-size: 11.5px; font-weight: 800; color: var(--text-pri); }
.ky-footer a { color: var(--accent-cyan); cursor: pointer; margin: 0 8px; text-decoration: none; font-weight: 700; }
.ky-modal-mask { position: fixed; inset: 0; background: rgba(3, 6, 14, 0.82); backdrop-filter: blur(10px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 18px; }
.ky-modal-card { width: 100%; max-width: 920px; max-height: 90vh; background: #0c1222; border: 1.5px solid #22d3ee; border-radius: 22px; padding: 24px; color: #f8fafc; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; box-shadow: 0 28px 90px rgba(0,0,0,0.8); }
.ky-fab-help { position: fixed; right: 22px; bottom: 22px; z-index: 960; padding: 11px 18px; border-radius: 99px; background: linear-gradient(135deg, #0891b2, #4f46e5); border: 1.5px solid #22d3ee; color: #fff; font-size: 13px; font-weight: 900; cursor: pointer; box-shadow: 0 12px 32px rgba(34,211,238,0.35); display: flex; align-items: center; gap: 7px; }

/* === KUNYAN_V20_CINEMAGRAPH_AND_DRAWER_CSS === */
/* 1. 单行 56px 顶栏 + 鼠标划入自动弹出 / 220ms 缓冲收起悬浮矩阵导航坞 */
.ky-header-stack { position: sticky; top: 0; z-index: 980; }
.ky-subnav-bar.ky-legacy-hidden { display: none !important; }

.ky-nav-trigger {
  position: relative; padding: 6px 14px; border-radius: 99px;
  background: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(99,102,241,0.14));
  border: 1px solid var(--border-bright); color: var(--text-pri);
  font-size: 12.8px; font-weight: 900; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 7px; transition: 0.22s ease;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.14);
}
.ky-nav-trigger:hover, .ky-nav-trigger.is-active {
  background: linear-gradient(135deg, #4f46e5, #0891b2); color: #ffffff;
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.32);
}
.ky-nav-trigger .ky-caret { display: inline-block; transition: transform 0.22s ease; font-size: 11px; }
.ky-nav-trigger.is-active .ky-caret { transform: rotate(180deg); }

.ky-floating-drawer {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 975;
  background: var(--bg-glass); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  border-bottom: 1.5px solid var(--border-bright);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.58);
  opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
}
.ky-floating-drawer.is-open {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.ky-floating-drawer.is-pinned {
  position: relative; top: 0; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.ky-drawer-inner { max-width: 1460px; margin: 0 auto; padding: 12px 20px 16px; }
.ky-drawer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle);
  font-size: 12px; color: var(--text-sec);
}
.ky-pin-btn {
  padding: 4px 11px; border-radius: 99px; border: 1px solid var(--border-subtle);
  background: var(--bg-card); color: var(--text-pri); font-size: 11.5px; font-weight: 800; cursor: pointer;
}
.ky-pin-btn.pinned { border-color: #f59e0b; color: #f59e0b; background: rgba(245,158,11,0.12); }

.ky-drawer-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px;
}
@media (max-width: 1024px) { .ky-drawer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ky-drawer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ky-d-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; border-radius: 12px; text-decoration: none;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  color: var(--text-pri); transition: 0.18s ease;
}
.ky-d-item:hover, .ky-d-item.active {
  border-color: #22d3ee; background: linear-gradient(135deg, rgba(79,70,229,0.22), rgba(8,145,178,0.26));
  transform: translateY(-1px);
}
.ky-d-num { font-size: 10.5px; font-weight: 900; color: var(--accent-cyan); font-family: Consolas, monospace; opacity: 0.85; }
.ky-d-name { font-size: 12.8px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 2. 11大工作站 + 8大样板卡：真实商业摄影镜头推拉 + 主题实时动态交互层 */
.ky-ws-cover, .ky-tpl-thumb { position: relative; overflow: hidden; background: #0b1220; }
.ky-real-photo, .ky-real-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); animation: kyKenBurns 16s ease-in-out infinite alternate;
  transition: transform 0.45s ease, filter 0.35s ease;
}
.ky-ws-card:hover .ky-real-photo, .ky-tpl-card:hover .ky-real-photo { transform: scale(1.10); }
@keyframes kyKenBurns { 0% { transform: scale(1.01) translate(0, 0); } 100% { transform: scale(1.08) translate(-1.5%, -1%); } }

.ky-scene-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,12,22,0.18) 0%, rgba(8,12,22,0.28) 52%, rgba(8,12,22,0.82) 100%);
}
.ky-fx-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }

/* 01 纯白底实时抠图拉帘 */
.ky-fx-white-wipe {
  position: absolute; top: 0; bottom: 0; right: 0; width: 50%;
  background: rgba(255, 255, 255, 0.90); border-left: 2px solid #22d3ee;
  animation: kyWipeCurtain 5.4s ease-in-out infinite alternate;
  display: flex; align-items: center; justify-content: center;
}
.ky-fx-white-wipe::before {
  content: "↔"; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: #22d3ee; color: #06101e;
  font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px #22d3ee;
}
.ky-fx-white-tag {
  padding: 4px 10px; border-radius: 8px; background: #ef4444; color: #fff;
  font-size: 11px; font-weight: 900; box-shadow: 0 6px 16px rgba(239,68,68,0.35);
  animation: kyTagPulse 2.4s ease-in-out infinite;
}
@keyframes kyWipeCurtain { 0% { width: 22%; } 100% { width: 68%; } }
@keyframes kyTagPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* 02 演播室多频段声波 + REC 时间码 */
.ky-fx-rec {
  position: absolute; left: 12px; bottom: 38px; display: flex; align-items: flex-end; gap: 3px; height: 26px;
}
.ky-fx-rec i {
  display: block; width: 3.5px; border-radius: 2px; background: #22d3ee;
  animation: kyEqBounce 0.9s ease-in-out infinite alternate;
}
.ky-fx-rec i:nth-child(odd) { background: #10b981; animation-duration: 0.65s; }
.ky-fx-rec i:nth-child(3n) { background: #f59e0b; animation-duration: 1.15s; }
@keyframes kyEqBounce { 0% { height: 5px; } 100% { height: 25px; } }

/* 03 电商净利动态进度浮窗 */
.ky-fx-roi-box {
  position: absolute; right: 12px; bottom: 38px; padding: 6px 10px; border-radius: 10px;
  background: rgba(8, 15, 28, 0.82); border: 1px solid rgba(16, 185, 129, 0.55);
  backdrop-filter: blur(8px); color: #6ee7b7; font-size: 11px; font-weight: 900;
}
.ky-fx-roi-bar { height: 4px; width: 110px; background: rgba(255,255,255,0.15); border-radius: 99px; margin-top: 4px; overflow: hidden; }
.ky-fx-roi-bar span { display: block; height: 100%; background: linear-gradient(90deg,#10b981,#22d3ee); animation: kyRoiFill 3.2s ease-in-out infinite alternate; }
@keyframes kyRoiFill { 0% { width: 52%; } 100% { width: 88%; } }

/* 04 门头激光走刀框与标尺 */
.ky-fx-sign-box {
  position: absolute; left: 14%; right: 14%; top: 26%; height: 40%;
  border: 1.5px dashed rgba(34, 211, 238, 0.85); border-radius: 6px;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.28), inset 0 0 18px rgba(245, 158, 11, 0.18);
}
.ky-fx-laser-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fbbf24;
  box-shadow: 0 0 12px #fbbf24, 0 0 20px #22d3ee; animation: kyLaserLoop 4.8s linear infinite;
}
@keyframes kyLaserLoop {
  0% { left: -4px; top: -4px; } 25% { left: calc(100% - 4px); top: -4px; }
  50% { left: calc(100% - 4px); top: calc(100% - 4px); } 75% { left: -4px; top: calc(100% - 4px); }
  100% { left: -4px; top: -4px; }
}

/* 05 实体场馆旧貌焕新对比滤镜帘 */
.ky-fx-venue-before {
  position: absolute; left: 0; top: 0; bottom: 0; width: 45%;
  backdrop-filter: grayscale(0.92) brightness(0.75); -webkit-backdrop-filter: grayscale(0.92) brightness(0.75);
  border-right: 2px solid #fbbf24; animation: kyWipeCurtain 6s ease-in-out infinite alternate;
}

/* 06 公文合同合规扫描绿光束 */
.ky-fx-scan-beam {
  position: absolute; left: 0; right: 0; height: 28px;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.38), rgba(34, 211, 238, 0.75));
  border-bottom: 1.5px solid #22d3ee; animation: kyVerticalScan 3.8s ease-in-out infinite alternate;
}
@keyframes kyVerticalScan { 0% { top: 8%; } 100% { top: 72%; } }

/* 07-11 SVG 动态波形、K线、净值曲线、3D几何与双视窗对比 */
.ky-fx-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ky-fx-curve-anim { stroke-dasharray: 320; stroke-dashoffset: 320; animation: kyDrawCurve 3.8s ease-in-out infinite alternate; }
@keyframes kyDrawCurve { 0% { stroke-dashoffset: 260; } 100% { stroke-dashoffset: 0; } }
.ky-fx-spin3d { transform-origin: 78% 48%; animation: kyGeoSpin 9s linear infinite; }
@keyframes kyGeoSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ky-hud-pill {
  position: absolute; left: 12px; right: 12px; bottom: 9px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 11px; font-weight: 800; color: #e2e8f0; text-shadow: 0 1px 4px rgba(0,0,0,0.85);
}
.ky-tpl-fmt-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2; padding: 3px 9px; border-radius: 99px;
  background: rgba(10, 15, 28, 0.78); border: 1px solid rgba(34, 211, 238, 0.45);
  color: #22d3ee; font-size: 10.5px; font-weight: 900; backdrop-filter: blur(6px);
}

/* === KUNYAN_V20_MODAL_AND_DRAWER_POLISH === */
.ky-floating-drawer {
  background: rgba(12, 15, 23, 0.97) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
}
html[data-theme="light"] .ky-floating-drawer { background: rgba(255, 255, 255, 0.98) !important; }
html[data-theme="mint"] .ky-floating-drawer { background: rgba(236, 247, 240, 0.98) !important; }
html[data-theme="warm"] .ky-floating-drawer { background: rgba(249, 243, 231, 0.98) !important; }

.ky-nav-cats { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ky-nav-cat-pill {
  padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 800;
  color: var(--text-sec); background: transparent; border: 1px solid transparent; cursor: pointer; transition: 0.18s;
}
.ky-nav-cat-pill:hover, .ky-nav-cat-pill.active {
  color: var(--accent-cyan); background: var(--bg-elev); border-color: var(--border-bright);
}
.ky-d-sub { font-size: 11px; color: var(--text-sec); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 四态护眼弹窗自适应配色（彻底解决浅色护眼下黑底黑字撞色） */
.ky-modal-card {
  background: var(--bg-page) !important;
  color: var(--text-pri) !important;
  border: 1.5px solid var(--border-bright) !important;
}
.ky-m-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px;
  color: var(--text-pri);
}
.ky-m-muted { color: var(--text-sec); }

/* === KUNYAN_V20_HORIZONTAL_ASTROLABE_CLEAN === */
.ky-astrolabe-stage {
  width: 1260px !important;
  height: 670px !important;
  /* 中央核心文字区径向净空遮罩：滑入标题与搜索框后方时自动柔化隐去，四周边缘留白区浅透浮现 */
  -webkit-mask-image: radial-gradient(ellipse 410px 235px at 50% 48%, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.14) 56%, rgba(0,0,0,1) 92%);
  mask-image: radial-gradient(ellipse 410px 235px at 50% 48%, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.14) 56%, rgba(0,0,0,1) 92%);
}
@media (max-width: 1100px) {
  .ky-astrolabe-stage { transform: translate(-50%, -50%) scale(0.76) !important; }
}
.ky-astro-ring {
  animation: none !important;
  border-radius: 50% !important;
}
.ky-ring-inner {
  width: 720px !important; height: 370px !important;
  border: 1px solid rgba(34, 211, 238, 0.08) !important;
}
.ky-ring-mid {
  width: 960px !important; height: 496px !important;
  border: 1px dashed rgba(99, 102, 241, 0.08) !important;
}
.ky-ring-outer {
  width: 1190px !important; height: 620px !important;
  border: 1px dashed rgba(148, 163, 184, 0.07) !important;
}
.ky-orbit-slot {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  will-change: transform;
}
.ky-orb-cap {
  animation: none !important;
  transform: translate(-50%, -50%) !important;
  opacity: var(--ky-pill-op, 0.26);
  padding: 3px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  background: rgba(18, 24, 38, 0.45) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  box-shadow: none !important;
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
html:not([data-theme="dark"]) .ky-orb-cap {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}
.ky-ring-mid .ky-orb-cap:hover {
  opacity: 0.92 !important;
  background: linear-gradient(135deg, #4f46e5, #0891b2) !important;
  border-color: #22d3ee !important;
  color: #ffffff !important;
  z-index: 9;
}
