/* ==========================================================================
   720云全景 · 播放端标注与图片弹层样式
   --------------------------------------------------------------------------
   供 show/detail.html、show/play.html 等播放页使用（独立于 home.css）
   ========================================================================== */

/* ---------------- 标注标记 ---------------- */

.pano-hs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .92);
    background: rgba(22, 186, 170, .92);
    box-shadow: 0 0 0 6px rgba(22, 186, 170, .16), 0 6px 18px rgba(0, 0, 0, .45);
    color: #06171a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    transition: background-color .18s, box-shadow .18s;
}

.pano-hs::after {
    display: block;
    font-style: normal;
    transform: translateY(-1px);
}

.pano-hs-text  { background: rgba(22, 186, 170, .94); box-shadow: 0 0 0 6px rgba(22, 186, 170, .16), 0 6px 18px rgba(0, 0, 0, .45); }
.pano-hs-text::after { content: "i"; }

.pano-hs-link  { background: rgba(91, 141, 239, .94); box-shadow: 0 0 0 6px rgba(91, 141, 239, .18), 0 6px 18px rgba(0, 0, 0, .45); }
.pano-hs-link::after { content: "↗"; }

.pano-hs-img   { background: rgba(245, 165, 36, .94); box-shadow: 0 0 0 6px rgba(245, 165, 36, .18), 0 6px 18px rgba(0, 0, 0, .45); }
.pano-hs-img::after { content: "▣"; font-size: 13px; }

.pano-hs-scene { background: rgba(34, 211, 197, .94); box-shadow: 0 0 0 6px rgba(34, 211, 197, .18), 0 6px 18px rgba(0, 0, 0, .45); }
.pano-hs-scene::after { content: "➜"; font-size: 13px; }

.pano-hs:hover {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 8px 22px rgba(0, 0, 0, .5);
}

/* ---------------- 悬停提示气泡 ---------------- */

.pano-hs.pnlm-tooltip > span {
    padding: 9px 13px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(9, 16, 24, .94);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
    color: #e8eef6;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.65;
    max-width: 260px;
    white-space: normal;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.pano-hs.pnlm-tooltip > span .hs-t {
    display: block;
    font-size: 13.5px;
    color: #fff;
    margin-bottom: 3px;
}

.pano-hs.pnlm-tooltip > span .hs-c {
    display: block;
    color: #9fb0c3;
}

.pano-hs.pnlm-tooltip > span .hs-go {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: #22d3c5;
}

/* 去掉 Pannellum 默认的小三角（与圆角卡片不匹配） */
.pano-hs.pnlm-tooltip:hover > span::after { display: none; }

/* ---------------- 图片弹层 ---------------- */

.pano-lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 44px 24px;
    background: rgba(3, 7, 12, .92);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.pano-lb.show { display: flex; }

.pano-lb-close {
    position: absolute;
    right: 24px;
    top: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    transition: background-color .18s;
}
.pano-lb-close:hover { background: rgba(255, 255, 255, .26); }

.pano-lb-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: min(1240px, 94vw);
}

.pano-lb-figure img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .7);
    background: #0b131b;
}

.pano-lb-figure figcaption {
    color: #9fb0c3;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    max-width: 780px;
}
.pano-lb-figure figcaption:empty { display: none; }
