/* Vzhled hry na násobení; základ je v shared/base.css. */
:root { --bg1: #ff6fa8; --bg2: #7a5cff; --ink: #3a1d5c; }

.parade { align-items: center; gap: 6px; }
.tables { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tt {
  border-radius: 16px; padding: 10px 0 6px; color: var(--ink); background: var(--tile); box-shadow: 0 5px 0 var(--tile-d);
  display: flex; flex-direction: column; align-items: center;
}
.tt b { font-size: 24px; }
.tt small { font-size: 10px; letter-spacing: 1px; min-height: 14px; }
.tt.next { background: var(--green); box-shadow: 0 5px 0 var(--green-d); animation: pulse 1.2s infinite; }
.tt.done { background: var(--yellow); box-shadow: 0 5px 0 var(--yellow-d); }
.tt[disabled] { background: rgba(255,255,255,.2); color: rgba(255,255,255,.7); box-shadow: none; }
.tt:active { transform: translateY(3px); }

/* skupinky teček */
.groups { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 100%; }
.grp { display: grid; gap: 4px; padding: 7px; border-radius: 12px; background: rgba(255,255,255,.9); }
.grp i { width: 10px; height: 10px; border-radius: 50%; background: #ff4f93; }
.row3 { display: grid; grid-template-columns: 70px 1fr 60px; align-items: center; gap: 8px; width: 100%; font-size: 22px; }
.row3 .groups { justify-content: flex-start; }

.eq { font-size: 54px; letter-spacing: 2px; text-shadow: 0 4px 0 rgba(0,0,0,.2); }
.ans { display: inline-block; min-width: 1.6em; padding: 0 10px; border-radius: 16px; background: #fff; color: var(--ink); text-shadow: none; }
.ans.ok { background: var(--green); animation: bump .4s; }
.ans.no { background: #ffb3c6; animation: shake .35s; }
#hint { min-height: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.seq { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.seq span { min-width: 56px; padding: 10px 8px; border-radius: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 28px; text-align: center; }
.seq .hole { background: var(--yellow); }
.seq .hole.ok { background: var(--green); }
.choices .tile { font-size: 46px; aspect-ratio: 1.7; }

/* číselník */
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 330px; }
.key { height: 62px; border-radius: 16px; font-size: 32px; color: var(--ink); background: var(--tile); box-shadow: 0 5px 0 var(--tile-d); }
.key:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--tile-d); }
.key.soft { background: rgba(255,255,255,.3); color: #fff; box-shadow: none; }

@media (max-height: 700px) { .key { height: 52px; } .eq { font-size: 44px; } }

/* vlastní procvičování */
.pick { display: flex; flex-direction: column; gap: 8px; }
.pick h3 { margin: 8px 0 0; font-size: 15px; letter-spacing: 1px; opacity: .9; }
.tables.six { grid-template-columns: repeat(6, 1fr); }
.tables.six .tt b { font-size: 20px; }
.tt.on { background: var(--green); box-shadow: 0 5px 0 var(--green-d); }
.rowc { display: flex; flex-wrap: wrap; gap: 8px; }
.chip2 { padding: 10px 14px; border-radius: 14px; font-size: 18px; color: var(--ink); background: var(--tile); box-shadow: 0 4px 0 var(--tile-d); }
.chip2.on { background: var(--green); box-shadow: 0 4px 0 var(--green-d); }
.eq { font-size: 48px; }
a.btn { text-decoration: none; text-align: center; }
.bar h1 { font-size: 18px; white-space: nowrap; }
