.liuyan-inline-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.58);
}

.liuyan-inline-popup.is-open {
    display: flex;
}

.liuyan-popup-panel {
    position: relative;
    width: min(1200px, 100%);
    height: min(88vh, 900px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
}

.liuyan-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.liuyan-popup-close:hover {
    background: rgba(15, 23, 42, 0.16);
}

.liuyan-inline-popup-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.liuyan-popup-closed {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    padding: 24px;
}

.liuyan-inline-popup.is-closed-tip .liuyan-popup-closed {
    display: flex;
}

.liuyan-popup-closed-card {
    width: min(420px, 100%);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.16);
    padding: 28px 22px;
    text-align: center;
}

.liuyan-popup-closed-title {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #1e293b;
}

.liuyan-popup-closed-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}
