/* Departures stamp-detail bottom sheet (.dep-detail-*) — the fallback panel
 * built by dpadDepHelpers.showStampDetail (js/departures-helpers.js).
 * Extracted verbatim from the retired departures-browse.css (2026-07-16). */
/* ─── Stamp detail overlay ─── */
.dep-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dep-detail-overlay.visible {
  opacity: 1;
}

.dep-detail-panel {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface-dark, #1a1a2e);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid rgba(255,217,61,0.2);
  border-bottom: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.dep-detail-overlay.visible .dep-detail-panel {
  transform: translateY(0);
}

.dep-detail-handle {
  padding: 12px 0 8px;
  text-align: center;
  cursor: pointer;
}
.dep-detail-handle-bar {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto;
}

.dep-detail-media {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-darker, #0f0f23);
  overflow: hidden;
}
.dep-detail-media img,
.dep-detail-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dep-detail-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: 48px;
  color: var(--accent-gold, #FFD93D);
  opacity: 0.15;
}

.dep-detail-info {
  padding: 20px;
}
.dep-detail-title {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.dep-detail-series {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.dep-detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.dep-detail-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dep-detail-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
