/* KZZIN layout header */
#header.kzzin-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(220, 227, 236, 0.92) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 18px 40px rgba(7, 17, 31, 0.08);
  backdrop-filter: blur(16px);
}

#header.kzzin-site-header.gnb_up {
  top: -86px !important;
}

.kzzin-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  font-family: "SUIT Variable", Arial, sans-serif;
}

.kzzin-brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: #07111f;
  text-decoration: none;
}

.kzzin-brand:hover {
  color: #07111f;
}

.kzzin-brand-picture {
  display: block;
  line-height: 0;
}

.kzzin-brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 144px;
  object-fit: contain;
}

.kzzin-brand-kicker,
.kzzin-drawer-head p,
.kzzin-drawer-label {
  display: block;
  margin: 0;
  color: #2458db;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.kzzin-main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.kzzin-main-nav a,
.kzzin-city-select-trigger,
.kzzin-member-chip,
.kzzin-icon-button {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  color: #07111f;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.kzzin-main-nav a,
.kzzin-city-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #dce3ec;
  color: #3e4b5f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.kzzin-main-nav a.kzzin-home-link {
  width: 36px;
  min-width: 36px;
  height: 36px;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #07111f;
}

.kzzin-main-nav a.kzzin-home-link i {
  color: #07111f;
  font-size: 17px;
}

.kzzin-main-nav a:hover,
.kzzin-city-select.is-open .kzzin-city-select-trigger,
.kzzin-city-select-trigger:hover,
.kzzin-member-chip:hover,
.kzzin-icon-button:hover {
  border-color: #2458db;
  color: #07111f;
  transform: translateY(-1px);
}

.kzzin-main-nav a.kzzin-home-link:hover {
  border: 0;
  background: transparent;
  color: #07111f;
  transform: translateY(-1px);
}

.kzzin-city-select {
  position: relative;
  display: inline-flex;
  min-width: max-content;
}

.kzzin-city-select-trigger {
  min-height: 36px;
  cursor: pointer;
}

.kzzin-city-select-trigger em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(0, 107, 255, 0.1);
  color: #006bff;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.kzzin-city-select-trigger .fa-chevron-down {
  font-size: 10px;
  transition: transform 160ms ease;
}

.kzzin-city-select.is-open .kzzin-city-select-trigger .fa-chevron-down {
  transform: rotate(180deg);
}

.kzzin-city-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1050;
  display: none;
  width: 210px;
  padding: 10px;
  border: 1px solid rgba(0, 107, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(7, 17, 31, 0.16);
}

.kzzin-city-select.is-open .kzzin-city-select-menu {
  display: grid;
  gap: 7px;
}

.kzzin-city-select-menu a,
.kzzin-city-select-menu button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 107, 255, 0.1);
  border-radius: 15px;
  background: #f8fbff;
  color: #07111f;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.kzzin-city-select-menu a:hover,
.kzzin-city-select-menu button:hover,
.kzzin-city-select-menu a.is-active {
  transform: translateY(-1px);
  border-color: transparent;
  background: linear-gradient(135deg, #006bff 0%, #00d4ff 45%, #ff2f7d 100%);
  color: #fff;
}

.kzzin-city-select-menu strong {
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}

.kzzin-city-select-menu span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

.kzzin-city-select-menu a:hover span,
.kzzin-city-select-menu button:hover span,
.kzzin-city-select-menu a.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.kzzin-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kzzin-header-actions #google_notranslate_top {
  order: 10;
}

.kzzin-header-actions .kzzin-member-chip {
  order: 20;
}

.kzzin-header-actions .kzzin-admin-button {
  order: 30;
}

.kzzin-header-actions .kzzin-logout-button {
  order: 40;
}

.kzzin-header-actions .kzzin-menu-button {
  order: 50;
}

.kzzin-translate-switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 36px;
  line-height: 1;
}

.kzzin-translate-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 20px;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.kzzin-translate-trigger:hover {
  opacity: 0.82;
}

.kzzin-translate-trigger img {
  display: block;
  width: 30px;
  height: 20px !important;
  border-radius: 4px !important;
  object-fit: cover;
}

#header.kzzin-site-header #google_notranslate_top {
  margin-left: 0;
}

#header.kzzin-site-header #google_notranslate_top::after {
  content: "";
  position: absolute;
  top: 36px;
  left: -17px;
  width: 64px;
  height: 8px;
  background: transparent;
  z-index: 999;
}

#header.kzzin-site-header #google_notranslate_top .translation-links {
  position: absolute;
  top: 41px;
  right: -17px;
  left: auto;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0 0 0 -17px;
  padding: 15px 15px 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  line-height: 1;
  z-index: 1000;
}

#header.kzzin-site-header #google_notranslate_top:hover .translation-links,
#header.kzzin-site-header #google_notranslate_top:focus-within .translation-links {
  display: block !important;
}

#header.kzzin-site-header #google_notranslate_top .translation-links a {
  display: block;
  width: 34px;
  height: auto;
  margin: 2px 0;
  padding: 0;
  border-radius: 0;
  line-height: 0;
}

#header.kzzin-site-header #google_notranslate_top .translation-links img {
  display: block;
  width: 30px;
  height: 20px !important;
  border-radius: 4px !important;
  object-fit: cover;
}

.kzzin-member-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
}

.kzzin-icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  place-items: center;
}

.kzzin-city-drawer {
  position: fixed;
  top: 0;
  right: -390px;
  z-index: 1100;
  width: min(370px, 92vw);
  height: 100vh;
  overflow: auto;
  padding: 20px;
  border-left: 1px solid #dce3ec;
  background: #fff;
  box-shadow: -20px 0 50px rgba(7, 17, 31, 0.18);
  font-family: "SUIT Variable", Arial, sans-serif;
  transition: right 220ms ease;
}

.kzzin-city-drawer.open {
  right: 0;
}

.kzzin-drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.kzzin-drawer-head h2 {
  margin: 7px 0 0;
  color: #07111f;
  font-size: 24px;
  line-height: 1.12;
  word-break: keep-all;
}

.kzzin-drawer-search {
  margin-bottom: 14px;
}

.kzzin-drawer-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

.kzzin-drawer-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  color: #07111f;
  font-size: 15px;
  font-weight: 750;
  outline: none;
}

.kzzin-drawer-search button {
  min-height: 42px;
  border: 1px solid #061027;
  border-radius: 8px;
  background: #061027;
  color: #fff;
}

.kzzin-city-queue,
.kzzin-drawer-links {
  display: grid;
  gap: 8px;
}

.kzzin-drawer-section {
  margin-top: 18px;
}

.kzzin-drawer-label {
  margin-bottom: 7px;
}

.kzzin-city-drawer .city-pill,
.kzzin-drawer-links a,
.kzzin-drawer-links button {
  display: grid;
  align-content: center;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #07111f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.kzzin-city-drawer .city-pill strong {
  display: block;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
}

.kzzin-city-drawer .city-pill span {
  color: #667085;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
}

.kzzin-drawer-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

#drawerGroups a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon meta";
  column-gap: 8px;
  row-gap: 1px;
  text-align: left;
}

#drawerGroups a i {
  grid-area: icon;
  align-self: center;
  justify-self: center;
  font-size: 17px;
}

#drawerGroups a strong {
  display: block;
  grid-area: label;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kzzin-drawer-links a span {
  color: #667085;
  font-size: 12px;
  font-weight: 850;
}

#drawerGroups a span {
  grid-area: meta;
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kzzin-member-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kzzin-city-drawer .city-pill.active,
.kzzin-city-drawer .city-pill:hover,
.kzzin-drawer-links a:hover,
.kzzin-drawer-links button:hover {
  border-color: #2458db;
  color: #2458db;
}

.kzzin-city-drawer .city-pill.active span,
.kzzin-city-drawer .city-pill:hover span,
.kzzin-drawer-links a:hover span {
  color: rgba(255, 255, 255, 0.82);
}

.kzzin-city-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 16, 39, 0.48);
  font-family: "Pretendard Variable", Pretendard, "SUIT Variable", Arial, sans-serif;
  backdrop-filter: blur(10px);
}

.kzzin-city-modal[hidden] {
  display: none !important;
}

.kzzin-city-modal-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(0, 212, 255, 0.28), transparent 42%),
    radial-gradient(circle at 100% 0, rgba(255, 47, 125, 0.26), transparent 40%),
    #fff;
  color: #07111f;
  box-shadow: 0 30px 90px rgba(6, 16, 39, 0.28);
}

.kzzin-city-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 16, 39, 0.08);
  color: #07111f;
  cursor: pointer;
}

.kzzin-city-modal-panel p {
  margin: 0 0 10px;
  color: #006bff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.kzzin-city-modal-panel h2 {
  max-width: 330px;
  margin: 0;
  color: #07111f;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.12;
  word-break: keep-all;
}

.kzzin-city-modal-panel span {
  display: block;
  margin-top: 12px;
  color: #536173;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.7;
  word-break: keep-all;
}

.kzzin-city-modal-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #006bff 0%, #00d4ff 45%, #ff2f7d 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

@media all and (max-width: 1240px) {
  .kzzin-main-nav {
    justify-content: flex-start;
    overflow: visible;
    scrollbar-width: none;
  }

  .kzzin-main-nav::-webkit-scrollbar {
    display: none;
  }
}

@media all and (max-width: 1024px) {
  .kzzin-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .kzzin-main-nav {
    display: none;
  }

  .kzzin-header-actions {
    justify-content: flex-end;
  }

  .kzzin-member-chip {
    min-height: 36px;
    padding: 0 10px;
  }

  .kzzin-icon-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
}

@media all and (max-width: 560px) {
  .kzzin-brand-logo {
    height: 34px;
    max-width: 110px;
  }

  .kzzin-member-chip {
    display: none;
  }
}

/* 2026-05 header polish for the bright KZZIN street redesign. */
#header.kzzin-site-header {
  border-bottom: 1px solid rgba(0, 107, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 18px 45px rgba(0, 107, 255, 0.1);
}

.kzzin-header-inner {
  width: min(100%, 1440px);
}

.kzzin-brand-logo {
  height: 40px;
  max-width: 132px;
}

.kzzin-main-nav a,
.kzzin-city-select-trigger,
.kzzin-member-chip,
.kzzin-icon-button {
  border-color: rgba(0, 107, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.kzzin-main-nav a.kzzin-home-link {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.kzzin-main-nav a:hover,
.kzzin-city-select.is-open .kzzin-city-select-trigger,
.kzzin-city-select-trigger:hover,
.kzzin-member-chip:hover,
.kzzin-icon-button:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #006bff 0%, #00d4ff 45%, #ff2f7d 100%);
  color: #fff;
}

.kzzin-main-nav a.kzzin-home-link:hover {
  border-color: transparent;
  background: transparent;
  color: #07111f;
}

.kzzin-city-select.is-open .kzzin-city-select-trigger em,
.kzzin-city-select-trigger:hover em {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.kzzin-drawer-search button,
.kzzin-city-drawer .city-pill.active,
.kzzin-city-drawer .city-pill:hover,
.kzzin-drawer-links a:hover,
.kzzin-drawer-links button:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #006bff 0%, #00d4ff 45%, #ff2f7d 100%);
  color: #fff;
}

.kzzin-city-drawer {
  border-left: 0;
  background: linear-gradient(180deg, #f1fbff 0%, #fff 48%, #fff5fb 100%);
}

.kzzin-city-drawer .city-pill,
.kzzin-drawer-links a,
.kzzin-drawer-links button,
.kzzin-drawer-search input {
  border-color: rgba(0, 107, 255, 0.14);
  border-radius: 18px;
}

@media all and (max-width: 560px) {
  .kzzin-brand-logo {
    height: 32px;
    max-width: 104px;
  }
}

/* Pretendard typography for navigation. */
#header.kzzin-site-header,
.kzzin-city-drawer,
.kzzin-main-nav a,
.kzzin-city-select-trigger,
.kzzin-city-select-menu,
.kzzin-member-chip,
.kzzin-icon-button,
.kzzin-translate-trigger,
.kzzin-drawer-search input,
.kzzin-drawer-search button {
  font-family: "Pretendard Variable", Pretendard, "SUIT Variable", Arial, sans-serif;
}

.kzzin-main-nav a,
.kzzin-member-chip,
.kzzin-drawer-links a,
.kzzin-drawer-links button,
.kzzin-city-drawer .city-pill {
  font-weight: 800;
}

.kzzin-drawer-head h2 {
  font-weight: 900;
}

/* Compact mobile header: keep logo/menu sizes, reduce the bar thickness. */
@media all and (max-width: 680px) {
  #header.kzzin-site-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    box-shadow: 0 8px 18px rgba(0, 107, 255, 0.08);
  }

  #header.kzzin-site-header.gnb_up {
    top: -58px !important;
  }

  #header.kzzin-site-header .kzzin-header-inner {
    width: 100% !important;
    max-width: none !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  #header.kzzin-site-header .kzzin-header-actions {
    grid-column: 3;
  }

  #header.kzzin-site-header .kzzin-brand-logo {
    height: 32px;
    max-width: 104px;
  }

  #header.kzzin-site-header .kzzin-icon-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  #header.kzzin-site-header .kzzin-translate-trigger {
    width: 30px;
    height: 36px;
  }

  .kzzin-city-drawer {
    width: min(360px, 94vw);
    padding: 14px;
  }

  .kzzin-drawer-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .kzzin-drawer-head h2 {
    margin-top: 5px;
    font-size: 21px;
    line-height: 1.14;
  }

  .kzzin-drawer-search {
    margin-bottom: 12px;
  }

  .kzzin-drawer-search form {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 7px;
  }

  .kzzin-drawer-search input,
  .kzzin-drawer-search button {
    min-height: 40px;
    border-radius: 14px;
  }

  .kzzin-city-queue,
  .kzzin-drawer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .kzzin-drawer-section {
    margin-top: 14px;
  }

  .kzzin-drawer-label {
    margin-bottom: 6px;
    font-size: 10.5px;
  }

  .kzzin-city-drawer .city-pill,
  .kzzin-drawer-links a,
  .kzzin-drawer-links button {
    min-height: 46px;
    padding: 7px 10px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.15;
  }

  .kzzin-city-drawer .city-pill {
    gap: 1px;
  }

  .kzzin-city-drawer .city-pill strong {
    font-size: 15px;
    line-height: 1.05;
  }

  .kzzin-city-drawer .city-pill span {
    font-size: 11.5px;
    line-height: 1.08;
  }

  #drawerGroups a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 7px;
    text-align: left;
  }

  #drawerGroups a i {
    font-size: 16px;
  }

  #drawerGroups a strong {
    font-size: 15px;
  }

  #drawerGroups a span {
    font-size: 10.5px;
  }
}

.kzzin-brand-kicker,
.kzzin-drawer-head p,
.kzzin-drawer-label {
  font-weight: 800;
}
