:root {
  --bg: #050505;
  --lime: #c8f53a;
  --lime-deep: #9fd40f;
  --gold: #e7c37a;
  --ink: #081000;
  --text: #f5f7f0;
  --muted: #8b8f82;
  --line: rgba(200, 245, 58, 0.14);
  --panel: #0d0d0d;
  --display: "Syne", sans-serif;
  --sans: "Plus Jakarta Sans", sans-serif;
  --wrap: min(1480px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
main { flex: 1; width: 100%; }

a { color: var(--lime); text-decoration: none; }
a:hover { color: #e8ff8a; }
a.btn:hover, button.btn:hover { color: #fff; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.045em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 0.98; }
h2 { font-size: 1.35rem; }

.wrap { width: var(--wrap); margin-inline: auto; }
.page-block { padding: 2rem 0 4rem; }

.nav {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.9rem 0;
}
.nav__row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.logo span { color: var(--lime); }
.nav-mid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}
.nav-mid a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav-mid a:hover { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }

.account { position: relative; }
.account__btn {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.account__btn::-webkit-details-marker,
.account__btn::marker { display: none; content: none; }
.account__ava {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 0.95rem;
}
.account__name { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.4rem;
  z-index: 40;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.account__menu a,
.account__menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
}
.account__menu a:hover,
.account__menu button:hover { background: rgba(200,245,58,0.1); color: var(--lime); }
.nav-search input {
  width: 250px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  outline: none;
  font: inherit;
}
.nav-search input:focus { border-color: var(--lime); }

.hero { padding: 2.8rem 0 1.4rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.film-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  color: var(--lime);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.film-chip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--lime);
  margin: 0 0 0.9rem;
  font-weight: 600;
}
.lede {
  color: var(--muted);
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0.9rem 0 0;
}
.hero__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.6rem; }

.hero__art {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}
.goo-stage {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
}
.goo {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f7ffb8 0%, var(--lime) 36%, var(--lime-deep) 68%, #3a4a08 100%);
}
.goo--1 { width: 78%; height: 78%; left: 11%; top: 8%; border-radius: 58% 42% 48% 52% / 42% 56% 44% 58%; animation: morph 16s ease-in-out infinite; }
.goo--2 { width: 34%; height: 34%; right: 4%; top: 14%; animation: morph 12s ease-in-out infinite reverse; }
.goo--3 { width: 26%; height: 26%; left: 8%; bottom: 10%; animation: morph 18s ease-in-out infinite; }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 48% 52% / 42% 56% 44% 58%; transform: translateY(0); }
  50% { border-radius: 40% 60% 38% 62% / 60% 38% 62% 40%; transform: translateY(-8px); }
}
.still-stack {
  position: absolute;
  right: 6%;
  bottom: 10%;
  display: flex;
  z-index: 2;
}
.still {
  width: 124px; height: 178px;
  border-radius: 10px;
  background: #111;
  overflow: hidden;
  border: 2px solid #050505;
  margin-left: -28px;
  transform: rotate(-6deg);
  box-shadow: 0 14px 28px rgba(0,0,0,0.5);
}
.still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.still:nth-child(2) { transform: rotate(3deg) translateY(-10px); z-index: 2; }
.still:nth-child(3) { transform: rotate(-2deg); z-index: 3; }
.still:nth-child(4) { transform: rotate(7deg) translateY(8px); z-index: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
}
.btn:hover { background: #d8ff5c; color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.16);
}
a.btn.btn--ghost:hover, button.btn.btn--ghost:hover, .btn--ghost:hover { border-color: var(--lime); color: var(--lime); background: transparent; }
.btn--sm { padding: 0.42rem 0.85rem; font-size: 0.84rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.8rem; }
.btn--danger { color: #f0a8a8; border-color: rgba(240, 168, 168, 0.35); }
a.btn.btn--danger:hover, button.btn.btn--danger:hover, .btn--danger:hover {
  border-color: #f0a8a8; color: #ffc4c4; background: transparent;
}
.linkish { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }
.linkish:hover { color: #f0a8a8; }

.catalog { padding: 3.2rem 0 4rem; }
.catalog__title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.95;
  margin: 0 0 0.25em;
}
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; margin: 0 0 1.6rem; }
.section-head p { color: var(--muted); margin: 0; }

.panel, .glass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.3rem 1.4rem;
}
.panel--accent { border-color: rgba(200, 245, 58, 0.32); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}
.poster-grid--sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.poster-card { color: inherit; display: block; }
.poster-card__art {
  aspect-ratio: 2/3;
  border-radius: 18px;
  background: #111;
  position: relative;
  overflow: hidden;
  outline: 1px solid transparent;
  transition: transform 0.25s ease, outline-color 0.25s ease;
}
.poster-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster-card__art--empty { background: linear-gradient(160deg, #1a220c, #0a0a0a); }
.poster-card:hover .poster-card__art { transform: translateY(-5px); outline-color: var(--lime); }
.poster-card__meta { padding: 0.65rem 0.1rem 0; }
.poster-card__meta h3 { font-size: 0.95rem; margin: 0; }
.poster-card__meta p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.8rem; }

.score-chip {
  position: absolute; right: 8px; top: 8px;
  background: var(--lime); color: var(--ink);
  border-radius: 999px; padding: 0.8rem 1rem;
  font-size: 0.74rem; font-weight: 800;
}

.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 2rem; color: var(--muted); }
.empty { text-align: center; padding: 2.2rem; }
.empty p { color: var(--muted); }

.film { padding: 1.6rem 0 3.5rem; }
.film__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.2rem;
  align-items: start;
  margin-bottom: 1.6rem;
}
.film__poster {
  aspect-ratio: 2/3;
  border-radius: 20px;
  background: #111;
  border: 1px solid var(--line);
  overflow: hidden;
}
.film__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film__poster--empty { background: linear-gradient(160deg, #1a220c, #0a0a0a); }
.overview { color: #d8ddcf; line-height: 1.7; max-width: 62ch; }
.muted { color: var(--muted); }
.slogan { font-style: italic; color: var(--lime); margin: 0.35rem 0; }

.meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.9rem 0 1rem; }
.kp-ticket {
  display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap;
  background: linear-gradient(180deg, #1a160e, #120f0a);
  border: 1px dashed rgba(231, 195, 122, 0.45);
  color: var(--gold);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
}
.kp-ticket__label {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.kp-ticket strong { font-family: var(--display); font-size: 1.35rem; }
.kp-ticket em { font-style: normal; font-size: 0.72rem; opacity: 0.7; }
.kp-ticket--imdb { border-color: rgba(245, 197, 24, 0.35); color: #f5c518; }
.kp-ticket--you {
  background: linear-gradient(180deg, #161c0a, #0d1206);
  border: 1px solid rgba(200, 245, 58, 0.45);
  color: var(--lime);
}
a.kp-ticket { cursor: pointer; text-decoration: none; }
a.kp-ticket:hover {
  color: var(--gold);
  border-color: rgba(231, 195, 122, 0.8);
  background: linear-gradient(180deg, #221c12, #16120c);
}

.film__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.chart-box {
  width: 100%;
  max-width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.chart-box canvas { display: block; width: 100% !important; height: 100% !important; }

.score-orb {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  text-align: center;
  color: var(--lime);
  line-height: 1;
  margin: 0.1rem 0 0.6rem;
}
.panel--friend-score {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.friend-score {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.4rem 0 1.2rem;
}
.friend-score__title {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.05;
  margin: 0 0 0.35em;
  width: 100%;
}
.friend-score .score-orb {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 5.2rem);
}
.friend-score .rz-live {
  width: 100%;
  text-align: left;
  margin: 1.3rem 0 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.friend-score__back {
  margin: 0;
  text-align: left;
  align-self: flex-start;
  color: var(--muted);
  font-size: 0.84rem;
}
input[type="range"] { width: 100%; accent-color: var(--lime); margin: 0.3rem 0 0.8rem; }
.hint { color: var(--muted); font-size: 0.84rem; margin: 0.65rem 0 0; }
.field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
.field-input,
select, textarea,
input[type="date"], input[type="email"], input[type="password"],
input[type="text"], input[type="search"], input[type="number"] {
  background: #080808;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  min-width: 0;
}
.stack { display: grid; gap: 0.85rem; }
.form-errors, .field small { color: #f0a8a8; }
.chart-placeholder { min-height: 180px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: var(--lime);
  font-size: 0.8rem;
}

.rz-live { margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.rz-live__title { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.6rem; }
.rz-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
}
.rz-meter b { color: var(--lime); font-family: var(--display); }
.rz-meter b em { color: var(--muted); font-style: normal; font-size: 0.72rem; font-family: var(--sans); font-weight: 500; }
.rz-meter__track {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 99px;
  background: #3a3a3a;
  overflow: hidden;
}
.rz-meter__track i {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: 99px;
  max-width: 100%;
}

.point-editors { margin-top: 0.9rem; }
.point-editor {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a0a0a;
}
.point-editor[hidden] { display: none; }
.point-editor__label { margin: 0; color: var(--lime); font-size: 0.82rem; letter-spacing: 0.04em; }
.point-edit { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.6rem; align-items: end; }

.similar { margin-bottom: 1rem; }
.similar-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.similar-rail a { color: inherit; }
.similar-poster {
  display: block; aspect-ratio: 2/3; border-radius: 12px;
  background: #151515; margin-bottom: 0.4rem; overflow: hidden;
}
.similar-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.similar-rail strong { display: block; font-size: 0.85rem; }
.similar-rail em { color: var(--lime); font-style: normal; font-family: var(--display); }

.rz { margin: 0 0 1rem; }
.rz summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.rz summary span { color: var(--muted); font-size: 0.88rem; }
.rz-form { margin-top: 1.1rem; display: grid; gap: 0.8rem; }
.rz-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 0.8rem; align-items: center; color: var(--muted); }
.rz-row--slider { grid-template-columns: 1fr auto; }
.rz-row--slider input[type="range"] { grid-column: 1 / -1; margin: 0; }
.rz-row__val { color: var(--lime); font-family: var(--display); }

.friends-board { margin-top: 0.4rem; }
.friend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.8rem; }
.friend-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.8rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}
.friend-card .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.4rem; }
.friend-card p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.friend-card__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--display); font-weight: 800;
}
.friend-card__score { font-family: var(--display); font-size: 2rem; color: var(--lime); }

.auth-card { max-width: 440px; margin: 2.4rem auto 4rem; padding: 1.5rem; }
.auth-card--wide { max-width: 560px; }
.flash-wrap { padding: 0.8rem 0 0; }
.flash {
  background: rgba(200, 245, 58, 0.08);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 1rem;
}
.hair { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }

.profile-hero { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: 1.4rem; }
.profile-hero .lede { margin: 0; }
.profile-hero__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.shelf-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.shelf-chip {
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.32rem 0.7rem; font-size: 0.84rem;
}
.shelf-chip em { font-style: normal; opacity: 0.6; margin-left: 0.25rem; }
.shelf-chip.is-on, .shelf-chip:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }

.score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem 0.7rem;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  min-width: 0;
}
.score-row:hover { border-color: rgba(200, 245, 58, 0.35); }
.score-row__link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
}
.score-inline {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  width: auto;
}
.score-row > .score-list__num {
  flex: 0 0 auto;
  margin-left: auto;
}
.score-list__poster { width: 44px; height: 62px; border-radius: 8px; background: #151515 center/cover no-repeat; flex-shrink: 0; }
.score-list__body { min-width: 0; }
.score-list__body strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
}
.score-list__body em { color: var(--muted); font-style: normal; font-size: 0.78rem; }
.score-list__num {
  font-family: var(--display);
  font-size: clamp(1.85rem, 2.2vw, 2.35rem);
  font-weight: 750;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 3.6em;
  min-width: 3.6em;
  text-align: right;
}
button.score-list__num { cursor: text; }
button.score-list__num:hover { color: #e8ff8a; }
.score-inline__input,
input[type="text"].score-list__num.score-inline__input {
  display: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--lime);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0.08em 0.06em;
  caret-color: var(--lime);
  outline: none;
  font-family: var(--display);
  font-size: clamp(1.85rem, 2.2vw, 2.35rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
  width: 3.15em;
  min-width: 3.15em;
  box-sizing: content-box;
}
.score-inline.is-editing .js-score-edit { display: none; }
.score-inline.is-editing input[type="text"].score-list__num.score-inline__input,
.score-inline.is-editing .score-inline__input { display: block; }

.search-wide { display: flex; gap: 0.6rem; padding: 0.75rem; margin-bottom: 1.3rem; }
.search-wide .field-input { flex: 1; }
.people-list { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.people-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1rem; }
.row-actions { display: flex; gap: 0.4rem; }
.subhead { margin: 1.8rem 0 0.7rem; }
code { color: var(--lime); }

.manual-page { padding: 2rem 0 4.5rem; }
.manual-page .lede { max-width: 52ch; margin-bottom: 1.8rem; }
.manual-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.manual-preview__art {
  aspect-ratio: 2/3;
  border-radius: 20px;
  background: linear-gradient(160deg, #1a220c, #0a0a0a);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.manual-preview__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manual-preview__art.is-empty { color: var(--muted); font-size: 0.9rem; text-align: center; padding: 1rem; }
.manual-fields { display: grid; gap: 0.95rem; }
.manual-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: end;
}
.manual-meta-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: end;
}
.field--grow, .field--slim, .field--year { min-width: 0; }
.field em { font-style: normal; color: #6f7368; font-size: 0.75rem; }
.field-input--sm { padding: 0.55rem 0.7rem; }
.manual-score {
  padding: 1rem 1.1rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a0a0a;
}

.site-foot {
  margin-top: auto;
  padding: 2.8rem 0 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-foot__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .score-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__row { flex-wrap: wrap; }
  .nav-mid { width: 100%; order: 3; }
  .nav-end { width: 100%; margin: 0; }
  .nav-search { flex: 1; }
  .nav-search input { width: 100%; }
  .hero__grid, .film__layout, .film__grid, .rz-row, .manual-layout, .manual-title-row, .manual-meta-row, .point-edit { grid-template-columns: 1fr; }
  .score-list { grid-template-columns: 1fr; }
  .score-row__link { flex: 1 1 auto; }
  .hero__art { min-height: 320px; }
  .still-stack { right: 10px; bottom: 8%; }
  .still:first-child { margin-left: 0; }
  .still { width: 86px; height: 124px; margin-left: -20px; }
  .still:nth-child(n+4) { display: none; }
  .film__poster { max-width: 240px; }
  .account__name { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  .btn-row .btn { width: 100%; }
  .friend-card { grid-template-columns: auto 1fr; }
  .friend-card__score { grid-column: 2; justify-self: start; }
  .still-stack { right: 8px; }
  .still { width: 72px; height: 104px; margin-left: -16px; }
  .still:first-child { margin-left: 0; }
}
