html.hm-lock,html.hm-lock body{overscroll-behavior:none;overflow:hidden}.hm-menu{padding:6px 0 4px}.hm-hero{justify-content:center;gap:10px;margin:8px 0 16px;display:flex}.hm-hb{background:radial-gradient(circle at 35% 30%, #ffffffbf 0 10%, var(--c) 45%);width:34px;height:42px;animation:2.4s ease-in-out infinite hm-bob;animation-delay:calc(var(--i) * .18s);border-radius:50% 50% 48% 48%;position:relative;box-shadow:inset -4px -5px 8px #0000001f}.hm-hb:after{content:"";background:#a8a29e;width:1px;height:22px;position:absolute;top:100%;left:50%}@keyframes hm-bob{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-8px)rotate(3deg)}}.hm-resume{width:100%;font:600 1rem var(--font-body);color:#be185d;cursor:pointer;background:#fdf2f8;border:2px dashed #ec4899;border-radius:14px;margin:0 0 12px;padding:12px;display:block}.hm-modes{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.hm-mode{cursor:pointer;text-align:left;font-family:var(--font-body);color:#3b2412;background:#fff;border:0;border-radius:16px;flex-direction:column;align-items:flex-start;gap:2px;padding:14px;transition:transform .15s;display:flex;box-shadow:0 4px #e4c9a5,0 8px 18px #5a320a1a}.hm-mode:hover{transform:translateY(-2px)}.hm-mode:active{transform:translateY(2px);box-shadow:0 2px #e4c9a5}.hm-mode .e{font-size:1.7rem}.hm-mode b{font-family:var(--font-head);font-size:1.12rem}.hm-mode small{color:#7b5a3d;font-size:.86rem;line-height:1.3}.hm-mode.m-classic{background:linear-gradient(135deg,#fce7f3,#fff)}.hm-mode.m-daily{background:linear-gradient(135deg,#e7fbf4,#fff)}.hm-mode.m-kids{background:linear-gradient(135deg,#fef3c7,#fff)}.hm-mode.m-duel{background:linear-gradient(135deg,#e0f2fe,#fff)}.hm-mode.m-capy{background:linear-gradient(135deg,#ede9fe,#fff)}.hm-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;display:grid}.hm-stats div{text-align:center;background:#fff8ec;border-radius:12px;padding:8px}.hm-stats b{font-family:var(--font-head);color:#be185d;font-size:1.15rem;display:block}.hm-stats small{color:#8b6a4b;font-size:.76rem}.hm-opt{flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;display:flex}.hm-opt span{margin-left:4px;font-weight:600}.hm-opt button,.hm-chips button{font:600 .92rem var(--font-body);cursor:pointer;color:#5b3816;background:#fff;border:2px solid #e1c39d;border-radius:999px;min-height:40px;padding:8px 12px}.hm-opt button.on,.hm-chips button.on{color:#fff;background:#ec4899;border-color:#be185d}.hm-chips{flex-wrap:wrap;gap:6px;display:flex}.hm-chips.big button{padding:12px 16px;font-size:1.05rem}.hm-lbl{margin:12px 0 6px;font-weight:700}.hm-note{color:#7b5a3d;margin:8px 0;font-size:.92rem}.hm-score{font-family:var(--font-head);margin:4px 0;font-size:1.1rem}.hm-err{color:#b91c1c;margin:6px 0;font-weight:600}.hm-setup{flex-direction:column;display:flex}.hm-lvtop{font-family:var(--font-head);align-items:center;gap:10px;margin-bottom:4px;font-size:1.1rem;display:flex}.hm-back{font:600 .95rem var(--font-body);cursor:pointer;color:#5b3816;background:#fff;border:0;border-radius:12px;padding:8px 12px;box-shadow:0 3px #e4c9a5}.hm-go{color:#fff;font:700 1.1rem var(--font-head);cursor:pointer;background:#ec4899;border:0;border-radius:14px;align-self:flex-start;margin-top:16px;padding:12px 26px;box-shadow:0 4px #9d174d}.hm-go:active{transform:translateY(2px);box-shadow:0 2px #9d174d}.hm-field{flex-direction:column;gap:4px;margin-top:10px;font-weight:600;display:flex}.hm-field input,.hm-card input{font:600 1.2rem var(--font-body);letter-spacing:.08em;text-transform:uppercase;background:#fff;border:2px solid #e1c39d;border-radius:12px;max-width:360px;padding:10px 12px}.hm-stage{z-index:1000;color:#3b2412;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:var(--font-body);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(at 50% 0,#fff7e8 0%,#fde9c8 70%,#f6d3a0 100%);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.hm-top{align-items:center;gap:6px;width:100%;max-width:900px;margin:0 auto;padding:6px 8px;display:flex}.hm-title{flex-direction:column;flex:1;min-width:0;line-height:1.15;display:flex}.hm-title b{font-family:var(--font-head);white-space:nowrap;text-overflow:ellipsis;font-size:1.05rem;overflow:hidden}.hm-title small{color:#8b6a4b;font-size:.78rem}.hm-ib{width:40px;height:40px;font:700 1.05rem var(--font-body);cursor:pointer;color:#5b3816;background:#fff;border:0;border-radius:12px;flex:none;box-shadow:0 3px #e4c9a5}.hm-lives{font:700 1.15rem var(--font-head);color:#be185d;background:#fff;border-radius:12px;padding:6px 10px;box-shadow:0 3px #e4c9a5}.hm-lives span{font-size:.95rem}.hm-main{flex-direction:column;flex:1;gap:6px;width:100%;max-width:900px;min-height:0;margin:0 auto;padding:0 8px 8px;display:flex}.hm-scenebox{flex:auto;justify-content:center;min-height:120px;display:flex;position:relative}.hm-scene{border-radius:18px;width:auto;max-width:100%;height:100%;max-height:300px;box-shadow:0 6px 16px #5a320a26}.hm-side{flex-direction:column;flex:none;gap:6px;display:flex}.hm-think{white-space:nowrap;background:#fff;border-radius:14px;padding:6px 12px;font-size:.9rem;font-weight:600;animation:.25s ease-out hm-in;position:absolute;bottom:10px;left:50%;transform:translate(-50%);box-shadow:0 3px 10px #0000001f}.hm-clue{text-align:center;color:#6b4a2b;min-height:1.3em;font-size:.95rem;font-weight:600}.hm-word{flex-wrap:wrap;justify-content:center;gap:6px 16px;display:flex}.hm-wd{gap:4px;display:flex}.hm-slot{width:30px;height:40px;font:700 1.6rem var(--font-head);color:#3b2412;border-bottom:4px solid #a16207;justify-content:center;align-items:center;display:flex}.hm-word.long .hm-slot{width:23px;height:34px;font-size:1.3rem}.hm-slot.on{border-color:#16a34a}.hm-slot.pop{animation:.45s cubic-bezier(.3,1.6,.5,1) hm-pop}.hm-slot.miss{color:#dc2626;border-color:#fca5a5}@keyframes hm-pop{0%{color:#16a34a;transform:scale(.2)translateY(10px)}to{transform:none}}.hm-msg{text-align:center;color:#6b4a2b;min-height:1.3em;font-size:.92rem}.hm-msg b{color:#dc2626;letter-spacing:.1em}.hm-kb{flex-direction:column;align-items:center;gap:6px;display:flex}.hm-kr{justify-content:center;gap:5px;width:100%;display:flex}.hm-k{min-width:0;height:46px;font:700 1.2rem var(--font-head);color:#3b2412;cursor:pointer;background:#fff;border:0;border-radius:10px;flex:0 40px;justify-content:center;align-items:center;transition:transform .1s;display:flex;box-shadow:0 3px #e4c9a5}.hm-k:active{transform:translateY(2px);box-shadow:0 1px #e4c9a5}.hm-k.hit{color:#fff;background:#22c55e;box-shadow:0 3px #15803d}.hm-k.wrong{color:#b6a48f;box-shadow:none;background:#e7dccd;text-decoration:line-through}.hm-kb.capy .hm-k{cursor:default;height:34px;font-size:1rem}.hm-acts{justify-content:center;gap:8px;margin-top:2px;display:flex}.hm-act{font:600 .95rem var(--font-body);cursor:pointer;color:#5b3816;background:#fff;border:2px solid #e1c39d;border-radius:999px;min-height:40px;padding:8px 16px}.hm-over{text-align:center;background:#fff;border-radius:18px;padding:12px 14px;animation:.35s ease-out hm-in;box-shadow:0 6px 18px #5a320a26}.hm-over h3{font-family:var(--font-head);margin:0 0 4px;font-size:1.2rem}.hm-over p{margin:4px 0}.hm-pts{color:#be185d;font-weight:700}.hm-stars{color:#e7dccd;justify-content:center;gap:6px;font-size:2rem;display:flex}.hm-stars .on{color:#facc15;animation:hm-star .5s calc(var(--i) * .15s) both cubic-bezier(.3, 1.8, .5, 1);text-shadow:0 2px #ca8a04}@keyframes hm-star{0%{transform:scale(0)rotate(-90deg)}}@keyframes hm-in{0%{opacity:0;transform:translateY(8px)}}.hm-row{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.hm-btn{font:700 1rem var(--font-body);cursor:pointer;color:#5b3816;background:#fff;border:2px solid #f1dfc6;border-radius:12px;padding:10px 18px;box-shadow:0 3px #e4c9a5}.hm-btn.go{color:#fff;background:#ec4899;border-color:#ec4899;box-shadow:0 3px #9d174d}.hm-modal{z-index:1001;background:#28140573;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.hm-card{background:#fffdf8;border-radius:18px;width:100%;max-width:420px;padding:16px 18px;box-shadow:0 10px 30px #00000040}.hm-card h3{font-family:var(--font-head);margin:0 0 6px}.hm-card input{box-sizing:border-box;width:100%}.hm-card ul{margin:6px 0;padding-left:18px}.hm-capy{transition:transform 1s cubic-bezier(.5,0,.3,1.2)}.hm-sway{transform-origin:150px 120px;animation:3.2s ease-in-out infinite hm-sway}.hm-sway.still{animation-duration:6s}@keyframes hm-sway{0%,to{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}.hm-balloon{animation:2.6s ease-in-out infinite hm-wob;animation-delay:calc(var(--i) * -.37s);transform-box:view-box}@keyframes hm-wob{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.hm-balloon.popping>ellipse,.hm-balloon.popping>path{transform-box:fill-box;transform-origin:50%;animation:.22s ease-out forwards hm-burst}@keyframes hm-burst{0%{transform:scale(1)}60%{opacity:.7;transform:scale(1.35)}to{opacity:0;transform:scale(1.5)}}.hm-shard{transform-box:fill-box;transform-origin:50%;animation:.55s ease-out forwards hm-shard}@keyframes hm-shard{0%{transform:rotate(var(--a)) translateX(0);opacity:1}to{transform:rotate(var(--a)) translateX(28px) translateY(10px);opacity:0}}.hm-splash{transform-origin:150px 230px;animation:1.2s ease-out .7s both hm-ripple}@keyframes hm-ripple{0%{opacity:0;transform:scale(.3)}30%{opacity:1}to{opacity:.7;transform:scale(1)}}.hm-drop{animation:.8s ease-out .8s both hm-dropfly}@keyframes hm-dropfly{0%{opacity:1;transform:translate(0)}50%{transform:translate(var(--dx), -26px)}to{transform:translate(calc(var(--dx) * 1.4), 4px);opacity:0}}.hm-splash-txt{font:700 22px var(--font-head,sans-serif);fill:#0369a1;animation:.4s 1s both hm-in}.hm-clouds{animation:18s linear infinite alternate hm-cloud}@keyframes hm-cloud{to{transform:translate(14px)}}.hm-confetti{pointer-events:none;z-index:1002;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.hm-confetti i{top:-12px;left:var(--x);background:var(--c);width:8px;height:12px;animation:hm-fall 2.4s var(--d) ease-in forwards;transform:rotate(var(--r));border-radius:2px;position:absolute}@keyframes hm-fall{to{transform:translateY(105vh) rotate(calc(var(--r) + 540deg))}}@media (min-width:760px){.hm-main{flex-direction:row;align-items:stretch;gap:16px;padding:8px 16px 16px}.hm-scenebox{flex:50%;align-items:center}.hm-scene{width:100%;height:auto;max-height:420px}.hm-side{flex:50%;justify-content:center;gap:12px}.hm-k{flex-basis:46px;height:52px}.hm-slot{width:36px;height:46px;font-size:1.9rem}}@media (orientation:landscape) and (max-height:500px){.hm-main{flex-direction:row;gap:10px}.hm-scenebox{flex:0 42%}.hm-scene{width:auto;height:100%;max-height:100%}.hm-side{flex:1;justify-content:center;gap:4px}.hm-k{height:36px;font-size:1rem}.hm-slot{height:32px;font-size:1.3rem}}@media (prefers-reduced-motion:reduce){.hm-sway,.hm-balloon,.hm-clouds,.hm-hb{animation:none}}.hm-front{animation:.3s .8s both hm-in}
