.fcc-display {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background: #fff;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.fcc-airport, .fcc-ad-layer {
  position: absolute;
  inset: 0;
}

.fcc-airport {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.fcc-ad-layer {
  --fcc-footer-height: 60px;
  background: #640d24;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s ease, visibility 1.2s;
  overflow: hidden;
}

.fcc-ad-layer.fcc-visible { opacity: 1; visibility: visible; }

.fcc-display .fcc-ad-layer > .fcc-poster-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: var(--fcc-footer-height);
  left: 0;
  overflow: hidden;
}

/* Themes may set image height to auto or apply a zoom to images. */
.fcc-display .fcc-poster-frame > img.fcc-ad-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  margin: 0;
  padding: 0;
  border: 0;
}

.fcc-display .fcc-ad-layer > .fcc-foot {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--fcc-footer-height);
  min-height: 0;
  box-sizing: border-box;
  padding: 12px 32px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: linear-gradient(0deg, rgba(28,5,13,.88), rgba(28,5,13,.45));
  font-size: 14px;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.fcc-identity { display: flex; align-items: center; gap: 12px; }
.fcc-identity::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: #e2b855;
}

.fcc-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fcc-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.23);
}
.fcc-progress span { display: block; height: 100%; width: 0; background: #d2a43d; }

.fcc-preview-page { background: #f0f0f1; color: #1d2327; font-family: Arial, sans-serif; }
.fcc-preview-page main { max-width: 1040px; margin: 24px auto; padding: 0 16px; }
.fcc-display.fcc-preview {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
}
.fcc-preview-idle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #3c434a;
}
#fcc-replay { padding: 7px 12px; }
#fcc-preview-status { margin-inline-start: 8px; }

@media (max-width: 700px) {
  .fcc-ad-layer { --fcc-footer-height: 42px; }
  .fcc-display .fcc-ad-layer > .fcc-foot { padding: 8px 14px 11px; font-size: 10px; letter-spacing: .4px; }
}
@media (prefers-reduced-motion: reduce) {
  .fcc-ad-layer { transition-duration: 0ms !important; }
}


.fcc-display .fcc-airport[hidden], .fcc-display .fcc-empty[hidden] { display: none; }
.fcc-display .fcc-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: #fff;
  color: #3c434a;
}

.fcc-display .fcc-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.fcc-display .fcc-native[hidden] { display: none; }

