/* ===== 2026高考加油 - 暖色柔美版 ===== */
:root {
    --bg: #fef6f0;
    --bg-deep: #fdf0e8;
    --text-primary: #4a3f55;
    --text-secondary: #7a6e85;
    --text-light: #a89bb5;
    --pink: #f4a6b8;
    --pink-deep: #e8879e;
    --pink-soft: #f8d0db;
    --yellow: #f7c948;
    --green: #7ecba1;
    --blue: #8bb8e8;
    --lavender: #b8a9d4;
    --peach: #f5c4a1;
    --glass: rgba(255,255,255,0.6);
    --glass-border: rgba(244,166,184,0.2);
    --glass-border-hover: rgba(244,166,184,0.4);
    --calligraphy: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', cursive;
    --playful: 'ZCOOL KuaiLe', 'STKaiti', cursive;
    --body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; -webkit-tap-highlight-color: transparent; }

body {
    min-height: 100%;
    background: var(--bg);
    font-family: var(--body);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    user-select: none;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.hidden { display: none !important; }

/* ===== 粒子画布 ===== */
#fx-canvas {
    position: fixed; inset: 0; z-index: 10;
    pointer-events: none;
}

/* ===== 背景装饰 ===== */
.bg-deco { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.12; will-change: transform; }
.bg-blob-1 { width: 300px; height: 300px; background: var(--pink); top: -5%; left: -10%; animation: blob-drift 18s ease-in-out infinite alternate; }
.bg-blob-2 { width: 250px; height: 250px; background: var(--yellow); top: 30%; right: -8%; animation: blob-drift 22s ease-in-out infinite alternate-reverse; }
.bg-blob-3 { width: 280px; height: 280px; background: var(--green); bottom: -5%; left: 20%; animation: blob-drift 20s ease-in-out infinite alternate; }
.bg-blob-4 { width: 200px; height: 200px; background: var(--blue); top: 50%; left: -5%; animation: blob-drift 25s ease-in-out infinite alternate-reverse; }
.bg-blob-5 { width: 220px; height: 220px; background: var(--lavender); bottom: 20%; right: -5%; animation: blob-drift 19s ease-in-out infinite alternate; }
@keyframes blob-drift { 0% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.05); } 66% { transform: translate(-20px,15px) scale(0.95); } 100% { transform: translate(10px,-10px) scale(1.02); } }

.bg-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); opacity: 0; animation: bg-twinkle var(--tw-dur,3s) ease-in-out var(--tw-del,0s) infinite; }
.bg-star:nth-child(6) { top: 8%; left: 15%; --tw-dur: 2.5s; --tw-del: 0s; width: 3px; height: 3px; background: var(--pink); }
.bg-star:nth-child(7) { top: 15%; right: 20%; --tw-dur: 3.2s; --tw-del: 0.5s; }
.bg-star:nth-child(8) { top: 45%; left: 8%; --tw-dur: 2.8s; --tw-del: 1s; background: var(--lavender); }
.bg-star:nth-child(9) { top: 60%; right: 12%; --tw-dur: 3.5s; --tw-del: 0.3s; background: var(--green); }
.bg-star:nth-child(10) { top: 80%; left: 25%; --tw-dur: 2.2s; --tw-del: 0.8s; width: 3px; height: 3px; background: var(--blue); }
.bg-star:nth-child(11) { top: 25%; left: 45%; --tw-dur: 4s; --tw-del: 1.2s; width: 5px; height: 5px; }
.bg-star:nth-child(12) { top: 70%; right: 30%; --tw-dur: 3s; --tw-del: 0.6s; background: var(--peach); }
.bg-star:nth-child(13) { top: 90%; left: 60%; --tw-dur: 2.6s; --tw-del: 0.9s; width: 3px; height: 3px; background: var(--pink); }
@keyframes bg-twinkle { 0%,100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 0.5; transform: scale(1.2); } }

/* ===== 闪屏/加载页 ===== */
#splash {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    will-change: transform, opacity;
}
#splash::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(244,166,184,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(247,201,72,0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(126,203,161,0.06) 0%, transparent 45%);
    pointer-events: none;
}
.load-aura {
    position: absolute; width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(244,166,184,0.12) 0%, transparent 70%);
    animation: load-aura-pulse 2.5s ease-in-out infinite; pointer-events: none;
}
@keyframes load-aura-pulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 1; } }

.load-balloon { position: relative; z-index: 2; animation: load-float 2s ease-in-out infinite; }
.load-balloon-body {
    width: 52px; height: 64px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    position: relative;
    box-shadow: inset -4px -6px 10px rgba(0,0,0,0.06), inset 6px 8px 14px rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.06);
}
.load-balloon-body::before {
    content: ''; position: absolute; top: 14%; left: 18%; width: 28%; height: 18%;
    background: rgba(255,255,255,0.5); border-radius: 50%; transform: rotate(-30deg); filter: blur(1px);
}
.load-balloon-body::after {
    content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 9px solid var(--lb-color, #FF6B8A); filter: brightness(0.9);
}
.load-balloon-str {
    display: block; width: 1.5px; height: 40px; margin: 0 auto;
    background: linear-gradient(to bottom, rgba(180,170,160,0.35), rgba(180,170,160,0.1));
    animation: str-sway 2.5s ease-in-out infinite;
}
@keyframes load-float { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-14px) rotate(5deg); } }
@keyframes str-sway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

.load-text { margin-top: 20px; font-size: 1.6rem; font-weight: 700; color: var(--text-primary); letter-spacing: 6px; position: relative; z-index: 2; }
.load-sub { margin-top: 8px; font-size: 0.82rem; color: var(--text-light); letter-spacing: 3px; position: relative; z-index: 2; }
.load-btn {
    margin-top: 36px; padding: 12px 36px;
    border: 1.5px solid var(--pink); border-radius: 28px;
    color: var(--pink-deep); font-size: 0.88rem; font-weight: 600;
    letter-spacing: 4px; cursor: pointer; position: relative; z-index: 2;
    background: transparent; animation: btn-breathe 2s ease-in-out infinite; will-change: transform;
}
.load-btn:active { transform: scale(0.92); background: var(--pink-soft); }
@keyframes btn-breathe { 0%,100% { box-shadow: 0 0 0 0 rgba(244,166,184,0.25); } 50% { box-shadow: 0 0 0 10px rgba(244,166,184,0); } }

/* ===== 主页面 ===== */
#page {
    opacity: 0;
    position: relative; z-index: 2;
}

.page-inner {
    max-width: 420px; margin: 0 auto;
    padding: 40px 28px 80px;
    display: flex; flex-direction: column;
    align-items: center; gap: 32px;
}

/* ===== APP 大字 ===== */
#hero-letters { display: flex; gap: clamp(10px, 3.5vw, 24px); will-change: transform, opacity; }
.hletter {
    font-family: var(--calligraphy);
    font-size: clamp(5rem, 22vw, 10rem);
    font-weight: 400; line-height: 1;
    display: inline-block; will-change: transform, opacity; opacity: 0;
}
.hl-a { color: var(--pink-deep); text-shadow: 0 0 40px rgba(232,135,158,0.2); }
.hl-p1 { color: var(--yellow); text-shadow: 0 0 40px rgba(247,201,72,0.2); }
.hl-p2 { color: var(--lavender); text-shadow: 0 0 40px rgba(184,169,212,0.2); }
#hero-tag {
    font-family: var(--playful);
    font-size: 0.8rem; letter-spacing: 0.35em;
    color: var(--text-light); margin-top: -8px;
    will-change: transform, opacity; opacity: 0;
}

/* ===== 打字机 ===== */
#typewriter { text-align: center; min-height: 180px; will-change: transform, opacity; opacity: 0; }
.letter-body { font-family: var(--calligraphy); font-size: clamp(1.15rem, 4.5vw, 1.6rem); line-height: 2.1; color: var(--text-secondary); word-break: break-word; }
.letter-body .ch { visibility: hidden; }
.letter-cursor {
    display: inline-block; width: 2px; height: 1em;
    background: var(--pink); margin-left: 2px; vertical-align: text-bottom;
    animation: blink .7s step-end infinite;
    box-shadow: 0 0 5px rgba(244,166,184,.5);
    visibility: hidden;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== 小组件 ===== */
#widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; will-change: transform, opacity; opacity: 0; }
.widget {
    background: var(--glass); border: 1px solid var(--glass-border);
    border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 16px 10px; text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative; overflow: hidden;
}
.widget::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink), transparent); opacity: 0.4;
}
.widget:active { transform: scale(0.96); }
.widget-icon { font-size: 1.6rem; margin-bottom: 6px; }
.widget-label { font-size: 0.68rem; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 3px; }
.widget-value { font-family: var(--playful); font-size: 0.85rem; color: var(--pink-deep); line-height: 1.3; }

/* ===== 祝福卡 ===== */
#cards { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; will-change: transform, opacity; opacity: 0; }
.wcard {
    width: 100%; max-width: 180px; cursor: default;
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.wcard:active { transform: scale(0.96); }
.wcard-inner {
    background: rgba(255,255,255,0.7); border: 1px solid var(--glass-border);
    border-radius: 24px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 24px 16px; text-align: center;
    box-shadow: 0 4px 20px rgba(244,166,184,0.08);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.wcard:active .wcard-inner { border-color: var(--glass-border-hover); box-shadow: 0 8px 32px rgba(244,166,184,0.15); }
.wcard-icon { font-size: 2.2rem; margin-bottom: 10px; }
.wcard-title { font-family: var(--calligraphy); font-size: 1.2rem; margin-bottom: 8px; letter-spacing: 0.05em; }
.wcard-1 .wcard-title { color: var(--pink-deep); }
.wcard-2 .wcard-title { color: #d4a017; }
.wcard-3 .wcard-title { color: #5a9fd4; }
.wcard-body { font-size: 0.8rem; line-height: 1.75; color: var(--text-secondary); }

/* ===== APP 密语 ===== */
#motto { display: flex; gap: clamp(20px, 5vw, 44px); flex-wrap: wrap; justify-content: center; will-change: transform, opacity; opacity: 0; }
.motto-word { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.motto-char {
    font-family: var(--calligraphy);
    font-size: clamp(4rem, 15vw, 7.5rem);
    font-weight: 400; line-height: 1; will-change: transform, opacity;
}
.mc-1 { color: var(--pink-deep); text-shadow: 0 0 30px rgba(232,135,158,0.2); }
.mc-2 { color: var(--yellow); text-shadow: 0 0 30px rgba(247,201,72,0.2); }
.mc-3 { color: var(--lavender); text-shadow: 0 0 30px rgba(184,169,212,0.2); }
.motto-label { font-family: var(--playful); font-size: 0.85rem; color: var(--text-light); letter-spacing: 0.05em; }


/* ===== 终极祝愿 ===== */
#finale { text-align: center; will-change: transform, opacity; opacity: 0; }
.finale-main { font-size: clamp(1.4rem, 5.5vw, 2.6rem); font-weight: 800; line-height: 1.5; color: var(--text-primary); letter-spacing: 3px; white-space: nowrap; }
.fc-1 { color: var(--pink-deep); }
.fc-2 { color: var(--yellow); }
.fc-3 { color: var(--lavender); }
.finale-sub { font-family: var(--playful); font-size: clamp(1rem, 3.5vw, 1.4rem); color: var(--pink-deep); margin-top: 12px; }

/* ===== 许愿按钮 ===== */
#install-btn {
    font-family: var(--playful); font-size: 1rem;
    padding: 15px 40px; border: none; border-radius: 32px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 50%, #d4698a 100%);
    color: white; cursor: pointer; letter-spacing: 4px;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    box-shadow: 0 8px 28px rgba(244,166,184,0.35), 0 2px 8px rgba(232,135,158,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    will-change: transform, opacity;
    opacity: 0;
    position: relative; overflow: hidden;
}
#install-btn::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
#install-btn:hover::before { left: 100%; }
#install-btn:active { transform: scale(0.95); box-shadow: 0 4px 16px rgba(244,166,184,0.3), inset 0 2px 4px rgba(0,0,0,0.08); }
#install-btn.done {
    background: linear-gradient(135deg, #7ecba1 0%, #5ab88a 50%, #4a9e72 100%);
    box-shadow: 0 8px 28px rgba(126,203,161,0.35), 0 2px 8px rgba(90,184,138,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
}
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }

/* ===== 精美系统提示框 ===== */
.system-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.system-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* 背景遮罩 */
.modal-backdrop {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(244,166,184,0.15) 0%, rgba(0,0,0,0.4) 100%);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.system-modal.active .modal-backdrop {
    opacity: 1;
}

/* 弹框容器 */
.modal-container {
    position: relative;
    max-width: 420px; width: 100%;
    transform: scale(0.3);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.system-modal.active .modal-container {
    transform: scale(1);
    opacity: 1;
}
/* 消失动画 - 由大缩小 */
.system-modal.closing .modal-container {
    transform: scale(0.85);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.system-modal.closing .modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 发光边框效果 */
.modal-glow {
    position: absolute; inset: -2px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--pink), var(--yellow), var(--lavender), var(--pink));
    background-size: 300% 300%;
    animation: glow-rotate 4s ease infinite;
    filter: blur(8px);
    opacity: 0.6;
    z-index: -1;
}
@keyframes glow-rotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 内容区域 */
.modal-content {
    background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(255,250,252,0.98) 100%);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 80px rgba(244,166,184,0.3), 0 10px 30px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1);
    position: relative;
    overflow: hidden;
}

/* 顶部装饰线 */
.modal-content::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--pink) 0%, var(--yellow) 50%, var(--lavender) 100%);
    border-radius: 24px 24px 0 0;
}

/* 头部 */
.modal-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(244,166,184,0.15);
}
.header-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(244,166,184,0.3);
    animation: icon-pulse 2s ease-in-out infinite;
}
@keyframes icon-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(244,166,184,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(244,166,184,0.4); }
}
.header-icon svg { width: 20px; height: 20px; }
.header-title {
    font-family: var(--playful);
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: 2px;
}
.header-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(244,166,184,0.3), transparent);
}

/* 内容体 */
.modal-body {
    min-height: 120px;
    position: relative;
}
.text-wrapper {
    font-family: var(--calligraphy);
    font-size: clamp(1.05rem, 4vw, 1.25rem);
    line-height: 2; color: var(--text-primary);
    word-break: break-word;
}
.system-msg-body .ch { visibility: hidden; }
.system-msg-cursor {
    display: inline-block; width: 2.5px; height: 1.1em;
    background: linear-gradient(to bottom, var(--pink), var(--pink-deep));
    margin-left: 3px; vertical-align: text-bottom;
    border-radius: 1px;
    animation: cursor-blink 0.8s step-end infinite;
    box-shadow: 0 0 8px rgba(244,166,184,0.6);
    visibility: hidden;
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* 底部 */
.modal-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(244,166,184,0.15);
    display: flex; align-items: center; gap: 12px;
}
.loading-dots {
    display: flex; gap: 4px;
}
.loading-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pink);
    animation: dot-bounce 1.4s ease-in-out infinite both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }
@keyframes dot-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}
.status-text {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* ===== CSS气球（和六一一样） ===== */
.balloons-container {
    position: fixed; bottom: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 5; overflow: hidden;
}
.balloon-float {
    position: absolute; bottom: -160px; will-change: transform;
    opacity: var(--bopacity, 0.85);
}
.balloon-body {
    width: var(--bw, 38px); height: calc(var(--bw, 38px) * 1.22);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    background: radial-gradient(ellipse at 35% 30%, var(--bhighlight, rgba(255,255,255,0.4)), var(--bcolor) 60%);
    position: relative;
    box-shadow: inset -4px -6px 10px rgba(0,0,0,0.06), inset 6px 8px 14px rgba(255,255,255,0.2), 0 4px 16px rgba(0,0,0,0.06);
}
.balloon-body::before {
    content: ''; position: absolute; top: 14%; left: 18%; width: 28%; height: 18%;
    background: rgba(255,255,255,0.5); border-radius: 50%; transform: rotate(-30deg); filter: blur(1px);
}
.balloon-body::after {
    content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-top: 9px solid var(--bcolor); filter: brightness(0.9);
}
.balloon-str {
    display: block; width: 1.5px; height: var(--sh, 55px); margin: 0 auto;
    transform-origin: top center; animation: str-sway 2.5s ease-in-out infinite; position: relative;
}
.balloon-str::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(180,170,160,0.35), rgba(180,170,160,0.1));
}

/* ===== 音乐按钮（和六一一样） ===== */
.music-btn {
    position: fixed; bottom: calc(20px + env(safe-area-inset-bottom));
    right: calc(20px + env(safe-area-inset-right)); z-index: 100;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(244,166,184,0.25);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--pink-deep);
    box-shadow: 0 2px 12px rgba(244,166,184,0.15);
    visibility: hidden; will-change: transform, opacity;
}
.music-btn:active { transform: scale(0.88); }
.music-icon { width: 18px; height: 18px; }
.music-icon-off { display: block; }
.music-icon-on { display: none; }
.music-btn.playing .music-icon-on { display: block; }
.music-btn.playing .music-icon-off { display: none; }

/* ===== 响应式 ===== */
@media (max-width: 340px) {
    .hletter { font-size: clamp(4rem, 18vw, 5rem); }
    .page-inner { padding: 30px 20px 50px; gap: 24px; }
    .wcard-inner { padding: 20px 14px; }
    .load-text { font-size: 1.3rem; }
}
@media (max-width: 520px) {
    #widgets { grid-template-columns: 1fr; gap: 8px; }
    .widget { display: flex; align-items: center; text-align: left; gap: 12px; padding: 12px 14px; }
    .widget-icon { font-size: 1.4rem; margin-bottom: 0; }
    #cards { flex-direction: column; align-items: center; }
    .wcard { max-width: 280px; }
}
@media (min-width: 429px) {
    .page-inner { max-width: 400px; }
}
@media (max-height: 640px) {
    .page-inner { gap: 20px; padding: 24px 20px 40px; }
    .hletter { font-size: clamp(3.5rem, 16vw, 5rem); }
    .load-text { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}