/* ===========================================================
   fp-mozi.css: the cinema section's front page `/mozi` (round frontend/5e, 2026-11-21)
   Lifted from the Claude Design project's mozi-m.html page style (the mz- prefix), on top of fp-film.css
   (the film pages' shared layer: windows, cards, buttons, .flmMed, the searchable drop-down .flmCb),
   rewritten where the build differs:
     1. everything under main.mzPage; the head band is film-m.css's .flmPg (as the TV pages draw it);
     2. the mobile order is a class (.o1 to .o7, the design's --o) and the ad slots' order their data-slot,
        never an inline style; since issue #285 (the owner's picks) the order is the finder, the news lead, F1,
        "Most a mozikban", F2, then the rest as the design has it, and the finder is the main column's first
        window on a desktop too; since issue #336 "Friss előzetesek" is .o4 (M2 after it) and "Friss hírek" .o5;
     3. no box office block (no source, the owner's pick) and no "Később" marks (design tooling);
     4. no focus outline anywhere (the owner, 2026-11-17): the finder's selects become .flmCb fields;
     5. every state has a word or a mark besides its colour (the owner is colour-deficient): the bell's
        filled shape when on, the yellow premiere tag's word.
   Mobile first, min-width queries (600, 861, 1101).
   =========================================================== */

/* ---------- the head band (film-m.css .flmPg) ---------- */
.mzPage .flmPg{position:relative;overflow:hidden;background:var(--fp-blue-gradient);color:#fff;padding:16px 0 14px;margin:-12px 0 14px}
.mzPage .flmPg::before{content:"";position:absolute;left:-70px;top:-120px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.05);pointer-events:none}
.mzPage .flmPg::after{content:"";position:absolute;right:-60px;bottom:-140px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none}
.mzPage .flmPg .container{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;align-items:center}
.mzPage .flmPg .k{display:inline-block;background:var(--fp-yellow);color:#000;padding:0 8px;line-height:22px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin-bottom:6px}
.mzPage .flmPg h1{font-size:28px;line-height:30px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.mzPage .flmPg h1 small{display:block;font-size:12px;line-height:16px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:rgba(255,255,255,.85);margin-top:6px;text-wrap:pretty}
.mzPage .flmPg .side{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.mzPage .flmPg .side b{font-size:30px;line-height:30px;font-weight:700;color:var(--fp-yellow);font-variant-numeric:tabular-nums}
.mzPage .flmPg .side>span{font-size:12px;line-height:15px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:rgba(255,255,255,.85);margin-top:4px}
@media (min-width:861px){.mzPage .flmPg{padding:22px 0 20px;margin:-20px 0 18px}.mzPage .flmPg h1{font-size:38px;line-height:40px}.mzPage .flmPg h1 small{font-size:13px;line-height:17px}.mzPage .flmPg .side b{font-size:42px;line-height:42px}}

/* ---------- the grid: one column on a phone in the design's order, content and a 340 px side from 1101 px ---------- */
.mzGrid{display:flex;flex-direction:column;gap:14px}
.mzMain,.mzSide{display:contents}
.mzMain>*,.mzSide>*{order:50}
.mzGrid .o1{order:1}.mzGrid .o2,.mzGrid [data-slot="F1"]{order:2}.mzGrid .o3,.mzGrid [data-slot="F2"]{order:3}.mzGrid .o4,.mzGrid [data-slot="M2"]{order:4}
.mzGrid .o5{order:5}.mzGrid .o6,.mzGrid [data-slot="M3"]{order:6}.mzGrid .o7{order:7}.mzGrid [data-slot="D3"]{order:99}
/* D2 under "Hamarosan a mozikban" (o6), above the top list (o7, later in the markup). */
.mzGrid [data-slot="D2"]{order:7}
@media (min-width:861px){.mzGrid{gap:18px}}
@media (min-width:1101px){.mzGrid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.mzMain,.mzSide{display:flex;flex-direction:column;gap:18px;min-width:0}.mzSide{align-self:stretch}}

/* ---------- the news lead and its two companions (drawn once the news line has items) ---------- */
.mzTop{display:grid;gap:8px}
.mzLead{position:relative;display:block;overflow:hidden;background:#0b1530;color:#fff!important;aspect-ratio:4/5}
.mzLead img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.mzLead:hover img{transform:scale(1.03)}
.mzLead::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,10,30,.55) 55%,rgba(0,10,30,.94))}
.mzLead .bd{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:16px 14px}
.mzK{display:inline-block;padding:0 8px;line-height:22px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;background:var(--fp-red);color:#fff}
.mzLead h2{font-size:22px;line-height:27px;font-weight:700;margin-top:8px;text-wrap:pretty}
.mzLead p{font-size:14px;line-height:20px;color:rgba(255,255,255,.88);margin-top:6px;text-wrap:pretty}
.mzLead .by{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:rgba(255,255,255,.7);margin-top:8px}
.mzSub{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:8px;color:inherit!important;align-items:start;align-content:start}
.mzSub .im{aspect-ratio:4/3;overflow:hidden;background:#1a2236}
.mzSub .im img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.mzSub:hover .im img{transform:scale(1.05)}
.mzSub .tg,.mzNews .tg{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--fp-link)}
.mzSub h3{font-size:15px;line-height:19px;font-weight:700;margin-top:3px;text-wrap:pretty}
.mzSub:hover h3{color:var(--fp-link)}
@media (min-width:600px){.mzLead{aspect-ratio:16/9}.mzLead h2{font-size:26px;line-height:31px}.mzLead .bd{padding:20px 22px}.mzTop{grid-template-columns:1fr 1fr}.mzLead{grid-column:1/-1}}
@media (min-width:861px){.mzTop{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:10px}.mzLead{grid-column:1;grid-row:1/3;aspect-ratio:auto;min-height:400px}.mzSub{grid-template-columns:1fr;padding:0 0 12px}.mzSub .im{aspect-ratio:16/9}.mzSub>div{padding:0 12px}.mzLead h2{font-size:30px;line-height:36px}}

/* ---------- "Most a mozikban": the poster rail (one row folded, the arrow opens all) ---------- */
.mzRail{display:grid;gap:8px}
.mzRail:not(.open){grid-auto-flow:column;grid-auto-columns:128px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(-1*var(--wp,14px));padding:0 var(--wp,14px)}
.mzRail:not(.open)::-webkit-scrollbar{display:none}
.mzRail.open{grid-template-columns:repeat(3,minmax(0,1fr))}
/* a card: the link (poster, title, line) and the heart over the poster's top right corner (the owner at the smoke; the
   site's heart on a picture, fp-profile.css .favCard .heart: white in a dark round button, red and filled when on) */
.mzRail .mzCard{position:relative;scroll-snap-align:start}
.mzRail .mzCard:hover{border-color:var(--fp-light-blue)}
.mzRail .mzCard>a{display:flex;flex-direction:column;padding:6px 6px 8px;color:inherit!important}
.mzRail .ps{position:relative;aspect-ratio:2/3;overflow:hidden;background:#1a2236;margin-bottom:6px}
.mzRail .ps img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.mzRail .mzCard>a:hover .ps img{transform:scale(1.04)}
.mzRail .hFav{position:absolute;top:6px;right:6px;z-index:1}
.mzRail .hFav form{margin:0}
.mzRail .heart{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;background:transparent;border:0;padding:0;cursor:pointer}
.mzRail .heart i{width:32px;height:32px;border-radius:999px;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;border:2px solid #fff;transition:var(--fp-trans)}
.mzRail .heart:hover i{background:rgba(0,0,0,.8)}
.mzRail .heart svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2}
.mzRail .heart[aria-pressed="true"] i{background:var(--fp-red)}
.mzRail .heart[aria-pressed="true"] svg{fill:currentColor}
.mzRail .nm{font-size:14px;line-height:17px;font-weight:700;text-wrap:pretty}
.mzRail .mzCard>a:hover .nm{color:var(--fp-link)}
.mzRail .mt{font-size:12px;line-height:15px;color:var(--fp-fg-muted);font-weight:600;margin-top:2px}
.mzRail .mt b{color:#9a6b00}
[data-theme="dark"] .mzRail .mt b{color:var(--fp-yellow)}
@media (min-width:600px){.mzRail.open{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:861px){.mzRail:not(.open){grid-auto-flow:row;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-columns:auto;overflow:visible;margin:0;padding:0}.mzRail:not(.open) .mzCard:nth-child(n+7){display:none}.mzRail.open{grid-template-columns:repeat(6,minmax(0,1fr))}.mzRail{gap:10px}}
@media (min-width:1101px){.mzRail:not(.open){grid-template-columns:repeat(5,minmax(0,1fr))}.mzRail:not(.open) .mzCard:nth-child(n+6){display:none}.mzRail.open{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- "Moziműsor": the finder (its selects become fp-film.css's .flmCb by the script) ---------- */
.mzFind{display:grid;gap:8px}
.mzFind label{position:relative;display:block;min-width:0}
.mzFind .l{position:absolute;left:10px;top:5px;font-size:12px;line-height:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--fp-fg-muted);pointer-events:none}
.mzFind select{appearance:none;-webkit-appearance:none;width:100%;cursor:pointer;min-height:48px;padding:19px 30px 5px 10px;border:1px solid var(--fp-divider);background:var(--fp-bg-input);font:inherit;font-size:15px;font-weight:700;color:var(--fp-fg);border-radius:3px;outline:none}
.mzFind .c{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:14px;height:14px;stroke:var(--fp-link);fill:none;stroke-width:2.5;pointer-events:none}
.mzPage .mzFind .flmBtn{min-height:48px}
/* issue #285: one row from 600 px on, the desktop included, since the finder left the 340 px side for the main column */
@media (min-width:600px){.mzFind{grid-template-columns:1fr 1fr auto}}
/* issue #285: the finder stands out from the page's other windows (the owner's pick): the form row on a filled ground
   with white fields, a yellow "Műsor" with dark text (the fill is a shape, so the mark never rests on the colour alone).
   No yellow band over the window. */
.mzFindW .mzFind{padding:10px;background:var(--fp-bg-input);border-radius:4px}
.mzFindW .mzFind select,.mzFindW .mzFind .flmCb input{background:var(--fp-bg-surface)}
.mzPage .mzFindW .mzFind .flmBtn{background:var(--fp-yellow);color:#0b1530!important}
/* issue #285 (the owner at the smoke): the button as tall as the fields, which fp-film.css's .flmCb input keeps at 44 px from 861 px */
@media (min-width:861px){.mzPage .mzFind .flmBtn,.mzFind select{min-height:44px}}
/* round frontend/5g: the link to the cinema list /mozik under the finder (the owner's pick "Lábléc + /mozi") */
.mzAll{display:flex;align-items:center;gap:6px;margin-top:10px;min-height:32px;font-size:14px;font-weight:700}
.mzAll svg{width:14px;height:14px;flex:none;stroke:currentColor;fill:none;stroke-width:2.5}
.mzFav{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--fp-divider)}
.mzFav .flmLbl{flex:1 1 100%}
.mzFav a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;background:var(--fp-card-bg);border:1px solid var(--fp-card-bd);font-size:13px;font-weight:700;color:var(--fp-fg)!important;border-radius:3px;transition:var(--fp-trans)}
.mzFav a:hover{border-color:var(--fp-light-blue);color:var(--fp-link)!important}
.mzFav a svg{width:14px;height:14px;fill:var(--fp-red);flex:none}

/* ---------- "Friss hírek" (drawn once the news line has items) ---------- */
.mzNews{display:grid;gap:8px}
.mzNews a{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;padding:8px;color:inherit!important;align-items:start;align-content:start}
.mzNews .im{aspect-ratio:4/3;overflow:hidden;background:#1a2236}
.mzNews .im img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.mzNews a:hover .im img{transform:scale(1.05)}
.mzNews h3{font-size:15px;line-height:19px;font-weight:700;margin-top:3px;text-wrap:pretty}
.mzNews a:hover h3{color:var(--fp-link)}
.mzNews .tm{font-size:12px;line-height:15px;font-weight:600;color:var(--fp-fg-muted);margin-top:4px}
@media (min-width:600px){.mzNews{grid-template-columns:1fr 1fr}}
@media (min-width:861px){.mzNews{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mzNews a{grid-template-columns:1fr;padding:0 0 12px}.mzNews .im{aspect-ratio:16/9}.mzNews a>div{padding:0 12px}.mzNews h3{font-size:16px;line-height:20px}}

/* ---------- "Hamarosan a mozikban": the next premieres, each with its bell ---------- */
.mzSoon{display:grid;gap:6px}
.mzSoon .r{display:grid;grid-template-columns:52px minmax(0,1fr) 44px;gap:10px;align-items:center;padding:6px 4px 6px 6px}
.mzSoon .dt{display:flex;flex-direction:column;align-items:center;justify-content:center;height:52px;background:var(--fp-ctl);color:#fff}
.mzSoon .dt span{font-size:12px;line-height:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--fp-yellow)}
.mzSoon .dt b{font-size:20px;line-height:22px;font-weight:700;font-variant-numeric:tabular-nums}
.mzSoon a.nm{display:block;font-size:15px;line-height:19px;font-weight:700;color:inherit!important;text-wrap:pretty}
.mzSoon a.nm:hover{color:var(--fp-link)!important}
.mzSoon .sb{font-size:12px;line-height:15px;color:var(--fp-fg-muted);font-weight:600;margin-top:2px}
.mzSoon form{display:contents}
.mzSoon .bl{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--fp-fg-muted);background:none;border:0;padding:0;transition:var(--fp-trans)}
.mzSoon .bl:hover{background:var(--fp-bg-surface)}
.mzSoon .bl svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2}
.mzSoon .bl[aria-pressed="true"]{color:var(--fp-link)}
.mzSoon .bl[aria-pressed="true"] svg{fill:currentColor}
.mzSoon .bl[disabled]{opacity:.5}
