/* Shared navigation for the game pages. Game colors come from body tokens. */
body:has(.product-nav) .skip, body:has(.product-nav) .skip-link { z-index: 1000; }
.product-shell {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
  min-width: 0;
}
.product-company {
  position: relative;
  z-index: 101;
  color: #222820;
  background: #fff;
  border-bottom: 1px solid #e8e9e3;
}
.product-company > .product-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 82px;
}
.product-company-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}
.product-company-logo img { display: block; width: 157px; height: auto; }
.product-back {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}
.product-back span { color: #dc4804; }
.product-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--product-ink, #edf3ec);
  background: var(--product-bg, #12231b);
  border-bottom: 1px solid var(--product-line, #ffffff25);
  box-shadow: 0 5px 20px #00000010;
}
.product-nav > .product-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
}
.product-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding-block: 8px;
  font-size: 16px;
  font-weight: 700;
}
.product-state {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--product-line, #ffffff25);
  color: var(--product-accent, #e4c574);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.product-menu { display: flex; align-items: center; gap: 8px; }
.product-menu a, .product-motion, .product-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: none;
}
.product-menu a:hover, .product-menu-toggle:hover { background: #ffffff0c; }
.product-motion {
  color: var(--product-accent, #e4c574);
  border-color: var(--product-line, #ffffff25);
  margin-left: 7px;
}
.product-motion span { font-size: 11px; font-weight: 700; min-width: 23px; }
.product-motion[aria-pressed="true"] { background: #ffffff08; }
.product-motion:disabled { cursor: default; opacity: .8; }
.product-nav:not(.is-enhanced) .product-motion { display: none; }
.product-nav .product-home, .product-menu-toggle { display: none; }
.product-company a:focus-visible, .product-nav :focus-visible {
  outline: 2px solid #ff762e;
  outline-offset: 4px;
}
body:has(.product-nav) main [id] { scroll-margin-top: 94px; }
html.effects-paused { scroll-behavior: auto; }

@media (max-width: 1050px) {
  .product-shell { width: calc(100% - 56px); }
  .product-nav > .product-shell { gap: 12px; }
  .product-menu { gap: 2px; }
  .product-menu a, .product-motion { padding-inline: 9px; }
}
@media (max-width: 860px) {
  .product-company > .product-shell { min-height: 72px; }
  .product-nav > .product-shell { min-height: 64px; }
  .product-name { font-size: 14px; gap: 8px; }
  .product-menu-toggle { display: inline-flex; flex-shrink: 0; border-color: var(--product-line, #ffffff25); }
  .product-menu-toggle span { font-size: 17px; line-height: 1; }
  .product-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    border: 1px solid var(--product-line, #ffffff25);
    border-radius: 0 0 6px 6px;
    background: var(--product-bg, #12231b);
    box-shadow: 0 18px 30px #0005;
  }
  .product-menu.is-open { display: flex; }
  .product-menu a { justify-content: flex-start; padding-inline: 14px; }
  .product-nav .product-home { display: flex; border-top-color: var(--product-line, #ffffff25); border-radius: 0; margin-top: 6px; }
  .product-motion { justify-content: space-between; margin: 4px 0 0; padding-inline: 14px; }
  .product-nav:not(.is-enhanced) > .product-shell { flex-wrap: wrap; }
  .product-nav:not(.is-enhanced) .product-menu-toggle { display: none; }
  .product-nav:not(.is-enhanced) .product-menu {
    display: flex;
    position: static;
    flex-basis: 100%;
    max-height: none;
    margin-bottom: 14px;
    border: 0;
    box-shadow: none;
  }
  body:has(.product-nav) main [id] { scroll-margin-top: 84px; }
}
@media (max-width: 700px) {
  .product-shell { width: calc(100% - 40px); }
  .product-company > .product-shell { gap: 10px; }
  .product-company-logo img { width: 128px; }
  .product-back { font-size: 12px; gap: 8px; }
  .product-menu-toggle { padding-inline: 10px; }
  .product-state { font-size: 11px; }
}
