.top-nav {
  transition: all 1s ease;
}

/* Timers take the stretch the page's own content has; the bar's glass is left showing (a solid fill over them hid it) */
.top-nav:has(#topTimers > *) #topMenu {
  visibility: hidden;
}

#topMenu > * {
  /* // justify-content: center; */
  align-content: center;
  align-items: center;
  /* // transition: all 1s ease;
  // animation: grow 1s linear 1 forwards;
  // height: var(--ogHeight); */

}

#topMenu > *:not(:last-child) {
  display: none;
}

#subMenu > *:not(:last-child) {
  display: none;
}

/* // @keyframes grow {
//   0% {
//     height: var(--ogHeight);
//   }
//   100% {
//     height: var(--height);
//   }
// } */

/* Steamboat Willie: the menu and settings buttons keep ink on paper (circle
   and lines never the same tone), pinned to the theme's own base/content pair */
[data-theme^='steamboat-'] .top-nav .btn {
  --btn-bg: var(--color-base-100);
  --btn-fg: var(--color-base-content);
  --btn-border: var(--color-base-content);
  color: var(--color-base-content);
  background-color: var(--color-base-100);
}
[data-theme^='steamboat-'] .top-nav .btn:hover {
  --btn-bg: var(--color-base-300);
  background-color: var(--color-base-300);
}

/*
 * Reading styles for a blog post's body (`Blog/Post.tsx`). In the
 * `components` layer so a Tailwind utility on an element inside the body
 * (eg an ad's own margin) still wins over these defaults.
 */
@layer components {
  .post_body__HaEwy {
    line-height: 1.75;
  }

  /* Everything below skips a `.not-prose` block, eg an embedded app demo
     (Insights on its blog post), which brings its own styles */

  .post_body__HaEwy > * + * {
    margin-top: 1.25em;
  }

  .post_body__HaEwy h2:not(.not-prose *) {
    font-family: var(--font-edu), Georgia, 'Times New Roman', serif;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2.25em;
  }

  .post_body__HaEwy h3:not(.not-prose *) {
    font-family: var(--font-edu), Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.75em;
  }

  .post_body__HaEwy h2 + *,
  .post_body__HaEwy h3 + * {
    margin-top: 0.5em;
  }

  .post_body__HaEwy a:not([class]):not(.not-prose *) {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .post_body__HaEwy ul:not(.not-prose *) {
    list-style: disc;
    padding-left: 1.25em;
  }

  .post_body__HaEwy ol:not(.not-prose *) {
    list-style: decimal;
    padding-left: 1.25em;
  }

  .post_body__HaEwy li + li:not(.not-prose *) {
    margin-top: 0.4em;
  }

  .post_body__HaEwy strong:not(.not-prose *) {
    font-weight: 600;
  }

  .post_body__HaEwy hr:not(.not-prose *) {
    border-color: color-mix(in oklab, var(--color-base-content) 12%, transparent);
    margin-block: 2.5em;
  }
}

