:root { --nb-header-height: 94px; }
.nb-header { position: sticky; top: 0; z-index: 50; min-height: var(--nb-header-height); padding: 20px clamp(22px,4.5vw,80px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(16,18,20,.98); border-bottom: 1px solid #ffffff24; font: 600 15px/1.5 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; color: #f5f4ee; }
.nb-brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.nb-brand img { display: block; width: 226px; max-width: 100%; height: auto; }
.nb-header nav { display: flex; align-items: center; gap: clamp(16px,2vw,30px); }
.nb-header nav a { padding: 9px 0; text-decoration: none; color: inherit; border-bottom: 2px solid transparent; white-space: nowrap; }
.nb-header nav a:hover, .nb-header nav a[aria-current] { border-color: #669bff; }
.nb-menu-toggle { display: none; border: 1px solid #68717a; color: #f5f4ee; background: transparent; padding: 9px 13px; font: inherit; cursor: pointer; }
.nb-gamebar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; padding: 18px clamp(22px,4.5vw,80px); border-bottom: 1px solid #ffffff24; background: #171a1d; color: #e5e8e9; font: 500 13px/1.5 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; }
.nb-game-title { font-size: 15px; font-weight: 700; white-space: nowrap; }
.nb-section-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.nb-section-links a { padding-block: 4px; }
.nb-section-links a:hover { color: #94b8ff; }
.nb-game-page .hero { height: auto; min-height: min(820px,100svh); padding-top: 75px; }
.nb-game-page .hero-content { padding-top: 0; }
.nb-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding: 48px clamp(22px,4.5vw,80px); background: #101214; color: #d3d6d9; border-top: 1px solid #ffffff24; font: 400 12px/1.6 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; }
.nb-footer .nb-brand img { width: 180px; }
.nb-footer nav { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.nb-footer a { font: inherit; color: inherit; text-decoration: none; }
.nb-footer p { margin: 0; font: inherit; color: #a8afb5; }
.nb-footer a:hover { color: white; }
.steam-icon { width: 22px; height: 22px; flex: 0 0 22px; display: inline-block; vertical-align: middle; }
.button.steam-button { justify-content: center; gap: 12px; }
@media (max-width: 1100px) {
  :root { --nb-header-height: 122px; }
  .nb-header { padding-block: 16px; gap: 14px; flex-wrap: wrap; }
  .nb-languages { flex-basis: 100%; justify-content: flex-end; }
  .nb-brand img { width: 190px; }
  .nb-menu-toggle { display: block; }
  .nb-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #171a1d; border-bottom: 1px solid #ffffff36; padding: 20px 24px; gap: 8px; align-items: stretch; flex-direction: column; }
  .nb-header nav.is-open { display: flex; }
  .nb-header nav a { padding: 12px 0; }
  .nb-gamebar { gap: 10px 20px; padding-block: 14px; }
  .nb-gamebar .nb-section-links { order: 3; flex-basis: 100%; gap: 10px 18px; }
  .nb-game-page .hero { padding-top: 48px; }
}
@media (max-width: 420px) {
  .nb-brand img { width: 166px; }
  .nb-header { padding-inline: 20px; }
  .nb-menu-toggle { font-size: 12px; }
  .nb-gamebar { padding-inline: 20px; }
  .nb-gamebar .nb-game-title { font-size: 13px; }
  .nb-footer { flex-direction: column; align-items: flex-start; }
}

.nb-languages { display: flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 12px; }
.nb-languages a { padding: 8px 7px; color: #b7bec6; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nb-languages a:hover, .nb-languages a[aria-current="page"] { color: #fff; border-color: #669bff; }
.nb-header a:focus-visible, .nb-menu-toggle:focus-visible { outline: 2px solid #94b8ff; outline-offset: 4px; }

html { scroll-padding-top: calc(var(--nb-header-height) + 18px); }
