:root {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f7f5f0;
  color: #221e23;
  --ink: #241d25;
  --muted: #615b62;
  --line: #dcd8d2;
  --berry: #8b2344;
  --radius: 18px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.58;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #cf7539;
  outline-offset: 3px;
}
header {
  border-bottom: 1px solid var(--line);
}
.bar,
main {
  max-width: 1180px;
  margin: auto;
  padding: 0 32px;
}
.bar {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 740;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -1px;
}
.logomark {
  background: var(--berry);
  color: white;
  width: 38px;
  height: 33px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font:
    italic bold 27px Georgia,
    serif;
  letter-spacing: -5px;
  padding-right: 5px;
}
.logomark span {
  transform: translateY(2px);
}
nav,
.actions,
.row,
.chips,
.film-actions,
.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
nav {
  height: 100%;
  gap: 26px;
}
nav button {
  height: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
  border-bottom: 3px solid transparent;
  font-weight: 600;
}
nav button.active {
  color: var(--berry);
  border-bottom-color: var(--berry);
}
.profile {
  margin-left: auto;
}
.profile,
.secondary,
.textbtn,
.chip,
.small,
.primary,
.glass,
.filter,
.tag {
  border-radius: 9px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
}
.profile,
.secondary,
.small,
.chip,
.filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.profile:hover,
.secondary:hover,
.small:hover,
.chip:hover {
  border-color: #9b6b78;
}
.primary {
  background: var(--berry);
  color: white;
  border: 1px solid var(--berry);
}
.primary:hover {
  background: #701833;
}
.glass {
  border: 1px solid #baa4a3;
  color: white;
  background: #292127a8;
}
.hero {
  margin: 26px 0 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, #181216e8, #1912179e 43%, transparent 74%),
    url("/assets/cinema.jpg") center 62% / cover no-repeat,
    #211924;
  color: white;
}
.hero-inner {
  padding: 38px 44px;
  max-width: 570px;
}
.hero h1 {
  font:
    500 clamp(46px, 5.8vw, 78px) / 0.95 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -3px;
  margin: 0;
}
.hero h1 em {
  color: #f6bfad;
  font-weight: 400;
}
.hero p {
  font-size: 16px;
  line-height: 1.45;
  color: #eee1da;
  max-width: 420px;
  margin: 18px 0 21px;
}
.hero .primary {
  background: #f8c3ae;
  color: #361e24;
  border-color: #f8c3ae;
}
.hero button {
  padding: 12px 18px;
}
.section-head {
  justify-content: space-between;
}
.section-head h2,
.dialog-head h2,
.round h3 {
  margin: 0;
  font:
    500 32px/1.12 Georgia,
    serif;
  letter-spacing: -0.9px;
}
.muted,
.summary,
.meta,
.explain {
  color: var(--muted);
  line-height: 1.5;
}
.summary {
  font-size: 15px;
  margin: 9px 0 16px;
}
.filters {
  margin: 16px 0 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  border-radius: 30px;
  background: transparent;
}
.filter.active,
.chip:has(input:checked) {
  background: #392832;
  color: #fff;
  border-color: #392832;
}
.platform-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.platform-select select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
.list-title small { color: var(--muted); font-weight: 400; }
.more-films { margin: -20px 0 32px; }
.list-title {
  font-size: 1.25rem;
  margin: 0 0 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 42px;
}
.film,
.empty,
.round,
.hidden-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffcf8;
}
.film {
  padding: 21px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 3px solid #8c495a;
}
.film:nth-child(3n + 2) {
  border-top-color: #898650;
}
.film:nth-child(3n) {
  border-top-color: #7b8e98;
}
.meta {
  font-size: 13px;
}
.film h3 {
  font:
    500 27px/1.08 Georgia,
    serif;
  margin: 11px 0 7px;
  overflow-wrap: anywhere;
  letter-spacing: -0.5px;
}
.film p {
  font-size: 15px;
  line-height: 1.45;
  margin: 6px 0 14px;
}
.offers {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: auto;
}
.tag {
  display: inline-block;
  background: #f0ebe5;
  color: #4b4140;
  text-decoration: none;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 600;
}
.tag.free {
  color: #21492f;
  background: #e6efdc;
}
.tag.sub {
  color: #642e42;
  background: #f6e4e8;
}
.tag[href]:hover {
  text-decoration: underline;
}
.film-actions {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #eae5de;
  justify-content: space-between;
  align-items: baseline;
}
.textbtn {
  background: none;
  border: 0;
  color: var(--berry);
  padding: 5px 1px;
  text-align: left;
  font-size: 14px;
}
.textbtn:hover {
  text-decoration: underline;
}
.film-actions .small {
  padding: 7px 10px;
}
.round,
.empty {
  padding: 22px;
  margin: 16px 0;
}
.empty p,
.round p {
  margin: 7px 0 14px;
}
.round label,
.form-field {
  display: block;
  margin: 12px 0;
}
.round label input {
  margin-right: 10px;
}
.explain {
  font-size: 14px;
  margin: 12px 0;
}
.hidden-row {
  padding: 12px 16px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footnote {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: -19px 0 36px;
}
dialog {
  color: var(--ink);
  border: 0;
  border-radius: 20px;
  background: #fffaf5;
  max-width: min(540px, calc(100% - 24px));
  width: 100%;
  max-height: 90dvh;
  padding: 0;
  box-shadow: 0 16px 80px #21192447;
}
dialog::backdrop {
  background: #221923a3;
}
.dialog-inner {
  padding: 24px;
}
.dialog-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dialog-head h2 {
  font-size: 28px;
}
.close {
  border: 0;
  border-radius: 50%;
  background: #eee7e1;
  font-size: 24px;
  width: 38px;
  height: 38px;
  color: var(--ink);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 18px 0;
}
legend,
.form-field {
  font-weight: 650;
}
legend {
  margin-bottom: 9px;
}
.chip {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  padding: 8px 11px;
}
.chip:has(input:focus-visible) {
  outline: 3px solid #cf7539;
}
.chip input {
  accent-color: var(--berry);
  width: 14px;
  height: 14px;
  margin: 0;
}
.form-field input,
.form-field textarea,
.form-field select,
input.copy {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #bdb3ad;
  background: white;
  color: var(--ink);
  border-radius: 9px;
  padding: 11px;
  min-width: 0;
}
.form-field textarea {
  min-height: 75px;
  resize: vertical;
}
.error {
  color: #8b1937;
  font-weight: 600;
  font-size: 14px;
}
.choice {
  display: block;
  padding: 5px;
}
.choice input {
  margin-right: 8px;
  accent-color: var(--berry);
}
.details {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
}
.details summary {
  cursor: pointer;
}
.details ul {
  padding-left: 20px;
}
.details a {
  color: var(--berry);
}
#notice {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: #332830;
  padding: 12px 18px;
  border-radius: 12px;
  max-width: min(480px, 92vw);
  width: max-content;
  z-index: 10;
  pointer-events: none;
}
#notice:empty {
  display: none;
}
@media (max-width: 830px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bar {
    gap: 24px;
  }
  .bar,
  main {
    padding: 0 20px;
  }
}
@media (max-width: 620px) {
  .bar {
    height: auto;
    min-height: 63px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    padding-top: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .profile {
    grid-column: 2;
    grid-row: 1;
  }
  .bar nav {
    grid-column: 1/-1;
    grid-row: 2;
    height: 45px;
  }
  .bar,
  main {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero {
    margin: 15px 0 24px;
    background-position: 60% center;
  }
  .hero-inner {
    padding: 26px 20px;
    background: #19121947;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero p {
    font-size: 15px;
    max-width: 320px;
  }
  .hero button {
    padding: 10px 12px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-head h2 {
    font-size: 29px;
  }
  .section-head {
    gap: 8px;
  }
  .film {
    padding: 16px;
  }
  .dialog-inner {
    padding: 18px;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    padding: 8px 10px;
  }
  .section-head .textbtn {
    min-height: 38px;
  }
}
.why {
  display: block;
  font-size: 13px;
  color: #76384e;
  margin: 0 0 12px;
}
.round .offers {
  margin: 12px 0;
}
.round .actions {
  margin-top: 14px;
}

.film-heading {
  display: grid;
  grid-template-columns: clamp(90px, 9vw, 124px) minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}
.movie-cover {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  width: 100%;
  aspect-ratio: 2 / 3;
  align-items: center;
  justify-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #392f36;
  color: #f5e1d4;
  font: italic 14px/1.2 Georgia, serif;
}
.movie-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #30282c;
}
.movie-cover img[hidden] { display: none; }
.movie-cover.compact { width: 54px; vertical-align: middle; }
#ballot label { display: flex; align-items: center; gap: 10px; }
#confirm-form .movie-cover { width: 84px; }

.round .synopsis, .hidden-row .synopsis, #confirm-form .synopsis { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--muted); font-weight: 400; }
