/* iOS device frame — a plain-CSS port of the design project's ios-frame.jsx
   (the omelette starter component the canvas imports as <IOSDevice dark>).

   Only the parts Mobile.dc.html actually uses are ported: the bezel, the
   dynamic island, the dark status bar and the home indicator. The starter's
   IOSNavBar / IOSList / IOSKeyboard are not used by this design — every frame
   passes no `title`, so the app draws its own bar instead.

   402 × 874, radius 48, dark. */

.ios {
  width: 402px;
  height: 874px;
  border-radius: 48px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.12);
  font-family: -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  flex: none;
}

/* dynamic island */
.ios__island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}

/* status bar */
.ios__status { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.ios__status-inner {
  display: flex;
  gap: 154px;
  align-items: center;
  justify-content: center;
  padding: 21px 24px 19px;
  box-sizing: border-box;
  position: relative;
  z-index: 20;
  width: 100%;
}
.ios__time-slot {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5px;
}
.ios__time {
  font-family: -apple-system, "SF Pro", system-ui;
  font-weight: 590;
  font-size: 17px;
  line-height: 22px;
  color: #fff;
}
.ios__icons {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 1px;
  padding-right: 1px;
}
.ios__icons svg { display: block; }

/* content */
.ios__content { height: 100%; display: flex; flex-direction: column; }
.ios__slot { flex: 1; overflow: hidden; }

/* home indicator — always on top */
.ios__home {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 8px;
  pointer-events: none;
}
.ios__home-bar {
  width: 139px;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
}
