/* Status bar, notch, toast, banner, layar mati, indikator Home */

/* Status bar & notch */
.statusbar {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 47px;
  padding: 15px 30px 0 36px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  pointer-events: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
  transition: color 0.25s;
}
.screen.sb-dark .statusbar {
  color: #000;
}
.screen.dark.sb-dark .statusbar {
  color: #fff;
}
.screen.is-locked .sb-time {
  visibility: hidden;
}
.sb-time {
  width: 70px;
  text-align: center;
}
.sb-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
}
.sb-signal,
.sb-wifi {
  height: 11px;
  fill: currentColor;
}
.sb-signal {
  width: 17px;
}
.sb-wifi {
  width: 15px;
}
.sb-net {
  font-size: 13px;
}
.sb-plane svg {
  width: 16px;
  height: 16px;
}
.sb-batt {
  position: relative;
  width: 25px;
  height: 12px;
  border: 1.2px solid currentColor;
  border-radius: 4px;
  opacity: 0.95;
  padding: 1.5px;
}
.sb-batt::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 3.5px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  opacity: 0.5;
}
.sb-batt i {
  display: block;
  height: 100%;
  background: currentColor;
  border-radius: 2px;
}
.notch {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 162px;
  height: 32px;
  background: #000;
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.notch::before,
.notch::after {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 0 100%, transparent 7.5px, #000 8px);
}
.notch::before {
  left: -8px;
  transform: scaleX(-1);
}
.notch::after {
  right: -8px;
}
.notch .speaker {
  width: 46px;
  height: 5px;
  border-radius: 3px;
  background: #1b1b1f;
}
.notch .lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3a66, #0b0f1d 60%);
}
/* Toast, banner, layar mati, indikator Home */
.toast {
  position: absolute;
  z-index: 70;
  left: 50%;
  bottom: 120px;
  transform: translate(-50%, 12px);
  max-width: 300px;
  padding: 11px 18px;
  border-radius: 14px;
  background: rgba(30, 30, 32, 0.86);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.banner {
  position: absolute;
  z-index: 60;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.82);
  color: #000;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-130%);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.05);
  cursor: pointer;
}
.banner.show {
  transform: translateY(40px);
}
.bn-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.bn-icon > svg,
.bn-icon > span {
  width: 24px;
  height: 24px;
}
.bn-icon .g-cal,
.bn-icon .g-notes,
.bn-icon .g-calc {
  transform: scale(0.55);
}
.bn-main {
  flex: 1;
  min-width: 0;
}
.bn-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
}
.bn-top span {
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
}
.bn-body {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.screen-off {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.screen-off.on {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.home-ind-hit {
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: 0;
  width: 180px;
  height: 26px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: none;
}
.home-ind-hit span {
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: #fff;
  transition:
    background 0.25s,
    transform 0.2s;
}
.home-ind-hit:hover span {
  transform: scaleX(1.06);
}
.screen.sb-dark .home-ind-hit span {
  background: #000;
}
.screen.dark.sb-dark .home-ind-hit span {
  background: #fff;
}
/* Status bar putih saat penampil foto, cerita, atau panggilan terbuka */
.screen:has(.viewer, .story, .call-layer) .statusbar {
  color: #fff;
}
.screen:has(.viewer, .story, .call-layer) .home-ind-hit span {
  background: #fff;
}
.phone-app .cd-actions button {
  background: var(--fill2);
}
.screen.dark .phone-app .cd-actions button {
  background: var(--card);
}
