/* KinoRitm: isolated presentation for the existing cinema theme. */
body[data-theme="cinema"] {
  --bg: #0b0b10; --bg-elevated: #111116; --surface: #17171f; --surface2: #22222c;
  --border: #35353f; --border-soft: #292932; --text: #f7f5f7; --muted: #a3a1ad;
  --radius: 16px; --radius-sm: 10px; --shadow: none; --shadow-soft: none;
  --content-gutter: clamp(18px,3vw,48px); background: var(--bg); color: var(--text);
}
body[data-theme="cinema"] a:hover { color: #fff; }
body[data-theme="cinema"] .wrap { max-width: 1504px; }
body[data-theme="cinema"] .site-header { background: rgba(11,11,16,.98); border-bottom: 1px solid #ffffff0a; box-shadow: none; }
body[data-theme="cinema"] .header-shell { padding-top: 0; padding-bottom: 0; }
body[data-theme="cinema"] .header-row { min-height: 76px; gap: 38px; }
body[data-theme="cinema"] .brand { flex: 0 0 auto; min-width: 0; gap: 10px; }
body[data-theme="cinema"] .brand-main { font-size: 24px; letter-spacing: -.9px; font-weight: 800; }
body[data-theme="cinema"] .brand-sub { display: none; }
body[data-theme="cinema"] .cinema-brand-mark { width: 36px; height: 40px; color: var(--accent); display: grid; place-items: center; }
body[data-theme="cinema"] .cinema-brand-mark svg { width: 36px; height: 36px; }
body[data-theme="cinema"] .cinema-main-nav { display: flex; gap: 28px; align-items: center; flex: 1; }
body[data-theme="cinema"] .cinema-main-nav a { color: #aaa7b1; font-size: 14px; font-weight: 700; padding: 24px 0; white-space: nowrap; border-bottom: 2px solid transparent; }
body[data-theme="cinema"] .cinema-main-nav a:hover,body[data-theme="cinema"] .cinema-main-nav a[aria-current] { color: #fff; border-bottom-color: var(--accent); }
body[data-theme="cinema"] .search-form { width: 292px; max-width: 320px; flex: 0 1 292px; gap: 0; border-radius: 10px; background: #202027; border: 1px solid transparent; }
body[data-theme="cinema"] .search-form:focus-within { border-color: var(--accent); }
body[data-theme="cinema"] .search-form input { background: transparent; border: 0; box-shadow: none; font-size: 13px; min-height: 42px; padding: 10px 12px; min-width: 0; }
body[data-theme="cinema"] .search-submit { background: transparent; box-shadow: none; color: #e8e6ef; border: 0; min-height: 42px; padding: 8px 12px; font-size: 12px; }
body[data-theme="cinema"] .nav-cats { display: none; }
body[data-theme="cinema"] .main-content { padding: 16px var(--wrap-pad) 28px; }
body[data-theme="cinema"] .mirror-bar { font-size: 12px; color: var(--muted); }
body[data-theme="cinema"] .btn { border-radius: 10px; box-shadow: none; letter-spacing: 0; font-weight: 750; }
body[data-theme="cinema"] .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent,#fff); }
body[data-theme="cinema"] .btn.primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
body[data-theme="cinema"] .cinema-secondary { background: #ffffff12; border: 1px solid #ffffff1e; color: #fff; gap: 14px; }
body[data-theme="cinema"] .cinema-secondary:hover { background: #ffffff20; border-color: #ffffff40; }
body[data-theme="cinema"] :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

body[data-theme="cinema"] .cinema-feature { position: relative; overflow: hidden; min-height: 400px; isolation: isolate; border-radius: 20px; background: #151c26; display: flex; align-items: center; }
body[data-theme="cinema"] .cinema-feature-art,body[data-theme="cinema"] .cinema-feature-shade { position: absolute; inset: 0; z-index: -1; }
body[data-theme="cinema"] .cinema-feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
body[data-theme="cinema"] .cinema-feature-shade { background: linear-gradient(90deg,rgba(7,10,18,.95),rgba(7,10,18,.72) 30%,transparent 70%),linear-gradient(0deg,#0b0d15a6,transparent 40%); }
body[data-theme="cinema"] .cinema-feature-copy { padding: 32px 44px 42px; max-width: 630px; }
body[data-theme="cinema"] .cinema-eyebrow { display: flex; align-items: center; gap: 9px; color: #d1cdd7; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 16px; }
body[data-theme="cinema"] .cinema-eyebrow>span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
body[data-theme="cinema"] .cinema-feature h1 { font-size: clamp(36px,4.1vw,56px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; max-width: 570px; }
body[data-theme="cinema"] .cinema-feature-description { margin: 18px 0 22px; max-width: 430px; color: #d0cdd4; font-size: 15px; line-height: 1.7; }
body[data-theme="cinema"] .cinema-feature-actions { display: flex; gap: 12px; flex-wrap: wrap; }
body[data-theme="cinema"] .cinema-feature-actions .btn { min-height: 48px; padding: 12px 21px; font-size: 13px; }
body[data-theme="cinema"] .cinema-watch { gap: 8px; }
body[data-theme="cinema"] .cinema-watch svg { width: 19px; height: 19px; }
body[data-theme="cinema"] .cinema-feature-note { position: absolute; right: 34px; bottom: 30px; display: flex; flex-direction: column; gap: 5px; color: #f0edf3; font-size: 12px; }
body[data-theme="cinema"] .cinema-feature-note>span { color: #ccc7d0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
body[data-theme="cinema"] .cinema-feature-note strong>span { margin-left: 10px; }
body[data-theme="cinema"] .cinema-moods { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 22px 0 2px; }
body[data-theme="cinema"] .cinema-moods::-webkit-scrollbar { display: none; }
body[data-theme="cinema"] .cinema-moods a { background: #1c1c25; color: #e8e5ec; border: 1px solid #ffffff07; padding: 13px 18px; min-height: 48px; border-radius: 10px; white-space: nowrap; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1; }
body[data-theme="cinema"] .cinema-moods a:hover { background: #292935; }
body[data-theme="cinema"] .cinema-moods a>span { color: var(--accent); font-size: 20px; line-height: 1; }
body[data-theme="cinema"] .cinema-section { margin-top: 32px; }
body[data-theme="cinema"] .cinema-section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 19px; }
body[data-theme="cinema"] .cinema-section-title { color: #f7f5f7; display: inline-flex; gap: 12px; align-items: center; }
body[data-theme="cinema"] .cinema-section-title h2 { font-size: 25px; font-weight: 800; letter-spacing: -.035em; }
body[data-theme="cinema"] .cinema-section-title>span { font-size: 31px; color: #a5a0ad; line-height: 1; }
body[data-theme="cinema"] .cinema-section-head p { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
body[data-theme="cinema"] .cinema-shelf-controls { display: flex; gap: 8px; }
body[data-theme="cinema"] .cinema-shelf-controls button { width: 38px; height: 38px; border: 1px solid #ffffff18; border-radius: 50%; background: #1c1c25; color: #fff; cursor: pointer; font: 27px/1 var(--font); }
body[data-theme="cinema"] .cinema-shelf-controls button:disabled { opacity: .3; cursor: default; }
body[data-theme="cinema"] .cinema-shelf-controls button[hidden] { display: none; }
body[data-theme="cinema"] .cinema-shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 100px)/6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 5px 0 12px; }
body[data-theme="cinema"] .cinema-shelf::-webkit-scrollbar { display: none; }
body[data-theme="cinema"] .card { border: 0; border-radius: 0; box-shadow: none; background: transparent; min-width: 0; scroll-snap-align: start; overflow: visible; }
body[data-theme="cinema"] .card:hover { transform: none; box-shadow: none; }
body[data-theme="cinema"] .card-link { color: #e9e6ee; }
body[data-theme="cinema"] .card-poster { border-radius: 12px; overflow: hidden; background: #252531; transition: transform .2s ease; }
body[data-theme="cinema"] .card:hover .card-poster { transform: translateY(-4px); }
body[data-theme="cinema"] .card-poster img { transform: none; }
body[data-theme="cinema"] .card-body { padding: 12px 0 0; }
body[data-theme="cinema"] .card-title { font-size: 13px; font-weight: 650; line-height: 1.4; }
body[data-theme="cinema"] .card-year { background: #0b0b10bd; color: #fff; border: 1px solid #ffffff22; backdrop-filter: blur(8px); font-size: 10px; border-radius: 5px; }
body[data-theme="cinema"] .grid { gap: 26px 20px; }
body[data-theme="cinema"] .cinema-collections { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
body[data-theme="cinema"] .cinema-collection { min-height: 260px; border-radius: 16px; position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: end; color: #fff; background: #292237; }
body[data-theme="cinema"] .cinema-collection:nth-child(3n+2) { background: #242f35; }
body[data-theme="cinema"] .cinema-collection:nth-child(3n) { background: #393028; }
body[data-theme="cinema"] .cinema-collection-art { position: absolute; display: flex; gap: 8px; top: -25px; right: -8px; width: 75%; transform: rotate(12deg); opacity: .55; z-index: -2; }
body[data-theme="cinema"] .cinema-collection-art img { width: 42%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
body[data-theme="cinema"] .cinema-collection:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#151219 5%,#151219bf 38%,#1512190d); }
body[data-theme="cinema"] .cinema-collection-copy { padding: 24px; }
body[data-theme="cinema"] .cinema-collection-copy>span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #c7c0cd; }
body[data-theme="cinema"] .cinema-collection h3 { font-size: 20px; margin: 10px 0 16px; max-width: 290px; line-height: 1.25; letter-spacing: -.02em; }
body[data-theme="cinema"] .cinema-collection b { font-size: 11px; font-weight: 600; color: #dad3e2; }
body[data-theme="cinema"] .cinema-collection b>span { margin-left: 12px; color: var(--accent); }
body[data-theme="cinema"] .cinema-collection:hover .cinema-collection-art { opacity: .75; }
body[data-theme="cinema"] .cinema-discover { display: flex; align-items: center; gap: 34px; margin: 52px 0 16px; border: 1px solid #ffffff0c; border-radius: 18px; padding: 36px; background: #17151d; }
body[data-theme="cinema"] .cinema-discover-symbol { font-size: 110px; line-height: 1; font-weight: 800; letter-spacing: -.1em; color: var(--accent); opacity: .85; }
body[data-theme="cinema"] .cinema-discover>div:nth-child(2) { flex: 1; }
body[data-theme="cinema"] .cinema-discover h2 { font-size: 28px; line-height: 1.15; }
body[data-theme="cinema"] .cinema-discover .cinema-eyebrow { margin-bottom: 12px; font-size: 10px; }
body[data-theme="cinema"] .cinema-discover p:last-child { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 470px; }
body[data-theme="cinema"] .cinema-discover>.btn { flex-shrink: 0; font-size: 12px; min-height: 48px; }
body[data-theme="cinema"] .site-footer { background: #0b0b10; border-top: 1px solid #ffffff10; padding-top: 38px; }
body[data-theme="cinema"] .footer-logo { font-size: 22px; font-weight: 800; }
body[data-theme="cinema"] .footer-nav a { color: #aaa5b3; }
body[data-theme="cinema"] .footer-copy,body[data-theme="cinema"] .footer-tagline { color: #85808e; }
body[data-theme="cinema"] .page-head { background: transparent; border: 0; padding-left: 0; }
body[data-theme="cinema"] .movie-head h1 { font-weight: 800; }

@media(min-width:1600px) { body[data-theme="cinema"] .cinema-feature { min-height: 470px; } }
@media(max-width:1100px) {
  body[data-theme="cinema"] .header-row { gap: 20px; flex-wrap: wrap; }
  body[data-theme="cinema"] .cinema-main-nav { gap: 20px; }
  body[data-theme="cinema"] .search-form { flex-basis: 230px; }
  body[data-theme="cinema"] .cinema-feature-copy { padding: 42px; max-width: 60%; }
  body[data-theme="cinema"] .cinema-feature { min-height: 400px; }
  body[data-theme="cinema"] .cinema-feature-note { max-width: 210px; }
  body[data-theme="cinema"] .cinema-shelf { grid-auto-columns: calc((100% - 64px)/5); gap: 16px; }
}
@media(max-width:850px) {
  body[data-theme="cinema"] .header-row { padding: 16px 0 0; gap: 10px 24px; }
  body[data-theme="cinema"] .brand { flex: 1; }
  body[data-theme="cinema"] .brand-main { font-size: 22px; }
  body[data-theme="cinema"] .cinema-main-nav { order: 3; flex: 0 0 100%; gap: 28px; overflow-x: auto; scrollbar-width: none; }
  body[data-theme="cinema"] .cinema-main-nav a { padding: 13px 0 14px; font-size: 13px; }
  body[data-theme="cinema"] .cinema-feature-copy { max-width: 75%; padding: 35px 30px 50px; }
  body[data-theme="cinema"] .cinema-feature-note { display: none; }
  body[data-theme="cinema"] .cinema-collections { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-theme="cinema"] .cinema-shelf { grid-auto-columns: calc((100% - 48px)/4); }
  body[data-theme="cinema"] .cinema-discover { flex-wrap: wrap; padding: 28px; gap: 24px; }
  body[data-theme="cinema"] .cinema-discover-symbol { font-size: 80px; }
  body[data-theme="cinema"] .cinema-discover>.btn { margin-left: auto; }
}
@media(max-width:600px) {
  body[data-theme="cinema"] .header-row { gap: 6px 12px; flex-direction: row; align-items: center; }
  body[data-theme="cinema"] .brand { flex: 0 0 auto; gap: 5px; }
  body[data-theme="cinema"] .brand-main { font-size: 20px; letter-spacing: -.7px; }
  body[data-theme="cinema"] .cinema-brand-mark,body[data-theme="cinema"] .cinema-brand-mark svg { width: 28px; height: 32px; }
  body[data-theme="cinema"] .search-form { width: auto; flex: 1 1 110px; max-width: none; }
  body[data-theme="cinema"] .search-form input { font-size: 11px; padding-left: 9px; width: 100%; }
  body[data-theme="cinema"] .search-submit { padding: 8px; font-size: 11px; }
  body[data-theme="cinema"] .cinema-main-nav { justify-content: space-between; gap: 20px; }
  body[data-theme="cinema"] .main-content { padding-top: 14px; }
  body[data-theme="cinema"] .cinema-feature { min-height: 500px; border-radius: 15px; align-items: end; }
  body[data-theme="cinema"] .cinema-feature-art img { object-position: 93% center; }
  body[data-theme="cinema"] .cinema-feature-shade { background: linear-gradient(0deg,#0a101a 2%,#0a101aeb 20%,#0a101a85 55%,#0a101a00 90%); }
  body[data-theme="cinema"] .cinema-feature-copy { max-width: 100%; width: 100%; padding: 24px; }
  body[data-theme="cinema"] .cinema-feature h1 { font-size: 36px; max-width: 360px; }
  body[data-theme="cinema"] .cinema-feature .cinema-eyebrow { margin-bottom: 16px; font-size: 9px; }
  body[data-theme="cinema"] .cinema-feature-description { margin: 16px 0 22px; font-size: 13px; line-height: 1.6; }
  body[data-theme="cinema"] .cinema-feature-actions { gap: 10px; }
  body[data-theme="cinema"] .cinema-feature-actions .btn { padding: 12px 14px; font-size: 11px; flex: 1; min-height: 46px; white-space: nowrap; }
  body[data-theme="cinema"] .cinema-moods { margin-right: calc(-1 * var(--wrap-pad)); padding-right: var(--wrap-pad); gap: 8px; padding-top: 16px; }
  body[data-theme="cinema"] .cinema-moods a { font-size: 11px; padding: 12px 14px; }
  body[data-theme="cinema"] .cinema-section { margin-top: 30px; }
  body[data-theme="cinema"] .cinema-section-head { margin-bottom: 12px; gap: 10px; }
  body[data-theme="cinema"] .cinema-section-title h2 { font-size: 22px; }
  body[data-theme="cinema"] .cinema-section-head p { font-size: 11px; }
  body[data-theme="cinema"] .cinema-shelf-controls { display: none; }
  body[data-theme="cinema"] .cinema-shelf { grid-auto-columns: 38%; gap: 12px; margin-right: calc(-1 * var(--wrap-pad)); padding-right: var(--wrap-pad); }
  body[data-theme="cinema"] .card-title { font-size: 12px; }
  body[data-theme="cinema"] .cinema-collections { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--wrap-pad)); padding-right: var(--wrap-pad); }
  body[data-theme="cinema"] .cinema-collection { min-height: 250px; scroll-snap-align: start; }
  body[data-theme="cinema"] .cinema-discover { gap: 20px; padding: 26px 22px; margin-top: 34px; }
  body[data-theme="cinema"] .cinema-discover-symbol { display: none; }
  body[data-theme="cinema"] .cinema-discover h2 { font-size: 27px; }
  body[data-theme="cinema"] .cinema-discover>.btn { margin-left: 0; }
  body[data-theme="cinema"] .grid { gap: 24px 12px; }
}
@media(prefers-reduced-motion:reduce) { body[data-theme="cinema"] .card-poster { transition: none; } }
