/* =========================================================
   凤凰竞界 · 站点共享样式 /assets/site.css
   设计系统：火焰轨道 · 非对称编辑部 · 现代粗野主义
   ========================================================= */

/* ---------- 01 Reset & Variables ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-primary: #F85A1E;
  --c-dark: #0A0A0A;
  --c-dark-2: #111111;
  --c-gold: #C9A227;
  --c-gold-dim: #8C6F1D;
  --c-gradient: #FF7A45;
  --c-blue: #1F3A5F;
  --c-ivory: #F5F5F0;
  --c-red: #B3120F;
  --c-gray: #CCCCCC;

  --font-display: "Impact", "Arial Black", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", monospace;

  --body-size: 16px;
  --header-h: 76px;
  --rail-w: 240px;
  --container-main: 1440px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --shadow-hard: 6px 6px 0 rgba(0, 0, 0, 0.75);
  --shadow-orange: 4px 4px 0 rgba(248, 90, 30, 0.45);
  --shadow-gold: 4px 4px 0 rgba(201, 162, 39, 0.35);
  --shadow-red: 4px 4px 0 rgba(179, 18, 15, 0.4);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-compact] {
  --body-size: 14px;
  --header-h: 56px;
  --rail-w: 200px;
  --space-4: 28px;
  --space-5: 44px;
  --space-6: 64px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.75;
  color: var(--c-ivory);
  background:
    radial-gradient(ellipse at 82% 12%, rgba(248, 90, 30, 0.07), transparent 52%),
    radial-gradient(ellipse at 15% 88%, rgba(201, 162, 39, 0.04), transparent 40%),
    var(--c-dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition), border-color var(--transition), background var(--transition); }
a:hover { color: var(--c-gradient); }
ul, ol { list-style: none; }
button { font-family: inherit; font-size: inherit; border: none; background: none; color: inherit; cursor: pointer; }
input { font-family: inherit; font-size: inherit; border: none; background: none; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 02 Accessibility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-3);
  z-index: 3000;
  background: var(--c-primary);
  color: var(--c-ivory);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border: 2px solid var(--c-gold);
  box-shadow: var(--shadow-hard);
  transition: top var(--ease-expo);
}

.skip-link:focus {
  top: var(--space-2);
}

/* ---------- 03 Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 2px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  transition: height var(--transition);
}

/* Brand */
.brand {
  flex: 0 0 var(--rail-w);
  width: var(--rail-w);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: 100%;
  padding: 0 var(--space-3);
  background: linear-gradient(135deg, rgba(248, 90, 30, 0.1), transparent 65%);
  border-right: 1px solid rgba(201, 162, 39, 0.3);
  overflow: hidden;
  position: relative;
  transition: flex-basis var(--transition), width var(--transition), padding var(--transition);
}

.brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.brand:hover::after { transform: scaleX(1); }

.brand-badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-red));
  border: 2px solid var(--c-gold);
  transform: rotate(45deg);
  box-shadow: 3px 3px 0 rgba(248, 90, 30, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.brand:hover .brand-badge {
  transform: rotate(135deg);
  box-shadow: 3px 3px 0 rgba(201, 162, 39, 0.4);
}

.brand-badge-core {
  transform: rotate(-45deg);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  color: var(--c-ivory);
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  transition: transform var(--transition);
}

.brand:hover .brand-badge-core {
  transform: rotate(-135deg);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  color: var(--c-ivory);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 rgba(248, 90, 30, 0.4);
  white-space: nowrap;
}

.brand-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--c-gold);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Header actions */
.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 var(--space-3);
}

.search-trigger,
.compact-trigger,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(201, 162, 39, 0.4);
  background: rgba(17, 17, 17, 0.85);
  color: var(--c-ivory);
  transition: all var(--transition);
  position: relative;
}

.search-trigger:hover,
.compact-trigger:hover,
.nav-trigger:hover {
  border-color: var(--c-primary);
  background: rgba(248, 90, 30, 0.12);
  box-shadow: 3px 3px 0 rgba(248, 90, 30, 0.3);
  transform: translate(-1px, -1px);
}

.search-trigger-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
  position: relative;
}

.search-trigger-icon::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 7px;
  height: 2px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.compact-trigger-icon {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}

.nav-trigger {
  display: none;
}

.nav-trigger-icon {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
}

.nav-trigger-icon::before,
.nav-trigger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
  border-radius: 1px;
}

.nav-trigger-icon::before {
  top: 0;
  box-shadow: 0 6px 0 var(--c-gold);
}

.nav-trigger-icon::after { bottom: 0; }

/* Search panel */
.search-panel {
  position: absolute;
  top: var(--header-h);
  right: 0;
  left: var(--rail-w);
  z-index: 995;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 2px solid var(--c-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--ease-expo), visibility 0s linear 0.3s;
}

.search-panel[data-open] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity var(--transition), transform var(--ease-expo);
}

.search-input {
  flex: 1;
  min-width: 0;
  background: var(--c-dark-2);
  border: 2px solid #2a2a2a;
  padding: 10px 16px;
  color: var(--c-ivory);
  font-size: 14px;
  transition: border-color var(--transition);
}

.search-input::placeholder { color: rgba(245, 245, 240, 0.35); }

.search-input:focus {
  border-color: var(--c-gold);
  outline: none;
}

.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gray);
  white-space: nowrap;
}

/* ---------- 04 Side Nav Rail ---------- */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 990;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0B0B0B 0%, #060606 100%);
  border-right: 1px solid rgba(201, 162, 39, 0.25);
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform var(--ease-expo), width var(--transition), top var(--transition);
}

.nav-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(201, 162, 39, 0.25) 0px,
    rgba(201, 162, 39, 0.25) 4px,
    transparent 4px,
    transparent 8px
  );
  pointer-events: none;
}

.nav-list {
  position: relative;
  flex: 1;
  padding: var(--space-4) 0 var(--space-3);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px var(--space-3) 14px 48px;
  position: relative;
  color: rgba(245, 245, 240, 0.72);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-left: 3px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-dark);
  border: 2px solid var(--c-gold-dim);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav-link:hover {
  color: var(--c-ivory);
  background: rgba(248, 90, 30, 0.06);
  border-left-color: rgba(248, 90, 30, 0.5);
}

.nav-link:hover::before {
  border-color: var(--c-gold);
}

.nav-link[aria-current="page"] {
  color: var(--c-ivory);
  background: linear-gradient(90deg, rgba(248, 90, 30, 0.15), transparent 72%);
  border-left-color: var(--c-primary);
  font-weight: 700;
}

.nav-link[aria-current="page"]::before {
  background: var(--c-primary);
  border-color: var(--c-gold);
  box-shadow: 0 0 10px rgba(248, 90, 30, 0.7);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 22px;
}

.nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-footnote {
  padding: var(--space-3);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-footnote-city,
.nav-footnote-slogan {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.3);
}

.nav-footnote-slogan {
  color: var(--c-gold-dim);
  letter-spacing: 0.08em;
}

/* ---------- 05 Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-red));
  border: 2px solid var(--c-gold);
  box-shadow: var(--shadow-hard);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--ease-expo), box-shadow var(--transition);
}

.back-to-top[data-visible] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}

.back-to-top-icon {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--c-ivory);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
  line-height: 1;
}

/* ---------- 06 Main & Footer Layout ---------- */
.site-main {
  margin-left: var(--rail-w);
  min-height: 60vh;
  position: relative;
  transition: margin-left var(--transition);
}

.site-footer {
  position: relative;
  margin-left: var(--rail-w);
  background: #070707;
  border-top: 3px solid var(--c-gold);
  padding-top: var(--space-5);
  overflow: hidden;
  transition: margin-left var(--transition);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 88% 6%, rgba(248, 90, 30, 0.09), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(201, 162, 39, 0.05), transparent 45%);
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow:
    0 -22px 0 rgba(248, 90, 30, 0.65),
    0 -44px 0 rgba(248, 90, 30, 0.4),
    0 -66px 0 rgba(248, 90, 30, 0.2),
    -10px -18px 0 rgba(255, 122, 69, 0.55),
    -7px -38px 0 rgba(201, 162, 39, 0.4),
    8px -28px 0 rgba(248, 90, 30, 0.35);
  opacity: 0.8;
  pointer-events: none;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-5);
  padding: 0 var(--space-5) var(--space-4);
  max-width: var(--container-main);
  margin: 0 auto;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
}

.footer-brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-red));
  border: 2px solid var(--c-gold);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.footer-brand:hover .footer-brand-mark {
  transform: rotate(135deg);
}

.footer-brand-mark-inner {
  transform: rotate(-45deg);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--c-ivory);
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  transition: transform var(--transition);
}

.footer-brand:hover .footer-brand-mark-inner {
  transform: rotate(-135deg);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  color: var(--c-ivory);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 rgba(248, 90, 30, 0.3);
}

.footer-trust {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-gray);
  max-width: 38em;
}

.footer-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(201, 162, 39, 0.75);
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--c-gold);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid rgba(201, 162, 39, 0.18);
  margin-bottom: var(--space-2);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--c-primary);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list-item {
  font-size: 14px;
  color: var(--c-gray);
  display: flex;
  gap: 8px;
  line-height: 1.6;
}

.footer-link {
  color: rgba(245, 245, 240, 0.7);
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-link:hover {
  color: var(--c-primary);
  padding-left: 4px;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-gold-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  min-width: 32px;
  padding-top: 3px;
}

.footer-contact-value {
  flex: 1;
  word-break: break-all;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.footer-copy,
.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gray);
}

.footer-icp {
  color: var(--c-gold-dim);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-legal-link {
  font-size: 13px;
  color: rgba(245, 245, 240, 0.55);
  transition: color var(--transition);
  padding: 2px 0;
}

.footer-legal-link:hover {
  color: var(--c-primary);
}

.footer-legal-link + .footer-legal-link {
  border-left: 1px solid rgba(201, 162, 39, 0.3);
  padding-left: var(--space-2);
}

.footer-watermark {
  position: absolute;
  bottom: -0.18em;
  right: 0.06em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(80px, 14vw, 170px);
  line-height: 0.8;
  color: rgba(245, 245, 240, 0.02);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ---------- 07 Common Components ---------- */
.container {
  width: 100%;
  max-width: var(--container-main);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container--narrow {
  max-width: 880px;
}

.section {
  padding: var(--space-5) 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-ivory);
  background: var(--c-primary);
  border: 2px solid var(--c-gold);
  border-radius: 2px;
  box-shadow: var(--shadow-hard);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--c-red);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
}

.btn--gold {
  background: var(--c-gold);
  border-color: var(--c-ivory);
  color: var(--c-dark);
}

.btn--gold:hover {
  background: var(--c-gold-dim);
  color: var(--c-ivory);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ivory);
  border-color: var(--c-gold);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(201, 162, 39, 0.1);
  box-shadow: var(--shadow-gold);
  transform: none;
}

.btn--small {
  padding: 7px 16px;
  font-size: 13px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: var(--space-2) 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  color: var(--c-gold-dim);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--c-primary);
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 6px;
  color: var(--c-primary);
  font-family: var(--font-mono);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-ivory);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: var(--space-3);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--asym { grid-template-columns: 1.5fr 1fr; }

.card {
  position: relative;
  background: var(--c-dark-2);
  border: 2px solid #2a2a2a;
  border-top: 3px solid var(--c-gold);
  padding: var(--space-3);
  box-shadow: var(--shadow-hard);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--c-gold);
  border-top-color: var(--c-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  color: var(--c-ivory);
  line-height: 1.2;
  margin-bottom: 8px;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-gray);
  margin-bottom: 8px;
}

.card__text {
  font-size: 14px;
  color: var(--c-gray);
  line-height: 1.7;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--c-primary);
  background: rgba(248, 90, 30, 0.12);
  color: var(--c-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag--gold {
  border-color: var(--c-gold);
  background: rgba(201, 162, 39, 0.12);
  color: var(--c-gold);
}

.tag--blue {
  border-color: var(--c-blue);
  background: rgba(31, 58, 95, 0.3);
  color: #8AB4E8;
}

.dossier {
  position: relative;
  background: #0D0D0D;
  border: 1px solid #2A2A2A;
  border-left: 3px solid var(--c-gold);
  padding: var(--space-3);
  margin-top: 20px;
}

.dossier::before {
  content: attr(data-index);
  position: absolute;
  top: -18px;
  left: var(--space-2);
  background: var(--c-primary);
  color: var(--c-ivory);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border: 1px solid var(--c-gold);
  border-radius: 2px 2px 0 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.section-heading__index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold);
  flex-shrink: 0;
  letter-spacing: 0.15em;
}

.section-heading__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--c-ivory);
  border-bottom: 3px solid var(--c-primary);
  padding-bottom: 4px;
  transform: skewX(-2deg);
}

.page-head {
  padding: var(--space-5) 0 var(--space-4);
  border-bottom: 2px solid rgba(201, 162, 39, 0.2);
  margin-bottom: var(--space-4);
  position: relative;
}

.page-head::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  transform: skewX(-20deg);
}

.page-head__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-ivory);
  letter-spacing: 0.02em;
}

.page-head__sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-gold);
  margin-top: 10px;
  display: block;
  letter-spacing: 0.08em;
}

.media,
.media-placeholder {
  position: relative;
  overflow: hidden;
  background: #111116;
  border: 2px solid #2a2a2a;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hard);
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.media:hover img {
  transform: scale(1.03);
}

.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }

.media-placeholder::before {
  content: '⚡';
  font-size: 42px;
  color: var(--c-primary);
  opacity: 0.45;
  line-height: 1;
}

.media-placeholder::after {
  content: '现场影像';
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-gold-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-col {
  max-width: 300px;
  padding: var(--space-3);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-top: 3px solid var(--c-primary);
  background: rgba(248, 90, 30, 0.04);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-gray);
  position: relative;
  box-shadow: var(--shadow-hard);
}

.note-col__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.callout {
  background: linear-gradient(135deg, rgba(248, 90, 30, 0.1), rgba(201, 162, 39, 0.05));
  border-left: 4px solid var(--c-primary);
  padding: var(--space-3) var(--space-4);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-ivory);
  box-shadow: var(--shadow-hard);
  position: relative;
  margin: var(--space-3) 0;
}

.callout::before {
  content: '〝';
  position: absolute;
  top: -14px;
  left: var(--space-2);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 52px;
  color: var(--c-primary);
  line-height: 1;
}

.data-line {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ivory);
  border-bottom: 1px dashed rgba(201, 162, 39, 0.3);
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.data-line__value {
  color: var(--c-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-4) 0;
  color: var(--c-gold-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
}

/* ---------- 08 Utilities ---------- */
.text-mono { font-family: var(--font-mono); }
.text-lead { font-size: 18px; line-height: 1.8; color: var(--c-gray); }
.text-center { text-align: center; }
.text-primary { color: var(--c-primary); }
.text-gold { color: var(--c-gold); }

/* ---------- 09 Responsive ---------- */
@media (max-width: 1280px) {
  :root {
    --rail-w: 210px;
    --header-h: 68px;
  }

  html[data-compact] {
    --rail-w: 180px;
    --header-h: 52px;
  }

  .brand {
    gap: var(--space-1);
    padding: 0 var(--space-2);
  }

  .brand-badge {
    width: 34px;
    height: 34px;
  }

  .brand-badge-core {
    font-size: 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-en {
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .nav-link {
    padding-left: 44px;
  }

  .nav-link::before {
    left: 22px;
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-4);
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root,
  html[data-compact] {
    --rail-w: 0px;
    --header-h: 60px;
  }

  html[data-compact] {
    --header-h: 52px;
  }

  .header-topbar {
    border-bottom-color: var(--c-primary);
  }

  .brand {
    flex: 0 0 auto;
    width: auto;
    border-right: none;
  }

  .nav-trigger {
    display: inline-flex;
  }

  .site-nav {
    width: 300px;
    max-width: 85vw;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.7);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform var(--ease-expo), visibility 0s linear 0.3s;
  }

  .site-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--ease-expo), visibility 0s linear 0s;
  }

  .site-main,
  .site-footer {
    margin-left: 0;
  }

  .search-panel {
    left: 0;
    padding: var(--space-2);
  }

  .search-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --space-4: 24px;
    --space-5: 40px;
    --space-6: 64px;
  }

  .header-actions {
    gap: 6px;
    padding: 0 var(--space-2);
  }

  .search-trigger,
  .compact-trigger,
  .nav-trigger {
    width: 38px;
    height: 38px;
  }

  .compact-trigger-icon {
    font-size: 10px;
  }

  .brand {
    padding: 0 var(--space-2);
    gap: 8px;
  }

  .brand-en {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: 0 var(--space-3) var(--space-4);
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3);
  }

  .footer-legal {
    gap: var(--space-1);
  }

  .footer-legal-link + .footer-legal-link {
    padding-left: var(--space-1);
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--asym {
    grid-template-columns: 1fr;
  }

  .note-col {
    max-width: none;
  }

  .page-head__title {
    font-size: 34px;
  }

  .back-to-top {
    bottom: var(--space-3);
    right: var(--space-3);
    width: 42px;
    height: 42px;
  }
}

/* ---------- 10 Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
