:root { color-scheme: dark; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #020617; color: #e2e8f0;
  font: 16px/1.5 -apple-system, "PingFang SC", "WenQuanYi Micro Hei", system-ui, sans-serif; }
.app { max-width: 520px; margin: 0 auto; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px;
  background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .45); border-radius: 12px; }
.notice p { margin: 0; font-size: 13.5px; color: #fde68a; }
.notice b { color: #fbbf24; }
.wxhint { padding: 14px 16px; margin-bottom: 14px; border-radius: 12px; font-size: 14px;
  background: rgba(251,113,133,.10); border: 1px solid rgba(251,113,133,.5); color: #fecdd3; }
.wxhint > b { display: block; margin-bottom: 8px; color: #fb7185; font-size: 15px; }
.wxhint ol { margin: 0 0 12px; padding-left: 20px; }
.wxhint li { margin: 6px 0; }
.wxhint .sub { font-size: 12.5px; color: #fda4af; }
.wxhint button.ghost { flex: none; width: 100%; padding: 11px; font-size: 14px;
  background: rgba(251,113,133,.15); border-color: rgba(251,113,133,.6); color: #fecdd3; }
.dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251,191,36,.6); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(251,191,36,0); } 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); } }
.stage { position: relative; aspect-ratio: 3/4; background: #0b1220; border: 1px solid #1e293b;
  border-radius: 16px; overflow: hidden; }
.stage video, .stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mask { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; font-weight: 700;
  color: #22d3ee; background: rgba(2, 6, 23, .55); backdrop-filter: blur(2px); }
.status { margin: 14px 0 4px; font-size: 14px; color: #94a3b8; min-height: 22px; }
.status.ok { color: #34d399; } .status.err { color: #fb7185; } .status.warn { color: #fbbf24; }
.actions { display: flex; gap: 10px; margin-top: 12px; }
button { flex: 1; padding: 14px 16px; font-size: 16px; font-weight: 600; border-radius: 12px; cursor: pointer;
  border: 1px solid #334155; background: #0f172a; color: #e2e8f0; }
button.primary { background: #0891b2; border-color: #22d3ee; color: #001; }
button:active { transform: scale(.985); }
.foot { margin-top: 18px; text-align: center; font-size: 11.5px; color: #475569; }
