/* Public header, based on team.html. Do not load the retired header/nav overrides. */
:root { --wow-header-height: 76px; }
.wow-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #dce9ed;
  background: rgba(255, 255, 255, .97);
  color: #17263f;
  font: 14px/1.4 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: normal;
  text-align: left;
  color-scheme: light;
  box-shadow: 0 6px 24px rgba(36, 79, 81, .035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.wow-site-header *, .wow-site-header *::before, .wow-site-header *::after { box-sizing: border-box; }
.wow-site-header [hidden] { display: none !important; }
.wow-site-header a, .wow-site-header button {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.wow-site-header button { cursor: pointer; appearance: none; }
.wow-site-header :is(a, button):focus-visible { outline: 3px solid #2466d8; outline-offset: 3px; }
.wow-site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  min-height: 75px;
  margin-inline: auto;
  padding: 12px clamp(16px, 3vw, 40px);
}
.wow-site-header .wow-site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #17263f;
  line-height: 1;
}
.wow-site-brand img { display: block; flex: 0 0 auto; width: 40px; height: 40px; object-fit: contain; }
.wow-site-brand strong { font-size: 23px; font-weight: 800; color: inherit; line-height: 1; }
.wow-site-links { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 22px); margin-left: auto; }
.wow-site-header .wow-site-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #526780;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.wow-site-links a:hover, .wow-site-links a[aria-current="page"] { color: #0d825f; box-shadow: inset 0 -2px #66c4b4; }
.wow-site-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 10px; margin-left: auto; }
.wow-site-language { display: inline-flex; align-items: center; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid #dbe7f8; border-radius: 999px; background: #eaf0fa; }
.wow-site-language button { display: inline-flex; align-items: center; justify-content: center; min-width: 35px; min-height: 32px; padding: 3px 9px; border: 0; border-radius: 999px; background: transparent; color: #6c80a4; font-size: 13px; font-weight: 800; line-height: 1; }
.wow-site-language button[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, #182279, #2449bd 65%, #2899c0); box-shadow: 0 4px 10px rgba(24, 45, 117, .23); }
.wow-site-header .wow-site-wallet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 100px;
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, #9eff4f, #65dda0 52%, #56c6cf);
  color: #173c32;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: none;
  text-overflow: clip;
  overflow: visible;
}
.wow-site-wallet::before, .wow-site-wallet::after { content: none; }
.wow-site-header .wow-site-wallet span { display: inline; color: inherit; font: inherit; overflow: visible; }
.wow-site-wallet:hover { filter: brightness(.98); }
.wow-site-wallet:disabled { cursor: wait; opacity: .7; }
.wow-site-wallet.is-connected, .wow-site-wallet[data-wallet-state="verified"] { box-shadow: inset 0 0 0 1px rgba(34, 109, 88, .12); }
.wow-site-header .wow-site-menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 8px; border: 1px solid #dce7f6; border-radius: 12px; background: #fff; color: #17263f; box-shadow: none; }
.wow-site-menu-toggle svg { display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wow-site-menu-toggle[aria-expanded="true"] { border-color: #67b9ba; background: #f0faf7; }
.wow-site-menu { position: absolute; top: 100%; right: max(16px, calc((100vw - 1360px) / 2)); width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - var(--wow-header-height) - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 18px; border: 1px solid #dce9ed; border-radius: 0 0 20px 20px; background: #fff; box-shadow: 0 24px 48px rgba(24, 48, 67, .15); }
.wow-site-menu-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wow-site-header .wow-site-menu :is(a, button) { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #435e73; font-weight: 700; line-height: 1.4; }
.wow-site-menu a:hover, .wow-site-menu a[aria-current="page"] { background: #edf8f4; color: #147b61; }
.wow-site-local-links { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e7eff1; }
.wow-site-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e7eff1; font-size: 11px; color: #73899a; }
.wow-site-header .wow-site-notification { position: relative; flex-shrink: 0; gap: 8px; font-size: 12px; }
.wow-site-notification .notification-dot { position: static; display: none; width: 6px; height: 6px; border-radius: 50%; background: #45b48a; }
.wow-site-notification.has-unread .notification-dot { display: inline-block; }
.wow-site-feedback { position: absolute; top: calc(100% + 12px); right: 16px; max-width: min(400px, calc(100vw - 32px)); margin: 0; padding: 14px 18px; border: 1px solid #dce9ed; border-radius: 14px; color: #274d43; background: #fff; box-shadow: 0 12px 36px #17352e20; }
@media (max-width: 1119px) { .wow-site-links { display: none; } }
@media (max-width: 600px) {
  :root { --wow-header-height: 69px; }
  .wow-site-header-inner { min-height: 68px; padding: 12px 12px; gap: 8px; }
  .wow-site-brand img { width: 32px; height: 32px; }
  .wow-site-header .wow-site-brand { gap: 8px; }
  .wow-site-brand strong { font-size: 20px; }
  .wow-site-actions { gap: 6px; min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
  .wow-site-language { padding: 3px; gap: 1px; }
  .wow-site-language button { min-width: 29px; min-height: 30px; padding: 3px 7px; font-size: 12px; }
  .wow-site-header .wow-site-wallet { flex: 0 1 auto; min-width: 64px; min-height: 38px; padding: 7px 9px; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  .wow-site-header .wow-site-menu-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  .wow-site-menu { right: 12px; width: calc(100% - 24px); padding: 14px; }
  .wow-site-menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .wow-site-header-inner { padding-inline: 8px; gap: 4px; }
  .wow-site-header .wow-site-brand { gap: 4px; }
  .wow-site-brand img { width: 26px; height: 26px; }
  .wow-site-brand strong { font-size: 16px; }
  .wow-site-actions { gap: 4px; }
  .wow-site-header .wow-site-wallet { padding-inline: 8px; min-width: 70px; font-size: 11px; }
  .wow-site-language button { min-width: 25px; padding-inline: 5px; font-size: 11px; }
  .wow-site-header .wow-site-menu-toggle { flex-basis: 32px; width: 32px; height: 38px; padding: 5px; }
}

/* The IDO navigation includes both local panels and real links. Style both identically. */
.wow-section-nav {
  position: sticky;
  top: var(--wow-header-height);
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 12px 0;
  border-bottom: 1px solid #dfede9;
  background: rgba(243, 250, 247, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wow-section-nav .wow-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dce9ed;
  border-radius: 13px;
  background: #fff;
  color: #587082;
  font: 800 14px/1.4 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.wow-section-link:hover, .wow-section-link.is-active, .wow-section-link[aria-current="page"] { color: #174836; background: linear-gradient(110deg, #acfb62, #74c5cf); border-color: transparent; }
.wow-section-link:focus-visible { outline: 3px solid #2466d8; outline-offset: 2px; }
.wow-section-nav--standalone { padding-inline: 24px; max-width: 1248px; }
@media (max-width: 600px) {
  .wow-section-nav { gap: 6px; padding-block: 10px; }
  .wow-section-nav--standalone { padding-inline: 16px; }
  .wow-section-nav .wow-section-link { min-height: 42px; padding: 8px 4px; border-radius: 11px; font-size: 12px; }
}
/* 钱包已连接时的下拉菜单（切换钱包 / 断开连接） */
.wow-wallet-menu {
  display: flex; flex-direction: column;
  min-width: 168px;
  padding: 6px;
  border: 1px solid #dce9ed;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 72, 54, .14);
}
.wow-wallet-menu button {
  appearance: none; border: 0; background: transparent;
  margin: 0; padding: 10px 12px;
  border-radius: 9px;
  color: #174836;
  font: 700 14px/1.4 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.wow-wallet-menu button:hover, .wow-wallet-menu button:focus-visible { background: #eff7f4; }
.wow-wallet-menu button:last-child { color: #c23a2e; }
.wow-wallet-menu button:last-child:hover, .wow-wallet-menu button:last-child:focus-visible { background: #fdf0ef; }
