:root {
  --ink: #172027;
  --muted: #697680;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #dcd7cc;
  --red: #b4262d;
  --red-dark: #811a20;
  --gold: #d1a037;
  --blue: #0078c8;
  --green: #009f3d;
  --teal: #147c86;
  --charcoal: #111820;
  --shadow: 0 18px 40px rgba(17, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(180, 38, 45, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 124, 134, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 72px;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--blue) 0 20%, #111 20% 40%, var(--red) 40% 60%, var(--gold) 60% 80%, var(--green) 80% 100%);
  z-index: 11;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  color: #fff;
  background: rgba(17, 24, 32, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--red);
  border: 2px solid rgba(209, 160, 55, 0.85);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav a {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.top-nav a:hover {
  color: #fff;
  border-color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 36px;
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: 96px 5vw 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.96) 0%, rgba(17, 24, 32, 0.82) 48%, rgba(17, 24, 32, 0.34) 100%),
    linear-gradient(180deg, rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.88)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Olympic%20rings%20on%20the%20Eiffel%20Tower%202024%20%2825%29.jpg?width=2200") center top / cover;
}

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

.eyebrow,
.section-title p,
.result-kicker,
.meta-label {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.04;
}

.hero-summary {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.external-link,
.detail-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 800;
}

.primary-action,
.external-link,
.detail-action {
  color: #fff;
  background: var(--red);
}

.primary-action:hover,
.external-link:hover,
.detail-action:hover {
  background: var(--red-dark);
}

.secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.secondary-action:hover {
  border-color: var(--gold);
}

.quick-panel {
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow);
}

.panel-heading,
.filter-title,
.results-bar,
.video-card-header,
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-heading span,
.filter-title strong {
  font-weight: 900;
}

.panel-heading strong {
  color: var(--red);
}

.search-box {
  margin-top: 18px;
}

.search-box label,
.filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input,
.filters select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.search-box input:focus,
.filters select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 124, 134, 0.14);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.quick-stat {
  min-height: 82px;
  padding: 14px;
  background: #f2f5f4;
  border-left: 4px solid var(--blue);
}

.quick-stat:nth-child(2) {
  border-color: #111;
}

.quick-stat:nth-child(3) {
  border-color: var(--red);
}

.quick-stat:nth-child(4) {
  border-color: var(--green);
}

.quick-stat:nth-child(5) {
  border-color: var(--teal);
}

.quick-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.quick-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: -34px 5vw 0;
  position: relative;
  z-index: 2;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric-strip div {
  min-height: 108px;
  padding: 24px;
  background: #fff;
}

.metric-strip strong {
  display: block;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.metric-strip div:nth-child(5) strong {
  color: var(--teal);
}

.section-block {
  padding: 76px 5vw 0;
  scroll-margin-top: 92px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.section-title h2 {
  margin: 4px 0 18px;
  font-size: clamp(26px, 4vw, 42px);
}

.platform-section {
  padding-top: 72px;
}

.platform-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.98), rgba(129, 26, 32, 0.9)),
    radial-gradient(circle at 86% 18%, rgba(209, 160, 55, 0.28), transparent 34%);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.platform-copy h3 {
  max-width: 760px;
  margin: 10px 0 12px;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.12;
}

.platform-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.platform-tags span {
  min-height: 34px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.platform-snapshot {
  display: grid;
  gap: 10px;
}

.platform-snapshot div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--blue);
}

.platform-snapshot div:nth-child(2) {
  border-color: var(--gold);
}

.platform-snapshot div:nth-child(3) {
  border-color: var(--green);
}

.platform-snapshot strong,
.platform-snapshot span {
  display: block;
}

.platform-snapshot strong {
  color: var(--ink);
  font-size: 18px;
}

.platform-snapshot span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 26px rgba(17, 24, 32, 0.07);
}

.feature-card:nth-child(2) {
  border-top-color: var(--blue);
}

.feature-card:nth-child(3) {
  border-top-color: var(--gold);
}

.feature-card:nth-child(4) {
  border-top-color: var(--green);
}

.feature-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
  box-shadow: 0 12px 26px rgba(17, 24, 32, 0.07);
}

.workflow-step {
  min-height: 104px;
  padding: 18px;
  background: #fff;
}

.workflow-step strong,
.workflow-step span {
  display: block;
}

.workflow-step strong {
  color: var(--red);
}

.workflow-step span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.competition-card {
  display: grid;
  align-content: space-between;
  min-height: 264px;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow);
}

.competition-card:hover .competition-image {
  transform: scale(1.04);
}

.competition-image {
  min-height: 132px;
  background-position: center;
  background-size: cover;
  transition: transform 220ms ease;
}

.competition-body {
  padding: 18px;
  background: linear-gradient(180deg, rgba(17, 24, 32, 0.9), #111820);
}

.competition-body h3 {
  margin: 0;
  font-size: 20px;
}

.competition-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.competition-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: #111820;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.event-band {
  padding-bottom: 18px;
}

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

.event-group {
  min-height: 250px;
  padding: 18px;
  background: #fff;
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 26px rgba(17, 24, 32, 0.08);
}

.event-group:nth-child(2n) {
  border-color: #111;
}

.event-group:nth-child(3n) {
  border-color: var(--red);
}

.event-group:nth-child(4n) {
  border-color: var(--gold);
}

.event-group:nth-child(5n) {
  border-color: var(--green);
}

.event-group h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.event-group p {
  margin: 0 0 14px;
  min-height: 42px;
  color: var(--muted);
  font-size: 13px;
}

.event-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-chip,
.filter-token {
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink);
  background: #f1eee6;
  border: 1px solid #e5dfd2;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
}

.event-chip {
  cursor: pointer;
}

.event-chip:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.knowledge-section {
  padding-bottom: 24px;
}

.knowledge-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--charcoal), #26313a);
  border-left: 5px solid var(--gold);
}

.knowledge-intro strong,
.knowledge-intro span {
  display: block;
}

.knowledge-intro span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.knowledge-intro a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #111820;
  background: var(--gold);
  border-radius: 4px;
  font-weight: 900;
}

.knowledge-intro a:hover {
  color: #fff;
  background: var(--teal);
}

.knowledge-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(17, 24, 32, 0.05);
}

.knowledge-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.knowledge-toolbar input {
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.knowledge-toolbar input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.14);
}

.knowledge-toolbar strong {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 4px;
  white-space: nowrap;
}

.knowledge-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.knowledge-tab {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  cursor: pointer;
  font-weight: 900;
}

.knowledge-tab:hover,
.knowledge-tab.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: start;
}

.knowledge-list {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 4px;
}

.knowledge-list .empty-state {
  grid-column: 1 / -1;
}

.knowledge-card {
  min-height: 146px;
  padding: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(17, 24, 32, 0.05);
}

.knowledge-card:hover,
.knowledge-card.is-active {
  border-color: var(--teal);
  box-shadow: 0 14px 28px rgba(20, 124, 134, 0.14);
}

.knowledge-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  background: var(--teal);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.knowledge-card strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
}

.knowledge-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.knowledge-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.knowledge-detail.is-pulsing {
  animation: detailPulse 900ms ease;
}

.knowledge-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 0;
}

.knowledge-detail-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 42px);
}

.knowledge-detail-heading span {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #111820;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.knowledge-tagline {
  margin: 14px 22px 0;
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
}

.knowledge-copy {
  display: grid;
  gap: 18px;
  padding: 18px 22px 22px;
}

.knowledge-copy section {
  padding-top: 16px;
  border-top: 1px solid #ece6dc;
}

.knowledge-copy h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.knowledge-copy p {
  margin: 0;
  color: #37434c;
}

.knowledge-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.knowledge-copy li {
  position: relative;
  padding-left: 14px;
  color: #37434c;
}

.knowledge-copy li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.related-events {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-event {
  min-height: 34px;
  padding: 0 11px;
  color: var(--red);
  background: #fff6f2;
  border: 1px solid rgba(180, 38, 45, 0.24);
  border-radius: 17px;
  cursor: pointer;
  font-weight: 900;
}

.related-event:hover {
  color: #fff;
  background: var(--red);
}

.related-event.is-muted,
.related-event:disabled {
  color: var(--muted);
  background: #f2f2f0;
  border-color: #e1ddd4;
  cursor: not-allowed;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px 22px;
  background: #f4f1ea;
  border-top: 1px solid var(--line);
}

.source-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.source-row a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--teal);
  background: #fff;
  border: 1px solid rgba(20, 124, 134, 0.18);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
}

.source-row a:hover {
  color: #fff;
  background: var(--teal);
}

.video-section {
  padding-bottom: 72px;
}

.filter-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(17, 24, 32, 0.07);
}

.filter-title button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--red);
  background: transparent;
  border: 1px solid rgba(180, 38, 45, 0.28);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
}

.filter-title button:hover {
  color: #fff;
  background: var(--red);
}

.video-results {
  min-width: 0;
}

.results-bar {
  min-height: 66px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.results-bar strong {
  display: block;
  font-size: 22px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

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

.video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(17, 24, 32, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.video-card.is-selected {
  border-color: var(--teal);
  box-shadow: 0 16px 30px rgba(20, 124, 134, 0.18);
  transform: translateY(-2px);
}

.video-card.is-selected .video-card-body {
  box-shadow: inset 4px 0 0 var(--teal);
}

.video-card.is-selected .detail-link {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.video-thumb {
  position: relative;
  min-height: 178px;
  background-position: center;
  background-size: cover;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(17, 24, 32, 0.68));
}

.rank-badge,
.round-badge,
.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  color: #111820;
  background: var(--gold);
}

.round-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  color: #fff;
  background: rgba(17, 24, 32, 0.82);
}

.video-card-body {
  padding: 16px;
}

.video-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.video-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
}

.video-meta span {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.video-meta strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.video-card-actions {
  display: flex;
  gap: 8px;
}

.detail-link {
  min-height: 38px;
  padding: 0 12px;
  color: var(--teal);
  background: #eef6f6;
  border: 1px solid rgba(20, 124, 134, 0.22);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
}

.detail-link:hover {
  color: #fff;
  background: var(--teal);
}

.external-link {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 14px;
}

.detail-panel {
  position: sticky;
  top: 96px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(17, 24, 32, 0.06);
}

.detail-panel.is-pulsing {
  animation: detailPulse 900ms ease;
}

@keyframes detailPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 124, 134, 0.32), 0 12px 24px rgba(17, 24, 32, 0.06);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(20, 124, 134, 0), 0 12px 24px rgba(17, 24, 32, 0.06);
  }
}

.detail-cover {
  min-height: 190px;
  background-position: center;
  background-size: cover;
}

.detail-body {
  padding: 18px;
}

.detail-heading {
  align-items: start;
}

.detail-heading h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.source-badge {
  flex: 0 0 auto;
  color: #fff;
  background: var(--teal);
}

.detail-table {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ebe6dc;
}

.detail-row span:first-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-row span:last-child {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-action {
  width: 100%;
  border-radius: 4px;
}

.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 36px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .platform-showcase {
    grid-template-columns: 1fr;
  }

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

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

  .event-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .knowledge-list {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

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

  .detail-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 5vw;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .section-block {
    scroll-margin-top: 148px;
  }

  .section-title {
    scroll-margin-top: 148px;
  }

  .metric-strip,
  .feature-grid,
  .workflow,
  .competition-grid,
  .event-layout,
  .filter-shell,
  .video-list {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-top: 0;
  }

  .filters {
    position: static;
  }

  .section-title,
  .results-bar,
  .knowledge-intro,
  .knowledge-toolbar,
  .knowledge-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-toolbar {
    display: flex;
  }

  .knowledge-toolbar label,
  .knowledge-toolbar strong {
    width: 100%;
  }

  .active-filters {
    justify-content: flex-start;
  }

  .knowledge-list,
  .knowledge-copy ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 34px;
  }

  .brand strong {
    font-size: 15px;
  }

  .top-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .platform-showcase {
    padding: 22px 18px;
  }

  .platform-copy h3 {
    font-size: 25px;
  }

  .feature-card,
  .workflow-step {
    min-height: auto;
  }

  .quick-grid,
  .video-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .video-card-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .external-link,
  .detail-link {
    width: 100%;
  }
}
