/* ============================================================
   亚洲玉都 · 扫码引导弹窗样式 V1.1（紧凑版）
   独立文件，不依赖其他样式，避免缓存问题
   ============================================================ */
.yzyd-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 10, 0.62);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.yzyd-popup-overlay.yzyd-popup-show { display: flex; }

.yzyd-popup-box {
    width: 420px;
    max-width: 92vw;
    background: #fdfaf4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    animation: yzyd-pop-in 0.35s ease-out;
}
@keyframes yzyd-pop-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.yzyd-popup-top {
    height: 46px;
    background: linear-gradient(90deg, #b81c3a, #cf205c);
    display: flex;
    align-items: center;
    padding: 0 18px;
    position: relative;
}
.yzyd-popup-top::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #e8c877, #c9a24a, #e8c877);
}
.yzyd-popup-title { color: #fff; font-size: 16px; font-weight: bold; letter-spacing: 1px; }
.yzyd-popup-title small { font-size: 11px; font-weight: normal; opacity: 0.85; margin-left: 8px; letter-spacing: 0; }
.yzyd-popup-close {
    position: absolute; right: 12px; top: 8px;
    color: #fff; font-size: 22px; line-height: 1;
    cursor: pointer; opacity: 0.85;
}
.yzyd-popup-close:hover { opacity: 1; }

.yzyd-popup-body { padding: 16px 20px 14px; text-align: center; }
.yzyd-popup-lead { font-size: 16px; color: #7a1f2b; font-weight: bold; margin-bottom: 4px; letter-spacing: 1px; }
.yzyd-popup-sub { font-size: 11px; color: #9a8a78; margin-bottom: 14px; }
.yzyd-popup-showcase { display: flex; justify-content: center; align-items: center; gap: 12px; }
.yzyd-popup-card {
    background: #fff; border: 1px solid #e8dfd0; border-radius: 6px;
    padding: 9px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.yzyd-popup-card img { width: 140px; height: 140px; display: block; object-fit: contain; }
.yzyd-popup-card .cap { margin-top: 8px; font-size: 11px; color: #8a7a68; letter-spacing: 1px; }
.yzyd-popup-card-logo .cap { color: #b81c3a; font-weight: bold; font-size: 13px; }
.yzyd-popup-arrow { color: #c9a24a; font-size: 22px; font-weight: bold; }
.yzyd-popup-desc { margin-top: 12px; font-size: 12px; color: #6b5a4a; line-height: 1.7; }
.yzyd-popup-desc b { color: #b81c3a; }

.yzyd-popup-foot {
    border-top: 1px solid #ece2d2;
    padding: 9px 18px;
    display: flex; align-items: center; justify-content: space-between;
    background: #faf5ec;
}
.yzyd-popup-tip { font-size: 11px; color: #a99a86; }
.yzyd-popup-no {
    border: 1px solid #cbb9a0; background: #fff; color: #7a6a56;
    padding: 6px 12px; border-radius: 5px; font-size: 12px;
    cursor: pointer; font-family: inherit;
}
.yzyd-popup-no:hover { background: #f0e8da; }

.yzyd-popup-toast {
    position: fixed; top: 30px; left: 50%; transform: translateX(-50%);
    background: #333; color: #fff; padding: 12px 26px; border-radius: 6px;
    font-size: 14px; z-index: 100000; display: none;
}

@media (max-width: 768px) {
    .yzyd-popup-box { width: 92vw; }
    .yzyd-popup-card img { width: 38vw; height: 38vw; }
}
