/* 上上题库系统 - 全站主样式（禁止页面内嵌 style） */
:root {
  --st-brand-green: #12A35A;
  --st-brand-green-dark: #0E8449;
  --st-brand-black: #1A1A1A;
  --st-brand-bg: #F7F9F2;
  --st-brand-gray: #E8E8E8;
  --st-brand-orange: #FF7A00;
  --st-primary: var(--st-brand-green);
  --st-primary-dark: var(--st-brand-green-dark);
  --st-primary-soft: #E8F5EE;
  --st-primary-border: #B8E0C8;
  --st-bg: var(--st-brand-bg);
  --st-card: #ffffff;
  --st-text: var(--st-brand-black);
  --st-muted: #6b7280;
  --st-border: var(--st-brand-gray);
  --st-success: var(--st-brand-green);
  --st-accent: var(--st-brand-orange);
  --st-danger: #dc2626;
  --st-radius: 12px;
  --st-shadow: 0 2px 8px rgba(26, 26, 26, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.st-body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--st-text);
  background: var(--st-bg);
  min-height: 100vh;
}

.st-header {
  background: var(--st-card);
  border-bottom: 1px solid var(--st-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.st-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.st-logo { font-size: 18px; font-weight: 700; color: var(--st-brand-black); text-decoration: none; }

.st-logo-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.25;
}

.st-logo__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.st-logo__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.st-logo__domain {
  font-size: 11px;
  font-weight: 500;
  color: var(--st-muted);
  letter-spacing: 0.02em;
}

.st-header-home {
  flex-shrink: 0;
  white-space: nowrap;
}

.st-track-tabs {
  display: flex;
  gap: 4px;
  background: var(--st-bg);
  padding: 4px;
  border-radius: var(--st-radius);
}

.st-track-tab {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--st-muted);
  font-weight: 500;
}

.st-track-tab--active {
  background: var(--st-card);
  color: var(--st-primary);
  box-shadow: var(--st-shadow);
}

.st-profile-select {
  padding: 6px 12px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-card);
}

.st-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.st-hero {
  background: linear-gradient(145deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
  color: #fff;
  border-radius: var(--st-radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--st-shadow);
}

.st-hero__brand {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
}

.st-hero--auth {
  text-align: center;
}

.st-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.14);
  padding: 4px;
}

.st-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.st-hero__logo {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  object-fit: contain;
}

.st-hero--auth .st-logo-badge {
  margin: 0 auto 12px;
}

.st-auth-page {
  max-width: 440px;
  margin: 0 auto 32px;
  padding: 0 4px;
}

.st-auth-page .st-hero--auth {
  padding: 24px 20px 32px;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}

.st-auth-page .st-hero--auth .st-hero__title {
  font-size: 24px;
  margin-bottom: 6px;
}

.st-auth-page .st-auth-wrap {
  margin: -18px auto 0;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.st-auth-page .st-auth-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.1);
}

.st-auth-page .st-auth-tabs {
  gap: 4px;
  background: var(--st-primary-soft);
  border-bottom: none;
  padding: 6px;
  border-radius: 12px 12px 0 0;
}

.st-auth-page .st-auth-tab {
  border-bottom: none;
  border-radius: 8px;
  margin-bottom: 0;
  font-weight: 500;
}

.st-auth-page .st-auth-tab--active {
  background: var(--st-card);
  color: var(--st-primary);
  box-shadow: 0 1px 4px rgba(26, 26, 26, 0.08);
  font-weight: 600;
}

.st-auth-page .st-auth-body {
  padding: 24px 22px 22px;
}

.st-auth-page .st-auth-form .st-form-field input[type="text"],
.st-auth-page .st-auth-form .st-form-field input[type="password"],
.st-auth-page .st-auth-form .st-form-field input[type="tel"] {
  border-radius: 10px;
  background: var(--st-brand-bg);
  border-color: var(--st-border);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.st-auth-page .st-auth-form .st-form-field input:focus {
  border-color: var(--st-primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.st-auth-page .st-btn--primary.st-btn--block {
  border-radius: 24px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}

.st-auth-page .st-auth-foot {
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--st-border);
  color: var(--st-muted);
}

.st-auth-page .st-auth-msg {
  border-radius: 10px;
  margin-bottom: 12px;
}

.st-auth-page .st-auth-msg--error {
  margin-bottom: 0;
}

.st-auth-page > .st-auth-wrap > .st-auth-msg--error {
  margin-bottom: 12px;
}

.st-hero__title { font-size: 20px; margin-bottom: 8px; }

.st-hero p,
.st-hero__desc {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.st-hero p:last-child,
.st-hero__desc:last-child {
  margin-bottom: 0;
}

.st-hero__desc--vip {
  font-weight: 500;
  color: #fff;
}

.st-hero__link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.st-hero__action {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background: #fff;
  color: var(--st-primary);
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.12);
}

.st-hero--track {
  padding: 24px 20px;
  border-radius: 16px;
}

.st-hero--track__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.st-hero--track__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.st-hero--track__site {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}

.st-hero--track__tagline {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: 0.78;
}

.st-hero--track .st-hero__title {
  font-size: 22px;
  margin-bottom: 6px;
}

.st-hero--sub {
  border-radius: 16px;
  padding: 22px 20px;
}

.st-hero--sub .st-hero__title {
  font-size: 22px;
  margin-bottom: 6px;
}

.st-hero--sub .st-hero__desc.st-muted {
  color: rgba(255, 255, 255, 0.85);
}

.st-track-section {
  margin-bottom: 20px;
}

.st-track-section__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--st-text);
  margin: 0 0 12px;
  padding-left: 2px;
}

.st-track-section .st-nav-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}

.st-track-section .st-nav-card {
  border: none;
  border-radius: 16px;
  padding: 18px 12px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.st-track-section .st-nav-card:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.14);
  text-decoration: none;
}

.st-track-section .st-nav-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--st-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-track-section .st-nav-card__icon {
  font-size: 24px;
  margin-bottom: 0;
  line-height: 1;
  display: block;
}

.st-track-section .st-nav-card__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text);
  line-height: 1.35;
}

.st-track-section--shortcuts .st-shortcuts {
  margin-top: 0;
  padding: 14px 16px;
  background: var(--st-card);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-track-section--shortcuts .st-chip:hover {
  border-color: var(--st-primary-border);
  background: var(--st-primary-soft);
  color: var(--st-primary);
  text-decoration: none;
}

.st-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.st-user-nav {
  margin-top: 24px;
}

.st-nav-card {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--st-text);
  transition: border-color .2s, box-shadow .2s;
}

.st-nav-card:hover {
  border-color: var(--st-primary);
  box-shadow: var(--st-shadow);
}

.st-nav-card__icon { font-size: 28px; margin-bottom: 8px; }

.st-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.st-chip {
  padding: 6px 12px;
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--st-text);
  font-size: 13px;
}

.st-muted { color: var(--st-muted); margin-bottom: 12px; }

.st-card-form {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 20px 22px;
  max-width: 520px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-card-form .st-form-field {
  margin-bottom: 16px;
}

.st-card-form .st-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.st-card-form .st-form-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.5;
}

.st-card-form .st-form-static {
  margin: 0;
  padding: 10px 12px;
  background: var(--st-bg);
  border-radius: var(--st-radius);
  line-height: 1.5;
}

.st-card-form .st-form-hint--block {
  margin: 0;
  padding: 10px 12px;
  background: var(--st-bg);
  border-radius: var(--st-radius);
}

.st-form-field--hidden {
  display: none;
}

.st-card-form input[type="text"],
.st-card-form input[type="password"],
.st-card-form input[type="number"],
.st-card-form input[type="search"],
.st-card-form select,
.st-card-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: var(--st-card);
  font-size: 14px;
}

.st-card-form textarea {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.st-card-form .st-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 232, 232, 0.8);
}

.st-card-form .st-btn--primary {
  border-radius: 24px;
}

.st-card-form--wide {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .st-card-form--wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .st-card-form--wide > input[type="hidden"],
  .st-card-form--wide .st-form-field--full,
  .st-card-form--wide .st-form-actions {
    grid-column: 1 / -1;
  }
}

.st-vol-subject-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.st-vol-subject-pair select {
  flex: 1 1 140px;
  min-width: 0;
}

.st-vol-autofill {
  margin-top: 20px;
}

.st-vol-autofill__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.st-vol-autofill__years {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.st-vol-autofill__radio,
.st-vol-autofill__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
}

.st-vol-autofill-hint {
  margin-top: 16px;
}

.st-auth-wrap {
  max-width: 420px;
  margin: 0 auto 24px;
}

.st-auth-wrap--live {
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
}

.st-live-verify-hero {
  margin-bottom: 16px;
}

.st-auth-wrap--live .st-auth-body {
  padding: 20px 22px 22px;
}

.st-auth-wrap--live .st-auth-sms-row {
  max-width: 480px;
}

.st-auth-wrap--account {
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.st-auth-wrap--account .st-auth-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.st-auth-wrap--account .st-auth-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.st-auth-wrap--account .st-auth-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.st-auth-wrap--account .st-auth-form > .st-btn--block {
  margin-top: auto;
}

.st-auth-wrap--account .st-auth-foot {
  grid-column: 1 / -1;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .st-auth-wrap--account {
    grid-template-columns: 1fr;
  }
}

.st-auth-card {
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  box-shadow: var(--st-shadow);
  overflow: hidden;
}

.st-auth-card--spaced {
  margin-top: 1.25rem;
}

.st-auth-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.st-form-actions--tight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.st-auth-hint--ok {
  color: var(--st-success, #15803d);
}

.st-auth-hint--error {
  color: #b91c1c;
}

.st-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
}

.st-modal-overlay[hidden] {
  display: none !important;
}

.st-modal {
  width: min(100%, 420px);
  background: var(--st-card, #fff);
  border: 1px solid var(--st-border, #e2e8f0);
  border-radius: var(--st-radius, 12px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  padding: 1.25rem 1.25rem 1rem;
}

.st-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.st-modal__body {
  margin: 0 0 1rem;
  color: var(--st-text-muted, #64748b);
  font-size: 0.92rem;
  line-height: 1.55;
}

.st-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.st-cs-fab {
  position: fixed;
  right: 8px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: none;
  border-radius: 999px;
  padding: 12px;
  max-width: 44px;
  background: var(--st-primary, #1677ff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.35);
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    max-width 0.35s ease,
    padding 0.35s ease,
    gap 0.35s ease,
    right 0.35s ease,
    box-shadow 0.25s ease,
    filter 0.2s ease;
}

.st-cs-fab__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.st-cs-fab__text {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.35s ease, opacity 0.25s ease 0.05s;
}

.st-cs-fab.st-cs-fab--expanded {
  right: 18px;
  max-width: 220px;
  padding: 12px 18px;
  gap: 8px;
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(22, 119, 255, 0.42);
}

.st-cs-fab.st-cs-fab--expanded .st-cs-fab__text {
  max-width: 160px;
  opacity: 1;
}

@media (min-width: 641px) {
  .st-cs-fab:hover {
    right: 18px;
    max-width: 220px;
    padding: 12px 18px;
    gap: 8px;
    filter: brightness(1.05);
    box-shadow: 0 10px 28px rgba(22, 119, 255, 0.42);
  }

  .st-cs-fab:hover .st-cs-fab__text {
    max-width: 160px;
    opacity: 1;
  }
}

.st-cs-modal {
  max-width: 420px;
}

.st-cs-modal__qr-wrap {
  text-align: center;
  margin: 0.75rem 0 0.25rem;
}

.st-cs-modal__qr {
  display: inline-block;
  width: 220px;
  height: 220px;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  background: #fff;
}

.st-cs-modal__link-wrap {
  margin-top: 0.75rem;
}

.st-cs-modal__link {
  word-break: break-all;
  font-size: 13px;
}

.st-auth-tabs {
  display: flex;
  gap: 0;
  background: var(--st-bg);
  border-bottom: 1px solid var(--st-border);
  padding: 0;
}

.st-auth-tab {
  flex: 1;
  padding: 12px 8px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--st-muted);
  font-weight: 500;
  margin-bottom: -1px;
}

.st-auth-tab--active {
  background: var(--st-card);
  color: var(--st-primary);
  border-bottom-color: var(--st-primary);
  font-weight: 600;
}

.st-auth-body { padding: 24px 20px 20px; }

.st-auth-panel { display: none; }
.st-auth-panel--active { display: block; }

.st-auth-form .st-form-field { margin-bottom: 16px; }

.st-form-field--hidden { display: none !important; }

.st-auth-form .st-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
}

.st-auth-form .st-form-field input[type="text"],
.st-auth-form .st-form-field input[type="password"],
.st-auth-form .st-form-field input[type="tel"] {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  font-size: 14px;
}

.st-auth-sms-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.st-auth-sms-row input {
  flex: 1;
  min-width: 0;
}

.st-auth-sms-row .st-btn {
  flex-shrink: 0;
  align-self: stretch;
  white-space: nowrap;
  padding-left: 12px;
  padding-right: 12px;
}

.st-auth-captcha-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.st-auth-captcha-row input {
  flex: 1;
  min-width: 80px;
  max-width: 120px;
  text-transform: uppercase;
}

.st-captcha-box {
  width: 120px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: #f8fafc;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-captcha-box svg {
  display: block;
  width: 120px;
  height: 44px;
}

.st-captcha-box--err {
  font-size: 11px;
  color: var(--st-danger);
  text-align: center;
  padding: 4px;
  line-height: 1.3;
}

.st-btn-captcha-refresh {
  flex-shrink: 0;
  font-size: 13px;
  padding: 8px 10px;
}

.st-auth-hint {
  font-size: 12px;
  color: var(--st-muted);
  margin: 8px 0 0;
  line-height: 1.5;
}

.st-auth-actions { margin-top: 8px; }

.st-btn--block {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.st-auth-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--st-border);
  font-size: 13px;
  color: var(--st-muted);
  text-align: center;
}

.st-auth-foot a { color: var(--st-primary); text-decoration: none; font-weight: 600; }

.st-auth-wechat-tip {
  color: var(--st-muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.st-wechat-setup {
  margin: 0 0 16px 18px;
  padding: 0;
  font-size: 13px;
  color: var(--st-text);
  line-height: 1.75;
}

.st-wechat-setup li { margin-bottom: 10px; }

.st-wechat-warn {
  color: var(--st-danger);
  font-weight: 600;
}

.st-wechat-qr-wrap {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--st-border, #e2e8f0);
  border-radius: var(--st-radius);
  max-width: 320px;
}

.st-wechat-qr-wrap iframe {
  border: 0;
  width: 300px !important;
  height: 400px !important;
}

.st-wechat-mp-block {
  margin-top: 4px;
}

.st-wechat-mp-block--split {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--st-border, #e2e8f0);
}

.st-wechat-callback-hint {
  margin-top: 12px;
  word-break: break-all;
}

.st-auth-msg {
  padding: 10px 12px;
  border-radius: var(--st-radius);
  margin-bottom: 12px;
  font-size: 13px;
}

.st-auth-msg--error {
  background: #fef2f2;
  color: var(--st-danger);
  border: 1px solid #fecaca;
}

.st-auth-msg--ok {
  background: #ecfdf5;
  color: var(--st-success);
  border: 1px solid #a7f3d0;
}

.st-auth-code {
  font-family: Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
}

.st-log {
  background: #1e293b;
  color: #e2e8f0;
  padding: 12px;
  border-radius: var(--st-radius);
  overflow-x: auto;
  font-size: 12px;
  margin: 12px 0;
}

.st-footer {
  text-align: center;
  padding: 28px 20px 32px;
  margin-top: 8px;
  border-top: 1px solid rgba(232, 232, 232, 0.9);
  background: var(--st-card);
  color: var(--st-muted);
  font-size: 12px;
}

.st-footer__links {
  margin-bottom: 10px;
}

.st-footer__links a {
  color: var(--st-primary);
  text-decoration: none;
  font-size: 13px;
}

.st-footer__links a:hover {
  text-decoration: underline;
}

.st-footer__brand {
  margin: 0 0 8px;
  font-size: 13px;
}

.st-footer__domain {
  color: var(--st-primary);
  text-decoration: none;
  font-weight: 600;
}

.st-footer__domain:hover {
  text-decoration: underline;
}

.st-footer__sep {
  margin: 0 8px;
  color: var(--st-border);
}

.st-footer__beian {
  margin: 8px 0 0;
}

.st-footer__beian a {
  color: var(--st-muted);
  text-decoration: none;
}

.st-footer__beian a:hover {
  color: var(--st-primary);
  text-decoration: underline;
}

.st-help-doc {
  width: 100%;
  max-width: none;
  margin: 0 0 32px;
  padding: 0 0 24px;
}

.st-help-doc__section {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.st-help-doc__section h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.st-help-doc__section ul,
.st-help-doc__section ol {
  margin: 0;
  padding-left: 1.25em;
}

.st-help-doc__section li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.st-help-doc__section p {
  margin: 0 0 10px;
  line-height: 1.65;
}

.st-help-doc__section a {
  color: var(--st-primary);
}

.st-help-faq dt {
  font-weight: 600;
  margin-top: 12px;
}

.st-help-faq dt:first-child {
  margin-top: 0;
}

.st-help-faq dd {
  margin: 6px 0 0;
  color: var(--st-muted);
  line-height: 1.65;
}

.st-legal-list {
  padding-left: 1.35em;
}

.st-legal-list li {
  margin-bottom: 10px;
}

.st-legal-contact {
  font-size: 16px;
  font-weight: 600;
}

.st-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--st-radius);
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}

.st-btn--primary { background: var(--st-primary); color: #fff; }
.st-btn--ghost { background: transparent; border: 1px solid var(--st-border); color: var(--st-text); }
.st-btn--outline {
  background: #fff;
  border: 2px solid var(--st-primary);
  color: var(--st-primary);
}
.st-btn--outline:hover {
  background: var(--st-primary-soft);
  color: var(--st-primary);
}
.st-btn--lg {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
}
.st-btn--vip {
  background: linear-gradient(135deg, var(--st-brand-orange) 0%, #E56D00 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.35);
}
.st-btn--vip:hover { filter: brightness(1.05); color: #fff; }

.st-vol-disabled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
  align-items: center;
}

.st-auth-panel { max-width: 520px; }
.st-auth-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: var(--st-bg); padding: 4px; border-radius: var(--st-radius); }
.st-auth-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--st-muted);
}
.st-auth-tab--active { background: var(--st-card); color: var(--st-primary); box-shadow: var(--st-shadow); font-weight: 600; }
.st-auth-pane { display: none; }
.st-auth-pane--active { display: block; }
.st-auth-sms-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.st-auth-sms-row input { flex: 1; min-width: 120px; }
.st-auth-msg { padding: 10px 12px; border-radius: var(--st-radius); margin-bottom: 12px; }
.st-auth-msg--error { background: #fef2f2; color: var(--st-danger); }
.st-auth-msg--ok { background: #ecfdf5; color: var(--st-success); }
.st-auth-msg--warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.st-auth-msg--hidden { display: none; }
.st-auth-foot { margin-top: 12px; }

.st-ad-slot {
  margin: 16px 0;
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  border-radius: var(--st-radius);
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.st-ad-slot__link {
  display: block;
  width: 100%;
  line-height: 0;
}

.st-ad-slot__img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: var(--st-radius);
  box-sizing: border-box;
}

.st-ad-carousel {
  position: relative;
  padding: 0;
  width: 100%;
  max-width: 100%;
  isolation: isolate;
}

.st-ad-carousel__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: var(--st-radius);
  position: relative;
}

.st-ad-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s ease;
  will-change: transform;
}

.st-ad-carousel__slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.st-ad-carousel__slide .st-ad-slot__link,
.st-ad-carousel__slide .st-ad-slot__img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.st-ad-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  pointer-events: auto;
}

.st-ad-carousel__btn--prev { left: 8px; }
.st-ad-carousel__btn--next { right: 8px; }

.st-ad-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
}

.st-ad-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--st-border);
  cursor: pointer;
}

.st-ad-carousel__dot--active {
  background: var(--st-primary);
}

.st-btn--sm {
  padding: 4px 10px;
  font-size: 12px;
}

.st-vip-section__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--st-text);
}

.st-vip-section__hint {
  font-weight: normal;
  font-size: 0.9rem;
  color: var(--st-muted);
}

.st-vip-account {
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-vip-account__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px 24px;
  margin: 0;
}

.st-vip-account__item dt {
  font-size: 12px;
  color: var(--st-muted);
  margin: 0 0 4px;
}

.st-vip-account__item dd {
  margin: 0;
  font-size: 14px;
}

.st-vip-orders {
  margin-bottom: 20px;
}

.st-vip-orders__box {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 12px 16px;
  overflow-x: auto;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-vip-orders__empty {
  margin: 8px 0;
  font-size: 13px;
}

.st-vip-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.st-vip-orders-table th,
.st-vip-orders-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--st-border);
}

.st-vip-orders-table th {
  font-weight: 600;
  color: var(--st-muted);
  font-size: 12px;
}

.st-vip-orders-table tbody tr:last-child td {
  border-bottom: none;
}

.st-vip-orders__more {
  margin: 12px 0 0;
  text-align: center;
}

.st-vip-orders__more a {
  font-weight: 600;
}

.st-vip-pending-pay {
  margin: 0 0 20px;
  padding: 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--st-radius);
}

.st-vip-pending-pay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.st-vip-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 16px;
  list-style: none;
  margin: 0 0 20px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-vip-benefits li {
  font-size: 13px;
  color: var(--st-text);
  padding-left: 22px;
  position: relative;
}

.st-vip-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--st-success);
  font-weight: 700;
}

.st-vip-foot {
  margin: 0 0 20px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--st-muted);
  text-align: center;
  background: var(--st-card);
  border: 1px dashed var(--st-border);
  border-radius: var(--st-radius);
}

.st-vip-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--st-muted);
}

.st-vip-tag--ok {
  background: #ecfdf5;
  color: var(--st-success);
}

.st-vip-tag--pending {
  background: #fffbeb;
  color: #b45309;
}

.st-vip-tag--muted {
  background: #f8fafc;
  color: var(--st-muted);
}

.st-vip-order-pay {
  color: var(--st-primary);
  font-weight: 600;
  text-decoration: none;
}

button.st-vip-order-pay {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.st-vip-order-pay:hover {
  text-decoration: underline;
}

.st-vip-order-no {
  font-size: 11px;
  word-break: break-all;
}

@media (max-width: 768px) {
  .st-vip-orders-table th:nth-child(4),
  .st-vip-orders-table td:nth-child(4) {
    display: none;
  }
}

.st-vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
  align-items: stretch;
}

.st-vip-card {
  display: flex;
  flex-direction: column;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-vip-card:hover {
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
}

.st-vip-card--featured {
  border: 2px solid var(--st-brand-orange);
  box-shadow: 0 12px 28px rgba(255, 122, 0, 0.18);
  transform: translateY(-4px);
}

.st-vip-card--featured:hover {
  box-shadow: 0 16px 32px rgba(255, 122, 0, 0.22);
}

.st-vip-card__ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  width: 100px;
  padding: 4px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--st-brand-orange), #E56D00);
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.st-vip-card__top {
  padding: 20px 20px 0;
}

.st-vip-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--st-primary);
  background: var(--st-primary-soft);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.st-vip-card--featured .st-vip-card__badge {
  background: rgba(255, 122, 0, 0.12);
  color: var(--st-brand-orange);
}

.st-vip-card__name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.st-vip-card__days {
  color: var(--st-muted);
  font-size: 12px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.st-vip-card__price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0 20px 16px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
}

.st-vip-card--featured .st-vip-card__price-box {
  background: linear-gradient(180deg, var(--st-primary-soft) 0%, var(--st-primary-soft) 100%);
}

.st-vip-card__currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--st-primary);
}

.st-vip-card__amount {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--st-primary);
  letter-spacing: -0.02em;
}

.st-vip-card__orig {
  font-size: 14px;
  color: var(--st-muted);
  text-decoration: line-through;
}

.st-vip-promo-banner {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--st-radius);
  background: linear-gradient(90deg, #fef3c7, #fff7ed);
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 14px;
}

.st-vip-card--promo {
  border-color: #f59e0b;
}

.st-vip-card__promo {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 999px;
  vertical-align: middle;
}

.st-vip-card__save {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 4px;
}

.st-vip-card__features {
  list-style: none;
  margin: 0 20px 20px;
  padding: 0;
  flex: 1;
}

.st-vip-card__features li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13px;
  color: var(--st-text);
  line-height: 1.45;
}

.st-vip-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--st-success);
  font-weight: 700;
}

.st-vip-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px 20px;
  margin-top: auto;
}

.st-vip-card__actions .st-btn--block {
  border-radius: 24px;
  font-weight: 600;
}
}

.st-vip-pay-btn--wechat {
  background: #07c160;
  border-color: #07c160;
  color: #fff;
}

.st-vip-pay-btn--wechat:hover {
  filter: brightness(0.95);
}

.st-vip-pay-btn--alipay {
  color: #1677ff;
  border-color: #91caff;
}

@media (max-width: 900px) {
  .st-vip-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .st-vip-card--featured {
    transform: none;
    order: -1;
  }
}

/* 学习档案 */
.st-profile-page {
  max-width: none;
  margin: 0;
}

.st-profile-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--st-primary) 0%, var(--st-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(18, 163, 90, 0.22);
}

.st-profile-hero__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.st-profile-hero__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.94;
  max-width: 420px;
}

.st-profile-hero__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.st-profile-current {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: right;
  font-size: 13px;
}

.st-profile-current__label {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.st-profile-current__track {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.9;
}

.st-profile-hero__btn {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: var(--st-primary-dark);
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.st-profile-hero__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.st-profile-hero__limit {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
}

.st-profile-guide {
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-profile-guide__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--st-text);
}

.st-profile-guide__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-profile-guide__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--st-text);
}

.st-profile-guide__list li:last-child {
  margin-bottom: 0;
}

.st-profile-guide__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--st-primary);
  font-weight: 700;
}

.st-profile-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.st-profile-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.st-profile-card:hover {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.1);
}

.st-profile-card--default {
  box-shadow: 0 2px 12px rgba(18, 163, 90, 0.1);
  border-left: 4px solid var(--st-primary);
  padding-left: 16px;
}

.st-profile-card--active {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.15);
}

.st-profile-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.st-profile-card__icon--k12 {
  background: linear-gradient(145deg, var(--st-primary), var(--st-primary));
}

.st-profile-card__icon--civil {
  background: linear-gradient(145deg, #7c3aed, #8b5cf6);
}

.st-profile-card__icon--voc {
  background: linear-gradient(145deg, #d97706, #f59e0b);
}

.st-profile-card__icon--other {
  background: linear-gradient(145deg, #64748b, #94a3b8);
}

.st-profile-card__body {
  flex: 1;
  min-width: 180px;
}

.st-profile-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.st-profile-card__name {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.st-profile-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.st-profile-badge--default {
  background: #ecfdf5;
  color: var(--st-success);
}

.st-profile-badge--current {
  background: var(--st-primary-soft);
  color: var(--st-primary);
}

.st-profile-card__meta {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--st-text);
}

.st-profile-card__foot {
  margin: 0;
  font-size: 12px;
}

.st-profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.st-profile-btn-delete {
  color: var(--st-danger) !important;
  border-color: #fecaca !important;
}

.st-profile-btn-delete:hover {
  background: #fef2f2 !important;
}

.st-profile-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-profile-empty__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.st-profile-footnote {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--st-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .st-profile-hero__side {
    align-items: stretch;
    width: 100%;
  }

  .st-profile-current {
    text-align: left;
  }

  .st-profile-hero__btn {
    text-align: center;
  }

  .st-profile-card__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.st-user-summary {
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-user-summary p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
}

.st-user-summary p:last-child {
  margin-bottom: 0;
}

.st-user-summary a:not(.st-btn) {
  color: var(--st-primary);
  text-decoration: none;
  font-weight: 600;
}

.st-user-summary .st-btn--primary {
  color: #fff;
}

.st-user-summary .st-btn--ghost {
  color: var(--st-text);
}

/* 个人中心 / 会员页 P3 */
.st-user-page,
.st-vip-page {
  width: 100%;
}

.st-hero--user,
.st-hero--vip {
  padding: 20px;
  border-radius: 16px;
}

.st-hero--user__head,
.st-hero--vip__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.st-hero--user__head .st-hero__title,
.st-hero--vip__head .st-hero__title {
  margin: 0 0 4px;
  font-size: 20px;
}

.st-hero--user__head .st-hero__desc,
.st-hero--vip__head .st-hero__desc {
  margin: 0;
  font-size: 13px;
}

.st-hero__action--vip {
  background: linear-gradient(135deg, var(--st-brand-orange) 0%, #E56D00 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 122, 0, 0.35);
}

.st-hero__action--vip:hover {
  color: #fff;
  filter: brightness(1.05);
  text-decoration: none;
}

.st-user-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -12px 0 16px;
  position: relative;
  z-index: 1;
}

.st-user-stat {
  background: var(--st-card);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
}

.st-user-stat__value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--st-primary);
  line-height: 1.2;
}

.st-user-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--st-muted);
}

.st-user-card {
  background: var(--st-card);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-user-card--vip {
  border: 1px solid rgba(255, 122, 0, 0.2);
  background: linear-gradient(135deg, #fff 0%, #FFF8F0 100%);
}

.st-user-card__label {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--st-muted);
  font-weight: 500;
}

.st-user-card__value {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.st-user-card__body .st-btn {
  margin-top: 0;
}

.st-user-nav {
  margin-top: 8px;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}

.st-user-nav .st-nav-card {
  border: none;
  border-radius: 16px;
  padding: 18px 12px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.st-user-nav .st-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.14);
  text-decoration: none;
}

.st-user-nav .st-nav-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--st-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-user-nav .st-nav-card__icon {
  font-size: 24px;
  margin-bottom: 0;
  line-height: 1;
  display: block;
}

.st-user-nav .st-nav-card__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text);
}

.st-user-nav .st-nav-card--vip .st-nav-card__icon-wrap {
  background: rgba(255, 122, 0, 0.12);
}

.st-vip-account__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.st-vip-account__stat {
  background: var(--st-primary-soft);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}

.st-vip-account__stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--st-primary);
}

.st-vip-account__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--st-muted);
}

.st-vip-account__grid--detail {
  padding-top: 12px;
  border-top: 1px solid var(--st-border);
}

/* 错题本 / 做题页 P4 */
.st-wrong-page {
  width: 100%;
}

.st-hero--wrong {
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 0;
}

.st-wrong-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -12px 0 16px;
  position: relative;
  z-index: 1;
}

.st-wrong-stat {
  background: var(--st-card);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
}

.st-wrong-stat__value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--st-primary);
  line-height: 1.2;
}

.st-wrong-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--st-muted);
}

.st-wrong-cta {
  text-align: center;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--st-card);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-wrong-cta__btn {
  border-radius: 24px;
  min-width: 200px;
}

.st-wrong-cta__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--st-muted);
}

.st-wrong-page .st-practice-list__item {
  border: none;
  border-radius: 16px;
  padding: 4px 8px 4px 0;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-wrong-page .st-practice-list__link {
  padding: 14px 16px;
}

.st-wrong-page .st-practice-toolbar .st-practice-toolbar__featured {
  border-radius: 24px;
}

.st-profile-item__actions { display: flex; gap: 8px; align-items: center; }
.st-profile-inline-form { display: inline; margin: 0; }
.st-profile-check { margin-bottom: 0; }

.st-profile-check__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
}

.st-profile-check__label input {
  width: auto;
  margin: 0;
}

/* 练习做题 D5 */
.st-bank-card {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-bank-card__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--st-text);
}

.st-bank-card__subject {
  margin: 0;
  font-size: 13px;
  color: var(--st-muted);
}

.st-bank-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 14px 0 0;
  padding: 0;
}

.st-bank-card__stat {
  margin: 0;
}

.st-bank-card__stat--wide {
  grid-column: 1 / -1;
}

.st-bank-card__stat dt {
  margin: 0 0 2px;
  font-size: 12px;
  color: var(--st-muted);
  font-weight: 500;
}

.st-bank-card__stat dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--st-primary);
}

.st-bank-card__stat--wide dd {
  font-size: 13px;
  font-weight: 500;
  color: var(--st-text);
}

.st-bank-card__actions {
  margin-top: 12px;
}

.st-practice-subject-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  font-size: 14px;
}

.st-practice-subject-bar__switch {
  color: var(--st-primary);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.st-practice-subject-bar__switch:hover {
  text-decoration: underline;
}

.st-practice-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.st-practice-list--tree .st-practice-list__item--depth-1 { padding-left: 8px; }
.st-practice-list--tree .st-practice-list__item--depth-2 { padding-left: 16px; }
.st-practice-list--tree .st-practice-list__item--depth-3 { padding-left: 24px; }
.st-practice-list--tree .st-practice-list__item--depth-4 { padding-left: 32px; }

.st-practice-list__link--parent {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  color: var(--st-text);
}

.st-select--tree {
  max-width: 100%;
}

.st-form-field--category .st-select--tree {
  width: 100%;
}

.st-practice-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 4px 8px 4px 0;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.st-practice-list__item:hover {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.1);
}

.st-practice-list__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--st-text);
}

.st-practice-list__link:hover {
  color: var(--st-primary);
}

.st-practice-list__link--static {
  cursor: default;
}

.st-practice-list__item--action .st-practice-list__link--static:hover {
  color: var(--st-text);
}

.st-practice-list__start {
  flex-shrink: 0;
  margin: 8px 12px 8px 0;
  white-space: nowrap;
  border-radius: 24px;
}

.st-idcard-preview {
  margin-top: 8px;
}

.st-idcard-preview img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-border);
  object-fit: contain;
  background: var(--st-bg);
}

.st-file-input {
  display: block;
  width: 100%;
  font-size: 14px;
}

.st-admin-idcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 12px 0 16px;
}

.st-admin-idcard figcaption {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.st-admin-idcard img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-bg);
}

.st-practice-list__name {
  font-weight: 600;
  margin-bottom: 4px;
}

.st-practice-list__thumb {
  display: block;
  margin-bottom: 8px;
}

.st-practice-list__thumb img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  border-radius: var(--st-radius);
  object-fit: contain;
  background: var(--st-bg);
}

.st-practice-list__meta {
  font-size: 12px;
  color: var(--st-muted);
}

.st-wrong-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.st-wrong-filters__link {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--st-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--st-text);
  text-decoration: none;
  background: #fff;
}

.st-wrong-filters__link:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
}

.st-wrong-filters__link--active {
  border-color: var(--st-primary);
  background: var(--st-primary);
  color: #fff;
  font-weight: 600;
}

.st-wrong-tag-progress {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--st-primary-soft) 0%, #fff 100%);
  border: none;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-wrong-tag-progress__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.st-wrong-tag-progress__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--st-text);
}

.st-wrong-tag-progress__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-primary);
}

.st-wrong-tag-progress__track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 8px;
}

.st-wrong-tag-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--st-primary-dark) 0%, var(--st-primary) 100%);
  min-width: 0;
}

.st-wrong-tag-progress__hint {
  margin: 0;
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.5;
}

.st-wrong-errtag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.st-wrong-errtag--concept {
  background: #fee2e2;
  color: #991b1b;
}

.st-wrong-errtag--calc {
  background: #ffedd5;
  color: #9a3412;
}

.st-wrong-errtag--careless {
  background: #fef3c7;
  color: #92400e;
}

.st-wrong-errtag--none {
  background: #f3f4f6;
  color: #6b7280;
}

.st-wrong-errtag--pending {
  background: #eef2ff;
  color: #4338ca;
}

.st-err-report {
  margin-bottom: 24px;
}

.st-err-report__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 720px) {
  .st-err-report__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.st-err-report__stat {
  padding: 16px;
  border-radius: 16px;
  background: var(--st-card);
  border: none;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-err-report__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--st-primary);
  line-height: 1.2;
}

.st-err-report__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--st-muted);
}

.st-err-report__panel {
  margin-bottom: 16px;
}

.st-err-report__bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-err-report__bar-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  align-items: center;
}

@media (max-width: 560px) {
  .st-err-report__bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.st-err-report__bar-track {
  height: 12px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}

.st-err-report__bar-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 0;
  transition: width 0.3s ease;
}

.st-err-report__bar-fill--concept { background: #ef4444; }
.st-err-report__bar-fill--calc { background: #f97316; }
.st-err-report__bar-fill--careless { background: #eab308; }
.st-err-report__bar-fill--none { background: #9ca3af; }
.st-err-report__bar-fill--pending { background: var(--st-accent); }

.st-err-report__bar-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-text);
  white-space: nowrap;
}

.st-err-report__advice {
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--st-primary-soft) 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
}

.st-err-report__advice-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.st-err-report__advice p {
  margin: 0;
  line-height: 1.65;
  color: var(--st-text);
}

.st-err-report__ai {
  margin-bottom: 20px;
}

.st-err-report__kp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.st-err-report__kp-card {
  padding: 16px;
  border-radius: 12px;
  background: var(--st-card);
  border: 1px solid var(--st-border);
}

.st-err-report__kp-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.st-err-report__kp-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.st-err-report__kp-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--st-border);
  font-size: 13px;
}

.st-err-report__kp-list li:last-child {
  border-bottom: none;
}

.st-err-report__kp-name {
  font-weight: 600;
}

.st-err-report__kp-meta {
  color: var(--st-muted);
  white-space: nowrap;
}

.st-err-report__kp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.st-practice-list__quick {
  flex-shrink: 0;
  margin-right: 8px;
}

.st-practice-list__quick-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
  margin: 4px 8px 4px 0;
  max-width: 280px;
  justify-content: flex-end;
}

.st-practice-progress {
  margin-bottom: 16px;
}

.st-practice-progress__bar {
  height: 10px;
  background: var(--st-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.st-practice-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--st-primary-dark), var(--st-primary));
  border-radius: 999px;
  transition: width .3s ease;
}

.st-practice-progress__text {
  font-size: 13px;
  color: var(--st-muted);
}

.st-question {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(26, 26, 26, 0.08);
}

.st-question__type {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  background: var(--st-primary-soft);
  border-radius: 20px;
  color: var(--st-primary);
  font-weight: 600;
}

.st-question__head {
  margin-bottom: 12px;
}

.st-question__affair-month {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.st-question__body {
  margin-bottom: 16px;
  line-height: 1.7;
}

.st-question__body img {
  max-width: 100%;
  height: auto;
}

.st-question__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.st-question__options--review {
  margin-top: 4px;
}

.st-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--st-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  background: var(--st-card);
}

.st-option:hover {
  border-color: var(--st-primary-border);
  background: var(--st-primary-soft);
}

.st-option:has(input:checked) {
  border-color: var(--st-primary);
  background: var(--st-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 163, 90, 0.25);
}

.st-option:has(input:checked) .st-option__key,
.st-option:has(input:checked) .st-option__text {
  color: #fff;
}

.st-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.st-option__key {
  font-weight: 700;
  color: var(--st-primary);
  flex-shrink: 0;
}

.st-option--static {
  cursor: default;
  flex-wrap: wrap;
  align-items: center;
}

.st-option--static:hover {
  border-color: var(--st-border);
  background: var(--st-card);
}

.st-option--user {
  border-color: var(--st-primary);
  background: var(--st-primary-soft);
}

.st-option--correct {
  border-color: #86efac;
  background: #ecfdf5;
}

.st-option--wrong {
  border-color: #fca5a5;
  background: #fef2f2;
}

.st-question__form .st-form-actions .st-btn--primary {
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
}

.st-question__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: var(--st-brand-bg);
}

.st-question__input:focus {
  outline: none;
  border-color: var(--st-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.st-option__tag {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.st-option__tag--user {
  background: var(--st-primary-soft);
  color: var(--st-primary-dark);
}

.st-option__tag--correct {
  background: #dcfce7;
  color: #15803d;
}

.st-ai-busy--inline {
  margin: 12px 0 0;
}

.st-vol-autofill-busy {
  width: 100%;
  box-sizing: border-box;
}

.st-vol-autofill__form .st-vol-autofill-busy {
  margin-top: 10px;
}

.st-question__textarea {
  min-height: 180px;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.6;
  resize: vertical;
  border-radius: 12px;
  background: var(--st-brand-bg);
}

.st-question__textarea:focus {
  outline: none;
  border-color: var(--st-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.st-practice-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.st-practice-result {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-border);
}

.st-practice-result--ok {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.st-practice-result--fail {
  background: #fef2f2;
  border-color: #fca5a5;
}

.st-practice-result--neutral {
  background: var(--st-primary-soft);
  border-color: var(--st-primary-border);
}

.st-practice-result--neutral .st-practice-result__title {
  color: var(--st-primary);
}

.st-practice-result__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.st-practice-result--ok .st-practice-result__title {
  color: var(--st-success);
}

.st-practice-result--fail .st-practice-result__title {
  color: var(--st-danger);
}

.st-practice-result__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 14px;
}

.st-practice-result__meta dt {
  color: var(--st-muted);
  font-weight: 600;
}

.st-practice-result__meta dd {
  margin: 0;
}

.st-practice-analysis {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--st-border);
}

.st-practice-analysis__title {
  font-size: 16px;
  margin-bottom: 10px;
}

.st-practice-analysis__body {
  line-height: 1.7;
}

.st-practice-analysis__body img {
  max-width: 100%;
  height: auto;
}

.st-practice-analysis--empty {
  margin-top: 12px;
}

/* 练习 D6：错题 / 模考 / 继续练 */
.st-practice-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.st-practice-toolbar .st-btn,
.st-practice-page .st-practice-toolbar .st-btn {
  border-radius: 999px;
}

.st-practice-toolbar__featured {
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.st-exam-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 24px 26px;
  border-radius: var(--st-radius);
  background: linear-gradient(135deg, var(--st-primary-soft) 0%, #f8fbff 100%);
  border: 1px solid #bfdbfe;
}

.st-exam-countdown--soon {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border-color: #fdba74;
}

.st-exam-countdown--focus {
  background: linear-gradient(135deg, #f0f9ff 0%, #eef2ff 100%);
  border-color: var(--st-primary-border);
}

.st-exam-countdown--urgent {
  background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
  border-color: #fca5a5;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}

.st-exam-countdown__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--st-text);
  line-height: 1.2;
}

.st-exam-countdown__prefix,
.st-exam-countdown__suffix {
  color: #334155;
}

.st-exam-countdown__days {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--st-primary);
  text-shadow: 0 2px 10px rgba(37, 99, 235, 0.16);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.st-exam-countdown__days--distant {
  color: #60a5fa;
  text-shadow: 0 2px 8px rgba(96, 165, 250, 0.12);
}

.st-exam-countdown__days--calm {
  color: var(--st-primary);
  text-shadow: 0 2px 10px rgba(59, 130, 246, 0.16);
}

.st-exam-countdown__days--moderate {
  color: var(--st-primary-dark);
  text-shadow: 0 2px 10px rgba(29, 78, 216, 0.2);
}

.st-exam-countdown__days--warm {
  color: #ea580c;
  text-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
}

.st-exam-countdown__days--hot {
  color: #f97316;
  text-shadow: 0 2px 12px rgba(249, 115, 22, 0.24);
}

.st-exam-countdown__days--urgent {
  color: #dc2626;
  text-shadow: 0 2px 14px rgba(220, 38, 38, 0.28);
}

.st-exam-countdown--compact .st-exam-countdown__days {
  font-size: clamp(2rem, 6vw, 2.75rem);
  text-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.st-exam-countdown--compact.st-exam-countdown--urgent .st-exam-countdown__days,
.st-exam-countdown--compact.st-exam-countdown--soon .st-exam-countdown__days,
.st-exam-countdown--compact.st-exam-countdown--focus .st-exam-countdown__days {
  text-shadow: none;
}

.st-exam-countdown__days--today {
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  color: #dc2626;
}

.st-exam-countdown--compact .st-exam-countdown__days--today {
  font-size: clamp(1.85rem, 5vw, 2.5rem);
}

.st-exam-countdown__days--past {
  color: #64748b;
  text-shadow: none;
}

.st-exam-countdown__title--today {
  align-items: center;
}

.st-exam-countdown__meta,
.st-exam-countdown__link {
  margin: 0;
  font-size: 0.92rem;
  color: var(--st-muted);
}

.st-exam-countdown__link {
  margin-top: 8px;
}

.st-exam-countdown__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
}

.st-mock-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: var(--st-radius, 8px);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 0.95rem;
}

.st-mock-timer--bar {
  position: sticky;
  top: 0;
  z-index: 2;
}

.st-mock-timer__value {
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
  color: #c2410c;
}

.st-mock-report {
  margin: 0 0 20px;
  padding: 20px 22px;
  background: var(--st-card);
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-mock-report__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
}

.st-mock-report__grid > div {
  padding: 14px 12px;
  background: var(--st-bg);
  border-radius: 12px;
  text-align: center;
}

.st-mock-report__grid dt {
  font-size: 0.85rem;
  color: var(--st-muted, #6b7280);
  margin: 0 0 4px;
}

.st-mock-report__grid dd {
  margin: 0;
  font-size: 1.05rem;
}

.st-mock-report__grid dd strong {
  color: var(--st-primary);
  font-size: 1.25rem;
}

.st-resume-card {
  padding: 20px 22px;
  margin-bottom: 16px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-resume-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.st-textbook-form {
  max-width: none;
  margin-bottom: 20px;
}

/* AI 学习中心 — 全赛道统一入口 */
.st-ai-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.st-ai-hub-card {
  display: block;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 18px 16px;
  text-decoration: none;
  color: var(--st-text);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.st-ai-hub-card:hover {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.12);
  transform: translateY(-1px);
}

.st-ai-hub-card--soon {
  opacity: .72;
  cursor: default;
}

.st-ai-hub-card--soon:hover {
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  transform: none;
}

.st-ai-hub-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--st-primary-soft);
  border-radius: 12px;
  margin-bottom: 12px;
}

.st-ai-hub-card__icon {
  font-size: 22px;
  line-height: 1;
  display: block;
  margin: 0;
}

.st-ai-hub-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.st-ai-hub-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--st-primary);
  background: var(--st-primary-soft);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.st-ai-hub-card--soon .st-ai-hub-card__badge {
  color: var(--st-muted);
  background: var(--st-bg);
}

.st-ai-hub-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--st-muted);
}

.st-ai-hub-card__meta {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--st-primary);
  font-weight: 500;
}

.st-ai-workspace--mock {
  margin-top: 20px;
}

.st-ai-workspace--weak {
  margin-bottom: 24px;
}

.st-weak-err-panel {
  margin: 16px 0 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(18, 163, 90, 0.06);
  border: none;
  box-shadow: 0 2px 10px rgba(18, 163, 90, 0.08);
}

.st-weak-err-panel__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--st-text);
}

.st-weak-err-panel__desc {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.5;
}

.st-weak-err-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .st-weak-err-grid {
    grid-template-columns: 1fr;
  }
}

.st-weak-err-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  min-height: 76px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.st-weak-err-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.st-weak-err-btn--concept {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
}

.st-weak-err-btn--calc {
  background: #ffedd5;
  border-color: #fb923c;
  color: #9a3412;
}

.st-weak-err-btn--careless {
  background: #fef3c7;
  border-color: #fbbf24;
  color: #92400e;
}

.st-weak-err-btn__count {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.st-weak-err-btn[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.15);
}

.st-weak-err-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(18, 163, 90, 0.2);
}

.st-weak-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-weak-page-actions .st-btn {
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
}

.st-weak-page-actions__label {
  flex: 1 1 100%;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
}

.st-ai-workspace__heading {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

/* AI 功能页 — 与全站同宽（st-main 1200px），顶栏沿用 st-hero */
.st-ai-workspace {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-ai-workspace .st-form-field {
  margin-bottom: 16px;
}

.st-ai-workspace__label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--st-text);
}

.st-ai-workspace select,
.st-ai-workspace input[type="text"],
.st-ai-workspace input[type="password"],
.st-ai-workspace input[type="number"],
.st-ai-workspace input[type="file"],
.st-ai-workspace__input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: var(--st-card);
}

.st-ai-workspace .st-form-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.5;
}

.st-ai-workspace .st-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--st-text);
}

.st-ai-workspace .st-btn[data-quota-off="1"] {
  opacity: 0.65;
  cursor: not-allowed;
}

.st-ai-workspace .st-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 232, 232, 0.8);
}

.st-ai-page .st-ai-workspace .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

.st-ai-workspace .st-form-actions .st-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.st-ai-chat--page {
  max-width: none;
  margin: 0 0 16px;
  padding-top: 0;
  border-top: none;
}
.st-ai-chat--page:not(:empty) {
  margin: 0 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--st-border);
}

.st-ai-panel {
  max-width: none;
  margin-bottom: 16px;
}

.st-ai-textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 12px;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.st-ai-question-preview {
  padding: 12px 14px;
  background: var(--st-bg);
  border-radius: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.st-ai-chat {
  max-width: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-ai-msg {
  padding: 12px 14px;
  border-radius: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}

.st-ai-msg--user {
  align-self: flex-end;
  max-width: 90%;
  background: var(--st-primary);
  color: #fff;
}

.st-ai-msg--assistant {
  align-self: flex-start;
  max-width: 95%;
  background: var(--st-card);
  border: none;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.06);
  white-space: pre-wrap;
  line-height: 1.65;
}

.st-ai-msg--error {
  background: #fef2f2;
  color: var(--st-danger);
  border: 1px solid #fecaca;
}

.st-ai-result {
  max-width: none;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--st-border);
}

.st-ai-result__title {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.st-ai-engine-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 999px;
}

.st-ai-engine-badge--adaptive {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.st-ai-engine-badge--legacy {
  color: #64748b;
  background: #f8fafc;
  border: 1px solid var(--st-border);
}

.st-ai-shortfall-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}

.st-paper-compare-hint {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
}

.st-paper-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  vertical-align: middle;
}

.st-paper-badge--official {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.st-paper-badge--smart {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.st-practice-list__item--official {
  border-left: 3px solid #f59e0b;
}

.st-ai-type-mix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.st-ai-type-mix__item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--st-card);
  border: 1px solid var(--st-border);
  font-size: 13px;
  color: var(--st-text);
}

.st-ai-ocr-text {
  padding: 12px;
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
}

.st-ai-busy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--st-primary-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--st-radius);
  color: var(--st-text);
}

.st-ai-busy[hidden] {
  display: none !important;
}

.st-ai-busy__spinner {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 3px solid #bfdbfe;
  border-top-color: var(--st-primary);
  border-radius: 50%;
  animation: st-ai-spin 0.75s linear infinite;
}

@keyframes st-ai-spin {
  to { transform: rotate(360deg); }
}

.st-ai-busy__body {
  flex: 1;
  min-width: 0;
}

.st-ai-busy__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--st-primary-dark);
}

.st-ai-busy__text {
  margin: 0;
  font-size: 13px;
  color: var(--st-muted);
  line-height: 1.5;
}

.st-ai-busy__elapsed {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--st-muted);
}

.st-ai-intro {
  padding: 12px;
  background: var(--st-card);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  white-space: pre-wrap;
}

.st-ai-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.st-ai-inline {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--st-border);
}

.st-ai-inline__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 12px;
}

.st-ai-inline__title-main {
  font-size: 1rem;
  font-weight: 600;
  color: var(--st-text);
}

.st-ai-inline__title-sep {
  color: var(--st-border);
  font-weight: 400;
  user-select: none;
}

.st-ai-inline__title-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
}

.st-ai-inline__title-meta--vip {
  color: var(--st-primary);
}

.st-ai-inline__actions {
  margin-bottom: 12px;
}

.st-ai-chat--inline {
  margin: 0;
  max-width: none;
}

/* 裂变分销 D8 */
.st-referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.st-referral-stat {
  padding: 16px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-referral-stat__label {
  display: block;
  font-size: 13px;
  color: var(--st-muted);
  margin-bottom: 8px;
}

.st-referral-stat__value {
  font-size: 22px;
  color: var(--st-primary);
}

.st-referral-stat__code {
  font-size: 18px;
}

.st-referral-section__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.st-referral-links {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-referral-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.st-referral-link-row:last-child {
  margin-bottom: 0;
}

.st-referral-link-row__channel {
  flex: 0 0 48px;
  font-weight: 600;
}

.st-referral-link-row__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  font-size: 13px;
}

.st-referral-wallet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.st-referral-wallet__item {
  padding: 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-referral-wallet__label {
  display: block;
  font-size: 13px;
  color: var(--st-muted);
  margin-bottom: 6px;
}

.st-referral-wallet__amount {
  font-size: 28px;
  color: var(--st-brand-orange, #ff7a00);
  font-weight: 700;
}

.st-referral-wallet__amount--muted {
  color: var(--st-muted);
}

.st-referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.st-referral-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.st-referral-table th,
.st-referral-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--st-border);
  text-align: left;
}

.st-referral-logs + .st-referral-logs {
  margin-top: 32px;
}

.st-referral-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.st-referral-table__remark {
  max-width: 200px;
  word-break: break-word;
}

.st-withdraw-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.st-withdraw-status--pending {
  background: #fff3e0;
  color: #e65100;
}

.st-withdraw-status--approved {
  background: #e3f2fd;
  color: #1565c0;
}

.st-withdraw-status--rejected {
  background: #ffebee;
  color: #c62828;
}

.st-withdraw-status--paid {
  background: #e8f5e9;
  color: #2e7d32;
}

.st-withdraw-status--unknown {
  background: var(--st-bg-soft, #f5f5f5);
  color: var(--st-muted);
}

.st-withdraw-remark {
  color: #c62828;
  font-size: 13px;
}

.st-referral-pager {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.st-referral-hint {
  margin: 16px 0 24px;
}

.st-referral-domain-hint {
  margin: 0 0 8px;
  font-size: 14px;
}

.st-referral-commission-hint {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.st-referral-page .st-hero--sub .st-referral-commission-hint {
  color: #ffe0b8;
}

.st-referral-posters {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-referral-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.st-referral-poster-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--st-bg);
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.05);
}

.st-referral-poster-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.st-referral-poster__canvas {
  width: 100%;
  max-width: 270px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.st-referral-poster__status {
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  text-align: center;
}

.st-auth-form .st-form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  font-size: 15px;
}

.st-guide-disclaimer {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: rgba(255, 122, 0, 0.08);
  border: none;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #92400e;
}

.st-guide-filter {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-guide-filter .st-btn {
  border-radius: 999px;
}

.st-guide-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.st-guide-list__item {
  margin: 0;
}

.st-guide-list__link {
  display: block;
  padding: 16px 18px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.st-guide-list__link:hover {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.12);
  transform: translateY(-1px);
}

.st-guide-list__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--st-primary-soft);
  color: var(--st-primary-dark);
}

.st-guide-list__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.st-guide-list__summary {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.5;
}

.st-guide-list__meta {
  margin: 0;
  font-size: 12px;
  color: var(--st-muted);
}

.st-guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.st-guide-tabs__tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  text-decoration: none;
  font-size: 14px;
  color: inherit;
}

.st-guide-tabs__tab--active {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #fff;
}

.st-guide-article {
  margin-bottom: 20px;
}

.st-guide-article__section-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.st-guide-md__h2 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.st-guide-md__h3 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.st-guide-md__p,
.st-guide-md__ul,
.st-guide-md__ol {
  margin: 0 0 10px;
  line-height: 1.65;
}

.st-guide-md__ul,
.st-guide-md__ol {
  padding-left: 1.4em;
}

.st-guide-cta {
  margin: 24px 0;
  padding: 16px;
  border: 1px dashed var(--st-border);
  border-radius: var(--st-radius);
  background: #f8fafc;
}

.st-guide-cta__title {
  margin: 0 0 12px;
  font-size: 16px;
}

.st-guide-cta__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-guide-nav { margin-top: 24px; }

.st-guide-updated { font-size: 13px; }

/* Mock Lite v1 — immersive mock exam */
.st-body--mock-lite {
  padding-bottom: 76px;
  background: var(--st-bg);
}

.st-main--mock-lite {
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 16px 24px;
}

.st-mock-lite-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(135deg, var(--st-primary-dark) 0%, var(--st-primary) 100%);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(18, 163, 90, 0.25);
}

.st-mock-lite-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 16px;
}

.st-mock-lite-header__title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-mock-timer--lite {
  margin: 0;
  padding: 6px 14px;
  font-size: 13px;
  flex-shrink: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.st-mock-timer--lite .st-mock-timer__value {
  color: #fff;
  font-weight: 700;
}

.st-mock-timer--urgent,
.st-mock-timer--urgent .st-mock-timer__value {
  color: #dc2626 !important;
}

.st-mock-timer--lite.st-mock-timer--urgent {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  animation: st-mock-timer-pulse 1.2s ease-in-out infinite;
}

.st-mock-lite-progress__time.st-mock-timer--urgent {
  animation: st-mock-timer-pulse 1.2s ease-in-out infinite;
}

.st-mock-sheet__stats-remain.st-mock-timer--urgent .st-mock-timer__value {
  animation: st-mock-timer-pulse 1.2s ease-in-out infinite;
}

@keyframes st-mock-timer-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.st-mock-lite-progress {
  margin: 0 0 14px;
}

.st-mock-lite-progress__bar {
  display: block;
  height: 8px;
  margin-bottom: 8px;
  background: rgba(18, 163, 90, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.st-mock-lite-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--st-primary-dark), var(--st-primary));
  border-radius: 999px;
  transition: width .3s ease;
}

.st-mock-lite-progress__text {
  display: block;
  font-size: 14px;
  color: var(--st-muted);
}

.st-mock-lite-progress__text strong {
  color: var(--st-primary);
}

.st-mock-lite-progress__time {
  font-variant-numeric: tabular-nums;
  color: #c2410c;
}

.st-mock-sheet__stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--st-muted);
  background: var(--st-primary-soft);
  border-radius: 12px;
  border: 1px solid var(--st-primary-border);
}

.st-mock-sheet__stats .st-mock-timer__value {
  font-variant-numeric: tabular-nums;
  color: var(--st-text);
}

.st-mock-sheet__stats-remain .st-mock-timer__value {
  color: var(--st-accent);
}

.st-question--mock-lite {
  margin-bottom: 16px;
  padding: 20px 22px;
  background: var(--st-card);
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 16px rgba(26, 26, 26, 0.08);
}

.st-mock-lite-badge {
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  background: var(--st-primary-soft);
  color: var(--st-primary);
  border: 1px solid var(--st-primary-border);
  font-weight: 600;
}

.st-mock-lite-badge--skip {
  background: #fff4e6;
  color: var(--st-accent);
  border-color: #ffd6a8;
}

.st-mock-lite-review-answer__body {
  padding: 12px;
  border-radius: var(--st-radius, 8px);
  background: #f8fafc;
  border: 1px solid var(--st-border, #e5e7eb);
  white-space: pre-wrap;
  line-height: 1.6;
}

.st-mock-lite-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: var(--st-card);
  border-top: 1px solid var(--st-border);
  box-shadow: 0 -4px 20px rgba(26, 26, 26, 0.1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.st-mock-lite-bar__btn {
  flex: 1 1 20%;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 4px;
  border: none;
  border-right: 1px solid var(--st-border);
  background: var(--st-card);
  font-size: 13px;
  color: var(--st-text);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.st-mock-lite-bar__btn:hover:not(.st-mock-lite-bar__btn--disabled):not(.st-mock-lite-bar__btn--primary):not(.st-mock-lite-bar__btn--finish) {
  background: var(--st-primary-soft);
  color: var(--st-primary);
}

.st-mock-lite-bar__btn:last-child {
  border-right: none;
}

.st-mock-lite-bar__btn--primary {
  background: var(--st-primary);
  color: #fff;
  font-weight: 600;
}

.st-mock-lite-bar__btn--primary:hover {
  background: var(--st-primary-dark);
  color: #fff;
}

.st-mock-lite-bar__btn--finish {
  flex: 1.4;
  min-width: 76px;
  min-height: 56px;
  margin-left: 6px;
  border-left: none;
  border-right: none;
  background: linear-gradient(135deg, var(--st-accent) 0%, #E56D00 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 10px rgba(255, 122, 0, 0.35);
}

.st-mock-lite-bar__btn--finish:hover {
  filter: brightness(1.05);
  color: #fff;
}

.st-mock-lite-bar__btn--finish:active {
  transform: scale(0.98);
}

.st-mock-lite-bar__btn--disabled {
  color: #cbd5e1;
  cursor: default;
  pointer-events: none;
}

.st-mock-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
}

.st-mock-sheet[hidden] {
  display: none !important;
}

.st-mock-sheet__panel {
  width: 100%;
  max-width: 520px;
  max-height: 70vh;
  overflow: auto;
  padding: 16px;
  background: #fff;
  border-radius: 16px 16px 0 0;
}

.st-mock-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.st-mock-sheet__title {
  margin: 0;
  font-size: 16px;
}

.st-mock-sheet__close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.st-mock-sheet__legend {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #64748b;
}

.st-mock-sheet__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-radius: 2px;
  vertical-align: middle;
  background: #e2e8f0;
}

.st-mock-sheet__dot--done {
  background: var(--st-primary);
}

.st-mock-sheet__dot--current {
  background: var(--st-accent);
}

.st-mock-sheet__dot--skip {
  background: #fbbf24;
}

.st-mock-sheet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 8px;
}

.st-mock-sheet__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--st-border, #e5e7eb);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  color: #334155;
}

.st-mock-sheet__cell--done {
  background: var(--st-primary-soft);
  border-color: var(--st-primary-border);
  color: var(--st-primary-dark);
}

.st-mock-sheet__cell--current {
  border-color: var(--st-primary);
  background: var(--st-primary-soft);
  box-shadow: inset 0 0 0 2px var(--st-primary);
  font-weight: 600;
  color: var(--st-primary-dark);
}

.st-mock-sheet__cell--skip {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
}

/* 高考志愿 Lite */
.st-vol-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.st-vol-nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--st-border, #e8e8e8);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  color: #334155;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.st-vol-nav__link:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
}
.st-vol-nav__link--active:hover {
  color: #fff;
  background: var(--st-primary-dark, #0e8449);
  border-color: var(--st-primary-dark, #0e8449);
}
.st-vol-nav__link--active {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #fff;
  font-weight: 600;
}

.st-vol-sheet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.st-vol-sheet-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--st-border, #e5e7eb);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  color: #334155;
}

.st-vol-sheet-tabs__tab--active {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #fff;
  font-weight: 600;
}

.st-vol-sheet-tabs__count {
  display: inline-block;
  min-width: 1.4em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--st-bg, #f1f5f9);
  font-size: 12px;
  text-align: center;
}

.st-vol-sheet-tabs__tab--active .st-vol-sheet-tabs__count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.st-vol-sheet-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 12px;
}
.st-vol-sheet-subtabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--st-border, #e5e7eb);
  background: #fff;
  color: var(--st-text-muted, #64748b);
  font-size: 13px;
  text-decoration: none;
}
.st-vol-sheet-subtabs__tab--active {
  border-color: var(--st-primary);
  background: var(--st-primary-soft);
  color: var(--st-primary-dark);
  font-weight: 600;
}
.st-vol-sheet-subtabs__count {
  display: inline-flex;
  min-width: 18px;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px;
}
.st-vol-sheet-subtabs__tab--active .st-vol-sheet-subtabs__count {
  background: rgba(18, 163, 90, 0.15);
}
.st-vol-sheet__section {
  list-style: none;
  margin: 14px 0 6px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  letter-spacing: .02em;
}
.st-vol-sheet__section:first-child { margin-top: 0; }
.st-vol-sheet__level {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}
.st-vol-sheet__level--benke {
  background: #eef2ff;
  color: #4338ca;
}
.st-vol-sheet__level--zhuanke {
  background: #fef3c7;
  color: #b45309;
}
.st-vol-sheet__nature {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.st-vol-sheet__nature--private {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.st-vol-sheet-balance {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--st-radius);
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  line-height: 1.55;
  font-size: 14px;
}
.st-vol-sheet-balance--batch {
  background: var(--st-primary-soft);
  border-color: var(--st-primary-border);
  color: #1e40af;
}

.st-vol-sheet__src {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  vertical-align: middle;
}

.st-vol-sheet__src--manual {
  background: #ecfdf5;
  color: #047857;
}

.st-vol-sheet__src--ai {
  background: var(--st-primary-soft);
  color: var(--st-primary-dark);
}

.st-vol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.st-vol-card {
  display: block;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 18px 16px;
  text-decoration: none;
  color: var(--st-text);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.st-vol-card:hover {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.12);
  transform: translateY(-1px);
}
.st-vol-card--highlight {
  background: rgba(255, 122, 0, 0.06);
  box-shadow: 0 2px 12px rgba(255, 122, 0, 0.12);
}
.st-vol-card--live {
  background: linear-gradient(135deg, rgba(18, 163, 90, 0.08) 0%, #fff 100%);
  box-shadow: 0 2px 12px rgba(18, 163, 90, 0.1);
  margin-bottom: 16px;
}
.st-vol-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--st-primary-soft);
  border-radius: 12px;
  margin-bottom: 12px;
}
.st-vol-card__icon { font-size: 22px; display: block; margin: 0; }
.st-vol-card__title { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.st-vol-card__desc { font-size: 13px; color: var(--st-muted); margin: 0; line-height: 1.5; }
.st-vol-alert {
  padding: 12px 14px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.st-vol-alert--warn {
  background: rgba(255, 122, 0, 0.08);
  border: none;
  color: #92400e;
}
.st-vol-alert--arts {
  background: var(--st-primary-soft);
  border: none;
  box-shadow: inset 0 0 0 1px var(--st-primary-border);
  color: var(--st-text);
}
.st-vol-arts-steps {
  margin: 10px 0 0;
  padding-left: 1.25rem;
  line-height: 1.65;
}
.st-vol-arts-steps a {
  color: var(--st-primary-dark);
  font-weight: 600;
}
.st-vol-list { list-style: none; padding: 0; margin: 0; }
.st-vol-list__item {
  border-bottom: 1px solid var(--st-border, #e5e7eb);
  padding: 12px 0;
}
.st-vol-list__item a { text-decoration: none; color: inherit; display: block; }
.st-vol-list__item strong { display: block; }
.st-vol-list__item .st-muted { font-size: 13px; }

.st-vol-college-browse {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-bottom: 32px;
}
.st-vol-college-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--st-card, #fff);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}
.st-vol-college-search input[type="search"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--st-border, #e8e8e8);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--st-text);
  outline: none;
}
.st-vol-college-search input[type="search"]:focus {
  border-color: var(--st-primary);
  box-shadow: 0 0 0 2px rgba(18, 163, 90, 0.12);
}
.st-vol-college-search__clear {
  flex-shrink: 0;
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  padding: 8px 4px;
}
.st-vol-college-search__clear:hover {
  color: var(--st-primary);
}
.st-vol-college-summary {
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
}
.st-vol-college-empty {
  padding: 48px 16px;
  text-align: center;
  font-size: 15px;
  color: #94a3b8;
}
.st-vol-college-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.st-vol-college-rows > li {
  margin: 0;
  min-width: 0;
}
.st-vol-college-row {
  display: block;
  height: 100%;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--st-card, #fff);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.2s;
}
.st-vol-college-row:hover {
  box-shadow: 0 6px 20px rgba(18, 163, 90, 0.12);
  transform: translateY(-1px);
}
.st-vol-college-row:hover .st-vol-college-row__name {
  color: var(--st-primary);
}
.st-vol-college-row__name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 6px;
}
.st-vol-college-row__meta {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #94a3b8;
  margin-bottom: 8px;
}
.st-vol-college-row__ref {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  padding-top: 8px;
  border-top: 1px dashed #eef2f6;
}

@media (min-width: 768px) {
  .st-vol-college-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.st-vol-pager { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.st-vol-pager--calm {
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  padding-top: 8px;
  border: none;
}
.st-vol-pager--calm a {
  font-size: 14px;
  color: var(--st-primary, #4f46e5);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--st-border, #e5e7eb);
  border-radius: 8px;
  background: var(--st-card, #fff);
}
.st-vol-pager--calm a:hover {
  border-color: var(--st-primary, #4f46e5);
  text-decoration: none;
}
.st-vol-college-page {
  max-width: none;
  width: 100%;
  margin-bottom: 24px;
  box-sizing: border-box;
}
.st-vol-college-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.st-vol-college-meta .st-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
}
.st-vol-panel {
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}
.st-vol-panel__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--st-border, #e5e7eb);
}
.st-vol-prose {
  font-size: 14px;
  line-height: 1.7;
  color: var(--st-text);
}
.st-vol-prose p { margin: 0 0 8px; }
.st-vol-prose p:last-child { margin-bottom: 0; }
.st-vol-major-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.st-vol-major-cards__empty {
  padding: 20px 0;
  text-align: center;
  grid-column: 1 / -1;
}
.st-vol-major-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: var(--st-card);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .st-vol-major-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .st-vol-major-card {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
  }
  .st-vol-major-card__form {
    width: 100%;
    margin-top: auto;
    padding-top: 4px;
  }
}
.st-vol-major-card__main { flex: 1; min-width: 200px; }
.st-vol-major-card__name {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
}
.st-vol-major-card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--st-muted);
  line-height: 1.5;
}
.st-vol-major-card__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.st-vol-tier-select {
  padding: 7px 10px;
  min-width: 100px;
  border: 1px solid var(--st-border, #e5e7eb);
  border-radius: var(--st-radius);
  background: var(--st-card);
  font-size: 13px;
  color: var(--st-text);
}
.st-vol-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.st-vol-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 0;
}
.st-vol-table th,
.st-vol-table td {
  border: 1px solid var(--st-border, #e5e7eb);
  padding: 10px 12px;
  text-align: left;
}
.st-vol-table thead th {
  background: var(--st-bg, #f8fafc);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.st-vol-table tbody tr:nth-child(even) { background: var(--st-bg, #f8fafc); }
.st-vol-college-page__back {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}
.st-vol-section-title { font-size: 16px; margin: 24px 0 12px; }
.st-vol-major-list { list-style: none; padding: 0; margin: 0; }
.st-vol-major-list__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--st-border, #e5e7eb);
}
.st-vol-major-list__head { margin-bottom: 8px; }
.st-vol-inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.st-vol-autofill-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
}

.st-vol-sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 12px;
}

.st-vol-sheet-toolbar .st-vol-autofill-slot {
  flex-basis: auto;
  width: auto;
  max-width: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.st-vol-sheet-toolbar .st-vol-autofill-slot .st-vol-autofill-busy {
  margin-top: 0;
}

.st-vol-autofill-slot .st-vol-autofill-busy {
  margin-top: 8px;
}
.st-vol-result {
  margin-top: 16px;
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(18, 163, 90, 0.08);
  border: none;
  box-shadow: 0 2px 12px rgba(18, 163, 90, 0.08);
}
.st-vol-result.st-vol-result--wide {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.st-vol-result__main { font-size: 18px; margin: 0 0 8px; }
.st-vol-sheet { list-style: none; padding: 0; margin: 16px 0; }
.st-vol-sheet__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  margin-bottom: 10px;
  background: var(--st-card);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}
.st-vol-sheet__no {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.st-vol-sheet__tier {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.st-vol-sheet__tier--rush { background: #fee2e2; color: #b91c1c; }
.st-vol-sheet__tier--steady { background: var(--st-primary-soft); color: var(--st-primary-dark); }
.st-vol-sheet__tier--safe { background: #dcfce7; color: #15803d; }
.st-vol-sheet__body { flex: 1; min-width: 0; }
.st-vol-sheet__title {
  margin: 0 0 2px;
  line-height: 1.6;
  font-size: 15px;
}
.st-vol-sheet__title strong {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: 700;
}
.st-vol-sheet__title .st-vol-sheet__level,
.st-vol-sheet__title .st-vol-elite,
.st-vol-sheet__title .st-vol-sheet__nature,
.st-vol-sheet__title .st-vol-sheet__group {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 8px;
}
.st-vol-sheet__group {
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.st-vol-elite {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
  line-height: 1.4;
}
.st-vol-elite--985 { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.st-vol-elite--211 { background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd; }
.st-vol-elite--double { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.st-vol-elite--other { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.st-vol-disc {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}
.st-vol-disc--engineering { background: var(--st-primary-soft); color: #1e40af; }
.st-vol-disc--medicine { background: #fce7f3; color: #9d174d; }
.st-vol-disc--education { background: #fef3c7; color: #92400e; }
.st-vol-disc--economics { background: #ecfdf5; color: #047857; }
.st-vol-disc--law { background: #f3e8ff; color: #6b21a8; }
.st-vol-disc--literature, .st-vol-disc--history, .st-vol-disc--philosophy { background: #fff7ed; color: #c2410c; }
.st-vol-disc--science { background: #e0e7ff; color: #3730a3; }
.st-vol-disc--agriculture { background: #dcfce7; color: #166534; }
.st-vol-disc--management { background: #f1f5f9; color: #475569; }
.st-vol-disc--arts { background: #fdf2f8; color: #be185d; }
.st-vol-disc--dir { background: #f8fafc; color: #64748b; border: 1px dashed #cbd5e1; }
.st-vol-sheet__subjreq { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.st-vol-sheet__body > .st-muted { display: block; font-size: 13px; }
.st-vol-sheet__ref {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--st-muted);
}
.st-vol-sheet__ref strong { display: inline; font-weight: 600; color: var(--st-text); }
.st-vol-sheet__ref-note { display: inline; }
.st-vol-sheet__ref-note--ok { color: #15803d; }
.st-vol-sheet__ref-note--warn { color: #b45309; }
.st-vol-sheet__actions { display: flex; gap: 4px; flex-shrink: 0; padding-top: 2px; }
.st-vol-sheet__empty { padding: 24px; text-align: center; }
.st-vol-disc-guide { max-width: 920px; margin: 0 auto 32px; }
.st-vol-disc-guide h2 { font-size: 18px; margin: 28px 0 12px; }
.st-vol-disc-table { width: 100%; margin-bottom: 16px; font-size: 14px; }
.st-vol-disc-list { line-height: 1.7; padding-left: 1.2em; }
.st-vol-sheet-subtabs--wrap { flex-wrap: wrap; gap: 6px; }
.st-vol-sheet-subtabs__label {
  display: inline-flex;
  align-items: center;
  padding: 4px 2px 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-text-muted, #64748b);
  white-space: nowrap;
}
.st-vol-sheet-filter-hint { margin: -4px 0 12px; }
.st-vol-sheet__batch { display: inline-block; padding: 0 6px; border-radius: 4px; font-size: 11px; background: #fef3c7; color: #92400e; margin-right: 4px; }
.st-vol-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.st-vol-quick__btn { cursor: pointer; border: 1px solid var(--st-border, #e5e7eb); background: #fff; }
.st-hero--compact { padding-bottom: 12px; }

@media (max-width: 768px) {
  .st-track-tabs { width: 100%; justify-content: center; }
  .st-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .st-referral-stats { grid-template-columns: 1fr; }
  .st-referral-wallet { grid-template-columns: 1fr; }
  .st-referral-poster-grid { grid-template-columns: 1fr; }
  .st-practice-list__item { flex-direction: column; align-items: stretch; }
  .st-practice-list__item--action { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .st-practice-list__start { margin: 0 8px 8px auto; }
  .st-practice-list__quick { margin: 0 8px 8px; align-self: flex-end; }
  .st-vol-college-browse { padding-left: 0; padding-right: 0; }
  .st-vol-major-card__form { width: 100%; }
  .st-vol-tier-select { flex: 1; min-width: 0; }
  .st-vol-major-card__form .st-btn { flex: 1; }
  .st-practice-list__quick-group { max-width: none; margin: 0 8px 8px; align-self: flex-end; justify-content: flex-start; }
}

.st-live-wb { width: 100%; max-width: none; margin: 0 0 24px; padding: 0; box-sizing: border-box; }
.st-live-wb-hero { margin-bottom: 16px; }
.st-live-wb__toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.st-live-wb__label { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.st-live-wb__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.st-live-wb__panel {
  background: #fff;
  border: 1px solid var(--st-border, #e5e7eb);
  border-radius: 12px;
  padding: 16px 18px;
  min-width: 0;
}
.st-live-wb__panel--full { grid-column: 1 / -1; margin-bottom: 8px; }
.st-live-wb__title { font-size: 16px; margin: 0 0 14px; font-weight: 600; }
.st-live-wb__form .st-form-field { margin-bottom: 14px; }
.st-live-wb__form .st-form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}
.st-live-wb__input,
.st-live-wb__form input[type="text"],
.st-live-wb__form input[type="number"],
.st-live-wb__form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid var(--st-border, #e5e7eb);
  border-radius: var(--st-radius, 8px);
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
}
.st-live-wb__lookup-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.st-live-wb__lookup-row .st-live-wb__input { flex: 1; min-width: 0; margin: 0; }
.st-live-wb__lookup-row .st-btn { flex-shrink: 0; white-space: nowrap; }
.st-live-wb__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.st-live-wb__actions-main {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.st-live-wb__btn-ai {
  flex-shrink: 0;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.38);
}
.st-live-wb__btn-ai:hover { filter: brightness(1.06); }
.st-live-wb__btn-ai:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  filter: none;
}
.st-live-wb__check { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 6px; }
.st-live-wb__results { max-height: 420px; overflow-y: auto; margin-top: 8px; }
.st-live-wb__hit { padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; line-height: 1.55; }
.st-live-wb__table-wrap { overflow-x: auto; }
.st-live-wb__table { font-size: 13px; width: 100%; }
.st-form-row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) {
  .st-live-wb__grid { grid-template-columns: 1fr; }
  .st-live-wb__panel--full { grid-column: auto; }
  .st-form-row--2 { grid-template-columns: 1fr; }
  .st-live-wb__actions { flex-direction: column; align-items: stretch; }
  .st-live-wb__btn-ai { width: 100%; text-align: center; }
}

/* P5 — AI / 志愿 / 报考资料子模块 */
.st-hub-page,
.st-vol-page,
.st-guide-page {
  width: 100%;
  max-width: none;
}

/* P6/P7 — 练习列表 / 账号 / AI 功能页 */
.st-practice-page,
.st-account-page,
.st-ai-page {
  width: 100%;
  max-width: none;
}

.st-account-page .st-auth-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-account-page .st-btn--primary.st-btn--block {
  border-radius: 24px;
}

.st-ai-page .st-muted {
  margin-top: 4px;
}

/* P8 — 志愿子页 / 薄弱项 / 时政 */
.st-weak-page {
  width: 100%;
  max-width: none;
}

.st-vol-page .st-hero--sub .st-hero__desc,
.st-vol-page .st-hero--sub p.st-hero__desc {
  color: rgba(255, 255, 255, 0.88);
}

.st-vol-page .st-hero--sub .st-hero__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.st-vol-page .st-card-form {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-vol-page .st-card-form input[type="text"],
.st-vol-page .st-card-form input[type="number"],
.st-vol-page .st-card-form input[type="search"],
.st-vol-page .st-card-form select,
.st-vol-page .st-card-form textarea {
  border-radius: 12px;
}

.st-vol-page .st-card-form .st-btn--primary,
.st-vol-page .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

.st-vol-page .st-vol-college-meta .st-chip {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.st-weak-page .st-wrong-stats {
  margin: -12px 0 16px;
}

.st-practice-page .st-ai-workspace .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

/* P9 — 档案 / 课本 / 报告页 */
.st-textbook-page,
.st-report-page {
  width: 100%;
  max-width: none;
}

.st-textbook-page .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

.st-report-page .st-practice-summary {
  margin: 20px 0;
}

.st-report-page .st-practice-summary .st-btn--primary {
  border-radius: 24px;
}

.st-report-page .st-practice-summary .st-btn--ghost {
  border-radius: 24px;
}

.st-report-page .st-mock-report {
  margin-top: 0;
}

.st-profile-card__actions .st-btn--primary {
  border-radius: 24px;
}

.st-profile-empty {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

/* P10 — 档案编辑 / 邀请 / 钱包 / 设备与实名 */
.st-referral-page,
.st-user-tools-page {
  width: 100%;
  max-width: none;
}

.st-referral-page .st-hero--sub .st-hero__desc.st-muted,
.st-user-tools-page .st-hero--sub .st-hero__desc {
  color: rgba(255, 255, 255, 0.88);
}

.st-profile-page .st-card-form,
.st-profile-page .st-profile-form {
  max-width: none;
  width: 100%;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-profile-page .st-card-form input,
.st-profile-page .st-card-form select,
.st-profile-page .st-card-form textarea {
  border-radius: 12px;
}

.st-profile-page .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

.st-referral-page .st-referral-actions .st-btn--primary,
.st-referral-page .st-referral-copy {
  border-radius: 24px;
}

.st-referral-page .st-referral-logs {
  margin-bottom: 20px;
  padding: 18px 20px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-user-tools-page .st-auth-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-user-tools-page .st-btn--primary.st-btn--block {
  border-radius: 24px;
}

.st-referral-page .st-auth-wrap .st-auth-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

/* P11 — 占位 / 404 / 帮助 / 页脚 */
.st-empty-page,
.st-status-page,
.st-help-page {
  width: 100%;
  max-width: none;
}

.st-status-card {
  margin-bottom: 20px;
  padding: 20px 22px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-status-card__desc {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--st-text);
}

.st-status-page .st-vol-disabled-actions .st-btn,
.st-status-page .st-form-actions .st-btn--primary,
.st-status-card .st-btn--primary {
  border-radius: 24px;
}

.st-user-tools-page .st-auth-wrap--live .st-auth-card {
  max-width: 520px;
  margin: 0 auto;
}

.st-error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 24px 16px;
}

.st-error-card {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px;
  text-align: center;
  background: var(--st-card);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.1);
}

.st-error-card__logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.st-error-card__code {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--st-primary);
  margin-bottom: 8px;
}

.st-error-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--st-text);
}

.st-error-card__desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--st-muted);
}

.st-error-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.st-error-card__actions .st-btn--primary {
  border-radius: 24px;
}

.st-error-card__actions .st-btn--ghost {
  border-radius: 24px;
}

/* P12 — 做题页 / 资料详情 / 直播工作台 */
.st-practice-page .st-practice-progress {
  margin-bottom: 20px;
}

.st-practice-page .st-practice-progress__bar {
  height: 12px;
  background: rgba(18, 163, 90, 0.12);
}

.st-practice-page .st-question .st-form-actions .st-btn--primary,
.st-practice-page .st-practice-analysis .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

.st-practice-page .st-practice-result {
  border-radius: 14px;
}

.st-guide-page .st-guide-list__badge--hero {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.st-guide-page .st-guide-article {
  padding: 22px;
  background: var(--st-card);
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-guide-page .st-guide-cta {
  padding: 20px 22px;
  border: none;
  border-radius: 16px;
  background: var(--st-card);
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-guide-page .st-guide-cta__grid .st-btn--primary {
  border-radius: 24px;
}

.st-vol-page .st-live-wb__panel {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.06);
}

.st-vol-page .st-live-wb__form .st-btn--primary,
.st-vol-page .st-live-wb__btn-ai {
  border-radius: 24px;
}

.st-report-page .st-mock-report {
  margin-top: 0;
}

/* P13 — Mock Lite 顶栏/底栏/答题卡品牌绿微调 */
.st-mock-lite-bar {
  border-top: 3px solid var(--st-primary);
  box-shadow: 0 -6px 24px rgba(18, 163, 90, 0.12);
}

.st-mock-lite-bar__btn[data-mock-sheet-open] {
  color: var(--st-primary-dark);
  font-weight: 600;
}

.st-mock-lite-bar__btn--primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.st-mock-sheet__panel {
  border-top: 4px solid var(--st-primary);
  box-shadow: 0 -8px 32px rgba(18, 163, 90, 0.15);
}

.st-mock-sheet__title {
  font-weight: 700;
  color: var(--st-primary-dark);
}

.st-mock-sheet__close:hover {
  color: var(--st-primary);
}

.st-question--mock-lite .st-question__form .st-form-actions .st-btn--primary {
  border-radius: 24px;
}

.st-body--mock-lite .st-auth-msg {
  margin: 0 0 12px;
  border-radius: 12px;
}

.st-mock-lite-progress {
  padding: 12px 14px;
  background: var(--st-card);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.05);
}

.st-mock-lite-progress__bar {
  height: 10px;
  margin-bottom: 10px;
}
