/* 暮野：暖色、检索条、播放器单独一行，主栏与热搜对调 */
:root {
  --bg: #2a1d16;
  --panel: #3a2a20;
  --line: #5a4030;
  --text: #f6efe6;
  --muted: #c4a994;
  --accent: #e07a3d;
  --hot: #f2c14e;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; }
.wrap { width: min(1200px, calc(100% - 22px)); margin: 0 auto; }
.top { background: #21160f; padding: 14px 0; }
.top-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-size: 22px; font-weight: 700; }
.logo span { color: var(--accent); }
.seek { display: flex; }
.seek input { width: 220px; border: 1px solid var(--line); background: #2b1f18; color: #fff; padding: 7px 10px; }
.seek button { border: 0; background: var(--accent); color: #2a160c; padding: 7px 14px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 6px; }
.nav a { padding: 5px 11px; background: #3d2b20; border-radius: 16px; font-size: 13px; }
.nav a.on, .nav a:hover { background: var(--accent); color: #2a160c; }
.hotline { font-size: 12px; color: var(--muted); }
.hotline a { margin-right: 10px; }
.sec { margin: 20px 0; }
.sec-hd { display: flex; justify-content: space-between; margin-bottom: 10px; }
.sec-hd h2 { margin: 0; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 14px; }
.card { background: var(--panel); padding: 8px; border-radius: 8px; }
.card .poster { display: block; position: relative; padding-top: 140%; border-radius: 6px; overflow: hidden; background: #1a120c; }
.card .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .poster .tag { position: absolute; top: 8px; left: 8px; background: #7b3f1d; font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.card .poster .res { position: absolute; right: 8px; bottom: 8px; font-size: 12px; }
.card .name { margin: 8px 0 2px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sub { margin: 0; color: var(--muted); font-size: 12px; }
.page-title { font-size: 20px; }
.crumbs { color: var(--muted); font-size: 13px; }
.player-box { border-radius: 10px; overflow: hidden; }
.player-frame { position: relative; padding-top: 56.25%; background: #000; }
.player-frame iframe, .player-frame .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.side { background: var(--panel); border-radius: 8px; padding: 14px; margin: 12px 0; }
.side h1 { margin: 0 0 8px; font-size: 20px; }
.meta { color: var(--muted); }
.eps .on { display: inline-block; margin-top: 8px; background: var(--accent); color: #2a160c; padding: 4px 10px; border-radius: 4px; }
.intro, .hotbox { background: var(--panel); border-radius: 8px; padding: 14px; margin: 12px 0; }
.intro p { color: #ead9c8; line-height: 1.75; }
.relk a { color: var(--hot); margin-right: 8px; }
.qa dt { margin: 8px 0 4px; }
.qa dd { margin: 0; color: #ead9c8; }
.cols { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.pager a { padding: 5px 10px; background: #3d2b20; border-radius: 4px; }
.pager a.on { background: var(--accent); color: #2a160c; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 20px 0 28px; }
.review { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #3a2418; padding: 40px 16px; }
@media (max-width: 900px) {
  .top-row { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
}
