/* ===== REWARD COMPONENTS — reward-components.css =====
   Shared reward rendering: coins, caps, progress bars, pack cards, slots.
   Imported by: challenges.css, chess_home.css, game.css, match_room.css.
   No page-level globals — safe to import anywhere.

   Required CSS vars (define in consumer or :root):
     --bl-teal: #2a9d8f
     --bl-accent: #e9c46a
     --bl-text: #f0f0f0
     --bl-text-sec: #9ca3af
*/

/* ===== PROGRESS BAR ===== */
.ch-row-bar {
  width: 100%; height: 18px; background: rgba(0,0,0,0.3);
  border-radius: 5px; overflow: hidden;
  position: relative;
}
.ch-row-bar-fill {
  height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--bl-teal, #2a9d8f), #3dc4b1);
  transition: width 0.3s ease;
  position: absolute; top: 0; left: 0;
}
.ch-row-bar-fill[style*="width:0%"],
.ch-row-bar-fill[style*="width: 0%"] { display: none; }
.ch-row-bar-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.46rem; font-weight: 800; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 0.3px; z-index: 1;
}

/* ===== CURRENCY TOKEN SYSTEM =====
   Two currencies, two visual identities. Apply these classes to any
   element that displays a currency number so font + color stay in sync.

   MILLIONS  — gold Futura, paired with .ch-coin (gold circle, "M")
     class:  .cur-mil        (number text)
     icon:   .ch-coin        (20px gold circle)
     wallet: .ch-reward-wallet  (gold-tinted container)

   CAPS  — green Rajdhani, paired with .ch-caps-icon (green square, "C")
     class:  .cur-cap        (number text)
     icon:   .ch-caps-icon   (22px green badge)
     wallet: .ch-reward-caps-wallet  (green-tinted container)
*/

/* ---- Base currency tokens ---- */
.cur-mil {
  font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.8px;
  line-height: 1;
  color: var(--bl-accent, #e9c46a);
}
.cur-cap {
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.8px;
  line-height: 1;
  color: #4ade80;
}

/* ===== MILLIONS COIN ===== */
.ch-millions {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.8px;
  line-height: 1;
  color: var(--bl-accent, #e9c46a);
}
.ch-coin {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #fae29c, #d4a83e 50%, #8b6914 100%);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.5),
    inset 0 1px 2px rgba(255,255,255,0.35),
    inset 0 -1px 1px rgba(0,0,0,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  border: 1.5px solid #a07c28;
  font-size: 0.62rem; font-weight: 900; line-height: 1;
  color: #3a2800;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: -0.5px;
}
.ch-coin::after {
  content: '';
  position: absolute; top: 1px; left: 2px;
  width: 9px; height: 5px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.55) 0%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== CAPS REWARD WALLET (mirrors ch-reward-wallet with green/caps theme) ===== */
.ch-reward-caps-wallet {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(74,222,128,0.1) 0%, transparent 70%),
    linear-gradient(145deg, rgba(37,43,61,0.95), rgba(15,17,25,0.95));
  border: 1px solid rgba(74,222,128,0.2);
  box-shadow:
    0 2px 12px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 0.15rem;
}
.ch-caps-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.ch-caps-amt {
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.8px;
  line-height: 1;
  color: #4ade80;
  text-shadow: 0 0 6px rgba(74,222,128,0.25), 0 1px 3px rgba(0,0,0,0.4);
}
/* Caps icon — green C badge scaled for reward context */
.ch-caps-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 4px;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.5),
    inset 0 1px 2px rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(34,197,94,0.6);
  position: relative;
}
.ch-caps-icon::after {
  content: '';
  position: absolute; top: 1px; left: 2px;
  width: 9px; height: 5px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.45) 0%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
}
.ch-caps-icon .rb-cap-c {
  font-size: 0.65rem; font-weight: 900; line-height: 1;
  color: #0a3d1e;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Compact caps wallet inside multi-slot row */
.ch-rw-slot .ch-reward-caps-wallet {
  padding: 0.3rem 0.5rem;
  margin-bottom: 0;
}
.ch-rw-slot .ch-caps-amt { font-size: 0.8rem; }
.ch-rw-slot .ch-caps-icon { width: 18px; height: 18px; }
.ch-rw-slot .ch-caps-icon .rb-cap-c { font-size: 0.55rem; }

/* ===== MULTI-REWARD CONTAINER (multiple items/packs in one challenge) ===== */
.ch-multi-rewards {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.ch-multi-rewards .ch-reward-card {
  margin: 0; padding: 0.6rem 0.8rem;
  max-width: 180px; flex: 0 1 auto;
  border: none; background: transparent;
}
.ch-multi-rewards .ch-reward-card::before { display: none; }

/* ===== MULTI-SLOT REWARD ROW ===== */
.ch-rw-slots {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0.8rem;
}
.ch-rw-slot {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}
.ch-rw-slot-icon {
  display: flex; align-items: center; justify-content: center;
  flex: 1;
}
.ch-rw-slot-label {
  flex-shrink: 0;
  font-size: 0.38rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.ch-rw-slot-label .ch-item-year {
  font-weight: 900; color: var(--bl-accent, #e9c46a);
}

/* ===== REWARD CARD ===== */
.ch-reward-card {
  margin: 0.8rem auto; padding: 1rem 1.2rem;
  background: linear-gradient(145deg, var(--bl-surface, #252b3d), var(--bl-modal-bg, #1a1f2e));
  border: 1px solid rgba(233,196,106,0.15);
  border-radius: 10px; text-align: center;
  position: relative; overflow: hidden;
  max-width: 280px; min-height: 100px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.ch-reward-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.04) 0%, transparent 40%);
  border-radius: inherit; pointer-events: none;
}
.ch-reward-card.locked { opacity: 0.35; filter: grayscale(0.6); }
.ch-reward-card.claimable {
  border-color: rgba(233,196,106,0.3);
  box-shadow: 0 0 16px rgba(233,196,106,0.08);
  animation: rewardGlow 2s ease-in-out infinite;
}
@keyframes rewardGlow {
  0%,100% { box-shadow: 0 0 12px rgba(233,196,106,0.06); }
  50% { box-shadow: 0 0 22px rgba(233,196,106,0.15); }
}
.ch-reward-card.claimed { border-color: rgba(233,196,106,0.15); }
.ch-reward-card.claimed::after {
  content: ''; position: absolute;
  top: -50%; left: -100%; width: 40%; height: 200%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.08) 55%, transparent 70%);
  transform: skewX(-12deg); pointer-events: none; z-index: 3;
  animation: claimedShine 3s ease-in-out infinite;
}
@keyframes claimedShine {
  0% { left: -100%; }
  35% { left: 150%; }
  100% { left: 150%; }
}
.ch-reward-card.claimed .ch-reward-item-preview,
.ch-reward-card.claimed .ch-reward-preview,
.ch-reward-card.claimed .ch-mini-pack,
.ch-reward-card.claimed .ch-piece-pair {
  animation: rewardWiggle 0.8s ease-in-out;
}
@keyframes rewardWiggle {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-3deg) scale(1.03); }
  30% { transform: rotate(2deg) scale(1.02); }
  45% { transform: rotate(-1deg); }
  60% { transform: rotate(0.5deg); }
}
.ch-reward-card.pulse { animation: rewardPulse 0.6s ease; }
@keyframes rewardPulse {
  0% { box-shadow: 0 0 0 rgba(233,196,106,0); }
  50% { box-shadow: 0 0 30px rgba(233,196,106,0.3); border-color: rgba(233,196,106,0.4); }
  100% { box-shadow: 0 0 0 rgba(233,196,106,0); }
}
.ch-reward-card.revealing { animation: rewardReveal 0.6s ease both; }
@keyframes rewardReveal {
  0% { opacity: 0.4; transform: scale(0.97); box-shadow: 0 0 0 rgba(233,196,106,0); }
  40% { opacity: 1; transform: scale(1.03); box-shadow: 0 0 25px rgba(233,196,106,0.25); }
  100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 rgba(233,196,106,0); }
}

/* ===== REWARD WALLET (millions inside card) ===== */
.ch-reward-wallet {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(233,196,106,0.1) 0%, transparent 70%),
    linear-gradient(145deg, rgba(37,43,61,0.95), rgba(15,17,25,0.95));
  border: 1px solid rgba(233,196,106,0.2);
  box-shadow:
    0 2px 12px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 0.15rem;
}
.ch-reward-wallet .ch-millions {
  font-size: 1rem; font-weight: 700;
  text-shadow: 0 0 6px rgba(233,196,106,0.25), 0 1px 3px rgba(0,0,0,0.4);
}
.ch-reward-wallet .ch-coin {
  width: 22px; height: 22px;
  font-size: 0.65rem;
}

/* ===== REWARD VALUE / LABELS ===== */
.ch-reward-value {
  font-size: 1.2rem; font-weight: 900; color: var(--bl-accent, #e9c46a);
  margin-bottom: 0.15rem;
}
.ch-reward-value-item {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--bl-text, #f0f0f0);
}
.ch-reward-value-item .ch-item-year {
  font-weight: 900; color: var(--bl-accent, #e9c46a);
}
.ch-reward-caps {
  font-size: 0.4rem; font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}
.ch-reward-label {
  font-size: 0.38rem; font-weight: 700; color: rgba(255,255,255,0.22);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 0.2rem;
}

/* ===== COLLECT OVERLAY ===== */
.ch-reward-collect-wrap {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,17,25,0.7);
  border-radius: inherit;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: var(--cur-pointer, pointer);
}
.ch-reward-card:hover .ch-reward-collect-wrap { opacity: 1; pointer-events: auto; }
.ch-reward-collect {
  background: none; border: none;
  font-size: 0.65rem; font-weight: 800; color: rgba(255,255,255,0.9);
  text-transform: uppercase; letter-spacing: 2px;
  cursor: var(--cur-pointer, pointer);
  text-shadow: 0 1px 8px rgba(233,196,106,0.3);
  transition: color 0.2s, text-shadow 0.2s;
}
.ch-reward-collect:hover {
  color: var(--bl-accent, #e9c46a);
  text-shadow: 0 1px 12px rgba(233,196,106,0.5);
}

/* ===== ITEM PREVIEW ===== */
.ch-reward-item-preview {
  font-size: 1.8rem; margin-bottom: 0.2rem;
}
.ch-reward-preview { margin-bottom: 0.4rem; }
.ch-reward-preview img {
  max-height: 60px; max-width: 80px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4));
}

/* ===== ITEM REWARD WALLET (stadiums, piece sets, boards, titles) ===== */
.ch-reward-item-wallet {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.7rem 0.4rem;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.06) 0%, transparent 70%),
    linear-gradient(145deg, rgba(37,43,61,0.95), rgba(15,17,25,0.95));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 2px 12px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.04);
  margin-bottom: 0.15rem;
  max-width: 200px;
}
.ch-reward-item-wallet img {
  max-height: 72px; max-width: 120px;
  min-height: 56px; /* reserve space before image loads */
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.5));
  border-radius: 4px;
}
.ch-reward-item-wallet .ch-item-name {
  font-family: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.55rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  text-align: center; line-height: 1.2;
}
.ch-reward-item-wallet .ch-item-name .ch-item-year {
  font-weight: 900; color: var(--bl-accent, #e9c46a);
}
.ch-reward-item-wallet .ch-item-type {
  font-size: 0.32rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}
/* Rarity tints on the item wallet border */
.ch-reward-item-wallet[data-rarity="uncommon"] {
  border-color: rgba(150,150,150,0.2);
}
.ch-reward-item-wallet[data-rarity="rare"] {
  border-color: rgba(200,200,220,0.25);
}
.ch-reward-item-wallet[data-rarity="epic"] {
  border-color: rgba(205,127,50,0.3);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(205,127,50,0.06) 0%, transparent 70%),
    linear-gradient(145deg, rgba(37,43,61,0.95), rgba(15,17,25,0.95));
}
.ch-reward-item-wallet[data-rarity="epic"] .ch-item-name { color: #cd7f32; }
.ch-reward-item-wallet[data-rarity="legendary"] {
  border-color: rgba(255,215,0,0.25);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,215,0,0.06) 0%, transparent 70%),
    linear-gradient(145deg, rgba(37,43,61,0.95), rgba(15,17,25,0.95));
}
.ch-reward-item-wallet[data-rarity="legendary"] .ch-item-name { color: #ffd700; }
.ch-reward-item-wallet[data-rarity="icon"] {
  border-color: rgba(200,200,220,0.3);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(200,200,220,0.06) 0%, transparent 70%),
    linear-gradient(145deg, rgba(37,43,61,0.95), rgba(15,17,25,0.95));
}
.ch-reward-item-wallet[data-rarity="icon"] .ch-item-name { color: #e0e0f0; }

/* Compact item wallet inside multi-slot row */
.ch-rw-slot .ch-reward-item-wallet {
  padding: 0.35rem 0.5rem 0.3rem;
  max-width: 150px;
}
.ch-rw-slot .ch-reward-item-wallet img { max-height: 56px; max-width: 90px; }
.ch-rw-slot .ch-reward-item-wallet .ch-item-name { font-size: 0.48rem; }
.ch-rw-slot .ch-reward-item-wallet .ch-item-type { font-size: 0.28rem; }

/* ===== PIECE PAIR (white/black toggle) ===== */
.ch-piece-pair {
  position: relative; width: 90px; height: 65px;
  margin: 0 auto;
  pointer-events: none;
}
.ch-piece-pair.active { pointer-events: auto; cursor: var(--cur-pointer, pointer); }
.ch-piece-pair img {
  position: absolute; left: 50%; top: 50%;
  height: 55px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}
.ch-piece-pair .ch-pp-w { z-index: 2; opacity: 1; transform: translate(-65%, -55%); }
.ch-piece-pair .ch-pp-b { z-index: 1; opacity: 0.7; transform: translate(-35%, -45%); }
.ch-piece-pair.show-black .ch-pp-w { z-index: 1; opacity: 0.7; transform: translate(-35%, -45%); }
.ch-piece-pair.show-black .ch-pp-b { z-index: 2; opacity: 1; transform: translate(-65%, -55%); }

/* ===== MINI PACK CARD ===== */
.ch-mini-pack {
  width: 82px; height: 112px; margin: 0 auto;
  border-radius: 7px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ch-mini-pack:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.ch-mini-pack-art {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #1e2830, #141c24);
  position: relative; overflow: hidden;
}
.ch-mini-pack-art .mp-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.ch-mini-pack-art .mp-icon img {
  width: 32px; height: 32px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.25;
}
.ch-mini-pack-art .mp-icon .mr-icon {
  font-size: 1.4rem; opacity: 0.25;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.ch-mini-pack-art::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 15%, transparent 30%);
  pointer-events: none; z-index: 1;
}
.ch-mini-pack-info {
  padding: 0.2rem 0.3rem 0.25rem; text-align: center;
  background: #0e0e0e;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.ch-mini-pack-info .mp-tag {
  font-size: 0.28rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: rgba(255,255,255,0.22);
}
.ch-mini-pack-info .mp-name {
  font-size: 0.42rem; font-weight: 700; color: rgba(255,255,255,0.8);
  line-height: 1.1;
}
.ch-mini-pack::after {
  content: ''; position: absolute; top: -50%; left: -100%;
  width: 50%; height: 200%;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 60%, transparent 75%);
  transform: skewX(-12deg); z-index: 2; pointer-events: none;
  animation: packShine 4s ease-in-out infinite;
}
@keyframes packShine {
  0% { left: -100%; }
  30% { left: 150%; }
  100% { left: 150%; }
}
/* Pick variant — teal tint */
.ch-mini-pack.pick .ch-mini-pack-art {
  background: linear-gradient(150deg, rgba(42,157,143,0.18), rgba(20,40,36,0.9));
}
.ch-mini-pack.pick .ch-mini-pack-info { border-top-color: rgba(42,157,143,0.12); }
.ch-mini-pack.pick .mp-tag { color: var(--bl-teal, #2a9d8f); }
/* Tier-specific styles */
.ch-mini-pack.tier-common { border-color: rgba(120,120,120,0.2); }
.ch-mini-pack.tier-common .ch-mini-pack-info { background: #0e0e0e; }
.ch-mini-pack.tier-uncommon { border-color: rgba(150,150,150,0.25); }
.ch-mini-pack.tier-uncommon .ch-mini-pack-info { background: #121212; }
.ch-mini-pack.tier-rare { border-color: rgba(200,200,210,0.25); }
.ch-mini-pack.tier-rare .ch-mini-pack-info {
  background: linear-gradient(170deg, #161618, #111113);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ch-mini-pack.tier-epic { border-color: rgba(205,127,50,0.25); }
.ch-mini-pack.tier-epic .ch-mini-pack-info {
  background: linear-gradient(170deg, #1a1410, #12100c);
  border-top: 1px solid rgba(205,127,50,0.12);
}
.ch-mini-pack.tier-epic .mp-tag { color: #cd7f32; }
.ch-mini-pack.tier-epic:hover { box-shadow: 0 0 12px rgba(205,127,50,0.08); }
.ch-mini-pack.tier-legendary { border-color: rgba(255,215,0,0.2); }
.ch-mini-pack.tier-legendary .ch-mini-pack-info {
  background: linear-gradient(170deg, #1a1808, #121006);
  border-top: 1px solid rgba(255,215,0,0.1);
}
.ch-mini-pack.tier-legendary .mp-tag { color: #ffd700; }
.ch-mini-pack.tier-legendary:hover { box-shadow: 0 0 14px rgba(255,215,0,0.08); }
.ch-mini-pack.tier-icon { border-color: rgba(200,200,220,0.3); }
.ch-mini-pack.tier-icon .ch-mini-pack-info {
  background: linear-gradient(170deg, #18181e, #101014);
  border-top: 1px solid rgba(200,200,220,0.1);
}
.ch-mini-pack.tier-icon .mp-tag { color: #c8c8dc; }
.ch-mini-pack.tier-icon:hover { box-shadow: 0 0 16px rgba(200,200,220,0.1); }
/* Tier-specific icon opacity */
.ch-mini-pack.tier-uncommon .mp-icon img { opacity: 0.28; }
.ch-mini-pack.tier-rare .mp-icon img { opacity: 0.35; }
.ch-mini-pack.tier-epic .mp-icon img { opacity: 0.4; filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(205,127,50,0.3)); }
.ch-mini-pack.tier-legendary .mp-icon img { opacity: 0.5; filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,215,0,0.3)); }
.ch-mini-pack.tier-icon .mp-icon img { opacity: 0.55; filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(200,200,220,0.4)); }

/* Pack reward card — fade on claimed */
.ch-reward-card.ch-reward-pack {
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}
.ch-reward-card.ch-reward-pack.claimed {
  background: transparent; border-color: transparent; box-shadow: none;
  padding: 0.6rem 0.8rem;
}
.ch-reward-card.ch-reward-pack.claimed::before { opacity: 0; }
.ch-reward-card.ch-reward-pack.claimed::after { display: none; }

.ch-reward-item-wallet.cd-board-preview.spin-item-card-art.spin-piece-pair