/* ==========================================================================
   园区720全景展示网站 - 前台样式
   设计：专业、可信、沉浸。深海军蓝 + 精炼金，移动优先响应式。
   全景查看器样式对应 assets/js/panorama.js (PanoApp) 的 DOM 结构。
   ========================================================================== */

:root {
    /* 主题色 */
    --c-bg: #ffffff;
    --c-bg-alt: #f4f6f9;
    --c-bg-deep: #0a1626;
    --c-surface: #ffffff;
    --c-border: #e3e8ef;
    --c-border-strong: #c8d0db;

    --c-text: #0f1e2e;
    --c-text-2: #3d4d5f;
    --c-text-3: #6b7888;
    --c-text-inv: #f5f8fc;

    --c-primary: #0f1e2e;
    --c-primary-2: #1b3147;
    --c-accent: #c8a45c;
    --c-accent-2: #b08d45;
    --c-accent-soft: #f3ead6;
    --c-danger: #c0392b;
    --c-success: #2e7d5b;

    /* 圆角与阴影（卡片圆角不超过12px） */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 12px;
    --r-pill: 999px;

    --sh-sm: 0 1px 2px rgba(15, 30, 46, .06);
    --sh-md: 0 4px 16px rgba(15, 30, 46, .08);
    --sh-lg: 0 12px 36px rgba(15, 30, 46, .14);

    --maxw: 1200px;
    --nav-h: 64px;
    --pano-bar-h: 48px;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;

    --t-fast: .18s ease;
    --t-mid: .28s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent-2); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { margin-bottom: 32px; }
.section__title { font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.section__sub { margin-top: 8px; color: var(--c-text-3); font-size: 15px; }
.section__title::before {
    content: ""; display: inline-block; width: 4px; height: 22px;
    background: var(--c-accent); margin-right: 12px; vertical-align: -3px; border-radius: 2px;
}

/* ---------- 顶部导航 ---------- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(10, 22, 38, .82);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: var(--c-text-inv);
}
.navbar__inner {
    height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0; }
.brand__mark {
    width: 30px; height: 30px; border-radius: 7px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    display: grid; place-items: center; color: #0a1626; font-weight: 800; font-size: 15px;
}
.brand__name { letter-spacing: 1px; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
    color: rgba(245, 248, 252, .82); padding: 8px 14px; border-radius: var(--r-sm);
    font-size: 15px; transition: var(--t-fast);
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 8px;
    border-radius: var(--r-sm); color: #fff;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: var(--t-fast); }

/* 移动端抽屉菜单（由 assets/js/app.js 控制 .open） */
.mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
    background: rgba(10, 22, 38, .97); padding: 24px 20px;
    transform: translateX(100%); transition: transform var(--t-mid);
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    display: block; padding: 14px 12px; font-size: 17px; color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu a:hover { color: var(--c-accent); }

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .nav-toggle { display: none; }
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
    line-height: 1.2; cursor: pointer; transition: var(--t-fast); white-space: nowrap;
    border: 1px solid transparent; text-align: center;
}
.btn--primary { background: var(--c-accent); color: #0a1626; }
.btn--primary:hover { background: var(--c-accent-2); color: #0a1626; transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--dark { background: var(--c-primary); color: #fff; }
.btn--dark:hover { background: var(--c-primary-2); color: #fff; }
.btn--outline { background: #fff; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--lg { padding: 15px 34px; font-size: 16px; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 首屏 Hero ---------- */
.hero {
    position: relative; min-height: calc(100vh - var(--nav-h));
    display: flex; align-items: center; color: #fff; overflow: hidden;
    background: var(--c-bg-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 38, .55) 0%, rgba(10, 22, 38, .78) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 60px 0; width: 100%; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: var(--r-pill);
    background: rgba(200, 164, 92, .18); border: 1px solid rgba(200, 164, 92, .4);
    color: var(--c-accent); font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
}
.hero__title {
    font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.15;
    letter-spacing: 1px; max-width: 820px;
}
.hero__title em { color: var(--c-accent); font-style: normal; }
.hero__desc {
    margin-top: 20px; max-width: 620px; font-size: clamp(15px, 2vw, 18px);
    color: rgba(245, 248, 252, .85); line-height: 1.7;
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 36px; }
.hero__stat .num { font-size: 30px; font-weight: 700; color: var(--c-accent); }
.hero__stat .label { font-size: 13px; color: rgba(245, 248, 252, .7); margin-top: 2px; }

/* ---------- 卡片 ---------- */
.card {
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--r-lg); overflow: hidden; transition: var(--t-fast);
    display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: var(--c-border-strong); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-mid); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--pano::before {
    content: "全景"; position: absolute; top: 10px; left: 10px; z-index: 1;
    background: rgba(10, 22, 38, .8); color: var(--c-accent);
    padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
}
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.card__title a:hover { color: var(--c-accent-2); }
.card__desc { margin-top: 8px; font-size: 14px; color: var(--c-text-3); line-height: 1.6; flex: 1; }
.card__meta { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag {
    display: inline-flex; align-items: center; padding: 3px 10px;
    background: var(--c-bg-alt); color: var(--c-text-2); font-size: 12px;
    border-radius: var(--r-sm); border: 1px solid var(--c-border);
}
.tag--accent { background: var(--c-accent-soft); color: var(--c-accent-2); border-color: transparent; }

/* 网格 */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 分类入口（时期/区域） ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-item {
    position: relative; padding: 22px 18px; border-radius: var(--r-lg);
    background: var(--c-surface); border: 1px solid var(--c-border);
    display: flex; flex-direction: column; gap: 4px; transition: var(--t-fast);
    min-height: 96px;
}
.cat-item:hover { border-color: var(--c-accent); background: #fff; box-shadow: var(--sh-sm); transform: translateY(-2px); }
.cat-item__name { font-size: 17px; font-weight: 700; }
.cat-item__count { font-size: 13px; color: var(--c-text-3); }
.cat-item__arrow { position: absolute; right: 16px; top: 22px; color: var(--c-text-3); transition: var(--t-fast); }
.cat-item:hover .cat-item__arrow { color: var(--c-accent); transform: translateX(3px); }

/* ---------- 路线卡 ---------- */
.route-card { display: flex; flex-direction: column; }
.route-card__duration {
    position: absolute; top: 10px; right: 10px; z-index: 1;
    background: rgba(10, 22, 38, .82); color: #fff;
    padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px;
    display: inline-flex; align-items: center; gap: 4px;
}
.route-card__nodes { margin-top: 10px; font-size: 13px; color: var(--c-text-3); }

/* ---------- 页面头部 ---------- */
.page-header { background: var(--c-bg-deep); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-header__bg { position: absolute; inset: 0; opacity: .28; z-index: 0; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header__inner { position: relative; z-index: 1; }
.breadcrumb { font-size: 13px; color: rgba(245, 248, 252, .7); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
.page-header__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.page-header__desc { margin-top: 12px; max-width: 680px; color: rgba(245, 248, 252, .82); font-size: 15px; }

/* ---------- 文章/园区介绍 ---------- */
.prose { font-size: 16px; line-height: 1.85; color: var(--c-text); }
.prose h1 { font-size: 28px; margin-bottom: 16px; font-weight: 800; }
.prose h2 { font-size: 24px; margin: 32px 0 14px; font-weight: 700; }
.prose h3 { font-size: 19px; margin: 24px 0 10px; font-weight: 700; }
.prose p { margin-bottom: 16px; }
.prose img { border-radius: var(--r-md); margin: 18px 0; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
    border-left: 3px solid var(--c-accent); padding: 8px 18px;
    margin: 18px 0; background: var(--c-bg-alt); border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--c-text-2);
}
.prose a { color: var(--c-accent-2); text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .article-layout { grid-template-columns: 1fr 280px; } }
.article-side .side-card {
    background: var(--c-bg-alt); border-radius: var(--r-lg); padding: 20px;
    margin-bottom: 18px; border: 1px solid var(--c-border);
}
.article-side .side-card h4 { font-size: 15px; margin-bottom: 12px; font-weight: 700; }
.article-side .side-card a { display: block; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--c-border); }
.article-side .side-card a:last-child { border-bottom: none; }
.article-side .side-card a:hover { color: var(--c-accent-2); }

/* ---------- 相册 ---------- */
.gallery-grid { columns: 2; column-gap: 14px; }
@media (min-width: 720px) { .gallery-grid { columns: 3; } }
@media (min-width: 1024px) { .gallery-grid { columns: 4; } }
.gallery-item {
    break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-md);
    overflow: hidden; position: relative; cursor: pointer; background: var(--c-bg-alt);
}
.gallery-item img { width: 100%; transition: transform var(--t-mid); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 14px 12px;
    background: linear-gradient(transparent, rgba(10, 22, 38, .85)); color: #fff; font-size: 13px;
}

/* 灯箱（由 assets/js/app.js 生成，结构见 SiteApp.initGalleryLightbox） */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; background: rgba(8, 16, 28, .95);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; color: #fff; background: rgba(255, 255, 255, .12);
    display: grid; place-items: center; border-radius: 50%; transition: var(--t-fast);
}
.lightbox-close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 20px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .26); }
.lightbox-stage { max-width: 92vw; max-height: 82vh; }
.lightbox-img { max-width: 92vw; max-height: 82vh; border-radius: var(--r-sm); display: block; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: #fff; font-size: 14px; }
.lightbox-counter { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; }
body.lightbox-open { overflow: hidden; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--c-text-3); }
.empty__icon { font-size: 42px; margin-bottom: 12px; opacity: .5; }

/* ---------- 页脚 ---------- */
.footer { background: var(--c-bg-deep); color: rgba(245, 248, 252, .7); padding: 48px 0 24px; margin-top: 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 720px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.footer a { display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: var(--c-accent); }
.footer__brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer__desc { font-size: 14px; line-height: 1.7; max-width: 360px; }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    font-size: 13px; color: rgba(245, 248, 252, .5);
}
.footer__bottom a { color: rgba(245, 248, 252, .5); display: inline; }
.footer__bottom a:hover { color: var(--c-accent); }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.hide-mobile { display: none; }
@media (min-width: 900px) { .hide-mobile { display: inline; } .hide-desktop { display: none; } }

/* 返回顶部按钮（data-back-to-top） */
[data-back-to-top] {
    position: fixed; right: 20px; bottom: 20px; z-index: 80;
    width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff;
    display: grid; place-items: center; font-size: 20px; box-shadow: var(--sh-md); border: none;
}
[data-back-to-top]:hover { background: var(--c-primary-2); }

.global-toast {
    position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
    background: rgba(10, 22, 38, .92); color: #fff; padding: 10px 20px; border-radius: var(--r-pill);
    font-size: 14px; z-index: 2000; opacity: 0; transition: var(--t-mid); pointer-events: none;
}
.global-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   全景漫游页（PanoApp）
   DOM 结构对应 assets/js/panorama.js 的 _renderShell()
   ========================================================================== */
.body-pano { overflow: hidden; background: #0a1626; }

/* 顶部条（panorama.php 自身输出） */
.pano-topbar {
    height: var(--pano-bar-h); display: flex; align-items: center; justify-content: space-between;
    padding: 0 14px; background: rgba(10, 22, 38, .95);
    border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; position: relative; z-index: 50;
}
.pano-back {
    display: inline-flex; align-items: center; gap: 4px; color: #fff;
    padding: 7px 12px; border-radius: var(--r-sm); font-size: 14px; background: rgba(255, 255, 255, .08);
}
.pano-back:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.pano-topbar__title { font-size: 15px; font-weight: 700; text-align: center; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* PanoApp 容器 */
#pano-viewer, .pano-app { width: 100%; height: calc(100vh - var(--pano-bar-h)); height: calc(100dvh - var(--pano-bar-h)); background: #0a1626; }
.pano-app { position: relative; overflow: hidden; }
.pano-stage { position: absolute; inset: 0; }
.pano-canvas { width: 100%; height: 100%; }
.pano-canvas .pnlm-container { background: #0a1626; }

/* 加载与错误 */
.pano-loading {
    position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px; color: #fff; background: #0a1626;
}
.pano-spinner {
    width: 38px; height: 38px; border: 3px solid rgba(255, 255, 255, .15);
    border-top-color: var(--c-accent); border-radius: 50%; animation: pano-spin .8s linear infinite;
}
@keyframes pano-spin { to { transform: rotate(360deg); } }
.pano-loading-text { font-size: 14px; color: rgba(245, 248, 252, .8); }
.pano-error {
    position: absolute; inset: 0; z-index: 21; display: flex; align-items: center; justify-content: center;
    color: #fff; background: #0a1626; text-align: center; padding: 24px; font-size: 15px;
}

/* 标题栏（左上） */
.pano-title-bar {
    position: absolute; top: 14px; left: 14px; z-index: 15; display: flex; flex-direction: column; gap: 2px;
    background: rgba(10, 22, 38, .6); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: var(--r-sm);
    pointer-events: none; max-width: 60%;
}
.pano-project-title { font-size: 15px; font-weight: 700; color: #fff; }
.pano-scene-title { font-size: 12px; color: var(--c-accent); }

/* 工具栏（右上） */
.pano-toolbar {
    position: absolute; top: 14px; right: 14px; z-index: 15; display: flex; gap: 6px;
    background: rgba(10, 22, 38, .6); backdrop-filter: blur(6px); padding: 6px; border-radius: var(--r-md);
}
.pano-btn {
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 10px; border-radius: var(--r-sm); color: #fff; font-size: 12px;
    transition: var(--t-fast); min-width: 44px;
}
.pano-btn:hover { background: rgba(255, 255, 255, .14); }
.pano-btn.active { background: var(--c-accent); color: #0a1626; }
.pano-btn .pano-icon { font-size: 17px; line-height: 1; }
.pano-btn .pano-label { font-size: 11px; }
.pano-btn:disabled { opacity: .4; }

/* 场景列表（左上抽屉，由 .pano-scene-toggle 触发） */
.pano-scene-list { position: absolute; top: 14px; left: 14px; z-index: 16; }
.pano-scene-toggle {
    width: 40px; height: 40px; border-radius: var(--r-sm); color: #fff; font-size: 18px;
    background: rgba(10, 22, 38, .7); backdrop-filter: blur(6px); display: grid; place-items: center;
    transition: var(--t-fast);
}
.pano-scene-toggle:hover { background: rgba(255, 255, 255, .16); }
/* 有标题栏时，场景开关下移避开 */
.pano-title-bar ~ .pano-scene-list, .pano-stage .pano-scene-list { top: 70px; }
.pano-scene-panel {
    position: absolute; top: 0; left: 0; margin-top: 50px;
    width: 240px; max-height: calc(100vh - var(--pano-bar-h) - 80px); overflow-y: auto;
    background: rgba(10, 22, 38, .96); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-md); padding: 8px; box-shadow: var(--sh-lg);
}
.pano-scene-item {
    display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm);
    cursor: pointer; transition: var(--t-fast); color: #fff;
}
.pano-scene-item:hover { background: rgba(255, 255, 255, .08); }
.pano-scene-item.active { background: rgba(200, 164, 92, .18); border: 1px solid rgba(200, 164, 92, .4); }
.pano-scene-thumb {
    width: 60px; height: 42px; border-radius: 4px; background-size: cover; background-position: center;
    background-color: #1b3147; flex-shrink: 0;
}
.pano-scene-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 路线播放条（底部居中） */
.pano-route-bar {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 17;
    display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
    background: rgba(10, 22, 38, .94); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-pill); padding: 8px 12px 8px 16px; box-shadow: var(--sh-lg);
}
.pano-route-info { min-width: 0; max-width: 260px; }
.pano-route-title { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pano-route-narration { font-size: 11px; color: rgba(245, 248, 252, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pano-route-prev, .pano-route-next {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--c-accent);
    color: #0a1626; font-size: 16px; font-weight: 700; display: grid; place-items: center;
}
.pano-route-prev:hover, .pano-route-next:hover { background: var(--c-accent-2); }

/* 沙盘/地图面板（左下） */
.pano-map-panel {
    position: absolute; left: 14px; bottom: 14px; z-index: 16; width: 220px;
    background: rgba(10, 22, 38, .95); border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--r-md); box-shadow: var(--sh-lg); overflow: hidden;
}
.pano-map-head {
    display: flex; align-items: center; justify-content: space-between; padding: 8px 12px;
    font-size: 12px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pano-map-close { color: rgba(255, 255, 255, .7); font-size: 16px; padding: 0 4px; }
.pano-map-close:hover { color: #fff; }
.pano-map-body { padding: 6px; }
.pano-map-canvas { position: relative; width: 100%; }
.pano-map-img { width: 100%; border-radius: 4px; display: block; }
.pano-map-empty { color: rgba(255, 255, 255, .5); font-size: 12px; text-align: center; padding: 24px 0; }
.pano-map-markers { position: absolute; inset: 6px; }
.pano-map-marker {
    position: absolute; cursor: pointer; transform: translate(-50%, -100%);
}
.pano-map-pin {
    display: block; width: 16px; height: 16px; border-radius: 50% 50% 50% 0;
    background: var(--c-accent); border: 2px solid #fff; transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.pano-map-marker.active .pano-map-pin { background: #ff6b3d; transform: rotate(-45deg) scale(1.2); }

/* 热点标记（Pannellum 应用 cssClass 到热点 div） */
.pano-hotspot {
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
    background: rgba(200, 164, 92, .92); border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .5); transition: var(--t-fast);
    display: grid; place-items: center;
}
.pano-hotspot:hover { transform: scale(1.15); }
.pano-hotspot-scene { background: rgba(46, 125, 91, .92); }
.pano-hotspot-scene:hover { background: #2e7d5b; }
.pano-hotspot-info { background: rgba(200, 164, 92, .92); }
.pano-hotspot-image, .pano-hotspot-video, .pano-hotspot-audio { background: rgba(27, 49, 71, .92); }
.pano-hotspot-link { background: rgba(15, 30, 46, .92); }

/* 热点悬浮提示（createTooltipFunc 设置 .pano-hs-tip） */
.pano-hs-tip, .pano-hs-tip-scene {
    background: rgba(10, 22, 38, .95); color: #fff; padding: 6px 12px; border-radius: var(--r-sm);
    font-size: 13px; white-space: nowrap; display: flex; align-items: center; gap: 6px;
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--sh-md);
}
.pano-hs-tip-scene { border-color: rgba(46, 125, 91, .6); }
.pano-hs-icon { font-size: 14px; color: var(--c-accent); }
.pano-hs-text { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }

/* 热点详情弹窗 */
.pano-hotspot-modal {
    position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: rgba(8, 16, 28, .7);
}
.pano-hotspot-box {
    position: relative; background: #fff; color: var(--c-text); border-radius: var(--r-lg);
    max-width: 560px; width: 100%; max-height: 84vh; overflow-y: auto; box-shadow: var(--sh-lg); padding: 22px 24px;
}
.pano-hotspot-close {
    position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
    font-size: 18px; color: var(--c-text-3); background: var(--c-bg-alt);
}
.pano-hotspot-close:hover { background: var(--c-border); color: var(--c-text); }
.pano-hotspot-content h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; padding-right: 32px; }
.pano-hotspot-content img, .pano-hotspot-content video { width: 100%; border-radius: var(--r-sm); margin-bottom: 12px; }
.pano-hotspot-content audio { width: 100%; margin-bottom: 12px; }
.pano-hotspot-content p { color: var(--c-text-2); line-height: 1.7; margin-bottom: 10px; }
.pano-hs-content { color: var(--c-text-2); line-height: 1.7; }

/* 分享弹窗 */
.pano-share-modal {
    position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: rgba(8, 16, 28, .7);
}
.pano-share-box {
    background: #fff; color: var(--c-text); border-radius: var(--r-lg); padding: 22px 24px;
    max-width: 480px; width: 100%; box-shadow: var(--sh-lg);
}
.pano-share-box h3 { font-size: 17px; margin-bottom: 14px; }
.pano-share-input {
    width: 100%; padding: 10px 12px; border: 1px solid var(--c-border-strong); border-radius: var(--r-sm);
    font-size: 13px; color: var(--c-text); font-family: monospace; margin-bottom: 14px;
}
.pano-share-actions { display: flex; gap: 10px; }
.pano-share-actions .pano-btn {
    flex: 1; padding: 10px; background: var(--c-primary); color: #fff; border-radius: var(--r-sm);
    flex-direction: row; gap: 6px;
}
.pano-share-actions .pano-btn:first-child { background: var(--c-accent); color: #0a1626; }
.pano-share-actions .pano-btn:hover { opacity: .9; }

/* 轻提示 */
.pano-toast {
    position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(20px);
    background: rgba(10, 22, 38, .95); color: #fff; padding: 8px 18px; border-radius: var(--r-pill);
    font-size: 13px; z-index: 60; opacity: 0; transition: var(--t-mid); pointer-events: none;
}
.pano-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 移动端：隐藏工具栏文字标签，紧凑显示 */
@media (max-width: 640px) {
    .pano-btn .pano-label { display: none; }
    .pano-btn { min-width: 38px; padding: 6px 8px; }
    .pano-scene-panel { width: 200px; }
    .pano-map-panel { width: 160px; }
    .pano-title-bar { max-width: calc(100% - 180px); }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}
