:root {
  color-scheme: dark;
  --bg: #090a0d;
  --surface: #0e1116;
  --surface-2: #151922;
  --text: #f2ede3;
  --muted: #aeb6bd;
  --faint: #737d86;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(241, 199, 106, 0.28);
  --gold: #f1c76a;
  --death: #d65a4f;
  --death-soft: #ff8e83;
  --death-panel: #251012;
  --life: #54d3c2;
  --life-soft: #8bf4ea;
  --life-panel: #092321;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(214, 90, 79, 0.12), transparent 430px),
    radial-gradient(circle at 84% 8%, rgba(84, 211, 194, 0.1), transparent 460px),
    linear-gradient(180deg, #08090c, var(--bg) 420px);
  color: var(--text);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 10, 13, 0.96), rgba(9, 10, 13, 0.55), rgba(9, 10, 13, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(255, 255, 255, 0.015) 21px 22px);
}

.site-nav,
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px 24px;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(18px, 3vw, 36px);
  background: rgba(7, 8, 11, 0.93);
  backdrop-filter: blur(18px);
}

.brand,
.nav-link,
.nav-item,
.back-link,
.method-link,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(241, 199, 106, 0.6);
  border-radius: 50%;
  background: rgba(241, 199, 106, 0.08);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.brand-name {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-name::first-letter {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  flex: 1 1 auto;
}

.nav-item,
.nav-link {
  border-bottom: 2px solid transparent;
  padding: 23px 0 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-item:hover,
.nav-link:hover,
.nav-item.is-active {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-field {
  display: block;
}

.search-field input,
.filter-bar select,
.sort-module select,
.sort-group select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
}

.search-field input::placeholder {
  color: var(--faint);
}

.nav-search input {
  width: clamp(170px, 20vw, 280px);
}

.random-button,
.clear-filters {
  min-height: 38px;
  border: 1px solid rgba(241, 199, 106, 0.45);
  border-radius: 6px;
  padding: 9px 14px;
  background: rgba(241, 199, 106, 0.08);
  color: var(--gold);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.clear-filters {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.random-button:hover,
.clear-filters:hover {
  background: rgba(241, 199, 106, 0.16);
  color: var(--text);
}

.board-wrap {
  width: min(1460px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 46px;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-bar .search-field input {
  width: clamp(220px, 30vw, 360px);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.sort-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.view-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.view-toggle button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.95rem;
  cursor: pointer;
}

.view-toggle button + button {
  border-left: 1px solid var(--line);
}

.view-toggle button.is-active {
  background: rgba(241, 199, 106, 0.15);
  color: var(--gold);
}

.scale-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: stretch;
  min-height: 680px;
}

.fate-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.death-panel {
  border-color: rgba(214, 90, 79, 0.35);
  background:
    linear-gradient(180deg, rgba(214, 90, 79, 0.2), transparent 230px),
    linear-gradient(180deg, #251012, #1b0b0d 68%, #150709);
}

.life-panel {
  border-color: rgba(84, 211, 194, 0.3);
  background:
    linear-gradient(180deg, rgba(84, 211, 194, 0.16), transparent 230px),
    linear-gradient(180deg, #0a2523, #071b1a 68%, #061413);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 8px;
}

.panel-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.death-panel .panel-heading h2 {
  color: var(--death-soft);
}

.life-panel .panel-heading h2 {
  color: var(--life-soft);
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.panel-count {
  display: grid;
  justify-items: end;
  margin: 0;
  line-height: 1;
  text-align: right;
}

.panel-count span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.2vw, 4.7rem);
  font-weight: 700;
}

.panel-count small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-count.death span {
  color: var(--death);
}

.panel-count.life span {
  color: var(--life);
}

.scale-spine {
  position: relative;
  min-height: 100%;
  pointer-events: none;
}

.spine-rod {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    rgba(241, 199, 106, 0.9),
    rgba(241, 199, 106, 0.35) 55%,
    rgba(241, 199, 106, 0.12)
  );
  box-shadow: 0 0 24px rgba(241, 199, 106, 0.25);
  transform: translateX(-50%);
}

.spine-finial,
.spine-hub {
  position: absolute;
  left: 50%;
  border: 1px solid rgba(241, 199, 106, 0.72);
  border-radius: 50%;
  background: #100d08;
  transform: translateX(-50%);
}

.spine-finial {
  top: 0;
  width: 34px;
  height: 34px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 232, 183, 0.9), transparent 28%),
    linear-gradient(135deg, #d5a64c, #4e3210);
}

.spine-hub {
  top: 48%;
  width: 46px;
  height: 46px;
  background:
    radial-gradient(circle, rgba(255, 230, 174, 0.95) 0 4px, transparent 5px),
    rgba(10, 11, 14, 0.96);
  box-shadow: 0 0 0 6px rgba(241, 199, 106, 0.07);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 14px;
  padding: 18px 24px 16px;
}

.empty-note {
  grid-column: 1 / -1;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.movie-card {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 7px 7px 10px;
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    filter 160ms ease;
}

.death-panel .movie-card {
  border-color: rgba(214, 90, 79, 0.24);
}

.life-panel .movie-card {
  border-color: rgba(84, 211, 194, 0.22);
}

.movie-card:hover,
.movie-card:focus-visible {
  z-index: 2;
  border-color: rgba(241, 199, 106, 0.64);
  filter: brightness(1.1);
  transform: translateY(-5px);
}

.movie-card:focus-visible,
.button:focus-visible,
.icon-button:focus-visible,
.nav-link:focus-visible,
.nav-item:focus-visible,
.random-button:focus-visible,
.clear-filters:focus-visible,
.view-toggle button:focus-visible,
.back-link:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.poster-art,
.modal-poster,
.detail-poster {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(160deg, var(--poster-a), var(--poster-b));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.3);
}

.poster-art {
  aspect-ratio: 2 / 3;
  padding: 10px;
}

.poster-art.has-image,
.modal-poster.has-image,
.detail-poster.has-image {
  background: #08090c;
  padding: 0;
}

.poster-art img,
.modal-poster img,
.detail-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-art::after,
.modal-poster::after,
.detail-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 40%);
  pointer-events: none;
}

.poster-year {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
}

.poster-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  word-break: break-word;
}

.card-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 48px;
  align-content: start;
}

.movie-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.movie-meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.movie-grid.list-view {
  grid-template-columns: 1fr;
}

.movie-grid.list-view .movie-card {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 7px 12px 7px 7px;
  text-align: left;
}

.movie-grid.list-view .poster-art {
  width: 48px;
  padding: 4px;
}

.movie-grid.list-view .poster-title {
  display: none;
}

.panel-action {
  width: calc(100% - 48px);
  min-height: 46px;
  margin: 0 24px 26px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.death-panel .panel-action {
  color: var(--death-soft);
}

.life-panel .panel-action {
  color: var(--life-soft);
}

.panel-action:hover {
  background: rgba(241, 199, 106, 0.08);
  color: var(--gold);
}

.panel-action[hidden] {
  display: none;
}

.board-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(13, 15, 19, 0.96);
  box-shadow: var(--shadow);
}

.footer-module {
  min-width: 0;
  padding: 20px 22px 24px;
}

.footer-module + .footer-module {
  border-left: 1px solid var(--line);
}

.footer-module h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-module p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.glance-body {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.donut {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0d0f13 0 42%, transparent 43%),
    conic-gradient(var(--death) 0 var(--died-share), var(--life) var(--died-share) 100%);
}

.legend {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.8rem;
  list-style: none;
}

.legend li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.legend strong {
  color: var(--text);
  font-style: normal;
}

.legend em {
  color: var(--faint);
  font-style: normal;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-death .dot {
  background: var(--death);
}

.legend-life .dot {
  background: var(--life);
}

.method-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.stat {
  display: grid;
  gap: 3px;
}

.stat dt {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
}

.stat dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
}

.stat-death {
  color: var(--death-soft) !important;
}

.stat-life {
  color: var(--life-soft) !important;
}

.sort-module {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer {
  width: min(1460px, calc(100% - 28px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--gold);
}

.movie-modal {
  width: min(850px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: rgba(14, 18, 27, 0.98);
  color: var(--text);
  box-shadow: var(--shadow);
}

.movie-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.movie-modal[open] {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
}

.modal-poster {
  min-height: 430px;
  border: 0;
  border-radius: 0;
  padding: 24px;
}

.modal-copy {
  padding: 32px;
}

.modal-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-line,
.modal-summary,
.death-note,
.detail-summary,
.fate-box p {
  color: #dce3e5;
  line-height: 1.65;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  margin: 8px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 800;
}

.status-badge.dies {
  color: var(--death-soft);
}

.status-badge.lives {
  color: var(--life-soft);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}

.button.primary {
  border-color: rgba(241, 199, 106, 0.56);
  background: var(--gold);
  color: #19130a;
}

.button.ghost {
  color: var(--text);
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  cursor: pointer;
}

.detail-hero {
  min-height: 100px;
}

.detail-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 22, 31, 0.96);
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin: 22px;
  color: var(--gold);
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: 34px;
  padding: 0 34px 34px;
}

.detail-poster {
  min-height: 520px;
  padding: 24px;
}

.detail-poster span,
.detail-poster strong {
  position: relative;
  z-index: 1;
}

.detail-poster span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.detail-poster strong {
  color: white;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.detail-copy {
  align-self: center;
  min-width: 0;
}

.detail-copy h1 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 8vw, 6.2rem);
  line-height: 0.95;
}

.fate-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.fate-box h2 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.tone-scarlet,
.tone-crimson,
.tone-blood,
.tone-brick,
.tone-rust {
  --poster-a: #ff4d4d;
  --poster-b: #2a080e;
}

.tone-teal,
.tone-sea,
.tone-sky {
  --poster-a: #64e0d7;
  --poster-b: #07313b;
}

.tone-gold,
.tone-amber,
.tone-bronze,
.tone-sun {
  --poster-a: #ffd36a;
  --poster-b: #4c2d0b;
}

.tone-steel,
.tone-slate,
.tone-chrome,
.tone-iron,
.tone-gray {
  --poster-a: #d7dde4;
  --poster-b: #1d2530;
}

.tone-smoke,
.tone-night,
.tone-ink,
.tone-ash,
.tone-blacktop {
  --poster-a: #828a94;
  --poster-b: #040506;
}

.tone-sand,
.tone-desert,
.tone-parchment,
.tone-marble,
.tone-paper {
  --poster-a: #e8d3a2;
  --poster-b: #5b4731;
}

.tone-moss,
.tone-green,
.tone-grass,
.tone-forest,
.tone-leaf,
.tone-olive,
.tone-khaki,
.tone-mud,
.tone-plague {
  --poster-a: #8bc56f;
  --poster-b: #152410;
}

.tone-violet,
.tone-wine,
.tone-royal,
.tone-magenta,
.tone-cosmic {
  --poster-a: #c782ff;
  --poster-b: #241036;
}

.tone-ice,
.tone-frost,
.tone-white,
.tone-opal {
  --poster-a: #dffaff;
  --poster-b: #305d70;
}

.tone-flame,
.tone-ember,
.tone-mars,
.tone-sunset {
  --poster-a: #ff9a4a;
  --poster-b: #4c1209;
}

.tone-storm,
.tone-cobalt,
.tone-navy,
.tone-blue {
  --poster-a: #59a7ff;
  --poster-b: #091b40;
}

.tone-money,
.tone-bee,
.tone-neon,
.tone-acid {
  --poster-a: #d2ff5d;
  --poster-b: #17360a;
}

.tone-rose {
  --poster-a: #ff9fb9;
  --poster-b: #451021;
}

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

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-item {
    padding: 8px 0 14px;
  }

  .scale-board {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .scale-spine {
    display: none;
  }

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

  .footer-module + .footer-module {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-nav {
    padding: 12px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .nav-tools,
  .filter-bar,
  .sort-group {
    width: 100%;
  }

  .filter-bar,
  .sort-group,
  .nav-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-search input,
  .filter-bar .search-field input,
  .filter-bar select,
  .sort-group select {
    width: 100%;
  }

  .panel-header {
    padding: 18px 14px 4px;
  }

  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .movie-title {
    font-size: 0.76rem;
  }

  .board-footer,
  .movie-modal[open],
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .modal-poster {
    min-height: 260px;
  }

  .modal-copy,
  .detail-layout {
    padding: 24px;
  }

  .detail-poster {
    min-height: 360px;
  }
}
