/* Homepage composition. Existing warm colours and glass are inherited. */
body.sc-home-edition.sc-home-refined .sc-home-intro { margin-bottom: 18px; }
body.sc-home-edition.sc-home-refined .sc-home-intro h1 { font-size: 19px; letter-spacing: -.025em; }
body.sc-home-edition.sc-home-refined .sc-hero,
body.sc-home-edition.sc-home-refined .sc-hero-slide { min-height: 460px; }
body.sc-home-edition.sc-home-refined .sc-hero { border-radius: 18px; margin-bottom: 40px; }
body.sc-home-edition.sc-home-refined .sc-hero-content { width: 65%; padding: 38px 38px 108px; }
body.sc-home-edition.sc-home-refined .is-poster .sc-hero-content { width: 59%; }
body.sc-home-edition.sc-home-refined .is-poster .sc-hero-visual { inset: 26px 30px 90px auto; width: 36%; }
body.sc-home-edition.sc-home-refined .sc-hero-title { font-size: clamp(30px,3.3vw,48px); line-height: 1.12; margin-bottom: 19px; }
body.sc-home-edition.sc-home-refined .sc-hero-genres { margin-top: 12px; }
body.sc-home-edition.sc-home-refined .sc-hero-description { line-height: 1.65; }
body.sc-home-edition.sc-home-refined .sc-hero-actions { margin-top: 24px; }
body.sc-home-edition.sc-home-refined .sc-hero-controls { left: 38px; right: 30px; bottom: 18px; gap: 12px; }
body.sc-home-edition.sc-home-refined .sc-hero-dots { min-width: 0; gap: 10px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-left: -4px; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button { position: relative; flex: 0 0 46px; width: 46px; height: 64px; border: 1px solid #ffffff30; border-radius: 6px; opacity: .6; transition: opacity .18s, border-color .18s; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: cover; border-radius: 3px; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button span { width: 18px; height: 2px; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button[aria-current="true"] { opacity: 1; border-color: #ff996e; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button:hover { opacity: 1; }
body.sc-home-edition.sc-home-refined .sc-hero-controls > button { flex: 0 0 44px; border-radius: 10px; }
body.sc-home-edition.sc-home-refined .sc-hero:not(.has-controls) .sc-hero-content { padding-bottom: 38px; }
body.sc-home-edition.sc-home-refined .sc-hero:not(.has-controls) .is-poster .sc-hero-visual { bottom: 26px; }
body.sc-home-edition.sc-home-refined .sc-discovery { margin-bottom: 32px; padding: 18px 0; }
body.sc-home-edition.sc-home-refined .sc-section,
body.sc-home-edition.sc-home-refined .sc-home-main > .sc-empty,
body.sc-home-edition.sc-home-refined .sc-season-banner { margin-bottom: 40px; }
body.sc-home-edition.sc-home-refined .sc-section-head { margin-bottom: 18px; }
body.sc-home-edition.sc-home-refined .sc-section-head > div:first-child { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
body.sc-home-edition.sc-home-refined .sc-section-head .sc-overline { order: 2; margin: 0; letter-spacing: 0; }
body.sc-home-edition.sc-home-refined .sc-section h2 { font-size: clamp(22px,2vw,27px); letter-spacing: -.025em; }
body.sc-home-edition.sc-home-refined .sc-discover-banner { padding: 22px 0; gap: 18px; margin: 0 0 40px; }
body.sc-home-edition.sc-home-refined .sc-discover-banner h2 { font-size: 21px; margin: 0 0 5px; }
body.sc-home-edition.sc-home-refined .sc-telegram { padding: 26px; border-radius: 16px; margin: 0 0 40px; }
body.sc-home-edition.sc-home-refined .sc-telegram-heading { margin-bottom: 18px; }
body.sc-home-edition.sc-home-refined .sc-telegram-heading h2 { margin: 0; font-size: 25px; }
body.sc-home-edition.sc-home-refined .sc-telegram-card { align-items: center; padding: 20px; border-radius: 12px; }
body.sc-home-edition.sc-home-refined .sc-telegram-copy strong { font-size: 18px; }
body.sc-home-edition.sc-home-refined .sc-telegram-action { margin-top: 3px; }
@media (max-width:900px) {
  body.sc-home-edition.sc-home-refined .sc-hero-content { padding-left: 28px; padding-right: 28px; }
  body.sc-home-edition.sc-home-refined .sc-hero-controls { left: 28px; right: 24px; }
  body.sc-home-edition.sc-home-refined .sc-hero-title { font-size: 34px; }
  body.sc-home-edition.sc-home-refined .sc-hero:not(.has-controls) .sc-hero-content { padding-bottom: 32px; }
}
@media (max-width:600px) {
  body.sc-home-edition.sc-home-refined .sc-home-intro { align-items: baseline; gap: 12px; }
  body.sc-home-edition.sc-home-refined .sc-home-intro h1 { font-size: 16px; }
  body.sc-home-edition.sc-home-refined .sc-home-intro a { font-size: 12px; }
  body.sc-home-edition.sc-home-refined .sc-hero,
  body.sc-home-edition.sc-home-refined .sc-hero-slide { min-height: 0; }
  body.sc-home-edition.sc-home-refined .sc-hero { border-radius: 14px; margin-bottom: 30px; }
  body.sc-home-edition.sc-home-refined .sc-hero-visual { height: 310px; }
  body.sc-home-edition.sc-home-refined .sc-hero-content { width: 100%; padding: 190px 20px 82px; }
  body.sc-home-edition.sc-home-refined .sc-hero-title { font-size: 28px; line-height: 1.15; margin-bottom: 14px; }
  body.sc-home-edition.sc-home-refined .sc-hero-meta { gap: 6px 10px; font-size: 13px; }
  body.sc-home-edition.sc-home-refined .sc-hero-description { font-size: 15px; line-height: 1.6; -webkit-line-clamp: 2; }
  body.sc-home-edition.sc-home-refined .sc-hero-actions { margin-top: 19px; gap: 8px; }
  body.sc-home-edition.sc-home-refined .sc-hero-actions .sc-button { min-height: 46px; padding: 11px 12px; }
  body.sc-home-edition.sc-home-refined .is-poster { display: grid; grid-template-columns: 100px minmax(0,1fr); column-gap: 16px; align-items: start; padding: 22px 20px 82px; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-content { display: contents; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-visual { position: relative; inset: auto; grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 100%; height: auto; aspect-ratio: 2 / 3; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-image { object-fit: cover; border-radius: 6px; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-shade { opacity: 0; pointer-events: none; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-content > * { position: relative; z-index: 2; min-width: 0; grid-column: 1 / -1; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-title { grid-column: 2; grid-row: 1; align-self: end; font-size: clamp(23px,6vw,28px); margin: 2px 0 12px; text-wrap: wrap; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-meta { grid-column: 2; grid-row: 2; align-self: start; padding-bottom: 10px; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-genres { margin-top: 18px; }
  body.sc-home-edition.sc-home-refined .is-poster .sc-hero-description { margin-top: 14px; }
  body.sc-home-edition.sc-home-refined .sc-hero:not(.has-controls) .is-poster { padding-bottom: 24px; }
  body.sc-home-edition.sc-home-refined .sc-hero-controls { left: 17px; right: 17px; bottom: 14px; gap: 8px; }
  body.sc-home-edition.sc-home-refined .sc-hero-dots { gap: 0; flex: 1 1 auto; margin-left: 0; padding: 4px 0; }
  body.sc-home-edition.sc-home-refined .sc-hero-dots button { width: auto; flex: 1 0 24px; max-width: 44px; height: 44px; border: 0; opacity: 1; }
  body.sc-home-edition.sc-home-refined .sc-hero-dots button img { display: none; }
  body.sc-home-edition.sc-home-refined .sc-hero-dots button span { width: 16px; height: 3px; }
  body.sc-home-edition.sc-home-refined .sc-hero-dots button[aria-current="true"] span { width: 21px; }
  body.sc-home-edition.sc-home-refined [data-hero-count] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.sc-home-edition.sc-home-refined .sc-discovery { margin-bottom: 28px; }
  body.sc-home-edition.sc-home-refined .sc-discovery > a { min-height: 46px; }
  body.sc-home-edition.sc-home-refined .sc-section,
  body.sc-home-edition.sc-home-refined .sc-home-main > .sc-empty,
  body.sc-home-edition.sc-home-refined .sc-season-banner { margin-bottom: 30px; }
  body.sc-home-edition.sc-home-refined .sc-section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; margin-bottom: 15px; }
  body.sc-home-edition.sc-home-refined .sc-section-head h2 { margin: 0; white-space: normal; word-break: normal; overflow-wrap: anywhere; }
  body.sc-home-edition.sc-home-refined .sc-section-head .sc-overline { overflow-wrap: anywhere; }
  body.sc-home-edition.sc-home-refined .sc-section-head .sc-more { margin-right: 0; white-space: nowrap; max-width: none; }
  body.sc-home-edition.sc-home-refined .sc-section-head .sc-more svg { flex-shrink: 0; }
  body.sc-home-edition.sc-home-refined .sc-section h2 { font-size: 22px; }
  body.sc-home-edition.sc-home-refined .sc-section-head .sc-overline { font-size: 12px; }
  body.sc-home-edition.sc-home-refined .sc-discover-banner { flex-direction: row; flex-wrap: wrap; padding: 20px 0; margin-bottom: 30px; }
  body.sc-home-edition.sc-home-refined .sc-discover-banner h2 { font-size: 20px; }
  body.sc-home-edition.sc-home-refined .sc-telegram { padding: 22px 16px; margin-bottom: 30px; }
  body.sc-home-edition.sc-home-refined .sc-telegram-heading h2 { font-size: 22px; }
  body.sc-home-edition.sc-home-refined .sc-telegram-card { padding: 16px 12px; gap: 12px; }
  body.sc-home-edition.sc-home-refined .sc-telegram-copy strong { font-size: 17px; }
}
@media (prefers-reduced-motion:reduce) {
  body.sc-home-edition.sc-home-refined .sc-hero-dots button { transition: none; }
}

/* Quiet surfaces and consistent movement, within the existing homepage layout. */
body.sc-home-edition.sc-home-refined .sc-hero-slide.is-leaving {
  position: absolute; inset: 0 0 auto; z-index: 2; width: 100%; pointer-events: none;
}
body.sc-home-edition.sc-home-refined .sc-hero-controls { z-index: 4; }
body.sc-home-edition.sc-home-refined .sc-card-art {
  box-shadow: none; border-color: #ffffff12;
  transition: border-color .22s ease, box-shadow .22s ease;
}
body.sc-home-edition.sc-home-refined .sc-card-art > img {
  transition: transform .36s cubic-bezier(.2,.7,.2,1);
}
body.sc-home-edition.sc-home-refined .sc-card-hover {
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: opacity .22s ease;
}
body.sc-home-edition.sc-home-refined .sc-button,
body.sc-home-edition.sc-home-refined .sc-shelf-tools button,
body.sc-home-edition.sc-home-refined .sc-hero-controls > button {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
body.sc-home-edition.sc-home-refined .sc-button-secondary {
  background: #ffffff0b; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
body.sc-home-edition.sc-home-refined .sc-animation-section { background: #191c1d; }
body.sc-home-edition.sc-home-refined .sc-trend-credit { color: #929197; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button { transition: opacity .24s ease, border-color .24s ease; }
body.sc-home-edition.sc-home-refined .sc-hero-dots button span { transition: width .24s ease, background-color .24s ease; }
@media (hover:hover) and (pointer:fine) {
  body.sc-home-edition.sc-home-refined .sc-card:hover .sc-card-art { border-color: #ffffff30; }
  body.sc-home-edition.sc-home-refined .sc-card:hover .sc-card-art > img { transform: scale(1.025); }
}
@media (hover:none), (pointer:coarse) {
  body.sc-home-edition.sc-home-refined .sc-button:hover,
  body.sc-home-edition.sc-home-refined .sc-card:hover .sc-card-art > img { transform: none; }
}
@media (prefers-reduced-motion:reduce) {
  body.sc-home-edition.sc-home-refined *,
  body.sc-home-edition.sc-home-refined *::before,
  body.sc-home-edition.sc-home-refined *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
