:root {
  --bg: #0d0e10;
  --panel: #16181c;
  --line: #262a30;
  --text: #ebe8e2;
  --muted: #9a968d;
  --accent: #e0a23c;
  --radius: 10px;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2 { font-weight: 600; letter-spacing: 0.01em; margin: 0; }
h2 { font-size: 22px; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(13, 14, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--accent); border-radius: 8px; color: var(--accent);
  font-size: 13px; letter-spacing: 0.04em;
}
nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 14px; }
nav a:not(.btn) { color: var(--muted); }
nav a:not(.btn):hover { color: var(--text); }
.btn {
  padding: 8px 16px; border-radius: 999px;
  background: var(--accent); color: #17130a; font-weight: 600; white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }

main { padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); max-width: 780px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; letter-spacing: 0.22em; }
.hero h1 { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.15; }
.lead { margin: 20px 0 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); max-width: 60ch; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 36px 0 0; }
.facts div { min-width: 96px; }
.facts dt { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.facts dd { margin: 2px 0 0; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }

.reel { padding: 24px 0 56px; }
.reel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  font: inherit; font-size: 14px; color: var(--muted);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: #17130a; background: var(--text); border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card {
  display: block; width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover, .card:focus-visible { border-color: var(--accent); transform: translateY(-2px); outline: none; }
.thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .dur {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.7); font-size: 12px; font-variant-numeric: tabular-nums;
}
.info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px 14px; }
.info strong { font-weight: 600; }
.info span { color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); }

.spec { padding: 40px 0 72px; border-top: 1px solid var(--line); }
.spec ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.spec li { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.spec b { display: block; margin-bottom: 4px; font-weight: 600; }
.spec span { color: var(--muted); font-size: 14px; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 22px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}

dialog {
  width: min(1200px, 94vw); padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: var(--text);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.78); }
.player-bar, .player-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.player-bar span { margin-left: 12px; color: var(--muted); font-size: 13px; }
.player-bar button {
  font: inherit; font-size: 14px; color: var(--text); background: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; cursor: pointer;
}
dialog video { display: block; width: 100%; max-height: 72vh; background: #000; }
.player-foot { justify-content: flex-end; }
.player-foot a { color: var(--accent); font-size: 14px; }

/* 客户交付区登录页 */
.login-wrap { min-height: calc(100vh - 140px); display: grid; place-items: center; padding: 32px var(--gutter); }
.login { width: min(400px, 100%); padding: 32px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.login h1 { font-size: 22px; }
.login p { margin: 8px 0 24px; color: var(--muted); font-size: 14px; }
.login label { display: block; margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.login input {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px;
}
.login input:focus { outline: none; border-color: var(--accent); }
.login button { width: 100%; margin-top: 8px; padding: 11px; border: 0; cursor: pointer; font: inherit; }
.login .msg { min-height: 22px; margin: 14px 0 0; font-size: 13px; color: #e8826b; }

@media (max-width: 560px) {
  nav a:not(.btn) { display: none; }
  .info { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
