/* v2-тема для сторінки-музею: перевизначає змінні styles.css під «Коробку спогадів» + нові секції. */
:root{
  --paper:#e8f1ff; --paper-2:#d6e6ff;
  --ink:#1d2b6b; --ink-soft:#4a5590;
  --accent:#ff5b3a; --sun:#ffcf3a;
  --display:"Rubik",system-ui,sans-serif; --body:"Rubik",system-ui,sans-serif;
  --shadow:0 14px 30px rgba(29,43,107,.14),0 2px 6px rgba(29,43,107,.08);
}
body::before{background-image:radial-gradient(1.5px 1.5px at 20px 20px,rgba(29,43,107,.13) 50%,transparent 51%);background-size:34px 34px}
h1,h2,h3{font-weight:800;letter-spacing:-.02em}
.doodle{font-family:"Rubik Doodle Shadow","Rubik",sans-serif;font-weight:400;color:var(--accent);letter-spacing:0}
.btn{font-weight:700;box-shadow:0 6px 0 #d63f20,0 14px 26px rgba(255,91,58,.3)}
.btn:active{box-shadow:0 2px 0 #d63f20}
.btn.ghost{box-shadow:0 6px 0 #c6d4f0,var(--shadow)}
.promo{background:var(--ink)}
.lead-btn{background:var(--ink);box-shadow:0 10px 24px rgba(29,43,107,.35)}
.hero h1 .scribble{color:var(--accent)}
.hero-sun{background:radial-gradient(circle at 50% 55%,#fff 0 36%,rgba(255,207,58,.45) 37% 60%,transparent 62%)}
.pin-card .year{font-weight:800}
.night{background:linear-gradient(#1d2b6b,#2b3f95)}
.night + footer{background:#2b3f95}
.garden{background-color:#eef8e6}

/* іграшки року */
.m-toys{padding-top:100px;padding-bottom:110px}
.m-toys h2,.m-toons h2{font-size:clamp(40px,5vw,70px)}
.m-sub{color:var(--ink-soft);font-size:19px;margin:12px 0 50px}
.m-shelf{position:relative;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:28px;padding:0 24px}
.m-toy{border:0;background:none;padding:0;cursor:pointer;position:relative;z-index:2;transform-origin:50% 100%}
.m-toy.wide{grid-column:span 2}
.m-toy img{width:100%;filter:drop-shadow(0 10px 10px rgba(29,43,107,.2));pointer-events:none;transform-origin:50% 100%;display:block}
.m-puff{position:absolute;right:68%;top:2%;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px rgba(29,43,107,.06);pointer-events:none;z-index:3}
.m-toy::after{content:attr(data-name);position:absolute;left:50%;top:-12px;translate:-50% -100%;background:#fff;border-radius:12px;padding:3px 12px;
  font-family:var(--hand);font-size:26px;white-space:nowrap;box-shadow:var(--shadow);opacity:0;transition:opacity .2s;pointer-events:none}
.m-toy:hover::after,.m-toy.talk::after{opacity:1}
.m-plank{position:absolute;left:0;right:0;bottom:-26px;height:30px;border-radius:8px;z-index:1;background:linear-gradient(#e2a86b,#c98a4f);box-shadow:0 14px 0 -4px #a96d38,0 22px 30px rgba(29,43,107,.2)}

/* улюблені мультики: сцена з прожектором */
.m-toons{background:radial-gradient(ellipse at 30% 40%,#3b2a7a,#1b1340 70%);color:#fff;padding:110px 0;overflow:hidden}
.m-toons h2{color:#fff}
.m-toons p{color:#d9d2ff;font-size:20px;max-width:38ch}
.m-toons-in{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.m-tag{display:inline-block;background:#b98cff;color:#1b1340;font-weight:700;border-radius:999px;padding:5px 16px;margin-bottom:16px}
.m-stage{position:relative;max-width:460px;justify-self:center;width:100%}
.m-spot{position:absolute;left:50%;top:-30%;width:120%;height:150%;translate:-50% 0;
  background:conic-gradient(from 165deg at 50% 0,transparent 0 10deg,rgba(255,240,180,.28) 12deg 24deg,transparent 26deg);filter:blur(4px);transform-origin:50% 0;animation:spot 4s ease-in-out infinite}
@keyframes spot{50%{transform:rotate(8deg)}}
.m-rumi{position:relative;width:100%;filter:drop-shadow(0 20px 30px rgba(0,0,0,.4))}
.m-spark{position:absolute;width:18px;height:18px;background:#ffe27a;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:tw 1.8s ease-in-out infinite}
.m-spark:nth-of-type(2){animation-delay:.4s}.m-spark:nth-of-type(3){animation-delay:.9s}.m-spark:nth-of-type(4){animation-delay:1.3s}
@keyframes tw{50%{transform:scale(.4) rotate(45deg);opacity:.4}}

/* пластилінова осінь */
.clay-sec{background:radial-gradient(ellipse at 20% 0,#ffe9c7,transparent 60%),linear-gradient(#fff1dc,#ffd9b0);padding:100px 0 120px}
.clay-sec h2{font-size:clamp(40px,5vw,70px)}
.clay-sub{color:var(--ink-soft);font-size:19px;margin:12px 0 30px}
.clay-board{position:relative;height:620px;border-radius:40px;background:#ffeedd;
  background-image:radial-gradient(circle at 18% 30%,rgba(255,150,80,.18) 0 60px,transparent 61px),radial-gradient(circle at 70% 70%,rgba(255,190,90,.2) 0 90px,transparent 91px);
  box-shadow:inset 0 6px 0 rgba(255,255,255,.7),inset 0 -10px 0 rgba(200,120,60,.15),var(--shadow)}
.clay{position:absolute;left:var(--x);top:var(--y);width:var(--w);border:0;background:none;padding:0;cursor:pointer;transform-origin:50% 100%}
.clay img{width:100%;filter:drop-shadow(0 14px 12px rgba(120,60,20,.28));pointer-events:none}
.clay::after{content:attr(data-name);position:absolute;left:50%;top:-6px;translate:-50% -100%;background:#fff;border-radius:12px;padding:2px 12px;
  font-family:var(--hand);font-size:26px;white-space:nowrap;box-shadow:var(--shadow);opacity:0;transition:opacity .2s;pointer-events:none}
.clay:hover::after,.clay.say::after{opacity:1}
.clay:focus-visible{outline:3px dashed var(--ink);outline-offset:6px;border-radius:16px}
.clay-real{position:absolute;right:4%;bottom:6%;width:26%;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#fff;padding:12px 12px 40px;border-radius:6px;
  transform:rotate(4deg);box-shadow:var(--shadow)}
.clay-real img{position:static !important;width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px}
.clay-note{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-family:var(--hand);font-size:22px;color:var(--ink-soft)}

@media (max-width:860px){
  .clay-board{height:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px 8px;padding:40px 14px 24px;align-items:end}
  .clay{position:relative;left:auto;top:auto;width:100%}
  .clay-real{position:relative;right:auto;bottom:auto;width:auto;grid-column:1/-1;margin:20px 10% 0}
  .m-shelf{grid-template-columns:repeat(3,1fr);row-gap:56px}
  .m-plank{display:none}
  .m-toy{border-bottom:14px solid #d99c5d;border-radius:0 0 6px 6px;padding-bottom:4px}
  .m-toons-in{grid-template-columns:1fr}
  .m-stage{max-width:320px}
}
@media (prefers-reduced-motion:reduce){.m-spot,.m-spark{animation:none}}

/* ── нове херо музею: кіно-вступ + активні дії ── */
.m-hero{position:relative;min-height:calc(100dvh - 118px);overflow:hidden;display:grid;align-items:center;padding:20px 0 70px;
  background:radial-gradient(ellipse at 70% 40%,rgba(255,255,255,.75),transparent 60%)}
.m-draw{position:absolute;inset:0;width:100%;height:100%;z-index:1;cursor:crosshair}
.m-hero-in{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1.05fr;gap:20px;align-items:center;pointer-events:none}
.m-hero-in a,.m-hero-in button,.m-st{pointer-events:auto}
.m-hero-text h1{font-size:clamp(48px,6vw,90px)}
.m-hero-text p{font-size:20px;color:var(--ink-soft);max-width:32ch;margin:20px 0 18px}
.m-hints{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.m-hints span{background:#fff;border-radius:999px;padding:6px 14px;font-weight:600;font-size:15px;box-shadow:var(--shadow)}
.m-stage{position:relative;aspect-ratio:1/1.05;width:100%;max-width:600px;justify-self:center}
.m-glow{position:absolute;inset:10% 8% 4%;border-radius:50%;background:radial-gradient(circle,#fff 0 34%,rgba(255,207,58,.4) 35% 58%,transparent 62%)}
.m-girl{position:absolute;left:50%;bottom:0;width:74%;translate:-50% 0;border:0;background:none;padding:0;cursor:pointer;transform-origin:50% 100%;z-index:3}
.m-dancer{display:block;width:100%;aspect-ratio:480/520;background:url(../assets/img/dance-strip.webp) 0 0/600% 100% no-repeat;filter:drop-shadow(0 18px 18px rgba(29,43,107,.18))}
.m-bubble{position:absolute;right:-2%;top:6%;background:#fff;border-radius:16px;padding:2px 14px;font-family:var(--hand);font-size:30px;color:var(--accent);box-shadow:var(--shadow);opacity:0}
.m-st{position:absolute;width:21%;z-index:4;cursor:grab;touch-action:none;filter:drop-shadow(0 10px 12px rgba(29,43,107,.25));user-select:none;-webkit-user-drag:none}
.m-st:active{cursor:grabbing}
.m-crayons{position:absolute;left:50%;bottom:18px;translate:-50% 0;z-index:5;display:flex;gap:8px;align-items:center;background:#fff;border-radius:999px;padding:8px 12px;box-shadow:var(--shadow)}
.m-crayons button{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #e3e8f5;cursor:pointer;background:var(--c)}
.m-crayons button.on{box-shadow:0 0 0 3px var(--ink);transform:scale(1.12)}
.m-crayons .m-erase{width:auto;border-radius:999px;padding:0 12px;background:var(--sky,#e8f1ff);font-weight:700;color:var(--ink);font-size:14px}

/* двері музею */
.m-doors{position:absolute;inset:0;z-index:20;perspective:1600px;pointer-events:none}
.m-door{position:absolute;top:0;bottom:0;width:50.5%;display:grid;place-items:center;
  background:repeating-linear-gradient(90deg,#ffb4c6 0 34px,#ff9fb6 34px 68px);box-shadow:inset 0 0 0 12px #ff8aa8}
.m-door span{font-weight:800;font-size:clamp(40px,6vw,96px);color:#fff;text-shadow:0 4px 0 #e06b8b;translate:0 calc(-50% - 48px)}
.m-door.l{left:0;transform-origin:0 50%}.m-door.r{right:0;transform-origin:100% 50%}
.m-ribbon{position:absolute;left:0;right:0;top:50%;height:26px;translate:0 -50%}
.m-ribbon i{position:absolute;top:0;height:100%;width:50%;background:linear-gradient(#ff4d3a,#d62f1e);box-shadow:0 4px 10px rgba(0,0,0,.2)}
.m-ribbon .a{left:0;transform-origin:0 50%}.m-ribbon .b{right:0;transform-origin:100% 50%}
.m-bow{position:absolute;left:50%;top:50%;width:70px;height:70px;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,#ff6a55 0 30%,#d62f1e 31% 60%,transparent 61%)}
.m-sign{position:absolute;left:50%;top:22%;translate:-50% 0;background:#fff;border-radius:16px;padding:6px 22px;font-family:var(--hand);font-size:40px;color:var(--accent);box-shadow:var(--shadow);rotate:-4deg}

@media (max-width:860px){
  .m-hero{min-height:0;padding:0 0 90px}
  .m-hero-in{grid-template-columns:1fr;gap:0}
  .m-stage{order:-1;max-width:380px}
  .m-hero-text h1{font-size:46px}
  .m-hero-text p{font-size:17px}
  .m-draw{pointer-events:none}
  .m-hero.drawing .m-draw{pointer-events:auto;touch-action:none}
  .m-crayons{bottom:14px;padding:6px 10px;gap:6px}
  .m-crayons button{width:30px;height:30px}
}

/* ── «Намалюй їй щось»: окреме місце для малювання ── */
.m-hint-link{background:var(--accent) !important;color:#fff !important;text-decoration:none;border-radius:999px;padding:6px 14px;font-weight:700;font-size:15px;box-shadow:var(--shadow);pointer-events:auto}
.d-sec{padding:90px 0 110px;background:linear-gradient(#e8f1ff,#f3eaff)}
.d-head h2{font-size:clamp(40px,5vw,70px)}
.d-head p{color:var(--ink-soft);font-size:19px;max-width:44ch;margin:12px 0 36px}
.d-desk{display:grid;grid-template-columns:1fr 250px;gap:40px;align-items:start}
.d-easel{position:relative;padding:22px 22px 30px;border-radius:24px;background:linear-gradient(#e2a86b,#c98a4f);box-shadow:0 26px 50px rgba(29,43,107,.25),inset 0 -8px 0 rgba(0,0,0,.12)}
.d-clip{position:absolute;left:50%;top:6px;width:120px;height:34px;translate:-50% 0;border-radius:10px;background:linear-gradient(#cfd6e6,#9aa6c2);box-shadow:0 4px 8px rgba(0,0,0,.25);z-index:3}
.d-sheet{position:relative;aspect-ratio:4/3;border-radius:6px;overflow:hidden;background:#fffdf8;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05),0 4px 10px rgba(0,0,0,.12)}
.d-sheet canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:none;display:block}
.d-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font-family:var(--hand);font-size:clamp(28px,3vw,40px);color:#b8c0d8;pointer-events:none;transition:opacity .4s}
.d-empty.gone{opacity:0}
.d-pen{position:absolute;left:0;top:0;width:120px;margin:-12px 0 0 -6px;transform-origin:0 50%;pointer-events:none;opacity:0;z-index:2;filter:drop-shadow(0 6px 6px rgba(0,0,0,.2));transition:opacity .2s}
.d-pen.on{opacity:1}
.d-pen.press{filter:drop-shadow(0 2px 2px rgba(0,0,0,.25))}
.d-tray{display:grid;gap:14px;background:#fff;border-radius:24px;padding:18px;box-shadow:var(--shadow)}
.d-crayons{display:grid;gap:4px}
.d-crayon{border:0;background:none;padding:2px 0;cursor:pointer;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.d-crayon img{width:100%;pointer-events:none}
.d-crayon:hover{transform:translateX(-6px)}
.d-crayon.on{transform:translateX(-16px) scale(1.06)}
.d-tools{display:flex;gap:8px}
.d-tool{flex:1;border:0;border-radius:999px;padding:9px 10px;background:var(--paper-2,#d6e6ff);color:var(--ink);font-weight:700;font-size:14px;cursor:pointer}
.d-hang{justify-content:center;font-size:17px;padding:13px 16px;white-space:normal}
.d-save{flex:none}
/* холодильник */
.d-fridge{position:relative;margin-top:60px;border-radius:40px;padding:34px 34px 40px 60px;min-height:300px;
  background:linear-gradient(135deg,#bfe8dc,#9fd7c6);box-shadow:inset 0 0 0 10px #b2e0d2,0 30px 60px rgba(29,43,107,.2)}
.d-handle{position:absolute;left:22px;top:40px;bottom:40px;width:14px;border-radius:10px;background:linear-gradient(90deg,#e9f6f2,#8cc9b8)}
.d-fridge-title{font-family:var(--hand);font-size:32px;color:#2f6f5f;margin-bottom:16px}
.d-wall{display:flex;flex-wrap:wrap;gap:22px;align-items:flex-start}
.d-none{font-family:var(--hand);font-size:26px;color:#4c8c7b;margin:20px 0}
.d-note{position:relative;margin:0;width:190px;background:#fff;padding:8px 8px 14px;border-radius:4px;rotate:var(--r);box-shadow:0 12px 20px rgba(29,43,107,.2)}
.d-note img{width:100%;border-radius:2px}
.d-mag{position:absolute;left:50%;top:-12px;width:30px;height:30px;translate:-50% 0;border-radius:50%;box-shadow:inset -4px -4px 0 rgba(0,0,0,.18),0 4px 6px rgba(0,0,0,.25)}
@media (max-width:860px){
  .d-desk{grid-template-columns:1fr;gap:20px}
  .d-easel{padding:16px 12px 22px}
  .d-tray{grid-template-columns:1fr 1fr;align-items:center}
  .d-crayons{grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:6px 10px}
  .d-crayon.on{transform:translateY(-6px) scale(1.06)}
  .d-tools{grid-column:1/-1}
  .d-hang{grid-column:1/-1}
  .d-save{grid-column:1/-1}
  .d-pen{width:84px}
  .d-fridge{padding:26px 18px 30px 44px;border-radius:30px}
  .d-handle{left:14px}
  .d-note{width:calc(50% - 12px)}
}

/* стрілочка «дивись тут» під кнопками колажу (лише на телефоні, де полотно нижче) */
.look-down{display:none}
@media (max-width:860px){
  .look-down{display:inline-flex;flex-direction:column;align-items:center;gap:2px;margin:10px auto 0;text-decoration:none;
    font-family:var(--hand);font-size:26px;color:var(--accent);width:100%}
  .look-down span{font-family:var(--body);font-weight:800;font-size:34px;animation:lookDown 1.1s ease-in-out infinite}
  @keyframes lookDown{50%{transform:translateY(10px)}}
}

/* екскурсія музеєм */
.m-ctas{display:flex;gap:12px;flex-wrap:wrap;pointer-events:auto}
.tour-btn{background:var(--ink);box-shadow:0 6px 0 #0e1640,0 14px 26px rgba(29,43,107,.3);border:0;cursor:pointer}
.tour-bar{position:fixed;left:50%;bottom:20px;translate:-50% 0;z-index:90;display:flex;align-items:center;gap:12px;max-width:min(720px,calc(100vw - 24px));
  background:var(--ink);color:#fff;border-radius:999px;padding:10px 10px 10px 18px;box-shadow:0 16px 40px rgba(29,43,107,.4)}
.tour-bar[hidden]{display:none}
.tour-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex:none;animation:tourDot 1s ease-in-out infinite}
@keyframes tourDot{50%{opacity:.3}}
.tour-cap{font-weight:600;font-size:16px;line-height:1.25;white-space:nowrap}
.tour-cta{display:none;background:var(--accent);color:#fff;text-decoration:none;font-weight:700;border-radius:999px;padding:8px 16px;white-space:nowrap}
.tour-bar.done .tour-cta{display:inline-block}
.tour-bar.done .tour-dot{animation:none;background:var(--sun)}
.tour-stop{flex:none;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:16px;cursor:pointer}
@media (max-width:860px){ .tour-bar{bottom:12px;border-radius:22px;padding:10px 10px 10px 14px} .tour-cap{font-size:14px} }

.touring .lead-btn,.touring .promo{visibility:hidden}

/* екскурсія: хмаринка-діалог унизу і пальчик */
.tb{position:fixed;z-index:95;left:50%;bottom:86px;width:min(460px,calc(100vw - 24px));margin-left:calc(min(460px,calc(100vw - 24px)) / -2);
  background:#fff;color:var(--ink);border-radius:28px;padding:16px 22px 18px;
  box-shadow:0 18px 44px rgba(29,43,107,.25),0 0 0 3px rgba(29,43,107,.06);transform-origin:var(--tail,50%) 0;pointer-events:none}
.tb[hidden]{display:none}
.tb-t{display:block;font-family:'Caveat',cursive;font-size:29px;line-height:1;color:var(--accent);margin-bottom:6px}
.tb-p{margin:0;font-size:17px;line-height:1.38;font-weight:600}
.tb-tail{position:absolute;left:calc(var(--tail,50%) - 12px);top:-11px;width:24px;height:24px;background:#fff;rotate:45deg;border-radius:5px;transition:left .6s ease-in-out}
.tb::before,.tb::after{content:"";position:absolute;background:#fff;border-radius:50%;z-index:-1}
.tb::before{width:52px;height:52px;left:9%;top:-17px}
.tb::after{width:38px;height:38px;right:11%;top:-12px}
.tf{position:fixed;z-index:96;left:0;top:0;pointer-events:none;transform-origin:4% 96%;filter:drop-shadow(0 10px 12px rgba(29,43,107,.3))}
.tf[hidden]{display:none}
@media (max-width:700px){ .tb{bottom:72px;padding:14px 18px 16px;border-radius:24px} .tb-t{font-size:25px} .tb-p{font-size:15.5px} }

/* пісня року: офіційне відео YouTube + дівчинка «співає» */
.song-btn{display:inline-flex;align-items:center;gap:12px;margin-top:26px;border:0;cursor:pointer;font:inherit;font-weight:700;font-size:18px;
  color:#1b1340;background:linear-gradient(135deg,#ffe27a,#ffb4c6);border-radius:999px;padding:12px 24px 12px 14px;box-shadow:0 10px 30px rgba(255,180,198,.35);transition:transform .25s cubic-bezier(.16,1,.3,1)}
.song-btn:hover{transform:translateY(-2px)}.song-btn:active{transform:scale(.98)}
.song-ic{width:34px;height:34px;border-radius:50%;background:#1b1340;position:relative;flex:none}
.song-ic::after{content:"";position:absolute;left:13px;top:10px;border-left:11px solid #ffe27a;border-top:7px solid transparent;border-bottom:7px solid transparent}
.song-btn.on .song-ic::after{left:11px;top:11px;width:4px;height:12px;border:0;background:#ffe27a;box-shadow:7px 0 0 #ffe27a}
.song-player{margin-top:18px;width:min(460px,100%);aspect-ratio:16/9;border-radius:18px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.45);background:#000}
.song-player iframe{width:100%;height:100%;border:0;display:block}
.song-note{font-size:13px !important;color:#a99fe0 !important;margin-top:10px}
.m-note{position:absolute;bottom:62%;font-size:34px;color:#ffe27a;text-shadow:0 0 14px rgba(255,226,122,.7);pointer-events:none;z-index:3}
.m-toons.singing .m-spot{animation-duration:1.2s}

/* гіфка-сцена в залі Румі */
.m-rumi-gif{height:auto;border-radius:28px;box-shadow:0 30px 70px rgba(0,0,0,.45),0 0 0 4px rgba(255,226,122,.25);filter:none}
.m-stage:has(.m-rumi-gif) .m-spot,.m-stage:has(.m-rumi-gif) .m-spark{display:none}

/* небо: голуб летить вище за котиків, заголовок над хмарами */
/* 27.11: небо вище — голуб далеко над котиками; котик стрибає, ловить його й висить, тож він над голубом */
.sky{min-height:max(130vh,1160px)}
.sky .flight{top:270px;width:190px}   /* під заголовком (110px відступ + рядок) з запасом на хвилю польоту */
.sky .wrap{position:relative;z-index:4}
.moons{z-index:5}
.moons figure{cursor:pointer}
.moons img{will-change:transform}
@media (max-width:860px){ .sky{min-height:max(118vh,1040px)} .sky .flight{top:290px} }

/* кнопка музики — платівка (27.11): вимкнена підстрибує, увімкнена крутиться й випускає нотки */
.music-btn{position:fixed;left:18px;bottom:18px;z-index:89;display:inline-flex;align-items:center;gap:12px;border:0;cursor:pointer;font:inherit;text-align:left;
  color:var(--ink);background:#fff;border-radius:999px;padding:7px 18px 7px 7px;box-shadow:0 10px 26px rgba(29,43,107,.2);transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s}
.music-btn:hover{transform:translateY(-3px) rotate(-2deg);box-shadow:0 14px 30px rgba(29,43,107,.26)}
.music-btn:active{transform:scale(.96)}
.music-btn:focus-visible{outline:3px dashed var(--ink);outline-offset:3px}
.mb-disc{position:relative;flex:none;width:46px;height:46px;border-radius:50%;
  background:radial-gradient(circle,#2a2f55 0 22%,transparent 23%),repeating-radial-gradient(circle,#1d2140 0 2px,#2b3160 2px 4px);
  box-shadow:inset 0 0 0 2px #151832,0 3px 8px rgba(0,0,0,.25)}
.mb-disc::after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 30deg,transparent 0 12%,rgba(255,255,255,.22) 16%,transparent 22% 62%,rgba(255,255,255,.14) 66%,transparent 72%)}
.mb-label{position:absolute;inset:31%;border-radius:50%;background:radial-gradient(circle,#1d2140 0 14%,#ffd23f 16% 100%);box-shadow:0 0 0 2px #ff8aa8}
.mb-play{position:absolute;inset:0;margin:auto;width:0;height:0;border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent;translate:2px 0;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));transition:opacity .25s,scale .25s}
.mb-txt{display:flex;flex-direction:column;line-height:1.15}
.mb-l{font-weight:700;font-size:15px}
.mb-txt small{font-family:"Caveat",cursive;font-size:17px;color:var(--accent);font-weight:700}
.music-btn.on .mb-disc{animation:mbSpin 3.2s linear infinite}
.music-btn.on .mb-play{opacity:0;scale:.4}
@keyframes mbSpin{to{rotate:360deg}}
.music-btn.nudge{animation:mbNudge .9s cubic-bezier(.3,1.6,.5,1)}
@keyframes mbNudge{0%,100%{translate:0 0}30%{translate:0 -10px;rotate:-6deg}55%{translate:0 0;rotate:3deg}75%{translate:0 -4px;rotate:0deg}}
.mb-note{position:absolute;left:20px;top:4px;font-size:20px;color:var(--accent);pointer-events:none;text-shadow:0 2px 6px rgba(255,255,255,.9);
  animation:mbNote 2.2s ease-out forwards}
.mb-note:nth-of-type(odd){color:#7a6cf0}
@keyframes mbNote{0%{opacity:0;transform:translate(0,0) scale(.5)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),-70px) rotate(var(--rot)) scale(1.15)}}
.touring .music-btn{bottom:auto;top:14px}
@media (max-width:700px){ .music-btn{left:12px;bottom:14px;padding:5px} .mb-txt{display:none} .mb-disc{width:44px;height:44px} }
@media (prefers-reduced-motion:reduce){ .music-btn.on .mb-disc,.music-btn.nudge,.mb-note{animation:none} .mb-note{display:none} }

/* іграшки: без синьої рамки після кліку, сердечко/дим над іграшкою */
.m-toy:focus{outline:none}.m-toy:focus-visible{outline:3px solid var(--accent);outline-offset:6px;border-radius:14px}
.m-toy img{width:88%;margin:0 auto}
.m-pop{position:absolute;right:2%;top:24%;font-size:30px;color:#ff5b8a;text-shadow:0 2px 6px rgba(255,91,138,.35);pointer-events:none;z-index:3}
.m-toy.wide .m-puff{right:auto;left:16%;top:-2%}

/* 27.11 зайчик: праве вухо окремим шаром (те саме зображення з маскою), по кліку піднімається догори.
   Тінь — на кнопці, а не на картинках: інакше тінь схованого вуха лишається «привидом». */
.m-toy:has(.bun-ear){filter:drop-shadow(0 10px 10px rgba(29,43,107,.2))}
.m-toy .bun-body,.m-toy .bun-ear{filter:none}
.m-toy .bun-body{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 431' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H430V431H0Z M268 22 L300 4 L342 4 L380 26 L406 68 L424 124 L431 185 L431 240 L418 272 L386 280 L356 262 L326 236 L313 202 L309 165 L307 120 L303 80 L290 50Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 431' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M0 0H430V431H0Z M268 22 L300 4 L342 4 L380 26 L406 68 L424 124 L431 185 L431 240 L418 272 L386 280 L356 262 L326 236 L313 202 L309 165 L307 120 L303 80 L290 50Z'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;mask-size:100% 100%}
.m-toy .bun-ear{position:absolute;top:0;left:6%;width:88%;margin:0;clip-path:polygon(62.8% 3.7%,69.8% 0.9%,79.5% 0.9%,88.4% 6.0%,94.4% 15.8%,98.6% 28.8%,100.2% 42.9%,100.2% 55.7%,97.2% 63.1%,89.8% 65.0%,82.8% 60.8%,76.3% 55.2%,71.9% 47.8%,69.8% 38.3%,69.1% 27.8%,68.4% 18.6%,67.0% 11.1%);transform-origin:67.4% 8.1%}
.m-toy:has(.bun-ear)::after{left:28%}   /* підпис не закриває підняте праве вухо */

/* 27.11 «Галерея малюнків» довша за «Музей» — на вузьких екранах менший шрифт, щоб слова не зливались */
@media (max-width:600px){ .m-door span{font-size:9vw} }

/* 27.11 голуб «летить»: аплікацію повернуто вліво (голова в бік польоту), табличка під нею */
.sky .flight > img:first-child{rotate:-55deg}
.sky .flight .badge{left:60%;top:68%}
