.iphone {
  --w: 270px;
  width: var(--w);
  aspect-ratio: 9/19.4;
  position: relative;
  border-radius: calc(var(--w) * 0.172);
  flex: none;
  background: linear-gradient(145deg, #4a4f5c 0%, #22252d 18%, #121318 55%, #2a2d36 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0c10,
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 50px 90px -42px rgba(11, 15, 36, 0.6),
    0 24px 40px -24px rgba(11, 15, 36, 0.45);
}
.iphone .hw {
  position: absolute;
  width: calc(var(--w) * 0.012);
  background: linear-gradient(90deg, #3b3f49, #1a1c22);
  border-radius: 2px;
}
.iphone .hw.pw {
  right: calc(var(--w) * -0.009);
  top: 31%;
  height: 13%;
}
.iphone .hw.v1 {
  left: calc(var(--w) * -0.009);
  top: 22%;
  height: 6%;
}
.iphone .hw.v2 {
  left: calc(var(--w) * -0.009);
  top: 30%;
  height: 10%;
}
.iphone .hw.v3 {
  left: calc(var(--w) * -0.009);
  top: 42%;
  height: 10%;
}
.scr {
  position: absolute;
  inset: calc(var(--w) * 0.04);
  border-radius: calc(var(--w) * 0.135);
  overflow: hidden;
  background: #fff;
  color: #0b0f24;
  font-size: calc(var(--w) * 0.044);
}
.scr::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 22%,
    rgba(255, 255, 255, 0) 34%
  );
  pointer-events: none;
  z-index: 40;
}
.island {
  position: absolute;
  top: calc(var(--w) * 0.026);
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: calc(var(--w) * 0.098);
  background: #000;
  border-radius: 999px;
  z-index: 35;
}
.island::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 22%;
  width: calc(var(--w) * 0.03);
  height: calc(var(--w) * 0.03);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3550, #0a0d16 70%);
  transform: translateY(-50%);
}
.sbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--w) * 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9% 0 9%;
  z-index: 34;
  font: 600 calc(var(--w) * 0.05) var(--en);
  direction: rtl;
}
.sbar .ic {
  display: flex;
  align-items: center;
  gap: calc(var(--w) * 0.016);
  direction: ltr;
}
.sig {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: calc(var(--w) * 0.036);
}
.sig i {
  width: calc(var(--w) * 0.01);
  background: currentColor;
  border-radius: 1px;
}
.sig i:nth-child(1) {
  height: 35%;
}
.sig i:nth-child(2) {
  height: 55%;
}
.sig i:nth-child(3) {
  height: 78%;
}
.sig i:nth-child(4) {
  height: 100%;
}
.bat {
  width: calc(var(--w) * 0.075);
  height: calc(var(--w) * 0.037);
  border: 1.2px solid currentColor;
  border-radius: 4px;
  padding: 1px;
  position: relative;
  opacity: 0.95;
}
.bat::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 30%;
  height: 40%;
  width: 1.6px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}
.bat i {
  display: block;
  height: 100%;
  width: 78%;
  background: currentColor;
  border-radius: 2px;
}
.homei {
  position: absolute;
  bottom: calc(var(--w) * 0.022);
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: calc(var(--w) * 0.017);
  border-radius: 999px;
  background: #0b0f24;
  z-index: 34;
  opacity: 0.9;
}
.scr.dark {
  background: #000;
  color: #fff;
}
.scr.dark .homei {
  background: #fff;
}
.notif {
  position: absolute;
  top: calc(var(--w) * 0.14);
  left: 4%;
  right: 4%;
  padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.065);
  background: rgba(250, 250, 252, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  gap: calc(var(--w) * 0.03);
  align-items: center;
  color: #0b0f24;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
  z-index: 36;
  transform: translateY(-140%);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s;
}
.notif.go {
  transform: none;
  opacity: 1;
}
.notif .ai {
  width: calc(var(--w) * 0.11);
  height: calc(var(--w) * 0.11);
  border-radius: calc(var(--w) * 0.028);
  background: linear-gradient(135deg, #a75bf9, #5670f3, #22cef2);
  display: grid;
  place-items: center;
  flex: none;
}
.notif .ai::after {
  content: '';
  width: 38%;
  height: 38%;
  border: 2px solid #fff;
  border-radius: 3px;
}
.notif .tx {
  flex: 1;
  line-height: 1.35;
  font-size: calc(var(--w) * 0.042);
  min-width: 0;
}
.notif .tx b {
  display: flex;
  justify-content: space-between;
  font-size: calc(var(--w) * 0.042);
}
.notif .tx b span {
  font-weight: 500;
  color: #596079;
}
.notif .tx small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #596079;
  font-size: calc(var(--w) * 0.036);
  margin-top: 1px;
}
.app {
  position: absolute;
  inset: 0;
  padding-top: calc(var(--w) * 0.15);
  display: flex;
  flex-direction: column;
}
.app .ttl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--w) * 0.02) calc(var(--w) * 0.045);
  font-size: calc(var(--w) * 0.075);
}
.app .ttl b {
  font: 700 calc(var(--w) * 0.06) var(--ar);
}
.av {
  width: calc(var(--w) * 0.1);
  height: calc(var(--w) * 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 calc(var(--w) * 0.045) var(--ar);
  flex: none;
}
.ring {
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
.ring .av {
  border: 2px solid #fff;
}
.stories {
  display: flex;
  gap: calc(var(--w) * 0.035);
  padding: calc(var(--w) * 0.015) calc(var(--w) * 0.045) calc(var(--w) * 0.03);
  overflow: hidden;
}
.stories .st {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: calc(var(--w) * 0.034);
  color: #3a3f55;
}
.stories .st .ph {
  width: calc(var(--w) * 0.15);
  height: calc(var(--w) * 0.15);
  border-radius: 50%;
  border: 2px solid #fff;
}
.ph-row {
  display: flex;
  align-items: center;
  gap: calc(var(--w) * 0.025);
  padding: calc(var(--w) * 0.025) calc(var(--w) * 0.045);
}
.ph-row .nm {
  line-height: 1.25;
  font-size: calc(var(--w) * 0.042);
}
.ph-row .nm small {
  display: block;
  color: #596079;
  font-size: calc(var(--w) * 0.034);
}
.acts {
  display: flex;
  gap: calc(var(--w) * 0.045);
  padding: calc(var(--w) * 0.025) calc(var(--w) * 0.045) 0;
  font-size: calc(var(--w) * 0.075);
}
.ptext {
  padding: calc(var(--w) * 0.015) calc(var(--w) * 0.045);
  font-size: calc(var(--w) * 0.04);
  line-height: 1.5;
}
.tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: calc(var(--w) * 0.03) 0 calc(var(--w) * 0.075);
  border-top: 1px solid #eff1f6;
  font-size: calc(var(--w) * 0.075);
}
.scr.dark .tabbar {
  border-color: #1f1f1f;
}
.tt-side {
  position: absolute;
  left: calc(var(--w) * 0.03);
  bottom: calc(var(--w) * 0.36);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--w) * 0.04);
  font-size: calc(var(--w) * 0.085);
  z-index: 3;
}
.tt-side span {
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 600 calc(var(--w) * 0.032) var(--en);
}
.tt-cap {
  position: absolute;
  right: calc(var(--w) * 0.045);
  left: calc(var(--w) * 0.2);
  bottom: calc(var(--w) * 0.22);
  z-index: 3;
  font-size: calc(var(--w) * 0.04);
  line-height: 1.45;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.snap-bars {
  position: absolute;
  top: calc(var(--w) * 0.135);
  left: 4%;
  right: 4%;
  display: flex;
  gap: 3px;
  z-index: 3;
}
.snap-bars i {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}
.snap-bars i:first-child {
  background: #fff;
}
.li-acts {
  display: flex;
  justify-content: space-around;
  padding: calc(var(--w) * 0.02) 0;
  border-top: 1px solid #eff1f6;
  margin: calc(var(--w) * 0.02) calc(var(--w) * 0.045) 0;
  font-size: calc(var(--w) * 0.036);
  color: #454c68;
  font-weight: 600;
}
.li-acts span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.li-acts i {
  font-size: calc(var(--w) * 0.062);
}
.x-acts {
  display: flex;
  justify-content: space-between;
  color: #596079;
  font: 500 calc(var(--w) * 0.036) var(--en);
  margin-top: calc(var(--w) * 0.025);
}
.x-acts span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.x-acts i {
  font-size: calc(var(--w) * 0.055);
}
.approve-sheet {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: calc(var(--w) * 0.16) calc(var(--w) * 0.05) calc(var(--w) * 0.08);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
  z-index: 20;
}
.approve-sheet.go {
  transform: none;
}
.abtn {
  height: calc(var(--w) * 0.15);
  border-radius: calc(var(--w) * 0.045);
  border: 0;
  font: 600 calc(var(--w) * 0.05) var(--ar);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.35s var(--ease);
}
.abtn.pri {
  background: #4459db;
  color: #fff;
}
.abtn.pri.press {
  transform: scale(0.95);
}
.abtn.pri.ok {
  background: #12a870;
}
.abtn.sec {
  background: #fff;
  color: #0b0f24;
  box-shadow: inset 0 0 0 1px #e5e8f1;
}
.lock {
  position: absolute;
  inset: 0;
  background: var(--lock-bg, linear-gradient(170deg, #cfc4ff, #e8e2ff 45%, #d9f3fb));
  color: #0b0f24;
}
.lock .ld {
  position: absolute;
  top: calc(var(--w) * 0.2);
  width: 100%;
  text-align: center;
  font-size: calc(var(--w) * 0.045);
  font-weight: 600;
}
.lock .lt {
  position: absolute;
  top: calc(var(--w) * 0.26);
  width: 100%;
  text-align: center;
  font: 600 calc(var(--w) * 0.22) var(--en);
  letter-spacing: -0.02em;
  direction: ltr;
}
