/* 91高清影视 · 2026最新 · 珊瑚红主题 */
:root {
  --bg: #0a0a0c;
  --panel: #141416;
  --card: #1a1a1e;
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --accent: #e11d48;
  --accent-2: #f43f5e;
  --accent-soft: rgba(225, 29, 72, 0.2);
  --line: #27272a;
  --radius: 12px;
  --radius-sm: 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.65;
  min-height: 100vh;
}

/* 顶栏 */
.head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.head-in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.65rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.head a { text-decoration: none; color: inherit; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--accent) 0%, #be123c 100%);
  box-shadow: 0 0 14px var(--accent-soft);
}
.brand-txt { font-weight: 700; font-size: 1rem; }
.brand-sub { font-size: 0.7rem; color: var(--text-3); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  font-size: 0.85rem;
}
.nav a {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a.on { color: var(--accent-2); background: var(--accent-soft); }

/* 频道条 */
.channels {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.6rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.channels a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.channels a:hover, .channels a.on { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }

/* 主容器 */
.box { max-width: 1080px; margin: 0 auto; padding: 1.2rem 1.2rem 1.8rem; }

/* 主推卡片：单张大图 + 叠字 */
.feature {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.feature-in {
  position: relative;
  aspect-ratio: 21/9;
  min-height: 160px;
}
.feature-in img { width: 100%; height: 100%; object-fit: cover; }
.feature-in::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
}
.feature-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1.4rem;
  z-index: 1;
}
.feature-cap h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; margin-bottom: 0.3rem; }
.feature-cap p { font-size: 0.85rem; color: var(--text-2); }

/* 双栏：正文 + 侧栏 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}
.main-col { min-width: 0; }
.side-col { min-width: 0; }

.prose {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.prose h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
}
.prose p { margin-bottom: 1rem; font-size: 0.92rem; color: var(--text-2); }
.prose p:last-of-type { margin-bottom: 0; }
.prose strong { color: var(--accent-2); }

.side-title { font-size: 0.75rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.side-list { display: flex; flex-direction: column; gap: 0.5rem; }
.side-item {
  display: flex;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.side-item:last-child { border-bottom: 0; }
.side-item:hover { background: rgba(255,255,255,0.04); }
.side-item .img {
  width: 80px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.side-item .img img { width: 100%; height: 100%; object-fit: cover; }
.side-item .t { font-size: 0.85rem; font-weight: 600; line-height: 1.35; }
.side-item:hover .t { color: var(--accent-2); }

/* 2026最新 网格 */
.sec-cap { font-size: 0.8rem; font-weight: 600; color: var(--text-3); margin-bottom: 0.8rem; padding-left: 0.5rem; border-left: 3px solid var(--accent); }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile .img { aspect-ratio: 16/10; overflow: hidden; }
.tile .img img { width: 100%; height: 100%; object-fit: cover; }
.tile .tit { padding: 0.5rem 0.65rem; font-size: 0.85rem; font-weight: 600; }
.tile:hover .tit { color: var(--accent-2); }

/* 列表页 */
.list-cap { margin-bottom: 1.2rem; }
.list-cap h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.list-cap p { font-size: 0.88rem; color: var(--text-2); }
.list-cap .tags { margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.74rem; }
.list-cap .tags span { padding: 0.18rem 0.5rem; border-radius: 999px; background: var(--accent-soft); color: var(--text-2); border: 1px solid rgba(225,29,72,0.35); }

.rows { display: flex; flex-direction: column; gap: 0.8rem; }
.row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.row:hover { border-color: var(--accent); }
.row .thumb { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10; }
.row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row .info h2 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.3rem; }
.row:hover .info h2 { color: var(--accent-2); }
.row .info .d { font-size: 0.82rem; color: var(--text-2); margin-bottom: 0.2rem; }
.row .info .m { font-size: 0.74rem; color: var(--text-3); }

/* 内容页 */
.page { max-width: 700px; margin: 0 auto; }
.page-head { margin-bottom: 1.3rem; }
.page-head h1 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; margin-bottom: 0.35rem; }
.page-head .meta { font-size: 0.8rem; color: var(--text-3); }
.page-body p { margin-bottom: 1rem; font-size: 0.92rem; color: var(--text-2); line-height: 1.7; }
.page-body h2 { font-size: 1rem; font-weight: 600; color: var(--accent-2); margin: 1.4rem 0 0.55rem; }
.page-body h3 { font-size: 0.9rem; font-weight: 600; margin: 1.1rem 0 0.45rem; }
.page-body img { width: 100%; border-radius: var(--radius-sm); margin: 1rem 0; border: 1px solid var(--line); }
.page-foot { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.84rem; }
.page-foot a { color: var(--accent-2); text-decoration: none; }
.page-foot a:hover { text-decoration: underline; }

.foot {
  border-top: 1px solid var(--line);
  padding: 1.3rem 1.2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
}
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--accent-2); }

/* 响应式 */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .box { padding: 1rem 1rem 1.5rem; }
  .feature-in { aspect-ratio: 16/9; min-height: 140px; }
  .tile-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .row .thumb { max-height: 160px; aspect-ratio: 16/9; }
}
