.scan-page.immersive{position:fixed;inset:0;z-index:30;max-width:none;margin:0;padding:0;background:#07111e;overflow:hidden}.immersive .scan-stage,.immersive .scan-stage video{width:100%;height:100dvh;min-height:100dvh;border:0}.immersive .scan-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#050b14aa 0%,transparent 26%,transparent 64%,#050b14e8 100%);pointer-events:none}.immersive .scan-mask{z-index:1}.immersive .scan-mask span{width:min(77vw,350px);border-radius:22px;box-shadow:0 0 0 999px #02091355,0 0 30px #4caeff99;animation:focusPulse 2.3s ease-in-out infinite}.immersive .scan-mask span:after{height:3px;background:#70c7ff;box-shadow:0 0 16px #70c7ff;animation:scanLine 1.65s ease-in-out infinite}.immersive .scan-caption{z-index:2;bottom:calc(29dvh + env(safe-area-inset-bottom));padding:0 22px}.immersive .scan-caption b{font-size:21px;letter-spacing:.1px}.immersive .scan-caption small{font-size:12px}.immersive .scan-sheet{position:absolute;z-index:4;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));margin:0;padding:15px 16px 14px;border:1px solid #ffffff1f;border-radius:22px;background:#111e2eea;backdrop-filter:blur(18px);box-shadow:0 18px 40px #0008;animation:sheetUp .42s cubic-bezier(.2,.8,.2,1) both}.immersive .step{color:#c7d5e5}.immersive .step b{color:#76bfff}.immersive .target{margin:10px 0;background:#ffffff12;border-left-color:#6ab8ff;color:#fff}.immersive .target small{color:#bcd0e4}.immersive .target b{color:#fff}.immersive .manual{margin-top:10px}.immersive .manual input{border-color:#ffffff2b;background:#07111ecc;color:#fff}.immersive .manual input::placeholder{color:#9eafc1}.immersive .manual button{padding:0 17px;background:#3f82d1;box-shadow:0 5px 14px #0005}.immersive .scan-hint{margin-top:9px;color:#b7c8da}.scan-fabs{position:fixed;z-index:42;left:max(16px,env(safe-area-inset-left));bottom:calc(172px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;align-items:flex-start}.scan-fab{display:grid;place-items:center;width:52px;height:52px;border:1px solid #ffffff33;border-radius:18px;background:#15263ade;color:#fff;box-shadow:0 10px 22px #0007;backdrop-filter:blur(12px);transition:transform .18s,background .18s}.scan-fab:active{transform:scale(.91)}.scan-fab svg{width:24px;height:24px;fill:currentColor}.scan-fab.primary-fab{background:#4285d2;border-color:#9dccff;animation:cameraGlow 2.2s ease-in-out infinite}.camera-state{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #ffffff26;border-radius:99px;background:#102036cc;color:#e8f3ff;font-size:11px;font-weight:800;backdrop-filter:blur(12px);animation:fadeIn .35s ease both}.camera-state i{width:7px;height:7px;border-radius:50%;background:#55e08d;box-shadow:0 0 10px #55e08d}@keyframes cameraGlow{50%{box-shadow:0 10px 28px #338cf7aa,0 0 0 7px #519cff22}}@keyframes focusPulse{50%{transform:scale(1.025);box-shadow:0 0 0 999px #02091355,0 0 38px #6ab8ffcc}}@keyframes sheetUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}@keyframes fadeIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}.scan-page.immersive + .safe-nav{z-index:43;left:auto;right:max(16px,env(safe-area-inset-right));bottom:calc(172px + env(safe-area-inset-bottom));width:52px;padding:0;background:none;backdrop-filter:none}.scan-page.immersive + .safe-nav button{width:52px;height:52px;padding:0;border-radius:18px;background:#15263ade;color:transparent;box-shadow:0 10px 22px #0007}.scan-page.immersive + .safe-nav button:after{content:"←";color:#fff;font-size:24px;font-weight:700}@media(max-height:680px){.immersive .scan-caption{bottom:calc(25dvh + env(safe-area-inset-bottom))}.scan-fabs,.scan-page.immersive + .safe-nav{bottom:calc(150px + env(safe-area-inset-bottom))}.immersive .scan-sheet{padding:12px 14px 11px}}
.safe-nav .back-arrow-icon{display:none!important}.scan-page.immersive + .safe-nav button{color:#fff}.scan-page.immersive + .safe-nav button:after{display:none}.scan-page.immersive + .safe-nav button span{display:none}.scan-page.immersive + .safe-nav button .back-arrow-icon{display:block!important;width:25px!important;height:25px!important;fill:currentColor;transform:rotate(180deg)}
.safe-nav{position:fixed!important;z-index:50;left:auto!important;right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));width:54px;padding:0!important;display:flex;flex-direction:column;gap:10px;background:none!important;backdrop-filter:none!important}.safe-nav button{width:54px!important;height:54px!important;padding:0!important;display:grid!important;place-items:center;border:1px solid var(--line)!important;border-radius:19px!important;background:var(--card)!important;color:var(--blue)!important;box-shadow:0 10px 25px #1022382b;transition:transform .18s,box-shadow .18s}.safe-nav button:active{transform:scale(.91);box-shadow:0 4px 10px #10223822}.safe-nav button span{display:none}.safe-nav button svg{display:block!important;width:23px!important;height:23px!important;fill:currentColor}.safe-nav .back-arrow-icon{width:25px!important;height:25px!important;transform:rotate(180deg)}.safe-nav .theme-fab{background:#eef6ff!important;color:#3172bd!important}.scan-page.immersive + .safe-nav{bottom:calc(172px + env(safe-area-inset-bottom))}.scan-page.immersive + .safe-nav button{background:#15263ade!important;color:#fff!important;border-color:#ffffff33!important}.scan-page.immersive + .safe-nav .theme-fab{background:#264e7dde!important;color:#cce7ff!important}
.safe-nav .back-fab .back-arrow-icon{display:block!important}
.safe-nav .theme-fab svg{display:block!important;width:23px!important;height:23px!important;fill:currentColor!important}.safe-nav .theme-fab{background:#eef6ff!important;color:#3172bd!important;border-color:#c7dcf3!important}:root[data-theme="dark"] .safe-nav .theme-fab{background:#182b40!important;color:#d9eaff!important;border-color:#405b76!important;box-shadow:0 10px 25px #0006}@media(prefers-color-scheme:dark){:root[data-theme="system"] .safe-nav .theme-fab{background:#182b40!important;color:#d9eaff!important;border-color:#405b76!important;box-shadow:0 10px 25px #0006}}
.safe-nav .theme-fab .theme-symbol{display:block!important;line-height:1!important;font-family:"Segoe UI Symbol","Apple Symbols",sans-serif!important;font-size:29px!important;font-weight:400!important;color:currentColor!important;transform:translateY(-1px)}
.scan-fab[hidden]{display:none!important}.scan-fab.torch-fab{color:#d8e9ff}.scan-fab.torch-fab.is-on{background:#f5c65b!important;color:#172334!important;border-color:#fff0b4!important;box-shadow:0 0 0 6px #ffd56b38,0 10px 28px #0007}
.safe-nav .theme-device-icon{display:block!important;width:23px!important;height:23px!important;fill:currentColor!important}.process-icon svg{display:block;width:23px;height:23px;fill:currentColor}.item b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.28}.item small{display:block;line-height:1.35}.detail dd{overflow-wrap:anywhere}.immersive .scan-mask{box-sizing:border-box;padding-bottom:9dvh}.immersive .scan-caption{bottom:calc(34dvh + env(safe-area-inset-bottom))}.immersive .scan-sheet{background:#111e2ed1;border-color:#ffffff1a}@media(prefers-color-scheme:dark){:root[data-theme="system"] .info-card{background:#183149;border-color:#285270;color:var(--ink)}:root[data-theme="system"] .info-card span{color:var(--muted)}}:root[data-theme="dark"] .info-card{background:#183149;border-color:#285270;color:var(--ink)}:root[data-theme="dark"] .info-card span{color:var(--muted)}
.immersive .scan-mask{align-items:start!important;padding:calc(15dvh + env(safe-area-inset-top)) 0 0!important}.immersive .scan-caption{bottom:calc(44dvh + env(safe-area-inset-bottom))!important}.scan-fabs{top:calc(18px + env(safe-area-inset-top))!important;bottom:auto!important}.scan-page.immersive + .safe-nav{top:calc(18px + env(safe-area-inset-top))!important;bottom:auto!important}
.immersive .scan-mask{padding-top:calc(23dvh + env(safe-area-inset-top))!important}.immersive .scan-sheet{background:#f4f8fbd1!important;border-color:#ffffff8a!important;box-shadow:0 18px 40px #10223855!important}.immersive .step{color:#526577!important}.immersive .target{background:#ffffff8f!important;color:#172b3f!important;border-left-color:#4a90df!important}.immersive .target small{color:#526577!important}.immersive .target b{color:#172b3f!important}.immersive .manual input{background:#ffffffb8!important;color:#172b3f!important;border-color:#a9bfd4!important}.immersive .manual input::placeholder{color:#627589!important}.scan-fab,.scan-page.immersive + .safe-nav button{background:#f5f9fcce!important;color:#28609a!important;border-color:#ffffffbb!important;box-shadow:0 10px 24px #10223842!important}.scan-fab.primary-fab{background:#4f85d5e6!important;color:#fff!important}.scan-page.immersive + .safe-nav .theme-fab{background:#e8f3ffdf!important;color:#28609a!important}.toast{z-index:100!important;top:calc(18px + env(safe-area-inset-top))!important;bottom:auto!important;transform:translate(-50%,-22px)!important}.toast.show{transform:translate(-50%,0)!important}@keyframes toastDrop{from{opacity:0;transform:translate(-50%,-22px)}to{opacity:1;transform:translate(-50%,0)}}.toast.show{animation:toastDrop .24s ease both}
:root[data-theme="dark"] .immersive .scan-sheet,:root[data-theme="dark"] .scan-fab,:root[data-theme="dark"] .scan-page.immersive + .safe-nav button{background:#15263ade!important;color:#e7f1ff!important;border-color:#ffffff33!important}:root[data-theme="dark"] .immersive .scan-sheet{color:#fff!important}:root[data-theme="dark"] .immersive .target{background:#ffffff12!important;color:#fff!important}:root[data-theme="dark"] .immersive .target small{color:#bcd0e4!important}:root[data-theme="dark"] .immersive .target b{color:#fff!important}:root[data-theme="dark"] .immersive .manual input{background:#07111ecc!important;color:#fff!important;border-color:#ffffff2b!important}:root[data-theme="dark"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7dde!important;color:#cce7ff!important}@media(prefers-color-scheme:dark){:root[data-theme="system"] .immersive .scan-sheet,:root[data-theme="system"] .scan-fab,:root[data-theme="system"] .scan-page.immersive + .safe-nav button{background:#15263ade!important;color:#e7f1ff!important;border-color:#ffffff33!important}:root[data-theme="system"] .immersive .scan-sheet{color:#fff!important}:root[data-theme="system"] .immersive .target{background:#ffffff12!important;color:#fff!important}:root[data-theme="system"] .immersive .target small{color:#bcd0e4!important}:root[data-theme="system"] .immersive .target b{color:#fff!important}:root[data-theme="system"] .immersive .manual input{background:#07111ecc!important;color:#fff!important;border-color:#ffffff2b!important}:root[data-theme="system"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7dde!important;color:#cce7ff!important}}
.immersive .scan-caption{top:calc(23dvh + min(48vw,219px) + 18px)!important;bottom:auto!important}.immersive .scan-sheet{background:#f4f8fb9c!important;backdrop-filter:blur(24px) saturate(155%)!important}.immersive .target{background:#ffffff61!important}.immersive .manual input{background:#ffffff82!important}.scan-fab,.scan-page.immersive + .safe-nav button{background:#f5f9fca8!important;backdrop-filter:blur(22px) saturate(155%)!important}.scan-page.immersive + .safe-nav .theme-fab{background:#e8f3ffb0!important}.toast{z-index:200!important;top:calc(112px + env(safe-area-inset-top))!important}:root[data-theme="dark"] .immersive .scan-sheet{background:#15263aa1!important;backdrop-filter:blur(24px) saturate(150%)!important}:root[data-theme="dark"] .immersive .target{background:#ffffff0e!important}:root[data-theme="dark"] .immersive .manual input{background:#07111e9c!important}:root[data-theme="dark"] .scan-fab,:root[data-theme="dark"] .scan-page.immersive + .safe-nav button{background:#15263aa6!important;backdrop-filter:blur(22px) saturate(150%)!important}:root[data-theme="dark"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7dad!important}@media(prefers-color-scheme:dark){:root[data-theme="system"] .immersive .scan-sheet{background:#15263aa1!important;backdrop-filter:blur(24px) saturate(150%)!important}:root[data-theme="system"] .immersive .target{background:#ffffff0e!important}:root[data-theme="system"] .immersive .manual input{background:#07111e9c!important}:root[data-theme="system"] .scan-fab,:root[data-theme="system"] .scan-page.immersive + .safe-nav button{background:#15263aa6!important;backdrop-filter:blur(22px) saturate(150%)!important}:root[data-theme="system"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7dad!important}}
.immersive .scan-sheet{background:#f4f8fb70!important}.immersive .target{background:#ffffff45!important}.immersive .manual input{background:#ffffff66!important}.scan-fab,.scan-page.immersive + .safe-nav button{background:#f5f9fc82!important}.scan-page.immersive + .safe-nav .theme-fab{background:#e8f3ff8c!important}:root[data-theme="dark"] .immersive .scan-sheet{background:#15263a75!important}:root[data-theme="dark"] .immersive .target{background:#ffffff0b!important}:root[data-theme="dark"] .immersive .manual input{background:#07111e72!important}:root[data-theme="dark"] .scan-fab,:root[data-theme="dark"] .scan-page.immersive + .safe-nav button{background:#15263a7d!important}:root[data-theme="dark"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7d82!important}@media(prefers-color-scheme:dark){:root[data-theme="system"] .immersive .scan-sheet{background:#15263a75!important}:root[data-theme="system"] .immersive .target{background:#ffffff0b!important}:root[data-theme="system"] .immersive .manual input{background:#07111e72!important}:root[data-theme="system"] .scan-fab,:root[data-theme="system"] .scan-page.immersive + .safe-nav button{background:#15263a7d!important}:root[data-theme="system"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7d82!important}}
.immersive .scan-sheet{background:#f4f8fb38!important;backdrop-filter:blur(6px) saturate(125%)!important}.immersive .target{background:#ffffff24!important}.immersive .manual input{background:#ffffff36!important}.scan-fab,.scan-page.immersive + .safe-nav button{background:#f5f9fc45!important;backdrop-filter:blur(6px) saturate(125%)!important}.scan-page.immersive + .safe-nav .theme-fab{background:#e8f3ff4d!important}:root[data-theme="dark"] .immersive .scan-sheet{background:#15263a40!important;backdrop-filter:blur(6px) saturate(125%)!important}:root[data-theme="dark"] .immersive .target{background:#ffffff08!important}:root[data-theme="dark"] .immersive .manual input{background:#07111e42!important}:root[data-theme="dark"] .scan-fab,:root[data-theme="dark"] .scan-page.immersive + .safe-nav button{background:#15263a49!important;backdrop-filter:blur(6px) saturate(125%)!important}:root[data-theme="dark"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7d4f!important}@media(prefers-color-scheme:dark){:root[data-theme="system"] .immersive .scan-sheet{background:#15263a40!important;backdrop-filter:blur(6px) saturate(125%)!important}:root[data-theme="system"] .immersive .target{background:#ffffff08!important}:root[data-theme="system"] .immersive .manual input{background:#07111e42!important}:root[data-theme="system"] .scan-fab,:root[data-theme="system"] .scan-page.immersive + .safe-nav button{background:#15263a49!important;backdrop-filter:blur(6px) saturate(125%)!important}:root[data-theme="system"] .scan-page.immersive + .safe-nav .theme-fab{background:#264e7d4f!important}}
:root[data-theme="light"] .immersive .scan-sheet,:root[data-theme="system"] .immersive .scan-sheet{background:#fffafbb5!important;border-color:#ffffffdc!important;color:#281b20!important;box-shadow:0 18px 42px #32121c55!important}:root[data-theme="light"] .immersive .step,:root[data-theme="system"] .immersive .step{color:#4a3039!important}:root[data-theme="light"] .immersive .step b,:root[data-theme="system"] .immersive .step b{color:#9a3657!important}:root[data-theme="light"] .immersive .target,:root[data-theme="system"] .immersive .target{background:#fff4f7b8!important;border-left-color:#a83f62!important;color:#281b20!important}:root[data-theme="light"] .immersive .target small,:root[data-theme="system"] .immersive .target small{color:#76515e!important}:root[data-theme="light"] .immersive .target b,:root[data-theme="system"] .immersive .target b{color:#281b20!important}:root[data-theme="light"] .immersive .manual input,:root[data-theme="system"] .immersive .manual input{background:#fffdfed1!important;border-color:#b77a8d!important;color:#281b20!important}:root[data-theme="light"] .immersive .manual input::placeholder,:root[data-theme="system"] .immersive .manual input::placeholder{color:#76515e!important}:root[data-theme="light"] .immersive .scan-hint,:root[data-theme="system"] .immersive .scan-hint{color:#4d3440!important}
@media(prefers-color-scheme:dark){:root[data-theme="system"] .immersive .scan-sheet{background:#21151aad!important;border-color:#ffffff24!important;color:#fff4f7!important}:root[data-theme="system"] .immersive .step{color:#ead5dc!important}:root[data-theme="system"] .immersive .step b{color:#ffb3c9!important}:root[data-theme="system"] .immersive .target{background:#ffffff10!important;border-left-color:#d15a7e!important;color:#fff!important}:root[data-theme="system"] .immersive .target small,:root[data-theme="system"] .immersive .scan-hint{color:#e0c3cd!important}:root[data-theme="system"] .immersive .target b{color:#fff!important}:root[data-theme="system"] .immersive .manual input{background:#130d10b8!important;border-color:#ffffff32!important;color:#fff!important}:root[data-theme="system"] .immersive .manual input::placeholder{color:#c5aeb6!important}}
:root[data-theme="light"] .immersive .scan-sheet{background:#fffafba0!important}:root[data-theme="system"] .immersive .scan-sheet{background:#fffafba0!important}
@media(prefers-color-scheme:dark){:root[data-theme="system"] .immersive .scan-sheet{background:#21151a92!important;border-color:#ffffff24!important;color:#fff4f7!important}:root[data-theme="system"] .immersive .step{color:#ead5dc!important}:root[data-theme="system"] .immersive .step b{color:#ffb3c9!important}:root[data-theme="system"] .immersive .target{background:#ffffff10!important;border-left-color:#d15a7e!important;color:#fff!important}:root[data-theme="system"] .immersive .target small,:root[data-theme="system"] .immersive .scan-hint{color:#e0c3cd!important}:root[data-theme="system"] .immersive .target b{color:#fff!important}:root[data-theme="system"] .immersive .manual input{background:#130d10a6!important;border-color:#ffffff32!important;color:#fff!important}:root[data-theme="system"] .immersive .manual input::placeholder{color:#c5aeb6!important}}
:root[data-theme="dark"] .immersive .scan-sheet{background:#21151a92!important;border-color:#ffffff24!important;color:#fff4f7!important}:root[data-theme="dark"] .immersive .step{color:#ead5dc!important}:root[data-theme="dark"] .immersive .step b{color:#ffb3c9!important}:root[data-theme="dark"] .immersive .target{background:#ffffff10!important;border-left-color:#d15a7e!important;color:#fff!important}:root[data-theme="dark"] .immersive .target small,:root[data-theme="dark"] .immersive .scan-hint{color:#e0c3cd!important}:root[data-theme="dark"] .immersive .target b{color:#fff!important}:root[data-theme="dark"] .immersive .manual input{background:#130d10a6!important;border-color:#ffffff32!important;color:#fff!important}:root[data-theme="dark"] .immersive .manual input::placeholder{color:#c5aeb6!important}:root[data-theme="dark"] .scan-fab,:root[data-theme="dark"] .scan-page.immersive + .safe-nav button{background:#2a1720a8!important;color:#ffe2ec!important;border-color:#8d50668f!important}:root[data-theme="dark"] .scan-fab.primary-fab{background:linear-gradient(135deg,#a83f62,#772540)!important;color:#fff!important;border-color:#dc92aa!important}
/* Guided QR/barcode positioning: animated maroon sweep plus four tracking corners. */
.immersive .scan-mask span{background:linear-gradient(#c64b72,#c64b72) left top/32px 4px no-repeat,linear-gradient(#c64b72,#c64b72) left top/4px 32px no-repeat,linear-gradient(#c64b72,#c64b72) right top/32px 4px no-repeat,linear-gradient(#c64b72,#c64b72) right top/4px 32px no-repeat,linear-gradient(#c64b72,#c64b72) left bottom/32px 4px no-repeat,linear-gradient(#c64b72,#c64b72) left bottom/4px 32px no-repeat,linear-gradient(#c64b72,#c64b72) right bottom/32px 4px no-repeat,linear-gradient(#c64b72,#c64b72) right bottom/4px 32px no-repeat;animation:focusPulse 2.3s ease-in-out infinite,scanCorners 1.8s ease-in-out infinite}.immersive .scan-mask span:after{background:linear-gradient(90deg,transparent 0%,#b6385f 16%,#ed8fa9 50%,#b6385f 84%,transparent 100%)!important;box-shadow:0 0 16px #bb4168,0 0 30px #8f294b!important;animation:scanLine 1.65s ease-in-out infinite}@keyframes scanCorners{0%,100%{background-size:24px 3px,3px 24px,24px 3px,3px 24px,24px 3px,3px 24px,24px 3px,3px 24px;filter:drop-shadow(0 0 2px #bb416866)}50%{background-size:38px 4px,4px 38px,38px 4px,4px 38px,38px 4px,4px 38px,38px 4px,4px 38px;filter:drop-shadow(0 0 8px #c64b72cc)}}
@media(prefers-reduced-motion:reduce){.immersive .scan-mask span,.immersive .scan-mask span:after{animation:none!important}}

/* Keep the instruction visually attached to the scanner frame on every phone.
   The sheet still wins the lower area, so the caption cannot collide with it. */
.scan-page.immersive{--scan-frame-top:clamp(108px,19dvh,172px);--scan-frame-width:min(76vw,350px);--scan-frame-height:clamp(168px,44vw,220px);--scan-sheet-safe-space:clamp(248px,31dvh,292px)}
.immersive .scan-mask{align-items:start!important;padding:calc(var(--scan-frame-top) + env(safe-area-inset-top)) 0 0!important}
.immersive .scan-mask span{width:var(--scan-frame-width)!important;height:var(--scan-frame-height)!important;aspect-ratio:auto!important}
.immersive .scan-caption{top:min(calc(var(--scan-frame-top) + var(--scan-frame-height) + 16px),calc(100dvh - var(--scan-sheet-safe-space)))!important;bottom:auto!important;left:clamp(18px,7vw,44px)!important;right:clamp(18px,7vw,44px)!important;padding:0!important}
.immersive .scan-caption b{font-size:clamp(18px,5.5vw,25px)!important;line-height:1.16}
.immersive .scan-caption small{margin-top:clamp(5px,1.5vw,8px)!important;font-size:clamp(11px,3.4vw,14px)!important;line-height:1.35}
@media(max-height:650px){.scan-page.immersive{--scan-frame-top:clamp(78px,14dvh,100px);--scan-frame-height:clamp(138px,38vw,166px);--scan-sheet-safe-space:272px}.immersive .scan-caption{top:min(calc(var(--scan-frame-top) + var(--scan-frame-height) + 12px),calc(100dvh - var(--scan-sheet-safe-space)))!important}.immersive .scan-caption b{font-size:clamp(17px,5vw,21px)!important}.immersive .scan-caption small{font-size:11px!important}}

/* Full-height sweep: bottom -> top -> bottom, regardless of frame size. */
.immersive .scan-mask span:after{top:auto!important;bottom:0!important;animation:scanLineFull 2s ease-in-out infinite!important}
@keyframes scanLineFull{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(-1 * (var(--scan-frame-height) - 3px)))}}

/* Camera and decoder dominate power use; keep the guide static while scanning. */
.immersive .scan-mask span,.immersive .scan-mask span:after,.scan-fab.primary-fab{animation:none!important}
