/* AI日签海报设计 - 页面专属样式 */

/* 结果区容器 */
.poster-result-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.poster-result-area.hidden {
    display: none;
}

/* 结果图 / loading 容器：9:16 竖版海报 */
.poster-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    width: auto;
    height: 70vh;
    aspect-ratio: 9 / 16;
    background: #f0f0f0;
    margin: 0 auto;
}

.poster-img-wrapper > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

/* 开始设计按钮禁用态 */
.start-design-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

/* 自动生成（浅灰色按钮） */
.auto-fill-btn {
    width: 100px;
    padding: 4px 10px;
    background: #f2f3f5;
    color: #555;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.auto-fill-btn:hover {
    background: #e8eaed;
    color: #333;
}

/* ========== 移动端H5响应式 ========== */
@media (max-width: 639px) {
    .namecard-intro-area {
        padding: 48px 2px;
    }

    .poster-img-wrapper {
        width: 100%;
        height: 80vh;
    }
}
