:root,:root[data-theme=light]{--font: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "PingFang SC", "Microsoft YaHei UI", sans-serif;--mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;--bg: #eef1f8;--bg-image: radial-gradient(60vw 60vw at 0% 0%, rgba(129, 140, 248, .32), transparent 60%), radial-gradient(55vw 55vw at 100% 10%, rgba(244, 114, 182, .22), transparent 60%), radial-gradient(60vw 60vw at 85% 100%, rgba(45, 212, 191, .24), transparent 60%), radial-gradient(50vw 50vw at 10% 95%, rgba(250, 204, 21, .14), transparent 60%);--surface: rgba(255, 255, 255, .62);--surface-strong: rgba(255, 255, 255, .86);--surface-sunken: rgba(15, 23, 42, .05);--surface-hover: rgba(255, 255, 255, .9);--border: rgba(255, 255, 255, .75);--border-strong: rgba(15, 23, 42, .12);--divider: rgba(15, 23, 42, .08);--text: #111827;--text-muted: #5b6475;--text-faint: #8a93a6;--accent: #4f5bd5;--accent-strong: #3c46b8;--accent-soft: rgba(79, 91, 213, .12);--on-accent: #ffffff;--ok: #15803d;--ok-soft: rgba(22, 163, 74, .12);--warn: #b45309;--warn-soft: rgba(245, 158, 11, .14);--danger: #c62828;--danger-soft: rgba(220, 38, 38, .1);--info: #1d4ed8;--info-soft: rgba(37, 99, 235, .1);--track: rgba(15, 23, 42, .08);--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(30, 41, 79, .08);--shadow-lift: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 40px rgba(30, 41, 79, .14);--blur: blur(18px) saturate(1.5);--radius: 18px;--radius-sm: 10px;--header-bg: rgba(255, 255, 255, .55);color-scheme:light}:root[data-theme=dark]{--bg: #0b0f17;--bg-image: radial-gradient(60vw 60vw at 0% 0%, rgba(99, 102, 241, .16), transparent 60%), radial-gradient(55vw 55vw at 100% 0%, rgba(236, 72, 153, .08), transparent 60%), radial-gradient(60vw 60vw at 90% 100%, rgba(20, 184, 166, .1), transparent 60%);--surface: rgba(22, 27, 38, .72);--surface-strong: rgba(28, 34, 47, .92);--surface-sunken: rgba(0, 0, 0, .28);--surface-hover: rgba(40, 47, 63, .9);--border: rgba(255, 255, 255, .08);--border-strong: rgba(255, 255, 255, .14);--divider: rgba(255, 255, 255, .07);--text: #e6e9f0;--text-muted: #9aa3b5;--text-faint: #6b7489;--accent: #8b96ff;--accent-strong: #a5aeff;--accent-soft: rgba(139, 150, 255, .16);--on-accent: #0b0f17;--ok: #4ade80;--ok-soft: rgba(74, 222, 128, .13);--warn: #fbbf24;--warn-soft: rgba(251, 191, 36, .12);--danger: #f87171;--danger-soft: rgba(248, 113, 113, .13);--info: #60a5fa;--info-soft: rgba(96, 165, 250, .12);--track: rgba(255, 255, 255, .08);--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);--shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .4);--blur: blur(16px) saturate(1.3);--header-bg: rgba(11, 15, 23, .6);color-scheme:dark}*{margin:0;padding:0;box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{font-family:var(--font);color:var(--text);background-color:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background-image:var(--bg-image)}#root{min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.mono{font-family:var(--mono)}.muted{color:var(--text-muted)}.faint{color:var(--text-faint)}.small{font-size:12px}.hidden-input{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:12px;padding:10px clamp(12px,3vw,28px);background:var(--header-bg);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-bottom:1px solid var(--divider)}.brand{display:inline-flex;align-items:center;gap:8px;font-weight:750;font-size:17px;letter-spacing:-.02em;white-space:nowrap;color:var(--text)}.brand-mark{width:28px;height:28px;flex:none;display:block;filter:drop-shadow(0 3px 8px rgba(31,111,235,.3))}.header-spacer{flex:1}.header-tools{display:flex;align-items:center;gap:6px}.app-main{flex:1;width:100%;max-width:1240px;margin:0 auto;padding:clamp(14px,3vw,28px) clamp(12px,3vw,28px)}.app-main.narrow{max-width:980px}.app-footer{padding:14px 24px 26px;text-align:center;font-size:12px;color:var(--text-muted)}.app-footer .download{margin-top:6px}.footer-trademark{margin-top:8px}.footer-about{margin:6px auto 0;max-width:640px}.footer-about summary{cursor:pointer;display:inline-block;color:var(--text-muted);text-decoration:underline;text-underline-offset:2px}.footer-about p{margin:8px 0 0;text-align:left;line-height:1.6}@media(max-width:640px){.app-header{flex-wrap:wrap;row-gap:8px}.app-header .seg-nav{order:3;width:100%}.app-header .seg-nav button{flex:1}.brand-text{display:none}}.seg{display:inline-flex;gap:2px;padding:3px;border-radius:12px;background:var(--surface-sunken);border:1px solid var(--divider)}.seg button{border:0;background:transparent;cursor:pointer;padding:6px 14px;border-radius:9px;font-size:13px;font-weight:600;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background .15s,color .15s,box-shadow .15s;white-space:nowrap}.seg button:hover{color:var(--text)}.seg button[aria-pressed=true],.seg button[aria-current=page]{background:var(--surface-strong);color:var(--text);box-shadow:0 1px 3px #0000001f}.seg.icon button{padding:6px 8px}.seg svg{width:16px;height:16px}.icon-btn{width:34px;height:34px;border-radius:10px;display:inline-grid;place-items:center;border:1px solid var(--divider);background:var(--surface-sunken);cursor:pointer;color:var(--text-muted)}.icon-btn:hover{color:var(--text);background:var(--surface-hover)}.icon-btn svg{width:18px;height:18px}.popover-wrap{position:relative}.popover{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:260px;padding:14px;background:var(--surface-strong);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--border-strong);border-radius:14px;box-shadow:var(--shadow-lift);display:grid;gap:12px}.card{background:var(--surface);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(14px,2.2vw,22px);margin-bottom:16px;min-width:0}.card.compact{padding:12px 16px}.card-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;letter-spacing:-.01em;margin-bottom:12px}.card-title .step{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-size:12px;font-weight:700;background:var(--accent-soft);color:var(--accent)}.card-title .aside{margin-left:auto;font-weight:500;font-size:12px;color:var(--text-muted)}.label{display:block;font-size:12px;font-weight:650;color:var(--text-muted);margin-bottom:6px;letter-spacing:.02em}.field{margin-bottom:16px}.field:last-child{margin-bottom:0}.field-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.field-head .value{font-family:var(--mono);font-size:12.5px;color:var(--text);font-weight:600}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.stack{display:grid;gap:12px}.hint{font-size:12.5px;color:var(--text-muted);line-height:1.65;margin-top:8px}.page-grid{display:grid;gap:0 20px;grid-template-columns:minmax(0,1fr);align-items:start}.page-grid>.col{display:contents}.o-1{order:1}.o-2{order:2}.o-3{order:3}.o-4{order:4}.o-5{order:5}.o-6{order:6}@media(min-width:960px){.page-grid{grid-template-columns:minmax(0,6fr) minmax(0,5fr)}.page-grid>.col{display:block;min-width:0}}.dash-grid{display:grid;gap:12px;margin-bottom:16px;grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:720px){.dash-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}}.dash-grid>.card{margin-bottom:0}.select,.input,.textarea{width:100%;background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:9px 11px;font-size:14px;color:var(--text)}.select:disabled,.input:disabled{opacity:.55}.textarea{font-family:var(--mono);resize:vertical;min-height:120px;padding:12px}.range{width:100%;accent-color:var(--accent)}.range-labels{display:flex;justify-content:space-between;font-size:11.5px;color:var(--text-faint);margin-top:2px}.check{display:inline-flex;align-items:center;gap:6px;font-size:13px}.check input{accent-color:var(--accent)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border-strong);background:var(--surface-strong);color:var(--text);border-radius:12px;padding:9px 16px;font-size:14px;font-weight:600;cursor:pointer;transition:transform .08s,background .15s,box-shadow .15s,opacity .15s;white-space:nowrap}.btn:hover:not(:disabled){background:var(--surface-hover)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-strong));border-color:transparent;color:var(--on-accent);box-shadow:0 6px 18px var(--accent-soft)}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,var(--accent-strong),var(--accent))}.btn-danger{background:var(--danger);border-color:transparent;color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger);filter:brightness(1.08)}.btn-ghost{background:transparent;border-color:transparent;color:var(--text-muted)}.btn-ghost:hover:not(:disabled){background:var(--surface-sunken);color:var(--text)}.btn-lg{padding:13px 26px;font-size:16px;border-radius:14px}.btn-block{width:100%}.btn-sm{padding:5px 10px;font-size:12.5px;border-radius:9px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid var(--border-strong);background:var(--surface-strong);color:var(--text);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.chip:hover:not(:disabled){border-color:var(--accent)}.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.chip:disabled{opacity:.55;cursor:not-allowed}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-top-color:transparent;display:inline-block;animation:spin .8s linear infinite}.file-name{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alert{border-radius:12px;padding:10px 14px;margin-top:10px;font-size:13px;line-height:1.6;border:1px solid transparent}.alert-warn{background:var(--warn-soft);color:var(--warn);border-color:color-mix(in srgb,var(--warn) 30%,transparent)}.alert-info{background:var(--info-soft);color:var(--info);border-color:color-mix(in srgb,var(--info) 28%,transparent)}.alert-ok{background:var(--ok-soft);color:var(--ok);border-color:color-mix(in srgb,var(--ok) 28%,transparent)}.tips{font-size:12.5px;color:var(--text-muted);line-height:1.7;background:var(--surface-sunken);border-radius:12px;padding:10px 14px;margin-bottom:14px}.tips ol{padding-left:1.3em}.tx-help-list ol,.tx-help-list ul{margin:0;padding-left:1.4em}.tx-help-list ul{margin-top:4px}.tx-help-list li+li{margin-top:2px}.stat-row{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--text-muted);margin-top:8px}.stat-row b{color:var(--text);font-family:var(--mono);font-weight:600;font-size:12.5px}.info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:8px 14px;font-size:13px}.info-grid>:nth-child(odd){color:var(--text-muted)}.info-grid>:nth-child(2n){font-family:var(--mono);overflow-wrap:anywhere}details.disclosure>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650}details.disclosure>summary::-webkit-details-marker{display:none}details.disclosure>summary:before{content:"";width:7px;height:7px;border-right:2px solid var(--text-muted);border-bottom:2px solid var(--text-muted);transform:rotate(-45deg);transition:transform .15s}details.disclosure[open]>summary:before{transform:rotate(45deg)}details.disclosure[open]>summary{margin-bottom:12px}.metric{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.metric-label{font-size:12px;font-weight:650;color:var(--text-muted);align-self:flex-start}.metric-sub{font-size:12px;color:var(--text-muted);font-family:var(--mono)}.metric-big{font-size:26px;font-weight:750;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.ring,.gauge{width:100%;max-width:150px;height:auto;display:block}.ring-track,.gauge-track{stroke:var(--track)}.ring-fill{stroke:var(--accent);transition:stroke-dashoffset .35s ease}.ring-fill.done{stroke:var(--ok)}.svg-text{fill:var(--text);font-family:var(--font);font-weight:750;font-variant-numeric:tabular-nums}.svg-sub{fill:var(--text-muted);font-family:var(--font);font-size:11px}.badge{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;font-size:13px;font-weight:700;background:var(--surface-sunken);color:var(--text-muted)}.badge:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.badge.live:before{animation:pulse 1.2s ease-in-out infinite}.badge-idle{color:var(--text-muted)}.badge-busy{background:var(--info-soft);color:var(--info)}.badge-ok{background:var(--ok-soft);color:var(--ok)}.badge-warn{background:var(--warn-soft);color:var(--warn)}.badge-err{background:var(--danger-soft);color:var(--danger)}.status-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.kv{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;font-size:12.5px;width:100%}.kv dt{color:var(--text-muted)}.kv dd{font-family:var(--mono);text-align:right}.status-line{font-size:12px;color:var(--text-muted);overflow-wrap:anywhere}.meter{width:100%;margin-top:6px}.meter-bar{position:relative;height:10px;border-radius:999px;overflow:visible;background:linear-gradient(90deg,var(--danger) 0%,var(--danger) var(--z1),var(--warn) var(--z1),var(--warn) var(--z2),var(--ok) var(--z2),var(--ok) var(--z3),var(--info) var(--z3),var(--info) 100%);opacity:.85}.meter-pin{position:absolute;top:50%;width:16px;height:16px;border-radius:50%;transform:translate(-50%,-50%);background:var(--surface-strong);border:3px solid var(--text);box-shadow:0 1px 4px #0000004d;transition:left .35s ease}.meter-ticks{position:relative;height:16px;font-size:10.5px;color:var(--text-faint);font-family:var(--mono)}.meter-ticks span{position:absolute;transform:translate(-50%);top:3px}.card.no-glass{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.qr-placeholder{display:grid;justify-items:center;gap:14px;text-align:center;padding:34px 22px;font-size:13.5px}.qr-placeholder-art{width:132px;height:132px;border-radius:18px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:var(--surface-sunken);border:1.5px dashed var(--border-strong)}.qr-placeholder-art span{border-radius:8px;border:7px solid var(--text-faint);opacity:.45}.qr-placeholder-art span:nth-child(4){border-style:dotted;border-width:5px}.qr-stage{background:#fff!important;display:flex;align-items:center;justify-content:center;max-width:100%}.qr-live-canvas{background:#fff;image-rendering:-moz-crisp-edges;image-rendering:pixelated;display:block;max-width:100%}.scan-preview{display:flex;gap:8px;align-items:center;justify-content:center}.video-frame{position:relative;display:inline-block;flex:0 1 auto;min-width:0;border-radius:14px;overflow:hidden;background:#000}.video-frame video{display:block;background:#000;width:auto;height:auto;max-width:100%;max-height:36svh}@supports not (height: 1svh){.video-frame video{max-height:36vh}}.video-frame .scan-box{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:2px dashed rgba(139,150,255,.75);border-radius:14px}.video-frame .corner{position:absolute;width:18px;height:18px;pointer-events:none;border:0 solid #8b96ff}.video-frame .corner.tl{top:0;left:0;border-top-width:3px;border-left-width:3px;border-top-left-radius:14px}.video-frame .corner.tr{top:0;right:0;border-top-width:3px;border-right-width:3px;border-top-right-radius:14px}.video-frame .corner.bl{bottom:0;left:0;border-bottom-width:3px;border-left-width:3px;border-bottom-left-radius:14px}.video-frame .corner.br{bottom:0;right:0;border-bottom-width:3px;border-right-width:3px;border-bottom-right-radius:14px}.analysis-pane{position:relative;flex:0 1 auto;min-width:0}.analysis-canvas{display:block;width:auto;height:auto;max-width:100%;max-height:36svh;border-radius:10px;background:#000}@supports not (height: 1svh){.analysis-canvas{max-height:36vh}}.analysis-tag{position:absolute;left:6px;top:6px;pointer-events:none;font-size:10.5px;font-weight:650;color:#fff;background:#0000008c;padding:1px 6px;border-radius:6px}.snap-panel{margin-top:12px}.snap-strip{display:flex;gap:10px;overflow-x:auto;padding:6px 0 4px}.snap{margin:0;flex:0 0 auto;width:84px;display:grid;gap:4px;justify-items:stretch;text-align:center}.snap-thumb{padding:0;border:1px solid var(--border);border-radius:8px;background:#000;height:96px;overflow:hidden;cursor:zoom-in}.snap-thumb img{width:100%;height:100%;object-fit:contain;display:block}.snap figcaption{font-size:11px;color:var(--text-muted)}.snap .btn{justify-content:center;padding:4px 6px}.snap-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#000000db;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px}.snap-viewer img{max-width:100%;max-height:calc(100% - 96px);object-fit:contain;border-radius:8px}.snap-viewer-bar{display:grid;gap:8px;justify-items:center;text-align:center;color:#fff;max-width:640px}.snap-viewer-bar .small{color:#fffc;overflow-wrap:anywhere}.fthumb{position:relative;flex:none;width:56px;height:56px;padding:0;border:1px solid var(--border-strong);border-radius:10px;overflow:hidden;background:var(--surface-sunken);display:grid;place-items:center;color:var(--text-muted);font:inherit}button.fthumb{cursor:zoom-in}.fthumb img,.fthumb video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.fthumb-wide{width:100%;height:var(--fthumb-h, 160px);background:#000}.fthumb-wide img,.fthumb-wide video{object-fit:contain}.fthumb-wide.fthumb-other,.fthumb-wide.fthumb-text,.fthumb-wide.fthumb-audio,.fthumb-wide.broken{background:var(--surface-sunken)}.fthumb-badge{font:700 12px/1 var(--mono);letter-spacing:.02em;color:var(--text-muted)}.fthumb-wide .fthumb-badge{font-size:18px}.fthumb-play{position:absolute;inset:auto 4px 4px auto;font-size:10px;line-height:1;color:#fff;background:#0000008c;border-radius:4px;padding:3px 4px}.fprev-body{flex:1 1 auto;min-height:0;width:100%;max-width:1100px;display:flex;align-items:center;justify-content:center}.fprev-media{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;background:#000}.fprev audio{width:min(520px,100%)}.fprev-text{width:100%;max-height:100%;display:flex;flex-direction:column;gap:6px;background:#0b1020;border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:12px}.fprev-text pre{margin:0;flex:1 1 auto;min-height:0;overflow:auto;color:#e2e8f0;font:12.5px/1.55 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.fprev-note{color:#ffffffbf;font-size:13px;text-align:center}.fprev-other{display:grid;justify-items:center;gap:14px;max-width:420px}.fprev-other .fthumb-badge{display:grid;place-items:center;width:96px;height:96px;border-radius:16px;background:#ffffff1a;color:#fff;font-size:20px}.fprev-name{font-weight:700;font-size:14px;overflow-wrap:anywhere}.snap-viewer.fprev{background:#000000f0}.fprev .snap-viewer-bar{flex:none;padding-bottom:env(safe-area-inset-bottom,0px)}details.debug-log{margin-top:14px}.code-block{margin:0;padding:10px 12px;max-height:40vh;overflow:auto;font-family:var(--mono);font-size:11.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);background:var(--surface-strong);border:1px solid var(--border);border-radius:10px;user-select:text;-webkit-user-select:text}.portal{display:grid;gap:22px;padding-top:clamp(8px,5vh,48px);grid-template-columns:minmax(0,1fr)}.portal-hero{text-align:center;display:grid;gap:6px;justify-items:center}.portal-clock{font-size:clamp(40px,8vw,64px);font-weight:300;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.1}.portal-date{color:var(--text-muted);font-size:14px}.search{width:min(680px,100%);margin:10px auto 0;display:flex;align-items:center;gap:4px;padding:6px 6px 6px 16px;border-radius:999px;background:var(--surface-strong);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--border);box-shadow:var(--shadow-lift)}.search svg{width:20px;height:20px;color:var(--text-faint);flex:none}.search input{flex:1;width:0;min-width:0;border:0;outline:0;background:transparent;font-size:16px;padding:10px 8px}.search select{border:0;background:var(--surface-sunken);border-radius:999px;padding:8px 12px;font-size:13px;color:var(--text-muted);cursor:pointer;max-width:45%;min-width:0;text-overflow:ellipsis}.tiles{display:grid;gap:14px;justify-content:center;grid-template-columns:repeat(auto-fill,96px);width:min(760px,100%);margin:0 auto}.tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px 10px;border-radius:16px;color:var(--text);text-decoration:none!important;background:var(--surface);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--border);transition:transform .12s,box-shadow .15s,background .15s;cursor:pointer;font-size:12.5px;text-align:center}.tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift);background:var(--surface-strong)}.tile-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:20px;font-weight:700;color:#fff}.tile-icon svg{width:22px;height:22px}.tile-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-remove{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;border:0;font-size:12px;line-height:1;background:var(--surface-sunken);color:var(--text-muted);cursor:pointer;opacity:0;transition:opacity .15s}.tile:hover .tile-remove,.tile-remove:focus-visible{opacity:1}@media(hover:none){.tile-remove{opacity:.8}}.tile.add{border-style:dashed;background:transparent;color:var(--text-muted)}.tile.add .tile-icon{background:var(--surface-sunken);color:var(--text-muted)}.portal-feed{display:grid;gap:16px;grid-template-columns:minmax(0,1fr);width:100%}@media(min-width:1000px){.portal-feed{grid-template-columns:minmax(0,1fr) 300px}}.news-card{margin:0;padding:6px 16px}.news-list{list-style:none;margin:0;padding:0;display:grid}.news-list li{padding:10px 0}.news-list li+li{border-top:1px solid var(--border)}.news-list a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--text);text-decoration:none;font-size:14px;line-height:1.5}.news-list a:hover{color:var(--accent-strong)}div.news-list{gap:14px;padding:12px 0}.news-credit{margin:8px 2px 0;line-height:1.5}.news-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}.news-sites-head{margin-top:18px}.skeleton{border-radius:6px;background:linear-gradient(90deg,var(--track) 0%,var(--surface-hover) 50%,var(--track) 100%);background-size:200% 100%;animation:shimmer 2.4s linear infinite}.skeleton.line{height:10px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.ad-slot{display:grid;place-items:center;text-align:center;border:1.5px dashed var(--border-strong);border-radius:var(--radius);color:var(--text-faint);font-size:12px;letter-spacing:.08em;background:var(--surface-sunken)}.ad-slot.rect{width:100%;max-width:300px;aspect-ratio:300 / 250;margin:0 auto}.ad-slot.banner{width:100%;min-height:90px}.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}.section-head h2{font-size:16px;font-weight:700}.add-form{display:grid;gap:8px;width:min(420px,100%);margin:0 auto}@media(min-width:1024px){html[data-page=portal] .app-header{display:none}html[data-page=portal] .app-main{max-width:none;padding:0}html[data-page=portal] .app-footer{background:var(--surface-strong)}}.edge-home{position:relative;min-height:100vh;display:flex;flex-direction:column;--edge-ink: #ffffff;--edge-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 10px rgba(0, 0, 0, .35);--edge-card: #ffffff;--edge-panel: rgba(243, 244, 246, .9);--edge-search: #ffffff;--edge-search-ink: #1f2328;--edge-hover: rgba(255, 255, 255, .2)}:root[data-theme=dark] .edge-home{--edge-card: #26282d;--edge-panel: rgba(20, 22, 27, .9);--edge-search: #2b2d31;--edge-search-ink: #e9eaee}.edge-home.bg-off{--edge-ink: var(--text);--edge-shadow: none;--edge-hover: var(--track)}.edge-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background-color:var(--bg);background-size:cover;background-position:center}.edge-home.bg-gradient .edge-bg,.edge-home.bg-photo:not(.has-photo) .edge-bg{background-image:radial-gradient(70vw 60vh at 85% 10%,rgba(236,72,153,.45),transparent 65%),radial-gradient(60vw 60vh at 10% 90%,rgba(20,184,166,.5),transparent 65%),linear-gradient(135deg,#1e3a8a,#2563eb 45%,#0e7490)}:root[data-theme=dark] .edge-home.bg-gradient .edge-bg,:root[data-theme=dark] .edge-home.bg-photo:not(.has-photo) .edge-bg{background-image:radial-gradient(70vw 60vh at 85% 10%,rgba(190,24,93,.35),transparent 65%),radial-gradient(60vw 60vh at 10% 90%,rgba(13,148,136,.35),transparent 65%),linear-gradient(135deg,#0b1230,#1e1b4b,#0f3a44)}.edge-home.has-photo .edge-bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,#00000061,#00000014 38%,#0000 60%)}.edge-top{display:flex;justify-content:space-between;align-items:center;padding:14px 22px 0}.edge-icon-btn{width:40px;height:40px;border-radius:8px;border:0;padding:0;cursor:pointer;display:grid;place-items:center;background:transparent;color:var(--edge-ink);filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}.edge-home.bg-off .edge-icon-btn{filter:none}.edge-icon-btn:hover,.edge-icon-btn[aria-expanded=true]{background:var(--edge-hover)}.edge-icon-btn svg{width:20px;height:20px}.edge-hero{position:relative;display:flex;flex-direction:column;align-items:center;gap:22px;padding:clamp(8px,4vh,48px) 24px 44px;min-height:clamp(320px,46vh,540px)}.edge-home.no-feed .edge-hero{flex:1;justify-content:center;padding-bottom:14vh}.edge-greet{display:grid;justify-items:center;gap:2px;color:var(--edge-ink);text-shadow:var(--edge-shadow)}.edge-greet-main{font-size:28px;font-weight:650;letter-spacing:-.01em}.edge-greet-date{font-size:14px;opacity:.92}.edge-search{width:min(680px,100%);height:48px;border-radius:24px;display:flex;align-items:center;gap:8px;padding:0 6px 0 18px;background:var(--edge-search);color:var(--edge-search-ink);box-shadow:0 2px 12px #0003}.edge-home.bg-off .edge-search{border:1px solid var(--border-strong);box-shadow:var(--shadow)}.edge-search svg{width:20px;height:20px;flex:none;opacity:.7}.edge-search input{flex:1;width:0;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:16px;color:inherit}.edge-search select{flex:none;max-width:40%;height:36px;border:0;border-radius:18px;padding:0 12px;background:#7f7f7f24;color:inherit;font-size:13px;cursor:pointer}.edge-links{display:grid;grid-template-columns:repeat(auto-fill,92px);justify-content:center;gap:2px 8px;width:min(800px,100%)}.edge-link{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 4px 8px;border-radius:8px;border:0;background:transparent;cursor:pointer;color:var(--edge-ink);text-decoration:none!important;font:inherit;font-size:12.5px}.edge-link:hover,.edge-link:focus-visible{background:var(--edge-hover)}.edge-link-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#fff;box-shadow:0 1px 4px #00000038;font-size:22px;font-weight:750}.edge-link-icon svg{width:24px;height:24px}.edge-link.add .edge-link-icon{background:#ffffffd9;color:#3b3f46}.edge-link-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:var(--edge-shadow);font-weight:600}.edge-link .tile-remove{top:2px;right:10px}.edge-link:hover .tile-remove{opacity:1}.edge-about{position:absolute;right:24px;bottom:10px}.edge-about-btn{border:0;cursor:pointer;border-radius:999px;padding:5px 12px;background:#00000073;color:#fff;font:inherit;font-size:12.5px}.edge-about-btn:hover{background:#0009}.edge-about-pop{position:absolute;right:0;bottom:calc(100% + 8px);z-index:70;width:340px;display:grid;gap:8px;padding:14px 16px;border-radius:10px;text-align:left;background:var(--edge-card);color:var(--text);box-shadow:0 8px 28px #0000004d}.edge-about-title{font-weight:700;font-size:14px}.edge-about-desc{font-size:13px;color:var(--text-muted);line-height:1.5}.edge-about-pop .btn{justify-self:start}.edge-credit{color:var(--text-muted);line-height:1.5}.edge-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}.edge-feed{width:min(1240px,calc(100% - 48px));margin:0 auto;flex:1;padding:12px 20px 28px;border-radius:14px 14px 0 0;background:var(--edge-panel);color:var(--text);-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);box-shadow:0 -2px 18px #0000001f}.edge-feed-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.edge-tabs{display:flex;gap:4px;flex-wrap:wrap}.edge-tabs button{border:1px solid transparent;background:transparent;cursor:pointer;border-radius:999px;padding:6px 16px;font:inherit;font-size:14px;font-weight:600;color:var(--text-muted)}.edge-tabs button:hover{color:var(--text);background:var(--track)}.edge-tabs button[aria-selected=true]{color:var(--accent);background:var(--edge-card);border-color:var(--border-strong);box-shadow:0 1px 2px #00000014}.edge-pill{display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap;border:1px solid var(--border-strong);border-radius:999px;padding:6px 14px;background:var(--edge-card);color:var(--text);font:inherit;font-size:13.5px;font-weight:600}.edge-pill:hover{background:var(--surface-hover)}.edge-pill svg{width:16px;height:16px}.edge-grid{display:grid;gap:16px;align-items:start;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(250px,.9fr)}.edge-grid.no-photo{grid-template-columns:minmax(0,2fr) minmax(250px,1fr)}.edge-card{background:var(--edge-card);border-radius:12px;padding:14px 18px;box-shadow:0 1px 3px #0000001a;min-width:0}.edge-card-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}.edge-card-head h3{font-size:15px;font-weight:700;margin-right:auto}.edge-wmark{flex:none;width:22px;height:22px;border-radius:5px;display:inline-grid;place-items:center;border:1px solid var(--border-strong);background:var(--edge-card);color:var(--text);font:700 13px/1 Georgia,Times New Roman,serif}.edge-wmark.sm{width:18px;height:18px;font-size:11px;color:var(--text-muted)}.edge-headlines{list-style:none;margin:0;padding:0}.edge-headlines li+li{border-top:1px solid var(--divider)}.edge-headlines a{display:flex;align-items:center;gap:12px;padding:11px 0;color:var(--text);text-decoration:none}.edge-headline{flex:1;min-width:0;font-size:14.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.edge-headlines a:hover .edge-headline{color:var(--accent-strong);text-decoration:underline}.edge-news .news-credit{margin-top:10px}.edge-photo{padding:0;overflow:hidden}.edge-photo-img{position:relative;display:block;aspect-ratio:16 / 10;background:var(--track)}.edge-photo-img img{width:100%;height:100%;object-fit:cover;display:block}.edge-photo-tag{position:absolute;left:10px;top:10px;padding:3px 9px;border-radius:999px;background:#0000008c;color:#fff;font-size:12px;font-weight:600}.edge-photo-body{display:grid;gap:6px;padding:12px 16px 14px}.edge-photo-body h3{font-size:15px;font-weight:700;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.edge-photo-body p:not(.edge-credit){font-size:13px;color:var(--text-muted);line-height:1.5;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.edge-give .ad-card{margin:0}.edge-sites{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px;margin-top:8px}.edge-site{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--text);text-decoration:none!important;font-size:14px;min-width:0}.edge-site:hover{background:var(--track)}.edge-site span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edge-site-icon{flex:none;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:750;font-size:15px}.edge-give-tab{display:grid;gap:16px;width:min(640px,100%);margin:0 auto}.edge-panel,.edge-menu{position:absolute;top:calc(100% + 8px);z-index:70;text-align:left;background:var(--edge-card);color:var(--text);border-radius:10px;box-shadow:0 8px 28px #00000047;border:1px solid var(--border-strong)}.edge-panel{position:fixed;top:62px;right:22px;width:330px;padding:8px 0 6px;max-height:calc(100vh - 80px);overflow:auto}.edge-panel-head{display:flex;align-items:center;justify-content:space-between;padding:4px 10px 6px 16px}.edge-panel-head h2{font-size:16px;font-weight:700}.edge-close{width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer;display:grid;place-items:center}.edge-close:hover{background:var(--track);color:var(--text)}.edge-close svg{width:18px;height:18px}.edge-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;font-size:14px}.edge-row-end{display:inline-flex;align-items:center;gap:8px}.switch{position:relative;width:40px;height:20px;border-radius:10px;padding:0;cursor:pointer;border:1px solid var(--text-muted);background:transparent}.switch-knob{position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:var(--text-muted);transition:transform .15s}.switch[aria-checked=true]{background:var(--accent);border-color:var(--accent)}.switch[aria-checked=true] .switch-knob{transform:translate(20px);background:#fff}.edge-group{display:grid;gap:6px;margin:0;padding:12px 16px;border:0;border-top:1px solid var(--divider);min-width:0;font-size:14px}.edge-group>legend{float:left;width:100%;padding:0;margin-bottom:4px;font-weight:600}.edge-group>legend+*{clear:both}.edge-legend{font-weight:600}.edge-radio{display:flex;align-items:center;gap:10px;padding:3px 0;cursor:pointer}.edge-radio input{width:18px;height:18px;accent-color:var(--accent);margin:0}.edge-radio input:disabled+span{color:var(--text-faint)}.edge-app-settings summary{cursor:pointer;font-weight:600}.edge-app-fields{display:grid;gap:12px;margin-top:10px}.edge-app-fields .label{display:block;margin-bottom:4px}.edge-menu{left:0;width:230px;padding:6px;display:grid;gap:2px}.edge-menu button,.edge-menu a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:6px;border:0;background:transparent;color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer;text-decoration:none!important}.edge-menu button:hover,.edge-menu a:hover{background:var(--track)}.edge-menu-icon{display:grid;place-items:center}.edge-menu-icon svg{width:20px;height:20px}.boot-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.boot-panel{width:min(440px,100%)}.boot-title{font-size:28px;font-weight:750;margin-bottom:8px;letter-spacing:-.02em}.boot-body{color:var(--text-muted);font-size:15px;margin-bottom:22px}.boot-progress{width:100%;height:10px;border-radius:999px;overflow:hidden;background:var(--track)}.boot-progress-fill{height:100%;background:var(--accent);transition:width .16s ease}.boot-meta{display:flex;justify-content:space-between;gap:16px;margin-top:10px;color:var(--text-muted);font-size:13px}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.card,.tile,.search,.popover{background:var(--surface-strong)}}@media(prefers-reduced-transparency:reduce){.card,.tile,.search,.popover,.app-header{background:var(--surface-strong);-webkit-backdrop-filter:none;backdrop-filter:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}@media(max-width:640px),(max-height:520px){html[data-scanning] .app-header,html[data-sending] .app-header{flex-wrap:nowrap;padding-top:6px;padding-bottom:6px}html[data-scanning] .app-header .seg-nav,html[data-sending] .app-header .seg-nav{display:none}html[data-scanning] .app-main,html[data-sending] .app-main{padding-top:8px}}@media(max-width:959px){html[data-scanning] .rx-cam-card .rx-src-head{display:none}}@media(max-width:640px){.rx-cam-card{padding:12px}}.rx-stage{--rx-preview-h: 36svh;display:grid;gap:8px;min-width:0}@supports not (height: 1svh){.rx-stage{--rx-preview-h: 36vh}}.rx-view{display:grid;gap:8px;min-width:0;align-content:start}.rx-stage .scan-preview{position:relative;height:var(--rx-preview-h);overflow:hidden;background:#000;border-radius:14px}.rx-stage .scan-preview .video-frame video,.rx-stage .scan-preview .analysis-canvas{max-height:var(--rx-preview-h)}.rx-stage .scan-preview:not(.is-live) .video-frame{opacity:0}.preview-idle{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:grid;place-content:center;justify-items:center;gap:8px;border:0;background:transparent;color:#cbd5e1;cursor:pointer;font:inherit;font-size:14px;font-weight:600}.preview-idle svg{width:34px;height:34px;opacity:.85}.rx-chart{min-width:0}.rx-chart .live-chart{margin-top:0}@media(orientation:landscape)and (max-height:520px){.rx-stage{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}}@media(max-height:720px){.rx-cam-card .card-title.rx-src-head{display:none}}@media(max-height:600px){.rx-stage .lc-stats{display:none}.rx-stage .live-chart{padding:8px 10px 6px}.rx-stage .probe-gauge{padding:4px 10px;min-width:120px}.rx-stage .probe-title{font-size:17px}.rx-stage .hud-note{display:none}}.hud{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;display:flex;flex-direction:column;justify-content:space-between;padding:8px;color:#fff;font-size:12px}.hud-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.hud .badge{background:#0009;color:#fff}.hud .badge-ok{color:#4ade80}.hud .badge-err{color:#f87171}.hud-pct{font-size:26px;font-weight:750;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;padding:4px 8px;border-radius:10px;background:#0000008c}.hud-center{display:flex;flex-direction:column;align-items:center;gap:6px}.hud-note{max-width:min(320px,92%);padding:6px 10px;border-radius:10px;background:#1e3a8ae0;color:#fff;font-size:12.5px;font-weight:600;line-height:1.35;text-align:center}.hud-bottom{display:grid;gap:6px}.seekbar{display:grid;gap:6px;width:100%}.seek-labels{display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums}.seek-elapsed{font-size:13px;font-weight:600;color:var(--text-muted)}.seek-pct{font-size:13px;font-weight:700;color:var(--text-muted)}.seek-left{justify-self:end;font-size:18px;font-weight:750;letter-spacing:-.01em;color:var(--text);white-space:nowrap}.seek-left.pending{font-size:14px;font-weight:600;color:var(--text-muted)}.seek-track{position:relative;height:9px;border-radius:5px;background:var(--track);margin:0 7px}.seek-fill{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:var(--accent);transition:width .5s linear}.seek-knob{position:absolute;top:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:#fff;border:3px solid var(--accent);box-sizing:border-box;box-shadow:0 1px 3px #00000059;transition:left .5s linear}.seekbar.done .seek-fill{background:var(--ok)}.seekbar.done .seek-knob{border-color:var(--ok)}.seekbar-hud{gap:3px;padding:4px 10px 6px;border-radius:10px;background:#0009}.seekbar-hud .seek-elapsed,.seekbar-hud .seek-pct{font-size:12px}.seekbar-hud .seek-track{height:7px}.seekbar-hud .seek-knob{width:13px;height:13px;margin:-6.5px 0 0 -6.5px}.seekbar-hud .seek-elapsed,.seekbar-hud .seek-pct{color:#e2e8f0}.seekbar-hud .seek-left{color:#fff;font-size:17px;line-height:1.2}.seekbar-hud .seek-left.pending{color:#cbd5e1;font-size:13px}.seekbar-hud .seek-track{background:#ffffff40}.seekbar-hud .seek-fill{background:#8b96ff}.seekbar-hud .seek-knob{border-color:#8b96ff}.seekbar-hud.done .seek-fill{background:#4ade80}.seekbar-hud.done .seek-knob{border-color:#4ade80}.status-card .seekbar{margin:8px 0 6px}@media(prefers-reduced-motion:reduce){.seek-fill,.seek-knob{transition:none}}.hud-stats{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.hud-stats>span{padding:2px 8px;border-radius:8px;background:#0009;font-variant-numeric:tabular-nums;white-space:nowrap}.hud-stats b{font-size:14px}.hud-chip:before{content:"● "}.hud-chip.hud-too-small:before{content:"■ ";color:#f87171}.hud-chip.hud-marginal:before{color:#fbbf24;content:"▲ "}.hud-chip.hud-ok:before{color:#4ade80}.hud-chip.hud-roomy:before{color:#60a5fa}.probe-gauge{display:grid;gap:4px;justify-items:center;min-width:150px;padding:8px 14px;border-radius:12px;background:#000000b8;border:2px solid currentColor}.probe-title{font-size:22px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.probe-sub{font-size:13px;font-weight:650;color:#fff;text-align:center}.probe-action{font-size:11.5px;color:#e5e7eb;text-align:center}.probe-bar{width:100%;height:5px;border-radius:3px;background:#fff3;overflow:hidden}.probe-bar>span{display:block;height:100%;background:currentColor}.probe-good{color:#4ade80}.probe-warn{color:#fbbf24}.probe-danger{color:#f87171}.probe-lost{color:#cbd5e1}.ctl-bar{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;min-width:0}.ctl-main{flex:1 1 auto;min-width:0;height:42px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ctl-btn{flex:none;min-width:42px;height:42px;padding:0 8px;font-size:16px}.ctl-zoom{min-width:52px;font-variant-numeric:tabular-nums;font-weight:700;font-size:15px}.ctl-btn[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.ctl-more-wrap{position:relative;flex:none}.ctl-more{position:absolute;right:0;bottom:calc(100% + 6px);z-index:30;display:grid;gap:6px;padding:8px;min-width:210px;background:var(--surface-strong);border:1px solid var(--border-strong);border-radius:12px;box-shadow:var(--shadow-lift)}.ctl-more .btn{justify-content:flex-start;white-space:nowrap}.rx-stage .scan-preview.is-done{height:auto}.scan-preview.is-done .video-frame,.scan-preview.is-done .analysis-pane{display:none!important}.scan-preview.is-done .hud{position:static;flex-direction:row;align-items:center;gap:10px;padding:8px 10px}.scan-preview.is-done .hud-top{flex:none}.scan-preview.is-done .hud-pct{display:none}.scan-preview.is-done .hud-bottom{flex:1 1 auto;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center}.scan-preview.is-done .seekbar-hud{background:transparent;padding:0}.scan-preview.is-done .seek-left{display:none}.scan-preview.is-done .seek-labels{grid-template-columns:auto 1fr}.scan-preview.is-done .seek-pct{justify-self:end}.rx-done-result{display:grid;gap:10px;min-width:0}.rx-done-result .card-title{margin-bottom:0}.rx-done-result .textarea{min-height:90px;max-height:30svh}.rx-result{display:grid;gap:10px;min-width:0}.rx-file .fthumb-wide{--fthumb-h: clamp(120px, 28svh, 320px)}.rx-file.in-stage .fthumb-wide{--fthumb-h: clamp(96px, 26svh, 300px)}.rx-file-row{display:flex;align-items:center;gap:12px;min-width:0}.rx-file-meta{flex:1 1 auto;min-width:0;display:grid;gap:2px}.rx-file-name{font-size:14.5px;overflow-wrap:anywhere;line-height:1.35}.rx-file-actions .btn{flex:1 1 auto}.rx-file .hint,.rx-done-result .hint{margin-top:0}@media(max-height:760px){.rx-share-hint{display:none}}.rx-done-ad:empty{display:none}.rx-summary{display:grid;gap:2px}.rx-summary-note{font-size:11px;line-height:1.4;opacity:.85}@media(max-height:520px){.rx-cam-card.rx-done .rx-src-head{display:none}}.rx-done-ad .ad-card{margin-bottom:16px}.rx-more-info{display:grid;gap:8px}.rx-more-info .alert{margin:0}.advice-toast{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:8px 12px;border-radius:12px;cursor:pointer;text-align:left;border:1px solid var(--warn);background:var(--warn-soft);color:var(--text);font-size:13px;line-height:1.35}.advice-toast.tone-err{border-color:var(--danger);background:var(--danger-soft)}.advice-toast.tone-err .advice-more{color:var(--danger)}.advice-toast.tone-info{border-color:var(--accent);background:var(--accent-soft)}.advice-toast.tone-info .advice-more{color:var(--accent)}.advice-toast.tone-muted{border-color:var(--divider);background:var(--surface-sunken);color:var(--text-muted)}.advice-toast.tone-muted .advice-more{color:var(--text-muted)}.advice-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.advice-toast.open .advice-text{white-space:normal}.advice-more{flex:none;font-size:12px;font-weight:650;color:var(--warn)}.live-chart{position:relative;margin-top:10px;padding:10px 12px 8px;border-radius:14px;background:var(--surface-sunken);border:1px solid var(--divider);--lc-speed: #d2600a;--lc-quality: #8a5cf0;--lc-bg: #eef0f5}:root[data-theme=dark] .live-chart{--lc-speed: #e8711b;--lc-quality: #9d7aeb;--lc-bg: #10141d}@media(prefers-color-scheme:dark){:root:where(:not([data-theme=light])) .live-chart{--lc-speed: #e8711b;--lc-quality: #9d7aeb;--lc-bg: #10141d}}.lc-panels{display:grid}.lc-panel{min-width:0}.lc-panel.lc-speed{--lc: var(--lc-speed)}.lc-panel.lc-quality{--lc: var(--lc-quality)}.lc-title{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650;color:var(--text-muted);letter-spacing:.01em}.lc-title:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--lc);flex:none}.lc-hero{display:flex;align-items:baseline;gap:4px;margin:0 0 2px;line-height:1.05}.lc-hero-v{font-size:30px;font-weight:750;letter-spacing:-.03em;color:var(--text)}.lc-hero-u{font-size:13px;font-weight:600;color:var(--text-muted)}.live-chart.wide .lc-hero-v{font-size:44px}.live-chart.wide .lc-hero-u{font-size:16px}.lc-panel svg{display:block;overflow:visible;touch-action:pan-y}.lc-stop{stop-color:var(--lc)}.lc-line{fill:none;stroke:var(--lc);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.lc-dot{fill:var(--lc)}.lc-end{fill:var(--lc);stroke:var(--surface-strong);stroke-width:2}.lc-ref-line{stroke:var(--text-faint);stroke-width:1;opacity:.7}.lc-ref-text{fill:var(--text-muted);font-size:9.5px;paint-order:stroke;stroke:var(--lc-bg);stroke-width:3px;stroke-linejoin:round}.live-chart.wide .lc-ref-text{font-size:11px}.lc-cross{stroke:var(--text-muted);stroke-width:1}.lc-empty{stroke:var(--lc);stroke-width:2;stroke-dasharray:2 5;stroke-linecap:round;opacity:.45}.lc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid var(--divider)}.lc-stat{min-width:0}.lc-stat-k{font-size:11px;font-weight:650;color:var(--text-muted)}.lc-stat-v{font-size:18px;font-weight:720;color:var(--text);letter-spacing:-.02em;line-height:1.2;white-space:nowrap}.lc-stat-u{font-size:11px;font-weight:600;color:var(--text-muted);margin-left:3px;letter-spacing:0}.live-chart.wide .lc-stat-v{font-size:24px}.live-chart.wide .lc-stat-k{font-size:12px}.lc-stat-sub{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lc-mark{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;vertical-align:1px}.lc-mark.lc-speed{background:var(--lc-speed)}.lc-mark.lc-quality{background:var(--lc-quality)}.lc-tip{position:absolute;top:24px;transform:translate(-50%);pointer-events:none;z-index:2;padding:6px 9px;border-radius:10px;font-size:12px;line-height:1.5;background:var(--surface-strong);border:1px solid var(--border-strong);box-shadow:var(--shadow);white-space:nowrap}.lc-tip-time{font-weight:700}.start-stack{display:grid;gap:12px}.btn-tag{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:#ffffff40;color:inherit}.level-row{display:flex;align-items:center;gap:10px}.level-row .btn{min-width:44px;height:44px;font-size:20px}.level-readout{flex:1;min-width:0;display:grid;gap:2px;text-align:center}.level-readout b{font-size:18px}.qr-stage{position:relative}.test-bar{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:6px 10px;background:#111827;color:#fff;box-sizing:border-box}.test-track{display:flex;align-items:stretch;gap:3px;height:28px}.test-pip{position:relative;flex:1 1 0;min-width:0;overflow:hidden;border:0;border-radius:5px;padding:0;cursor:pointer;background:#ffffff1a;color:#94a3b8;font:600 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace}.test-pip.done{background:#60a5fa4d;color:#dbeafe}.test-pip.on{background:#1d4ed8;color:#fff}.test-pip.on.held{background:#d97706;box-shadow:inset 0 0 0 2px #fde68a}.test-pip-fill{position:absolute;top:0;right:0;bottom:0;left:0;background:#3b82f6;transform-origin:left center;transform:scaleX(0);animation-name:test-pip-fill;animation-timing-function:linear;animation-fill-mode:forwards}.test-pip-num{position:relative}@keyframes test-pip-fill{to{transform:scaleX(1)}}.test-row{display:flex;align-items:center;gap:6px;height:44px}.test-ctl{flex:none;width:42px;height:42px;border-radius:10px;padding:0;border:1px solid rgba(255,255,255,.22);background:#ffffff14;color:#fff;font-size:17px;line-height:1;cursor:pointer}.test-ctl:disabled{opacity:.3;cursor:default}.test-ctl:not(:disabled):active{background:#ffffff38}.test-track .test-cancel{width:34px;height:auto;border-radius:5px;font-size:13px;margin-left:4px}.test-go{flex:none;min-height:42px;white-space:nowrap;padding-inline:14px;font-weight:700}.qr-stage[data-fullscreen="0"]:not([data-bar="0"]){flex-direction:column;align-items:stretch}.qr-stage[data-fullscreen="0"] .test-bar{position:static;border-radius:0 0 12px 12px}.test-bar-info{flex:1;min-width:0;display:grid;gap:1px;padding-left:2px}.test-bar-info .small{color:#cbd5e1;font-size:11px;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}@media(prefers-reduced-motion:reduce){.test-pip-fill{animation-name:none;transform:scaleX(.5)}}.test-bar{padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px));padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}.test-msg{font-size:12.5px;line-height:1.35;color:#fde68a;font-weight:600;padding:2px 2px 0}.send-seek{display:flex;align-items:center;gap:10px;min-height:28px}.send-seek-label{flex:none;font:600 13px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#e2e8f0}.send-time{flex:none;font-size:13px;font-weight:600;color:#e2e8f0;min-width:3.2em;text-align:center}.send-track{position:relative;flex:1;min-width:40px;height:8px;border-radius:4px;background:#ffffff29}.send-track-fill{position:absolute;left:0;top:0;bottom:0;border-radius:4px;background:#3b82f6;transition:width .25s linear}.send-track-fill.prep{background:#f59e0b}.send-track-knob{position:absolute;top:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #3b82f68c;transition:left .25s linear}.send-err{color:#fecaca;font-size:13px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.send-bar[data-state=error]{background:#3b0d0d}.send-bar .test-go{padding-inline:12px}@media(prefers-reduced-motion:reduce){.send-track-fill,.send-track-knob{transition:none}}.tx-live-card{scroll-margin-top:64px}.tx-live-head{gap:10px;min-width:0;margin-bottom:10px}.tx-live-head .fthumb{width:34px;height:34px;border-radius:8px}.tx-live-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-qr-box{width:100%;min-height:0;display:flex;align-items:center;justify-content:center}.qr-stage[data-fullscreen="0"]{background:transparent!important}.qr-stage[data-fullscreen="0"] .tx-qr-box{height:var(--tx-qr-h, 56svh)}@supports not (height: 1svh){.qr-stage[data-fullscreen="0"] .tx-qr-box{height:var(--tx-qr-h, 56vh)}}.qr-stage:not([data-fullscreen="0"]) .tx-qr-box{flex:1 1 auto;height:100%}.tx-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:10px}.tx-stats{display:flex;gap:6px 16px;margin:0 0 0 auto;min-width:0}.tx-stats>div{display:grid;gap:1px;min-width:0}.tx-stats dt{font-size:11px;color:var(--text-muted);white-space:nowrap}.tx-stats dd{margin:0;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.qr-placeholder .tx-stats{margin:0 auto}details.tx-help{margin-top:10px}details.tx-help>summary{font-size:13px;color:var(--text-muted)}details.tx-help[open]>summary{margin-bottom:0}@media(max-width:640px){.tx-live-card{padding:12px}.tx-stats{margin-left:0;width:100%;justify-content:space-between}}@media(max-width:959px){html[data-sending] .tx-live-card,html[data-sending] .qr-placeholder{order:0}}@media(min-width:960px){html[data-sending] .page-grid>.col-side{position:sticky;top:64px}}@media(orientation:landscape)and (max-height:520px){html[data-sending] .tx-live-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:8px 12px;align-items:start}html[data-sending] .tx-live-card>.qr-stage{grid-column:1;grid-row:1 / span 2}html[data-sending] .tx-live-card>.tx-live-head{grid-column:2;grid-row:1;margin-bottom:0}html[data-sending] .tx-live-card>.tx-foot{grid-column:2;grid-row:2;margin-top:0}html[data-sending] .tx-live-card .tx-stats{margin-left:0;flex-wrap:wrap}}.ad-card{border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);padding:10px 12px 12px}.ad-card.ad-complete{margin-top:14px}.ad-card.ad-rect{max-width:300px;margin:0 auto}.ad-label{font-size:10.5px;letter-spacing:.06em;color:var(--text-faint);margin-bottom:6px}.ad-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;align-items:center;color:var(--text);text-decoration:none}.ad-body:hover .ad-cta{text-decoration:underline}.ad-mark{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:20px}.ad-text{display:grid;gap:2px}.ad-name{font-weight:700;font-size:14px}.ad-pitch{font-size:12.5px;color:var(--text-muted);line-height:1.5}.ad-cta{grid-column:1 / -1;justify-self:end;font-size:13px;font-weight:650;color:var(--accent-strong)}.ad-rect .ad-body{grid-template-columns:1fr;justify-items:start}.ad-rect .ad-cta{justify-self:start}
