.experience{padding:3rem 0;border-top:1px solid var(--line)}.experience h2{font-size:clamp(1.6rem,3vw,2.3rem)}.experience [hidden],.correction-entry[hidden]{display:none!important}.gallery-filters,.gallery-controls,.puzzle-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}.gallery-filters button{background:var(--paper);color:var(--green)}.gallery-filters button[aria-pressed=true]{background:var(--green);color:white}.gallery-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:2rem;align-items:start}.gallery-view{margin:0;min-width:0}.gallery-view>a{display:block}.gallery-view img{display:block;width:100%;max-height:640px;object-fit:contain;background:white;border:1px solid var(--line)}.gallery-view figcaption{font-size:.9rem;padding:.8rem 0;min-height:3rem}.gallery-controls{align-items:center}.gallery-controls button{padding:.6rem .8rem;font-size:.85rem}.gallery-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.gallery-item{min-width:0}.gallery-item button{display:block;width:100%;padding:.35rem;background:var(--paper);color:var(--ink);border:2px solid var(--line);font-size:.8rem;line-height:1.5}.gallery-item [aria-pressed=true]{border:3px solid var(--green);box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--green)}.gallery-item img{display:block;width:100%;height:auto}.gallery-item span{display:block;padding:.4rem 0}.gallery-item button:hover{background:var(--cream)}#gallery-dialog{width:min(1050px,calc(100% - 2rem));max-width:calc(100% - 2rem);max-height:90dvh;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:1rem}#gallery-dialog:not([open]){display:none}#gallery-dialog::backdrop{background:#102d26b3}#gallery-close{margin-bottom:.8rem}.zoom-scroll{max-height:72dvh;overflow:auto}.zoom-scroll img{display:block;width:918px;max-width:none;height:auto;background:white}.puzzle-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:1.5rem;align-items:start}.puzzle-scroll{max-width:100%;overflow:auto;padding:6px;border:1px solid var(--line);background:var(--paper)}.puzzle-grid{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));min-width:480px;max-width:600px;margin:auto;gap:1px}.puzzle-grid button{aspect-ratio:1;padding:0;min-height:0;min-width:0;border-radius:0;border:1px solid transparent;background:white;color:var(--ink);font-weight:600;font-size:1rem;line-height:1.1}.puzzle-grid button:hover{border-color:var(--green);background:var(--cream)}.puzzle-grid button.is-revealed{background:#f7e5c4;color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent)}.puzzle-grid button.is-found{background:var(--green);color:white}.puzzle-grid button.is-start,.puzzle-grid button.is-hint{outline:3px solid var(--accent);outline-offset:-3px}.puzzle-grid button:focus-visible{outline:3px solid var(--focus);outline-offset:1px;position:relative;z-index:1}.puzzle-words{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:.65rem}.puzzle-words li{font-size:.95rem;padding:.3rem;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.word-state{display:block;font-size:.75rem;color:var(--muted)}.word-found>span:first-child{text-decoration:line-through;text-decoration-thickness:2px}.word-revealed>span:first-child{text-decoration:underline dotted;text-underline-offset:.25em}.puzzle-actions button{font-size:.85rem;padding:.7rem 1rem}.interaction-status{min-height:4em;border-left:3px solid var(--green);padding:.7rem 1rem;background:var(--paper)}.print-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:640px}.print-options label{margin-top:0}#print-checklist li{margin:.8rem 0}.correction-entry{padding:2rem 0;border-bottom:1px solid var(--line)}.correction-entry h2{font-size:1.5rem}#correction-book{max-width:100%}@media(max-width:1000px){.puzzle-layout{grid-template-columns:minmax(0,1fr)}.puzzle-words{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.gallery-layout{grid-template-columns:minmax(0,1fr)}.gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-item img{max-height:190px;object-fit:contain}.gallery-filters button{font-size:.85rem;padding:.65rem .8rem}}@media(max-width:420px){.print-options{grid-template-columns:1fr}.puzzle-words{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-thumbs{gap:.6rem}.gallery-item button{font-size:.75rem}.puzzle-actions{display:grid}.gallery-controls{gap:.5rem}.gallery-controls button{font-size:.8rem}}
