:root {
  --paper: #F5F1E6;
  --ink: #1A1A1A;
  --ink-soft: #3D3D3D;
  --gray-blue: #2C3E50;
  --moss: #1E4D2B;
  --orange: #E67E22;
  --orange-pulse: #F39C12;
  --red: #E74C3C;
  --purple: #8E44AD;
  --blue: #3498DB;
  --yellow: #F1C40F;
  --green: #2ECC71;
  --white: #FFFFFF;
  --border-w: 3px;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 12px 12px 0 rgba(26, 26, 26, 0.22);
  --font-heading: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SFMono-Regular', 'Roboto Mono', 'Courier New', monospace;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  background-image: linear-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  display: flex;
  flex-direction: column;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.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;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--ink);
  color: var(--white);
  padding: 8px 20px;
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

.site-shell {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.site-header {
  background: var(--ink);
  color: var(--white);
  border-bottom: var(--border-w) solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 76px;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  padding: 8px 6px;
  border: 2px solid var(--white);
  box-shadow: 3px 3px 0 var(--white);
  letter-spacing: 0;
}

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

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  padding: 10px 14px;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.nav-link[aria-current="page"] {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 3px 3px 0 var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--white);
  border-radius: 2px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

@media (max-width: 900px) {
  .site-shell {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    border-bottom: 3px solid var(--yellow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 999;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }

  .site-nav[data-open] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 16px;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-link:hover,
  .nav-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
    color: var(--yellow);
    box-shadow: none;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .brand-text small {
    font-size: 10px;
  }
}

@media (max-width: 520px) {
  .brand-text small {
    display: none;
  }
}

.site-footer {
  background: var(--moss);
  color: var(--white);
  border-top: 6px solid var(--ink);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-brand-lockup {
  align-items: flex-start;
}

.footer-brand-lockup .brand-mark {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.footer-link-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-grid a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-link-grid a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.8;
}

.contact-line {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-line a:hover {
  text-decoration: underline;
  color: var(--yellow);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.icp-text {
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

#main-content {
  display: block;
  width: 100%;
  flex: 1 0 auto;
}

.page-section {
  padding: var(--space-xl) 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 4px solid var(--ink);
  padding-bottom: var(--space-sm);
}

.section-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-left: auto;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  text-decoration: none;
}

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

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

.btn-blue {
  background: var(--blue);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
}

.btn-black {
  background: var(--ink);
  color: var(--white);
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-hard);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

.movie-card:hover {
  transform: translate(-2px, -2px) rotate(-0.5deg);
  box-shadow: 9px 9px 0 var(--ink);
}

.card-thumb {
  position: relative;
  background: var(--gray-blue);
  overflow: hidden;
}

.img-ratio-16x9 .img-placeholder {
  aspect-ratio: 16 / 9;
}

.img-ratio-4x3 .img-placeholder {
  aspect-ratio: 4 / 3;
}

.img-ratio-1x1 .img-placeholder {
  aspect-ratio: 1 / 1;
}

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  background-color: var(--gray-blue);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 12px
  );
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.3;
}

.card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

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

.tag-item {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tag-item:hover {
  background: var(--ink);
  color: var(--white);
}

.tag-yellow {
  background: var(--yellow);
  border-color: var(--ink);
}

.tag-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--ink);
}

.tag-purple {
  background: var(--purple);
  color: var(--white);
  border-color: var(--ink);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: var(--white);
}

.status-badge.is-done {
  background: var(--green);
}

.status-badge.is-airing {
  background: var(--orange);
  animation: pulse-badge 1.6s ease-in-out infinite;
}

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

.status-badge.is-new {
  background: var(--blue);
  color: var(--white);
}

.status-badge.is-rec {
  background: var(--yellow);
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(230, 126, 34, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-badge.is-airing {
    animation: none;
  }
}

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

.tile-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  min-height: 100px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: var(--yellow);
}

.tile-item:hover {
  transform: rotate(-1deg) translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.tile-icon {
  font-size: 24px;
  line-height: 1;
}

.tile-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
}

.tile-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.68);
}

.tile-blue {
  background: var(--blue);
  color: var(--white);
}

.tile-purple {
  background: var(--purple);
  color: var(--white);
}

.tile-orange {
  background: var(--orange);
}

.tile-green {
  background: var(--green);
}

.tile-red {
  background: var(--red);
  color: var(--white);
}

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

.list-rows {
  width: 100%;
  border-collapse: collapse;
}

.list-row {
  display: grid;
  grid-template-columns: 48px 2fr 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: var(--white);
  border: 2px solid var(--ink);
  margin-bottom: -2px;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  color: var(--ink);
}

.list-row:hover {
  background: var(--yellow);
  z-index: 1;
  transform: scale(1.01);
}

.row-index {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
  text-align: center;
}

.row-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

.row-category {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-progress {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
}

.metric-bar {
  height: 10px;
  background: rgba(26, 26, 26, 0.15);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  min-width: 80px;
}

.metric-fill {
  height: 100%;
  background: var(--orange);
  display: block;
  width: 0%;
}

.metric-fill[data-width] {
  transition: width 0.5s ease;
}

.index-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 12px;
  background: var(--gray-blue);
  border: 3px solid var(--ink);
  border-radius: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) transparent;
}

.index-strip::-webkit-scrollbar {
  height: 6px;
}

.index-strip::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

.index-strip a {
  flex-shrink: 0;
  display: inline-block;
  min-width: 44px;
  text-align: center;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 2px;
  transition: background 0.12s ease, color 0.12s ease;
}

.index-strip a:hover {
  background: var(--yellow);
}

.index-strip a[aria-current="true"] {
  background: var(--ink);
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.rail-scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) rgba(0, 0, 0, 0.1);
}

.rail-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 6px;
}

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

.batch-timeline {
  position: relative;
  padding-left: 30px;
}

.batch-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--ink);
}

.batch-node {
  position: relative;
  margin-bottom: var(--space-lg);
}

.batch-node::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper);
}

.batch-node.is-latest::before {
  background: var(--red);
}

.batch-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.batch-meta time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
  padding: 2px 8px;
}

.batch-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  border: 2px solid var(--ink);
  padding: 2px 10px;
  border-radius: 20px;
}

.batch-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.batch-list {
  list-style: none;
  margin-top: 12px;
}

.batch-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.2);
  font-size: 14px;
}

.batch-list li::before {
  content: '●';
  font-size: 8px;
  color: var(--blue);
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
}

.spec-table th,
.spec-table td {
  border: 1px solid rgba(26, 26, 26, 0.25);
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  font-family: var(--font-heading);
  font-weight: 900;
  background: var(--gray-blue);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.spec-table tr:nth-child(even) td {
  background: rgba(241, 196, 15, 0.06);
}

.spec-table td[rowspan] {
  background: rgba(52, 152, 219, 0.1);
}

.band-dark {
  background-color: var(--gray-blue);
  color: var(--white);
}

.band-dark .section-title,
.band-dark .section-sub,
.band-dark .row-title,
.band-dark .row-progress,
.band-dark .batch-meta time,
.band-dark .batch-count,
.band-dark .footer-info {
  color: var(--white);
}

.band-dark .movie-card {
  background: var(--white);
}

.band-dark .movie-card .card-title {
  color: var(--ink);
}

.band-dark .movie-card .card-meta {
  color: var(--ink-soft);
}

.band-dark .section-head {
  border-bottom-color: var(--white);
}

.band-dark .section-index {
  color: var(--yellow);
}

.band-dark .batch-node::before {
  box-shadow: 0 0 0 4px var(--gray-blue);
}

.band-dark .batch-list li::before {
  color: var(--yellow);
}

.band-dark .metric-bar {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.band-green {
  background-color: var(--moss);
  color: var(--white);
}

.band-green .section-title,
.band-green .section-sub {
  color: var(--white);
}

.band-green .section-head {
  border-bottom-color: var(--yellow);
}

.band-green .section-index {
  color: var(--yellow);
}

.band-green .movie-card {
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
}

.band-green .batch-node::before {
  box-shadow: 0 0 0 4px var(--moss);
}

.band-green .index-strip {
  border-color: rgba(255, 255, 255, 0.4);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .page-section {
    padding: var(--space-lg) 0;
  }

  .section-head {
    flex-wrap: wrap;
  }

  .section-sub {
    margin-left: 0;
    width: 100%;
  }

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

  .list-row {
    grid-template-columns: 32px 1fr auto;
  }

  .row-category {
    display: none;
  }

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

  .rail-item {
    width: 220px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

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

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .index-strip {
    display: none;
  }

  body {
    background: var(--white);
  }

  .movie-card {
    box-shadow: none;
    page-break-inside: avoid;
  }
}
