#phone-frame {
  width: 393px;
  height: 852px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  background: var(--color-bg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
  border: 2px solid #2a2a2e;
  display: flex;
  flex-direction: column;
}

/* Status bar */
#status-bar {
  height: 54px;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 28px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  background: transparent;
  pointer-events: none;
}
#status-bar.on-dark { color: #fff; }
.dynamic-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 33px;
  background: #000; border-radius: 20px; z-index: 70;
}
.sb-right { display: flex; gap: 6px; align-items: center; }

/* Header */
#screen-header {
  flex-shrink: 0; z-index: 50;
}
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 18px 12px;
  position: sticky; top: 0; z-index: 50;
}
.glass {
  backdrop-filter: blur(var(--mat-regular-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--mat-regular-blur)) saturate(180%);
  background: var(--mat-regular-bg);
  border-bottom: 1px solid var(--color-border);
}
.glass-dark {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(15,10,35,0.5);
}

.header-back {
  width: 44px; height: 44px; border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-2); color: var(--color-text-primary);
  font-size: 18px;
}
.header-title { font-size: 17px; font-weight: 700; }

/* Large-title nav (static, no collapse) */
.large-title-head {
  padding: 10px var(--sp-4) 10px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  position: sticky; top: 0; z-index: 50;
}
.large-title-head .lt-title { font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.large-title-head .lt-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Content */
#screen-content {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  position: relative; scrollbar-width: none;
  display: flex; flex-direction: column;
}
.screen {
  flex: 1; display: flex; flex-direction: column;
  animation: fadeIn var(--motion-base) var(--ease-out);
}
.screen-scroll { flex: 1; overflow-y: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.screen-scroll::-webkit-scrollbar { display: none; }
.pad { padding: var(--sp-4); }
.pad-h { padding-left: var(--sp-4); padding-right: var(--sp-4); }
.section { padding: 0 var(--sp-4); margin-bottom: var(--sp-6); }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-3); margin-top: var(--sp-5);
}
.section-head .more { font-size: 13px; color: var(--volet-500); font-weight: 600; }

/* Bottom nav */
#bottom-nav {
  flex-shrink: 0; z-index: 50;
}
.bottom-nav {
  display: flex; justify-content: space-around; align-items: center;
  padding: 8px 6px calc(8px + var(--sa-bottom));
  border-top: 1px solid var(--color-border);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--color-text-tertiary); flex: 1;
  transition: color var(--motion-fast);
  min-height: 44px; justify-content: center;
}
.nav-item svg { width: 24px; height: 24px; }
.nav-item span { font-size: 10px; font-weight: 600; }
.nav-item.active { color: var(--volet-500); }
.nav-item.center {
  margin-top: -22px;
}
.nav-fab {
  width: 52px; height: 52px; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--volet-400), var(--volet-600));
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-float);
}
.nav-fab svg { width: 26px; height: 26px; }

body.business-mode .nav-fab { background: linear-gradient(135deg, #0EA5E9, #2563EB); }
body.business-mode .nav-item.active { color: #2563EB; }

/* Overlay layer */
#overlay-layer { position: absolute; inset: 0; z-index: 90; pointer-events: none; }
#overlay-layer > * { pointer-events: auto; }
