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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:root {
  --page-bg: #FDF6EC;
  --section-bg-primary: #FFD166;
  --section-bg-secondary: #FF6B6B;
  --card-bg: #FFFFFF;
  --card-bg-alt: #F2F2F2;
  --text-primary: #2A2A2A;
  --ink: #2A2A2A;
  --paper: #FDF6EC;
  --accent-a: #00E5FF;
  --accent-b: #39FF88;
  --status-updating: #FF7043;
  --status-archived: #90A4AE;
  --status-hot: #FF4081;
  --tag-1: #FFEB3B;
  --tag-2: #FF5722;
  --tag-3: #4CAF50;
  --tag-4: #2196F3;
  --font-display: "Arial Black", Impact, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Courier New", monospace;
  --shadow-hard: 4px 4px 0 var(--ink);
  --border-w: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--accent-a);
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 600;
  display: block;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--accent-b);
  border-right: 2px solid var(--ink);
  z-index: 550;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--section-bg-primary);
  border-bottom: 6px solid var(--ink);
}

.header-inner {
  max-width: 1200px;
  margin-inline: auto;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--section-bg-secondary);
  color: var(--ink);
  border: 2px solid var(--paper);
  font-family: var(--font-display);
  font-size: 28px;
  transform: rotate(-2deg);
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.brand-line {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-b);
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--section-bg-secondary);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 8px 12px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--accent-b);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.nav-toggle-icon {
  display: inline-grid;
  gap: 4px;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 3px;
  background: currentColor;
}

.nav-toggle-label {
  font-size: 0.82rem;
  line-height: 1;
}

.header-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 24px;
  min-height: 52px;
  max-width: 1200px;
  margin-inline: auto;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
}

.nav-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-link[aria-current="page"] {
  background: var(--ink);
  color: var(--accent-b);
  border-color: var(--ink);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-label {
  background: var(--ink);
  color: var(--accent-b);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 8px;
}

.search-input {
  width: 230px;
  border: 2px solid var(--ink);
  background: var(--card-bg);
  color: var(--ink);
  padding: 8px 10px;
  font-size: 0.9rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.search-input::placeholder {
  color: #6a6a6a;
}

.search-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-a), 3px 3px 0 var(--ink);
}

.site-footer {
  background: var(--section-bg-secondary);
  color: var(--ink);
  border-top: 6px solid var(--ink);
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 24px;
}

.footer-col {
  min-width: 0;
}

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

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  width: max-content;
}

.footer-brand-name:hover {
  background: var(--ink);
  color: var(--accent-b);
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 800;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-legal a {
  display: inline-block;
  padding: 4px 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--ink);
}

.footer-legal a:hover {
  background: var(--paper);
  color: var(--ink);
}

.footer-icp {
  display: flex;
  align-items: flex-start;
  justify-self: center;
}

.footer-icp span {
  display: inline-block;
  padding: 8px 12px;
  background: var(--card-bg);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
}

.footer-contact span {
  display: block;
  width: max-content;
}

.footer-contact a {
  width: max-content;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-contact a:hover {
  background: var(--ink);
  color: var(--paper);
}

.footer-contact address {
  font-style: normal;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--accent-b);
  border: 2px solid var(--paper);
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 4px 4px 0 var(--accent-a);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--accent-b);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.main-content {
  display: block;
  min-height: 60vh;
}

.container {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin-inline: auto;
}

.section {
  padding: 32px 0;
}

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

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

.section-pad {
  padding: 28px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 900;
}

.section-title small {
  font-size: 0.55em;
  font-family: var(--font-mono);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  padding: 2px 8px;
  background: var(--card-bg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--status-archived);
  font-weight: 700;
}

.breadcrumb-link {
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.breadcrumb-current {
  font-weight: 700;
  color: var(--status-archived);
}

.body-copy {
  max-width: 64ch;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

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

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

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

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

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--card-bg);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.card-alt {
  background: var(--card-bg-alt);
}

.card-accent-a {
  background: var(--accent-a);
}

.card-accent-b {
  background: var(--accent-b);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--section-bg-primary), var(--section-bg-secondary));
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.card-media::after {
  content: "预览";
  position: absolute;
  right: 6px;
  bottom: 6px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  border: 1px solid var(--ink);
  padding: 1px 4px;
  background: var(--paper);
}

.media-tip {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.card-title {
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.25;
}

.card-meta {
  font-size: 0.82rem;
  color: #555;
}

.card-update {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--status-updating);
  font-weight: 700;
}

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

.magnetic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: 14px;
}

.magnetic-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 110px;
  padding: 14px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}

.magnetic-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.tile-yellow {
  background: var(--section-bg-primary);
}

.tile-coral {
  background: var(--section-bg-secondary);
}

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

.tile-ink {
  background: var(--ink);
  color: var(--paper);
}

.tile-accent-a {
  background: var(--accent-a);
}

.tile-accent-b {
  background: var(--accent-b);
}

.tile-wide {
  grid-column: span 2;
}

.tile-tall {
  grid-row: span 2;
}

.tile-count {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}

.tile-label {
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tile-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 5px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.entry-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}

.entry-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 10px;
  border: 2px solid var(--ink);
  border-top: 0;
  background: var(--card-bg);
}

.entry-row:nth-child(even) {
  background: var(--card-bg-alt);
}

.entry-index {
  font-family: var(--font-mono);
  font-weight: 800;
  text-align: right;
  color: var(--status-hot);
}

.entry-title {
  font-weight: 900;
}

.entry-section {
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
}

.entry-batch {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 6px;
  background: var(--section-bg-primary);
  border: 1px solid var(--ink);
}

.entry-status {
  justify-self: end;
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
}

.status-badge.is-updating {
  background: var(--status-updating);
  color: var(--ink);
}

.status-badge.is-archived {
  background: var(--status-archived);
  color: var(--paper);
}

.status-badge.is-hot {
  background: var(--status-hot);
  color: var(--paper);
}

.status-badge.is-new {
  background: var(--accent-b);
  color: var(--ink);
}

.label {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  text-transform: uppercase;
}

.label-yellow {
  background: var(--section-bg-primary);
}

.label-coral {
  background: var(--section-bg-secondary);
}

.label-archive {
  background: var(--status-archived);
  color: var(--paper);
}

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

.tag-item {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.tag-item:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.tag-sm {
  font-size: 0.72rem;
  padding: 4px 8px;
}

.tag-md {
  font-size: 0.85rem;
}

.tag-lg {
  font-size: 1.08rem;
  padding: 8px 16px;
}

.tag-1 {
  background: var(--tag-1);
}

.tag-2 {
  background: var(--tag-2);
  color: var(--paper);
}

.tag-3 {
  background: var(--tag-3);
  color: var(--paper);
}

.tag-4 {
  background: var(--tag-4);
  color: var(--paper);
}

.index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 8px;
  background: var(--card-bg);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.index-bar-label {
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 0 6px;
  margin-right: 2px;
}

.index-link {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  background: var(--section-bg-primary);
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.index-link:hover {
  background: var(--accent-a);
  color: var(--ink);
}

.index-link[aria-current="true"] {
  background: var(--ink);
  color: var(--accent-b);
}

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

.rail > * {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.rail-track {
  display: flex;
  gap: 12px;
}

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

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

.metric-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 90px;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--card-bg);
  border: 2px solid var(--ink);
}

.metric-rank {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--status-hot);
  font-weight: 900;
}

.metric-name {
  font-weight: 900;
}

.metric-track {
  height: 10px;
  background: var(--card-bg-alt);
  border: 2px solid var(--ink);
  overflow: hidden;
}

.metric-fill {
  display: block;
  height: 100%;
  background: var(--status-hot);
}

.metric-fill.accent-a {
  background: var(--accent-a);
}

.metric-fill.accent-b {
  background: var(--accent-b);
}

.metric-fill.updating {
  background: var(--status-updating);
}

.table-scroll {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 2px solid var(--ink);
}

.schedule-table th,
.schedule-table td {
  padding: 8px 10px;
  border: 1px solid #b9b9b9;
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-table tr:nth-child(even) td {
  background: var(--card-bg-alt);
}

.schedule-table .batch-cell,
.schedule-table .date-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}

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

.filter-button {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
}

.filter-button:hover {
  background: var(--accent-a);
}

.filter-button[aria-pressed="true"],
.filter-button.is-active {
  background: var(--ink);
  color: var(--accent-b);
  box-shadow: none;
  transform: translate(2px, 2px);
}

.paper-stack {
  position: relative;
  padding: 20px;
  background: var(--card-bg);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--section-bg-secondary);
}

.paper-stack::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--status-archived);
  pointer-events: none;
}

[data-search-item].is-hidden-by-search {
  display: none !important;
}

@media (max-width: 880px) {
  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-bottom {
    display: none;
    padding: 12px 16px;
    border-top: 3px solid var(--ink);
  }

  .header-bottom[data-open] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .nav-link {
    display: block;
    background: var(--card-bg);
    border-color: var(--ink);
  }

  .header-search {
    width: 100%;
  }

  .search-input {
    width: 100%;
    flex: 1;
  }

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

  .footer-icp {
    justify-self: start;
  }

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

  .entry-index {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .entry-title {
    grid-column: 2;
    grid-row: 1;
  }

  .entry-section {
    grid-column: 3;
    grid-row: 1;
  }

  .entry-batch {
    grid-column: 2;
    grid-row: 2;
  }

  .entry-status {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .metric-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .metric-rank {
    grid-row: 1 / span 2;
  }

  .metric-track {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .header-top {
    padding: 12px 16px;
  }

  .header-bottom {
    padding: 12px 16px;
  }

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

  .to-top {
    right: 10px;
    bottom: 10px;
  }

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

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

  .tile-wide {
    grid-column: span 2;
  }

  .tile-tall {
    grid-row: span 1;
  }

  .section-pad {
    padding: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .to-top {
    opacity: 0;
    visibility: hidden;
  }

  .to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}
