
:root {
  --paper: #f1ebdd;
  --ink: #171713;
  --red: #e64b2e;
  --blue: #3656a8;
  --line: rgba(23, 23, 19, 0.22);
  --muted: #6d695f;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ig-app button,
.ig-app input {
  font: inherit;
}

.ig-app button,
.ig-app a {
  -webkit-tap-highlight-color: transparent;
}

.ig-app button {
  color: inherit;
}

.ig-app a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--red);
  color: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 4vw;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand span {
  color: var(--red);
}

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

.site-header nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--red);
  transition: right 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  right: 0;
}

.shelf-button {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px 10px 17px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.shelf-button span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.74fr);
  grid-template-rows: 1fr auto;
  gap: 32px 6vw;
  padding: 8vh 5vw 4vh;
  overflow: hidden;
}

.hero::before {
  content: "24";
  position: absolute;
  top: -4vw;
  left: 42vw;
  color: rgba(23, 23, 19, 0.035);
  font-size: 38vw;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.13em;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 870px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy .eyebrow::before,
.radar-intro .eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--red);
  border-radius: 50%;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(64px, 7.1vw, 128px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.085em;
}

.hero h1 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 590px;
  margin: 38px 0 30px;
  color: #4f4b42;
  font-size: clamp(19px, 1.35vw, 24px);
  line-height: 1.45;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  padding: 17px 18px 17px 24px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 2px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 50%;
  font-size: 20px;
}

.primary-button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  box-shadow: 18px 18px 0 var(--ink);
}

.poster-grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, currentColor 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 7px, currentColor 7px 8px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.poster-topline,
.poster-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.poster-symbol {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(150px, 17vw, 270px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.13em;
}

.poster-content {
  position: relative;
  z-index: 2;
}

.poster-content > p {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poster-content h2 {
  max-width: 420px;
  margin: 0 0 19px;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.poster-meta {
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid currentColor;
}

.poster-meta strong {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
}

.mood-picker {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
}

.mood-picker p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mood-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-picker button,
.genre-tabs button {
  padding: 10px 15px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.mood-picker button:hover,
.mood-picker button.active,
.genre-tabs button:hover,
.genre-tabs button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.ticker {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 22px;
  padding: 15px 4vw;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker i {
  font-style: normal;
}

.premieres {
  padding: 110px 5vw 130px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.radar-intro h2,
.club-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.section-heading > p,
.radar-intro > p:not(.eyebrow),
.club-copy > p:not(.eyebrow) {
  margin: 0 0 7px;
  color: #565148;
  font-size: 19px;
  line-height: 1.55;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.search-box {
  min-width: 265px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box span[aria-hidden] {
  font-size: 24px;
}

.search-box input {
  width: 100%;
  padding: 9px 2px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #827d73;
}

.genre-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.genre-tabs button {
  padding: 8px 13px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 54px 18px;
}

.movie-card {
  min-width: 0;
}

.mini-poster {
  position: relative;
  aspect-ratio: 0.72;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 17px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.movie-card:hover .mini-poster {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--ink);
}

.mini-number,
.mini-year {
  position: absolute;
  z-index: 2;
  top: 14px;
  font-size: 13px;
  font-weight: 900;
}

.adult-badge {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.mini-number {
  left: 15px;
}

.mini-year {
  right: 15px;
}

.mini-shape {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  top: 22%;
  left: 16%;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 19px transparent,
    inset 0 0 0 21px currentColor;
}

.mini-shape::after {
  content: "";
  position: absolute;
  inset: 27%;
  background: currentColor;
  transform: rotate(45deg);
}

.mini-poster p {
  position: relative;
  z-index: 2;
  max-width: 80%;
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.movie-card-body {
  padding: 17px 2px 0;
}

.movie-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.movie-kicker strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 13px;
}

.movie-card h3 {
  margin: 4px 0 10px;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.movie-card-body > p {
  min-height: 65px;
  margin: 0;
  color: #5e594f;
  font-size: 15px;
  line-height: 1.55;
}

.movie-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.movie-bottom > span {
  max-width: 48%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.movie-bottom button,
.radar-result button {
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.movie-bottom button.saved,
.radar-result button.saved {
  color: var(--red);
}

.empty-results {
  padding: 80px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}

.radar {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.85fr;
  min-height: 680px;
  background: var(--ink);
  color: var(--paper);
}

.radar-intro,
.radar-controls,
.radar-result {
  padding: clamp(46px, 5vw, 84px);
}

.radar-intro {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(241, 235, 221, 0.18);
}

.radar-intro .eyebrow::before {
  background: var(--red);
}

.radar-intro h2 {
  margin-bottom: 26px;
}

.radar-intro > p:not(.eyebrow) {
  color: #bdb6a7;
}

.radar-scale {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 9px;
  align-items: center;
  margin-top: auto;
  padding-top: 60px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.radar-scale i {
  height: 1px;
  background: rgba(241, 235, 221, 0.4);
}

.radar-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 44px;
  border-right: 1px solid rgba(241, 235, 221, 0.18);
}

.radar-controls label > span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.radar-controls b {
  font-size: 16px;
}

.radar-controls output {
  color: #aaa392;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.radar-controls input[type="range"] {
  width: 100%;
  height: 3px;
  appearance: none;
  background: #6b675e;
  border-radius: 0;
}

.radar-controls input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  appearance: none;
  background: var(--red);
  border: 4px solid var(--ink);
  outline: 1px solid var(--red);
  border-radius: 50%;
  cursor: grab;
}

.radar-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
}

.radar-result > p {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.radar-score {
  font-size: clamp(92px, 10vw, 170px);
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.radar-result div > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radar-result h3 {
  margin: 5px 0 16px;
  font-size: clamp(32px, 3vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.radar-result div > p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
}

.club {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 8vw;
  align-items: center;
  padding: 100px 7vw;
  overflow: hidden;
}

.club-number {
  position: absolute;
  top: -8vw;
  right: -2vw;
  color: rgba(230, 75, 46, 0.09);
  font-size: 42vw;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.16em;
}

.club-copy,
.club-program {
  position: relative;
  z-index: 2;
}

.club-copy h2 {
  margin-bottom: 30px;
}

.club-copy > p:not(.eyebrow) {
  max-width: 530px;
}

.club-copy button {
  margin-top: 34px;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.club-copy button span {
  margin-left: 35px;
  color: var(--red);
  font-size: 22px;
}

.club-program {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.club-program li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.club-program li > span {
  grid-row: 1 / 3;
  padding-top: 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.club-program li > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.club-program b {
  font-size: 13px;
}

.club-program h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.045em;
}

.club-program p {
  margin: 6px 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 70px 5vw 35px;
  background: var(--red);
  color: #fff;
}

.footer-brand {
  font-size: 42px;
}

.footer-brand span {
  color: var(--ink);
}

footer > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.35;
}

footer > div {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

footer small {
  grid-column: 1 / -1;
  padding-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shelf-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(23, 23, 19, 0.62);
  backdrop-filter: blur(5px);
  animation: fade-in 170ms ease;
}

.shelf-panel {
  width: min(100%, 500px);
  min-height: 100%;
  padding: 38px;
  background: var(--paper);
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.23);
  animation: slide-in 220ms ease;
}

.shelf-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--ink);
}

.shelf-header .eyebrow {
  margin-bottom: 8px;
}

.shelf-header h2 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -0.06em;
}

.shelf-header h2 span {
  color: var(--red);
}

.shelf-header > button {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.shelf-list article {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.shelf-swatch {
  width: 56px;
  height: 70px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.shelf-list small,
.shelf-list p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-list h3 {
  margin: 3px 0;
  font-size: 18px;
}

.shelf-list p {
  margin: 0;
}

.shelf-list article > button {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}

.shelf-empty {
  min-height: 65vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.shelf-empty span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 29px;
}

.shelf-empty h3 {
  margin: 20px 0 5px;
}

.shelf-empty p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.poster-solar {
  background: #e2bc47;
  color: #171713;
}

.poster-cobalt {
  background: var(--blue);
  color: #f4e9d3;
}

.poster-tomato {
  background: var(--red);
  color: #fff0d9;
}

.poster-night {
  background: #242027;
  color: #d8ff72;
}

.poster-signal {
  background: #ff4d19;
  color: #191919;
}

.poster-sage {
  background: #8da18b;
  color: #132417;
}

.poster-butter {
  background: #f2d36b;
  color: #1d2d67;
}

.poster-sky {
  background: #adc7db;
  color: #203544;
}

.poster-plum {
  background: #5a264d;
  color: #f7c7cf;
}

.poster-blush {
  background: #f2a7ad;
  color: #4b1428;
}

.poster-wine {
  background: #761d2c;
  color: #f3d6c9;
}

.poster-ice {
  background: #c7d6d9;
  color: #213236;
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes slide-in {
  from { transform: translateX(100%); }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.82fr;
  }

  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .radar {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .radar-result {
    min-height: 480px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 20px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 70px 20px 32px;
  }

  .hero::before {
    top: 14%;
    left: 35%;
    font-size: 80vw;
  }

  .hero h1 {
    font-size: clamp(60px, 18vw, 100px);
  }

  .hero-poster {
    width: calc(100% - 16px);
    min-height: 470px;
    margin-top: 24px;
    box-shadow: 10px 10px 0 var(--ink);
  }

  .mood-picker {
    grid-column: 1;
    display: block;
  }

  .mood-picker p {
    margin-bottom: 14px;
  }

  .ticker {
    justify-content: flex-start;
    overflow: hidden;
  }

  .ticker span:nth-of-type(n+3),
  .ticker i:nth-of-type(n+3) {
    display: none;
  }

  .premieres {
    padding: 80px 20px 100px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading h2,
  .radar-intro h2,
  .club-copy h2 {
    font-size: clamp(46px, 14vw, 76px);
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .genre-tabs {
    justify-content: flex-start;
  }

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

  .movie-card h3 {
    font-size: 20px;
  }

  .movie-card-body > p {
    min-height: 83px;
    font-size: 14px;
  }

  .movie-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-bottom > span {
    max-width: 100%;
  }

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

  .radar-intro,
  .radar-controls,
  .radar-result {
    padding: 54px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(241, 235, 221, 0.18);
  }

  .radar-intro {
    min-height: 460px;
  }

  .radar-controls {
    min-height: 500px;
  }

  .radar-result {
    grid-column: 1;
  }

  .club {
    grid-template-columns: 1fr;
    padding: 85px 22px;
  }

  .club-number {
    top: 18%;
    font-size: 80vw;
  }

  .club-program li {
    grid-template-columns: 75px 1fr;
    gap: 0 10px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 55px 22px 28px;
  }

  footer > div {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 480px) {
  .shelf-button {
    padding-left: 12px;
    font-size: 0;
  }

  .shelf-button span {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 61px;
  }

  .hero-lede {
    font-size: 18px;
  }

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

  .mini-poster {
    aspect-ratio: 0.82;
  }

  .movie-card-body > p {
    min-height: auto;
  }

  .shelf-panel {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* iG-Life visual system */
:root {
  --paper: #ffffff;
  --ink: #1a1a1a;
  --red: #e94b35;
  --blue: #465f9b;
  --line: #dedede;
  --muted: #777777;
  --canvas: #f6f6f6;
}

body {
  background: var(--canvas);
  color: var(--ink);
}

.ig-app {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 100vh;
}

.ig-main {
  min-width: 0;
}

.ig-sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--line);
}

.ig-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  width: max-content;
  margin: 0 10px 30px;
  color: #111;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.ig-logo b {
  color: var(--red);
  font-size: 42px;
  font-weight: 500;
}

.ig-logo span {
  font-weight: 500;
}

.ig-logo small {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 7px;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ig-side-nav,
.ig-side-genres {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.ig-side-nav p,
.ig-side-genres p {
  margin: 0 10px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ig-side-nav a,
.ig-side-nav button,
.ig-side-genres button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 11px;
  color: #242424;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.ig-side-nav a:hover,
.ig-side-nav a.active,
.ig-side-nav button:hover {
  background: #f5f5f5;
  color: var(--red);
}

.ig-side-nav i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 1px solid #f0a79c;
  border-radius: 7px;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.ig-side-nav button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

.ig-side-genres {
  gap: 7px;
}

.ig-side-genres button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ig-side-genres button:hover,
.ig-side-genres button.active {
  color: var(--red);
  border-color: #efad9f;
  background: #fff8f6;
}

.ig-side-genres button span {
  margin-left: auto;
  color: #aaa;
  font-size: 21px;
  line-height: 1;
}

.ig-side-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: auto;
  padding: 14px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.ig-side-note b {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 14px;
}

.ig-side-note span {
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  min-height: 72px;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.brand span {
  color: var(--red);
}

.site-header nav {
  gap: 28px;
}

.site-header nav a {
  color: #444;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.site-header nav a::after {
  bottom: -9px;
  height: 1px;
}

.shelf-button {
  padding: 8px 10px 8px 15px;
  border-color: #e28a7d;
  border-radius: 11px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.shelf-button span {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  grid-template-rows: 1fr auto;
  gap: 28px 5vw;
  margin: 24px 28px;
  padding: clamp(34px, 4.5vw, 72px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero::before {
  display: none;
}

.hero-copy .eyebrow::before,
.radar-intro .eyebrow::before {
  width: 7px;
  height: 7px;
}

.eyebrow {
  margin-bottom: 16px;
  color: #777;
  font-size: 12px;
  letter-spacing: 0.11em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 6.2vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

.hero h1 em {
  display: block;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
}

.hero-lede {
  max-width: 570px;
  margin: 28px 0 26px;
  color: #666;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.55;
}

.primary-button {
  gap: 34px;
  padding: 11px 12px 11px 18px;
  background: #fff;
  color: #222;
  border: 1px solid #e28a7d;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
}

.primary-button span {
  width: 29px;
  height: 29px;
  font-size: 16px;
}

.primary-button:hover {
  background: #fff8f6;
  color: var(--red);
  transform: translateY(-1px);
}

.hero-poster {
  min-height: 430px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  box-shadow: none;
}

.poster-grain {
  display: none;
}

.poster-symbol {
  color: rgba(255, 255, 255, 0.44);
  font-size: clamp(130px, 14vw, 220px);
}

.poster-content h2 {
  font-size: clamp(31px, 3vw, 51px);
}

.mood-picker {
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.mood-picker p {
  color: #555;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.mood-picker button,
.genre-tabs button {
  padding: 8px 13px;
  border-color: var(--line);
  border-radius: 10px;
  color: #555;
  font-size: 13px;
  font-weight: 500;
}

.mood-picker button:hover,
.mood-picker button.active,
.genre-tabs button:hover,
.genre-tabs button.active {
  background: #fff8f6;
  color: var(--red);
  border-color: #efa99d;
}

.ticker {
  min-height: 50px;
  justify-content: space-between;
  margin: 0 28px 24px;
  padding: 12px 22px;
  background: #fff;
  color: #555;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ticker i {
  color: var(--red);
}

.premieres {
  padding: 52px 28px 90px;
}

.section-heading {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 7vw;
  margin-bottom: 34px;
}

.section-heading h2,
.radar-intro h2,
.club-copy h2 {
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading > p,
.radar-intro > p:not(.eyebrow),
.club-copy > p:not(.eyebrow) {
  color: #707070;
  font-size: 16px;
  line-height: 1.6;
}

.catalog-tools {
  align-items: flex-start;
  margin-bottom: 24px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.search-box {
  min-height: 38px;
  padding: 0 12px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.search-box span[aria-hidden] {
  color: #999;
  font-size: 20px;
}

.genre-tabs {
  gap: 6px;
}

.genre-tabs button {
  padding: 7px 11px;
}

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.movie-card:hover {
  border-color: #c9c9c9;
  transform: translateY(-2px);
}

.mini-poster {
  aspect-ratio: 1.7;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.movie-card:hover .mini-poster {
  transform: none;
  box-shadow: none;
}

.mini-shape {
  width: 48%;
  top: 11%;
  left: 26%;
  opacity: 0.5;
}

.mini-poster p {
  max-width: 70%;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  color: #222;
  font-size: 11px;
}

.adult-badge {
  background: rgba(255, 255, 255, 0.74);
}

.movie-card-body {
  padding: 18px 20px 20px;
}

.movie-kicker {
  color: #888;
  font-size: 11px;
}

.movie-kicker strong {
  width: 30px;
  height: 30px;
  border-color: #e6e6e6;
  color: var(--red);
}

.movie-card h3 {
  margin: 7px 0 8px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.movie-card-body > p {
  min-height: 45px;
  color: #777;
  font-size: 15px;
  line-height: 1.5;
}

.movie-bottom {
  border-color: #ededed;
}

.movie-bottom button,
.radar-result button {
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #e4a195;
  border-radius: 9px;
  color: #444;
}

.movie-bottom button:hover,
.radar-result button:hover,
.movie-bottom button.saved,
.radar-result button.saved {
  background: #fff7f5;
  color: var(--red);
}

.radar {
  grid-template-columns: 0.85fr 1.05fr 0.8fr;
  min-height: 600px;
  margin: 0 28px 70px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.radar-intro,
.radar-controls,
.radar-result {
  padding: clamp(36px, 4vw, 60px);
}

.radar-intro {
  border-right-color: var(--line);
}

.radar-intro > p:not(.eyebrow) {
  color: #777;
}

.radar-scale i {
  background: #d7d7d7;
}

.radar-controls {
  gap: 40px;
  border-right-color: var(--line);
}

.radar-controls output {
  color: #999;
}

.radar-controls input[type="range"] {
  background: #dedede;
}

.radar-controls input[type="range"]::-webkit-slider-thumb {
  background: var(--red);
  border-color: #fff;
  outline-color: var(--red);
}

.radar-result {
  border: 12px solid #fff;
  border-radius: 20px;
}

.radar-score {
  font-size: clamp(78px, 8vw, 128px);
}

.club {
  min-height: 620px;
  grid-template-columns: 0.8fr 1fr;
  gap: 6vw;
  margin: 0 28px 70px;
  padding: 70px 5vw;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.club-number {
  top: -4vw;
  right: 1vw;
  color: rgba(233, 75, 53, 0.055);
  font-size: 30vw;
}

.club-copy button {
  padding: 10px 14px;
  border: 1px solid #e4a195;
  border-radius: 10px;
}

.club-program {
  border-top-color: #bbb;
}

.club-program li {
  border-bottom-color: #e4e4e4;
}

footer {
  margin: 0 28px 28px;
  padding: 50px 38px 28px;
  background: #fff;
  color: #222;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.footer-brand {
  font-size: 35px;
}

.footer-brand span {
  color: var(--red);
}

footer > p {
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
}

footer > div {
  color: #666;
  font-size: 12px;
  font-weight: 600;
}

footer small {
  border-top-color: #e2e2e2;
  color: #999;
}

.shelf-backdrop {
  background: rgba(30, 30, 30, 0.45);
}

.shelf-panel {
  background: #fff;
}

.shelf-header > button {
  border-color: var(--line);
}

@media (max-width: 1180px) {
  .ig-app {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .ig-sidebar {
    padding-inline: 14px;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
    padding: 38px;
  }

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

  .radar-result {
    grid-column: 1 / -1;
    min-height: 430px;
  }
}

@media (max-width: 900px) {
  .ig-app {
    display: block;
  }

  .ig-sidebar {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 18px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    margin: 16px;
    padding: 34px 22px;
  }

  .hero h1 {
    font-size: clamp(54px, 13vw, 82px);
  }

  .hero-poster {
    width: 100%;
    min-height: 400px;
    margin-top: 8px;
    box-shadow: none;
  }

  .mood-picker {
    grid-column: 1;
  }

  .ticker {
    margin: 0 16px 20px;
  }

  .premieres {
    padding: 45px 16px 70px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .catalog-tools {
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .genre-tabs {
    justify-content: flex-start;
  }

  .radar,
  .club,
  footer {
    margin-inline: 16px;
  }

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

  .radar-intro,
  .radar-controls,
  .radar-result {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .radar-result {
    grid-column: 1;
  }

  .club {
    grid-template-columns: 1fr;
    padding: 55px 24px;
  }
}

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

  .ticker span:nth-of-type(n+3),
  .ticker i:nth-of-type(n+3) {
    display: none;
  }

  .section-heading h2,
  .radar-intro h2,
  .club-copy h2 {
    font-size: 43px;
  }

  .movie-card-body > p {
    min-height: auto;
  }

  .club-program li {
    grid-template-columns: 72px 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > div {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    align-items: flex-start;
  }
}

/* iG ecosystem transitions */
.ig-portal-nav {
  display: grid;
  gap: 10px;
  margin: -10px 0 18px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ig-portal-nav > p {
  margin: 0 10px 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* «iG» в подписи — фирменный акцент, как в логотипе */
.ig-portal-nav > p em,
.ig-portal-nav > p b {
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}

/* iG-Store / iG-Life — светлые карточки, ink на paper, акцент brand-red / blue */
.ig-store-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 56px 16px 16px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ig-store-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
  border-radius: 18px 0 0 18px;
}

.ig-store-cta:hover,
.ig-store-cta:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--red) 45%, var(--line));
  box-shadow: 0 10px 24px rgba(233, 75, 53, 0.12);
}

.ig-store-cta-kicker {
  max-width: 160px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ig-store-cta strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.ig-store-cta strong em {
  color: var(--red);
  font-style: normal;
}

.ig-store-cta small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.ig-store-cta > i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-style: normal;
  transition: transform 180ms ease, background 180ms ease;
}

.ig-store-cta:hover > i,
.ig-store-cta:focus-visible > i {
  transform: translateX(3px);
  background: #d43f2b;
}

.ig-life-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  gap: 11px;
  align-items: center;
  min-height: 72px;
  padding: 12px 12px 12px 14px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ig-life-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
  border-radius: 18px 0 0 18px;
}

.ig-life-cta:hover,
.ig-life-cta:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  box-shadow: 0 10px 24px rgba(70, 95, 155, 0.12);
}

.ig-life-cta-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: color-mix(in srgb, var(--blue) 12%, #fff);
  color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
}

.ig-life-cta > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ig-life-cta b {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
}

.ig-life-cta small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.ig-life-cta i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-style: normal;
  transition: transform 180ms ease, background 180ms ease;
}

.ig-life-cta:hover i,
.ig-life-cta:focus-visible i {
  transform: translateX(3px);
  background: #3a5088;
}

.ig-mobile-portals {
  display: none;
}

@media (max-width: 900px) {
  .ig-mobile-portals {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .ig-mobile-portal {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 8px 11px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: 14px;
  }

  .ig-mobile-portal--store {
    box-shadow: none;
  }

  .ig-mobile-portal--life {
    box-shadow: none;
  }

  .ig-mobile-portal-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 800;
  }

  .ig-mobile-portal--store .ig-mobile-portal-mark {
    background: color-mix(in srgb, var(--red) 14%, #fff);
    color: var(--red);
    border: 1px solid color-mix(in srgb, var(--red) 28%, var(--line));
  }

  .ig-mobile-portal--life .ig-mobile-portal-mark {
    background: color-mix(in srgb, var(--blue) 12%, #fff);
    color: var(--blue);
    border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
  }

  .ig-mobile-portal > span:nth-child(2) {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .ig-mobile-portal b {
    color: var(--ink);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }

  .ig-mobile-portal small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ig-mobile-portal--store small,
  .ig-mobile-portal--life small {
    color: var(--muted);
  }

  .ig-mobile-portal i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-style: normal;
  }

  .ig-mobile-portal--store i {
    background: var(--red);
  }

  .ig-mobile-portal--life i {
    background: var(--blue);
  }
}

@media (max-width: 420px) {
  .ig-mobile-portals {
    padding-inline: 10px;
  }

  .ig-mobile-portal {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 6px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .ig-mobile-portal-mark {
    width: 30px;
    height: 30px;
  }

  .ig-mobile-portal small {
    display: none;
  }
}

/* Account and cloud-synced favorites */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 9px 15px;
  background: var(--ink);
  color: #fff;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.account-menu {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.account-menu > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #fff2ee;
  color: var(--red);
  border: 1px solid #efb5aa;
  border-radius: 50%;
  font-weight: 800;
}

.account-menu > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.account-menu b {
  max-width: 145px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu a {
  width: max-content;
  color: #888;
  font-size: 11px;
}

.ig-side-nav a > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

.favorites-section {
  margin: 0 28px 70px;
  padding: 58px;
  scroll-margin-top: 86px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.favorites-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.favorites-heading h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.favorites-heading h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  margin-left: 8px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  vertical-align: middle;
}

.favorites-heading > p {
  margin: 0;
  color: #777;
  font-size: 16px;
  line-height: 1.65;
}

.sync-message {
  margin: 0 0 24px;
  padding: 12px 15px;
  background: #fff3ef;
  color: #a13423;
  border: 1px solid #f0b4a9;
  border-radius: 10px;
  font-size: 13px;
}

.favorites-signin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  min-height: 260px;
  padding: 42px;
  background: #f7f4ec;
  border-radius: 18px;
}

.favorites-signin h3 {
  max-width: 760px;
  margin: 6px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.favorites-signin p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #69665f;
  line-height: 1.6;
}

.favorites-signin > a {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 15px 18px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.favorite-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
  padding: 14px;
  background: #faf9f6;
  border: 1px solid #ece9e1;
  border-radius: 16px;
}

.favorite-poster {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 11px;
}

.favorite-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 48%);
}

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

.favorite-poster span {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  padding: 4px 7px;
  background: rgba(20, 20, 20, 0.68);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
}

.favorite-card > div:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 9px 6px 5px 0;
}

.favorite-card small {
  color: #999;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.favorite-card h3 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.05;
}

.favorite-card p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.favorite-card b {
  margin-top: 10px;
  color: #777;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.favorite-card button {
  width: max-content;
  margin-top: auto;
  padding: 8px 0 2px;
  background: transparent;
  color: var(--red);
  border: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.favorites-state {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 32px;
  background: #faf9f6;
  border: 1px dashed #d8d4ca;
  border-radius: 18px;
  text-align: center;
}

.favorites-state > span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1;
}

.favorites-state h3 {
  margin: 10px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.favorites-state p,
.favorites-state a {
  margin: 0;
  color: #74716a;
  font-size: 14px;
}

.favorites-state a {
  margin-top: 18px;
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .account-menu > div {
    display: none;
  }

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

@media (max-width: 900px) {
  .favorites-section {
    margin-inline: 16px;
    padding: 42px 24px;
  }

  .favorites-heading,
  .favorites-signin {
    grid-template-columns: 1fr;
  }

  .favorites-signin {
    align-items: start;
    padding: 30px;
  }

  .favorites-signin > a {
    width: max-content;
  }
}

@media (max-width: 620px) {
  .header-actions {
    gap: 7px;
  }

  .site-header .shelf-button {
    gap: 5px;
    padding: 7px;
    font-size: 0;
  }

  .site-header .shelf-button::before {
    content: "♡";
    font-size: 17px;
  }

  .auth-button {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .account-menu > span {
    width: 36px;
    height: 36px;
  }

  .favorites-section {
    margin-bottom: 48px;
    padding: 32px 18px;
  }

  .favorites-heading {
    gap: 20px;
    margin-bottom: 24px;
  }

  .favorites-signin {
    gap: 28px;
    padding: 24px 20px;
  }

  .favorites-signin > a {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
  }

  .favorite-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
  }

  .favorite-poster {
    min-height: 166px;
  }

  .favorite-card h3 {
    font-size: 21px;
  }

  .favorite-card p {
    display: none;
  }
}

.ig-sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d7d7d7 transparent;
}

.ig-side-genres {
  padding-bottom: 24px;
}

.movie-kicker > span {
  max-width: calc(100% - 38px);
  text-align: left;
  line-height: 1.45;
}

/* Original editorial film artwork */
.poster-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.filmography-art {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.filmography-art::before,
.filmography-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.filmography-art::before {
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow:
    0 0 0 16px rgba(255, 255, 255, 0.04),
    0 0 0 44px rgba(255, 255, 255, 0.035);
}

.filmography-art::after {
  inset: 0;
  background:
    linear-gradient(135deg, transparent 49.4%, rgba(255, 255, 255, 0.2) 49.6%, rgba(255, 255, 255, 0.2) 50.2%, transparent 50.4%),
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.18), transparent 31%),
    linear-gradient(180deg, transparent 42%, rgba(9, 9, 14, 0.42));
}

.filmography-art span,
.filmography-art b {
  position: relative;
  z-index: 1;
  color: inherit;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.filmography-art span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.09em;
}

.filmography-art b {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.filmography-art-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster::after,
.mini-poster::after,
.radar-result::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero-poster::after {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.38) 0%, rgba(10, 10, 10, 0.06) 42%, rgba(10, 10, 10, 0.84) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.16), transparent 58%);
}

.hero-poster {
  color: #fff8ee;
}

.hero-poster .poster-grain,
.hero-poster .poster-symbol,
.hero-poster .poster-topline,
.hero-poster .poster-content {
  z-index: 2;
}

.hero-poster .poster-symbol {
  opacity: 0.18;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.22);
}

.hero-poster .poster-topline,
.hero-poster .poster-content {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.mini-poster::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 36%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 48%);
}

.movie-card .poster-art {
  transition: transform 400ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.movie-card:hover .poster-art {
  transform: scale(1.025);
}

.mini-poster .mini-number,
.mini-poster .mini-year,
.mini-poster .adult-badge,
.mini-poster p {
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.mini-poster .mini-number,
.mini-poster .mini-year {
  padding: 5px 7px;
  background: rgba(18, 18, 18, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(5px);
}

.mini-poster .adult-badge {
  background: rgba(18, 18, 18, 0.58);
  border-color: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(5px);
}

.mini-poster p {
  max-width: 76%;
  background: rgba(18, 18, 18, 0.58);
  color: #fff;
  backdrop-filter: blur(6px);
}

.mini-shape {
  display: none;
}

.radar-result {
  position: relative;
  overflow: hidden;
  color: #fff8ee;
}

.radar-result::after {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.38), rgba(8, 8, 8, 0.08) 35%, rgba(8, 8, 8, 0.88)),
    linear-gradient(90deg, rgba(8, 8, 8, 0.18), transparent);
}

.radar-result > p,
.radar-result > strong,
.radar-result > div {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

.radar-result button,
.radar-result button.saved {
  background: rgba(255, 255, 255, 0.9);
  color: #1d1d1d;
  border-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

.movie-card-body {
  display: flex;
  flex-direction: column;
}

.series-info {
  display: grid;
  gap: 5px;
  margin: 14px 0 2px;
  padding: 11px 12px;
  background: #f7f6f3;
  border: 1px solid #ebe8e1;
  border-radius: 10px;
}

.series-info span {
  color: #999;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.series-info strong {
  color: #4f4f4f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.movie-description {
  margin: 16px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shelf-list .shelf-episodes {
  max-width: 340px;
  margin-top: 4px;
  line-height: 1.45;
  text-transform: none;
}

.movie-description summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: #242424;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.movie-description summary::-webkit-details-marker {
  display: none;
}

.movie-description summary span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.movie-description[open] summary span {
  background: #fff4f1;
  transform: rotate(45deg);
}

.movie-description > p {
  margin: 0;
  padding: 0 0 15px;
  color: #656565;
  font-size: 14px;
  line-height: 1.62;
}

.movie-bottom {
  margin-top: auto;
}

.format-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.format-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 16px;
  background: transparent;
  color: #4d4d4d;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.format-tabs button:hover {
  background: #fafafa;
  border-color: var(--line);
}

.format-tabs button.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.format-tabs button span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #555;
  border-radius: 999px;
  font-size: 11px;
}

.format-tabs button.active span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.movie-bottom > span {
  max-width: 68%;
  line-height: 1.35;
}

.title-copy-row,
.original-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-title-copy {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 4px 0 0;
  padding: 0;
  background: transparent;
  color: #777;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.copy-symbol {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
}

.copy-symbol::before,
.copy-symbol::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-sizing: border-box;
}

.copy-symbol::before {
  top: 1px;
  left: 5px;
}

.copy-symbol::after {
  top: 4px;
  left: 2px;
  background: inherit;
}

.copy-success-symbol {
  color: #52634a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.original-copy-row .inline-title-copy {
  margin-top: 0;
}

.inline-title-copy:hover,
.inline-title-copy.copied {
  background: #f4f6f1;
  border-color: #b8c4ad;
  color: #52634a;
}

.movie-original-title,
.radar-original-title,
.favorite-original-title,
.hero-original-title {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.movie-original-row {
  margin: -4px 0 10px;
}

.radar-original-row {
  margin: -5px 0 9px;
}

.favorite-original-row {
  margin: -3px 0 9px;
}

.hero-original-row {
  margin: -12px 0 17px;
}

.hero-original-title {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  text-transform: uppercase;
}

.club-title-block {
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
}

.club-title-block .original-copy-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.hero-poster .inline-title-copy {
  width: 28px;
  height: 28px;
  margin-top: 3px;
  padding: 0;
  background: rgba(18, 18, 18, 0.34);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  text-shadow: none;
  backdrop-filter: blur(6px);
}

.hero-poster .inline-title-copy:hover,
.hero-poster .inline-title-copy.copied {
  background: rgba(255, 255, 255, 0.9);
  color: #303a2b;
}

.radar-match-body .inline-title-copy,
.favorite-card .inline-title-copy,
.club-title-block .inline-title-copy {
  width: 28px;
  height: 28px;
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: #777;
  border-color: #d8d8d8;
}

.radar-match-body .inline-title-copy:hover,
.radar-match-body .inline-title-copy.copied,
.favorite-card .inline-title-copy:hover,
.favorite-card .inline-title-copy.copied,
.club-title-block .inline-title-copy:hover,
.club-title-block .inline-title-copy.copied {
  background: #f4f6f1;
  color: #52634a;
}

.favorite-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.favorite-card .favorite-actions button {
  margin-top: 0;
}

@media (max-width: 620px) {
  .format-tabs {
    gap: 5px;
    padding: 5px;
  }

  .format-tabs button {
    gap: 6px;
    min-height: 42px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .movie-bottom > span {
    max-width: 100%;
  }

}

.catalog-primary-filters {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(500px, 1.28fr);
  flex: 1 1 100%;
  align-items: end;
  gap: 8px;
}

.year-filter {
  min-width: 0;
}

.year-filter-label {
  display: block;
  margin: 0 0 6px 4px;
  color: #999;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.year-tabs button {
  min-height: 42px;
  padding: 8px 13px;
  background: #fafafa;
  color: #555;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.year-tabs button:hover,
.year-tabs button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.radar {
  grid-template-columns: minmax(280px, 0.72fr) minmax(390px, 1.28fr);
}

.radar-controls {
  border-right: 0;
}

.radar-results {
  grid-column: 1 / -1;
  padding: 34px;
  border-top: 1px solid var(--line);
  background: #faf9f7;
}

.radar-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.radar-results-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.radar-results-heading > span {
  max-width: 250px;
  color: #888;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.radar-match-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.radar-match {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e2dc;
  border-radius: 14px;
}

.radar-match:first-child {
  border-color: #e99b8d;
  box-shadow: 0 10px 28px rgba(89, 51, 43, 0.09);
}

.radar-match-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: #222;
  color: inherit;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.radar-match-poster:focus-visible {
  outline: 3px solid #ff7b65;
  outline-offset: -3px;
}

.radar-match-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 45%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 50%);
}

.radar-match-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.radar-match:hover .radar-match-poster img {
  transform: scale(1.025);
}

.radar-rank,
.radar-match-poster strong {
  position: absolute;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.radar-rank {
  top: 10px;
  left: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.radar-match-poster strong {
  right: 10px;
  bottom: 8px;
  font-size: 29px;
  letter-spacing: -0.06em;
}

.radar-open-hint {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #202020;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: transform 180ms ease, background 180ms ease;
}

.radar-open-hint i {
  font-size: 15px;
  font-style: normal;
  line-height: 1;
}

.radar-match-poster:hover .radar-open-hint,
.radar-match-poster:focus-visible .radar-open-hint {
  transform: translateX(3px);
  background: #fff;
}

.movie-card {
  scroll-margin-top: 90px;
}

.movie-card:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(233, 75, 53, 0.15), 0 18px 42px rgba(57, 37, 31, 0.12);
}

.radar-match-body {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 14px;
}

.radar-match-body small {
  color: #999;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.radar-match-body h4 {
  margin: 6px 0 10px;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.radar-match-body > p {
  margin: 0;
  color: #737373;
  font-size: 12px;
  line-height: 1.5;
}

.radar-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0 16px;
}

.radar-match-tags span {
  padding: 5px 7px;
  background: #f5f3ee;
  color: #666;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.radar-match-body .radar-favorite-button {
  width: 100%;
  margin-top: auto;
  padding: 8px 10px;
  background: #fff;
  color: #444;
  border: 1px solid #e3a194;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.radar-match-body .radar-favorite-button:hover,
.radar-match-body .radar-favorite-button.saved {
  background: #fff5f2;
  color: var(--red);
}

@media (max-width: 1180px) {
  .radar-match-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .catalog-primary-filters {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .catalog-primary-filters .search-box {
    flex: 1 1 auto;
  }

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

  .radar-intro,
  .radar-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .radar-results {
    grid-column: 1;
  }

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

@media (max-width: 620px) {
  .catalog-primary-filters {
    display: grid;
  }

  .year-tabs {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .year-tabs::-webkit-scrollbar {
    display: none;
  }

  .year-tabs button {
    flex: 0 0 auto;
  }

  .radar-results {
    padding: 24px 16px;
  }

  .radar-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .radar-results-heading > span {
    text-align: left;
  }

  .radar-match-grid {
    grid-template-columns: 1fr;
  }
}

.about-section {
  padding: 88px 5vw 96px;
  background: #f7f3e9;
  border-bottom: 1px solid var(--line);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 8vw;
  align-items: end;
}

.about-intro h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(52px, 5.7vw, 92px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.about-intro h2 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.about-lede {
  padding-bottom: 4px;
}

.about-lede p {
  margin: 0;
  color: #565148;
  font-size: 17px;
  line-height: 1.58;
}

.about-lede p + p {
  margin-top: 14px;
}

.about-manifesto {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  margin: 54px 0 22px;
  padding: 28px 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
}

.about-manifesto span {
  color: #b9b3a7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-manifesto p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 39px);
  font-style: italic;
  line-height: 1.05;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.about-card {
  min-width: 0;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.about-card:hover,
.about-card:focus-visible {
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.about-card > span {
  margin-bottom: 42px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.about-card:hover > span,
.about-card:focus-visible > span {
  color: #fff;
}

.about-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-card p {
  margin: 0 0 22px;
  color: #69645a;
  font-size: 14px;
  line-height: 1.55;
}

.about-card:hover p,
.about-card:focus-visible p {
  color: rgba(255, 255, 255, 0.82);
}

.about-card b {
  margin-top: auto;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-section {
    padding-inline: 4vw;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-lede {
    max-width: 680px;
  }

  .about-manifesto {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (max-width: 620px) {
  .about-section {
    padding: 64px 16px 70px;
  }

  .about-intro h2 {
    font-size: clamp(43px, 13vw, 66px);
  }

  .about-manifesto {
    margin-top: 38px;
    padding: 23px;
  }

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

  .about-card {
    min-height: 230px;
  }

.about-card > span {
  margin-bottom: 28px;
}
}

.hero-recommendation {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.hero {
  grid-template-rows: auto;
}

.hero-recommendation .hero-poster {
  width: 100%;
  align-self: auto;
}

.hero-radar {
  padding: 16px;
  background: #faf8f2;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.hero-radar-heading > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hero-radar-heading span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-radar-heading b {
  color: var(--red);
  font-size: 13px;
}

.hero-radar-heading p {
  margin: 5px 0 12px;
  color: #555;
  font-size: 12px;
  line-height: 1.4;
}

.hero-radar-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.hero-radar-presets button {
  padding: 6px 8px;
  background: #fff;
  color: #666;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.hero-radar-presets button:hover,
.hero-radar-presets button.active {
  background: #fff5f2;
  color: var(--red);
  border-color: #efa99d;
}

.hero-radar-sliders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.hero-radar-sliders label > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: #5f5a52;
  font-size: 11px;
  font-weight: 800;
}

.hero-radar-sliders output {
  color: #999;
  font-weight: 700;
}

.hero-radar-sliders input[type="range"] {
  width: 100%;
  height: 3px;
  appearance: none;
  background: #d9d4c9;
  border-radius: 999px;
  cursor: pointer;
}

.hero-radar-sliders input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  appearance: none;
  background: var(--red);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--red);
}

.hero-radar > a {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 11px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.hero-radar > a:hover {
  color: var(--red);
}

.radar {
  grid-template-columns: 1fr;
  min-height: 0;
}

.radar .radar-intro {
  min-height: 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.radar .radar-scale {
  max-width: 760px;
  margin-top: 34px;
}

.radar .radar-results {
  grid-column: 1;
}

@media (max-width: 900px) {
  .hero-recommendation {
    width: 100%;
  }

  .hero-recommendation .hero-poster {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .hero-radar-sliders {
    grid-template-columns: 1fr;
  }
}

/* One complete taste radar at the beginning of the site */
.radar-primary {
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  min-height: 0;
  scroll-margin-top: 96px;
}

.radar-primary .radar-intro {
  min-height: 430px;
  padding: clamp(38px, 4.5vw, 68px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.radar-primary .radar-intro > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
}

.radar-primary .radar-scale {
  max-width: none;
  margin-top: auto;
  padding-top: 48px;
}

.radar-primary .radar-controls {
  display: flex;
  min-width: 0;
  padding: clamp(38px, 4.5vw, 68px);
  gap: 26px;
  justify-content: flex-start;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.radar-controls-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.radar-controls-heading .eyebrow {
  margin-bottom: 8px;
}

.radar-controls-heading h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.radar-controls-heading > strong {
  flex: 0 0 auto;
  padding: 9px 12px;
  background: #fff4f1;
  color: var(--red);
  border: 1px solid #edb0a5;
  border-radius: 999px;
  font-size: 13px;
}

.radar-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.radar-presets button {
  min-height: 39px;
  padding: 8px 12px;
  background: #faf9f6;
  color: #5e5a53;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.radar-presets button:hover,
.radar-presets button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.radar-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}

.radar-control-grid label {
  min-width: 0;
}

.radar-primary .radar-control-grid label > span {
  margin-bottom: 13px;
}

.radar-primary .radar-control-grid b {
  font-size: 14px;
}

.radar-primary .radar-control-grid input[type="range"] {
  cursor: pointer;
}

.radar-primary .radar-results {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .radar-primary {
    grid-template-columns: 1fr;
  }

  .radar-primary .radar-intro {
    min-height: 0;
    border-right: 0;
  }

  .radar-primary .radar-controls,
  .radar-primary .radar-results {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .radar-primary {
    margin: 0 16px 48px;
    scroll-margin-top: 76px;
  }

  .radar-primary .radar-intro,
  .radar-primary .radar-controls {
    padding: 30px 20px;
  }

  .radar-controls-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .radar-control-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Larger, more comfortable reading scale */
body {
  font-size: 18px;
}

.ig-logo small,
.ig-side-nav p,
.ig-side-genres p,
.year-filter-label {
  font-size: 14px;
}

.ig-side-nav a,
.ig-side-nav button,
.ig-side-genres button {
  min-height: 46px;
  font-size: 17px;
}

.ig-side-note span {
  font-size: 14px;
}

.site-header nav a,
.shelf-button,
.auth-button {
  font-size: 15px;
}

.account-menu b {
  font-size: 14px;
}

.account-menu a {
  font-size: 13px;
}

.eyebrow {
  font-size: 14px;
}

.hero-lede {
  font-size: clamp(20px, 1.35vw, 24px);
}

.poster-topline,
.poster-meta,
.hero-original-title {
  font-size: 15px;
}

.ticker {
  font-size: 14px;
}

.section-heading > p,
.radar-intro > p:not(.eyebrow),
.club-copy > p:not(.eyebrow),
.radar-primary .radar-intro > p:not(.eyebrow),
.favorites-heading > p {
  font-size: 18px;
}

.search-box input,
.format-tabs button,
.genre-tabs button,
.year-tabs button {
  font-size: 16px;
}

.movie-kicker {
  font-size: 13px;
}

.movie-card h3 {
  font-size: 28px;
}

.movie-card-body > p {
  font-size: 17px;
}

.movie-original-title,
.radar-original-title,
.favorite-original-title,
.club-title-block .original-copy-row > span {
  font-size: 14px;
}

.series-info span {
  font-size: 13px;
}

.series-info strong {
  font-size: 15px;
}

.movie-description summary {
  font-size: 14px;
}

.movie-description > p {
  font-size: 16px;
}

.movie-bottom > span,
.movie-bottom button,
.radar-result button {
  font-size: 14px;
}

.radar-presets button,
.radar-controls-heading > strong {
  font-size: 14px;
}

.radar-primary .radar-control-grid b,
.radar-controls output {
  font-size: 16px;
}

.radar-results-heading > span {
  font-size: 15px;
}

.radar-match-body small,
.radar-rank {
  font-size: 12px;
}

.radar-match-body h4 {
  font-size: 23px;
}

.radar-match-body > p {
  font-size: 14px;
}

.radar-match-tags span {
  font-size: 12px;
}

.radar-match-body button {
  font-size: 13px;
}

.about-lede p {
  font-size: 19px;
}

.about-manifesto span {
  font-size: 14px;
}

.about-card h3 {
  font-size: 28px;
}

.about-card p {
  font-size: 16px;
}

.about-card b {
  font-size: 15px;
}

.sync-message,
.favorites-signin > a {
  font-size: 15px;
}

.favorite-card small {
  font-size: 13px;
}

.favorite-card h3 {
  font-size: 28px;
}

.favorite-card p {
  font-size: 15px;
}

.favorite-card b {
  font-size: 13px;
}

.favorite-card button {
  font-size: 14px;
}

.favorites-state p,
.favorites-state a {
  font-size: 16px;
}

.club-copy button {
  font-size: 16px;
}

.club-program li > span,
.club-program b {
  font-size: 14px;
}

.club-program h3 {
  font-size: 30px;
}

.club-program p {
  font-size: 17px;
}

footer > div {
  font-size: 14px;
}

footer small {
  font-size: 13px;
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .movie-card h3,
  .favorite-card h3 {
    font-size: 25px;
  }

  .radar-match-body h4 {
    font-size: 21px;
  }

  .club-program h3 {
    font-size: 26px;
  }
}

/* Always-visible navigation for phones and tablets */
.mobile-section-nav {
  display: none;
}

@media (max-width: 900px) {
  .ig-main {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .mobile-section-nav {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 82px;
    padding: 9px 6px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(20, 20, 20, 0.08);
    backdrop-filter: blur(16px);
  }

  .mobile-section-nav a {
    display: flex;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 4px 2px;
    color: #6f6f6f;
    border-radius: 10px;
    font-size: clamp(11px, 3.2vw, 13px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .mobile-section-nav a span {
    color: #8b8b8b;
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-section-nav a.active {
    background: #fff5f2;
    color: var(--red);
  }

  .mobile-section-nav a.active span {
    color: var(--red);
  }
}

/* Cast and crew information shared by catalog, radar and favorites cards */
.movie-credits {
  display: grid;
  gap: 8px;
  margin: 14px 0 2px;
  padding: 13px 14px;
  background: #f8f7f3;
  border: 1px solid #ebe8e1;
  border-radius: 11px;
}

.movie-credits > div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.movie-credits dt,
.movie-credits dd {
  margin: 0;
}

.movie-credits dt {
  color: #999;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.movie-credits dd {
  min-width: 0;
  color: #4f4f4f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.movie-credits-compact {
  gap: 7px;
  margin: 12px 0;
  padding: 11px 12px;
  background: #fff;
}

.movie-credits-compact > div {
  grid-template-columns: 1fr;
  gap: 1px;
}

.movie-credits-compact dt {
  font-size: 10px;
}

.movie-credits-compact dd {
  font-size: 12px;
}

@media (max-width: 620px) {
  .movie-credits > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .movie-credits dt {
    font-size: 11px;
  }

  .movie-credits dd {
    font-size: 15px;
  }
}

.catalog-person-filters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.person-filter {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.person-filter > span {
  margin-left: 4px;
  color: #777;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.person-filter select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  background: #fff;
  color: #2c2c2c;
  border: 1px solid #dedbd4;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
}

.person-filter select:hover {
  border-color: #d5a69d;
}

.person-filter select:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(197, 68, 47, 0.12);
  outline: none;
}

@media (max-width: 620px) {
  .catalog-person-filters {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .person-filter select {
    min-height: 56px;
    font-size: 17px;
  }
}

/* Keep the title search visually separate from the catalog filters */
.catalog-tools {
  display: grid;
  align-items: stretch;
  gap: 18px;
}

.catalog-primary-filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.catalog-search,
.catalog-primary-filters .year-filter {
  grid-column: 1 / -1;
}

.catalog-search {
  display: grid;
  gap: 6px;
}

.catalog-search-label {
  margin-left: 4px;
  color: #777;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-search .search-box {
  width: 100%;
  min-height: 62px;
  padding-inline: 17px;
  background: #f8f7f3;
  border-color: #dedbd4;
}

.catalog-search .search-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(197, 68, 47, 0.12);
}

.catalog-search .search-box input {
  font-size: 18px;
}

.catalog-tools > .genre-tabs {
  justify-content: flex-start;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 620px) {
  .catalog-tools {
    gap: 16px;
    padding: 12px;
  }

  .catalog-primary-filters {
    grid-template-columns: 1fr;
  }

  .catalog-search .search-box {
    min-height: 58px;
  }

  .catalog-search .search-box input {
    font-size: 17px;
  }
}

.person-credit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.person-credit {
  display: inline-flex;
  width: min(145px, 100%);
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #454545;
  text-decoration: none;
}

.person-credit-avatar {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  place-items: center;
  background: #e9e5dd;
  color: #7a746a;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ddd8cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.person-credit-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-credit-name {
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.person-credit-button {
  padding: 0;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.person-credit-button:hover {
  color: var(--red);
}

.person-credit-button:hover .person-credit-avatar,
.person-credit-button:focus-visible .person-credit-avatar {
  box-shadow: 0 0 0 2px rgba(197, 68, 47, 0.28);
}

.person-credit-button:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(197, 68, 47, 0.35);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .person-credit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .person-credit {
    width: 100%;
  }

  .person-credit-avatar {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .person-credit-name {
    font-size: 13px;
  }
}

.person-picker {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.person-picker-label {
  margin-left: 4px;
  color: #777;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.person-picker-trigger {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 7px 12px;
  background: #fff;
  color: #2c2c2c;
  border: 1px solid #dedbd4;
  border-radius: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.person-picker-trigger:hover,
.person-picker-trigger[aria-expanded="true"] {
  border-color: #d5a69d;
}

.person-picker-trigger:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(197, 68, 47, 0.12);
  outline: none;
}

.person-picker-trigger .person-credit-avatar,
.person-picker-options .person-credit-avatar,
.person-picker-all-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.person-picker-all-avatar {
  display: grid;
  place-items: center;
  background: #efede7;
  color: #777168;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.person-picker-value {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-picker-chevron {
  color: #8a847b;
  font-size: 25px;
  line-height: 1;
  transition: transform 160ms ease;
}

.person-picker-trigger[aria-expanded="true"] .person-picker-chevron {
  transform: rotate(180deg);
}

.person-picker-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd8cf;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(30, 27, 22, 0.2);
}

.person-picker-search {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8f7f3;
  border-bottom: 1px solid #e9e5dd;
}

.person-picker-search > span[aria-hidden] {
  color: #8b857d;
  font-size: 20px;
}

.person-picker-search input {
  width: 100%;
  min-width: 0;
  padding: 7px 0;
  background: transparent;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
}

.person-picker-options {
  max-height: min(55vh, 430px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
}

.person-picker-options > button {
  display: grid;
  width: 100%;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 9px;
  background: transparent;
  color: #393939;
  border: 0;
  border-radius: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.person-picker-options > button:hover,
.person-picker-options > button.active {
  background: #fff3f0;
  color: #9f3423;
}

.person-picker-options > button:focus-visible {
  outline: 2px solid rgba(197, 68, 47, 0.35);
  outline-offset: -2px;
}

.person-picker-options > button > span:nth-child(2) {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.person-picker-options > button b {
  min-width: 24px;
  padding: 4px 6px;
  background: #f0eee9;
  color: #777168;
  border-radius: 999px;
  font-size: 11px;
  text-align: center;
}

.person-picker-empty {
  margin: 0;
  padding: 28px 14px;
  color: #88827a;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 620px) {
  .person-picker-trigger {
    min-height: 62px;
  }

  .person-picker-trigger .person-credit-avatar,
  .person-picker-options .person-credit-avatar,
  .person-picker-all-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .person-picker-options > button {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 58px;
  }

  .person-picker-options > button > span:nth-child(2) {
    font-size: 15px;
  }
}

/* Phone-first catalog refinements */
@media (max-width: 620px) {
  html,
  body,
  .ig-app,
  .ig-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  button,
  a {
    touch-action: manipulation;
  }

  .premieres {
    padding: 36px 12px 112px;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(39px, 12vw, 54px);
    line-height: 0.96;
  }

  .section-heading > p {
    font-size: 17px;
    line-height: 1.5;
  }

  .format-tabs {
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
  }

  .format-tabs button {
    min-height: 50px;
    padding-inline: 6px;
    font-size: 14px;
  }

  .format-tabs button span {
    min-width: 26px;
    height: 26px;
  }

  .catalog-tools {
    gap: 16px;
    padding: 10px;
    border-radius: 14px;
  }

  .catalog-search .search-box {
    min-height: 62px;
    padding-inline: 14px;
  }

  .catalog-search .search-box input,
  .person-picker-search input {
    font-size: 17px;
  }

  .year-tabs,
  .genre-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .year-tabs::-webkit-scrollbar,
  .genre-tabs::-webkit-scrollbar {
    display: none;
  }

  .year-tabs button,
  .genre-tabs button {
    min-height: 44px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 15px;
  }

  .catalog-person-filters {
    gap: 14px;
  }

  .person-picker-trigger {
    min-height: 76px;
    gap: 12px;
    padding: 8px 12px;
  }

  .person-picker-trigger .person-credit-avatar,
  .person-picker-trigger .person-picker-all-avatar {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .person-picker-value {
    font-size: 17px;
  }

  .person-picker-panel {
    position: fixed;
    z-index: 130;
    top: auto;
    right: 10px;
    bottom: calc(94px + env(safe-area-inset-bottom));
    left: 10px;
    max-height: min(72vh, 640px);
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(20, 18, 15, 0.32);
  }

  .person-picker-search {
    min-height: 62px;
    padding-inline: 14px;
  }

  .person-picker-options {
    max-height: calc(min(72vh, 640px) - 62px);
    padding: 8px;
  }

  .person-picker-options .person-credit-avatar,
  .person-picker-options .person-picker-all-avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .person-picker-options > button {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    min-height: 80px;
    gap: 12px;
    padding: 8px 10px;
  }

  .person-picker-options > button > span:nth-child(2) {
    font-size: 17px;
  }

  .person-picker-options > button b {
    padding: 5px 8px;
    font-size: 12px;
  }

  .movie-grid {
    gap: 20px;
  }

  .movie-card {
    border-radius: 18px;
  }

  .mini-poster {
    aspect-ratio: 1.12;
  }

  .movie-card-body {
    padding: 18px 15px 16px;
  }

  .movie-card h3 {
    font-size: 28px;
    line-height: 1.02;
  }

  .movie-card-body > p,
  .movie-description > p {
    font-size: 17px;
  }

  .movie-credits {
    gap: 14px;
    margin-top: 16px;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .movie-credits > div {
    gap: 6px;
  }

  .movie-credits dt {
    font-size: 12px;
  }

  .person-credit-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .person-credit {
    min-height: 82px;
    gap: 13px;
    padding: 7px 9px;
    background: #fff;
    border: 1px solid #e7e2d9;
    border-radius: 13px;
  }

  .person-credit-avatar {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
    font-size: 15px;
  }

  .person-credit-name {
    font-size: 16px;
    line-height: 1.3;
  }

  .movie-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .movie-bottom > span {
    font-size: 14px;
  }

  .movie-bottom button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .mobile-section-nav {
    min-height: 86px;
  }

  .mobile-section-nav a {
    min-height: 66px;
    font-size: 12px;
  }

  .mobile-section-nav a span {
    font-size: 29px;
  }
}

/* Fast path from a recommendation to a legal viewing service */
.viewing-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 18px;
  padding: 13px;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 76, 56, 0.11), transparent 42%),
    #f8f6f1;
  border: 1px solid #ded9cf;
  border-radius: 15px;
}

.viewing-actions-heading {
  display: grid;
  gap: 2px;
}

.viewing-actions-heading strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.viewing-actions-heading span {
  color: #777168;
  font-size: 11px;
  line-height: 1.35;
}

.viewing-actions .viewing-copy-button,
.favorite-card .viewing-actions .viewing-copy-button,
.radar-match-body .viewing-actions .viewing-copy-button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 9px 11px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.viewing-actions .viewing-copy-button > span {
  color: #ff725f;
  font-size: 17px;
  line-height: 1;
}

.viewing-actions .viewing-copy-button:hover,
.viewing-actions .viewing-copy-button:focus-visible {
  transform: translateY(-1px);
  background: var(--red);
  border-color: var(--red);
}

.viewing-actions .viewing-copy-button:hover > span,
.viewing-actions .viewing-copy-button:focus-visible > span,
.viewing-actions .viewing-copy-button.copied > span {
  color: #fff;
}

.viewing-actions .viewing-copy-button.copied {
  background: #35624b;
  border-color: #35624b;
}

.viewing-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.viewing-resource {
  min-width: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 7px 8px 7px 9px;
  background: #fff;
  color: #272727;
  border: 1px solid #ddd8cf;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.viewing-resource::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #999;
  border-radius: 50%;
}

.viewing-resource span {
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewing-resource i {
  color: #918b81;
  font-size: 13px;
  font-style: normal;
}

.viewing-resource:hover,
.viewing-resource:focus-visible {
  transform: translateY(-1px);
  border-color: #aaa49a;
  box-shadow: 0 5px 12px rgba(38, 31, 26, 0.09);
}

.viewing-resource-kinopoisk::before {
  background: #ffb800;
}

.viewing-resource-okko::before {
  background: #5c36ff;
}

.viewing-resource-ivi::before {
  background: #ff4c5b;
}

.viewing-resource-wink::before {
  background: #933eea;
}

.viewing-resource-vk::before {
  background: #0077ff;
}

.viewing-resource-rutube::before {
  background: #ff0032;
}

.viewing-actions-compact {
  gap: 8px;
  margin-top: 14px;
  padding: 11px;
  border-radius: 13px;
}

.viewing-actions-compact .viewing-actions-heading strong {
  font-size: 12px;
}

.viewing-actions-compact .viewing-actions-heading span {
  font-size: 10px;
}

.hero-recommendation > .viewing-actions {
  margin-top: 0;
  padding: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 30, 25, 0.09);
}

.favorite-card .viewing-actions {
  margin: 14px 0 12px;
}

.radar-match-body > .viewing-actions + .radar-favorite-button {
  margin-top: 10px;
}

@media (max-width: 620px) {
  .viewing-actions {
    gap: 10px;
    padding: 14px;
  }

  .viewing-actions-heading strong {
    font-size: 15px;
  }

  .viewing-actions-heading span {
    font-size: 12px;
  }

  .viewing-actions .viewing-copy-button,
  .favorite-card .viewing-actions .viewing-copy-button,
  .radar-match-body .viewing-actions .viewing-copy-button {
    min-height: 48px;
    font-size: 14px;
  }

  .viewing-resource {
    min-height: 44px;
    padding-inline: 11px;
    font-size: 13px;
  }
}
