/* 爱看机器人 - 影视搜索与在线播放 */
:root {
  --ink: #1b1713;
  --paper: #f8f1e4;
  --card: #fffdf8;
  --accent: #c9502a;
  --deep: #174f4a;
  --mu: #6b6257;
  --line: #e2d6c2;
  --header: 72px;
  --w: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
ul, ol, p, h1, h2, h3, h4, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid rgba(201, 80, 42, 0.4); outline-offset: 3px; }

.wrap { width: min(var(--w), calc(100% - 48px)); margin-inline: auto; }

/* 顶栏 */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 241, 228, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.hd::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
}
.hd-in {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 26px;
}
.hd-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.hd-brand img { border-radius: 9px; object-fit: contain; }
.hd-brand b {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.hd-brand small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--mu);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  padding: 7px 11px;
  border-radius: 5px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a:hover { background: #efe4d1; color: var(--deep); }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 0 #8f351a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 #8f351a; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep);
  place-items: center;
  background: var(--card);
}

/* 英雄区：左文 + 右侧双层叠放截图 + 悬浮搜索条 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 66px;
  background:
    radial-gradient(circle at 88% 8%, rgba(201, 80, 42, 0.1), transparent 34%),
    repeating-linear-gradient(90deg, rgba(27, 23, 19, 0.035) 0 1px, transparent 1px 56px),
    var(--paper);
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}
.kick {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--deep);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 62px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-sub {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: 0.01em;
}
.hero-desc {
  margin-top: 14px;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mu);
}
.acts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 5px 0 #8f351a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 #8f351a; }
.btn svg { width: 18px; height: 18px; }
.ghost {
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
  border-bottom: 2px dashed var(--deep);
  padding-bottom: 2px;
}
.ghost:hover { color: var(--accent); border-color: var(--accent); }
.hero-meta {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--mu);
  letter-spacing: 0.02em;
}
.hero-meta time { color: var(--deep); font-weight: 700; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.facts li {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  padding-left: 11px;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}
.facts li:nth-child(2) { border-color: var(--deep); }
.facts li:nth-child(3) { border-color: #b8a488; }
.facts span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mu);
}

.stage {
  position: relative;
  min-width: 0;
  min-height: 566px;
}
.stage-search {
  position: absolute;
  left: 0;
  top: 6%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(322px, 92%);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 16px 34px rgba(27, 23, 19, 0.16);
  transform: rotate(-1.2deg);
}
.ss-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 4px;
  background: #f2e8d6;
  font-size: 12.5px;
  color: var(--mu);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-btn {
  flex: none;
  padding: 9px 15px;
  border-radius: 4px;
  background: var(--deep);
  color: #f8f1e4;
  font-size: 12.5px;
  font-weight: 700;
}
.stage-shot {
  position: absolute;
  overflow: hidden;
  border: 6px solid var(--card);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 26px 52px rgba(27, 23, 19, 0.18);
}
.stage-shot img { width: 100%; }
.stage-shot.back {
  top: 0;
  right: 0;
  width: 238px;
  max-width: 44%;
  transform: rotate(3deg);
  z-index: 1;
  animation: floaty 7.5s ease-in-out infinite;
}
.stage-shot.front {
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 55%;
  transform: rotate(-2deg);
  z-index: 2;
  animation: floaty 9s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* 入口下载：深绿信息带 */
.entry {
  background: var(--deep);
  color: #f8f1e4;
  padding: 44px 0 46px;
}
.entry-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.entry .tag { color: #f0a382; }
.entry h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.entry p {
  margin-top: 10px;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 241, 228, 0.78);
}
.entry-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}
.entry-meta li {
  padding-left: 14px;
  border-left: 2px solid rgba(248, 241, 228, 0.28);
}
.entry-meta b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}
.entry-meta span {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(248, 241, 228, 0.65);
}

/* 区块通用 */
.sec { padding: 78px 0; }
.sh { max-width: 40em; margin-bottom: 34px; }
.sh h2 {
  font-size: clamp(27px, 3.3vw, 36px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sh p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mu);
}

/* 核心特色：bento 网格 */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bx {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--deep);
  border-radius: 7px;
  background: var(--card);
  min-height: 176px;
}
.bx.wide { grid-column: span 2; }
.bx.alt {
  border-top-color: var(--accent);
  background: #f2e7d5;
}
.bx .no {
  display: block;
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.bx h4 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.bx p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mu);
}

/* 界面展示 */
.show {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: start;
}
.g {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.g.big {
  grid-row: span 2;
  padding-top: 14px;
}
.g.big img { max-width: 340px; margin: 0 auto; }
.g:nth-child(2) img { max-width: 280px; margin: 0 auto; padding-top: 12px; }
.g:nth-child(3) img { max-width: 300px; margin: 0 auto; padding-top: 12px; }
.g figcaption {
  margin-top: 12px;
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  background: var(--card);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.6;
}
.guide {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.guide h4 {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
}
.guide-note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--mu);
}
.steps {
  counter-reset: st;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 22px;
}
.steps li {
  counter-increment: st;
  padding: 0 20px 0 0;
  border-right: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--mu);
}
.steps li + li { padding-left: 20px; }
.steps li:last-child { border-right: 0; padding-right: 0; }
.steps li::before {
  content: "STEP 0" counter(st);
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.steps b {
  display: block;
  margin-bottom: 4px;
  font-size: 15.5px;
  color: var(--ink);
}
.steps span { display: block; }

/* FAQ */
.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.qa {
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  box-shadow: 0 20px 34px -28px rgba(27, 23, 19, 0.55);
}
.qa.wide { grid-column: 1 / -1; background: #f2e7d5; }
.qa h3 {
  margin-bottom: 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
}
.qa p {
  font-size: 13.6px;
  line-height: 1.85;
  color: var(--mu);
}

/* 用户评价 */
.rev {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rev-list {
  display: grid;
  gap: 0;
}
.rv {
  position: relative;
  padding: 22px 0 22px 30px;
  border-left: 3px solid var(--accent);
  border-bottom: 1px dashed var(--line);
}
.rv:nth-child(even) { border-left-color: var(--deep); }
.rv:last-child { border-bottom: 0; }
.rv::before {
  content: "\201C";
  position: absolute;
  left: 8px;
  top: 6px;
  font-size: 34px;
  line-height: 1;
  color: var(--line);
}
.rv blockquote {
  font-size: 15px;
  line-height: 1.85;
  color: #33291f;
}
.rv-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--mu);
}
.rv-meta b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--deep);
}
.rv-meta time { letter-spacing: 0.03em; }

/* 下载区 */
.download {
  padding: 64px 0 68px;
  background: var(--ink);
  color: #f8f1e4;
  text-align: center;
}
.dl-panel { display: block; }
.dl-head {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dl-head img { border-radius: 12px; object-fit: contain; }
.dl-panel h2 {
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #f8f1e4;
}
.dl-panel > p {
  max-width: 46em;
  margin: 14px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(248, 241, 228, 0.72);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.chips li {
  padding: 5px 13px;
  border: 1px solid rgba(248, 241, 228, 0.32);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(248, 241, 228, 0.85);
}
.dl-btn { margin-top: 26px; }
.dl-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(248, 241, 228, 0.55);
}

/* 页脚 */
.ft {
  padding: 38px 0 42px;
  background: var(--deep);
  color: #f8f1e4;
  border-top: 4px solid var(--accent);
}
.ft-in {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px 32px;
  align-items: start;
}
.ft-l {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 16px;
}
.ft-l img { border-radius: 7px; object-fit: contain; }
.ft-in p {
  max-width: 38em;
  font-size: 12.8px;
  line-height: 1.8;
  color: rgba(248, 241, 228, 0.68);
}
.ft-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 600;
}
.ft-nav a:hover { color: #f0a382; }
.ft-c {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 241, 228, 0.2);
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(248, 241, 228, 0.6);
}

/* 返回顶部 */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 0 #8f351a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.backtop.on { opacity: 1; pointer-events: auto; }

#interaction-complaint-button { color: #1b1713 !important; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .hero-in,
  .entry-in,
  .ft-in {
    grid-template-columns: 1fr;
  }
  .stage { min-height: 500px; margin-top: 26px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bx.wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(3) { padding-left: 0; }
  .ft-nav { justify-content: flex-start; }
  .nav {
    position: absolute;
    top: calc(var(--header) + 3px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(27, 23, 19, 0.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: grid; margin-left: auto; }
  .cta { display: none; }
}

@media (max-width: 760px) {
  .gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .g {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .g.big { grid-row: auto; padding-top: 12px; }
  .qa-grid { grid-template-columns: 1fr; }
  .qa.wide { grid-column: auto; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--w), calc(100% - 32px)); }
  .hero { padding: 34px 0 46px; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 19px; }
  .hero-in { gap: 30px; }
  .stage {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 0;
  }
  .stage-search {
    position: static;
    width: 100%;
    transform: none;
  }
  .stage-shot {
    position: static;
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    transform: none;
    border-width: 4px;
    animation: none;
  }
  .stage-shot.back,
  .stage-shot.front {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    min-width: 0;
    max-width: none;
    transform: none;
  }
  .stage-shot img { width: 100%; }
  .facts { gap: 10px 18px; }
  .bento { grid-template-columns: 1fr; }
  .bx.wide { grid-column: auto; }
  .entry-meta { gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps li,
  .steps li + li { padding: 0 0 0 12px; border-right: 0; border-left: 2px solid var(--line); }
  .rv { padding: 18px 0 18px 26px; }
  .ft-in { gap: 12px; }
}
