/* 看剧ai：清晰高效的影视索引界面。全部样式为原生 CSS。 */
:root {
  color-scheme: light;
  --primary: #1B3A4B;
  --primary-dark: #0F172A;
  --accent: #2DD4BF;
  --accent-deep: #0F766E;
  --warm: #F59E0B;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --surface-muted: #F1F5F9;
  --text: #1E293B;
  --subtle: #64748B;
  --border: #DCE5EB;
  --wide: 1160px;
  --focus: #B45309;
  --radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 15px; line-height: 1.76; }
body, button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-deep); }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: #99F6E4; color: #0F172A; }
.visually-hidden { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; top: -80px; left: 12px; padding: 11px 18px; background: var(--warm); color: #111827; font-weight: 700; border-radius: 6px; z-index: 1000; }
.skip-link:focus { top: 12px; }
.page-container { max-width: var(--wide); padding: 0 24px 66px; margin: 0 auto; min-height: 60vh; }
.site-header { z-index: 20; position: sticky; top: 0; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--border); transition: box-shadow 0.2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(15, 23, 42, .07); }
.header-wrap { max-width: calc(var(--wide) + 48px); margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 35px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--primary); min-width: max-content; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.34; }
.brand strong { letter-spacing: 0.01em; font-size: 18px; font-weight: 800; }
.brand small { font-size: 10px; letter-spacing: .04em; color: var(--subtle); }
.main-nav { display: flex; gap: 4px; align-items: center; margin-left: 10px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 14px; color: #475569; white-space: nowrap; }
.main-nav a:hover { background: var(--surface-muted); color: var(--primary); }
.main-nav a[aria-current=page] { color: var(--primary); background: #E7F5F4; }
.nav-search { margin-left: auto; background: var(--primary); color: #FFF; font-size: 13px; font-weight: 700; padding: 10px 15px; border-radius: 6px; white-space: nowrap; }
.nav-search:hover { color: #FFF; background: #285469; }
.nav-search span { display: inline-block; padding-left: 8px; }
.hero { padding: 48px 0 38px; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(240px, .8fr); gap: 33px; border-bottom: 1px solid var(--border); }
.hero-copy { padding: 11px 0; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent-deep); font-weight: 700; font-size: 13px; margin: 0 0 12px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #CFFAFE; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.42; color: var(--primary-dark); letter-spacing: -.018em; }
h1 { font-size: clamp(29px, 3vw, 42px); margin: 0; font-weight: 750; }
h2 { font-size: clamp(21px, 2.1vw, 27px); margin: 0; font-weight: 720; }
h3 { font-size: 17px; margin: 0; font-weight: 700; }
.hero-lead { max-width: 670px; color: #475569; font-size: 16px; line-height: 1.95; margin: 17px 0 25px; }
.search-form { display: flex; align-items: stretch; gap: 9px; max-width: 100%; }
.search-form input { min-width: 0; border: 1px solid #C8D6DF; background: #FFF; border-radius: 7px; outline-offset: 2px; box-shadow: 0 1px 4px rgba(15,23,42,.04); color: var(--primary-dark); padding: 13px 16px; height: 54px; flex: 1; }
.search-form input::placeholder { color: #7A8C9D; }
.search-form input:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px #CCFBF1; outline: none; }
.search-form button { white-space: nowrap; border: none; background: var(--warm); color: #17202C; padding: 10px 23px; border-radius: 7px; font-weight: 800; }
.search-form button:hover { background: #FBBF24; }
.search-form button span { padding-left: 7px; }
.micro-copy { color: var(--subtle); font-size: 12px; line-height: 1.6; margin: 11px 0 0; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 15px; }
.search-suggestions span { color: var(--subtle); font-size: 12px; margin-right: 3px; }
.search-suggestions button { border: 1px solid #CFE7E3; background: #ECFDF5; padding: 4px 12px; border-radius: 6px; font-size: 12px; color: #0F766E; }
.search-suggestions button:hover { background: #CCFBF1; }
.hero-aside { background: var(--primary); color: #F1F5F9; padding: 26px 23px; border-radius: var(--radius); position: relative; align-self: stretch; overflow: hidden; }
.hero-aside::after { content: ''; position: absolute; width: 175px; height: 175px; top: -93px; right: -75px; border: 27px solid rgba(45,212,191,.15); border-radius: 50%; pointer-events: none; }
.mini-heading { display: block; color: #B8ECE5; letter-spacing: .055em; font-size: 13px; font-weight: 750; margin-bottom: 16px; }
.quick-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-tags a { display: flex; align-items: center; justify-content: space-between; padding: 12px 9px; font-size: 13px; border-radius: 6px; border: 1px solid #456A75; background: #27485A; color: #F8FAFC; min-width: 0; }
.quick-tags a:hover { border-color: #2DD4BF; background: #31596A; }
.quick-tags span { color: var(--accent); margin-left: 6px; }
.hero-aside p { font-size: 13px; color: #C6D8DF; line-height: 1.85; margin: 23px 0 0; }
.section { margin-top: 47px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.section-heading p:not(.section-kicker) { margin: 6px 0 0; color: var(--subtle); font-size: 14px; }
.section-kicker { margin: 0 0 5px; color: var(--accent-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: #126A69; font-size: 13px; font-weight: 750; white-space: nowrap; }
.text-link:hover { color: #074F4F; text-decoration: underline; text-underline-offset: 3px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 11px; }
.category-card { min-width: 0; border: 1px solid var(--border); background: #FFF; border-radius: 8px; padding: 19px 17px 16px; display: flex; flex-direction: column; min-height: 186px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.category-card:hover { transform: translateY(-2px); border-color: #8DC7C0; box-shadow: 0 7px 21px rgba(15,23,42,.06); }
.category-card__label { width: fit-content; border-radius: 4px; color: var(--accent-deep); background: #DFF7F0; font-size: 12px; line-height: 1.7; padding: 2px 7px; font-weight: 700; margin-bottom: 13px; }
.category-card strong { font-size: 17px; line-height: 1.5; color: var(--primary-dark); margin-bottom: 3px; }
.category-card small { font-size: 12px; color: var(--subtle); line-height: 1.7; }
.category-card__action { color: var(--accent-deep); font-size: 12px; margin-top: auto; padding-top: 19px; font-weight: 750; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.result-card { display: flex; flex-direction: column; min-width: 0; padding: 20px 21px 19px; background: #FFF; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .18s, box-shadow .18s; }
.result-card:hover { border-color: #B1CFD5; box-shadow: 0 8px 28px rgba(15,23,42,.055); }
.result-card__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 11px; }
.category-tag { font-size: 11px; font-weight: 800; color: var(--accent-deep); padding: 2px 7px; background: #E6F8F4; border-radius: 4px; }
.meta-text { color: var(--subtle); font-size: 12px; }
.result-card h3 { margin: 0 0 9px; }
.result-card h3 a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.result-card p { color: #506074; font-size: 13px; line-height: 1.85; margin: 0 0 17px; }
.tag-list { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; margin-bottom: 17px; }
.tag-list span { color: #5F7485; background: #F1F5F9; font-size: 11px; padding: 3px 8px; border-radius: 4px; line-height: 1.5; }
.result-card .text-link { margin-top: auto; padding-top: 7px; }
.discovery-band { background: #17384B; color: #E2EEF1; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(220px,.65fr); gap: 38px; border-radius: var(--radius); padding: 35px; position: relative; }
.discovery-band h2 { color: #FFF; }
.discovery-band p:not(.section-kicker) { color: #C3D4DD; margin: 11px 0 19px; max-width: 640px; font-size: 14px; line-height: 1.9; }
.discovery-band .section-kicker { color: #6DE7D7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; padding: 11px 17px; background: var(--primary); color: white; font-size: 13px; font-weight: 750; min-height: 43px; border: 1px solid transparent; }
.button:hover { color: white; background: #31596A; }
.button--light { background: var(--accent); color: #073B37; }
.button--light:hover { color: #073B37; background: #66E8D4; }
.scenario-panel { align-self: center; border: 1px solid #47697A; border-radius: 8px; background: rgba(255,255,255,.045); padding: 17px; display: flex; flex-direction: column; gap: 8px; }
.scenario-panel > span { color: #AFC3CE; font-size: 12px; font-weight: 750; padding: 0 4px 4px; }
.scenario-panel a { color: #E7F3F6; padding: 8px 10px; border: 1px solid #456B78; background: rgba(255,255,255,.05); border-radius: 5px; font-size: 13px; }
.scenario-panel a:hover { background: rgba(45,212,191,.12); border-color: var(--accent); }
.assistant-teaser-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #FFF; }
.assistant-teaser-grid > div { min-width: 0; padding: 24px; }
.assistant-teaser-grid > div + div { border-left: 1px solid var(--border); }
.assistant-teaser-grid h3 { font-size: 16px; padding-left: 11px; border-left: 3px solid var(--accent); }
.assistant-teaser-grid p { margin: 12px 0 0; font-size: 13px; color: var(--subtle); line-height: 1.9; }
.breadcrumbs { padding: 23px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--subtle); font-size: 12px; }
.breadcrumbs a { color: #506C7D; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current=page] { color: var(--text); }
.page-intro { padding: 32px 0 24px; max-width: 860px; }
.page-intro h1 { font-size: clamp(27px, 2.7vw, 38px); }
.page-intro > p:not(.section-kicker) { font-size: 15px; line-height: 1.95; max-width: 830px; color: #506074; margin: 13px 0 0; }
.search-workspace { border: 1px solid var(--border); background: white; padding: 21px; border-radius: 8px; }
.search-form--inner { max-width: 790px; }
.search-form--inner button { background: var(--primary); color: white; }
.search-form--inner button:hover { background: #31596A; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 19px; }
.filter-row > span { font-size: 12px; color: var(--subtle); padding-right: 6px; }
.filter-row a { color: #506074; padding: 5px 13px; border-radius: 5px; font-size: 13px; border: 1px solid transparent; }
.filter-row a:hover { background: #F1F5F9; color: var(--primary); }
.filter-row a[aria-current=true] { background: #DDF8F2; border-color: #B2E8DA; color: #0F766E; font-weight: 750; }
.search-results { margin-top: 33px; }
.search-results .results-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.empty-state { padding: 42px 25px; border: 1px dashed #BECED5; border-radius: 8px; background: white; text-align: center; }
.empty-state h3 { font-size: 19px; }
.empty-state p { color: var(--subtle); font-size: 14px; max-width: 480px; margin: 12px auto 18px; }
.helper-note { padding: 27px 29px; border: 1px solid var(--border); background: #EEF4F6; border-radius: 8px; }
.helper-note h2 { font-size: 22px; }
.helper-note > p { font-size: 14px; color: #506074; line-height: 1.95; max-width: 900px; }
.tip-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin-top: 18px; }
.tip-grid h3 { font-size: 15px; }
.tip-grid p { font-size: 13px; line-height: 1.85; color: var(--subtle); margin: 7px 0 0; }
.method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.method-grid article { background: #FFF; border-radius: 8px; border: 1px solid var(--border); padding: 22px; }
.method-index { display: block; color: #0F766E; font-weight: 800; font-size: 13px; letter-spacing: .04em; padding-bottom: 13px; }
.method-grid h3 { margin-bottom: 9px; font-size: 16px; }
.method-grid p { margin: 0; color: #64748B; font-size: 13px; line-height: 1.9; }
.assist-list { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: #FFF; }
.assist-row { display: grid; grid-template-columns: 105px minmax(0,1fr) max-content; align-items: center; gap: 22px; padding: 20px 25px; }
.assist-row + .assist-row { border-top: 1px solid var(--border); }
.assist-row__type { background: #E8F7F2; color: #0F766E; text-align: center; font-size: 12px; font-weight: 750; border-radius: 4px; padding: 6px 8px; }
.assist-row h3 { font-size: 16px; }
.assist-row h3 a:hover { color: var(--accent-deep); }
.assist-row p { margin: 4px 0 0; color: var(--subtle); font-size: 13px; }
.assist-row__go { color: #0F766E; font-size: 13px; font-weight: 750; white-space: nowrap; }
.assist-row__go:hover { text-decoration: underline; }
.note-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 19px; }
.detail-page { margin-top: 16px; }
.detail-header { display: grid; grid-template-columns: minmax(0,1fr) 265px; gap: 38px; padding: 24px 0 32px; border-bottom: 1px solid var(--border); }
.detail-header h1 { font-size: clamp(26px,2.7vw,38px); max-width: 790px; }
.detail-hook { color: #506074; font-size: 16px; line-height: 1.9; margin: 17px 0 14px; }
.detail-header .tag-list { margin-top: 13px; }
.detail-aside { background: #EDF6F5; border: 1px solid #D0E7E3; border-radius: 7px; padding: 22px; align-self: start; }
.detail-aside > span { display: block; font-size: 13px; color: var(--accent-deep); font-weight: 800; margin-bottom: 11px; }
.detail-aside p { color: #456475; font-size: 13px; line-height: 1.75; margin: 10px 0 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 43px; padding-top: 28px; }
.detail-section + .detail-section { padding-top: 28px; border-top: 1px solid var(--border); margin-top: 27px; }
.detail-section h2 { font-size: 23px; margin-bottom: 12px; }
.detail-section p { color: #45576B; font-size: 15px; line-height: 2.02; }
.detail-section .section-note { font-size: 12px; color: #64748B; margin-top: 2px; }
.story-steps { list-style: none; padding: 0; margin: 23px 0 4px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.story-steps li { display: flex; align-items: center; gap: 12px; background: #FFF; border: 1px solid var(--border); border-radius: 7px; padding: 16px; min-width: 0; }
.story-steps span { font-size: 13px; font-weight: 800; color: var(--accent-deep); }
.story-steps strong { color: var(--primary-dark); font-size: 14px; font-weight: 750; }
.detail-sidebar { align-self: start; border: 1px solid var(--border); border-radius: 8px; background: #FFF; padding: 22px; }
.detail-sidebar h2 { font-size: 18px; }
.detail-sidebar p { font-size: 13px; color: var(--subtle); line-height: 1.9; }
.sidebar-links { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a { font-size: 13px; color: #0F766E; background: #F1FAF8; border-radius: 5px; padding: 10px 12px; }
.sidebar-links a:hover { background: #DDF7EE; }
.back-strip { background: #E7EFF2; padding: 21px 27px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 8px; }
.back-strip h2 { font-size: 19px; }
.back-strip p { color: #607384; margin: 5px 0 0; font-size: 13px; }
.not-found { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px 0; }
.not-found__code { font-size: clamp(80px,12vw,130px); line-height: 1; font-weight: 800; color: #C4DDDD; letter-spacing: -.08em; margin-bottom: 18px; }
.not-found h1 { font-size: 29px; }
.not-found p { max-width: 540px; font-size: 14px; color: var(--subtle); line-height: 1.9; }
.not-found__actions { display: flex; gap: 23px; align-items: center; margin-top: 15px; }
.site-footer { background: var(--primary-dark); color: #CBD5E1; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 65px; max-width: calc(var(--wide) + 48px); padding: 48px 24px 35px; margin: auto; }
.footer-brand { color: #FFF; font-size: 21px; }
.footer-grid p { font-size: 12px; color: #AAB9CB; line-height: 1.95; margin: 12px 0 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; }
.footer-grid nav strong, .footer-grid > div > strong:not(.footer-brand) { font-size: 13px; color: #FFF; }
.footer-grid nav a { font-size: 12px; color: #B6C5D4; }
.footer-grid nav a:hover { color: #5EEAD4; }
.footer-bottom { border-top: 1px solid #29354B; max-width: calc(var(--wide) + 48px); margin: auto; padding: 18px 24px 25px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: #8EA1B7; }
@media (max-width: 1050px) {
 .header-wrap { gap: 20px; }
 .main-nav { margin-left: 0; }
 .main-nav a { padding: 7px 11px; }
 .hero { grid-template-columns: minmax(0,1.65fr) minmax(220px,.75fr); gap: 20px; }
 .category-card { padding: 16px 12px; }
 .category-grid { gap: 8px; }
 .category-card strong { font-size: 15px; }
 .result-card { padding: 19px 17px; }
 .footer-grid { gap: 35px; }
}
@media (max-width: 820px) {
 .header-wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 9px; gap: 9px 16px; }
 .brand { margin-right: auto; }
 .main-nav { order: 3; width: 100%; justify-content: space-around; border-top: 1px solid var(--border); padding-top: 6px; }
 .main-nav a { flex: 1; justify-content: center; }
 .nav-search { margin-left: 0; }
 .hero { grid-template-columns: 1fr; padding-top: 34px; }
 .hero-aside { padding: 22px; }
 .quick-tags { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .results-grid, .search-results .results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .category-card { min-height: 160px; }
 .detail-header { grid-template-columns: 1fr; gap: 16px; }
 .detail-layout { grid-template-columns: 1fr; gap: 24px; }
 .detail-aside { max-width: 100%; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-grid > div:last-child { grid-column: span 2; }
}
@media (max-width: 620px) {
 body { font-size: 14px; }
 .page-container { padding: 0 16px 45px; }
 .header-wrap { padding-left: 16px; padding-right: 16px; }
 .brand img { width: 32px; height: 32px; }
 .brand strong { font-size: 16px; }
 .brand small { font-size: 9px; }
 .nav-search { padding: 7px 10px; font-size: 11px; }
 .main-nav a { font-size: 12px; min-height: 36px; }
 .hero { padding-top: 27px; gap: 23px; }
 .hero-copy { padding: 0; }
 .hero-lead { font-size: 14px; }
 .search-form { flex-direction: column; gap: 8px; }
 .search-form input { flex: auto; height: 51px; width: 100%; }
 .search-form button { min-height: 47px; width: 100%; }
 .quick-tags { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .hero-aside p { margin-top: 13px; }
 .section { margin-top: 34px; }
 .section-heading { display: block; }
 .section-heading .text-link { margin-top: 12px; }
 .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .category-card { min-height: 154px; }
 .results-grid, .search-results .results-grid { grid-template-columns: 1fr; }
 .discovery-band { grid-template-columns: 1fr; gap: 23px; padding: 23px; }
 .assistant-teaser-grid, .method-grid, .tip-grid { grid-template-columns: 1fr; }
 .assistant-teaser-grid > div + div { border-left: none; border-top: 1px solid var(--border); }
 .assistant-teaser-grid > div { padding: 19px; }
 .tip-grid { gap: 17px; }
 .helper-note { padding: 21px 19px; }
 .page-intro { padding: 24px 0 21px; }
 .page-intro h1 { font-size: 27px; }
 .search-workspace { padding: 15px; }
 .filter-row a { padding: 4px 8px; font-size: 12px; }
 .assist-row { grid-template-columns: 1fr; gap: 7px; padding: 18px; }
 .assist-row__type { width: fit-content; }
 .assist-row__go { margin-top: 5px; }
 .detail-header { padding-top: 12px; }
 .detail-header h1 { font-size: 27px; }
 .detail-section h2 { font-size: 20px; }
 .story-steps { grid-template-columns: 1fr; }
 .back-strip { flex-direction: column; align-items: flex-start; }
 .footer-grid { grid-template-columns: 1fr; gap: 23px; padding: 35px 16px 25px; }
 .footer-grid > div:last-child { grid-column: auto; }
 .footer-bottom { padding-left: 16px; padding-right: 16px; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
