/* Shared site navigation only. Keep tool/game styles isolated from these classes. */
@font-face {
  font-family: BunzDisplay;
  src: url('/assets/Bangers-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
.bunz-header,
.bunz-footer,
.bunz-skip,
.bunz-toast {
  color: #fff3d6;
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
.bunz-header *,
.bunz-footer *,
.bunz-skip,
.bunz-toast {
  box-sizing: border-box;
}
:where(.bunz-header a, .bunz-footer a, .bunz-skip) {
  color: inherit;
  text-decoration: none;
}
.bunz-header a,
.bunz-footer a,
.bunz-menu,
.bunz-skip {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.bunz-header a:focus-visible,
.bunz-footer a:focus-visible,
.bunz-menu:focus-visible,
.bunz-skip:focus-visible {
  outline: 3px solid #85f6d0;
  outline-offset: 5px;
}
.bunz-brand img {
  display: block;
  max-width: 100%;
}
.bunz-menu {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.bunz-wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.bunz-skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #fff3d6;
  color: #100b18;
  padding: 12px;
  z-index: 100;
}
.bunz-skip:focus {
  top: 10px;
}
.bunz-header {
  border-bottom: 1px solid #ffffff1c;
  position: relative;
  z-index: 4;
  background: #100b18ee;
}
.bunz-nav-inner {
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: 36px;
}
.bunz-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.bunz-brand img {
  width: 53px;
  height: 53px;
  clip-path: circle(49.5%);
  border-radius: 50%;
}
.bunz-brand b {
  font:
    36px/1 BunzDisplay,
    Impact,
    sans-serif;
  letter-spacing: 1px;
}
.bunz-brand small {
  display: block;
  color: #b9aabf;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 6px;
}
.bunz-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}
.bunz-links a {
  color: #d7cbdc;
  white-space: nowrap;
}
.bunz-links a:hover,
.bunz-links a[aria-current='page'] {
  color: #ff429f;
}
.bunz-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #ff429f;
  color: #220d20;
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.6px;
  line-height: 1.2;
  transition:
    transform 0.2s,
    background 0.2s;
  white-space: normal;
  text-align: center;
}
.bunz-buy:hover {
  transform: translateY(-2px);
  background: #ff72b8;
}
.bunz-buy .bunz-arrow {
  font-size: 21px;
  line-height: 1;
}
.bunz-menu {
  display: none;
  background: none;
  border: 1px solid #ffffff1c;
  border-radius: 7px;
  width: 46px;
  height: 46px;
  font-size: 22px;
}
.bunz-footer {
  padding: 30px 0;
  border-top: 1px solid #ffffff1c;
  color: #a492ac;
  font-size: 11px;
}
.bunz-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.bunz-footer-brand {
  font:
    25px BunzDisplay,
    Impact,
    sans-serif;
  color: #fff3d6;
  margin-right: 12px;
}
.bunz-footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.bunz-footer-links a:hover {
  color: #ff429f;
}
.bunz-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  padding: 12px 22px;
  background: #85f6d0;
  color: #12221c;
  box-shadow: 0 5px 35px #0008;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 100;
  max-width: calc(100% - 32px);
  text-align: center;
}
.bunz-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1050px) {
  .bunz-nav-inner {
    gap: 20px;
  }
  .bunz-links {
    gap: 18px;
  }
  .bunz-nav-inner > .bunz-buy {
    padding: 12px 18px;
  }
}
@media (max-width: 800px) {
  .bunz-wrap {
    width: calc(100% - 40px);
  }
  .bunz-nav-inner {
    min-height: 77px;
    gap: 12px;
  }
  .bunz-nav-inner > .bunz-buy {
    margin-left: auto;
  }
  .bunz-brand {
    margin-right: 0;
  }
  .bunz-brand small {
    display: none;
  }
  .bunz-links {
    gap: 15px;
    font-size: 12px;
  }
  .bunz-brand b {
    font-size: 29px;
  }
  .bunz-brand img {
    width: 43px;
    height: 43px;
  }
}
@media (max-width: 640px) {
  .bunz-wrap {
    width: calc(100% - 32px);
  }
  .bunz-nav-inner {
    min-height: 75px;
    gap: 10px;
  }
  .bunz-brand {
    gap: 9px;
  }
  .bunz-brand b {
    font-size: 29px;
  }
  .bunz-brand img {
    width: 43px;
    height: 43px;
  }
  .bunz-nav-inner > .bunz-buy {
    font-size: 11px;
    min-height: 42px;
    padding: 10px 15px;
  }
  .bunz-menu {
    display: block;
    width: 42px;
    height: 42px;
  }
  .bunz-links {
    display: none;
  }
  .bunz-links.is-open {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    border: 1px solid #6b365e;
    border-radius: 8px;
    background: #1b1027;
    box-shadow: 0 16px 40px #0009;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .bunz-links a {
    padding: 13px;
    font-size: 14px;
  }
  .bunz-footer-inner {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .bunz-footer-links {
    gap: 20px;
  }
}

.bunz-footer {
  position: relative;
  background: #100b18;
}
.bunz-header {
  padding-top: env(safe-area-inset-top, 0px);
}
body[data-screen='playing'] > .bunz-header,
body[data-screen='playing'] > .bunz-footer,
body[data-screen='playing'] > .bunz-skip,
body[data-screen='playing'] > .bunz-toast {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .bunz-buy,
  .bunz-menu,
  .bunz-toast {
    transition: none;
  }
}
