:root {
  --ink: #242833;
  --muted: #9297a3;
  --blue: #269bdd;
  --line: #eceef2;
  --surface: #f4f5f9;
  --edge: max(40px, calc((100vw - 1280px) / 2));
  --results-left: calc(var(--edge) + 160px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; border: 0; background: none; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #78bfea; outline-offset: 4px; }
button, a { touch-action: manipulation; }
button svg, a svg { pointer-events: none; }
[hidden] { display: none !important; }
.icon { display: block; flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.search-app { position: relative; min-height: 100svh; padding-bottom: 90px; }
.site-header { position: relative; height: 96px; transition: height 740ms var(--ease); }
.site-header::after { position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity 450ms ease; content: ""; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; margin-inline: var(--edge); }
.brand { position: relative; display: flex; align-items: center; gap: 10px; width: 160px; color: #293c43; text-decoration: none; }
.brand__mark { flex: none; width: 38px; height: 38px; }
.brand__wordmark { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; font-family: "Songti SC", "SimSun", Georgia, serif; font-size: 25px; font-weight: 700; letter-spacing: 1px; transition: opacity 280ms ease, transform 450ms var(--ease); }
.brand__english { font-family: Georgia, serif; font-size: 12px; font-weight: 400; letter-spacing: -.3px; color: #8b959b; }
.site-header__actions { display: flex; align-items: center; gap: 22px; }
.site-header__separator { width: 1px; height: 22px; background: var(--line); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; padding: 0; color: #9299a6; border: 1px solid #eceef2; border-radius: 50%; background: #fff; transition: color 180ms ease, background 180ms ease; }
.icon-button:hover { color: #4d6575; background: #f6f8fa; }
.icon-button .icon { width: 17px; height: 17px; }
.demo-button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12px; color: #8e95a1; transition: color 180ms ease; }
.demo-button:hover { color: var(--blue); }
.demo-button .icon { width: 16px; height: 16px; }
.demo-button--is-playing { color: var(--blue); }
.visitor { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #737b88; }
.visitor__avatar { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-family: Georgia, serif; font-size: 17px; color: #667b73; border: 3px solid #fff; border-radius: 50%; background: #e6eee9; box-shadow: 0 0 0 1px #edf0ee; }
.visitor__dot { position: absolute; right: -2px; bottom: 0; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: #a9bcb3; }
.category-nav { position: absolute; z-index: 3; top: 30px; left: calc(var(--edge) + 220px); display: flex; align-items: center; gap: 28px; transition: top 740ms var(--ease), left 740ms var(--ease); }
.category-nav__item { position: relative; height: 36px; padding: 0; font-size: 13px; color: #7e8693; white-space: nowrap; transition: color 180ms ease; }
.category-nav__item:hover { color: var(--ink); }
.category-nav__item::after { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform 250ms var(--ease); content: ""; }
.category-nav__item--is-active { color: var(--blue); }
.search-form { position: absolute; z-index: 5; top: calc(44svh - 32px); left: calc(50% - min(680px, 100vw - 48px) / 2); display: flex; align-items: center; width: min(680px, calc(100vw - 48px)); height: 64px; padding: 0 16px 0 27px; border: 1px solid transparent; border-radius: 36px; background: var(--surface); transition: top 780ms var(--ease), left 780ms var(--ease), width 780ms var(--ease), height 780ms var(--ease), border-color 180ms ease, box-shadow 180ms ease; }
.search-form:focus-within { border-color: #dce7f0; box-shadow: 0 3px 16px #4b79a407; }
.search-form__input { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0; font-size: 14px; line-height: 1.5; color: #4b5362; border: 0; outline: 0; background: transparent; }
.search-form__input::placeholder { color: #a1a6b2; }
.search-form__input::-webkit-search-cancel-button { display: none; }
.search-form__clear, .search-form__submit { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 36px; padding: 0; border-radius: 50%; }
.search-form__clear { color: #a4aab5; }
.search-form__clear .icon { width: 16px; height: 16px; }
.search-form__submit { color: #48a5d5; }
.search-form__submit:hover { background: #e7f0f8; }
.search-form__separator { width: 1px; height: 23px; margin: 0 8px; background: #e5e8ef; }
.home-intro { position: absolute; top: calc(44svh + 46px); left: 24px; width: calc(100% - 48px); text-align: center; transition: opacity 180ms ease, transform 280ms ease; }
.home-intro__caption { margin: 0; font-size: 12px; line-height: 1.8; color: #a1a6b1; letter-spacing: .3px; }
.home-intro__suggestions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; font-size: 11px; color: #b2b7bf; }
.home-intro__suggestions > span { margin-right: 3px; }
.home-intro__suggestions button { display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 11px; font-size: 11px; color: #89929f; border: 1px solid #edf0f4; border-radius: 6px; transition: color 180ms ease, background 180ms ease; }
.home-intro__suggestions button:hover { color: #4d99c6; background: #f6fafd; }
.home-intro__suggestions .icon { width: 12px; height: 12px; color: #bdc5cf; }
.search-app[data-phase="loading"] .site-header, .search-app[data-phase="ready"] .site-header { height: 150px; }
.search-app[data-phase="loading"] .site-header::after, .search-app[data-phase="ready"] .site-header::after { opacity: 1; }
.search-app[data-phase="loading"] .brand__wordmark, .search-app[data-phase="ready"] .brand__wordmark { opacity: 0; transform: translateX(-7px); pointer-events: none; }
.search-app[data-phase="loading"] .category-nav, .search-app[data-phase="ready"] .category-nav { top: 108px; left: var(--results-left); }
.search-app[data-phase="loading"] .category-nav__item--is-active::after, .search-app[data-phase="ready"] .category-nav__item--is-active::after { transform: scaleX(1); }
.search-app[data-phase="loading"] .search-form, .search-app[data-phase="ready"] .search-form { top: 21px; left: var(--results-left); width: min(720px, calc(100vw - var(--results-left) - var(--edge) - 316px)); height: 56px; }
.search-app[data-phase="loading"] .home-intro, .search-app[data-phase="ready"] .home-intro { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.workspace { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: 56px; width: calc(100% - var(--results-left) - var(--edge)); max-width: 1036px; margin: 28px 0 0 var(--results-left); animation: workspace-enter 650ms var(--ease) both; }
.results { min-width: 0; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.scope-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; }
.scope-switch__item { height: 26px; padding: 0 12px; font-size: 11px; color: #858c98; border-radius: 4px; transition: color 180ms ease, background 180ms ease; }
.scope-switch__item--is-active { color: #3e9dd1; background: #eff7fc; }
.filter-bar__selects { display: flex; gap: 9px; }
.select-control { position: relative; display: inline-flex; align-items: center; height: 32px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.select-control select { height: 100%; padding: 0 29px 0 11px; font-size: 11px; color: #7d8490; border: 0; border-radius: 6px; outline-offset: 3px; background: transparent; appearance: none; }
.select-control > span:last-child { position: absolute; right: 8px; pointer-events: none; }
.select-control .icon { width: 13px; height: 13px; color: #adb3bd; }
.results-meta { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-top: 2px; font-size: 10px; color: #a4aab5; }
.refinement-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; font-size: 10px; color: #60a8cf; border-radius: 4px; background: #eff8fd; }
.refinement-chip .icon { width: 11px; height: 11px; }
.result-list { min-height: 330px; }
.result-card { position: relative; min-height: 139px; margin: 0 -15px 13px; padding: 15px; border-radius: 9px; background: #fff; transition: background 200ms ease; animation: result-enter 460ms var(--ease) both; animation-delay: calc(var(--index, 0) * 42ms); }
.result-card:hover, .result-card:focus-within, .result-card--is-demo-focused { background: #f7f8fb; }
.result-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 22px; margin-bottom: 7px; font-size: 10px; color: #9fa5b0; }
.source-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 6px 3px 4px; line-height: 1.3; color: #6b7180; border-radius: 6px; background: var(--source-bg, #f0f3f6); }
.source-badge__dot { width: 12px; height: 12px; border: 3px solid #ffffffb0; border-radius: 50%; background: var(--source-color, #778590); box-shadow: 0 0 0 1px #00000003; }
.result-card__saved { display: inline-flex; align-items: center; gap: 3px; color: #67a9ca; }
.result-card__saved .icon { width: 11px; height: 11px; }
.result-card__body { display: flex; align-items: flex-start; gap: 24px; }
.result-card__text { flex: 1; min-width: 0; }
.result-card__title { display: inline; padding: 0; text-align: left; font-size: 16px; font-weight: 600; line-height: 1.55; letter-spacing: .04px; color: #303643; }
.result-card__title:hover { color: #348bb9; }
.result-card__snippet { display: -webkit-box; margin: 9px 0 0; overflow: hidden; font-size: 12px; line-height: 1.85; color: #9298a4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.result-card__thumbnail { display: block; flex: none; width: 124px; height: 90px; padding: 0; overflow: hidden; border-radius: 7px; background: #edf0f6; }
.result-card__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.result-card__actions { position: absolute; z-index: 2; top: 14px; left: -32px; display: flex; flex-direction: column; gap: 6px; width: 31px; opacity: 0; transform: translateX(6px); transition: opacity 160ms ease, transform 220ms var(--ease); pointer-events: none; }
.result-card:hover .result-card__actions, .result-card:focus-within .result-card__actions, .result-card--is-demo-focused .result-card__actions { opacity: 1; transform: translateX(0); pointer-events: auto; }
.vote-pair { display: flex; flex-direction: column; width: 31px; padding: 2px; border: 1px solid #e6e9ef; border-radius: 17px; background: #fff; }
.result-action { display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; padding: 0; color: #9ba3b0; border: 1px solid #e6e9ef; border-radius: 50%; background: #fff; transition: color 150ms ease, background 150ms ease, border-color 150ms ease; }
.result-action .icon { width: 15px; height: 15px; }
.vote-pair .result-action { width: 25px; height: 25px; border: 0; }
.result-action:hover { color: var(--blue); border-color: #d0e8f7; background: #f0f8fd; }
.result-action[aria-pressed="true"] { color: var(--blue); border-color: #d0e8f7; background: #e9f5fd; }
.result-action--irrelevant[aria-pressed="true"] { color: #b18579; background: #fbf1ec; }
.discovery-sidebar { padding-top: 62px; }
.discovery-sidebar__eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; font-size: 9px; color: #b5bbc4; letter-spacing: 1.5px; }
.discovery-sidebar__dot { width: 4px; height: 4px; border-radius: 50%; background: #98b2be; }
.discovery-sidebar__title { margin: 0 0 15px; font-size: 11px; font-weight: 400; color: #969da8; }
.concept-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 7px; }
.concept-chip { padding: 5px 9px; font-size: 10px; color: #7d8493; border-radius: 5px; background: #f4f5f8; transition: background 180ms ease, color 180ms ease; }
.concept-chip:hover { color: #4b9bc7; background: #eaf5fc; }
.discovery-sidebar__hint { margin: 21px 0 0; font-size: 10px; line-height: 1.9; color: #b1b7c1; }
.refine-panel { position: fixed; z-index: 15; right: var(--edge); bottom: 28px; width: 284px; overflow: hidden; border: 1px solid #e8ebf0; border-radius: 11px; background: #fff; box-shadow: 0 5px 22px #273a4d06; transition: box-shadow 250ms ease, background 250ms ease; animation: panel-enter 450ms var(--ease) both; }
.refine-panel__header { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 49px; padding: 0 16px; text-align: left; }
.refine-panel__header:focus-visible { border-radius: 9px; outline-offset: -4px; }
.refine-panel__heading { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #6d7686; }
.refine-panel__heading > span:first-child { color: #a2aab6; }
.refine-panel__heading .icon { width: 15px; height: 15px; }
.refine-panel__total { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; font-size: 9px; color: #9da9b6; border-radius: 50%; background: #f1f4f7; }
.refine-panel__chevron { color: #a5aeba; transition: transform 350ms var(--ease); }
.refine-panel__chevron .icon { width: 15px; height: 15px; }
.refine-panel__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 450ms var(--ease), opacity 250ms ease; }
.refine-panel__body-inner { min-height: 0; overflow: hidden; }
.refine-panel--is-expanded { box-shadow: 0 10px 38px #263a4f0b; }
.refine-panel--is-populated:not(.refine-panel--is-expanded) { border-color: #d6e9f5; background: #edf7fd; }
.refine-panel--is-expanded .refine-panel__body { grid-template-rows: 1fr; opacity: 1; }
.refine-panel--is-expanded .refine-panel__chevron { transform: rotate(180deg); }
.feedback-tabs { display: flex; gap: 17px; height: 33px; margin: 0 16px; border-bottom: 1px solid var(--line); }
.feedback-tabs__tab { position: relative; display: flex; align-items: flex-start; gap: 6px; padding: 0 0 10px; font-size: 10px; color: #9ca3ae; }
.feedback-tabs__tab > span { display: inline-flex; align-items: center; justify-content: center; min-width: 13px; height: 13px; padding: 0 3px; font-size: 9px; border-radius: 50%; background: #f5f6f8; }
.feedback-tabs__tab--is-active { color: #4ba2d1; }
.feedback-tabs__tab--is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 1px; background: #72bbe7; content: ""; }
.feedback-list { max-height: min(290px, calc(100svh - 380px)); min-height: 115px; padding: 8px 16px 0; overflow-y: auto; scrollbar-width: thin; }
.feedback-item { position: relative; padding: 12px 0 11px; border-bottom: 1px solid #f1f3f5; animation: feedback-enter 350ms var(--ease) both; }
.feedback-item__main { display: flex; gap: 9px; padding-right: 17px; }
.feedback-item__image { flex: none; width: 51px; height: 51px; border-radius: 5px; object-fit: cover; }
.feedback-item__title { display: -webkit-box; max-height: 48px; margin: 0; overflow: hidden; font-size: 10px; font-weight: 400; line-height: 1.65; color: #7a8290; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.feedback-item__remove { position: absolute; top: 11px; right: -4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; color: #afb6c0; }
.feedback-item__remove .icon { width: 12px; height: 12px; }
.feedback-item__votes { display: flex; gap: 6px; margin-top: 9px; }
.feedback-item__votes .result-action { width: 24px; height: 24px; border: 0; }
.feedback-item__votes .icon { width: 13px; height: 13px; }
.feedback-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-height: 113px; color: #bec6cf; }
.feedback-empty .icon { width: 21px; height: 21px; }
.feedback-empty p { margin: 0; font-size: 10px; color: #a6afbb; }
.refine-panel__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; }
.text-button { padding: 5px 0; font-size: 10px; color: #a0a8b4; }
.text-button:hover { color: #5c8da9; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 99px; height: 30px; padding: 0 13px; font-size: 10px; color: #fff; border-radius: 16px; background: var(--blue); box-shadow: 0 2px 6px #269bdd16; transition: background 180ms ease, opacity 180ms ease; }
.primary-button:hover { background: #168bcf; }
.primary-button:disabled { color: #b0bdc9; background: #edf2f6; box-shadow: none; }
.primary-button .icon { width: 13px; height: 13px; }
.primary-button--is-loading .icon { animation: search-pulse 850ms ease infinite; }
.saved-trigger { position: relative; }
.saved-trigger__count { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; font-size: 9px; color: #fff; border: 2px solid #fff; border-radius: 10px; background: #62a8c9; }
.saved-popover { position: fixed; z-index: 30; top: 78px; right: var(--edge); width: 330px; max-height: min(490px, calc(100svh - 110px)); padding: 18px; overflow-y: auto; border: 1px solid #e8ecf1; border-radius: 12px; background: white; box-shadow: 0 12px 50px #253c5710; animation: feedback-enter 230ms var(--ease) both; }
.saved-popover__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.saved-popover__header h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 13px; font-weight: 500; }
.saved-popover__header h2 span { font-size: 10px; color: #a1aab6; }
.saved-popover__header .icon-button { width: 26px; height: 26px; border: 0; }
.saved-item { display: block; width: 100%; padding: 13px 0; text-align: left; border-bottom: 1px solid #eff1f5; }
.saved-item__title { display: block; font-size: 12px; line-height: 1.65; color: #687382; }
.saved-item__source { display: block; margin-top: 5px; font-size: 10px; color: #a4adba; }
.saved-item:hover .saved-item__title { color: #3c9acb; }
.saved-empty { padding: 35px 10px; text-align: center; font-size: 11px; line-height: 1.9; color: #aab2bd; }
.prototype-note, .keyboard-hint { position: fixed; z-index: 2; bottom: 26px; display: flex; align-items: center; gap: 8px; font-size: 10px; color: #b5bbc4; }
.prototype-note { left: var(--edge); }
.prototype-note__dot { width: 5px; height: 5px; border-radius: 50%; background: #b8c9bf; }
.keyboard-hint { right: var(--edge); }
.keyboard-hint kbd { display: inline-grid; place-items: center; width: 19px; height: 20px; font: inherit; border: 1px solid #e7eaf0; border-radius: 4px; }
.search-app[data-phase="loading"] .keyboard-hint, .search-app[data-phase="ready"] .keyboard-hint { display: none; }
.toast { position: fixed; z-index: 80; bottom: 34px; left: 50%; max-width: calc(100vw - 44px); padding: 11px 17px; font-size: 12px; line-height: 1.6; color: #6d7c8d; border: 1px solid #e8edf3; border-radius: 9px; background: #ffffffed; box-shadow: 0 5px 24px #2b40540a; transform: translateX(-50%); animation: toast-enter 250ms var(--ease) both; backdrop-filter: blur(12px); }
.demo-player { position: fixed; z-index: 50; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 12px; width: min(420px, calc(100vw - 32px)); height: 47px; padding: 0 16px; border: 1px solid #e4edf5; border-radius: 25px; background: #fffffff5; box-shadow: 0 8px 35px #34628d10; transform: translateX(-50%); animation: toast-enter 350ms var(--ease) both; backdrop-filter: blur(12px); }
.demo-player__pulse { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #63b2df; animation: search-pulse 1400ms ease infinite; }
.demo-player__step { min-width: 110px; font-size: 10px; color: #7792a6; }
.demo-player__progress { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: #edf3f8; }
.demo-player__progress span { display: block; width: 0; height: 100%; border-radius: 3px; background: #85c6e9; transition: width 600ms ease; }
.demo-player > button { display: inline-flex; align-items: center; gap: 5px; padding: 5px 0 5px 7px; font-size: 10px; color: #a1acb8; }
.demo-player .icon { width: 12px; height: 12px; }
.feedback-flight { position: fixed; z-index: 60; display: grid; place-items: center; width: 28px; height: 28px; color: #54a9db; border: 1px solid #d4eafa; border-radius: 50%; background: #f0f9ff; box-shadow: 0 3px 9px #3f91c315; pointer-events: none; }
.feedback-flight .icon { width: 14px; height: 14px; }
.skeleton-card { min-height: 139px; padding: 15px 0; }
.skeleton { overflow: hidden; border-radius: 6px; background: linear-gradient(100deg, #f4f5f7 20%, #fafbfc 45%, #f4f5f7 70%); background-size: 220% 100%; animation: shimmer 1450ms ease-in-out infinite; }
.skeleton-card__source { width: 94px; height: 15px; margin-bottom: 12px; }
.skeleton-card__title { width: 76%; height: 20px; margin-bottom: 11px; }
.skeleton-card__line { width: 100%; height: 11px; margin-bottom: 9px; }
.skeleton-card__line--short { width: 62%; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; text-align: center; }
.empty-state > .icon { width: 29px; height: 29px; margin-bottom: 17px; color: #c1cbd7; }
.empty-state h2 { margin: 0; font-size: 15px; font-weight: 500; color: #7d8998; }
.empty-state p { margin: 10px 0 18px; font-size: 11px; color: #a7afba; }
.empty-state button { padding: 7px 12px; font-size: 11px; color: #5e9ec4; border: 1px solid #e5edf4; border-radius: 6px; }
.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 7px; }
.figure-card { min-width: 0; padding: 0; text-align: left; overflow: hidden; border: 1px solid #edf0f4; border-radius: 9px; animation: result-enter 400ms var(--ease) both; }
.figure-card__image { display: block; width: 100%; height: 165px; object-fit: cover; background: #edf0f5; }
.figure-card__title { display: block; padding: 13px 14px 7px; font-size: 12px; line-height: 1.7; color: #667282; }
.figure-card__source { display: block; padding: 0 14px 14px; font-size: 10px; color: #a1acb8; }
.reader { position: fixed; width: min(680px, calc(100vw - 36px)); max-height: min(760px, calc(100svh - 64px)); padding: 0; color: var(--ink); border: 1px solid #e8edf3; border-radius: 16px; background: #fff; box-shadow: 0 25px 100px #21334c24; }
.reader[open] { animation: reader-enter 300ms var(--ease) both; }
.reader::backdrop { background: #29374a2a; backdrop-filter: blur(4px); }
.reader__bar { display: flex; align-items: center; justify-content: space-between; padding: 17px 24px; border-bottom: 1px solid #edf0f4; }
.reader__bar > span { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #919eac; }
.reader__bar .icon { width: 16px; height: 16px; }
.reader__content { padding: 34px 42px 40px; }
.reader__source { margin-bottom: 15px; font-size: 11px; color: #9aabb8; }
.reader__content h1 { margin: 0 0 25px; font-size: 23px; font-weight: 600; line-height: 1.65; }
.reader__article p { margin: 0 0 19px; font-size: 13px; line-height: 2; color: #798594; }
.reader__article h2 { margin: 26px 0 15px; font-size: 15px; font-weight: 600; }
.reader__article img { width: 100%; max-height: 240px; margin: 0 0 20px; border-radius: 8px; object-fit: cover; }
.reader__note { padding-top: 20px; font-size: 10px; color: #a9b2be; border-top: 1px solid #eff2f6; }
@keyframes workspace-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes result-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes feedback-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-enter { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes reader-enter { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes search-pulse { 50% { opacity: .4; } }
@media (min-width: 1680px) { :root { --edge: calc((100vw - 1360px) / 2); --results-left: calc(var(--edge) + 180px); } }
@media (max-width: 1200px) {
  :root { --edge: 36px; --results-left: 150px; }
  .site-header__actions { gap: 15px; }
  .category-nav { left: 240px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 230px; gap: 38px; }
  .search-app[data-phase="loading"] .search-form, .search-app[data-phase="ready"] .search-form { width: calc(100vw - var(--results-left) - var(--edge) - 268px); }
  .refine-panel { width: 250px; }
  .visitor__name { display: none; }
  .result-card__thumbnail { width: 103px; height: 82px; }
}
@media (max-width: 960px) {
  :root { --results-left: 68px; --edge: 28px; }
  .brand { width: 110px; }
  .brand__english { display: none; }
  .category-nav { left: 200px; }
  .workspace { grid-template-columns: minmax(0, 1fr); width: calc(100% - var(--results-left) - 48px); }
  .discovery-sidebar { display: none; }
  .search-app[data-phase="loading"] .search-form, .search-app[data-phase="ready"] .search-form { left: 110px; width: calc(100vw - 352px); }
  .search-app[data-phase="loading"] .site-header__actions, .search-app[data-phase="ready"] .site-header__actions { gap: 14px; }
  .search-app[data-phase="loading"] .site-header__separator, .search-app[data-phase="ready"] .site-header__separator { display: none; }
  .refine-panel { right: 28px; width: 270px; }
  .prototype-note { bottom: 20px; }
}
@media (max-width: 640px) {
  :root { --edge: 22px; --results-left: 22px; }
  .search-app { padding-bottom: 100px; }
  .site-header__inner { height: 83px; }
  .site-header { height: 83px; }
  .brand { width: 140px; gap: 7px; }
  .brand__mark { width: 31px; height: 31px; }
  .brand__wordmark { font-size: 21px; }
  .brand__english { display: none; }
  .site-header__actions { gap: 15px; }
  .site-header__separator, .visitor { display: none; }
  .demo-button { font-size: 11px; }
  .saved-trigger { width: 29px; height: 29px; }
  .category-nav { top: 100px; left: 24px; gap: 26px; }
  .category-nav__item { font-size: 12px; }
  .search-form { top: calc(42svh - 25px); left: 22px; width: calc(100% - 44px); height: 58px; padding-left: 21px; }
  .search-form__input { font-size: 13px; }
  .home-intro { top: calc(42svh + 48px); }
  .home-intro__caption { font-size: 10px; }
  .home-intro__suggestions { gap: 8px; margin-top: 21px; }
  .home-intro__suggestions > span { display: none; }
  .home-intro__suggestions button { padding-inline: 8px; font-size: 10px; }
  .search-app[data-phase="loading"] .site-header, .search-app[data-phase="ready"] .site-header { height: 220px; }
  .search-app[data-phase="loading"] .brand__wordmark, .search-app[data-phase="ready"] .brand__wordmark { opacity: 1; transform: none; }
  .search-app[data-phase="loading"] .search-form, .search-app[data-phase="ready"] .search-form { top: 91px; left: 22px; width: calc(100% - 44px); height: 54px; }
  .search-app[data-phase="loading"] .category-nav, .search-app[data-phase="ready"] .category-nav { top: 173px; left: 24px; }
  .workspace { width: calc(100% - 44px); margin: 19px 22px 0; }
  .filter-bar { flex-wrap: wrap; gap: 12px; }
  .filter-bar__selects { gap: 6px; }
  .select-control select { padding-left: 8px; font-size: 10px; }
  .scope-switch__item { padding-inline: 9px; font-size: 10px; }
  .results-meta { min-height: 37px; }
  .result-card { min-height: 170px; margin: 0 -9px 8px; padding: 11px 9px 42px; }
  .result-card__body { gap: 12px; }
  .result-card__title { font-size: 14px; line-height: 1.65; }
  .result-card__snippet { font-size: 11px; line-height: 1.9; }
  .result-card__meta { gap: 6px; font-size: 9px; }
  .result-card__thumbnail { width: 76px; height: 78px; }
  .result-card__actions { top: auto; bottom: 8px; left: 9px; flex-direction: row; align-items: center; gap: 7px; width: auto; opacity: 1; transform: none; pointer-events: auto; }
  .vote-pair { flex-direction: row; width: 57px; padding: 1px; }
  .result-action { width: 28px; height: 28px; }
  .result-action .icon { width: 13px; height: 13px; }
  .refine-panel { right: 15px; bottom: 15px; width: min(284px, calc(100vw - 30px)); }
  .refine-panel:not(.refine-panel--is-expanded) { width: 175px; }
  .refine-panel__header { height: 43px; padding-inline: 13px; }
  .prototype-note { left: 22px; bottom: 28px; gap: 5px; font-size: 9px; }
  .keyboard-hint { display: none; }
  .saved-popover { top: 72px; right: 15px; width: min(330px, calc(100vw - 30px)); }
  .toast { bottom: 75px; width: max-content; font-size: 11px; }
  .demo-player { bottom: 69px; }
  .demo-player__step { min-width: 105px; }
  .figure-grid { gap: 12px; }
  .figure-card__image { height: 120px; }
  .reader__content { padding: 25px 24px; }
  .reader__content h1 { font-size: 20px; }
}
@media (hover: none) and (min-width: 641px) {
  .result-card__actions { opacity: 1; transform: none; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
