/* ===========================================================
   fp-ticket.css: the ticket redirect page (round frontend/5i, 2026-11-21)
   The design's jegyrendeles-atiranyito-m.html (`jr` prefix, mobile first), beside fp-film.css (the card, the
   buttons, the version tags). Left out of the design: its own focus mark (frontend-rules.md § 1.16: no focus
   ring anywhere), the "Makett-előnézet" switch, the 300x300 slot of a signed-in visitor (AdSlot's D2 instead).
   Added: the owner's limit state (`data-st="limit"`) and its login button (.jrLim).
   =========================================================== */
.jrGrid{display:flex;flex-direction:column;gap:14px}
@media (min-width:861px){.jrGrid{gap:18px}}
.jrBody{display:flex;flex-direction:column;gap:14px}
.jrTop{order:1}.jrAdR{order:2}.jrR{order:3}.jrFoot{order:4}
.jrAdR,.jrAdF{min-width:0}
.jrAdR .fpAd,.jrAdF .fpAd{margin:0 auto}
.jrR{display:flex;flex-direction:column;gap:14px;min-width:0}
.jrTop{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0}
/* the counter: a film frame (the start leader): the perforation, the cross hairs, the sweep turning once a second */
.jrLd{position:relative;width:100%;max-width:340px;aspect-ratio:4/3;background:#0b1530;color:#fff;overflow:hidden;flex:none}
.jrLd::before,.jrLd::after{content:"";position:absolute;top:0;bottom:0;width:10px;background:repeating-linear-gradient(180deg,transparent 0 7px,#dce6f8 7px 17px,transparent 17px 24px)}
.jrLd::before{left:7px}.jrLd::after{right:7px}
.jrLd .fr{position:absolute;inset:10px 26px;border:1px solid rgba(255,255,255,.3);background:#13214a;overflow:hidden}
.jrLd .fr::before,.jrLd .fr::after{content:"";position:absolute;background:rgba(255,255,255,.3)}
.jrLd .fr::before{left:0;right:0;top:50%;height:1px}.jrLd .fr::after{top:0;bottom:0;left:50%;width:1px}
.jrLd .ci{position:absolute;left:50%;top:50%;height:78%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:3px solid #fff;background:conic-gradient(rgba(246,199,0,.55) calc(var(--p,0)*360deg),rgba(255,255,255,.06) 0)}
.jrLd .ci::after{content:"";position:absolute;inset:9px;border-radius:50%;border:1px solid rgba(255,255,255,.55)}
.jrLd .num{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:88px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums;color:#fff;text-shadow:0 2px 10px rgba(0,10,40,.6)}
.jrLd .tg{position:absolute;top:14px;font-size:12px;line-height:14px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:#dce6f8}
.jrLd .tg.a{left:32px}.jrLd .tg.b{right:32px}
.jrLd .tl{position:absolute;left:0;bottom:0;height:5px;width:calc(var(--t,0)*100%);background:var(--fp-yellow)}
.jrLd .arr{position:absolute;inset:0;display:none;align-items:center;justify-content:center;color:var(--fp-yellow)}
.jrLd .arr svg{width:72px;height:72px;stroke:currentColor;fill:none;stroke-width:2.4;animation:jrNudge 1s ease-in-out infinite}
.jrLd.pop .num{animation:jrPop .35s ease-out}
@keyframes jrPop{from{scale:1.25;opacity:.5}to{scale:1;opacity:1}}
@keyframes jrNudge{0%,100%{translate:-6px 0}50%{translate:6px 0}}
.jrH{font-size:24px;line-height:28px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;text-wrap:balance;margin:0}
.jrLead{font-size:16px;line-height:22px;color:var(--fp-fg);max-width:440px;text-wrap:pretty;margin:0}
.jrLead b{white-space:nowrap}
.jrFun{min-height:20px;font-size:14px;line-height:20px;font-weight:600;color:var(--fp-link)}
.jrBar{display:none;width:100%;max-width:280px;height:6px;background:var(--fp-card-bd);overflow:hidden}
.jrBar i{display:block;width:40%;height:100%;background:var(--fp-link);animation:jrSlide 1.1s linear infinite}
@keyframes jrSlide{from{translate:-100% 0}to{translate:250% 0}}
/* the states (the design's, and the owner's limit state) */
.jrBody[data-st="go"] .jrLd .num,.jrBody[data-st="stuck"] .jrLd .num,.jrBody[data-st="limit"] .jrLd .num{display:none}
.jrBody[data-st="go"] .jrLd .arr,.jrBody[data-st="stuck"] .jrLd .arr,.jrBody[data-st="limit"] .jrLd .arr{display:flex}
.jrBody[data-st="go"] .jrBar{display:block}
.jrBody[data-st="stuck"] .jrLd .arr svg,.jrBody[data-st="limit"] .jrLd .arr svg{animation:none}
.jrBody:not([data-st="count"]) .jrGuest,.jrBody:not([data-st="count"]) .jrIn,.jrBody:not([data-st="count"]) .jrFun{display:none}
.jrBody:not([data-st="stuck"]) .jrStuck{display:none}
.jrBody:not([data-st="limit"]) .jrLim{display:none}
.jrBody[data-u="in"] .jrGuest,.jrBody[data-u="guest"] .jrIn{display:none}
/* the ticket: the screening's facts */
.jrTk{position:relative}
.jrTk .main{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:12px;text-align:left}
.jrTk .ps{aspect-ratio:2/3;background:#0b1530;overflow:hidden}
.jrTk .ps img{width:100%;height:100%;object-fit:cover;display:block}
.jrTk .lb{font-size:12px;line-height:14px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--fp-fg-muted)}
.jrTk h2{font-size:20px;line-height:24px;font-weight:700;margin:2px 0 6px;text-wrap:pretty}
.jrTk .cn{font-size:14px;line-height:19px;font-weight:700;margin-top:8px}
.jrTk .ad{font-size:14px;line-height:19px;color:var(--fp-fg-muted)}
.jrTk .cut{position:relative;border-top:2px dashed var(--fp-card-bd);margin:0 12px}
.jrTk .cut::before,.jrTk .cut::after{content:"";position:absolute;top:-10px;width:18px;height:18px;border-radius:50%;background:var(--fp-bg-surface);border:1px solid var(--fp-card-bd)}
.jrTk .cut::before{left:-22px;clip-path:inset(0 0 0 50%)}.jrTk .cut::after{right:-22px;clip-path:inset(0 50% 0 0)}
.jrTk .when{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px;padding:10px 12px 12px}
.jrTk .when span,.jrTk .when b{min-width:0;overflow-wrap:anywhere}
.jrTk .when span{font-size:16px;line-height:22px;font-weight:600}
.jrTk .when b{font-size:28px;line-height:30px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--fp-link)}
/* a guest: the login and the robot protection's note */
.jrGuest{padding:12px;display:grid;gap:10px}
.jrGuest h3{font-size:16px;line-height:21px;font-weight:700;margin:0}
.jrGuest p{font-size:14px;line-height:20px;color:var(--fp-fg-muted);text-wrap:pretty;margin:0}
.jrGuest .rb{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;padding-top:10px;border-top:1px solid var(--fp-card-bd)}
.jrGuest .rb svg{width:20px;height:20px;stroke:var(--fp-link);fill:none;stroke-width:2;margin-top:1px}
.jrGuest .rb b{color:var(--fp-fg)}
.jrIn{font-size:14px;line-height:20px;color:var(--fp-fg-muted);text-align:center;margin:0}
.jrSeller{font-size:14px;line-height:20px;color:var(--fp-fg-muted);text-align:center;text-wrap:pretty;margin:0}
.jrSeller b{color:var(--fp-fg)}
.jrFoot{display:grid;gap:10px}
.jrStuck,.jrLim{width:100%;max-width:340px}
.jrStuck .flmBtn,.jrLim .flmBtn{width:100%}
@media (min-width:861px){.jrH{font-size:28px;line-height:32px}.jrBody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 24px;align-items:start}.jrAdR{grid-column:1/-1}.jrTop,.jrAdR,.jrR,.jrFoot{order:0}.jrFoot{grid-column:1/-1;justify-items:center}.jrFoot .flmBtn{min-width:280px}.jrTk .main{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:14px}.jrTk .cut{margin:0 14px}.jrTk .cut::before{left:-24px}.jrTk .cut::after{right:-24px}.jrTk .when{padding:10px 14px 14px}}
@media (min-width:1101px){.jrBody{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 300px}.jrAdR{grid-column:auto}}
@media (prefers-reduced-motion:reduce){.jrLd .arr svg,.jrBar i,.jrLd.pop .num{animation:none}.jrBar i{width:100%}}
