/* Boot splash + recovery screens — shared by index.html, recover.html, and React */
.lp-boot-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.lp-boot-splash-mark {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-boot-splash-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: block;
  object-fit: contain;
}

.lp-boot-splash-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(160, 196, 255, 0.18);
  border-top-color: #a0c4ff;
  border-radius: 22px;
  animation: lpBootSpin 0.85s linear infinite;
}

@keyframes lpBootSpin {
  to { transform: rotate(360deg); }
}

.lp-boot-splash-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.04em;
}

.lp-boot-recover {
  gap: 16px;
  max-width: 360px;
  margin: 0 auto;
}

.lp-boot-recover-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
}

.lp-boot-recover-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.lp-boot-recover-message code {
  color: #a0c4ff;
  font-size: 0.92em;
}

.lp-boot-recover-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.lp-boot-recover-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: none;
  background: #a0c4ff;
  color: #141110;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.lp-boot-recover-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lp-boot-recover-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.lp-boot-recover-footnote {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

.lp-boot-recover-footnote a {
  color: #a0c4ff;
  font-weight: 600;
  text-decoration: none;
}

.lp-boot-recover-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 13px;
  font-weight: 600;
  color: #a0c4ff;
}

.lp-boot-recover-details {
  width: 100%;
  margin-top: 4px;
  text-align: left;
}

.lp-boot-recover-details summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 0;
  -webkit-tap-highlight-color: transparent;
}

.lp-boot-recover-details summary::-webkit-details-marker {
  display: none;
}

.lp-boot-recover-details summary::after {
  content: ' ▾';
  font-size: 11px;
  opacity: 0.7;
}

.lp-boot-recover-details[open] summary::after {
  content: ' ▴';
}

.lp-boot-recover-steps {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.lp-boot-recover-steps li {
  margin-bottom: 8px;
}

.lp-boot-recover-steps li:last-child {
  margin-bottom: 0;
}
