/* Public release: ten-year crew, ownership, privacy and compact footer treatment. */
.ten-year-crew {
  width: min(100%, 1480px);
  margin: 0 auto 18px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #b9d0b7;
  border-radius: 22px;
  background: linear-gradient(145deg, #f7fbf1, #e8f1df);
  box-shadow: 0 12px 34px rgba(17, 61, 43, .1);
}

.ten-year-crew-visual {
  position: relative;
  height: clamp(230px, 28vw, 350px);
  margin: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #315f42;
}

.ten-year-crew-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 49%;
}

.ten-year-crew-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 33, 22, .86) 0%, rgba(5, 33, 22, .56) 37%, rgba(5, 33, 22, .04) 70%);
}

.ten-year-crew figcaption {
  position: absolute;
  left: clamp(20px, 4vw, 58px);
  bottom: clamp(18px, 3vw, 38px);
  width: min(620px, 57%);
  color: white;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
}

.ten-year-crew figcaption > p {
  margin: 0 0 7px;
  color: #d8f26a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
}

.ten-year-crew figcaption h1 {
  margin: 0 0 9px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 2.7vw, 41px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.ten-year-crew figcaption > span {
  display: block;
  max-width: 540px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.ten-year-crew-roles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 11px 0 0;
  padding: 0;
}

.ten-year-crew-roles li {
  min-width: 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #cad9c7;
  border-radius: 11px;
  background: rgba(255, 255, 255, .88);
}

.ten-year-crew-roles i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf3df;
  font-style: normal;
  font-size: 19px;
}

.ten-year-crew-roles b,
.ten-year-crew-roles small {
  display: block;
  overflow-wrap: anywhere;
}

.ten-year-crew-roles b {
  color: #123e2c;
  font-size: 14px;
  line-height: 1.35;
}

.ten-year-crew-roles small {
  margin-top: 3px;
  color: #607267;
  font-size: 14px;
  line-height: 1.4;
}

.public-site-footer {
  width: min(100%, 1480px);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  margin: 24px auto 0;
  padding: 26px clamp(20px, 3vw, 38px);
  color: white;
  border-top: 4px solid #d8f26a;
  border-radius: 18px 18px 0 0;
  background: #071b14;
}

.public-site-footer-brand b,
.public-site-footer-brand span {
  display: block;
}

.public-site-footer-brand b {
  color: #d8f26a;
  font-size: 14px;
  letter-spacing: .08em;
}

.public-site-footer-brand span {
  margin-top: 5px;
  color: #9db0a5;
  font-size: 14px;
}

.public-legal {
  color: rgba(255, 255, 255, .73);
  font-size: 14px;
  line-height: 1.65;
}

.public-legal p {
  margin: 3px 0;
}

.public-legal a {
  color: #d8f26a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.public-legal .public-disclaimer {
  color: white;
  font-weight: 800;
}

.leaderboard-privacy {
  margin: 8px 0 0 !important;
  padding: 9px 11px;
  color: #5c4b31 !important;
  border: 1px solid #e1c890;
  border-radius: 8px;
  background: #fff8e7;
  font-size: 14px !important;
  line-height: 1.55;
}

.game-footer .game-public-legal {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.manual-footer {
  flex-wrap: wrap;
}

.manual-footer > .manual-public-legal {
  flex: 1 0 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.manual-footer .manual-public-legal p {
  margin: 3px 0;
}

.manual-footer .manual-public-legal a {
  display: inline;
  padding: 0;
  color: #d8f26a;
  background: transparent;
  font-size: inherit;
}

@media (max-width: 1180px) {
  .ten-year-crew-roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ten-year-crew {
    padding: 8px;
    border-radius: 15px;
  }

  .ten-year-crew-visual {
    height: 340px;
    border-radius: 11px;
  }

  .ten-year-crew-visual img {
    object-position: 64% center;
  }

  .ten-year-crew-shade {
    background: linear-gradient(0deg, rgba(5, 33, 22, .92) 0%, rgba(5, 33, 22, .38) 64%, transparent 100%);
  }

  .ten-year-crew figcaption {
    left: 17px;
    right: 17px;
    bottom: 17px;
    width: auto;
  }

  .ten-year-crew figcaption h1 {
    font-size: 25px;
  }

  .ten-year-crew figcaption > span {
    font-size: 14px;
  }

  .ten-year-crew-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-site-footer {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }
}

@media (max-width: 430px) {
  .ten-year-crew-roles {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ten-year-crew * {
    transition: none !important;
  }
}

@media print {
  .public-site-footer,
  .game-public-legal {
    color: #102b20;
    border: 1px solid #cfd8cf;
    background: white;
  }
}

/* v9.6 — compact premium footers, right-side help and game crew placement. */
.ten-year-crew figcaption h2 {
  margin: 0 0 9px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 2.7vw, 41px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}

#journeySetup {
  margin-bottom: 42px;
}

#journeySetup > header {
  margin-bottom: 20px;
}

#journeySetup > header h2 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.25vw, 30px);
  line-height: 1.35;
}

.game-ten-year-crew {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 84px;
  border-color: #aec8a7;
  background: linear-gradient(145deg, #eef6e8, #fff9e9);
}

.sidebar-utility-row {
  grid-template-columns: repeat(2, 1fr);
}

.right-help-menu {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 76;
  width: 218px;
  color: #123e2c;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

.right-help-menu details {
  border: 1px solid rgba(18, 62, 44, .2);
  border-radius: 17px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 48px rgba(7, 27, 20, .2);
  backdrop-filter: blur(16px);
}

.right-help-menu summary {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  list-style: none;
  cursor: pointer;
}

.right-help-menu summary::-webkit-details-marker,
.footer-legal-details summary::-webkit-details-marker {
  display: none;
}

.right-help-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #071b14;
  border-radius: 12px;
  background: #d8f26a;
  font-size: 20px;
  font-weight: 1000;
}

.right-help-menu summary b,
.right-help-menu summary small {
  display: block;
}

.right-help-menu summary b {
  font-size: 15px;
}

.right-help-menu summary small {
  margin-top: 1px;
  color: #66786d;
  font-size: 14px;
}

.right-help-menu summary > i {
  color: #2f6e4e;
  font-style: normal;
  font-size: 20px;
  transition: transform .2s ease;
}

.right-help-menu details[open] summary > i {
  transform: rotate(45deg);
}

.right-help-panel {
  display: grid;
  gap: 7px;
  padding: 0 9px 9px;
  border-top: 1px solid #e2e9df;
}

.right-help-panel button,
.right-help-panel a {
  min-height: 54px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  color: #183f2e;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f3f7ef;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.right-help-panel button:hover,
.right-help-panel button:focus-visible,
.right-help-panel a:hover,
.right-help-panel a:focus-visible {
  color: #fff;
  border-color: #1d6042;
  background: #1d6042;
  outline: none;
}

.right-help-panel b,
.right-help-panel small {
  display: block;
}

.right-help-panel b {
  font-size: 14px;
}

.right-help-panel small {
  margin-top: 2px;
  color: #69796f;
  font-size: 14px;
}

.right-help-panel :is(button,a):hover small,
.right-help-panel :is(button,a):focus-visible small {
  color: #d8e8de;
}

.modern-public-footer {
  position: relative;
  grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.5fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px clamp(22px, 3vw, 42px);
  overflow: visible;
  border: 0;
  border-radius: 20px 20px 0 0;
  background:
    radial-gradient(circle at 78% -40%, rgba(216, 242, 106, .22), transparent 34%),
    linear-gradient(112deg, #061b13, #103d2b 64%, #08251a);
  box-shadow: 0 -10px 38px rgba(7, 27, 20, .12);
}

.modern-public-footer::before,
.game-footer::before,
.modern-manual-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(22px, 4vw, 64px);
  width: 110px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, #d8f26a 0 68%, #ef7f5e 68%);
}

.public-site-footer-brand,
.modern-manual-footer .manual-footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-monogram {
  width: 43px;
  height: 43px;
  display: grid !important;
  flex: 0 0 auto;
  place-items: center;
  color: #071b14 !important;
  border-radius: 13px;
  background: #d8f26a;
  font-size: 14px !important;
  font-weight: 1000;
  letter-spacing: -.04em;
  margin: 0 !important;
}

.modern-public-footer .public-site-footer-brand > span {
  margin: 0;
}

.modern-public-footer .public-site-footer-brand b,
.modern-manual-footer .manual-footer-brand b {
  display: block;
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
}

.modern-public-footer .public-site-footer-brand small,
.modern-manual-footer .manual-footer-brand small {
  display: block;
  margin-top: 3px;
  color: #91aa9d;
  font-size: 14px;
  letter-spacing: .1em;
}

.footer-license {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.55;
}

.footer-license a {
  color: #d8f26a;
  font-weight: 900;
  text-decoration: none;
}

.footer-license .rights-holder {
  display: inline-block;
  margin-inline-start: 1.5em;
  white-space: nowrap;
}

.footer-legal-details {
  position: relative;
  justify-self: end;
}

.footer-legal-details summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.footer-legal-details summary:hover,
.footer-legal-details summary:focus-visible {
  color: #071b14;
  background: #d8f26a;
  outline: none;
}

.footer-legal-details summary i {
  font-style: normal;
  font-size: 18px;
  transition: transform .2s ease;
}

.footer-legal-details[open] summary i {
  transform: rotate(45deg);
}

.footer-legal-details > div {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 4;
  width: min(520px, 78vw);
  padding: 16px 18px;
  color: #54655b;
  border: 1px solid #dce5da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 27, 20, .24);
  font-size: 14px;
  line-height: 1.65;
}

.footer-legal-details > div p {
  margin: 0;
}

.footer-legal-details > div p + p {
  margin-top: 7px;
}

.footer-legal-details > div .public-disclaimer {
  color: #173e2d;
  font-weight: 800;
}

.game-footer {
  position: relative;
  grid-template-columns: minmax(210px, .9fr) auto minmax(330px, 1.2fr);
  padding-block: 22px;
  border-top: 0;
  background:
    radial-gradient(circle at 86% -60%, rgba(204, 231, 109, .2), transparent 35%),
    linear-gradient(112deg, #071d15, #123d2d 68%, #0a281d);
}

.game-footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.game-footer-meta .footer-license {
  max-width: 330px;
  text-align: right;
}

.modern-manual-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(320px, 1.4fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 25px;
  overflow: visible;
  border-radius: 17px;
  background:
    radial-gradient(circle at 82% -50%, rgba(216, 242, 106, .2), transparent 32%),
    linear-gradient(112deg, #071b14, #123e2c 72%, #09271c);
}

.modern-manual-footer .manual-footer-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  color: #071b14;
  border-radius: 999px;
  background: #d8f26a;
  font-size: 14px;
  font-weight: 900;
}

.modern-manual-footer .manual-footer-cta span,
.modern-manual-footer .footer-license span,
.modern-manual-footer .footer-legal-details span {
  display: inline;
  color: inherit;
  font-size: inherit;
}

.modern-manual-footer .footer-license a {
  display: inline;
  padding: 0;
  color: #d8f26a;
  background: transparent;
  font-size: inherit;
}

@media (max-width: 1120px) {
  .modern-public-footer,
  .modern-manual-footer {
    grid-template-columns: 1fr auto;
  }

  .modern-public-footer .footer-license,
  .modern-manual-footer .footer-license {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .game-footer {
    grid-template-columns: 1fr auto;
  }

  .game-footer-meta {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .game-footer-meta .footer-license {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .right-help-menu {
    right: 10px;
    bottom: 10px;
    width: min(218px, calc(100vw - 20px));
  }

  .game-ten-year-crew {
    margin-bottom: 52px;
  }

  .ten-year-crew figcaption h2 {
    font-size: 25px;
  }

  .modern-public-footer,
  .modern-manual-footer,
  .game-footer {
    grid-template-columns: 1fr;
  }

  .modern-public-footer .footer-license,
  .modern-manual-footer .footer-license,
  .game-footer-meta {
    grid-column: auto;
    grid-row: auto;
  }

  .game-footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal-details {
    justify-self: start;
  }

  .footer-legal-details > div {
    right: auto;
    left: 0;
    width: min(520px, calc(100vw - 40px));
  }
}

@media print {
  .right-help-menu {
    display: none !important;
  }
}

/* v9.7 — keep a fixed route to the game home separate from saved-game return. */
.sidebar-game-card > .sidebar-game-home-link {
  min-height: 38px;
  margin-top: 7px;
  color: #173f2e;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 63, 46, 0.28);
  font-size: 14px;
}

.sidebar-game-card > .sidebar-game-home-link:hover,
.sidebar-game-card > .sidebar-game-home-link:focus-visible {
  color: #fff;
  background: #27664a;
}
/* Shared Nature Positive series identity */
.np-series-footer-region,
.np-series-footer-region *{box-sizing:border-box}
.np-series-footer-region{--np-series-bg:#12382b;--np-series-text:#f6faf7;--np-series-muted:#c9dbd1;--np-series-link:#e4f5d8;grid-column:1/-1;width:100%;max-width:none;margin:0;border-top:1px solid rgba(246,250,247,.22);background:var(--np-series-bg);color:var(--np-series-text);font-family:inherit;text-align:left}
.np-series-footer-inner{width:min(100%,1200px);min-height:76px;margin:0 auto;padding:14px clamp(20px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:20px}
.np-series-footer-identity{margin:0;display:grid;gap:2px;line-height:1.45}
.np-series-footer-identity strong{color:var(--np-series-text);font-size:14px;font-weight:750;letter-spacing:.14em}
.np-series-footer-identity span{color:var(--np-series-muted);font-size:14px}
.np-series-footer-link{min-height:44px;padding:8px 0;display:inline-flex;align-items:center;gap:10px;color:var(--np-series-link);font-size:15px;font-weight:700;line-height:1.5;text-underline-offset:.25em;text-decoration-thickness:1px}
.np-series-footer-link:hover{color:#fff;text-decoration-thickness:2px}
.np-series-footer-link:focus-visible{outline:3px solid #f2d66d;outline-offset:4px;border-radius:2px}
@media(max-width:600px){.np-series-footer-inner{min-height:0;padding:14px 20px 16px;align-items:stretch;flex-direction:column;gap:4px}.np-series-footer-link{width:100%;justify-content:flex-start}}
