/* revamp-cinematic */
.fm-hostbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 16px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #f4f6f8;
}
.fm-hostbar a, .lang-switch button {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px;
  color: #a8b0bd;
}
.lang-switch { display: flex; gap: 4px; }
.lang-switch button[aria-pressed="true"] { color: #04140c; background: #39ff88; border-radius: 999px; font-weight: 700; }
.page-head { padding-block: 28px 18px; }
.fm-atmosphere {
  position: relative;
  height: 34vh;
  min-height: 12rem;
  max-height: 22rem;
  margin: 0;
  overflow: hidden;
  background: #05070d;
}
.fm-atmosphere video,
.fm-atmosphere img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm-atmosphere figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.fm-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.15), rgba(5, 7, 13, 0.72));
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .atmosphere-video { display: none; }
}
#wrap.has-atmosphere { padding-top: 7.5rem; }
#wrap > .fm-atmosphere {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7.5rem;
  min-height: 0;
  max-height: none;
  z-index: 3;
  pointer-events: none;
}
