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

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  background: #F5F0E8;
  color: #333333;
  line-height: 1.7;
  min-height: 100vh;
}

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

ul,
ol {
  list-style: none;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

:root {
  --bg-base: #F5F0E8;
  --bg-card: #FFF8DC;
  --bg-film: #B22222;
  --bg-anime: #FF7F50;
  --bg-live: #C71585;
  --bg-tutorial: #20B2AA;
  --accent: #FFD700;
  --up: #32CD32;
  --risk: #FF4500;
  --text: #333333;
  --muted: #999999;
  --line: #E5E5E5;
  --film-ink: #8B0000;
  --anime-ink: #C04E12;
  --live-ink: #96105C;
  --tutorial-ink: #0A6D68;
  --footer-deep: #2D2450;
  --white: #FFFEFB;
  --font-display: "Impact", "Arial Black", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-mono: "Consolas", "SF Mono", "Courier New", monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 3px 12px rgba(51, 51, 51, 0.08);
  --container: 1180px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
}

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: 12px;
}

::selection {
  background: var(--accent);
  color: var(--text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
  border-radius: 2px;
}

.layout-container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.main-content {
  min-height: 65vh;
  padding: 34px 0 60px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--text);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 3000;
  text-decoration: none;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  box-shadow: 0 0 0 4px var(--text);
}

.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2000;
  pointer-events: none;
}

.progress-rail-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-base);
  border-bottom: 4px solid var(--text);
  z-index: 500;
}

.topline {
  background: var(--text);
  color: var(--bg-base);
  font-family: var(--font-mono);
  font-size: 12px;
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 34px;
}

.topline-batch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.batch-badge {
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  padding: 2px 8px;
  letter-spacing: 1px;
}

.batch-number {
  color: #FFFFFF;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.status-up {
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(50, 205, 50, 0.25);
}

.topline-tagline {
  margin: 0;
  color: #BEB8AC;
  letter-spacing: 1px;
}

.masthead {
  background: var(--bg-base);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 20px;
}

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

.brand-monogram {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--text);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(51, 51, 51, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.searchbox {
  flex: 1 1 280px;
  max-width: 440px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  box-shadow: 2px 2px 0 rgba(51, 51, 51, 0.08);
}

.searchbox-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid var(--text);
  border-radius: 50%;
  flex: none;
}

.searchbox-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: var(--text);
  transform: rotate(45deg);
  border-radius: 2px;
}

.searchbox-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}

.filter-toolbar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}

.filter-chips {
  display: flex;
  gap: 6px;
  align-items: center;
}

.filter-chip {
  appearance: none;
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.filter-chip:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--text);
  font-weight: 700;
  box-shadow: 2px 2px 0 rgba(51, 51, 51, 0.18);
}

.filter-chip-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  flex: none;
}

.nav-toggle {
  display: none;
}

.site-nav {
  background: var(--text);
}

.site-nav-inner {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.nav-link {
  display: block;
  color: #F5F0E8;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  white-space: nowrap;
  border-bottom: 4px solid transparent;
  transition: background 0.14s ease, color 0.14s ease;
}

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

.site-nav .nav-link:focus-visible {
  outline-color: var(--accent);
}

.nav-link[aria-current="page"] {
  background: var(--accent);
  color: var(--text);
  border-bottom-color: var(--bg-base);
}

.site-footer {
  background: var(--footer-deep);
  color: #D8D2E4;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 40px;
}

.footer-brand {
  align-self: start;
}

.footer-brand .brand {
  color: #F5F0E8;
}

.footer-brand .brand-sub {
  color: #A79FC2;
}

.footer-brand .brand-monogram {
  background: var(--accent);
  color: var(--text);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.18);
}

.footer-link {
  display: block;
  color: #D8D2E4;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.13s ease, padding-left 0.13s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  font-size: 13px;
}

.footer-contact .footer-title {
  margin-bottom: 12px;
}

.footer-contact-line {
  margin: 0 0 6px;
  color: #C1B9D4;
  word-break: break-all;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.16);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #A79FC2;
}

.footer-bottom-inner p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--bg-base);
  border: 2px solid var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--text);
  border-color: var(--text);
  box-shadow: 2px 2px 0 rgba(51, 51, 51, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
}

.btn--sm {
  padding: 6px 12px;
  font-size: 13px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crumbs li + li::before {
  content: "/";
  color: var(--muted);
}

.crumbs a {
  color: var(--text);
}

.crumbs a:hover {
  text-decoration: underline;
}

.section-head {
  margin-bottom: 22px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 8px;
}

.section-desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 680px;
  margin: 0 0 12px;
}

.year-anchor {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 46px);
  line-height: 0.9;
  color: var(--text);
  margin-right: 6px;
}

.band {
  padding: 34px 0;
  color: #FFFFFF;
}

.band--film {
  background: var(--bg-film);
}

.band--anime {
  background: var(--bg-anime);
}

.band--live {
  background: var(--bg-live);
}

.band--tutorial {
  background: var(--bg-tutorial);
}

.band--ink {
  background: var(--text);
  color: var(--bg-base);
}

.band .section-title {
  color: #FFFFFF;
}

.band .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.band .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  background: var(--hero-bg, var(--text));
  color: #FFFFFF;
  padding: 30px 0 34px;
  margin-bottom: 30px;
}

.page-hero .section-title {
  color: #FFFFFF;
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.7);
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-top: 6px solid var(--text);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(51, 51, 51, 0.1);
  border-color: var(--text);
}

.card--film {
  border-top-color: var(--bg-film);
}

.card--anime {
  border-top-color: var(--bg-anime);
}

.card--live {
  border-top-color: var(--bg-live);
}

.card--tutorial {
  border-top-color: var(--bg-tutorial);
}

.card-cover {
  aspect-ratio: 16 / 9;
  background: var(--cover-color, var(--bg-live));
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.card-cover::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

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

.card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: "→";
  transition: transform 0.14s ease;
}

.card:hover .card-link::after {
  transform: translateX(3px);
}

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

.tile {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 16px rgba(51, 51, 51, 0.12);
}

.tile--film {
  background: var(--bg-film);
}

.tile--anime {
  background: var(--bg-anime);
}

.tile--live {
  background: var(--bg-live);
}

.tile--tutorial {
  background: var(--bg-tutorial);
}

.tile-index {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.8;
  opacity: 0.32;
  position: absolute;
  right: 10px;
  bottom: 4px;
}

.tile-label {
  font-size: 17px;
  font-weight: 900;
}

.tile-count {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 10px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.entry-list {
  border-top: 3px solid var(--text);
}

.entry-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-top: 0;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.entry-row:hover {
  border-color: var(--accent);
  background: var(--white);
}

.entry-index {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
}

.entry-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
}

.entry-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.entry-right {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

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

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.tag:hover {
  background: var(--accent);
  border-color: var(--text);
  transform: translateY(-1px);
}

.tag--film {
  border-color: var(--bg-film);
  color: var(--film-ink);
}

.tag--anime {
  border-color: var(--bg-anime);
  color: var(--anime-ink);
}

.tag--live {
  border-color: var(--bg-live);
  color: var(--live-ink);
}

.tag--tutorial {
  border-color: var(--bg-tutorial);
  color: var(--tutorial-ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.badge--up {
  background: rgba(50, 205, 50, 0.12);
  color: #177A17;
  border: 1px solid var(--up);
}

.badge--risk {
  background: rgba(255, 69, 0, 0.1);
  color: #C73A00;
  border: 1px solid var(--risk);
}

.badge--new {
  background: var(--accent);
  color: var(--text);
  border: 1px solid var(--text);
}

.badge--film {
  background: var(--bg-film);
  color: #FFFFFF;
}

.badge--anime {
  background: var(--bg-anime);
  color: #FFFFFF;
}

.badge--live {
  background: var(--bg-live);
  color: #FFFFFF;
}

.badge--tutorial {
  background: var(--bg-tutorial);
  color: #FFFFFF;
}

.rank-no {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  width: 46px;
  flex: none;
}

.rank-no--1 {
  color: var(--bg-film);
  font-size: 44px;
}

.rank-no--2 {
  color: var(--bg-anime);
  font-size: 40px;
}

.rank-no--3 {
  color: var(--bg-live);
  font-size: 36px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.metric-track {
  flex: 1;
  min-width: 60px;
  height: 8px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}

.metric-fill {
  display: block;
  height: 100%;
  background: var(--bg-tutorial);
  border-radius: 99px;
}

.metric-val {
  font-weight: 700;
  color: var(--text);
}

.index-strip {
  display: flex;
  gap: 4px;
}

.index-strip-cell {
  flex: 1;
  height: 7px;
  background: var(--line);
  border-radius: 3px;
}

.index-strip-cell.is-on {
  background: var(--accent);
}

.index-strip-cell.is-part {
  background: #D8C67A;
}

.h-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--text) var(--line);
}

.h-scroll > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 2px solid var(--text);
  font-size: 14px;
}

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

.schedule-table thead th {
  background: var(--text);
  color: var(--bg-base);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.schedule-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.08);
}

.schedule-table .is-live-cell {
  border-left: 4px solid var(--up);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.compare-card {
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.compare-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.compare-card-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-card-list {
  margin: 0;
  padding: 0;
}

.compare-card-list li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}

.compare-card-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--live-ink);
}

.image-placeholder,
.media-frame {
  display: grid;
  place-items: center;
  background: var(--bg-live);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .masthead-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--text);
    color: var(--accent);
    border: 0;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
    border-radius: var(--radius-sm);
  }

  .nav-toggle:focus-visible {
    outline-color: var(--accent);
  }

  .nav-toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
  }

  .nav-toggle-bars i {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .searchbox {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  .filter-toolbar {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-toolbar::-webkit-scrollbar {
    display: none;
  }

  .filter-toolbar-label,
  .filter-chips {
    flex: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav[data-open] {
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }

  .site-nav-inner {
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
  }

  .nav-link {
    border-left: 6px solid transparent;
    border-bottom: 0;
  }

  .nav-link[aria-current="page"] {
    border-left-color: var(--accent);
    border-bottom-color: transparent;
  }

  .topline-tagline {
    display: none;
  }

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

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .brand-monogram {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .masthead-inner {
    padding: 12px 14px;
    gap: 10px;
  }

  .filter-toolbar {
    gap: 5px;
  }

  .entry-row {
    grid-template-columns: 44px 1fr;
  }

  .entry-right {
    grid-column: 2;
    text-align: left;
  }
}

@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;
  }

  .progress-rail-fill {
    transition: none;
  }
}
