/* Reversible Milo hide — active when html[data-milo-public-visible="false"] */

/* Public Milo surfaces load this file early, so keep their sizing deterministic. */
.site-ui.premium-apps-page,
.site-ui.premium-apps-page * {
  box-sizing: border-box;
}

.site-ui .final-cta--with-milo.guides-index-final-cta .milo-deco--cta {
  position: relative;
  inset: auto;
  width: min(120px, 32vw);
  margin: 0 auto 0.75rem;
  transform: none;
}

html[data-milo-public-visible="false"] [data-nav-page="maageblik"],
html[data-milo-public-visible="false"] [data-page="maageblik"],
html[data-milo-public-visible="false"] a[href="/hjem?tab=milo"],
html[data-milo-public-visible="false"] a[href*="tab=milo"],
html[data-milo-public-visible="false"] [data-milo-public],
html[data-milo-public-visible="false"] [data-hub-tab="milo"],
html[data-milo-public-visible="false"] #hub-panel-milo,
html[data-milo-public-visible="false"] .hub-app__milo,
html[data-milo-public-visible="false"] .hub-milo-fig,
html[data-milo-public-visible="false"] .hub-maageblik-stats,
html[data-milo-public-visible="false"] .hub-partner-bar--maageblik,
html[data-milo-public-visible="false"] .hero-milo-float,
html[data-milo-public-visible="false"] .home-search-milo-video,
html[data-milo-public-visible="false"] .home-search-milo-hint,
html[data-milo-public-visible="false"] .nearby-milo-slot,
html[data-milo-public-visible="false"] .nearby-milo-peek,
html[data-milo-public-visible="false"] .nearby-milo-btn,
html[data-milo-public-visible="false"] .institution-card-milo,
html[data-milo-public-visible="false"] .milo-deco,
html[data-milo-public-visible="false"] .pack-topic__milo,
html[data-milo-public-visible="false"] .startklar-milo-pointer,
html[data-milo-public-visible="false"] .final-cta--with-milo .milo-deco,
html[data-milo-public-visible="false"] .guide-article-hero--with-milo .milo-deco,
html[data-milo-public-visible="false"] .launch-hero--with-milo .milo-deco,
html[data-milo-public-visible="false"] .product-milo-deco,
html[data-milo-public-visible="false"] .kids-hub-hero__milo,
html[data-milo-public-visible="false"] .milo-spotlight,
html[data-milo-public-visible="false"] .soft-card--milo-watch,
html[data-milo-public-visible="false"] .soft-card__milo-watch,
html[data-milo-public-visible="false"] .milo-hero-figure,
html[data-milo-public-visible="false"] .hero-milo-card,
html[data-milo-public-visible="false"] .milo-panel,
html[data-milo-public-visible="false"] a[href="/product-milo"],
html[data-milo-public-visible="false"] a[href="/product-milo.html"],
html[data-milo-public-visible="false"] a[href="/product-tag-finder"],
html[data-milo-public-visible="false"] a[href="/product-tag-finder.html"],
html[data-milo-public-visible="false"] a[href="/milo"],
html[data-milo-public-visible="false"] a[href="/milo.html"],
html[data-milo-public-visible="false"] a[href="/books"],
html[data-milo-public-visible="false"] a[href^="/books/"],
html[data-milo-public-visible="false"] a[href="/apps"],
html[data-milo-public-visible="false"] a[href^="/apps/milo"],
html[data-milo-public-visible="false"] button[data-category="Milo-universet"],
html[data-milo-public-visible="false"] .shop-featured-product,
html[data-milo-public-visible="false"] #pack-milo,
html[data-milo-public-visible="false"] .milo-hidden,
html[data-milo-public-visible="false"] [data-milo-paused-hidden="true"] {
  display: none !important;
}

html[data-milo-public-visible="false"] img[src*="milo"],
html[data-milo-public-visible="false"] img[srcset*="milo"],
html[data-milo-public-visible="false"] source[srcset*="milo"],
html[data-milo-public-visible="false"] video[src*="milo"],
html[data-milo-public-visible="false"] video source[src*="milo"] {
  display: none !important;
}

html[data-milo-public-visible="false"] .launch-hero--with-milo,
html[data-milo-public-visible="false"] .guide-article-hero--with-milo,
html[data-milo-public-visible="false"] .final-cta--with-milo {
  grid-template-columns: 1fr;
}

html[data-milo-public-visible="false"] .milo-inline-video,
html[data-milo-public-visible="false"] .hero-premium-milo,
html[data-milo-public-visible="false"] .milo-map-title-video,
html[data-milo-public-visible="false"] .milo-panel-video {
  display: none !important;
}

html[data-milo-public-visible="false"] .user-location-face--base,
html[data-milo-public-visible="false"] .user-location-face--hover {
  background-image: none !important;
}

html[data-milo-public-visible="false"] .user-location-marker {
  background: #79ad87;
  border-radius: 50%;
}

body.milo-route-paused #main-content > :not(.milo-paused-panel) {
  display: none !important;
}

body.milo-route-paused [data-firebase-form="product-interest"],
body.milo-route-paused [data-firebase-form="checkout"],
body.milo-route-paused .site-header__cart-btn,
body.milo-route-paused a[href="/apps"],
body.milo-route-paused a[href^="/apps/milo"],
body.milo-route-paused form[action*="checkout"],
body.milo-route-paused .product-interest-form,
body.milo-route-paused .premium-apps-checkout {
  display: none !important;
}

.milo-paused-panel {
  max-width: 40rem;
  margin: 2.5rem auto 3rem;
  padding: 2rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
  text-align: center;
}

.milo-paused-panel__mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
}

.milo-paused-panel__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.milo-paused-panel__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #0f172a;
}

.milo-paused-panel__copy {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.milo-paused-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.milo-paused-panel__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.milo-paused-panel__actions a:first-child {
  background: #79ad87;
  color: #fff;
}

.milo-paused-panel__actions a:last-child {
  border: 1px solid #dbeafe;
  background: #f8fafc;
  color: #1e3a8a;
}
