.play-shell { max-width: 690px; margin: auto; padding: 16px 16px 32px; }
.play-heading { margin: 20px 0 14px; text-align: center; }
.play-heading h1 { font-size: clamp(1.65rem, 6.2vw, 2.8rem); line-height: 1.2; margin-bottom: 8px; }
.play-heading p { color: var(--muted); }
.play-area { padding: clamp(13px, 3vw, 23px); border: 1px solid var(--line); border-radius: 24px; background: #fffdf5; box-shadow: 0 4px #ecdfc6; text-align: center; }
.play-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
#game-status { display: grid; place-items: center; margin: 7px 0 12px; min-height: 2.6em; font-weight: 700; }
.board { display: grid; gap: 8px; margin: auto; max-width: 380px; }
.board button { display: grid; place-items: center; cursor: pointer; padding: 0; touch-action: manipulation; color: var(--ink); }
.board button[aria-disabled="true"] { cursor: default; }
.board.hide, .board.puzzle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board.hide { max-width: 360px; }
.board.hide button { min-height: 67px; aspect-ratio: 1.25; border: 2px solid #accf9a; background: #e0f1d3; border-radius: 13px; font-size: clamp(1.5rem, 8vw, 2.6rem); }
.board.hide button.missed { background: #f7efdd; border-color: #e4d7bc; }
.board.hide button.found { background: #fff0ad; border-color: #eec45e; }
.board.hide img { display: block; width: 84%; height: auto; max-height: 90%; object-fit: contain; }
.board.bells { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 330px; }
.board.bells button { gap: 0; min-height: 88px; border-radius: 15px; border: 2px solid #ca97a9; background: #ffe7ef; box-shadow: 0 3px #ca97a9; font-weight: 700; }
.board.bells button:nth-child(even) { background: #faf1cd; border-color: #debc75; box-shadow: 0 3px #debc75; }
.board.bells button.lit { background: #ffda62; border-color: #73491e; outline: 3px solid #73491e; outline-offset: -4px; }
.board.bells button span { font-size: 1.85rem; line-height: 1.2; }
.board.puzzle { gap: 4px; width: min(100%, 290px); border: 2px solid #baa1cb; border-radius: 13px; padding: 4px; background: #e8dbf3; }
.board.puzzle button { position: relative; min-width: 0; aspect-ratio: 1; border: 1px solid #c6a9b0; border-radius: 5px; background: #fff2c3 url("assets/pinachi-player-clear.png") no-repeat; background-size: 300% 300%; }
.board.puzzle button.empty { background: #e8dbf3; border: 2px dashed #b6a0c6; }
.board.puzzle button span { position: absolute; right: 2px; bottom: 2px; padding: 0 5px; line-height: 1.35; font-size: .875rem; border-radius: 5px; background: #fffdf5; }
.play-actions { display: flex; justify-content: center; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 17px; }
.play-actions button { cursor: pointer; }
#puzzle-preview { margin-top: 13px; }
#puzzle-preview summary { color: var(--berry); cursor: pointer; font-weight: 700; }
#puzzle-preview img { display: block; margin: 6px auto 0; background: #fff2c3; border-radius: 8px; }
