/* yunzhuji 主题覆盖层：在 huraga 之上用 Bootstrap 变量实现「深空控制台」风格。
   只覆盖变量与少量组件，不改 huraga 原样式文件，便于跟随上游升级。 */
:root,
[data-bs-theme="dark"] {
  --yz-bg: #0a0f1c;
  --yz-surface: #0f1729;
  --yz-surface-2: #0c1322;
  --yz-border: #22304a;
  --yz-text: #e6ecf8;
  --yz-muted: #9fb0cc;
  /* 品牌蓝（官网 --brand #1E4FFF）提亮一档：#1E4FFF 在深色底上当文字对比度只有 3.3，#5B85FF 为 5.7；按钮字用深蓝（5.6） */
  --yz-accent: #5B85FF;
  --yz-accent-ink: #06102a;
  --yz-accent-rgb: 91, 133, 255;
  --yz-accent-hi: #8fadff;
  --yz-accent-line: #24386e;
  --yz-accent-tint: #111c3d;
  --yz-muted-2: #7f90ad;
  --yz-border-hover: #2d4163;
  --yz-ok: #7cf0a8;
  --yz-ok-line: #2f6b49;
  --yz-emph: #fff;
  --yz-topbar-bg: rgba(10, 15, 28, 0.82);
  --yz-overlay-bg: rgba(12, 19, 34, 0.98);
  --yz-footer-bg: #0c1426;
  --yz-skel-1: #121c33;
  --yz-skel-2: #1a2742;
  --yz-hero-glow: #0e1a3e;
  --yz-radio-ring: #3a4b6b;
  --yz-amber: #ffb020;
}

/* 浅色模式：同一套 yz-* 变量换成浅色值，组件规则不必各写一份 */
[data-bs-theme="light"] {
  --yz-bg: #f5f7fb;
  --yz-surface: #ffffff;
  --yz-surface-2: #f3f6fa;
  --yz-border: #dbe3ee;
  --yz-text: #0f1b2d;
  --yz-muted: #52627a;
  /* 与官网 --brand 一致；白底文字对比度 5.4、按钮白字 5.8，hover 同官网 #1640d9 */
  --yz-accent: #1E4FFF;
  --yz-accent-ink: #ffffff;
  --yz-accent-rgb: 30, 79, 255;
  --yz-accent-hi: #1640d9;
  --yz-accent-line: #c7d4ff;
  --yz-accent-tint: #eef3ff;
  --yz-muted-2: #64748b;
  --yz-border-hover: #b8c6d9;
  --yz-ok: #15803d;
  --yz-ok-line: #a7dcb9;
  --yz-emph: #0b1220;
  --yz-topbar-bg: rgba(255, 255, 255, 0.86);
  --yz-overlay-bg: rgba(255, 255, 255, 0.98);
  --yz-footer-bg: #eef2f7;
  --yz-skel-1: #e9eef5;
  --yz-skel-2: #f5f8fb;
  --yz-hero-glow: #eef3ff;
  --yz-radio-ring: #b8c6d9;
  --yz-amber: #b45309;
  --bs-primary: var(--yz-accent);
  --bs-primary-rgb: var(--yz-accent-rgb);
  --bs-info: var(--yz-accent);
  --bs-info-rgb: var(--yz-accent-rgb);
  --bs-link-color: var(--yz-accent);
  --bs-link-color-rgb: var(--yz-accent-rgb);
  --bs-link-hover-color: var(--yz-accent-hi);
  --bs-link-hover-color-rgb: 7, 96, 126;
  --bs-font-sans-serif: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --bs-font-monospace: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
[data-bs-theme="light"] body { background: var(--yz-bg); color: var(--yz-text); }
[data-bs-theme="light"] .btn-primary {
  --bs-btn-bg: var(--yz-accent);
  --bs-btn-border-color: var(--yz-accent);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--yz-accent-hi);
  --bs-btn-hover-border-color: var(--yz-accent-hi);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--yz-accent-hi);
  --bs-btn-active-border-color: var(--yz-accent-hi);
  --bs-btn-disabled-bg: var(--yz-accent);
  --bs-btn-disabled-border-color: var(--yz-accent);
  font-weight: 600;
}
[data-bs-theme="light"] .btn-outline-primary {
  --bs-btn-color: var(--yz-accent);
  --bs-btn-border-color: var(--yz-accent);
  --bs-btn-hover-bg: var(--yz-accent);
  --bs-btn-hover-border-color: var(--yz-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--yz-accent-hi);
  --bs-btn-active-border-color: var(--yz-accent-hi);
}
[data-bs-theme="light"] .yz-scene-art span { color: rgba(255, 255, 255, 0.92); }
[data-bs-theme="light"] .yz-period-save { color: #fff; }
[data-bs-theme="light"] .btn-outline-info {
  --bs-btn-color: var(--yz-accent);
  --bs-btn-border-color: var(--yz-accent);
  --bs-btn-hover-bg: var(--yz-accent);
  --bs-btn-hover-border-color: var(--yz-accent);
  --bs-btn-hover-color: #fff;
}
/* 黄色状态徽标（待开通、暂缓）用深色字，两种主题下白字对比度都只有 1.6 */
.yz-shell .badge.bg-warning { color: #1b1405 !important; }

[data-bs-theme="dark"] {
  --bs-body-bg: var(--yz-bg);
  --bs-body-bg-rgb: 10, 15, 28;
  --bs-body-color: var(--yz-text);
  --bs-body-color-rgb: 230, 236, 248;
  --bs-secondary-color: var(--yz-muted);
  --bs-secondary-bg: var(--yz-surface);
  --bs-tertiary-bg: var(--yz-surface-2);
  --bs-border-color: var(--yz-border);
  --bs-emphasis-color: #fff;
  --bs-primary: var(--yz-accent);
  --bs-primary-rgb: var(--yz-accent-rgb);
  --bs-info: var(--yz-accent);
  --bs-info-rgb: var(--yz-accent-rgb);
  --bs-link-color: var(--yz-accent);
  --bs-link-color-rgb: var(--yz-accent-rgb);
  --bs-link-hover-color: var(--yz-accent-hi);
  --bs-link-hover-color-rgb: 143, 173, 255;
  --bs-border-radius: 0.5rem;
  --bs-border-radius-lg: 0.75rem;
  --bs-font-sans-serif: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --bs-font-monospace: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-bs-theme="dark"] body {
  background: var(--yz-bg);
  color: var(--yz-text);
}

/* 卡片、表格、导航面板 */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .modal-content {
  background: var(--yz-surface);
  border-color: var(--yz-border);
}
[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-footer {
  background: var(--yz-surface-2);
  border-color: var(--yz-border);
}
[data-bs-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--yz-border);
  --bs-table-hover-bg: rgba(var(--yz-accent-rgb), 0.06);
}
[data-bs-theme="dark"] .table thead th {
  color: var(--yz-muted-2);
  font-weight: 500;
  background: var(--yz-surface);
}

/* 主按钮：品牌蓝底（深色模式深蓝字、浅色模式白字，对比度 >= 4.5:1） */
[data-bs-theme="dark"] .btn-primary {
  --bs-btn-bg: var(--yz-accent);
  --bs-btn-border-color: var(--yz-accent);
  --bs-btn-color: var(--yz-accent-ink);
  --bs-btn-hover-bg: var(--yz-accent-hi);
  --bs-btn-hover-border-color: var(--yz-accent-hi);
  --bs-btn-hover-color: var(--yz-accent-ink);
  --bs-btn-active-bg: #6fe3f8;
  --bs-btn-active-border-color: #6fe3f8;
  --bs-btn-active-color: var(--yz-accent-ink);
  --bs-btn-disabled-bg: var(--yz-accent);
  --bs-btn-disabled-border-color: var(--yz-accent);
  --bs-btn-disabled-color: var(--yz-accent-ink);
  font-weight: 600;
}
[data-bs-theme="dark"] .btn-outline-primary,
[data-bs-theme="dark"] .btn-outline-info {
  --bs-btn-color: var(--yz-accent);
  --bs-btn-border-color: var(--yz-accent);
  --bs-btn-hover-bg: var(--yz-accent);
  --bs-btn-hover-border-color: var(--yz-accent);
  --bs-btn-hover-color: var(--yz-accent-ink);
}

/* 表单 */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
  background-color: var(--yz-bg);
  border-color: #2a3650;
  color: var(--yz-text);
}
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  border-color: var(--yz-accent);
  box-shadow: 0 0 0 0.2rem rgba(var(--yz-accent-rgb), 0.2);
}

/* 键盘焦点可见 */
[data-bs-theme="dark"] a:focus-visible,
[data-bs-theme="dark"] button:focus-visible {
  outline: 2px solid var(--yz-accent);
  outline-offset: 2px;
}

/* 价格与规格用等宽字体 */
[data-bs-theme="dark"] .yz-mono,
[data-bs-theme="dark"] .price {
  font-family: var(--bs-font-monospace);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- 下单页：宽版布局 ---------- */
.yz-wide .container { max-width: 1240px; }
.yz-wide .container > .row > .col-3 { display: none !important; }
.yz-wide .container > .row > [class*="col-md-9"] { flex: 0 0 100%; max-width: 100%; width: 100%; }
.yz-wide .breadcrumb { margin-bottom: 0.5rem; }

.yz-page-head { padding: 1.5rem 0 1.25rem; }
.yz-page-head h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.yz-lead { color: var(--yz-muted); font-size: 1.1rem; margin: 0 0 0.75rem; max-width: 40rem; }

.yz-section { margin: 1.5rem 0 2.5rem; }
.yz-section-title { font-size: 1.35rem; font-weight: 600; margin: 0 0 0.35rem; }
.yz-section-desc { color: var(--yz-muted); margin-bottom: 1rem; }

.yz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.yz-card-product {
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 0.75rem;
  padding: 1.5rem; transition: border-color .2s ease, transform .2s ease;
}
.yz-card-product:hover { border-color: var(--yz-accent); transform: translateY(-2px); }
.yz-card-product h3 { font-size: 1.2rem; font-weight: 600; margin: 0; }
.yz-card-desc { color: var(--yz-muted); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.yz-card-desc p:last-child { margin-bottom: 0; }
.yz-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--yz-border); }
.yz-price-label { display: block; color: var(--yz-muted-2); font-size: 0.8rem; }
.yz-price-value { font-size: 1.5rem; font-weight: 500; }
.yz-mono { font-family: var(--bs-font-monospace); }

/* ---------- 配置页：左右分栏 + 摘要 ---------- */
.yz-split { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; }
.yz-split-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.yz-split-side { flex: 0 1 380px; min-width: 300px; position: sticky; top: 1rem; }
.yz-panel { background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 0.75rem; padding: 1.5rem; }
.yz-panel-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 1rem; }
.yz-product-desc { color: var(--yz-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.yz-qty { max-width: 8rem; }
.yz-summary { background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 0.75rem; padding: 1.5rem; }
.yz-summary-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--yz-muted); margin-bottom: 1rem; }
.yz-summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--yz-border); padding-top: 1rem; margin-bottom: 1.25rem; }
.yz-summary-total .yz-mono { font-size: 1.15rem; }
.yz-hint { color: var(--yz-muted-2); font-size: 0.8rem; margin: 0.75rem 0 0; line-height: 1.6; }

@media (max-width: 767.98px) {
  .yz-split-side { position: static; flex-basis: 100%; }
  .yz-page-head h1 { font-size: 1.75rem; }
}

/* ---------- 结算步骤（FOSSBilling 自带手风琴）统一外观 ---------- */
.yz-wide #orderManager { --bs-accordion-bg: var(--yz-surface); --bs-accordion-border-color: var(--yz-border);
  --bs-accordion-btn-bg: var(--yz-surface); --bs-accordion-active-bg: var(--yz-surface-2);
  --bs-accordion-active-color: var(--yz-accent); --bs-accordion-btn-color: var(--yz-text);
  --bs-accordion-border-radius: 0.75rem; max-width: 880px; margin: 0 auto; }
.yz-wide #orderManager .accordion-item { margin-bottom: 0.75rem; border-radius: 0.75rem; overflow: hidden; }
.yz-wide #orderManager .accordion-button { padding: 1.1rem 1.5rem; font-weight: 600; }
.yz-wide #orderManager .accordion-body { padding: 1.5rem; }

/* ---------- 访客首页（产品展示） ---------- */
.yz-landing .yz-page-head { display: none; }
.yz-hero { text-align: center; padding: 3.5rem 0 2.5rem;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--yz-hero-glow) 0%, rgba(10, 15, 28, 0) 70%); }
.yz-chip { display: inline-block; font-size: 0.8rem; color: var(--yz-accent); border: 1px solid var(--yz-accent-line); padding: 0.3rem 0.9rem; border-radius: 999px; }
.yz-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; line-height: 1.15; margin: 1.25rem auto 1rem; max-width: 60rem; }
.yz-hero-lead { color: var(--yz-muted); font-size: 1.15rem; line-height: 1.7; max-width: 40rem; margin: 0 auto 2rem; }
.yz-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.yz-terminal { margin: 3rem auto 0; max-width: 46rem; text-align: left; background: var(--yz-surface); border: 1px solid var(--yz-border);
  border-radius: 0.9rem; padding: 1.25rem 1.5rem; font-size: 0.9rem; line-height: 2; color: var(--yz-muted); }
.yz-terminal b { color: var(--yz-text); font-weight: 500; }
.yz-prompt { color: var(--yz-accent); margin-right: 0.4rem; }
.yz-ok { color: var(--yz-ok) !important; }
.yz-eyebrow { color: var(--yz-accent); font-size: 0.8rem; margin-bottom: 0.4rem; }
.yz-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.yz-code { color: var(--yz-accent); font-size: 0.85rem; }
.yz-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  border: 1px solid var(--yz-accent-line); background: linear-gradient(90deg, var(--yz-accent-tint), var(--yz-surface)); border-radius: 1rem; padding: 2.25rem 2.5rem; margin: 1rem 0 3rem; }
.yz-cta h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.4rem; }
.yz-cta p { color: var(--yz-muted); margin: 0; }

/* ======================================================================
   栈峰云 · 全站外壳：顶栏 / 品牌 / 登录分栏 / 悬浮联系 / 动效
   ====================================================================== */
:root { --yz-ease: cubic-bezier(.2,.7,.2,1); }

/* ---------- 顶栏（全宽、吸顶） ---------- */
.yz-shell > .yz-topbar {
  position: sticky; top: 0; z-index: 1030;
  width: 100vw; margin-left: calc(50% - 50vw);
  background: var(--yz-topbar-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yz-border);
}
.yz-topbar-inner { max-width: 1240px; margin: 0 auto; padding: 0.7rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; }
.yz-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--yz-text) !important; text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }
.yz-brand:hover { color: var(--yz-emph) !important; }
.yz-brand-lg { font-size: 1.6rem; }
.yz-brand-lg .yz-logo-mark { width: 44px; height: 44px; }
.yz-logo-mark { flex: none; filter: drop-shadow(0 2px 8px rgba(30, 79, 255, 0.35)); transition: transform .4s var(--yz-ease); }
.yz-brand:hover .yz-logo-mark { transform: rotate(-8deg) scale(1.06); }

.yz-toggler { margin-left: auto; border-color: var(--yz-border); }
.yz-nav { flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.yz-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.yz-nav-main { flex: 1 1 auto; }
.yz-nav-side { gap: 0.5rem 0.75rem !important; }
.yz-link { position: relative; display: inline-block; padding: 0.55rem 0.9rem; color: var(--yz-muted); text-decoration: none; font-weight: 500; border-radius: 0.5rem; transition: color .2s var(--yz-ease), background-color .2s var(--yz-ease); }
.yz-link:hover { color: var(--yz-emph); background: rgba(var(--yz-accent-rgb), 0.08); }
.yz-link.active { color: var(--yz-accent); }
.yz-link.active::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.15rem; height: 2px; background: var(--yz-accent); border-radius: 2px; }
.yz-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 0.6rem; color: var(--yz-muted); border: 1px solid transparent; transition: all .2s var(--yz-ease); }
.yz-icon-btn:hover { color: var(--yz-accent); border-color: var(--yz-border); background: var(--yz-surface); }
.yz-nav-side .js-locale-selector { min-width: 9.5rem; }
.yz-user { display: inline-flex; align-items: center; background: transparent; border: 1px solid var(--yz-border); color: var(--yz-text); border-radius: 999px; padding: 0.25rem 0.9rem 0.25rem 0.3rem; }
.yz-user:hover { border-color: var(--yz-accent); }
.yz-cta-btn { border-radius: 999px; padding: 0.45rem 1.25rem; }

@media (min-width: 992px) {
  .yz-nav { display: flex !important; flex: 1 1 auto; }
  .yz-toggler { display: none; }
  .yz-nav > .yz-nav-main { margin-right: auto; }
  .yz-nav > .yz-nav-side { margin-left: auto; } /* 登录后没有 yz-nav-main，靠它把语言/账户推到右侧；须带 .yz-nav > 前缀，否则被 .yz-nav > ul { margin: 0 } 盖掉 */
}
@media (max-width: 991.98px) {
  .yz-nav { padding-bottom: 0.75rem; }
  .yz-nav > ul { width: 100%; }
}

/* 内容区上边距，让吸顶栏下面有呼吸 */
.yz-shell > .container { padding-top: 1.25rem; }

/* ---------- 登录 / 注册：左侧品牌宣传 + 右侧表单 ---------- */
.page-login, .page-signup, .page-password-reset {
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(30, 79, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 60% at 90% 90%, rgba(var(--yz-accent-rgb), 0.12), transparent 60%),
    var(--yz-bg);
  min-height: 100vh;
}
.yz-auth { max-width: 1120px; }
.yz-auth > .row { gap: 0; min-height: 72vh; }
.yz-auth-promo { flex-direction: column; justify-content: center; gap: 1.5rem; padding: 2rem 3rem 2rem 1rem; }
.yz-auth-promo h1 { font-size: 2.4rem; font-weight: 700; line-height: 1.25; margin: 1rem 0 0; }
.yz-auth-points { list-style: none; padding: 0; margin: 0; color: var(--yz-muted); display: grid; gap: 0.9rem; line-height: 1.7; }
.yz-auth-points li { position: relative; padding-left: 1.5rem; }
.yz-auth-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.65rem; height: 0.65rem; border-radius: 3px; background: linear-gradient(45deg, #1E4FFF, #00C2FF); }
.yz-auth-form .card { border-radius: 1rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); overflow: hidden; animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-auth-form .card-body { padding: 0; }
.yz-auth-form form, .yz-auth-form .row, .yz-auth-form h5 { padding-left: 2rem; padding-right: 2rem; }
.yz-auth-form form { padding-top: 0.5rem; }
.yz-auth-form form .row { padding-left: 0; padding-right: 0; }
.yz-auth-form .row { min-height: 0; }
.yz-auth-form > .card > .card-body > .row:last-child,
.yz-auth-form .card-body > .row { padding-bottom: 1.5rem; }
.yz-auth-form h5 { margin: 1.25rem 0 0.75rem !important; font-size: 1.15rem; font-weight: 600; }
.yz-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--yz-surface-2); border-bottom: 1px solid var(--yz-border); }
.yz-auth-tabs a { text-align: center; padding: 1rem; font-weight: 600; color: var(--yz-muted); text-decoration: none; position: relative; transition: color .2s var(--yz-ease), background-color .2s var(--yz-ease); }
.yz-auth-tabs a:hover { color: var(--yz-emph); }
.yz-auth-tabs a.active { color: var(--yz-accent-ink); background: var(--yz-accent); }
.yz-auth-form .form-control, .yz-auth-form .form-select { padding: 0.7rem 0.9rem; }
.yz-auth-form .btn { padding: 0.7rem 1rem; }

/* ---------- 悬浮联系入口 ---------- */
.yz-float { position: fixed; right: 1.25rem; bottom: 5.5rem; z-index: 1040; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yz-surface); color: var(--yz-accent) !important; border: 1px solid var(--yz-accent); border-radius: 999px;
  padding: 0.65rem 1.1rem; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform .2s var(--yz-ease), background-color .2s var(--yz-ease), color .2s var(--yz-ease); }
.yz-float:hover { background: var(--yz-accent); color: var(--yz-accent-ink) !important; transform: translateY(-3px); }
.yz-float .icon { width: 1.2rem; height: 1.2rem; }
@media (max-width: 575.98px) { .yz-float span { display: none; } .yz-float { padding: 0.75rem; } }

/* ---------- 动效：克制、可被 prefers-reduced-motion 关闭 ---------- */
@keyframes yz-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.yz-wide .yz-page-head, .yz-hero, .yz-section, .yz-cta, .yz-split { animation: yz-rise .55s var(--yz-ease) backwards; }
.yz-grid > * { animation: yz-rise .55s var(--yz-ease) backwards; }
.yz-grid > *:nth-child(2) { animation-delay: .06s; }
.yz-grid > *:nth-child(3) { animation-delay: .12s; }
.yz-grid > *:nth-child(4) { animation-delay: .18s; }
.card, .btn, .form-control, .form-select, .list-group-item { transition: border-color .2s var(--yz-ease), background-color .2s var(--yz-ease), color .2s var(--yz-ease), box-shadow .2s var(--yz-ease), transform .2s var(--yz-ease); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--yz-accent-rgb), 0.25); }
.yz-card-product:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }

/* 仪表盘卡片、侧栏菜单更精致 */
[data-bs-theme="dark"] .nav-link.active { color: var(--yz-accent); }
[data-bs-theme="dark"] .offcanvas-item.active { background: rgba(var(--yz-accent-rgb), 0.08); border-radius: 0.5rem; }
[data-bs-theme="dark"] .card { border-radius: 0.85rem; }
[data-bs-theme="dark"] .card:hover { border-color: var(--yz-border-hover); }

/* 页脚 */
#footer { border-top: 1px solid var(--yz-border); padding-top: 1.25rem; margin-top: 2rem !important; }

@media (prefers-reduced-motion: reduce) {
  .yz-wide .yz-page-head, .yz-hero, .yz-section, .yz-cta, .yz-split, .yz-grid > *, .yz-auth-form .card { animation: none !important; }
}

/* huraga 的精简 Bootstrap 没有 .col-lg-* / .col-md-8，登录分栏的宽度自己定义 */
.yz-auth-form { flex: 0 0 100%; max-width: 30rem; }
@media (min-width: 992px) {
  .yz-auth-promo { flex: 0 0 52%; max-width: 52%; }
  .yz-auth-form { flex: 0 0 44%; max-width: 44%; }
}

/* ======================================================================
   第二轮：认证页返回、步骤条、订购目录、结算页
   ====================================================================== */
/* 认证页顶部：品牌 + 返回 */
.yz-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 0.5rem; }
.yz-back { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--yz-muted); text-decoration: none; padding: 0.5rem 0.9rem; border: 1px solid var(--yz-border); border-radius: 999px; transition: all .2s var(--yz-ease); }
.yz-back:hover { color: var(--yz-accent); border-color: var(--yz-accent); transform: translateX(-2px); }
.yz-back .icon { width: 1rem; height: 1rem; }


/* 步骤条 */
.yz-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.75rem; counter-reset: none; }
.yz-steps li { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--yz-muted-2); font-size: 0.9rem; font-weight: 500; padding-right: 1.25rem; position: relative; }
.yz-steps li:not(:last-child)::after { content: ""; width: 2.25rem; height: 1px; background: var(--yz-border); margin-left: 0.75rem; }
.yz-steps li span { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--yz-border); font-family: var(--bs-font-monospace); font-size: 0.8rem; }
.yz-steps li.done { color: var(--yz-muted); }
.yz-steps li.done span { background: rgba(var(--yz-accent-rgb), 0.12); border-color: rgba(var(--yz-accent-rgb), 0.5); color: var(--yz-accent); }
.yz-steps li.current { color: var(--yz-text); }
.yz-steps li.current span { background: var(--yz-accent); border-color: var(--yz-accent); color: var(--yz-accent-ink); box-shadow: 0 0 0 4px rgba(var(--yz-accent-rgb), 0.15); }

/* 订购目录：横幅 */
.yz-banner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  margin: 0.5rem 0 1.75rem; padding: 2.25rem 2.5rem; border: 1px solid var(--yz-accent-line); border-radius: 1rem;
  background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(var(--yz-accent-rgb), 0.16), transparent 60%),
              radial-gradient(ellipse 40% 90% at 0% 100%, rgba(30, 79, 255, 0.08), transparent 60%), var(--yz-surface);
  animation: yz-rise .55s var(--yz-ease) backwards; }
.yz-banner h1 { font-size: 2.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.yz-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; padding: 0; margin: 1rem 0 0; color: var(--yz-text); font-size: 0.95rem; }
.yz-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.yz-trust .icon { color: var(--yz-accent); width: 1.15rem; height: 1.15rem; }

/* 分类筛选 */
.yz-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.yz-filter button { background: transparent; border: 1px solid var(--yz-border); color: var(--yz-muted); padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 500; transition: all .2s var(--yz-ease); }
.yz-filter button:hover { color: var(--yz-text); border-color: var(--yz-border-hover); }
.yz-filter button.active { background: var(--yz-accent); border-color: var(--yz-accent); color: var(--yz-accent-ink); }

/* 套餐卡 */
.yz-card-plan { position: relative; gap: 1rem; }
.yz-card-plan.is-featured { border-color: var(--yz-accent); box-shadow: 0 0 0 3px rgba(var(--yz-accent-rgb), 0.12); }
.yz-badge { position: absolute; top: -0.7rem; right: 1.25rem; background: var(--yz-accent); color: var(--yz-accent-ink); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 999px; }
.yz-specs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; font-family: var(--bs-font-monospace); font-size: 0.9rem; color: var(--yz-text); }
.yz-specs li { display: flex; gap: 0.55rem; align-items: baseline; }
.yz-specs li::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; margin-top: 0.1rem; background: var(--yz-accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.yz-specs p { color: var(--yz-muted); font-family: var(--bs-font-sans-serif); }
.yz-plan-price { display: flex; align-items: baseline; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--yz-border); }
.yz-plan-price .yz-price-value { font-size: 1.85rem; }
.yz-plan-price .yz-price-label { display: inline; }

/* 优势与 FAQ */
.yz-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.yz-features > div { padding: 1.5rem; border: 1px solid var(--yz-border); border-radius: 0.85rem; background: var(--yz-surface); }
.yz-features .icon { width: 1.75rem; height: 1.75rem; color: var(--yz-accent); }
.yz-features h3 { font-size: 1.05rem; font-weight: 600; margin: 0.9rem 0 0.4rem; }
.yz-features p { color: var(--yz-muted); margin: 0; font-size: 0.92rem; line-height: 1.65; }
.yz-faq { display: grid; gap: 0.75rem; margin-top: 1rem; }
.yz-faq details { border: 1px solid var(--yz-border); border-radius: 0.75rem; background: var(--yz-surface); padding: 0 1.25rem; transition: border-color .2s var(--yz-ease); }
.yz-faq details[open] { border-color: var(--yz-border-hover); }
.yz-faq summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.yz-faq summary::-webkit-details-marker { display: none; }
.yz-faq summary::after { content: "+"; font-family: var(--bs-font-monospace); color: var(--yz-accent); font-size: 1.2rem; transition: transform .2s var(--yz-ease); }
.yz-faq details[open] summary::after { transform: rotate(45deg); }
.yz-faq p { color: var(--yz-muted); margin: 0 0 1rem; line-height: 1.7; }

/* 结算页 */
.yz-empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--yz-border); border-radius: 1rem; }
.yz-empty .icon { width: 3rem; height: 3rem; color: var(--yz-accent); }
.yz-empty h2 { font-size: 1.4rem; margin: 1rem 0 0.5rem; }
.yz-empty p { color: var(--yz-muted); margin-bottom: 1.5rem; }
.yz-seg { display: inline-grid; grid-auto-flow: column; background: var(--yz-surface-2); border: 1px solid var(--yz-border); border-radius: 0.6rem; padding: 0.25rem; margin-bottom: 1.25rem; }
.yz-seg button { background: transparent; border: 0; color: var(--yz-muted); padding: 0.5rem 1.5rem; border-radius: 0.45rem; font-weight: 600; transition: all .2s var(--yz-ease); }
.yz-seg button.active { background: var(--yz-accent); color: var(--yz-accent-ink); }
.yz-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.yz-count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.4rem; margin-left: 0.4rem; border-radius: 999px; background: rgba(var(--yz-accent-rgb), 0.14); color: var(--yz-accent); font-size: 0.8rem; vertical-align: middle; }
.yz-cart { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.yz-cart li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--yz-border); }
.yz-cart li:first-child { border-top: 0; padding-top: 0; }
.yz-cart-main { flex: 1; min-width: 0; }
.yz-cart-title { font-weight: 600; }
.yz-cart-meta { color: var(--yz-muted); font-size: 0.85rem; margin-top: 0.2rem; }
.yz-cart-price { font-size: 1.05rem; white-space: nowrap; }
.yz-cart-price del { color: var(--yz-muted-2); margin-right: 0.4rem; font-size: 0.85rem; }
.yz-promo { padding-top: 1.25rem; border-top: 1px solid var(--yz-border); max-width: 28rem; }
.yz-sum-lines { margin: 0 0 1rem; }
.yz-sum-lines > div { display: flex; justify-content: space-between; color: var(--yz-muted); padding: 0.3rem 0; }
.yz-sum-lines dt { font-weight: 400; }
.yz-sum-lines dd { margin: 0; color: var(--yz-text); }
.yz-total { font-size: 1.6rem !important; color: var(--yz-text); }
.yz-pay { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.6rem; }
.yz-pay legend { font-size: 0.9rem; margin-bottom: 0.5rem; }
.yz-pay-opt { position: relative; display: block; cursor: pointer; }
.yz-pay-opt input { position: absolute; opacity: 0; }
.yz-pay-box { display: grid; gap: 0.25rem; padding: 0.9rem 1rem 0.9rem 2.6rem; border: 1px solid var(--yz-border); border-radius: 0.65rem; transition: all .2s var(--yz-ease); position: relative; }
.yz-pay-box::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--yz-radio-ring); }
.yz-pay-opt input:checked + .yz-pay-box { border-color: var(--yz-accent); background: rgba(var(--yz-accent-rgb), 0.06); }
.yz-pay-opt input:checked + .yz-pay-box::before { border-color: var(--yz-accent); background: radial-gradient(circle, var(--yz-accent) 45%, transparent 50%); }
.yz-pay-opt input:focus-visible + .yz-pay-box { outline: 2px solid var(--yz-accent); outline-offset: 2px; }
.yz-pay-name { font-weight: 600; }
.yz-pay-desc { color: var(--yz-muted); font-size: 0.82rem; line-height: 1.55; }
.yz-summary .btn[disabled] { opacity: 0.45; }
.yz-promo .btn { white-space: nowrap; }

/* 发票付款页 */
.yz-paybox { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.6fr; gap: 0; margin-bottom: 1.5rem;
  border: 1px solid var(--yz-accent-line); border-radius: 1rem; overflow: hidden; background: var(--yz-surface); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-paybox-amount { padding: 1.75rem; background: radial-gradient(ellipse 90% 80% at 0% 0%, rgba(var(--yz-accent-rgb), 0.16), transparent 70%), var(--yz-surface-2); border-right: 1px solid var(--yz-border); display: flex; flex-direction: column; gap: 0.5rem; }
.yz-paybox-total { font-size: 2.4rem; font-weight: 500; line-height: 1.1; margin-bottom: 0.75rem; }
.yz-paybox-methods { padding: 1.75rem; }
.yz-pay-btn { display: grid; gap: 0.2rem; text-align: left; width: 100%; background: transparent; color: var(--yz-text);
  border: 1px solid var(--yz-border); border-radius: 0.65rem; padding: 0.9rem 1rem; transition: all .2s var(--yz-ease); }
.yz-pay-btn:hover { border-color: var(--yz-border-hover); }
.yz-pay-btn.active { border-color: var(--yz-accent); background: rgba(var(--yz-accent-rgb), 0.06); box-shadow: inset 3px 0 0 var(--yz-accent); }
.yz-pay-inline { margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: 0.65rem; border: 1px dashed var(--yz-border-hover); background: var(--yz-bg); }
.yz-pay-inline-title { font-weight: 600; margin-bottom: 0.5rem; color: var(--yz-accent); }
.yz-pay-inline-body { line-height: 1.8; white-space: pre-wrap; }
.yz-paid { border-color: var(--yz-ok-line); }
.yz-paid .yz-paybox-amount { background: radial-gradient(ellipse 90% 80% at 0% 0%, rgba(124, 240, 168, 0.14), transparent 70%), var(--yz-surface-2); }
@media (max-width: 767.98px) { .yz-paybox { grid-template-columns: 1fr; } .yz-paybox-amount { border-right: 0; border-bottom: 1px solid var(--yz-border); } }

/* ======================================================================
   第三轮：参照 raksmart 产品介绍页的版式（深色化）
   主视觉 → 推荐配置 → 功能优势 → 场景 → FAQ → 行动区；区块标题居中
   ====================================================================== */
.yz-lhero { text-align: center; padding: 3.5rem 1rem 3rem; margin: 0 calc(50% - 50vw); width: 100vw;
  background: radial-gradient(ellipse 55% 70% at 50% 0%, rgba(var(--yz-accent-rgb), 0.14), transparent 70%),
              radial-gradient(ellipse 35% 50% at 85% 30%, rgba(30, 79, 255, 0.07), transparent 70%);
  border-bottom: 1px solid var(--yz-border); animation: yz-rise .55s var(--yz-ease) backwards; }
.yz-pill { display: inline-block; padding: 0.4rem 1.1rem; border-radius: 999px; background: rgba(var(--yz-accent-rgb), 0.1); color: var(--yz-accent); font-size: 0.9rem; font-weight: 600; }
.yz-lhero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; margin: 1.25rem auto 1rem; max-width: 60rem; }
.yz-lhero h1 em { font-style: normal; background: linear-gradient(90deg, var(--yz-accent), var(--yz-accent-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yz-lhero-lead { color: var(--yz-muted); font-size: 1.15rem; line-height: 1.75; max-width: 46rem; margin: 0 auto; }
.yz-stats { list-style: none; padding: 0; margin: 2.25rem auto; max-width: 62rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.yz-stats li { background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 0.85rem; padding: 1.25rem 1rem; display: grid; gap: 0.35rem; transition: transform .25s var(--yz-ease), border-color .25s var(--yz-ease); }
.yz-stats li:hover { transform: translateY(-4px); border-color: rgba(var(--yz-accent-rgb), 0.45); }
.yz-stats b { font-size: 1.9rem; font-weight: 600; color: var(--yz-accent); }
.yz-stats span { color: var(--yz-muted); font-size: 0.92rem; }
.yz-lhero .yz-hero-actions { margin-top: 0.5rem; }
.yz-lhero .btn-lg { min-width: 10rem; }

.yz-block { padding: 4rem 0 1rem; }
.yz-block-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.yz-block-head h2 { font-size: 2rem; font-weight: 700; margin: 0 0 0.75rem; }
.yz-block-head p { color: var(--yz-muted); margin: 0; line-height: 1.7; }
.yz-block-more { text-align: center; margin-top: 2rem; }
.yz-block-more a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }
.yz-block-more a .icon { width: 1.1rem; height: 1.1rem; transition: transform .2s var(--yz-ease); }
.yz-block-more a:hover .icon { transform: translateX(4px); }
.yz-band { margin: 2rem calc(50% - 50vw) 0; width: 100vw; padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); padding-bottom: 4rem; background: var(--yz-surface-2); border-top: 1px solid var(--yz-border); border-bottom: 1px solid var(--yz-border); }

/* 套餐卡 */
.yz-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.yz-plan { position: relative; display: flex; flex-direction: column; background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 1rem; overflow: hidden;
  transition: transform .25s var(--yz-ease), border-color .25s var(--yz-ease), box-shadow .25s var(--yz-ease); animation: yz-rise .55s var(--yz-ease) backwards; }
.yz-plan:hover { transform: translateY(-6px); border-color: var(--yz-border-hover); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.yz-plan.is-featured { border: 2px solid var(--yz-accent); }
.yz-plan.is-featured .yz-plan-head { background: linear-gradient(180deg, rgba(var(--yz-accent-rgb), 0.12), transparent); }
.yz-plan .yz-badge { top: 0; right: 50%; transform: translate(50%, -50%); letter-spacing: 0.06em; text-transform: uppercase; z-index: 1; }
.yz-plan-head { display: flex; flex-direction: column; padding: 1.75rem 1.5rem 0; flex: 1; }
.yz-plan-head h3 { order: 1; font-size: 1.35rem; font-weight: 700; margin: 0.35rem 0 0.4rem; }
.yz-plan-body { display: contents; }
.yz-plan-body p { order: 2; color: var(--yz-muted); font-size: 0.92rem; margin: 0 0 1rem; }
.yz-plan-price { order: 3; display: flex; align-items: baseline; gap: 0.35rem; padding: 0 0 1.25rem; border-top: 0; margin-bottom: 1.25rem; border-bottom: 1px solid var(--yz-border); }
.yz-plan-price .yz-price-value { font-size: 2.2rem; font-weight: 600; }
.yz-price-unit { color: var(--yz-muted); }
.yz-plan-body ul { order: 4; list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.75rem; }
.yz-plan-body li, .yz-spec-grid li { position: relative; padding-left: 1.6rem; color: var(--yz-text); }
.yz-plan-body li::before, .yz-spec-grid li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1rem; height: 1rem;
  background: var(--yz-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.yz-plan > .btn { margin: 0 1.5rem 1.5rem; width: auto !important; padding: 0.7rem; font-weight: 600; }

/* 功能与优势 */
.yz-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.yz-feats-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.yz-feat { background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 1rem; padding: 1.75rem; transition: transform .25s var(--yz-ease), border-color .25s var(--yz-ease); }
.yz-feat:hover { transform: translateY(-4px); border-color: var(--yz-border-hover); }
.yz-feat-icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 0.85rem; background: rgba(var(--yz-accent-rgb), 0.12); color: var(--yz-accent); }
.yz-feat-icon .icon { width: 1.6rem; height: 1.6rem; }
.yz-feat h3 { font-size: 1.2rem; font-weight: 700; margin: 1.25rem 0 0.85rem; }
.yz-feat p { color: var(--yz-muted); margin: 0; line-height: 1.7; }
.yz-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; color: var(--yz-muted); }
.yz-checks li { display: flex; gap: 0.55rem; align-items: flex-start; }
.yz-checks .icon { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; color: var(--yz-accent); }

/* 业务场景：无实拍图，用官网品牌蓝渐变（#1E4FFF→#00C2FF）+ 网格 + 场景线性图标代替 */
.yz-scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.yz-scene { background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 1rem; overflow: hidden; transition: transform .3s var(--yz-ease), box-shadow .3s var(--yz-ease); }
.yz-scene:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.yz-scene-art { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 55%), linear-gradient(45deg, #1E4FFF, #00C2FF); }
.yz-scene-2 .yz-scene-art { background: radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.22), transparent 55%), linear-gradient(135deg, #1E4FFF, #00C2FF); }
.yz-scene-3 .yz-scene-art { background: radial-gradient(circle at 75% 80%, rgba(255, 255, 255, 0.22), transparent 55%), linear-gradient(225deg, #1E4FFF, #00C2FF); }
.yz-scene-4 .yz-scene-art { background: radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.22), transparent 55%), linear-gradient(315deg, #1E4FFF, #00C2FF); }
.yz-scene-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; transition: transform .6s var(--yz-ease); }
.yz-scene:hover .yz-scene-art::after { transform: scale(1.08); }
.yz-scene-art .icon { position: relative; z-index: 1; width: 3.5rem; height: 3.5rem; color: #fff; stroke-width: 1.5; filter: drop-shadow(0 6px 16px rgba(11, 27, 63, 0.35)); transition: transform .4s var(--yz-ease); }
.yz-scene:hover .yz-scene-art .icon { transform: translateY(-4px) scale(1.06); }
.yz-scene-text { padding: 1.5rem; }
.yz-scene-text h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; }
.yz-scene-text p { color: var(--yz-muted); margin: 0; line-height: 1.7; }

/* FAQ 编号 */
.yz-faq summary .yz-mono { color: var(--yz-accent); margin-right: 0.75rem; }
.yz-faq summary { justify-content: flex-start; }
.yz-faq summary::after { margin-left: auto; }
.yz-faq details p { animation: yz-rise .3s var(--yz-ease) backwards; }

/* 订购首页：业务线卡 */
.yz-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.yz-line-card { display: flex; flex-direction: column; gap: 0.75rem; background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 1rem; padding: 1.75rem;
  transition: transform .25s var(--yz-ease), border-color .25s var(--yz-ease), box-shadow .25s var(--yz-ease); animation: yz-rise .55s var(--yz-ease) backwards; }
.yz-line-card:hover { transform: translateY(-6px); border-color: rgba(var(--yz-accent-rgb), 0.45); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.yz-line-card h2 { font-size: 1.4rem; font-weight: 700; margin: 0.5rem 0 0; }
.yz-line-card > p { color: var(--yz-muted); margin: 0; line-height: 1.7; }
.yz-line-plans { list-style: none; padding: 0; margin: 0.5rem 0; display: grid; gap: 0.25rem; flex: 1; }
.yz-line-plans li { display: flex; justify-content: space-between; padding: 0.55rem 0; border-top: 1px dashed var(--yz-border); }
.yz-line-plans a { color: var(--yz-text); text-decoration: none; }
.yz-line-plans a:hover { color: var(--yz-accent); }
.yz-line-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--yz-border); }
.yz-line-foot b { font-size: 1.35rem; font-weight: 600; }
.yz-line-foot .btn { display: inline-flex; align-items: center; gap: 0.35rem; }
.yz-line-foot .btn .icon { width: 1rem; height: 1rem; }

.order-index .yz-cta { margin-top: 4rem; }
.order-index .breadcrumb { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .yz-lhero, .yz-plan, .yz-line-card { animation: none !important; } }
/* 修正：热门角标不被裁切；优势卡两列（与参考页一致） */
.yz-plan { overflow: visible; }
.yz-plan-head { border-radius: 1rem 1rem 0 0; }
@media (min-width: 768px) { .yz-feats:not(.yz-feats-4) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yz-scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 顶栏「产品」大下拉 */
.yz-mega { position: static; }
.yz-topbar-inner { position: relative; }
.yz-mega .dropdown-toggle::after { margin-left: 0.4rem; vertical-align: 0.15em; transition: transform .2s var(--yz-ease); }
.yz-mega .show.dropdown-toggle::after { transform: rotate(180deg); }
.yz-mega-panel { left: 1.25rem !important; right: 1.25rem; width: auto; margin-top: 0.6rem !important; padding: 1.5rem; border-radius: 1rem;
  border: 1px solid var(--yz-border); background: var(--yz-overlay-bg); backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.yz-mega-panel.show { display: block; animation: yz-rise .22s var(--yz-ease) backwards; }
.yz-mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.yz-mega-item { display: grid; gap: 0.35rem; padding: 1rem 1.1rem; border-radius: 0.75rem; border: 1px solid transparent; text-decoration: none; color: var(--yz-text); transition: all .2s var(--yz-ease); }
.yz-mega-item:hover { background: var(--yz-surface); border-color: var(--yz-border); }
.yz-mega-title { font-weight: 700; }
.yz-mega-item:hover .yz-mega-title { color: var(--yz-accent); }
.yz-mega-desc { color: var(--yz-muted); font-size: 0.85rem; line-height: 1.6; }
.yz-mega-plans { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.25rem; }
.yz-mega-plans span { font-size: 0.75rem; color: var(--yz-muted); border: 1px solid var(--yz-border); border-radius: 999px; padding: 0.1rem 0.55rem; }
.yz-mega-all { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: none; }
@media (max-width: 991.98px) { .yz-mega-panel { position: static !important; transform: none !important; margin: 0.5rem 0 !important; } }
@media (min-width: 992px) { .yz-mega-panel { position: absolute !important; top: 100% !important; inset-inline: 1.25rem !important; } }
/* 业务线卡片在区块内不再嵌一层 section 的上边距 */
.yz-block .yz-block { padding-top: 0; }
.yz-line-plans { align-content: start; }
.yz-feats-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important; }
.yz-feat-icon.yz-mono { font-weight: 700; font-size: 0.95rem; }
.yz-landing .yz-cta { margin-top: 4rem; }

/* 付款页：状态横幅、付款方式网格、转账信息、操作指引、骨架屏 */
.yz-paystatus { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; padding: 1.75rem 2rem; margin-bottom: 1.75rem; border: 1px solid var(--yz-accent-line); border-radius: 1rem;
  background: radial-gradient(ellipse 60% 140% at 0% 0%, rgba(var(--yz-accent-rgb), 0.16), transparent 60%), var(--yz-surface); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-paystatus-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(var(--yz-accent-rgb), 0.14); color: var(--yz-accent); flex: none; }
.yz-paystatus-icon .icon { width: 1.75rem; height: 1.75rem; }
.yz-paystatus > div:nth-child(2) { flex: 1 1 320px; }
.yz-paystatus h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.4rem; }
.yz-paystatus p { margin: 0; color: var(--yz-muted); }
.yz-paystatus p b { color: var(--yz-text); }
.yz-paystatus-amount { display: grid; text-align: right; }
.yz-paystatus-amount .yz-mono { font-size: 2.2rem; font-weight: 600; color: var(--yz-accent); line-height: 1.15; }
.yz-chip-soft { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.8rem; background: rgba(255, 176, 32, 0.14); color: var(--yz-amber); }
.yz-paid { border-color: var(--yz-ok-line); background: radial-gradient(ellipse 60% 140% at 0% 0%, rgba(124, 240, 168, 0.14), transparent 60%), var(--yz-surface); }
.yz-paid .yz-paystatus-icon { background: rgba(124, 240, 168, 0.14); color: var(--yz-ok); }
.yz-paid .yz-paystatus-amount .yz-mono { color: var(--yz-ok); }
.yz-pay-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.yz-pay-btn .yz-pay-name { display: inline-flex; align-items: center; gap: 0.45rem; }
.yz-pay-btn .icon { width: 1.1rem; height: 1.1rem; color: var(--yz-accent); }
#yz-pay-inline-body dl { display: grid; gap: 0; margin: 0 0 1rem; border: 1px solid var(--yz-border); border-radius: 0.75rem; overflow: hidden; }
#yz-pay-inline-body dl > div { display: grid; grid-template-columns: 8rem 1fr; align-items: center; border-top: 1px solid var(--yz-border); }
#yz-pay-inline-body dl > div:first-child { border-top: 0; }
#yz-pay-inline-body dt { padding: 0.85rem 1rem; color: var(--yz-muted); font-weight: 400; background: var(--yz-surface-2); height: 100%; display: flex; align-items: center; }
#yz-pay-inline-body dd { margin: 0; padding: 0.85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--bs-font-monospace); }
#yz-pay-inline-body dd button { flex: none; background: transparent; color: var(--yz-accent); border: 1px solid rgba(var(--yz-accent-rgb), 0.4); border-radius: 0.4rem; padding: 0.2rem 0.65rem; font-size: 0.8rem; font-family: var(--bs-font-sans-serif); transition: all .2s var(--yz-ease); }
#yz-pay-inline-body dd button:hover { background: var(--yz-accent); color: var(--yz-accent-ink); }
.yz-howto { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.yz-howto li { counter-increment: s; position: relative; padding: 1rem 1rem 1rem 3.1rem; border: 1px solid var(--yz-border); border-radius: 0.75rem; display: grid; gap: 0.25rem; }
.yz-howto li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--bs-font-monospace); font-size: 0.8rem; background: rgba(var(--yz-accent-rgb), 0.14); color: var(--yz-accent); }
.yz-howto span { color: var(--yz-muted); font-size: 0.88rem; line-height: 1.6; }
.yz-howto code { color: var(--yz-amber); }
.btn .icon { width: 1rem; height: 1rem; vertical-align: -0.15em; }
.yz-help { margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--yz-border); border-radius: 0.75rem; }
.yz-help p { color: var(--yz-muted); font-size: 0.88rem; margin: 0.35rem 0 0.6rem; }
.yz-skeleton { display: block; height: 0.9rem; margin: 0.6rem 0; border-radius: 0.3rem; background: linear-gradient(90deg, var(--yz-skel-1) 0%, var(--yz-skel-2) 50%, var(--yz-skel-1) 100%); background-size: 200% 100%; animation: yz-shimmer 1.2s linear infinite; }
.yz-skeleton.short { width: 55%; }
@keyframes yz-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.yz-paylayout .yz-split-side { top: 5rem; }

#yz-pay-inline-body > p { color: var(--yz-muted); font-size: 0.88rem; margin: 0; }
.invoice-invoice.yz-wide .yz-section-title { font-size: 1.25rem; }

/* 配置页：周期卡片、规格两列 */
.yz-spec-grid ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem 1.5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.yz-spec-grid p { color: var(--yz-muted); margin: 0; }
.yz-periods { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.75rem; }
.yz-periods legend { margin-bottom: 0.6rem; }
.yz-period { position: relative; cursor: pointer; }
.yz-period input { position: absolute; opacity: 0; }
.yz-period-box { display: grid; gap: 0.25rem; padding: 1rem 1.1rem; border: 1px solid var(--yz-border); border-radius: 0.75rem; height: 100%; transition: all .2s var(--yz-ease); }
.yz-period:hover .yz-period-box { border-color: var(--yz-border-hover); transform: translateY(-2px); }
.yz-period input:checked + .yz-period-box { border-color: var(--yz-accent); background: rgba(var(--yz-accent-rgb), 0.07); box-shadow: 0 0 0 3px rgba(var(--yz-accent-rgb), 0.12); }
.yz-period input:focus-visible + .yz-period-box { outline: 2px solid var(--yz-accent); outline-offset: 2px; }
.yz-period-name { font-weight: 600; }
.yz-period-price { font-size: 1.35rem; }
.yz-period-sub { color: var(--yz-muted); font-size: 0.8rem; }
.yz-period-save { position: absolute; top: -0.6rem; right: 0.75rem; background: var(--yz-amber); color: #1b1405; font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 999px; }
.yz-periods legend { grid-column: 1 / -1; float: none; width: auto; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.yz-periods { margin-top: 0.5rem; }
.yz-spec-grid { padding-bottom: 1.5rem; margin-bottom: 1.5rem !important; border-bottom: 1px solid var(--yz-border); }
.order-index .yz-split-main .yz-panel-title { margin-top: 0; }

/* ---------- 客户控制台 ---------- */
.yz-welcome { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; padding: 2rem; margin-bottom: 1.5rem; border: 1px solid var(--yz-accent-line); border-radius: 1rem;
  background: radial-gradient(ellipse 60% 140% at 100% 0%, rgba(var(--yz-accent-rgb), 0.16), transparent 60%), radial-gradient(ellipse 40% 100% at 0% 100%, rgba(30, 79, 255, 0.07), transparent 60%), var(--yz-surface); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-welcome h1 { font-size: 1.75rem; font-weight: 700; margin: 0.75rem 0 0.35rem; }
.yz-welcome p { color: var(--yz-muted); margin: 0; }
.yz-quick { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.yz-quick .btn { display: inline-flex; align-items: center; gap: 0.4rem; }
.yz-kpis { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.yz-kpis a { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon label" "icon value" "sub sub"; column-gap: 0.85rem; padding: 1.25rem; border: 1px solid var(--yz-border); border-radius: 0.9rem; background: var(--yz-surface); color: var(--yz-text); text-decoration: none; height: 100%;
  transition: transform .2s var(--yz-ease), border-color .2s var(--yz-ease); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-kpis a:hover { transform: translateY(-3px); border-color: rgba(var(--yz-accent-rgb), 0.45); }
.yz-kpi-icon { grid-area: icon; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: rgba(var(--yz-accent-rgb), 0.12); color: var(--yz-accent); align-self: center; }
.yz-kpi-label { grid-area: label; color: var(--yz-muted); font-size: 0.85rem; }
.yz-kpis b { grid-area: value; font-size: 1.65rem; font-weight: 600; line-height: 1.2; }
.yz-kpis small { grid-area: sub; color: var(--yz-muted-2); margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--yz-border); font-size: 0.8rem; }
.yz-kpis .is-warn a { border-color: rgba(255, 176, 32, 0.45); }
.yz-kpis .is-warn .yz-kpi-icon { background: rgba(255, 176, 32, 0.14); color: var(--yz-amber); }
.yz-console-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 1.5rem; align-items: start; }
.yz-console-side { display: grid; gap: 1.5rem; }
@media (max-width: 991.98px) { .yz-console-grid { grid-template-columns: 1fr; } }
.yz-panel-headrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.yz-panel-headrow a { font-size: 0.85rem; text-decoration: none; }
.yz-panel-headrow .yz-panel-title { margin: 0; }
.yz-table { margin: 0; }
.yz-table td, .yz-table th { padding: 0.85rem 0.75rem; vertical-align: middle; border-color: var(--yz-border) !important; }
.yz-table th { font-size: 0.8rem; text-transform: none; }
.yz-table tbody tr { transition: background-color .15s var(--yz-ease); }
.yz-table tbody tr:hover { background: rgba(var(--yz-accent-rgb), 0.04); }
.yz-mini-list { list-style: none; padding: 0; margin: 0; }
.yz-mini-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--yz-border); }
.yz-mini-list li:first-child { border-top: 0; padding-top: 0; }
.yz-mini-list li > div { flex: 1; min-width: 0; display: grid; }
.yz-mini-list small { color: var(--yz-muted-2); font-size: 0.78rem; }
.yz-mini-list a { text-decoration: none; }
.yz-empty-sm { padding: 2rem 1rem; }
/* 控制台页面：侧栏菜单精修 */
.yz-shell .offcanvas-body .nav-link { border-radius: 0.6rem; padding: 0.6rem 0.85rem; color: var(--yz-muted); transition: all .2s var(--yz-ease); }
.yz-shell .offcanvas-body .nav-link:hover { color: var(--yz-text); background: rgba(var(--yz-accent-rgb), 0.06); }
.yz-shell .offcanvas-body .nav-link.active { color: var(--yz-accent); background: rgba(var(--yz-accent-rgb), 0.1); }
.yz-shell .offcanvas-item { border: 0 !important; }
/* 侧栏菜单固定：吸在顶栏下方，页面滚动时不跟着走；菜单比屏幕高时自己滚动（5.25rem ≈ 顶栏高 + 容器上边距） */
@media (min-width: 768px) {
  .yz-shell .yz-side { position: sticky; top: 5.25rem; align-self: flex-start;
    max-height: calc(100vh - 6.25rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.yz-console .alert-info { display: none; }
.yz-side-balance { margin: 1rem 0.25rem 0; padding: 0.9rem 1rem; border: 1px solid var(--yz-border); border-radius: 0.75rem; background: var(--yz-surface); display: grid; gap: 0.15rem; }
.yz-side-balance span { color: var(--yz-muted); font-size: 0.8rem; }
.yz-side-balance b { font-size: 1.15rem; color: var(--yz-text); }
.yz-side-balance a { font-size: 0.85rem; text-decoration: none; }

/* ---------- 客户中心通用列表页：表格与页头统一（深浅两种主题共用；变量各自有定义） ---------- */
.yz-shell .card { overflow: hidden; }
.yz-shell .card > .card-header { padding: 1.4rem 1.6rem; background: radial-gradient(ellipse 60% 160% at 100% 0%, rgba(var(--yz-accent-rgb), 0.08), transparent 60%), var(--yz-surface-2); }
.yz-shell .card > .card-header h1,
.yz-shell .card > .card-header h5,
.yz-shell .card > .card-header .card-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.yz-shell .card > .card-body { padding: 1.4rem 1.6rem; }
.yz-shell .table { --bs-table-striped-bg: transparent; --bs-table-bg: transparent; border-color: var(--yz-border); margin-bottom: 0; }
.yz-shell .table-bordered > :not(caption) > * > * { border-width: 0 0 1px 0; }
.yz-shell .table-bordered > :not(caption) > * { border-width: 0; }
.yz-shell .table > thead > tr > th { background: var(--yz-surface-2); color: var(--yz-muted-2); font-size: 0.8rem; font-weight: 500; padding: 0.8rem 1rem; border-bottom: 1px solid var(--yz-border); }
.yz-shell .table > tbody > tr > td { padding: 0.95rem 1rem; vertical-align: middle; }
.yz-shell .table > tbody > tr { transition: background-color .15s var(--yz-ease); }
.yz-shell .table > tbody > tr:hover > * { background: rgba(var(--yz-accent-rgb), 0.04); --bs-table-accent-bg: transparent; }
.yz-shell .table a { text-decoration: none; font-weight: 600; }
.yz-shell .badge { font-weight: 600; padding: 0.35em 0.7em; border-radius: 999px; }
.yz-shell .nav-tabs { border-color: var(--yz-border); gap: 0.25rem; }
.yz-shell .nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--yz-muted); }
.yz-shell .nav-tabs .nav-link.active { background: transparent; color: var(--yz-accent); border-bottom-color: var(--yz-accent); }
[data-bs-theme="dark"] .yz-shell .btn-dark { --bs-btn-bg: var(--yz-surface-2); --bs-btn-border-color: var(--yz-border); --bs-btn-color: var(--yz-text); --bs-btn-hover-bg: #16223a; --bs-btn-hover-border-color: var(--yz-border-hover); }
.yz-shell .pagination { --bs-pagination-bg: var(--yz-surface); --bs-pagination-border-color: var(--yz-border); --bs-pagination-active-bg: var(--yz-accent); --bs-pagination-active-border-color: var(--yz-accent); --bs-pagination-active-color: var(--yz-accent-ink); }
.yz-shell .breadcrumb { font-size: 0.85rem; margin-bottom: 1rem; }
.yz-shell .offcanvas-item.active { background: transparent !important; }
.yz-shell .offcanvas-body .nav-link { width: 100%; }
.yz-shell .btn-success { --bs-btn-bg: var(--yz-accent); --bs-btn-border-color: var(--yz-accent); --bs-btn-color: var(--yz-accent-ink); --bs-btn-hover-bg: var(--yz-accent-hi); --bs-btn-hover-border-color: var(--yz-accent-hi); --bs-btn-hover-color: var(--yz-accent-ink); font-weight: 600; }

/* ---------- 全站页脚 ---------- */
.yz-footer { margin-top: 5rem; background: var(--yz-footer-bg); border-top: 1px solid var(--yz-border); }
.yz-footer-inner { max-width: 1240px; margin: 0 auto; padding: 1.5rem 1.25rem; }
.yz-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; color: var(--yz-muted-2); font-size: 0.85rem; }
.yz-shell + .yz-footer, .yz-footer { position: relative; z-index: 1; }
/* 回到顶部是 fixed、无 z-index，页脚 z-index:1 会盖住它；放到页脚之上、顶栏(1030)与悬浮联系入口(1040)之下 */
.yz-to-top { z-index: 1020; }
/* 结算页：登录提示与上一步 */
.yz-account { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; border-color: rgba(var(--yz-accent-rgb), 0.35); }
.yz-account-text { flex: 1 1 280px; }
.yz-account-text .yz-panel-title { margin-bottom: 0.35rem; }
.yz-account-actions { display: flex; gap: 0.6rem; }
.yz-cart-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.yz-cart-actions .btn-link { color: var(--yz-accent); text-decoration: none; }
.yz-footer { width: 100vw; margin-left: calc(50% - 50vw); }

/* ======================================================================
   第四轮：其余前台页面（内页主视觉、文档、知识库、公告、钱包、服务详情、工单）
   ====================================================================== */
.yz-phero { text-align: center; padding: 3rem 1rem 2.5rem; margin: -1.25rem calc(50% - 50vw) 2.5rem; width: 100vw;
  background: radial-gradient(ellipse 55% 80% at 50% 0%, rgba(var(--yz-accent-rgb), 0.13), transparent 70%); border-bottom: 1px solid var(--yz-border); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-phero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin: 0.9rem 0 0.6rem; }
.yz-phero p { color: var(--yz-muted); max-width: 44rem; margin: 0 auto; line-height: 1.7; }
.yz-phero.is-compact { text-align: left; margin: 0 0 1.5rem; width: auto; padding: 1.75rem 2rem; border: 1px solid var(--yz-accent-line); border-radius: 1rem;
  background: radial-gradient(ellipse 60% 140% at 100% 0%, rgba(var(--yz-accent-rgb), 0.14), transparent 60%), var(--yz-surface); }
.yz-phero.is-compact h1 { font-size: 1.6rem; margin: 0 0 0.35rem; }
.yz-phero.is-compact p { margin: 0; }
.yz-phero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; margin: -4.5rem 2rem 2.5rem 0; position: relative; }
.yz-page .yz-phero + .yz-phero-actions + .row .card > .card-body, .yz-page .yz-phero ~ .row > .col-md-12 > .card { border-radius: 1rem; }
.yz-page .breadcrumb { display: none !important; }
.yz-search { display: flex; gap: 0.6rem; max-width: 40rem; margin: -1.25rem auto 2.5rem; }
.yz-search .form-control { padding: 0.85rem 1.1rem; font-size: 1.05rem; }
/* 文档类页面 */
.yz-doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
@media (max-width: 991.98px) { .yz-doc { grid-template-columns: 1fr; } }
.yz-doc-side { display: grid; gap: 1rem; position: sticky; top: 5rem; }
.yz-doc-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.yz-doc-nav a { display: block; padding: 0.55rem 0.75rem; border-radius: 0.5rem; color: var(--yz-muted); text-decoration: none; transition: all .2s var(--yz-ease); }
.yz-doc-nav a:hover { color: var(--yz-text); background: rgba(var(--yz-accent-rgb), 0.06); }
.yz-doc-nav a.active { color: var(--yz-accent); background: rgba(var(--yz-accent-rgb), 0.1); }
.yz-prose { line-height: 1.85; font-size: 1rem; padding: 2rem 2.25rem; }
.yz-prose h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--yz-border); }
.yz-prose h2:first-child, .yz-prose blockquote + h2 { margin-top: 0.5rem; }
.yz-prose h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.yz-prose blockquote { margin: 0 0 1.5rem; padding: 0.75rem 1rem; border-radius: 0.6rem; background: rgba(255, 176, 32, 0.08); color: var(--yz-amber); border: 1px solid rgba(255, 176, 32, 0.25); }
.yz-prose blockquote p { margin: 0; }
.yz-prose ul { padding-left: 1.25rem; }
.yz-prose li { margin: 0.3rem 0; }
.yz-prose a { text-decoration: underline; text-underline-offset: 3px; }
.yz-article-head { margin-bottom: 1.5rem; }
.yz-article-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: 1.25rem 0 0.5rem; }
.yz-article-meta { display: flex; gap: 1rem; color: var(--yz-muted); font-size: 0.9rem; }
.yz-article-img { width: 100%; border-radius: 0.75rem; margin-bottom: 1.5rem; }
.yz-prose-card { border-radius: 1rem !important; }
.yz-cta-card { border: 1px solid var(--yz-accent-line) !important; background: linear-gradient(90deg, var(--yz-accent-tint), var(--yz-surface)) !important; border-radius: 1rem !important; }
/* 知识库、公告列表卡片悬浮 */
.kb-index .card .card, .news-index .card .card, .yz-page .list-group-item-action { transition: transform .2s var(--yz-ease), border-color .2s var(--yz-ease), background-color .2s var(--yz-ease); }
.kb-index .card .card:hover, .news-index .card .card:hover { transform: translateY(-4px); border-color: rgba(var(--yz-accent-rgb), 0.45); }
[data-bs-theme="dark"] .yz-page .list-group { --bs-list-group-bg: transparent; --bs-list-group-border-color: var(--yz-border); --bs-list-group-action-hover-bg: rgba(var(--yz-accent-rgb), 0.06); --bs-list-group-action-hover-color: var(--yz-accent); }
/* 钱包 */
.yz-wallet { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1.5rem; }
@media (max-width: 767.98px) { .yz-wallet { grid-template-columns: 1fr; } }
.yz-wallet-balance { display: grid; align-content: center; gap: 0.5rem; background: radial-gradient(ellipse 90% 90% at 0% 0%, rgba(var(--yz-accent-rgb), 0.16), transparent 70%), var(--yz-surface); border-color: var(--yz-accent-line); }
.yz-wallet-balance b { font-size: 2.6rem; font-weight: 600; color: var(--yz-accent); }
.yz-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.yz-amount { background: transparent; color: var(--yz-text); border: 1px solid var(--yz-border); border-radius: 0.6rem; padding: 0.7rem 0.5rem; font-family: var(--bs-font-monospace); transition: all .2s var(--yz-ease); }
.yz-amount:hover { border-color: var(--yz-border-hover); }
.yz-amount.active { border-color: var(--yz-accent); color: var(--yz-accent); background: rgba(var(--yz-accent-rgb), 0.08); }
/* 服务详情 */
.yz-svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; padding: 2rem; margin-bottom: 1.5rem; border: 1px solid var(--yz-accent-line); border-radius: 1rem;
  background: radial-gradient(ellipse 60% 140% at 100% 0%, rgba(var(--yz-accent-rgb), 0.14), transparent 60%), var(--yz-surface); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-svc-head h1 { font-size: 1.8rem; font-weight: 800; margin: 0.75rem 0 0.6rem; }
.yz-svc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; color: var(--yz-muted); }
.yz-svc-meta b { color: var(--yz-text); }
.yz-svc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.yz-svc-actions .btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.yz-svc-kpis > li > div { display: grid; gap: 0.35rem; padding: 1.25rem; border: 1px solid var(--yz-border); border-radius: 0.9rem; background: var(--yz-surface); height: 100%; }
.yz-svc-kpis b { font-size: 1.3rem !important; grid-area: auto !important; }
.yz-svc-kpis small { grid-area: auto !important; margin-top: 0.25rem !important; }
.yz-notice { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-radius: 0.9rem; border: 1px solid rgba(255, 176, 32, 0.35); background: rgba(255, 176, 32, 0.07); }
.yz-notice .icon { color: var(--yz-amber); width: 1.6rem; height: 1.6rem; flex: none; }
.yz-notice p { color: var(--yz-muted); margin: 0.25rem 0 0; }
.yz-shell .btn-info { --bs-btn-bg: transparent; --bs-btn-border-color: var(--yz-accent); --bs-btn-color: var(--yz-accent); --bs-btn-hover-bg: var(--yz-accent); --bs-btn-hover-color: var(--yz-accent-ink); --bs-btn-hover-border-color: var(--yz-accent); }
[data-bs-theme="dark"] .yz-shell .btn-danger { --bs-btn-bg: transparent; --bs-btn-border-color: #f07c7c; --bs-btn-color: #f07c7c; --bs-btn-hover-bg: #f07c7c; --bs-btn-hover-color: #1a0606; --bs-btn-hover-border-color: #f07c7c; }
.modal-content { border-radius: 1rem !important; }
/* 付款完成 */
.yz-done { max-width: 40rem; margin: 2rem auto 0; text-align: center; padding: 3rem 2rem; border: 1px solid var(--yz-ok-line); border-radius: 1.25rem;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(124, 240, 168, 0.14), transparent 70%), var(--yz-surface); animation: yz-rise .5s var(--yz-ease) backwards; }
.yz-done-icon { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: rgba(124, 240, 168, 0.15); color: var(--yz-ok); animation: yz-pop .5s var(--yz-ease) .15s backwards; }
.yz-done-icon .icon { width: 2.2rem; height: 2.2rem; }
.yz-done h1 { font-size: 2rem; font-weight: 800; margin: 1.25rem 0 0.75rem; }
.yz-done > p { color: var(--yz-muted); line-height: 1.7; }
.yz-done-progress { height: 4px; border-radius: 4px; background: var(--yz-border); overflow: hidden; margin: 1.5rem 0 0.75rem; }
.yz-done-progress span { display: block; height: 100%; width: 100%; background: var(--yz-ok); transform-origin: left; animation: yz-countdown 60s linear both; }
@keyframes yz-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes yz-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
/* 工单对话：员工回复用品牌蓝描边并靠左，客户消息常规 */
.support-ticket .card.border-primary { border-color: rgba(var(--yz-accent-rgb), 0.55) !important; box-shadow: inset 3px 0 0 var(--yz-accent); }
.support-ticket .card.border-primary > .card-header { background: rgba(var(--yz-accent-rgb), 0.06); }
.support-ticket .card { border-radius: 0.9rem; }
.support-ticket .markdown-body { line-height: 1.8; }
.yz-svc-kpis > li > div { display: flex !important; flex-direction: column; gap: 0.35rem; }
.yz-svc-kpis > li > div > * { grid-area: auto !important; }
.yz-svc-kpis .yz-kpi-label { order: -1; }
.yz-svc-kpis small { border-top: 0 !important; padding-top: 0 !important; margin-top: 0 !important; }
.visually-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; white-space: nowrap !important; border: 0 !important; }
.yz-search .btn { white-space: nowrap; padding-inline: 1.5rem; }
/* 富文本编辑器（CKEditor）深色化 */
[data-bs-theme="dark"] .ck.ck-editor__main > .ck-editor__editable { background: var(--yz-bg) !important; color: var(--yz-text) !important; border-color: #2a3650 !important; min-height: 8rem; }
[data-bs-theme="dark"] .ck.ck-toolbar { background: var(--yz-surface-2) !important; border-color: #2a3650 !important; }
[data-bs-theme="dark"] .ck.ck-toolbar .ck-button, [data-bs-theme="dark"] .ck.ck-toolbar .ck-dropdown__button { color: var(--yz-muted) !important; }
[data-bs-theme="dark"] .ck.ck-toolbar .ck-button:hover { background: rgba(var(--yz-accent-rgb), 0.1) !important; color: var(--yz-text) !important; }
[data-bs-theme="dark"] .ck.ck-editor__editable.ck-focused { border-color: var(--yz-accent) !important; box-shadow: 0 0 0 0.2rem rgba(var(--yz-accent-rgb), 0.2) !important; }
.client-profile .img-thumbnail, .yz-page form .img-thumbnail { max-width: 64px; }

/* 工单列表的筛选提示（从控制台数据卡、服务管理页带筛选条件进来时显示） */
.yz-filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0 0 1rem; color: var(--yz-muted); font-size: 0.9rem; }

/* ===== 全面验收（2026-10-17）：联系页公司信息、手机宽表格/步骤条/页头按钮/充值金额 ===== */
.yz-contact-list { display: grid; gap: 0.35rem; margin: 0; }
.yz-contact-list > div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; }
.yz-contact-list dt { color: var(--yz-muted-2); font-weight: 500; }
.yz-contact-list dd { margin: 0; }
/* 转账信息：值列允许收缩，长户名/账号换行，复制按钮不被裁掉 */
#yz-pay-inline-body dl > div { grid-template-columns: 8rem minmax(0, 1fr); }
#yz-pay-inline-body dd { min-width: 0; }
#yz-pay-inline-body dd > span { min-width: 0; overflow-wrap: anywhere; }
/* 表格里的按钮与日期不折成一字一行 */
.yz-table .btn, .table .btn-sm { white-space: nowrap; }
@media (max-width: 767.98px) {
    /* 手机宽：可横向滚动的表格单元格不折行，列不再被压成一字一行，右侧列靠横向滑动查看 */
    .table-responsive > .table th, .table-responsive > .table td { white-space: nowrap; }
    /* 长标题（工单主题、服务名）在限定宽度内换行，让状态、操作列尽量留在首屏 */
    .table-responsive > .table td > a:not(.btn), .table-responsive > .table td .yz-cart-title { display: inline-block; white-space: normal; min-width: 8rem; max-width: 11rem; }
    /* 页头卡片下方的操作按钮（如「新建工单」）原本上移 4.5rem 压进卡片，窄屏时会盖住副标题 */
    .yz-phero-actions { margin: -0.75rem 0 1.5rem; justify-content: flex-start; }
    #yz-pay-inline-body dl > div { grid-template-columns: 5.5rem minmax(0, 1fr); }
    #yz-pay-inline-body dt, #yz-pay-inline-body dd { padding: 0.7rem 0.75rem; }
    #yz-pay-inline-body dd { gap: 0.5rem; }
}
@media (max-width: 575.98px) {
    .yz-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* 步骤条：窄屏只留当前步的文字，其余只显示序号，一行排下 */
    .yz-steps { flex-wrap: nowrap; gap: 0.25rem; }
    .yz-steps li { font-size: 0; padding-right: 0; gap: 0; }
    .yz-steps li span { font-size: 0.8rem; }
    .yz-steps li.current { font-size: 0.85rem; gap: 0.45rem; }
    .yz-steps li:not(:last-child)::after { width: 0.9rem; margin-left: 0.35rem; }
}
/* 灰框按钮（知识库「浏览全部文章」等）在深色底上像禁用，提亮文字与边框 */
.btn-outline-secondary { --bs-btn-color: var(--yz-text); --bs-btn-border-color: var(--yz-border-hover); --bs-btn-hover-bg: rgba(var(--yz-accent-rgb), 0.08); --bs-btn-hover-color: var(--yz-accent); --bs-btn-hover-border-color: var(--yz-accent); }
/* 网格子项默认 min-width:auto，里面的表格单元格不折行后会把整列撑宽、页面横向溢出（控制台 390 宽实测撑到 554）；限制为可收缩，让表格在 table-responsive 里横滑 */
.yz-console-grid > *, .yz-split > *, .yz-panel { min-width: 0; }
.yz-line-plans .yz-line-more a { color: var(--yz-accent); font-size: 0.88rem; }

/* ===== 补齐页：邮件记录 / 维护页 / Cookie 提示 / 知识库联想 / 各产品管理面板（mod_email_*、mod_system_maintenance、mod_cookieconsent_index、mod_support_kb_suggestions、mod_service*_manage、mod_invoice_banklink、mod_custompages_content） ===== */
/* 邮件记录：左列表右正文，卡片沿用面板底色 */
.yz-email-card { background: var(--yz-surface); border: 1px solid var(--yz-border); border-radius: 0.75rem; overflow: hidden; }
.yz-email-card .card-header { background: transparent; border-color: var(--yz-border); }
.yz-email-card .border-start { border-color: var(--yz-border) !important; }
.yz-email-card .list-group-item { background: transparent; border-color: var(--yz-border); color: var(--yz-text); }
.yz-email-card .list-group-item.active { background: var(--yz-accent-tint); border-color: var(--yz-accent-line); color: var(--yz-text); }
.yz-email-card .list-group-item.active .text-muted { color: var(--yz-muted) !important; }
.yz-email-subject, .yz-email-date { font-size: 0.8rem; }
.yz-email-card iframe.email { width: 100%; border: 1px solid var(--yz-border); border-radius: 0.5rem; background: #fff; }
/* 维护页：独立于布局渲染，样式随 layout_public 加载 yunzhuji.css */
.yz-maint .card-body { padding: 2rem; text-align: center; }
.yz-maint h1 { font-size: 1.6rem; font-weight: 700; margin: 1rem 0 0.75rem; }
.yz-maint .yz-pill { margin-bottom: 0.25rem; }
.yz-maint-lead { color: var(--yz-muted); margin: 0 0 1.25rem; line-height: 1.7; }
.yz-maint hr { border-color: var(--yz-border); opacity: 1; margin: 1.25rem 0; }
.yz-maint-sub { font-size: 1rem; font-weight: 600; margin: 0 0 0.75rem; color: var(--yz-text); }
.yz-maint-contact { list-style: none; padding: 0; margin: 0; color: var(--yz-muted); line-height: 1.8; }
.yz-maint-contact li:empty { display: none; }
/* Cookie 同意条 */
.yz-cookie { z-index: 1050; padding-bottom: 1rem; }
.yz-cookie-bar { background: var(--yz-overlay-bg); color: var(--yz-text); border: 1px solid var(--yz-accent-line); border-radius: 0.75rem; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); padding: 0.9rem 3rem 0.9rem 1.25rem; font-size: 0.9rem; line-height: 1.6; }
/* 工单页「先看看知识库」联想 */
.yz-kb-suggest { margin: 0.75rem 0; padding: 0.9rem 1rem; background: var(--yz-surface-2); border: 1px solid var(--yz-border); border-radius: 0.75rem; color: var(--yz-muted); font-size: 0.9rem; }
.yz-kb-suggest a { color: var(--yz-accent); }
.yz-kb-suggest-title { font-weight: 600; color: var(--yz-text); margin-bottom: 0.5rem; }
.yz-kb-suggest .list-group-item { border-color: var(--yz-border); color: var(--yz-accent); }
/* 产品管理面板（API 密钥 / 授权 / 下载 / 主机 / 域名）：用 .yz-panel 外观，页内标题 + 键值表 + 标签页 */
.yz-svc-panel .yz-panel-sub, .yz-panel-sub-title { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.75rem; color: var(--yz-text); }
.yz-svc-panel .tab-pane > .yz-panel-sub-title:first-child { margin-top: 0.5rem; }
.yz-kv td:first-child { width: 14rem; color: var(--yz-muted); white-space: nowrap; }
.yz-kv { --bs-table-bg: transparent; --bs-table-color: var(--yz-text); }
.yz-svc-panel .nav-tabs { border-color: var(--yz-border); gap: 0.25rem; }
.yz-svc-panel .nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--yz-muted); background: transparent; }
.yz-svc-panel .nav-tabs .nav-link:hover { color: var(--yz-text); }
.yz-svc-panel .nav-tabs .nav-link.active { background: transparent; color: var(--yz-accent); border-bottom-color: var(--yz-accent); }
.yz-svc-panel .control-group { margin-bottom: 1rem; }
.yz-svc-tabs { padding: 0; overflow: hidden; }
.yz-svc-tabs-head { padding: 1.25rem 1.5rem 0; background: var(--yz-surface-2); border-bottom: 1px solid var(--yz-border); }
.yz-svc-tabs-head .yz-panel-title { margin-bottom: 0.75rem; }
.yz-svc-tabs-head .nav-tabs { border-bottom: 0; flex-wrap: wrap; }
.yz-svc-pane { padding: 1.5rem; }
.yz-hint-text { color: var(--yz-muted-2); line-height: 1.7; }
.yz-svc-pane .btn { margin-top: 0.5rem; }
@media (max-width: 575.98px) {
    .yz-kv td:first-child { width: auto; white-space: normal; }
    .yz-svc-pane { padding: 1rem; }
    .yz-maint .card-body { padding: 1.25rem; }
}
