/* ============================================================
   bloom-weather-cards.css — field-guide weather card chrome.
   Cards are 5:7 portrait with an SVG scene on top, a white panel
   below carrying the effects. Classes prefixed bwc- to avoid
   colliding with site styles.
   ============================================================ */

.bwc-card {
  --bwc-accent: #2a2620;
  aspect-ratio: 5 / 7;
  width: 96px;
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.06),
    0 14px 26px -16px rgba(0,0,0,0.45);
  background: #f6efdf;
  user-select: none;
}
.bwc-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.bwc-card.is-deck {
  opacity: 0.85;
}
.bwc-card.is-draw {
  animation: bwc-card-in 0.28s ease-out;
}
@keyframes bwc-card-in {
  0%   { opacity: 0; transform: translateX(-14px) rotate(-1deg); }
  100% { opacity: 1; transform: translateX(0)     rotate(0); }
}
/* Tiny ×N count badge for deck-preview only — sits over the upper-right
   corner of the card so the deck row reads as a list of counts. */
.bwc-card .bwc-count {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 4;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 2px;
}
