/* Share the H5 controls and data; change only the desktop presentation. */
@media (min-width: 1024px) {
  :root { --mini-status-safe-top: 0px; --safe-bottom: 0px; }
  body { background: #f4f5f7; }
  .mobile-app { width: 100%; max-width: none; margin: 0; padding: 0 0 100px 192px; border: 0; background: #f4f5f7; }
  .app-header { min-height: 84px; padding: 14px 32px; background: #fff; border-bottom: 1px solid #e8eaed; }
  .brand strong { font-size: 26px; }
  .brand-mark { width: 44px; height: 44px; }
  .province-switch { font-size: 15px; }
  .account-button { min-height: 42px; font-size: 16px; }
  .mobile-app > main { max-width: 1600px; margin: 0 auto; padding: 24px 28px; }
  .bottom-nav { inset: 0 auto 0 0; width: 192px; height: 100vh; padding: 112px 14px 24px; display: flex; flex-direction: column; gap: 10px; border: 0; border-right: 1px solid #e8eaed; background: #fff; }
  .bottom-nav::before { content: "志愿填报"; position: absolute; top: 32px; left: 28px; font-size: 22px; font-weight: 700; color: var(--primary); }
  .bottom-nav .nav-item { flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 52px; margin: 0; padding: 12px 18px; border-radius: 8px; font-size: 17px; }
  .bottom-nav .nav-item.is-active { background: #fff0e6; color: var(--primary); }
  .page-view[data-page="home"].is-active { display: grid; grid-template-columns: 350px minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: start; gap: 22px; }
  .account-status { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 8px; background: #fff; font-size: 15px; }
  .candidate-console { grid-column: 1; grid-row: 2 / 4; position: sticky; top: 108px; margin: 0; padding: 24px; border-radius: 8px; gap: 22px; }
  .candidate-console .subject-selection { flex-wrap: wrap; gap: 10px; overflow: visible; }
  .candidate-console .subject-selection .subject-line { flex: 1 0 100%; justify-content: flex-start; overflow: visible; }
  .candidate-console .subject-selection .segment,
  .candidate-console .subject-selection .subject-chip { min-height: 36px; padding: 0 10px; font-size: 15px; }
  .candidate-console .mock-score-field input { font-size: 54px; }
  .candidate-console .mock-rank-field strong { font-size: 28px; }
  .candidate-console .mock-exam-field select { font-size: 17px; }
  .candidate-console #convertMockButton { border-radius: 8px; font-size: 18px; }
  .search-zone { grid-column: 2; grid-row: 2; margin: 0; padding: 0; min-width: 0; }
  .search-box { min-height: 48px; background: #fff; }
  .search-box input { font-size: 16px; }
  .filter-row { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .filter-chip { font-size: 15px; min-height: 38px; }
  .result-section { grid-column: 2; grid-row: 3; min-width: 0; margin: 0; padding: 0; }
  .section-heading { flex-wrap: wrap; gap: 10px; }
  .section-heading h2 { font-size: 23px; }
  .home-recommendation-list { display: grid; gap: 16px; }
  .home-recommendation-list .school-card { margin: 0; border-radius: 8px; background: #fff; box-shadow: none; }
  .home-group-strip { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .home-group-chip { flex: 0 0 auto; width: auto; max-width: 100%; }
  .home-group-chip strong { font-size: 17px; }
  .home-group-chip span { font-size: 15px; }
  .subpage { padding: 0; }
  .subpage-header { margin-bottom: 24px; }
  .subpage-header h1 { font-size: 28px; }
  .subpage-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
  .subpage-toolbar .search-box { flex: 1 1 320px; }
  .subpage-toolbar .filter-row { flex: 1 1 400px; }
  .profile-page { max-width: 960px; margin: 0 auto; }
  .draft-dock { left: auto; right: 28px; bottom: 20px; width: 340px; max-width: calc(100vw - 240px); border-radius: 8px; background: #fff; box-shadow: 0 4px 22px #17202b18; }
  .bottom-sheet { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(720px, calc(100vw - 80px)); max-width: none; max-height: 86vh; padding: 24px; border-radius: 8px; background: #fff; }
  .bottom-sheet.school-detail-sheet, .bottom-sheet.major-detail-sheet, .bottom-sheet.draft-sheet { width: min(1080px, calc(100vw - 80px)); }
  .sheet-handle { display: none; }
  .sheet-heading h2 { font-size: 26px; }
  .sheet-chips { flex-wrap: wrap; }
  .sheet-chips button { min-height: 40px; font-size: 16px; }
  .plan-actions { position: sticky; bottom: 0; padding: 16px; background: #fff; border-top: 1px solid #e8eaed; }
  .toast { max-width: 600px; }
  [hidden] { display: none !important; }
}
@media (min-width: 1600px) {
  .page-view[data-page="home"].is-active { grid-template-columns: 390px minmax(0, 1fr); gap: 28px; }
}
