/* free Pop: the ladder of rows (four tiles each) on a dark stage; the current row is lit */
.pop-opt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; }
.fx-pop .pop-opt .fx-chipbtn[aria-pressed="true"] { background: var(--fx-main); border-color: var(--fx-main); color: var(--fx-main-ink); }
.fx-pop .pop-opt .fx-chipbtn:disabled { opacity: .6; cursor: not-allowed; }
.pop-board { display: grid; gap: 7px; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, #0e1b2b, #13283e); }
.pop-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 10px; direction: rtl; opacity: .62; }
.pop-row.cur, .pop-row.done { opacity: 1; }
.pop-x { justify-self: stretch; text-align: center; padding: 4px 0; border-radius: 999px; background: #ffffff1c; color: #dfe9f3; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pop-row.cur .pop-x { background: #F2B705; color: #1B1500; }
.pop-row.done .pop-x { background: #1C7A5A; color: #fff; }
.pop-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; direction: ltr; }
.pop-tile { min-width: 0; height: 44px; border-radius: 10px; border: 1.5px solid #ffffff38; background: #ffffff14; color: #fff; font-family: Vazirmatn, Tahoma, sans-serif; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; }
.pop-tile:disabled { cursor: default; }
.pop-row.cur .pop-tile { background: #ffffff2e; border-color: #ffffff8c; }
.pop-row.cur .pop-tile:hover { background: #ffffff4d; }
.pop-tile.ok { background: #1C7A5A; border-color: #7fd8b8; }
.pop-tile.boom { background: #C0262D; border-color: #ffb3b0; }
.pop-tile.rev-ok { background: #1c7a5a59; border-color: #7fd8b866; color: #bfe9da; }
.pop-tile.rev-bad { background: #c0262d59; border-color: #ffb3b066; color: #ffc9c6; }
@media (max-width: 480px) {
  .pop-board { padding: 10px; gap: 6px; }
  .pop-row { grid-template-columns: 62px minmax(0, 1fr); gap: 7px; }
  .pop-tile { height: 40px; }
  .pop-x { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) { .pop-tile { transition: background-color .12s ease; } }
