.camo-status {
  position: fixed;
  left: 50%;
  top: calc(80px + env(safe-area-inset-top));
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 2;
}
.camo-status[hidden] { display: none; }
.camo-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--phosphor); }
.camo-status.is-off .camo-status__dot { background: var(--muted); }

.camo-start {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, calc(100% - 32px));
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  z-index: 3;
}
.camo-start[hidden] { display: none; }
.camo-start p { margin: 0; }
.camo-start__title { font-size: 28px; }
.camo-start__text { font-size: 14px; line-height: 1.7; color: var(--soft); }
.camo-start__error { font-size: 13px; color: #FF9AA2; min-height: 1em; }

.camo-controls {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(52px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 32px;
  z-index: 2;
}
.camo-controls[hidden] { display: none; }
.camo-shutter {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.camo-shutter span { width: 58px; height: 58px; border-radius: 50%; background: #ffffff; transition: transform 0.1s; }
.camo-shutter:active span { transform: scale(0.9); }
.camo-flip { width: 44px; padding: 0; }
.camo-flip[hidden] { visibility: hidden; display: inline-flex; }

/* 撮った瞬間に光る */
.camo-flash {
  position: fixed;
  inset: 0;
  background: #ffffff;
  pointer-events: none;
  animation: camo-flash 0.35s ease-out forwards;
  z-index: 4;
}
@keyframes camo-flash { from { opacity: 0.8; } to { opacity: 0; } }
