/*
    注意事项:
    - [核心修正] 在 body 规则中同时添加 min-width 和 min-height。
    - 这将强制PWA窗口在启动时同时满足最小宽度和最小高度，从而解决窗口过扁的问题，确保一个完整的桌面应用视图。
*/
/* --- 全局和基本样式 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-width: 1200px; /* 强制内容的最小宽度 */
    min-height: 720px;  /* [核心新增] 强制内容的最小高度 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

.page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f0f2f5;
}

/* --- 通用工具类 --- */

/* 主操作按钮 */
.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #e93b5a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease; /* 修改为 all 以支持更多动效 */
}

.btn-primary:hover {
    background-color: #d1304f;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}