:root {
  --bg: #0B0C14;
  --bg-purple: #1A1035;
  --bg-red: #3D0A1E;
  --surface: #F5F0E8;
  --ink: #1A1A1A;
  --white: #FFFFFF;
  --accent: #00E5FF;
  --neon: #39FF14;
  --orange: #FF8C00;
  --pink: #FF4081;
  --lime: #CCFF00;
  --gold: #FFD700;
  --tomato: #FF6347;
  --border: #4D4D4D;
  --font-body: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Arial Black", "Noto Sans SC", "SimHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, monospace;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9000;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-300%);
  transition: transform 0.2s ease;
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-block {
  padding: 64px 0;
}

#main-content {
  min-height: 70vh;
}

.section--dark {
  background: var(--bg);
}

.section--purple {
  background: linear-gradient(135deg, var(--bg-purple), #23104A);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--red {
  background: linear-gradient(135deg, var(--bg-red), #520A24);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--light {
  background: var(--surface);
  color: var(--ink);
}

.section--light .section-title {
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-purple);
  background-image: linear-gradient(115deg, #1A1035 0%, #0B0C14 48%, #3D0A1E 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-shell {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.header-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand-glyph {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  transform: skew(-8deg);
  box-shadow: 4px 4px 0 var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--white);
}

.brand-caption {
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
  max-width: 360px;
  padding: 9px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid #3A3458;
  border-radius: 2px;
  color: var(--white);
  font-size: 14px;
}

.search-glyph {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.search-placeholder {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-kbd {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid #3E5A38;
  border-radius: 2px;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-link {
  position: relative;
  padding: 12px 14px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  border-top: 2px solid transparent;
  transition: color 0.2s, background 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(0, 229, 255, 0.06);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--accent);
  background: rgba(0, 229, 255, 0.12);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--neon);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--neon) 70%, var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-footer {
  background-color: var(--bg-purple);
  background-image: linear-gradient(150deg, #120B24 0%, #1A1035 60%, #2A1633 100%);
  border-top: 1px solid var(--border);
}

.footer-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 32px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) 1fr 1fr minmax(240px, 1.4fr);
  gap: 40px 48px;
  padding-bottom: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}

.footer-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-link {
  width: fit-content;
  padding: 2px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--neon);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.35);
}

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

.footer-contact .meta-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.meta-label {
  flex: 0 0 42px;
  color: var(--accent);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--neon);
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  color: var(--white);
  transform: skew(-6deg);
  transform-origin: left center;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 14px;
  color: var(--border);
}

.breadcrumb [aria-current="page"] {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: none;
}

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

.media-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 229, 255, 0.22);
}

.media-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1035, #3D0A1E);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.65), transparent 42%),
    radial-gradient(circle at 82% 74%, rgba(57, 255, 20, 0.45), transparent 48%);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.05) 5px 6px);
  mix-blend-mode: overlay;
}

.media-body {
  padding: 12px 14px;
}

.media-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.3;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: rgba(26, 26, 26, 0.68);
}

.media-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 120px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.tile:hover {
  transform: translateY(-2px);
  background: rgba(57, 255, 20, 0.08);
  border-color: var(--neon);
}

.tile-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.3;
}

.tile-count {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.tile-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--neon);
  font-size: 20px;
}

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.entry-row:hover {
  background: rgba(0, 229, 255, 0.06);
  border-left-color: var(--accent);
}

.entry-index {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 14px;
  color: var(--pink);
}

.entry-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.entry-name {
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
}

.entry-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tag:hover {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--neon);
  color: var(--neon);
}

.tag-hot {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--ink);
  font-weight: 800;
}

.tag-warm {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.tag-cool {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-new {
  background: var(--orange);
  color: var(--ink);
}

.badge-hot {
  background: var(--pink);
  color: var(--ink);
}

.badge-complete {
  background: var(--lime);
  color: var(--ink);
}

.badge-update {
  background: var(--gold);
  color: var(--ink);
}

.quality-badge {
  padding: 2px 6px;
  background: rgba(11, 12, 20, 0.85);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.index-item {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.index-item:hover,
.index-item[aria-current="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.index-item--inactive {
  opacity: 0.4;
}

.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
}

.rail-item {
  flex: 0 0 220px;
  min-width: 0;
  scroll-snap-align: start;
}

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

.rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

.metric {
  display: grid;
  gap: 6px;
}

.metric-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.metric-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.metric-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--neon));
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.data-table caption {
  padding: 10px 0 0;
  caption-side: bottom;
  text-align: left;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tr:hover td {
  background: rgba(57, 255, 20, 0.04);
}

.serial-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: serial;
}

.serial-row {
  counter-increment: serial;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.serial-number {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 18px;
  color: var(--pink);
}

.serial-number::before {
  content: counter(serial, decimal-leading-zero);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
}

.offset-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 24px;
  align-items: start;
}

.offset-grid > :nth-child(2) {
  margin-top: 48px;
}

.offset-grid > :nth-child(3) {
  margin-bottom: 48px;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  transform: rotate(45deg);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon);
}

.timeline-title {
  margin: 2px 0;
  color: var(--white);
  font-weight: 800;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .header-shell {
    padding: 0 20px;
  }

  .footer-shell {
    padding: 40px 20px 20px;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

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

  .search-kbd {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .section-block {
    padding: 40px 0;
  }

  .header-shell {
    padding: 0 16px;
  }

  .header-topbar {
    min-height: 64px;
    gap: 8px;
  }

  .brand-caption {
    display: none;
  }

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

  .brand-glyph {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .brand-block {
    margin-right: 8px;
  }

  .header-search {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 10px;
  }

  .search-placeholder {
    font-size: 12px;
  }

  .nav-toggle {
    display: flex;
    flex: 0 0 auto;
    order: 3;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    background: transparent;
    border: 1px solid #3D3A55;
    border-radius: 2px;
    color: var(--white);
  }

  .nav-toggle.is-active .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active .toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    padding: 12px 16px 16px;
    overflow-y: auto;
    background: var(--bg-purple);
    border-bottom: 1px solid var(--accent);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }

  .site-nav[data-open] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav-link {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid transparent;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .nav-link[aria-current="page"] {
    background: rgba(0, 229, 255, 0.1);
    border-left-color: var(--neon);
    color: var(--accent);
  }

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

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

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

  .rail-item {
    flex-basis: 170px;
  }

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

  .offset-grid > :nth-child(2),
  .offset-grid > :nth-child(3) {
    margin-top: 0;
    margin-bottom: 0;
  }

  .entry-row,
  .serial-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .entry-meta {
    grid-column: 2;
    justify-content: 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;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .skip-link,
  .nav-toggle .toggle-bar,
  .nav-link::after,
  .media-card,
  .tile {
    transition: none;
  }
}
