/* Native CrocoBuilder navigation and footer, scoped to the eleven drafts. */
.fm-games-page .fm-wp-nav.pb-nav { padding: 6px; background: #0d0e12; }
.fm-games-page .fm-wp-nav.pb-nav .pb-nav__link {
  box-sizing: border-box; width: 100%; white-space: nowrap; word-break: normal;
  text-decoration: none; min-height: 48px; letter-spacing: .045em;
}
.fm-games-page .fm-wp-nav.pb-nav .pb-nav__link:focus-visible {
  outline: 2px solid #e6d3ff; outline-offset: -4px;
}
@media (min-width:768px) {
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__list {
    display: grid; grid-template-columns: repeat(7,minmax(0,1fr));
    gap: 4px; width: 100%; margin: 0; padding: 0;
  }
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__item { min-width: 0; margin: 0; }
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__link {
    justify-content: center; padding: 12px 6px; font-size: 12px;
  }
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__item:last-child .pb-nav__link:not(.is-current) {
    border-color: #826398; background: linear-gradient(#493654,#2c2038);
  }
}
@media (min-width:768px) and (max-width:900px) {
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__link { font-size: 11px; letter-spacing: .025em; padding-inline: 4px; }
}
@media (max-width:767px) {
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__list { display: flex; flex-direction: column; gap: 6px; }
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__link { justify-content: flex-start; padding: 12px 16px; font-size: 14px; }
  .fm-games-page .fm-wp-nav.pb-nav .pb-nav__collapse-toggle { min-height: 48px; }
}

/* Tablet: two comparable choices and a deliberate full-width third route. */
@media (min-width:768px) and (max-width:1024px) {
  .fm-games-page .fm-clan .fm-paths { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .fm-games-page .fm-paths > .fm-panel { display: flex; flex-direction: column; }
  .fm-games-page .fm-paths .fm-path-body { flex: 1; grid-template-rows: auto 1fr auto; }
  .fm-games-page .fm-paths .fm-path-body h2 { align-self: start; }
  .fm-games-page .fm-paths .fm-path-body .fm-action { align-self: end; }
  .fm-games-page .fm-paths > .fm-panel:last-child { grid-column: 1 / -1; }
  .fm-games-page .fm-paths > .fm-panel:last-child .fm-path-body {
    grid-template-columns: 52px minmax(0,1fr) auto; grid-template-rows: auto auto;
    column-gap: 18px; align-items: center;
  }
  .fm-games-page .fm-paths > .fm-panel:last-child .fm-symbol { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .fm-games-page .fm-paths > .fm-panel:last-child h2 { grid-column: 2; grid-row: 1; margin-bottom: 7px; }
  .fm-games-page .fm-paths > .fm-panel:last-child p { grid-column: 2; grid-row: 2; margin-bottom: 0; }
  .fm-games-page .fm-paths > .fm-panel:last-child .fm-action { grid-column: 3; grid-row: 1 / 3; align-self: center; white-space: nowrap; }
}

/* Footer: a purposeful end point, with three small route groups. */
.fm-games-page:is(.page-id-10,.page-id-11,.page-id-15) .fm-footer-expanded .fm-footer-next { display:none; }
.fm-games-page .fm-clan .fm-footer.fm-footer-expanded {
  display: block; margin-top: 20px; padding: 0 28px;
  color: #b9b3c3; font: 14px/1.6 Arial,sans-serif; letter-spacing: 0;
  border-top: 1px solid #65516f;
  background: linear-gradient(135deg,#221d2c 0%,#14151b 58%);
  box-shadow: inset 0 1px #d4b7fa10;
}
.fm-games-page .fm-footer-expanded .fm-footer-next {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 28px 0; border-bottom: 1px solid #ffffff12;
}
.fm-games-page .fm-footer-expanded .fm-footer-kicker {
  margin: 0 0 7px; color: #c4a4e7; font: 11px/1.5 Consolas,monospace; letter-spacing: .12em; text-transform: uppercase;
}
.fm-games-page .fm-footer-expanded .fm-footer-next h2 { margin: 0; font-size: 28px; color: #f4f1e9; }
.fm-games-page .fm-clan .fm-footer-expanded .fm-footer-cta {
  flex-shrink: 0; display: inline-flex; justify-content: center; align-items: center; min-height: 46px;
  padding: 10px 17px; color: #f3e7ff; border: 1px solid #826095; border-radius: 2px;
  background: linear-gradient(#3e2d4e,#2a2036); font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: inset 0 1px #d6b3f51f; white-space: nowrap;
}
.fm-games-page .fm-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; padding: 26px 0; }
.fm-games-page .fm-footer-expanded .fm-footer-title { font-size: 19px; line-height: 1.3; color: #e2dce9; margin: 0 0 9px; }
.fm-games-page .fm-footer-expanded .fm-footer-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.fm-games-page .fm-clan .fm-footer-expanded .fm-footer-link {
  display: inline-flex; min-height: 40px; align-items: center; padding: 5px 0; font-size: 13px;
  color: #bcb5c7; text-decoration: none; background: none; border: 0; overflow-wrap: anywhere;
}
.fm-games-page .fm-footer-expanded .fm-footer-note { color: #a9a2b5; font-size: 13px; line-height: 1.65; margin: 0 0 4px; max-width: 33ch; }
.fm-games-page .fm-footer-expanded .fm-footer-email { font-family: Consolas,monospace; }
.fm-games-page .fm-footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding: 14px 0; border-top: 1px solid #ffffff12;
}
.fm-games-page .fm-footer-expanded .fm-footer-wordmark { margin: 0; font: 11px/1.5 Consolas,monospace; letter-spacing: .08em; color: #92869e; }
.fm-games-page .fm-footer-expanded .fm-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fm-games-page .fm-clan .fm-footer-expanded .fm-footer-legal .fm-footer-link { min-height: 44px; font-size: 12px; }
.fm-games-page .fm-footer-expanded a:focus-visible { outline: 2px solid #ddbeff; outline-offset: 4px; }
@media (hover:hover) and (pointer:fine) {
  .fm-games-page .fm-clan .fm-footer-expanded a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
  .fm-games-page .fm-clan .fm-footer-expanded .fm-footer-cta:hover { border-color: #c19cdf; text-decoration: none; }
}
@media (max-width:767px) {
  .fm-games-page .fm-clan .fm-footer.fm-footer-expanded { padding-inline: 16px; margin-top: 12px; }
  .fm-games-page .fm-footer-expanded .fm-footer-next { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px 0; }
  .fm-games-page .fm-footer-expanded .fm-footer-next h2 { font-size: 25px; }
  .fm-games-page .fm-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 16px; padding: 22px 0; }
  .fm-games-page .fm-footer-grid > :last-child { grid-column: 1 / -1; }
  .fm-games-page .fm-footer-expanded .fm-footer-note { max-width: 50ch; }
  .fm-games-page .fm-clan .fm-footer-expanded .fm-footer-link { min-height: 44px; }
  .fm-games-page .fm-footer-base { flex-direction: column; align-items: flex-start; gap: 5px; }
}
