.rx-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;padding:20px;max-width:1500px;margin:0 auto;align-items:start}.finder-wrap{position:sticky;top:72px;display:flex;flex-direction:column;gap:12px;min-width:0}.finder{position:relative;aspect-ratio:16 / 9;background:#0b0b0d;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow);color:#f5f5f7}.finder.is-empty{aspect-ratio:auto;min-height:min(56.25vw,420px)}.finder.is-empty .finder-empty{position:relative;min-height:300px}.finder video,.finder canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.finder video{object-fit:contain;background:#000}.finder canvas{touch-action:none}.finder-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center}.finder-empty[hidden]{display:none}.finder-empty svg{width:44px;height:44px;opacity:.7}.finder-empty p{max-width:34ch;color:#d2d2d7}.finder-empty .small{color:#ff9f0a}.finder-empty button:not(.primary){background:#ffffff24;color:#fff}.hud{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:18px;background:#1414169e;-webkit-backdrop-filter:saturate(160%) blur(18px);backdrop-filter:saturate(160%) blur(18px);max-width:520px}.hud[hidden]{display:none}.hud-text{display:flex;flex-direction:column;min-width:0;font-size:13px;line-height:1.3;color:#d2d2d7}.hud-text strong{color:#fff;font-size:15px;font-weight:600}.ring{position:relative;width:48px;height:48px;flex:none}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring circle{fill:none;stroke-width:4}.ring .track{stroke:#ffffff2e}.ring .fill{stroke:#30d158;stroke-linecap:round;stroke-dasharray:119.4;stroke-dashoffset:119.4;transition:stroke-dashoffset .3s var(--ease)}.ring span{position:absolute;inset:0;display:grid;place-items:center;font:600 11px var(--mono);color:#fff}.finder-actions{padding:0 4px}.finder-actions[hidden]{display:none}button[aria-pressed=true]{background:var(--accent)!important;color:var(--on-accent)}.log{margin:0;max-height:160px;overflow:auto;font:12px/1.45 var(--mono);color:var(--text-2);white-space:pre-wrap;word-break:break-word}dialog{border:0;border-radius:var(--r-lg);padding:24px;width:min(520px,calc(100vw - 32px));background:var(--surface);color:var(--text);box-shadow:0 24px 80px #00000059}dialog::backdrop{background:#0006;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}dialog[open]{animation:sheet .36s var(--ease)}@keyframes sheet{0%{transform:translateY(16px) scale(.98);opacity:0}}dialog h2{font-size:22px}.res-body{font:14px/1.5 var(--mono);background:var(--bg);border-radius:var(--r-sm);padding:12px 14px;max-height:40vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}@media(prefers-color-scheme:dark){.res-body{background:var(--surface-2)}}@media(max-width:900px){.rx-layout{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}.finder-wrap{position:static}}
