@font-face {
  font-family:Golos;
  src:url('/assets/golos-text_regular.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}
@font-face {
  font-family:Golos;
  src:url('/assets/golos-text_demibold.ttf') format('truetype');
  font-weight:600 800;
  font-display:swap
}
:root {
  color-scheme:dark;
  --screen:#10100e;
  --surface:#1b1b17;
  --raised:#25251f;
  --ink:#f5f1e8;
  --muted:#aaa79c;
  --line:#35352e;
  --accent:#ffba68;
  --radius:16px;
  font-family:Golos,system-ui,sans-serif;
  background:var(--screen);
  color:var(--ink)
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input {
  font:inherit
}
button,a,input {
  -webkit-tap-highlight-color:transparent
}
a {
  color:inherit;
  text-decoration:none
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.5;
  cursor:wait
}
a,button {
  touch-action:manipulation
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px
}
button,input {
  color:inherit
}
button {
  border:0
}
img {
  max-width:100%
}
[hidden] {
  display:none!important
}
.icon {
  width:22px;
  height:22px;
  flex-shrink:0;
  display:inline-block;
  vertical-align:middle
}
.muted {
  color:var(--muted)
}
.fine {
  font-size:13px;
  line-height:1.6
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
.skip {
  position:fixed;
  left:20px;
  top:-80px;
  z-index:20;
  background:var(--accent);
  color:var(--screen);
  padding:12px
}
.skip:focus {
  top:10px
}
#header {
  height:88px;
  max-width:1328px;
  margin:auto;
  padding:0 32px;
  display:flex;
  align-items:center;
  gap:48px;
  border-bottom:1px solid var(--line)
}
.brand {
  font-size:26px;
  font-weight:700;
  letter-spacing:-1.1px;
  display:flex;
  align-items:center;
  gap:10px
}
.brand .icon {
  color:var(--accent);
  width:30px;
  height:30px
}
#header nav {
  display:flex;
  gap:6px;
  flex:1
}
#header nav a {
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:10px 16px;
  border-radius:12px;
  color:var(--muted);
  font-size:14px
}
#header nav a[aria-current] {
  color:var(--accent);
  background:#ffba6810
}
#header nav a:hover {
  color:var(--ink)
}
.profile {
  max-width:210px;
  overflow-wrap:anywhere
}
main {
  max-width:1328px;
  margin:0 auto;
  min-height:65vh;
  padding:48px 32px 72px
}
main:focus {
  outline:none
}
h1,h2,h3,p {
  margin:0
}
h1 {
  font-size:clamp(36px,4.6vw,62px);
  font-weight:600;
  letter-spacing:-2px;
  line-height:1.06;
  white-space:pre-line;
  text-wrap:balance
}
h2 {
  font-size:24px;
  font-weight:600;
  letter-spacing:-.6px;
  line-height:1.2
}
h3 {
  font-size:15px;
  font-weight:600;
  line-height:1.35
}
p {
  line-height:1.65
}
.page-heading {
  margin-bottom:32px;
  max-width:850px
}
.page-heading p {
  margin-top:18px;
  font-size:17px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  border-radius:12px;
  padding:12px 20px;
  background:var(--accent);
  color:#19130b;
  font-weight:600;
  font-size:14px;
  line-height:1.35;
  text-align:center
}
.button:hover {
  filter:brightness(1.08)
}
.button.secondary {
  background:var(--raised);
  color:var(--ink);
  box-shadow:inset 0 0 0 1px var(--line)
}
.button.quiet {
  background:none;
  color:var(--muted)
}
.button.danger {
  background:#a13131;
  color:white
}
.actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:24px 0
}
.icon-button {
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--raised);
  color:var(--ink);
  flex-shrink:0
}
.back {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  min-height:44px;
  margin-bottom:24px;
  font-size:14px
}
.search {
  display:flex;
  align-items:center;
  padding:6px 6px 6px 18px;
  gap:14px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:16px;
  max-width:780px
}
.search>.icon {
  color:var(--muted)
}
.search input {
  background:none;
  border:0;
  min-width:0;
  flex:1;
  padding:12px 0;
  outline:0;
  font-size:16px
}
.search:focus-within {
  border-color:var(--accent)
}
.search input::placeholder {
  color:var(--muted)
}
.chips {
  display:flex;
  gap:8px;
  margin:24px 0 40px;
  overflow:auto;
  padding:4px 2px
}
.chip {
  padding:10px 19px;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:24px;
  color:var(--muted);
  font-size:14px;
  white-space:nowrap
}
.chip[aria-current] {
  background:var(--ink);
  border-color:var(--ink);
  color:var(--screen)
}
.chip:hover {
  border-color:var(--muted)
}
.grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:28px 20px
}
.grid>.empty {
  grid-column:1/-1
}
.card {
  position:relative;
  min-width:0
}
.poster {
  position:relative;
  aspect-ratio:2/3;
  border-radius:14px;
  overflow:hidden;
  background:var(--raised);
  display:grid;
  place-items:center;
  isolation:isolate
}
.poster>.icon {
  width:44px;
  height:44px;
  color:#69695e
}
.poster img,.detail-poster img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover
}
.card-link {
  display:block
}
.card-link h3 {
  margin:13px 3px 5px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}
.card-link p {
  font-size:12px;
  margin:0 3px
}
.card-link:hover .poster {
  box-shadow:0 0 0 2px var(--accent)
}
.rating {
  position:absolute;
  bottom:10px;
  left:10px;
  border-radius:7px;
  background:#10100ee8;
  color:var(--ink);
  font-size:11px;
  font-weight:600;
  padding:6px 8px;
  z-index:1
}
.save-button {
  position:absolute;
  top:8px;
  right:8px;
  background:#10100ee0;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--ink);
  box-shadow:0 2px 12px #0004
}
.save-button:hover {
  background:var(--accent);
  color:var(--screen)
}
.save-button .icon {
  width:19px;
  height:19px
}
.catalog-row {
  margin:0 0 40px
}
.catalog-row h2 {
  margin-bottom:22px
}
.horizontal {
  display:grid;
  grid-auto-columns:calc((100% - 100px)/6);
  grid-auto-flow:column;
  grid-template-columns:none;
  overflow-x:auto;
  padding:3px 2px 16px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  scrollbar-color:var(--line) transparent
}
.horizontal>.card {
  scroll-snap-align:start
}
.load-more {
  display:flex;
  margin:32px auto
}
.grid~.load-more {
  margin-top:32px
}
.skeleton .poster {
  background:linear-gradient(100deg,var(--surface) 20%,var(--raised) 40%,var(--surface) 65%);
  background-size:300% 100%;
  animation:loading 1.8s ease infinite
}
@keyframes loading {
  to {
    background-position:100% 0
  }
}
.title-hero {
  display:grid;
  grid-template-columns:280px 1fr;
  gap:56px;
  align-items:center;
  margin-bottom:48px
}
.detail-poster {
  position:relative;
  aspect-ratio:2/3;
  background:var(--surface);
  border-radius:20px;
  overflow:hidden;
  display:grid;
  place-items:center
}
.detail-poster>.icon {
  width:64px;
  height:64px;
  color:var(--muted)
}
.title-copy h1 {
  font-size:clamp(36px,4.2vw,56px);
  margin:12px 0
}
.eyebrow {
  font-size:13px;
  color:var(--accent);
  font-weight:600
}
.ratings {
  display:flex;
  gap:12px;
  margin:20px 0
}
.ratings span {
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:8px;
  padding:9px 12px;
  font-size:14px
}
.detail-body {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:64px;
  border-top:1px solid var(--line);
  padding-top:32px
}
.detail-body h2 {
  margin-bottom:20px
}
.detail-body p {
  line-height:1.8
}
.watch {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px
}
.watch h2 {
  margin-bottom:8px
}
.provider {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  padding:15px 18px;
  display:flex;
  width:100%;
  justify-content:space-between;
  gap:12px
}
.sources {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:40px;
  color:var(--muted);
  font-size:12px
}
.source-link {
  display:inline-flex;
  gap:4px;
  align-items:center
}
.source-link .icon {
  width:14px;
  height:14px
}
.list-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:32px
}
.list-card {
  padding:20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:20px;
  min-width:0
}
.list-card:hover {
  border-color:var(--accent)
}
.list-card h2 {
  font-size:21px;
  margin:20px 0 8px;
  overflow-wrap:anywhere
}
.list-card p {
  font-size:13px
}
.montage {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:180px;
  overflow:hidden;
  background:var(--raised);
  border-radius:12px;
  padding:16px
}
.montage>.poster {
  height:100%;
  border-radius:6px;
  max-width:33%
}
.montage>.icon {
  width:48px;
  height:48px;
  color:var(--muted)
}
.list-choices {
  display:flex;
  flex-direction:column;
  gap:8px
}
.list-choice {
  display:flex;
  gap:14px;
  align-items:center;
  padding:16px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  cursor:pointer;
  overflow-wrap:anywhere
}
.list-choice input {
  width:20px;
  height:20px;
  accent-color:var(--accent);
  flex-shrink:0
}
.list-choices>.button {
  margin-top:12px
}
.empty {
  text-align:center;
  max-width:570px;
  margin:48px auto;
  padding:28px 16px
}
.empty>.icon {
  width:42px;
  height:42px;
  color:var(--muted);
  margin-bottom:24px
}
.empty h2 {
  font-size:26px;
  margin-bottom:12px
}
.empty p {
  font-size:15px;
  margin-bottom:24px
}
.offer-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-bottom:48px
}
.offer {
  padding:28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface);
  display:flex;
  flex-direction:column;
  gap:16px
}
.offer h2 {
  font-size:32px
}
.offer .button {
  margin-top:auto
}
.offer p {
  font-size:14px
}
.service-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:24px 0
}
.service {
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  min-height:76px;
  font-weight:600
}
.service>.icon {
  margin-left:auto;
  width:18px
}
.service img {
  width:36px;
  height:36px;
  object-fit:contain;
  border-radius:8px
}
.service:hover {
  border-color:var(--accent)
}
.prose {
  max-width:760px
}
.prose h2 {
  margin:32px 0 12px
}
.prose p {
  margin-bottom:20px;
  color:var(--muted)
}
.modal {
  padding:0;
  border:1px solid #4c4b40;
  background:var(--surface);
  color:var(--ink);
  border-radius:24px;
  width:min(480px,calc(100vw - 32px));
  max-height:calc(100dvh - 40px);
  box-shadow:0 24px 100px #0008
}
.modal::backdrop {
  background:#000a;
  backdrop-filter:blur(5px)
}
.modal-body {
  padding:24px
}
.modal-top {
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:24px
}
.modal-top h2 {
  font-size:25px;
  overflow-wrap:anywhere
}
.modal-body>p {
  margin-bottom:22px
}
.modal-body>.button {
  margin:6px 8px 0 0
}
.modal form {
  display:flex;
  flex-direction:column;
  gap:16px
}
.field {
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  color:var(--muted)
}
.field input {
  width:100%;
  min-width:0;
  background:var(--screen);
  border:1px solid var(--line);
  border-radius:10px;
  padding:14px;
  color:var(--ink);
  font-size:16px
}
.field input:read-only {
  font-size:13px
}
.error {
  font-size:14px;
  color:#ffa79c
}
.error:empty {
  display:none
}
.auth-tabs {
  display:flex;
  gap:8px;
  margin-bottom:24px
}
.auth-tabs>.button {
  flex:1
}
.modal .fine {
  margin-top:6px
}
.modal .field+.button {
  margin-top:12px
}
#toast {
  position:fixed;
  z-index:100;
  bottom:32px;
  left:50%;
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  transition:opacity .16s,transform .16s;
  background:var(--ink);
  color:var(--screen);
  font-size:14px;
  line-height:1.5;
  padding:14px 20px;
  border-radius:14px;
  max-width:calc(100vw - 32px);
  width:max-content;
  box-shadow:0 8px 40px #0008
}
#toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
#footer {
  max-width:1264px;
  margin:auto;
  padding:28px 0 44px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:24px;
  font-size:12px;
  color:var(--muted)
}
#footer strong {
  font-size:16px;
  color:var(--ink)
}
#footer a {
  margin-left:auto
}
#footer a:hover {
  color:var(--accent)
}
@media(min-width:1400px) {
  main {
    padding-top:64px
  }
  .page-heading {
    margin-bottom:36px
  }
  .catalog-row {
    margin-bottom:52px
  }
}
@media(max-width:1000px) {
  #header {
    gap:24px;
    padding:0 24px
  }
  #header nav a {
    padding:10px;
    font-size:13px
  }
  main {
    padding:36px 24px 56px
  }
  .grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px 16px
  }
  .horizontal {
    grid-template-columns:none;
    grid-auto-columns:calc((100% - 48px)/4)
  }
  .service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .offer-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  #footer {
    margin:0 24px
  }
  .title-hero {
    grid-template-columns:220px 1fr;
    gap:32px
  }
  .detail-body {
    gap:32px
  }
  .list-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:700px) {
  #header {
    height:76px;
    padding:env(safe-area-inset-top,0px) 20px 0;
    gap:10px
  }
  .brand {
    font-size:24px;
    flex:1
  }
  .profile {
    font-size:13px;
    padding:10px 13px;
    max-width:150px
  }
  #header nav {
    position:fixed;
    z-index:5;
    left:12px;
    right:12px;
    bottom:max(12px,env(safe-area-inset-bottom));
    height:68px;
    background:#25251ff5;
    backdrop-filter:blur(20px);
    border:1px solid #4b4b3e;
    box-shadow:0 8px 30px #0006;
    border-radius:22px;
    display:flex;
    padding:5px;
    gap:2px
  }
  #header nav a {
    flex:1;
    flex-direction:column;
    justify-content:center;
    padding:7px 3px;
    gap:4px;
    font-size:10px;
    border-radius:16px;
    min-width:0
  }
  #header nav a .icon {
    width:23px;
    height:23px
  }
  #header nav a[aria-current] {
    background:#ffba6818
  }
  main {
    padding:32px 20px 40px
  }
  h1 {
    font-size:38px;
    letter-spacing:-1.3px
  }
  .page-heading p {
    font-size:14px;
    line-height:1.6;
    margin-top:16px
  }
  .page-heading {
    margin-bottom:24px
  }
  .search {
    gap:10px;
    padding-left:12px
  }
  .search input {
    font-size:14px
  }
  .search .button {
    font-size:13px;
    padding:10px 14px;
    min-height:42px
  }
  .chips {
    margin:18px 0 28px;
    gap:7px
  }
  .chip {
    font-size:13px;
    padding:10px 17px
  }
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 16px
  }
  .horizontal {
    grid-template-columns:none;
    grid-auto-columns:44%;
    gap:14px;
    margin-right:-20px;
    padding-right:20px
  }
  .catalog-row h2 {
    font-size:21px;
    max-width:300px;
    margin-bottom:18px
  }
  .catalog-row {
    margin-bottom:32px
  }
  .card-link h3 {
    font-size:14px
  }
  .card-link p {
    font-size:11px
  }
  .poster {
    border-radius:12px
  }
  .save-button {
    width:36px;
    height:36px
  }
  .title-hero {
    grid-template-columns:100px 1fr;
    gap:20px;
    align-items:start;
    margin-bottom:28px
  }
  .title-copy h1 {
    font-size:28px;
    letter-spacing:-.8px
  }
  .title-copy .back {
    margin-bottom:12px
  }
  .title-copy .eyebrow {
    font-size:11px
  }
  .title-copy>p {
    font-size:12px
  }
  .title-copy .actions {
    margin:18px 0 0;
    flex-direction:column
  }
  .title-copy .button {
    width:100%;
    font-size:12px;
    padding:12px 8px
  }
  .detail-poster {
    border-radius:12px;
    margin-top:12px
  }
  .ratings {
    gap:7px;
    flex-wrap:wrap;
    margin:14px 0
  }
  .ratings span {
    font-size:12px;
    padding:7px 9px
  }
  .detail-body {
    grid-template-columns:1fr;
    gap:32px;
    padding-top:24px
  }
  .detail-body h2 {
    font-size:22px
  }
  .detail-body p {
    font-size:15px
  }
  .list-grid {
    gap:14px
  }
  .list-card {
    padding:12px;
    border-radius:14px
  }
  .list-card h2 {
    font-size:17px;
    margin-top:14px
  }
  .montage {
    height:130px;
    padding:8px;
    gap:4px
  }
  .montage>.poster {
    max-width:48%
  }
  .montage>.poster:nth-child(3) {
    display:none
  }
  .offer-grid {
    grid-template-columns:1fr
  }
  .service-grid {
    gap:10px
  }
  .service {
    padding:14px 10px;
    font-size:12px;
    gap:8px
  }
  .service img {
    width:26px;
    height:26px
  }
  .service>.icon {
    width:14px
  }
  .modal-body {
    padding:20px
  }
  .modal-top h2 {
    font-size:22px
  }
  .empty {
    margin:24px auto;
    padding:24px 8px
  }
  .empty h2 {
    font-size:23px
  }
  .empty p {
    font-size:14px
  }
  #footer {
    margin:0 20px;
    padding:24px 0 120px;
    flex-wrap:wrap;
    gap:12px
  }
  #footer span {
    width:calc(100% - 100px);
    font-size:11px
  }
  #footer a {
    margin-left:0
  }
  #toast {
    bottom:100px
  }
  .sources {
    font-size:11px
  }
}
@media(max-width:360px) {
  .horizontal {
    margin-right:-16px;
    padding-right:16px
  }
  main {
    padding-left:16px;
    padding-right:16px
  }
  #header {
    padding-left:16px;
    padding-right:16px
  }
  .brand {
    font-size:21px;
    gap:6px
  }
  .brand .icon {
    width:24px
  }
  .profile .icon {
    display:none
  }
  .profile {
    max-width:112px
  }
  .chip {
    padding:10px 14px
  }
  .title-hero {
    grid-template-columns:80px 1fr;
    gap:14px
  }
  .service-grid,.list-grid {
    grid-template-columns:1fr
  }
  .montage {
    height:170px
  }
  .montage>.poster:nth-child(3) {
    display:grid
  }
  h1 {
    font-size:34px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
h1 {
  overflow-wrap:anywhere
}
.title-copy {
  min-width:0
}
