:root { font-family: "DM Sans", Arial, sans-serif; color: #251b44; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: transparent; }
button, input { font: inherit; }
.phone-frame {
  width: min(100%, 374px); height: min(100svh, 693px);
  padding: 3px 6px 4px; position: relative;
}
.handset {
  position: relative; height: 100%; padding: 7px; border-radius: 44px;
  background: linear-gradient(125deg, #717079 0%, #1c1921 12%, #232129 46%, #515058 68%, #1c1923 91%);
  border: 1px solid #292632;
  box-shadow: inset 1px 1px 0 #c5c1cd, inset -1px -2px 0 #87828e, 0 1px 1px #302546;
}
.handset::before, .handset::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #4b4457;
}
.handset::before { left: -3px; top: 19%; height: 28px; box-shadow: 0 36px 0 #4b4457; }
.handset::after { right: -3px; top: 29%; height: 51px; }
.glass {
  border-radius: 35px; overflow: hidden; height: 100%; background: #fffdfa;
  display: flex; flex-direction: column; border: 1px solid #19161c;
}
.status-bar {
  position: relative; flex: 0 0 35px; display: flex; justify-content: space-between;
  align-items: center; padding: 2px 20px 0 22px; color: #201d24;
}
.clock { font: 750 13px/1 "DM Sans", Arial, sans-serif; letter-spacing: -.02em; }
.island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 66px; height: 18px; border-radius: 15px; background: #211e25;
  box-shadow: inset 0 0 0 1px #16131a;
}
.island::after {
  content: ""; position: absolute; width: 5px; height: 5px; right: 7px; top: 6px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #404053, #17151e 78%);
}
.system-icons { display: flex; gap: 4px; align-items: center; }
#demo-app { flex: 1; min-height: 0; position: relative; }
.home-area { flex: 0 0 17px; display: grid; place-items: center; }
.home-area span { background: #201c26; width: 77px; height: 4px; border-radius: 99px; }
@media (max-width: 300px) {
  .status-bar { padding-inline: 16px; }
  .system-icons { gap: 2px; }
  .handset { padding: 5px; border-radius: 35px; }
  .glass { border-radius: 29px; }
}
