/* 상태 표시줄 (피그마 Status Bar · 높이 44, 위 8) */
.status-bar {
  flex: none;
  position: relative;
  z-index: 5;
  height: calc(52px + var(--sat));
  padding: calc(8px + var(--sat)) calc(24px + var(--sar)) 0 calc(28px + var(--sal));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
}
.status-bar.light { color: var(--white); }
.status-bar .time { font-size: 15px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.status-bar .ind { display: flex; align-items: center; gap: 8px; }
.status-bar .signal { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.status-bar .signal i { display: block; width: 4px; border-radius: 1.5px; background: currentColor; }
.status-bar .signal i:nth-child(1) { height: 5px; } .status-bar .signal i:nth-child(2) { height: 8px; }
.status-bar .signal i:nth-child(3) { height: 11px; } .status-bar .signal i:nth-child(4) { height: 14px; }
.status-bar .battery {
  min-width: 28px; height: 15px; padding: 0 6px; border-radius: 9px; background: currentColor;
  display: flex; align-items: center; justify-content: center;
}
.status-bar .battery b { font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--surface-navy); }
.status-bar.light .battery b { color: var(--surface-navy); }
.status-bar:not(.light) .battery b { color: var(--white); }
/* 알림 센터를 여는 손잡이 영역 (상태 표시줄 전체) */
.status-bar .pull { position: absolute; inset: 0; cursor: grab; touch-action: none; }

/* 원형 동작 버튼 (뒤로/홈) */
.round-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); box-shadow: 0 2px 8px rgba(30,24,81,.10);
  display: grid; place-items: center; color: var(--brand-blue);
  position: relative;
}
.round-btn::after { content: ""; position: absolute; inset: -4px; } /* 터치 영역 48 */
.round-btn svg { width: 20px; height: 20px; }

/* 버튼 */
.btn {
  height: 49px; border-radius: 16px; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; width: 100%;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
  background: var(--brand-blue); color: var(--white);
}
.btn.secondary { background: var(--surface-snow); color: var(--brand-blue); }
.btn.small { height: 44px; font-size: 14px; border-radius: 16px; }

/* 누름 반응 — 0.1초 안에 */
.press { transition: transform 120ms var(--ease), filter 120ms var(--ease); }
.press:active { transform: scale(.96); filter: brightness(.94); }

/* 숫자 배지 (피그마 Count Badge: 분홍 · 흰 테두리 1.5 · 높이 18) */
.count-badge {
  position: absolute; top: -6px; right: -3px; z-index: 2;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px;
  background: var(--point-pink-bright); color: var(--white);
  box-shadow: 0 0 0 1.5px var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 18px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.lock-badge {
  position: absolute; z-index: 2; border-radius: 50%;
  background: var(--brand-blue); box-shadow: 0 0 0 1.5px var(--white);
  display: grid; place-items: center; color: var(--white);
}
.lock-badge svg { width: 100%; height: 100%; }

/* 토스트 */
.toast {
  position: absolute; z-index: 60; left: 50%;
  bottom: calc(112px + var(--sab));
  transform: translate(-50%, 12px);
  max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: rgba(30,24,81,.94); color: var(--white);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(30,24,81,.18);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .check { width: 18px; height: 18px; flex: none; }

/* 인앱 브라우저 안내 띠 (화면 아래, 탭바 위) */
.inapp-bar {
  position: absolute; z-index: 65; left: calc(12px + var(--sal)); right: calc(12px + var(--sar)); bottom: calc(136px + var(--sab));
  display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 16px; border-radius: 16px;
  background: rgba(30,24,81,.96); color: var(--white); box-shadow: 0 6px 18px rgba(16,12,51,.3);
}
.inapp-bar .msg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.inapp-bar b { font-size: 13px; font-weight: 700; }
.inapp-bar span { font-size: 12px; opacity: .8; line-height: 1.4; }
.inapp-bar .open { flex: none; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--white); color: var(--brand-blue); font-size: 12px; font-weight: 700; }
.inapp-bar .x { flex: none; width: 32px; height: 32px; font-size: 20px; line-height: 1; opacity: .7; }

/* 이미지 자리 (승인 전) */
.ph-note { font-size: 10px; line-height: 1.4; color: #CCCCF2; text-align: center; }
