/* Shared header dimensions: independent of each page's rem scaling. */
:is(.hhdr, .promo-header) {
  top: 12px;
  left: 12px;
  right: 12px;
  height: 60px;
  min-height: 60px;
  border-radius: 20px;
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
:is(.hhdr, .promo-header) :is(.hhdr-in, .promo-header-in) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1280px;
  height: 60px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 40px;
}
:is(.hhdr, .promo-header) :is(.hh-logo, .promo-brand) {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  white-space: nowrap;
}
:is(.hhdr, .promo-header) :is(.hh-appicon, .promo-brand > img) {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
:is(.hhdr, .promo-header) :is(.hh-logo span, .promo-brand > span) {
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.5px;
}
:is(.hhdr, .promo-header) :is(.hh-nav, nav) {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: safe center;
  gap: 44px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
:is(.hhdr, .promo-header) :is(.hh-nav, nav) a {
  flex-shrink: 0;
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  font-size: 15px;
  line-height: 22px;
  padding: 19px 0;
}
:is(.hhdr, .promo-header) .hh-right { gap: 12px; }
:is(.hhdr, .promo-header) :is(.hh-lang, .promo-header-in > button) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 41px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
}
:is(.hhdr, .promo-header) .hh-lang svg { width: 20px; height: 20px; }
:is(.hhdr, .promo-header) .burger { width: 40px; height: 40px; gap: 5px; }
:is(.hhdr, .promo-header) .burger i { width: 16px; height: 1px; }
/* The three page links remain visible at every width; no duplicate menu control. */
:is(.hhdr, .promo-header) .hh-right .burger { display: none; }
:is(.hhdr, .promo-header) .hh-lang-menu { top: calc(100% + 8px); width: 144px; padding: 6px; border-radius: 14px; }
:is(.hhdr, .promo-header) .hh-lang-option { font-size: 13px; line-height: 20px; padding: 10px 12px; border-radius: 10px; }
@media (max-width: 1023px) {
  :is(.hhdr, .promo-header) :is(.hhdr-in, .promo-header-in) { grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; padding: 0 20px; }
  :is(.hhdr, .promo-header) :is(.hh-nav, nav) { gap: 20px; }
  :is(.hhdr, .promo-header) :is(.hh-nav, nav) a { font-size: 13px; }
  :is(.hhdr, .promo-header) :is(.hh-logo span, .promo-brand > span) { font-size: 19px; }
  :is(.hhdr, .promo-header) .promo-header-in > button { font-size: 11px; }
}
@media (max-width: 639px) {
  :is(.hhdr, .promo-header) { top: 8px; left: 8px; right: 8px; }
  :is(.hhdr, .promo-header) :is(.hhdr-in, .promo-header-in) { gap: 8px; padding: 0 16px; }
  :is(.hhdr, .promo-header) :is(.hh-nav, nav) { gap: 14px; }
  :is(.hhdr, .promo-header) .hh-right { gap: 8px; }
}
@media (max-width: 480px) {
  :is(.hhdr, .promo-header) :is(.hh-logo span, .promo-brand > span) { display: none; }
}
