/* ============================================================
   S4 iOS 手机壳（<768px）
   ============================================================ */

.ios { display: block; }
@media (min-width: 768px) {
  .ios { display: none !important; }
}

.ios-home {
  min-height: 100vh;
  padding: calc(60px + env(safe-area-inset-top)) 24px calc(120px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
}
.ios-greeting {
  font-size: 44px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ios-sub {
  font-size: 20px; color: var(--label-2); font-weight: 400;
  margin-bottom: 32px;
}

/* Sheet（底部上滑面板） */
.sheet-layer {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
}
.sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0; transition: opacity var(--dur-med);
  pointer-events: auto;
}
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 85vh;
  border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--sys-gray-6);
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease-spring);
  pointer-events: auto;
}
.sheet.open { transform: none; }
.sheet-backdrop.open { opacity: 1; }
.sheet-grabber {
  width: 36px; height: 5px; border-radius: 3px;
  background: var(--label-3); opacity: 0.5;
  margin: 10px auto 4px; flex-shrink: 0;
}
.sheet-title {
  text-align: center; font-size: 15px; font-weight: 600;
  padding: 6px 16px 12px; flex-shrink: 0;
}
.sheet-body {
  padding: 0 20px 40px; overflow-y: auto;
  font-size: var(--fs-body); line-height: 1.7;
}
