.device-presentation[hidden]{display:none!important}

html[data-trident-view="iphone-presenter"]{
  color-scheme:dark;
  background:#071126;
}

html[data-trident-view="iphone-presenter"],
html[data-trident-view="iphone-presenter"] body{
  width:100%;
  min-width:0;
  min-height:100%;
  overflow:hidden;
}

html[data-trident-view="iphone-presenter"] body{
  color:#f7f9ff;
  background:
    radial-gradient(circle at 50% 38%,#223963 0,#111d37 34%,#071126 70%),
    #071126;
}

html[data-trident-view="iphone-presenter"] #root{display:none}

.device-presentation{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  background:
    radial-gradient(circle at 50% 42%,#243c68aa 0,#111d3738 38%,transparent 68%),
    linear-gradient(145deg,#0a1730,#050b19);
}

.presentation-toolbar{
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:76px;
  padding:14px clamp(18px,3.5vw,48px);
  border-bottom:1px solid #b9caff20;
  background:#071126d9;
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}

.presentation-heading{min-width:0}
.presentation-kicker{
  display:block;
  margin-bottom:3px;
  color:#8fa7d8;
  font-size:10px;
  font-weight:850;
  letter-spacing:.13em;
  line-height:1.2;
  text-transform:uppercase;
}
.presentation-heading h1{
  margin:0;
  color:#fff;
  font-size:19px;
  letter-spacing:-.025em;
  line-height:1.18;
}
.presentation-spec{
  display:block;
  margin-top:3px;
  color:#aebbd2;
  font-size:10px;
  line-height:1.2;
}

.presentation-actions{display:flex;align-items:center;gap:9px;flex:none}
.presentation-actions button,
.presentation-actions a{
  min-height:40px;
  padding:9px 13px;
  border:1px solid #b9caff38;
  border-radius:10px;
  color:#ecf2ff;
  background:#ffffff0d;
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
}
.presentation-actions button:hover,
.presentation-actions a:hover{background:#ffffff1d;border-color:#b9caff5c}
.presentation-actions button:focus-visible,
.presentation-actions a:focus-visible{outline:3px solid #79a7ff;outline-offset:3px}
.presentation-actions #present-fullscreen{color:#071126;background:#fff;border-color:#fff}
.presentation-actions #present-fullscreen:hover{background:#e7edfa}

.presentation-stage{
  width:100%;
  max-width:none;
  min-height:0;
  margin:0;
  padding:16px 20px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.iphone-scale-box{position:relative;flex:none}

.iphone-device{
  --iphone-scale:1;
  position:absolute;
  top:0;
  left:0;
  width:417px;
  height:876px;
  padding:12px;
  border-radius:60px;
  background:linear-gradient(145deg,#6d727a 0,#202329 12%,#08090c 49%,#353a42 86%,#777c84 100%);
  transform:scale(var(--iphone-scale));
  transform-origin:top left;
  box-shadow:
    0 42px 88px #0000008c,
    0 10px 28px #0009,
    inset 0 0 0 1px #ffffff5e,
    inset 0 0 0 3px #050608;
}

.iphone-device::before{
  content:"";
  position:absolute;
  inset:5px;
  pointer-events:none;
  border:1px solid #ffffff21;
  border-radius:55px;
}

.iphone-screen{
  position:relative;
  width:393px;
  height:852px;
  overflow:hidden;
  border-radius:48px;
  background:#f5f7fb;
  box-shadow:inset 0 0 0 1px #000b;
}

#trident-phone{
  display:block;
  width:393px;
  height:852px;
  border:0;
  background:#f3f6fb;
}

.iphone-status-bar{
  position:absolute;
  z-index:6;
  top:0;
  left:0;
  right:0;
  height:48px;
  padding:14px 25px 0 29px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  color:#10141b;
  pointer-events:none;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,sans-serif;
  font-size:14px;
  font-weight:750;
  letter-spacing:-.02em;
  text-shadow:0 1px 0 #fff8;
}

.iphone-status-icons{display:flex;align-items:center;gap:6px;height:14px}
.iphone-status-icons svg{width:16px;height:12px;fill:currentColor;display:block}
.iphone-battery{
  position:relative;
  width:23px;
  height:11px;
  border:1.4px solid currentColor;
  border-radius:3px;
  display:block;
}
.iphone-battery::after{
  content:"";
  position:absolute;
  top:3px;
  right:-3px;
  width:2px;
  height:4px;
  border-radius:0 2px 2px 0;
  background:currentColor;
  opacity:.55;
}
.iphone-battery span{position:absolute;inset:1.4px;border-radius:1px;background:currentColor}

.iphone-dynamic-island{
  position:absolute;
  z-index:8;
  top:10px;
  left:50%;
  width:126px;
  height:36px;
  border-radius:22px;
  background:#030405;
  transform:translateX(-50%);
  pointer-events:none;
  box-shadow:0 1px 2px #ffffff1f,inset 0 0 0 1px #111;
}
.iphone-dynamic-island span{
  position:absolute;
  top:50%;
  right:10px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:radial-gradient(circle at 34% 30%,#183f65 0,#0a1429 45%,#020307 75%);
  transform:translateY(-50%);
  box-shadow:inset 0 0 2px #4d70a4;
}

.iphone-home-indicator{
  position:absolute;
  z-index:7;
  bottom:7px;
  left:50%;
  width:134px;
  height:5px;
  border-radius:999px;
  background:#0c1017;
  transform:translateX(-50%);
  pointer-events:none;
  box-shadow:0 0 0 1px #fff3;
}

.iphone-side-button{
  position:absolute;
  display:block;
  width:4px;
  border-radius:3px 0 0 3px;
  background:linear-gradient(90deg,#08090b,#6d737c);
  box-shadow:inset 1px 0 #ffffff38;
}
.iphone-side-button--action{top:126px;left:-3px;height:34px}
.iphone-side-button--volume-up{top:182px;left:-3px;height:64px}
.iphone-side-button--volume-down{top:258px;left:-3px;height:64px}
.iphone-side-button--power{
  top:198px;
  right:-3px;
  left:auto;
  width:4px;
  height:96px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(90deg,#6d737c,#08090b);
}

.presentation-note{
  flex:none;
  max-width:560px;
  margin:10px 0 0;
  color:#9eacc6;
  text-align:center;
  font-size:10px;
  line-height:1.35;
}

.device-presentation:fullscreen{background:#050a16}

html[data-trident-device="iphone"] body{min-width:0}
html[data-trident-device="iphone"] .topbar{
  height:147px;
  padding-top:47px;
}
html[data-trident-device="iphone"] .acceptance-demo-banner{top:147px}
html[data-trident-device="iphone"] .ob-topbar-inner{
  min-height:113px;
  padding-top:59px;
}
html[data-trident-device="iphone"] .app-shell{padding-bottom:116px}
html[data-trident-device="iphone"] .bottom-nav{
  min-height:92px;
  padding-bottom:20px;
}
html[data-trident-device="iphone"] .offline-ready-notice{bottom:106px}
html[data-trident-device="iphone"] .label-scanner-topbar,
html[data-trident-device="iphone"] .tracking-scanner-topbar{padding-top:48px}
html[data-trident-device="iphone"] .label-scanner-controls,
html[data-trident-device="iphone"] .tracking-scanner-controls{padding-bottom:34px}
html[data-trident-device="iphone"] .composer,
html[data-trident-device="iphone"] .attention-action-composer{padding-bottom:44px}
html[data-trident-device="iphone"] .evidence-viewer__header{padding-top:52px}
html[data-trident-device="iphone"] .evidence-viewer__details{padding-bottom:33px}
html[data-trident-device="iphone"] .confirmation-backdrop{padding-top:58px;padding-bottom:36px}

@media (max-width:760px){
  .presentation-toolbar{align-items:stretch;flex-direction:column;gap:10px;min-height:120px;padding:11px 14px}
  .presentation-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
  .presentation-kicker{margin:0;font-size:8px}
  .presentation-heading h1{font-size:16px;text-align:right}
  .presentation-spec{display:none}
  .presentation-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .presentation-actions button,.presentation-actions a{min-width:0;min-height:36px;padding:7px 6px;font-size:9px;text-align:center}
  .presentation-note{display:none}
}

@media (prefers-reduced-motion:reduce){
  .iphone-device{transition:none}
}
