:root{--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--ios-green: #34c759;--ios-red: #ff3b30;--ios-amber: #ffd60a;--blur: saturate(180%) blur(20px);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,system-ui,Segoe UI,Roboto,sans-serif;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{margin:0;height:100%;width:100%;background:#000;overflow:hidden;overscroll-behavior:none}body{user-select:none;-webkit-user-select:none;touch-action:manipulation}.app{position:fixed;top:0;right:0;bottom:0;left:0;background:#000;color:#fff;overflow:hidden}.stage{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;transform-origin:center center;will-change:transform}.camera,.frozen{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;background:#000;pointer-events:none}.camera::-webkit-media-controls,.camera::-webkit-media-controls-enclosure,.camera::-webkit-media-controls-panel,.camera::-webkit-media-controls-play-button,.camera::-webkit-media-controls-start-playback-button,.camera::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0}.hidden{display:none}.overlay-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:5;touch-action:manipulation}.topbar{position:absolute;top:0;left:0;right:0;z-index:10;padding:calc(var(--safe-top) + 12px) 18px 14px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(to bottom,#0000008c,#0000);pointer-events:none}.brand{font-weight:700;font-size:17px;letter-spacing:.2px;display:flex;align-items:center;gap:6px;text-shadow:0 1px 4px rgba(0,0,0,.5)}.brand-leaf{font-size:18px}.engine-badge{font-size:12px;font-weight:600;padding:5px 11px;border-radius:999px;display:flex;align-items:center;gap:6px;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);background:#ffffff29}.engine-badge.real{background:#34c75938;color:#d6ffe2}.engine-badge.demo{background:#ffd60a33;color:#fff3c4}.engine-badge.loading{background:#ffffff29;color:#ffffffd9}.scan-dot{width:7px;height:7px;border-radius:50%;background:currentColor;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.25}}.status-pill{position:absolute;top:calc(var(--safe-top) + 58px);left:50%;transform:translate(-50%);z-index:10;display:flex;align-items:center;gap:8px;padding:9px 18px;border-radius:999px;font-size:15px;font-weight:700;letter-spacing:.2px;color:#fff;background:#0000008c;background:color-mix(in srgb,var(--v) 30%,rgba(0,0,0,.55));border:1px solid var(--v);box-shadow:0 6px 20px #00000059;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);max-width:calc(100vw - 40px);white-space:nowrap}.status-dot{width:11px;height:11px;border-radius:50%;background:var(--v);box-shadow:0 0 8px var(--v);flex:0 0 auto}.controls{position:absolute;left:0;right:0;bottom:0;z-index:10;padding:18px 24px calc(var(--safe-bottom) + 22px);background:linear-gradient(to top,#000000b8,#0000)}.control-hint{text-align:center;font-size:13px;color:#ffffffd1;margin-bottom:16px;text-shadow:0 1px 3px rgba(0,0,0,.6)}.control-row{display:flex;align-items:center;justify-content:space-between}.control-side{flex:1;display:flex;align-items:center;min-height:44px}.control-side.right{justify-content:flex-end}.zoom-btn{width:42px;height:42px;border-radius:50%;border:none;color:#fff;font-size:14px;font-weight:700;background:#00000073;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);cursor:pointer;transition:transform .12s ease,background .12s ease}.zoom-btn:active{transform:scale(.9);background:#0009}.demo-note,.frozen-tag{font-size:11px;font-weight:600;padding:5px 10px;border-radius:999px;background:#ffffff29;color:#ffffffd9}.shutter{flex:0 0 auto;width:74px;height:74px;border-radius:50%;border:4px solid rgba(255,255,255,.95);background:transparent;padding:0;cursor:pointer;display:grid;place-items:center;transition:transform .12s ease}.shutter:active{transform:scale(.92)}.shutter:disabled{opacity:.5}.shutter-inner{width:58px;height:58px;border-radius:50%;background:#fff;transition:all .18s ease}.shutter.resume .shutter-inner{width:30px;height:30px;border-radius:8px;background:var(--ios-green)}.shutter.busy{opacity:1}.shutter-spinner{width:58px;height:58px;border-radius:50%;border:4px solid rgba(255,255,255,.25);border-top-color:#fff;animation:spin .8s linear infinite}.mode-switch{display:flex;justify-content:center;gap:2px;width:fit-content;margin:0 auto 14px;padding:4px;border-radius:999px;background:#ffffff14;border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:brightness(1.1) blur(3px);backdrop-filter:brightness(1.1) blur(3px) url(#displacementFilter)}.mode-opt{border:none;background:transparent;color:#ffffffb3;font-size:12px;font-weight:700;letter-spacing:1.4px;padding:6px 14px;border-radius:999px;cursor:pointer;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.mode-opt.active{color:var(--ios-green);background:#ffffff2e;box-shadow:inset 0 1px 1px #ffffff59,0 1px 2px #0000002e}.empty-msg{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);z-index:15;width:min(80vw,320px);text-align:center;padding:18px 22px;border-radius:18px;background:#0009;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur)}.empty-title{font-size:17px;font-weight:700;margin-bottom:6px}.empty-sub{font-size:13.5px;line-height:1.4;color:#ffffffb3}.status-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#0000008c;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);text-align:center;padding:0 32px}.status-text{font-size:17px;font-weight:600}.status-sub{font-size:13px;color:#fff9;max-width:320px}.spinner{width:34px;height:34px;border-radius:50%;border:3px solid rgba(255,255,255,.2);border-top-color:#fff;animation:spin .9s linear infinite}.spinner.small{width:16px;height:16px;border-width:2px}@keyframes spin{to{transform:rotate(360deg)}}.retry{margin-top:8px;padding:11px 22px;border-radius:999px;border:none;background:#fff;color:#000;font-weight:600;font-size:15px}.sheet-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;background:#0006;opacity:0;pointer-events:none;transition:opacity .28s ease}.sheet-scrim.open{opacity:1;pointer-events:auto}.sheet{position:absolute;left:0;right:0;bottom:0;z-index:41;background:#1e1e20db;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);border-radius:22px 22px 0 0;border-top:.5px solid rgba(255,255,255,.12);box-shadow:0 -12px 40px #00000080;padding-bottom:calc(var(--safe-bottom) + 16px);transform:translateY(110%);transition:transform .34s cubic-bezier(.32,.72,0,1);will-change:transform}.sheet.open{transform:translateY(0)}.sheet-handle-zone{padding:10px 0 4px;display:flex;justify-content:center;cursor:grab;touch-action:none}.sheet-handle{width:38px;height:5px;border-radius:3px;background:#ffffff4d}.sheet-body{padding:8px 22px 6px}.sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sheet-eyebrow{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:#ffffff73;margin-bottom:3px}.sheet-title{margin:0;font-size:24px;font-weight:700;letter-spacing:-.3px;text-transform:capitalize}.verdict-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;padding:7px 12px;border-radius:999px;white-space:nowrap}.verdict-dot{width:7px;height:7px;border-radius:50%;background:#0000008c}.sheet-reason{font-size:15px;line-height:1.45;color:#ffffffd9;margin:16px 0}.sheet-meta{background:#ffffff0f;border-radius:14px;padding:4px 14px;margin-bottom:18px}.meta-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;font-size:14px;border-bottom:.5px solid rgba(255,255,255,.08)}.meta-row:last-child{border-bottom:none}.meta-label{color:#ffffff80}.meta-value{text-align:right;color:#fff;font-weight:500}.sheet-done{width:100%;padding:15px;border:none;border-radius:14px;background:#ffffff24;color:#fff;font-size:16px;font-weight:600;cursor:pointer}.sheet-done:active{background:#ffffff38}.ad-placeholder{display:flex;align-items:center;justify-content:center;height:84px;margin-bottom:16px;border-radius:12px;border:1px dashed rgba(255,255,255,.2);background:#ffffff0d}.ad-label{font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:#ffffff52}.icon-btn{width:46px;height:46px;border-radius:50%;border:none;display:grid;place-items:center;color:#fff;background:#ffffff2e;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);cursor:pointer;transition:transform .12s ease,background .12s ease}.icon-btn:active{transform:scale(.9);background:#ffffff47}.list-sheet,.search-sheet{max-height:80vh;display:flex;flex-direction:column}.list-scroll{flex:1}.list-foot{flex:0 0 auto;padding:10px 22px calc(var(--safe-bottom) + 10px);border-top:.5px solid rgba(255,255,255,.1)}.list-foot .ad-placeholder{margin-bottom:0}.search-head{padding:2px 18px 10px}.search-box{display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:12px;background:#ffffff1f;color:#ffffff8c}.search-input{flex:1;border:none;background:transparent;outline:none;color:#fff;font-size:16px;font-family:inherit}.search-input::placeholder{color:#fff6}.search-clear{border:none;background:#fff3;color:#fff;width:20px;height:20px;border-radius:50%;font-size:11px;line-height:1;cursor:pointer;flex:0 0 auto}.list-head{display:flex;align-items:baseline;gap:10px;padding:2px 22px 12px}.list-title{margin:0;font-size:22px;font-weight:700;letter-spacing:-.3px}.list-count{font-size:14px;font-weight:600;color:#ffffff73}.list-scroll{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 14px;padding-bottom:calc(var(--safe-bottom) + 12px)}.list-empty{padding:24px;text-align:center;color:#ffffff80}.list-row{width:100%;display:flex;align-items:center;gap:12px;padding:14px 10px;border:none;background:transparent;border-bottom:.5px solid rgba(255,255,255,.08);color:#fff;text-align:left;cursor:pointer}.list-row:active{background:#ffffff0f}.list-dot{width:12px;height:12px;border-radius:50%;flex:0 0 auto;background:var(--v);box-shadow:0 0 8px var(--v)}.list-name{flex:1;font-size:16px;font-weight:600;text-transform:capitalize;display:flex;align-items:center;gap:8px}.list-badge{font-size:12px;font-weight:600;color:#ffffff73}.list-verdict{font-size:13px;font-weight:600;color:var(--v);white-space:nowrap}.list-chevron{font-size:20px;color:#ffffff4d}
