/* 🔆 The Sanctuary (rpg/ui-ward.js): the Bag's block and the windows for a shard and the forged Ward. The Bag's own navy
   tiles (world.css .bag) with a gold edge, the Golden Hour's gold. */
.ward { display: grid; gap: 6px; margin: 6px 0 8px; }
.ward .pane-note { margin: 0; }
.ward-ico { image-rendering: pixelated; }
.ward-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 8px; background: rgba(3, 10, 44, 0.6); border: 1px solid rgba(255, 210, 63, 0.7); box-shadow: inset 0 0 14px rgba(255, 210, 63, 0.14); }
.ward-row.up { box-shadow: inset 0 0 18px rgba(255, 210, 63, 0.35), 0 0 10px rgba(255, 210, 63, 0.35); }
.ward-row.spent { opacity: 0.65; }
.ward-row > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ward-row b { font-weight: 400; color: #fff; font-size: 16px; line-height: 1.1; }
.ward-row small { color: var(--muted); font-size: 12px; }
.ward-row .ward-ico { width: 48px; height: 48px; }
.ward-tag { color: #ffd23f; font-size: 12px; }
.ward-raise { flex: none; }
.ward-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ward-slot { display: grid; justify-items: center; gap: 2px; padding: 6px 2px 4px; border-radius: 8px; background: rgba(3, 10, 44, 0.6); border: 1px dashed rgba(255, 255, 255, 0.18); }
.ward-slot .ward-ico { width: 36px; height: 48px; filter: grayscale(1) brightness(0.35); opacity: 0.7; }
.ward-slot small { color: var(--muted); font-size: 12px; line-height: 1.1; text-align: center; }
.ward-slot small i { display: block; font-style: normal; opacity: 0.7; }
.ward-slot.on { border: 1px solid rgba(255, 210, 63, 0.75); box-shadow: inset 0 0 12px rgba(255, 210, 63, 0.18); }
.ward-slot.on .ward-ico { filter: drop-shadow(0 0 4px rgba(255, 230, 140, 0.7)); opacity: 1; }
.ward-slot.on small { color: #fff; }
.ward-found { text-align: center; }
.ward-found .actions { justify-content: center; }
.ward-found .ward-slots { margin: 8px auto; max-width: 320px; }
.ward-found .ward-burst { display: grid; place-items: center; margin: 4px auto 2px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ward-c) 55%, transparent) 0%, color-mix(in srgb, var(--ward-c) 16%, transparent) 45%, transparent 70%); }
.ward-found .ward-ico.big { width: auto; height: 112px; animation: ward-pop 0.7s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
@keyframes ward-pop { from { transform: scale(0.3) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ward-found .ward-ico.big { animation: none; } }
.ward-stars { color: #ffd23f; font-size: 13px; letter-spacing: 1px; }
.ward-slot { position: relative; }
.ward-slot em { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 11px; color: #ffd23f; }
.trade-shards .ward-ico { image-rendering: pixelated; }
