/* ── Shell styles (認証画面専用) ── */

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}

#shell-screen {
  position: fixed;
  inset: 0;
  background: #0d1b2e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  transition: opacity 0.4s ease;
}

#shell-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.shell-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 36px;
  width: 380px;
  max-width: 92vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.shell-card.shake {
  animation: shake 0.4s ease;
}

.shell-app-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.shell-notice {
  background: #f0f4f8;
  border-left: 3px solid #1a56a0;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 22px;
}

.shell-notice .notice-title {
  font-size: 12px;
  font-weight: 700;
  color: #1a56a0;
  margin-bottom: 6px;
}

.shell-notice p {
  font-size: 12px;
  color: #374151;
  line-height: 1.6;
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
}

#pw-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
  margin-bottom: 12px;
  box-sizing: border-box;
}

#pw-input:focus {
  border-color: #1a56a0;
  box-shadow: 0 0 0 3px rgba(26,86,160,0.12);
}

#pw-btn {
  width: 100%;
  padding: 11px;
  background: #1a56a0;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
}

#pw-btn:hover  { background: #0f3d7a; }
#pw-btn:active { transform: scale(0.98); }

#pw-error {
  min-height: 20px;
  margin-top: 10px;
  font-size: 12px;
  color: #c62828;
  text-align: center;
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
}
