/* cc_pack3 (A42): Оптовка, Займы, Шабашки, Нычки, Звонки, Грамоты */
.cc3-root { overflow-x: hidden; }
.cc3-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); min-width: 0; }
.cc3-card h3 { margin: 0 0 6px; font-size: 17px; }
.cc3-card h4 { margin: 12px 0 6px; font-size: 14px; }
.cc3-card h4 small { color: var(--muted); font-weight: 400; }
.cc3-card p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cc3-card p b { color: var(--text); }
.cc3-foot { margin-top: 10px !important; font-size: 11px !important; }
.cc3-lock { opacity: 0.85; }
.cc3-lock small, .cc3-card > small { font-size: 11px; color: var(--muted); }
.cc3-bar { height: 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.35); overflow: hidden; margin: 4px 0; }
.cc3-bar i { display: block; height: 100%; background: var(--neon, #2bff88); border-radius: 4px; }
.cc3-news { margin: 0 0 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 207, 64, 0.1); border: 1px solid rgba(255, 207, 64, 0.3); font-size: 12.5px; line-height: 1.35; }
.cc3-root .pl, .cc3-mg .pl { color: var(--neon, #2bff88); font-style: normal; }
.cc3-root .mi, .cc3-mg .mi { color: #ff8a8a; font-style: normal; }

.cc3-list { display: flex; flex-direction: column; gap: 6px; }
.cc3-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); min-width: 0; margin-top: 6px; }
.cc3-list .cc3-row { margin-top: 0; }
.cc3-em { font-size: 24px; flex: none; width: 30px; text-align: center; }
.cc3-tx { flex: 1; min-width: 0; font-size: 13px; text-align: left; }
.cc3-tx b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc3-tx small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.cc3-tag { flex: none; font-size: 12px; color: var(--gold, #ffcf40); font-weight: 700; }
.cc3-col { display: flex; flex-direction: column; gap: 4px; flex: none; }

/* крупные кнопки под палец */
.cc3-b { min-height: 44px; padding: 8px 12px; border-radius: 12px; background: rgba(43, 255, 136, 0.12); border: 1px solid rgba(43, 255, 136, 0.4); color: var(--neon, #2bff88); font-weight: 700; font-size: 13px; flex: none; white-space: nowrap; min-width: 0; }
.cc3-b.sell { background: rgba(255, 207, 64, 0.12); border-color: rgba(255, 207, 64, 0.45); color: var(--gold, #ffcf40); }
.cc3-b.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: var(--muted); min-height: 36px; }
.cc3-b:disabled, .cc3-game:disabled { opacity: 0.4; }

/* оптовка */
.cc3-goods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 560px) { .cc3-goods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cc3-good { padding: 8px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); min-width: 0; }
.cc3-gh { display: flex; align-items: center; gap: 8px; }
.cc3-gi { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cc3-spark { display: block; width: 100%; height: 30px; margin: 4px 0; }
.cc3-spark polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.cc3-spark polyline.up { stroke: var(--neon, #2bff88); }
.cc3-spark polyline.dn { stroke: #ff8a8a; }
.cc3-spark line.b { stroke: rgba(255, 255, 255, 0.18); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.cc3-btns { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 6px; margin-top: 6px; }
.cc3-btns .cc3-b { padding: 8px 4px; overflow: hidden; text-overflow: ellipsis; }

/* шабашки */
.cc3-charges { display: flex; align-items: center; gap: 4px; font-size: 22px; margin-bottom: 10px; flex-wrap: wrap; }
.cc3-charges small { font-size: 12px; color: var(--muted); margin-left: 6px; }
.cc3-dim { opacity: 0.25; }
.cc3-game { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text); }
.cc3-mg { text-align: center; }
.cc3-mg p { font-size: 13px; line-height: 1.4; margin: 0 0 10px; }
.cc3-mg .cc3-list { text-align: left; }
.cc3-cups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 10px; }
.cc3-cup { min-height: 72px; font-size: 40px; border-radius: 16px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.12); }
.cc3-cup.win { box-shadow: 0 0 0 2px var(--neon, #2bff88); }
.cc3-cups.anim .cc3-cup:not(:disabled) { animation: cc3-shuf 0.9s ease-in-out 2; }
.cc3-cups.anim .cc3-cup:nth-child(2) { animation-delay: 0.15s; }
.cc3-cups.anim .cc3-cup:nth-child(3) { animation-delay: 0.3s; }
@keyframes cc3-shuf { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(8px); } 70% { transform: translateX(-8px); } }
.cc3-meter { position: relative; height: 34px; border-radius: 12px; background: linear-gradient(90deg, #ff6b6b, #ffcf40 35%, #2bff88 50%, #ffcf40 65%, #ff6b6b); margin: 8px 0 12px; }
.cc3-meter .n { position: absolute; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; background: #fff; border-radius: 2px; box-shadow: 0 0 6px #000; left: 0; }
.cc3-big { width: 100%; min-height: 64px; font-size: 20px; font-weight: 800; border-radius: 16px; background: rgba(43, 255, 136, 0.15); border: 1px solid rgba(43, 255, 136, 0.5); color: var(--neon, #2bff88); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.cc3-bill { min-height: 110px; font-size: 64px; }
.cc3-bill.pop { animation: cc3-pop 0.12s ease-out; }
@keyframes cc3-pop { 50% { transform: scale(0.92); } }
.cc3-cnt { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.cc3-cnt b { font-size: 34px; }
.cc3-cnt small { font-size: 14px; color: var(--muted); }
.cc3-res { min-height: 20px; margin-top: 10px !important; }
.cc3-who { font-size: 16px !important; }

/* грамоты и коллекции */
.cc3-grams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.cc3-gr { padding: 8px 6px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); text-align: center; min-width: 0; opacity: 0.55; }
.cc3-gr.on { opacity: 1; box-shadow: inset 0 0 0 1px rgba(255, 207, 64, 0.45); }
.cc3-gr span { display: block; font-size: 24px; }
.cc3-gr b { display: block; font-size: 12px; line-height: 1.2; margin: 2px 0; }
.cc3-gr small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.25; }
.cc3-seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cc3-se { padding: 8px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); text-align: center; min-width: 0; }
.cc3-se.cur { box-shadow: inset 0 0 0 1px rgba(43, 255, 136, 0.45); }
.cc3-se b { display: block; font-size: 12px; margin-bottom: 4px; }
.cc3-se i { font-style: normal; font-size: 22px; margin: 0 2px; }
.cc3-se i.no { opacity: 0.35; }

/* шапка и нычка */
.cc3-hud { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cc3-hud:empty { display: none; }
.cc3-pill { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text); font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc3-pill.call { border-color: rgba(255, 107, 107, 0.6); background: rgba(255, 60, 60, 0.18); }
.cc3-pill.ring { animation: cc3-ring 1s ease-in-out infinite; }
@keyframes cc3-ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-3deg); } 20%, 40% { transform: rotate(3deg); } 50% { transform: rotate(0); } }
.cc3-stash { display: block; width: 48px; height: 48px; margin: 4px 0; padding: 0; font-size: 30px; line-height: 48px; border-radius: 50%; background: transparent; border: 0; opacity: 0.8; cursor: pointer; animation: cc3-wob 2.4s ease-in-out infinite; }
.cc3-stash.lite { animation: none; }
@keyframes cc3-wob { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-12deg); } 96% { transform: rotate(12deg); } }
