/* cc_pack2 (A33): Схемы, Плантация, НИИ, Покровители, Крокодил, Праздники, HUD, Купюрный шторм */
.cc2-card { margin: 10px 0; padding: 14px 12px; border-radius: 16px; background: var(--card, rgba(0, 0, 0, 0.35)); border: 1px solid var(--card-b, rgba(255, 255, 255, 0.08)); color: var(--text); }
.cc2-card h3 { margin: 0 0 6px; font-size: 17px; }
.cc2-card h4 { margin: 12px 0 6px; font-size: 14px; }
.cc2-card h4 small { color: var(--muted); font-weight: 400; }
.cc2-card p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cc2-card p b { color: var(--text); }
.cc2-foot { margin-top: 10px !important; font-size: 11px !important; }
.cc2-lockcard { opacity: 0.85; }
.cc2-lockcard small { font-size: 11px; color: var(--muted); }
.cc2-bar { height: 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.35); overflow: hidden; margin: 4px 0; }
.cc2-bar i { display: block; height: 100%; background: var(--neon, #2bff88); border-radius: 4px; transition: width 0.4s; }
.cc2-mana { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cc2-mana .cc2-bar { flex: 1; height: 10px; }
.cc2-bar-mana i { background: linear-gradient(90deg, #ff7a3d, #ffcf40); }
.cc2-mana b { flex: none; font-size: 13px; }
.cc2-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.cc2-stats > div { padding: 7px 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); text-align: center; min-width: 0; }
.cc2-stats small { display: block; font-size: 10.5px; color: var(--muted); }
.cc2-stats b { display: block; font-size: 14px; }

.cc2-list { display: flex; flex-direction: column; gap: 6px; }
.cc2-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); min-width: 0; }
.cc2-row.done { box-shadow: inset 0 0 0 1px rgba(43, 255, 136, 0.35); }
.cc2-row.cc2-dim { opacity: 0.5; }
.cc2-row.cc2-cur { margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(255, 207, 64, 0.4); }
.cc2-em { font-size: 22px; flex: none; width: 28px; text-align: center; }
.cc2-tx { flex: 1; min-width: 0; font-size: 13px; }
.cc2-tx b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc2-tx small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.cc2-tag { flex: none; font-size: 11px; color: var(--muted); }
.cc2-btn { margin: 0 !important; flex: none; padding: 7px 10px !important; white-space: nowrap; }
.cc2-btn:disabled { opacity: 0.4; }
.cc2-actions { display: flex; justify-content: center; margin-top: 8px; }
.pl { color: var(--neon, #2bff88); }
.mi { color: #ff8a8a; }

/* плантация */
.cc2-seeds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.cc2-seed { padding: 6px 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid transparent; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.2; min-width: 0; overflow: hidden; }
.cc2-seed small { display: block; font-weight: 400; font-size: 10px; color: var(--muted); }
.cc2-seed.on { border-color: var(--neon, #2bff88); }
.cc2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 330px; margin: 0 auto; }
.cc2-plot { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; background: rgba(110, 70, 30, 0.45); border: 1px solid rgba(255, 255, 255, 0.06); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 2px; min-width: 0; }
.cc2-plot span { font-size: 30px; line-height: 1.1; }
.cc2-plot small { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cc2-plot i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--neon, #2bff88); }
.cc2-plot.empty span { font-size: 22px; color: var(--muted); }
.cc2-plot.ripe { box-shadow: inset 0 0 0 2px var(--gold, #ffcf40); }
.cc2-plot.ripe small { color: var(--gold, #ffcf40); font-weight: 700; }
.cc2-plot.weed { background: rgba(120, 30, 30, 0.45); }
.cc2-herb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cc2-hb { padding: 6px 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); text-align: center; min-width: 0; }
.cc2-hb span { font-size: 20px; display: block; }
.cc2-hb b { display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc2-hb small { display: block; font-size: 10px; color: var(--muted); line-height: 1.2; }
.cc2-hb.no { opacity: 0.55; }

/* покровители и крокодил */
.cc2-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.cc2-slot { padding: 6px 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); text-align: center; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.cc2-slot.on { box-shadow: inset 0 0 0 1px var(--gold, #ffcf40); }
.cc2-slot small { font-size: 10px; color: var(--muted); }
.cc2-slot span { font-size: 24px; }
.cc2-slot b { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc2-slot em { font-style: normal; font-size: 9.5px; line-height: 1.2; }
.cc2-x { margin-top: 3px; font-size: 10px; padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 0; color: var(--muted); }
.cc2-pick { display: flex; gap: 3px; flex: none; }
.cc2-ps { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); border: 1px solid transparent; color: var(--text); font-size: 14px; padding: 0; }
.cc2-ps.on { border-color: var(--gold, #ffcf40); background: rgba(255, 207, 64, 0.15); }
.cc2-croc { display: flex; flex-direction: column; align-items: center; margin: 4px 0 10px; }
.cc2-big { font-size: 56px; line-height: 1.1; }
.cc2-croc small { color: var(--muted); font-size: 11px; }

/* праздники */
.cc2-fest-on { color: var(--text) !important; }
.cc2-col { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.cc2-col span { text-align: center; font-size: 22px; padding: 4px 0; border-radius: 10px; background: rgba(0, 0, 0, 0.25); opacity: 0.45; }
.cc2-col span.got { opacity: 1; }

/* HUD под балансом */
.cc2-hud { display: flex; flex-direction: column; align-items: center; gap: 3px; max-width: 100%; overflow: hidden; }
.cc2-hud:empty { display: none; }
.cc2-decor { font-size: 12px; letter-spacing: 2px; opacity: 0.8; animation: cc2-twinkle 3s ease-in-out infinite; white-space: nowrap; }
.cc2-decor small { letter-spacing: 0; color: var(--muted); font-size: 10.5px; }
.cc2-decor.lite, html.lite .cc2-decor { animation: none; }
@keyframes cc2-twinkle { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.cc2-buffs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.cc2-buffs span { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: rgba(43, 255, 136, 0.14); color: var(--neon, #2bff88); }
.cc2-buffs span.bad { background: rgba(255, 80, 80, 0.15); color: #ff8a8a; }
.cc2-proph { width: 100%; max-width: 400px; overflow: hidden; white-space: nowrap; padding: 4px 0; border-radius: 10px; border: 1px dashed rgba(190, 140, 255, 0.6); background: rgba(120, 60, 200, 0.18); color: var(--text); font-size: 12px; }
.cc2-run { display: inline-block; padding-left: 100%; animation: cc2-marquee 12s linear infinite; }
.cc2-proph.lite .cc2-run, html.lite .cc2-run { padding-left: 0; animation: none; white-space: normal; }
.cc2-proph.lite, html.lite .cc2-proph { white-space: normal; }
@keyframes cc2-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* купюрный шторм: контейнер не ловит тапы, ловят сами купюры */
.slot-overlay > .cc2-storm { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cc2-sb { position: absolute; top: -40px; pointer-events: auto; background: none; border: 0; padding: 6px; font-size: 28px; line-height: 1; transform: translateX(-50%);
  animation: cc2-fall 3.2s linear forwards; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 0 6px rgba(255, 207, 64, 0.7)); }
.cc2-sb.lite, html.lite .cc2-sb { animation: none; filter: none; }
@keyframes cc2-fall { from { top: -40px; } to { top: 105%; } }
