:root {
  --bg: #0b0c10;
  --bg-elevated: #16181f;
  --bg-elevated-2: #1c1f29;
  --border: #262b38;
  --text: #f2f3f5;
  --text-muted: #9aa0ae;
  --accent: #f5c518;
  --radius: 14px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-control {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.auth-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  font-size: 1.4rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Status banner */

.status-banner {
  background: #2a2410;
  border-bottom: 1px solid #4a3f16;
  color: #f0d878;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 16px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  background-color: var(--bg-elevated);
  transition: background-image 0.3s ease;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 12, 16, 1) 0%,
    rgba(11, 12, 16, 0.75) 35%,
    rgba(11, 12, 16, 0.25) 70%,
    rgba(11, 12, 16, 0.55) 100%
  );
}

.hero-inner {
  position: relative;
  padding: 48px 24px 40px;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.hero-rating {
  color: var(--accent);
  font-weight: 700;
}

.hero-dot {
  opacity: 0.6;
}

.hero-description {
  color: #d6d8dd;
  max-width: 560px;
  margin: 0;
  font-size: 1rem;
}

/* Page header (Watched / Suggestions pages) */

.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-header-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0;
  font-size: 1.02rem;
}

/* Editor (search / unlock / add form) */

.editor {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editor-box label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-bulk {
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  white-space: nowrap;
}

.editor-box input[type="text"],
.editor-box input[type="password"],
.editor-box input[type="number"],
.editor-box input[type="date"],
.editor-box textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
}

.editor-box textarea {
  resize: vertical;
}

.editor-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.editor-row input {
  flex: 1;
  min-width: 160px;
}

.editor-error {
  color: #ff7a7a;
  font-size: 0.85rem;
  margin: 0;
}

.editor-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 4px 0;
}

.btn {
  background: var(--accent);
  color: #16181f;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-danger {
  background: transparent;
  border: 1px solid rgba(255, 68, 68, 0.4);
  color: #ff7a7a;
  align-self: flex-start;
  margin-top: 4px;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}

.search-result-poster {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.search-result-poster-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated-2);
  font-size: 1.2rem;
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-result-title {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.add-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.add-form-poster {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-elevated-2);
}

.add-form-header h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

/* Stats */

.stats {
  padding-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.stats-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  flex-shrink: 0;
}

.stats-total-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.stats-total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stats-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stats-chip {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
}

.stats-chip strong {
  color: var(--text);
  margin-left: 3px;
}

/* Films section */

.films {
  padding: 48px 24px 72px;
}

.films-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.films-header h2 {
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.films-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.films-header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.person-filter {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: inherit;
}

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

.film-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.film-card:hover {
  transform: translateY(-4px);
  border-color: #3a4152;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.film-poster {
  aspect-ratio: 2 / 3;
  position: relative;
  background: var(--bg-elevated-2);
}

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

.film-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
}

.film-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 12, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  z-index: 1;
}

.film-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11, 12, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
}

.film-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.film-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.film-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.film-year {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.film-genre {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}

.film-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.watched-entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.watched-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.watched-entry:first-child {
  padding-top: 0;
  border-top: none;
}

.watched-entry-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0 2px;
  margin-left: auto;
}

.watched-entry-remove:hover {
  color: #ff7a7a;
}

.watched-by {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.watched-by strong {
  color: var(--accent);
  font-size: 0.95rem;
}

.watched-by-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ext-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ext-rating {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.ext-rating--imdb {
  background: rgba(245, 197, 24, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 197, 24, 0.35);
}

.ext-rating--rt {
  background: rgba(250, 60, 30, 0.15);
  color: #fa6a4a;
  border: 1px solid rgba(250, 60, 30, 0.35);
}

.ext-rating--mc-good {
  background: rgba(102, 204, 51, 0.18);
  color: #8bd15e;
  border: 1px solid rgba(102, 204, 51, 0.35);
}

.ext-rating--mc-mixed {
  background: rgba(255, 204, 51, 0.18);
  color: #ffd35c;
  border: 1px solid rgba(255, 204, 51, 0.35);
}

.ext-rating--mc-bad {
  background: rgba(255, 68, 68, 0.18);
  color: #ff7a7a;
  border: 1px solid rgba(255, 68, 68, 0.35);
}

.ext-rating-loading,
.ext-rating-none {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.film-description {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bulk Input game */

.bulk-game {
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bulk-gate {
  text-align: center;
  max-width: 420px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bulk-gate h1 {
  margin: 0;
}

.bulk-top {
  width: 100%;
  max-width: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  position: sticky;
  top: 113px;
  z-index: 5;
  background: var(--bg);
  padding: 8px 0;
}

.bulk-top-info {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.bulk-top .btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.bulk-category {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
}

.bulk-count {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.bulk-card {
  width: 100%;
  max-width: 340px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bulk-poster {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-elevated-2);
}

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

.bulk-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.bulk-title {
  margin: 2px 0 0;
  font-size: 1rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.bulk-rating-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.bulk-rating-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 9px 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}

.bulk-rating-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.bulk-rating-btn:active {
  transform: scale(0.94);
}

.bulk-skip {
  width: 100%;
  margin-top: 2px;
}

.bulk-footer-controls {
  margin-top: 12px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0 0 6px;
}

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

.attribution {
  font-size: 0.78rem;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .film-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 16px;
  }
  .films {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    min-height: 360px;
  }
}

/* Stats page */

.stats-section {
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}

.stats-section:last-of-type {
  border-bottom: none;
}

.stats-section h2 {
  font-size: 1.3rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.stats-section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

/* Pareto chart */

.viz-root {
  --series-bar: #3987e5;
  --series-line: #199e70;
}

.viz-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.viz-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.viz-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.viz-legend-swatch--bar {
  background: var(--series-bar);
}

.viz-legend-swatch--line {
  background: var(--series-line);
}

.pareto-chart {
  width: 100%;
  position: relative;
}

.pareto-scroll {
  width: 100%;
  overflow-x: auto;
}

.viz-svg {
  display: block;
  width: 100%;
  min-width: 600px;
  height: auto;
}

.viz-bar {
  fill: var(--series-bar);
  cursor: pointer;
  transition: opacity 0.12s ease;
}

.viz-bar:hover,
.viz-bar:focus {
  opacity: 0.8;
  outline: none;
}

.viz-line {
  fill: none;
  stroke: var(--series-line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viz-dot {
  fill: var(--series-line);
  stroke: var(--bg-elevated);
  stroke-width: 2;
  cursor: pointer;
}

.viz-dot:hover,
.viz-dot:focus {
  r: 6;
  outline: none;
}

.viz-grid {
  stroke: var(--border);
  stroke-width: 1;
}

.viz-baseline {
  stroke: var(--border);
  stroke-width: 1;
}

.viz-axis-label {
  font-size: 16px;
  fill: var(--text-muted);
}

.viz-tooltip {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 10;
  white-space: nowrap;
}

.viz-tooltip strong {
  color: var(--text);
}

.viz-tooltip span {
  color: var(--text-muted);
}

/* Person breakdown */

.person-breakdown {
  margin-top: 20px;
}

.person-favourite {
  margin-bottom: 20px;
}

.favourite-badge {
  display: inline-block;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--accent);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
}

.favourite-badge strong {
  color: var(--accent);
}

/* Leaderboard */

.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  flex-wrap: wrap;
}

.leaderboard-rank {
  font-size: 1.1rem;
  min-width: 28px;
  font-weight: 700;
  color: var(--text-muted);
}

.leaderboard-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.leaderboard-name {
  font-weight: 600;
  margin-right: auto;
}

.leaderboard-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.leaderboard-stat--genre {
  color: var(--accent);
}

/* Disagreement badge (reuses .film-rating positioning) */

.spread-badge {
  background: rgba(255, 68, 68, 0.85);
  color: #fff;
  border-color: rgba(255, 68, 68, 0.4);
}

/* Compatibility */

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

.compat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.compat-avatars {
  display: flex;
  margin-bottom: 8px;
}

.compat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-elevated);
}

.compat-avatar--overlap {
  margin-left: -14px;
}

.compat-score {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.compat-names {
  font-size: 0.92rem;
  font-weight: 600;
}

.compat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.person-breakdown-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.person-breakdown-heading {
  font-size: 1rem;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.person-top-films {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.person-top-film {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}

.person-top-film-poster {
  width: 32px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.person-top-film-poster-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated-2);
  font-size: 1rem;
}

.person-top-film-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.person-top-film-title {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-top-film-rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .person-breakdown-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
