@media (max-width: 560px) { .teaser-art { height: 90px; } .teaser-art img { max-height: 90px; } }
.shop-item.teaser { border-style: dashed; } .shop-item.teaser .teaser-art { height: 170px; display: grid; place-items: center; } .shop-item.teaser .teaser-art img { max-height: 170px; }
.shop-item.teaser b { font-style: italic; color: rgba(233,198,106,.75); }
.coin-report li.neg em { color: #ff9a8a; }
/* v31 */
img.wi.wood { width: 1.25em; height: 1.25em; vertical-align: -.25em; object-fit: contain; filter: drop-shadow(0 1px 1px var(--shade-50)); }
.intent .ico img.wi.wood, .intent img.wi.wood { width: 25px; height: 25px; }
.mini-intent img.wi.wood { width: 19px; height: 19px; }
@keyframes bgBreathe { from { transform: scale(1.04); } to { transform: scale(1.09) translate(-1.2%, -.6%); } }
.stage-fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.stage-fx i { position: absolute; display: block; }
.fx-mist { left: -50%; width: 200%; height: 40%; bottom: 6%; opacity: .55;
  background: radial-gradient(ellipse 14% 40% at 18% 60%, rgba(239,230,210,.20), transparent 70%), radial-gradient(ellipse 20% 45% at 52% 50%, rgba(239,230,210,.15), transparent 70%),
              radial-gradient(ellipse 14% 35% at 84% 65%, rgba(239,230,210,.18), transparent 70%); animation: fxMist 70s ease-in-out infinite alternate; }
.fx-mist.b { bottom: 28%; height: 30%; opacity: .35; animation-duration: 95s; animation-direction: alternate-reverse; }
@keyframes fxMist { from { transform: translateX(-6%); } to { transform: translateX(14%); } }
.fx-motes { inset: -10% 0; opacity: .5; background-size: 140px 160px, 90px 110px; }
.fx-ember .fx-motes { background-image: radial-gradient(circle, rgba(215,185,110,.95) 0 1.6px, transparent 2.6px), radial-gradient(circle, rgba(224,205,161,.8) 0 1px, transparent 2px); animation: fxRise 12s linear infinite, fxFlick 1.6s ease-in-out infinite alternate; }
.fx-ash .fx-motes { background-image: radial-gradient(circle, rgba(168,175,202,.8) 0 1.4px, transparent 2.4px), radial-gradient(circle, rgba(220,193,125,.6) 0 1px, transparent 2px); animation: fxRise 22s linear infinite; }
.fx-snow .fx-motes { background-image: radial-gradient(circle, rgba(255,255,255,.95) 0 1.8px, transparent 2.8px), radial-gradient(circle, rgba(235,245,255,.8) 0 1.1px, transparent 2px); animation: fxFall 14s linear infinite; opacity: .7; }
.fx-rain .fx-motes { background-image: linear-gradient(170deg, transparent 46%, rgba(220,230,240,.5) 48%, transparent 52%), linear-gradient(170deg, transparent 46%, rgba(220,230,240,.35) 48%, transparent 52%); background-size: 40px 70px, 26px 50px; animation: fxRain 1.1s linear infinite; opacity: .5; }
.fx-dust .fx-motes { background-image: radial-gradient(circle, rgba(218,191,122,.75) 0 1.3px, transparent 2.3px), radial-gradient(circle, rgba(210,176,90,.6) 0 1px, transparent 2px); animation: fxDrift 18s linear infinite; }
.fx-mist .fx-motes, .stage-fx.fx-mist .fx-motes { background-image: radial-gradient(circle, rgba(230,224,210,.55) 0 1.2px, transparent 2.2px); animation: fxDrift 30s linear infinite; opacity: .35; }
@keyframes fxRise { to { background-position: 140px -160px, -90px -110px; } }
@keyframes fxFall { to { background-position: 140px 160px, -90px 110px; } }
@keyframes fxDrift { to { background-position: 140px -40px, 90px -20px; } }
@keyframes fxRain { to { background-position: -12px 70px, -9px 50px; } }
@keyframes fxFlick { from { opacity: .35; } to { opacity: .6; } }
body.no-fx .stage-bg { animation: none !important; }
body.no-fx .stage-fx { animation: none !important; display: none; }
#cardReveal .reveal-card.multi { display: flex; gap: 46px; flex-wrap: wrap; justify-content: center; }
.kw-pop {
  position: fixed; z-index: 950; width: 240px; padding: 10px 12px; pointer-events: none; opacity: 0; transition: opacity .12s; display: grid; gap: 8px;
  font-size: 12.5px; line-height: 1.35; background: var(--ivory) !important; border: 1px solid var(--royal) !important;
  border-left: 5px solid var(--royal) !important; border-radius: 0 !important; box-shadow: 0 8px 18px rgba(5, 9, 24, .45) !important;
}
.kw-pop.show { opacity: 1; } body:has(.kw-pop.show) #tipBubble { display: none !important; } .kw-pop b { display: block; color: var(--gilt-light); font-size: 13px; } .kw-pop span { color: var(--ink) !important; }
.card u.kwu { text-decoration: underline dotted rgba(233,198,106,.8); text-underline-offset: 2px; text-decoration-color: rgba(30,27,22,.55) !important; }
.pile-grid.upgradable .up-pair .up-nxt { display: none !important; } .pile-grid.upgradable .up-pair .up-cur { display: block !important; opacity: 1 !important; transform: none !important; }
.up-compare { position: fixed; z-index: 940; padding: 8px 10px 12px; border-radius: 12px; background: #13192f; border: 2px solid #4f9a62; box-shadow: 0 12px 28px var(--shade-55); pointer-events: none; opacity: 0; transition: opacity .12s; text-align: center; }
.up-compare.show { opacity: 1; } .up-compare small { display: block; font: 700 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #bff0cb; margin-bottom: 6px; }
.up-compare .card { --card-w: 170px; --card-h: 240px; margin: 0; transform: none !important; }
.shop-note.ok { color: #bff0cb; }
/* Endless: the final boss's card reward */
.dr-row { display: flex; gap: 18px; justify-content: center; flex-wrap: nowrap; margin: 14px 0 6px; }
.dr-card { display: flex; flex-direction: column; align-items: center; gap: 10px; } .dr-card.picked .card { box-shadow: 0 0 0 3px var(--gilt), 0 0 24px rgba(201,161,59,.5); }
