:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #09111f;
  color: #f8fafc;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #09111f;
}

.poster-backdrop {
  position: fixed;
  inset: -36rem;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  grid-auto-rows: 16.5rem;
  gap: 0.8rem;
  overflow: hidden;
  opacity: 0.18;
  filter: saturate(0.75);
  pointer-events: none;
  transform: rotate(-30deg) scale(1.08);
  transform-origin: center;
}

.poster-backdrop::after {
  position: fixed;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(9, 17, 31, 0.86), rgba(9, 17, 31, 0.72)),
    rgba(9, 17, 31, 0.24);
}

.poster-backdrop img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero {
  padding: 2rem 0 1.5rem;
}

.seasonal-shell .hero {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr);
  gap: 0.35rem 1rem;
  align-items: end;
}

.seasonal-shell .hero .kicker,
.seasonal-shell .hero .view-nav {
  grid-column: 1 / -1;
}

.seasonal-shell .hero .summary {
  margin-bottom: 0.2rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: #5eead4;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.25rem, 14vw, 4rem);
  line-height: 0.95;
}

.summary {
  max-width: 24rem;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.view-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.view-nav a {
  display: grid;
  min-height: 2.25rem;
  place-items: center;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0 0.85rem;
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.view-nav a[aria-current="page"] {
  border-color: #5eead4;
  background: #123332;
  color: #ccfbf1;
}

.search-panel,
.results {
  margin-top: 1rem;
}

.status-banner {
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: #451a03;
  color: #fed7aa;
  font-size: 0.92rem;
  line-height: 1.4;
}

.status-banner.error {
  border-color: #f87171;
  background: #450a0a;
  color: #fecaca;
}

.status-banner.demo {
  border-color: #5eead4;
  background: #123332;
  color: #ccfbf1;
}

.status-banner.view_only {
  border-color: #5eead4;
  background: #123332;
  color: #ccfbf1;
}

.demo-indicator {
  position: fixed;
  right: calc(0.9rem + env(safe-area-inset-right));
  bottom: calc(2.35rem + env(safe-area-inset-bottom));
  z-index: 20;
  border: 1px solid rgba(94, 234, 212, 0.42);
  border-radius: 4px;
  padding: 0.22rem 0.38rem;
  background: rgba(18, 51, 50, 0.88);
  color: #ccfbf1;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.demo-copy {
  display: block;
  min-height: 0;
  text-align: left;
  line-height: 1.5;
}

label,
h2 {
  display: block;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 700;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.type-filter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.6rem;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.25rem;
  background: #020617;
}

input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.95rem 1rem;
  background: #0f172a;
  color: #f8fafc;
  outline: none;
}

input:focus,
select:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.18);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #94a3b8 50%),
    linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) 50%,
    calc(100% - 0.7rem) 50%;
  background-repeat: no-repeat;
  background-size:
    0.3rem 0.3rem,
    0.3rem 0.3rem;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 0 1rem;
  background: #5eead4;
  color: #042f2e;
  cursor: pointer;
  font-weight: 800;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.type-filter button {
  min-height: 2.5rem;
  padding: 0 0.6rem;
  background: transparent;
  color: #cbd5e1;
}

.type-filter button[aria-pressed="true"] {
  color: #04111f;
}

.type-filter.standard button[aria-pressed="true"] {
  background: #93c5fd;
}

.type-filter.both button[aria-pressed="true"] {
  background: #5eead4;
}

.type-filter.anime button[aria-pressed="true"] {
  background: #f0abfc;
}

.empty-state {
  min-height: 8rem;
  border: 1px dashed #334155;
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  place-items: center;
  color: #94a3b8;
  text-align: center;
}

.results-list {
  display: grid;
  gap: 0.75rem;
}

.result-item {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1rem;
  background: #0f172a;
}

.result-item.standard {
  border-color: #2563eb;
  background: #14213a;
}

.result-item.anime {
  border-color: #c026d3;
  background: #2d1b3c;
}

.result-item.already-added {
  border-color: #2dd4bf;
  background: #123332;
}

.result-item.blocked {
  border-color: #f59e0b;
  background: #332411;
}

.result-poster {
  display: grid;
  width: 5.25rem;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.45);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.result-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-poster:not(.missing) {
  cursor: zoom-in;
}

.result-poster:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.18);
  outline: none;
}

.result-content {
  min-width: 0;
}

.result-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.35rem;
}

.result-title-group {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  align-items: baseline;
}

.result-item h3 {
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.result-year {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
}

.result-japanese-title {
  margin: -0.15rem 0 0.45rem;
  color: #f0abfc;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.result-meta,
.result-counts,
.result-genres,
.result-overview {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.result-counts {
  margin-top: 0.2rem;
  color: #cbd5e1;
  font-weight: 700;
}

.result-genres {
  margin-top: 0.25rem;
  color: #dbeafe;
}

.result-genres.collapsed {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-genres.expanded {
  white-space: normal;
}

.result-genres-toggle {
  margin-top: 0.2rem;
  font-size: 0.82rem;
}

.result-badge-links {
  display: flex;
  gap: 0.35rem;
  align-items: start;
}

.result-badge-link {
  display: grid;
  min-width: 2.35rem;
  min-height: 1.55rem;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 6px;
  padding: 0 0.35rem;
  background: rgba(15, 23, 42, 0.45);
  color: #5eead4;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.result-badge-link:hover,
.result-badge-link:focus {
  border-color: #5eead4;
  background: rgba(94, 234, 212, 0.14);
}

.disabled-link {
  border-color: rgba(148, 163, 184, 0.35);
  color: #94a3b8;
  cursor: default;
}

.blocked-badge {
  border-color: rgba(245, 158, 11, 0.55);
  color: #fbbf24;
}

.result-overview {
  margin-top: 0.5rem;
  color: #cbd5e1;
}

.result-overview.collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.result-overview.expanded {
  display: block;
}

.overview-toggle {
  min-height: auto;
  margin-top: 0.4rem;
  padding: 0;
  background: transparent;
  color: #5eead4;
  font-size: 0.9rem;
  font-weight: 700;
}

.result-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.result-action {
  min-height: 2.75rem;
  padding: 0 0.7rem;
}

.version-stamp {
  position: fixed;
  right: calc(0.9rem + env(safe-area-inset-right));
  bottom: calc(0.9rem + env(safe-area-inset-bottom));
  z-index: 20;
  border-radius: 4px;
  padding: 0.15rem 0.25rem;
  background: rgba(9, 17, 31, 0.72);
  color: rgba(148, 163, 184, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  pointer-events: none;
}

.preview-dialog {
  width: min(calc(100% - 2rem), 28rem);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0;
  background: #0f172a;
  color: #f8fafc;
}

.preview-dialog::backdrop {
  background: rgba(2, 6, 23, 0.72);
}

.preview-panel {
  padding: 1rem;
}

.preview-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.preview-header h2 {
  margin: 0;
  font-size: 1rem;
}

.dialog-close {
  min-height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  font-size: 0.8rem;
}

.preview-details {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 0.75rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.preview-details dt {
  color: #94a3b8;
  font-weight: 800;
}

.preview-details dd {
  min-width: 0;
  margin: 0;
  color: #e2e8f0;
  overflow-wrap: anywhere;
}

.preview-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.preview-actions button {
  min-height: 2.5rem;
}

.anime-actions {
  margin-top: auto;
  padding-top: 0.65rem;
}

.anime-actions:empty {
  display: none;
}

.anime-candidates-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.candidate-button {
  display: grid;
  gap: 0.2rem;
  min-height: auto;
  border: 1px solid #334155;
  padding: 0.75rem;
  background: #101826;
  color: #f8fafc;
  text-align: left;
}

.candidate-button:hover,
.candidate-button:focus {
  border-color: #5eead4;
}

.candidate-title {
  font-size: 0.95rem;
  font-weight: 900;
}

.candidate-meta,
.candidate-match,
.candidate-overview {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.35;
}

.candidate-match {
  color: #5eead4;
  font-weight: 800;
}

.candidate-overview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #cbd5e1;
}

.seasonal-shell {
  width: min(100%, 64rem);
}

.seasonal-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(16rem, auto);
  gap: 0.75rem;
  align-items: end;
  margin-top: 1rem;
}

.seasonal-controls button {
  min-height: 3.15rem;
}

.seasonal-filters {
  grid-template-columns:
    minmax(18rem, 1fr)
    minmax(8rem, auto)
    minmax(7rem, auto)
    minmax(14rem, auto)
    minmax(7.5rem, auto);
  align-items: center;
}

.season-nav-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 0.4rem;
}

.season-nav-buttons button {
  padding: 0 0.7rem;
  white-space: nowrap;
}

.season-picker,
.season-search {
  min-width: 0;
}

.check-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  align-items: center;
  margin-top: 1.45rem;
}

.check-control {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 2.2rem;
  justify-content: center;
  margin: 0;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0 0.55rem;
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.check-control input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0;
  accent-color: #5eead4;
}

.threshold-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
}

.threshold-grid label {
  margin-bottom: 0.3rem;
  font-size: 0.76rem;
}

.threshold-grid input {
  min-height: 2.2rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
}

.filter-menu {
  position: relative;
  min-width: 0;
  margin-top: 1.45rem;
}

.settings-menu {
  min-width: 7.5rem;
}

.filter-menu summary {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  width: 100%;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0 0.7rem;
  background: #0f172a;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  list-style: none;
  white-space: nowrap;
}

.settings-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.filter-menu summary::-webkit-details-marker {
  display: none;
}

.filter-menu[open] summary {
  border-color: #5eead4;
  background: #123332;
  color: #ccfbf1;
}

.filter-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 5;
  display: grid;
  width: min(20rem, calc(100vw - 2rem));
  gap: 0.55rem;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.7rem;
  background: #0f172a;
  box-shadow: 0 1rem 2.5rem rgba(2, 6, 23, 0.42);
}

.filter-menu-panel .check-control {
  min-height: 2.35rem;
}

.filter-menu-note {
  margin: 0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.metadata-setting-heading {
  display: grid;
  gap: 0.18rem;
}

.filter-menu-section-title {
  display: block;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.filter-menu-divider {
  width: 100%;
  margin: 0.05rem 0;
  border: 0;
  border-top: 1px solid #334155;
}

.seasonal-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.seasonal-heading h2,
.seasonal-meta {
  margin-bottom: 0;
}

.seasonal-heading h2 a {
  color: inherit;
  text-decoration: none;
}

.seasonal-heading h2 a:hover,
.seasonal-heading h2 a:focus-visible {
  text-decoration: underline;
}

.seasonal-meta,
.seasonal-filter-meta {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
}

.seasonal-filter-meta {
  margin: -0.15rem 0 0.65rem;
  color: #cbd5e1;
}

.anime-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 0.75rem;
}

.anime-item {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.75rem;
  background: #101826;
}

.anime-item.already-added {
  border-color: #2dd4bf;
  background: #123332;
}

.anime-poster {
  width: 4.75rem;
}

.anime-media {
  display: grid;
  align-self: start;
  gap: 0.45rem;
}

.anime-side-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  margin: 0;
}

.anime-side-meta dt {
  color: #94a3b8;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.anime-side-meta dd {
  min-width: 0;
  margin: 0.02rem 0 0.18rem;
  color: #f8fafc;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.anime-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.mal-id {
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 900;
}

.anime-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.anime-heading-top {
  display: flex;
  min-height: 1.55rem;
  justify-content: flex-end;
}

.anime-heading .result-badge-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.anime-alt-titles,
.anime-taxonomies,
.anime-synopsis,
.anime-compact-start-date,
.anime-sonarr-match {
  margin: 0.3rem 0 0;
  color: #cbd5e1;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.anime-taxonomies p {
  margin: 0;
}

.anime-taxonomies {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.anime-alt-titles {
  color: #d8b4fe;
}

.anime-alt-titles {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.anime-synopsis.collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--synopsis-lines, 2);
  overflow: hidden;
}

.anime-item.metadata-standard .anime-synopsis.collapsed {
  --synopsis-lines: 3;
}

.anime-item.metadata-detailed .anime-synopsis.collapsed {
  --synopsis-lines: 5;
}

.anime-synopsis {
  color: #94a3b8;
}

.anime-compact-start-date {
  color: #f8fafc;
  font-weight: 800;
}

.anime-sonarr-match {
  color: #5eead4;
  font-weight: 800;
}

.anime-synopsis.expanded {
  display: block;
}

.anime-synopsis-toggle {
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.anime-facts {
  display: grid;
  gap: 0.16rem;
  margin: 0.55rem 0 0;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.anime-facts p {
  min-width: 0;
  margin: 0;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.anime-facts .anime-status-fact {
  font-weight: 800;
}

.poster-preview-dialog {
  width: min(calc(100% - 2rem), 28rem);
  border: 0;
  padding: 0;
  background: transparent;
  color: #f8fafc;
}

.poster-preview-dialog::backdrop {
  background: rgba(2, 6, 23, 0.82);
}

.poster-preview-panel {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.poster-preview-close {
  justify-self: end;
}

.poster-preview-image {
  width: min(100%, 24rem);
  max-height: min(78vh, 42rem);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: #0f172a;
  object-fit: contain;
  box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.45);
}

.poster-preview-title {
  max-width: 24rem;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 420px) {
  .search-box {
    grid-template-columns: 1fr;
  }

  .result-item {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .result-poster {
    width: 4.25rem;
  }

  .result-actions {
    grid-template-columns: 1fr;
  }

  button {
    min-height: 3rem;
  }
}

@media (max-width: 760px) {
  .poster-backdrop {
    inset: -18rem;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    grid-auto-rows: 9.75rem;
    gap: 0.5rem;
    opacity: 0.16;
    transform: rotate(-30deg) scale(1.02);
  }

  .seasonal-controls,
  .seasonal-filters {
    grid-template-columns: 1fr 1fr;
  }

  .season-search {
    grid-column: 1 / -1;
  }

  .check-row,
  .filter-menu {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .threshold-grid {
    grid-column: 1 / -1;
  }

  .seasonal-controls button {
    grid-column: auto;
  }

  .season-nav-buttons {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }

  .filter-menu-panel {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
  }

}

@media (max-width: 520px) {
  .seasonal-shell .hero {
    display: block;
  }

  .seasonal-controls,
  .seasonal-filters {
    grid-template-columns: 1fr;
  }

  .anime-item {
    grid-template-columns: 4.25rem minmax(0, 1fr);
  }

  .anime-poster {
    width: 4.25rem;
  }

  .anime-facts {
    grid-template-columns: 1fr;
  }

  .check-row {
    gap: 0.3rem;
  }

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

  .check-control {
    min-height: 2rem;
    padding: 0 0.35rem;
    font-size: 0.72rem;
  }
}
