/* ===== 页头 ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--head-h); z-index: 310;
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  background: rgba(11, 13, 16, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
body.scrolled .site-header { background: rgba(11, 13, 16, 0.9); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-txt b { display: block; font: 700 13px/1 var(--font-mono); letter-spacing: 0.2em; color: var(--ink); }
.brand-txt small { display: block; margin-top: 5px; font-size: 11px; line-height: 1; color: var(--dim); letter-spacing: 0.04em; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; font-size: 14px; font-weight: 500; color: var(--dim); text-decoration: none;
  transition: color 0.2s;
}
.nav a i { font-style: normal; font-size: 10px; letter-spacing: 0.1em; color: var(--faint); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--accent); }
.site-header .head-cta { display: none; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-toggle i { display: block; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .site-header .head-cta { display: inline-flex; } }
@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

.mobile-menu {
  position: fixed; inset: var(--head-h) 0 0 0; z-index: 300;
  display: flex; flex-direction: column; gap: 28px; padding: 32px var(--gutter) 40px;
  background: var(--bg); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  font-size: 28px; font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2);
}
.mobile-menu nav a .mono { font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.mobile-menu nav a.on { color: var(--accent); }
.mm-cta { align-self: flex-start; }
.mm-foot { margin-top: auto; font-size: 11px; letter-spacing: 0.2em; color: var(--faint); }
body.menu-open { overflow: hidden; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 15px/1 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #c9ff78; color: var(--accent-ink); transform: translateY(-1px); box-shadow: 0 12px 30px -14px var(--accent); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(232, 230, 225, 0.02); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ===== 状态角标 / 标签 ===== */
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px;
  background: rgba(11, 13, 16, 0.72); backdrop-filter: blur(6px); border: 1px solid var(--line);
  font: 600 11px/1 var(--font-mono); letter-spacing: 0.12em; color: var(--ink); white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 8px currentColor; }
.chip-live::before, .dot-live { background: var(--live); color: var(--live); }
.chip-playable::before, .dot-playable { background: var(--playable); color: var(--playable); }
.chip-film::before, .dot-film { background: var(--film); color: var(--film); }
.chip-runnable::before, .dot-runnable { background: var(--runnable); color: var(--runnable); }
.chip-concept::before, .dot-concept { background: var(--concept); color: var(--concept); }
.chip-delivered::before, .dot-delivered { background: var(--delivered); color: var(--delivered); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--dim);
  border: 1px solid var(--line); border-radius: 3px; padding: 6px 8px;
}
.tags-lg li { font-size: 13px; padding: 10px 14px; color: var(--ink); }

/* ===== 作品卡 ===== */
.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.pcard:hover { border-color: rgba(184, 255, 79, 0.45); transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #050608; }
.pcard-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pcard:hover .pcard-cover img { transform: scale(1.04); }
.pcard-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -80px 100px -60px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.pcard-cover .chip { position: absolute; left: 12px; top: 12px; z-index: 1; }
.pcard-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 22px; }
.pcard-meta { font-size: 11px; letter-spacing: 0.14em; color: var(--faint); }
.pcard h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a:hover { color: var(--accent); }
.pcard-pitch { color: var(--dim); font-size: 0.95rem; line-height: 1.6; }
.pcard .tags { margin-top: auto; padding-top: 8px; }

/* ===== 列表 ===== */
.did { display: grid; gap: 10px; }
.did li { position: relative; padding-left: 22px; color: var(--ink); line-height: 1.65; }
.did li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--accent); font: 700 16px/1.65 var(--font-mono); }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(48px, 6vw, 72px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 200px; height: auto; }
.foot-brand p { margin-top: 16px; color: var(--dim); font-size: 0.95rem; line-height: 1.7; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a { color: var(--dim); text-decoration: none; font-size: 0.95rem; }
.foot-nav a:hover { color: var(--accent); }
.foot-contact { display: flex; flex-direction: column; gap: 10px; font-size: 12px; letter-spacing: 0.1em; color: var(--dim); }
.foot-contact a { color: var(--dim); text-decoration: none; }
.foot-contact a:hover { color: var(--accent); }
.foot-line {
  margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-2);
  padding: 18px var(--gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.16em; color: var(--faint);
}
@media (max-width: 767px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 新字标（2026-09-12 起统一使用） ===== */
.brand-logo { height: 31px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 24px; } }
.foot-logo { width: 220px; height: auto; }
.foot-contact { display: flex; gap: 16px; align-items: flex-start; }
.foot-qr img { width: 96px; height: 96px; border-radius: 6px; background: #fff; padding: 4px; display: block; }
.foot-contact-txt { display: flex; flex-direction: column; gap: 10px; font-size: 12px; letter-spacing: 0.1em; color: var(--dim); }
.foot-contact-txt a { color: var(--dim); text-decoration: none; }
.foot-contact-txt a:hover { color: var(--accent); }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-top: 4px; }
.foot-social a { color: var(--ink); }
.mm-social { display: flex; gap: 18px; font-size: 15px; }
.mm-social a { color: var(--dim); text-decoration: none; }
