:root {
  --top-nav-height: 96px;
}

.cyzx-site-header.top-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--top-nav-height);
  padding: 20px var(--content-side-pad) 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.cyzx-site-header .top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cyzx-site-header .brand-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cyzx-site-header .logo-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: var(--small-border);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--yellow);
}

.cyzx-site-header .logo-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cyzx-site-header .logo-stack {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cyzx-site-header .logo-text {
  display: flex;
  color: var(--slate-900);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.cyzx-site-header .logo-text span {
  display: inline-block;
  will-change: transform;
  transform-origin: 50% 60%;
}

.cyzx-site-header .brand-subtitle {
  color: var(--slate-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.cyzx-site-header .header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cyzx-site-header .invite-notice-wrap {
  position: relative;
  display: inline-flex;
}

.cyzx-site-header .icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: var(--small-border);
  background: var(--white);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--yellow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cyzx-site-header .icon-btn:hover {
  transform: translateY(-3px);
}

.cyzx-site-header .icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.cyzx-site-header .notice-badge {
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--small-border);
  background: var(--pink-strong);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 0 5px;
}

@media (max-width: 720px) {
  :root {
    --top-nav-height: 118px;
    --content-side-pad: 16px;
  }

  .cyzx-site-header .top-nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cyzx-site-header .header-actions {
    width: 100%;
  }

  .cyzx-site-header .header-actions .btn {
    flex: 1;
  }
}
