/* Isolated styles: No.19-26 only, no existing game selectors changed */
.p4-board{display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;width:100%;min-height:180px;margin:15px auto}.p4-extra{text-align:center;color:#315e46;font-weight:750;min-height:26px;margin:9px auto}.p4-grid{display:grid;gap:4px;width:min(100%,530px);margin:0 auto;aspect-ratio:1;padding:7px;border-radius:15px;background:#e1eee5}.p4-cell{display:grid;place-items:center;min-width:0;min-height:0;aspect-ratio:1;background:#fff;border:1px solid #bad5c5;border-radius:7px;color:#245b41;cursor:pointer;font-size:clamp(15px,4vw,26px);font-weight:800;touch-action:manipulation}.p4-cell:focus-visible,.p4-action:focus-visible,.p4-field:focus-visible{outline:3px solid #edb561;outline-offset:2px}.p4-cell.fixed{background:#deeadf;cursor:default}.p4-cell.selected{box-shadow:inset 0 0 0 3px #f3a54a}.p4-cell.correct{background:#c7ead4}.p4-cell.wrong{background:#f9d8d1}.p4-cell.wall{background:#5c7468;border-color:#5c7468;border-radius:3px;cursor:default}.p4-cell.goal{background:#fae5a8}.p4-cell.hero{background:#d1e9d9;color:#146b4b}.p4-cell.box{background:#dc9c68;color:#593d1e}.p4-cell.box.done{background:#9bd39f;color:#214d2c}.p4-cell:disabled{opacity:.75;cursor:default}.p4-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.p4-action{border:1px solid #a1cbb3;border-radius:11px;padding:10px 16px;min-height:44px;background:#edf7f0;color:#235c43;font-weight:750;font-size:16px;cursor:pointer}.p4-action.primary{background:#3b9572;border-color:#3b9572;color:#fff}.p4-note{text-align:center;color:#587460;font-size:14px;margin:2px auto}.p4-dpad{display:grid;grid-template-columns:repeat(3,58px);gap:6px;margin:0 auto}.p4-dpad button{min-height:52px;font-size:24px}.p4-jugs{display:flex;justify-content:center;align-items:flex-end;gap:13px;width:min(100%,630px)}.p4-jug-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;max-width:160px}.p4-jug{border:4px solid #75a3b3;border-top:0;border-radius:5px 5px 16px 16px;background:#f5f9fa;width:100%;height:180px;position:relative;overflow:hidden;cursor:pointer}.p4-water{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,#a9dbef,#4a9fc1);transition:height .2s}.p4-jug span{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);font-weight:800;color:#174761;font-size:21px;text-shadow:0 1px 0 #fff;z-index:2}.p4-jug-wrap.selected .p4-jug{outline:4px solid #eab764;outline-offset:3px}.p4-options{display:flex;flex-wrap:wrap;gap:9px;justify-content:center}.p4-option{min-width:72px;min-height:65px;padding:10px;border-radius:12px;border:2px solid #b9d5c6;background:#fff;color:#285d44;font-size:24px;font-weight:850;cursor:pointer}.p4-option:disabled{opacity:.5}.p4-sequence{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center}.p4-tile{min-width:57px;min-height:65px;display:grid;place-items:center;background:white;border:2px solid #a6cdb7;border-radius:12px;font-size:25px;font-weight:850;color:#25563e;padding:5px}.p4-tile.blank{background:#e1eee6;border-style:dashed}.p4-clue{font-size:18px;color:#315b43;font-weight:750;text-align:center}.p4-fields{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;max-width:100%}.p4-field{width:58px;min-height:58px;border:2px solid #b9d6c6;background:white;border-radius:11px;text-align:center;font-size:24px;font-weight:800;color:#22543d}.p4-field:disabled{background:#e3eee5}.p4-field.blank{border-color:#e5ac5b}.p4-clues{max-width:550px;width:100%;display:grid;gap:6px}.p4-clues p{background:#edf6ef;border-radius:9px;padding:9px;margin:0;color:#315e44}.p4-order{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.p4-item{min-width:60px;min-height:72px;border-radius:12px;padding:7px;background:#f7fbf8;border:2px solid #9dc8ad;font-size:19px;font-weight:850;color:#245e43;cursor:pointer}.p4-pyramid{display:flex;flex-direction:column;gap:6px;align-items:center;width:100%}.p4-pyramid-row{display:flex;justify-content:center;gap:5px}.p4-pyramid .p4-field{width:clamp(40px,10vw,64px);min-height:52px;font-size:clamp(17px,4vw,23px)}.p4-sky{display:grid;gap:4px;width:min(100%,490px);aspect-ratio:1;margin:0 auto}.p4-sky-clue{display:grid;place-items:center;font-weight:800;color:#38694f;font-size:20px}.p4-sky .p4-cell{font-size:clamp(15px,4vw,25px)}.p4-legend{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.p4-swatch{min-width:50px;min-height:44px;border-radius:9px;border:2px solid #fff;box-shadow:0 0 0 1px #aacaba;cursor:pointer}.p4-board .p4-grid.p4-compact{width:min(100%,445px)}
@media(max-width:500px){.p4-grid{gap:2px;padding:4px}.p4-cell{border-radius:4px}.p4-field{width:45px;min-height:50px}.p4-jug{height:150px}.p4-item{min-width:47px;min-height:58px}.p4-options{gap:5px}.p4-option{min-width:57px}}
