/* MyLisa Sphere Sub — full-bleed page chrome for Twenty Twenty-Five / block themes */

body.mylisa-sphere-sub-page {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: #0b0f14;
}

body.mylisa-sphere-sub-page .site-header,
body.mylisa-sphere-sub-page header.wp-block-template-part,
body.mylisa-sphere-sub-page footer.wp-block-template-part,
body.mylisa-sphere-sub-page .site-footer,
body.mylisa-sphere-sub-page .wp-site-blocks > header,
body.mylisa-sphere-sub-page .wp-site-blocks > footer {
  display: none !important;
}

body.mylisa-sphere-sub-page .entry-header,
body.mylisa-sphere-sub-page .wp-block-post-title,
body.mylisa-sphere-sub-page h1.wp-block-post-title {
  display: none !important;
}

body.mylisa-sphere-sub-page .wp-site-blocks,
body.mylisa-sphere-sub-page .wp-site-blocks > *,
body.mylisa-sphere-sub-page .has-global-padding,
body.mylisa-sphere-sub-page .is-layout-constrained > :where(:not(.alignfull)),
body.mylisa-sphere-sub-page .is-layout-constrained,
body.mylisa-sphere-sub-page .wp-block-group,
body.mylisa-sphere-sub-page .wp-block-post-content,
body.mylisa-sphere-sub-page .entry-content,
body.mylisa-sphere-sub-page .site-content,
body.mylisa-sphere-sub-page #content,
body.mylisa-sphere-sub-page #page,
body.mylisa-sphere-sub-page .site,
body.mylisa-sphere-sub-page article,
body.mylisa-sphere-sub-page main,
body.mylisa-sphere-sub-page .site-main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.mylisa-sphere-sub-app {
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0b0f14;
}

.mylisa-sphere-sub-app iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* True full-bleed on the dedicated page */
body.mylisa-sphere-sub-page #mylisa-sphere-sub-app.mylisa-sphere-sub-app {
  position: fixed;
  inset: 0;
  margin: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  z-index: 100000;
}

@supports not (height: 100dvh) {
  .mylisa-sphere-sub-app,
  body.mylisa-sphere-sub-page #mylisa-sphere-sub-app.mylisa-sphere-sub-app {
    height: 100vh !important;
    max-height: 100vh !important;
  }
}

.mylisa-sphere-sub-toolbar {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: #0e1116;
  border-bottom: 1px solid #2a3444;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
}
.mylisa-sphere-sub-dl {
  color: #5eb3f0;
  text-decoration: none;
}
.mylisa-sphere-sub-dl:hover {
  text-decoration: underline;
}
body.mylisa-sphere-sub-page .mylisa-sphere-sub-app {
  display: flex;
  flex-direction: column;
}
body.mylisa-sphere-sub-page .mylisa-sphere-sub-app iframe {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0;
}
