/*
 * Molly Flynn — Fun Stuff
 *
 * V2026.09.22
 * Build: 1
 *
 * Provides shared Fun Stuff presentation, including the opening quotation treatment and DLC secondary navigation used by Fun Stuff pages. Individual features may add their own numbered child stylesheet.
 */

/* ---------- 10. Quotations / Fun Stuff opening quote ---------- */
blockquote,
.mf-quote {
  border-left: 3px solid rgba(185, 198, 243, 0.72);
  border-radius: 0 0.8rem 0.8rem 0;
  background: linear-gradient(to right, rgba(185, 198, 243, 0.12), transparent 72%);
  color: var(--mf-text);
  box-shadow: none;
}

blockquote cite,
.mf-quote cite {
  color: var(--mf-text-muted);
}

/* ---------- DLC secondary navigation ---------- */

/*
 * Generic screen-reader-only utility. This belongs conceptually to DLC;
 * it remains here for now because this is Molly's complete site stylesheet.
 */
.dlc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/*
 * The secondary navigation is intentionally quieter than the main navigation.
 * Because both navs are rendered inside the header, header::before naturally
 * expands its mist behind both of them and they read visually as one group.
 */
.dlc-subnav {
  width: min(100%, 52rem);
  margin: 0.5rem auto 0;
  padding: 0.5rem 0.8rem 0;
  border-top: 1px solid rgba(185, 198, 243, 0.18);
  font-size: 0.88em;
}

.dlc-subnav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dlc-subnav-item,
.dlc-subnav-back-item {
  display: block;
  margin: 0;
  padding: 0;
}

.dlc-subnav-link,
.dlc-subnav-link:visited,
.dlc-subnav-back,
.dlc-subnav-back:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--mf-text-muted);
  background: transparent;
  text-decoration: none;
  line-height: 1.45;
}

.dlc-subnav-link {
  padding: 0.28rem 0.48rem 0.28rem 1.08rem;
  border-radius: 999px;
}

.dlc-subnav-link:hover,
.dlc-subnav-back:hover {
  color: var(--mf-text);
  text-decoration: none;
}

.dlc-subnav-link:focus-visible,
.dlc-subnav-back:focus-visible {
  border-radius: 0.3rem;
  outline: 2px solid var(--mf-ghost-core);
  outline-offset: 0.25rem;
}

.dlc-subnav-back {
  min-width: 1.55rem;
  justify-content: center;
  padding: 0.18rem 0.38rem;
  color: var(--mf-text) !important;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Smaller ghost light marks the actual current secondary page. */
.dlc-subnav-current,
.dlc-subnav-link[aria-current="page"] {
  color: var(--mf-text) !important;
  font-weight: 700;
  background:
    radial-gradient(circle at 0.58rem 50%, rgba(143, 220, 255, 0.13), transparent 1.8rem);
}

.dlc-subnav-current::before,
.dlc-subnav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--mf-ghost-core);
  box-shadow:
    0 0 0.16rem rgba(143, 220, 255, 0.92),
    0 0 0.42rem rgba(143, 220, 255, 0.64),
    0 0 0.72rem rgba(143, 220, 255, 0.36);
}

/*
 * Nana's site-specific bridge may add this class when Back returns to
 * Nana's Yarns rather than leaving the feature.
 */
.dlc-subnav-back.mf-nana-back {
  color: #b8f0c4 !important;
  text-shadow:
    0 0 0.3rem rgba(145, 238, 166, 0.9),
    0 0 0.75rem rgba(145, 238, 166, 0.58);
}

@media (max-width: 44rem) {
  .dlc-subnav {
    margin-top: 0.42rem;
    padding: 0.45rem 0.35rem 0;
    font-size: 0.86em;
  }

  .dlc-subnav ul {
    gap: 0.28rem 0.75rem;
  }

  .dlc-subnav-link,
  .dlc-subnav-back {
    line-height: 1.5;
  }
}

@media (max-width: 28rem) {
  .dlc-subnav {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .dlc-subnav ul {
    gap: 0.22rem 0.55rem;
  }

  .dlc-subnav-link {
    padding-right: 0.38rem;
    padding-left: 1rem;
  }
}
