*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:#fff7e9;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#333;-webkit-text-size-adjust:100%}#app{width:100%;height:100%;min-height:100vh;min-height:100dvh}.closed{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px}.closed-box{max-width:360px;text-align:center}.closed-box h1{margin:0;font-size:20px;color:#e84b35}.closed-box p{margin:12px 0 0;font-size:14px;line-height:1.6;color:#666}.page{width:100%;min-height:100vh;min-height:100dvh;display:flex;justify-content:center;background:#fff7e9}.stage{position:relative;width:100%;max-width:430px;height:100vh;height:100dvh;overflow:hidden;background:#fff7e9}.bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center top;-webkit-user-select:none;user-select:none;pointer-events:none}.panel{position:absolute;left:6%;right:6%;top:38%;bottom:calc(8% + env(safe-area-inset-bottom,0px));z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;line-height:normal;overflow:auto;-webkit-overflow-scrolling:touch}.slogan{margin:0;font-size:clamp(18px,5.6vw,22px);font-weight:800;letter-spacing:.04em;color:#e84b35;text-shadow:0 1px 0 rgba(255,255,255,.85);flex-shrink:0}.sub{margin:0;font-size:clamp(12px,3.4vw,14px);line-height:1.55;color:#7a6a5c;max-width:100%;flex-shrink:0}.code-card{display:flex;align-items:center;gap:10px;width:100%;max-width:320px;margin:0;padding:10px 10px 10px 14px;border-radius:14px;background:#ffffffe6;border:1px solid rgba(232,75,53,.16);box-shadow:0 4px 14px #e84b3514;flex-shrink:0;text-align:left}.code-label{flex:0 0 auto;font-size:12px;font-weight:600;color:#9a8b7d;letter-spacing:.02em}.code{flex:1;min-width:0;color:#e84b35;font-size:clamp(18px,5.2vw,22px);font-weight:800;letter-spacing:3px;text-align:center}.code-copy{flex:0 0 auto;min-width:56px;height:32px;padding:0 12px;border:none;border-radius:999px;background:linear-gradient(180deg,#f06a58,#e84b35);color:#fff;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;box-shadow:0 4px 10px #e84b3547}.code-copy:active{transform:scale(.96)}.btn{display:block;width:100%;max-width:320px;margin:2px 0 0;padding:13px 16px;border:none;border-radius:999px;background:#e84b35;color:#fff;font-size:16px;font-weight:700;text-decoration:none;text-align:center;cursor:pointer;box-shadow:0 8px 20px #e84b3547;flex-shrink:0}.btn.disabled{background:#ccc;box-shadow:none;pointer-events:none;animation:none}.btn-download:not(.disabled){animation:download-pulse 1.6s ease-in-out infinite}@keyframes download-pulse{0%,to{transform:scale(1);box-shadow:0 8px 20px #e84b3547}50%{transform:scale(1.05);box-shadow:0 12px 28px #e84b356b}}.copy-hint{margin:0;max-width:320px;font-size:12px;line-height:1.5;color:#9a5b2e;flex-shrink:0}.manual-token{margin:14px 0 0;padding:12px 10px;border-radius:10px;background:#fff7e9;border:1px dashed rgba(232,75,53,.45);color:#e84b35;font-size:14px;font-weight:700;word-break:break-all;user-select:all;-webkit-user-select:all}.btn-ghost{margin-top:10px;background:#f3f3f3;color:#555;box-shadow:none}.status{margin:0;font-size:12px;color:#07c160;min-height:16px;flex-shrink:0}.mask{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#140c08b8;padding:24px 18px;align-items:center;justify-content:center}.mask.show{display:flex}.mask-card{width:100%;max-width:340px;background:#fff;border-radius:16px;padding:26px 20px 22px;text-align:center;box-shadow:0 16px 40px #00000047;line-height:normal}.mask-card h2{margin:0;font-size:18px;color:#e84b35}.mask-card p{margin:12px 0 0;font-size:14px;line-height:1.65;color:#555}.mask-card .btn{margin-top:18px}
