:root {
  --brand-red: #b6002a;
  --brand-red-dark: #8f001f;
  --navy: #0f1e2a;
  --navy-deep: #0a141d;
  --ink: #17191f;
  --muted: #687182;
  --line: #e6e9ef;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --soft-blue: #eef4f8;
  --gold: #b68b2d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 30, 42, 0.08);
  --shadow-lift: 0 24px 60px rgba(15, 30, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Han Sans HC", "Noto Sans HK", "PingFang HK", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a.button-link,
.source-btn,
.language-btn {
  min-height: 40px;
}

button {
  border: 0;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 9px 20px;
  box-shadow: 0 6px 16px rgba(182, 0, 42, 0.22);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

button:hover {
  background: var(--brand-red-dark);
  box-shadow: 0 10px 22px rgba(182, 0, 42, 0.28);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(182, 0, 42, 0.2);
}

button.secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid #d6dbe4;
  box-shadow: none;
}

button.secondary:hover {
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 6px 16px rgba(15, 30, 42, 0.10);
}

button.danger {
  background: transparent;
  color: #a02036;
  border: 1px solid rgba(160, 32, 54, 0.35);
  box-shadow: none;
}

button.danger:hover {
  background: rgba(182, 0, 42, 0.06);
  color: var(--brand-red-dark);
  border-color: rgba(160, 32, 54, 0.6);
  box-shadow: none;
}

button.ghost {
  background: transparent;
  color: var(--brand-red);
  border: 1px solid rgba(182, 0, 42, 0.28);
  box-shadow: none;
}

a {
  color: inherit;
}

a.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dbe4;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 20px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

a.button-link:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 16px rgba(15, 30, 42, 0.10);
  transform: translateY(-1px);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: clamp(380px, 46vw, 560px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--navy);
  background: #eef2f7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(244, 247, 251, 0.90) 0%, rgba(244, 247, 251, 0.55) 30%, rgba(244, 247, 251, 0.08) 56%, rgba(244, 247, 251, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.55) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.hero-copy {
  max-width: 680px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(15, 30, 42, 0.62);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--brand-red);
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.65);
}


.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(640px, 100%);
  margin: 26px 0 0;
  padding: 11px 18px;
  border: 1px solid rgba(15, 30, 42, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
  font-size: 15px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

.hero-subtitle:empty {
  display: none;
}

.hero-subtitle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f7a;
  box-shadow: 0 0 0 4px rgba(255, 95, 122, 0.22);
  flex: none;
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 0;
  padding: 20px 0 10px;
}

.language-switcher,
.source-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wash);
}

.language-btn,
.source-btn {
  min-height: 32px;
  border-radius: 999px;
  padding: 5px 16px;
  color: var(--muted);
  font-size: 13.5px;
  background: transparent;
  box-shadow: none;
}

.language-btn:hover,
.source-btn:hover {
  color: var(--navy);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.language-btn.active,
.source-btn.active {
  color: #fff;
  background: var(--brand-red);
  box-shadow: none;
}

.content-band {
  padding: 48px 0 76px;
}

.issue-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--brand-red);
}

.issue-header h2,
.section-heading {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.summary {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.video-panel {
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.history-card .video-panel {
  border-radius: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  /* 白底：深色底会在圆角抗锯齿边缘渗出黑色弧线 */
  background: #fff;
}

.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
}

.video-facade:hover,
.video-facade:active {
  background: #fff;
  box-shadow: none;
  transform: none;
}

.facade-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  /* 轻微放大裁掉源素材边缘的细边 */
  transform: scale(1.005);
  transition: transform 500ms ease, opacity 300ms ease;
}

.video-facade:hover .facade-thumb {
  opacity: 1;
  transform: scale(1.03);
}

.facade-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(182, 0, 42, 0.92);
  box-shadow: 0 14px 36px rgba(5, 14, 22, 0.45);
  transition: transform 250ms ease, background 200ms ease;
}

.facade-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: translate(-38%, -50%);
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-facade:hover .facade-play {
  background: var(--brand-red);
  transform: scale(1.08);
}

.history-card .facade-play {
  width: 52px;
  height: 52px;
}

.history-card .facade-play::after {
  border-left-width: 14px;
  border-top-width: 9px;
  border-bottom-width: 9px;
}

.video-empty {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 260px;
  padding: 24px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.video-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.route-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.disclaimer-section,
.history-section {
  padding: 44px 0;
}

.section-heading {
  color: var(--navy);
  font-size: clamp(22px, 2.8vw, 30px);
  margin-bottom: 20px;
}

.disclaimer-section {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclaimer-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  max-width: 920px;
  list-style: none;
}

.disclaimer-list li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #4a5262;
  font-size: 13px;
  line-height: 1.7;
}

.disclaimer-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--bullet, var(--brand-red));
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.history-issue-list {
  display: grid;
  gap: 40px;
}

.history-issue-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.history-issue-header h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history-issue-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.history-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.history-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lift);
}

.history-card .video-panel {
  border-radius: 0;
  box-shadow: none;
}

.history-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
}

.history-lang {
  display: inline-flex;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--wash);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
}

.history-period {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer {
  margin-top: 40px;
  padding: 30px 0 34px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-lockup {
  display: block;
  width: clamp(230px, 26vw, 290px);
  height: auto;
}

.footer-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-copy {
  margin: 0;
  color: #9aa3b2;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 700ms ease both;
  }

  .content-band .container,
  .disclaimer-section .container,
  .history-section .container {
    animation: rise 600ms ease both;
    animation-delay: 80ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.loading-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.loading-hero,
.loading-line,
.loading-video {
  border-radius: 8px;
  background: linear-gradient(90deg, #eef1f5, #f9fafc, #eef1f5);
  background-size: 240% 100%;
  animation: shimmer 1.6s linear infinite;
}

.loading-hero {
  height: 300px;
  margin-bottom: 28px;
}

.loading-line {
  height: 34px;
  margin-bottom: 18px;
}

.loading-line.wide {
  width: 72%;
}

.loading-video {
  aspect-ratio: 16 / 9;
}

@keyframes shimmer {
  to {
    background-position: -240% 0;
  }
}

.admin-body {
  min-height: 100vh;
  background: #f1f3f8;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  width: min(880px, calc(100% - 32px));
  min-height: 430px;
  margin: max(42px, 11vh) auto 0;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 30, 42, 0.18);
  overflow: hidden;
}

.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(182, 0, 42, 0.45) 0%, rgba(182, 0, 42, 0) 52%),
    linear-gradient(160deg, #17303f 0%, var(--navy-deep) 100%);
}

.login-brand::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 34px;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand-red);
}

.login-brand::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -104px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.05);
}

.login-brand-mark {
  position: absolute;
  top: 48px;
  left: 34px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.login-brand h1 {
  position: relative;
  z-index: 1;
  max-width: 280px;
  font-size: 38px;
  line-height: 1.04;
}

.login-brand p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 650;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
}

.login-panel h2 {
  color: var(--navy);
}

.login-kicker,
.admin-kicker {
  margin: 0 0 9px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-panel h2 {
  margin: 0 0 28px;
  font-size: 34px;
  line-height: 1.18;
}

.login-panel form {
  display: grid;
  gap: 16px;
}

.login-panel input {
  height: 48px;
  border-color: #bfc7d3;
  background: #fbfcfe;
}

.login-panel button {
  width: 100%;
  height: 48px;
}

.admin-login h1,
.admin-page h1,
.admin-card h2 {
  margin: 0;
  letter-spacing: 0;
}

.admin-login p {
  color: var(--muted);
}

.admin-page {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 30, 42, 0.08);
  background: rgba(241, 243, 248, 0.97);
  backdrop-filter: blur(16px) saturate(1.4);
}

.admin-topbar-title {
  flex: none;
}

.admin-page h1 {
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.01em;
}

.admin-actions .status-line {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
}

.admin-nav {
  position: sticky;
  top: 80px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.admin-nav a::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: transparent;
  transition: background 160ms ease;
}

.admin-nav a:hover {
  background: var(--wash);
  color: var(--navy);
}

.admin-nav a:hover::before {
  background: var(--brand-red);
}

.admin-stack {
  display: grid;
  gap: 20px;
}

.admin-card {
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.admin-card-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 18px;
}

.admin-card-header h2::before {
  content: "";
  width: 3px;
  height: 17px;
  border-radius: 2px;
  background: var(--brand-red);
  flex: none;
}

.admin-card-content {
  padding: 24px;
}

.admin-card-content h3 {
  margin: 26px 0 12px;
  color: var(--navy);
  font-size: 15px;
}

.admin-card-content h3:first-child {
  margin-top: 0;
}

.admin-card-content h4 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.stat-tile {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.stat-tile:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(15, 30, 42, 0.12);
}

.stat-tile span,
.stat-tile small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}

.stat-tile > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.stat-tile > span:first-child::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  flex: none;
}

.stat-tile strong {
  color: var(--navy);
  font-size: 32px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stats-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.stats-list {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.stats-list h3,
.stats-heading {
  margin: 0 0 12px;
  font-size: 16px;
}

.stats-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.stats-list li strong {
  color: var(--ink);
}

.stats-heading {
  margin-top: 20px;
}

.stats-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.stats-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.stats-table th,
.stats-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.stats-table th {
  color: var(--muted);
  background: var(--wash);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stats-table td {
  font-variant-numeric: tabular-nums;
}

.stats-table tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.one {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 7px;
  color: #2e3542;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d6dbe4;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 10px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(182, 0, 42, 0.12);
}

input[type="file"] {
  padding: 8px 10px;
  border-style: dashed;
  background: var(--wash);
  font-size: 13px;
}

select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23687182' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.field-note,
.form-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.status-line {
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}

.status-line.ok {
  color: #157347;
}

.status-line.bad {
  color: #a30025;
}

.issue-add-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px dashed rgba(182, 0, 42, 0.35);
  border-radius: 12px;
  background: rgba(182, 0, 42, 0.03);
}

.issue-add-row input {
  flex: 1;
  min-width: 0;
}

.issue-add-row button {
  flex: none;
  white-space: nowrap;
}

.issue-editor {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.issue-editor:first-of-type {
  margin-top: 16px;
}

.issue-editor[open] {
  border-color: rgba(182, 0, 42, 0.28);
  box-shadow: 0 10px 30px rgba(15, 30, 42, 0.08);
}

.issue-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 160ms ease;
}

.issue-summary::-webkit-details-marker {
  display: none;
}

.issue-summary:hover {
  background: var(--wash);
}

.issue-summary-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.issue-summary-main strong {
  color: var(--navy);
  font-size: 16px;
}

.issue-summary-sub {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}

.issue-badge {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(182, 0, 42, 0.10);
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 750;
}

.issue-summary-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.issue-summary-hint {
  color: var(--muted);
  font-size: 12px;
}

.issue-chevron {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.issue-editor[open] .issue-chevron {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.issue-body {
  display: grid;
  gap: 16px;
  padding: 4px 20px 22px;
  border-top: 1px solid var(--line);
}

.issue-body-tools {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

.mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.mini-heading h4 {
  margin: 0;
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.upload-row > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-row > div:last-child input[type="file"] {
  width: auto;
  max-width: 260px;
}

.download-editor {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
}

.download-editor:first-of-type {
  margin-top: 0;
}

.download-editor > strong {
  color: var(--navy);
  font-size: 14px;
}

.hidden {
  display: none !important;
}

/* 上传进度浮窗 */
.upload-progress {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(360px, calc(100vw - 40px));
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 30, 42, 0.20);
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.upload-progress-name {
  overflow: hidden;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress-cancel {
  flex: none;
  min-height: 0;
  padding: 4px 12px;
  font-size: 12px;
}

.upload-progress-track {
  height: 7px;
  border-radius: 999px;
  background: var(--wash);
  overflow: hidden;
}

.upload-progress-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-red), #d8285a);
  transition: width 200ms ease;
}

.upload-progress.ok .upload-progress-bar {
  background: #157347;
}

.upload-progress.bad .upload-progress-bar {
  background: #a30025;
}

.upload-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.upload-progress-pct {
  flex: none;
  color: var(--navy);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.upload-progress.ok .upload-progress-pct {
  color: #157347;
}

.upload-progress.bad .upload-progress-pct {
  color: #a30025;
}

@media (max-width: 900px) {
  .toolbar-inner,
  .issue-header,
  .video-tools,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-inner {
    gap: 10px;
    padding: 12px 0 14px;
    min-height: 0;
  }

  .download-grid,
  .history-grid,
  .stats-columns,
  .form-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

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

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-editor {
    grid-template-columns: 1fr;
  }

  .admin-login {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .login-brand {
    min-height: 150px;
    padding: 26px 34px;
  }

  .login-brand h1 {
    max-width: none;
    font-size: 32px;
  }

  .login-brand p {
    margin-top: 8px;
  }

  .login-panel {
    padding: 26px 34px 30px;
  }

  .login-panel h2 {
    margin-bottom: 18px;
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding-top: 36px;
  }

  .language-switcher,
  .source-switch {
    width: 100%;
  }

  .language-btn,
  .source-btn {
    flex: 1;
    padding-left: 8px;
    padding-right: 8px;
  }

  .admin-topbar,
  .admin-card-header,
  .mini-heading,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .upload-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .login-panel {
    padding: 30px 24px;
  }

  .login-brand {
    padding: 28px 24px;
  }

  .login-brand::before,
  .login-brand-mark {
    left: 24px;
  }
}
