/* Development-only host styling: the normal B-Gjengen website retains its own navbar. */
#cupPreviewView { padding:0!important; margin-top:12px; max-width:none; }
#cupPreviewView .cup-local-notice {
  font-size:11px; font-weight:800; letter-spacing:.08em; color:#a3d1b0;
  padding:10px 14px; border:1px solid #255339; background:#0a1710;
  border-radius:8px; margin-bottom:10px; text-align:center;
}
#cupPreviewFrame { width:100%; display:block; border:0; height:1050px; background:transparent; }
/* CUP inherits exactly the same padding, color, radius and hover state as
   every other navbar link in frontend/css/site.css. The only special treatment
   is the site's EXISTING green ::after underline when CUP is the current view. */
body.showing-cup-preview .primary-nav a#navCupPreviewLink::after {
  right:0;
}
/* Remove any surrounding page-shell plate behind the embedded Cup. */
#cupPreviewView {
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
/* An active Cup hides the ordinary Gather nav link, as designed. */
body.cup-local-live-mode .primary-nav a[href="/"] { display:none!important; }

@media(max-width:700px){#cupPreviewView{margin-left:-7px;margin-right:-7px}}

/* Phase 3D: keep the embedding surface fully transparent against the site's
   own flat #0e140a page background. */
#cupPreviewFrame { background-color: transparent!important; }

/* Phase 3E — same flat background in the host's iframe element. */
#cupPreviewFrame {
  background: #0e140a !important;
  background-color: #0e140a !important;
}

/* Staging uses REAL CUP data. Hide the old MOCK DATA development notice;
   the mock preview remains available only outside the staging real mode. */
body.cup-v2-real-host #cupPreviewView .cup-local-notice{display:none!important}
