/* Ghost Check — shared ad styles (banner slots + sliding footer) */

:root { --banner-h: 50px; }

/* ── Banner slot (320x50) ── */
.ad-slot {
  width: 100%;
  max-width: 560px;
  margin: 1.2rem auto;
  text-align: center;
  min-height: 72px;
}
.ad-label {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: #4a4a56;
  margin-bottom: 0.3rem;
}
.ad-frame {
  display: block;
  width: 320px;
  max-width: 100%;
  height: 50px;
  border: 0;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}

/* ── Sliding footer (320x50) ── */
.footer-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--banner-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
  z-index: 50;
  background: #09090c;
  border-top: 1px solid #1c1c22;
}
.fb-track {
  display: flex;
  width: 100%;
  height: var(--banner-h);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.fb-slide {
  flex: 0 0 100%;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fb-slide .ad-frame { margin: 0; }

/* Coffee slide */
.fb-coffee {
  width: 100%;
  max-width: 680px;
  padding: 0 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.fb-coffee-text {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #4a4a56;
}
.fb-coffee-text strong { color: #888899; font-weight: 500; }
.fb-coffee-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 1rem;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 10px;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .fb-coffee-text { font-size: 0.85rem; }
  .fb-coffee-btn { font-size: 0.85rem; padding: 0 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fb-track { transition-duration: 0.01s; }
}
