.sh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(6, 13, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
/* accent ของแต่ละโลก (ใช้ผ่านปุ่ม/โลโก้) */
.sh-course {
  --hdr-a1: var(--c-accent1);
  --hdr-a2: var(--c-accent2);
}
.sh-game {
  --hdr-a1: var(--accent1);
  --hdr-a2: var(--accent2);
}

.sh-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.sh-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.sh-brand:hover {
  text-decoration: none;
}
.sh-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #04121f;
  background: linear-gradient(120deg, var(--hdr-a1), var(--hdr-a2));
}
.sh-brandText {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sh-worldTag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  background: var(--card-hi);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
}

.sh-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.sh-nav a {
  color: var(--muted);
}
.sh-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.sh-cta {
  border-radius: 9px;
  padding: 8px 16px;
  color: #04121f !important;
  font-weight: 700;
  background: linear-gradient(120deg, var(--hdr-a1), var(--hdr-a2));
}
.sh-cta:hover {
  transform: translateY(-1px);
}

/* burger (ซ่อนบนจอใหญ่) */
.sh-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.sh-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .sh-burger {
    display: flex;
  }
  .sh-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 13, 26, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .sh-navOpen {
    max-height: 420px;
  }
  .sh-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .sh-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0 !important;
  }
}
