/*
 * This is intentionally a small footer control, not a second consent banner.
 * It remains hidden until the real Google revocation API is available.
 */
.scb-google-cmp-revocation-wrap {
  position: fixed;
  z-index: 99980;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  margin: 0;
  text-align: right;
  pointer-events: none;
}

.scb-google-cmp-revocation[hidden] { display: none !important; }

.scb-google-cmp-revocation {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #a8cbb5;
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(8, 63, 34, .18);
  color: #075f31;
  cursor: pointer;
  font: 700 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 44px;
  padding: 10px 15px;
  pointer-events: auto;
  white-space: nowrap;
}

.scb-google-cmp-revocation:hover {
  border-color: #08763c;
  background: #edf7f0;
}

.scb-google-cmp-revocation__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.scb-google-cmp-revocation__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scb-google-cmp-revocation:focus-visible {
  outline: 3px solid #075f31;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .scb-google-cmp-revocation-wrap {
    right: max(10px, env(safe-area-inset-right, 0px));
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .scb-google-cmp-revocation {
    max-width: calc(100vw - 20px);
    min-height: 42px;
    padding: 9px 13px;
    font-size: 12px;
  }
}

/* A reader-initiated YouTube trailer is intentionally separate from Google
 * Privacy & Messaging. It starts no third-party request before its button is
 * activated and it neither reads nor stores the Google consent decision. */
.scb-embed-placeholder--click-to-load {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 24px;
  background: #101713;
  color: #fff;
  text-align: center;
}

.scb-embed-placeholder--click-to-load .scb-embed-placeholder__copy {
  max-width: 42rem;
}

.scb-embed-placeholder--click-to-load .scb-embed-placeholder__copy strong {
  display: block;
  margin-bottom: .45rem;
}

.scb-embed-placeholder--click-to-load .scb-embed-placeholder__copy p {
  margin: 0 0 1rem;
  color: #dce8e0;
}

.scb-embed-placeholder--click-to-load .scb-embed-placeholder__button {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid #7ce3a7;
  border-radius: 999px;
  background: #10783f;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.scb-embed-placeholder--click-to-load .scb-embed-placeholder__button:hover {
  background: #0a5d30;
}

.scb-embed-placeholder--click-to-load .scb-embed-placeholder__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.scb-embed-placeholder--click-to-load.is-activated {
  display: block;
  padding: 0;
}

.scb-embed-placeholder--click-to-load.is-activated .scb-embed-placeholder__copy {
  display: none;
}

.scb-embed-placeholder--click-to-load.is-activated iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* STAR Cinema owns the 16:9 frame. Without an absolute activated child the
 * iframe falls back to its intrinsic height, leaving a large empty part of
 * the Cinema trailer area below it. This scope avoids changing other embeds. */
.star-cinema-trailer > .scb-embed-placeholder--click-to-load {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  height: 100%;
  margin: 0;
}

.star-cinema-trailer > .scb-embed-placeholder--click-to-load.is-activated {
  position: absolute;
  inset: 0;
}

.star-cinema-trailer > .scb-embed-placeholder--click-to-load.is-activated iframe {
  position: absolute;
  inset: 0;
}
