/* ========== 主题变量 ========== */
/* ========== 基础重置 ========== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans CN", Arial, sans-serif;
  background: #f6f3ed;
  font-size: 0.08333333rem;
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
}
html {
  height: 100%;
}
body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
/* 全屏滚动由 .fullpage-wrap(100vh+overflow:hidden) 控制，html/body 保持可滚动以便露出页脚 */
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
.container {
  width: 6.875rem;
  margin: 0 auto;
  padding: 0 0.10416667rem;
}
/* ========== 内页公共 ========== */
.inner-main {
  width: 6.875rem;
  margin: 0 auto;
  padding: 0 0.10416667rem 0.3125rem;
}
.page-header {
  padding: 0.1875rem 0 0.14583333rem;
}
.crumb {
  font-size: 0.06770833rem;
  color: #aaa;
  margin-bottom: 0.08333333rem;
}
.crumb a {
  color: #aaa;
  transition: color 0.2s;
}
.crumb a:hover {
  color: #8b2e2e;
}
.crumb .sep {
  margin: 0 0.04166667rem;
  color: #ccc;
}
.crumb .current {
  color: #2b2b2b;
}
.page-title {
  font-size: 0.1875rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.page-sub {
  font-size: 0.0625rem;
  color: #c8a97e;
  letter-spacing: 0.02083333rem;
  margin-top: 0.04166667rem;
  text-transform: uppercase;
  font-weight: 500;
}
.page-title-bar {
  width: 0.25rem;
  height: 0.015625rem;
  background: #8b2e2e;
  margin-top: 0.08333333rem;
}
/* 区块标题（带金色短下划线） */
.block-title {
  font-size: 0.11458333rem;
  font-weight: 700;
  color: #8b2e2e;
  padding-bottom: 0.05208333rem;
  margin-bottom: 0.125rem;
  border-bottom: 0.01041667rem solid #c8a97e;
  display: inline-block;
}
.block-title-wrap {
  margin-bottom: 0.125rem;
}
.block-title small {
  font-size: 0.0625rem;
  color: #c8a97e;
  letter-spacing: 0.01041667rem;
  margin-left: 0.05208333rem;
  font-weight: 400;
}
/* 通用红色按钮 */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.20833333rem;
  padding: 0 0.14583333rem;
  background: #8b2e2e;
  color: #fff;
  font-size: 0.07291667rem;
  letter-spacing: 0.01041667rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-red:hover {
  background: #a33838;
}
/* 分页（圆形） */
.pager-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.20833333rem 0;
  gap: 0.05208333rem;
}
.pager-circle .page-info {
  position: absolute;
  left: 0;
  font-size: 0.06770833rem;
  color: #aaa;
}
.pager-circle a,
.pager-circle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.20833333rem;
  height: 0.20833333rem;
  border-radius: 50%;
  border: 0.00520833rem solid #ddd;
  font-size: 0.07291667rem;
  color: #666;
  transition: all 0.2s;
}
.pager-circle a:hover {
  border-color: #8b2e2e;
  color: #8b2e2e;
}
.pager-circle .current {
  background: #8b2e2e;
  border-color: #8b2e2e;
  color: #fff;
}
/* ========== 视频页 ========== */
/* 筛选区 */
.video-filters {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.14583333rem;
  border: 0.00520833rem solid #DAD5C8;
  padding: 0.0625rem 0.08333333rem;
}
.video-tabs {
  display: flex;
  gap: 0.0625rem;
}
.video-tab {
  padding: 0.05208333rem 0.14583333rem;
  font-size: 0.07291667rem;
  color: #2b2b2b;
  cursor: pointer;
  background: #F8F6EF;
  transition: all 0.2s;
  text-decoration: none;
  border: 0.00520833rem solid #DAD5C8;
}
.video-tab.active {
  background: #8b2e2e;
  color: #fff;
  border-color: #8b2e2e;
  font-weight: 700;
}
.video-tab:hover:not(.active) {
  color: #8b2e2e;
  border-color: #8b2e2e;
}
.video-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.05208333rem;
}
.video-search form {
  display: flex;
  align-items: center;
  gap: 0.05208333rem;
}
.video-search input {
  width: 1.25rem;
  height: 0.19791667rem;
  border: 0.00520833rem solid #DAD5C8;
  padding: 0 0.0625rem;
  font-size: 0.06770833rem;
  background: #F8F6EF;
}
/* 列表 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.125rem;
  margin-bottom: 0.1875rem;
}
.video-card {
  background: #FFFDF8;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.video-card:hover {
  box-shadow: 0 0.03125rem 0.10416667rem rgba(0, 0, 0, 0.12);
}
.video-thumb {
  position: relative;
  width: 100%;
  height: 1.14583333rem;
  overflow: hidden;
  background: #ddd;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-pic-fallback {
  width: 100%;
  height: 100%;
  background: #34495e;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.26041667rem;
  height: 0.26041667rem;
  border-radius: 50%;
  background: rgba(139, 46, 46, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play::before {
  content: '';
  border-style: solid;
  border-width: 0.05208333rem 0 0.05208333rem 0.08333333rem;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.02083333rem;
}
.video-info {
  padding: 0.08333333rem 0.09375rem;
  background: #FFFDF8;
}
.video-info .vt {
  font-size: 0.078125rem;
  color: #2b2b2b;
  margin-bottom: 0.05208333rem;
  line-height: 1.5;
  font-weight: 500;
}
.video-info .vm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.0625rem;
  color: #aaa;
}
.video-info .vm .vtab {
  color: #8b2e2e;
  font-weight: 500;
}
.video-info .vm .num {
  color: #c9c5bb;
  font-family: "Consolas", "Courier New", "Menlo", monospace;
  font-size: 0.06770833rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
/* 空态 */
.video-empty {
  grid-column: -1;
  text-align: center;
  color: #aaa;
  padding: 0.3125rem 0;
}
/* 分页（与清单页一致） */
.pager-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.125rem;
}
.pager-info {
  font-size: 0.06770833rem;
  color: #aaa;
}
.pager-btns {
  display: flex;
  gap: 0.05208333rem;
}
.pager-btns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.19791667rem;
  height: 0.19791667rem;
  border-radius: 50%;
  border: 0.00520833rem solid #DAD5C8;
  background: #fff;
  color: #555;
  font-size: 0.07291667rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.pager-btns a.active {
  background: #8b2e2e;
  border-color: #8b2e2e;
  color: #fff;
  font-weight: 700;
}
.pager-btns a.disabled {
  background: #f3f0e8;
  color: #bbb;
  cursor: not-allowed;
  pointer-events: none;
}
.pager-btns a:hover:not(.active):not(.disabled) {
  border-color: #8b2e2e;
  color: #8b2e2e;
}
