/* prekvap.me — platform.css: components of the products beyond the surprise, on top of base.css. F2 loads it in the
   advent wizard and the calendar's pages (data/redesign/system.html): the advent calendar (24 windows = the Lock in a cell).
   Náš film (F3, the "Kino" components) left with the film on 26. 10. 2026 (branch zaloha-film). */

/* ========== ADVENT (F2): 24 windows ==========
   Locked = a translucent plane with the day; today = white with the theme's number and a coin (the
   token that opens it); open = the deep tone with what is inside ("vzkaz", "úkol"), never a tick. */
.windows{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:0;padding:0;list-style:none}
.window{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:var(--r-karta);background:rgba(255,255,255,.16);color:var(--bila)}
@supports not (aspect-ratio:1){.window{min-height:52px}}
.windowDay{font:800 19px/1 var(--pismo-nadpis);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.window--today{background:var(--bila);color:var(--tema)}
.window--open{background:var(--tema-hluboky)}
.window--today .windowDay,.window--open .windowDay{position:absolute;top:6px;left:7px;font-size:12px}
.window--today .coin{--coin:22px;margin-top:6px}
.windowWhat{margin-top:10px;font:700 11px/1 var(--pismo-text)}
@media (min-width:600px){.windows{gap:8px}.windowDay{font-size:24px}.window--today .windowDay,.window--open .windowDay{font-size:13px}}
/* a window as a link (the creator's preview, block 2A A3: each open window leads to its words below) */
.windowLink{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.windowLink:focus-visible{box-shadow:var(--fokus-ring)}
/* the calendar page: the title, the greeting, the grid, then what is in the windows (preview, A3) */
.adventPage{width:100%;max-width:calc(var(--sirka) + 2 * var(--okraj));margin:0 auto;padding:8px var(--okraj) 32px}
.adventPage>*{max-width:640px}
.adventPage .kicker{margin-bottom:10px;overflow-wrap:break-word;overflow-wrap:anywhere}
.adventTitle{margin-bottom:14px;font:560 36px/1.1 var(--pismo-nadpis);letter-spacing:-.02em;text-wrap:balance;overflow-wrap:break-word;overflow-wrap:anywhere}
.adventGreeting{margin-bottom:22px;font:450 18px/1.45 var(--pismo-text);overflow-wrap:break-word;overflow-wrap:anywhere}
.adventGreeting--below{margin:4px 0 22px;font-size:16px} /* a long greeting under the windows (ADVENT_GREETING_ABOVE) */
.adventWindows{margin-top:8px}
.adventNote{margin-top:16px;font:450 15px/1.45 var(--pismo-text)}
.adventDays{margin:28px 0 0;padding:0;list-style:none}
.adventDay{padding:18px 0;border-top:2px solid var(--delic);scroll-margin-top:16px}
.adventDay:target .adventDayHead{text-decoration:underline;text-underline-offset:.2em}
.adventDayHead{font:700 15px/1.3 var(--pismo-text)}
.adventCoupon{margin-top:10px;padding:16px 18px;border-radius:var(--r-kupon);background:var(--bila);color:var(--inkoust);font:800 22px/1.15 var(--pismo-nadpis);overflow-wrap:break-word;overflow-wrap:anywhere}
.adventText{margin-top:8px;font:520 20px/1.4 var(--pismo-nadpis);overflow-wrap:break-word;overflow-wrap:anywhere}
@media (min-width:900px){.adventTitle{font-size:46px}}
/* the recipient's calendar (block 2A A4): a ready window is a button with the coin (today's, and the days
   before that wait); opening turns the coin, the window comes back open with what is inside */
.windowBtn{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:none;color:inherit;
  font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.windowBtn:focus-visible{box-shadow:var(--fokus-ring)}
.windowBtn:active .coin{transform:scale(.9)}
.window.is-opening .coin{animation:coinTurn 400ms var(--plynule) infinite}
.window.is-fresh{animation:windowIn 450ms var(--pruzina) both}
@keyframes windowIn{0%{opacity:.3;transform:scale(.86)}100%{opacity:1;transform:none}}
@media (hover:hover){.windowBtn:hover .coin{transform:scale(1.08)}.window--today .coin{transition:transform var(--t-kratky) var(--plynule)}}
.adventStatus{margin-top:14px;font:500 15px/1.45 var(--pismo-text)}
.adventStatus b{font-weight:700}
.adventActions{display:grid;gap:10px;margin-top:22px}
.adventActions .calMenu{margin-bottom:0}
.adventDaysTitle{margin-top:32px;font:800 20px/1.15 var(--pismo-nadpis);letter-spacing:-.01em}
.adventDaysTitle+.adventDays{margin-top:10px}
.adventCouponBtn{margin-top:12px}
.adventPage .endCta{margin-top:28px}
/* the countdown (before 1 December): the Lock with the windows still closed above the date (the day stays
   19 px bold = large text: white on the translucent cell has 3.6 : 1) */
.adventWindows--small{align-self:stretch;max-width:420px;gap:5px;margin:2px 0 6px}
/* "Připomenout e-mailem": the form unfolds under its button, on the theme surface */
.remindForm{display:grid;gap:10px;margin-top:12px}
.remindNote{font:500 15px/1.45 var(--pismo-text)}
.remindStatus{font:600 15px/1.45 var(--pismo-text)}
.remindStatus:empty{display:none}
.windowCard .msgText{margin-bottom:8px}
