/* 纯 AR 入口：画布、识别 / 重拍柔光与必要错误文本；没有进入页或页面控件。 */
:root{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#fff;background:#120c08;color-scheme:dark}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{width:100%;height:100%;overflow:hidden;touch-action:manipulation}
body>canvas{position:fixed!important;inset:0;z-index:0}
#flash{position:fixed;inset:0;z-index:16;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 46%,rgba(255,250,236,.95),rgba(255,206,130,.6) 34%,rgba(240,170,80,0) 70%)}
#flash.gold{background:radial-gradient(circle at 50% 46%,rgba(255,250,236,.95),rgba(255,206,130,.6) 34%,rgba(240,170,80,0) 70%)}
#flash.go{animation:ar-flash .6s ease-out}
@keyframes ar-flash{0%{opacity:0}18%{opacity:.85}100%{opacity:0}}
#error{position:fixed;inset:0;z-index:50;display:none;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#120c08;padding:28px;text-align:center}
#error.show{display:flex}
#error h3{font-size:18px}
#error-text{font-size:14px;line-height:1.6;max-width:640px;overflow-wrap:anywhere;color:#f0c9a8;white-space:pre-line}
