
.shch-explore{max-width:500px;margin:auto;text-align:center}.shch-explore-target{font-size:1.7rem;white-space:nowrap}.shch-explore-board{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:18px;cursor:crosshair;user-select:none;touch-action:none}.shch-explore-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:10px 0}.shch-explore button{min-width:48px;min-height:48px;touch-action:manipulation}.shch-explore button:focus-visible,.shch-explore-board:focus-visible{outline:3px solid #4f3b82;outline-offset:2px}
.shch-demo{max-width:300px;margin:auto;text-align:center}.shch-demo svg{width:100%;height:auto}

.ts-grid-scroll{overflow-x:auto;max-width:100%;padding:5px}.ts-maze .ts-grid{min-width:480px;max-width:520px}.ts-maze.ts-game .ts-cell{font-size:22px;white-space:nowrap;overflow-wrap:normal}.ts-game .ts-target{font-size:clamp(26px,7vw,36px);letter-spacing:1px;white-space:nowrap}.ts-clay .ts-two button{padding:6px;min-width:0}.ts-clay .ts-two button svg{max-height:85px}.ts-game{max-width:500px;margin:auto;text-align:center}.ts-game *{box-sizing:border-box}.ts-game button{min-width:48px;min-height:52px;touch-action:manipulation;max-width:100%;white-space:normal}.ts-game button:focus-visible,.ts-game .selected{outline:3px solid #69439c;outline-offset:2px}.ts-two,.ts-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.ts-three{grid-template-columns:repeat(3,minmax(0,1fr))}.ts-clay svg,.ts-demo svg{width:100%;height:auto;max-height:170px;fill:none;stroke:#68498f;stroke-width:10;stroke-linecap:round}.ts-clay .ts-three svg{max-height:85px}.ts-clay .ts-guide{stroke:#aaa18f;stroke-width:2;stroke-dasharray:4 5}.ts-clay .ts-three button{padding:5px;font-size:14px}.ts-clay .ts-two>div>button{display:block;width:100%;margin:4px 0}.ts-target{display:block;font-size:36px;letter-spacing:4px;padding:12px;border:2px solid #a69982;border-radius:14px;margin:10px 0}.ts-paper,.ts-keys{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0}.ts-paper span{min-width:48px;border-bottom:3px solid #68498f;font-size:34px;padding:8px}.ts-keys button{font-size:29px;min-width:52px}.ts-print{font-size:32px}.ts-grid{display:grid;grid-template-columns:repeat(4,minmax(48px,1fr));gap:6px;max-width:292px;margin:16px auto}.ts-game .ts-cell{min-width:48px;min-height:60px;padding:4px 1px;border:2px solid #897f70;border-radius:10px;background:#fffaf0;color:#30291f;font-size:15px;overflow-wrap:anywhere}.ts-cell small{display:block;font-size:12px}.ts-game .ts-cell.current{outline:3px solid #69439c;background:#edddfa}.ts-game .ts-cell.blocked{background:#d5d1c8}.ts-game .ts-cell:disabled{opacity:1}.ts-demo svg{stroke-width:4;max-width:300px}
.ch-glyph{display:block;width:70px;max-width:100%;height:91px}.ch-word{font-family:Arial,sans-serif;font-size:38px;line-height:1.3}.ch-demo{max-width:300px;margin:auto;text-align:center}.ch-demo svg{width:100%;height:auto}.ch-memory{max-width:500px;margin:auto;text-align:center}.ch-memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ch-memory-card{min-width:48px;min-height:112px;display:flex;align-items:center;justify-content:center;position:relative;font-size:38px}.ch-memory-card.matched{border:3px solid #32634b}.ch-memory-card:disabled{opacity:1}.ch-memory button{touch-action:manipulation}.ch-glyph{display:block;width:70px;max-width:100%;height:91px}.ch-word{font-family:Arial,sans-serif;font-size:38px;line-height:1.3}.ch-demo{max-width:300px;margin:auto;text-align:center}.ch-demo svg{width:100%;height:auto}.ch-scanner{max-width:540px;margin:auto;text-align:center}.ch-scan-request{display:flex;justify-content:center;gap:18px;align-items:center}.ch-scan-request>div{display:flex;flex-direction:column;align-items:center}.ch-scan-request svg{width:65px;height:85px}.ch-scan-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ch-scan-filters button{display:flex;flex-direction:column;align-items:center;padding:6px;font-size:14px;overflow-wrap:anywhere}.ch-scan-filters svg{width:45px;height:59px}.ch-scanner button{min-width:48px;min-height:48px;touch-action:manipulation}.ch-scanner .selected{outline:3px solid currentColor;outline-offset:1px}.ch-scan-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0}.ch-scan-letter{min-width:0;min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #879b95;border-radius:12px;padding:3px}.ch-scan-letter .ch-glyph{width:56px;height:74px}.ch-scan-letter.filtered{opacity:.3}.ch-scanner button:disabled{opacity:1}.ch-memory-card{min-width:0;padding:8px;max-width:100%}.ch-word{display:block;max-width:100%;font-size:22px;white-space:nowrap;overflow-wrap:normal;line-height:1.25}.ch-memory,.ch-scanner{min-width:0;max-width:100%}.ch-memory *,.ch-scanner *{box-sizing:border-box}@media(max-width:370px){.ch-memory-words .ch-memory-grid{grid-template-columns:minmax(0,1fr)}.ch-memory-words .ch-memory-card{min-height:76px}}
.soft-game{max-width:520px;margin:auto;text-align:center}.soft-game *{box-sizing:border-box}.soft-game button{min-width:48px;min-height:48px;max-width:100%;touch-action:manipulation;white-space:normal}.soft-target{border:2px solid #a99b80;border-radius:15px;padding:12px}.soft-target small{display:block}.soft-target strong{font-size:clamp(24px,7vw,36px);overflow-wrap:anywhere}.soft-controls,.soft-tray{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:15px 0}.soft-hit{padding:6px;border:0;background:transparent!important}.soft-balloon{display:flex;align-items:center;justify-content:center;min-height:76px;padding:12px;border:2px solid #69567c;border-radius:50%;background:#e6dcf1;color:#30273a;font-size:clamp(20px,5vw,26px);pointer-events:none}.soft-collected{padding:12px;border-bottom:3px solid #69567c;font-size:30px;overflow-wrap:anywhere}.soft-letter{font-size:30px;padding:8px}.soft-game button:focus-visible{outline:3px solid #604478;outline-offset:2px}.soft-demo svg{width:100%;max-width:320px;height:auto}.moving .soft-balloon{animation:soft-float 2s ease-in-out infinite alternate}@keyframes soft-float{to{transform:translateY(-5px)}}@media(prefers-reduced-motion:reduce){.moving .soft-balloon{animation:none}}
.hard-case{max-width:520px;margin:auto;text-align:center}.hard-case *{box-sizing:border-box}.hard-case button{min-width:48px;min-height:52px;max-width:100%;touch-action:manipulation}.hard-sample{border:2px solid #a9997f;border-radius:16px;padding:12px;margin:12px}.hard-sample small{display:block}.hard-sample strong{font-size:clamp(24px,7vw,38px);overflow-wrap:anywhere}.hard-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.hard-letter{font-family:Arial,sans-serif;font-size:34px;padding:8px}.hard-locations{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.hard-case button:focus-visible{outline:3px solid #62437c;outline-offset:2px}.hard-demo svg{width:100%;height:auto;max-width:330px}
