/* 全景页二维码分享 - 隐藏海报模板（与后台 MultiRoom 海报结构一致） */
.vr-share-poster-source {
    position: fixed;
    left: -10000px;
    top: 0;
    width: 380px;
    height: 410px;
    background: #fff;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    box-sizing: border-box;
}

.vr-share-poster-source__title {
    margin: 0;
    padding: 18px 16px 0;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #303133;
    line-height: 1.35;
    word-break: break-word;
}

.vr-share-poster-source__cover {
    margin-top: 30px;
    text-align: center;
}

.vr-share-poster-source__cover img {
    width: 340px;
    height: 230px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.vr-share-poster-source__brand {
    text-align: left;
    margin-top: 10px;
    margin-left: 21px;
}

.vr-share-poster-source__company {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #303133;
}

.vr-share-poster-source__intro {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.vr-share-poster-source__qr {
    position: absolute;
    top: 263px;
    right: 27px;
    width: 100px;
}

.vr-share-poster-source__qr-inner {
    width: 100px;
    height: 100px;
}

.vr-share-poster-source__qr-inner img,
.vr-share-poster-source__qr-inner canvas {
    display: block;
    width: 100px !important;
    height: 100px !important;
}

.vr-share-poster-source__qr-tip {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
}

/* 全景页二维码分享弹窗（对齐后台 qrcode-share-dialog） */
.vr-share-poster-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.vr-share-poster-modal.is-open {
    display: flex;
}

.vr-share-poster-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.vr-share-poster-modal__panel {
    position: relative;
    width: 420px;
    max-width: 100%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.vr-share-poster-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: #909399;
    font-size: 22px;
    line-height: 28px;
    cursor: pointer;
}

.vr-share-poster-modal__close:hover {
    color: #606266;
}

.vr-share-poster-modal__body {
    padding: 8px 16px 0;
    background: #f5f7fa;
}

.vr-share-poster-modal__body-inner {
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    min-height: 120px;
}

.vr-share-poster-modal__body-inner.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.vr-share-poster-modal__loading {
    color: #909399;
    font-size: 14px;
}

.vr-share-poster-modal__img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.vr-share-poster-modal__footer {
    padding: 12px 16px 16px;
    border-top: 1px solid #ebeef5;
    background: #fff;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.vr-share-poster-modal__btn {
    min-width: 110px;
    height: 32px;
    padding: 0 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    background: #fff;
    color: #606266;
}

.vr-share-poster-modal__btn:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background: #ecf5ff;
}

.vr-share-poster-modal__btn--primary {
    color: #fff;
    background: #409eff;
    border-color: #409eff;
}

.vr-share-poster-modal__btn--primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #fff;
}

.vr-share-poster-modal__btn:disabled {
    color: #c0c4cc;
    background: #fff;
    border-color: #ebeef5;
    cursor: not-allowed;
}

.vr-share-poster-modal__btn--primary:disabled {
    color: #fff;
    background: #a0cfff;
    border-color: #a0cfff;
}
