.gwn-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10040;
  pointer-events: none;
  padding: 0 0.65rem max(0.55rem, env(safe-area-inset-bottom));
}

.gwn-sticky-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0.4rem;
  border: 1px solid rgba(176, 155, 135, 0.45);
  border-radius: 12px;
  background: rgba(250, 248, 245, 0.96);
  box-shadow: 0 -4px 24px rgba(20, 18, 16, 0.12);
  backdrop-filter: blur(8px);
}

.gwn-sticky-inner.is-three {
  grid-template-columns: repeat(3, 1fr);
}

.gwn-sticky-inner.is-four {
  grid-template-columns: repeat(4, 1fr);
}

/* B7 host sticky is three items (same grid as guest); keep is-five for legacy if needed */
.gwn-sticky-inner.is-host {
  grid-template-columns: repeat(3, 1fr);
  max-width: 28rem;
}

.gwn-sticky-inner.is-five {
  grid-template-columns: repeat(5, 1fr);
  max-width: 32rem;
  gap: 0.2rem;
}

.gwn-sticky-inner.is-five .gwn-sticky-link {
  min-height: 2.95rem;
  padding: 0.35rem 0.15rem;
  font-size: 0.64rem;
}

.gwn-sticky-icon-stroke {
  fill: none;
  stroke: currentColor;
}

.gwn-sticky-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.1rem;
  padding: 0.4rem 0.25rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  background: transparent;
}

.gwn-sticky-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  flex-shrink: 0;
}

.gwn-sticky-label {
  line-height: 1.1;
}

.gwn-sticky-link:hover,
.gwn-sticky-link:focus-visible {
  background: rgba(85, 255, 225, 0.2);
}

.gwn-sticky-link.is-current {
  background: #1a1a1a;
  color: #faf8f5;
}

body.gwn-has-sticky {
  padding-bottom: calc(5.1rem + env(safe-area-inset-bottom));
}

/* Play (etc.): keep form submit CTA on the floor; lift sticky nav above it */
body.gwn-has-submit-bar {
  --gwn-submit-bar-h: 7.5rem;
}

body.gwn-has-submit-bar .gwn-sticky {
  bottom: var(--gwn-submit-bar-h);
  padding-bottom: 0.45rem;
  z-index: 10050;
}

body.gwn-has-sticky.gwn-has-submit-bar {
  padding-bottom: calc(var(--gwn-submit-bar-h) + 5.1rem);
}

/* List stays centered near the top; sticky nav must not stretch or re-anchor it */
body.gwn-has-sticky #toggle-sidebar {
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  bottom: auto;
  transform: translateX(-50%);
}

body.theme-kev .gwn-sticky-inner {
  border-color: rgba(201, 182, 255, 0.5);
  background: rgba(255, 252, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 -4px 28px rgba(27, 26, 42, 0.08);
}

body.theme-kev .gwn-sticky-link:hover,
body.theme-kev .gwn-sticky-link:focus-visible {
  background: rgba(85, 255, 225, 0.28);
}

body.theme-kev .gwn-sticky-link.is-current {
  background: #55ffe1;
  color: #1b1a2a;
}

body.theme-mike .gwn-sticky-inner {
  border-color: rgba(61, 139, 255, 0.35);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.35);
}

body.theme-mike .gwn-sticky-link {
  color: #e8eef6;
}

body.theme-mike .gwn-sticky-link:hover,
body.theme-mike .gwn-sticky-link:focus-visible {
  background: rgba(61, 139, 255, 0.28);
}

body.theme-mike .gwn-sticky-link.is-current {
  background: #3d8bff;
  color: #061018;
}
