.hw-anchor-static{position:relative}
.hw-candy{position:absolute;right:6px;top:8px;z-index:5;width:56px;height:56px;padding:4px;border:0;background:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation;isolation:isolate}
.hw-candy svg{width:54px;height:54px;margin:-3px;image-rendering:pixelated;filter:drop-shadow(0 3px 3px #68444955);animation:hw-float 2.6s ease-in-out infinite;pointer-events:none}
.hw-candy i{position:absolute;width:4px;height:12px;left:6px;top:8px;background:#eab85d;animation:hw-spark 1.8s ease-in-out infinite;pointer-events:none}
.hw-candy i:after{content:'';position:absolute;width:12px;height:4px;left:-4px;top:4px;background:inherit}
.hw-candy i:last-child{left:auto;right:5px;top:38px;animation-delay:.8s}
.hw-candy:focus-visible{outline:2px solid #86556c;outline-offset:2px;border-radius:12px}
.hw-candy:disabled{opacity:.55;cursor:wait}
.hw-article-candy{top:0;right:0}
[data-reading].hw-anchor{padding-right:64px;min-height:64px}
.transport-user-pin.hw-anchor{position:absolute}
.hw-map-candy{right:-52px;top:-8px;pointer-events:auto}
#transport>.hw-map-candy{top:35%;right:auto;left:24px;z-index:20}
.hw-dialog{max-width:420px;max-height:calc(100dvh - 56px);overflow:auto;overscroll-behavior:contain}
body.tazik-app dialog.hw-dialog.app-dialog-sized{height:fit-content}
.hw-dialog h2{padding-right:22px}
.hw-dialog .hw-prize{display:block;width:160px;height:160px;object-fit:contain;image-rendering:pixelated;margin:12px auto}
.hw-found-candy{width:88px;margin:12px auto}.hw-found-candy svg{display:block;width:100%;image-rendering:pixelated}
.hw-count{display:block;text-align:center;margin:12px auto;color:#633342}
.hw-warning{background:#fae5cc;padding:12px;line-height:1.45}
.hw-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.hw-choice{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 4px;min-width:0;border:1px solid #87796344;background:#fff9ec;color:inherit;text-align:center;font-size:14px}
.hw-choice img{width:100%;max-width:88px;aspect-ratio:1;object-fit:contain;image-rendering:pixelated}
.hw-choice[aria-pressed=true]{border-color:#426a55;box-shadow:inset 0 0 0 1px #426a55;background:#e7edda}
.hw-dialog>.wide{display:block;width:100%;margin-top:12px;min-height:44px}.hw-status:empty{display:none}.hw-status{color:#9e4b39}
@keyframes hw-float{0%,100%{transform:translateY(2px) rotate(-7deg)}50%{transform:translateY(-5px) rotate(6deg)}}
@keyframes hw-spark{0%,100%{opacity:.15;transform:scale(.5)}50%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.hw-candy svg,.hw-candy i{animation:none}}

/* Decorative candy never inherits the event/transport button surface. */
body button.hw-candy,body button.hw-candy:hover,body button.hw-candy:active,body button.hw-candy:disabled{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.hw-events-host{position:relative;height:60px;margin:0 16px}
.hw-basin-host{position:relative;min-width:0;display:flex}
.hw-basin-host>.collectible{width:100%;height:100%}
.hw-basin-host>.hw-candy{top:4px;right:4px}
#transport:not([data-entry=done]):not([data-entry=warm])>.hw-map-candy{visibility:hidden;pointer-events:none}
body.tazik-app .leader-scene[data-background="1004"]{--leader-base:linear-gradient(#d6cedf,#c9bdd4)}
