* { box-sizing:border-box }
html,body { width:100%;height:100%;margin:0;overflow:hidden; }
body { width:390px;height:844px;transform-origin:top left;transform:scale(var(--scale,1));display:flex;flex-direction:column;--bg:#080910;--card:#0d0f1a;--text:#eef0ff;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Arial,sans-serif; }
button { cursor:pointer;font:inherit;color:inherit;border:0;background:transparent;padding:0 }
:focus-visible { outline:2px solid #adb9ff;outline-offset:-2px; }
.device-status { height:47px;flex:none;display:flex;align-items:flex-start;justify-content:space-between;padding:21px 29px 0 37px;font-size:17px;line-height:20px;letter-spacing:-.5px; }
.indicators { display:flex;gap:3px;align-items:center;height:20px; }
.indicators svg { width:43px;height:15px;fill:currentColor; }
.battery { width:23px;height:11px;border:1px solid #9696a3;border-radius:3px;background:currentColor;background-clip:content-box;padding:1px;position:relative; }
.battery::after { content:'';position:absolute;right:-3px;top:3px;width:1.5px;height:4px;background:#9696a3;border-radius:2px; }
#native-root,.native-view,.page-slot { position:relative;min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden; }
.native-view > div,.page-slot > div { flex:1;min-height:0; }
.native-tabs { flex:none;height:83px;border-top:1px solid;display:flex;align-items:flex-start;padding:0 0 34px; }
.native-tabs button { width:33.333%;height:49px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;font-size:11px;font-weight:600; }
.stack-bar { flex:none;min-height:42px;display:flex;position:relative;align-items:center;padding:0 12px;justify-content:space-between;gap:8px; }
.stack-bar button { min-width:35px;min-height:38px;display:grid;place-items:center; }
.stack-bar b { flex:1;text-align:center;font-size:17px; }
.stack-bar > div { display:flex;flex-direction:row; }
.page-switch { display:flex;align-items:center;justify-content:center;gap:12px;color:var(--text);font-size:12px; }
.page-switch button { min-width:38px;height:34px;font-size:23px; }
.page-switch button:disabled { opacity:.28; }
.readonly-toast { position:absolute;z-index:20;bottom:88px;left:5%;width:90%;border:1px solid #34344b;border-radius:12px;padding:12px 16px;background:#1c1c2e;color:white;text-align:center;font-size:13px;pointer-events:none; }

/* ScrollViews still receive wheel, touch and keyboard input. Only the
   browser's scrollbar is suppressed, and only inside this demo document. */
html, body, #native-root, #native-root * {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#native-root::-webkit-scrollbar,
#native-root *::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
html[data-view="live"] { background: #0d0d0d; }
html[data-view="live"] .device-status { display: none; }
html[data-view="live"] #native-root > div { flex: 1; min-height: 0; }

/* Leave the portrait bezel's camera clear of the live reader controls. */
@media (orientation: portrait) {
  html[data-view="live"] body { padding-top: 50px; background: #0d0d0d; }
}
