.small{font-size:14px}
.pf-top .seg{max-width:560px;flex-wrap:wrap}
.pf-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:14px 0 10px;max-width:460px;margin-left:auto;margin-right:auto}
.pf-board{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:0;width:min(100%,460px);margin:0 auto;background:var(--cream);border-radius:12px;padding:4px;box-shadow:var(--shadow);user-select:none;-webkit-user-select:none}
.pf-c{position:relative;aspect-ratio:1;border:0;background:#fffdf6;margin:2px;border-radius:8px;cursor:pointer;padding:12%;display:flex;align-items:center;justify-content:center;touch-action:manipulation}
.pf-c:focus-visible{outline:3px solid var(--amber);outline-offset:-1px;z-index:2}
.pf-c.given{background:#e6dcc4;cursor:default}
.pf-c.bad{background:#ffd9d4;box-shadow:inset 0 0 0 2px #e0483c}
.pf-c svg{width:100%;height:100%;display:block}
.pf-c svg.pop{animation:pfpop .18s ease-out}
@keyframes pfpop{from{transform:scale(.6)}to{transform:scale(1)}}
.pf-e{position:absolute;z-index:3;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;background:var(--cream);color:#14213a;font:900 15px/20px system-ui,sans-serif;text-align:center;pointer-events:none;box-shadow:0 0 0 2px var(--cream)}
.pf-e.bad{color:#fff;background:#e0483c}
.pf-board.won .pf-c{background:#d9f7e5}
.pf-msg{text-align:center}
.pf-btns{justify-content:center}
@media (max-width:420px){.pf-e{width:17px;height:17px;margin:-8.5px 0 0 -8.5px;font-size:13px;line-height:17px}.pf-btns .btn{padding:9px 14px}}
