#emergency-fallback {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8fafc;
  color: #020617;
  z-index: 9999;
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-align: center;
  overflow-y: auto;
}

.emergency-container {
  max-width: 700px;
  margin: 2rem auto;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.emergency-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.emergency-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.emergency-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.emergency-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.recovery-section,
.contact-section {
  padding: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #374151;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.refresh-button,
.cache-clear-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.refresh-button {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.refresh-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.cache-clear-button {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.cache-clear-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.button-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.button-text {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.button-desc {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: normal;
}

.contact-desc {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-button {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.google-form {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
}

.kakao {
  background: linear-gradient(135deg, #FEE500 0%, #FFD700 100%);
  color: #000;
}

.email-contact {
  text-align: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.email-contact p {
  margin-bottom: 0.5rem;
  color: #6b7280;
}

.email-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: bold;
}

.email-link:hover {
  text-decoration: underline;
}

.status-info {
  padding: 1.5rem 2rem;
  background: #f9fafb;
}

.status-info details {
  cursor: pointer;
}

.status-info summary {
  font-weight: bold;
  color: #374151;
  padding: 0.5rem 0;
}

.diagnostic-info {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #6b7280;
}

.diagnostic-info p {
  margin-bottom: 0.5rem;
}

.diagnostic-info strong {
  color: #374151;
} 