/* Full-screen cinema entry: typography, a quiet technical screen and two actions. */
.cinema-entry.cinema-entry{box-sizing:border-box;position:fixed;inset:0;width:100vw;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:clamp(1.25rem,4vw,4rem);border:0;border-radius:0;background:#09090c;color:#f4f4f7;overflow:auto;overscroll-behavior:contain}
.cinema-entry[open]{display:grid;grid-template-rows:auto minmax(min-content,1fr) auto;gap:clamp(1.5rem,5vh,4rem);animation:cinema-entry-open .2s ease-out}
.cinema-entry::backdrop{background:#000}
.cinema-entry-header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.cinema-entry-header>img{width:clamp(8rem,15vw,14rem);height:auto}.cinema-entry .cinema-entry-close{display:grid;place-items:center;flex:none;width:2.75rem;height:2.75rem;padding:0;border:0.0625rem solid #686873;border-radius:50%;background:#19191f;color:#eee;font:inherit;font-size:1.7rem;line-height:1;cursor:pointer}
.cinema-entry-content{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(2rem,7vw,8rem);width:min(100%,86rem);margin-inline:auto}.cinema-entry-copy h1{max-width:12ch;margin:0;font-size:clamp(2.5rem,6.2vw,6.5rem);font-weight:650;letter-spacing:-.045em;line-height:1.03;overflow-wrap:anywhere}.cinema-entry-copy p{max-width:38ch;margin:1.5rem 0 0;font-size:clamp(1rem,1.8vw,1.3rem);line-height:1.6;color:#b6b6c4}
.cinema-entry-screen{position:relative;display:grid;place-items:center;aspect-ratio:16/10;border:0.0625rem solid #444450;border-radius:.6rem;background:linear-gradient(135deg,#18181f,#0a0a0e);box-shadow:0 0 0 .6rem #111116,0 0 0 calc(.6rem + 0.0625rem) #25252e;overflow:hidden}.cinema-entry-screen>img{width:22%;height:auto;opacity:.85}.cinema-entry-screen:before,.cinema-entry-screen:after{content:"";position:absolute;left:5%;right:5%;height:0.0625rem;background:#34343d}.cinema-entry-screen:before{top:8%}.cinema-entry-screen:after{bottom:8%}.cinema-entry-line{position:absolute;left:0;right:0;bottom:0;height:0.1875rem;background:#e50925}.cinema-entry-scan{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 0.375rem,#ffffff02 0.4375rem);pointer-events:none}
.cinema-entry-actions{display:flex;flex-wrap:wrap;gap:1rem;width:min(100%,86rem);margin-inline:auto}.cinema-entry .cinema-entry-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:3.25rem;max-width:100%;padding:.8rem 1.5rem;border:0.0625rem solid #df1825;border-radius:.65rem;background:#df0018;color:#fff;font:inherit;font-weight:650;text-decoration:none;cursor:pointer;white-space:normal;text-align:center}.cinema-entry .cinema-entry-actions .button.ghost{background:#202027;border-color:#62626e;color:#eee}
@keyframes cinema-entry-open{from{opacity:0;transform:translateY(.4rem)}to{opacity:1;transform:none}}
@media(max-width:48rem){.cinema-entry-content{grid-template-columns:minmax(0,1fr);gap:2rem}.cinema-entry-screen{width:min(70%,22rem);justify-self:center}.cinema-entry-copy h1{font-size:clamp(2.5rem,11vw,4rem);max-width:14ch}.cinema-entry-actions{display:grid;grid-template-columns:minmax(0,1fr)}}
@media(max-height:30rem){.cinema-entry[open]{gap:1rem}.cinema-entry-copy h1{font-size:clamp(2rem,5vw,4rem)}.cinema-entry-copy p{margin-top:.75rem}.cinema-entry-screen{max-height:13rem;width:auto;max-width:100%}.cinema-entry-content{grid-template-columns:1.15fr 1fr}}
@media(prefers-reduced-motion:reduce){.cinema-entry[open]{animation:none}}

.cinema-entry[data-motion=off]{animation:none}
@media(max-width:48rem) and (max-height:42rem){.cinema-entry-screen{display:none}.cinema-entry-content{grid-template-columns:minmax(0,1fr)}}

.cinema-entry .cinema-entry-close svg{display:block;width:1.25rem;height:1.25rem;pointer-events:none}

.cinema-entry.cinema-entry[open]{grid-template-rows:auto minmax(min-content,1fr);gap:clamp(1.25rem,3vh,2.5rem)}
.cinema-entry-content{padding-block:clamp(1rem,3vh,3rem)}
.cinema-entry-copy>p{display:none}
.cinema-entry-copy .cinema-entry-actions{margin:2rem 0 0;width:100%}
.cinema-film{position:relative;width:100%;max-width:34rem;aspect-ratio:2;justify-self:center;isolation:isolate}
.cinema-film-frame{position:absolute;inset:12% 4%;border-block:clamp(.65rem,1.6vw,1.15rem) solid #303037;border-radius:.35rem;outline:0.0625rem solid #55555e;display:grid;place-items:center;background:linear-gradient(145deg,#23232a,#111114 70%);transform:rotate(4deg)}
.cinema-film-frame:before,.cinema-film-frame:after{content:"";position:absolute;left:.5rem;right:.5rem;height:clamp(.25rem,.6vw,.4rem);background:repeating-linear-gradient(90deg,#92929c 0 .5rem,transparent .5rem 1.35rem)}
.cinema-film-frame:before{bottom:calc(100% + .2rem)}.cinema-film-frame:after{top:calc(100% + .2rem)}
.cinema-film-frame>img{width:78%;height:auto;filter:grayscale(1) brightness(2.3);opacity:.9}
.cinema-film-back{transform:rotate(-9deg);opacity:.3;inset:8% 6% 16% 2%}

@media(max-width:48rem){.cinema-film{max-width:25rem}.cinema-entry-copy .cinema-entry-actions{margin-top:1.5rem}}
@media(max-height:32rem) and (min-width:36rem){.cinema-entry-copy .cinema-entry-actions{margin-top:1.25rem}.cinema-entry-content{padding-block:.5rem}}
/* The standalone article/admin shells share the modal scroll owner too. */
html.site-modal-open,html.site-modal-open body{overflow:hidden!important;overscroll-behavior:none}
html.site-modal-open{scroll-behavior:auto!important}

/* Fill Telegram's viewport while keeping controls inside its native safe areas. */
html.kinelaro-telegram-cabinet .cinema-entry{padding-top:max(clamp(1.25rem,4vw,4rem),calc(var(--kinelaro-tg-top,0rem) + 1.25rem));padding-bottom:max(clamp(1.25rem,4vw,4rem),calc(var(--kinelaro-tg-bottom,0rem) + 1.25rem))}

.cinema-entry-install{display:inline-block;max-width:100%;margin-top:1.5rem;padding-block:.35rem;color:#c6c6cf;font-size:1rem;line-height:1.5;text-decoration:underline;text-underline-offset:.2em;overflow-wrap:anywhere}.cinema-entry-install:hover{color:#fff}.cinema-entry-install:focus-visible{outline:.1875rem solid #fff;outline-offset:.25rem;border-radius:.2rem}
