.g-scan{background:var(--g-blue-900);border-color:var(--g-blue-900);color:#fff;align-items:center;justify-content:center;text-align:center}.g-scan [hidden]{display:none}.g-scan__head{display:flex;flex-direction:column;align-items:center;gap:12px}.g-scan__disc{width:96px;height:96px;background:var(--g-accent);color:var(--g-blue-900)}.g-scan__title{margin:0;font-family:var(--g-display);font-size:30px;font-weight:800;color:#fff}.g-scan .g-hint{max-width:380px;font-size:17px;font-weight:500;color:var(--g-blue-100)}.g-scan__action{max-width:320px}.g-scan .g-msg{width:100%;max-width:460px;text-align:left}.g-scan__view{position:relative;width:100%;max-width:420px;margin:0 auto;aspect-ratio:1 / 1;border-radius:22px;overflow:hidden;background:#000}.g-scan__view video{display:block;width:100%;height:100%;object-fit:cover}.g-scan__frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;stroke:var(--g-accent);pointer-events:none}.g-scan:has(>.g-scan__view:not([hidden])) .g-scan__head{display:none}@media(max-width:767px){.g-scan:not(:has(>.g-scan__view:not([hidden]))){padding:0;border:0;background:transparent}.g-scan:not(:has(>.g-scan__view:not([hidden]))) .g-scan__head,.g-scan:not(:has(>.g-scan__view:not([hidden]))) [data-state=idle]{display:none}.g-scan:not(:has(>.g-scan__view:not([hidden]))) .g-scan__action{max-width:none}.g-scan:not(:has(>.g-scan__view:not([hidden]))) .g-scan__action:not([aria-disabled=true]){background:var(--g-blue-900);border-color:var(--g-blue-900);color:#fff}.g-scan:not(:has(>.g-scan__view:not([hidden]))) [data-garita-network-target=reason]{display:none}}@media(min-width:900px)and (orientation:landscape),(min-width:1100px){.g-scan__disc{width:132px;height:132px}.g-scan__disc .g-icon{width:56px;height:56px}.g-scan__title{font-size:44px}}
