:root{--bg:#fff6ec;--pink:#fdebef;--acc:#c2456b;--acc-d:#8e2e4d;--acc-t:#a8345a;--tx:#3d2b22;--tx2:#6b4a3a;--tx3:#8a6450;--tx4:#5a3e31;--off:#ebd9cb;--ph:#e58da6}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;margin:0;overflow:hidden}body{color:var(--tx);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation;font-family:Nunito,system-ui,sans-serif}button{font:inherit;cursor:pointer}[hidden]{display:none!important}h1,h2,p{margin:0}#phone{background:var(--bg);position:fixed;inset:0;overflow:hidden}@media (width>=500px){#phone{width:390px;height:844px;transform:scale(var(--s,1));border-radius:36px;margin:-422px 0 0 -195px;inset:50% auto auto 50%;box-shadow:0 0 0 8px #fff,0 24px 60px #6b4a3a40}}#stage{position:absolute;inset:0}.scene{background:var(--bg);padding:max(16px,env(safe-area-inset-top)) 20px max(28px,env(safe-area-inset-bottom));flex-direction:column;gap:18px;animation:.25s both fade;display:flex;position:absolute;inset:0;overflow:hidden}.scene.pink{background:var(--pink)}@keyframes fade{0%{opacity:0}to{opacity:1}}.bar{flex:none;align-items:center;gap:12px;transition:opacity .15s;display:flex}.segs{flex:1;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.segs i{background:var(--off);border-radius:2px;height:4px}.pink .segs i{background:#e8c9d0}.segs i.on{background:var(--acc)}.mute{background:#fff;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 2px 6px #6b4a3a26}.mute svg{fill:none;width:20px;height:20px;stroke:var(--tx2);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;grid-area:1/1}.mute .i-off,.muted .mute .i-on{display:none}.muted .mute .i-off{display:block}.hold .bar{opacity:0}.hold .scene *{animation-play-state:paused!important}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--tx3);font-size:13px;font-weight:800}.big{text-wrap:balance;font-family:"Baloo 2",sans-serif;font-weight:800;line-height:1.05}.btn{background:var(--acc);color:#fff;min-height:52px;box-shadow:0 5px 0 var(--acc-d);border:0;border-radius:999px;justify-content:center;align-items:center;gap:10px;padding:0 28px;font-family:"Baloo 2",sans-serif;font-size:18px;font-weight:800;text-decoration:none;transition:transform 80ms,box-shadow 80ms;display:flex}.btn:active{box-shadow:0 2px 0 var(--acc-d);transform:translateY(3px)}.btn.ghost{color:var(--acc-t);border:2px solid var(--acc);box-shadow:none;background:#fff}.btn.ghost:active{transform:none}.btn svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.dec,.sq{pointer-events:none;position:absolute}.slot{display:block;position:relative}.slot>img{object-fit:contain;width:100%;height:100%;display:block}.ph{border:3px dashed var(--ph);border-radius:inherit;text-align:center;width:100%;height:100%;min-height:44px;color:var(--acc-t);background:#fff;place-items:center;padding:8px;font-family:"Baloo 2",sans-serif;font-size:14px;font-weight:800;display:grid;overflow:hidden}.phtxt{border:2px dashed var(--ph);color:var(--acc-t);border-radius:10px;padding:0 8px;font-size:.7em;font-weight:800;display:inline-block}.c-start{justify-content:center;align-items:center;gap:28px;padding:40px 32px}.s-start{width:240px;height:240px}.s-start.float{animation:3.4s ease-in-out infinite float}@keyframes float{50%{transform:translateY(-8px)}}.c-start .big{text-align:center;font-size:40px}.c-start .btn{min-height:56px;box-shadow:0 6px 0 var(--acc-d);padding:0 32px;font-size:20px}.hint{color:var(--tx2);align-items:center;gap:8px;font-size:14px;display:flex}.hint svg{fill:none;width:18px;height:18px;stroke:var(--tx2);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.c-heslo{gap:18px}.s-heslo{width:200px;height:200px}.c-heslo .big{text-align:center;font-size:36px}.sub{text-align:center;color:var(--tx2);font-size:16px;line-height:1.4}.pw{flex-direction:column;gap:14px;width:100%;max-width:300px;display:flex}.pw input{border:2px solid var(--off);text-align:center;width:100%;height:56px;color:var(--tx);letter-spacing:.2em;-webkit-user-select:text;user-select:text;background:#fff;border-radius:999px;outline:none;font-family:"Baloo 2",sans-serif;font-size:24px;font-weight:800}.pw input::placeholder{color:var(--tx3);letter-spacing:.05em;font-weight:600}.pw input:focus{border-color:var(--acc)}.err{text-align:center;color:var(--acc-t);font-size:14px;font-weight:800}.pw.shake{animation:.4s shake}@keyframes shake{20%,60%{transform:translate(-8px)}40%,80%{transform:translate(8px)}}.linkbtn{min-height:44px;color:var(--acc-t);background:0 0;border:0;padding:0 14px;font-size:15px;font-weight:800;text-decoration:underline}.hintline{min-height:44px;color:var(--tx2);place-items:center;font-size:16px;font-weight:600;display:grid}.c-intro .mid{flex-direction:column;flex:1;justify-content:center;gap:24px;min-height:0;display:flex}.c-intro .hi{color:var(--acc-t);font-family:"Baloo 2",sans-serif;font-size:22px;font-weight:600}.c-intro .big{text-wrap:initial;font-size:clamp(34px,5.4dvh,44px);line-height:1.02}.c-intro .big span{color:var(--acc)}.s-intro{border-radius:28px;width:100%;height:clamp(150px,30dvh,260px)}.c-intro .mid p{color:var(--tx4);font-size:18px;line-height:1.5}.foot{text-align:center;color:var(--tx3);font-size:13px}.c-moment{gap:16px}.row{justify-content:space-between;align-items:center;display:flex}.dots{align-items:center;gap:6px;display:flex}.dots i{background:#e8c9b6;border-radius:4px;width:8px;height:8px}.dots i.on{background:var(--acc);width:22px}.pol{background:#fff;align-self:center;width:300px;max-width:100%;margin-top:10px;padding:14px 14px 56px;animation:.7s cubic-bezier(.34,1.56,.64,1) both drop;position:relative;transform:rotate(-3deg);box-shadow:0 10px 24px #6b4a3a2e}.pol .pic{background:#f1e3d6;height:clamp(190px,34dvh,280px)}.pol .pic>img{object-fit:cover}.pol time{text-align:center;color:var(--tx2);font-family:"Baloo 2",sans-serif;font-size:18px;font-weight:600;position:absolute;bottom:16px;left:0;right:0}.tape{background:#efa3b8b3;width:80px;height:24px;position:absolute;top:-12px;left:110px;transform:rotate(4deg)}.stk{width:108px;animation:.45s cubic-bezier(.34,1.56,.64,1) .55s both stick;position:absolute;bottom:-30px;right:-26px;transform:rotate(6deg)}.stk .slot>img{height:auto;max-height:140px}.stk.loc .slot>img{border:4px solid #fff;border-radius:14px;box-shadow:0 6px 14px #6b4a3a40}.stk .ph{background:var(--bg);border-radius:50%;height:108px}@keyframes drop{0%{opacity:0;transform:translateY(-40px)rotate(9deg)scale(1.15)}to{opacity:1;transform:rotate(-3deg)}}@keyframes stick{0%{opacity:0;transform:scale(1.8)rotate(-14deg)}to{opacity:1;transform:rotate(6deg)}}.cap{flex-direction:column;gap:10px;margin-top:26px;display:flex}.cap h2{font-family:"Baloo 2",sans-serif;font-size:32px;font-weight:800;line-height:1.05}.cap p{color:var(--tx4);font-size:17px;line-height:1.5}.c-hra{padding-bottom:max(20px,env(safe-area-inset-bottom));gap:14px}.score{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.score div{background:#fff;border-radius:18px;flex-direction:column;padding:10px 14px;display:flex}.score span{letter-spacing:.1em;text-transform:uppercase;color:var(--tx3);font-size:12px;font-weight:800}.score b{color:var(--acc);font-family:"Baloo 2",sans-serif;font-size:30px;font-weight:800;line-height:1.1}.score div+div b{color:var(--tx)}.s-thrower{border-radius:24px;flex:none;align-self:center;width:170px;height:clamp(84px,13dvh,120px)}.field{touch-action:none;flex:1;min-height:90px;position:relative;overflow:hidden}.fh{will-change:transform;position:absolute;top:0;left:0}.plus{color:var(--acc);pointer-events:none;font-family:"Baloo 2",sans-serif;font-size:20px;font-weight:800;animation:.7s ease-out forwards plus;position:absolute}@keyframes plus{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-34px)}}.catcher{will-change:transform;border-radius:24px;width:100px;height:140px;position:absolute;bottom:8px;left:0}.ground{background:#f2ccd6;border-radius:3px;height:6px;position:absolute;bottom:0;left:0;right:0}.over{z-index:2;text-align:center;background:#fdebefed;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:24px;animation:.25s both fade;display:flex;position:absolute;inset:0}.over[hidden]{display:none}.over p{font-family:"Baloo 2",sans-serif;font-size:30px;font-weight:800;line-height:1.1}.c-hra .hint{flex:none;justify-content:center;font-weight:600}.c-karty{gap:14px}.c-karty .head{flex-direction:column;gap:4px;display:flex}.c-karty h2{font-family:"Baloo 2",sans-serif;font-size:32px;font-weight:800;line-height:1.05}.deck{perspective:1100px;height:clamp(300px,46dvh,400px);margin-top:4px;position:relative}.deck>*{border-radius:26px;width:290px;margin-left:-145px;position:absolute;top:0;bottom:20px;left:50%}.peek1{background:#f2ccd6;transform:translate(8px,14px)rotate(5deg)}.peek2{background:#f7dce3;transform:translate(2px,8px)rotate(-3deg)}.flip{transform-style:preserve-3d;transition:transform .6s cubic-bezier(.4,.1,.2,1);width:300px!important;margin-left:-150px!important}.flip.turn{transform:rotateY(180deg)}.face{backface-visibility:hidden;background:#fff;border-radius:26px;flex-direction:column;gap:14px;padding:22px;display:flex;position:absolute;inset:0;box-shadow:0 12px 28px #6b4a3a2e}.face.back{transform:rotateY(180deg)}.face.in{animation:.3s both fade}.face .fh2{justify-content:space-between;align-items:center;display:flex}.face .n{color:var(--acc);font-family:"Baloo 2",sans-serif;font-size:16px;font-weight:800}.face .m{color:var(--tx3);font-size:13px;font-weight:600}.s-card{border-radius:20px;flex:1;min-height:80px;max-height:150px}.reason{color:var(--tx);font-family:"Baloo 2",sans-serif;font-size:clamp(20px,3dvh,24px);font-weight:600;line-height:1.2}.hs{flex:none;align-items:center;gap:4px;display:grid}.hs svg{width:100%;max-width:22px;height:20px;fill:var(--off);justify-self:center}.hs svg.on{fill:var(--acc)}.hs svg.cur{stroke:var(--tx);stroke-width:1.5px}.c-karty .btn{width:100%;margin-top:auto}.s-q{background:#fff;border-radius:50%;align-self:center;width:clamp(170px,27dvh,230px);height:clamp(170px,27dvh,230px);margin-top:clamp(0px,3dvh,30px);padding:18px}.s-q .slot,.s-q .slot>img{border-radius:50%}.c-otazka .big{text-align:center;font-size:clamp(28px,4.3dvh,36px);line-height:1.08}.chase{flex:none;height:150px;position:relative}.ano{width:150px;min-height:64px;box-shadow:0 6px 0 var(--acc-d);font-size:24px;position:absolute;top:20px;left:40px}.ne{z-index:3;box-shadow:none;width:96px;min-height:48px;color:var(--tx2);background:#fff;border:2px solid #b89a88;border-radius:999px;padding:0;font-family:"Baloo 2",sans-serif;font-size:18px;font-weight:800;transition:left .25s cubic-bezier(.34,1.56,.64,1),top .25s cubic-bezier(.34,1.56,.64,1),width .3s,opacity .15s;position:absolute;transform:rotate(-12deg)}.ne.small{width:56px;min-height:44px;font-size:15px}.ne.fadeout{opacity:0;transition:opacity .12s}.ne.nomove{transition:opacity .12s,width .3s}.c-oslava{align-items:center;gap:16px}.c-oslava .bar{width:100%}.s-osl{border-radius:40px;width:min(280px,100%);height:clamp(150px,31dvh,280px)}.c-oslava .big{text-align:center;font-size:clamp(30px,4.6dvh,38px)}.c-oslava .big span{color:var(--acc)}.cnt{background:#fff;border-radius:22px;align-items:baseline;gap:10px;padding:12px 24px;display:flex;box-shadow:0 4px 12px #c2456b1f}.cnt b{color:var(--acc);font-family:"Baloo 2",sans-serif;font-size:48px;font-weight:800;line-height:1}.cnt span{color:var(--tx4);font-size:16px;font-weight:800}.sign{text-align:center;color:var(--tx4);font-size:17px;line-height:1.5}.c-oslava .btn{margin-top:auto}#confetti{pointer-events:none;z-index:4;width:100%;height:100%;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.s-start.float,.pw.shake{animation:none}.pol,.stk{animation:.3s both fade}.stk{animation-delay:.2s}.plus{animation:.5s reverse forwards fade}}
