.ember-collectible{position:relative;isolation:isolate;height:315px;margin:8px -16px 18px;overflow:hidden;background:radial-gradient(ellipse at 50% 67%,#571e0c22,transparent 58%);border-bottom:1px solid #43281d}
.ember-collectible canvas,.ember-fallback{position:absolute;inset:0 0 29px;width:100%;height:286px;pointer-events:none}
.ember-collectible canvas{opacity:0;transition:opacity .35s}
.ember-collectible.has-3d canvas{opacity:1}
.ember-collectible.has-3d .ember-fallback{visibility:hidden}
.ember-fallback>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ember-fallback-gem{filter:drop-shadow(0 0 12px #ff5a1f66);animation:ember-hover 3.6s ease-in-out infinite;transition:opacity .45s}
.ember-fallback-ground{opacity:.92;animation:ember-ground-pulse 3.6s ease-in-out infinite}
.ember-fallback-smoke{position:absolute;left:40%;top:24%;width:25%;height:38%;background:url('/assets/avatar/paw-smoke-wisp.png') center/contain no-repeat;opacity:0;animation:ember-smoke 5.2s linear infinite;filter:sepia(.25) brightness(.8)}
.ember-fallback-smoke:nth-of-type(2){animation-delay:-1.7s;left:45%}
.ember-fallback-smoke:nth-of-type(3){animation-delay:-3.4s;left:34%}
.ember-collectible figcaption{position:absolute;bottom:8px;left:8px;right:8px;text-align:center;font-size:12px;line-height:1.4;font-weight:800;letter-spacing:.06em;color:#e6a76f}
.ember-collectible.is-collected .ember-fallback-gem{animation:ember-pickup 1.5s ease-in forwards}
.ember-collectible.is-collected .ember-fallback-ground{opacity:.62}
.ember-collectible.is-collected .ember-fallback-smoke{top:57%;height:30%}
.ember-collectible:not(.in-view) .ember-fallback *, .ember-collectible.is-paused .ember-fallback *{animation-play-state:paused}
#hunt .game{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start}
#hunt .gamepanel{min-width:0}
#hunt .board{width:100%;max-width:100%;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start}
#hunt .tile{position:relative;min-width:0;min-height:0;width:100%;padding:0;overflow:hidden}
.tile .hunt-ember-icon{position:absolute;inset:7%;display:block;width:86%;height:86%;max-width:86%;object-fit:contain;filter:drop-shadow(0 0 8px #ff6a1f88);pointer-events:none}
@media(max-width:800px){#hunt .game{grid-template-columns:minmax(0,1fr)}}
@keyframes ember-hover{0%,100%{transform:translateY(5px);filter:drop-shadow(0 0 9px #ff5a1f55)}50%{transform:translateY(-8px);filter:drop-shadow(0 0 18px #ff792b99)}}
@keyframes ember-ground-pulse{50%{filter:brightness(1.35)}}
@keyframes ember-smoke{0%{opacity:0;transform:translate(0,24px) scale(.55) rotate(-10deg)}20%{opacity:.26}100%{opacity:0;transform:translate(22px,-75px) scale(1.65) rotate(18deg)}}
@keyframes ember-pickup{0%{opacity:1;transform:translateY(0) scale(1)}30%{opacity:1;filter:drop-shadow(0 0 25px #ffaf47cc)}100%{opacity:0;transform:translateY(-115px) scale(.05)}}
@media(max-width:600px){.ember-collectible{height:290px;margin-left:-10px;margin-right:-10px}.ember-collectible canvas,.ember-fallback{height:260px}.ember-collectible figcaption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ember-fallback *{animation:none!important;transition:none!important}.ember-fallback-smoke{display:none}.ember-collectible.is-collected .ember-fallback-gem{opacity:0}}
