/* cc_pack (A31): «Чёрная касса», «Слитки», налоговые пиявки */
.cc-card { margin: 10px 0; padding: 14px 12px; border-radius: 16px; background: var(--card, rgba(0, 0, 0, 0.35)); border: 1px solid rgba(255, 255, 255, 0.08); }
.cc-card h3 { margin: 0 0 6px; font-size: 17px; }
.cc-card p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cc-card p b { color: var(--text); }
.cc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cc-stats > div { padding: 7px 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); text-align: center; min-width: 0; }
.cc-stats small { display: block; font-size: 10.5px; color: var(--muted); }
.cc-stats b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-perk.cc-lock { opacity: 0.45; }
.cc-perk .cc-req { color: #c9a; font-size: 10px; }

.cc-bars { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.cc-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); }
.cc-be { font-size: 22px; flex: none; }
.cc-bn { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-bn small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.cc-bar .cc-bb { margin: 0; flex: none; padding: 7px 10px; }
.cc-bar .cc-bb:disabled { opacity: 0.4; }

/* пиявки: контейнер не ловит тапы (иначе перекроет монету), ловят только сами пиявки */
.slot-overlay > .cc-leeches { position: absolute; inset: 0; pointer-events: none; }
.cc-leech { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; background: none; border: 0; padding: 4px; display: flex; flex-direction: column; align-items: center;
  animation: cc-wiggle 1.6s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.cc-leech .cc-le { font-size: 30px; line-height: 1; filter: drop-shadow(0 0 6px rgba(255, 60, 60, 0.6)); }
.cc-leech small { font-size: 10px; font-weight: 800; color: #ffb3b3; background: rgba(0, 0, 0, 0.55); border-radius: 8px; padding: 1px 5px; margin-top: 1px; white-space: nowrap; }
@keyframes cc-wiggle { 0%, 100% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); } 50% { transform: translate(-50%, -52%) rotate(8deg) scale(1.08); } }
.cc-leeches.cc-lite .cc-leech, html.lite .cc-leech { animation: none; }
.cc-leeches.cc-lite .cc-le, html.lite .cc-leech .cc-le { filter: none; }
