/* VÁNOČNÍ UKÁZKA – dočasné. Vypnutí: v build.py nastavit VANOCE = False a spustit python3 build.py.
   Nic v style.css se kvůli tomu neměnilo; stačí tento soubor a vanoce.js nenačítat. */
:root{--xm-green:#2f5d47;--xm-red:#a5352f;--xm-gold:#c99a3f}
body{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cpath d='M52.0 60.0L69.0 60.0M62.5 60.0L65.8 56.1M62.5 60.0L65.8 63.9M52.0 60.0L60.5 74.7M57.3 69.1L62.3 70.0M57.3 69.1L55.5 73.9M52.0 60.0L43.5 74.7M46.7 69.1L48.5 73.9M46.7 69.1L41.7 70.0M52.0 60.0L35.0 60.0M41.5 60.0L38.2 63.9M41.5 60.0L38.2 56.1M52.0 60.0L43.5 45.3M46.7 50.9L41.7 50.0M46.7 50.9L48.5 46.1M52.0 60.0L60.5 45.3M57.3 50.9L55.5 46.1M57.3 50.9L62.3 50.0' stroke='%239fb6c8' stroke-width='1.2' stroke-linecap='round' fill='none' opacity='0.42'/%3E%3Cpath d='M214.0 128.0L225.0 128.0M220.8 128.0L222.9 125.5M220.8 128.0L222.9 130.5M214.0 128.0L219.5 137.5M217.4 133.9L220.7 134.5M217.4 133.9L216.3 137.0M214.0 128.0L208.5 137.5M210.6 133.9L211.7 137.0M210.6 133.9L207.3 134.5M214.0 128.0L203.0 128.0M207.2 128.0L205.1 130.5M207.2 128.0L205.1 125.5M214.0 128.0L208.5 118.5M210.6 122.1L207.3 121.5M210.6 122.1L211.7 119.0M214.0 128.0L219.5 118.5M217.4 122.1L216.3 119.0M217.4 122.1L220.7 121.5' stroke='%239fb6c8' stroke-width='1.1' stroke-linecap='round' fill='none' opacity='0.36'/%3E%3Cpath d='M118.0 236.0L132.0 236.0M126.7 236.0L129.4 232.8M126.7 236.0L129.4 239.2M118.0 236.0L125.0 248.1M122.3 243.5L126.5 244.2M122.3 243.5L120.9 247.5M118.0 236.0L111.0 248.1M113.7 243.5L115.1 247.5M113.7 243.5L109.5 244.2M118.0 236.0L104.0 236.0M109.3 236.0L106.6 239.2M109.3 236.0L106.6 232.8M118.0 236.0L111.0 223.9M113.7 228.5L109.5 227.8M113.7 228.5L115.1 224.5M118.0 236.0L125.0 223.9M122.3 228.5L120.9 224.5M122.3 228.5L126.5 227.8' stroke='%239fb6c8' stroke-width='1.1' stroke-linecap='round' fill='none' opacity='0.38'/%3E%3Cpath d='M276.0 270.0L284.0 270.0M281.0 270.0L282.5 268.2M281.0 270.0L282.5 271.8M276.0 270.0L280.0 276.9M278.5 274.3L280.8 274.7M278.5 274.3L277.7 276.6M276.0 270.0L272.0 276.9M273.5 274.3L274.3 276.6M273.5 274.3L271.2 274.7M276.0 270.0L268.0 270.0M271.0 270.0L269.5 271.8M271.0 270.0L269.5 268.2M276.0 270.0L272.0 263.1M273.5 265.7L271.2 265.3M273.5 265.7L274.3 263.4M276.0 270.0L280.0 263.1M278.5 265.7L277.7 263.4M278.5 265.7L280.8 265.3' stroke='%239fb6c8' stroke-width='1' stroke-linecap='round' fill='none' opacity='0.34'/%3E%3Ccircle cx='150' cy='40' r='1.8' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='290' cy='60' r='1.4' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='20' cy='170' r='1.5' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='180' cy='190' r='2' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='250' cy='200' r='1.3' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='60' cy='290' r='1.6' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='200' cy='300' r='1.4' fill='%239fb6c8' opacity='.34'/%3E%3Ccircle cx='110' cy='130' r='1.3' fill='%239fb6c8' opacity='.34'/%3E%3C/svg%3E");background-size:320px 320px}
#xm-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:25}

/* světýlka pod hlavičkou */
.top::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='28'%3E%3Cpath d='M0 3Q40 15 80 12T160 3' fill='none' stroke='%234a3d33' stroke-width='1.3'/%3E%3Crect x='18.4' y='6.6' width='3.2' height='4' rx='1' fill='%234a3d33'/%3E%3Cellipse cx='20' cy='15.1' rx='4.2' ry='5.6' fill='%23b8372f'/%3E%3Crect x='58.4' y='10.6' width='3.2' height='4' rx='1' fill='%234a3d33'/%3E%3Cellipse cx='60' cy='19.1' rx='4.2' ry='5.6' fill='%23d7a23a'/%3E%3Crect x='98.4' y='10.6' width='3.2' height='4' rx='1' fill='%234a3d33'/%3E%3Cellipse cx='100' cy='19.1' rx='4.2' ry='5.6' fill='%232f6b4f'/%3E%3Crect x='138.4' y='6.6' width='3.2' height='4' rx='1' fill='%234a3d33'/%3E%3Cellipse cx='140' cy='15.1' rx='4.2' ry='5.6' fill='%23f2d9a6'/%3E%3C/svg%3E") repeat-x center top;pointer-events:none}
.top::before{content:"";position:absolute;left:0;right:0;bottom:-14px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='28'%3E%3Ccircle cx='20' cy='15.1' r='9' fill='%23b8372f' opacity='.35'/%3E%3Ccircle cx='60' cy='19.1' r='9' fill='%23d7a23a' opacity='.35'/%3E%3Ccircle cx='100' cy='19.1' r='9' fill='%232f6b4f' opacity='.35'/%3E%3Ccircle cx='140' cy='15.1' r='9' fill='%23f2d9a6' opacity='.35'/%3E%3C/svg%3E") repeat-x center top;pointer-events:none;animation:xmGlow 2.6s ease-in-out infinite alternate}
@keyframes xmGlow{from{opacity:.25}to{opacity:1}}

/* sníh na fotopanelech */
.hero__panel::after,.phero__panel::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='26' preserveAspectRatio='none'%3E%3Cpath d='M0 26V14.3Q41.6 2.6 104.0 10.4T218.4 9.1T327.6 13.0T436.8 7.8T520 14.3V26Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x left bottom/520px 26px;pointer-events:none;z-index:2;opacity:.96}
.band__panel::after,.story__panel::after,.map__panel::after{content:"";position:absolute;left:0;right:0;top:-1px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='20' preserveAspectRatio='none'%3E%3Cpath d='M0 0V9.0Q20.4 20.0 47.6 10.0T102.0 11.0Q122.39999999999999 23.0 149.6 10.0T210.8 10.0Q237.99999999999997 19.0 265.2 9.0T340 9.0V0Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x left top/340px 20px;pointer-events:none;z-index:2}
.hero__facts{bottom:44px}

/* nadpisy sekcí */
.head::before{content:"";width:30px;height:30px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15.0 15.0L28.0 15.0M23.1 15.0L25.6 12.0M23.1 15.0L25.6 18.0M15.0 15.0L21.5 26.3M19.0 22.0L22.9 22.7M19.0 22.0L17.7 25.6M15.0 15.0L8.5 26.3M11.0 22.0L12.3 25.6M11.0 22.0L7.1 22.7M15.0 15.0L2.0 15.0M6.9 15.0L4.4 18.0M6.9 15.0L4.4 12.0M15.0 15.0L8.5 3.7M11.0 8.0L7.1 7.3M11.0 8.0L12.3 4.4M15.0 15.0L21.5 3.7M19.0 8.0L17.7 4.4M19.0 8.0L22.9 7.3' stroke='%232f5d47' stroke-width='1.5' stroke-linecap='round' fill='none' opacity='1'/%3E%3C/svg%3E") center/contain no-repeat}
.phead h1::after{content:"";display:inline-block;width:.5em;height:.5em;margin-left:.3em;vertical-align:.12em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20.0 20.0L38.0 20.0M31.2 20.0L34.6 15.9M31.2 20.0L34.6 24.1M20.0 20.0L29.0 35.6M25.6 29.7L30.9 30.6M25.6 29.7L23.7 34.7M20.0 20.0L11.0 35.6M14.4 29.7L16.3 34.7M14.4 29.7L9.1 30.6M20.0 20.0L2.0 20.0M8.8 20.0L5.4 24.1M8.8 20.0L5.4 15.9M20.0 20.0L11.0 4.4M14.4 10.3L9.1 9.4M14.4 10.3L16.3 5.3M20.0 20.0L29.0 4.4M25.6 10.3L23.7 5.3M25.6 10.3L30.9 9.4' stroke='%232f5d47' stroke-width='1.5' stroke-linecap='round' fill='none' opacity='1'/%3E%3C/svg%3E") center/contain no-repeat}
.eyebrow::before,.dotlist li::before{background:var(--xm-red)}
.band__body .eyebrow::before{background:var(--xm-gold)}

/* krémové boxy a karty: sněhová čepice */
.today__box,.device,.pcard__head,.doctor__photo,.card__media{position:relative}
.today__box::before,.device::before,.pcard__head::before{content:"";position:absolute;left:0;right:0;top:-1px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='20' preserveAspectRatio='none'%3E%3Cpath d='M0 0V9.0Q20.4 20.0 47.6 10.0T102.0 11.0Q122.39999999999999 23.0 149.6 10.0T210.8 10.0Q237.99999999999997 19.0 265.2 9.0T340 9.0V0Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x left top/240px 14px;pointer-events:none;z-index:1}
.today__box{overflow:hidden}
.person__photo{box-shadow:0 0 0 3px #fff,0 0 0 4.5px var(--xm-green)}
.cvbox summary::before,.person summary::before{color:var(--xm-red)}

/* patička: stromky */
.foot{position:relative;border-top-color:var(--xm-green)}
.foot::before{content:"";position:absolute;left:var(--gutter);right:var(--gutter);top:-51px;height:50px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='50'%3E%3Cpath d='M30 10l6.944000000000001 12.0h-2.976l7.4399999999999995 12.0h-3.4720000000000004l8.927999999999999 12.8h-33.728l8.927999999999999-12.8h-3.4720000000000004l7.4399999999999995-12.0h-2.976z' fill='%232f5d47'/%3E%3Crect x='28.5' y='46.0' width='3' height='4.0' fill='%236b4a32'/%3E%3Cpath d='M72 24l4.5136 7.8h-1.9344000000000001l4.836 7.8h-2.2568l5.8032 8.32h-21.9232l5.8032-8.32h-2.2568l4.836-7.8h-1.9344000000000001z' fill='%234b7a63'/%3E%3Crect x='70.5' y='47.4' width='3' height='2.6' fill='%236b4a32'/%3E%3Cpath d='M150 16l5.9024 10.2h-2.5296l6.323999999999999 10.2h-2.9512l7.588799999999999 10.88h-28.6688l7.588799999999999-10.88h-2.9512l6.323999999999999-10.2h-2.5296z' fill='%233d6b55'/%3E%3Crect x='148.5' y='46.6' width='3' height='3.4000000000000004' fill='%236b4a32'/%3E%3Cpath d='M196 28l3.8192000000000004 6.6h-1.6368l4.092 6.6h-1.9096000000000002l4.9104 7.04h-18.550400000000003l4.9104-7.04h-1.9096000000000002l4.092-6.6h-1.6368z' fill='%232f5d47'/%3E%3Crect x='194.5' y='47.8' width='3' height='2.2' fill='%236b4a32'/%3E%3Cpath d='M256 6l7.638400000000001 13.2h-3.2736l8.184 13.2h-3.8192000000000004l9.8208 14.08h-37.10080000000001l9.8208-14.08h-3.8192000000000004l8.184-13.2h-3.2736z' fill='%234b7a63'/%3E%3Crect x='254.5' y='45.6' width='3' height='4.4' fill='%236b4a32'/%3E%3Cpath d='M0 50h300' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") repeat-x left bottom;opacity:.8;pointer-events:none}
.foot{margin-top:clamp(96px,10vw,128px)}

@media (max-width:640px){
  .hero__facts{bottom:auto}
  .hero__panel{padding-bottom:40px}
  .foot::before{height:40px;top:-41px;background-size:240px 40px}
}
@media (prefers-reduced-motion:reduce){.top::before{animation:none;opacity:.6}}
@media print{#xm-snow,.top::before,.top::after{display:none}body{background-image:none}}
