/* Shared Web typography and a short, focused first-use guide. */
:root { --web-ui-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
/* Keep the shared navigation at the same scale on every Web workspace. */
.huhu-signal-nav { box-shadow: none; }
.huhu-signal-brand > span { display: none; }
.huhu-signal-account { width: 38px; height: 38px; flex-shrink: 0; }
.huhu-signal-locale a { padding: 5px 8px; min-width: 38px; }
.huhu-signal-links > a:hover { transform: none; }
@media (min-width: 1100px) {
  body { --signal-nav-height: 64px; }
  .huhu-signal-nav {
    grid-template-columns: 280px minmax(0, 1fr) auto;
    gap: 20px;
    padding: 0 36px;
  }
  .huhu-signal-brand strong { font-size: 20px; }
  .huhu-signal-brand > span { display: none; }
  .huhu-signal-links { gap: 16px; }
  .huhu-signal-links > a {
    min-height: 38px;
    padding: 0 18px;
    font-size: 14px;
  }
  .huhu-signal-sound-link img { width: 26px; height: 26px; }
}
@media (max-width: 1099px) {
  body { --signal-nav-height: 116px; }
  .huhu-signal-nav { gap: 5px 14px; padding: 7px 20px; }
  .huhu-signal-brand strong { font-size: 17px; }
  .huhu-signal-links { gap: 8px; }
  .huhu-signal-links > a { min-height: 38px; padding: 0 16px; font-size: 13px; }
  .huhu-signal-sound-link img { width: 26px; height: 26px; }
}
@media (max-width: 600px) {
  .huhu-signal-links { gap: 2px; }
  .huhu-signal-links > a { padding: 0 8px; font-size: 12px; }
  .huhu-signal-sound-link img { display: none; }
}
body, button, input, textarea, select { font-family: var(--web-ui-font); }
.huhu-signal-links, .huhu-signal-actions, .cosmo-feature-primary, .cosmo-feature-secondary,
.cosmo-test-options, .cosmo-test-question, .answer-content, .reading-content,
.answer-text, .markdown-body, .cosmo-report-reader p, .cosmo-report-reader li,
.cosmo-feature-view p, .cosmo-feature-view button, .cosmo-feature-view input,
.cosmo-web-tour p, .cosmo-web-tour button { font-family: var(--web-ui-font) !important; }
.huhu-sign-in { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #eee5dc; font: 500 16px/1 var(--web-ui-font); text-decoration: none; white-space: nowrap; }
.huhu-sign-in:hover { color: #f6d5e5; }
.huhu-help-link { display: inline-grid; place-items: center; width: 28px; height: 36px; color: #aaa0b1; text-decoration: none; font: 16px var(--web-ui-font); }
.huhu-sign-in:focus-visible, .huhu-help-link:focus-visible { outline: 2px solid #dbadc6; outline-offset: 3px; }
.cosmo-web-tour { background: transparent !important; }
.cosmo-web-tour > .cosmo-feature-backdrop { background: transparent !important; backdrop-filter: none !important; }
.cosmo-web-tour [data-tour-spotlight] { position: fixed; pointer-events: none; border-radius: 18px; box-shadow: 0 0 0 200vmax rgba(4,3,12,.72); }
.cosmo-web-tour > section { position: fixed !important; width: min(360px, calc(100vw - 32px)) !important; padding: 22px !important; border-radius: 18px !important; box-sizing: border-box; }
.cosmo-web-tour h3 { font-size: 23px; }
.cosmo-web-tour [data-web-tour-copy] { font-size: 15px; line-height: 1.7; }
.answer-body, .reading-md, .reading-md p, .reading-md li,
.cosmo-reader-page p, .cosmo-reader-page li, .monthly-reader-page p, .monthly-reader-page li,
.cosmo-question-options, .cosmo-question-option, .cosmo-question-stage h3,
.huhu-signal-links a, .huhu-signal-locale a { font-family: var(--web-ui-font) !important; }
.signal-mode-tabs button, .signal-mode-tabs strong, .signal-question-row textarea,
.cosmo-tour-actions button { font-family: var(--web-ui-font) !important; }
.web-guest-invite { max-width: 540px; margin: 36px auto; padding: 32px 24px; text-align: center; }
.web-guest-page { margin: clamp(60px, 14vh, 150px) auto; }
.web-guest-mark { display: block; color: #d8a3bf; font-size: 32px; margin-bottom: 24px; }
.web-guest-invite h1, .web-guest-invite h3 { color: #eedabb; font-family: Georgia, "Songti SC", serif; font-size: clamp(26px, 3vw, 38px); font-weight: 400; }
.web-guest-invite p { color: #b9afbf; font: 16px/1.9 var(--web-ui-font); }
.web-guest-invite > div { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
.web-guest-invite .cosmo-feature-primary { display: inline-flex; padding: 12px 28px; border-radius: 24px; color: #211824; background: #dca8c0; text-decoration: none; font: 500 15px var(--web-ui-font); }
.web-guest-register { color: #d8c7d5; text-decoration: none; font: 15px var(--web-ui-font); }
.web-guest-note { font-size: 14px !important; }
body.auth-login-page, body.auth-login-page::before { background: radial-gradient(ellipse at 65% 20%, #24192f 0, #0c0a17 60%) !important; }
body.auth-login-page::after { opacity: .07 !important; }
.auth-entry-layout.auth-ask-layout { max-width: 460px; gap: 24px; padding: 40px 20px; }
.auth-entry-layout .auth-cosmic-panel { background: rgba(26,21,35,.65) !important; border: 1px solid rgba(219,192,220,.16) !important; border-radius: 22px !important; box-shadow: none !important; padding: 30px !important; }
.auth-entry-layout .auth-brand-title { font-size: 28px !important; line-height: 1.5 !important; color: #eedabb !important; }
.auth-entry-layout .auth-cosmic-title { font-size: 22px !important; }
.auth-entry-layout .auth-cosmic-field input { font: 16px var(--web-ui-font) !important; background: #100d1b !important; border: 1px solid #403447 !important; border-radius: 10px !important; }
.auth-entry-layout .auth-cosmic-submit { background: #dca8c0 !important; color: #211824 !important; border: 0 !important; box-shadow: none !important; font: 600 16px var(--web-ui-font) !important; }

/* Guest studies share the monthly invitation, without an empty detail pane. */
.cosmo-feature-hub .cosmo-special-workspace.is-guest { display: block !important; min-height: 0; }
.cosmo-feature-hub .cosmo-special-workspace.is-guest .cosmo-special-list { width: 100%; max-width: none; }
.cosmo-feature-hub .cosmo-special-workspace.is-guest [data-feature-list="reports"] { display: block !important; }
.cosmo-feature-hub .cosmo-special-workspace.is-guest .cosmo-special-detail { display: none !important; }

body.auth-login-page .auth-entry-layout .auth-brand-title { font: 400 28px/1.5 Georgia, "Songti SC", serif !important; text-shadow: none !important; }
body.auth-login-page .auth-entry-layout .auth-cosmic-title,
body.auth-login-page .auth-entry-layout label,
body.auth-login-page .auth-entry-layout a,
body.auth-login-page .auth-entry-layout button { font-family: var(--web-ui-font) !important; letter-spacing: normal !important; }
body.auth-login-page .auth-entry-layout .auth-cosmic-actions { display: flex; flex-direction: column; gap: 14px; }
body.auth-login-page .auth-entry-layout .auth-cosmic-submit { width: 100%; background: #dca8c0 !important; box-shadow: none !important; }
body.auth-login-page .auth-entry-layout .auth-cosmic-secondary,
body.auth-login-page .auth-entry-layout .auth-cosmic-register a { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 24px; color: #cbb8cc !important; font-weight: 400 !important; }

/* Diffuse light without a box-shadow knockout or pill silhouette. */
.huhu-signal-nav .huhu-signal-links > a,
.huhu-signal-nav .huhu-signal-links > a:hover,
.huhu-signal-nav .huhu-signal-links > a.active {
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.huhu-signal-nav .huhu-signal-links > a.active {
  color: #fff7fb;
  box-shadow: none;
  text-shadow: none;
}
.huhu-signal-nav .huhu-signal-links > a:focus-visible { outline: 2px solid #d9b8cb; outline-offset: 3px; }

.huhu-signal-nav .huhu-signal-links > a.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 76px;
  transform: translate(-50%, -43%);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 48%, rgba(198, 147, 191, .24) 0%, rgba(157, 112, 177, .17) 27%, rgba(117, 80, 148, .08) 49%, transparent 74%);
  filter: blur(10px);
}

@media (max-width: 600px) {
  .huhu-signal-nav .huhu-signal-links > a.active::before { width: 90px; height: 64px; }
}
