/* 蘑菇影视 · 2026最新高清电影 · 深蓝影视风 · 频道条 + 双栏 */
:root {
  --bg: #0f172a;
  --strip: #1e3a5f;
  --panel: #1e293b;
  --card: #334155;
  --line: #475569;
  --text: #f8fafc;
  --text-2: #e2e8f0;
  --text-3: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-bg: rgba(59, 130, 246, 0.12);
  --rad: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", ui-sans-serif, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* 顶栏 */
.hd {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.hd-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hd-logo {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.hd-logo:hover { color: var(--accent-2); }
.hd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.hd-nav a {
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s, background 0.2s;
}
.hd-nav a:hover, .hd-nav a.on { color: var(--accent-2); background: var(--accent-bg); }

/* 频道条：横向按钮行 */
.channel-strip {
  background: var(--strip);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
}
.channel-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.channel-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rad);
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.84rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.channel-strip a:hover { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-2); }
.channel-strip .ic {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.channel-strip .ic img { width: 100%; height: 100%; object-fit: cover; }

/* 主区：双栏 左文右表 */
.main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.4rem 1rem 1.8rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

/* 左栏：介绍 */
.intro-col {
  min-width: 0;
}
.intro-col h2 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.65rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--accent);
}
.intro-col .prose {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 1.3rem 1.4rem;
}
.intro-col .prose p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.78;
}
.intro-col .prose p:last-of-type { margin-bottom: 0; }
.intro-col .prose strong { color: var(--accent-2); }

/* 右栏：最新登录入口 / 推荐列表 */
.side-col {
  position: sticky;
  top: 5rem;
}
.side-col h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 0.7rem;
}
.side-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.side-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.side-item:hover { border-color: var(--accent); background: var(--accent-bg); }
.side-item .th {
  width: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.side-item .th img { width: 100%; height: 100%; object-fit: cover; }
.side-item .tx { flex: 1; min-width: 0; }
.side-item .tx .t { font-size: 0.86rem; font-weight: 600; margin-bottom: 0.12rem; }
.side-item:hover .tx .t { color: var(--accent-2); }
.side-item .tx .d { font-size: 0.74rem; color: var(--text-3); }

/* 列表页（单列） */
.list-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.3rem 1rem 1.8rem;
}
.list-cap { margin-bottom: 1.1rem; }
.list-cap h1 { font-size: 1.22rem; font-weight: 700; margin-bottom: 0.28rem; }
.list-cap p { font-size: 0.84rem; color: var(--text-2); }
.list-rows { display: flex; flex-direction: column; gap: 0.6rem; }
.list-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.list-row:hover { border-color: var(--accent); }
.list-row .th {
  width: 140px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.list-row .th img { width: 100%; height: 100%; object-fit: cover; }
.list-row .inf { flex: 1; min-width: 0; }
.list-row .inf h2 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.22rem; }
.list-row:hover .inf h2 { color: var(--accent-2); }
.list-row .inf .d { font-size: 0.78rem; color: var(--text-3); }

/* 内容页 */
.art-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.3rem 1rem 1.8rem;
  max-width: 650px;
}
.art-page .ah { margin-bottom: 1rem; }
.art-page .ah h1 { font-size: clamp(1rem, 2vw, 1.26rem); font-weight: 700; margin-bottom: 0.26rem; }
.art-page .ah .m { font-size: 0.76rem; color: var(--text-3); }
.art-page .ab p {
  margin-bottom: 0.95rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.76;
}
.art-page .ab h2 { font-size: 0.94rem; font-weight: 600; color: var(--accent-2); margin: 1.1rem 0 0.4rem; }
.art-page .ab h3 { font-size: 0.86rem; font-weight: 600; margin: 0.9rem 0 0.35rem; }
.art-page .ab img {
  width: 100%;
  border-radius: var(--rad);
  margin: 0.95rem 0;
  border: 1px solid var(--line);
}
.art-page .af {
  margin-top: 1.25rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}
.art-page .af a { color: var(--accent-2); text-decoration: none; }
.art-page .af a:hover { text-decoration: underline; }

.ft {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
}
.ft p { margin-bottom: 0.12rem; }

/* 响应式 */
@media (max-width: 900px) {
  .main { grid-template-columns: 1fr; padding: 1.2rem 0.9rem 1.6rem; }
  .side-col { position: static; }
}
@media (max-width: 600px) {
  .channel-in { justify-content: flex-start; }
  .list-row { flex-direction: column; }
  .list-row .th { width: 100%; max-height: 150px; aspect-ratio: 16/9; }
  .side-item .th { width: 52px; }
}
