/* 隐藏内容付费 - 前台样式
   付费提示沿用原插件的朴素风格：一行红字 + 虚线框，微信/支付宝只是文字链接 */

.hide-pay {
    margin: 10px auto;
    padding: 8px;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.8;
    color: #FF6666;
    text-align: center;
    border: 1px dashed #FF9A9A;
    background: none;
    box-shadow: none;
}

.hide-pay * {
    box-sizing: border-box;
}

.hide-pay a.hide-pay-btn {
    color: #FF6666;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    margin: 0 2px;
}

.hide-pay a.hide-pay-btn:hover {
    color: #E64545;
}

/* ===== 弹窗 ===== */
.hide-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.hide-modal * {
    box-sizing: border-box;
}

.hide-modal-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}

.hide-modal-box {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 340px;
    max-width: calc(100% - 32px);
    padding: 26px 20px 18px;
    background: #fff;
    border-radius: 12px;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    text-align: center;
    color: #333;
}

.hide-modal-close {
    position: absolute;
    right: 8px;
    top: 4px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 22px;
    color: #bbb;
    text-decoration: none;
}

.hide-modal-close:hover {
    color: #666;
}

.hide-modal-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.hide-modal-qr {
    padding: 8px;
    display: inline-block;
    border: 1px solid #eee;
    border-radius: 8px;
}

.hide-modal-qr img {
    display: block;
    width: 200px;
    height: 200px;
}

.hide-modal-price {
    margin: 10px 0 2px;
    font-size: 22px;
    font-weight: 700;
    color: #ff5722;
}

.hide-modal-tip {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.hide-modal-sn {
    margin-top: 6px;
    font-size: 12px;
    color: #bbb;
    word-break: break-all;
}

.hide-modal-loading,
.hide-modal-error,
.hide-modal-success {
    padding: 26px 4px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.hide-modal-error {
    color: #e54d42;
}

.hide-modal-success {
    color: #07c160;
}

.hide-modal-foot {
    margin-top: 16px;
}

.hide-modal-btn {
    display: inline-block;
    margin: 0 4px;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    color: #fff;
    background: #07c160;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

.hide-modal-btn-plain {
    color: #666;
    background: #f5f5f5;
}

.hide-modal-btn:hover {
    opacity: .9;
    text-decoration: none;
}

@media (max-width: 480px) {
    .hide-modal-qr img {
        width: 180px;
        height: 180px;
    }
}
