/* 独立本地表现层，不改业务匹配、排序与分数口径。 */
:root{--ios-ink:#1c2024;--ios-muted:#60646c;--ios-blue:#0058c7;--ios-bg:#f5f7fa;--ios-line:#d9e2ec;--ios-glass:rgba(255,255,255,.82);--ios-shadow:0 8px 28px #162d4910,inset 0 .5px 0 #fff;--ios-ease:cubic-bezier(.22,.68,0,1.01)}
html{scroll-padding-bottom:110px}
html body{color:var(--ios-ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-text-size-adjust:100%}
html body :is(.apple-home,.result-page){background:radial-gradient(ellipse at 85% 0,#dfeeff66,transparent 45%),var(--ios-bg)!important;color:var(--ios-ink)!important}
html body :is(.search-card,.result-stage,.insight-stage,.trend-stage,.history-year-card,.subject-group-card){background:#fff!important;border:.5px solid var(--ios-line)!important;border-radius:24px!important;box-shadow:0 2px 8px #162d4905!important;backdrop-filter:none!important}
html body .apple-home .search-card{padding:28px!important}
html body .search-card__intro h1{font-size:28px!important;font-weight:700!important;letter-spacing:-.025em!important;line-height:1.35!important}
html body .result-page .hero-copy h1{font-size:28px!important;letter-spacing:-.025em!important}
html body .exam-countdown{border:0!important;border-radius:16px!important;background:#f3f7fd!important;box-shadow:none!important}
html body .exam-countdown strong{color:var(--ios-blue)!important;font-size:28px!important}
html body :is(.search-input,.keyword-input) .el-input__inner{height:48px!important;font-size:16px!important;border:.5px solid #c6d1df!important;border-radius:14px!important;background:#f8fafc!important;box-shadow:none!important;color:var(--ios-ink)!important}
html body :is(.search-input,.keyword-input) .el-input__inner:focus{border-color:var(--ios-blue)!important;box-shadow:0 0 0 3px #0058c719!important}
html body :is(.search-button,.query-growth-entry__button){min-height:48px!important;border:0!important;border-radius:999px!important;background:var(--ios-blue)!important;color:#fff!important;box-shadow:0 4px 12px #0058c71c!important;font-size:16px!important;font-weight:600!important}
html body :is(.recent-block,.query-filter-summary){border:.5px solid var(--ios-line)!important;background:#f8fafc!important;box-shadow:none!important;border-radius:16px!important}
html body .history-chip{min-height:44px!important;padding:10px 16px!important;background:#edf2f8!important;color:#24334c!important;border:0!important;border-radius:999px!important;font-size:14px!important}
html body :is(.back-button,.qr-export>summary,.hero-action-group button,.segment-chip--soft,.hero-grade-chip,.result-view-chip){min-height:44px!important;min-width:44px!important;border-radius:999px!important;font-size:14px!important;font-weight:600!important;transition:background-color 180ms ease-out,color 180ms ease-out!important}
html body :is(.hero-grade-strip,.result-view-switch){padding:4px!important;gap:4px!important;border:.5px solid #d3deeb!important;border-radius:999px!important;background:#e8eef5!important;box-shadow:inset 0 .5px 2px #162d4908!important}
html body :is(.hero-grade-chip,.result-view-chip){background:transparent!important;border:0!important;box-shadow:none!important;color:var(--ios-muted)!important}
html body :is(.hero-grade-chip.active,.result-view-chip.active,.segment-chip--soft.active){background:#fff!important;color:var(--ios-blue)!important;box-shadow:0 2px 6px #162d4914,inset 0 .5px 0 #fff!important}
html body :is(.back-button,.qr-export>summary){background:var(--ios-glass)!important;color:var(--ios-blue)!important;border:.5px solid #fff!important;box-shadow:var(--ios-shadow)!important;backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%)}
html body .result-page .mobile-action-bar{background:var(--ios-glass)!important;border:.5px solid #fff!important;box-shadow:var(--ios-shadow)!important;border-radius:999px!important;backdrop-filter:blur(24px) saturate(150%)!important;-webkit-backdrop-filter:blur(24px) saturate(150%)!important;padding:6px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(390px,calc(100% - 24px))!important}
html body .mobile-action-bar button{min-height:48px!important;border-radius:999px!important;color:#43546a!important;font-size:14px!important}
html body .mobile-action-bar button.active{background:#e5f0ff!important;color:var(--ios-blue)!important}
html body .result-page{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
html body :is(.compact-list-heading,.compact-table-header){background:#f0f4f8!important;color:var(--ios-muted)!important;border:.5px solid var(--ios-line)!important;border-radius:14px 14px 0 0!important}
html body .history-school-card{background:#fff!important;border-bottom:.5px solid var(--ios-line)!important;box-shadow:none!important;border-radius:0!important}
html body .history-school-card:nth-of-type(even){background:#f9fbfd!important}
html body .history-school-card__head h3{color:var(--ios-ink)!important;font-size:14px!important;line-height:1.5!important}
html body .history-score-cell strong,html body .history-card-meta strong{font-family:"Times New Roman",Times,serif!important;font-variant-numeric:tabular-nums;font-size:18px!important}
html body .history-score-cell--current strong{color:var(--ios-blue)!important}
html body .history-score-cell strong.history-score-missing{font-family:inherit!important;font-size:12px!important}
html body .qr-export[open]>.hero-action-group{background:var(--ios-glass)!important;border:.5px solid #fff!important;border-radius:20px!important;padding:8px!important;box-shadow:0 14px 48px #162d4926!important;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
html body :is(.el-select-dropdown,.el-autocomplete-suggestion){border:.5px solid var(--ios-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 12px 32px #162d491a!important;overflow:hidden}
html body :is(.el-select-dropdown__item,.el-autocomplete-suggestion li){min-height:44px!important;line-height:44px!important;font-size:14px!important}
html body :is(.query-history-dialog,.el-dialog){border:.5px solid var(--ios-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 60px #162d4933!important}
html body :is(.query-history-close,.el-dialog__headerbtn){min-width:44px!important;min-height:44px!important;border-radius:999px!important}
html body :is(button,a,summary){touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html body :is(button,a,summary,input):focus-visible{outline:2px solid var(--ios-blue)!important;outline-offset:3px!important}
html body :is(.history-chip,.hero-grade-chip,.result-view-chip,.segment-chip--soft,.back-button):active{filter:brightness(.94)}
@media(max-width:600px){html body .apple-home .search-card{padding:24px 18px!important}html body .search-card__intro h1,html body .result-page .hero-copy h1{font-size:24px!important}html body .result-page .result-stage{border-radius:20px!important}html body .result-page .history-card-meta{font-size:12px!important}html body .ios-preview-bar span{display:none}}
@media(prefers-reduced-transparency:reduce){html body :is(.mobile-action-bar,.back-button,.qr-export>summary,.qr-export[open]>.hero-action-group){background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@media(prefers-contrast:more){:root{--ios-muted:#343b44;--ios-line:#7c899b;--ios-glass:#fff}html body :is(.mobile-action-bar,.back-button,.qr-export>summary){border-color:#7c899b!important}}
@media(prefers-reduced-motion:reduce){html body *,html body *::before,html body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@supports not (backdrop-filter:blur(1px)){html body :is(.mobile-action-bar,.back-button,.qr-export>summary,.qr-export[open]>.hero-action-group){background:#fff!important}}
