/* 字体 ui_font.woff2 为站酷快乐体（ZCOOL KuaiLe）子集，按 SIL Open Font License 1.1 随包分发，许可正文见构建产物 style.css 开头注释。 */
@font-face { font-family: 'UIFont'; src: url('./ui_font.woff2') format('woff2'); font-weight: 400; font-display: block; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #141a3a; overflow: hidden; touch-action: none;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
  font-family: "UIFont", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-weight: 400; }
#wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; }
#stage { position: relative; }
canvas { display: block; width: 100%; height: 100%; }
#photoLayer { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: none; -webkit-box-orient: vertical; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(12, 14, 38, .72); }
#photoLayer.show { display: -webkit-box; display: flex; animation: fadeIn .4s ease; }
#photoImg { max-width: 84%; max-height: 68%; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.45); animation: pop .55s cubic-bezier(.2,1.5,.4,1); }
#tip { color: #ffe9b8; font-size: 14px; margin: 12px 0 4px; text-align: center; min-height: 18px; }
.btns { display: -webkit-box; display: flex; flex-wrap: wrap; justify-content: center; max-width: 340px; margin-top: 6px; }
.btn { margin: 5px; border: 3px solid #3a2618; border-radius: 999px; padding: 9px 16px; font-size: 16px; font-weight: 400; font-family: inherit;
  color: #3a2618; background: #ffd34d; box-shadow: 0 4px 0 #3a2618; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn.primary { background: #ff2442; color: #fff; box-shadow: 0 4px 0 #9e1427; border-color: #2b180d; }
.btn.alt { background: #fff; }
.btn:active { -webkit-transform: translateY(3px); transform: translateY(3px); box-shadow: 0 1px 0 #3a2618; }
@keyframes pop { from { transform: scale(.6) rotate(-4deg); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
