:root {
  --jw-shell-height: 80px;
  --jw-shell-max: 1490px;
  --jw-shell-cobalt: #264efa;
  --jw-shell-ink: #111a30;
  --jw-shell-divider: #e3e7f0;
}

.zt.jw-shell-present > .zt-sidebar,
.zt.jw-shell-present > .zt-mobile-backdrop,
.zt.jw-shell-present .zt-main > .zt-header,
body.jw-portal-present[data-page="account"] > header.top { display: none; }

.zt.jw-shell-present .zt-main {
  width: 100%;
  margin-inline-start: 0;
  min-height: calc(100vh - var(--jw-shell-height));
}

.zt.jw-shell-present[data-jw-surface="workspace"] { background: #f2f4f9; }
.jw-site-header, .jw-site-header * { box-sizing: border-box; }

.jw-site-header {
  position: sticky;
  z-index: 45;
  top: 0;
  width: 100%;
  height: var(--jw-shell-height);
  color: var(--jw-shell-ink);
  background: #fcfdfff5;
  border-bottom: 1px solid var(--jw-shell-divider);
  backdrop-filter: blur(15px);
  transition: background .24s, color .24s, border-color .24s;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

.jw-site-header[data-surface="home"]:not(.jw-site-scrolled) { background: #fff; }
.jw-site-header[data-surface="home"].jw-site-dark {
  color: #edf2ff;
  background: #0c1530f2;
  border-color: #324066;
}

.jw-shell-width { width: min(var(--jw-shell-max), calc(100% - clamp(36px, 10vw, 164px))); margin-inline: auto; }
.jw-site-line { height: 100%; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 41px); }
.jw-site-header a { color: inherit; text-decoration: none; }
.jw-site-header :is(button, a):focus-visible { outline: 2px solid #3d63ff; outline-offset: 4px; }

.jw-site-header .jw-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: inherit;
  white-space: nowrap;
  font-size: 28px;
  font-weight: 840;
  line-height: 1;
  letter-spacing: -.05em;
}
.jw-site-mark {
  position: relative;
  display: inline-block;
  width: 38px;
  aspect-ratio: 1;
  flex: none;
  border-radius: 10px;
  background: var(--jw-shell-cobalt);
}
.jw-site-mark::before,
.jw-site-mark::after {
  content:'';
  position:absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
}
.jw-site-mark::before { top: 9px; left: 9px; border-width: 2px 0 0 2px; }
.jw-site-mark::after { right: 9px; bottom: 9px; border-width: 0 2px 2px 0; }

.jw-site-header .jw-site-nav {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: clamp(2px, 1.05vw, 17px);
  padding: 0;
  margin: 0;
  white-space: nowrap;
}
.jw-site-header .jw-site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 clamp(6px, .74vw, 13px);
  border-radius: 8px;
  color: #303a50;
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.4;
  font-weight: 620;
}
.zt .jw-site-header:not(.jw-site-dark) .jw-site-nav > a { color: #303a50; }
.zt .jw-site-header:not(.jw-site-dark) .jw-site-nav > a:hover,
.zt .jw-site-header:not(.jw-site-dark) .jw-site-nav > a[aria-current="page"],
.jw-portal-present .jw-site-header .jw-site-nav > a:hover { color: #2044cd; background: #edf0ff; }
.zt .jw-site-header.jw-site-dark .jw-site-nav > a { color: #e4eaff; }
.zt .jw-site-header.jw-site-dark .jw-site-nav > a:is(:hover,[aria-current="page"]) { color: #fff; background: #263457; }

.jw-site-account {
  display: flex;
  gap: clamp(10px, 1.25vw, 22px);
  align-items: center;
  position: relative;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 660;
}
.zt .jw-site-header .jw-site-account > .jw-site-login { color: #18263e; }
.zt .jw-site-header.jw-site-dark .jw-site-account > .jw-site-login { color: #e9efff; }
.jw-site-header .jw-site-account .jw-site-login:hover,
.jw-site-header .jw-site-login[aria-current="page"] { color: #234ae3; }
.jw-site-header .jw-site-account .jw-site-register {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 92px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  color: #fff;
  background: var(--jw-shell-cobalt);
  transition: background .2s;
}
.jw-site-header .jw-site-register:hover { background: #153ac9; }
.jw-site-header .jw-profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d9dfed;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.jw-site-header [hidden] { display: none !important; }
.jw-site-menu { display: none; }
.jw-site-header .jw-profile-menu {
  display: grid;
  position: absolute;
  right: 0;
  top: calc(100% + 11px);
  min-width: 190px;
  gap: 2px;
  padding: 8px;
  background: #fff;
  color: #162744;
  box-shadow: 0 16px 38px #20376226;
  border: 1px solid #dce4f2;
  border-radius: 12px;
}
.jw-site-header .jw-profile-menu a { padding: 10px 12px; border-radius: 7px; font-size: 15px; }
.jw-site-header .jw-profile-menu a:hover { background: #edf1ff; color: #254bd3; }

.jw-shell-present .zt-footer > a.jw-inner-center { flex-shrink: 0; color: #526480; text-decoration: none; }
.jw-shell-present .zt-footer > a.jw-inner-center:hover { text-decoration: underline; }
.jw-portal-present[data-page="account"] #app { min-height: calc(100vh - var(--jw-shell-height) - 110px); }

body:has(.zt.jw-shell-present) .ache-pet-layer .ache-pet,
body:has(.zt.jw-shell-present) .ache-pet-speech { visibility: hidden !important; }

.jw-site-header .jw-coach-launch {
  display: none;
  align-items: center;
  flex: none;
  gap: 7px;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  color: #334a76;
  background: transparent;
  font-size: 15px;
  font-weight: 660;
  white-space: nowrap;
  cursor: pointer;
}
body:has(.ache-pet-layer:not([hidden])) .jw-site-header[data-surface="workspace"] .jw-coach-launch { display: inline-flex; }
.jw-site-header .jw-coach-launch:hover { color: #234ae3; background: #edf0ff; }
.jw-site-header .jw-coach-launch span { color: #3158f3; font-size: 18px; line-height: .7; letter-spacing: 1px; }

body:has(.zt.jw-shell-present) .zt-companion-panel:not([hidden]) {
  position: fixed !important;
  top: calc(var(--jw-shell-height) + 12px) !important;
  bottom: auto !important;
  right: clamp(12px, 5vw, 84px) !important;
  left: auto !important;
  max-width: calc(100vw - 24px);
  width: min(390px, calc(100vw - 24px));
}

@media (max-width: 1120px) {
  .jw-site-line { gap: 17px; }
  .jw-site-header .jw-site-nav { gap: 3px; }
  .jw-site-header .jw-site-nav a { padding-inline: 7px; font-size: 15px; }
}
@media (max-width: 980px) {
  :root { --jw-shell-height: 68px; }
  .jw-shell-width { width: calc(100% - 36px); }
  .jw-site-line { gap: 12px; }
  .jw-site-mark { width: 34px; }
  .jw-site-mark::before { top: 8px; left: 8px; }
  .jw-site-mark::after { right: 8px; bottom: 8px; }
  .jw-site-header .jw-site-brand { gap: 7px; margin-right: auto; font-size: 24px; }
  .jw-site-account { gap: 11px; font-size: 15px; }
  .jw-site-header .jw-site-nav {
    position: absolute;
    display: none;
    padding: 7px;
    inset: calc(var(--jw-shell-height) - 2px) 18px auto auto;
    width: min(300px, calc(100vw - 36px));
    align-items: stretch;
    gap: 3px;
    color: #182844;
    background: #fff;
    border: 1px solid #dde4f0;
    border-radius: 12px;
    box-shadow: 0 16px 36px #243e6226;
  }
  .jw-site-line:has(.jw-site-menu[aria-expanded="true"]) .jw-site-nav { display: grid; }
  .jw-site-header .jw-site-nav a { min-height: 47px; padding-inline: 12px; font-size: 16px; }
  .zt .jw-site-header.jw-site-dark .jw-site-nav > a { color: #182844; }
  .zt .jw-site-header.jw-site-dark .jw-site-nav > a:is(:hover,[aria-current="page"]) { color: #254bd3; background: #edf0ff; }
  .jw-site-menu {
    display: grid;
    place-content: center;
    gap: 4px;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    padding: 0;
    border: 1px solid #d8e0ed;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .jw-site-menu > span { width: 15px; height: 1.5px; border-radius: 2px; background: currentColor; }
  .jw-site-header .jw-site-account .jw-site-register { min-width: 65px; min-height: 39px; padding-inline: 10px; }
}
@media (max-width: 395px) {
  .jw-shell-width { width: calc(100% - 28px); }
  .jw-site-line { gap: 8px; }
  .jw-site-account { gap: 9px; }
  .jw-site-header .jw-coach-launch { gap: 3px; padding-inline: 3px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .jw-site-header, .jw-site-header a { transition: none; }
}

/* Shared optical brand, including the authenticated account surfaces. */
:root { --jw-shell-cobalt: #0068ee; }
.jw-site-header .jw-site-mark {
  width: 43px; aspect-ratio: 55 / 51; border-radius: 0; flex: none;
  background: url("mark-light.webp") center / contain no-repeat;
  clip-path: polygon(3% 88%,8% 72%,18% 44%,30% 11%,36% 4%,43% 2%,50% 3%,69% 18%,77% 14%,86% 17%,94% 22%,97% 32%,94% 45%,86% 55%,91% 75%,88% 80%,80% 85%,40% 89%,14% 97%,6% 96%);
}
.jw-site-mark::before,.jw-site-mark::after { content: none; }
.jw-site-header .jw-site-name { font-weight: 820; color: inherit; letter-spacing: -.04em; }
.jw-site-header .jw-site-account .jw-site-register { border-radius: 999px; color: #fff; background: linear-gradient(115deg,#00a2f2,#0456ed 68%,#0aa9f0); }
.jw-site-header[data-surface="home"] {
  --jw-shell-height: clamp(74px,6.05vw,112px);
  height: var(--jw-shell-height); margin-bottom: calc(-1 * var(--jw-shell-height));
}
.jw-site-header[data-surface="home"]:not(.jw-site-scrolled) { backdrop-filter: none; border-color: transparent; background: transparent; color: #070d18; }
.jw-site-header[data-surface="home"].jw-site-scrolled { border-color: #c3d9f0; background: #e4eeffed; }
.jw-site-header[data-surface="home"].jw-site-dark { border-color: #2c335566; background: #030718f5; color: #f5f6ff; }
.jw-site-header.jw-site-dark .jw-site-mark { background-image: url("mark-dark.webp"); clip-path: none; mix-blend-mode: lighten; }
.jw-site-header.jw-site-dark .jw-site-account .jw-site-register { background: linear-gradient(110deg,#00b9ff,#186bf5 53%,#5624fc); }
.zt .jw-site-header.jw-site-dark .jw-site-account > .jw-site-login { display: inline-grid; place-items: center; min-height: 40px; min-width: 84px; padding-inline: 16px; border: 1px solid #ccd0e9aa; border-radius: 999px; }
@media (min-width: 981px) {
  .jw-site-header .jw-shell-width { width: 89.6%; max-width: 2180px; }
  .jw-site-header .jw-site-line { gap: clamp(19px,3.65vw,80px); }
  .jw-site-header .jw-site-brand {
    position: relative; height: 46%; gap: .7vw; font-size: clamp(27px,2.39vw,47px);
    padding-right: clamp(22px,2.92vw,58px);
  }
  .jw-site-header .jw-site-brand::after { content: ""; position: absolute; right: 0; top: 8%; height: 84%; width: 1px; background: #6e80a866; }
  .jw-site-header .jw-site-mark { width: clamp(39px,3.1vw,64px); }
  .jw-site-header .jw-site-nav { gap: clamp(14px,3.28vw,66px); }
  .jw-site-header .jw-site-nav > a { position: relative; padding: 0 .29vw; border-radius: 0; font-weight: 700; font-size: clamp(15px,1.20vw,25px); }
  .zt .jw-site-header:not(.jw-site-dark) .jw-site-nav > a { color: #111b29; }
  .zt .jw-site-header .jw-site-nav > a:is(:hover,[aria-current="page"]), .jw-portal-present .jw-site-header .jw-site-nav > a:is(:hover,[aria-current="page"]) { color: #0063eb; background: none; }
  .jw-site-header .jw-site-nav > a[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; inset-inline: .25vw; height: 2.5px; background: #0965ea; }
  .zt .jw-site-header.jw-site-dark .jw-site-nav > a:is(:hover,[aria-current="page"]) { color: #fff; background: none; }
  .jw-site-header.jw-site-dark .jw-site-nav > a[aria-current="page"]::after { background: #59b6ff; box-shadow: 0 1px 9px #6085ff; }
  .jw-site-header .jw-site-account { gap: 2.25vw; font-size: clamp(16px,1.29vw,25px); }
  .jw-site-header .jw-site-register { min-width: clamp(92px,7.46vw,150px); min-height: clamp(42px,2.86vw,56px); }
  .jw-site-header[data-surface="workspace"] .jw-site-line { gap: clamp(13px,2.1vw,42px); }
  .jw-site-header[data-surface="workspace"] .jw-site-nav { gap: clamp(8px,2.15vw,44px); }
  .jw-site-header[data-surface="workspace"] .jw-site-brand { font-size: clamp(27px,2vw,38px); }
  .jw-site-header[data-surface="workspace"] .jw-site-nav > a { font-size: clamp(15px,1.05vw,21px); }
  .jw-site-header[data-surface="home"].jw-site-dark { --jw-shell-height: clamp(64px,4.12vw,84px); }
  .jw-site-header.jw-site-dark .jw-site-nav a { font-weight: 550; }
  .jw-site-header.jw-site-dark .jw-site-brand { font-size: clamp(26px,1.95vw,39px); }
  .jw-site-header.jw-site-dark .jw-site-mark { width: clamp(36px,2.75vw,54px); }
}
@media (min-width: 981px) and (max-width: 1260px) {
  .jw-site-header .jw-shell-width { width: 94%; }
  .jw-site-header .jw-site-line, .jw-site-header[data-surface="workspace"] .jw-site-line { gap: 1.4vw; }
  .jw-site-header .jw-site-nav, .jw-site-header[data-surface="workspace"] .jw-site-nav { gap: 1.4vw; }
  .jw-site-header .jw-site-brand { padding-right: 1.6vw; }
}
@media (max-width: 980px) {
 .jw-site-header[data-surface="home"] { --jw-shell-height: 66px; }
 .jw-site-header .jw-site-mark { width: 35px; }
 .zt .jw-site-header.jw-site-dark .jw-site-account > .jw-site-login { min-height: 36px; min-width: 44px; padding-inline: 8px; }
}
@font-face { font-family: "Jianwei SC"; src: url("reading-sc.woff") format("woff"); font-weight: 300 590; font-display: swap; }
@font-face { font-family: "Jianwei SC"; src: url("display-sc.woff") format("woff"); font-weight: 600 950; font-display: swap; }
.jw-site-header, .zt .jw-workspace-intro { font-family: "Jianwei SC","PingFang SC","Microsoft YaHei",sans-serif; }
@media(min-width: 981px) {
  .zt .jw-site-header .jw-site-nav > a:is(:hover,[aria-current="page"]) { background: transparent !important; box-shadow: none; }
  .jw-site-header[data-surface="home"] .jw-site-account .jw-site-register { min-width: clamp(94px,7.45vw,160px); min-height: clamp(43px,2.9vw,58px); font-size: clamp(17px,1.29vw,26px); }
  .jw-site-header[data-surface="home"]:not(.jw-site-dark) .jw-site-nav a[aria-current="page"] { font-size: clamp(17px,1.38vw,27px); }
  .jw-site-header[data-surface="home"] .jw-site-line { gap: clamp(18px,4.0vw,84px); }
  .jw-site-header[data-surface="home"].jw-site-dark .jw-site-account { gap: 1.25vw; }
}
