/* 线序科技 - 极简科技风 */
:root {
    --bg-primary: #06080f;
    --bg-secondary: #0c1019;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f2f5;
    --text-secondary: #8b95a8;
    --text-muted: #5a6478;
    --accent-primary: #ffffff;
    --accent-secondary: #d1d5db;
    --accent-muted: rgba(255, 255, 255, 0.55);
    --accent-blue: var(--accent-primary);
    --accent-cyan: #e5e7eb;
    --accent-glow: rgba(255, 255, 255, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.18);
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #c4c9d2 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 72px;
    --container-max: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --radius-textarea: 24px;
    --icon-frame-radius: 50%;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Loader - 线序：点与线跳动 */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.loader-logo {
    width: 56px;
    height: 38px;
    display: block;
}

.loader-logo .logo-mark,
.loader-logo-mark {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(6, 8, 15, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

/* 顶栏推广位：贴视口最左（公开资料等）；与居中内容区分离，预留广告位 */
.header-promo {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    max-width: min(148px, 36vw);
    padding: 4px 10px 4px 4px;
    margin: 0;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition), background var(--transition);
}

.header-promo:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.header-promo-icon.account-app-tile-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    flex-shrink: 0;
    --glass-tint: rgba(210, 220, 255, 0.12);
}

.header-promo-icon.account-app-tile-icon .line-icon {
    width: 16px;
    height: 16px;
}

.header-promo:hover .header-promo-icon.account-app-tile-icon {
    --glass-tint: rgba(210, 220, 255, 0.18);
}

.header-promo-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 有推广位时给内容区左侧留空，避免与站点 Logo 重叠 */
body.has-pm-xws-logo .site-header > .container.header-inner {
    padding-left: max(24px, 148px);
}

@media (max-width: 768px) {
    .header-promo {
        left: 8px;
        max-width: min(120px, 42vw);
        gap: 6px;
        padding: 3px 8px 3px 3px;
    }

    .header-promo-text {
        font-size: 0.8125rem;
    }

    body.has-pm-xws-logo .site-header > .container.header-inner {
        padding-left: max(16px, 118px);
    }
}

.header-brand .lang-switch-standalone {
    padding: 4px 8px;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.header-brand .lang-switch-standalone:hover {
    color: var(--text-primary);
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    font-size: 1.0625rem;
    letter-spacing: 0.04em;
}

.logo-icon {
    width: 38px;
    height: 26px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.main-nav a {
    display: block;
    padding: 8px 18px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

.main-nav .lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: inherit;
    letter-spacing: inherit;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    border: none;
    background: none;
    white-space: nowrap;
    line-height: 1;
}

.main-nav .lang-switch-btn .line-icon-sm {
    width: 15px;
    height: 15px;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .lang-switch-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.main-nav a.active {
    color: var(--accent-blue);
}

.lang-switch {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.user-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.main-nav .user-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    border: 1px solid var(--border-subtle);
    background: none;
    white-space: nowrap;
    line-height: 1;
}

.main-nav .user-nav-btn .line-icon-sm {
    width: 15px;
    height: 15px;
}

.main-nav .user-nav-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
    border-color: var(--border-glow);
}

.main-nav .user-nav-btn:not(.user-nav-login) {
    border-color: transparent;
    padding: 6px 10px;
}

.main-nav .user-nav-btn:not(.user-nav-login):hover {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.06);
}

.main-nav .user-nav-login {
    border-color: transparent;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: var(--radius-pill);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--bg-card);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

#particleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title-scifi-wrap {
    display: inline-block;
}

.hero-title-scifi {
    display: inline-block;
    background-image: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 45%,
        rgba(255, 255, 255, 0.35) 58%,
        rgba(255, 255, 255, 0) 72%
    );
    background-size: 280% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroTitleFlowFill 2.6s ease-out forwards;
}

@keyframes heroTitleFlowFill {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 16px;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 40px;
    animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.4s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: fadeUp 0.8s 0.6s ease both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

a.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.card-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

.logo-icon svg,
.logo-mark {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.logo-mark .logo-edge {
    stroke: currentColor;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-dasharray: 4 7;
    animation: logoEdgeFlow 4.5s linear infinite;
}

.logo-mark .logo-node {
    fill: currentColor;
    animation: logoNodePulse 2.8s ease-in-out infinite;
}

.logo-mark .logo-node-hub {
    animation-duration: 2.2s;
}

.logo-mark .logo-flow-dot {
    fill: currentColor;
    opacity: 0.65;
}

@keyframes logoEdgeFlow {
    to { stroke-dashoffset: -22; }
}

@keyframes logoNodePulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* Linear icons */
.line-icon {
    display: block;
    flex-shrink: 0;
    color: inherit;
}

.line-icon-sm { width: 20px; height: 20px; }
.line-icon-md { width: 24px; height: 24px; }
.line-icon-lg { width: 48px; height: 48px; }
.line-icon-xl { width: 64px; height: 64px; }

.card-icon,
.open-block-icon,
.service-block-icon,
.service-detail-icon,
.contact-info-icon,
.footer-contact-icon {
    border-radius: var(--icon-frame-radius);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Business Blocks */
.business-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.business-block:last-child {
    margin-bottom: 0;
}

.business-block.reverse {
    direction: rtl;
}

.business-block.reverse > * {
    direction: ltr;
}

.business-visual {
    aspect-ratio: 4/3;
    position: relative;
    overflow: visible;
}

.business-visual .bv-grid {
    position: absolute;
    inset: -8% -4%;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 65% 55% at 50% 48%, black 0%, transparent 72%);
    pointer-events: none;
}

.business-visual .bv-glow {
    position: absolute;
    inset: -10% -5%;
    background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.035), transparent 42%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 48%, black, transparent 68%);
    pointer-events: none;
}

.business-visual .bv-art {
    position: absolute;
    inset: 8% 0;
    width: 100%;
    height: 84%;
}

.business-visual .kg-edge {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
    stroke-dasharray: 5 8;
    animation: kgEdgeFlow 6s linear infinite;
}

.business-visual .kg-edge:nth-child(odd) {
    animation-duration: 4.5s;
    animation-direction: reverse;
}

.business-visual .kg-node {
    fill: rgba(255, 255, 255, 0.82);
    animation: kgNodePulse 3.2s ease-in-out infinite;
    transition: fill 0.3s ease;
}

.business-visual .kg-node-hub {
    fill: rgba(255, 255, 255, 0.95);
    animation-duration: 2.8s;
}

.business-visual .kg-flow-dot {
    fill: rgba(255, 255, 255, 0.55);
    opacity: 0.85;
}

.business-visual .bv-pulse-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    animation: bvRingPulse 4s ease-in-out infinite;
}

.business-visual .bv-helix {
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
}

.business-visual .bv-helix-a {
    animation: bvHelixFlow 8s linear infinite;
}

.business-visual .bv-helix-b {
    animation: bvHelixFlow 8s linear infinite reverse;
    opacity: 0.7;
}

.business-visual .bv-rungs line {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    stroke-dasharray: 3 6;
    animation: kgEdgeFlow 6s linear infinite;
}

.business-visual .bv-seq-dots circle {
    fill: rgba(255, 255, 255, 0.6);
    animation: kgNodePulse 4s ease-in-out infinite;
}

.business-visual .bv-seq-dots circle:nth-child(odd) {
    animation-delay: 0.5s;
}

.business-visual .bv-orbit {
    position: absolute;
    border: none;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, transparent 48.5%, rgba(255,255,255,0.05) 49.5%, transparent 50.5%);
    opacity: 0.45;
}

.business-visual .bv-orbit-1 {
    width: 55%;
    height: 55%;
    top: 22%;
    left: 22%;
    animation: bvOrbitSpin 20s linear infinite;
}

.business-visual .bv-orbit-2 {
    width: 75%;
    height: 75%;
    top: 12%;
    left: 12%;
    animation: bvOrbitSpin 30s linear infinite reverse;
    opacity: 0.25;
}

.business-visual .bv-label {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    font-weight: 500;
}

@keyframes kgEdgeFlow {
    to { stroke-dashoffset: -26; }
}

@keyframes kgNodePulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@keyframes bvRingPulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.55; }
}

@keyframes bvHelixFlow {
    to { stroke-dashoffset: -40; }
}

.business-visual-life .bv-helix-a,
.business-visual-life .bv-helix-b {
    stroke-dasharray: 8 6;
}

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

.business-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.business-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.business-features {
    list-style: none;
}

.business-features li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.business-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 32px 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: 1;
    transition: opacity var(--transition);
}

a.news-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.news-card:hover,
.news-card:focus-visible {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    outline: none;
}

.news-card:hover::before,
.news-card:focus-visible::before {
    opacity: 1;
}

.news-card:active {
    transform: translateY(-2px);
    border-color: var(--border-glow);
}

.news-card-link:hover .news-link,
.news-card-link:focus-visible .news-link {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.news-card-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 16px;
    flex: 1;
}

.news-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: color var(--transition), transform var(--transition);
}

/* Open / Share */
.open-block {
    margin-bottom: 64px;
}

.open-block:last-child {
    margin-bottom: 0;
}

.open-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.open-block-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.open-block-header h2 {
    font-size: 1.375rem;
    font-weight: 600;
}

.open-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.open-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.open-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

a.open-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.open-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    align-self: flex-start;
}

.open-tag-paper {
    color: var(--text-secondary);
}

.open-link-soon {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.open-card:hover,
.open-card:focus-visible {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    outline: none;
}

.open-card:hover::before,
.open-card:focus-visible::before {
    opacity: 1;
}

.open-card:active {
    transform: translateY(-2px);
    border-color: var(--border-glow);
}

.open-card-link:hover .news-link,
.open-card-link:focus-visible .news-link {
    transform: translateX(4px);
}

.open-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.open-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.open-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 16px;
    flex: 1;
}

.open-card .news-link {
    margin-top: auto;
}

.open-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
}

/* Page Banner */
.page-banner {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background: var(--gradient-hero);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner--compact {
    padding: 120px 0 56px;
}

/* 晓文书首屏：左右 AI 书写 / 管理示意动效背景 */
.xws-intro-banner {
    overflow: hidden;
    min-height: min(72vh, 640px);
    display: flex;
    align-items: center;
}

.xws-intro-banner .container {
    width: 100%;
}

.xws-intro-ambient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.xws-ambient-glow {
    position: absolute;
    inset: 8% 18%;
    background:
        radial-gradient(ellipse 42% 55% at 50% 48%, rgba(255, 255, 255, 0.05), transparent 70%);
}

.xws-ambient-sheet {
    position: absolute;
    width: min(220px, 22vw);
    padding: 14px 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(8, 12, 22, 0.55) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    opacity: 0.55;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.xws-ambient-sheet--a {
    left: max(2%, calc(50% - 560px));
    top: 18%;
    transform: rotate(-6deg);
    animation: xwsAmbientFloatA 7.5s ease-in-out infinite;
}

.xws-ambient-sheet--b {
    right: max(2%, calc(50% - 540px));
    top: 22%;
    transform: rotate(5deg);
    animation: xwsAmbientFloatB 8.2s ease-in-out infinite;
    opacity: 0.5;
}

.xws-ambient-sheet--c {
    left: max(6%, calc(50% - 480px));
    bottom: 12%;
    width: min(200px, 20vw);
    transform: rotate(3deg);
    animation: xwsAmbientFloatC 9s ease-in-out infinite;
    opacity: 0.42;
}

.xws-ambient-sheet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.xws-ambient-dots {
    width: 36px;
    height: 7px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 4px 3.5px, rgba(255, 255, 255, 0.35) 2.5px, transparent 3px),
        radial-gradient(circle at 14px 3.5px, rgba(255, 255, 255, 0.22) 2.5px, transparent 3px),
        radial-gradient(circle at 24px 3.5px, rgba(255, 255, 255, 0.14) 2.5px, transparent 3px);
}

.xws-ambient-chip {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.xws-ambient-chip--edit {
    color: #e8eef8;
    border-color: rgba(255, 255, 255, 0.22);
}

.xws-ambient-chip--live {
    color: #dce8f8;
    border-color: rgba(180, 210, 255, 0.28);
}

.xws-ambient-title {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(232, 238, 248, 0.88);
}

.xws-ambient-lines {
    position: relative;
    display: grid;
    gap: 7px;
}

.xws-ambient-line {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transform-origin: left center;
    width: 100%;
}

.xws-ambient-line--1 { width: 92%; animation: xwsAmbientType 3.6s ease-in-out infinite; }
.xws-ambient-line--2 { width: 78%; animation: xwsAmbientType 3.6s ease-in-out 0.35s infinite; }
.xws-ambient-line--3 { width: 64%; animation: xwsAmbientType 3.6s ease-in-out 0.7s infinite; }

.xws-ambient-line.is-highlight {
    background: rgba(210, 225, 255, 0.28);
    box-shadow: 0 0 12px rgba(180, 210, 255, 0.12);
}

.xws-ambient-caret {
    position: absolute;
    right: 18%;
    bottom: 0;
    width: 2px;
    height: 10px;
    background: rgba(255, 255, 255, 0.75);
    animation: xwsAmbientCaret 0.9s steps(1) infinite;
}

.xws-ambient-pen {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    animation: xwsAmbientPen 2.4s ease-in-out infinite;
}

.xws-ambient-pen .line-icon {
    width: 14px;
    height: 14px;
}

.xws-ambient-tags {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.xws-ambient-tags li {
    font-size: 0.625rem;
    color: var(--text-muted);
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.xws-ambient-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.xws-ambient-orbit--1 {
    width: min(420px, 46vw);
    height: min(420px, 46vw);
    left: -8%;
    top: 20%;
    animation: xwsAmbientSpin 28s linear infinite;
}

.xws-ambient-orbit--2 {
    width: min(360px, 40vw);
    height: min(360px, 40vw);
    right: -6%;
    bottom: 8%;
    animation: xwsAmbientSpin 36s linear infinite reverse;
}

.xws-ambient-spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(232, 238, 248, 0.55);
    box-shadow: 0 0 12px rgba(220, 230, 255, 0.35);
    animation: xwsAmbientSpark 4.8s ease-in-out infinite;
}

.xws-ambient-spark--1 { left: 18%; top: 36%; animation-delay: 0s; }
.xws-ambient-spark--2 { right: 16%; top: 42%; animation-delay: 1.2s; }
.xws-ambient-spark--3 { left: 28%; bottom: 22%; animation-delay: 2.1s; }

@keyframes xwsAmbientFloatA {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-10px); }
}

@keyframes xwsAmbientFloatB {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(12px); }
}

@keyframes xwsAmbientFloatC {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-8px); }
}

@keyframes xwsAmbientType {
    0%, 12% { transform: scaleX(0.15); opacity: 0.35; }
    40%, 70% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0.85); opacity: 0.7; }
}

@keyframes xwsAmbientCaret {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes xwsAmbientPen {
    0%, 100% { transform: translate(0, 0) rotate(-8deg); opacity: 0.55; }
    50% { transform: translate(-4px, -3px) rotate(0deg); opacity: 0.95; }
}

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

@keyframes xwsAmbientSpark {
    0%, 100% { opacity: 0.15; transform: scale(0.7); }
    50% { opacity: 0.9; transform: scale(1.15); }
}

@media (max-width: 960px) {
    .xws-ambient-sheet--a { left: 2%; top: 14%; opacity: 0.35; }
    .xws-ambient-sheet--b { right: 2%; top: 16%; opacity: 0.32; }
    .xws-ambient-sheet--c { display: none; }
    .xws-ambient-orbit { opacity: 0.5; }
}

@media (max-width: 640px) {
    .xws-intro-banner {
        min-height: 0;
    }

    .xws-ambient-sheet {
        width: 132px;
        padding: 10px;
        opacity: 0.22;
    }

    .xws-ambient-title,
    .xws-ambient-tags {
        display: none;
    }

    .xws-ambient-orbit--1,
    .xws-ambient-orbit--2 {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xws-ambient-sheet,
    .xws-ambient-line,
    .xws-ambient-caret,
    .xws-ambient-pen,
    .xws-ambient-orbit,
    .xws-ambient-spark {
        animation: none !important;
    }
}

.xws-intro-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.xws-intro-badge.account-app-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 8px;
    --glass-tint: rgba(210, 220, 255, 0.12);
}

.xws-intro-badge.account-app-tile-icon .line-icon {
    width: 30px;
    height: 30px;
}

.xws-intro-lead {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.xws-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.xws-intro-grid {
    margin-top: 8px;
}

/* 晓文书：功能链路演示 */
.xws-flow-section {
    padding: 48px 0 72px;
    position: relative;
}

.xws-flow-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255, 255, 255, 0.04), transparent 70%);
    pointer-events: none;
}

.xws-flow {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
}

.xws-flow-stage {
    display: grid;
    gap: 18px;
}

.xws-flow-actors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
}

.xws-flow-actor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.8125rem;
    transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.xws-flow-actor.is-active {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.xws-flow-actor-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.xws-flow-actor.is-active .xws-flow-actor-dot {
    background: #e8eef8;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
    animation: xwsActorPulse 1.1s ease-in-out infinite;
}

.xws-flow-canvas {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 20px 28px;
    align-items: center;
    min-height: 280px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 45%, rgba(8, 12, 22, 0.55) 100%),
        rgba(10, 14, 24, 0.72);
    overflow: hidden;
}

.xws-flow-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 70% at 40% 50%, #000 20%, transparent 75%);
    pointer-events: none;
}

.xws-flow-doc {
    position: relative;
    z-index: 1;
    padding: 16px 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 15, 0.78);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    min-height: 168px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.xws-flow-doc[data-phase="revise"] {
    border-color: rgba(255, 255, 255, 0.28);
}

.xws-flow-doc[data-phase="publish"],
.xws-flow-doc[data-phase="sync"] {
    border-color: rgba(180, 220, 255, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(140, 180, 230, 0.12);
}

.xws-flow-doc-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.xws-flow-doc-dots {
    width: 42px;
    height: 8px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 4px 4px, rgba(255, 255, 255, 0.35) 3px, transparent 4px),
        radial-gradient(circle at 16px 4px, rgba(255, 255, 255, 0.22) 3px, transparent 4px),
        radial-gradient(circle at 28px 4px, rgba(255, 255, 255, 0.14) 3px, transparent 4px);
}

.xws-flow-doc-status {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.xws-flow-doc[data-phase="publish"] .xws-flow-doc-status,
.xws-flow-doc[data-phase="sync"] .xws-flow-doc-status {
    color: #dce8f8;
    border-color: rgba(180, 210, 255, 0.28);
}

.xws-flow-doc-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    min-height: 1.4em;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.xws-flow-doc-lines {
    position: relative;
    min-height: 3.2em;
}

.xws-flow-line {
    margin: 0 0 8px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
    min-height: 1.4em;
}

.xws-flow-line--muted {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.xws-flow-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    vertical-align: -2px;
    background: rgba(255, 255, 255, 0.75);
    opacity: 0;
}

.xws-flow-caret.is-on {
    opacity: 1;
    animation: xwsCaretBlink 0.55s steps(1) infinite;
}

.xws-flow-pen {
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translate(6px, 6px) rotate(-12deg);
    transition: opacity 0.35s ease, transform 0.45s ease;
    pointer-events: none;
}

.xws-flow-pen .line-icon {
    width: 18px;
    height: 18px;
}

.xws-flow-pen.is-on {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
    animation: xwsPenNudge 1.1s ease-in-out infinite;
}

.xws-flow-beams {
    position: absolute;
    left: 46%;
    top: 28%;
    width: 18%;
    height: 48%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.xws-flow[data-phase="publish"] .xws-flow-beams,
.xws-flow[data-phase="sync"] .xws-flow-beams {
    opacity: 1;
}

.xws-flow-beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    transform-origin: left center;
    animation: xwsBeamFlow 1.4s ease-in-out infinite;
}

.xws-flow-beam[data-beam="public"] { top: 18%; animation-delay: 0s; }
.xws-flow-beam[data-beam="news"] { top: 48%; animation-delay: 0.15s; }
.xws-flow-beam[data-beam="kb"] { top: 78%; animation-delay: 0.3s; }

.xws-flow[data-phase="publish"] .xws-flow-beam[data-beam="kb"] {
    opacity: 0.25;
}

.xws-flow-outputs {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
}

.xws-flow-out {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    opacity: 0.45;
    transform: translateX(8px);
    transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.45s ease, color 0.45s ease, background 0.45s ease;
}

.xws-flow-out-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.xws-flow-out-icon .line-icon {
    width: 16px;
    height: 16px;
}

.xws-flow-out-label {
    font-size: 0.9375rem;
    font-weight: 500;
}

.xws-flow[data-phase="publish"] .xws-flow-out[data-out="public"],
.xws-flow[data-phase="publish"] .xws-flow-out[data-out="news"],
.xws-flow[data-phase="sync"] .xws-flow-out {
    opacity: 1;
    transform: translateX(0);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.xws-flow[data-phase="sync"] .xws-flow-out[data-out="kb"] {
    border-color: rgba(180, 210, 255, 0.3);
    box-shadow: 0 0 20px rgba(120, 170, 230, 0.12);
}

.xws-flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.xws-flow-step-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.xws-flow-step.is-active .xws-flow-step-btn,
.xws-flow-step-btn:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.xws-flow-step.is-active .xws-flow-step-btn {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.xws-flow-step-index {
    flex-shrink: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    display: inline;
    align-items: unset;
    justify-content: unset;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border: none;
    background: transparent;
}

.xws-flow-step.is-active .xws-flow-step-index {
    color: var(--text-secondary);
    background: transparent;
    border-color: transparent;
}

.xws-flow-step-copy {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.xws-flow-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.xws-flow-step.is-active .xws-flow-step-label {
    color: var(--text-primary);
}

.xws-flow-step-hint {
    display: none;
}

.xws-flow-live {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    min-height: 1.4em;
}

@keyframes xwsCaretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes xwsActorPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06); }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1); }
}

@keyframes xwsPenNudge {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-3px, -2px) rotate(-6deg); }
}

@keyframes xwsBeamFlow {
    0% { transform: scaleX(0.2); opacity: 0.2; }
    45% { transform: scaleX(1); opacity: 0.9; }
    100% { transform: scaleX(1); opacity: 0.15; }
}

@media (max-width: 900px) {
    .xws-flow-canvas {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .xws-flow-beams {
        display: none;
    }

    .xws-flow-steps {
        gap: 8px;
    }

    .xws-flow-step-btn {
        padding: 8px 14px;
    }
}

@media (max-width: 560px) {
    .xws-flow-canvas {
        padding: 20px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xws-flow-actor.is-active .xws-flow-actor-dot,
    .xws-flow-caret.is-on,
    .xws-flow-pen.is-on,
    .xws-flow-beam {
        animation: none !important;
    }
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-banner p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* Page Visual Banner - immersive, borderless, richer than homepage */
.page-visual-banner {
    position: relative;
    padding: calc(var(--header-height) + 40px) 0 64px;
    min-height: min(62vh, 500px);
    background: var(--gradient-hero);
    overflow: hidden;
}

.page-visual-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.18;
    pointer-events: none;
    mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
}

/* 数字科技首屏：空白区 AI 氛围元素 */
.pvb-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.pvb-ambient-beam {
    position: absolute;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    opacity: 0.35;
    transform-origin: left center;
    animation: pvbAmbientBeam 5.5s ease-in-out infinite;
}

.pvb-ambient-beam--1 {
    left: 18%;
    top: 34%;
    width: min(220px, 28vw);
    animation-delay: 0s;
}

.pvb-ambient-beam--2 {
    left: 36%;
    top: 52%;
    width: min(180px, 22vw);
    animation-delay: 1.4s;
}

.pvb-ambient-beam--3 {
    left: 28%;
    top: 68%;
    width: min(160px, 20vw);
    animation-delay: 2.6s;
}

.pvb-ambient-chip {
    position: absolute;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    color: rgba(232, 238, 248, 0.55);
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
    animation: pvbAmbientFloat 7s ease-in-out infinite;
}

.pvb-ambient-chip--1 { left: 12%; top: 26%; animation-delay: 0s; }
.pvb-ambient-chip--2 { left: 42%; top: 22%; animation-delay: 0.8s; opacity: 0.7; }
.pvb-ambient-chip--3 { left: 30%; top: 44%; animation-delay: 1.5s; }
.pvb-ambient-chip--4 { left: 48%; top: 58%; animation-delay: 2.2s; opacity: 0.65; }
.pvb-ambient-chip--5 { left: 16%; top: 62%; animation-delay: 2.8s; }
.pvb-ambient-chip--6 { left: 38%; top: 74%; animation-delay: 3.4s; opacity: 0.6; }

.pvb-ambient-node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(232, 238, 248, 0.55);
    box-shadow: 0 0 10px rgba(220, 230, 255, 0.28);
    animation: pvbAmbientPulse 3.8s ease-in-out infinite;
}

.pvb-ambient-node--1 { left: 24%; top: 30%; animation-delay: 0s; }
.pvb-ambient-node--2 { left: 46%; top: 38%; animation-delay: 0.9s; }
.pvb-ambient-node--3 { left: 34%; top: 60%; animation-delay: 1.7s; }
.pvb-ambient-node--4 { left: 52%; top: 70%; animation-delay: 2.5s; }

.pvb-ambient-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation: pvbAmbientSpin 32s linear infinite;
}

.pvb-ambient-ring--1 {
    width: min(280px, 34vw);
    height: min(280px, 34vw);
    left: 22%;
    top: 28%;
}

.pvb-ambient-ring--2 {
    width: min(180px, 22vw);
    height: min(180px, 22vw);
    left: 40%;
    top: 48%;
    animation-duration: 40s;
    animation-direction: reverse;
}

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

@keyframes pvbAmbientBeam {
    0%, 100% { transform: scaleX(0.35); opacity: 0.12; }
    45% { transform: scaleX(1); opacity: 0.45; }
}

@keyframes pvbAmbientPulse {
    0%, 100% { opacity: 0.2; transform: scale(0.75); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

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

@media (max-width: 960px) {
    .pvb-ambient-chip--2,
    .pvb-ambient-chip--4,
    .pvb-ambient-chip--6,
    .pvb-ambient-beam--2,
    .pvb-ambient-ring--2 {
        display: none;
    }

    .pvb-ambient-chip {
        opacity: 0.4;
        font-size: 0.625rem;
    }
}

@media (max-width: 640px) {
    .pvb-ambient {
        opacity: 0.45;
    }

    .pvb-ambient-chip--3,
    .pvb-ambient-chip--5,
    .pvb-ambient-ring--1 {
        display: none;
    }
}

/* 生命科学首屏：细胞 / 螺旋 / 碱基序列（造型区别于数字科技胶囊标签） */
.life-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    color: rgba(200, 228, 214, 0.45);
}

.life-ambient-cell {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(190, 220, 205, 0.22);
    background:
        radial-gradient(circle at 35% 32%, rgba(220, 240, 230, 0.14), transparent 42%),
        rgba(140, 180, 160, 0.04);
    animation: lifeAmbientDrift 8s ease-in-out infinite;
}

.life-ambient-cell i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28%;
    height: 28%;
    margin: -14% 0 0 -14%;
    border-radius: 50%;
    background: rgba(210, 235, 220, 0.35);
    box-shadow: 0 0 10px rgba(180, 220, 200, 0.2);
}

.life-ambient-cell--1 {
    width: 54px;
    height: 54px;
    left: 14%;
    top: 28%;
    animation-delay: 0s;
}

.life-ambient-cell--2 {
    width: 36px;
    height: 36px;
    left: 40%;
    top: 24%;
    animation-delay: 1.2s;
    opacity: 0.7;
}

.life-ambient-cell--3 {
    width: 72px;
    height: 72px;
    left: 28%;
    top: 56%;
    animation-delay: 2s;
    opacity: 0.55;
}

.life-ambient-cell--4 {
    width: 28px;
    height: 28px;
    left: 48%;
    top: 68%;
    animation-delay: 2.8s;
    opacity: 0.65;
}

.life-ambient-helix {
    position: absolute;
    width: 42px;
    height: 108px;
    opacity: 0.42;
    animation: lifeAmbientBob 7.5s ease-in-out infinite;
}

.life-ambient-helix--1 {
    left: 20%;
    top: 38%;
    transform: rotate(-12deg);
}

.life-ambient-helix--2 {
    left: 44%;
    top: 42%;
    width: 34px;
    height: 90px;
    opacity: 0.32;
    transform: rotate(10deg);
    animation-delay: 1.6s;
    animation-direction: reverse;
}

.life-ambient-seq {
    position: absolute;
    margin: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    color: rgba(200, 228, 214, 0.42);
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    white-space: nowrap;
    animation: lifeAmbientFade 6s ease-in-out infinite;
}

.life-ambient-seq--1 {
    left: 12%;
    top: 72%;
    transform: rotate(-4deg);
}

.life-ambient-seq--2 {
    left: 36%;
    top: 34%;
    transform: rotate(3deg);
    animation-delay: 1.8s;
    opacity: 0.55;
}

.life-ambient-spore {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(200, 228, 214, 0.45);
    box-shadow: 0 0 8px rgba(170, 210, 190, 0.25);
    animation: lifeAmbientRise 9s ease-in-out infinite;
}

.life-ambient-spore--1 { left: 18%; bottom: 18%; animation-delay: 0s; }
.life-ambient-spore--2 { left: 32%; bottom: 22%; animation-delay: 1.4s; width: 4px; height: 4px; }
.life-ambient-spore--3 { left: 42%; bottom: 16%; animation-delay: 2.6s; }
.life-ambient-spore--4 { left: 24%; bottom: 28%; animation-delay: 3.5s; width: 3px; height: 3px; }
.life-ambient-spore--5 { left: 50%; bottom: 26%; animation-delay: 4.2s; width: 4px; height: 4px; }

.life-ambient-mol {
    position: absolute;
    width: 28px;
    height: 28px;
    animation: lifeAmbientDrift 9.5s ease-in-out infinite;
}

.life-ambient-mol i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid rgba(190, 220, 205, 0.35);
    background: rgba(180, 210, 195, 0.12);
}

.life-ambient-mol i:nth-child(1) { left: 0; top: 10px; }
.life-ambient-mol i:nth-child(2) { left: 12px; top: 0; }
.life-ambient-mol i:nth-child(3) { left: 18px; top: 16px; }

.life-ambient-mol--1 {
    left: 34%;
    top: 48%;
    animation-delay: 0.6s;
}

.life-ambient-mol--2 {
    left: 16%;
    top: 48%;
    animation-delay: 2.2s;
    opacity: 0.7;
    transform: scale(0.85);
}

@keyframes lifeAmbientDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -10px); }
}

@keyframes lifeAmbientBob {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(-10px); }
}

.life-ambient-helix--2 {
    animation-name: lifeAmbientBobB;
}

@keyframes lifeAmbientBobB {
    0%, 100% { transform: rotate(10deg) translateY(0); }
    50% { transform: rotate(14deg) translateY(8px); }
}

@keyframes lifeAmbientFade {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.55; }
}

@keyframes lifeAmbientRise {
    0%, 100% { transform: translateY(0); opacity: 0.2; }
    50% { transform: translateY(-28px); opacity: 0.75; }
}

@media (max-width: 960px) {
    .life-ambient-cell--2,
    .life-ambient-helix--2,
    .life-ambient-seq--2,
    .life-ambient-mol--2 {
        display: none;
    }

    .life-ambient {
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .life-ambient-cell--3,
    .life-ambient-helix--1,
    .life-ambient-seq--1 {
        display: none;
    }

    .life-ambient {
        opacity: 0.5;
    }
}

/* 共享开放首屏：共享网络 / 代码符号 / 论文卡片（区别于科技胶囊与生命细胞） */
.open-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    color: rgba(210, 220, 235, 0.42);
}

.open-ambient-net {
    position: absolute;
    opacity: 0.4;
    animation: openAmbientBob 8s ease-in-out infinite;
}

.open-ambient-net--1 {
    left: 12%;
    top: 28%;
    width: min(170px, 22vw);
    height: auto;
    transform: rotate(-8deg);
}

.open-ambient-net--2 {
    left: 40%;
    top: 54%;
    width: min(130px, 18vw);
    opacity: 0.28;
    transform: rotate(12deg);
    animation-delay: 1.6s;
    animation-direction: reverse;
}

.open-ambient-code {
    position: absolute;
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    font-weight: 300;
    line-height: 1;
    color: rgba(220, 228, 240, 0.28);
    animation: openAmbientGlyph 6.5s ease-in-out infinite;
}

.open-ambient-code--1 {
    left: 30%;
    top: 24%;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: 0.08em;
}

.open-ambient-code--2 {
    left: 18%;
    top: 58%;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    animation-delay: 1.2s;
}

.open-ambient-code--3 {
    left: 46%;
    top: 38%;
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    opacity: 0.55;
    animation-delay: 2.2s;
}

.open-ambient-doc {
    position: absolute;
    width: 78px;
    height: 96px;
    padding: 12px 10px;
    border-radius: 4px 12px 4px 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    gap: 7px;
    animation: openAmbientFloat 7.8s ease-in-out infinite;
}

.open-ambient-doc span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.open-ambient-doc span:first-child {
    width: 48%;
    height: 4px;
    background: rgba(220, 228, 240, 0.28);
}

.open-ambient-doc span:last-child {
    width: 64%;
}

.open-ambient-doc--1 {
    left: 28%;
    top: 62%;
    transform: rotate(-6deg);
}

.open-ambient-doc--2 {
    left: 14%;
    top: 36%;
    width: 62px;
    height: 78px;
    opacity: 0.55;
    transform: rotate(8deg);
    animation-delay: 1.4s;
}

.open-ambient-link {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(210, 220, 235, 0.32), transparent);
    transform-origin: left center;
    animation: openAmbientLink 5.8s ease-in-out infinite;
}

.open-ambient-link--1 {
    left: 20%;
    top: 48%;
    width: min(150px, 20vw);
}

.open-ambient-link--2 {
    left: 34%;
    top: 70%;
    width: min(120px, 16vw);
    animation-delay: 1.5s;
}

.open-ambient-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(220, 228, 240, 0.45);
    box-shadow: 0 0 8px rgba(200, 210, 230, 0.25);
    animation: openAmbientPulse 4s ease-in-out infinite;
}

.open-ambient-dot--1 { left: 24%; top: 30%; }
.open-ambient-dot--2 { left: 42%; top: 46%; animation-delay: 0.8s; }
.open-ambient-dot--3 { left: 18%; top: 72%; animation-delay: 1.5s; }
.open-ambient-dot--4 { left: 50%; top: 34%; animation-delay: 2.2s; width: 4px; height: 4px; }

@keyframes openAmbientFloat {
    0%, 100% { transform: translateY(0) rotate(var(--open-rot, -6deg)); }
    50% { transform: translateY(-10px) rotate(var(--open-rot, -6deg)); }
}

.open-ambient-doc--1 { --open-rot: -6deg; }
.open-ambient-doc--2 { --open-rot: 8deg; }

@keyframes openAmbientBob {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-8px); }
}

.open-ambient-net--2 {
    animation-name: openAmbientBobB;
}

@keyframes openAmbientBobB {
    0%, 100% { transform: rotate(12deg) translateY(0); }
    50% { transform: rotate(16deg) translateY(7px); }
}

@keyframes openAmbientGlyph {
    0%, 100% { opacity: 0.22; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(-6px); }
}

@keyframes openAmbientLink {
    0%, 100% { transform: scaleX(0.35); opacity: 0.15; }
    45% { transform: scaleX(1); opacity: 0.5; }
}

@keyframes openAmbientPulse {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.85; transform: scale(1.15); }
}

@media (max-width: 960px) {
    .open-ambient-net--2,
    .open-ambient-code--3,
    .open-ambient-doc--2 {
        display: none;
    }

    .open-ambient {
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .open-ambient-net--1,
    .open-ambient-doc--1,
    .open-ambient-code--2 {
        display: none;
    }

    .open-ambient {
        opacity: 0.5;
    }
}

.about-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    color: rgba(200, 214, 230, 0.4);
}

.about-ambient-arcs {
    position: absolute;
    opacity: 0.42;
    animation: aboutAmbientBob 9s ease-in-out infinite;
}

.about-ambient-arcs--1 {
    left: 10%;
    top: 26%;
    width: min(190px, 24vw);
    height: auto;
}

.about-ambient-arcs--2 {
    left: 36%;
    top: 56%;
    width: min(140px, 18vw);
    opacity: 0.28;
    animation-delay: 1.8s;
    animation-direction: reverse;
}

.about-ambient-msg {
    position: absolute;
    width: 72px;
    height: 52px;
    padding: 12px 10px 14px;
    border-radius: 14px 14px 14px 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: aboutAmbientFloat 7.5s ease-in-out infinite;
}

.about-ambient-msg::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: -7px;
    width: 12px;
    height: 12px;
    background: inherit;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    border-radius: 0 0 2px 0;
}

.about-ambient-msg span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.about-ambient-msg span:first-child {
    width: 62%;
    background: rgba(210, 222, 238, 0.32);
}

.about-ambient-msg span:last-child {
    width: 84%;
}

.about-ambient-msg--1 {
    left: 26%;
    top: 58%;
    --about-rot: -5deg;
    transform: rotate(var(--about-rot));
}

.about-ambient-msg--2 {
    left: 14%;
    top: 34%;
    width: 58px;
    height: 44px;
    opacity: 0.55;
    --about-rot: 8deg;
    transform: rotate(var(--about-rot));
    animation-delay: 1.3s;
}

.about-ambient-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: rgba(210, 222, 238, 0.35);
    box-shadow: 0 0 10px rgba(180, 200, 230, 0.2);
    animation: aboutAmbientPinPulse 4.2s ease-in-out infinite;
}

.about-ambient-pin--1 { left: 22%; top: 42%; }
.about-ambient-pin--2 { left: 44%; top: 30%; animation-delay: 1.1s; width: 8px; height: 8px; }

.about-ambient-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200, 214, 230, 0.22);
    animation: aboutAmbientRipple 5.5s ease-out infinite;
}

.about-ambient-ring--1 {
    left: 20%;
    top: 40%;
    width: 36px;
    height: 36px;
    margin: -13px 0 0 -13px;
}

.about-ambient-ring--2 {
    left: 42%;
    top: 28%;
    width: 28px;
    height: 28px;
    margin: -10px 0 0 -10px;
    animation-delay: 1.6s;
}

.about-ambient-dash {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 214, 230, 0.35), transparent);
    transform-origin: left center;
    animation: aboutAmbientDash 6s ease-in-out infinite;
}

.about-ambient-dash--1 {
    left: 18%;
    top: 50%;
    width: min(140px, 18vw);
}

.about-ambient-dash--2 {
    left: 30%;
    top: 68%;
    width: min(110px, 14vw);
    animation-delay: 1.4s;
}

.about-ambient-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(210, 222, 238, 0.42);
    animation: aboutAmbientPulse 4s ease-in-out infinite;
}

.about-ambient-dot--1 { left: 32%; top: 28%; }
.about-ambient-dot--2 { left: 48%; top: 48%; animation-delay: 0.9s; }
.about-ambient-dot--3 { left: 16%; top: 66%; animation-delay: 1.8s; width: 4px; height: 4px; }

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

@keyframes aboutAmbientFloat {
    0%, 100% { transform: translateY(0) rotate(var(--about-rot, 0deg)); }
    50% { transform: translateY(-9px) rotate(var(--about-rot, 0deg)); }
}

@keyframes aboutAmbientPulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.9; }
}

@keyframes aboutAmbientPinPulse {
    0%, 100% { opacity: 0.3; transform: rotate(-45deg) scale(0.9); }
    50% { opacity: 0.9; transform: rotate(-45deg) scale(1.12); }
}

@keyframes aboutAmbientRipple {
    0% { transform: scale(0.55); opacity: 0.45; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

@keyframes aboutAmbientDash {
    0%, 100% { transform: scaleX(0.35); opacity: 0.15; }
    45% { transform: scaleX(1); opacity: 0.5; }
}

@media (max-width: 960px) {
    .about-ambient-arcs--2,
    .about-ambient-msg--2,
    .about-ambient-pin--2 {
        display: none;
    }

    .about-ambient {
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .about-ambient-arcs--1,
    .about-ambient-msg--1,
    .about-ambient-dash--2 {
        display: none;
    }

    .about-ambient {
        opacity: 0.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pvb-ambient-chip,
    .pvb-ambient-beam,
    .pvb-ambient-node,
    .pvb-ambient-ring,
    .life-ambient-cell,
    .life-ambient-helix,
    .life-ambient-seq,
    .life-ambient-spore,
    .life-ambient-mol,
    .open-ambient-net,
    .open-ambient-code,
    .open-ambient-doc,
    .open-ambient-link,
    .open-ambient-dot,
    .about-ambient-arcs,
    .about-ambient-msg,
    .about-ambient-pin,
    .about-ambient-ring,
    .about-ambient-dash,
    .about-ambient-dot {
        animation: none !important;
    }
}

.pvb-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
    gap: 16px 48px;
    align-items: center;
}

.pvb-copy {
    max-width: 520px;
    text-align: left;
    align-self: center;
}

.pvb-copy .section-label {
    display: inline-block;
    margin-bottom: 16px;
}

.pvb-copy h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.15;
}

.pvb-copy p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
    max-width: 460px;
}

.pvb-stage {
    position: relative;
    width: 100%;
    max-width: 640px;
    height: clamp(300px, 40vh, 420px);
    justify-self: end;
    align-self: center;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 94%, transparent 100%);
}

.page-visual-banner--life .pvb-stage {
    margin-top: 28px;
}

.pvb-stage .business-visual--banner-rich {
    pointer-events: auto;
}

.business-visual.visual-pointer-enabled {
    transition: filter 0.35s ease;
}

.business-visual.visual-pointer-hover {
    filter: brightness(1.06);
}

.life-graph-layer {
    position: absolute;
    inset: 0;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.business-visual--banner-rich .bv-art-rich {
    transition: transform 0.12s ease-out;
}

.pvb-stage .business-visual--banner-rich {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: visible;
}

.pvb-stage .business-visual--banner-rich .bv-art-rich {
    inset: 2% 0 6% 0;
    width: 100%;
    height: 92%;
}

.pvb-stage .business-visual--banner-rich .bv-label {
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
    opacity: 0.28;
    white-space: nowrap;
}

/* Rich banner - digital extras */
.business-visual--banner-rich .kg-label {
    fill: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
}

.business-visual--banner-rich .kg-label-hub {
    fill: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 600;
}

html.lang-en .business-visual--banner-rich .kg-label,
body.lang-en .business-visual--banner-rich .kg-label {
    font-size: 8.5px;
    letter-spacing: 0.01em;
}

html.lang-en .business-visual--banner-rich .kg-label-hub,
body.lang-en .business-visual--banner-rich .kg-label-hub {
    font-size: 9.5px;
}

.business-visual--banner-rich .kg-node-hover {
    fill: rgba(255, 255, 255, 1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.business-visual--banner-rich .kg-label-hover {
    fill: rgba(255, 255, 255, 0.95);
}

.business-visual--banner-rich .kg-cursor-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
    stroke-dasharray: 3 5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.business-visual--banner-rich .life-dot-hover {
    fill: rgba(255, 255, 255, 0.95);
}

.business-visual--banner-rich .life-cell-hover {
    border-color: rgba(255, 255, 255, 0.35);
    opacity: 0.95;
}

.business-visual--banner-rich .kg-node-evolving {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

.business-visual--banner-rich .kg-edge-evolving {
    stroke: rgba(255, 255, 255, 0.42) !important;
    stroke-width: 1.5;
}

.business-visual--banner-rich .kg-evolve-ripple {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1;
    pointer-events: none;
    opacity: 0;
}

.business-visual--kg .bv-label {
    letter-spacing: 0.22em;
}

.business-visual--banner-rich .kg-node {
    fill: rgba(255, 255, 255, 0.88);
}

.business-visual--banner-rich .kg-node-hub {
    fill: rgba(255, 255, 255, 0.98);
}

.business-visual--banner-rich .kg-edge {
    stroke: rgba(255, 255, 255, 0.22);
}

/* Rich banner - life extras */
.business-visual--banner-rich .bv-helix-c {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
    stroke-dasharray: 6 8;
    animation: bvHelixFlow 10s linear infinite;
    opacity: 0.55;
}

.business-visual--banner-rich .bv-orbit-3 {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    animation: bvOrbitSpin 24s linear infinite;
    opacity: 0.2;
}

.business-visual--banner-rich .bv-orbit-4 {
    width: 38%;
    height: 38%;
    top: 31%;
    left: 31%;
    animation: bvOrbitSpin 14s linear infinite reverse;
    opacity: 0.35;
}

.business-visual--banner-rich .bv-cell-float span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    animation: bvCellFloat 5s ease-in-out infinite;
}

.business-visual--banner-rich .bv-cell-float span:nth-child(1) { width: 28px; height: 28px; top: 15%; left: 18%; animation-delay: 0s; }
.business-visual--banner-rich .bv-cell-float span:nth-child(2) { width: 18px; height: 18px; top: 28%; left: 72%; animation-delay: 0.7s; }
.business-visual--banner-rich .bv-cell-float span:nth-child(3) { width: 22px; height: 22px; top: 62%; left: 8%; animation-delay: 1.4s; }
.business-visual--banner-rich .bv-cell-float span:nth-child(4) { width: 16px; height: 16px; top: 70%; left: 80%; animation-delay: 0.3s; }
.business-visual--banner-rich .bv-cell-float span:nth-child(5) { width: 12px; height: 12px; top: 45%; left: 92%; animation-delay: 1.1s; }

/* Open / Share visual */
.business-visual-open .bv-open-float {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.business-visual-open .bv-open-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
    animation: bvOpenRing 10s ease-in-out infinite;
}

.business-visual-open .bv-art:not(.bv-art-rich) .bv-open-ring {
    transform-box: fill-box;
    transform-origin: center;
}

.business-visual-open .bv-open-ring-1 { animation-duration: 7s; opacity: 0.7; }
.business-visual-open .bv-open-ring-2 { animation-duration: 9s; animation-delay: -2s; opacity: 0.45; }
.business-visual-open .bv-open-ring-3 { animation-duration: 11s; animation-delay: -4s; opacity: 0.28; }
.business-visual-open .bv-open-ring-4 { animation-duration: 13s; animation-delay: -6s; opacity: 0.16; }

.business-visual-open .bv-open-links line {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 1;
    stroke-dasharray: 4 7;
    animation: kgEdgeFlow 5.5s linear infinite;
}

.business-visual-open .bv-open-links line:nth-child(odd) {
    animation-duration: 4.2s;
    animation-direction: reverse;
}

.business-visual-open .bv-open-nodes circle {
    fill: rgba(255, 255, 255, 0.78);
    animation: kgNodePulse 3.4s ease-in-out infinite;
}

.business-visual-open .bv-open-hub {
    fill: rgba(255, 255, 255, 0.95);
    animation-duration: 2.4s;
}

.business-visual-open .bv-open-brackets path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: bvOpenBracket 5s ease-in-out infinite;
}

.business-visual-open .bv-open-packet {
    fill: rgba(255, 255, 255, 0.7);
    offset-rotate: 0deg;
    animation: bvOpenPacket 4.8s linear infinite;
}

.business-visual-open .bv-open-packet-1 {
    offset-path: path('M240 178 L118 96');
    animation-duration: 3.8s;
}
.business-visual-open .bv-open-packet-2 {
    offset-path: path('M240 178 L352 82');
    animation-duration: 4.4s;
    animation-delay: -1.2s;
}
.business-visual-open .bv-open-packet-3 {
    offset-path: path('M240 178 L98 228');
    animation-duration: 4.1s;
    animation-delay: -2.1s;
}
.business-visual-open .bv-open-packet-4 {
    offset-path: path('M240 178 L378 246');
    animation-duration: 5s;
    animation-delay: -0.7s;
}

.business-visual-open .bv-open-float span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    animation: bvCellFloat 7s ease-in-out infinite;
    pointer-events: none;
}

.business-visual-open .bv-open-float span:nth-child(1) { width: 22px; height: 22px; top: 12%; left: 16%; animation-delay: 0s; }
.business-visual-open .bv-open-float span:nth-child(2) { width: 14px; height: 14px; top: 22%; left: 78%; animation-delay: 0.8s; }
.business-visual-open .bv-open-float span:nth-child(3) { width: 18px; height: 18px; top: 68%; left: 10%; animation-delay: 1.5s; }
.business-visual-open .bv-open-float span:nth-child(4) { width: 12px; height: 12px; top: 74%; left: 84%; animation-delay: 0.4s; }
.business-visual-open .bv-open-float span:nth-child(5) { width: 10px; height: 10px; top: 40%; left: 90%; animation-delay: 1.2s; }
.business-visual-open .bv-open-float span:nth-child(6) { width: 16px; height: 16px; top: 8%; left: 48%; animation-delay: 1.9s; }

@keyframes bvOpenRing {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.035); opacity: 0.7; }
}

@keyframes bvOpenBracket {
    0%, 100% { opacity: 0.22; }
    50% { opacity: 0.48; }
}

@keyframes bvOpenPacket {
    0% { offset-distance: 0%; opacity: 0; }
    12% { opacity: 0.9; }
    88% { opacity: 0.9; }
    100% { offset-distance: 100%; opacity: 0; }
}

@keyframes bvCellFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-8px, 6px) scale(1.08); opacity: 0.85; }
}

.business-visual-about .bv-about-float {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.business-visual-about .bv-about-lobe {
    fill: none;
    stroke: rgba(210, 222, 238, 0.28);
    stroke-width: 1.2;
    stroke-dasharray: 5 7;
    transform-origin: center;
    animation: bvAboutLobe 10s ease-in-out infinite;
}

.business-visual-about .bv-about-lobe-l {
    stroke: rgba(160, 190, 230, 0.38);
}

.business-visual-about .bv-about-lobe-r {
    stroke: rgba(170, 210, 190, 0.36);
    animation-delay: -3s;
}

.business-visual-about .bv-about-bridge {
    stroke: rgba(220, 228, 240, 0.45);
    stroke-width: 1.4;
    fill: none;
    animation: bvAboutBridge 5.5s ease-in-out infinite;
}

.business-visual-about .bv-about-path {
    stroke: rgba(200, 214, 230, 0.22);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 4 8;
    animation: bvAboutPath 8s linear infinite;
}

.business-visual-about .bv-about-path-b {
    animation-direction: reverse;
    animation-duration: 10s;
    opacity: 0.7;
}

.business-visual-about .bv-about-hub {
    fill: rgba(230, 236, 245, 0.85);
    filter: drop-shadow(0 0 10px rgba(180, 200, 230, 0.45));
}

.business-visual-about .bv-about-node {
    fill: rgba(210, 222, 238, 0.55);
}

.business-visual-about .bv-about-node-l {
    fill: rgba(150, 185, 230, 0.7);
}

.business-visual-about .bv-about-node-r {
    fill: rgba(150, 205, 180, 0.7);
}

.business-visual-about .bv-about-packet {
    fill: rgba(230, 236, 245, 0.9);
}

.business-visual-about .bv-about-packet-1 {
    offset-path: path('M92 120 C120 90 180 90 210 140 C240 190 300 200 360 160');
    animation: bvOpenPacket 7s linear infinite;
}

.business-visual-about .bv-about-packet-2 {
    offset-path: path('M100 230 C140 250 200 240 240 200 C280 160 340 150 388 190');
    animation: bvOpenPacket 9s linear infinite;
    animation-delay: -2.5s;
}

.business-visual-about .bv-about-float span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    animation: bvCellFloat 7.5s ease-in-out infinite;
    pointer-events: none;
}

.business-visual-about .bv-about-float span:nth-child(1) { width: 18px; height: 18px; top: 14%; left: 18%; }
.business-visual-about .bv-about-float span:nth-child(2) { width: 12px; height: 12px; top: 20%; left: 76%; animation-delay: 0.9s; }
.business-visual-about .bv-about-float span:nth-child(3) { width: 16px; height: 16px; top: 70%; left: 14%; animation-delay: 1.6s; }
.business-visual-about .bv-about-float span:nth-child(4) { width: 10px; height: 10px; top: 72%; left: 80%; animation-delay: 0.5s; }

@keyframes bvAboutLobe {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.75; }
}

@keyframes bvAboutBridge {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.8; }
}

@keyframes bvAboutPath {
    to { stroke-dashoffset: -48; }
}

@media (max-width: 960px) {
    .page-visual-banner {
        padding: calc(var(--header-height) + 28px) 0 48px;
        min-height: auto;
    }

    .service-detail-banner {
        padding: calc(var(--header-height) + 32px) 0 48px;
    }

    .pvb-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pvb-copy {
        max-width: 100%;
        text-align: center;
    }

    .pvb-copy p {
        margin: 0 auto;
    }

    .pvb-stage {
        justify-self: center;
        max-width: 100%;
        height: min(50vw, 300px);
        mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 94%, transparent 100%);
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 6%, black 94%, transparent 100%);
    }
}

/* Content Page */
.content-section {
    padding: 80px 0 100px;
}

.content-section--news-detail {
    padding-top: calc(var(--header-height) + 24px);
}

.page-contact-main {
    padding-top: 48px;
}

.page-contact .content-body--services {
    margin-bottom: 0;
}

.page-contact .content-body--services .service-block {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-card) 48%);
}

.page-contact .page-contact-services .contact-form {
    padding: 28px 28px 32px;
    height: 100%;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-card) 48%);
}

.page-contact-main .contact-info-panel {
    margin-top: 24px;
    max-width: calc((100% - 24px) / 2);
}

.content-body {
    max-width: 800px;
    margin: 0 auto;
}

.content-body--services {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.content-body h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    color: var(--text-primary);
}

.content-body h2:first-child {
    margin-top: 0;
}

.content-body h3 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
}

.content-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-block {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.content-body--services .service-block {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.content-body--services .service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-block-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.service-block-icon .line-icon {
    width: 22px;
    height: 22px;
}

.page-digital-tech .service-block-icon {
    color: var(--accent-primary);
}

.page-life-science .service-block-icon {
    color: var(--accent-primary);
}

.service-block:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.content-body--services .service-block:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.content-body--services .service-block:hover::before {
    opacity: 1;
}

.service-block h3 {
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.content-body--services .service-block h3 {
    margin: 0 0 14px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
}

.content-body--services .service-block p {
    margin: 0;
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.page-digital-tech .content-body--services .service-block {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-card) 48%);
}

.page-life-science .content-body--services .service-block {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, var(--bg-card) 48%);
}

.page-news .content-body--services .service-block,
.page-open .content-body--services .service-block,
.page-home .news-section .content-body--services .service-block {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-card) 48%);
}

.page-news .content-body--services .news-date,
.page-open .content-body--services .open-date,
.page-home .news-section .content-body--services .news-date {
    display: block;
    margin: 0 0 10px;
}

.page-open .content-body--services .open-tag {
    margin-bottom: 12px;
}

.page-open .content-body--services .open-login-hint {
    margin-top: 10px;
}

.page-open .content-body--services .service-block-more {
    margin-top: 18px;
}

a.service-block-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.content-body--services .service-block:focus-visible {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    outline: none;
}

.content-body--services .service-block:focus-visible::before {
    opacity: 1;
}

.content-body--services .service-block:active {
    transform: translateY(-2px);
    border-color: var(--border-glow);
}

.service-block-more {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    transition: color var(--transition), transform var(--transition);
}

.service-block-link:hover .service-block-more,
.service-block-link:focus-visible .service-block-more {
    transform: translateX(4px);
}

/* Service detail */
.service-detail-banner {
    position: relative;
    padding: calc(var(--header-height) + 48px) 0 56px;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.service-detail-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.55;
    pointer-events: none;
}

.service-detail-banner--digital::before {
    background: radial-gradient(ellipse 70% 80% at 85% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.service-detail-banner--life::before {
    background: radial-gradient(ellipse 70% 80% at 85% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
}

.service-detail-banner .container {
    position: relative;
    z-index: 1;
}

.service-detail-hero {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--accent-primary);
}

.service-detail-hub-link {
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

a.service-detail-icon.service-detail-hub-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.service-detail-hub-label {
    display: inline-block;
    margin-bottom: 8px;
}

.service-detail-hub-label:hover .section-label {
    color: var(--accent-primary);
}

.service-detail-hub-label .section-label {
    transition: color var(--transition);
}

.service-detail-copy h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 8px 0 12px;
}

.service-detail-tagline {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 640px;
    margin: 0;
}

.service-detail-main {
    padding-top: 56px;
    padding-bottom: 24px;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 48px 64px;
    align-items: start;
}

.service-detail-highlights h2,
.service-detail-body h2 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.service-detail-highlights ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-detail-highlights li {
    position: relative;
    padding: 14px 0 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
}

.service-detail-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.service-detail-lead {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 36px;
    max-width: 680px;
}

.service-detail-demo-cta {
    margin-top: 28px;
}

.gp-demo-section--embedded {
    padding-top: 12px;
    padding-bottom: 40px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.service-detail-scope {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.service-detail-scope li {
    position: relative;
    padding: 16px 20px 16px 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.service-detail-scope li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
}

.service-not-found {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .service-detail-hero {
        flex-direction: column;
        gap: 16px;
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 400;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-member-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0;
    border: none;
    background: transparent;
}

.contact-member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-member-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.contact-member-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-member-meta strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-member-care {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]),
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 22px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]),
.form-group select {
    border-radius: var(--radius-pill);
    min-height: 48px;
}

.password-field {
    position: relative;
    display: block;
    width: 100%;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color var(--transition), background var(--transition);
}

.password-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.password-toggle:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.password-toggle .line-icon {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.password-toggle[aria-pressed="true"] {
    color: var(--accent-primary);
}

.form-group textarea {
    border-radius: var(--radius-textarea);
    min-height: 120px;
    resize: vertical;
    padding: 16px 22px;
    line-height: 1.6;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b95a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"]):focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.form-message {
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    font-size: 0.875rem;
    transition: opacity 0.28s ease, transform 0.28s ease, margin 0.28s ease, padding 0.28s ease;
}

.form-message.is-dismissing {
    opacity: 0;
    transform: translateY(-6px);
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Auth - full screen login */
.preview-notice {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.auth-container .preview-notice {
    margin-bottom: 16px;
}

.account-section .preview-notice {
    margin-bottom: 32px;
}

.content-section .preview-notice {
    margin-bottom: 24px;
}

.auth-layout {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: safe center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

.auth-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.auth-bg-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.auth-bg-lines {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: rgba(12, 16, 25, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 28px 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.auth-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    margin-bottom: 10px;
}

.auth-brand-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0;
    max-width: 100%;
}

.auth-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: inherit;
    min-width: 0;
    transition: opacity var(--transition);
}

.auth-logo-link:hover {
    opacity: 0.88;
    color: inherit;
}

.auth-card-head .logo-icon {
    width: 52px;
    height: 36px;
}

.auth-card-head .logo-text {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.auth-card .lang-switch-standalone {
    flex-shrink: 0;
    padding: 4px 8px;
    font-size: 0.8125rem;
}

.lang-switch-standalone {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border: none;
    background: none;
    border-radius: var(--radius-pill);
    transition: color var(--transition), opacity var(--transition);
    letter-spacing: 0.04em;
    font-weight: 500;
}

.auth-card .lang-switch-standalone:hover,
.lang-switch-standalone:hover {
    color: var(--text-primary);
    background: none;
    opacity: 0.88;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

.auth-tab:hover {
    color: var(--text-primary);
}

.auth-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.auth-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px;
    text-align: center;
}

.auth-heading-sm {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.auth-sub-compact {
    margin-bottom: 16px;
}

.auth-sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 12px;
}

.auth-sms-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.auth-sms-row input {
    flex: 1;
    min-width: 0;
}

.auth-sms-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 0.8125rem;
}

.auth-or-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin: 8px 0 16px;
}

.auth-form .form-group input {
    width: 100%;
}

.auth-submit {
    width: 100%;
    margin-top: 8px;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
}

.auth-switch a {
    color: var(--text-secondary);
}

.auth-switch a:hover {
    color: var(--accent-primary);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-checkbox input {
    accent-color: var(--text-primary);
}

.auth-forgot {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-forgot:hover {
    color: var(--accent-primary);
}

.auth-legal {
    margin: 4px 0 16px;
}

.auth-legal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    cursor: default;
}

.auth-legal-check.is-agreed {
    color: var(--text-primary);
}

.auth-legal-check input {
    appearance: none;
    -webkit-appearance: none;
    margin-top: 3px;
    flex-shrink: 0;
    width: 0.875rem;
    height: 0.875rem;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-legal-check input:disabled {
    opacity: 0.5;
    cursor: default;
}

.auth-legal-check input:checked,
.auth-legal-check.is-agreed input {
    opacity: 1;
    border-color: #22c55e;
    background: transparent;
    box-shadow: none;
}

.auth-legal-check input:checked::after,
.auth-legal-check.is-agreed input::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
    transform: translate(-50%, -50%);
}

.auth-legal-link {
    display: inline;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: var(--accent-primary);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-legal-link:hover {
    color: var(--text-primary);
}

.auth-legal-status {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: #f87171;
}

.auth-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

body.legal-modal-open {
    overflow: hidden;
}

.legal-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-consent-modal[hidden] {
    display: none !important;
}

.legal-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.72);
    backdrop-filter: blur(6px);
}

.legal-consent-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(84vh, 720px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, rgba(20, 26, 40, 0.98), rgba(10, 14, 24, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.legal-consent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-consent-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.legal-consent-x {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.legal-consent-scroll {
    flex: 1;
    min-height: 220px;
    max-height: 48vh;
    overflow: auto;
    padding: 16px 18px;
    -webkit-overflow-scrolling: touch;
}

.legal-consent-body {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-consent-body h3 {
    margin: 1.1em 0 0.5em;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.legal-consent-body h3:first-child {
    margin-top: 0;
}

.legal-consent-body p {
    margin: 0 0 0.75em;
}

.legal-consent-hint {
    margin: 0;
    padding: 8px 18px 0;
    font-size: 0.75rem;
    color: #fbbf24;
    min-height: 1.2em;
}

.legal-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 18px;
}

.legal-consent-actions .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.legal-doc {
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.legal-doc h3 {
    margin: 1.5em 0 0.6em;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.legal-doc h3:first-child {
    margin-top: 0;
}

.legal-doc-nav {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.legal-doc-nav a {
    color: var(--accent-primary);
}

.footer-legal {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
}

.footer-legal a {
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--accent-primary);
}

.footer-legal a.footer-gongan {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-gongan-icon {
    height: 1em;
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* Account center */
.page-banner-sm {
    padding: 48px 0 32px;
}

.page-banner-sm h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.back-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.back-link:hover {
    color: var(--text-primary);
}

.account-section {
    padding-top: calc(var(--header-height) + 32px);
}

.account-avatar-wrap {
    margin-bottom: 16px;
}

.account-avatar-form {
    margin: 0;
}

.account-avatar-upload {
    display: block;
    width: 96px;
    margin: 0 auto;
    cursor: pointer;
}

.account-avatar {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    overflow: hidden;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-avatar .line-icon {
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
}

.account-avatar-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.account-avatar-upload:hover .account-avatar-overlay,
.account-avatar-upload:focus-within .account-avatar-overlay {
    opacity: 1;
}

.account-avatar-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.avatar-crop-open {
    overflow: hidden;
}

.avatar-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.avatar-crop-modal.is-open {
    display: flex;
}

.avatar-crop-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.avatar-crop-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 24px 22px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.avatar-crop-dialog h3 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.avatar-crop-hint {
    margin: 0 0 18px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.avatar-crop-stage {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.avatar-crop-viewport {
    position: relative;
    width: 300px;
    height: 300px;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    user-select: none;
    -webkit-user-select: none;
}

.avatar-crop-viewport img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    pointer-events: none;
    will-change: transform, width, height;
}

.avatar-crop-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 130px, rgba(6, 8, 15, 0.62) 131px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.avatar-crop-viewport::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 260px;
    height: 260px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
}

.avatar-crop-controls {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.avatar-crop-sliders {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.avatar-crop-slider {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.avatar-crop-slider input[type="range"] {
    width: 100%;
    accent-color: var(--accent-primary);
    touch-action: pan-x;
    cursor: pointer;
}

.avatar-crop-slider input[type="range"].is-locked {
    opacity: 0.55;
}

.avatar-crop-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.avatar-crop-preview-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

#avatar-crop-preview {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.avatar-crop-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.avatar-crop-actions .btn {
    width: auto;
    min-width: 96px;
}

@media (max-width: 768px) {
    .avatar-crop-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .avatar-crop-dialog {
        width: 100%;
        padding: 20px 16px 18px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .avatar-crop-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .avatar-crop-sliders {
        order: 2;
    }

    .avatar-crop-preview-wrap {
        order: 1;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-bottom: 4px;
    }

    .avatar-crop-actions {
        flex-direction: column-reverse;
    }

    .avatar-crop-actions .btn {
        width: 100%;
    }
}

.user-nav-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
}

.user-nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.user-nav-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.user-nav-avatar--fallback .line-icon-sm {
    width: 13px;
    height: 13px;
}

.user-nav-avatar-wrap.has-alert {
    box-shadow:
        0 0 0 1.5px rgba(255, 177, 90, 0.98),
        0 0 0 3px rgba(255, 177, 90, 0.24),
        0 0 12px rgba(255, 177, 90, 0.42);
    animation: user-nav-alert-pulse 2.2s ease-in-out infinite;
}

.user-nav-todo-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ffb15a;
    color: #1a1208;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    box-shadow: 0 0 0 1.5px rgba(8, 12, 20, 0.9);
    pointer-events: none;
    z-index: 1;
}

@keyframes user-nav-alert-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 1.5px rgba(255, 177, 90, 0.95),
            0 0 0 3px rgba(255, 177, 90, 0.2),
            0 0 10px rgba(255, 177, 90, 0.32);
    }
    50% {
        box-shadow:
            0 0 0 1.5px rgba(255, 196, 120, 1),
            0 0 0 4px rgba(255, 177, 90, 0.3),
            0 0 16px rgba(255, 177, 90, 0.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .user-nav-avatar-wrap.has-alert {
        animation: none;
    }
}

.user-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-user-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 16px;
}

.account-user-card h2 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.account-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.account-backbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.account-back {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.account-back:hover {
    color: var(--accent-primary);
}

.account-back-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.account-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.account-meta-with-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.account-meta-company {
    min-width: 0;
    word-break: break-word;
}

.account-label-with-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.account-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: var(--accent-primary);
    color: #0a0c12;
    vertical-align: middle;
}

.account-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
}

.account-card {
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.85;
}

.account-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.account-card-desc {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* —— Bento dashboard (hub) —— */
.account-bento {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(8, 12, 22, 0.55) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 55%);
    opacity: 0.7;
}

.bento-profile {
    grid-column: 1;
    grid-row: 1;
    min-height: 220px;
}

.bento-profile-usage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-profile-usage-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bento-profile-usage-label {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.bento-profile-usage-value {
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

.bento-profile-usage-sub {
    font-size: 0.7rem;
    line-height: 1.35;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.bento-todos {
    grid-column: 2;
    grid-row: 1 / span 2;
    /* 与左侧资料+应用同高；列表超出在内容区滚动，不裁切整卡 */
    min-height: 440px;
    align-self: stretch;
    overflow: hidden;
}

.bento-todos .bento-card-body-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.account-todo-composer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin: 0 0 12px;
    padding: 0 2px;
}

.account-todo-composer .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.account-todo-compose-input {
    display: block;
    width: 100%;
    min-height: 42px;
    max-height: 160px;
    margin: 0;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.45;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease, border-radius 0.15s ease, padding 0.15s ease;
}

.account-todo-compose-input.is-multiline {
    border-radius: 18px;
    padding: 12px 16px;
}

.account-todo-compose-input::placeholder {
    color: var(--text-muted);
}

.account-todo-compose-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.38);
}

.account-todo-compose-input:disabled {
    opacity: 0.65;
    cursor: wait;
}

.account-todo-composer-hint {
    margin: 6px 2px 0;
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.account-todo-composer.is-error .account-todo-compose-input {
    border-color: rgba(255, 120, 120, 0.55);
}

.bento-todos .bento-card-body-scroll::-webkit-scrollbar {
    width: 6px;
}

.bento-todos .bento-card-body-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
}

.bento-todos .bento-card-body-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.bento-apps {
    grid-column: 1;
    grid-row: 2;
    min-height: 220px;
}

.bento-history {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 160px;
}

.bento-card-head,
.bento-card-body,
.bento-identity {
    position: relative;
    z-index: 1;
}

.bento-identity {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
}

.bento-identity-edit {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.bento-profile .account-avatar,
.bento-identity-edit .account-avatar {
    width: 88px;
    height: 88px;
}

.bento-identity-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bento-identity-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bento-identity-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bento-identity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.bento-identity-actions a {
    font-size: 0.8125rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.bento-identity-actions a:hover {
    color: var(--text-primary);
    border-color: var(--border-glow);
}

.bento-identity-actions .bento-logout:hover {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.35);
}

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

.bento-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bento-card-title h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.bento-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.bento-card-icon .line-icon {
    width: 16px;
    height: 16px;
}

.bento-card-icon-todo {
    background: rgba(255, 159, 64, 0.18);
    color: #ffb15a;
}

.bento-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 5px 10px;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.bento-card-more:hover {
    color: var(--text-primary);
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.09);
}

.bento-card-body {
    flex: 1;
    min-height: 0;
}

.bento-card-body-scroll {
    overflow: auto;
    max-height: 360px;
    padding-right: 4px;
}

.account-app-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* 行距略大，拉开第一排与第二排应用 */
    gap: 28px 12px;
}

.account-app-tiles.is-detailed {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 32px 16px;
}

.account-app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    transition: transform var(--transition);
}

.account-app-tile:hover {
    transform: translateY(-3px);
}

/* 液体玻璃图标：半透明 + 高光边 + 柔光，贴合官网深色极简 */
.account-app-tile-icon {
    --glass-tint: rgba(255, 255, 255, 0.07);
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.06) 38%,
            var(--glass-tint) 72%,
            rgba(255, 255, 255, 0.04) 100%
        );
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        0 10px 28px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px) saturate(1.45);
    -webkit-backdrop-filter: blur(18px) saturate(1.45);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        transform var(--transition);
}

.account-app-tile-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(120% 80% at 18% 8%, rgba(255, 255, 255, 0.45), transparent 52%),
        radial-gradient(90% 70% at 88% 92%, rgba(255, 255, 255, 0.08), transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.account-app-tile-icon .line-icon {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.account-app-tile:hover .account-app-tile-icon {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(0, 0, 0, 0.28),
        0 14px 32px rgba(0, 0, 0, 0.42),
        0 0 24px rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0.1) 40%,
            var(--glass-tint) 75%,
            rgba(255, 255, 255, 0.06) 100%
        );
}

.account-app-tile:active .account-app-tile-icon {
    transform: scale(0.96);
}

/* 极淡色相区分（仍保持玻璃质感，不抢官网白灰主调） */
.account-app-tile.tone-1 .account-app-tile-icon { --glass-tint: rgba(210, 220, 255, 0.1); }
.account-app-tile.tone-2 .account-app-tile-icon { --glass-tint: rgba(200, 245, 230, 0.09); }
.account-app-tile.tone-3 .account-app-tile-icon { --glass-tint: rgba(255, 236, 200, 0.09); }
.account-app-tile.tone-4 .account-app-tile-icon { --glass-tint: rgba(255, 210, 230, 0.09); }
.account-app-tile.tone-5 .account-app-tile-icon { --glass-tint: rgba(230, 215, 255, 0.1); }
.account-app-tile.tone-6 .account-app-tile-icon { --glass-tint: rgba(200, 235, 255, 0.1); }

.account-app-tile-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-app-tile-desc {
    display: none;
}

.account-app-tiles.is-detailed .account-app-tile-desc {
    display: -webkit-box;
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* —— 应用 Launchpad（类 macOS） —— */
html.app-launchpad-open {
    overflow: hidden;
}

.app-launchpad {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.app-launchpad[hidden] {
    display: none !important;
}

.app-launchpad.is-open {
    opacity: 1;
    pointer-events: auto;
}

.app-launchpad-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: default;
    background: transparent;
}

.app-launchpad-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 94vw);
    margin: auto;
    max-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    padding: 28px 28px 18px;
    border-radius: 22px;
    background:
        linear-gradient(165deg, rgba(16, 20, 28, 0.98) 0%, rgba(6, 8, 15, 0.99) 100%);
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-launchpad.is-open .app-launchpad-panel {
    transform: translateY(0) scale(1);
}

.app-launchpad-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.app-launchpad-head h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.app-launchpad-hint {
    margin: 4px 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-launchpad-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.app-launchpad-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.app-launchpad-search-wrap {
    margin-bottom: 18px;
    width: 50%;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.app-launchpad-search {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.875rem;
    outline: none;
}

.app-launchpad-search:focus {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.app-launchpad-grid {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 22px 14px;
    padding: 4px 2px 12px;
    align-content: start;
}

.app-launchpad-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    padding: 6px 4px;
    border-radius: 14px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.app-launchpad-tile:hover {
    transform: translateY(-4px) scale(1.04);
    background: rgba(255, 255, 255, 0.05);
}

.app-launchpad-tile.is-current {
    background: rgba(255, 255, 255, 0.07);
}

.app-launchpad-tile .app-launchpad-icon,
.app-launchpad-tile .account-app-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
}

.app-launchpad-tile .account-app-tile-icon .line-icon {
    width: 28px;
    height: 28px;
}

.app-launchpad-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-launchpad-desc {
    display: none;
}

.app-launchpad-empty {
    grid-column: 1 / -1;
    margin: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.app-launchpad-foot {
    display: flex;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.app-launchpad-manage {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
}

.app-launchpad-manage:hover {
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .app-launchpad-panel {
        width: 100%;
        max-height: 88vh;
        margin: auto 0 0;
        border-radius: 18px 18px 0 0;
        padding: 20px 16px 14px;
    }

    .app-launchpad-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 16px 10px;
    }

    .app-launchpad-tile .app-launchpad-icon,
    .app-launchpad-tile .account-app-tile-icon {
    width: 56px;
    height: 56px;
        border-radius: 15px;
    }
}

.bento-profile-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin: 0;
}

.bento-profile-facts dt {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.bento-profile-facts dd {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    word-break: break-word;
}

.bento-fact-with-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.profile-verify-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 560;
    line-height: 1.35;
    border: 1px solid transparent;
    white-space: nowrap;
    flex: 0 0 auto;
}

.profile-verify-badge.is-ok {
    color: #9fe7c2;
    background: rgba(56, 160, 110, 0.18);
    border-color: rgba(110, 210, 160, 0.28);
}

.profile-verify-badge.is-warn {
    color: #f0d28a;
    background: rgba(180, 130, 40, 0.16);
    border-color: rgba(220, 180, 80, 0.28);
}

.profile-verify-badge.is-empty {
    color: #aeb8c8;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

button.profile-verify-badge.is-action {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 560;
    line-height: 1.35;
    margin: 0;
}

button.profile-verify-badge.is-action:hover {
    filter: brightness(1.12);
}

button.profile-verify-badge.is-action:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.account-email-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.account-email-modal[hidden] {
    display: none !important;
}

/* 打开认证/邮箱弹窗时锁住页面背景滚动 */
body.account-email-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.account-email-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 16, 0.72);
    backdrop-filter: blur(6px);
}

.account-email-dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 16, 28, 0.96) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.account-email-dialog h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.account-email-hint {
    margin: 0 0 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.account-email-code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}

.account-email-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

/* 企业认证表单较长：遮罩固定不动，仅对话框内部滚动 */
.account-email-modal.account-company-modal {
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
}

.account-email-modal.account-company-modal .account-email-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.account-company-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(calc(100vh - 32px), 820px);
    max-height: min(calc(100dvh - 32px), 820px);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex-shrink: 1;
    min-height: 0;
}

/* 验证码/上传等提示：固定在屏幕正中，不随表单滚动消失 */
.account-flash-toast {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.account-flash-toast[hidden] {
    display: none !important;
}

.account-flash-toast-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 16, 0.55);
    backdrop-filter: blur(4px);
}

.account-flash-toast-card {
    position: relative;
    z-index: 1;
    width: min(360px, 100%);
    padding: 22px 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, rgba(12, 16, 28, 0.98) 100%);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.account-flash-toast-text {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-primary);
    word-break: break-word;
}

.account-flash-toast-card.is-success .account-flash-toast-text {
    color: #34d399;
}

.account-flash-toast-card.is-error .account-flash-toast-text {
    color: #f87171;
}

.account-flash-toast-card .btn {
    min-width: 96px;
}

.account-company-channel {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.account-company-channel label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.account-file-field-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.account-file-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px dashed var(--border-glow);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%),
        var(--bg-secondary);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.account-file-picker:hover,
.account-file-picker:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
        var(--bg-card-hover);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.account-file-picker.is-filled {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.22);
}

.account-file-picker.is-busy {
    opacity: 0.72;
    pointer-events: none;
}

.account-file-picker-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.account-file-picker-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-file-picker-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-file-picker-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.account-file-picker-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: border-color var(--transition), background var(--transition);
}

.account-file-picker:hover .account-file-picker-btn,
.account-file-picker:focus-within .account-file-picker-btn {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

/* OCR 自动识别字段：默认灰度锁定，右侧笔图标解锁手改 */
.account-ocr-field {
    position: relative;
    display: block;
}

.account-ocr-field input {
    width: 100%;
    padding-right: 48px;
}

.account-ocr-field.is-locked input {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.06);
    cursor: default;
    opacity: 0.72;
}

.account-ocr-field.is-locked input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.account-ocr-field.is-editing input {
    color: var(--text-primary);
    opacity: 1;
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.account-ocr-edit {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.account-ocr-edit:hover,
.account-ocr-field.is-editing .account-ocr-edit {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.account-ocr-edit:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.account-ocr-edit .line-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.org-prep-section {
    margin: 0 0 18px;
}

.org-prep-section h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.org-prep-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.org-prep-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.org-prep-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.org-prep-agree-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.875rem;
    line-height: 1.45;
}

.org-prep-agree-check input:disabled + span {
    opacity: 0.55;
}

.org-prep-status {
    margin-left: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.org-prep-realname-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.account-org-agree-dialog {
    max-width: 560px;
}

.org-agree-scroll {
    max-height: min(48vh, 420px);
    overflow: auto;
    padding: 12px 14px;
    margin: 0 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.18);
}

.org-auth-letter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

/* 公开资料：顶栏下紧贴内容；侧栏拉通主区高度
 * 不用 body flex 包住 fixed 顶栏，避免顶栏占位 + padding-top 叠出红框空隙 */
body:has(.pm-shell) {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
}

body:has(.pm-shell) > .site-header {
    /* 仅保持 fixed，不做 flex 占位相关覆盖 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
}

body:has(.pm-shell) > main {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: var(--header-height, 72px);
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
}

body:has(.pm-shell) > .site-footer {
    margin-top: 0;
}

/* ── 公开资料（Outline 风格文档壳） ── */
.pm-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    flex: 1 1 auto;
    width: 100%;
    min-height: calc(100vh - var(--header-height, 72px));
    min-height: calc(100dvh - var(--header-height, 72px));
    padding: 0; /* 覆盖全局 section { padding: 100px 0 }，否则顶栏下空出一截 */
    margin: 0;
    /* 左列背景拉通整高，避免侧栏内容矮时露空 */
    background:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 260px,
            transparent 260px
        ),
        var(--bg-primary);
    border-top: none;
    align-items: stretch;
}

.pm-shell.is-loading .pm-doc {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.pm-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    padding: 0;
    /* 阅读正文时侧栏固定在视口，不随页面滚动 */
    position: sticky;
    top: var(--header-height, 72px);
    align-self: start;
    height: calc(100vh - var(--header-height, 72px));
    height: calc(100dvh - var(--header-height, 72px));
    max-height: calc(100vh - var(--header-height, 72px));
    max-height: calc(100dvh - var(--header-height, 72px));
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 2;
}

.pm-sidebar-search {
    flex: 0 0 auto;
    padding: 10px 12px 6px;
    background: transparent;
}

.pm-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pm-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.pm-search-icon {
    position: absolute;
    left: 14px;
    width: 14px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    color: var(--text-muted);
    opacity: 0.85;
    pointer-events: none;
}

.pm-search-icon::after {
    content: '';
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 6px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 1px;
}

.pm-search-input {
    width: 100%;
    margin: 0;
    padding: 9px 16px 9px 36px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.875rem;
    line-height: 1.3;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    /* 隐藏部分浏览器自带的 search 清除钮，统一用键盘操作 */
    -webkit-appearance: none;
    appearance: none;
}

.pm-search-input::-webkit-search-cancel-button,
.pm-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.pm-search-input::placeholder {
    color: var(--text-muted);
}

.pm-search-input:hover {
    background: rgba(255, 255, 255, 0.06);
}

.pm-search-input:focus {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
}

.pm-search-input:disabled {
    opacity: 0.55;
}

.pm-sidebar-head {
    margin-bottom: 22px;
    padding: 0 6px;
}

.pm-collection {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    padding: 8px;
    transition: background 0.15s ease;
}

.pm-collection:hover {
    background: rgba(255, 255, 255, 0.04);
}

.pm-collection-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--text-primary);
}

.pm-collection-logo {
    width: 100%;
    height: 100%;
}

.pm-collection-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pm-collection-label {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.pm-collection-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pm-nav-label {
    margin: 0 10px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pm-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 2px 10px 24px;
    scrollbar-width: thin;
}

.pm-nav-group {
    margin-bottom: 6px;
}

.pm-nav-group:last-child {
    margin-bottom: 0;
}

.pm-nav-group.is-search-hidden {
    display: none;
}

.pm-nav-item.is-search-hidden {
    display: none;
}

.pm-nav-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.pm-nav-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.pm-nav-toggle-label {
    flex: 1 1 auto;
    min-width: 0;
}

.pm-nav-count {
    flex-shrink: 0;
    min-width: 1.25rem;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
    line-height: 1.4;
}

.pm-sidebar-versions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.pm-nav-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pm-nav-ver {
    display: inline-block;
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.5625rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.pm-nav-ver.is-current {
    border-color: rgba(94, 180, 255, 0.35);
    background: rgba(94, 180, 255, 0.14);
    color: #9fd0ff;
}

.pm-nav-toggle .pm-nav-ver {
    text-transform: none;
    letter-spacing: 0;
}

.pm-nav-chevron {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    opacity: 0.75;
    margin-top: -3px;
}

.pm-nav-group:not(.is-open) .pm-nav-chevron {
    transform: rotate(-45deg);
    margin-top: 0;
}

.pm-nav-list {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    overflow: hidden;
}

.pm-nav-group:not(.is-open) .pm-nav-list {
    display: none;
}

.pm-nav-subgroup {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pm-nav-subgroup.is-search-hidden {
    display: none;
}

.pm-nav-toggle--sub {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-secondary);
    padding: 7px 10px 7px 14px;
}

.pm-nav-toggle--sub:hover {
    color: var(--text-primary);
}

.pm-nav-list--sub {
    padding: 0 0 6px 10px;
}

.pm-nav-subgroup:not(.is-open) > .pm-nav-list {
    display: none;
}

.pm-nav-subgroup > .pm-nav-toggle .pm-nav-chevron {
    transform: rotate(-45deg);
    margin-top: 0;
}

.pm-nav-subgroup.is-open > .pm-nav-toggle .pm-nav-chevron {
    transform: rotate(45deg);
    margin-top: -3px;
}

.pm-search-empty {
    margin: 18px 10px;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
}

.pm-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pm-nav-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

.pm-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.pm-nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 500;
}

.pm-nav-dot {
    width: 6px;
    height: 6px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    opacity: 0.55;
}

.pm-nav-link.is-active .pm-nav-dot {
    background: var(--accent-primary);
    opacity: 1;
}

.pm-main {
    min-width: 0;
    padding: 40px 28px 72px;
}

.pm-doc {
    max-width: 46em;
    margin: 0 auto;
    transition: opacity 0.15s ease;
}

.pm-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: min(52vh, 420px);
    padding: 24px 12px 48px;
    gap: 14px;
}

.pm-hub-icon.account-app-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    --glass-tint: rgba(210, 220, 255, 0.1);
}

.pm-hub-icon.account-app-tile-icon .line-icon {
    width: 30px;
    height: 30px;
}

.pm-hub-app {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.pm-hub-text {
    margin: 0;
    max-width: 22em;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
}

.pm-doc-header {
    margin-bottom: 28px;
}

.pm-eyebrow {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.pm-eyebrow a:hover {
    color: var(--text-primary);
}

.pm-doc-title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.pm-doc-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.pm-doc-title-row .pm-doc-title {
    margin: 0;
}

.pm-doc-lead {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.pm-doc-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pm-doc-edit:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.pm-doc-edit-icon {
    width: 18px;
    height: 18px;
}

.xws-page {
    padding: 48px 0 80px;
    min-height: calc(100vh - var(--header-height, 72px));
}

.xws-wrap {
    max-width: 820px;
}

.xws-wrap--edit {
    max-width: 720px;
}

.xws-header {
    margin-bottom: 28px;
}

.xws-eyebrow {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.xws-eyebrow a:hover {
    color: var(--text-primary);
}

.xws-title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.xws-lead {
    margin: 0 0 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.xws-meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.xws-empty {
    color: var(--text-muted);
}

.xws-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xws-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.xws-item-title {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 6px;
}

.xws-item-title:hover {
    text-decoration: underline;
}

.xws-item-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.xws-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
}

.xws-badge--published {
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.xws-badge--draft {
    border-color: rgba(251, 191, 36, 0.35);
    color: #fde68a;
}

.xws-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.xws-item-actions .btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
}

.xws-footer-link {
    margin-top: 28px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.xws-footer-link a {
    color: var(--text-secondary);
}

.xws-edit-form .form-group {
    margin-bottom: 16px;
}

.xws-edit-form textarea {
    width: 100%;
    min-height: 280px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

.xws-news-editor {
    display: flex;
    flex-direction: column;
    height: 480px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    overflow: hidden;
}

.xws-news-cover-editor {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    overflow: hidden;
    max-width: 520px;
}

.xws-news-editor-bar,
.xws-news-cover-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    height: 44px;
    padding: 0 12px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

.xws-news-editor-tools {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.xws-news-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.xws-news-icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.xws-news-icon-btn:hover,
.xws-news-icon-btn:focus-visible {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.xws-news-icon-btn.is-busy {
    opacity: 0.65;
    pointer-events: none;
}

.xws-news-icon-btn-glyph {
    display: block;
    width: 15px;
    height: 15px;
    pointer-events: none;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.xws-news-icon-btn-glyph--image {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16.5l-5.2-5.2L7.5 19'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16.5l-5.2-5.2L7.5 19'/%3E%3C/svg%3E");
}

.xws-news-icon-btn-glyph--audio {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
}

.xws-news-icon-btn-glyph--video {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M16.5 10.5L21.5 7.5v9l-5-3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M16.5 10.5L21.5 7.5v9l-5-3z'/%3E%3C/svg%3E");
}

.xws-news-icon-btn-glyph--expand {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cpolyline points='9 21 3 21 3 15'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3Cline x1='3' y1='21' x2='10' y2='14'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cpolyline points='9 21 3 21 3 15'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3Cline x1='3' y1='21' x2='10' y2='14'/%3E%3C/svg%3E");
}

.xws-news-icon-btn.is-expanded .xws-news-icon-btn-glyph--expand {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 14 10 14 10 20'/%3E%3Cpolyline points='20 10 14 10 14 4'/%3E%3Cline x1='10' y1='14' x2='3' y2='21'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 14 10 14 10 20'/%3E%3Cpolyline points='20 10 14 10 14 4'/%3E%3Cline x1='10' y1='14' x2='3' y2='21'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3C/svg%3E");
}

.xws-news-editor.is-expanded {
    position: fixed;
    inset: 0;
    z-index: 2400;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

body.xws-news-editor-expanded {
    overflow: hidden;
}

.xws-news-cover-status,
.xws-news-editor-status {
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
    line-height: 1;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xws-news-editor-status.is-error {
    color: #f0a0a0;
}

.xws-news-cover-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.02);
}

.xws-news-cover-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xws-news-cover-frame img[hidden] {
    display: none;
}

.xws-news-cover-placeholder {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.xws-news-content-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.xws-news-editor-body,
.xws-edit-form .xws-news-editor-body {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.65;
    box-shadow: none;
    outline: none;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-wrap: anywhere;
    white-space: normal;
    box-sizing: border-box;
}

.xws-news-editor-body:focus {
    outline: none;
}

.xws-news-editor-body.is-empty:before {
    content: attr(data-placeholder);
    color: var(--text-muted);
    pointer-events: none;
    float: left;
    height: 0;
}

.xws-news-editor-body p {
    margin: 0 0 14px;
}

.xws-news-editor-body .news-figure {
    margin: 18px 0;
}

.xws-news-editor-body .news-figure img,
.xws-news-editor-body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
}

.xws-news-editor-body .news-media {
    margin: 18px 0;
}

.xws-news-editor-body .news-media audio,
.xws-news-editor-body .news-media video {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.xws-news-editor-body .news-media--video video {
    max-height: min(60vh, 480px);
    background: #000;
}

.xws-news-editor-body img::selection {
    background: rgba(100, 160, 255, 0.35);
}

.xws-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.xws-section-title {
    margin: 36px 0 16px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.xws-news-cover-preview {
    margin: 0 0 12px;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.xws-news-cover-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.xws-edit-form .account-file-field-label {
    display: block;
    margin-bottom: 8px;
}

.form-hint {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (max-width: 720px) {
    .xws-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.pm-doc-body {
    margin: 0 0 32px;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.75;
}

.pm-doc-body p {
    margin: 0 0 1em;
}

.pm-doc-body p:last-child {
    margin-bottom: 0;
}

.pm-doc-body h1,
.pm-doc-body h2,
.pm-doc-body h3,
.pm-doc-body h4,
.pm-doc-body h5,
.pm-doc-body h6 {
    margin: 1.4em 0 0.6em;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
}

.pm-doc-body h1 { font-size: 1.5rem; }
.pm-doc-body h2 { font-size: 1.3rem; }
.pm-doc-body h3 { font-size: 1.15rem; }
.pm-doc-body h4,
.pm-doc-body h5,
.pm-doc-body h6 { font-size: 1.05rem; }

.pm-doc-body h1:first-child,
.pm-doc-body h2:first-child,
.pm-doc-body h3:first-child {
    margin-top: 0;
}

.pm-doc-body ul,
.pm-doc-body ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.pm-doc-body li {
    margin: 0.35em 0;
}

.pm-doc-body li > ul,
.pm-doc-body li > ol {
    margin: 0.25em 0;
}

.pm-doc-body strong {
    font-weight: 600;
    color: var(--text-primary);
}

.pm-doc-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
}

.pm-doc-body hr {
    margin: 1.5em 0;
    border: 0;
    border-top: 1px solid var(--border-subtle);
}

.pm-doc-body a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pm-doc-empty {
    margin: 0 0 24px;
    color: var(--text-muted);
}

.pm-doc-section {
    margin: 0 0 28px;
}

.pm-doc-section:last-child {
    margin-bottom: 0;
}

.pm-doc-section-title {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pm-doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-doc-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pm-doc-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.pm-doc-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pm-doc-card-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.pm-doc-card-more {
    margin-top: 4px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.pm-doc-card:hover .pm-doc-card-more {
    color: var(--text-primary);
}

.pm-doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.pm-login-gate-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(20px, env(safe-area-inset-bottom, 0px));
}

.pm-login-gate-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 16, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pm-login-gate-dialog {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 44px 36px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 16, 28, 0.96) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.pm-login-gate-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity var(--transition);
}

.pm-login-gate-brand:hover {
    opacity: 0.85;
    color: var(--text-primary);
}

.pm-login-gate-logo-wrap {
    display: inline-flex;
    width: 72px;
    height: 50px;
    flex-shrink: 0;
}

.pm-login-gate-logo {
    width: 100%;
    height: 100%;
}

.pm-login-gate-title {
    margin: 0 0 28px;
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pm-login-gate-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.pm-login-gate-actions .btn {
    min-width: 128px;
    padding: 12px 22px;
    font-size: 0.9375rem;
}

/* 未登录时：背后内容可见但不可点，由遮罩盖住 */
body:has(.pm-login-gate-modal) {
    overflow: hidden;
}

.pm-shell.is-gated {
    pointer-events: none;
    user-select: none;
}

.org-cert-codes-search {
    max-width: 520px;
    margin: 0 0 28px;
}

.org-cert-codes-search label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.org-cert-codes-search-row {
    display: flex;
    gap: 10px;
}

.org-cert-codes-search-row input {
    flex: 1;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 9999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.org-cert-codes-result {
    margin-bottom: 24px;
}

.org-cert-codes-table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
}

.org-cert-codes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.org-cert-codes-table th,
.org-cert-codes-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
}

.org-cert-codes-table tr:last-child td {
    border-bottom: none;
}

.org-cert-codes-table th {
    color: var(--text-secondary);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.02);
}

.org-cert-codes-table tr.is-hit td {
    background: rgba(255, 255, 255, 0.04);
}

.org-cert-codes-table a {
    color: var(--text-primary);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.org-cert-codes-table a:hover {
    text-decoration: underline;
}

.org-cert-codes-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pm-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        background: var(--bg-primary);
        padding: 0;
    }

    .pm-sidebar {
        position: static;
        top: auto;
        height: auto;
        max-height: min(42vh, 320px);
        min-height: 0;
        overflow: hidden;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        background: rgba(255, 255, 255, 0.02);
        z-index: auto;
    }

    .pm-sidebar-search {
        background: transparent;
    }

    .pm-nav-list {
        display: block;
    }

    .pm-nav ul {
        display: block;
    }

    .pm-nav-link {
        padding: 8px 12px;
    }

    .pm-nav-dot {
        display: none;
    }

    .pm-main {
        padding: 28px 18px 56px;
    }
}

.org-auth-letter-sheet {
    max-width: 720px;
    margin: 0 auto 48px;
    padding: 28px 32px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    position: relative;
}

.org-auth-letter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
}

.org-auth-letter-head h2 {
    text-align: left;
    margin: 0;
    padding-top: 4px;
    flex: 1;
    font-size: 1.35rem;
}

.org-auth-letter-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    color: #000;
    border: 1.5px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 4px;
}

.org-auth-letter-logo-mark {
    width: 100%;
    height: auto;
    color: #000;
    transform: scale(1.15);
}

.org-auth-letter-sheet h2 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 1.35rem;
}

.org-auth-letter-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.95rem;
}

.org-auth-letter-table th,
.org-auth-letter-table td {
    border: 1px solid #ccc;
    padding: 10px 12px;
    text-align: left;
    min-height: 2.5em;
    height: 2.75em;
}

.org-auth-letter-table th {
    width: 36%;
    background: #f7f7f7;
    font-weight: 600;
}

.org-auth-letter-table td {
    background: #fff;
}

.org-auth-letter-sign {
    margin-top: 28px;
    line-height: 2.4;
}

.org-auth-letter-sign p {
    margin: 0 0 8px;
}

@media (max-width: 520px) {
    .account-file-picker {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .account-file-picker-btn {
        width: 100%;
        margin-top: 4px;
    }
}

.bento-identity-name .profile-verify-badge {
    font-size: 0.625rem;
}

.account-meta-with-badge .profile-verify-badge,
.account-label-with-badge .profile-verify-badge {
    font-size: 0.625rem;
    flex-shrink: 0;
}

a.profile-verify-badge.is-action {
    text-decoration: none;
    cursor: pointer;
}

a.profile-verify-badge.is-update,
button.profile-verify-badge.is-update {
    color: var(--accent-primary, #6eb6ff);
    background: rgba(80, 140, 220, 0.14);
    border-color: rgba(110, 180, 255, 0.28);
}

a.profile-verify-badge.is-update:hover,
button.profile-verify-badge.is-update:hover {
    background: rgba(80, 140, 220, 0.22);
}

input#company[disabled],
input#company[readonly],
input#phone[disabled],
input#phone[readonly],
input#email[disabled],
input#email[readonly] {
    opacity: 0.72;
    cursor: not-allowed;
}

.kg-cert-review h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.kg-cert-list {
    margin: 0 0 16px;
    padding-left: 1.1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.kg-cert-list li {
    margin-bottom: 4px;
}

.bento-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bento-history-list li {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-history-action {
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.bento-history-title {
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bento-history-list time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.account-todo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-todo-filters {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 18px;
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
}

.account-todo-filters--hub {
    margin: 0;
    flex-shrink: 0;
}

.account-todo-filter {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color var(--transition), background var(--transition);
}

.account-todo-filter:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.account-todo-filter.is-active {
    color: var(--bg-primary);
    background: var(--gradient-primary);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.account-todo-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
}

.account-todo-filter.is-active .account-todo-filter-count {
    background: rgba(0, 0, 0, 0.18);
}

.account-todo-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.account-todo-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.account-todo-item.is-done {
    opacity: 0.62;
    background: rgba(255, 255, 255, 0.02);
}

.account-todo-item.is-done h3 {
    text-decoration: line-through;
    color: var(--text-muted);
}

.account-todo-toggle {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    flex-shrink: 0;
}

.account-todo-check {
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
    margin: 1px 0 0;
    padding: 0;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 177, 90, 0.75);
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    overflow: hidden;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-todo-check:hover {
    border-color: #ffb15a;
    box-shadow: 0 0 0 3px rgba(255, 177, 90, 0.12);
}

.account-todo-check:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 177, 90, 0.28);
}

.account-todo-item.is-done .account-todo-check {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

.account-todo-item.is-done .account-todo-check::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
}

.account-todo-body {
    flex: 1;
    min-width: 0;
    padding-top: 0;
}

.account-todo-body h3 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
}

.account-todo-body p {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.account-todo-actions {
    margin: 8px 0 6px;
}

.account-todo-actions .btn {
    font-size: 0.8125rem;
}

.account-todo-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.account-todo-time {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid rgba(120, 140, 170, 0.22);
    background: rgba(120, 140, 170, 0.08);
    color: var(--text-secondary, #5a6a80);
    font-variant-numeric: tabular-nums;
}

.account-todo-item.is-cert-reject .account-todo-time {
    border-color: rgba(200, 90, 70, 0.28);
    background: rgba(200, 90, 70, 0.08);
    color: #a04535;
}

.account-empty-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    text-align: center;
}

.account-panel-wide .account-app-tiles {
    margin-top: 8px;
}

.account-panel h2 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.account-form {
    max-width: 480px;
}

.account-profile-edit .account-profile-card {
    padding: 20px 22px;
}

.account-profile-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.account-profile-hero .account-avatar-wrap {
    margin: 0;
    flex-shrink: 0;
}

.account-profile-hero .account-avatar-upload {
    margin: 0;
    width: 64px;
}

.account-profile-hero .account-avatar {
    width: 64px;
    height: 64px;
}

.account-profile-hero .account-avatar .line-icon {
    width: 26px;
    height: 26px;
}

.account-profile-hero-main {
    min-width: 0;
}

.account-profile-name {
    margin: 0 0 2px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.account-profile-hero .account-meta {
    margin: 0;
}

.account-profile-form {
    max-width: none;
}

.account-profile-form .form-group {
    margin-bottom: 12px;
}

.account-profile-form .form-group:last-of-type {
    margin-bottom: 14px;
}

.account-profile-form .form-group label {
    margin-bottom: 6px;
}

.account-profile-form input#username,
.account-profile-form input#phone,
.account-profile-form input#email,
.account-profile-form input#company[disabled],
.account-profile-form input#company[readonly],
.account-profile-form input#name[disabled],
.account-profile-form input#name[readonly] {
    background: rgba(255, 255, 255, 0.03);
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
    cursor: default;
}

.account-profile-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.account-profile-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.account-profile-extra .btn.is-active {
    border-color: rgba(110, 180, 255, 0.45);
    background: rgba(80, 140, 220, 0.12);
}

.account-profile-extra-danger {
    border-color: rgba(255, 100, 100, 0.28);
    color: #ffb4b4;
}

.account-profile-extra-danger:hover,
.account-profile-extra-danger.is-active {
    background: rgba(255, 100, 100, 0.08);
    border-color: rgba(255, 100, 100, 0.4);
}

.account-profile-extra-panel {
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

.account-profile-extra-panel-danger {
    border-color: rgba(255, 100, 100, 0.18);
    background: rgba(80, 16, 20, 0.16);
}

.account-profile-extra-title {
    margin: 0 0 10px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.account-profile-extra-panel .account-form {
    max-width: none;
}

.account-profile-extra-panel .form-group {
    margin-bottom: 10px;
}

.account-profile-extra-panel .auth-or-divider {
    margin: 0 0 8px;
}

.account-profile-extra-panel .auth-sms-row {
    display: flex;
    gap: 8px;
}

.account-profile-extra-panel .auth-sms-row input {
    flex: 1;
    min-width: 0;
}

.account-empty {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.account-verify-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 200, 80, 0.08);
    border: 1px solid rgba(255, 200, 80, 0.2);
}

.account-verify-banner p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.account-panel-danger {
    border-color: rgba(255, 100, 100, 0.15);
}

.account-danger-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.account-delete-btn {
    border-color: rgba(255, 100, 100, 0.35);
    color: #ffb4b4;
}

.account-delete-btn:hover {
    background: rgba(255, 100, 100, 0.08);
}

.access-log-list {
    list-style: none;
}

.access-log-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9375rem;
}

.access-log-item:last-child {
    border-bottom: none;
}

.access-log-action {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.access-log-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.open-login-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.open-detail-banner::before {
    background: radial-gradient(ellipse 70% 80% at 85% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
}

.open-detail-banner .service-detail-copy .open-tag {
    margin-bottom: 4px;
}

.open-detail-banner .service-detail-copy h1 {
    margin-top: 8px;
}

.open-detail-date {
    display: block;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.open-detail-main {
    padding-top: 48px;
}

.open-detail-summary {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.open-detail-body {
    margin-bottom: 40px;
}

.open-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.open-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="hidden"])::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

/* CTA */
.cta-section {
    padding: 80px 0 100px;
    text-align: center;
}

.cta-box {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

.cta-box .container-inner {
    position: relative;
}

.cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 16px;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: calc((1.5em - 32px) / 2);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--accent-primary);
}

.footer-contact-icon .line-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transform-origin: center;
}

/* Optical balance — sprite glyphs use different viewBox fill */
.footer-contact-icon[data-glyph="map"] .line-icon {
    transform: scale(0.88);
}

.footer-contact-icon[data-glyph="pin"] .line-icon {
    transform: scale(0.94);
}

.footer-contact-icon[data-glyph="phone"] .line-icon,
.footer-contact-icon[data-glyph="mail"] .line-icon {
    transform: scale(0.92);
}

.footer-contact-text,
.footer-contact-item a {
    flex: 1;
    min-width: 0;
    line-height: 1.5;
    font-size: inherit;
}

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* Animations on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.pagination .current {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

/* News Detail */
.news-detail {
    max-width: 760px;
    margin: 0 auto;
}

.news-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    min-width: 0;
}

.news-detail-meta-item {
    white-space: nowrap;
}

.news-detail-back {
    flex-shrink: 0;
    margin-left: auto;
    padding: 10px 22px;
    font-size: 0.875rem;
}

.news-detail-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.news-detail-title-row h1 {
    flex: 1;
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.3;
}

.news-detail-title-row .pm-doc-edit {
    flex-shrink: 0;
    margin-top: 4px;
}

.news-detail-cover {
    margin: 0 0 28px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.news-detail-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-detail-content {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-ideograph;
}

.news-detail-content p {
    margin-bottom: 16px;
}

.news-detail-content .news-figure {
    margin: 24px 0;
}

.news-detail-content .news-figure img,
.news-detail-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.news-detail-content .news-media {
    margin: 24px 0;
}

.news-detail-content .news-media audio,
.news-detail-content .news-media video {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.news-detail-content .news-media--video video {
    max-height: min(70vh, 640px);
    background: #000;
}

.service-block-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.service-block-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1280px) {
    .main-nav a,
    .main-nav .lang-switch-btn {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 992px) {
    .business-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .business-block.reverse {
        direction: ltr;
    }

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

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

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

    .page-contact-main .contact-info-panel {
        max-width: none;
    }

    .content-body--services {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(6, 8, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a,
    .main-nav .lang-switch-btn {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .lang-switch {
        align-self: stretch;
        width: 100%;
    }

    .user-nav {
        align-self: stretch;
        width: 100%;
    }

    .main-nav .lang-switch-btn {
        width: 100%;
    }

    .main-nav .user-nav-btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 64px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* Mobile: compact footer — copyright only (matches life-science mobile) */
    .site-footer {
        padding-top: 0;
    }

    .footer-grid {
        display: none;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contact-form {
        padding: 24px;
    }

    .account-bento {
        grid-template-columns: 1fr;
    }

    .bento-apps,
    .bento-todos,
    .bento-profile,
    .bento-history {
        grid-column: 1;
        grid-row: auto;
        min-height: 0;
    }

    .bento-todos {
        min-height: 280px;
        max-height: none;
    }

    .bento-identity {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bento-identity-top {
        flex-direction: column;
        align-items: center;
    }

    .bento-identity-actions {
        justify-content: center;
    }

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

    .bento-profile-facts {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .bento-profile-usage {
        grid-template-columns: 1fr;
        text-align: left;
        width: 100%;
    }

    .bento-history-list li {
        grid-template-columns: 48px 1fr;
    }

    .bento-history-list time {
        grid-column: 2;
    }

    .auth-page {
        padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
    }

    .auth-card {
        padding: 22px 18px 26px;
    }

    .auth-form .form-group {
        margin-bottom: 10px;
    }

    .auth-sub {
        margin-bottom: 16px;
    }

    .access-log-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ── 数字科技 · 标品（线序大模型套件） ── */
.dt-products-section {
    padding-top: 24px;
}

.dt-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .dt-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .dt-products-grid {
        grid-template-columns: 1fr;
    }
}

.dt-product-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    padding: 20px 18px 16px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    background: var(--bg-card, rgba(255, 255, 255, 0.03));
    color: inherit;
    text-decoration: none;
    transition: all var(--transition);
    animation: reveal-up 0.55s ease both;
    animation-delay: var(--delay, 0ms);
}

.dt-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.dt-product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.dt-product-card:hover::before {
    opacity: 1;
}

.dt-product-card:focus-visible {
    outline: none;
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.dt-product-card:focus-visible::before {
    opacity: 1;
}

.dt-product-card:active {
    transform: translateY(-2px);
}

.dt-product-icon.account-app-tile-icon {
    width: 44px;
    height: 44px;
    /* 与宣传介绍页徽章同比例：64→16 ≈ 44→11 */
    border-radius: 11px;
    flex-shrink: 0;
}

.dt-product-icon.account-app-tile-icon .line-icon {
    width: 22px;
    height: 22px;
}

.dt-product-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--text-primary);
}

.dt-product-card p {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.dt-product-more {
    font-size: 0.8125rem;
    font-weight: 550;
    color: var(--accent-primary);
    letter-spacing: 0.02em;
    transition: color var(--transition), transform var(--transition);
}

.dt-product-card:hover .dt-product-more,
.dt-product-card:focus-visible .dt-product-more {
    transform: translateX(4px);
}

/* 产品介绍页（复用晓文书 intro 外壳） */
.pi-intro-ambient .pi-ambient-chip {
    position: absolute;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: rgba(230, 236, 248, 0.88);
    background: rgba(8, 12, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.pi-ambient-chip--1 { top: 18%; right: 12%; }
.pi-ambient-chip--2 { bottom: 22%; left: 10%; }

.pi-flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.pi-flow-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 14px;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    background: var(--bg-card, rgba(255, 255, 255, 0.03));
}

.pi-flow-step-index {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 650;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pi-flow-step-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pi-flow-step-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pi-flow-step-hint {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .pi-flow-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .dt-products-grid {
        grid-template-columns: 1fr;
    }
    .pi-flow-steps {
        grid-template-columns: 1fr;
    }
}

/* ── 线序大模型介绍页动画（对齐站点极简白灰科技风） ── */
.lsm-intro-banner .lsm-intro-ambient {
    overflow: hidden;
}

.lsm-ambient-glow {
    background:
        radial-gradient(ellipse 48% 42% at 70% 40%, rgba(255, 255, 255, 0.06), transparent 70%),
        radial-gradient(ellipse 36% 34% at 28% 62%, rgba(255, 255, 255, 0.035), transparent 65%);
}

.lsm-ambient-core {
    position: absolute;
    right: 12%;
    top: 50%;
    width: min(280px, 42vw);
    height: min(280px, 42vw);
    transform: translateY(-50%);
    display: grid;
    place-items: center;
}

.lsm-ambient-ring {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: lsm-spin 22s linear infinite;
}

.lsm-ambient-ring--2 {
    inset: 8%;
    border-color: rgba(255, 255, 255, 0.07);
    animation-duration: 32s;
    animation-direction: reverse;
}

.lsm-ambient-ring--3 {
    inset: 0;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.06);
    animation-duration: 40s;
}

.lsm-ambient-node {
    position: relative;
    z-index: 1;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    background: rgba(8, 12, 22, 0.72);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.lsm-ambient-token {
    position: absolute;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(8, 12, 22, 0.55);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
    animation: lsm-float 5.5s ease-in-out infinite;
}

.lsm-ambient-token--1 { top: 18%; right: 8%; animation-delay: 0s; }
.lsm-ambient-token--2 { top: 28%; right: 28%; animation-delay: 0.8s; }
.lsm-ambient-token--3 { bottom: 24%; right: 10%; animation-delay: 1.4s; }
.lsm-ambient-token--4 { bottom: 18%; right: 32%; animation-delay: 2s; }

@keyframes lsm-spin {
    to { transform: rotate(360deg); }
}

@keyframes lsm-float {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-6px); opacity: 1; }
}

/* PDCA 闭环 */
.lsm-cycle-section {
    padding: 48px 0 40px;
}

.lsm-cycle {
    --cycle-size: min(540px, 92vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    overflow: visible;
    padding: 8px 0 4px;
}

.lsm-cycle-stage {
    position: relative;
    width: var(--cycle-size);
    height: var(--cycle-size);
    margin: 0 auto;
    overflow: visible;
}

/* 舞台氛围：微尘、轨道环、流转粒子 */
.lsm-cycle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.lsm-cycle-field-glow {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.07), transparent 55%),
        radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.03), transparent 62%);
    animation: lsm-field-breathe 6s ease-in-out infinite;
}

.lsm-cycle-field-sweep {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 255, 255, 0.05) 28deg,
        transparent 70deg,
        transparent 360deg
    );
    animation: lsm-spin 18s linear infinite;
    opacity: 0.7;
    mask-image: radial-gradient(circle, transparent 42%, #000 52%, #000 78%, transparent 86%);
    -webkit-mask-image: radial-gradient(circle, transparent 42%, #000 52%, #000 78%, transparent 86%);
}

.lsm-cycle-dust {
    --dx: calc(18% + (var(--d) * 6.2%));
    --dy: calc(12% + ((var(--d) * 17) % 70) * 1%);
    position: absolute;
    left: var(--dx);
    top: var(--dy);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
    opacity: 0.25;
    animation: lsm-dust 4.8s ease-in-out infinite;
    animation-delay: calc(var(--d) * -0.35s);
}

.lsm-cycle-dust:nth-child(odd) {
    width: 3px;
    height: 3px;
    opacity: 0.35;
}

.lsm-cycle-orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.lsm-cycle-orbit-ring--inner {
    width: 46%;
    height: 46%;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.1);
    animation: lsm-spin 28s linear infinite reverse;
}

.lsm-cycle-orbit-ring--mid {
    width: 62%;
    height: 62%;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.02);
    animation: lsm-spin 40s linear infinite;
}

.lsm-cycle-orbit-ring--outer {
    width: 86%;
    height: 86%;
    border-style: dotted;
    border-color: rgba(255, 255, 255, 0.1);
    animation: lsm-spin 52s linear infinite reverse;
}

.lsm-cycle-packet {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.35),
        -10px 0 12px rgba(255, 255, 255, 0.08);
    animation: lsm-orbit-packet 14s linear infinite;
    animation-delay: calc(var(--p) * -2.8s);
    z-index: 1;
}

.lsm-cycle-packet--soft {
    width: 3px;
    height: 3px;
    margin: -1.5px 0 0 -1.5px;
    opacity: 0.65;
    animation-duration: 18s;
}

.lsm-cycle-spoke {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 18%;
    margin-left: -0.5px;
    transform-origin: center top;
    transform: rotate(calc(var(--s, 0) * 60deg - 90deg)) translateY(22%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 85%);
    opacity: 0.22;
    transition: opacity 0.45s ease, background 0.45s ease;
}

.lsm-cycle-spoke[data-spoke="0"] { --s: 0; }
.lsm-cycle-spoke[data-spoke="1"] { --s: 1; }
.lsm-cycle-spoke[data-spoke="2"] { --s: 2; }
.lsm-cycle-spoke[data-spoke="3"] { --s: 3; }
.lsm-cycle-spoke[data-spoke="4"] { --s: 4; }
.lsm-cycle-spoke[data-spoke="5"] { --s: 5; }

.lsm-cycle[data-phase="ask"] .lsm-cycle-spoke[data-spoke="0"],
.lsm-cycle[data-phase="think"] .lsm-cycle-spoke[data-spoke="1"],
.lsm-cycle[data-phase="ground"] .lsm-cycle-spoke[data-spoke="2"],
.lsm-cycle[data-phase="act"] .lsm-cycle-spoke[data-spoke="3"],
.lsm-cycle[data-phase="embed"] .lsm-cycle-spoke[data-spoke="4"],
.lsm-cycle[data-phase="evolve"] .lsm-cycle-spoke[data-spoke="5"] {
    opacity: 0.7;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 90%);
}

.lsm-cycle-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    z-index: 1;
}

.lsm-cycle-ring-dashed {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    animation: lsm-dash-crawl 24s linear infinite;
}

.lsm-cycle-ring-track {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1.25;
}

.lsm-cycle-ring-crawl {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.55;
    animation: lsm-dash-crawl 8s linear infinite;
}

.lsm-cycle-ring-progress {
    stroke: rgba(255, 255, 255, 0.72);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.55s var(--transition);
}

.lsm-cycle-ring-glow {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 5;
    stroke-linecap: round;
    opacity: 0.45;
    transition: stroke-dashoffset 0.55s var(--transition);
}

.lsm-cycle-ring-tick {
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 1;
}

.lsm-cycle-ring-tick--major {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.25;
}

.lsm-cycle-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38%;
    height: 38%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    z-index: 2;
}

.lsm-cycle-core-halo {
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    animation: lsm-halo 4s ease-in-out infinite;
    pointer-events: none;
}

.lsm-cycle-core-pulse {
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: lsm-core-ripple 3.2s ease-out infinite;
    pointer-events: none;
}

.lsm-cycle-core-pulse--2 {
    inset: -2%;
    animation-delay: 1.1s;
    border-color: rgba(255, 255, 255, 0.12);
}

.lsm-cycle-core-disc {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(8, 12, 22, 0.72) 100%);
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    animation: lsm-disc-breathe 5s ease-in-out infinite;
}

.lsm-cycle-logo {
    width: 52%;
    height: auto;
    max-width: 132px;
}

.lsm-cycle-core-name {
    font-size: clamp(0.6875rem, 2vw, 0.8125rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.lsm-cycle-node {
    --angle: calc(var(--i) * 60deg);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 108px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(calc(var(--cycle-size) * -0.37))
        rotate(calc(var(--angle) * -1));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 3;
    transition: transform 0.3s var(--transition);
}

.lsm-cycle-node:hover,
.lsm-cycle-node.is-active {
    z-index: 4;
}

.lsm-cycle-node.is-active {
    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(calc(var(--cycle-size) * -0.37))
        rotate(calc(var(--angle) * -1))
        scale(1.06);
}

.lsm-cycle-node-orb {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
}

.lsm-cycle-node-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    pointer-events: none;
}

.lsm-cycle-node.is-active .lsm-cycle-node-pulse {
    animation: lsm-node-ripple 2s ease-out infinite;
}

.lsm-cycle-node.is-active .lsm-cycle-node-orb {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lsm-cycle-node-index {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-family: var(--font-sans);
    color: var(--text-muted);
}

.lsm-cycle-node.is-active .lsm-cycle-node-index {
    color: var(--text-secondary);
}

.lsm-cycle-node-label {
    max-width: 7.5em;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--text-secondary);
}

.lsm-cycle-node.is-active .lsm-cycle-node-label {
    color: var(--text-primary);
}

.lsm-cycle-caption {
    text-align: center;
    max-width: 34rem;
    padding: 0 12px;
}

.lsm-cycle-caption-title {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.lsm-cycle-caption-hint {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lsm-cycle-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 28rem;
}

.lsm-cycle-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lsm-cycle-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, width 0.25s ease;
}

.lsm-cycle-dot:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lsm-cycle-dot.is-active {
    width: 22px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.72);
}

.lsm-cycle-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lsm-cycle-ctrl {
    appearance: none;
    margin: 0;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 550;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lsm-cycle-ctrl:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
}

.lsm-cycle.is-paused .lsm-cycle-ctrl[data-cycle-pause] {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.28);
}

.lsm-cycle-mobile-detail {
    display: none;
    width: min(100%, 22rem);
    margin: 0 auto;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(8, 12, 22, 0.82) 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    text-align: left;
}
/* 节点内迷你图标 */
.lsm-cycle-mini {
    position: relative;
    width: 34px;
    height: 34px;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.lsm-cycle-node.is-active .lsm-cycle-mini {
    opacity: 0.95;
}

.lsm-cycle-mini--ask .lsm-mini-wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    opacity: 0;
}

.lsm-cycle-node.is-active .lsm-cycle-mini--ask .lsm-mini-wave {
    animation: lsm-wave 1.8s ease-out infinite;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--ask .lsm-mini-wave:nth-child(2) { animation-delay: 0.4s; }
.lsm-cycle-node.is-active .lsm-cycle-mini--ask .lsm-mini-wave:nth-child(3) { animation-delay: 0.8s; }

.lsm-cycle-mini--think .lsm-mini-branch {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1.5px;
    margin-left: -2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), transparent);
    transform-origin: left center;
    opacity: 0.35;
}
.lsm-cycle-mini--think .lsm-mini-branch:nth-child(1) { transform: rotate(-40deg); }
.lsm-cycle-mini--think .lsm-mini-branch:nth-child(2) { transform: rotate(0deg); }
.lsm-cycle-mini--think .lsm-mini-branch:nth-child(3) { transform: rotate(40deg); }
.lsm-cycle-node.is-active .lsm-cycle-mini--think .lsm-mini-branch {
    animation: lsm-branch 1.3s ease-in-out infinite;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--think .lsm-mini-branch:nth-child(2) { animation-delay: 0.15s; }
.lsm-cycle-node.is-active .lsm-cycle-mini--think .lsm-mini-branch:nth-child(3) { animation-delay: 0.3s; }

.lsm-cycle-mini--ground .lsm-mini-doc {
    position: absolute;
    width: 10px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    top: 10px;
}
.lsm-cycle-mini--ground .lsm-mini-doc:nth-child(1) { left: 6px; }
.lsm-cycle-mini--ground .lsm-mini-doc:nth-child(2) { left: 14px; top: 8px; }
.lsm-cycle-mini--ground .lsm-mini-beam {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 24px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0.4;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--ground .lsm-mini-doc:nth-child(2) {
    animation: lsm-doc-merge 1.5s ease-in-out infinite;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--ground .lsm-mini-beam {
    animation: lsm-beam-pulse 1.3s ease-in-out infinite;
}

.lsm-cycle-mini--act .lsm-mini-check {
    position: absolute;
    left: 11px;
    top: 12px;
    width: 14px;
    height: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(-45deg);
    opacity: 0.5;
}
.lsm-cycle-mini--act .lsm-mini-spark {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.4;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--act .lsm-mini-check {
    animation: lsm-check-pop 1.2s ease-in-out infinite;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--act .lsm-mini-spark {
    animation: lsm-spark 1.2s ease-in-out infinite;
}

.lsm-cycle-mini--embed .lsm-mini-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0.4;
}
.lsm-cycle-mini--embed .lsm-mini-dot:nth-child(1) { left: 8px; top: 10px; }
.lsm-cycle-mini--embed .lsm-mini-dot:nth-child(2) { left: 18px; top: 8px; }
.lsm-cycle-mini--embed .lsm-mini-dot:nth-child(3) { left: 10px; top: 20px; }
.lsm-cycle-mini--embed .lsm-mini-dot:nth-child(4) { left: 20px; top: 22px; }
.lsm-cycle-node.is-active .lsm-cycle-mini--embed .lsm-mini-dot {
    animation: lsm-embed-pack 1.5s ease-in-out infinite;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--embed .lsm-mini-dot:nth-child(2) { animation-delay: 0.1s; }
.lsm-cycle-node.is-active .lsm-cycle-mini--embed .lsm-mini-dot:nth-child(3) { animation-delay: 0.2s; }
.lsm-cycle-node.is-active .lsm-cycle-mini--embed .lsm-mini-dot:nth-child(4) { animation-delay: 0.3s; }

.lsm-cycle-mini--evolve .lsm-mini-spiral {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.65);
    border-right-color: rgba(255, 255, 255, 0.28);
    opacity: 0.5;
}
.lsm-cycle-node.is-active .lsm-cycle-mini--evolve .lsm-mini-spiral {
    animation: lsm-spin 1.6s linear infinite;
    opacity: 0.9;
}

/* 节点旁细化面板：卡片化 */
.lsm-cycle-detail {
    position: absolute;
    top: 0;
    width: 172px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(8, 12, 22, 0.82) 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 5;
    text-align: left;
}

.lsm-cycle-node--right .lsm-cycle-detail { left: calc(100% + 12px); }
.lsm-cycle-node--left .lsm-cycle-detail { right: calc(100% + 12px); left: auto; }

.lsm-cycle-node.is-active .lsm-cycle-detail {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lsm-cycle-detail-title {
    display: block;
    margin-bottom: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.lsm-detail-prompt {
    display: block;
    margin-bottom: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.lsm-cycle-node.is-active .lsm-detail-prompt, .lsm-cycle-mobile-detail.is-run .lsm-detail-prompt {
    animation: lsm-type-clip 1.35s steps(12, end) both;
}

.lsm-detail-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.lsm-detail-tag {
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 550;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    opacity: 0;
    transform: translateY(4px);
}

.lsm-cycle-node.is-active .lsm-detail-tag, .lsm-cycle-mobile-detail.is-run .lsm-detail-tag {
    animation: lsm-detail-pop 0.4s ease both;
    animation-delay: calc(0.5s + var(--di, 0) * 0.2s);
}

.lsm-detail-think { display: flex; flex-direction: column; gap: 6px; }

.lsm-detail-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-6px);
}

.lsm-cycle-node.is-active .lsm-detail-step, .lsm-cycle-mobile-detail.is-run .lsm-detail-step {
    animation: lsm-detail-slide 0.4s ease both;
    animation-delay: calc(0.12s + var(--di, 0) * 0.32s);
}

.lsm-detail-step-dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
}

.lsm-detail-step-text {
    font-size: 0.75rem;
    color: var(--text-primary);
}

.lsm-detail-paths {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    height: 16px;
    align-items: flex-end;
}

.lsm-detail-paths span {
    flex: 1;
    border-radius: 3px 3px 1px 1px;
    background: rgba(255, 255, 255, 0.28);
    height: 40%;
    opacity: 0.35;
}

.lsm-cycle-node.is-active .lsm-detail-paths span,
.lsm-cycle-mobile-detail.is-run .lsm-detail-paths span {
    animation: lsm-path-bars 1.2s ease-in-out infinite;
}
.lsm-cycle-node.is-active .lsm-detail-paths span:nth-child(1),
.lsm-cycle-mobile-detail.is-run .lsm-detail-paths span:nth-child(1) { animation-delay: 0s; height: 55%; }
.lsm-cycle-node.is-active .lsm-detail-paths span:nth-child(2),
.lsm-cycle-mobile-detail.is-run .lsm-detail-paths span:nth-child(2) { animation-delay: 0.15s; height: 90%; }
.lsm-cycle-node.is-active .lsm-detail-paths span:nth-child(3),
.lsm-cycle-mobile-detail.is-run .lsm-detail-paths span:nth-child(3) { animation-delay: 0.3s; height: 45%; }

.lsm-detail-ground { display: flex; flex-direction: column; gap: 7px; }

.lsm-detail-ev { opacity: 0; transform: translateY(6px); }

.lsm-cycle-node.is-active .lsm-detail-ev, .lsm-cycle-mobile-detail.is-run .lsm-detail-ev {
    animation: lsm-detail-pop 0.4s ease both;
    animation-delay: calc(0.1s + var(--di, 0) * 0.26s);
}

.lsm-detail-ev-name {
    display: block;
    margin-bottom: 3px;
    font-size: 0.71875rem;
    color: var(--text-secondary);
}

.lsm-detail-ev-bar {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.lsm-detail-ev-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.75);
}

.lsm-cycle-node.is-active .lsm-detail-ev-bar i,
.lsm-cycle-mobile-detail.is-run .lsm-detail-ev-bar i {
    animation: lsm-bar-fill 0.65s ease both;
    animation-delay: calc(0.28s + var(--di, 0) * 0.26s);
    width: calc(var(--w, 70) * 1%);
}

.lsm-detail-calibrate {
    margin-top: 2px;
    font-size: 0.71875rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
}

.lsm-cycle-node.is-active .lsm-detail-calibrate, .lsm-cycle-mobile-detail.is-run .lsm-detail-calibrate {
    animation: lsm-detail-pop 0.4s ease both;
    animation-delay: 0.8s;
}

.lsm-detail-act { display: flex; flex-wrap: wrap; gap: 5px; }

.lsm-detail-tool {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 550;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    opacity: 0;
    transform: scale(0.92);
}

a.lsm-detail-tool:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.lsm-cycle-node.is-active .lsm-detail-tool, .lsm-cycle-mobile-detail.is-run .lsm-detail-tool {
    animation: lsm-tool-on 0.4s ease both;
    animation-delay: calc(0.1s + var(--di, 0) * 0.18s);
}

.lsm-detail-embed {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
    align-items: center;
}

.lsm-detail-chunks,
.lsm-detail-vecs { display: flex; flex-direction: column; gap: 4px; }

.lsm-detail-chunk {
    height: 9px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0;
}

.lsm-cycle-node.is-active .lsm-detail-chunk,
.lsm-cycle-mobile-detail.is-run .lsm-detail-chunk {
    animation: lsm-detail-pop 0.35s ease both;
    animation-delay: calc(0.08s + var(--di, 0) * 0.12s);
}

.lsm-detail-arrow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lsm-detail-vec {
    display: flex;
    gap: 2px;
    height: 12px;
    opacity: 0;
}

.lsm-detail-vec i {
    flex: 1;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.55;
}
.lsm-detail-vec i:nth-child(2) { opacity: 0.8; height: 70%; align-self: end; }
.lsm-detail-vec i:nth-child(3) { opacity: 1; }
.lsm-detail-vec i:nth-child(4) { opacity: 0.65; height: 55%; align-self: end; }

.lsm-cycle-node.is-active .lsm-detail-vec,
.lsm-cycle-mobile-detail.is-run .lsm-detail-vec {
    animation: lsm-detail-pop 0.35s ease both;
    animation-delay: calc(0.42s + var(--di, 0) * 0.12s);
}

.lsm-detail-embed-labels {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin-top: 2px;
}

.lsm-detail-embed-labels span {
    font-size: 0.625rem;
    color: var(--text-muted);
    opacity: 0;
}

.lsm-cycle-node.is-active .lsm-detail-embed-labels span,
.lsm-cycle-mobile-detail.is-run .lsm-detail-embed-labels span {
    animation: lsm-detail-pop 0.3s ease both;
    animation-delay: calc(0.65s + var(--di, 0) * 0.12s);
}

.lsm-detail-evolve {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    position: relative;
    padding-left: 28px;
}

.lsm-detail-loop {
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.65);
    border-right-color: rgba(255, 255, 255, 0.28);
    opacity: 0.7;
}

.lsm-cycle-node.is-active .lsm-detail-loop, .lsm-cycle-mobile-detail.is-run .lsm-detail-loop {
    animation: lsm-spin 1.4s linear infinite;
}

.lsm-detail-evolve-line {
    font-size: 0.75rem;
    color: var(--text-primary);
    opacity: 0;
    transform: translateX(-4px);
}

.lsm-cycle-node.is-active .lsm-detail-evolve-line, .lsm-cycle-mobile-detail.is-run .lsm-detail-evolve-line {
    animation: lsm-detail-slide 0.4s ease both;
    animation-delay: calc(0.12s + var(--di, 0) * 0.26s);
}

@keyframes lsm-halo {
    0%, 100% { transform: scale(0.96); opacity: 0.45; }
    50% { transform: scale(1.06); opacity: 0.8; }
}

@keyframes lsm-field-breathe {
    0%, 100% { opacity: 0.65; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes lsm-dust {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 0.7; }
}

@keyframes lsm-orbit-packet {
    from {
        transform: rotate(0deg) translateY(calc(var(--cycle-size) * -0.37)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateY(calc(var(--cycle-size) * -0.37)) rotate(-360deg);
    }
}

@keyframes lsm-dash-crawl {
    to { stroke-dashoffset: -100; }
}

@keyframes lsm-core-ripple {
    0% { transform: scale(0.92); opacity: 0.55; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.22); opacity: 0; }
}

@keyframes lsm-disc-breathe {
    0%, 100% { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
    50% { box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.04); }
}

@keyframes lsm-node-ripple {
    0% { transform: scale(0.92); opacity: 0.55; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes lsm-wave {
    0% { transform: scale(0.4); opacity: 0.8; }
    100% { transform: scale(2.3); opacity: 0; }
}

@keyframes lsm-branch {
    0%, 100% { opacity: 0.3; width: 10px; }
    50% { opacity: 0.95; width: 17px; }
}

@keyframes lsm-doc-merge {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3px, 2px); }
}

@keyframes lsm-beam-pulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.85; }
}

@keyframes lsm-check-pop {
    0%, 100% { opacity: 0.45; transform: rotate(-45deg) scale(0.94); }
    50% { opacity: 1; transform: rotate(-45deg) scale(1.05); }
}

@keyframes lsm-spark {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 0.95; transform: scale(1.2); }
}

@keyframes lsm-embed-pack {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    50% { transform: translate(2px, 2px); opacity: 0.95; }
}

@keyframes lsm-detail-pop {
    from { opacity: 0; transform: translateY(5px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes lsm-detail-slide {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: none; }
}

@keyframes lsm-type-clip {
    from { max-width: 0; opacity: 0.5; }
    to { max-width: 100%; opacity: 1; }
}

@keyframes lsm-path-bars {
    0%, 100% { opacity: 0.4; transform: scaleY(0.88); }
    50% { opacity: 0.9; transform: scaleY(1); }
}

@keyframes lsm-bar-fill { from { width: 0; } }

@keyframes lsm-tool-on {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
    .lsm-cycle { --cycle-size: min(400px, 94vw); }
    .lsm-cycle-node { width: 86px; }
    .lsm-cycle-node-orb { width: 52px; height: 52px; }
    .lsm-cycle-node-label { font-size: 0.75rem; }
    .lsm-cycle-core-name { font-size: 0.625rem; }
    .lsm-cycle-dust,
    .lsm-cycle-spoke,
    .lsm-cycle-field-sweep { display: none; }
    .lsm-cycle-packet { animation-duration: 16s; }
    .lsm-cycle-detail {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    .lsm-cycle-mobile-detail {
        display: block;
    }
    .lsm-cycle-caption {
        order: 3;
    }
    .lsm-cycle-controls {
        order: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsm-ambient-ring,
    .lsm-ambient-token,
    .lsm-cycle-core-halo,
    .lsm-cycle-core-pulse,
    .lsm-cycle-core-disc,
    .lsm-cycle-field-glow,
    .lsm-cycle-field-sweep,
    .lsm-cycle-dust,
    .lsm-cycle-orbit-ring,
    .lsm-cycle-packet,
    .lsm-cycle-ring-dashed,
    .lsm-cycle-ring-crawl,
    .lsm-cycle-node-pulse,
    .lsm-cycle-node.is-active .lsm-cycle-mini--ask .lsm-mini-wave,
    .lsm-cycle-node.is-active .lsm-cycle-mini--think .lsm-mini-branch,
    .lsm-cycle-node.is-active .lsm-cycle-mini--ground .lsm-mini-doc,
    .lsm-cycle-node.is-active .lsm-cycle-mini--ground .lsm-mini-beam,
    .lsm-cycle-node.is-active .lsm-cycle-mini--act .lsm-mini-check,
    .lsm-cycle-node.is-active .lsm-cycle-mini--act .lsm-mini-spark,
    .lsm-cycle-node.is-active .lsm-cycle-mini--embed .lsm-mini-dot,
    .lsm-cycle-node.is-active .lsm-cycle-mini--evolve .lsm-mini-spiral,
    .lsm-cycle-node.is-active .lsm-detail-tag,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-tag,
    .lsm-cycle-node.is-active .lsm-detail-step,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-step,
    .lsm-cycle-node.is-active .lsm-detail-ev,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-ev,
    .lsm-cycle-node.is-active .lsm-detail-tool,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-tool,
    .lsm-cycle-node.is-active .lsm-detail-prompt,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-prompt,
    .lsm-cycle-node.is-active .lsm-detail-loop,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-loop,
    .lsm-cycle-node.is-active .lsm-detail-paths span,
    .lsm-cycle-mobile-detail.is-run .lsm-detail-paths span,
    .lsm-cycle-ring-progress,
    .lsm-cycle-ring-glow {
        animation: none !important;
        transition: none !important;
    }
}


/* ── 知仓介绍页：个人知识仓货架动画 ── */
.zc-intro-banner .zc-intro-ambient {
    overflow: hidden;
}

.zc-ambient-glow {
    background:
        radial-gradient(ellipse 42% 38% at 72% 42%, rgba(255, 255, 255, 0.055), transparent 70%),
        radial-gradient(ellipse 30% 28% at 30% 60%, rgba(255, 255, 255, 0.03), transparent 65%);
}

.zc-ambient-shelves {
    position: absolute;
    right: 10%;
    top: 50%;
    width: min(220px, 36vw);
    height: min(200px, 34vw);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.zc-ambient-shelf {
    display: block;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: zc-shelf-breathe 4.5s ease-in-out infinite;
}

.zc-ambient-shelf:nth-child(2) { animation-delay: 0.4s; width: 88%; margin-left: 6%; }
.zc-ambient-shelf:nth-child(3) { animation-delay: 0.8s; width: 76%; margin-left: 12%; }

.zc-ambient-box {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(8, 12, 22, 0.75);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.zc-ambient-chip {
    position: absolute;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: rgba(8, 12, 22, 0.55);
    border: 1px solid var(--border-subtle);
    animation: zc-float 5.5s ease-in-out infinite;
}

.zc-ambient-chip--1 { top: 22%; right: 8%; }
.zc-ambient-chip--2 { top: 36%; right: 26%; animation-delay: 0.7s; }
.zc-ambient-chip--3 { bottom: 22%; right: 14%; animation-delay: 1.3s; }

@keyframes zc-shelf-breathe {
    0%, 100% { opacity: 0.45; transform: scaleX(1); }
    50% { opacity: 0.9; transform: scaleX(1.02); }
}

@keyframes zc-float {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-6px); opacity: 1; }
}

.zc-vault-section {
    padding: 48px 0 40px;
}

.zc-vault {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.zc-vault-stage {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: minmax(160px, 0.9fr) minmax(240px, 1.2fr) minmax(180px, 1fr);
    gap: 14px;
    align-items: stretch;
}

.zc-panel {
    position: relative;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(8, 12, 22, 0.78) 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    min-height: 280px;
    overflow: hidden;
    opacity: 0.42;
    transition: opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.zc-vault[data-phase="classify"] .zc-panel--shelves,
.zc-vault[data-phase="ingest"] .zc-panel--core,
.zc-vault[data-phase="vectorize"] .zc-panel--core,
.zc-vault[data-phase="retrieve"] .zc-panel--retrieve {
    opacity: 1;
    border-color: var(--border-glow);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.zc-vault[data-phase="ingest"] .zc-panel--shelves,
.zc-vault[data-phase="vectorize"] .zc-panel--shelves,
.zc-vault[data-phase="retrieve"] .zc-panel--core {
    opacity: 0.72;
}

.zc-panel-title {
    display: block;
    margin-bottom: 14px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.zc-shelves {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zc-shelf {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(-8px);
    opacity: 0.35;
}

.zc-vault[data-phase="classify"].is-run .zc-shelf {
    animation: zc-shelf-in 0.45s ease both;
    animation-delay: calc(0.12s + var(--si, 0) * 0.18s);
}

.zc-vault[data-phase="classify"] .zc-shelf,
.zc-vault[data-phase="ingest"] .zc-shelf,
.zc-vault[data-phase="vectorize"] .zc-shelf,
.zc-vault[data-phase="retrieve"] .zc-shelf {
    opacity: 1;
    transform: none;
}

.zc-shelf-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.zc-shelf-slots {
    display: flex;
    gap: 6px;
}

.zc-shelf-slots i {
    flex: 1;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.zc-vault[data-phase="classify"].is-run .zc-shelf-slots i,
.zc-vault[data-phase="ingest"].is-run .zc-shelf-slots i {
    animation: zc-slot-fill 0.5s ease both;
    animation-delay: calc(0.35s + var(--si, 0) * 0.18s);
    background: rgba(255, 255, 255, 0.28);
}

.zc-auto-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    opacity: 0;
}

.zc-vault[data-phase="classify"].is-run .zc-auto-tag {
    animation: zc-fade-up 0.4s ease both;
    animation-delay: 0.85s;
}

.zc-auto-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: zc-pulse-dot 1.4s ease-in-out infinite;
}

.zc-panel--core {
    display: flex;
    align-items: stretch;
}

.zc-core-frame {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 248px;
}

.zc-core-glow {
    position: absolute;
    inset: 18% 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.zc-core-disc {
    position: relative;
    z-index: 1;
    width: min(168px, 56%);
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(8, 12, 22, 0.78) 100%);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.zc-core-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--text-primary);
    opacity: 0.9;
}

.zc-core-mark .line-icon {
    width: 28px;
    height: 28px;
}

.zc-core-name {
    font-size: 0.875rem;
    font-weight: 650;
    color: var(--text-primary);
}

.zc-core-badge {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.zc-ingest-stream {
    position: absolute;
    inset: 12% 8% auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
}

.zc-vault[data-phase="ingest"] .zc-ingest-stream {
    opacity: 1;
}

.zc-doc-card {
    align-self: flex-start;
    max-width: 78%;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.71875rem;
    color: var(--text-primary);
    background: rgba(8, 12, 22, 0.72);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(-10px);
}

.zc-doc-card:nth-child(2) { align-self: center; }
.zc-doc-card:nth-child(3) { align-self: flex-end; }

.zc-vault[data-phase="ingest"].is-run .zc-doc-card {
    animation: zc-doc-drop 0.55s ease both;
    animation-delay: calc(0.1s + var(--di, 0) * 0.28s);
}

.zc-sync-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(6px);
}

.zc-vault[data-phase="ingest"] .zc-sync-row,
.zc-vault[data-phase="classify"] .zc-sync-row {
    opacity: 0.35;
}

.zc-vault[data-phase="ingest"].is-run .zc-sync-row {
    opacity: 1;
    transform: none;
}

.zc-vault[data-phase="ingest"].is-run .zc-sync-chip {
    animation: zc-fade-up 0.35s ease both;
    animation-delay: calc(0.7s + var(--yi, 0) * 0.14s);
}

.zc-sync-chip {
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 550;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    opacity: 0;
}

.zc-vector-lab {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
}

.zc-vault[data-phase="vectorize"] .zc-vector-lab {
    opacity: 1;
}

.zc-vec-doc {
    width: 34px;
    height: 42px;
    padding: 6px 5px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zc-vec-doc span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
}

.zc-vec-arrow {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.zc-vec-chunks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 36px;
}

.zc-vec-chunks i {
    display: block;
    height: 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
}

.zc-vault[data-phase="vectorize"].is-run .zc-vec-chunks i {
    animation: zc-fade-up 0.35s ease both;
    animation-delay: calc(0.15s + var(--ci, 0) * 0.1s);
}

.zc-vec-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 42px;
}

.zc-vec-bars span {
    display: flex;
    gap: 2px;
    height: 10px;
    opacity: 0;
}

.zc-vec-bars i {
    flex: 1;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.45;
}
.zc-vec-bars i:nth-child(2) { opacity: 0.75; height: 70%; align-self: end; }
.zc-vec-bars i:nth-child(3) { opacity: 1; }
.zc-vec-bars i:nth-child(4) { opacity: 0.55; height: 55%; align-self: end; }

.zc-vault[data-phase="vectorize"].is-run .zc-vec-bars span {
    animation: zc-fade-up 0.35s ease both;
    animation-delay: calc(0.55s + var(--bi, 0) * 0.12s);
}

.zc-query {
    position: relative;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.zc-query-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    font-size: 0.8125rem;
    color: var(--text-primary);
    opacity: 0.45;
}

.zc-vault[data-phase="retrieve"] .zc-query-text {
    opacity: 1;
}

.zc-vault[data-phase="retrieve"].is-run .zc-query-text {
    animation: zc-type-clip 1.1s steps(14, end) both;
}

.zc-query-beam {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0;
}

.zc-vault[data-phase="retrieve"].is-run .zc-query-beam {
    animation: zc-beam 1.4s ease-in-out infinite;
    animation-delay: 0.4s;
}

.zc-hits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.zc-hit {
    opacity: 0;
    transform: translateY(6px);
}

.zc-vault[data-phase="retrieve"].is-run .zc-hit {
    animation: zc-fade-up 0.4s ease both;
    animation-delay: calc(0.55s + var(--hi, 0) * 0.22s);
}

.zc-hit-name {
    display: block;
    margin-bottom: 5px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.zc-hit-bar {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.zc-hit-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.72);
}

.zc-vault[data-phase="retrieve"].is-run .zc-hit-bar i {
    animation: zc-bar-fill 0.65s ease both;
    animation-delay: calc(0.7s + var(--hi, 0) * 0.22s);
    width: calc(var(--w, 70) * 1%);
}

.zc-assistant {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(6px);
}

.zc-vault[data-phase="retrieve"].is-run .zc-assistant {
    animation: zc-fade-up 0.4s ease both;
    animation-delay: 1.1s;
}

.zc-assistant-label {
    font-size: 0.6875rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.zc-assistant-line {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.zc-vault-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.zc-vault-dots {
    display: flex;
    gap: 10px;
}

.zc-vault-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.zc-vault-dot.is-active {
    width: 22px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.72);
}

.zc-vault-actions {
    display: flex;
    gap: 8px;
}

.zc-vault-ctrl {
    appearance: none;
    margin: 0;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 550;
    cursor: pointer;
}

.zc-vault-ctrl:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
}

.zc-phase-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(920px, 100%);
}

.zc-phase {
    appearance: none;
    margin: 0;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.zc-phase:hover,
.zc-phase.is-active {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.zc-phase.is-active {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.zc-phase-index {
    display: inline;
    margin-bottom: 0;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.zc-phase.is-active .zc-phase-index {
    color: var(--text-secondary);
}

.zc-phase-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.zc-phase.is-active .zc-phase-label {
    color: var(--text-primary);
}

.zc-vault-caption {
    text-align: center;
    max-width: 32rem;
    padding: 0 12px;
}

.zc-vault-caption-title {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 650;
    color: var(--text-primary);
}

.zc-vault-caption-hint {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@keyframes zc-shelf-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: none; }
}

@keyframes zc-slot-fill {
    from { background: rgba(255, 255, 255, 0.08); }
    to { background: rgba(255, 255, 255, 0.3); }
}

@keyframes zc-doc-drop {
    from { opacity: 0; transform: translateY(-14px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes zc-fade-up {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes zc-type-clip {
    from { max-width: 0; opacity: 0.4; }
    to { max-width: 100%; opacity: 1; }
}

@keyframes zc-beam {
    0%, 100% { opacity: 0.2; transform: translateX(-12%); }
    50% { opacity: 0.9; transform: translateX(12%); }
}

@keyframes zc-bar-fill { from { width: 0; } }

@keyframes zc-pulse-dot {
    0%, 100% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 900px) {
    .zc-vault-stage {
        grid-template-columns: 1fr;
    }
    .zc-panel {
        min-height: 0;
        opacity: 1;
    }
    .zc-panel--shelves,
    .zc-panel--retrieve {
        display: none;
    }
    .zc-vault[data-phase="classify"] .zc-panel--shelves,
    .zc-vault[data-phase="retrieve"] .zc-panel--retrieve {
        display: block;
    }
    .zc-vault[data-phase="classify"] .zc-panel--core,
    .zc-vault[data-phase="retrieve"] .zc-panel--core {
        display: none;
    }
    .zc-phase-rail {
        gap: 8px;
    }

    .zc-phase {
        padding: 8px 14px;
    }
}

@media (max-width: 640px) {
    .zc-ambient-shelves { display: none; }
    .zc-core-disc { width: min(148px, 62%); }
}

@media (prefers-reduced-motion: reduce) {
    .zc-ambient-shelf,
    .zc-ambient-chip,
    .zc-auto-dot,
    .zc-vault.is-run .zc-shelf,
    .zc-vault.is-run .zc-shelf-slots i,
    .zc-vault.is-run .zc-auto-tag,
    .zc-vault.is-run .zc-doc-card,
    .zc-vault.is-run .zc-sync-chip,
    .zc-vault.is-run .zc-vec-chunks i,
    .zc-vault.is-run .zc-vec-bars span,
    .zc-vault.is-run .zc-query-text,
    .zc-vault.is-run .zc-query-beam,
    .zc-vault.is-run .zc-hit,
    .zc-vault.is-run .zc-hit-bar i,
    .zc-vault.is-run .zc-assistant {
        animation: none !important;
        transition: none !important;
    }
}


/* ===== 星云介绍：宣传示意图动画 ===== */
.xy-intro-banner .xy-intro-ambient { overflow: hidden; }

.xy-ambient-glow {
    position: absolute;
    inset: 10% 16% auto;
    height: 58%;
    background:
        radial-gradient(ellipse at 70% 42%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 28% 60%, rgba(170, 180, 200, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.xy-ambient-orbit {
    position: absolute;
    right: 9%;
    top: 50%;
    width: min(150px, 28vw);
    height: min(150px, 28vw);
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.xy-ambient-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(12, 16, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.xy-ambient-orbit i {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    animation: xy-amb-node 5.5s ease-in-out infinite;
}

.xy-ambient-orbit i:nth-child(2) { left: 50%; top: 6%; margin-left: -4px; }
.xy-ambient-orbit i:nth-child(3) { right: 8%; top: 48%; animation-delay: 0.6s; }
.xy-ambient-orbit i:nth-child(4) { left: 50%; bottom: 8%; margin-left: -4px; animation-delay: 1.1s; }
.xy-ambient-orbit i:nth-child(5) { left: 8%; top: 48%; animation-delay: 1.6s; }

@keyframes xy-amb-node {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

.xy-ambient-chip {
    position: absolute;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.6875rem;
    color: var(--text-muted);
    pointer-events: none;
    animation: xy-amb-float 6s ease-in-out infinite;
}

.xy-ambient-chip--1 { left: 10%; top: 34%; }
.xy-ambient-chip--2 { left: 18%; top: 56%; animation-delay: 0.8s; }
.xy-ambient-chip--3 { right: 28%; top: 40%; animation-delay: 1.4s; }

@keyframes xy-amb-float {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    50% { transform: translateY(-6px); opacity: 0.9; }
}

.xy-viz-section { padding: 48px 0 40px; }

.xy-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.xy-viz-stage {
    position: relative;
    width: min(920px, 100%);
    min-height: 480px;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.xy-viz-glow,
.xy-viz-scan {
    display: none;
}

.xy-viz-dust {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.xy-viz-dust i {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    opacity: 0;
    font-style: normal;
}

.xy-viz-dust i:nth-child(1) { left: 12%; top: 22%; --d: 0; }
.xy-viz-dust i:nth-child(2) { left: 78%; top: 18%; width: 2px; height: 2px; --d: 1; }
.xy-viz-dust i:nth-child(3) { left: 22%; top: 68%; --d: 2; }
.xy-viz-dust i:nth-child(4) { left: 86%; top: 62%; width: 2px; height: 2px; --d: 0.5; }
.xy-viz-dust i:nth-child(5) { left: 48%; top: 14%; --d: 1.5; }
.xy-viz-dust i:nth-child(6) { left: 58%; top: 78%; width: 2px; height: 2px; --d: 2.5; }
.xy-viz-dust i:nth-child(7) { left: 8%; top: 48%; --d: 3; }
.xy-viz-dust i:nth-child(8) { left: 92%; top: 40%; --d: 1.2; }

.xy-viz.is-run .xy-viz-dust i {
    animation: xy-dust-twinkle 3.6s ease-in-out infinite;
    animation-delay: calc(var(--d, 0) * 0.35s);
}

@keyframes xy-dust-twinkle {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
    40% { opacity: 0.75; transform: translateY(-8px) scale(1); }
    70% { opacity: 0.25; }
}

.xy-orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.xy-orbit-ring--a { width: min(320px, 58%); aspect-ratio: 1; }
.xy-orbit-ring--b {
    width: min(430px, 78%);
    aspect-ratio: 1;
    opacity: 0.75;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.06);
}
.xy-orbit-ring--c {
    width: min(510px, 92%);
    aspect-ratio: 1;
    opacity: 0.45;
    border-style: dotted;
    border-color: rgba(255, 255, 255, 0.14);
}

.xy-viz.is-run .xy-orbit-ring--a { animation: xy-ring-spin 32s linear infinite; }
.xy-viz.is-run .xy-orbit-ring--b { animation: xy-ring-spin-rev 48s linear infinite; }
.xy-viz.is-run .xy-orbit-ring--c { animation: xy-ring-spin 64s linear infinite; }

@keyframes xy-ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes xy-ring-spin-rev { to { transform: translate(-50%, -50%) rotate(-360deg); } }

.xy-viz-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.xy-viz-link {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.35;
    stroke-linecap: round;
    opacity: 0;
    transition: stroke 0.45s ease, stroke-width 0.45s ease, opacity 0.45s ease;
}

.xy-viz-link--peer {
    stroke-dasharray: 4 5;
    stroke: rgba(255, 255, 255, 0.16);
}

.xy-viz[data-phase="connect"].is-run .xy-viz-link {
    animation: xy-link-draw 0.75s ease both;
    animation-delay: calc(0.12s + var(--li, 0) * 0.09s);
}

.xy-viz[data-phase="connect"] .xy-viz-link,
.xy-viz[data-phase="interact"] .xy-viz-link,
.xy-viz[data-phase="close"] .xy-viz-link {
    opacity: 0.85;
}

.xy-viz[data-phase="connect"].is-run .xy-viz-link:not(.xy-viz-link--peer),
.xy-viz[data-phase="close"].is-run .xy-viz-link:not(.xy-viz-link--peer) {
    animation:
        xy-link-draw 0.75s ease both,
        xy-link-breathe 2.8s ease-in-out infinite;
    animation-delay:
        calc(0.12s + var(--li, 0) * 0.09s),
        calc(0.9s + var(--li, 0) * 0.12s);
}

@keyframes xy-link-breathe {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.95; }
}

/* nth-child: defs=1, then lines 2-9, packets follow — highlight first two primary links */
.xy-viz[data-phase="interact"] .xy-viz-link:nth-of-type(1),
.xy-viz[data-phase="interact"] .xy-viz-link:nth-of-type(2) {
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 2.2;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.28));
}

.xy-viz[data-phase="interact"].is-run .xy-viz-link:nth-of-type(1),
.xy-viz[data-phase="interact"].is-run .xy-viz-link:nth-of-type(2) {
    animation: xy-link-flow 1.2s linear infinite;
    stroke-dasharray: 8 10;
}

.xy-viz[data-phase="close"] .xy-viz-link:nth-of-type(1),
.xy-viz[data-phase="close"] .xy-viz-link:nth-of-type(4) {
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.8;
}

@keyframes xy-link-draw {
    from { opacity: 0; stroke-dasharray: 220; stroke-dashoffset: 220; }
    to { opacity: 0.85; stroke-dasharray: 220; stroke-dashoffset: 0; }
}

@keyframes xy-link-flow { to { stroke-dashoffset: -36; } }

.xy-viz[data-phase="reuse"] .xy-viz-link { opacity: 0.1; }

.xy-viz-packet {
    opacity: 0;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.65));
}

.xy-viz[data-phase="connect"] .xy-viz-packet,
.xy-viz[data-phase="interact"] .xy-viz-packet,
.xy-viz[data-phase="close"] .xy-viz-packet {
    opacity: 0.95;
}

.xy-viz[data-phase="interact"] .xy-viz-packet--peer { opacity: 0.8; }
.xy-viz[data-phase="reuse"] .xy-viz-packet { opacity: 0; }

.xy-viz-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.xy-viz-hub-ripple {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    top: 50%;
    left: 50%;
    margin: -45px 0 0 -36px;
    opacity: 0;
    pointer-events: none;
}

.xy-viz-hub-ripple--2 { border-color: rgba(255, 255, 255, 0.16); }

.xy-viz[data-phase="connect"].is-run .xy-viz-hub-ripple,
.xy-viz[data-phase="interact"].is-run .xy-viz-hub-ripple {
    animation: xy-hub-ripple 2.6s ease-out infinite;
}

.xy-viz[data-phase="connect"].is-run .xy-viz-hub-ripple--2,
.xy-viz[data-phase="interact"].is-run .xy-viz-hub-ripple--2 {
    animation-delay: 1.3s;
}

@keyframes xy-hub-ripple {
    0% { transform: scale(0.85); opacity: 0.65; }
    100% { transform: scale(2.1); opacity: 0; }
}

.xy-viz-hub-pulse {
    position: absolute;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: 50%;
    left: 50%;
    margin: -52px 0 0 -43px;
    opacity: 0.7;
}

.xy-viz[data-phase="connect"] .xy-viz-hub-pulse,
.xy-viz[data-phase="interact"] .xy-viz-hub-pulse {
    animation: xy-hub-pulse 2.8s ease-in-out infinite;
}

@keyframes xy-hub-pulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.14); opacity: 0.85; }
}

.xy-viz-hub-core {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.14) 0%, transparent 62%),
        var(--bg-secondary);
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 14px 32px rgba(0, 0, 0, 0.35);
    isolation: isolate;
}

.xy-viz[data-phase="connect"].is-run .xy-viz-hub-core {
    animation: xy-hub-pop 0.55s ease both;
}

@keyframes xy-hub-pop {
    from { transform: scale(0.7); opacity: 0.4; }
    to { transform: scale(1); opacity: 1; }
}

.xy-viz-hub-name {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.xy-viz[data-phase="close"] .xy-viz-hub,
.xy-viz[data-phase="reuse"] .xy-viz-hub {
    opacity: 0.38;
    transform: translate(-50%, -50%) scale(0.92);
}

.xy-viz-node {
    position: absolute;
    z-index: 3;
    width: 88px;
    margin-left: -44px;
    margin-top: -36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.xy-viz-node--p1 { left: 74.7%; top: 23.3%; --dx: 18px; --dy: -14px; }
.xy-viz-node--p2 { left: 81.3%; top: 54.8%; --dx: 22px; --dy: 4px; }
.xy-viz-node--p3 { left: 67.2%; top: 81.0%; --dx: 12px; --dy: 18px; }
.xy-viz-node--p4 { left: 32.8%; top: 81.0%; --dx: -12px; --dy: 18px; }
.xy-viz-node--p5 { left: 18.8%; top: 54.8%; --dx: -22px; --dy: 4px; }
.xy-viz-node--p6 { left: 25.3%; top: 23.3%; --dx: -18px; --dy: -14px; }

.xy-viz[data-phase="connect"] .xy-viz-node,
.xy-viz[data-phase="interact"] .xy-viz-node,
.xy-viz[data-phase="close"] .xy-viz-node {
    opacity: 1;
}

.xy-viz[data-phase="connect"].is-run .xy-viz-node {
    animation: xy-node-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(0.18s + var(--ni, 0) * 0.11s);
}

.xy-viz.is-run:not([data-phase="reuse"]) .xy-viz-avatar {
    animation: xy-avatar-bob 4.8s ease-in-out infinite;
    animation-delay: calc(0.8s + var(--ni, 0) * 0.22s);
}

.xy-viz[data-phase="interact"].is-run .xy-viz-node--p1 .xy-viz-avatar,
.xy-viz[data-phase="interact"].is-run .xy-viz-node--p2 .xy-viz-avatar {
    animation: none;
}

@keyframes xy-node-pop {
    from {
        opacity: 0;
        transform: translate(calc(var(--dx, 0) * -0.55), calc(var(--dy, 0) * -0.55)) scale(0.55);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes xy-avatar-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.xy-viz-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.xy-viz-avatar b {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.8125rem;
    font-weight: 650;
    color: #f0f2f5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 2;
}

.xy-viz-node--signed .xy-viz-avatar b {
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.xy-viz-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    opacity: 0;
    font-style: normal;
}

.xy-viz-node--signed .xy-viz-ring--signed {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.88);
}

.xy-viz-node--value .xy-viz-ring--value {
    opacity: 0.95;
    inset: -8px;
    border-style: dashed;
    border-color: rgba(180, 190, 205, 0.85);
}

.xy-viz-node--visit .xy-viz-ring--visit {
    opacity: 0.95;
    inset: -8px;
    border-style: dashed;
    border-color: rgba(200, 210, 225, 0.85);
}

.xy-viz-node--signed.xy-viz-node--value .xy-viz-ring--value { inset: -11px; }

.xy-viz.is-run .xy-viz-node--value .xy-viz-ring--value {
    animation: xy-dash-spin 8s linear infinite;
}

.xy-viz.is-run .xy-viz-node--visit .xy-viz-ring--visit {
    animation: xy-dash-spin-rev 7s linear infinite;
}

@keyframes xy-dash-spin { to { transform: rotate(360deg); } }
@keyframes xy-dash-spin-rev { to { transform: rotate(-360deg); } }

.xy-viz[data-phase="interact"].is-run .xy-viz-node--visit .xy-viz-ring--visit {
    animation: xy-ring-flash 0.85s ease-in-out 3, xy-dash-spin-rev 7s linear infinite;
}

.xy-viz[data-phase="close"].is-run .xy-viz-node--signed .xy-viz-ring--signed {
    animation: xy-ring-flash 0.85s ease-in-out 3;
}

@keyframes xy-ring-flash {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% {
        transform: scale(1.12);
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
    }
}

.xy-viz-name {
    font-size: 0.75rem;
    font-weight: 650;
    color: var(--text-primary);
}

.xy-viz-meta {
    font-size: 0.625rem;
    color: var(--text-muted);
    max-width: 88px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xy-viz[data-phase="interact"] .xy-viz-node:not(.xy-viz-node--p2):not(.xy-viz-node--p1) {
    opacity: 0.32;
    filter: saturate(0.7);
}

.xy-viz[data-phase="interact"] .xy-viz-node--p2,
.xy-viz[data-phase="interact"] .xy-viz-node--p1 {
    z-index: 5;
    transform: scale(1.08);
}

.xy-viz[data-phase="interact"].is-run .xy-viz-node--p2,
.xy-viz[data-phase="interact"].is-run .xy-viz-node--p1 {
    animation: xy-node-spotlight 0.5s ease both;
}

@keyframes xy-node-spotlight {
    from { transform: scale(0.96); filter: brightness(0.9); }
    to { transform: scale(1.08); filter: brightness(1.08); }
}

.xy-viz[data-phase="close"] .xy-viz-node:not(.xy-viz-node--signed) { opacity: 0.26; }

.xy-viz[data-phase="reuse"] .xy-viz-node {
    opacity: 0.16;
    transform: scale(0.94);
}

.xy-viz-float {
    position: absolute;
    z-index: 6;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 14, 24, 0.9);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 170px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.xy-viz-float-k {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.xy-viz-float-check {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.88);
    position: relative;
}

.xy-viz-float-check::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 1px;
    width: 4px;
    height: 7px;
    border: solid rgba(255, 255, 255, 0.88);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.xy-viz[data-phase="interact"].is-run .xy-viz-float-check::after {
    animation: xy-check-draw 0.35s ease 0.35s both;
}

@keyframes xy-check-draw {
    from { opacity: 0; transform: rotate(45deg) scale(0.5); }
    to { opacity: 1; transform: rotate(45deg) scale(1); }
}

.xy-viz-float-bar {
    display: block;
    height: 3px;
    margin-top: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.xy-viz-float-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.75));
    font-style: normal;
}

.xy-viz[data-phase="interact"].is-run .xy-viz-float-bar i {
    animation: xy-bar-fill 1.1s ease 0.2s both;
}

@keyframes xy-bar-fill {
    from { width: 0; }
    to { width: 100%; }
}

.xy-viz-float strong {
    font-size: 0.875rem;
    font-weight: 650;
    color: var(--text-primary);
}

.xy-viz-float > span,
.xy-viz-float span:not(.xy-viz-float-k):not(.xy-viz-float-bar):not(.xy-viz-float-row):not(.xy-viz-deal-spark):not(.xy-viz-goal-ticks):not(.xy-viz-reuse-chip):not(.xy-viz-reuse-flow):not(.xy-viz-sep) {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.xy-viz-float--visit { right: 4%; top: 40%; }
.xy-viz-float--deal { left: 4%; top: 36%; overflow: hidden; }
.xy-viz-float--goal {
    left: 50%;
    top: 50%;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    transform: translate(-50%, -40%);
    min-width: 250px;
}

.xy-viz-float--reuse {
    left: 50%;
    bottom: 10%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(440px, 92%);
    border-radius: var(--radius-pill);
    transform: translate(-50%, 12px);
}

.xy-viz-float--reuse > i { font-style: normal; color: var(--text-muted); }
.xy-viz-sep { color: var(--text-muted); }

.xy-viz[data-phase="interact"] .xy-viz-float--visit,
.xy-viz[data-phase="close"] .xy-viz-float--deal,
.xy-viz[data-phase="close"] .xy-viz-float--goal,
.xy-viz[data-phase="reuse"] .xy-viz-float--reuse {
    opacity: 1;
    pointer-events: auto;
}

.xy-viz[data-phase="interact"] .xy-viz-float--visit { transform: none; }
.xy-viz[data-phase="close"] .xy-viz-float--deal { transform: none; }
.xy-viz[data-phase="close"] .xy-viz-float--goal { transform: translate(-50%, -50%); }
.xy-viz[data-phase="reuse"] .xy-viz-float--reuse { transform: translate(-50%, 0); }

.xy-viz[data-phase="interact"].is-run .xy-viz-float--visit {
    animation: xy-float-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.xy-viz[data-phase="close"].is-run .xy-viz-float--deal {
    animation: xy-float-in 0.45s ease both;
}

.xy-viz[data-phase="close"].is-run .xy-viz-float--goal {
    animation: xy-goal-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both 0.15s;
}

.xy-viz[data-phase="reuse"].is-run .xy-viz-float--reuse {
    animation: xy-reuse-in 0.5s ease both;
}

@keyframes xy-float-in {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes xy-goal-in {
    from { opacity: 0; transform: translate(-50%, -42%) scale(0.94); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes xy-reuse-in {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.xy-viz-float-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.xy-viz-float-row em {
    font-style: normal;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.6875rem;
}

.xy-viz-float-row em.is-win {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
}

.xy-viz[data-phase="close"].is-run .xy-viz-float-row em.is-win {
    animation: xy-win-pop 0.55s ease 0.45s both;
}

@keyframes xy-win-pop {
    0% { transform: scale(0.9); box-shadow: none; }
    60% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1); }
    100% { transform: scale(1); }
}

.xy-viz-deal-arrow {
    font-style: normal;
    color: var(--text-muted);
    display: inline-block;
}

.xy-viz[data-phase="close"].is-run .xy-viz-deal-arrow {
    animation: xy-arrow-nudge 0.9s ease 0.2s 2;
}

@keyframes xy-arrow-nudge {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(3px); opacity: 1; }
}

.xy-viz-float-row b {
    margin-left: 4px;
    color: var(--text-primary);
}

.xy-viz[data-phase="close"].is-run .xy-viz-float-row b {
    animation: xy-amt-flash 0.6s ease 0.55s both;
}

@keyframes xy-amt-flash {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

.xy-viz-deal-spark {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
}

.xy-viz[data-phase="close"].is-run .xy-viz-deal-spark {
    animation: xy-spark-pop 0.7s ease 0.5s both;
}

@keyframes xy-spark-pop {
    0% { opacity: 0; transform: scale(0.4); }
    40% { opacity: 1; transform: scale(1.3); }
    100% { opacity: 0; transform: scale(1.8); }
}

.xy-viz-goal-ring {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.xy-viz-goal-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.xy-viz-goal-track,
.xy-viz-goal-prog {
    fill: none;
    stroke-width: 5;
}

.xy-viz-goal-track { stroke: rgba(255, 255, 255, 0.1); }
.xy-viz-goal-prog {
    stroke: rgba(255, 255, 255, 0.88);
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 188.4;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.28));
}

.xy-viz[data-phase="close"] .xy-viz-goal-prog { stroke-dashoffset: 52.8; }
.xy-viz[data-phase="close"].is-run .xy-viz-goal-prog {
    animation: xy-goal-fill 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes xy-goal-fill {
    from { stroke-dashoffset: 188.4; }
    to { stroke-dashoffset: 52.8; }
}

.xy-viz-goal-ring span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.xy-viz[data-phase="close"].is-run .xy-viz-goal-ring span {
    animation: xy-pct-pop 0.45s ease 0.85s both;
}

@keyframes xy-pct-pop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.xy-viz-float--goal strong small {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.xy-viz-goal-ticks {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.xy-viz-goal-ticks i {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-style: normal;
}

.xy-viz-goal-ticks i:nth-child(1) { --ti: 0; }
.xy-viz-goal-ticks i:nth-child(2) { --ti: 1; }
.xy-viz-goal-ticks i:nth-child(3) { --ti: 2; }
.xy-viz-goal-ticks i:nth-child(4) { --ti: 3; background: rgba(255, 255, 255, 0.06); }

.xy-viz[data-phase="close"] .xy-viz-goal-ticks i:nth-child(-n+3) {
    background: rgba(255, 255, 255, 0.55);
}

.xy-viz[data-phase="close"].is-run .xy-viz-goal-ticks i {
    animation: xy-tick-on 0.35s ease both;
    animation-delay: calc(0.55s + var(--ti, 0) * 0.12s);
}

@keyframes xy-tick-on {
    from { transform: scaleX(0.4); opacity: 0.3; }
    to { transform: scaleX(1); opacity: 1; }
}

.xy-viz-reuse-chip {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    opacity: 0.55;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.xy-viz[data-phase="reuse"].is-run .xy-viz-reuse-chip {
    animation: xy-chip-on 0.45s ease both;
    animation-delay: calc(0.15s + var(--ri, 0) * 0.28s);
}

@keyframes xy-chip-on {
    from { opacity: 0.35; transform: translateY(4px); }
    to {
        opacity: 1;
        transform: none;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-primary);
    }
}

.xy-viz-reuse-flow {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.xy-viz-reuse-flow::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 28%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.xy-viz[data-phase="reuse"].is-run .xy-viz-reuse-flow::after {
    animation: xy-reuse-beam 1.6s ease-in-out infinite;
}

@keyframes xy-reuse-beam {
    from { transform: translateX(-20%); opacity: 0.4; }
    to { transform: translateX(320%); opacity: 1; }
}

.xy-viz-legend {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 22, 0.45);
    opacity: 0;
    z-index: 5;
    pointer-events: none;
}

.xy-viz[data-phase="connect"] .xy-viz-legend,
.xy-viz[data-phase="interact"] .xy-viz-legend,
.xy-viz[data-phase="close"] .xy-viz-legend {
    opacity: 1;
}

.xy-viz[data-phase="connect"].is-run .xy-viz-legend {
    animation: xy-legend-in 0.45s ease 0.3s both;
}

@keyframes xy-legend-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.xy-viz-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.625rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.xy-viz-legend-item i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    font-style: normal;
}

.xy-viz-legend-item--signed { color: rgba(255, 255, 255, 0.88); }
.xy-viz-legend-item--visit { color: rgba(220, 228, 238, 0.9); }
.xy-viz-legend-item--visit i { border-style: dashed; }
.xy-viz-legend-item--value { color: rgba(190, 200, 215, 0.9); }
.xy-viz-legend-item--value i { border-style: dashed; }

.xy-viz[data-phase="interact"] .xy-viz-legend-item--visit {
    color: rgba(240, 242, 245, 0.95);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.28));
}

.xy-viz[data-phase="close"] .xy-viz-legend-item--signed {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.28));
}

.xy-viz-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.xy-viz-dots { display: flex; gap: 10px; }

.xy-viz-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.xy-viz-dot.is-active {
    width: 22px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.72);
}

.xy-viz-actions { display: flex; gap: 8px; }

.xy-viz-ctrl {
    appearance: none;
    margin: 0;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 550;
    cursor: pointer;
}

.xy-viz-ctrl:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
}

.xy-viz.is-paused .xy-viz-ctrl[data-xy-pause] {
    border-color: var(--border-glow);
    color: var(--text-primary);
}

.xy-viz-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(920px, 100%);
}

.xy-viz-phase {
    appearance: none;
    margin: 0;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.xy-viz-phase:hover,
.xy-viz-phase.is-active {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.xy-viz-phase.is-active {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.xy-viz-phase-index {
    display: inline;
    margin-bottom: 0;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.xy-viz-phase.is-active .xy-viz-phase-index { color: var(--text-secondary); }

.xy-viz-phase-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.xy-viz-phase.is-active .xy-viz-phase-label { color: var(--text-primary); }

.xy-viz-caption {
    text-align: center;
    max-width: 32rem;
    padding: 0 12px;
}

.xy-viz-caption-title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 650;
    color: var(--text-primary);
}

.xy-viz-caption-hint {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 860px) {
    .xy-viz-stage { min-height: 420px; }
    .xy-viz-meta { display: none; }
    .xy-viz-legend { display: none; }
    .xy-viz-dust { display: none; }
    .xy-viz-float--visit,
    .xy-viz-float--deal {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 10%;
        transform: translateX(-50%);
        width: min(280px, 90%);
    }
    .xy-viz[data-phase="interact"] .xy-viz-float--visit,
    .xy-viz[data-phase="close"] .xy-viz-float--deal {
        transform: translateX(-50%);
    }
    .xy-viz[data-phase="close"] .xy-viz-float--goal { top: 16%; }
    .xy-viz-rail { gap: 8px; }
    .xy-viz-phase { padding: 8px 14px; }
    .xy-ambient-orbit { display: none; }
}

@media (max-width: 640px) {
    .xy-ambient-chip { display: none; }
    .xy-viz-hub-core { width: 54px; height: 54px; font-size: 0.9375rem; }
    .xy-viz-avatar { width: 34px; height: 34px; }
    .xy-orbit-ring--c { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .xy-ambient-chip,
    .xy-ambient-orbit i,
    .xy-orbit-ring,
    .xy-viz-hub-pulse,
    .xy-viz-hub-ripple,
    .xy-viz-glow,
    .xy-viz-scan,
    .xy-viz-dust i,
    .xy-viz-packet,
    .xy-viz.is-run .xy-viz-link,
    .xy-viz.is-run .xy-viz-node,
    .xy-viz.is-run .xy-viz-float,
    .xy-viz.is-run .xy-viz-goal-prog,
    .xy-viz.is-run .xy-viz-ring,
    .xy-viz.is-run .xy-viz-reuse-chip,
    .xy-viz.is-run .xy-viz-reuse-flow::after,
    .xy-viz.is-run .xy-viz-float-bar i,
    .xy-viz.is-run .xy-viz-deal-spark,
    .xy-viz.is-run .xy-viz-goal-ticks i {
        animation: none !important;
        transition: none !important;
    }

    .xy-viz-node,
    .xy-viz-link,
    .xy-viz[data-phase="interact"] .xy-viz-float--visit,
    .xy-viz[data-phase="close"] .xy-viz-float--deal,
    .xy-viz[data-phase="close"] .xy-viz-float--goal,
    .xy-viz[data-phase="reuse"] .xy-viz-float--reuse {
        opacity: 1 !important;
        transform: none !important;
    }

    .xy-viz[data-phase="close"] .xy-viz-float--goal {
        transform: translate(-50%, -50%) !important;
    }

    .xy-viz[data-phase="reuse"] .xy-viz-float--reuse {
        transform: translate(-50%, 0) !important;
    }

    .xy-viz-packet { display: none; }
}

/* ===== 灵犀介绍：对话工作台剧场 ===== */
.lx-intro-banner .lx-intro-ambient {
    overflow: hidden;
}

.lx-ambient-glow {
    position: absolute;
    inset: 12% 18% auto;
    height: 55%;
    background:
        radial-gradient(ellipse at 35% 40%, rgba(255, 255, 255, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 55%, rgba(180, 190, 210, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.lx-ambient-chat {
    position: absolute;
    right: 8%;
    top: 28%;
    width: 160px;
    height: 120px;
    opacity: 0.55;
    pointer-events: none;
}

.lx-ambient-bubble {
    position: absolute;
    display: block;
    border-radius: 14px 14px 4px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.lx-ambient-bubble--user {
    right: 0;
    top: 8px;
    width: 72px;
    height: 28px;
    border-radius: 14px 14px 4px 14px;
    animation: lx-amb-float 5.2s ease-in-out infinite;
}

.lx-ambient-bubble--bot {
    left: 0;
    top: 48px;
    width: 88px;
    height: 34px;
    border-radius: 14px 14px 14px 4px;
    background: rgba(255, 255, 255, 0.06);
    animation: lx-amb-float 5.2s ease-in-out infinite 0.6s;
}

.lx-ambient-wave {
    position: absolute;
    left: 12px;
    bottom: 8px;
    width: 36px;
    height: 18px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.lx-ambient-wave::before,
.lx-ambient-wave::after {
    content: '';
    flex: 1;
    height: 40%;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    animation: lx-mic-bar 1.1s ease-in-out infinite;
}

.lx-ambient-wave::after {
    height: 70%;
    animation-delay: 0.2s;
}

.lx-ambient-chip {
    position: absolute;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    pointer-events: none;
    animation: lx-amb-float 6s ease-in-out infinite;
}

.lx-ambient-chip--1 { left: 10%; top: 36%; animation-delay: 0.2s; }
.lx-ambient-chip--2 { left: 22%; top: 58%; animation-delay: 1.1s; }
.lx-ambient-chip--3 { right: 28%; top: 42%; animation-delay: 1.8s; }

@keyframes lx-amb-float {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-6px); opacity: 0.85; }
}

.lx-chat-section {
    padding: 48px 0 40px;
}

.lx-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.lx-chat-stage {
    --lx-stage-bg: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(8, 12, 22, 0.82) 100%);
    position: relative;
    width: min(920px, 100%);
    min-height: 360px;
    margin-bottom: 18px;
    padding: 28px 24px 24px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: var(--lx-stage-bg);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    overflow: visible;
}

/* 气泡尖角 */
.lx-chat-stage::after {
    content: "";
    position: absolute;
    left: 48px;
    bottom: -13px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, transparent 48%, rgba(10, 14, 22, 0.96) 50%);
    border-right: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    transform: rotate(45deg);
    border-radius: 0 0 3px 0;
    z-index: 1;
    pointer-events: none;
}

.lx-stage-vignette {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(140, 150, 170, 0.05) 0%, transparent 45%);
    pointer-events: none;
    overflow: hidden;
}

.lx-thread {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
    margin: 0 auto;
    transition: opacity 0.45s ease, filter 0.45s ease;
}

.lx-chat[data-phase="done"] .lx-thread {
    opacity: 0.38;
    filter: saturate(0.7);
}

.lx-msg {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
}

.lx-msg--user {
    justify-content: flex-end;
    align-self: flex-end;
    width: 100%;
}

.lx-msg--bot {
    justify-content: flex-start;
    align-self: flex-start;
    width: 100%;
}

.lx-chat[data-phase="ask"].is-run .lx-msg--user,
.lx-chat[data-phase="search"] .lx-msg--user,
.lx-chat[data-phase="act"] .lx-msg--user,
.lx-chat[data-phase="done"] .lx-msg--user {
    opacity: 1;
    transform: none;
}

.lx-chat[data-phase="ask"].is-run .lx-msg--user {
    animation: lx-msg-in 0.5s ease both;
}

.lx-chat[data-phase="search"] .lx-msg--bot,
.lx-chat[data-phase="act"] .lx-msg--bot,
.lx-chat[data-phase="done"] .lx-msg--bot {
    opacity: 1;
    transform: none;
}

.lx-chat[data-phase="search"].is-run .lx-msg--bot {
    animation: lx-msg-in 0.45s ease both 0.08s;
}

.lx-msg-bubble {
    display: inline-block;
    max-width: min(340px, 78vw);
    padding: 12px 14px;
    border-radius: 16px 16px 4px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.lx-msg-bubble--bot {
    border-radius: 16px 16px 16px 4px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.lx-msg-avatar {
    flex-shrink: 0;
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
}

.lx-msg-avatar .line-icon {
    width: 16px;
    height: 16px;
}

.lx-msg-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.lx-msg-name {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding-left: 2px;
}

.lx-msg-mic {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    margin-left: 6px;
    margin-bottom: 4px;
    opacity: 0;
}

.lx-msg-mic i {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.55);
}

.lx-msg-mic i:nth-child(1) { height: 6px; }
.lx-msg-mic i:nth-child(2) { height: 14px; }
.lx-msg-mic i:nth-child(3) { height: 9px; }

.lx-chat[data-phase="ask"] .lx-msg-mic {
    opacity: 1;
}

.lx-chat[data-phase="ask"].is-run .lx-msg-mic i {
    animation: lx-mic-bar 0.9s ease-in-out infinite;
}

.lx-chat[data-phase="ask"].is-run .lx-msg-mic i:nth-child(2) { animation-delay: 0.12s; }
.lx-chat[data-phase="ask"].is-run .lx-msg-mic i:nth-child(3) { animation-delay: 0.24s; }

@keyframes lx-mic-bar {
    0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
    50% { transform: scaleY(1); opacity: 1; }
}

.lx-typing {
    display: none;
    gap: 5px;
    padding: 2px 0;
}

.lx-typing i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.lx-msg-text {
    display: none;
}

.lx-chat[data-phase="search"] .lx-typing {
    display: inline-flex;
}

.lx-chat[data-phase="search"].is-run .lx-typing i {
    animation: lx-dot-bounce 1s ease-in-out infinite;
}

.lx-chat[data-phase="search"].is-run .lx-typing i:nth-child(2) { animation-delay: 0.15s; }
.lx-chat[data-phase="search"].is-run .lx-typing i:nth-child(3) { animation-delay: 0.3s; }

.lx-chat[data-phase="act"] .lx-msg-text,
.lx-chat[data-phase="done"] .lx-msg-text {
    display: inline;
}

.lx-chat[data-phase="act"] .lx-typing,
.lx-chat[data-phase="done"] .lx-typing,
.lx-chat[data-phase="ask"] .lx-typing {
    display: none;
}

@keyframes lx-dot-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes lx-msg-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.lx-search-panel {
    position: absolute;
    z-index: 3;
    top: 28px;
    right: 20px;
    width: min(220px, 42%);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(10, 14, 24, 0.88);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateX(16px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lx-chat[data-phase="search"] .lx-search-panel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border-color: var(--border-glow);
}

.lx-chat[data-phase="search"].is-run .lx-search-panel {
    animation: lx-panel-in 0.45s ease both 0.12s;
}

@keyframes lx-panel-in {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: none; }
}

.lx-panel-title {
    display: block;
    margin-bottom: 10px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.lx-source {
    padding: 8px 9px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.4;
}

.lx-source:last-child { margin-bottom: 0; }

.lx-chat[data-phase="search"].is-run .lx-source {
    animation: lx-source-on 0.4s ease both;
    animation-delay: calc(0.28s + var(--si, 0) * 0.22s);
}

.lx-chat[data-phase="search"] .lx-source {
    opacity: 1;
}

@keyframes lx-source-on {
    from { opacity: 0.25; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

.lx-source-name {
    display: block;
    font-size: 0.6875rem;
    font-weight: 650;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.lx-source-hit {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-bottom: 6px;
}

.lx-source-bar {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.lx-source-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(220, 226, 235, 0.55), rgba(255, 255, 255, 0.85));
}

.lx-chat[data-phase="search"].is-run .lx-source-bar i {
    animation: lx-bar-fill 0.7s ease both;
    animation-delay: calc(0.4s + var(--si, 0) * 0.22s);
}

.lx-source--zhicang .lx-source-bar i { width: 86%; }
.lx-source--org .lx-source-bar i { width: 64%; }

@keyframes lx-bar-fill {
    from { width: 0; }
}

.lx-tools {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(520px, 92%);
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
}

.lx-chat[data-phase="act"] .lx-tools {
    opacity: 1;
    pointer-events: auto;
}

.lx-tool {
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
}

.lx-chat[data-phase="act"].is-run .lx-tool {
    animation: lx-tool-in 0.45s ease both;
    animation-delay: calc(0.1s + var(--ti, 0) * 0.28s);
}

.lx-chat[data-phase="act"] .lx-tool {
    opacity: 1;
    transform: none;
    color: var(--text-primary);
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

@keyframes lx-tool-in {
    from { opacity: 0; transform: translateY(14px) scale(0.94); }
    to { opacity: 1; transform: none; }
}

.lx-results {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, 88%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.lx-chat[data-phase="done"] .lx-results {
    opacity: 1;
    pointer-events: auto;
}

.lx-result {
    display: grid;
    grid-template-columns: 22px auto 1fr;
    align-items: center;
    gap: 8px 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(12, 16, 26, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
}

.lx-chat[data-phase="done"].is-run .lx-result {
    animation: lx-result-in 0.45s ease both;
    animation-delay: calc(0.08s + var(--ri, 0) * 0.16s);
}

.lx-chat[data-phase="done"] .lx-result {
    opacity: 1;
    transform: none;
    border-color: var(--border-glow);
}

@keyframes lx-result-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.lx-result-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    position: relative;
}

.lx-result-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 2px;
    width: 5px;
    height: 8px;
    border: solid rgba(255, 255, 255, 0.9);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.lx-result-label {
    font-size: 0.6875rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.lx-result-text {
    grid-column: 2 / -1;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.lx-chat-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lx-chat-dots {
    display: flex;
    gap: 10px;
}

.lx-chat-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.lx-chat-dot.is-active {
    width: 22px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.72);
}

.lx-chat-actions {
    display: flex;
    gap: 8px;
}

.lx-chat-ctrl {
    appearance: none;
    margin: 0;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 550;
    cursor: pointer;
}

.lx-chat-ctrl:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
}

.lx-phase-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: min(920px, 100%);
}

.lx-phase {
    appearance: none;
    margin: 0;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lx-phase:hover,
.lx-phase.is-active {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.lx-phase.is-active {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lx-phase-index {
    display: inline;
    margin-bottom: 0;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.lx-phase.is-active .lx-phase-index {
    color: var(--text-secondary);
}

.lx-phase-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lx-phase.is-active .lx-phase-label {
    color: var(--text-primary);
}

.lx-chat-caption {
    text-align: center;
    max-width: 32rem;
    padding: 0 12px;
}

.lx-chat-caption-title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 650;
    color: var(--text-primary);
}

.lx-chat-caption-hint {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.lx-chat.is-paused .lx-chat-ctrl[data-lx-pause] {
    border-color: var(--border-glow);
    color: var(--text-primary);
}

@media (max-width: 860px) {
    .lx-chat-stage {
        min-height: 400px;
        padding: 22px 16px 88px;
        margin-bottom: 16px;
    }

    .lx-chat-stage::after {
        left: 28px;
    }

    .lx-search-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-top: 16px;
        transform: none;
    }

    .lx-chat[data-phase="search"] .lx-search-panel {
        transform: none;
    }

    .lx-chat[data-phase="search"].is-run .lx-search-panel {
        animation: lx-msg-in 0.4s ease both;
    }

    .lx-tools {
        bottom: 18px;
    }

    .lx-phase-rail {
        gap: 8px;
    }

    .lx-phase {
        padding: 8px 14px;
    }

    .lx-ambient-chat {
        display: none;
    }
}

@media (max-width: 640px) {
    .lx-ambient-chip {
        display: none;
    }

    .lx-msg-bubble {
        font-size: 0.8125rem;
    }

    .lx-result {
        grid-template-columns: 18px 1fr;
    }

    .lx-result-text {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lx-ambient-bubble,
    .lx-ambient-chip,
    .lx-ambient-wave::before,
    .lx-ambient-wave::after,
    .lx-chat.is-run .lx-msg,
    .lx-chat.is-run .lx-msg-mic i,
    .lx-chat.is-run .lx-typing i,
    .lx-chat.is-run .lx-search-panel,
    .lx-chat.is-run .lx-source,
    .lx-chat.is-run .lx-source-bar i,
    .lx-chat.is-run .lx-tool,
    .lx-chat.is-run .lx-result {
        animation: none !important;
        transition: none !important;
    }

    .lx-msg--user,
    .lx-chat[data-phase="search"] .lx-msg--bot,
    .lx-chat[data-phase="act"] .lx-msg--bot,
    .lx-chat[data-phase="done"] .lx-msg--bot,
    .lx-chat[data-phase="search"] .lx-search-panel,
    .lx-chat[data-phase="act"] .lx-tools,
    .lx-chat[data-phase="act"] .lx-tool,
    .lx-chat[data-phase="done"] .lx-results,
    .lx-chat[data-phase="done"] .lx-result {
        opacity: 1;
        transform: none;
    }
}

/* ===== 政企智能化平台改造演示剧场 ===== */
.gp-intro-banner .gp-intro-ambient { overflow: hidden; }

.gp-ambient-glow {
    position: absolute;
    inset: 8% 12% auto;
    height: 60%;
    background:
        radial-gradient(ellipse at 40% 45%, rgba(94, 196, 168, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 40%, rgba(255, 255, 255, 0.07) 0%, transparent 50%);
    pointer-events: none;
}

.gp-ambient-silo {
    position: absolute;
    width: 56px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    opacity: 0.55;
}
.gp-ambient-silo--1 { left: 10%; top: 36%; transform: rotate(-8deg); }
.gp-ambient-silo--2 { left: 22%; top: 52%; transform: rotate(6deg); }
.gp-ambient-silo--3 { right: 18%; top: 40%; transform: rotate(10deg); }

.gp-ambient-hub {
    position: absolute;
    right: 12%;
    top: 34%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(94, 196, 168, 0.45);
    box-shadow: 0 0 40px rgba(94, 196, 168, 0.18);
    background: radial-gradient(circle at 40% 35%, rgba(94, 196, 168, 0.25), transparent 70%);
}

.gp-ambient-beam {
    position: absolute;
    right: 18%;
    top: 42%;
    width: 28%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(94, 196, 168, 0.45), transparent);
    opacity: 0.7;
    animation: gp-beam-sweep 4.5s ease-in-out infinite;
}

.gp-ambient-chip {
    position: absolute;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 15, 0.55);
    color: var(--text-secondary);
}
.gp-ambient-chip--1 { left: 8%; bottom: 22%; }
.gp-ambient-chip--2 { left: 28%; bottom: 16%; }
.gp-ambient-chip--3 { right: 10%; bottom: 24%; }

.gp-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}
.gp-brand-logo-mark {
    width: 36px;
    height: auto;
}

.gp-demo-section {
    padding: 32px 0 56px;
    background: transparent;
}

.gp-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
}

.gp-stage {
    position: relative;
    width: min(960px, 100%);
    /* 全程固定高度，避免切幕时控件跳动；收紧避免前几幕留白过大 */
    min-height: 420px;
    height: clamp(380px, 46vw, 440px);
    background:
        radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    overflow: hidden;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.gp-stage-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 52%, rgba(6, 8, 15, 0.55) 100%);
    pointer-events: none;
    z-index: 5;
}

.gp-stage-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 28%, transparent 72%);
    opacity: 0.55;
}

.gp-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s;
    z-index: 2;
}

.gp-demo[data-phase="chaos"] .gp-layer--chaos,
.gp-demo[data-phase="connect"] .gp-layer--connect,
.gp-demo[data-phase="empower"] .gp-layer--empower,
.gp-demo[data-phase="operate"] .gp-layer--operate,
.gp-demo[data-phase="p1"] .gp-layer--p1,
.gp-demo[data-phase="p2"] .gp-layer--p2,
.gp-demo[data-phase="p3"] .gp-layer--p3,
.gp-demo[data-phase="p4"] .gp-layer--p4 {
    opacity: 1;
    visibility: visible;
}

.gp-win {
    position: absolute;
    width: 136px;
    padding: 9px 11px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.gp-win-bar { display: flex; gap: 4px; margin-bottom: 8px; }
.gp-win-bar i {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}
.gp-win-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.gp-win-lines i,
.gp-win-bars i {
    display: block;
    height: 5px;
    margin-top: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}
.gp-win-lines i:nth-child(1) { width: 88%; }
.gp-win-lines i:nth-child(2) { width: 64%; }
.gp-win-lines i:nth-child(3) { width: 76%; }
.gp-win-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.gp-win-grid i {
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}
.gp-win-mail {
    height: 36px;
    border-radius: 6px;
    background:
        linear-gradient(135deg, transparent 48%, rgba(255,255,255,0.18) 50%, transparent 52%),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.gp-win-bars i:nth-child(1) { width: 40%; height: 10px; }
.gp-win-bars i:nth-child(2) { width: 70%; height: 10px; }
.gp-win-bars i:nth-child(3) { width: 55%; height: 10px; }

.gp-win--a { left: 10%; top: 12%; transform: rotate(-6deg); }
.gp-win--b { right: 11%; top: 10%; transform: rotate(5deg); }
.gp-win--c { left: 16%; bottom: 14%; transform: rotate(4deg); }
.gp-win--d { right: 14%; bottom: 12%; transform: rotate(-4deg); }

.gp-demo.is-run[data-phase="chaos"] .gp-win--a { animation: gp-jitter-a 2.8s ease-in-out infinite; }
.gp-demo.is-run[data-phase="chaos"] .gp-win--b { animation: gp-jitter-b 3.1s ease-in-out infinite; }
.gp-demo.is-run[data-phase="chaos"] .gp-win--c { animation: gp-jitter-c 2.6s ease-in-out infinite; }
.gp-demo.is-run[data-phase="chaos"] .gp-win--d { animation: gp-jitter-d 3.4s ease-in-out infinite; }

.gp-tag {
    position: absolute;
    z-index: 4;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.gp-tag--warn {
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 8, 15, 0.72);
}
.gp-tag--ok {
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 8, 15, 0.72);
}
.gp-tag--1 { left: 36%; top: 18%; }
.gp-tag--2 { right: 34%; top: 28%; }
.gp-tag--3 { left: 42%; bottom: 22%; }
.gp-tag--hub { left: 50%; top: 18%; transform: translateX(-50%); }
.gp-tag--know { left: 12%; top: 22%; }
.gp-tag--ask { right: 12%; top: 26%; }

.gp-person {
    position: absolute;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: 36px;
    height: 52px;
    opacity: 0.7;
}
.gp-person-head {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0 auto 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}
.gp-person-body {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border-radius: 10px 10px 4px 4px;
    background: rgba(255, 255, 255, 0.18);
}
.gp-demo.is-run[data-phase="chaos"] .gp-person {
    animation: gp-person-dash 2.4s ease-in-out infinite;
}

.gp-connect-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.gp-wire {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 6 8;
    opacity: 0.9;
}
.gp-demo.is-run[data-phase="connect"] .gp-wire {
    animation: gp-wire-flow 1.6s linear infinite;
}

.gp-node {
    position: absolute;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(14, 18, 28, 0.9);
    color: var(--text-secondary);
}
.gp-node--a { left: 10%; top: 16%; }
.gp-node--b { right: 10%; top: 12%; }
.gp-node--c { left: 12%; bottom: 16%; }
.gp-node--d { right: 12%; bottom: 14%; }

.gp-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    text-align: center;
    z-index: 3;
}
.gp-hub-core {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(10, 14, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}
.gp-hub-logo { width: 34px; height: auto; }
.gp-hub-label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.gp-hub-ring {
    position: absolute;
    left: 50%;
    top: 36px;
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    z-index: 1;
}
.gp-hub-ring--2 {
    width: 128px;
    height: 128px;
    margin: -64px 0 0 -64px;
    border-color: rgba(255, 255, 255, 0.08);
}
.gp-demo.is-run[data-phase="connect"] .gp-hub-ring,
.gp-demo.is-run[data-phase="empower"] .gp-hub-ring {
    animation: gp-ring-spin 12s linear infinite;
}
.gp-demo.is-run[data-phase="empower"] .gp-hub-ring--2 {
    animation: gp-ring-spin 18s linear infinite reverse;
}

.gp-hub--active { top: 46%; }
.gp-orbit {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}
.gp-orbit--2 { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
.gp-orbit--3 { width: 360px; height: 360px; margin: -180px 0 0 -180px; border-style: solid; border-color: rgba(255, 255, 255, 0.06); }
.gp-orbit--4 { width: 260px; height: 260px; margin: -130px 0 0 -130px; }

.gp-orbit-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
    background: rgba(12, 18, 28, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-secondary);
}
.gp-orbit--2 .gp-orbit-item { top: 70%; left: 8%; }
.gp-orbit--3 .gp-orbit-item { top: 78%; left: 78%; }
.gp-orbit--4 .gp-orbit-item { top: 18%; left: 88%; }

.gp-demo.is-run[data-phase="empower"] .gp-orbit--1 .gp-orbit-item { animation: gp-float-a 3.2s ease-in-out infinite; }
.gp-demo.is-run[data-phase="empower"] .gp-orbit--2 .gp-orbit-item { animation: gp-float-b 3.6s ease-in-out infinite; }
.gp-demo.is-run[data-phase="empower"] .gp-orbit--3 .gp-orbit-item { animation: gp-float-a 3.4s ease-in-out infinite 0.2s; }
.gp-demo.is-run[data-phase="empower"] .gp-orbit--4 .gp-orbit-item { animation: gp-float-b 3.8s ease-in-out infinite 0.15s; }

.gp-pulse {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    z-index: 0;
}
.gp-demo.is-run[data-phase="empower"] .gp-pulse {
    animation: gp-pulse 2.2s ease-out infinite;
}

.gp-desk {
    position: absolute;
    left: 50%;
    top: 4%;
    bottom: 4%;
    transform: translateX(-50%);
    width: min(92%, 640px);
    height: auto;
    min-height: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(12, 16, 24, 0.72);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}
.gp-desk-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}
.gp-desk-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}
.gp-desk-logo { width: 22px; height: auto; }
.gp-desk-status {
    font-size: 11px;
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.gp-desk-body { display: flex; flex: 1; min-height: 0; }
.gp-desk-side {
    width: 108px;
    padding: 12px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gp-desk-nav {
    font-size: 12px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--text-muted);
}
.gp-desk-nav.is-on {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}
.gp-desk-main {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gp-demo--ai .gp-desk-main,
.gp-demo--inf .gp-desk-main,
.gp-demo--ent .gp-desk-main {
    justify-content: flex-start;
    overflow-y: auto;
}
.gp-chat-line {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.gp-chat-line--user {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border-bottom-right-radius: 4px;
}
.gp-chat-line--bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 4px;
    position: relative;
}
.gp-typing {
    display: none;
    gap: 4px;
    align-items: center;
}
.gp-typing i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}
.gp-demo.is-run[data-phase="operate"] .gp-typing,
.gp-demo.is-run[data-phase="p4"] .gp-typing {
    display: inline-flex;
    animation: gp-typing-hide 1.4s ease forwards;
}
.gp-demo.is-run[data-phase="operate"] .gp-bot-text,
.gp-demo.is-run[data-phase="p4"] .gp-bot-text {
    opacity: 0;
    animation: gp-fade-in 0.5s ease 1.35s forwards;
}
.gp-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.gp-metric {
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}
.gp-metric strong {
    display: block;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.gp-metric span {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}
.gp-demo.is-run[data-phase="operate"] .gp-metric,
.gp-demo.is-run[data-phase="p4"] .gp-metric {
    opacity: 0;
    transform: translateY(8px);
    animation: gp-metric-in 0.45s ease forwards;
}
.gp-demo.is-run[data-phase="operate"] .gp-metric:nth-child(1),
.gp-demo.is-run[data-phase="p4"] .gp-metric:nth-child(1) { animation-delay: 1.6s; }
.gp-demo.is-run[data-phase="operate"] .gp-metric:nth-child(2),
.gp-demo.is-run[data-phase="p4"] .gp-metric:nth-child(2) { animation-delay: 1.8s; }
.gp-demo.is-run[data-phase="operate"] .gp-metric:nth-child(3),
.gp-demo.is-run[data-phase="p4"] .gp-metric:nth-child(3) { animation-delay: 2s; }

.gp-caption {
    padding: 4px 12px 0;
    text-align: center;
    max-width: 640px;
}
.gp-caption-title {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 600;
}
.gp-caption-live {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.gp-controls {
    padding: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    width: 100%;
}
.gp-phases {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.gp-phase {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.gp-phase:hover,
.gp-phase.is-active {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}
.gp-phase.is-active {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.gp-phase-index {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.08);
}
.gp-phase.is-active .gp-phase-index {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.gp-dots { display: flex; gap: 8px; }
.gp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}
.gp-dot.is-active {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}
.gp-transport { display: flex; gap: 8px; }

.gp-features-section { padding-top: 24px; }

@keyframes gp-beam-sweep {
    0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
    50% { opacity: 0.85; transform: scaleX(1); }
}
@keyframes gp-jitter-a {
    0%, 100% { transform: rotate(-6deg) translate(0, 0); }
    50% { transform: rotate(-3deg) translate(6px, -4px); }
}
@keyframes gp-jitter-b {
    0%, 100% { transform: rotate(5deg) translate(0, 0); }
    50% { transform: rotate(8deg) translate(-5px, 5px); }
}
@keyframes gp-jitter-c {
    0%, 100% { transform: rotate(4deg) translate(0, 0); }
    50% { transform: rotate(1deg) translate(4px, -6px); }
}
@keyframes gp-jitter-d {
    0%, 100% { transform: rotate(-4deg) translate(0, 0); }
    50% { transform: rotate(-7deg) translate(-6px, 3px); }
}
@keyframes gp-person-dash {
    0%, 100% { transform: translateX(-50%) translateX(-18px); }
    50% { transform: translateX(-50%) translateX(18px); }
}
@keyframes gp-wire-flow {
    to { stroke-dashoffset: -32; }
}
@keyframes gp-ring-spin {
    to { transform: rotate(360deg); }
}
@keyframes gp-float-a {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-6px); }
}
@keyframes gp-float-b {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(5px); }
}
@keyframes gp-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(18); opacity: 0; }
}
@keyframes gp-typing-hide {
    0%, 70% { opacity: 1; }
    100% { opacity: 0; width: 0; height: 0; overflow: hidden; }
}
@keyframes gp-fade-in {
    to { opacity: 1; }
}
@keyframes gp-metric-in {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    .gp-stage { height: 360px; min-height: 360px; }
    .gp-desk { top: 3%; bottom: 3%; }
    .gp-win { width: 120px; padding: 8px 10px 12px; }
    .gp-win-title { font-size: 11px; }
    .gp-desk-side { display: none; }
    .gp-metrics { grid-template-columns: 1fr; }
    .gp-phase-label { display: none; }
    .gp-phase { padding: 8px 12px; }
    .gp-orbit--3 { display: none; }
    .gp-tag--3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .gp-demo.is-run .gp-win,
    .gp-demo.is-run .gp-person,
    .gp-demo.is-run .gp-wire,
    .gp-demo.is-run .gp-hub-ring,
    .gp-demo.is-run .gp-orbit,
    .gp-demo.is-run .gp-orbit-item,
    .gp-demo.is-run .gp-pulse,
    .gp-demo.is-run .st-gpu-bar i,
    .gp-demo.is-run .st-pipe-step,
    .gp-ambient-beam {
        animation: none !important;
    }
    .gp-bot-text,
    .gp-metric { opacity: 1 !important; transform: none !important; }
    .gp-typing { display: none !important; }
}

/* ===== 数字科技其余业务剧场场景 ===== */
.gp-demo.is-run[data-phase="p1"].gp-demo--ai .gp-win--a,
.gp-demo.is-run[data-phase="p1"].gp-demo--ent .gp-win--a { animation: gp-jitter-a 2.8s ease-in-out infinite; }
.gp-demo.is-run[data-phase="p1"].gp-demo--ai .gp-win--b,
.gp-demo.is-run[data-phase="p1"].gp-demo--ent .gp-win--b { animation: gp-jitter-b 3.1s ease-in-out infinite; }
.gp-demo.is-run[data-phase="p1"].gp-demo--ai .gp-win--c,
.gp-demo.is-run[data-phase="p1"].gp-demo--ent .gp-win--c { animation: gp-jitter-c 2.6s ease-in-out infinite; }
.gp-demo.is-run[data-phase="p1"].gp-demo--ai .gp-win--d,
.gp-demo.is-run[data-phase="p1"].gp-demo--ent .gp-win--d { animation: gp-jitter-d 3.4s ease-in-out infinite; }
.gp-demo.is-run[data-phase="p1"].gp-demo--ai .gp-person,
.gp-demo.is-run[data-phase="p1"].gp-demo--ent .gp-person {
    animation: gp-person-dash 2.4s ease-in-out infinite;
}

.gp-demo.is-run[data-phase="p2"].gp-demo--ai .gp-wire,
.gp-demo.is-run[data-phase="p2"].gp-demo--ent .gp-wire,
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .gp-wire { animation: gp-wire-flow 1.6s linear infinite; }
.gp-demo.is-run[data-phase="p2"].gp-demo--ent .gp-hub-ring,
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-hub-ring,
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .gp-hub-ring,
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .st-colleague-avatar .gp-hub-ring { animation: gp-ring-spin 12s linear infinite; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-hub-ring--2,
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .gp-hub-ring--2 { animation-duration: 18s; animation-direction: reverse; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-orbit--1 .gp-orbit-item { animation: gp-float-a 3.2s ease-in-out infinite; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-orbit--2 .gp-orbit-item { animation: gp-float-b 3.6s ease-in-out infinite; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-orbit--3 .gp-orbit-item { animation: gp-float-a 3.4s ease-in-out infinite 0.2s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-orbit--4 .gp-orbit-item { animation: gp-float-b 3.8s ease-in-out infinite 0.15s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ent .gp-pulse { animation: gp-pulse 2.2s ease-out infinite; }

.st-break-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.st-break-wire {
    fill: none;
    stroke: rgba(255, 180, 120, 0.35);
    stroke-width: 1.5;
    stroke-dasharray: 4 7;
}
.gp-demo.is-run[data-phase="p1"] .st-break-wire {
    animation: gp-wire-flow 1.2s linear infinite;
}
.st-win-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}
.st-win-badge.is-warn {
    border-color: rgba(255, 180, 120, 0.35);
    color: rgba(255, 210, 170, 0.9);
}

.st-pillars {
    position: absolute;
    inset: 14% 8% 20%;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    grid-template-areas:
        "train hub infer"
        ". gov .";
    gap: 14px;
    align-items: center;
    justify-items: center;
    z-index: 2;
}
.st-pillar {
    min-width: 118px;
    max-width: 160px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(14, 18, 28, 0.88);
    text-align: center;
    color: var(--text-secondary);
}
.st-pillar strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.st-pillar > span {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    color: var(--text-muted);
}
.st-pillar:nth-child(1) { grid-area: train; }
.st-pillar--core {
    grid-area: hub;
    min-width: 132px;
    min-height: 132px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}
.st-pillar--core > span { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.st-pillar--core em {
    font-style: normal;
    font-size: 10px;
    color: var(--text-muted);
}
.st-pillar:nth-child(3) { grid-area: infer; }
.st-pillar:nth-child(4) { grid-area: gov; }
.st-pillar-logo { display: flex; }
.gp-demo.is-run[data-phase="p2"].gp-demo--ai .st-pillar--core {
    animation: st-float-y 3.4s ease-in-out infinite;
}

.st-board {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    width: min(90%, 420px);
    padding: 14px 16px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 16, 24, 0.88);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    z-index: 2;
}
.st-board-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}
.st-board-env {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-secondary);
}
.st-board-row {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-muted);
    position: relative;
}
.st-board-row b {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.08);
}
.st-board-row.is-done {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}
.st-board-row.is-run {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.st-board-row i { font-style: normal; font-size: 11px; }
.st-board-bar {
    grid-column: 2 / -1;
    display: block;
    height: 3px;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.st-board-bar i {
    display: block;
    width: 62%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
}
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-bar i {
    animation: st-bar-fill 1.8s ease-in-out infinite;
}
.st-side-chips {
    position: absolute;
    right: 6%;
    top: 22%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}
.st-side-chips span {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(14, 18, 28, 0.9);
    color: var(--text-secondary);
}
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-row,
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-side-chips span {
    animation: gp-metric-in 0.4s ease both;
}
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-row:nth-child(2) { animation-delay: 0.05s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-row:nth-child(3) { animation-delay: 0.15s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-row:nth-child(4) { animation-delay: 0.25s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-row:nth-child(5) { animation-delay: 0.35s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--ai .st-board-row:nth-child(6) { animation-delay: 0.45s; }

.st-check {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: grid;
    gap: 4px;
}
.st-check li {
    font-size: 11px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}
.st-check li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.st-check li.is-on { color: var(--text-secondary); }
.st-check li.is-on::before {
    background: rgba(255, 255, 255, 0.55);
    border-color: transparent;
}
.gp-demo.is-run[data-phase="p4"] .st-check li {
    opacity: 0;
    animation: gp-fade-in 0.35s ease forwards;
}
.gp-demo.is-run[data-phase="p4"] .st-check li:nth-child(1) { animation-delay: 1.5s; }
.gp-demo.is-run[data-phase="p4"] .st-check li:nth-child(2) { animation-delay: 1.65s; }
.gp-demo.is-run[data-phase="p4"] .st-check li:nth-child(3) { animation-delay: 1.8s; }
.gp-demo.is-run[data-phase="p4"] .st-check li:nth-child(4) { animation-delay: 1.95s; }

.st-gpu {
    position: absolute;
    width: 148px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(14, 18, 28, 0.9);
    z-index: 2;
}
.st-gpu--a { left: 6%; top: 14%; }
.st-gpu--b { right: 6%; top: 12%; }
.st-gpu--c { left: 8%; bottom: 14%; }
.st-gpu--d { right: 8%; bottom: 12%; }
.st-gpu-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}
.st-gpu-bar {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 6px;
}
.st-gpu-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 180, 120, 0.75);
}
.st-gpu-load {
    font-size: 11px;
    color: var(--text-muted);
}
.gp-demo.is-run[data-phase="p1"].gp-demo--inf .st-gpu-bar i {
    animation: st-gpu-pulse 1.4s ease-in-out infinite;
}

.st-spike {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: min(46%, 220px);
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 180, 120, 0.28);
    background: rgba(18, 14, 12, 0.88);
    z-index: 3;
}
.st-spike-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}
.st-spike-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 56px;
    margin-bottom: 8px;
}
.st-spike-chart i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: rgba(255, 255, 255, 0.18);
}
.st-spike-chart i.is-hot { background: rgba(255, 180, 120, 0.75); }
.gp-demo.is-run[data-phase="p1"].gp-demo--inf .st-spike-chart i.is-hot {
    animation: st-gpu-pulse 1.1s ease-in-out infinite;
}
.st-spike-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.st-model-wrap {
    position: absolute;
    inset: 4% 3% 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 2;
}
.st-model-card {
    width: min(98%, 640px);
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 16, 24, 0.88);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    text-align: center;
}
.st-model-badge {
    display: inline-block;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.st-model-name {
    display: block;
    font-size: 1.7rem;
    margin-bottom: 10px;
}
.st-model-desc {
    margin: 0 0 18px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
}
.st-score-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.st-score {
    padding: 14px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}
.st-score em {
    display: block;
    font-style: normal;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}
.st-score span {
    font-size: 12px;
    color: var(--text-muted);
}
.st-model-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.st-model-chips span {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}
.st-corpus {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.st-corpus span {
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    color: var(--text-secondary);
}
.gp-demo.is-run[data-phase="p2"].gp-demo--inf .st-model-card {
    animation: st-float-y 3.6s ease-in-out infinite;
}

.st-cluster {
    position: absolute;
    inset: 0;
}
.st-cluster-hub {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    width: 120px;
    text-align: center;
    z-index: 3;
}
.st-cluster-hub .gp-hub-core { margin: 0 auto; }
.st-cluster-label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}
.st-node {
    position: absolute;
    min-width: 108px;
    padding: 8px 12px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(14, 18, 28, 0.9);
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.st-node--1 { left: 10%; top: 18%; }
.st-node--2 { right: 10%; top: 16%; }
.st-node--3 { left: 12%; bottom: 16%; }
.st-node--4 { right: 12%; bottom: 14%; }
.st-node-bar {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.st-node-bar i {
    display: block;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
}
.st-node em {
    font-style: normal;
    font-size: 10px;
    color: var(--text-muted);
}
.st-queue-legend {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.st-queue-legend span {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-secondary);
}
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .st-node {
    animation: gp-float-b 3.2s ease-in-out infinite;
}
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .st-node--2 { animation-delay: 0.15s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .st-node--3 { animation-delay: 0.3s; }
.gp-demo.is-run[data-phase="p3"].gp-demo--inf .st-node--4 { animation-delay: 0.45s; }

.st-sla-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 11px;
    color: var(--text-muted);
}
.st-sla-strip strong {
    font-size: 13px;
    color: var(--text-primary);
}
.st-spark {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    margin-left: auto;
}
.st-spark i {
    width: 3px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.35);
}
.st-spark i:nth-child(1) { height: 40%; }
.st-spark i:nth-child(2) { height: 55%; }
.st-spark i:nth-child(3) { height: 48%; }
.st-spark i:nth-child(4) { height: 70%; }
.st-spark i:nth-child(5) { height: 62%; }
.st-spark i:nth-child(6) { height: 80%; }
.st-spark i:nth-child(7) { height: 58%; }
.st-spark i:nth-child(8) { height: 72%; }
.gp-demo.is-run[data-phase="p4"].gp-demo--inf .st-spark i {
    animation: st-gpu-pulse 1.2s ease-in-out infinite;
}

.st-mdm {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    z-index: 2;
}
.st-mdm span {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(14, 18, 28, 0.9);
    color: var(--text-secondary);
}

.st-colleague {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 160px;
}
.st-colleague-avatar {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 8px;
}
.st-colleague-avatar .gp-hub-core {
    width: 72px;
    height: 72px;
    margin: 8px auto 0;
}
.st-colleague-name {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.st-colleague-desc {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}
.st-flow-strip {
    position: absolute;
    left: 50%;
    bottom: 9%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}
.st-flow-strip > span:not(.st-pipe-arrow) {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(14, 18, 28, 0.9);
    color: var(--text-secondary);
}
.st-flow-strip > span.is-on {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.28);
}
.st-pipe-arrow {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.28);
    position: relative;
}
.st-pipe-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    border: 4px solid transparent;
    border-left-color: rgba(255, 255, 255, 0.28);
}

@keyframes st-gpu-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.35); }
}
@keyframes st-bar-fill {
    0% { width: 35%; }
    50% { width: 78%; }
    100% { width: 55%; }
}
@keyframes st-float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (max-width: 720px) {
    .st-pillar { min-width: 72px; padding: 10px 8px; }
    .st-pillar > span, .st-pillar--core em { display: none; }
    .st-pillar--core { min-width: 96px; min-height: 96px; }
    .st-side-chips, .st-queue-legend, .st-mdm { display: none; }
    .st-board { width: min(94%, 340px); }
    .st-gpu { width: 112px; padding: 10px; }
    .st-gpu--c, .st-gpu--d { display: none; }
    .st-spike { width: min(56%, 180px); }
    .st-model-card { width: min(98%, 420px); padding: 22px; }
    .st-model-name { font-size: 1.35rem; }
    .st-flow-strip .st-pipe-arrow { display: none; }
    .st-check { display: none; }
}