.dhg{max-width:900px;margin:1.2rem auto;padding:clamp(16px,4vw,32px);border:2px solid #6649ad;border-radius:20px;background:linear-gradient(130deg,#f4ecff,#ecf9ff);color:#222;font:inherit;box-sizing:border-box}.dhg *{box-sizing:border-box}.dhg h3{margin:0 0 .6em;color:#493184}.dhg-instructions{margin:.4em 0}.dhg-progress{font-weight:700}.dhg-bank,.dhg-answer{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:15px;min-height:88px;border-radius:12px}.dhg-answer{background:#fff;border:2px dashed #6653a7;margin:12px 0;color:#59525d}.dhg-bank{background:#e4daf8}.dhg .dhg-tile{min-width:58px;min-height:48px;padding:9px 14px;border:2px solid #433674;border-radius:9px;background:#30265e;color:#fff;font:700 clamp(17px,2.5vw,25px)/1.25 inherit;cursor:pointer;touch-action:manipulation}.dhg .dhg-tile:hover,.dhg .dhg-tile:focus-visible{background:#6049a5}.dhg .dhg-tile{touch-action:none;user-select:none}.dhg .dhg-tile.dhg-dragging{opacity:.55;cursor:grabbing}.dhg .dhg-drop-target{outline:3px solid #f59e0b;outline-offset:2px}.dhg-ghost{position:fixed;left:0;top:0;z-index:2147483000;pointer-events:none;padding:12px 18px;border-radius:12px;background:#facc15;color:#24104a;border:3px solid #7136b4;box-shadow:0 14px 25px #28194855;font-size:22px;font-weight:800;white-space:nowrap}.dhg-gap{display:inline-flex;flex:none;align-self:stretch;min-height:50px;width:42px;border:3px dashed #ec4899;border-radius:10px;background:#fce7f3;animation:dhg-gap-pulse .7s ease-in-out infinite alternate}.dhg-fireworks{position:fixed;inset:0;z-index:2147482000;pointer-events:none;overflow:hidden}.dhg-spark{position:absolute;left:var(--x);top:var(--y);width:11px;height:11px;border-radius:50%;background:hsl(var(--h),100%,55%);opacity:0;animation:dhg-burst 2.15s var(--delay) ease-out forwards}@keyframes dhg-burst{0%{opacity:1;transform:rotate(var(--a)) translateX(0) scale(1.4)}70%{opacity:1}100%{opacity:0;transform:rotate(var(--a)) translateX(170px) scale(.25)}}@keyframes dhg-gap-pulse{to{background:#f9a8d4;transform:scale(1.08)}}@media(max-width:480px){.dhg-spark{width:8px;height:8px}.dhg-gap{width:30px}}@media(prefers-reduced-motion:reduce){.dhg-gap,.dhg-spark{animation:none}}.dhg-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.dhg-actions button{padding:10px 18px;border:0;border-radius:9px;background:#175782;color:#fff;font-weight:700;cursor:pointer;min-height:44px}.dhg-actions button:disabled{opacity:.55;cursor:not-allowed}.dhg-actions button[hidden]{display:none}.dhg-feedback{min-height:2em;font-weight:700}.dhg :focus-visible{outline:3px solid #de6813;outline-offset:3px}@media(max-width:480px){.dhg{padding:14px}.dhg-bank,.dhg-answer{padding:10px;gap:6px}.dhg .dhg-tile{padding:8px 10px;min-width:44px}}
