/* =========================
       01. 基础变量与移动端适配
       ========================= */
    :root {
      color-scheme: dark;
      --bg: #0b0b0e;
      --panel: #141418;
      --gold: #d2b985;
      --gold-light: #f1dfb9;
      --text: #eeece7;
      --muted: #97938c;
      --border: rgba(218, 191, 139, .17);
      --radius: 24px;
      --shadow: 0 24px 70px rgba(0, 0, 0, .35);
    }

    * { box-sizing: border-box; }

    html {
      min-width: 0;
      background: var(--bg);
      -webkit-text-size-adjust: 100%;
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-width: 0;
      color: var(--text);
      background:
        radial-gradient(ellipse at 85% 0%, rgba(151, 112, 53, .10), transparent 45%),
        radial-gradient(ellipse at 0% 65%, rgba(93, 83, 116, .06), transparent 45%),
        var(--bg);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      -webkit-tap-highlight-color: transparent;
      overflow-wrap: anywhere;
    }

    button, a, input { touch-action: manipulation; }

    button, input { font: inherit; }

    button, a { -webkit-tap-highlight-color: transparent; }

    button {
      color: inherit;
      cursor: pointer;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button:focus-visible,
    a:focus-visible,
    input:focus-visible {
      outline: 2px solid var(--gold-light);
      outline-offset: 5px;
    }

    button:disabled {
      opacity: .4;
      cursor: not-allowed;
    }

    [hidden] { display: none !important; }

    svg {
      display: block;
      width: 20px;
      height: 20px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .shell {
      width: min(1180px, 100%);
      margin-inline: auto;
      padding-inline: 20px;
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }

    /* =========================
       02. 顶部导航与金属浮雕 LOGO
       ========================= */
    .header {
      position: relative;
      z-index: 10;
      border-bottom: 1px solid rgba(255, 255, 255, .055);
      background: rgba(11, 11, 14, .78);
    }

    .header-inner {
      min-height: 88px;
      padding-top: env(safe-area-inset-top);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.brand-emblem {
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(218, 191, 139, .35);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 221, 155, .18), transparent 34%),
    radial-gradient(circle at 75% 80%, rgba(120, 91, 54, .22), transparent 36%),
    linear-gradient(145deg, #1f1c17, #0a0a0c 55%, #141416);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    inset 0 1px 0 rgba(255, 221, 155, .22),
    inset 0 -6px 18px rgba(0, 0, 0, .55),
    0 10px 28px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(218, 191, 139, .08);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-emblem::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 221, 155, .05) 38%, rgba(255, 255, 255, 0) 72%);
  mix-blend-mode: screen;
  pointer-events: none;
}
/* ===== 极简星环 A 方案 ===== */
.brand-emblem::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  /* 金色星环：外圈圆环 */
  border: 2px solid;
  border-image: linear-gradient(135deg, rgba(242, 216, 164, 0.95), rgba(188, 148, 83, 0.45) 60%, rgba(92,70,40,0.8)) 1;
  box-shadow:
    0 0 16px rgba(210, 165, 90, .14),
    inset 0 0 12px rgba(255,221,155,0.08);
}
/* 中心微小高光圆点 */
.brand-emblem .star-dot {
  content: "";
  position: absolute;
  width: 12%;
  height: 12%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,245,220,0.9), rgba(210,170,100,0.2));
  box-shadow: 0 0 8px rgba(255, 230, 180, 0.35);
}

.brand-name {
  display: none;
}

    .nav {
      display: flex;
      align-items: center;
      gap: 3px;
      min-width: 0;
    }

    .nav-item {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      min-height: 44px;
      padding: 0 10px;
      border: 1px solid transparent;
      border-radius: 12px;
      background: transparent;
      color: #aaa69e;
      font-size: 12px;
      white-space: nowrap;
      transition: color .2s, background .2s, box-shadow .2s;
    }

    .nav-item.active {
      color: var(--gold-light);
      border-color: var(--border);
      background: linear-gradient(135deg, rgba(192, 154, 86, .12), rgba(192, 154, 86, .02));
    }

    @media (hover: hover) {
      .nav-item:hover {
        color: var(--gold-light);
        background: rgba(210, 185, 133, .09);
        box-shadow: 0 0 22px rgba(210, 185, 133, .12);
      }
    }

    .language {
      position: relative;
    }

    .language-trigger svg {
      width: 15px;
      height: 15px;
    }

    .language-menu {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: min(270px, calc(100vw - 32px));
      max-height: 65vh;
      max-height: 65dvh;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 8px;
      border: 1px solid var(--border);
      border-radius: 18px;
      background: #17161a;
      box-shadow: 0 25px 70px rgba(0, 0, 0, .65);
    }

    .language-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      min-height: 44px;
      padding: 11px 12px;
      border: 0;
      border-radius: 10px;
      background: transparent;
      text-align: left;
      font-size: 14px;
    }

    .language-option:hover,
    .language-option[aria-checked="true"] {
      color: var(--gold-light);
      background: rgba(210, 185, 133, .1);
    }

    .language-code {
      color: var(--muted);
      font-size: 10px;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    /* =========================
       03. 标题与三张视频卡片
       ========================= */
    main {
      padding-top: 52px;
      padding-bottom: 56px;
    }

    .eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--gold);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: .2em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 25px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--gold));
    }

    .heading-row {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-top: 16px;
    }

    h1 {
      margin: 0;
      color: #f1e9d9;
      font: 400 clamp(46px, 9vw, 76px)/1.1 Georgia, "Times New Roman", serif;
      letter-spacing: -.045em;
    }

    .count {
      flex-shrink: 0;
      padding: 8px 11px;
      border: 1px solid var(--border);
      border-radius: 30px;
      color: var(--gold);
      font-size: 11px;
      letter-spacing: .06em;
    }

    .intro {
      max-width: 520px;
      margin: 18px 0 32px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.8;
    }

    .video-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 22px;
    }

    .video-card {
      min-width: 0;
      padding: 8px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: linear-gradient(140deg, #1b1a1c, #111115 65%);
      box-shadow: var(--shadow);
    }

    .video-card.selected {
      border-color: rgba(218, 191, 139, .48);
    }

    .video-slot {
      position: relative;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      border-radius: 18px;
      isolation: isolate;
      background: #111115;
    }

    /* 没有外链封面：使用 CSS 绘制低调抽象背景。 */
    .video-slot::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(ellipse at 65% 25%, rgba(188, 148, 83, .2), transparent 52%),
        linear-gradient(140deg, #282219, #111216 60%, #1f1b18);
    }

    .video-card:nth-child(2) .video-slot::before {
      background:
        radial-gradient(ellipse at 35% 35%, rgba(127, 142, 154, .18), transparent 50%),
        linear-gradient(145deg, #20282a, #111216 65%, #24221d);
    }

    .video-card:nth-child(3) .video-slot::before {
      background:
        radial-gradient(ellipse at 65% 30%, rgba(164, 120, 124, .19), transparent 55%),
        linear-gradient(145deg, #2b2026, #111216 65%, #24201d);
    }

    .video-slot::after {
      content: "";
      position: absolute;
      width: 60%;
      height: 75%;
      left: 20%;
      top: 10%;
      border: 1px solid rgba(224, 197, 143, .12);
      border-radius: 50%;
      transform: rotate(28deg);
      pointer-events: none;
      z-index: -1;
      box-shadow: 0 0 60px rgba(200, 160, 85, .04);
    }

    .video-slot video {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .card-open {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      border: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .28));
    }

    .play-orb {
      width: 64px;
      height: 64px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(238, 218, 174, .38);
      color: #f3e4c2;
      background: rgba(22, 21, 21, .52);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 32px #0005;
      transition: transform .2s, box-shadow .2s;
    }

    .play-orb svg { margin-left: 3px; }

    .card-open:hover .play-orb {
      transform: scale(1.07);
      box-shadow: 0 0 30px rgba(210, 185, 133, .14);
    }

    .card-number {
      position: absolute;
      top: 15px;
      left: 16px;
      color: rgba(241, 223, 185, .65);
      font: 15px Georgia, serif;
      letter-spacing: .1em;
      pointer-events: none;
    }

    .card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 18px 10px 13px;
    }

    .card-meta h2 {
      margin: 0;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.5;
    }

    .card-meta > span {
      color: var(--gold);
      font-size: 17px;
    }

    /* =========================
       04. 页脚
       ========================= */
    footer {
      border-top: 1px solid rgba(255, 255, 255, .06);
      padding-top: 26px;
      padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .footer-inner {
      display: flex;
      flex-direction: column;
      gap: 23px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 13px 22px;
      color: #aaa59b;
      font-size: 11px;
      line-height: 1.6;
    }

    .footer-links a:hover { color: var(--gold-light); }

    .copyright {
      color: #76716a;
      font-size: 10px;
      line-height: 1.7;
    }

    /* =========================
       05. 网页内全屏播放器
       ========================= */
    .player {
      position: fixed;
      inset: 0;
      z-index: 100;
      height: 100%;
      height: 100dvh;
      display: flex;
      flex-direction: column;
      background:
        radial-gradient(ellipse at 50% 25%, #252018 0, transparent 70%),
        #050506;
      isolation: isolate;
    }

    .player:fullscreen {
      width: 100%;
      height: 100%;
    }

    .player:-webkit-full-screen {
      width: 100%;
      height: 100%;
    }

    .player-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 16px;
      padding-top: max(14px, env(safe-area-inset-top));
      padding-left: max(16px, env(safe-area-inset-left));
      padding-right: max(16px, env(safe-area-inset-right));
    }

    .player-title {
      min-width: 0;
      color: var(--gold-light);
      font-size: 12px;
      line-height: 1.5;
    }

    .icon-button {
      display: inline-flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      min-width: 46px;
      min-height: 46px;
      padding: 10px;
      border: 1px solid rgba(218, 191, 139, .22);
      border-radius: 50%;
      color: var(--gold-light);
      background: rgba(25, 24, 24, .88);
    }

    .icon-button:hover {
      background: #302a20;
      box-shadow: 0 0 24px rgba(210, 185, 133, .12);
    }

    .player-stage {
      position: relative;
      flex: 1;
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .player-stage video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: transparent;
    }

    .player-notice {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 18px;
      padding: 28px;
      background: rgba(5, 5, 6, .8);
      text-align: center;
    }

    .player-notice p {
      max-width: 360px;
      margin: 0;
      color: #c4bcac;
      font-size: 14px;
      line-height: 1.7;
    }

    .primary-button {
      min-height: 46px;
      padding: 12px 24px;
      border: 1px solid #d0b273;
      border-radius: 30px;
      color: #17130c;
      background: linear-gradient(135deg, #efdab0, #b89758);
      box-shadow: 0 6px 30px rgba(160, 122, 56, .14);
    }

    .player-bottom {
      padding: 10px 18px 20px;
      padding-bottom: max(20px, env(safe-area-inset-bottom));
      padding-left: max(18px, env(safe-area-inset-left));
      padding-right: max(18px, env(safe-area-inset-right));
    }

    .seek {
      display: block;
      width: 100%;
      min-height: 28px;
      margin: 0 0 8px;
      accent-color: var(--gold);
      cursor: pointer;
    }

    .player-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .control-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .time {
      color: #b6afa2;
      font-size: 11px;
      font-variant-numeric: tabular-nums;
    }

    .player-hint {
      margin: 13px 0 0;
      color: #8e8678;
      text-align: center;
      font-size: 10px;
      line-height: 1.6;
    }

    .fullscreen-note {
      margin: 0 0 10px;
      color: var(--gold-light);
      font-size: 12px;
      text-align: center;
      line-height: 1.6;
    }

    /* 较窄手机也保持同一行，不依赖固定桌面宽度。 */
    @media (max-width: 380px) {
      .shell { padding-inline: 12px; }
      .header-inner { gap: 5px; }
      .brand { gap: 0; }
      .brand-name { display: none; }
      .nav-item { padding-inline: 9px; font-size: 11px; }
      .language-trigger .globe { display: none; }
    }

    @media (min-width: 640px) {
      .shell { padding-inline: 32px; }
      .brand-name { font-size: 16px; }
      .nav { gap: 8px; }
      .nav-item { padding-inline: 16px; font-size: 13px; }
      main { padding-top: 70px; padding-bottom: 76px; }
      .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
      .card-meta { padding-inline: 7px; }
      .card-meta h2 { font-size: 11px; }
      .footer-inner { flex-direction: row; justify-content: space-between; }
      .player-top { padding-inline: 28px; }
      .player-bottom { width: min(900px, 100%); margin-inline: auto; }
    }

    @media (min-width: 1000px) {
      .video-grid { gap: 26px; }
      .card-meta h2 { font-size: 13px; }
    }

    @media (orientation: landscape) and (max-height: 500px) {
      .player-top { padding-block: 5px; }
      .player-bottom { padding-block: 4px; }
      .player-hint { display: none; }
      .icon-button { min-width: 38px; min-height: 38px; padding: 7px; }
      .seek { margin-bottom: 0; min-height: 20px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; }
    }
    
    /* =========新增视频封面层【只新增，不改动原有样式】========= */
.video-cover{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}
.video-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.video-cover.hidden{
  display:none;
}