front/src/views/site/styles/ai-advisor.css
zzh 44d39ffa26
All checks were successful
Build and Deploy Front / deploy (push) Successful in 3m31s
feat: 全局视口适配地基,官网精选线路上移
统一断点/Token 与跨端规范,窄屏收紧页面壳;精选线路区上移 50px。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-12-03 15:38:27 +08:00

5826 lines
130 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ===== BCD Command Center ? header stays, stage fills the rest ===== */
:root {
--ai-header-h: 72px;
--ai-ease: cubic-bezier(0.22, 1, 0.36, 1);
--ai-bg: #f0f3f4;
--ai-bg-soft: #faf8f6;
--ai-surface: #ffffff;
--ai-text: #121820;
--ai-text-2: #3a4450;
--ai-text-3: #66707d;
--ai-border: #e0d9cc;
--ai-border-soft: #ebe4d8;
--ai-input-bg: #f0ebe3;
--ai-radius: 16px;
--ai-radius-lg: 22px;
--ai-radius-sm: 12px;
--ai-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
--ai-shadow-lift: 0 10px 28px rgba(15, 23, 42, 0.09);
--ai-shadow-card: 0 12px 32px rgba(15, 23, 42, 0.07);
--ai-glass-edge: rgba(255, 255, 255, 0.94);
--ai-glass-hairline: rgba(18, 24, 32, 0.08);
--ai-glass-card: linear-gradient(
165deg,
rgba(255, 255, 255, 0.92) 0%,
rgba(255, 255, 255, 0.72) 42%,
rgba(255, 252, 248, 0.88) 100%
);
--ai-glass-panel: linear-gradient(180deg, #ffffff 0%, var(--ai-bg-soft) 100%);
--ai-glass-shadow: none;
--ai-action: #023e8a;
--ai-action-hover: #012a74;
--ai-action-rgb: 2, 62, 138;
--ai-sky: #00b4d8;
--ai-sky-hover: #0096c7;
--ai-sky-rgb: 0, 180, 216;
--ai-sky-soft: color-mix(in srgb, var(--ai-sky) 14%, #fff);
--ai-gold: #c7923e;
--ai-gold-hover: #b58232;
--ai-gold-rgb: 199, 146, 62;
--ai-gold-soft: color-mix(in srgb, var(--ai-gold) 16%, #fff);
--ai-primary-soft: #e0edf2;
--ai-primary-mid: color-mix(in srgb, var(--ai-action) 16%, #fff);
--ai-primary-softer: color-mix(in srgb, var(--ai-action) 10%, #fff);
--ai-navy-rgb: var(--kc-primary-rgb, 2, 62, 138);
--ai-accent-rgb: var(--ai-action-rgb);
--ai-canvas: var(--ai-bg);
--ai-header-bg: color-mix(in srgb, var(--ai-bg) 94%, transparent);
--ai-ink: var(--ai-text);
--ai-muted: var(--ai-text-2);
--ai-line: var(--ai-border);
--ai-glass: var(--ai-surface);
/* 与全局 --app-content-max 对齐;官网可单独覆盖 */
--ai-content-max: var(--app-content-max, 1200px);
--ai-guide-panel-w: 760px;
--ai-routes-panel-w: 1280px;
--ai-acrylic-bg: rgba(255, 255, 255, 0.32);
--ai-acrylic-bg-primary: color-mix(in srgb, var(--ai-gold-soft) 42%, rgba(255, 255, 255, 0.38));
/* Soft fills — cool tint */
--ai-glass-fill: linear-gradient(
165deg,
color-mix(in srgb, var(--ai-sky) 10%, rgba(255, 255, 255, 0.46)) 0%,
rgba(255, 255, 255, 0.16) 48%,
color-mix(in srgb, var(--ai-action) 8%, rgba(255, 255, 255, 0.3)) 100%
);
--ai-glass-fill-strong: linear-gradient(
145deg,
color-mix(in srgb, var(--ai-sky) 12%, rgba(255, 255, 255, 0.56)) 0%,
rgba(255, 255, 255, 0.24) 50%,
color-mix(in srgb, var(--ai-action) 10%, rgba(255, 255, 255, 0.36)) 100%
);
--ai-glass-border: color-mix(in srgb, var(--ai-sky) 18%, rgba(255, 255, 255, 0.72));
/* Homepage forces blur off (paint budget) ? fake glass uses sheen instead */
--ai-glass-blur: none;
--ai-glass-sheen: linear-gradient(
180deg,
rgba(255, 255, 255, 0.72) 0%,
rgba(255, 255, 255, 0.18) 34%,
transparent 58%
);
--ai-glass-rim: linear-gradient(
135deg,
rgba(255, 255, 255, 0.95) 0%,
rgba(255, 255, 255, 0.35) 42%,
rgba(255, 255, 255, 0.55) 100%
);
--ai-glass-shadow:
inset 0 2px 6px rgba(15, 23, 42, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.55);
--ai-glass-shadow-pressed:
inset 0 3px 10px rgba(15, 23, 42, 0.12),
inset 0 1px 2px rgba(15, 23, 42, 0.06);
--ai-hairline: linear-gradient(
90deg,
transparent 0%,
color-mix(in srgb, var(--ai-border) 55%, transparent) 18%,
color-mix(in srgb, var(--ai-border) 55%, transparent) 82%,
transparent 100%
);
/* ???????? / ?? / ????? */
--ai-dock-radius: 12px;
--ai-dock-radius-inner: 10px;
--ai-chip-radius: 999px;
--ai-paper: #fffcf8;
--ai-paper-edge: color-mix(in srgb, var(--ai-border) 78%, #c4b8a6);
--ai-paper-shadow:
inset 0 2px 8px rgba(40, 32, 20, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
--ai-paper-shadow-lift:
inset 0 3px 12px rgba(40, 32, 20, 0.12),
inset 0 1px 2px rgba(15, 23, 42, 0.06);
--ai-trust-bar-h: 52px;
}
body.command-home {
/* Aviation clear: navy brand, coral CTA only, airy surfaces */
--ai-canvas: #f3f5f6;
--ai-bg: #f3f5f6;
--ai-brand: #023e8a;
--ai-brand-hover: #012a74;
--ai-accent: #f56668;
--ai-accent-hover: #e25557;
--ai-action: #f56668;
--ai-action-hover: #e25557;
--ai-action-rgb: 245, 102, 104;
--ai-accent-rgb: 245, 102, 104;
--ai-text: #121820;
--ai-text-2: #3d4754;
--ai-text-3: #6a7380;
--ai-ink: var(--ai-text);
--ai-muted: var(--ai-text-2);
--ai-display-font: 'Avenir Next', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei', sans-serif;
--ai-glass-border: transparent;
--ai-paper-edge: transparent;
--ai-glass-shadow: var(--ai-glass-shadow-pressed, inset 0 3px 10px rgba(15, 23, 42, 0.1));
--ai-paper-shadow: inset 0 3px 10px rgba(40, 32, 20, 0.1);
--ai-paper-shadow-lift: inset 0 4px 14px rgba(40, 32, 20, 0.12);
background: var(--ai-canvas);
overflow: hidden;
color: var(--ai-ink);
}
/* Slim header ? transparent so stage bg reads as one surface */
body.command-home #header.header {
display: flex !important;
z-index: 20;
padding: 20px 0 12px;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
border: none;
box-shadow: none;
}
/* 面板打开时顶栏压过 backdrop,便于同项再点关闭 */
body.command-home.site-panel-open #header.header {
z-index: 998;
}
body.command-home #header .container-xl {
position: relative;
/* 与 .ai-advisor-layout 同列宽,品牌 / 登录贴内容区两侧 */
width: 100%;
max-width: var(--ai-content-max, 1200px);
margin-left: auto;
margin-right: auto;
padding-left: 20px;
padding-right: 20px;
box-sizing: border-box;
overflow: visible;
}
body.command-home #navbar > ul > li.site-nav-tools {
position: relative;
display: flex;
align-items: center;
flex-shrink: 0;
gap: 2px;
isolation: isolate;
}
body.command-home .site-nav-tools__glass {
display: none;
}
body.command-home .site-nav-dock {
display: flex;
flex-direction: column;
}
body.command-home #header .site-nav-wordmark,
body.command-home #navbar .site-nav-dock a {
display: inline-flex;
align-items: center;
}
body.command-home #header .site-nav-wordmark {
position: relative;
z-index: 4;
flex-shrink: 0;
align-items: center;
gap: 8px;
margin-right: auto;
color: var(--ai-brand);
font-weight: 750;
letter-spacing: 0.01em;
text-decoration: none;
white-space: nowrap;
}
body.command-home .site-nav-wordmark__copy {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
min-width: 0;
}
body.command-home .site-nav-wordmark__text {
color: var(--ai-brand);
font-weight: 400;
font-size: 1.05rem;
letter-spacing: 0.02em;
line-height: 1;
}
body.command-home .site-nav-wordmark__tag {
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
color: var(--ai-text-3, rgba(26, 46, 56, 0.52));
font-size: 0.62rem;
font-weight: 400;
letter-spacing: 0.02em;
line-height: 1.15;
white-space: nowrap;
}
body.command-home .site-nav-wordmark__logo {
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
}
body.command-home .site-nav-wordmark__logo img {
display: block;
width: 36px;
height: 36px;
object-fit: contain;
}
@media (max-width: 1279px) {
/* 手机/平板抽屉:纵向列表,浅色底保证对比度 */
body.command-home #navbar,
body.command-home #navbar.navbar {
width: min(100%, 380px);
max-width: 100%;
}
body.command-home #navbar > ul {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 4px;
padding: calc(56px + env(safe-area-inset-top, 0px)) 18px
calc(24px + env(safe-area-inset-bottom, 0px));
background: #f4f7fa !important;
background-image: linear-gradient(180deg, #f8fafc 0%, #eef3f7 100%) !important;
border-top-left-radius: 24px;
border-bottom-left-radius: 24px;
box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
}
body.command-home #header .site-nav-wordmark {
position: relative;
z-index: 4;
min-height: 44px;
height: auto;
margin-right: auto;
padding: 0;
font-size: 1rem;
}
body.command-home .site-nav-dock {
display: contents;
}
body.command-home .site-nav-dock__glass,
body.command-home .site-nav-dock__slider,
body.command-home .site-nav-tools__glass {
display: none !important;
}
body.command-home #navbar > ul {
gap: 8px;
}
body.command-home #navbar .site-nav-dock__item,
body.command-home #navbar .site-nav-dock a,
body.command-home #navbar .site-nav-dock a:focus {
display: flex !important;
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 12px;
width: 100%;
min-height: 52px;
padding: 14px 16px !important;
border-radius: 14px;
color: var(--ai-text) !important;
font-size: 1.05rem;
font-weight: 700;
background: rgba(255, 255, 255, 0.72);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
-webkit-tap-highlight-color: transparent;
}
body.command-home #navbar .site-nav-dock a:hover,
body.command-home #navbar .site-nav-dock a.active,
body.command-home #navbar .site-nav-dock a.active:focus,
body.command-home #navbar .site-nav-dock a.is-active,
body.command-home #navbar .site-nav-dock a.is-active:focus {
color: var(--ai-action) !important;
background: #fff;
}
body.command-home #navbar .site-nav-dock__icon {
width: 22px;
height: 22px;
flex-shrink: 0;
color: inherit;
}
body.command-home #navbar .site-nav-dock__label {
font-size: inherit;
font-weight: inherit;
}
body.command-home #navbar > ul > li.site-nav-tools {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid rgba(18, 24, 32, 0.08);
}
body.command-home #navbar .site-nav-tools .site-nav-login,
body.command-home #navbar .site-nav-tools .site-nav-login:focus,
body.command-home #navbar .site-nav-tools .site-nav-login:hover,
body.command-home #navbar .site-nav-tools .site-nav-login:visited,
body.command-home #navbar .site-nav-tools .language-toggle-link,
body.command-home #navbar .site-nav-tools .language-toggle-link:focus,
body.command-home #navbar .site-nav-tools .language-toggle-link:hover,
body.command-home #navbar .site-nav-tools .language-toggle-link.active,
body.command-home #navbar .site-nav-tools .language-toggle-link.active:focus {
display: inline-flex !important;
justify-content: center;
width: 100%;
min-height: 46px;
padding: 0 16px !important;
border-radius: 14px;
background: #fff !important;
color: var(--ai-action) !important;
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
body.command-home .mobile-nav-show,
body.command-home .mobile-nav-hide {
color: var(--ai-action);
}
body.command-home .mobile-nav-show,
body.command-home .mobile-nav-hide {
width: 44px;
height: 44px;
}
body.command-home .mobile-nav-hide {
color: var(--ai-text);
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}
body.command-home.mobile-nav-active .mobile-nav-hide {
color: var(--ai-text);
}
/* 点遮罩关闭:伪元素承接点击,落到 #navbar 本身 */
body.command-home.mobile-nav-active #navbar {
cursor: pointer;
}
body.command-home.mobile-nav-active #navbar > ul {
cursor: default;
}
}
@media (min-width: 1280px) {
body.command-home #navbar,
body.command-home #navbar.navbar {
position: static;
display: flex;
align-items: center;
margin-left: auto;
}
body.command-home #navbar > ul {
position: static;
display: flex;
align-items: center;
margin: 0;
padding: 0;
list-style: none;
}
body.command-home #header .site-nav-wordmark,
body.command-home #header .site-nav-wordmark:focus {
position: relative;
z-index: 4;
flex-shrink: 0;
gap: 8px;
height: 46px;
margin-right: auto;
padding: 0 2px;
border: none;
border-radius: 0;
background: transparent;
box-shadow: none;
color: var(--ai-brand);
font-size: 1.05rem;
font-weight: 750;
letter-spacing: 0.01em;
line-height: 1;
transition: color 0.18s ease, opacity 0.18s ease;
}
body.command-home .site-nav-wordmark__logo {
width: 36px;
height: 36px;
}
body.command-home .site-nav-wordmark__logo img {
width: 36px;
height: 36px;
}
body.command-home #header .site-nav-wordmark:hover,
body.command-home #header .site-nav-wordmark:focus-visible {
color: var(--ai-brand-hover);
}
body.command-home #header .site-nav-wordmark.is-active,
body.command-home #header .site-nav-wordmark.is-active:focus {
color: var(--ai-brand);
}
/* 桌面主导航:轻量文字轨 + 淡色滑块(大厂式,不做毛玻璃胶囊) */
body.command-home .site-nav-dock {
position: absolute;
left: 50%;
top: 50%;
z-index: 3;
transform: translate(-50%, -50%);
flex-direction: row;
align-items: stretch;
justify-content: center;
gap: 2px;
width: auto;
max-width: min(520px, calc(100vw - 420px));
height: 36px;
padding: 2px;
overflow: visible;
isolation: isolate;
border: none;
border-radius: 999px;
background: transparent;
box-shadow: none;
}
body.command-home .site-nav-dock__glass {
display: none;
}
body.command-home .site-nav-dock__slider {
position: absolute;
top: 2px;
bottom: 2px;
left: 0;
z-index: 1;
border-radius: 999px;
pointer-events: none;
opacity: 0;
transform: translate3d(0, 0, 0);
will-change: transform;
background: color-mix(in srgb, var(--ai-brand, #023e8a) 8%, transparent);
box-shadow: none;
}
body.command-home.site-panel-open .site-nav-dock {
box-shadow: none;
}
body.command-home.site-panel-open .site-nav-dock__slider {
background: color-mix(in srgb, var(--ai-brand, #023e8a) 12%, transparent);
box-shadow: none;
}
body.command-home #navbar .site-nav-dock a.is-panel,
body.command-home #navbar .site-nav-dock a.is-panel:focus {
color: var(--ai-text);
font-weight: 500;
}
body.command-home #navbar .site-nav-dock:hover > a {
color: inherit;
}
body.command-home #navbar .site-nav-dock a,
body.command-home #navbar .site-nav-dock a:focus {
position: relative;
z-index: 2;
flex: 0 0 auto;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0;
min-width: 0;
min-height: 0;
padding: 0 14px;
border: none;
border-radius: 999px;
color: rgba(26, 46, 56, 0.52);
font-size: 13px;
font-weight: 450;
letter-spacing: -0.01em;
white-space: nowrap;
background: transparent;
box-shadow: none;
transition: color 0.18s ease;
}
/* 桌面:纯文字,保留移动端抽屉图标 */
body.command-home .site-nav-dock__icon {
display: none;
}
body.command-home #navbar .site-nav-dock a::after {
display: none;
}
body.command-home #navbar .site-nav-dock a:hover {
color: var(--ai-text);
border-color: transparent;
background: transparent;
}
body.command-home #navbar .site-nav-dock a.active,
body.command-home #navbar .site-nav-dock a.active:focus,
body.command-home #navbar .site-nav-dock a.is-active,
body.command-home #navbar .site-nav-dock a.is-active:focus {
color: var(--ai-brand, #023e8a);
border-color: transparent;
background: transparent;
box-shadow: none;
}
body.command-home #navbar .site-nav-dock a.active:hover,
body.command-home #navbar .site-nav-dock a.is-active:hover {
color: var(--ai-brand-hover, #012a74);
border-color: transparent;
background: transparent;
}
body.command-home .site-nav-dock__icon svg {
width: 100%;
height: 100%;
display: block;
}
body.command-home .site-nav-dock__label {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
font-size: inherit;
font-weight: inherit;
line-height: 1.2;
}
body.command-home #navbar .site-nav-dock a.is-active .site-nav-dock__label {
font-weight: 500;
}
body.command-home #navbar > ul > li.site-nav-tools {
height: 32px;
gap: 6px;
padding: 0;
overflow: visible;
border: none;
border-radius: 0;
background: transparent;
opacity: 1;
box-shadow: none;
}
body.command-home #navbar > ul > li.site-nav-tools:hover,
body.command-home #navbar > ul > li.site-nav-tools:focus-within {
opacity: 1;
}
body.command-home .site-nav-tools__glass {
display: none;
}
body.command-home #navbar .site-nav-tools .site-nav-login,
body.command-home #navbar .site-nav-tools .site-nav-login:focus,
body.command-home #navbar .site-nav-tools .site-nav-login:visited {
position: relative;
z-index: 1;
height: 32px;
min-height: 32px;
padding: 0 10px;
border: none;
border-radius: 999px;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
color: var(--ai-brand, #023e8a);
font-size: 12.5px;
font-weight: 500;
letter-spacing: -0.01em;
transition: color 0.15s ease, background 0.15s ease;
}
body.command-home #navbar .site-nav-tools .site-nav-login:hover,
body.command-home #navbar .site-nav-tools .site-nav-login:focus {
color: var(--ai-brand-hover, #012a74);
border: none;
background: rgba(15, 23, 42, 0.04);
box-shadow: none;
}
body.command-home #navbar .site-nav-tools .language-toggle-link,
body.command-home #navbar .site-nav-tools .language-toggle-link:focus,
body.command-home #navbar .site-nav-tools .language-toggle-link.active,
body.command-home #navbar .site-nav-tools .language-toggle-link.active:focus {
position: relative;
z-index: 1;
height: 32px;
min-height: 32px;
padding: 0 8px;
border: none;
border-radius: 999px;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
color: rgba(26, 46, 56, 0.55);
font-size: 12px;
font-weight: 500;
transition: color 0.15s ease, background 0.15s ease;
}
body.command-home #navbar .site-nav-tools .language-toggle-link:hover,
body.command-home #navbar .site-nav-tools .language-toggle-link.active,
body.command-home #navbar .site-nav-tools .language-toggle-link.active:focus {
color: var(--ai-text);
border: none;
background: rgba(15, 23, 42, 0.04);
box-shadow: none;
}
body.command-home #navbar .site-nav-tools .site-nav-avatar,
body.command-home #navbar .site-nav-tools .site-nav-avatar:visited,
body.command-home #navbar .site-nav-tools .site-nav-avatar:hover {
position: relative;
z-index: 1;
width: 32px;
height: 32px;
border: none;
border-radius: 999px;
background: transparent;
box-shadow: none;
color: rgba(26, 46, 56, 0.55);
}
body.command-home #navbar .site-nav-tools .site-nav-avatar:hover {
color: var(--ai-text);
background: rgba(15, 23, 42, 0.04);
}
body.command-home #navbar .site-nav-tools .site-nav-avatar .site-nav-avatar__icon {
width: 16px;
height: 16px;
display: block;
}
body.command-home #navbar .site-nav-tools .language-toggle-icon {
font-size: 12px;
color: inherit;
}
body.command-home #navbar .site-nav-tools .language-toggle__next {
font-size: 11.5px;
font-weight: 500;
letter-spacing: 0.02em;
color: inherit;
}
body.command-home #navbar .language-toggle-link,
body.command-home #navbar .language-toggle-link:focus {
margin-left: 0;
}
}
@media (prefers-reduced-motion: reduce) {
body.command-home .site-nav-dock__slider {
transition: none !important;
}
}
body.command-home .mobile-nav-show,
body.command-home .mobile-nav-hide {
color: var(--ai-text);
}
body.command-home #navbar a,
body.command-home #navbar a:focus {
color: var(--ai-text-2);
}
body.command-home #navbar a:hover {
color: var(--ai-action);
}
body.command-home #navbar a.active,
body.command-home #navbar a.active:focus {
color: var(--ai-action);
}
body.command-home #navbar .site-nav-dock a:hover {
color: var(--ai-text);
}
body.command-home #navbar .site-nav-dock a.active,
body.command-home #navbar .site-nav-dock a.active:focus,
body.command-home #navbar .site-nav-dock a.is-active,
body.command-home #navbar .site-nav-dock a.is-active:focus {
color: var(--ai-brand, #023e8a);
}
body.command-home #navbar .language-toggle-link,
body.command-home #navbar .language-toggle-link:focus,
body.command-home #navbar .language-toggle-link:hover,
body.command-home #navbar .language-toggle-link.active,
body.command-home #navbar .language-toggle-link.active:focus,
body.command-home #navbar .site-nav-login,
body.command-home #navbar .site-nav-login:focus,
body.command-home #navbar .site-nav-login:hover,
body.command-home #navbar .site-nav-login:visited {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
box-sizing: border-box;
width: auto;
height: 32px;
margin: 0;
border: none;
border-radius: 999px;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
color: rgba(26, 46, 56, 0.55);
box-shadow: none;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
body.command-home #navbar .language-toggle-link,
body.command-home #navbar .language-toggle-link:focus,
body.command-home #navbar .language-toggle-link:hover,
body.command-home #navbar .language-toggle-link.active,
body.command-home #navbar .language-toggle-link.active:focus {
padding: 0 8px;
}
body.command-home #navbar .site-nav-login,
body.command-home #navbar .site-nav-login:focus,
body.command-home #navbar .site-nav-login:hover,
body.command-home #navbar .site-nav-login:visited {
padding: 0 10px;
text-decoration: none;
font-size: 12.5px;
font-weight: 500;
line-height: 1;
border: none;
background: transparent;
color: var(--ai-brand, #023e8a);
}
body.command-home .language-toggle-icon {
width: 1em;
height: 1em;
font-size: 12px;
line-height: 1;
color: inherit;
transition: color 0.15s ease;
}
body.command-home .language-toggle__next {
min-width: 1.1em;
font-size: 11.5px;
font-weight: 500;
letter-spacing: 0.02em;
line-height: 1;
color: inherit;
}
body.command-home #navbar .language-toggle-link:hover,
body.command-home #navbar .language-toggle-link.active,
body.command-home #navbar .language-toggle-link.active:focus {
border: none;
background: rgba(15, 23, 42, 0.04);
box-shadow: none;
color: var(--ai-text);
}
body.command-home #navbar .site-nav-login:hover,
body.command-home #navbar .site-nav-login:focus {
border: none;
background: rgba(15, 23, 42, 0.04);
box-shadow: none;
color: var(--ai-brand-hover, #012a74);
}
body.command-home #navbar a.language-toggle-link:hover .language-toggle-icon,
body.command-home #navbar .language-toggle-link:hover .language-toggle-icon {
transform: none;
color: inherit;
}
/* ?? Stage under header ?? */
#ai-advisor-shell {
display: none;
}
body.command-home #ai-advisor-shell {
display: block;
position: fixed;
top: var(--ai-vv-offset-top, 0px);
left: 0;
right: 0;
bottom: auto;
height: var(--ai-vv-height, 100%);
z-index: 10;
overflow: hidden;
}
.ai-shell-bg {
position: absolute;
inset: 0;
overflow: visible;
pointer-events: none;
background: var(--ai-bg);
}
.official-site > .ai-shell-bg {
position: fixed;
top: var(--ai-vv-offset-top, 0px);
left: 0;
width: 100%;
height: var(--ai-vv-height, 100%);
z-index: 0;
inset: auto;
overflow: visible;
}
.official-site > .ai-shell-bg .ai-shell-bg__paint {
position: fixed;
/* 外扩仅防视口抖动露边 */
top: calc(var(--ai-vv-offset-top, 0px) - 48px);
left: -48px;
width: calc(100vw + 96px);
height: calc(var(--ai-vv-height, 100%) + 96px);
overflow: hidden;
background: #eef1f4;
}
.official-site > .ai-shell-bg .ai-shell-bg__dots {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.official-site > #official-site-mount {
position: relative;
z-index: 1;
}
.ai-msg-row--assistant .ai-msg-bubble {
position: relative;
isolation: isolate;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 7%, transparent);
background: #fff;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.ai-composer {
position: relative;
isolation: isolate;
overflow: hidden;
min-height: 88px;
padding: 12px 14px 12px 18px;
border-radius: 22px;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 9%, transparent);
background: #fff;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.55) inset,
0 10px 28px rgba(15, 23, 42, 0.07);
transition:
border-color 0.2s var(--ai-ease),
background 0.2s var(--ai-ease),
box-shadow 0.2s var(--ai-ease);
}
.ai-composer::before {
display: none;
}
.ai-composer:focus-within {
border-color: color-mix(in srgb, var(--ai-brand, var(--ai-action)) 32%, transparent);
background: #fff;
box-shadow:
0 2px 4px rgba(15, 23, 42, 0.04),
0 12px 32px rgba(15, 23, 42, 0.09),
0 0 0 4px color-mix(in srgb, var(--ai-brand, var(--ai-action)) 12%, transparent);
}
.ai-msg-row--assistant .ai-msg-bubble:not(:has(.ai-card))::before {
display: none;
}
.ai-composer > .ai-composer-form,
.ai-msg-row--assistant .ai-msg-bubble > * {
position: relative;
z-index: 1;
}
.ai-card-opt::before {
content: none;
}
/* 顶栏/追问芯片:浅玻璃;历史侧栏走 --chat 白底列表,不套此组 */
.ai-sidebar-toggle,
.ai-new-chat-ghost,
.ai-followup-chip {
position: relative;
isolation: isolate;
border: none;
background: color-mix(in srgb, #fff 74%, #e6edf2);
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.09);
transition:
background 0.2s var(--ai-ease),
color 0.2s var(--ai-ease),
box-shadow 0.2s var(--ai-ease);
}
.ai-sidebar-toggle::before,
.ai-new-chat-ghost::before,
.ai-followup-chip::before {
content: none;
}
.ai-advisor-layout {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
height: 100%;
max-width: var(--ai-content-max);
margin: 0 auto;
padding: calc(var(--ai-header-h) + 8px) 20px 0;
box-sizing: border-box;
}
.ai-advisor-app {
position: relative;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow: visible;
/* 抵消 EdiAssistant 同名类的卡片壳/内边距,首页铺满舞台不做浮卡 */
padding: 0;
/* 给固定信任条留位,内容不被挡住 */
padding-bottom: calc(var(--ai-trust-bar-h) + env(safe-area-inset-bottom, 0px));
border: none;
border-radius: 0;
background: transparent;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-sizing: border-box;
}
/* History is a drawer, never a second brand column */
.ai-stage-tools {
position: absolute;
top: 8px;
left: 0;
z-index: 3;
display: inline-flex;
align-items: center;
gap: 2px;
padding: 0;
border: none;
border-radius: 0;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
}
.ai-stage-tools .ai-sidebar-toggle,
.ai-stage-tools .ai-new-chat-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 34px;
padding: 0 10px;
border-radius: 10px;
border: none;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
color: var(--ai-text-2);
font-size: 0.78rem;
font-weight: 600;
cursor: pointer;
}
.ai-stage-tools .ai-sidebar-toggle {
width: 34px;
padding: 0;
}
.ai-stage-tools .ai-sidebar-toggle i,
.ai-stage-tools .ai-new-chat-ghost i {
font-size: 0.95rem;
line-height: 1;
color: var(--ai-text-3);
transition: color 0.2s var(--ai-ease);
}
.ai-stage-tools .ai-sidebar-toggle:hover,
.ai-stage-tools .ai-new-chat-ghost:hover {
color: var(--ai-action);
background: transparent;
box-shadow: none;
}
.ai-stage-tools .ai-sidebar-toggle:hover i,
.ai-stage-tools .ai-new-chat-ghost:hover i {
color: var(--ai-action);
}
.ai-history-sidebar {
position: fixed;
top: calc(var(--ai-header-h) + 10px);
left: 12px;
bottom: calc(var(--ai-trust-bar-h) + 10px);
z-index: 20;
width: min(300px, calc(86vw - 24px));
display: flex;
flex-direction: column;
gap: 0;
padding: 12px 12px 16px;
border-radius: 0 20px 20px 0;
border: none;
background: #f7f8fa;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: 16px 0 40px rgba(15, 23, 42, 0.12);
transform: translateX(calc(-100% - 20px));
opacity: 0;
pointer-events: none;
transition:
transform 0.28s var(--ai-ease),
opacity 0.22s var(--ai-ease);
}
.ai-history-sidebar > * {
position: relative;
z-index: 1;
}
/* 与 OMS 小迪 --chat 侧栏同构 */
.ai-history-sidebar--chat {
--ai-hist-ink: #1d2129;
--ai-hist-muted: #86909c;
--ai-hist-line: color-mix(in srgb, var(--color-text-1, #1d2129) 8%, transparent);
}
.ai-history-sidebar__toolbar,
.ai-history-sidebar__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
margin: 0 0 10px;
padding: 2px 2px 0;
}
.ai-history-sidebar__close {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border: none;
border-radius: 10px;
background: transparent;
color: var(--ai-hist-muted, var(--ai-text-3));
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.ai-history-sidebar__close:hover {
color: var(--ai-hist-ink, var(--ai-ink));
background: rgba(15, 23, 42, 0.06);
box-shadow: none;
}
#ai-advisor-shell.ai-history-open .ai-history-sidebar {
transform: translateX(0);
opacity: 1;
pointer-events: auto;
}
.ai-history-backdrop {
display: none;
}
#ai-advisor-shell.ai-history-open .ai-history-backdrop {
display: block;
position: fixed;
inset: 0;
z-index: 19;
border: none;
background: color-mix(in srgb, var(--ai-bg) 42%, rgba(26, 46, 56, 0.08));
backdrop-filter: blur(8px) saturate(140%);
-webkit-backdrop-filter: blur(8px) saturate(140%);
cursor: pointer;
}
/* 顶栏下方居中展开:轻量白底浮层(大厂式,不做重玻璃) */
.site-nav-sheet {
position: fixed;
top: calc(var(--ai-header-h) + 8px);
left: 50%;
right: auto;
bottom: auto;
z-index: 996;
display: flex;
flex-direction: column;
width: min(960px, calc(100vw - 48px));
max-height: calc(100vh - var(--ai-header-h) - 24px);
overflow: hidden;
transform: translateX(-50%);
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 14px;
background: #fff;
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.04),
0 16px 40px rgba(15, 23, 42, 0.08);
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.site-nav-sheet--routes {
width: min(var(--ai-routes-panel-w), calc(100vw - 48px));
}
.site-nav-sheet--services {
width: min(880px, calc(100vw - 48px));
}
.site-nav-sheet--pricing,
.site-nav-sheet--about {
width: min(840px, calc(100vw - 48px));
}
.site-nav-sheet--contact {
width: min(780px, calc(100vw - 48px));
}
@media (max-width: 780px) {
.site-nav-sheet {
top: auto;
left: 12px;
right: 12px;
bottom: 12px;
width: auto;
max-height: calc(100vh - var(--ai-header-h) - 24px);
transform: none;
border-radius: 12px;
}
.site-nav-sheet--routes,
.site-nav-sheet--services,
.site-nav-sheet--pricing,
.site-nav-sheet--about,
.site-nav-sheet--contact {
width: auto;
}
.ai-guide-panel__cards {
grid-template-columns: minmax(0, 1fr);
}
}
.ai-guide-panel {
padding: 20px 22px 18px;
}
.ai-guide-panel::before {
display: none;
}
.ai-guide-panel > * {
position: relative;
z-index: 1;
}
.ai-guide-panel__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.ai-guide-panel__kicker {
margin: 0 0 4px;
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 0.04em;
text-transform: none;
color: var(--ai-text-3);
}
.ai-guide-panel__title {
margin: 0;
font-size: 1.05rem;
font-weight: 600;
letter-spacing: -0.02em;
line-height: 1.3;
color: var(--ai-ink);
}
.ai-guide-panel__close {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border-radius: 8px;
border: none;
background: transparent;
box-shadow: none;
color: var(--ai-text-3);
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease;
}
.ai-guide-panel__close:hover {
color: var(--ai-text);
border: none;
background: rgba(15, 23, 42, 0.05);
box-shadow: none;
}
.ai-guide-panel__sub {
margin: 0 0 14px;
font-size: 0.84rem;
font-weight: 400;
line-height: 1.5;
color: var(--ai-text-3);
}
.ai-guide-panel__cards {
flex: 1;
min-height: 0;
overflow-y: auto;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: start;
gap: 10px;
padding-right: 0;
scrollbar-width: none;
-ms-overflow-style: none;
}
.ai-guide-panel__cards::-webkit-scrollbar {
display: none;
}
.ai-guide-card {
position: relative;
display: grid;
grid-template-columns: 36px minmax(0, 1fr);
align-items: start;
column-gap: 12px;
min-height: 0;
padding: 14px;
border-radius: 10px;
text-align: left;
color: inherit;
cursor: pointer;
overflow: hidden;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: none;
transition:
border-color 0.15s ease,
background 0.15s ease,
box-shadow 0.15s ease,
color 0.15s ease;
}
.ai-guide-card::before,
.ai-guide-card::after {
display: none;
}
.ai-guide-card:hover,
.ai-guide-card:focus-visible {
border-color: rgba(15, 23, 42, 0.14);
background: #fff;
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
transform: none;
outline: none;
}
.ai-guide-card:hover .ai-guide-card__title,
.ai-guide-card:focus-visible .ai-guide-card__title {
color: var(--ai-brand, #023e8a);
}
.ai-guide-card__icon {
display: flex;
align-items: flex-start;
justify-content: center;
width: 36px;
margin-top: 2px;
padding: 0;
border: none;
background: none;
box-shadow: none;
color: var(--ai-brand, #023e8a);
}
.ai-guide-card__icon .ai-icon {
width: 28px;
height: 28px;
}
.ai-guide-card__copy {
min-width: 0;
display: flex;
flex-direction: column;
gap: 6px;
min-height: calc(0.92rem * 1.35 + 6px + 0.8rem * 1.55 * 2);
}
.ai-guide-card__head {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
min-height: calc(0.92rem * 1.35);
}
.ai-guide-card__tag {
flex-shrink: 0;
display: inline-flex;
align-items: center;
padding: 1px 7px;
border-radius: 999px;
border: 1px solid color-mix(in srgb, var(--ai-brand, #023e8a) 18%, transparent);
background: color-mix(in srgb, var(--ai-brand, #023e8a) 6%, #fff);
color: var(--ai-brand, #023e8a);
font-size: 0.68rem;
font-weight: 500;
letter-spacing: 0;
line-height: 1.5;
}
.ai-guide-card__title {
display: block;
min-width: 0;
margin: 0;
font-size: 0.92rem;
font-weight: 600;
line-height: 1.35;
color: var(--ai-ink);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ai-guide-card__body {
display: -webkit-box;
margin: 0;
min-height: calc(0.8rem * 1.55 * 2);
font-size: 0.8rem;
line-height: 1.55;
color: var(--ai-muted);
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
.site-topic-facts {
display: grid;
gap: 8px;
margin-bottom: 16px;
}
.site-topic-fact {
display: flex;
flex-direction: column;
gap: 4px;
padding: 12px 14px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: none;
}
.site-topic-fact strong {
font-size: 0.9rem;
font-weight: 600;
line-height: 1.35;
color: var(--ai-ink);
}
.site-topic-fact span {
font-size: 0.8rem;
line-height: 1.5;
color: var(--ai-muted);
}
.site-topic-contact {
display: grid;
grid-template-columns: 188px minmax(0, 1fr);
gap: 14px;
margin-bottom: 16px;
align-items: stretch;
}
.site-topic-qr {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 12px 12px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: none;
}
.site-topic-qr__img {
width: 168px;
height: 168px;
border-radius: 8px;
background: #fff;
object-fit: contain;
}
.site-topic-qr__hint,
.site-topic-qr__fallback {
margin: 0;
font-size: 0.75rem;
font-weight: 500;
color: var(--ai-text-3);
text-align: center;
}
.site-topic-methods {
display: grid;
gap: 8px;
}
.site-topic-method {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
width: 100%;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: none;
color: inherit;
text-align: left;
text-decoration: none;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease;
}
.site-topic-method.is-static {
cursor: default;
}
.site-topic-method:hover:not(.is-static) {
border-color: rgba(15, 23, 42, 0.14);
background: rgba(15, 23, 42, 0.02);
box-shadow: none;
}
.site-topic-method span {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.02em;
color: var(--ai-text-3);
}
.site-topic-method strong {
font-size: 0.88rem;
font-weight: 600;
line-height: 1.35;
color: var(--ai-ink);
word-break: break-all;
}
.site-topic-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-top: auto;
}
.site-topic-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 14px;
border-radius: 8px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #fff;
box-shadow: none;
color: var(--ai-brand, #023e8a);
font-size: 0.84rem;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.site-topic-btn.is-primary {
border-color: transparent;
background: var(--ai-brand, #023e8a);
color: #fff;
box-shadow: none;
}
.site-topic-btn.is-primary:hover {
background: var(--ai-brand-hover, #012a74);
filter: none;
}
.site-topic-btn.is-icon {
width: 34px;
min-width: 34px;
padding: 0;
border-color: transparent;
background: transparent;
color: var(--ai-text-3);
}
.site-topic-btn.is-icon svg {
display: block;
width: 18px;
height: 18px;
}
.site-topic-btn:hover {
filter: none;
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 28%, transparent);
background: color-mix(in srgb, var(--ai-brand, #023e8a) 5%, #fff);
}
.site-topic-btn.is-icon:hover {
filter: none;
color: var(--ai-brand, #023e8a);
border-color: transparent;
background: color-mix(in srgb, var(--ai-brand, #023e8a) 8%, transparent);
}
@media (max-width: 640px) {
.site-topic-contact {
grid-template-columns: minmax(0, 1fr);
}
}
.ai-routes-panel {
padding: 20px 22px 16px;
}
.ai-routes-panel__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.ai-routes-panel__intro {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 6px 10px;
min-width: 0;
}
.ai-routes-panel__title {
margin: 0;
font-size: 1.05rem;
font-weight: 600;
letter-spacing: -0.02em;
line-height: 1.25;
color: var(--ai-ink);
}
.ai-routes-panel__close {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border-radius: 8px;
border: none;
background: transparent;
box-shadow: none;
color: var(--ai-text-3);
cursor: pointer;
transition: color 0.15s ease, background 0.15s ease;
}
.ai-routes-panel__close:hover {
color: var(--ai-text);
border: none;
background: rgba(15, 23, 42, 0.05);
box-shadow: none;
}
.ai-routes-panel__sub {
margin: 0;
font-size: 0.8rem;
font-weight: 400;
line-height: 1.35;
color: var(--ai-text-3);
}
.ai-routes-panel__tools {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 14px;
}
.ai-routes-dests,
.ai-routes-groups,
.ai-routes-terms {
display: flex;
flex-wrap: nowrap;
gap: 6px;
overflow-x: auto;
padding-bottom: 2px;
scrollbar-width: none;
}
.ai-routes-dests::-webkit-scrollbar,
.ai-routes-groups::-webkit-scrollbar,
.ai-routes-terms::-webkit-scrollbar {
display: none;
}
.ai-routes-toolrow {
display: flex;
flex-wrap: wrap;
gap: 8px 10px;
align-items: center;
}
.ai-routes-toolrow .ai-routes-groups,
.ai-routes-toolrow .ai-routes-terms {
flex: 0 1 auto;
min-width: 0;
}
.ai-routes-search {
display: flex;
align-items: center;
gap: 8px;
min-height: 36px;
padding: 0 12px;
border-radius: 8px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #f8fafb;
box-shadow: none;
color: var(--ai-text-3);
transition: border-color 0.15s ease, background 0.15s ease;
}
.ai-routes-search:focus-within {
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 40%, transparent);
background: #fff;
}
.ai-routes-search__input {
flex: 1;
min-width: 0;
border: 0;
outline: none;
background: transparent;
color: var(--ai-text);
font-size: 0.875rem;
}
.ai-routes-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 12px;
}
.ai-routes-meta {
margin: 0;
flex-shrink: 0;
font-size: 0.75rem;
font-weight: 500;
color: var(--ai-text-3);
}
.ai-routes-pager {
display: inline-flex;
flex-shrink: 0;
align-items: center;
gap: 2px;
}
.ai-routes-pager__btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin: 0;
padding: 0;
border-radius: 6px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #fff;
box-shadow: none;
color: var(--ai-text-2);
font-size: 1rem;
font-weight: 500;
line-height: 1;
cursor: pointer;
transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.ai-routes-pager__btn:hover:not(:disabled) {
color: var(--ai-brand, #023e8a);
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 28%, transparent);
background: color-mix(in srgb, var(--ai-brand, #023e8a) 5%, #fff);
box-shadow: none;
}
.ai-routes-pager__btn:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.ai-routes-pager__label {
min-width: 3.2em;
padding: 0 4px;
text-align: center;
font-size: 0.75rem;
font-weight: 500;
color: var(--ai-text-2);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.ai-routes-sticky {
margin-left: auto;
min-height: 30px;
padding: 0 12px;
border-radius: 999px;
border: 1px solid color-mix(in srgb, var(--ai-brand, #023e8a) 22%, transparent);
background: color-mix(in srgb, var(--ai-brand, #023e8a) 6%, #fff);
box-shadow: none;
color: var(--ai-brand, #023e8a);
font-size: 0.78rem;
font-weight: 500;
cursor: pointer;
text-align: center;
white-space: nowrap;
transition: background 0.15s ease, border-color 0.15s ease;
}
.ai-routes-sticky:hover {
background: color-mix(in srgb, var(--ai-brand, #023e8a) 10%, #fff);
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 36%, transparent);
box-shadow: none;
}
.ai-routes-chip {
flex-shrink: 0;
min-height: 30px;
padding: 0 12px;
border-radius: 999px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #fff;
box-shadow: none;
color: rgba(26, 46, 56, 0.62);
font-size: 0.78rem;
font-weight: 500;
cursor: pointer;
transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ai-routes-chip:hover {
color: var(--ai-text);
border-color: rgba(15, 23, 42, 0.16);
background: rgba(15, 23, 42, 0.03);
box-shadow: none;
}
.ai-routes-chip.is-active {
color: var(--ai-brand, #023e8a);
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 28%, transparent);
background: color-mix(in srgb, var(--ai-brand, #023e8a) 8%, #fff);
box-shadow: none;
}
.ai-routes-dests .ai-routes-chip.is-active {
color: var(--ai-brand, #023e8a);
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 28%, transparent);
background: color-mix(in srgb, var(--ai-brand, #023e8a) 8%, #fff);
box-shadow: none;
}
.ai-routes-panel__body {
flex: 1;
min-height: 0;
overflow-y: auto;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: start;
gap: 10px;
scrollbar-width: thin;
}
.ai-route-card {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 0;
min-width: 0;
height: auto;
min-height: 0;
padding: 12px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #fff;
box-shadow: none;
overflow: hidden;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ai-route-card:hover {
border-color: rgba(15, 23, 42, 0.14);
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.ai-route-card__media {
flex: 0 0 96px;
width: 96px;
height: 96px;
margin: 0;
border-radius: 8px;
background: #eef2f5;
overflow: hidden;
}
.ai-route-card__cover {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.ai-route-card__body {
flex: 1 1 auto;
min-width: 0;
display: flex;
flex-direction: column;
gap: 6px;
padding: 0 0 0 12px;
}
.ai-route-card:not(.has-cover) {
padding: 14px 16px;
}
.ai-route-card:not(.has-cover) .ai-route-card__body {
padding: 0;
}
.ai-route-card__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.ai-route-card__titles {
min-width: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 8px;
}
.ai-route-card__group {
flex-shrink: 0;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.02em;
line-height: 1.3;
color: var(--ai-muted);
}
.ai-route-card__name {
margin: 0;
min-width: 0;
font-size: 0.95rem;
font-weight: 600;
line-height: 1.3;
letter-spacing: -0.01em;
color: var(--ai-text);
}
.ai-route-card__eta {
flex-shrink: 0;
margin: 0;
padding: 0;
border: 0;
background: none;
color: var(--ai-brand, #023e8a);
font-size: 0.84rem;
font-weight: 550;
line-height: 1.3;
white-space: nowrap;
text-align: right;
}
.ai-route-card__eta strong {
font-size: 0.95rem;
font-weight: 600;
letter-spacing: -0.02em;
}
.ai-route-card__eta.is-muted {
color: var(--ai-text-3);
font-weight: 500;
}
.ai-route-card__meta {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 6px;
margin: 0;
font-size: 0.8rem;
font-weight: 450;
line-height: 1.4;
color: var(--ai-text-2);
}
.ai-route-card__desc {
flex: 0 1 auto;
max-height: 3.2em;
margin: 0;
font-size: 0.8rem;
line-height: 1.45;
color: var(--ai-text-3);
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
.ai-route-card__actions {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: flex-end;
gap: 6px;
width: 100%;
min-width: 0;
margin-top: auto;
padding-top: 4px;
box-sizing: border-box;
}
.ai-route-card__ask {
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin: 0;
padding: 0;
border: 0;
border-radius: 8px;
background: transparent;
color: var(--ai-text-3);
cursor: pointer;
transition: color 0.15s ease, background 0.15s ease;
}
.ai-route-card__ask svg {
display: block;
width: 16px;
height: 16px;
}
.ai-route-card__ask:hover {
color: var(--ai-action);
background: color-mix(in srgb, var(--ai-action) 8%, transparent);
}
.ai-routes-retry {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 14px;
border-radius: 10px;
border: 0;
background: var(--ai-action);
color: #fff;
font-size: 0.84rem;
font-weight: 700;
cursor: pointer;
}
.ai-routes-retry:hover {
filter: brightness(1.06);
}
.ai-route-card__reg {
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
min-height: 28px;
max-width: calc(100% - 34px);
padding: 0 4px;
border: 0;
background: none;
color: var(--ai-text-3);
font-size: 0.78rem;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
text-decoration: none;
cursor: pointer;
}
.ai-routes-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 28px;
padding: 0 2px;
border: 0;
background: none;
color: var(--ai-text-3);
font-size: 0.78rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}
.ai-route-card__reg:hover,
.ai-routes-ghost:hover {
color: var(--ai-action);
text-decoration: underline;
}
.ai-routes-state {
grid-column: 1 / -1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 220px;
padding: 24px 16px;
text-align: center;
}
.ai-routes-state__title {
margin: 0;
font-size: 1rem;
font-weight: 750;
color: var(--ai-ink);
}
.ai-routes-state__text {
margin: 0;
max-width: 36ch;
font-size: 0.86rem;
line-height: 1.45;
color: var(--ai-text-3);
}
.ai-routes-state__actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px 14px;
margin-top: 4px;
}
.ai-routes-skeleton {
width: min(100%, 420px);
height: 72px;
border-radius: 14px;
background: linear-gradient(
90deg,
color-mix(in srgb, var(--ai-border) 35%, #fff) 0%,
color-mix(in srgb, var(--ai-border) 18%, #fff) 50%,
color-mix(in srgb, var(--ai-border) 35%, #fff) 100%
);
background-size: 200% 100%;
animation: ai-routes-shimmer 1.2s ease-in-out infinite;
}
@keyframes ai-routes-shimmer {
0% {
background-position: 100% 0;
}
100% {
background-position: -100% 0;
}
}
.ai-history-sidebar__title {
margin: 0;
padding: 0;
font-size: 1rem;
font-weight: 750;
letter-spacing: -0.02em;
text-transform: none;
color: var(--ai-hist-ink, var(--ai-ink));
}
.ai-new-chat-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
width: 100%;
min-height: 42px;
margin: 0 0 10px;
padding: 0 12px;
border: 1px solid var(--ai-hist-line, color-mix(in srgb, #1d2129 8%, transparent));
border-radius: 12px;
background: #fff;
color: var(--ai-hist-ink, var(--ai-ink));
font-size: 0.84rem;
font-weight: 600;
box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.ai-new-chat-btn.ai-new-chat-btn--block {
width: auto;
align-self: stretch;
}
.ai-new-chat-btn i {
font-size: 0.95rem;
line-height: 1;
color: var(--app-primary-color, var(--ai-action));
transition: color 0.15s ease;
}
.ai-new-chat-btn:hover {
border-color: color-mix(in srgb, var(--app-primary-color, var(--ai-action)) 35%, transparent);
background: color-mix(in srgb, var(--app-primary-color, var(--ai-action)) 6%, #fff);
color: var(--app-primary-color, var(--ai-action));
box-shadow: none;
}
.ai-new-chat-btn:hover i {
color: var(--app-primary-color, var(--ai-action));
}
.ai-new-chat-btn:active {
transform: scale(0.985);
}
.ai-history-list {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 2px;
padding: 0;
scrollbar-width: none;
-ms-overflow-style: none;
}
.ai-history-list::-webkit-scrollbar {
display: none;
}
.ai-history-empty {
margin: 18px 4px 0;
text-align: center;
font-size: 0.84rem;
color: var(--ai-hist-muted, var(--ai-muted));
}
.ai-history-item {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 10px 8px;
border: none;
border-radius: 12px;
background: transparent;
box-shadow: none;
text-align: left;
cursor: pointer;
color: inherit;
transition: background 0.15s ease;
}
.ai-history-item:hover {
background: rgba(15, 23, 42, 0.045);
box-shadow: none;
}
.ai-history-item.is-active {
background: color-mix(in srgb, var(--app-primary-color, var(--ai-action)) 10%, #fff);
box-shadow: none;
}
.ai-history-item.is-active .ai-history-item__title {
color: var(--ai-hist-ink, var(--ai-ink));
}
.ai-history-item__icon {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 30px;
height: 30px;
border-radius: 9px;
background: rgba(15, 23, 42, 0.05);
color: var(--ai-hist-muted, var(--ai-muted));
}
.ai-history-item.is-active .ai-history-item__icon {
background: color-mix(in srgb, var(--app-primary-color, var(--ai-action)) 14%, transparent);
color: var(--app-primary-color, var(--ai-action));
}
.ai-history-item__icon .si {
font-size: 14px;
}
.ai-history-item__body {
min-width: 0;
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
.ai-history-item__title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
font-size: 0.88rem;
font-weight: 600;
line-height: 1.35;
color: var(--ai-hist-ink, var(--ai-ink));
overflow: hidden;
white-space: normal;
}
.ai-history-item__time {
display: block;
margin-top: 0;
font-size: 0.72rem;
color: var(--ai-hist-muted, var(--ai-muted));
}
/* ?? Welcome / command doors ?? */
.ai-app-main {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 10px 0 16px;
scroll-behavior: smooth;
overscroll-behavior: contain;
scrollbar-width: none;
-ms-overflow-style: none;
}
/* 会话态给顶栏工具留空,避免压住首条消息 */
#ai-advisor-shell:has(.ai-stage-tools) .ai-app-main {
padding-top: 52px;
}
.ai-app-main::-webkit-scrollbar {
width: 0;
height: 0;
display: none;
}
/* 首页 hero 仅含飞机/提问;精选与意图条已拆到 app-main 通栏 */
.ai-welcome {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
flex: 0 0 auto;
width: 100%;
max-width: var(--ai-content-max);
margin-inline: auto;
padding: clamp(4px, 1.2vh, 16px) 0 4px;
box-sizing: border-box;
animation: none;
}
.ai-welcome.is-hidden {
display: none;
}
/* 首页入场:飞机 → 跑道 → 输入台 → 精选 → 意图 → 合作伙伴 */
@keyframes ai-welcome-rise {
from {
opacity: 0;
transform: translate3d(0, 12px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
.ai-welcome-plane,
.ai-welcome-title-wrap,
.ai-composer-slot--welcome,
.ai-featured-routes,
.ai-intent-section {
animation: ai-welcome-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ai-welcome-plane {
animation-delay: 0s;
}
.ai-welcome-title-wrap {
animation-delay: 0.06s;
}
.ai-composer-slot--welcome {
animation-delay: 0.1s;
}
.ai-featured-routes {
animation-delay: 0.24s;
}
.ai-intent-section {
animation-delay: 0.32s;
}
.ai-welcome__hero {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
flex: 0 0 auto;
width: 100%;
max-width: var(--ai-content-max);
margin-inline: auto;
gap: 6px;
padding: 0 0 4px;
isolation: isolate;
}
/* Hero no longer owns the atmosphere ? page shell does */
.ai-welcome__hero::before,
.ai-welcome__hero::after {
content: none;
display: none;
}
body.command-home #navbar .site-nav-avatar,
body.command-home #navbar .site-nav-avatar:visited {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: 0;
border-radius: 50%;
border: 1px solid var(--ai-glass-border);
background: var(--ai-glass-fill);
box-shadow: var(--ai-glass-shadow);
color: inherit;
text-decoration: none;
}
body.command-home #navbar .site-nav-avatar .site-nav-avatar__icon {
width: 18px;
height: 18px;
display: block;
}
body.command-home #navbar .site-nav-avatar:hover {
border-color: rgba(255, 255, 255, 0.94);
box-shadow: var(--ai-glass-shadow);
}
.ai-welcome__stack {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
width: 100%;
max-width: var(--ai-content-max);
margin-inline: auto;
margin-top: 4px;
border: none;
border-radius: 0;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: none;
overflow: visible;
}
.ai-welcome-title-wrap {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin: 2px auto 0;
min-height: 64px;
box-sizing: border-box;
}
.ai-welcome-title-wrap .ai-runway {
display: block;
margin-left: auto !important;
margin-right: auto !important;
max-width: min(1100px, 98%);
}
.ai-welcome-cta-row {
display: none;
}
/* Stripe / Linear 式主 CTA:放在输入台右下角原发送位(压过 .ai-ask__cta--solid 黑底) */
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta {
position: static;
flex-shrink: 0;
gap: 7px;
min-height: 34px;
margin: 0;
padding: 0 14px 0 16px;
border: 1px solid color-mix(in srgb, var(--ai-accent, #f56668) 78%, #fff);
border-radius: 999px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 48%),
var(--ai-accent, #f56668);
color: #fff;
font-size: 0.86rem;
font-weight: 700;
letter-spacing: 0.01em;
opacity: 1;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.22) inset,
0 1px 2px rgba(15, 23, 42, 0.06),
0 8px 20px rgba(var(--ai-accent-rgb, 245, 102, 104), 0.28);
transform: translateY(0);
transition:
background 0.18s var(--ai-ease),
border-color 0.18s var(--ai-ease),
box-shadow 0.18s var(--ai-ease),
transform 0.18s var(--ai-ease);
}
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:hover,
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:focus-visible {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 50%),
var(--ai-accent-hover, #e25557);
border-color: color-mix(in srgb, var(--ai-accent-hover, #e25557) 82%, #fff);
color: #fff;
text-decoration: none;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.26) inset,
0 2px 4px rgba(15, 23, 42, 0.08),
0 12px 28px rgba(var(--ai-accent-rgb, 245, 102, 104), 0.36);
transform: translateY(-1px);
}
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:active {
transform: translateY(0);
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.16) inset,
0 4px 12px rgba(var(--ai-accent-rgb, 245, 102, 104), 0.24);
}
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:focus-visible {
outline: none;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.26) inset,
0 0 0 3px color-mix(in srgb, var(--ai-accent, #f56668) 28%, transparent),
0 12px 28px rgba(var(--ai-accent-rgb, 245, 102, 104), 0.36);
}
.ai-welcome-cta__arrow {
display: block;
flex-shrink: 0;
width: 15px;
height: 15px;
opacity: 0.92;
transition: transform 0.18s var(--ai-ease), opacity 0.18s var(--ai-ease);
}
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:hover .ai-welcome-cta__arrow,
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:focus-visible .ai-welcome-cta__arrow {
transform: translateX(3px);
opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta,
.ai-welcome-cta__arrow {
transition: none;
}
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:hover,
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:focus-visible,
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:active {
transform: none;
}
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:hover .ai-welcome-cta__arrow,
.ai-ask__cta.ai-ask__cta--solid.ai-welcome-cta:focus-visible .ai-welcome-cta__arrow {
transform: none;
}
}
.ai-welcome-subtitle {
display: none;
}
/* canvas 标题的无障碍文案 */
.ai-welcome-title--sr {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.ai-welcome__command {
padding: 0 2px;
border-top: none;
background: transparent;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 12px;
width: 100%;
}
/* 提问区:铺在首页上,不做浮窗/玻璃卡片 */
.ai-ask {
position: relative;
isolation: isolate;
display: flex;
flex-direction: column;
align-items: center;
overflow: visible;
margin: 0;
padding: 4px 4px 2px;
border-radius: 0;
border: none;
background: transparent;
box-shadow: none;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.ai-ask__bar {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
min-width: 0;
margin: 0;
}
.ai-ask__cta {
flex-shrink: 0;
color: var(--ai-accent, #f56668);
font-size: 0.7rem;
font-weight: 650;
letter-spacing: 0.01em;
line-height: 1;
text-decoration: none;
white-space: nowrap;
opacity: 0.92;
}
.ai-ask__cta:hover,
.ai-ask__cta:focus-visible {
text-decoration: underline;
text-underline-offset: 3px;
opacity: 1;
}
/* 实心 CTA:黑底白字 */
.ai-ask__cta--solid {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 0 14px;
border-radius: 999px;
background: #121820;
color: #fff;
font-size: 0.78rem;
font-weight: 650;
letter-spacing: 0.01em;
text-decoration: none;
opacity: 1;
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
transition:
background 0.16s var(--ai-ease),
box-shadow 0.16s var(--ai-ease),
transform 0.16s var(--ai-ease);
}
.ai-ask__cta--solid:hover,
.ai-ask__cta--solid:focus-visible {
background: #000;
color: #fff;
text-decoration: none;
box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}
.ai-ask__cta--solid:active {
transform: translateY(0.5px);
}
.ai-ask__dests {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 0;
min-width: 0;
margin: 0;
overflow-x: auto;
scrollbar-width: none;
}
.ai-ask__dests::-webkit-scrollbar {
display: none;
}
/* 目的地:无胶囊,字标 + 细竖线分隔(与合作伙伴条同套路) */
.ai-ask__dest {
position: relative;
flex: 0 0 auto;
min-height: 28px;
margin: 0;
padding: 0 12px;
border: 0;
border-radius: 0;
background: transparent;
color: var(--ai-text-3, #6a7380);
font: inherit;
font-size: 0.78rem;
font-weight: 550;
line-height: 1;
letter-spacing: 0.01em;
white-space: nowrap;
cursor: pointer;
box-shadow: none;
transition:
color 0.15s var(--ai-ease),
opacity 0.15s var(--ai-ease);
}
.ai-ask__dest + .ai-ask__dest {
box-shadow: inset 1px 0 0 color-mix(in srgb, var(--ai-border, #c9d0d6) 55%, transparent);
}
.ai-ask__dest:hover:not(:disabled) {
color: var(--ai-text, #121820);
background: transparent;
border: 0;
}
.ai-ask__dest:focus-visible {
outline: none;
color: var(--ai-text, #121820);
box-shadow: inset 1px 0 0 color-mix(in srgb, var(--ai-border, #c9d0d6) 55%, transparent);
}
.ai-ask__dest:first-child:focus-visible {
box-shadow: none;
}
.ai-ask__dest[aria-pressed='true'] {
color: var(--ai-accent, #f56668);
border: 0;
background: transparent;
font-weight: 700;
box-shadow: inset 1px 0 0 color-mix(in srgb, var(--ai-border, #c9d0d6) 55%, transparent);
}
.ai-ask__dest:first-child[aria-pressed='true'] {
box-shadow: none;
}
.ai-ask__dest[aria-pressed='true']::after {
content: '';
position: absolute;
left: 12px;
right: 12px;
bottom: 2px;
height: 2px;
border-radius: 999px;
background: color-mix(in srgb, var(--ai-accent, #f56668) 82%, transparent);
pointer-events: none;
}
.ai-ask__dest:disabled {
opacity: 0.45;
cursor: not-allowed;
}
/* 首页:主区不吃满高度,精选紧跟输入台;信任条已 fixed 贴底 */
body.command-home #ai-advisor-shell:not(:has(.ai-stage-tools)) .ai-app-main {
flex: 0 0 auto;
overflow: visible;
padding-bottom: 0;
}
body.command-home #ai-advisor-shell:not(:has(.ai-stage-tools)) .ai-composer-dock {
margin-top: 0;
min-height: 0;
}
/* 底栏:与主内容同宽居中(宽屏不再 100vw 通栏脱出) */
.ai-home-bottom {
--ai-home-rail-pad: clamp(12px, 1.6vw, 28px);
position: relative;
display: flex;
flex-direction: column;
flex-shrink: 0;
gap: 10px;
width: 100%;
max-width: var(--ai-content-max, 1200px);
/* 相对原 clamp 顶距整体上移 50px */
margin: calc(clamp(14px, 2.2vh, 24px) - 50px) auto 0;
padding: 0 0 4px;
box-sizing: border-box;
isolation: isolate;
}
.ai-home-bottom > .ai-featured-routes,
.ai-home-bottom > .ai-intent-section {
width: 100%;
max-width: none;
margin-left: 0;
margin-right: 0;
}
/* 履约/权益条:一排全展示,不做跑马灯;独立合成层,不跟封面流一起抖 */
.ai-intent-section {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
flex-shrink: 0;
min-width: 0;
margin-top: 0;
padding: 0 var(--ai-home-rail-pad, 16px) 2px;
overflow: visible;
isolation: isolate;
transform: translateZ(0);
contain: layout paint style;
}
/* 精选线路:竖版封面流(加宽、高度克制 + 大幅后仰 + 中心正对)
overflow 必须裁切:3D translateZ/rotateY 否则会撑祖先 scrollHeight,下方意图条跟着抖 */
.ai-featured-routes {
--ai-featured-card-w: min(17.5rem, 42vw);
--ai-featured-card-h: min(17rem, 34vh);
--ai-featured-head-pad: var(--ai-home-rail-pad, 16px);
--ai-featured-stage-h: calc(var(--ai-featured-card-h) + 2.6rem);
--ai-featured-perspective: 980px;
--ai-featured-radius: 20px;
position: relative;
z-index: 0;
flex-shrink: 0;
min-width: 0;
margin-top: 100px;
padding: 4px 0 0;
overflow: hidden;
isolation: isolate;
transform: translateZ(0);
contain: layout style;
}
.ai-featured-routes__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 0;
padding: 0 var(--ai-featured-head-pad) 10px;
box-sizing: border-box;
}
.ai-featured-routes__heading {
display: inline-flex;
align-items: baseline;
gap: 8px;
min-width: 0;
}
.ai-featured-routes__title {
margin: 0;
font-size: 0.92rem;
font-weight: 500;
letter-spacing: 0.01em;
color: var(--ai-text-3);
}
.ai-featured-routes__actions {
display: inline-flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}
.ai-featured-routes__nav {
display: inline-flex;
align-items: center;
gap: 6px;
}
.ai-featured-routes__nav-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin: 0;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.7);
border-radius: 999px;
background: color-mix(in srgb, #fff 88%, transparent);
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
color: var(--ai-action);
font-size: 1.05rem;
line-height: 1;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.ai-featured-routes__nav-btn:hover:not(:disabled) {
background: color-mix(in srgb, #fff 72%, transparent);
}
.ai-featured-routes__nav-btn:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.ai-featured-routes__all {
display: inline-flex;
align-items: center;
gap: 4px;
margin: 0;
padding: 0;
border: 0;
background: transparent;
color: var(--ai-text-3);
font-size: 0.82rem;
font-weight: 500;
line-height: 1.3;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.ai-featured-routes__all:hover {
opacity: 0.84;
}
.ai-featured-routes__all:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.ai-featured-routes__rail {
position: relative;
box-sizing: border-box;
width: 100%;
min-width: 0;
padding: 0.2rem var(--ai-featured-head-pad) 0.1rem;
overflow: hidden;
isolation: isolate;
}
.ai-featured-routes__stage {
position: relative;
width: 100%;
height: var(--ai-featured-stage-h);
margin: 0;
padding: 0;
list-style: none;
outline: none;
box-sizing: border-box;
/* 舞台本身勿 overflow/transform:会把 preserve-3d 打平;裁切交给 __rail */
perspective: var(--ai-featured-perspective);
perspective-origin: 50% 48%;
transform-style: preserve-3d;
touch-action: pan-y;
user-select: none;
-webkit-user-select: none;
cursor: grab;
}
.ai-featured-routes__stage:active {
cursor: grabbing;
}
.ai-featured-routes__stage:focus-visible {
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ai-action) 35%, transparent);
border-radius: var(--ai-featured-radius);
}
.ai-featured-routes__item {
position: absolute;
top: 48%;
left: 50%;
box-sizing: border-box;
width: var(--ai-featured-card-w);
max-width: var(--ai-featured-card-w);
min-width: 0;
margin: 0;
padding: 0;
transform-style: preserve-3d;
/* 勿常驻 will-change:会把整排永久提到合成层,切换时连带下方意图条重绘抖动 */
transition:
transform 0.66s cubic-bezier(0.32, 0.72, 0, 1),
opacity 0.45s ease;
overflow: visible;
/* 勿在此元素上用 filter:会打平 3D,侧卡后仰失效 */
}
.ai-featured-routes__item.is-active {
z-index: 60;
}
.ai-featured-routes__item.is-active .ai-featured-routes__card {
border-color: rgba(255, 255, 255, 0.95);
/* 只用 color,避免 background 简写冲掉封面 background-image / size */
background-color: #fff;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 1),
0 18px 42px rgba(15, 23, 42, 0.14),
0 0 0 1px color-mix(in srgb, var(--ai-action) 14%, transparent);
}
.ai-featured-routes__item.is-active .ai-featured-routes__card.has-cover {
background-color: #0c1118;
border: none;
box-shadow:
0 2px 6px rgba(8, 12, 20, 0.14),
0 18px 40px rgba(8, 12, 20, 0.28);
}
.ai-featured-routes__item.is-active .ai-featured-routes__card::after {
opacity: 0;
}
.ai-featured-routes__item.is-active .ai-featured-routes__media,
.ai-featured-routes__card.has-cover:hover .ai-featured-routes__media {
transform: scale(1.08);
}
.ai-featured-routes__skel {
width: 100%;
min-height: var(--ai-featured-card-h);
height: var(--ai-featured-card-h);
aspect-ratio: 16 / 15;
border-radius: var(--ai-featured-radius);
background: linear-gradient(
160deg,
rgba(255, 255, 255, 0.5) 0%,
rgba(255, 255, 255, 0.78) 48%,
rgba(255, 255, 255, 0.42) 100%
);
background-size: 200% 100%;
animation: ai-routes-shimmer 1.2s ease-in-out infinite;
}
.ai-featured-routes__card {
position: relative;
z-index: 0;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
gap: 0;
box-sizing: border-box;
width: 100%;
aspect-ratio: 16 / 15;
min-width: 0;
min-height: var(--ai-featured-card-h);
height: var(--ai-featured-card-h);
margin: 0;
padding: 1rem 1.1rem 1.05rem;
border: 1px solid rgba(255, 255, 255, 0.78);
border-radius: var(--ai-featured-radius);
/* 不用 backdrop-filter:3D 变换下会把字一起糊掉 */
background: color-mix(in srgb, #fff 88%, #e8eef2);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.95),
0 8px 22px rgba(15, 23, 42, 0.09);
color: inherit;
font: inherit;
text-align: left;
cursor: pointer;
overflow: hidden;
isolation: isolate;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: geometricPrecision;
transition:
background 0.22s ease,
border-color 0.22s ease,
box-shadow 0.22s ease;
-webkit-tap-highlight-color: transparent;
}
/* 首页提问区保持开放,禁止再加玻璃模糊变成浮卡 */
body.command-home .ai-ask {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* 防助手 CSS 串回欢迎态;主输入台加宽加高 */
body.command-home .ai-composer-slot--welcome .ai-composer-wrap {
max-width: min(970px, 100%) !important;
width: 100% !important;
margin-inline: auto !important;
padding: 0 !important;
}
body.command-home .ai-composer-slot--welcome .ai-composer {
min-height: 170px !important;
padding: 20px 20px 16px !important;
border-radius: 28px !important;
}
/* 封面媒体层:独立缩放 + 就绪后淡入,避免先黑一块 */
.ai-featured-routes__media {
position: absolute;
inset: 0;
z-index: 0;
border-radius: inherit;
pointer-events: none;
background-color: #0c1118;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0;
transform: scale(1.03);
transform-origin: center;
transition:
transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
opacity 0.28s ease;
}
.ai-featured-routes__media.is-ready {
opacity: 1;
}
.ai-featured-routes__card.has-cover {
justify-content: flex-end;
padding: 1rem 1rem 1.05rem;
background-color: #0c1118;
border: none;
box-shadow:
0 1px 2px rgba(8, 12, 20, 0.12),
0 10px 28px rgba(8, 12, 20, 0.2);
color: #fff;
}
.ai-featured-routes__card::before {
content: '';
position: absolute;
inset: 0;
z-index: 0;
border-radius: inherit;
pointer-events: none;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.62) 0%,
rgba(255, 255, 255, 0.12) 38%,
transparent 58%,
rgba(15, 23, 42, 0.04) 100%
);
}
/* 电影感 scrim:上部多留图,只压底部叠字区 */
.ai-featured-routes__card.has-cover::before {
z-index: 1;
background:
radial-gradient(130% 100% at 50% 35%, transparent 55%, rgba(8, 12, 20, 0.22) 100%),
linear-gradient(
180deg,
rgba(8, 12, 20, 0.16) 0%,
transparent 32%,
transparent 52%,
rgba(8, 12, 20, 0.38) 72%,
rgba(8, 12, 20, 0.72) 100%
);
}
/* 侧卡压暗蒙层 */
.ai-featured-routes__card::after {
content: '';
position: absolute;
inset: 0;
z-index: 2;
border-radius: inherit;
pointer-events: none;
background: rgba(15, 23, 42, var(--cover-dim, 0.28));
opacity: 1;
transition: opacity 0.35s ease, background 0.35s ease;
}
.ai-featured-routes__card > *:not(.ai-featured-routes__media) {
position: relative;
z-index: 1;
}
/* 有封面:必须保持 absolute,否则空 media 被 >* 改成 relative 后高度为 0 */
.ai-featured-routes__card.has-cover > .ai-featured-routes__media {
position: absolute;
z-index: 0;
}
.ai-featured-routes__card.has-cover > *:not(.ai-featured-routes__media) {
z-index: 3;
}
.ai-featured-routes__card:hover {
background-color: color-mix(in srgb, #fff 66%, transparent);
border-color: rgba(255, 255, 255, 0.86);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.9),
0 10px 26px rgba(15, 23, 42, 0.1);
}
.ai-featured-routes__card.has-cover:hover {
background-color: #0c1118;
border: none;
box-shadow:
0 2px 6px rgba(8, 12, 20, 0.16),
0 16px 36px rgba(8, 12, 20, 0.26);
}
.ai-featured-routes__card:disabled {
opacity: 0.55;
cursor: not-allowed;
}
/* 上:目的地 + 时效(横排);有封面时改为角标时效 */
.ai-featured-routes__card-top {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
gap: 0.5rem;
min-width: 0;
flex-shrink: 0;
}
.ai-featured-routes__card.has-cover .ai-featured-routes__card-top {
position: absolute;
top: 0.85rem;
left: 0.9rem;
right: 0.9rem;
z-index: 3;
}
.ai-featured-routes__top-spacer {
flex: 1 1 auto;
min-width: 0;
}
.ai-featured-routes__dest {
min-width: 0;
flex: 1 1 auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-top: 0.12rem;
font-size: 0.72rem;
font-weight: 650;
letter-spacing: 0.01em;
text-transform: none;
color: var(--ai-muted, #6a7380);
}
.ai-featured-routes__dest.is-on-cover {
flex: 0 1 auto;
max-width: min(58%, 9.5rem);
padding: 0.18rem 0.55rem;
border-radius: 999px;
background: rgba(12, 16, 24, 0.5);
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.18),
0 4px 14px rgba(0, 0, 0, 0.18);
color: rgba(255, 255, 255, 0.92);
font-size: 0.68rem;
font-weight: 650;
line-height: 1.25;
}
.ai-featured-routes__card.has-cover .ai-featured-routes__name,
.ai-featured-routes__card.has-cover .ai-featured-routes__desc {
color: #fff;
}
.ai-featured-routes__eta {
flex-shrink: 0;
padding: 0.18rem 0.55rem;
border-radius: 999px;
background: color-mix(in srgb, var(--ai-action) 12%, #fff);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai-action) 14%, transparent);
font-size: 0.8rem;
font-weight: 780;
line-height: 1.2;
color: var(--ai-action);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.ai-featured-routes__eta em {
margin-left: 2px;
font-style: normal;
font-weight: 600;
font-size: 0.7rem;
color: var(--ai-text-3, #6a7380);
}
/* 中:产品名撑住视觉重心;有封面时贴底 */
.ai-featured-routes__card-mid {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1 1 auto;
min-width: 0;
min-height: 0;
margin-top: 0.55rem;
padding-bottom: 0.45rem;
}
.ai-featured-routes__card.has-cover .ai-featured-routes__card-mid {
flex: 0 0 auto;
justify-content: flex-end;
margin-top: 0;
padding-bottom: 0.15rem;
}
.ai-featured-routes__name {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
margin: 0;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal;
font-size: 1.08rem;
font-weight: 800;
line-height: 1.28;
letter-spacing: -0.02em;
color: var(--ai-action);
}
.ai-featured-routes__card.has-cover .ai-featured-routes__name {
-webkit-line-clamp: 2;
line-clamp: 2;
letter-spacing: -0.028em;
text-shadow:
0 1px 1px rgba(0, 0, 0, 0.4),
0 10px 28px rgba(0, 0, 0, 0.45);
}
.ai-featured-routes__card.has-cover .ai-featured-routes__eta {
padding: 0.22rem 0.62rem;
background: rgba(12, 16, 24, 0.52);
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.2),
0 4px 14px rgba(0, 0, 0, 0.22);
backdrop-filter: none;
color: #fff;
}
.ai-featured-routes__card.has-cover .ai-featured-routes__eta em {
color: rgba(255, 255, 255, 0.76);
}
.ai-featured-routes__card.has-cover .ai-featured-routes__card-foot {
border-top: none;
padding-top: 0.28rem;
}
.ai-featured-routes__card.has-cover .ai-featured-routes__chip {
padding: 0.14rem 0.5rem;
background: rgba(255, 255, 255, 0.12);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
color: rgba(255, 255, 255, 0.9);
}
.ai-featured-routes__ask-hint {
display: inline-flex;
align-items: center;
margin-top: 0.15rem;
font-size: 0.68rem;
font-weight: 650;
letter-spacing: 0.01em;
line-height: 1.3;
color: color-mix(in srgb, var(--ai-action) 78%, #fff);
}
.ai-featured-routes__card.has-cover .ai-featured-routes__ask-hint {
color: rgba(255, 255, 255, 0.78);
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.ai-featured-routes__item:not(.is-active) .ai-featured-routes__ask-hint {
display: none;
}
/* 有封面时精简信息:不再展示长说明 */
.ai-featured-routes__card.has-cover .ai-featured-routes__desc {
display: none;
}
/* 下:条款 chip + 简述 */
.ai-featured-routes__card-foot {
display: flex;
flex-direction: column;
gap: 0.45rem;
min-width: 0;
flex-shrink: 0;
padding-top: 0.7rem;
border-top: 1px solid color-mix(in srgb, var(--ai-text-3, #6a7380) 14%, transparent);
}
.ai-featured-routes__meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem;
min-width: 0;
}
.ai-featured-routes__chip {
display: inline-flex;
align-items: center;
max-width: 100%;
padding: 0.12rem 0.45rem;
border-radius: 999px;
background: color-mix(in srgb, #fff 55%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ai-text-3, #6a7380) 16%, transparent);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.68rem;
font-weight: 650;
line-height: 1.35;
color: var(--ai-text-3, #6a7380);
}
.ai-featured-routes__desc {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
margin: 0;
min-width: 0;
max-height: calc(1.4em * 2);
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
overflow-wrap: anywhere;
font-size: 0.72rem;
font-weight: 500;
line-height: 1.4;
color: color-mix(in srgb, var(--ai-text-3, #6a7380) 82%, #fff);
}
/* 参考图:竖刻度指示条
高度必须钉死:active 点 height 10↔16 过渡时若容器跟着塌,整段 featured 变矮,意图条会上下抖 */
.ai-featured-routes__dots {
position: relative;
z-index: 9;
display: flex;
align-items: flex-end;
justify-content: center;
gap: 5px;
box-sizing: border-box;
width: 100%;
height: 22px;
min-height: 22px;
margin: 0.05rem 0 0;
padding: 0.2rem 0 0.1rem;
overflow: hidden;
flex-shrink: 0;
}
.ai-featured-routes__dot {
width: 2px;
height: 10px;
margin: 0;
padding: 0;
border: 0;
border-radius: 1px;
background: color-mix(in srgb, var(--ai-text-3, #6a7380) 28%, transparent);
cursor: pointer;
transform-origin: bottom center;
transition:
transform 0.28s cubic-bezier(0.32, 0.72, 0, 1),
background 0.22s ease,
opacity 0.22s ease;
-webkit-tap-highlight-color: transparent;
}
.ai-featured-routes__dot.is-active {
height: 10px;
transform: scaleY(1.6);
background: var(--ai-action);
}
.ai-featured-routes__dot:disabled {
cursor: not-allowed;
opacity: 0.5;
}
@media (prefers-reduced-motion: reduce) {
.ai-featured-routes__item,
.ai-featured-routes__dot {
transition-duration: 0.01ms;
}
.ai-featured-routes__media,
.ai-featured-routes__item.is-active .ai-featured-routes__media,
.ai-featured-routes__card.has-cover:hover .ai-featured-routes__media {
transform: none;
transition: opacity 0.01ms linear;
}
}
@media (max-width: 980px) {
.ai-featured-routes {
--ai-featured-card-w: min(15.5rem, 46vw);
--ai-featured-card-h: min(15.25rem, 32vh);
--ai-featured-perspective: 1050px;
}
}
@media (max-width: 720px) {
.ai-featured-routes {
--ai-featured-card-w: min(14rem, 58vw);
--ai-featured-card-h: min(14rem, 32vh);
--ai-featured-stage-h: calc(var(--ai-featured-card-h) + 2.3rem);
}
.ai-featured-routes__name {
font-size: 1rem;
-webkit-line-clamp: 2;
line-clamp: 2;
}
}
@media (max-width: 520px) {
.ai-featured-routes {
--ai-featured-card-w: min(13.25rem, 72vw);
--ai-featured-card-h: min(13.25rem, 34vh);
--ai-featured-perspective: 900px;
--ai-featured-radius: 18px;
}
}
/* 单行入口:七项均分全显;正反梯形咬合 + 液态玻璃 */
.ai-intent-ribbon {
--ai-ribbon-cut: 9px;
--ai-ribbon-overlap: 9px;
--ai-ribbon-end-r: 12px;
--ai-ribbon-light: color-mix(in srgb, #fff 46%, transparent);
--ai-ribbon-soft: color-mix(in srgb, var(--ai-accent, #f56668) 10%, color-mix(in srgb, #fff 42%, transparent));
position: relative;
display: flex;
align-items: stretch;
flex-wrap: nowrap;
gap: 0;
width: 100%;
min-width: 0;
height: 46px;
margin: 0;
padding: 0;
border: 0;
background: transparent;
box-shadow: none;
overflow: visible;
isolation: isolate;
filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45));
}
.ai-intent-ribbon__item {
position: relative;
flex: 1 1 0;
display: block;
min-width: 0;
max-width: none;
height: 100%;
margin: 0 0 0 calc(var(--ai-ribbon-overlap) * -1);
padding: 0;
border: 0;
background: transparent;
color: #1c2530;
font: inherit;
text-align: center;
cursor: pointer;
}
.ai-intent-ribbon__item:first-child {
margin-left: 0;
}
/* face 承担裁切与液态玻璃底;hint 在裁切外,避免被 clip 掉 */
.ai-intent-ribbon__face {
position: absolute;
inset: 0;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 0 calc(var(--ai-ribbon-cut) + 6px);
color: inherit;
border: 1px solid rgba(255, 255, 255, 0.55);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
/* blur 改由 command-home 叠色承担,避免 clip-path + blur 合层卡顿 */
backdrop-filter: none;
-webkit-backdrop-filter: none;
transition:
background 0.18s var(--ai-ease),
border-color 0.18s var(--ai-ease),
color 0.18s var(--ai-ease);
}
.ai-intent-ribbon__item:first-child .ai-intent-ribbon__face {
padding-left: 18px;
}
.ai-intent-ribbon__item:last-child .ai-intent-ribbon__face {
padding-right: 18px;
}
/* 奇数:正梯形 · 亮玻璃 */
.ai-intent-ribbon__item:nth-child(odd) .ai-intent-ribbon__face {
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.5) 0%,
rgba(255, 255, 255, 0.08) 42%,
transparent 70%
),
var(--ai-ribbon-light);
clip-path: polygon(
var(--ai-ribbon-cut) 0,
calc(100% - var(--ai-ribbon-cut)) 0,
100% 100%,
0 100%
);
}
/* 偶数:反梯形 · 淡珊瑚玻璃 */
.ai-intent-ribbon__item:nth-child(even) .ai-intent-ribbon__face {
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.42) 0%,
rgba(255, 255, 255, 0.06) 40%,
transparent 68%
),
var(--ai-ribbon-soft);
clip-path: polygon(
0 0,
100% 0,
calc(100% - var(--ai-ribbon-cut)) 100%,
var(--ai-ribbon-cut) 100%
);
}
/* 首尾:外侧圆角直边(多点近似)+ 内侧斜切 */
.ai-intent-ribbon__item:first-child .ai-intent-ribbon__face {
clip-path: polygon(
0 12px,
0.3px 9.2px,
1.1px 6.6px,
2.4px 4.3px,
4.2px 2.5px,
6.4px 1.1px,
9px 0.3px,
12px 0,
calc(100% - var(--ai-ribbon-cut)) 0,
100% 100%,
12px 100%,
9px calc(100% - 0.3px),
6.4px calc(100% - 1.1px),
4.2px calc(100% - 2.5px),
2.4px calc(100% - 4.3px),
1.1px calc(100% - 6.6px),
0.3px calc(100% - 9.2px),
0 calc(100% - 12px)
);
}
.ai-intent-ribbon__item:last-child .ai-intent-ribbon__face {
clip-path: polygon(
var(--ai-ribbon-cut) 0,
calc(100% - 12px) 0,
calc(100% - 9px) 0.3px,
calc(100% - 6.4px) 1.1px,
calc(100% - 4.2px) 2.5px,
calc(100% - 2.4px) 4.3px,
calc(100% - 1.1px) 6.6px,
calc(100% - 0.3px) 9.2px,
100% 12px,
100% calc(100% - 12px),
calc(100% - 0.3px) calc(100% - 9.2px),
calc(100% - 1.1px) calc(100% - 6.6px),
calc(100% - 2.4px) calc(100% - 4.3px),
calc(100% - 4.2px) calc(100% - 2.5px),
calc(100% - 6.4px) calc(100% - 1.1px),
calc(100% - 9px) calc(100% - 0.3px),
calc(100% - 12px) 100%,
0 100%
);
}
.ai-intent-ribbon__item:nth-child(1) { z-index: 1; }
.ai-intent-ribbon__item:nth-child(2) { z-index: 2; }
.ai-intent-ribbon__item:nth-child(3) { z-index: 3; }
.ai-intent-ribbon__item:nth-child(4) { z-index: 4; }
.ai-intent-ribbon__item:nth-child(5) { z-index: 5; }
.ai-intent-ribbon__item:nth-child(6) { z-index: 6; }
.ai-intent-ribbon__item:nth-child(7) { z-index: 7; }
.ai-intent-ribbon__icon {
position: relative;
z-index: 1;
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 15px;
height: 15px;
color: color-mix(in srgb, currentColor 72%, transparent);
}
.ai-intent-ribbon__label {
position: relative;
z-index: 1;
display: block;
flex-shrink: 0;
min-width: 0;
max-width: none;
overflow: visible;
text-overflow: clip;
white-space: nowrap;
font-size: clamp(0.7rem, 0.85vw, 0.8rem);
font-weight: 650;
letter-spacing: 0.01em;
line-height: 1.2;
}
/* hover / focus 轻提示(在 face 裁切之外) */
.ai-intent-ribbon__hint {
position: absolute;
left: 50%;
top: calc(100% + 10px);
z-index: 20;
width: max-content;
max-width: min(240px, 42vw);
padding: 6px 10px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.7);
background: color-mix(in srgb, #fff 92%, transparent);
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.75),
0 8px 22px rgba(15, 23, 42, 0.1);
color: var(--ai-text-2, #3d4754);
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.01em;
line-height: 1.35;
text-align: center;
white-space: normal;
opacity: 0;
transform: translate(-50%, 4px);
pointer-events: none;
transition:
opacity 0.16s var(--ai-ease),
transform 0.16s var(--ai-ease);
}
.ai-intent-ribbon__item:hover .ai-intent-ribbon__hint,
.ai-intent-ribbon__item:focus-visible .ai-intent-ribbon__hint {
opacity: 1;
transform: translate(-50%, 0);
}
/* 焦点入口:珊瑚底 + 底边;字色/图标保持原深色 */
.ai-intent-ribbon__item.is-featured {
z-index: 8;
color: #1c2530;
}
.ai-intent-ribbon__item.is-featured .ai-intent-ribbon__face {
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.48) 0%,
rgba(255, 255, 255, 0.06) 40%,
transparent 68%
),
color-mix(in srgb, var(--ai-accent, #f56668) 12%, var(--ai-ribbon-soft));
border-color: rgba(255, 255, 255, 0.68);
}
.ai-intent-ribbon__item.is-featured .ai-intent-ribbon__icon {
color: color-mix(in srgb, currentColor 72%, transparent);
}
.ai-intent-ribbon__item.is-featured .ai-intent-ribbon__label {
font-weight: 700;
}
.ai-intent-ribbon__item.is-featured .ai-intent-ribbon__face::before {
content: '';
position: absolute;
left: 18%;
right: 18%;
bottom: 5px;
height: 2px;
border-radius: 999px;
background: color-mix(in srgb, var(--ai-accent, #f56668) 70%, transparent);
pointer-events: none;
z-index: 1;
}
.ai-intent-ribbon__item:nth-child(odd):hover .ai-intent-ribbon__face,
.ai-intent-ribbon__item:nth-child(odd):focus-visible .ai-intent-ribbon__face {
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.62) 0%,
rgba(255, 255, 255, 0.12) 42%,
transparent 70%
),
color-mix(in srgb, #fff 58%, transparent);
border-color: rgba(255, 255, 255, 0.78);
}
.ai-intent-ribbon__item:nth-child(even):hover .ai-intent-ribbon__face,
.ai-intent-ribbon__item:nth-child(even):focus-visible .ai-intent-ribbon__face {
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.55) 0%,
rgba(255, 255, 255, 0.1) 40%,
transparent 68%
),
color-mix(in srgb, var(--ai-accent, #f56668) 12%, color-mix(in srgb, #fff 52%, transparent));
border-color: rgba(255, 255, 255, 0.78);
}
.ai-intent-ribbon__item.is-featured:hover .ai-intent-ribbon__face,
.ai-intent-ribbon__item.is-featured:focus-visible .ai-intent-ribbon__face {
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.58) 0%,
rgba(255, 255, 255, 0.1) 40%,
transparent 68%
),
color-mix(in srgb, var(--ai-accent, #f56668) 16%, color-mix(in srgb, #fff 54%, transparent));
}
.ai-intent-ribbon__item:hover,
.ai-intent-ribbon__item:focus-visible {
z-index: 9;
outline: none;
}
/* clip-path 跟形焦点环打在 face 上 */
.ai-intent-ribbon__item:focus-visible .ai-intent-ribbon__face {
filter:
drop-shadow(0 0 0.5px rgba(var(--ai-accent-rgb), 0.95))
drop-shadow(0 0 2.5px rgba(var(--ai-accent-rgb), 0.55))
drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45));
}
.ai-intent-ribbon__item:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.ai-intent-ribbon__item:disabled .ai-intent-ribbon__face {
filter: none;
}
.ai-intent-ribbon__item:disabled .ai-intent-ribbon__hint {
display: none;
}
/* 英文 / 窄屏:藏 icon、略缩字 */
.ai-intent-ribbon.is-en .ai-intent-ribbon__face {
gap: 0;
}
.ai-intent-ribbon.is-en .ai-intent-ribbon__icon {
display: none;
}
.ai-intent-ribbon.is-en .ai-intent-ribbon__label {
font-size: 0.72rem;
letter-spacing: 0;
}
@media (max-width: 860px) {
.ai-intent-ribbon__icon {
display: none;
}
.ai-intent-ribbon__face {
gap: 0;
}
.ai-intent-ribbon__label {
font-size: 0.72rem;
}
.ai-intent-ribbon__hint {
max-width: min(200px, 70vw);
font-size: 0.66rem;
}
}
.ai-welcome-plane {
position: relative;
z-index: 3;
display: flex;
justify-content: center;
width: 100%;
margin: 0 0 -28px;
pointer-events: none;
}
.ai-welcome-plane img {
position: relative;
z-index: 2;
width: min(448px, 40vw);
height: auto;
display: block;
/* 去掉常驻 drop-shadow / 无限呼吸,减少首页持续合成开销 */
filter: none;
transform: translateZ(0);
transform-origin: 50% 60%;
animation: aiPlaneIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes aiPlaneIn {
from {
opacity: 0;
transform: translate3d(0, 12px, 0) scale(0.97);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0) scale(1);
}
}
@media (prefers-reduced-motion: reduce) {
.ai-welcome-plane,
.ai-welcome-plane img,
.ai-welcome-title-wrap,
.ai-composer-slot--welcome,
.ai-featured-routes,
.ai-ask,
.ai-intent-section {
animation: none !important;
}
}
/* 笔记本矮屏:必须放在飞机基础规则之后,否则会被桌面 width 盖掉 */
@media (max-height: 900px) {
body.command-home .ai-welcome__stack {
gap: 16px;
margin-top: 6px;
}
body.command-home .ai-welcome__command {
gap: 10px;
}
body.command-home .ai-intent-section {
margin-top: 6px;
}
body.command-home .ai-featured-routes {
--ai-featured-card-w: min(16rem, 40vw);
--ai-featured-card-h: min(15.25rem, 30vh);
--ai-featured-stage-h: calc(var(--ai-featured-card-h) + 2.35rem);
}
body.command-home .ai-intent-ribbon {
height: 42px;
}
body.command-home .ai-ask {
padding: 4px 2px 2px;
border-radius: 0;
}
body.command-home .ai-ask__dest {
min-height: 28px;
padding: 0 11px;
font-size: 0.76rem;
}
body.command-home .ai-composer-slot--welcome .ai-composer {
min-height: 142px;
padding: 18px 18px 14px;
border-radius: 24px !important;
}
body.command-home .ai-ask__cta--solid {
min-height: 30px;
padding: 0 12px;
font-size: 0.74rem;
}
body.command-home .ai-welcome-plane {
margin-bottom: -18px;
}
body.command-home .ai-welcome-plane img {
width: min(180px, 20vw);
}
}
.ai-icon {
width: 36px;
height: 36px;
display: block;
overflow: visible;
}
.ai-icon:not(.ai-icon--illus) > * {
fill: none;
stroke: var(--ai-ink);
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
}
.ai-icon .ai-icon__accent {
stroke: var(--ai-sky);
}
.ai-icon .ai-icon__accent-fill {
fill: var(--ai-sky);
stroke: none;
}
.ai-icon.ai-icon--illus {
width: 32px;
height: 32px;
flex-shrink: 0;
color: inherit;
}
/* 入口缎带内强制小线稿,避免被全局 32px 盖掉 */
.ai-intent-ribbon__icon .ai-icon.ai-icon--illus {
width: 15px;
height: 15px;
}
/* Partner strip:标签左 + logo 同一行 */
.ai-partner-marquee {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 12px;
min-width: 0;
width: 100%;
margin: 0;
padding: 0;
text-align: left;
}
.ai-partner-marquee__tag {
flex-shrink: 0;
padding: 0;
border: 0;
background: none;
font-size: calc(0.64rem + 2px);
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ai-text-3);
white-space: nowrap;
opacity: 0.72;
}
.ai-partner-marquee__viewport {
position: relative;
flex: 1;
min-width: 0;
overflow: hidden;
cursor: grab;
touch-action: pan-y;
user-select: none;
-webkit-user-select: none;
mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
-webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
.ai-partner-marquee__viewport.is-dragging {
cursor: grabbing;
}
.ai-partner-marquee__viewport.is-static {
display: flex;
flex: 1 1 auto;
align-items: center;
justify-content: center;
width: auto;
max-width: none;
margin-inline: 0;
cursor: default;
overflow: hidden;
mask-image: none;
-webkit-mask-image: none;
}
.ai-partner-marquee__viewport.is-static .ai-partner-marquee__track {
display: flex;
justify-content: center;
width: max-content;
max-width: none;
margin-inline: auto;
transform: none !important;
will-change: auto;
}
.ai-partner-marquee__viewport.is-static .ai-partner-marquee__strip {
flex-wrap: nowrap;
justify-content: center;
gap: 0;
}
.ai-partner-marquee__track {
display: flex;
align-items: center;
width: max-content;
will-change: transform;
backface-visibility: hidden;
}
.ai-partner-marquee__gap {
flex-shrink: 0;
height: 1px;
}
.ai-partner-marquee__strip {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 0;
flex-shrink: 0;
}
/* Stripe / Linear style wordmark: no capsule, logos + airy gaps */
.ai-partner-chip {
display: inline-flex;
align-items: center;
gap: 7px;
flex-shrink: 0;
min-height: 0;
margin: 0;
padding: 0 14px;
border: 0;
border-radius: 0;
background: transparent;
color: var(--ai-text-3);
font-size: 0.74rem;
font-weight: 650;
letter-spacing: 0.01em;
white-space: nowrap;
cursor: default;
box-shadow: none;
opacity: 0.58;
transition:
color 0.2s var(--ai-ease),
opacity 0.2s var(--ai-ease);
}
.ai-partner-chip + .ai-partner-chip {
box-shadow: inset 1px 0 0 color-mix(in srgb, var(--ai-border, #c9d0d6) 55%, transparent);
}
.ai-partner-chip__logo {
width: 14px;
height: 14px;
flex-shrink: 0;
display: block;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
opacity: 0.9;
filter: grayscale(1) contrast(1.05);
}
.ai-partner-chip__label {
line-height: 1;
}
.ai-partner-chip--carrier {
color: var(--ai-text-3);
font-weight: 650;
}
.ai-partner-chip:hover,
.ai-partner-chip:focus-visible {
border: 0;
background: transparent;
color: var(--ai-text-2);
opacity: 0.92;
outline: none;
transform: none;
box-shadow: inset 1px 0 0 color-mix(in srgb, var(--ai-border, #c9d0d6) 55%, transparent);
}
.ai-partner-chip:first-child:hover,
.ai-partner-chip:first-child:focus-visible {
box-shadow: none;
}
.ai-partner-chip:hover .ai-partner-chip__logo,
.ai-partner-chip:focus-visible .ai-partner-chip__logo {
filter: none;
opacity: 1;
}
.ai-partner-marquee__viewport.is-dragging .ai-partner-chip:hover {
transform: none;
}
.ai-partner-chip:disabled {
opacity: 0.4;
cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
.ai-partner-marquee__track {
transform: none !important;
width: auto;
max-width: 100%;
}
.ai-partner-marquee__strip {
flex-wrap: wrap;
}
.ai-partner-marquee__viewport {
overflow: visible;
cursor: default;
mask-image: none;
-webkit-mask-image: none;
}
}
/* ?? Messages — advisor reading flow ?? */
.ai-messages {
display: none;
flex-direction: column;
gap: 22px;
width: 100%;
max-width: min(720px, 100%);
margin-inline: auto;
padding: 28px 4px 20px;
}
.ai-messages.is-active {
display: flex;
flex: 1;
min-height: 0;
}
.ai-msg-row {
display: flex;
gap: 12px;
align-items: flex-start;
max-width: 100%;
animation: ai-msg-in 0.3s ease;
}
@keyframes ai-msg-in {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.ai-msg-row--user {
justify-content: flex-end;
align-self: stretch;
}
.ai-msg-row--assistant {
align-self: stretch;
width: 100%;
}
/* Edi 与 FAB 同源:小尺寸头像贴助手阅读流 */
.ai-msg-edi.edi-fab-wrap,
.ai-msg-row--assistant .edi-fab-wrap {
position: relative;
display: block;
flex-shrink: 0;
width: 36px;
height: 36px;
margin-top: 2px;
}
.ai-msg-edi .edi-fab__img,
.ai-msg-row--assistant .edi-fab__img {
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 3px 8px rgba(245, 102, 104, 0.32));
pointer-events: none;
}
.ai-msg-edi .edi-fab__pulse,
.ai-msg-row--assistant .edi-fab__pulse {
position: absolute;
inset: 1px;
border-radius: 50%;
border: 1.5px solid #f56668;
opacity: 0;
animation: edi-pulse 2.4s ease-out infinite;
pointer-events: none;
}
@keyframes edi-pulse {
0% {
transform: scale(0.9);
opacity: 0.55;
}
70% {
transform: scale(1.25);
opacity: 0;
}
100% {
transform: scale(1.25);
opacity: 0;
}
}
.ai-msg-body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 12px;
color: var(--ai-ink);
}
.ai-msg-body--typing {
flex-direction: row;
align-items: center;
gap: 5px;
min-height: 36px;
padding: 8px 0;
}
.ai-msg-bubble {
max-width: min(520px, 86%);
padding: 11px 15px;
border-radius: 18px;
font-size: 0.94rem;
line-height: 1.55;
}
.ai-msg-row--user .ai-msg-bubble {
background: var(--ai-action);
color: #fff;
border-bottom-right-radius: 6px;
box-shadow: 0 8px 20px color-mix(in srgb, var(--ai-action) 18%, transparent);
}
.ai-msg-text {
margin: 0;
}
.ai-msg-row--assistant .ai-msg-text {
font-size: 0.98rem;
line-height: 1.68;
letter-spacing: -0.01em;
color: var(--ai-ink);
}
.ai-msg-text + .ai-card,
.ai-msg-body > .ai-card {
margin-top: 0;
}
.ai-msg-followups {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding-top: 2px;
}
.ai-msg-row--typing .ai-msg-body--typing span {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--ai-muted);
animation: ai-typing 1.2s ease-in-out infinite;
}
.ai-msg-row--typing .ai-msg-body--typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-msg-row--typing .ai-msg-body--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ai-typing {
0%, 80%, 100% { opacity: 0.35; transform: scale(0.85); }
40% { opacity: 1; transform: scale(1); }
}
/* 会话内卡片:对齐小迪白底轻边,告别奶油纸+内凹 */
.ai-card {
position: relative;
isolation: isolate;
overflow: hidden;
padding: 16px 16px 14px;
border-radius: 16px;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 8%, transparent);
background: #fff;
backdrop-filter: none;
-webkit-backdrop-filter: none;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.7) inset,
0 8px 24px rgba(15, 23, 42, 0.06);
}
.ai-card::before,
.ai-card::after {
display: none;
}
.ai-card > * {
position: relative;
z-index: 1;
}
.ai-card__kicker {
margin: 0 0 6px;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: none;
color: var(--ai-brand, var(--ai-action));
}
.ai-card__title {
margin: 0 0 8px;
font-size: 1.02rem;
font-weight: 720;
letter-spacing: -0.01em;
color: var(--ai-ink);
}
.ai-card__metric {
margin: 0 0 10px;
font-size: 1.28rem;
font-weight: 720;
color: var(--ai-brand, var(--ai-action));
}
.ai-card__body,
.ai-card li {
color: var(--ai-text-2);
font-size: 0.88rem;
line-height: 1.55;
}
.ai-card ul {
margin: 0 0 10px;
padding: 0 0 0 16px;
}
.ai-card__list {
display: grid;
gap: 8px;
margin: 0 0 12px;
}
.ai-card__item {
padding: 10px 12px;
border-radius: 12px;
text-align: left;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 7%, transparent);
background: #f7f8fa;
box-shadow: none;
}
.ai-card__item strong {
display: block;
color: var(--ai-ink);
font-size: 0.88rem;
}
.ai-card__item span {
display: block;
margin-top: 3px;
color: var(--ai-text-3);
font-size: 0.78rem;
line-height: 1.45;
}
.ai-card__rows {
display: grid;
gap: 6px;
margin: 0 0 12px;
}
.ai-card__row {
display: flex;
justify-content: space-between;
gap: 12px;
font-size: 0.86rem;
}
.ai-card__row span {
color: var(--ai-text-3);
}
.ai-card__row strong {
color: var(--ai-ink);
font-weight: 600;
text-align: right;
}
.ai-card__actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 14px;
}
.ai-card-opt {
display: inline-flex;
align-items: center;
min-height: 36px;
padding: 0 14px;
border-radius: 999px;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 10%, transparent);
background: #fff;
color: var(--ai-ink);
font-size: 0.8rem;
font-weight: 650;
text-decoration: none;
box-shadow: none;
cursor: pointer;
transition:
border-color 0.15s ease,
background 0.15s ease,
color 0.15s ease;
}
.ai-card-opt:hover {
border-color: color-mix(in srgb, var(--ai-brand, var(--ai-action)) 35%, transparent);
background: color-mix(in srgb, var(--ai-brand, var(--ai-action)) 6%, #fff);
color: var(--ai-brand, var(--ai-action));
}
.ai-card-opt.is-primary {
border-color: transparent;
background: var(--ai-action);
color: #fff;
box-shadow: 0 6px 16px color-mix(in srgb, var(--ai-action) 24%, transparent);
}
.ai-card-opt.is-primary:hover {
background: var(--ai-action-hover);
color: #fff;
}
.ai-card--quote {
background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}
.ai-card--warn .ai-card__kicker {
color: var(--ai-gold);
}
.ai-followup-chip {
flex: 0 0 auto;
padding: 8px 16px;
border-radius: 999px;
color: var(--ai-text-2);
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
}
.ai-followup-chip:hover {
border: none;
background: color-mix(in srgb, #fff 86%, #e6edf2);
color: var(--ai-action);
box-shadow: inset 0 3px 8px rgba(15, 23, 42, 0.1);
}
.ai-followup-chip:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.ai-followup-chip--routes {
color: #fff;
border-color: var(--ai-action);
background: var(--ai-action);
box-shadow: 0 6px 14px color-mix(in srgb, var(--ai-action) 22%, transparent);
}
.ai-followup-chip--routes:hover {
color: #fff;
filter: brightness(1.06);
background: var(--ai-action);
}
/* Perplexity / ChatGPT 式主输入台 */
.ai-composer-slot--welcome .ai-composer-wrap {
max-width: min(970px, 100%);
width: 100%;
margin: 0 auto;
padding: 0;
}
.ai-composer-slot--welcome {
width: 100%;
display: flex;
justify-content: center;
margin-top: 30px;
}
.ai-composer-slot--welcome .ai-composer {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-rows: auto auto;
align-items: end;
column-gap: 12px;
row-gap: 12px;
width: 100%;
min-height: 170px;
padding: 20px 20px 16px;
border-radius: 28px !important;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 9%, transparent) !important;
outline: none;
background: #fff !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.04),
0 12px 32px rgba(15, 23, 42, 0.08),
0 4px 12px rgba(15, 23, 42, 0.04) !important;
transition:
border-color 0.18s var(--ai-ease),
box-shadow 0.18s var(--ai-ease),
background 0.18s var(--ai-ease);
}
.ai-composer-slot--welcome .ai-composer::before,
.ai-composer-slot--welcome .ai-composer::after {
content: none !important;
display: none !important;
}
.ai-composer-slot--welcome .ai-composer:focus-within {
border-color: color-mix(in srgb, var(--ai-brand, #023e8a) 38%, transparent) !important;
outline: none;
background: #fff !important;
box-shadow:
0 2px 4px rgba(15, 23, 42, 0.04),
0 14px 36px rgba(15, 23, 42, 0.1),
0 0 0 4px color-mix(in srgb, var(--ai-brand, #023e8a) 12%, transparent) !important;
}
.ai-composer-slot--welcome .ai-composer-form {
display: contents;
}
.ai-composer-slot--welcome .ai-composer-input {
grid-column: 1;
grid-row: 1;
width: 100%;
min-height: 64px;
max-height: 160px;
padding: 6px 6px 4px;
border-bottom: none;
color: var(--ai-text, #121820);
font-size: 1.06rem;
line-height: 1.5;
text-align: left;
}
.ai-composer-slot--welcome .ai-composer-input::placeholder {
color: color-mix(in srgb, var(--ai-text-3, #66707d) 55%, transparent);
opacity: 1;
}
.ai-composer-slot--welcome .ai-ask__bar {
grid-column: 1 / -1;
grid-row: 2;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
align-self: center;
width: 100%;
min-width: 0;
padding: 10px 0 0;
margin-top: 0;
border-top: 1px solid color-mix(in srgb, var(--ai-text, #121820) 7%, transparent);
box-sizing: border-box;
}
.ai-composer-slot--welcome .ai-ask__dests {
flex: 1 1 auto;
min-width: 0;
}
.ai-composer-slot--welcome .ai-welcome-cta {
flex-shrink: 0;
margin-left: auto;
}
/* 发送钮上移到输入行右侧 */
.ai-composer-slot--welcome .ai-composer-send,
.ai-composer-slot--welcome .ai-composer-send:hover:not(:disabled):not(.is-empty),
.ai-composer-slot--welcome .ai-composer-send.is-empty {
grid-column: 2;
grid-row: 1;
align-self: end;
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
margin: 0 0 2px;
padding: 0;
border-radius: 999px;
line-height: 0;
box-shadow: none;
transform: none;
}
.ai-composer-slot--welcome .ai-composer-send.is-empty,
.ai-composer-slot--welcome .ai-composer-send.is-empty:hover {
background: #e8eaed;
color: #b0b5bd;
opacity: 1;
cursor: default;
}
.ai-composer-slot--welcome .ai-composer-send:not(.is-empty) {
background: var(--ai-accent, #f56668);
color: #fff;
}
.ai-composer-slot--welcome .ai-composer-send:hover:not(:disabled):not(.is-empty) {
background: var(--ai-accent-hover, #e25557);
color: #fff;
}
.ai-composer-slot--welcome .ai-composer-send__mark {
display: block;
width: 18px;
height: 18px;
flex-shrink: 0;
/* 上箭头 path 视觉重心略偏上,微下移让几何居中 */
transform: translateY(0.5px);
}
.ai-composer-dock {
display: flex;
flex-direction: column;
flex-shrink: 0;
overflow: visible;
}
.ai-composer-slot--welcome:empty,
.ai-composer-slot--chat:empty {
display: none;
}
/* Composer + trust strip */
.ai-composer-wrap {
position: relative;
flex-shrink: 0;
}
.ai-new-chat-tip {
position: absolute;
left: 50%;
bottom: calc(100% + 10px);
z-index: 6;
display: inline-flex;
align-items: center;
max-width: min(92%, 360px);
padding: 8px 14px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.78);
background: rgba(2, 62, 138, 0.92);
color: #fff;
font-size: 0.78rem;
font-weight: 600;
line-height: 1.3;
letter-spacing: 0.01em;
white-space: nowrap;
pointer-events: none;
transform: translate(-50%, 6px);
opacity: 0;
box-shadow: 0 10px 28px rgba(2, 62, 138, 0.22);
transition:
opacity 0.28s var(--ai-ease),
transform 0.28s var(--ai-ease);
}
.ai-new-chat-tip::after {
content: '';
position: absolute;
left: 50%;
top: 100%;
width: 10px;
height: 10px;
margin-left: -5px;
background: rgba(2, 62, 138, 0.92);
border-right: 1px solid rgba(255, 255, 255, 0.5);
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
transform: rotate(45deg) translateY(-4px);
}
.ai-new-chat-tip[hidden] {
display: none !important;
}
.ai-new-chat-tip.is-visible {
opacity: 1;
transform: translate(-50%, 0);
}
.ai-composer-wrap.has-new-chat-tip .ai-composer {
animation: ai-composer-tip-pulse 1.1s var(--ai-ease) 2;
}
@keyframes ai-composer-tip-pulse {
0%,
100% {
box-shadow: none;
}
45% {
box-shadow: 0 0 0 3px rgba(2, 62, 138, 0.18);
}
}
.ai-composer-wrap.is-docked {
width: 100%;
max-width: min(720px, 100%);
margin-inline: auto;
padding: 10px 0 0;
border-top: none;
background-image: none;
}
.ai-composer-wrap.is-docked .ai-composer {
min-height: 72px;
padding: 10px 12px 10px 16px;
border-radius: 22px;
border: 1px solid color-mix(in srgb, var(--ai-text, #121820) 9%, transparent);
background: #fff;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.55) inset,
0 10px 28px rgba(15, 23, 42, 0.07);
}
.ai-composer-wrap.is-docked .ai-composer:focus-within {
border-color: color-mix(in srgb, var(--ai-brand, var(--ai-action)) 32%, transparent);
box-shadow:
0 2px 4px rgba(15, 23, 42, 0.04),
0 12px 32px rgba(15, 23, 42, 0.09),
0 0 0 4px color-mix(in srgb, var(--ai-brand, var(--ai-action)) 12%, transparent);
}
.ai-composer-form {
position: relative;
z-index: 1;
display: flex;
align-items: flex-end;
gap: 10px;
}
.ai-composer-input {
flex: 1;
min-height: 48px;
max-height: 160px;
padding: 13px 6px;
border: none;
background: transparent;
color: var(--ai-ink);
font-size: 1rem;
line-height: 1.5;
resize: none;
}
.ai-composer-input:focus {
outline: none;
}
.ai-composer-input::placeholder {
color: #c9cdd4;
}
.ai-composer-send {
flex-shrink: 0;
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: none;
border-radius: 14px;
background: var(--ai-brand, #023e8a);
color: #fff;
box-shadow: none;
cursor: pointer;
transition: background 0.15s var(--ai-ease), filter 0.15s ease, transform 0.12s ease;
}
.ai-composer-send__mark {
display: block;
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 2.25;
stroke-linecap: round;
stroke-linejoin: round;
}
.ai-composer-send.is-empty,
.ai-composer-send.is-empty:hover {
background: #ececec;
color: #9a9a9a;
cursor: default;
transform: none;
filter: none;
}
.ai-composer-send:hover:not(:disabled):not(.is-empty) {
background: var(--ai-brand-hover, #012a74);
filter: brightness(1.02);
transform: none;
}
.ai-composer-send:focus-visible {
outline: 2px solid var(--ai-brand, #023e8a);
outline-offset: 2px;
}
.ai-composer-send:disabled {
opacity: 0.45;
cursor: not-allowed;
transform: none;
}
@media (prefers-reduced-motion: reduce) {
.ai-composer-wrap.has-new-chat-tip .ai-composer {
animation: none;
}
.ai-new-chat-tip {
transition: none;
}
}
.ai-trust-bar {
/* Pin to layout viewport bottom; ignore --ai-vv-height flex shrink */
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 30;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 0;
width: 100%;
max-width: none;
height: calc(var(--ai-trust-bar-h) + env(safe-area-inset-bottom, 0px));
margin: 0;
padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px)
env(safe-area-inset-left, 0px);
box-sizing: border-box;
border: none;
border-top: 1px solid color-mix(in srgb, var(--ai-border) 22%, transparent);
background: color-mix(in srgb, var(--ai-bg, #f3f5f6) 88%, transparent);
color: var(--ai-text-3);
font-size: 0.68rem;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
/* 与 .ai-advisor-layout 同列:合作伙伴靠左,ICP 靠右 */
.ai-trust-bar__inner {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
width: 100%;
max-width: var(--ai-content-max, 1200px);
height: 100%;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box;
}
.ai-trust-bar a {
display: inline-flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
color: var(--ai-text-3);
text-decoration: none;
}
.ai-trust-bar a i,
.ai-trust-bar a .ai-trust-glyph {
width: 1em;
height: 1em;
overflow: visible;
font-size: 0.88rem;
line-height: 1;
color: var(--ai-text-3);
flex-shrink: 0;
}
.ai-trust-bar a:hover {
color: var(--ai-text-2);
}
.ai-trust-bar a:hover i,
.ai-trust-bar a:hover .ai-trust-glyph {
color: var(--ai-text-2);
}
.ai-trust-bar .ai-partner-marquee {
position: relative;
flex: 1 1 auto;
width: auto;
max-width: none;
min-width: 0;
margin: 0;
padding-inline: 0;
box-sizing: border-box;
justify-content: flex-start;
}
.ai-trust-bar .ai-partner-marquee__viewport,
.ai-trust-bar .ai-partner-marquee__viewport.is-static {
flex: 1 1 auto;
width: 100%;
padding-inline: 0;
box-sizing: border-box;
justify-content: flex-start;
}
.ai-trust-bar .ai-partner-marquee__viewport.is-static .ai-partner-marquee__track {
justify-content: flex-start;
margin-inline: 0;
}
.ai-trust-bar .ai-partner-marquee__viewport.is-static .ai-partner-marquee__strip {
justify-content: flex-start;
}
.ai-trust-icp {
position: static;
z-index: 1;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin: 0 0 0 auto;
white-space: nowrap;
opacity: 0.45;
transform: none;
color: var(--ai-text-3);
}
.ai-trust-icp:hover {
opacity: 0.7;
color: var(--ai-text-2);
}
@media (max-height: 860px) {
.ai-app-main {
padding-top: 2px;
}
.ai-welcome-plane {
margin-bottom: -20px;
}
.ai-welcome__stack {
margin-top: 6px;
gap: 16px;
}
.ai-welcome__command {
gap: 16px;
}
.ai-intent-ribbon {
height: 42px;
}
.ai-partner-marquee {
margin-top: 0;
gap: 10px;
}
}
@media (max-width: 860px) {
/* 窄屏:仍一排全显,缩字距,不横滑截断 */
.ai-intent-ribbon {
--ai-ribbon-cut: 7px;
--ai-ribbon-overlap: 7px;
height: 42px;
overflow: visible;
mask-image: none;
-webkit-mask-image: none;
}
.ai-intent-ribbon__item {
flex: 1 1 0;
width: auto;
min-width: 0;
}
.ai-intent-ribbon__label {
font-size: 0.68rem;
}
.ai-intent-ribbon__icon {
width: 13px;
height: 13px;
}
.ai-welcome-plane img {
width: min(280px, 42vw);
}
}
@media (max-width: 640px) {
/* 仅官网:勿写裸 :root / .ai-advisor-layout,避免串到 H5 EdiAssistant */
body.command-home {
--ai-header-h: 64px;
}
body.command-home #header {
padding-top: env(safe-area-inset-top, 0px);
}
body.command-home .ai-advisor-layout {
padding: calc(var(--ai-header-h) + env(safe-area-inset-top, 0px) + 4px)
max(14px, env(safe-area-inset-left, 0px))
0
max(14px, env(safe-area-inset-right, 0px));
}
body.command-home .ai-routes-panel {
padding: 16px 14px 12px;
}
body.command-home .ai-routes-panel__body {
grid-template-columns: minmax(0, 1fr);
}
body.command-home .ai-route-card {
padding: 10px;
}
body.command-home .ai-route-card:not(.has-cover) {
padding: 12px 14px;
}
body.command-home .ai-route-card__media {
flex-basis: 84px;
width: 84px;
height: 84px;
}
body.command-home .ai-route-card__body {
padding-left: 10px;
}
.ai-welcome {
min-height: 0;
padding-top: 0;
}
.ai-welcome__hero {
padding-bottom: 10px;
}
/* 官网 H5:保留飞机,缩尺寸,勿再 display:none */
body.command-home .ai-welcome-plane {
display: flex;
margin: 0 0 -14px;
}
body.command-home .ai-welcome-plane img {
width: min(220px, 62vw);
}
.ai-welcome-title-wrap {
margin-top: 4px;
min-height: 56px;
}
.ai-welcome-cta {
min-height: 32px;
padding: 0 12px 0 14px;
font-size: 0.76rem;
}
.ai-welcome__stack {
margin-top: 2px;
}
.ai-intent-ribbon {
height: 40px;
}
.ai-intent-ribbon__item {
min-width: 0;
}
.ai-intent-ribbon__label {
font-size: 0.66rem;
}
.ai-partner-marquee {
min-width: 0;
gap: 8px;
}
.ai-partner-marquee__viewport,
.ai-partner-marquee__viewport.is-static {
flex: 1 1 auto;
width: auto;
max-width: none;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
touch-action: pan-x;
mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
-webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}
.ai-partner-marquee__viewport::-webkit-scrollbar,
.ai-partner-marquee__viewport.is-static::-webkit-scrollbar {
display: none;
}
.ai-partner-marquee__viewport.is-static .ai-partner-marquee__track {
justify-content: flex-start;
width: max-content;
}
.ai-partner-marquee__viewport.is-static .ai-partner-marquee__strip {
flex-wrap: nowrap;
justify-content: flex-start;
gap: 0;
}
/* Narrow: keep single-row pinned bar; scroll partners horizontally if needed */
.ai-trust-bar {
flex-wrap: nowrap;
}
.ai-trust-bar .ai-partner-marquee {
justify-content: flex-start;
}
.ai-trust-bar .ai-partner-marquee__viewport,
.ai-trust-bar .ai-partner-marquee__viewport.is-static {
padding-inline: 0;
justify-content: flex-start;
}
body.command-home .site-nav-wordmark__tag {
max-width: 160px;
font-size: 0.58rem;
}
.ai-trust-bar__inner {
padding-left: max(14px, env(safe-area-inset-left, 0px));
padding-right: max(14px, env(safe-area-inset-right, 0px));
gap: 10px;
}
.ai-trust-icp {
margin-left: 8px;
font-size: 0.62rem;
}
/* 首页可滚:底部淡出提示还有内容(对话页不套 mask) */
.ai-app-main:has(.ai-welcome) {
-webkit-mask-image: linear-gradient(
to bottom,
#000 0%,
#000 calc(100% - 22px),
transparent 100%
);
mask-image: linear-gradient(
to bottom,
#000 0%,
#000 calc(100% - 22px),
transparent 100%
);
}
.ai-welcome__command {
gap: 16px;
padding: 0 2px calc(10px + env(safe-area-inset-bottom, 0px));
}
.ai-ask {
padding: 6px 2px 4px;
}
.ai-ask__bar {
gap: 12px;
}
.ai-ask__dests {
flex: 1;
flex-wrap: nowrap;
overflow-x: auto;
padding-bottom: 2px;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
touch-action: pan-x;
}
.ai-ask__dests::-webkit-scrollbar {
display: none;
}
.ai-ask__dest {
flex: 0 0 auto;
min-height: 36px;
padding: 0 12px;
}
.ai-new-chat-tip {
max-width: min(94vw, 320px);
white-space: normal;
text-align: center;
border-radius: 14px;
}
.ai-composer,
.ai-composer-wrap.is-docked .ai-composer {
min-height: 56px;
padding: 8px 10px 8px 14px;
border-radius: 18px;
}
.ai-composer-slot--welcome .ai-composer {
min-height: 80px;
padding: 12px 12px 10px;
border-radius: 14px !important;
}
.ai-composer-input {
min-height: 44px;
font-size: 16px; /* iOS 避免自动放大 */
}
.ai-composer-slot--welcome .ai-composer-input {
min-height: 44px;
}
.ai-composer-send,
.ai-composer-slot--welcome .ai-composer-send {
width: 32px;
height: 32px;
}
.ai-composer-dock {
padding-bottom: 0;
}
}
/* ?????? ? PC ???? */
.ide-kf-modal {
position: fixed;
inset: 0;
z-index: 10050;
display: grid;
place-items: center;
padding: 24px;
}
.ide-kf-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(12, 18, 28, 0.55);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
.ide-kf-modal__panel {
position: relative;
z-index: 1;
width: min(100%, 360px);
padding: 28px 24px 22px;
border-radius: 16px;
border: 1px solid color-mix(in srgb, var(--ai-border) 80%, transparent);
background: var(--ai-surface, #fff);
box-shadow: 0 24px 64px rgba(12, 18, 28, 0.22);
text-align: center;
}
.ide-kf-modal__close {
position: absolute;
top: 10px;
right: 10px;
width: 36px;
height: 36px;
display: grid;
place-items: center;
margin: 0;
padding: 0;
border: none;
border-radius: 8px;
background: transparent;
color: var(--ai-text-3, #6b7280);
cursor: pointer;
}
.ide-kf-modal__close:hover {
color: var(--ai-text, #111);
background: color-mix(in srgb, var(--ai-border) 40%, transparent);
}
.ide-kf-modal__kicker {
margin: 0 0 6px;
font-size: 0.75rem;
letter-spacing: 0.04em;
color: var(--ai-text-3, #6b7280);
}
.ide-kf-modal__title {
margin: 0 0 8px;
font-size: 1.15rem;
font-weight: 650;
color: var(--ai-text, #111);
}
.ide-kf-modal__hint {
margin: 0 0 18px;
font-size: 0.84rem;
line-height: 1.5;
color: var(--ai-text-2, #4b5563);
}
.ide-kf-modal__qr-wrap {
display: grid;
place-items: center;
margin: 0 auto 16px;
padding: 12px;
width: fit-content;
border-radius: 12px;
background: #fff;
border: 1px solid color-mix(in srgb, var(--ai-border) 70%, transparent);
}
.ide-kf-modal__qr {
display: block;
width: 220px;
height: 220px;
}
.ide-kf-modal__qr-fallback {
margin: 0;
max-width: 220px;
font-size: 0.8rem;
line-height: 1.45;
color: var(--ai-text-2, #4b5563);
}
.ide-kf-modal__open {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 0 14px;
border-radius: 8px;
font-size: 0.84rem;
font-weight: 600;
color: var(--ai-action, #1d7281);
text-decoration: none;
}
.ide-kf-modal__open:hover {
text-decoration: underline;
}
/* Paint budget: 默认关掉大面积 blur;精选线路卡保留液态玻璃 */
body.command-home,
body.command-home * {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
body.command-home .ai-featured-routes__card:not(.has-cover) {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
background: color-mix(in srgb, #fff 92%, #e8eef2) !important;
}
body.command-home .ai-featured-routes__card.has-cover {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
body.command-home .ai-featured-routes__item.is-active .ai-featured-routes__card:not(.has-cover) {
background: #fff !important;
}
body.command-home .ai-intent-ribbon__face {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 55%, transparent 100%),
color-mix(in srgb, #fff 70%, transparent) !important;
}
body.command-home .ai-intent-ribbon__item:nth-child(even) .ai-intent-ribbon__face {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 232, 233, 0.38) 55%, transparent 100%),
color-mix(in srgb, var(--ai-accent, #f56668) 10%, #fff) !important;
}
body.command-home .ai-intent-ribbon__item.is-featured .ai-intent-ribbon__face {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 232, 233, 0.4) 55%, transparent 100%),
color-mix(in srgb, var(--ai-accent, #f56668) 14%, #fff) !important;
}
body.command-home .ai-intent-ribbon__item.is-featured .ai-intent-ribbon__face::before {
background: color-mix(in srgb, var(--ai-accent, #f56668) 78%, transparent) !important;
}
body.command-home .ai-intent-ribbon__hint,
body.command-home .ai-featured-routes__nav-btn {
background: color-mix(in srgb, #fff 88%, transparent) !important;
}
body.command-home .ai-welcome-plane img {
filter: none;
}
/* 封面流已在 section/rail/stage 内 overflow:hidden;意图条独立 paint contain,避免跟着抖 */
body.command-home .ai-intent-section {
contain: layout paint style;
}
body.command-home .ai-home-bottom {
contain: layout;
}
body.command-home .ai-featured-routes {
contain: layout style;
}
body.command-home .ai-history-sidebar {
background: #f7f8fa;
}
body.command-home .ai-history-backdrop {
background: rgba(18, 24, 32, 0.28);
}
#ai-advisor-shell.ai-history-open .ai-welcome-plane {
visibility: hidden;
pointer-events: none;
}
/* 官网意图入口:可拖动 IP + 旁侧轻量菜单(Linear / Intercom 式) */
.site-intent-fab {
--site-fab-size: 68px;
--site-fab-gap: 12px;
position: fixed;
z-index: 980;
display: block;
touch-action: none;
user-select: none;
pointer-events: none;
}
.site-intent-fab.is-dragging {
cursor: grabbing;
}
.site-intent-fab__core {
pointer-events: auto;
position: relative;
z-index: 2;
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--site-fab-size);
height: var(--site-fab-size);
margin: 0;
padding: 0;
border: none;
border-radius: 50%;
background: transparent;
cursor: grab;
box-shadow: none;
touch-action: none;
}
.site-intent-fab.is-dragging .site-intent-fab__core {
cursor: grabbing;
}
.site-intent-fab__core:focus-visible {
outline: 2px solid color-mix(in srgb, var(--ai-brand, #023e8a) 45%, transparent);
outline-offset: 3px;
}
.site-intent-fab .edi-fab-wrap {
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: var(--site-fab-size);
height: var(--site-fab-size);
}
.site-intent-fab .edi-fab-wrap--lg .edi-fab__img {
width: 78%;
height: 78%;
}
.site-intent-fab .edi-fab__img {
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.14));
pointer-events: none;
transform-origin: 50% 78%;
transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s ease;
}
.site-intent-fab.is-open .edi-fab__img,
.site-intent-fab__core:hover .edi-fab__img {
transform: scale(1.05);
filter: drop-shadow(0 12px 26px rgba(15, 23, 42, 0.18));
}
.site-intent-fab .edi-fab__pulse {
display: none;
}
.site-intent-fab__panel {
pointer-events: none;
position: absolute;
top: 50%;
right: calc(100% + var(--site-fab-gap));
left: auto;
display: flex;
flex-direction: column;
gap: 2px;
width: min(280px, calc(100vw - 120px));
padding: 8px;
border: 1px solid rgba(15, 23, 42, 0.08);
border-radius: 14px;
background: rgba(255, 255, 255, 0.96);
box-shadow:
0 1px 2px rgba(15, 23, 42, 0.04),
0 18px 40px rgba(15, 23, 42, 0.1);
opacity: 0;
transform: translateY(-50%) translateX(10px) scale(0.98);
transform-origin: right center;
transition:
opacity 0.18s ease,
transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
visibility 0.22s;
visibility: hidden;
}
.site-intent-fab.is-panel-right .site-intent-fab__panel {
right: auto;
left: calc(100% + var(--site-fab-gap));
transform: translateY(-50%) translateX(-10px) scale(0.98);
transform-origin: left center;
}
.site-intent-fab.is-open .site-intent-fab__panel {
pointer-events: auto;
opacity: 1;
visibility: visible;
transform: translateY(-50%) translateX(0) scale(1);
}
.site-intent-fab__caption {
margin: 0;
padding: 6px 10px 8px;
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.02em;
color: var(--ai-text-3);
}
.site-intent-fab__item {
--i: 0;
display: grid;
grid-template-columns: 28px minmax(0, 1fr);
align-items: flex-start;
column-gap: 10px;
width: 100%;
margin: 0;
padding: 8px 10px;
border: none;
border-radius: 10px;
background: transparent;
color: var(--ai-text);
text-align: left;
cursor: pointer;
opacity: 0;
transform: translateY(4px);
transition:
background 0.15s ease,
opacity 0.18s ease,
transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
transition-delay: 0s;
}
.site-intent-fab.is-open .site-intent-fab__item {
opacity: 1;
transform: translateY(0);
transition-delay: calc(40ms + var(--i) * 28ms);
}
.site-intent-fab__item:hover,
.site-intent-fab__item:focus-visible {
background: rgba(15, 23, 42, 0.04);
outline: none;
}
.site-intent-fab__item:disabled {
cursor: default;
}
.site-intent-fab.is-open .site-intent-fab__item:disabled {
opacity: 0.45;
pointer-events: none;
}
.site-intent-fab__item.is-featured .site-intent-fab__label {
color: var(--ai-brand, #023e8a);
}
.site-intent-fab__icon {
display: inline-flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
margin-top: 1px;
border-radius: 8px;
background: rgba(15, 23, 42, 0.04);
color: var(--ai-text-2);
}
.site-intent-fab__item.is-featured .site-intent-fab__icon {
background: color-mix(in srgb, var(--ai-brand, #023e8a) 8%, #fff);
color: var(--ai-brand, #023e8a);
}
.site-intent-fab__icon .ai-icon,
.site-intent-fab__icon svg {
width: 16px;
height: 16px;
display: block;
}
.site-intent-fab__copy {
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.site-intent-fab__label {
font-size: 0.84rem;
font-weight: 500;
line-height: 1.3;
color: var(--ai-text);
}
.site-intent-fab__hint {
font-size: 0.72rem;
font-weight: 400;
line-height: 1.35;
color: var(--ai-text-3);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
line-clamp: 1;
overflow: hidden;
}
.site-intent-fab.is-en .site-intent-fab__panel {
width: min(300px, calc(100vw - 120px));
}
.site-intent-fab.is-en .site-intent-fab__label {
font-size: 0.8rem;
}
@media (max-width: 780px) {
.site-intent-fab {
--site-fab-size: 60px;
}
.site-intent-fab__panel {
width: min(260px, calc(100vw - 96px));
}
}
@media (prefers-reduced-motion: reduce) {
.site-intent-fab__panel,
.site-intent-fab__item,
.site-intent-fab .edi-fab__img {
transition: none !important;
}
}