.bootstrap-emergency {
  --be-surface: #fff8f1;
  --be-bg: #f7f2ea;
  --be-ink: #1a1a1a;
  --be-muted: #756d61;
  --be-secondary: #444444;
  --be-border: #e3d6c8;
  --be-accent: #ee5834;
  --be-radius-lg: 32px;
  --be-radius-md: 20px;
  --be-radius-sm: 12px;
  position: fixed;
  inset: 0;
  z-index: 9998;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--be-bg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--be-ink);
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.bootstrap-emergency[hidden] {
  display: none !important;
}

.bootstrap-emergency__inner {
  max-width: 520px;
  margin: 0 auto;
}

.bootstrap-emergency__hero {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.4rem 3.25rem 1.3rem 1.35rem;
  border-radius: var(--be-radius-lg);
  background: linear-gradient(180deg, #fff8f1 0%, #f9efe4 100%);
  border: 1px solid var(--be-border);
  box-shadow: 0 2px 8px rgba(46, 62, 115, 0.05);
}

.bootstrap-emergency__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--be-radius-lg) var(--be-radius-lg) 0 0;
  background: linear-gradient(90deg, var(--be-accent) 0%, rgba(238, 88, 52, 0.35) 100%);
}

.bootstrap-emergency__title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 28ch;
}

.bootstrap-emergency__lead {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--be-secondary);
  max-width: 38ch;
}

.bootstrap-emergency__reload {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--be-border);
  border-radius: 50%;
  background: transparent;
  color: var(--be-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.bootstrap-emergency__reload:hover {
  color: var(--be-accent);
  border-color: rgba(238, 88, 52, 0.35);
}

.bootstrap-emergency__card-wrap {
  position: relative;
}

.bootstrap-emergency__shuffle {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(238, 88, 52, 0.35);
  border-radius: 50%;
  background: rgba(255, 248, 241, 0.92);
  color: var(--be-accent);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.bootstrap-emergency__card {
  border-radius: var(--be-radius-lg);
  overflow: hidden;
  background: var(--be-surface);
  border: 1px solid var(--be-border);
  box-shadow: 0 2px 8px rgba(46, 62, 115, 0.05);
}

.bootstrap-emergency__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0e8de;
}

.bootstrap-emergency__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.bootstrap-emergency__name {
  margin: 0 0 0.65rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.bootstrap-emergency__meta {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--be-muted);
  font-weight: 600;
}

.bootstrap-emergency__section-title {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--be-muted);
}

.bootstrap-emergency__list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--be-secondary);
}

.bootstrap-emergency__list:last-child {
  margin-bottom: 0;
}
