/* 看剧ai：内容检索优先的响应式视觉系统 */
:root {
  --ink: #1e293b; --muted: #64748b; --navy: #1b3a4b; --deep: #0f172a;
  --mint: #2dd4bf; --mint-deep: #087e73; --amber: #f59e0b;
  --paper: #f8fafc; --soft: #f1f5f9; --white: #fff; --line: #dce5eb;
  --radius: 9px; --radius-lg: 13px; --shadow: 0 12px 34px rgb(15 23 42 / .055);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint-deep); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
input, textarea { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: #a6f5ea; color: #0b3035; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; background: white; border: 2px solid var(--amber); padding: 7px 15px; }
.skip-link:focus { top: 10px; }
.site-header { background: var(--deep); color: #e2e8f0; border-bottom: 1px solid #304358; }
.header-inner { min-height: 77px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; gap: 11px; align-items: center; flex: 0 0 auto; color: #fff; }
.brand:hover, .brand:focus { color: #fff; }
.brand img { width: 42px; height: 42px; object-fit: contain; background: #284459; border-radius: 8px; }
.brand-copy { display: flex; flex-direction: column; gap: 0; line-height: 1.35; }
.brand-copy strong { font-size: 21px; font-weight: 700; letter-spacing: .025em; }
.brand-copy small { color: #9fb3c7; font-size: 11px; }
.top-nav { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.top-nav a { padding: 9px 16px; font-size: 14px; border-radius: 7px; color: #bdcbd7; transition: color .15s, background .15s; }
.top-nav a:hover { color: #fff; background: #23374a; }
.top-nav a[aria-current="page"] { color: #a0fff0; background: #1a3d48; }
.header-action { flex: 0 0 auto; padding: 9px 18px; border: 1px solid #3b6470; border-radius: 7px; font-weight: 600; color: #d2faf2; }
.header-action:hover { background: #1e4c55; color: white; }
.header-action span { margin-left: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--deep); line-height: 1.4; }
h1 { font-size: clamp(29px, 3vw, 42px); letter-spacing: -.02em; }
h2 { font-size: clamp(21px, 2vw, 27px); }
h3 { font-size: 17px; }
p { margin-bottom: 1em; }
.muted { color: var(--muted); }
.eyebrow, .section-kicker { color: var(--mint-deep); font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.section-kicker { margin-bottom: 9px; }
.hero { background: linear-gradient(130deg, #102b3b, #1b3a4b 52%, #1d4552); color: #e6f0f5; padding: 69px 0 74px; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .86fr); gap: clamp(28px, 5.5vw, 78px); align-items: center; }
.hero .eyebrow { display: inline-flex; gap: 9px; color: #85eddd; font-size: 13px; letter-spacing: .02em; align-items: center; }
.pulse { display: inline-block; width: 7px; height: 7px; background: var(--mint); border-radius: 100%; box-shadow: 0 0 0 4px rgb(45 212 191 / .14); }
.hero h1 { color: #fff; max-width: 780px; margin: 17px 0; font-size: clamp(31px, 3.3vw, 45px); line-height: 1.32; }
.hero-intro { max-width: 690px; color: #c1d2dc; font-size: 16px; line-height: 1.95; margin-bottom: 26px; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 10px; background: #fff; box-shadow: 0 18px 35px rgb(0 0 0 / .13); }
.search-symbol { color: #8b9aa8; font-size: 30px; line-height: 1; margin-left: 12px; transform: rotate(-20deg); }
.search-box input { background: transparent; min-width: 0; border: 0; flex: 1; padding: 9px 3px; font-size: 14px; outline-offset: -2px; }
.search-box button { background: var(--amber); color: #1c2a2d; font-weight: 750; border: 0; border-radius: 7px; padding: 13px 20px; white-space: nowrap; }
.search-box button:hover { background: #fbbf24; }
.query-suggestions { display: flex; flex-wrap: wrap; gap: 9px 12px; align-items: center; margin-top: 18px; font-size: 12px; color: #9eb3bf; }
.query-suggestions a { color: #dcecf0; border-bottom: 1px dashed #54737d; }
.query-suggestions a:hover { color: #5af3dc; }
.hero-aside { border: 1px solid #4c6d79; padding: 22px; border-radius: 12px; background: rgb(9 32 43 / .45); box-shadow: 0 20px 48px rgb(3 15 24 / .12); }
.aside-head { display: flex; gap: 10px; align-items: center; color: white; font-size: 17px; }
.aside-icon { color: var(--mint); font-size: 22px; }
.hero-aside > p { color: #9cb6c1; margin: 7px 0 15px; font-size: 13px; }
.clue-example { background: #2c4858; padding: 15px 17px; border-radius: 8px; display: grid; gap: 7px; }
.clue-example small { color: #abc3cf; font-size: 12px; }
.clue-example strong { font-weight: 500; font-size: 14px; color: #f2f7fa; }
.clue-arrow { color: var(--mint); text-align: center; font-size: 19px; line-height: 30px; }
.clue-result { background: #edfdfa; border-radius: 8px; display: grid; gap: 3px; padding: 13px 16px; color: #11443f; }
.clue-result > span:first-child { color: #4e7d78; font-size: 12px; }
.clue-result strong { font-size: 14px; font-weight: 700; }
.clue-result .arrow-link { justify-self: end; font-size: 12px; }
.section { padding: 52px 0; }
.section--first { padding-top: 49px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.section-heading h2 { margin-bottom: 5px; }
.section-heading p { color: var(--muted); margin-bottom: 0; font-size: 14px; }
.arrow-link { color: var(--mint-deep); font-weight: 700; font-size: 13px; white-space: nowrap; }
.arrow-link:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.category-tile { background: white; border: 1px solid var(--line); display: flex; min-height: 120px; align-items: flex-start; flex-direction: column; position: relative; padding: 15px; border-radius: 8px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.category-tile:hover { transform: translateY(-2px); border-color: #4ac5b8; box-shadow: var(--shadow); }
.category-icon { background: #e8faf7; color: #087e73; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; font-size: 19px; margin-bottom: 11px; }
.category-tile > span:nth-child(2) { display: grid; gap: 3px; }
.category-tile strong { font-size: 15px; color: #163547; }
.category-tile small { color: var(--muted); font-size: 11px; line-height: 1.7; }
.category-tile b { position: absolute; top: 14px; right: 15px; color: #a5b4c0; font-weight: 400; }
.category-tile--muted .category-icon { background: #fff5de; color: #ad7015; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.result-card { background: #fff; border: 1px solid var(--line); padding: 19px 20px; border-radius: var(--radius); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.result-card:hover { border-color: #a8cfc8; box-shadow: var(--shadow); }
.result-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 12px; color: #5e7583; }
.result-card__meta { display: flex; gap: 8px; align-items: center; }
.category-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #0aaf9c; }
.text-label { color: #8496a3; white-space: nowrap; }
.result-card h3 { font-size: 18px; margin-bottom: 9px; }
.result-card h3 a:hover { color: var(--mint-deep); text-decoration: underline; text-underline-offset: 4px; }
.result-card p { color: #506172; font-size: 13px; line-height: 1.85; margin: 0 0 15px; }
.result-card--compact p { min-height: 72px; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { background: #f0f5f6; color: #5a6c79; border: 1px solid #e5edf0; border-radius: 5px; padding: 2px 8px; font-size: 11px; white-space: nowrap; }
.tag--link:hover { border-color: #62c7bd; color: #075c57; background: #e6fbf7; }
.result-card__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); gap: 12px; margin-top: 18px; padding-top: 14px; }
.result-card__bottom > span { color: var(--muted); font-size: 12px; }
.example-section { background: #edf3f6; border-top: 1px solid #e4eaf0; border-bottom: 1px solid #e1eaf0; }
.example-layout { display: grid; grid-template-columns: .95fr 1.25fr; gap: clamp(26px, 8vw, 100px); align-items: center; }
.example-layout h2 { max-width: 360px; }
.example-layout .muted { max-width: 410px; line-height: 1.9; }
.example-list { display: grid; gap: 8px; }
.example-list a { background: white; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 17px; border: 1px solid #dde7ed; border-radius: 7px; }
.example-list a:hover { border-color: var(--mint-deep); }
.example-list a > span:first-child { display: grid; gap: 2px; }
.example-list strong { font-size: 14px; }
.example-list small { color: var(--muted); font-size: 12px; }
.example-list a > span:last-child { color: #0e9b8e; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 7px; font-size: 14px; font-weight: 700; padding: 10px 18px; border: 1px solid transparent; text-align: center; transition: background .16s, color .16s, border-color .16s; }
.button--secondary { background: white; color: #1b5a5c; border-color: #b8d6d6; }
.button--secondary:hover { background: #e6faf6; border-color: #63b9ae; color: #0e514b; }
.button--primary { background: #167c76; color: white; }
.button--primary:hover { background: #105a55; color: white; }
.button--light { background: var(--mint); color: #104046; }
.button--light:hover { background: #80f7e6; color: #083a3b; }
.button--ghost { background: white; border-color: #c6d8df; color: var(--navy); }
.button--ghost:hover { background: #f0f8fa; }
.button--danger { color: #a44444; border-color: #ecd0d0; background: #fff; }
.button--danger:hover { background: #fff1f1; }
.assistant-banner { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 48px; border-radius: 12px; background: linear-gradient(115deg, #193b49, #0e2938); color: #dfebef; padding-top: 39px; padding-bottom: 39px; }
.assistant-banner .section-kicker { color: #7cf2e0; }
.assistant-banner h2 { color: white; max-width: 500px; }
.assistant-banner p { max-width: 550px; color: #b7cdd5; }
.note-preview { background: #f8fafc; color: var(--ink); padding: 18px 20px; border-radius: 9px; transform: rotate(1deg); box-shadow: 0 15px 30px rgb(0 0 0 / .17); }
.note-preview > div { display: flex; justify-content: space-between; border-bottom: 1px solid #e3e9ed; padding-bottom: 9px; font-size: 13px; font-weight: 700; }
.note-dots { color: #a4b7c1; letter-spacing: .2em; }
.note-preview p { color: #4d6572; font-size: 13px; margin: 13px 0 0; }
.note-preview p b { color: #244656; }
.note-preview small { display: block; border-top: 1px dashed #d8e2e7; color: #84949f; padding-top: 10px; margin-top: 15px; font-size: 11px; }
.site-footer { background: var(--deep); color: #acbdca; padding: 45px 0 20px; margin-top: 25px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1.15fr; gap: clamp(28px, 5vw, 70px); }
.footer-grid strong { color: white; display: block; margin-bottom: 13px; font-size: 15px; }
.footer-brand strong { font-size: 21px; }
.footer-grid p { font-size: 13px; line-height: 1.9; max-width: 350px; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; font-size: 13px; }
.footer-grid nav a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid #2b3a4e; display: flex; gap: 20px; justify-content: space-between; padding-top: 17px; margin-top: 25px; font-size: 12px; color: #8093a5; }
.page-intro { padding: 35px 0 37px; background: #ecf2f5; border-bottom: 1px solid var(--line); }
.page-intro .container { max-width: var(--container); }
.page-intro h1 { max-width: 940px; margin-bottom: 13px; font-size: clamp(28px, 2.7vw, 36px); }
.page-intro p { color: #536d7b; max-width: 820px; line-height: 1.95; margin-bottom: 0; }
.breadcrumb { font-size: 12px; color: #80919f; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.breadcrumb a { color: #4e6877; }
.breadcrumb a:hover { color: var(--mint-deep); }
.page-intro .section-kicker { margin-bottom: 9px; }
.page-intro--assistant { background: #eaf6f4; }
.page-intro--detail .tag-row { margin-top: 21px; }
.section--search { padding-top: 32px; }
.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 288px; align-items: start; gap: 27px; }
.search-panel { background: #fff; border: 1px solid var(--line); padding: 20px; border-radius: 9px; }
.search-panel__row { display: flex; gap: 10px; }
.search-panel__row input { flex: 1; min-width: 0; border: 1px solid #cbd8df; border-radius: 7px; padding: 11px 14px; background: #f9fbfc; }
.search-panel__row input:focus { border-color: var(--mint-deep); background: #fff; }
.search-panel__row button { border: 0; background: var(--navy); color: #fff; border-radius: 7px; font-weight: 700; padding: 0 28px; }
.search-panel__row button:hover { background: #0e6361; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 17px; }
.filter-row > span { color: #637786; font-size: 12px; margin-right: 5px; }
.filter-chip { cursor: pointer; position: relative; }
.filter-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-chip span { display: inline-block; padding: 4px 11px; color: #4e6473; background: #f1f5f8; border: 1px solid transparent; border-radius: 5px; font-size: 12px; }
.filter-chip input:checked + span { border-color: #72d3c7; background: #e5f8f4; color: #077369; font-weight: 700; }
.filter-chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.filter-chip:hover span { color: #08756c; }
.results-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding: 24px 0 15px; }
.results-heading h2 { font-size: 21px; margin-bottom: 1px; }
.results-heading p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.clear-link { font-size: 12px; color: var(--mint-deep); white-space: nowrap; }
.result-list { display: grid; gap: 11px; }
.result-list .result-card { padding: 19px 22px; }
.result-list .result-card h3 { font-size: 19px; }
.search-sidebar { display: grid; gap: 15px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 19px; }
.sidebar-card h2 { font-size: 16px; margin: 0 0 14px; }
.sidebar-card p { font-size: 13px; color: var(--muted); }
.sidebar-card ol { list-style-position: outside; padding-left: 21px; margin: 0; color: #596c78; font-size: 12px; line-height: 2; }
.sidebar-card ol li { margin-bottom: 7px; }
.sidebar-card ol strong { color: var(--ink); }
.sidebar-card--tinted { background: #eaf5f4; border-color: #d0e8e5; }
.sidebar-card--tinted > a { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #255b58; padding: 9px 0; border-bottom: 1px solid #d3e4e1; }
.sidebar-card--tinted > a:last-child { border-bottom: 0; }
.sidebar-card--tinted > a:hover { color: #047f72; }
.empty-state { background: #fff; border: 1px dashed #cadce2; text-align: center; padding: 54px 28px; border-radius: 10px; }
.empty-graphic { width: 58px; height: 58px; background: #eaf9f7; color: #159687; border-radius: 50%; font-size: 40px; line-height: 58px; display: inline-block; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; }
.empty-state p { color: var(--muted); max-width: 480px; margin: 0 auto 22px; font-size: 13px; }
.section--assistant { padding-top: 34px; }
.assistant-workspace { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .86fr); gap: 25px; align-items: start; }
.notebook { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 26px; }
.notebook-header { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.notebook-header h2 { font-size: 22px; margin: 0; }
.save-status { background: #e6f8f4; border: 1px solid #c4e9e2; color: #16796f; padding: 4px 10px; border-radius: 5px; font-size: 11px; white-space: nowrap; }
.notes-form { padding-top: 21px; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 21px; }
.field label { color: #2b4351; font-size: 13px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #cfdae0; border-radius: 7px; background: #fbfdfe; font-size: 13px; line-height: 1.7; }
.field textarea { resize: vertical; min-height: 86px; }
.field input:focus, .field textarea:focus { border-color: #3bab9e; background: white; }
.field small { color: #82919b; font-size: 11px; }
.notes-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.notes-help { color: #86949e; font-size: 11px; line-height: 1.8; margin: 16px 0 0; }
.assistant-tips { background: #16394a; padding: 23px 22px; border-radius: 10px; color: #b7d0d9; }
.tip-header { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.tip-header span { color: #5be1cb; font-size: 22px; }
.tip-header h2 { font-size: 18px; color: white; margin: 0; }
.tip { display: grid; grid-template-columns: 28px 1fr; gap: 11px; padding-bottom: 16px; margin-bottom: 17px; border-bottom: 1px solid #365565; }
.tip:last-child { border: 0; margin-bottom: 0; padding-bottom: 0; }
.tip > span { color: #58cdbd; font-size: 12px; font-weight: 700; }
.tip h3 { color: #f2f9fa; font-size: 14px; margin: 0 0 5px; }
.tip p { font-size: 12px; line-height: 1.9; margin: 0; }
.section--soft { background: #edf3f6; border-block: 1px solid #e0e9ef; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.guide-grid article { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 22px; }
.guide-mark { display: inline-block; border-radius: 5px; background: #e9f8f5; color: #067b6e; font-size: 12px; padding: 2px 10px; margin-bottom: 13px; }
.guide-grid h3 { margin-bottom: 10px; }
.guide-grid p { color: var(--muted); font-size: 13px; min-height: 90px; }
.guide-grid a { color: #087d73; font-size: 12px; font-weight: 700; }
.guide-grid a:hover { text-decoration: underline; }
.next-search { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.next-search h2 { margin-bottom: 6px; }
.next-search p { color: var(--muted); margin-bottom: 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 30px; align-items: start; }
.detail-content { display: grid; gap: 18px; }
.detail-block { background: #fff; border: 1px solid var(--line); padding: 27px; border-radius: 9px; }
.detail-block h2 { font-size: 21px; }
.detail-block p { line-height: 2.05; color: #506575; margin: 0; }
.detail-block .tag-row { gap: 9px; }
.detail-block .tag { padding: 4px 11px; font-size: 12px; }
.detail-next { background: #e6f5f2; border-radius: 9px; padding: 27px; }
.detail-next h2 { font-size: 19px; }
.detail-next p { color: #54766f; }
.detail-sidebar { display: grid; gap: 16px; }
.fact-list { margin: 0; }
.fact-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.fact-list dt { color: #788c98; }
.fact-list dd { color: #263f4b; font-weight: 650; margin: 0; text-align: right; }
.related-link { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--line); }
.related-link strong { font-size: 13px; }
.related-link small { color: var(--muted); font-size: 12px; }
.detail-sidebar .arrow-link { display: inline-block; margin-top: 15px; }
.not-found { text-align: center; padding: 95px 0 120px; }
.not-found .container > span { display: block; font-size: 95px; line-height: 1.2; font-weight: 800; color: #bad7db; }
.not-found h1 { margin-bottom: 11px; }
.not-found p { color: var(--muted); }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 26px; }
@media (max-width: 1060px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-layout { grid-template-columns: 1.5fr .9fr; gap: 28px; }
  .hero h1 { font-size: 35px; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assistant-workspace { grid-template-columns: minmax(0, 1.5fr) minmax(250px, .9fr); }
}
@media (max-width: 820px) {
  .header-inner { gap: 16px; }
  .header-action { display: none; }
  .top-nav { margin-left: auto; }
  .top-nav a { padding: 8px 11px; }
  .hero { padding: 48px 0; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .example-layout { grid-template-columns: 1fr 1.25fr; gap: 25px; }
  .assistant-banner { gap: 24px; }
  .search-layout, .detail-layout { grid-template-columns: 1fr; }
  .search-sidebar, .detail-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-sidebar .sidebar-card:last-child { grid-column: 1 / -1; }
  .assistant-workspace { grid-template-columns: 1fr; }
  .assistant-tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .tip-header { grid-column: 1 / -1; margin-bottom: 0; }
  .tip { border-bottom: 0; border-top: 1px solid #365565; padding-top: 12px; }
}
@media (max-width: 620px) {
  body { font-size: 14px; }
  .container { padding-left: 17px; padding-right: 17px; }
  .header-inner { flex-wrap: wrap; padding-top: 13px; padding-bottom: 8px; gap: 10px; }
  .brand { width: 100%; }
  .brand img { width: 35px; height: 35px; }
  .brand-copy strong { font-size: 18px; }
  .top-nav { width: 100%; margin: 2px 0 0; justify-content: space-between; }
  .top-nav a { text-align: center; flex: 1; padding: 9px 4px; font-size: 13px; }
  .hero { padding: 39px 0 44px; }
  .hero h1 { font-size: 30px; margin-top: 13px; }
  .hero-intro { font-size: 14px; }
  .search-box { flex-wrap: wrap; }
  .search-symbol { display: none; }
  .search-box input { flex-basis: 100%; padding: 11px; }
  .search-box button { width: 100%; }
  .section { padding-top: 35px; padding-bottom: 35px; }
  .section-heading { align-items: start; }
  .section-heading > .arrow-link { margin-top: 8px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-tile { min-height: 122px; padding: 13px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-card--compact p { min-height: 0; }
  .example-layout, .assistant-banner { grid-template-columns: 1fr; }
  .assistant-banner { margin-left: 17px; margin-right: 17px; padding: 25px; }
  .note-preview { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .page-intro { padding: 27px 0; }
  .page-intro h1 { font-size: 27px; }
  .breadcrumb { margin-bottom: 17px; }
  .search-panel { padding: 13px; }
  .search-panel__row { gap: 6px; }
  .search-panel__row button { padding: 0 17px; }
  .filter-row > span { width: 100%; }
  .search-sidebar, .detail-sidebar { grid-template-columns: 1fr; }
  .search-sidebar .sidebar-card:last-child { grid-column: auto; }
  .notebook { padding: 17px; }
  .notebook-header { flex-direction: column; gap: 11px; }
  .notes-grid { grid-template-columns: 1fr; gap: 0; }
  .notes-actions .button { flex: 1 1 100%; }
  .assistant-tips { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid p { min-height: 0; }
  .next-search { flex-direction: column; align-items: start; }
  .detail-block { padding: 21px; }
  .not-found { padding: 62px 0 75px; }
}
@media (max-width: 380px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-tile { min-height: 0; flex-direction: row; align-items: center; gap: 12px; }
  .category-icon { margin: 0; }
  .section-heading { flex-direction: column; gap: 9px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
