// /bazchy/calc/trainer_subscribe/assets/bazis-trainer.css

.wrap { max-width: 1180px; margin: 16px auto; padding: 0 8px; }
.bazici_tbl { width: 100%; border-collapse: collapse; }
.bazici_tbl td, .bazici_tbl th { text-align: center; padding: 10px 8px; border: 1px solid #eee; }
.ieroglif.big { font-size: 36px; line-height: 1; display: inline-block; cursor: pointer; user-select: none; }
.row-head th { background: #fff7e6; font-weight: 700; }
.selectable { transition: background .15s; border-radius: 10px; padding: 6px 10px; }
.selectable:hover { background: #f2f4f7; }
.selected { outline: 2px solid #2563eb; background: #eff6ff !important; }
.hint { text-align: center; color: #475467; margin-top: 6px; }
.badge-small { font-size: 11px; padding: 3px 6px; border: 1px solid #e5e7eb; border-radius: 6px; }

.controls { display: grid; grid-template-columns: 1.6fr auto auto auto; gap: 10px; align-items: center; }
.subcontrols { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin:8px 0 4px; }
.stats { display: grid; grid-template-columns: repeat(6, minmax(90px,1fr)); gap: 8px; margin: 10px 0; }
.stat { border: 1px solid #e5e7eb; border-radius: 12px; padding: 8px 10px; text-align: center; }
.stat .k { font-size: 12px; color: #667085; }
.stat .v { font-size: 18px; font-weight: 700; }

.progress-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.goal-label { font-size: 12px; color: #667085; }
.progress { height: 10px; }

.pulse { animation: pulse .9s ease-in-out 2; }
@keyframes pulse {0%{box-shadow:0 0 0 0 rgba(37,99,235,.4)}70%{box-shadow:0 0 0 10px rgba(37,99,235,0)}100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}}

.green  { color: #93bc39; }
.blue   { color: #009fd8; }
.orange { color: #DD262E; }
.brown  { color: #b08050; }
.gray   { color: #bfbcb9; }

.confetti { position: fixed; left: 50%; top: 15%; transform: translateX(-50%); pointer-events: none; z-index: 9999; }
.confetti span { position: absolute; font-size: 20px; animation: fall 900ms linear forwards; }
@keyframes fall {
  0% { opacity: 0; transform: translateY(0) scale(0.8) rotate(0deg); }
  15%{ opacity: 1; }
  100% { opacity: 0; transform: translateY(120px) scale(1) rotate(260deg); }
}

.result-card { margin-top: 10px; }
.hintable { outline: 2px dashed rgba(37,99,235,.5); background: #eff6ff42; }