.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(3, 3, 4, 0.98), rgba(8, 8, 9, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  isolation: isolate;
}

.header-notice {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #ff8b2f 0%, #ef701a 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.header-notice-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.28rem 0;
  color: rgba(22, 16, 10, 0.95);
  font-size: 1rem;
  font-weight: 880;
  letter-spacing: -0.012em;
  line-height: 1.2;
  text-transform: lowercase;
}

.header-note-badge,
.header-note-ban {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}

.header-note-badge {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.header-note-ban {
  font-size: 1rem;
  font-weight: 900;
}

.header-note-text {
  white-space: nowrap;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  z-index: 0;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.06));
  pointer-events: none;
  z-index: 0;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem 0;
}

.header-quickbar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(96, 96, 100, 0.46), rgba(58, 58, 61, 0.4));
}

.header-quickbar-inner {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.header-quick-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.header-quick-link,
.header-quick-city {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 20, 22, 0.35);
  color: rgba(244, 244, 245, 0.88);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  padding: 0.42rem 0.66rem;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.header-quick-link:hover,
.header-quick-city:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 152, 62, 0.16);
  color: rgba(255, 255, 255, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
  transition: filter 180ms ease;
}

.brand:hover {
  filter: brightness(1.04);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2c2c30 0%, #18181b 52%, #070709 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: box-shadow 180ms ease;
}

.brand:hover .brand-mark {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}

.brand-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 1px 0 rgba(2, 6, 23, 0.3));
}

.brand-lockup {
  display: grid;
  line-height: 1.05;
}

.brand-text {
  font-size: 1rem;
  text-shadow: 0 1px 0 rgba(2, 6, 23, 0.32);
}

.brand-sub {
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.024em;
  color: rgba(229, 231, 235, 0.84);
  margin-top: 0.18rem;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .brand-sub {
    display: none;
  }
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(22, 22, 25, 0.96), rgba(10, 10, 11, 0.96));
  color: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
  transition: box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(35, 35, 38, 0.98), rgba(15, 15, 16, 0.98));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.52);
}

.nav-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.24), 0 16px 30px rgba(0, 0, 0, 0.52);
}

@media (max-width: 860px) {
  .header-inner {
    z-index: 3;
  }

  .header-notice-inner {
    min-height: 34px;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 850;
    padding: 0.3rem 0;
    flex-wrap: wrap;
  }

  .header-note-badge,
  .header-note-ban {
    width: 24px;
    height: 24px;
    border-width: 1.5px;
    font-size: 0.74rem;
  }

  .header-note-text {
    white-space: normal;
    text-align: center;
  }

  .header-quickbar-inner {
    min-height: 44px;
    padding: 0.35rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-quick-links {
    width: 100%;
  }

  .header-quick-link,
  .header-quick-city {
    font-size: 0.88rem;
    padding: 0.34rem 0.56rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-open .header-quickbar {
    display: none;
  }
}
