:root {
  --nkf-font-sans: var(--font-inter), var(--font-noto-sans), "Noto Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nkf-color-canvas: #ffffff;
  --nkf-color-canvas-subtle: #f5f7fa;
  --nkf-color-surface: #ffffff;
  --nkf-color-surface-muted: #f8f9fb;
  --nkf-color-text: #17181b;
  --nkf-color-text-secondary: #5f6470;
  --nkf-color-text-tertiary: #858b96;
  --nkf-color-line: #e2e5ea;
  --nkf-color-line-strong: #cfd4dc;
  --nkf-color-brand: #2563eb;
  --nkf-color-brand-strong: #1d4ed8;
  --nkf-color-brand-soft: #eef4ff;
  --nkf-color-positive: #047857;
  --nkf-color-positive-soft: #ecfdf5;
  --nkf-color-negative: #b42318;
  --nkf-color-negative-soft: #fef3f2;

  --nkf-radius-sm: 8px;
  --nkf-radius-md: 10px;
  --nkf-radius-lg: 16px;
  --nkf-radius-xl: 20px;
  --nkf-radius-pill: 999px;

  --nkf-space-1: 4px;
  --nkf-space-2: 8px;
  --nkf-space-3: 12px;
  --nkf-space-4: 16px;
  --nkf-space-6: 24px;
  --nkf-space-8: 32px;
  --nkf-space-12: 48px;
  --nkf-space-16: 64px;
  --nkf-space-20: 80px;

  --nkf-shadow-flyout: 0 18px 48px rgba(23, 24, 27, 0.12);
  --nkf-shadow-drawer: -16px 0 48px rgba(23, 24, 27, 0.12);
  --nkf-content-max: 1440px;
  --nkf-header-max: 1280px;
  --nkf-control-height: 44px;
  --nkf-transition-fast: 150ms ease;
}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('/games/kfood-picks/assets/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0-FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Fallback';src:local(Arial);ascent-override:90.44%;descent-override:22.52%;line-gap-override:0%;size-adjust:107.12%}
.nkf-header-topBar {
  font-family: Inter, "Inter Fallback", "Apple SD Gothic Neo", "Hiragino Sans", "Malgun Gothic", "Microsoft YaHei", "Segoe UI", sans-serif;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid color-mix(in srgb, var(--nkf-color-line) 88%, transparent);
  background: color-mix(in srgb, var(--nkf-color-canvas) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
}

.nkf-header-header {
  width: min(var(--nkf-header-max), 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 var(--nkf-space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nkf-space-6);
}

.nkf-header-headerSpacer {
  height: 65px;
  flex-shrink: 0;
}

.nkf-header-logoLink {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--nkf-color-brand);
  text-decoration: none;
}

.nkf-header-logoImage {
  width: auto;
  height: 34px;
  display: block;
  object-fit: contain;
}

.nkf-header-logoText {
  color: var(--nkf-color-brand);
  font-size: 1.34rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.nkf-header-rightGroup,
.nkf-header-nav {
  display: flex;
  align-items: center;
}

.nkf-header-rightGroup {
  min-width: 0;
  gap: var(--nkf-space-3);
}

.nkf-header-nav {
  gap: 28px;
  color: var(--nkf-color-text-secondary);
  font-size: 0.9rem;
  font-weight: 550;
}

.nkf-header-nav a,
.nkf-header-loginLink,
.nkf-header-logoutButton {
  position: relative;
  border: 0;
  padding: 22px 0 20px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--nkf-transition-fast);
}

.nkf-header-nav a:hover,
.nkf-header-loginLink:hover,
.nkf-header-logoutButton:hover {
  color: var(--nkf-color-text);
}

.nkf-header-activeLink {
  color: var(--nkf-color-brand) !important;
}

.nkf-header-activeLink::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  border-radius: var(--nkf-radius-pill);
  background: var(--nkf-color-brand);
  content: "";
}

.nkf-header-navDivider {
  display: none;
}

.nkf-header-langWrapper,
.nkf-header-dropdownLangWrapper {
  position: relative;
}

.nkf-header-langButton {
  min-width: 66px;
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--nkf-color-line-strong);
  border-radius: var(--nkf-radius-pill);
  background: var(--nkf-color-canvas);
  color: var(--nkf-color-text-secondary);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color var(--nkf-transition-fast), color var(--nkf-transition-fast);
}

.nkf-header-langButton:hover {
  border-color: var(--nkf-color-text-tertiary);
  color: var(--nkf-color-text);
}

.nkf-header-langIcon {
  font-size: 1rem;
}

.nkf-header-langCode {
  font-weight: 650;
  letter-spacing: 0.04em;
}

.nkf-header-langDropdown,
.nkf-header-langDropdownMobile {
  min-width: 150px;
  padding: var(--nkf-space-2);
  border: 1px solid var(--nkf-color-line);
  border-radius: var(--nkf-radius-md);
  background: var(--nkf-color-canvas);
  box-shadow: var(--nkf-shadow-flyout);
}

.nkf-header-langDropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
}

.nkf-header-langDropdownMobile {
  position: relative;
  margin: var(--nkf-space-2) var(--nkf-space-3) 0;
}

.nkf-header-langOption {
  width: 100%;
  min-height: 40px;
  padding: 0 var(--nkf-space-3);
  display: flex;
  align-items: center;
  gap: var(--nkf-space-2);
  border: 0;
  border-radius: var(--nkf-radius-sm);
  background: transparent;
  color: var(--nkf-color-text-secondary);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.nkf-header-langOption:hover,
.nkf-header-langOptionActive {
  background: var(--nkf-color-canvas-subtle);
  color: var(--nkf-color-text);
}

.nkf-header-select {
  min-height: 40px;
  border: 1px solid var(--nkf-color-line-strong);
  border-radius: var(--nkf-radius-md);
  background: var(--nkf-color-canvas);
}

.nkf-header-menuButton {
  display: none;
}

.nkf-header-dropdownMenu {
  position: absolute;
  top: calc(100% + 1px);
  right: var(--nkf-space-4);
  z-index: 49;
  min-width: min(280px, calc(100vw - 32px));
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--nkf-color-line-strong) transparent;
  padding: var(--nkf-space-2);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--nkf-color-line);
  border-radius: var(--nkf-radius-lg);
  background: var(--nkf-color-canvas);
  box-shadow: var(--nkf-shadow-flyout);
}

.nkf-header-dropdownMenu a,
.nkf-header-mobileAuthButton {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--nkf-space-3);
  display: flex;
  align-items: center;
  border: 0;
  border-radius: var(--nkf-radius-sm);
  background: transparent;
  color: var(--nkf-color-text);
  font-size: 0.95rem;
  font-weight: 550;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nkf-header-dropdownMenu a:hover,
.nkf-header-mobileAuthButton:hover {
  background: var(--nkf-color-canvas-subtle);
}

@media (max-width: 900px) {
  .nkf-header-nav {
    gap: 18px;
    font-size: 0.85rem;
  }
}

.nkf-header-mobileActiveLink {
  background: var(--nkf-color-canvas-subtle);
  color: var(--nkf-color-brand) !important;
}

@media (max-width: 1023px) {
  .nkf-header-nav { display: none; }
  .nkf-header-menuButton {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--nkf-color-brand);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }
}

@media (max-width: 767px) {
  .nkf-header-header {
    min-height: 60px;
    padding: 0 var(--nkf-space-4);
  }

  .nkf-header-headerSpacer {
    height: 61px;
  }

  .nkf-header-logoImage {
    height: 30px;
  }

  .nkf-header-logoText {
    font-size: 1.18rem;
  }

  .nkf-header-nav {
    display: none;
  }

  .nkf-header-rightGroup {
    margin-left: auto;
    gap: var(--nkf-space-2);
  }

  .nkf-header-langButton {
    min-width: 62px;
    min-height: 38px;
    padding: 0 11px;
  }

  .nkf-header-langButton[data-language="en"],
  .nkf-header-langButton[data-language="zh-CN"] {
    font-size: 0.85rem;
  }

  .nkf-header-menuButton {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--nkf-color-brand);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
  }
}

@media (max-width: 390px) {
  .nkf-header-header {
    min-height: 58px;
    padding: 0 10px;
    gap: 6px;
  }

  .nkf-header-headerSpacer {
    height: 59px;
  }

  .nkf-header-logoLink {
    gap: 5px;
    flex: 0 1 auto;
  }

  .nkf-header-logoImage {
    height: 27px;
    flex: 0 0 auto;
  }

  .nkf-header-logoText {
    display: inline;
    min-width: 0;
    overflow: hidden;
    font-size: clamp(0.88rem, 4.7vw, 1.05rem);
    letter-spacing: -0.055em;
    text-overflow: clip;
  }

  .nkf-header-rightGroup {
    flex: 0 0 auto;
    gap: 2px;
  }

  .nkf-header-langButton {
    min-width: 56px;
    min-height: 36px;
    padding: 0 8px;
    gap: 5px;
  }

  .nkf-header-menuButton {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }
}
