:root{font-family:"Nunito",ui-rounded,"Trebuchet MS",system-ui,sans-serif;color:#092a50;background:#f3f9ff;font-size:16px;--blue:#115ac7;--navy:#092a50}
*{box-sizing:border-box}body{margin:0;min-height:100vh}header{background:white;border-bottom:1px solid #c7def3}.nav,footer,.hero{max-width:1100px;margin:auto}.nav,footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:14px 5%}.nav a,footer a{color:var(--blue);text-underline-offset:4px;font-weight:700}.nav .brand{color:var(--navy);display:flex;gap:.65rem;align-items:center;text-decoration:none;font-size:1.2rem;font-weight:900}.brand img{height:42px;width:auto}.hero{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:clamp(2rem,7vw,6rem);padding:clamp(3rem,7vw,7rem) 5%;min-height:72vh}h1,h2,h3,p{margin:0 0 1rem}h1,h2{letter-spacing:-.045em;line-height:1.04}.hero h1{font-size:clamp(2.9rem,5.6vw,5rem)}em{font-style:normal;color:var(--blue)}p,li{line-height:1.55}.hero p{max-width:38rem;font-size:1.1rem}.button,button{font:inherit;font-weight:800;cursor:pointer;border:1px solid #b2cdec;border-radius:15px;background:white;color:var(--navy);padding:.92rem 1.25rem;display:inline-block;text-decoration:none;text-align:center;min-height:48px}.primary{color:white;background:var(--blue);border-color:var(--blue)}.hero .button{margin-top:.65rem}.postcard{margin:0;position:relative;border-radius:26px;background:white;box-shadow:10px 12px 0 #a8d7ff;padding:12px;transform:rotate(2deg)}.postcard img{display:block;width:100%;aspect-ratio:1.1;object-fit:cover;object-position:50% 58%;border-radius:17px}.postcard figcaption{font-size:clamp(1.2rem,2.4vw,1.9rem);font-weight:800;text-align:center;line-height:1.12;padding:14px 6px 7px}.postcard strong{color:var(--blue)}footer{align-items:flex-start;border-top:1px solid #c7def3;font-size:.9rem}footer details{max-width:55%}summary{cursor:pointer}footer p{margin-top:.6rem}
.game{background:linear-gradient(155deg,#174fbb,#1274ce 70%,#327fc9);color:white}.arena{max-width:650px;margin:auto;padding:clamp(2rem,6vw,5rem) 18px 3rem}.arena h1{font-size:clamp(2.5rem,7vw,4rem)}.arena h2{font-size:clamp(1.55rem,5vw,2.25rem);line-height:1.16}.panel{background:white;color:var(--navy);padding:clamp(1.2rem,4vw,2rem);border-radius:24px;margin:1rem 0}.stack{display:grid;gap:10px}.panel label{font-weight:700;display:block;margin-bottom:.4rem}.panel input{display:block;font:inherit;width:100%;padding:.85rem;border:1px solid #95b6d7;border-radius:12px;margin-bottom:.9rem}.panel button.primary{width:100%}.textbtn{color:white;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:.6rem}.small{font-size:.95rem}.code{font-size:clamp(2.4rem,8vw,4rem);letter-spacing:.1em;font-weight:900}.answer{text-align:left;background:#d3f4e5;border:2px solid transparent}.answer:nth-child(2){background:#ffedb4}.answer:nth-child(3){background:#ffd4e2}.answer:nth-child(4){background:#e1dbff}.answer b{display:inline-grid;place-items:center;border-radius:9px;background:white;width:2rem;height:2rem;margin-right:.65rem}.answer[disabled]{cursor:default}.selected{border-color:#092a50}.meter{display:block;width:100%;height:10px;accent-color:#a7f2ff}.rows{padding:0;list-style:none}.rows li{display:flex;justify-content:space-between;gap:1rem;overflow-wrap:anywhere;padding:.65rem 0;border-bottom:1px solid #d9e8f5}.rows b{white-space:nowrap}.panel p:last-child{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e38500;outline-offset:3px}#notice:not(:empty){background:#fff3cf;color:#3d2900;padding:.9rem;border-radius:12px}button:disabled:not(.answer){opacity:.6}button:hover:enabled,.button:hover{filter:brightness(.97)}
@media(max-width:650px){.hero{grid-template-columns:1fr;padding:2.2rem 6% 3rem;gap:1.7rem}.postcard{width:min(82%,320px);justify-self:center}.postcard img{aspect-ratio:1.55}.hero p{font-size:1rem}.hero .button{width:100%}.nav{padding:10px 6%}.arena{padding-top:2rem}.arena h1{font-size:2.65rem}}

.kontak h2{font-size:1.45rem;margin:0}.kontak p{margin:.3rem 0}.kontak nav{display:flex;flex-wrap:wrap;gap:.3rem .9rem}.kontak nav a{display:inline-flex;align-items:center;min-height:44px}@media(max-width:650px){footer{flex-direction:column}footer details{max-width:100%}}

[hidden]{display:none!important}.music{width:min(92%,650px);margin:12px auto;background:#fff;color:#092a50;border:1px solid #c7def3;border-radius:16px;padding:10px 14px}.music-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.music label{font-weight:bold}.music select{font:inherit;flex:1;min-width:0;color:#153e70;max-width:100%;padding:5px}.music button{padding:.4rem .8rem;min-height:40px}.music iframe{display:block;width:100%;height:90px;border:0;margin-top:6px}.music small:empty{display:none}@media(max-width:550px){.music label{width:100%}}
.sticker-area{width:min(90%,680px);margin:0 auto 2rem;padding:1rem;border:2px dashed #8dc6fb;border-radius:22px;background:#e6f5ff;text-align:center}.sticker-area p{margin:0 0 .5rem;font-weight:700}.sticker-field{position:relative;height:174px}.sticker-field button{position:absolute;left:0;bottom:auto;padding:0;border:3px solid white;border-radius:18px;overflow:hidden;box-shadow:0 3px 8px #45729c55;width:78px;height:78px;line-height:0}.sticker-field img{width:100%;height:100%;object-fit:cover}

body:not(.game){background:radial-gradient(circle at 94% 13%,#d8f4ff 0,transparent 24%),radial-gradient(circle at 3% 68%,#e9e1ff 0,transparent 27%),#f6fbff}
body:not(.game) header{background:#ffffffeb}
.hero{min-height:0}
.hero section p{max-width:31rem}
#sticker{position:fixed;z-index:20;right:12px;bottom:22px;width:76px;padding:0;border:0;background:transparent;box-shadow:none;min-height:0;line-height:1;touch-action:manipulation}
#sticker img{width:56px;height:56px;object-fit:cover;border:3px solid white;border-radius:18px;box-shadow:0 3px 10px #123c7250}
#sticker span{display:block;margin-bottom:4px;background:#ffe08a;color:#092a50;border-radius:20px;padding:5px 4px;font-size:12px;font-weight:900;white-space:nowrap}
.game #sticker{display:none}
@media(max-width:650px){.nav{gap:.4rem}.nav .brand{font-size:1rem;gap:.35rem}.brand img{height:35px}.nav .quick-music{font-size:.85rem;padding:6px!important}.nav>a:last-child{font-size:.85rem}.hero{padding-top:2rem;gap:1.3rem}.hero h1{font-size:clamp(2.4rem,10vw,3.1rem)}footer{padding-bottom:5rem}}

/* Footer and floating cat */
.kontak h2{font-size:1.2rem;letter-spacing:-.02em;margin-bottom:.35rem}
.kontak .est{font-size:.85rem;color:#55718c;margin:.35rem 0 0}
#sticker{width:98px}
#sticker img{width:78px;height:78px}
#sticker span{font-size:13px}

#home{min-height:100svh;display:flex;flex-direction:column}
#home footer{width:100%;margin-top:auto;padding:22px 6% 24px}
.kontak h2{font-size:1rem;margin:0 0 .15rem}
.kontak nav{gap:.2rem .9rem}
.kontak nav a{min-height:36px;font-size:.9rem}
.kontak .est{font-size:.78rem;margin:.15rem 0 0}
@media(max-width:650px){#home footer{margin-top:3rem;padding-bottom:24px}}
