/* fp-film-window.css: the site's one film window (GitHub #275, FilmWindow, frontend/views/film/_window.php).
   The window IS the TV pages' programme dialog (`tvMd`, fp-tv.css: the head, the picture, the title, the chips, the
   description, the footer; fp-vote.css: the vote band), so a page that opens it loads fp-tv.css, fp-vote.css and this file.
   Here only the parts the film window adds: the heart in the picture's corner (the poster cards' round button, red when
   on: frontend-rules.md § 1.15), the original title, the director and the cast, the notification choices (on: the filled
   blue AND the tick, never the colour alone) and the yellow "Hol vetítik" button (the film page's "Hol vetítik még?"). */
/* the window scrolls: every row keeps its full height (an `auto` row of the picture, a box with `overflow:hidden`, shrank
   to nothing in the scrolling grid and the picture lay over the description: the owner's smoke finding) */
.tvMd .mdB.fwB{grid-auto-rows:max-content}
.tvMd .im .fwIc{position:absolute;top:4px;right:4px;z-index:3;display:flex}
.tvMd .im.noPic .fwIc{position:static;margin-left:auto;padding-right:4px}
.tvMd .fwIc .fpFav{margin:0;display:flex}
/* opened from a film broadcast: the reminder's bell stands beside the heart (fp-tv.css places it alone in the corner) */
.tvMd .im .fwIc .tvRem{position:static;margin:0;padding:0}
.tvMd .fwIc .heart,.tvMd .fwIc .heart:hover,.tvMd .fwIc .heart[aria-pressed="true"]{flex:none;width:52px;height:52px;display:flex;align-items:center;justify-content:center;padding:0;color:#fff;background:transparent;border:0;border-radius:0;cursor:pointer}
.tvMd .fwIc .heart i{width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.6);border:2px solid #fff;display:flex;align-items:center;justify-content:center;transition:var(--fp-trans)}
.tvMd .fwIc .heart:hover i{background:rgba(0,0,0,.8)}
.tvMd .fwIc .heart svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2}
.tvMd .fwIc .heart[aria-pressed="true"] i{background:var(--fp-red)}
.tvMd .fwIc .heart[aria-pressed="true"] svg{fill:currentColor}

.tvMd .fwOt{font-size:14px;line-height:19px;font-weight:600;margin-top:2px}

.tvMd .fwCr{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;font-size:14px;line-height:19px}
.tvMd .fwCr dt{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--fp-fg-muted);line-height:19px}
.tvMd .fwCr dd{margin:0;font-weight:600}

.tvMd .fwNt{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--fp-divider)}
.tvMd .fwNt .l{font-size:14px;font-weight:700}
.tvMd .fwNf{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.tvMd .fwT{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px 0 8px;border:1px solid var(--fp-divider);border-radius:18px;background:var(--fp-bg-input);color:var(--fp-fg);font-size:13px;font-weight:700;cursor:pointer}
.tvMd .fwT i{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;display:flex;align-items:center;justify-content:center}
.tvMd .fwT svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:3;visibility:hidden}
.tvMd .fwT[aria-pressed="true"]{background:var(--fp-ctl);border-color:var(--fp-ctl);color:#fff}
.tvMd .fwT[aria-pressed="true"] svg{visibility:visible}
.tvMd .fwNf[aria-busy="true"] .fwT{opacity:.6}

.tvMd .mdF .flmBtn.fwWh{background:var(--fp-yellow);border:0;color:#0b1530!important}
.tvMd .mdF .flmBtn.fwWh:hover{background:var(--fp-yellow);color:#0b1530!important;opacity:.88}
/* the owner at the smoke: the film window 150 px taller than the TV window on a desktop (fp-tv.css 720 px), never past
   the screen (86dvh); fp-tv-ui.js marks the dialog `.tvFilm` while it holds a film window (never `.fw`: fp-deco.css draws the holiday fireworks with it, a 40 px box, the owner's smoke finding) */
@media (min-width:861px){.tvMd.tvFilm{max-height:min(86dvh,870px)}}
@media (prefers-reduced-motion:reduce){.tvMd .fwIc .heart i{transition:none}}

/* === OUR POPULARITY SIGNAL, "Mozis toplista" (round frontend/ts1, TicketMark; the design's nepszerusegi-jel-variaciok.html,
   variant A "Mozijegy", and mozis-toplista-m.css). Here because every page that can draw it loads this file: the film
   window's pages, the datasheet, and the cinema section's front (MoziController::FRONT_CSS). The brand blue through the
   two-level tokens (--fp-ctl fill, --fp-accent line and text), so the dark mode needs no block of its own.
   .njM the mark: .h the white ticket (the datasheet's hero, the film window, the toplist's window; .bd its frame on a
   white surface), .c the small chip (its own rule: site.css § 16); .njE the ticket emblem (.r1 large, .r2 middle, .r0 the bare number); .njTop the top
   10 box. GitHub #352 (the owner): ONE colour, the white ticket everywhere, never a blue-filled ticket or emblem, and no
   hover hint anywhere (the dark bubble over the mark is gone). === */
.njM,.njTop{--nj:var(--fp-ctl,var(--fp-blue));--nj-tx:var(--fp-accent,var(--fp-blue))}
.njM{position:relative;display:inline-flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums;text-align:left;outline:none}
.njK{font-size:12px;line-height:14px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.njCs{display:flex;flex-wrap:wrap;gap:6px 0}
.njC{display:flex;align-items:center;gap:8px;min-width:0}
.njC+.njC{margin-left:10px;padding-left:10px;border-left:1px solid var(--m-ln,var(--fp-card-bd))}
.njT{display:flex;flex-direction:column;min-width:0}
.njT b{font-size:12px;line-height:15px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}
.njT small{font-size:12px;line-height:15px;font-weight:600;white-space:nowrap}
/* #352: the emblem is the white ticket, a white fill with the ticket blue's outline and number (before it a filled
   var(--nj) emblem with a white number, and `.o` the outlined one) */
.njE{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:24px;color:#002f87}
/* the page sheets size every svg to 1em (`.hmPage svg`, `.flmPage svg`, loaded after this file on some pages): the
   emblem's and the arrows' own size need the stronger selector (the smoke finding: a tiny ticket beside its number) */
:is(.njM,.njTop) .njE svg{position:absolute;inset:0;width:100%;height:100%}
.njE .f{fill:#fff;stroke:currentColor;stroke-width:2}
.njE b{position:relative;font-size:12px;line-height:1;font-weight:700;color:inherit}
.njE.r2{width:42px;height:32px}.njE.r2 b{font-size:15px}
.njE.r1{width:58px;height:44px}.njE.r1 b{font-size:22px}
.njE.r0{width:auto;height:auto}:is(.njM,.njTop) .njE.r0 svg{display:none}.njE.r0 b{font-size:15px;color:var(--fp-fg-muted)}
/* the ticket: the side notches, the number on the stub cut off by a dashed line */
.njM.h{padding:8px 18px;-webkit-mask:radial-gradient(circle 7px at 0 50%,transparent 6.5px,#000 7px) left/51% 100% no-repeat,radial-gradient(circle 7px at 100% 50%,transparent 6.5px,#000 7px) right/51% 100% no-repeat;mask:radial-gradient(circle 7px at 0 50%,transparent 6.5px,#000 7px) left/51% 100% no-repeat,radial-gradient(circle 7px at 100% 50%,transparent 6.5px,#000 7px) right/51% 100% no-repeat}
.njM.h .njE{width:auto;height:auto;color:inherit}
.njM.h .njE b{color:inherit;font-size:20px}
.njM.h .njC:first-child .njE{align-self:stretch;padding-right:10px;border-right:2px dashed var(--m-ln)}
.njM.h .njC:first-child .njE b{font-size:28px}
/* the mark leads to the signal's own page (TicketMark::PAGE): a link keeps the ticket's own colours, a hover lightens it */
a.njM{text-decoration:none;cursor:pointer;transition:var(--fp-trans)}
a.njM.h,a.njM.h:hover{color:#002f87!important}
a.njM.h:hover{background:#e8eef9}
.njBox .njAll{margin-top:10px;width:100%}
.njM.h{align-self:flex-end;background:#fff;color:#002f87;--m-ln:#9fb1d6}
.njM.h .njK{display:none}
/* on a white surface the white ticket draws its thin frame (_ticket.php `line`; the mask cuts it at the notches) */
.njM.h.bd{box-shadow:inset 0 0 0 1px var(--m-ln)}
/* GitHub #348 (the owner's picks): in the film window the white ticket stands on the picture, bottom right above the
   vote band (its score's place, the datasheet hero's order); the band is 64 px (10 + the 44 px button + 10). On a phone
   the window's picture is 16:9 instead of 16:7, so the ticket fits between the heart and the band. Without a picture
   the ticket stands on the blue band, right, on a row of its own above the vote. */
.tvMd .im .fwNj{position:absolute;right:10px;bottom:64px;z-index:2;display:flex;justify-content:flex-end;max-width:calc(100% - 20px)}
.tvMd .fwB .im.noPic{flex-wrap:wrap}
.tvMd .im.noPic .fwNj{position:static;order:-1;flex:0 0 100%;max-width:none;padding:12px 14px 0}
@media (max-width:860px){.tvMd .fwB .im:not(.noPic){aspect-ratio:16/9}}
/* the owner at the smoke: on a desktop the score's place is not left empty, so while the band shows no score (fewer votes
   than VoteRules::MIN_SHOWN, `.rvSc[hidden]`) and its stars are closed, the ticket stands at the bottom, beside the
   button; on a phone it stays above the band, which its row width needs */
@media (min-width:861px){.tvMd .im.noPic .fwNj{padding:12px 20px 0}.tvMd .im:not(:has(.rvSc:not([hidden]),.rvBand.open)) .fwNj{bottom:10px}}
/* .njM.c, the small chip, and its .njL wrapper: site.css § 16, one rule for every page (GitHub #355) */
/* the top 10 box */
.njTop{display:grid;gap:6px}
.njR{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:52px;padding:6px 10px 6px 6px;text-align:left;color:var(--fp-fg)!important;font:inherit}
.njR:hover .ti{color:var(--fp-link)}
.njR>.njE{justify-self:center}
.njR .ti{display:block;font-size:15px;line-height:18px;font-weight:700;text-wrap:pretty}
.njR .sb{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;margin-top:2px;font-size:12px;line-height:15px;font-weight:600;color:var(--fp-fg-muted)}
.njCh{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
:is(.njM,.njTop) .njCh svg{width:9px;height:9px;fill:currentColor;stroke:currentColor;stroke-width:2}
.njCh.nw{padding:0 5px;border:1px solid var(--fp-border);color:var(--fp-fg);text-transform:uppercase;letter-spacing:.4px;font-weight:700}
.njR .sh{display:grid;gap:4px;justify-items:end;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.njBar{display:block;width:52px;height:4px;background:var(--fp-divider)}
.njBar i{display:block;height:100%;background:var(--nj-tx)}
.njR.p23{min-height:60px}
/* the box sits in a 320 px side column: the design's 12 px padding, the first row's title under its ticket (beside it the
   title broke into three lines: the smoke finding) */
.njBox .windowContent{padding:12px}
.njE{line-height:1}
.njE b{z-index:1}
.njR>.njE{align-self:center}
.njR.p1{grid-template-columns:72px minmax(0,1fr);align-items:start;padding:8px}
.njR.p1 .ps{display:block;aspect-ratio:2/3;background:#1a2236;overflow:hidden}
.njR.p1 .ps img{display:block;width:100%;height:100%;object-fit:cover}
.njR.p1 .bd{display:flex;flex-direction:column;gap:6px;min-width:0}
.njR.p1 .hd{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.njR.p1 .ti{font-size:16px;line-height:20px}
.njR.p1 .sh{justify-items:stretch;font-size:22px;line-height:24px}
.njR.p1 .njBar{width:100%;height:6px}
@media (min-width:861px){
.njM.h{align-self:stretch;padding:7px 18px}
.njM.h .njCs{flex-direction:column;gap:0}
.njM.h .njC+.njC{margin:5px 0 0;padding:5px 0 0;border-left:0;border-top:1px solid var(--m-ln)}
.njM.h .njC+.njC .njT{flex-direction:row;flex-wrap:wrap;gap:0 6px}
.njM.h .njC:first-child .njE b{font-size:30px}
}
/* === THE POPULARITY SIGNAL'S END === */
