/* Sezónní vzhled: Vánoce a Velikonoce. Načítá se jen když je některý vzhled zapnutý. Přepisuje barvy a přidává dekorace, rozložení se nemění. */

/* ---------- společné ---------- */
.seasonbar{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 16px;font-size:14px;font-weight:600;text-align:center;line-height:1.35}
.seasonbar svg{flex:none;width:22px;height:22px}
.theme-snow{position:fixed;inset:0;pointer-events:none;z-index:25;overflow:hidden}
.theme-snow i{position:absolute;top:-12px;color:#fff;font-style:normal;text-shadow:0 0 3px rgba(60,80,110,.55);animation:kbfall linear infinite;opacity:.9}
@keyframes kbfall{to{transform:translate3d(var(--dx,20px),105vh,0) rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.theme-snow{display:none}}

/* ---------- VÁNOCE ---------- */
body.theme-vanoce{--lime:#D93A3A;--lime-ink:#fff;--bg:#EEF2F0;--bg-2:#E1EAE6;--bg-3:#D3DFDA;--violet:#1F7A4A;--line:#C5D0CB}
body.theme-vanoce .btn-primary:hover,body.theme-vanoce .nav .nav-hi:hover{background:#C22F2F}
body.theme-vanoce .pill.lime{background:#D93A3A;color:#fff}
body.theme-vanoce .seasonbar{background:linear-gradient(90deg,#B3262B 0%,#D93A3A 35%,#1F7A4A 100%);color:#fff}
body.theme-vanoce .hdr{position:sticky}
body.theme-vanoce .hdr::after{display:none}
body.theme-vanoce .logo{position:relative}
body.theme-vanoce .logo::before{content:"";position:absolute;left:-10px;top:-7px;width:38px;height:32px;z-index:2;transform:rotate(-16deg);background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'><path d='M4 28C6 12 16 3 30 5c-2 6-3 12-1 23z' fill='%23D93A3A'/><path d='M2 26c8-4 24-4 36 0l-1 6c-10-3-24-3-34 0z' fill='%23fff'/><circle cx='31' cy='6' r='5' fill='%23fff'/></svg>") no-repeat center/contain}
body.theme-vanoce .hero-art{background:radial-gradient(120% 90% at 70% 30%,#fff 0,#F3F7F5 60%,#E4EEE9 100%)}
body.theme-vanoce .card:hover{box-shadow:0 1px 2px rgba(179,38,43,.08),0 14px 30px -16px rgba(31,122,74,.35)}
body.theme-vanoce .ftr{border-top:0;position:relative}
body.theme-vanoce .ftr::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:repeating-linear-gradient(135deg,#D93A3A 0 14px,#fff 14px 28px,#1F7A4A 28px 42px)}
body.theme-vanoce .ftr-bottom span::after{content:" · Veselé Vánoce a šťastný nový rok!";font-weight:600;color:#B3262B}

/* ---------- VELIKONOCE ---------- */
body.theme-velikonoce{--lime:#FFD23F;--lime-ink:#3A2A00;--bg:#F3F8EA;--bg-2:#E7F0D6;--bg-3:#D9E7C0;--violet:#E2619F;--line:#CFDDB5}
body.theme-velikonoce .btn-primary:hover,body.theme-velikonoce .nav .nav-hi:hover{background:#F2C21F}
body.theme-velikonoce .nav .nav-hi{color:#3A2A00}
body.theme-vanoce .nav .nav-hi{color:#fff}
body.theme-velikonoce .pill.lime{background:#FFD23F;color:#3A2A00}
body.theme-velikonoce .seasonbar{background:linear-gradient(90deg,#FFE27A 0%,#FFC2DD 50%,#B8E6C8 100%);color:#3A2A00}
body.theme-velikonoce .hdr::after{content:"";position:absolute;left:0;right:0;bottom:-15px;height:15px;pointer-events:none;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='15' viewBox='0 0 96 15'><path d='M0 0H96' stroke='%238BBF6A' stroke-width='2'/><g stroke-width='0'><path d='M12 2c4 0 7 6 7 9a7 7 0 0 1-14 0c0-3 3-9 7-9z' fill='%23FFC2DD'/><path d='M44 2c4 0 7 6 7 9a7 7 0 0 1-14 0c0-3 3-9 7-9z' fill='%23FFD23F'/><path d='M76 2c4 0 7 6 7 9a7 7 0 0 1-14 0c0-3 3-9 7-9z' fill='%23B8E6C8'/></g><path d='M7 9h10M39 9h10M71 9h10' stroke='%23fff' stroke-width='1.6' opacity='.75'/></svg>") repeat-x left top}
body.theme-velikonoce .logo{position:relative}
body.theme-velikonoce .logo::before{content:"";position:absolute;left:8px;top:-15px;width:42px;height:22px;z-index:2;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 22'><path d='M10 21C3 16 2 5 9 2c6 2 5 13 1 19z' fill='%23fff' stroke='%23C9A9B8' stroke-width='1.2'/><path d='M10 17C6 13 6 7 9 5c3 2 2 8 1 12z' fill='%23FFC2DD'/><path d='M30 21c7-5 8-16 1-19-6 2-5 13-1 19z' fill='%23fff' stroke='%23C9A9B8' stroke-width='1.2'/><path d='M30 17c4-4 4-10 1-12-3 2-2 8-1 12z' fill='%23FFC2DD'/></svg>") no-repeat center/contain}
body.theme-velikonoce .hero-art{background:radial-gradient(120% 90% at 70% 30%,#fff 0,#F6FAEE 60%,#E7F0D6 100%)}
body.theme-velikonoce .card:hover{box-shadow:0 1px 2px rgba(120,150,70,.1),0 14px 30px -16px rgba(226,97,159,.35)}
body.theme-velikonoce .ftr{border-top:0;position:relative}
body.theme-velikonoce .ftr::before{content:"";position:absolute;left:0;right:0;top:-10px;height:14px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'><path d='M0 14C4 6 6 2 8 0c2 3 3 8 5 14zM10 14c3-7 6-11 9-12 1 4 1 8 3 12zM22 14c3-5 5-9 8-11 2 3 3 7 4 11zM32 14c2-6 4-9 7-11l1 11z' fill='%238BBF6A'/></svg>") repeat-x left bottom}
body.theme-velikonoce .ftr-bottom span::after{content:" · Veselé Velikonoce!";font-weight:600;color:#C2477F}

/* ================= ROZŠÍŘENÉ DEKORACE (skript themes.js vkládá obrázky SVG) ================= */
.seasonbar{position:relative;overflow:hidden;min-height:42px}
.bar-ic{display:inline-flex;align-items:center}.bar-ic svg{height:32px;width:auto}
.seasonbar>span:not(.bar-ic){position:relative;z-index:2}

/* --- Vánoce: Santa na saních přelétává lištu --- */
.fly{position:absolute;top:3px;left:0;height:36px;pointer-events:none;z-index:1;animation:kbfly 24s linear infinite;animation-delay:1.5s;transform:translateX(100vw)}
.fly svg{height:36px;width:auto;transform:scaleX(-1)}
@keyframes kbfly{from{transform:translateX(100vw)}to{transform:translateX(-300px)}}
.sleigh .nose{animation:kbtw .9s ease-in-out infinite;filter:drop-shadow(0 0 3px #FF3B3B)}

/* --- Vánoce: blikající řetěz světýlek pod hlavičkou --- */
.xlights{position:absolute;left:0;right:0;top:100%;height:24px;display:flex;overflow:hidden;pointer-events:none;z-index:31;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='38' height='20'><path d='M0 2Q19 16 38 2' stroke='%230E3B27' stroke-width='1.6' fill='none'/></svg>") repeat-x left top}
.xlights span{flex:none;width:38px;position:relative}
.xlights span::before{content:"";position:absolute;left:15px;top:8px;width:8px;height:12px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:currentColor;box-shadow:0 0 9px 3px currentColor;animation:kbtw 2.4s ease-in-out infinite;animation-delay:inherit}
.xlights span::after{content:"";position:absolute;left:16px;top:4px;width:6px;height:5px;background:#17402C;border-radius:1px}
.xlights span:nth-child(4n+1){color:#FF4D4D}.xlights span:nth-child(4n+2){color:#FFD84D}.xlights span:nth-child(4n+3){color:#4DA3FF}.xlights span:nth-child(4n){color:#7CFF8A}
@keyframes kbtw{0%,100%{opacity:1}50%{opacity:.3}}

/* --- Vánoce: stromeček, dárky, sněhulák --- */
.xt{filter:drop-shadow(0 0 10px rgba(255,216,77,.28))}
.xt .b{animation:kbtw 1.4s ease-in-out infinite;filter:drop-shadow(0 0 3px currentColor)}
.xt .b1{animation-delay:-.35s}.xt .b2{animation-delay:-.7s}.xt .b3{animation-delay:-1.05s}
.xt .star{animation:kbstar 2s ease-in-out infinite;filter:drop-shadow(0 0 6px #FFE066);transform-origin:60px 14px}
@keyframes kbstar{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.75}}
.season-scene{position:relative;display:flex;justify-content:center;padding:6px 16px 0;margin-top:-6px;overflow:hidden}
.season-scene .scene-row{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:center;gap:clamp(8px,2.4vw,34px);width:100%;max-width:var(--wrap);padding-bottom:14px}
.season-scene svg{flex:none;height:auto}
.xt-l{height:158px!important;width:auto}.xt-m{height:112px!important;width:auto}.xp{height:58px!important;width:auto}.xs{height:104px!important;width:auto}
.scene-xmas .ground,.scene-easter .ground{background:#8BBF6A;border-radius:50% 50% 0 0/100% 100% 0 0;box-shadow:0 -2px 0 #A9D58A}
.scene-xmas .ground{background:#fff;border-radius:50% 50% 0 0/100% 100% 0 0;box-shadow:0 -2px 0 #E8EEF3}
.scene-easter .ground{background:radial-gradient(14px 12px at 14px 100%,#8BBF6A 98%,transparent) 0 0/28px 22px repeat-x,#8BBF6A;background-position:0 0,0 10px;background-size:28px 22px,100% 12px;background-repeat:repeat-x,no-repeat}
.season-corner{display:none}
@media (min-width:1560px){.season-corner{display:flex;flex-direction:column;align-items:center;gap:4px;position:fixed;bottom:12px;width:124px;pointer-events:none;z-index:20}.corner-l{left:10px}.corner-r{right:10px}.season-corner svg{height:auto;width:100%}.season-corner .eg{width:34px}}

/* --- Velikonoce: zajíc skáče přes lištu, pomlázky, kraslice --- */
.hop{position:absolute;bottom:-2px;left:0;pointer-events:none;z-index:1;animation:kbrun 38s linear infinite;animation-delay:1s;transform:translateX(-80px)}
.hop-in{animation:kbhop .7s ease-in-out infinite}
.hop svg{height:38px;width:auto}
@keyframes kbrun{from{transform:translateX(-80px)}to{transform:translateX(calc(100vw + 20px))}}
@keyframes kbhop{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.bar-ic .pz{height:34px}
.pz,.bn,.bk{overflow:visible}
.bn{height:112px!important;width:auto}.bn-s{height:38px!important}.bn-b{height:140px!important}.pz{height:150px!important;width:auto}.bk{height:80px!important;width:auto}.eg{height:auto!important}
.bar-ic .pz{height:34px!important}
.theme-snow i.egg{text-shadow:none;opacity:.85}.theme-snow i.egg svg{display:block;height:auto}

@media (prefers-reduced-motion:reduce){.fly,.hop,.hop-in,.xlights span::before,.xt .b,.xt .star,.sleigh .nose{animation:none!important}.fly{left:auto;right:16px;transform:none!important}.hop{left:16px;transform:none!important}}
@media (prefers-reduced-motion:reduce) and (max-width:1100px){.fly,.hop{display:none}}
@media (max-width:720px){.xt-l{height:110px!important}.xt-m{height:80px!important}.xs{height:74px!important}.xp{height:42px!important}.bn{height:84px!important}.bn-b{height:104px!important}.pz{height:110px!important}.bk{height:60px!important}}

/* Mobil: lišta jen na jeden řádek (jen poslední věta, např. doprava zdarma), aby netlačila web dolů */
@media(max-width:700px){.seasonbar{min-height:0;padding:6px 12px;font-size:13px;line-height:1.3;white-space:nowrap}.seasonbar .bar-long,.seasonbar .bar-ic,.seasonbar>svg,.seasonbar .fly{display:none!important}}
