:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #0b1724;
  --phone-width: 430px;
  --phone-height: 860px;
  --phone-scale: 1;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: radial-gradient(ellipse at 50% 30%, #203a4c, #0b1724 75%); }
.presentation-stage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.phone-shell {
  position: absolute;
  left: var(--phone-left, 50%);
  top: var(--phone-top, 8px);
  width: calc(var(--phone-width) * var(--phone-scale) + 8px);
  height: calc(var(--phone-height) * var(--phone-scale) + 8px);
  padding: 4px;
  border-radius: 28px;
  background: #162431;
  box-shadow: 0 0 0 1px #476476, 0 18px 60px #0005;
  overflow: hidden;
}
.phone-viewport {
  width: var(--phone-width);
  height: var(--phone-height);
  transform: scale(var(--phone-scale));
  transform-origin: top left;
  overflow: hidden;
  background: #00a1df;
  border-radius: 20px;
}
#app-frame { display: block; width: 100%; height: 100%; border: 0; background: #00a1df; }
[hidden] { display: none !important; }
.presentation-tools { position: fixed; z-index: 10; top: 10px; right: 10px; }
#tools-toggle {
  display: grid; place-items: center; width: 44px; height: 36px;
  padding: 0 0 9px; border: 1px solid #b5d6e533; border-radius: 14px;
  background: #0b1724bd; color: #a9e2ff; font-size: 25px;
  backdrop-filter: blur(18px); cursor: pointer; opacity: .6;
}
#tools-toggle:hover, #tools-toggle:focus-visible, #tools-toggle[aria-expanded="true"] { opacity: 1; }
.tools-menu {
  position: absolute; top: 46px; right: 0; width: 270px; padding: 18px;
  display: grid; gap: 10px; border-radius: 22px; color: #f2faff;
  background: #152738ef; box-shadow: 0 12px 48px #0006; backdrop-filter: blur(22px);
}
.tools-menu span, .tools-menu small { font-size: 12px; color: #b2c8d6; line-height: 1.5; }
.tools-menu button { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 12px; background: #29495f; color: #e9f8ff; text-align: left; font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #69ccff; outline-offset: 3px; }
