/* Reset & 基础 */
html, body {
    height:100%; margin:0; padding:0;
    font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
    background:#f2f2f7; color:#f7f7ff;
}
.container { max-width:420px; margin:0 auto; padding:20px; }

/* Header */
.header h1 {
    font-size:32px; font-weight:700; text-align:center; margin-bottom:8px;
    letter-spacing:1px; color:#cc4c02;
}
.header p { font-size:16px; text-align:center; color:#6e6e73; margin-bottom:25px; }

/* 使用说明 Section */
.section {
    background:#ffa133; padding:16px; border-radius:16px;
    border: 2px solid #000000; /* 边框颜色可改 */
    box-shadow:0 3px 8px rgba(0,0,0,0.08);
    font-size:14px; margin-bottom:30px;
}

/* 按钮 */
.button-card { margin-bottom:20px; }
.button {
    display:block; width:100%; padding:16px 0; text-align:center;
    border-radius:14px; background:#ffa133; color:#ffffff; font-weight:600; font-size:17px;
    text-decoration:none; border:1px solid #000000; box-shadow:0 2px 4px rgba(0,0,0,0.1);
    transition:background 0.2s, transform 0.1s;
}
.button.active, .button:active { background:#f2f2f7; transform:scale(0.97); }

/* App 图片 */
.app-image { display:block; width:100%; max-width:320px; margin:0 auto 40px auto; border-radius:20px; box-shadow:0 4px 12px rgba(0,0,0,0.08); border:3px solid #cc4c02; /* 图片边框颜色可改 */ }

/* 微信遮罩 */
.wechat-overlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.4); display:flex; align-items:center; justify-content:center; z-index:99999; }
.wechat-overlay .msg { background:#fff; border-radius:14px; padding:24px; max-width:300px; text-align:center; color:#1c1c1e; font-size:15px; box-shadow:0 8px 20px rgba(0,0,0,0.25); line-height:1.6; }
.wechat-overlay .msg h2 { font-size:18px; margin-bottom:12px; color:#1c1c1e; }

/* iOS 弹窗 */
.ios-alert { 
    position:fixed; top:0; left:0; width:100%; height:100%; 
    background:rgba(0,0,0,0.25); display:flex; align-items:center; justify-content:center; 
    z-index:99998; opacity:0; pointer-events:none; transition:opacity 0.2s;
}
.ios-alert.show { opacity:1; pointer-events:auto; }
.ios-alert-box {
    background:#fff; border-radius:16px; width:80%; max-width:300px; padding:20px; text-align:center;
    box-shadow:0 16px 32px rgba(0,0,0,0.25);
}
.ios-alert-box p { font-size:15px; margin:0 0 20px; color:#1c1c1e; line-height:1.5; }
.ios-alert-actions { display:flex; justify-content:space-between; }
.ios-alert-actions button { flex:1; margin:0 5px; padding:12px 0; border:none; border-radius:14px; font-size:16px; font-weight:600; cursor:pointer; }
.ios-alert-actions button.cancel { background:#f2f2f7; color:#1c1c1e; }
.ios-alert-actions button.confirm { background:#da8918; color:#fff; }
