/* Big, quiet picture choices; stable board during play and completion. */
.puzzle-setup fieldset{border:0;padding:0;margin:1.5rem 0}.puzzle-setup legend{font-weight:800;margin-bottom:.7rem;font-size:1.12rem}.puzzle-pictures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.puzzle-picture{padding:0 0 14px;overflow:hidden;border:3px solid #9aacc1;background:#fffdf7;min-width:0;border-radius:18px}.puzzle-picture img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-bottom:12px}.puzzle-picture strong{display:block;padding:0 12px;font-size:1rem}.puzzle-picture[aria-pressed=true],.puzzle-levels button[aria-pressed=true]{border-color:#174f89;box-shadow:0 0 0 3px #174f89;background:#eaf2ff}.puzzle-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.puzzle-levels button{border:3px solid #9aacc1;border-radius:16px;padding:16px 10px;background:#fffdf7;min-width:0}.puzzle-levels strong,.puzzle-levels span{display:block}.puzzle-levels strong{font-size:1.2rem}.puzzle-levels span{font-size:.84rem;margin-top:.25rem}.puzzle-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.puzzle-toolbar h3{margin:0}.puzzle-toolbar .status{margin:.4rem 0}.puzzle-model{background:#fffdf7;border:1px solid #9aacc1;border-radius:16px;padding:14px 20px;margin:1rem 0}.puzzle-model summary{cursor:pointer;padding:8px 0;min-height:48px}.puzzle-model img{display:block;width:min(100%,240px);height:auto;aspect-ratio:3/2;object-fit:contain;margin:10px auto}.puzzle-actions{display:flex;gap:12px;flex-wrap:wrap}.puzzle-actions button{font-size:.84rem;min-height:56px;padding:12px 16px}.puzzle-actions button[aria-pressed=true]{border:3px solid #174f89}.puzzle-actions button:disabled{opacity:1;background:#edf0f3;color:#58616d;border-color:#9aacc1;cursor:default}.puzzle-notice{min-height:3.8em;box-sizing:border-box;border-radius:14px;border:2px solid #9aacc1;padding:12px 16px;margin:1rem 0;background:#fffdf7;font-size:1rem}.puzzle-stage[data-complete=true] .puzzle-notice{background:#e5f2df;border-color:#326047;font-weight:800}.puzzle-pan-note{font-size:.84rem}.puzzle-pan{max-width:100%;overflow:auto;border-radius:16px;padding:8px;background:#dce7f1;overscroll-behavior-x:contain}.puzzle-board.puzzle-board-v12{display:grid;grid-template-columns:repeat(var(--puzzle-cols),minmax(0,1fr));grid-template-rows:repeat(var(--puzzle-rows),minmax(0,1fr));width:100%;max-width:720px;min-width:var(--puzzle-min);aspect-ratio:3/2;gap:0;padding:0;margin:0 auto;border-radius:0;box-shadow:none;background:#fff}.puzzle-board-v12 .puzzle-piece,.puzzle-board-v12 .puzzle-piece:hover{aspect-ratio:auto;min-height:0!important;min-width:0;background-repeat:no-repeat;border:1px solid #233b52;border-radius:0;padding:0;box-shadow:none;cursor:pointer;position:relative}.puzzle-board-v12 .puzzle-piece.selected{outline:5px solid #b44216;outline-offset:-6px;z-index:1;border-color:#b44216}.puzzle-board-v12 .puzzle-piece:focus-visible{outline-offset:-5px!important;z-index:2}.puzzle-number{position:absolute;left:3px;bottom:3px;background:#fff;color:#172f4d;border-radius:3px;font-size:14px;line-height:1.3;padding:1px 4px;font-weight:800}.puzzle-number:empty{display:none}.puzzle-after{min-height:4em}.puzzle-stage{overflow-anchor:none}.high-contrast .puzzle-board-v12 .puzzle-piece{background-color:transparent!important}.high-contrast .puzzle-picture[aria-pressed=true],.high-contrast .puzzle-levels button[aria-pressed=true]{outline:4px solid #111;outline-offset:2px}.high-contrast .puzzle-number{color:#111!important;background:#fff!important}html[lang=en] .puzzle-picture strong,html[lang=en] .puzzle-actions button{overflow-wrap:anywhere} @media(max-width:760px){.puzzle-pictures{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.puzzle-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.puzzle-picture strong{font-size:.9rem}.puzzle-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.puzzle-actions button{min-width:0}.puzzle-toolbar{display:block}.puzzle-toolbar button{width:100%;margin-top:.6rem}.puzzle-pan{padding:5px}.puzzle-model{padding:12px}.reading-largest .puzzle-pictures{grid-template-columns:1fr}.puzzle-notice{min-height:5.5em}.puzzle-after{min-height:6em}}
.game-menu button .game-cover.cover-puzzle{background-image:url('assets/puzzle-dog-v01.webp');background-size:cover;background-position:center}.puzzle-stage[data-complete=true] .puzzle-pan{outline:4px solid #326047;outline-offset:2px}
