/*!
 * LGNewUi Pro - Custom Stylesheet
 * Copyright (c) Ki / LGNewUi. All rights reserved.
 *
 * 本文件为 LGNewUi 原创作品，仅限获得合法授权的用户在其自有站点使用。
 * 未经书面许可，禁止以任何形式对本作品进行：
 *   - 样式爬取 / 批量抓取 / 自动化采集
 *   - 复制、改写、二次分发、出售、出租、开源发布
 *   - 逆向还原设计体系、制作相似 UI 的商业化项目
 *   - 结构复刻 / 视觉抄袭等实质性相似行为
 *
 * 侵权一经发现，将固定证据并依法追究（民事 / 行政 / 刑事路径）。
 * 授权定制与商务合作：请通过作者渠道联系。
 */

body {
    background-color: #050505;
    color: #e5e5e5;
    overflow-x: hidden;
}

/* 隐藏滚动条但保留功能 */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 自定义滚动条 (用于表格) */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 极致光感边框 */
.border-glow {
    position: relative;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.border-glow:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
}

/* 胶囊播放器样式 */
.capsule-player {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* 高级黑金卡片 */
.black-card {
    background: linear-gradient(145deg, #111, #050505);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-titanium {
    background: linear-gradient(to bottom, #ffffff 0%, #d4d4d4 100%);
    color: black;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-titanium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* 金色渐变文字 */
.text-gradient-gold {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Lenis */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* Mobile Safe Area Padding */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Active Tab Styling */
.active-tab {
    color: white !important;
}

.active-tab svg {
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.active-tab span {
    font-weight: 600;
}

/* Feature row expand on mobile */
@media (max-width: 767px) {
    .feature-row.expanded .feature-text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* Map flight path draw animation */
@keyframes draw-path {
    0% {
        stroke-dashoffset: 1200;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

.animate-draw-path {
    animation: draw-path 4.5s ease-in-out infinite;
}

/* Music equalizer bar (referenced elsewhere) */
@keyframes music-wave {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

/* ===== 以下由抽离的 inline style 转换而来 ===== */

/* 地形图底纹背景 (Mercator) */
.topo-bg {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Mercator_projection_Square.JPG/1200px-Mercator_projection_Square.JPG');
    background-size: cover;
    background-blend-mode: overlay;
    filter: grayscale(100%) invert(100%);
}

/* 成都聚焦光晕 */
.glow-chengdu {
    background: radial-gradient(ellipse 35% 30% at 37% 63%, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
}

/* 中国大陆中心光晕 */
.glow-china {
    background: radial-gradient(ellipse 40% 50% at 48% 60%, rgba(255, 255, 255, 0.055) 0%, transparent 70%);
}

/* 暗角 */
.vignette {
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}

/* 慢速 ping 动画 (配合 animate-ping) */
.ping-slow {
    animation-duration: 3s;
}

/* Hero Eyebrow · 极简横线版式徽章 (替代胶囊) · 响应式 */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: ui-monospace, 'JetBrains Mono', monospace;
    max-width: 100%;
}

.hero-eyebrow__text {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(251, 191, 36, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-eyebrow__dot {
    flex-shrink: 0;
    width: 16px;
    height: 1px;
}

.hero-eyebrow__dot:first-child {
    background: linear-gradient(to right, transparent, rgba(251, 191, 36, 0.5));
}

.hero-eyebrow__dot:last-child {
    background: linear-gradient(to left, transparent, rgba(251, 191, 36, 0.5));
}

@media (min-width: 768px) {
    .hero-eyebrow {
        gap: 14px;
    }

    .hero-eyebrow__text {
        font-size: 11px;
        letter-spacing: 0.4em;
    }

    .hero-eyebrow__dot {
        width: 28px;
    }
}

/* Hero 品牌胶囊 — 深色克制版 (旧版保留) */
.pill-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 4px 20px -4px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pill-premium:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(20, 20, 20, 0.7);
}

/* 右端 amber 装饰小芯片 */
.pill-premium__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: rgba(251, 191, 36, 0.9);
    font-family: ui-monospace, 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pill-premium__chip::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.9);
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}

/* Hero 描边 → 实心填充动画文字 (使用双层结构规避 iOS Safari 的 text-stroke + background-clip 渲染 bug) */
.hero-outline {
    display: inline-block;
    position: relative;
    color: rgba(255, 255, 255, 0);
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
    cursor: pointer;
    outline: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    transition: -webkit-text-stroke-color 0.4s ease;
}

/* 实心填充层 · 用 ::before 堆叠 + clip-path 揭开, 避免 background-clip:text 在 iOS 上的条纹 bug */
.hero-outline::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.6, 0.05, 0.2, 0.95);
    pointer-events: none;
    letter-spacing: inherit;
}

.hero-outline:hover,
.hero-outline:focus,
.hero-outline.is-filled {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0);
}

.hero-outline:hover::before,
.hero-outline:focus::before,
.hero-outline.is-filled::before {
    clip-path: inset(0 0 0 0);
}

/* ===== 对话气泡 · 时间戳绝对定位 · 不吃横向空间 ===== */
.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chat-row--right {
    justify-content: flex-end;
}

.chat-bubble {
    position: relative;
    max-width: min(78%, 560px);
}

.chat-time {
    position: absolute;
    bottom: -18px;
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: rgba(107, 114, 128, 0.8);
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.25s ease;
    white-space: nowrap;
    pointer-events: none;
}

.chat-row--left .chat-time {
    left: 0;
}

.chat-row--right .chat-time {
    right: 0;
}

.chat-row:hover .chat-time,
.chat-row:focus-within .chat-time {
    opacity: 1;
}

/* 移动端: 没 hover, 改用点击/长按 (可选) — 默认保持常态不显示, 简洁 */
@media (hover: none) {
    .chat-row:active .chat-time {
        opacity: 1;
    }
}

/* ===== Pro 功能胶囊 · Swiper 版 · 丝滑横滑 + 两侧渐变遮罩 ===== */
.pro-features {
    position: relative;
    width: 100%;
    padding: 2px 0 4px 0;
}

/* 两侧渐变遮罩 · 伪元素覆盖在 Swiper 边缘 */
.pro-features::before,
.pro-features::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pro-features::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
    opacity: 0;
}

.pro-features::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
    opacity: 1;
}

/* Swiper 暴露的状态 class */
.pro-features.is-at-start::before {
    opacity: 0;
}

.pro-features:not(.is-at-start)::before {
    opacity: 1;
}

.pro-features.is-at-end::after {
    opacity: 0;
}

.pro-features .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.pro-features__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(229, 231, 235, 0.85);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pro-features__pill i {
    color: rgba(234, 179, 8, 0.75);
    stroke-width: 2.5;
}

.pro-features__pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.pro-features__pill:hover i {
    color: rgba(234, 179, 8, 1);
}

@media (min-width: 768px) {
    .pro-features__pill {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* FAQ 手风琴 (自定义 JS 互斥) */
.faq-trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
    outline: none;
}

.faq-trigger:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(251, 191, 36, 0.35);
    border-radius: 1rem;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* 内容折叠容器 — 用 grid-template-rows 动画实现真正的自适应高度过渡 */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
    min-height: 0;
    padding-bottom: 0 !important;
    /* 折叠默认 0, 覆盖 Tailwind pb-5 */
    opacity: 0;
    transform: translateY(-4px);
    transition:
        padding-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.faq-item.is-open .faq-content-inner {
    padding-bottom: 1.25rem !important;
    /* 展开态恢复 pb-5 */
}

/* 展开状态 */
.faq-item.is-open {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
    color: rgba(251, 191, 36, 0.95);
}

.faq-item.is-open .faq-content {
    grid-template-rows: 1fr;
}

.faq-item.is-open .faq-content-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 懒加载 (vanilla-lazyload) — blur fade-in ===== */
/* 注意：transition 必须同时列出 transform, 否则会覆盖 Tailwind 的 transition-transform
   导致 hover:scale-105 直接跳变无过渡 */
img.lazy {
    opacity: 0;
    filter: blur(35px);
    overflow: hidden;
    box-sizing: border-box;
    -webkit-transition:
        opacity 0.8s ease-in-out,
        -webkit-filter 0.7s linear,
        -webkit-transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transition:
        opacity 0.8s ease-in-out,
        filter 0.7s linear,
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

img.loaded {
    filter: blur(0);
    opacity: 1;
}

/* ===== Fancybox 灯箱自定义样式 (毛玻璃主题) ===== */
.fancybox__backdrop {
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.fancybox__toolbar__column.is-middle,
.fancybox__toolbar__column.is-right {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 6px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 29px 0px;
}

.fancybox__toolbar__column.is-right {
    margin-right: 6px;
}

.fancybox__toolbar .f-button {
    background: transparent;
    border-radius: 20px;
    width: 36px;
    height: 36px;
}

.fancybox__toolbar .f-button svg {
    width: 20px;
    height: 20px;
    color: #696969;
    transition: all 0.3s;
}

.fancybox__toolbar .f-button:hover svg {
    color: #ffffff;
}

.fancybox__toolbar__column.is-left,
.fancybox__toolbar__column.is-right {
    flex-grow: 0;
}

/* Hero 滚动提示竖线光点 */
@keyframes scroll-hint {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.animate-scroll-hint {
    animation: scroll-hint 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 相册进度条初始宽度 (后续由 JS 动态更新) */
#gallery-progress {
    width: 10%;
}

/* 旅行地图经纬网格 (小) */
.grid-latlng-sm {
    background-image:
        linear-gradient(#ffffff 1px, transparent 1px),
        linear-gradient(90deg, #ffffff 1px, transparent 1px);
    background-size: 60px 60px;
}

/* 全景地图经纬网格 (大) */
.grid-latlng-lg {
    background-image:
        linear-gradient(#ffffff 1px, transparent 1px),
        linear-gradient(90deg, #ffffff 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ===== 全局滚动条 ===== */
/* 始终预留滚动条位置，避免 modal 打开时布局跳动 */
html {
    scrollbar-gutter: stable;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* WebKit (Chrome / Safari / Edge) */
html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-track {
    background: #050505;
}

html::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    border: 2px solid #050505;
    transition: background 0.2s ease;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

html::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.4);
}

html::-webkit-scrollbar-corner {
    background: #050505;
}

/* ===== 联系二维码弹窗 ===== */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    pointer-events: none;
}

.qr-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

.qr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.qr-modal.is-open .qr-modal__backdrop {
    opacity: 1;
}

.qr-modal__card {
    position: relative;
    width: min(360px, 92vw);
    padding: 28px 28px 22px;
    background: linear-gradient(160deg, #0f0f11 0%, #070708 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.28s ease;
}

.qr-modal.is-open .qr-modal__card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.qr-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qr-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: rotate(90deg);
}

.qr-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.qr-modal__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-modal__label {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

.qr-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

.qr-modal__frame {
    position: relative;
    border-radius: 16px;
    margin-bottom: 14px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.qr-modal__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: pixelated;
}

.qr-modal__hint {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

/* 主题变体 */
.qr-modal[data-theme="qq"] .qr-modal__icon {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.qr-modal[data-theme="wechat"] .qr-modal__icon {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

body.qr-modal-open,
body.fancybox-locked {
    overflow: hidden;
}

/* Fancybox 会自己往 body 上加 margin-right 补偿滚动条宽度，
   但我们 html 已用 scrollbar-gutter: stable 预留了槽位，
   Fancybox 的补偿变成重复 → 打开/关闭瞬间布局抖动。
   这里把它的补偿变量归零。 */
html.with-fancybox {
    --fancybox-scrollbar-compensate: 0px;
}

html.with-fancybox body.hide-scrollbar {
    margin-right: 0 !important;
}

/* ============================================================
 *  以下样式原位于 lgnewui-product.html 内联 <style>，v2.1.0 迁出
 * ============================================================ */

/* Fancybox · 关闭按钮垂直居中到工具栏 · 消除视觉不对称 */
.fancybox__container .is-close-btn {
    top: 18px !important;
    right: 18px !important;
}

/* —— 弹窗整体 —— */
#legal-modal {
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.4s;
}

#legal-modal.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s linear 0s;
}

/* —— 背景遮罩 —— */
.legal-backdrop {
    opacity: 0;
    transition: opacity 0.35s ease;
}

#legal-modal.is-open .legal-backdrop {
    opacity: 1;
}

/* —— 对话框弹性入场 —— */
.legal-dialog {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
    transition:
        opacity 0.35s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#legal-modal.is-open .legal-dialog {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* —— 下划线分段控件（现代风，移动端适配）—— */
.legal-segmented {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.legal-segmented .legal-indicator {
    position: absolute;
    bottom: -1px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition:
        left 0.42s cubic-bezier(0.34, 1.4, 0.5, 1),
        width 0.42s cubic-bezier(0.34, 1.4, 0.5, 1);
    pointer-events: none;
    z-index: 2;
}

.legal-segmented .legal-tab {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.legal-segmented .legal-tab:hover {
    color: rgba(255, 255, 255, 0.85);
}

.legal-segmented .legal-tab.is-active {
    color: #fff;
}

@media (min-width: 640px) {
    .legal-segmented .legal-tab {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* —— Tab 内容切换 —— */
.legal-section {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.legal-section.is-active {
    display: block;
    animation: legal-enter 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes legal-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* —— 首屏 Loading 骨架 —— */
.legal-skeleton {
    display: none;
    padding: 28px 4px 12px;
}

#legal-modal.is-loading .legal-skeleton {
    display: block;
}

#legal-modal.is-loading [data-legal-content] {
    display: none;
}

.legal-skel-bar {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.09) 50%,
            rgba(255, 255, 255, 0.04) 100%);
    background-size: 200% 100%;
    animation: legal-shimmer 1.4s ease-in-out infinite;
    margin-bottom: 14px;
}

@keyframes legal-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* —— 正文排版微调 —— */
.legal-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* —— 序言 Callout · 极简清爽 —— */
.legal-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.72;
}

.legal-callout b {
    color: #fff;
    font-weight: 600;
}

.legal-callout .legal-callout-icon {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.legal-callout .legal-callout-icon svg {
    width: 15px;
    height: 15px;
    display: block;
}

/* ====== Hero 主标题移动端缩放 (预编译 Tailwind 不含 text-5xl, 用原生 CSS) ====== */
@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem !important;
        /* 48px */
        line-height: 1.05 !important;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 2.5rem !important;
        /* 40px · iPhone SE 等窄屏 */
    }
}

/* ====== Reviews · rAF Marquee ====== */
.reviews-marquee {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    /* 兜底最小高度 · 防止数据加载前容器塌陷, 即便 JS 失败也保持布局稳定 */
    min-height: 232px;
}

@media (max-width: 640px) {
    .reviews-marquee {
        min-height: 212px;
    }
}

.reviews-marquee.is-dragging {
    cursor: grabbing;
}

.reviews-marquee .marquee-track {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    width: max-content;
    will-change: transform;
}

.reviews-marquee .marquee-card {
    flex: 0 0 350px;
    width: 350px;
    padding: 24px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: border-color .3s ease, background-color .3s ease;
    /* 头部固定顶部, 正文在剩余空间垂直居中 */
    display: flex;
    flex-direction: column;
}

.reviews-marquee .marquee-card>p {
    margin-top: auto;
    margin-bottom: auto;
}

.reviews-marquee .marquee-card {
    cursor: pointer;
}

.reviews-marquee .marquee-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: #0d0d0d;
}

.reviews-marquee.is-dragging .marquee-card {
    cursor: grabbing;
}

.reviews-marquee .marquee-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .reviews-marquee .marquee-card {
        flex-basis: 280px;
        width: 280px;
        padding: 20px;
    }
}

/* ====== Reviews · 作者标识 (Ki) ====== */
/* 极简风: 仅文字提亮 + 加粗, 无任何装饰 */
.author-mention {
    color: #fff;
    font-weight: 600;
    cursor: help;
}

/* ====== Reviews · 骨架屏占位 ====== */
.marquee-skeleton {
    cursor: default !important;
    pointer-events: none;
}

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

.skel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.skel-meta {
    flex: 1;
    min-width: 0;
}

.skel-line {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 100%);
    background-size: 200% 100%;
    animation: skel-shimmer 1.4s ease-in-out infinite;
    margin-bottom: 10px;
}

.skel-line:last-child {
    margin-bottom: 0;
}

.skel-line--name {
    width: 40%;
    height: 12px;
}

.skel-line--sub {
    width: 25%;
    height: 9px;
}

.skel-line--short {
    width: 65%;
}

@keyframes skel-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ====== Modal 层级 · 从下到上: Pro(210) → Legal(220) → QR(230) ====== */
#legal-modal {
    z-index: 220 !important;
}

#qr-modal {
    z-index: 230 !important;
}

/* ====== Pro Modal · 购买弹窗 (Linear/Raycast 风格) ====== */
#pro-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#pro-modal.is-open {
    pointer-events: auto;
}

.pro-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    opacity: 0;
    transition: opacity .3s ease;
}

#pro-modal.is-open .pro-backdrop {
    opacity: 1;
}

.pro-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100dvh - 2rem);
    background: #0a0a0b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 24px 64px -16px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px) scale(.97);
    transition: opacity .28s ease, transform .36s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

#pro-modal.is-open .pro-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 顶部微渐变装饰 */
.pro-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.4), transparent);
    pointer-events: none;
}

.pro-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
    border: 1px solid transparent;
    transition: all .2s;
    z-index: 2;
}

.pro-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.pro-head {
    padding: 28px 28px 20px;
    flex-shrink: 0;
}

.pro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(251, 191, 36, 0.9);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.pro-eyebrow::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.pro-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin-bottom: 6px;
}

.pro-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.55;
}

.pro-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.pro-price-num {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-feature-settings: 'tnum';
}

.pro-price-num::before {
    content: '¥';
    font-size: 16px;
    font-weight: 600;
    margin-right: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.pro-price-old {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-decoration: line-through;
}

.pro-price-note {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.04em;
}

/* 社会证明 · 300+ 已付费用户 */
.pro-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
}

.pro-social-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pro-social-avatars .pro-social-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #111;
    overflow: hidden;
    margin-left: -7px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    background: #1a1a1a;
}

.pro-social-avatars .pro-social-avatar:first-child {
    margin-left: 0;
}

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

.pro-social-avatars .pro-social-avatar--more {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-social-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}

.pro-social-text strong {
    color: #fff;
    font-weight: 700;
    margin: 0 2px;
}

.pro-social-pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    margin-right: 6px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    animation: pro-pulse 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes pro-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
}

/* 关怀计划 · 学生/退役军人等凭证立减 */
.pro-care {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(14, 165, 233, 0.02));
    border: 1px solid rgba(56, 189, 248, 0.16);
    position: relative;
    overflow: hidden;
}

.pro-care::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
    pointer-events: none;
}

.pro-care-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.pro-care-head .pro-care-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    flex-shrink: 0;
}

.pro-care-head .pro-care-icon svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}

.pro-care-title {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.08em;
}

.pro-care-minus {
    margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.pro-care-body {
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    position: relative;
    z-index: 1;
}

.pro-care-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-right: 4px;
}

.pro-care-tags span {
    color: rgba(56, 189, 248, 0.9);
    font-weight: 500;
}

.pro-care-tags span+span::before {
    content: ' · ';
    color: rgba(56, 189, 248, 0.4);
    margin: 0 2px;
}

.pro-body {
    padding: 8px 28px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
    min-height: 0;
}

/* 微信 QR · 深色卡片, 不套白底 */
.pro-wechat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #111113 0%, #0c0c0e 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 18px;
    transition: border-color .2s;
}

.pro-wechat:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.pro-wechat-qr {
    width: 116px;
    height: 116px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform .2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.pro-wechat-qr:hover {
    transform: scale(1.04);
}

.pro-wechat-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pro-wechat-meta {
    min-width: 0;
    flex: 1;
}

.pro-wechat-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(16, 185, 129, 0.9);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.pro-wechat-label::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
    animation: pro-pulse 2s ease-in-out infinite;
}

@keyframes pro-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.pro-wechat-head {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
}

.pro-wechat-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.55;
}

/* 备注提醒 · 正式文书风 · 四角装饰 + 双语标签 + 黄金印章 */
.pro-notice {
    position: relative;
    padding: 18px 18px 16px;
    margin-bottom: 18px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(251, 191, 36, 0.055) 0%, rgba(251, 191, 36, 0.02) 45%, rgba(0, 0, 0, 0) 100%),
        rgba(251, 191, 36, 0.015);
    border: 1px solid rgba(251, 191, 36, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(251, 191, 36, 0.12),
        inset 0 0 0 1px rgba(251, 191, 36, 0.04),
        0 2px 14px -4px rgba(251, 191, 36, 0.1);
    overflow: hidden;
}

/* 左上装饰光晕 */
.pro-notice::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.14), transparent 70%);
    pointer-events: none;
}

/* 四角装饰线 · 文书感 */
.pro-notice__corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: rgba(251, 191, 36, 0.5);
    border-style: solid;
    border-width: 0;
    pointer-events: none;
}

.pro-notice__corner--tl {
    top: 6px;
    left: 6px;
    border-top-width: 1px;
    border-left-width: 1px;
}

.pro-notice__corner--tr {
    top: 6px;
    right: 6px;
    border-top-width: 1px;
    border-right-width: 1px;
}

.pro-notice__corner--bl {
    bottom: 6px;
    left: 6px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.pro-notice__corner--br {
    bottom: 6px;
    right: 6px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

/* 头部: 印章 + 双语标签 + 虚线分隔 */
.pro-notice__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(251, 191, 36, 0.18);
}

.pro-notice__seal {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.pro-notice__seal svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}

.pro-notice__label-cn {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.12em;
}

.pro-notice__divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(251, 191, 36, 0.22), transparent);
}

.pro-notice__label-en {
    font-family: ui-monospace, 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(251, 191, 36, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
}

/* 主体文字 */
.pro-notice__body {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.pro-notice__body strong {
    display: inline-block;
    color: #fbbf24;
    font-weight: 500;
    padding: 2px 10px;
    margin: 0 2px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(251, 191, 36, 0.03));
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 5px;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pro-notice__sub {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.65;
}

/* QQ 兜底 · 小卡片 */
.pro-qq {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.pro-qq svg {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.pro-qq .mono {
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.pro-qq button {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .2s;
    flex-shrink: 0;
}

.pro-qq button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* 分组标题 */
.pro-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 12px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.pro-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

/* 部署流程 */
.pro-flow {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pro-flow-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
}

.pro-flow-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    margin-top: -1px;
}

/* 服务保障变体: 图标替代数字 · 金色主色 */
.pro-flow-item--service .pro-flow-num {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.05));
    border-color: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.pro-flow-item--service .pro-flow-num svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}

.pro-flow-item .pro-flow-title {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.pro-flow-item .pro-flow-desc {
    display: block;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    margin-top: 2px;
    line-height: 1.55;
}

.pro-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pro-links button,
.pro-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    transition: color .2s, background-color .2s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
}

.pro-links button:hover,
.pro-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 540px) {
    .pro-head {
        padding: 24px 22px 16px;
    }

    .pro-title {
        font-size: 19px;
    }

    .pro-body {
        padding: 8px 22px 22px;
    }

    .pro-wechat {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 18px 14px;
    }

    .pro-wechat-qr {
        width: 160px;
        height: 160px;
    }

    .pro-wechat-meta {
        text-align: center;
    }

    .pro-qq {
        flex-wrap: wrap;
    }

    .pro-qq button {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        padding: 8px;
    }
}

/* ====== Review Modal · 原生 CSS (不依赖 Tailwind 任意值) ====== */
#review-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#review-modal.is-open {
    pointer-events: auto;
}

.review-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity .3s ease;
}

#review-modal.is-open .review-backdrop {
    opacity: 1;
}

.review-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100dvh - 2rem);
    background: linear-gradient(180deg, #0d0d0d 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px) scale(.96);
    transition: opacity .3s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

#review-modal.is-open .review-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #222;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-name {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-sub {
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.review-close-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    transition: color .2s, background-color .2s;
    flex-shrink: 0;
}

.review-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.review-body {
    padding: 22px;
    overflow-y: auto;
    max-height: calc(100dvh - 12rem);
    overscroll-behavior: contain;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
    line-height: 1.85;
    letter-spacing: 0.01em;
}
/* ====== Authorized Partners · 手动轮播分页 ====== */
.authorized-bullet {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 280ms ease, width 280ms ease;
}
.authorized-bullet:hover {
    background: rgba(255, 255, 255, 0.3);
}
.authorized-bullet-active {
    width: 36px;
    background: rgba(255, 255, 255, 0.85);
}

/* slide 模式 · 非 active 卡片半透明 (peek 效果) */
.authorized-swiper .swiper-slide {
    transition: opacity 320ms ease;
    opacity: 0.4;
}
.authorized-swiper .swiper-slide-active {
    opacity: 1;
}

/* 到达首/末位时, Swiper 自动给箭头加 .swiper-button-disabled, 此处置灰禁用 */
.authorized-prev.swiper-button-disabled,
.authorized-next.swiper-button-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* 防止 .partner-card 出现意外的蓝色 ring + focus outline */
.partner-card,
.partner-card *,
.partner-card img {
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-offset-shadow: 0 0 #0000 !important;
}
#authorized,
#authorized * {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}
