/* 原型右侧：手机外框 + 状态栏（浅色外壳，iframe 内为小程序暗色内容） */
.phone-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-height: 0;
    padding: 16px;
}

.phone-frame {
    width: 375px;
    height: min(812px, calc(100vh - 120px));
    max-height: calc(100vh - 120px);
    border-radius: 40px;
    border: 12px solid #d1d1d6;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06) inset,
        0 24px 48px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #e8e8ed;
}

.phone-frame-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #f7f7f7;
}

.phone-status-bar {
    flex-shrink: 0;
    height: 44px;
    background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 22px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.phone-iframe-wrap {
    flex: 1;
    min-height: 0;
    position: relative;
    background: #1a1d24;
}

.phone-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #1a1d24;
}
