/* Pack 2.4 — premium salon, cream paper, felt cards, compact 360-safe taps */

.p24-paper .p23-cell,
.p24-cell {
  background: #fbf7ee;
  color: #1b1208;
  border: 1px solid #d9c9a0;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(80, 50, 10, 0.06);
}
.p24-cell.is-block {
  background: #2a2118;
  border-color: #1b1208;
  box-shadow: none;
}
.p24-cell.is-bar-r { box-shadow: inset -3px 0 0 #1b1208, inset 0 1px 0 #fff; }
.p24-cell.is-bar-b { box-shadow: inset 0 -3px 0 #1b1208, inset 0 1px 0 #fff; }
.p24-cell.is-bar-r.is-bar-b { box-shadow: inset -3px 0 0 #1b1208, inset 0 -3px 0 #1b1208, inset 0 1px 0 #fff; }
.p24-cell.is-on, .p24-cell.is-sel { outline: 2px solid #c9a227; outline-offset: -2px; background: #fff6d6; }
.p24-cell.is-ok { background: #e8f6dc; }
.p24-cell.is-bad { background: #f8d8d4; }
.p24-num {
  position: absolute; top: 1px; left: 2px;
  font-size: 8px; color: #7a6240; font-weight: 700; pointer-events: none;
}
.p24-quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px; line-height: 1.45; color: #1b1208;
  background: #fbf7ee; border: 1px solid #d9c9a0; border-radius: 10px;
  padding: 8px 10px; margin: 0 0 8px;
}
.p24-quote b { color: #7a3b12; letter-spacing: 0.04em; }
.p24-clue {
  font-size: 12px; color: #3a2a18; padding: 4px 2px; line-height: 1.35;
}
.p24-clue em { color: #7a6240; font-style: normal; font-weight: 700; }
.p24-list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 6px 0; }
.p24-chip {
  font-size: 11px; letter-spacing: 0.08em; padding: 4px 7px;
  border-radius: 999px; background: #f3ead4; color: #3a2a18;
  border: 1px solid #d9c9a0;
}
.p24-chip.is-got { background: #d9efc8; text-decoration: line-through; opacity: 0.75; }

.p24-wheel {
  position: relative; width: 260px; height: 260px; margin: 4px auto 8px;
}
.p24-wheel .hub, .p24-wheel .spoke {
  position: absolute; min-width: 48px; min-height: 48px;
  border-radius: 50%; border: 1px solid #c9a227; background: #fbf7ee;
  color: #1b1208; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 0 rgba(80,50,10,.12);
}
.p24-wheel .hub { left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; background: #efe0b0; }
.p24-wheel .spoke.is-on { background: #fff6d6; outline: 2px solid #c9a227; }
.p24-bank { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; }
.p24-key, .p24-tile {
  min-width: 44px; min-height: 44px; padding: 6px 8px;
  border-radius: 8px; border: 1px solid #c9a227; background: #fbf7ee;
  color: #1b1208; font-weight: 700; font-size: 16px;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(80,50,10,.08);
}
.p24-key.is-on, .p24-tile.is-on { background: #fff6d6; }
.p24-key.is-gone, .p24-tile.is-gone { opacity: 0.35; pointer-events: none; }
.p24-key.is-sol { /* driver hook only, no visual tell */ }
.p24-slot {
  min-width: 28px; min-height: 36px; border-bottom: 2px solid #c9a227;
  display: inline-flex; align-items: flex-end; justify-content: center;
  font-weight: 700; font-size: 18px; margin: 0 2px; color: #1b1208;
}
.p24-path { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.p24-maze {
  display: grid; gap: 3px; margin: 6px auto; justify-content: center;
}

/* Cards — felt table */
.p24-felt {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(232,212,139,.18), transparent 55%),
    #163322;
  border: 2px solid #c9a227; border-radius: 14px; padding: 8px;
  min-height: 220px;
}
.p24-felt .bc-card, .p24-card {
  min-width: 44px; min-height: 62px;
}
.p24-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; }
.p24-col { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.p24-pile { min-width: 48px; min-height: 66px; border-radius: 8px; border: 1px dashed #e8d48b; }

/* Mini 2.4 */
.p24-mini { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px; }
.p24-board {
  display: grid; gap: 6px; justify-content: center;
}
.p24-cellbtn {
  min-width: 48px; min-height: 48px; border-radius: 8px;
  border: 1px solid #c9a227; background: #fbf7ee; color: #1b1208;
  font-weight: 700; font-size: 16px;
}
.p24-cellbtn.is-on { background: #fff6d6; outline: 2px solid #c9a227; }
.p24-cellbtn.is-ok { background: #d9efc8; }
.p24-cellbtn.is-bad { background: #f8d8d4; }
.p24-shape {
  width: 36px; height: 36px; display: inline-block; border: 2px solid #1b1208;
}
.p24-beats { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.p24-beat {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid #c9a227;
  background: #fbf7ee;
}
.p24-beat.is-now { background: #e8c86a; transform: scale(1.08); }

/* TV 2.4 extras */
.p24-rung { display: flex; gap: 4px; justify-content: center; margin: 4px 0 8px; }
.p24-rung i {
  width: 18px; height: 10px; border-radius: 2px; background: #3a2a18; opacity: 0.35;
}
.p24-rung i.is-on { background: #e8c86a; opacity: 1; }
.p24-rung i.is-got { background: #7dbe6a; opacity: 1; }

@media (max-width: 400px) {
  .p24-wheel { width: 230px; height: 230px; }
  .p24-wheel .hub, .p24-wheel .spoke { min-width: 44px; min-height: 44px; }
}

.p24-grid { width: 100%; max-width: 100%; box-sizing: border-box; }
.p24-pyr { width: 100%; }
.p24-pyr-row, .p24-pyr .p24-row { flex-wrap: nowrap; justify-content: center; gap: 4px; margin: 2px 0; }
.p24-pyr .playing-card, .p24-dock-stock .playing-card { min-width: 44px; }
.p24-dock-stock { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 6px 0; }
