:root {
  --pv-ink: #15334d;
  --pv-blue: #167eaa;
  --pv-sun: #ffd94f;
  --pv-white: #ffffff;
}

body { padding-top: 82px !important; }
body :where(input, select, textarea, button) { font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif; }
body :where(button, .button, .btn) { border-radius: 6px; }
body :where(input, select, textarea):focus { outline-color: var(--pv-blue); }

.pv-shell {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10000;
  color: var(--pv-ink);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #d8e6ec;
  box-shadow: 0 8px 26px rgba(29, 74, 96, .1);
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  backdrop-filter: blur(12px);
}
.pv-shell__nav {
  width: min(1440px, 100%);
  height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 0 34px;
}
.pv-shell__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--pv-ink);
  text-decoration: none;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.pv-shell__mark { width: 62px; height: 62px; flex: 0 0 auto; object-fit: contain; }
.pv-shell__links { display: flex; flex: 1; align-items: center; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pv-shell__links::-webkit-scrollbar { display: none; }
.pv-shell__links a { padding: 9px 11px; border-radius: 6px; color: #587184; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pv-shell__links a:hover { color: #116b91; background: #eff8fc; }
.pv-shell__links a.is-active { color: #0b7455; background: #eaf8f2; }
.pv-shell__login { min-width: 82px; padding: 10px 17px; border: 1px solid #167eaa; border-radius: 6px; color: #167eaa; background: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.pv-shell__login:hover { color: #fff; background: #167eaa; }
.pv-auth[hidden] { display: none; }
.pv-auth { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; padding: 20px; }
.pv-auth__backdrop { position: absolute; inset: 0; background: rgba(18, 49, 73, .38); backdrop-filter: blur(3px); }
.pv-auth__dialog { position: relative; width: min(100%, 390px); padding: 32px; border-radius: 10px; color: #15334d; background: #fff; box-shadow: 0 24px 70px rgba(12, 38, 57, .28); }
.pv-auth__dialog h2 { margin: 0 0 8px; font-size: 26px; }
.pv-auth__hint { margin: 0 0 22px; color: #6e8291; font-size: 14px; }
.pv-auth__close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #60778b; background: transparent; font-size: 24px; cursor: pointer; }
.pv-auth__form { display: grid; gap: 14px; }
.pv-auth__form label { display: grid; gap: 7px; color: #486174; font-size: 13px; font-weight: 700; }
.pv-auth__form input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #c9dce5; border-radius: 6px; color: #15334d; background: #fff; }
.pv-auth__form button { height: 42px; border: 0; border-radius: 6px; color: #fff; background: #167eaa; font-size: 15px; font-weight: 800; cursor: pointer; }
.pv-auth__form button:disabled { opacity: .65; cursor: wait; }
.pv-auth__message { min-height: 18px; margin: -4px 0 0; color: #c1433a; font-size: 13px; }
.pv-auth__switch { width: 100%; margin-top: 16px; border: 0; color: #167eaa; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
  body { padding-top: 126px !important; }
  .pv-shell__nav { height: 126px; display: grid; grid-template-columns: 1fr auto; gap: 0; padding: 8px 16px; }
  .pv-shell__brand { min-width: 0; font-size: 23px; }
  .pv-shell__mark { width: 58px; height: 58px; }
  .pv-shell__links { grid-column: 1 / -1; justify-content: flex-start; width: 100%; }
  .pv-shell__login { min-width: 74px; padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
