/* ============================================================
   Blu-ray Theme — 豆瓣风格基础样式
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body.site-body {
  margin: 0;
  font: 12px/1.62 "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #111;
  background: #fff;
}
a { color: #37a; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4 { font-weight: normal; }
ul, ol { margin: 0; padding: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus { position: static !important; width: auto; height: auto; clip: auto; }

/* ---------- 头部 ---------- */
.site-header {
  background: #f0f3f5;
  border-bottom: 1px solid #e3ebec;
  margin-bottom: 28px;
}
.site-header-inner {
  max-width: 1100px; margin: 0 auto; padding: 10px 12px 6px;
  display: flex; align-items: center; gap: 18px;
}
.site-logo {
  font-size: 24px; font-weight: 700; letter-spacing: 1px;
  color: #27a !important; text-decoration: none !important; white-space: nowrap;
}
.site-search { flex: 1 1 auto; display: flex; max-width: 560px; min-width: 0; }
.site-search input {
  flex: 1 1 auto; min-width: 0; height: 34px; padding: 0 10px;
  border: 1px solid #ddd; border-right: 0; background: #fff;
  font-size: 12px; color: #333; border-radius: 3px 0 0 3px; outline: none;
}
.site-search input:focus { border-color: #c3c3c3; }
.site-search button {
  flex: 0 0 54px; height: 34px; border: 0; background: #999; color: #fff;
  font-size: 12px; cursor: pointer; border-radius: 0 3px 3px 0; padding: 0;
}
.site-search button:hover { background: #27a; }

.site-nav { max-width: 1100px; margin: 0 auto; padding: 0 12px 8px; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 25px; margin: 6px 0 0; }
.site-nav li { font-size: 14px; }
.site-nav a { color: #27a !important; text-decoration: none !important; }
.site-nav a:hover { background: #27a; color: #fff !important; }
.site-menu-toggle { display: none; }

/* ---------- 主体容器 ---------- */
.site-main { padding: 0 0 40px; }
.site-container { max-width: 1100px; margin: 0 auto; padding: 0 12px; }
.site-breadcrumb { font-size: 12px; color: #999; margin: 0 0 14px; }
.site-breadcrumb a { color: #37a; }
.site-page-title { font-size: 26px; line-height: 1.3; margin: 0 0 16px; color: #111; }
.site-node-content { font-size: 13px; line-height: 1.62; }
.site-footer { margin: 40px 0 20px; padding-top: 16px; border-top: 1px dashed #e5e5e5; color: #999; font-size: 12px; }

/* ---------- 系统消息 ---------- */
.messages { margin: 0 0 16px; padding: 10px 14px; font-size: 13px; border-left: 3px solid #ccc; background: #fafafa; }
.messages--error { border-color: #d9534f; background: #fdf3f3; }
.messages--warning { border-color: #f0ad4e; background: #fdf8ef; }
.messages--status { border-color: #5cb85c; background: #f3fbf3; }

/* ---------- 表单 ---------- */
input[type="text"], input[type="search"], input[type="email"], input[type="password"], textarea, select {
  font-size: 13px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 2px; background: #fff;
}
button, input[type="submit"] {
  font-size: 13px; padding: 6px 14px; border: 1px solid #ddd; background: #f7f7f7;
  cursor: pointer; border-radius: 2px;
}
button:hover, input[type="submit"]:hover { background: #efefef; }

/* ---------- 分页 ---------- */
.pager { margin: 24px 0; font-size: 13px; }
.pager a, .pager__item { display: inline-block; padding: 3px 9px; margin-right: 4px; color: #37a; }
.pager__item--active { background: #27a; color: #fff; }

/* ---------- 手机端 ---------- */
@media (max-width: 760px) {
  .site-header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 12px 6px; }
  .site-logo { font-size: 20px; }
  .site-search { order: 3; flex: 1 1 100%; max-width: none; }
  .site-menu-toggle {
    display: inline-block; margin-left: auto; order: 2;
    border: 1px solid #c8d4dc; background: #fff; color: #27a;
    font-size: 13px; padding: 5px 12px; border-radius: 3px;
  }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; padding-bottom: 10px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { padding: 7px 0; border-bottom: 1px solid #e8eef2; }
  .site-page-title { font-size: 20px; }
}

/* 内容里重复的电影标题区块隐藏（页面已有 h1） */
.site-node-content .mv-title { display: none !important; }
