*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #E0E0E0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 20% 0%, rgba(114, 9, 183, 0.25), transparent 32vw),
    radial-gradient(circle at 90% 20%, rgba(0, 194, 209, 0.1), transparent 24vw),
    radial-gradient(circle at 50% 100%, rgba(57, 255, 20, 0.06), transparent 28vw),
    linear-gradient(160deg, #1A0B2E 0%, #190F31 55%, #0D2B2A 100%);
  background-attachment: fixed;
}

main#main-content {
  display: block;
  min-height: 65vh;
  outline: none;
}

:root {
  --bg-violet: #1A0B2E;
  --bg-moss: #0D2B2A;
  --panel-1: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.028);
  --ink: #E0E0E0;
  --muted: #B8B0C4;
  --line: #4A4E69;
  --line-soft: rgba(255, 255, 255, 0.08);
  --yellow: #FFD700;
  --orange: #FF4C29;
  --cyan: #00C2D1;
  --neon: #39FF14;
  --red: #E63946;
  --blue: #457B9D;
  --tag-yellow: #FFB800;
  --tag-blue: #00B4D8;
  --tag-pink: #F72585;
  --tag-purple: #7209B7;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --max-width: 1280px;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

::selection {
  background: var(--neon);
  color: #001;
}

:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

a {
  color: var(--cyan);
}

a:hover {
  color: var(--yellow);
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 0 0 12px 12px;
  background: var(--neon);
  color: #001;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(120deg, rgba(26, 11, 46, 0.96), rgba(20, 10, 36, 0.96));
  border-bottom: 1px solid rgba(74, 78, 105, 0.8);
  backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 4px;
  background: linear-gradient(180deg, var(--yellow), var(--cyan), var(--neon));
}

.header-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--bg-violet);
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 2px dashed rgba(26, 11, 46, 0.4);
}

.brand-name {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
  padding: 6px;
  background: rgba(13, 43, 42, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}

.nav-link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-link[aria-current="page"] {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 76, 41, 0.35);
}

.site-search {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  width: 230px;
  padding: 8px 10px 8px 12px;
  border-radius: 14px;
  background: rgba(13, 43, 42, 0.85);
  border: 1px solid rgba(69, 123, 157, 0.4);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-search:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.12);
}

.search-glyph {
  color: var(--neon);
  font-size: 1.1rem;
  line-height: 1;
}

.search-placeholder {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-key {
  padding: 3px 7px;
  border-radius: 8px;
  background: var(--cyan);
  color: #001018;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 5;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--neon), var(--yellow));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 52px 20px 20px;
  background: linear-gradient(150deg, var(--bg-moss), #071E1D 60%, var(--bg-violet));
  border-top: 1px solid rgba(57, 255, 20, 0.25);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--cyan), var(--neon), transparent);
  opacity: 0.7;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 30px;
}

.footer-logo {
  display: inline-block;
  color: var(--yellow);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.7);
  text-shadow: 0 0 24px rgba(255, 215, 0, 0.16);
}

.footer-logo:hover {
  color: #fff;
}

.footer-tagline {
  margin: 12px 0 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-nav-title {
  display: block;
  margin-bottom: 10px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-legal a {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 4px 0;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.15s ease, opacity 0.15s ease, padding-left 0.15s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
  padding-left: 4px;
  color: var(--yellow);
  opacity: 1;
}

.footer-contact {
  color: var(--ink);
  font-size: 0.9rem;
}

.contact-line {
  display: block;
  padding: 3px 0;
  color: var(--muted);
  font-family: var(--font-mono);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: clamp(2.2rem, 6vw, 5rem) 0;
}

.section--violet {
  background: linear-gradient(135deg, rgba(26, 11, 46, 0.9), rgba(34, 26, 61, 0.9));
}

.section--moss {
  background: linear-gradient(135deg, rgba(13, 43, 42, 0.95), rgba(16, 47, 46, 0.95));
}

.section--tint {
  background: rgba(255, 255, 255, 0.02);
}

.panel {
  padding: clamp(18px, 3vw, 32px);
  background: var(--panel-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel--flat {
  background: var(--panel-2);
  box-shadow: none;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "// ";
  color: var(--yellow);
}

.section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  text-shadow: 3px 3px 0 rgba(57, 255, 20, 0.08);
}

.section-more {
  border-bottom: 1px dashed var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.section-more:hover {
  border-bottom-color: var(--neon);
  color: var(--neon);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--cyan);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--small {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.prose {
  max-width: 760px;
}

.prose p {
  margin: 0 0 1em;
  color: var(--ink);
}

.prose h2,
.prose h3 {
  color: #fff;
  font-weight: 900;
}

.prose h2 {
  margin: 2em 0 0.6em;
  font-size: 1.5rem;
}

.prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.15rem;
}

.prose ul {
  padding-left: 1.2em;
}

.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 0.6em 1em;
  border-left: 4px solid var(--neon);
  background: rgba(57, 255, 20, 0.05);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.card-grid--offsets .card:nth-child(even) {
  transform: translateY(12px);
}

.card-grid--offsets .card:nth-child(even):hover {
  transform: translateY(8px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(57, 255, 20, 0.1);
}

.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card__cover {
  position: relative;
  padding: 10px 10px 0;
}

.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
}

.card__title {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.media,
.cover-ratio {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(114, 9, 183, 0.35), rgba(13, 43, 42, 0.85));
}

.media--poster,
.cover-ratio {
  aspect-ratio: 3 / 4;
}

.media--landscape {
  aspect-ratio: 16 / 9;
}

.media::before,
.cover-ratio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%);
}

.media::after,
.cover-ratio::after {
  content: "MD";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.tag--yellow {
  background: rgba(255, 184, 0, 0.14);
  border-color: rgba(255, 184, 0, 0.35);
  color: #FFD700;
}

.tag--blue {
  background: rgba(0, 180, 216, 0.14);
  border-color: rgba(0, 180, 216, 0.35);
  color: #7EE7FF;
}

.tag--pink {
  background: rgba(247, 37, 133, 0.14);
  border-color: rgba(247, 37, 133, 0.35);
  color: #FF7AB8;
}

.tag--purple {
  background: rgba(114, 9, 183, 0.2);
  border-color: rgba(114, 9, 183, 0.45);
  color: #C77DFF;
}

.tag--orange {
  background: rgba(255, 76, 41, 0.14);
  border-color: rgba(255, 76, 41, 0.3);
  color: #FF8A70;
}

.tag--green {
  background: rgba(57, 255, 20, 0.12);
  border-color: rgba(57, 255, 20, 0.3);
  color: var(--neon);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.status-badge--done {
  background: rgba(230, 57, 70, 0.14);
  border-color: rgba(230, 57, 70, 0.35);
  color: #FF6B70;
}

.status-badge--ongoing {
  background: rgba(69, 123, 157, 0.16);
  border-color: rgba(69, 123, 157, 0.45);
  color: #8FC7E8;
}

.status-badge--new {
  background: rgba(57, 255, 20, 0.13);
  border-color: rgba(57, 255, 20, 0.3);
  color: var(--neon);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 18px;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tile::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(12deg);
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 255, 255, 0.06);
}

.tile--yellow {
  background: linear-gradient(135deg, #FFD700, #FFB800);
  color: #1A0B2E;
}

.tile--orange {
  background: linear-gradient(135deg, #FF4C29, #E63946);
  color: #fff;
}

.tile--cyan {
  background: linear-gradient(135deg, #00C2D1, #0077B6);
  color: #001C22;
}

.tile--green {
  background: linear-gradient(135deg, #39FF14, #00C2D1);
  color: #00150D;
}

.tile--purple {
  background: linear-gradient(135deg, #7209B7, #3A0CA3);
  color: #fff;
}

.tile__label {
  position: relative;
  z-index: 1;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
}

.tile__count {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.tile__arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  color: inherit;
  font-weight: 900;
  transition: transform 0.16s ease;
}

.tile:hover .tile__arrow {
  transform: rotate(45deg);
}

.list-stack {
  display: grid;
  gap: 8px;
}

.list-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.list-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 194, 209, 0.35);
}

.list-rank {
  width: 2.4em;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: right;
}

.list-main {
  min-width: 0;
}

.list-title {
  display: block;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-title:hover {
  color: var(--yellow);
}

.list-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.list-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.metric-bar {
  flex: 1;
  min-width: 60px;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  transform-origin: left;
}

.metric-value {
  min-width: 2.2em;
  color: var(--neon);
  text-align: right;
}

.index-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.index-prefix {
  margin-right: 2px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alpha-index,
.year-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.index-item:hover,
.index-item--active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #001018;
  box-shadow: 0 0 14px rgba(0, 194, 209, 0.25);
}

.index-item--active {
  font-weight: 900;
}

.rail {
  min-width: 0;
}

.rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.rail__track {
  display: flex;
  gap: 14px;
  padding: 4px 4px 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.rail__track::-webkit-scrollbar {
  height: 8px;
}

.rail__track::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--line);
}

.rail-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
}

.rail-card .card {
  height: 100%;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.spec-table caption {
  padding: 12px 14px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.spec-table th,
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.spec-table th {
  background: rgba(255, 255, 255, 0.035);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-table td {
  color: var(--ink);
}

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

.page-head {
  padding: clamp(28px, 6vw, 56px) 0 20px;
}

.page-head__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  text-shadow: 4px 4px 0 rgba(57, 255, 20, 0.1);
}

.page-head__intro {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 1023px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
  }

  .site-nav {
    display: none;
    order: 4;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
    padding: 8px;
    border-radius: 18px;
    background: rgba(13, 43, 42, 0.98);
    border: 1px solid var(--line);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav .nav-link {
    border-radius: 12px;
    padding: 12px 14px;
  }

  .site-search {
    order: 3;
    width: auto;
    flex: 1 1 100%;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 1.02rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

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

  .list-row .list-tags,
  .list-row .list-status,
  .list-row .metric {
    grid-column: 2 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card:hover,
  .tile:hover,
  .btn:hover {
    transform: none;
  }
}
