.gh-glyph{display:block;width:70px;max-width:100%;height:91px}.gh-word{font-family:Arial,sans-serif;font-size:38px;line-height:1.3}.gh-demo{max-width:300px;margin:auto;text-align:center}.gh-demo svg{width:100%;height:auto}.gh-memory{max-width:500px;margin:auto;text-align:center}.gh-memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gh-memory-card{min-width:48px;min-height:112px;display:flex;align-items:center;justify-content:center;position:relative;font-size:38px}.gh-memory-card.matched{border:3px solid #32634b}.gh-memory-card:disabled{opacity:1}.gh-memory button{touch-action:manipulation}
.gh-glyph{display:block;width:70px;max-width:100%;height:91px}.gh-word{font-family:Arial,sans-serif;font-size:38px;line-height:1.3}.gh-demo{max-width:300px;margin:auto;text-align:center}.gh-demo svg{width:100%;height:auto}.gh-scanner{max-width:540px;margin:auto;text-align:center}.gh-scan-request{display:flex;justify-content:center;gap:18px;align-items:center}.gh-scan-request>div{display:flex;flex-direction:column;align-items:center}.gh-scan-request svg{width:65px;height:85px}.gh-scan-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.gh-scan-filters button{display:flex;flex-direction:column;align-items:center;padding:6px;font-size:13px;overflow-wrap:anywhere}.gh-scan-filters svg{width:45px;height:59px}.gh-scanner button{min-width:48px;min-height:48px;touch-action:manipulation}.gh-scanner .selected{outline:3px solid currentColor;outline-offset:1px}.gh-scan-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0}.gh-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}.gh-scan-letter .gh-glyph{width:56px;height:74px}.gh-scan-letter.filtered{opacity:.3}.gh-scanner button:disabled{opacity:1}
.r-target strong{display:block;font-size:38px;letter-spacing:5px}.r-controls,.r-balloon-tray,.r-collected{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0}.r-balloon-hit{min-width:72px;min-height:96px;padding:8px;border:0;background:transparent!important;touch-action:manipulation}.r-balloon-shape{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e6d8ff;color:#302841;min-width:64px;min-height:72px;font-size:30px;border:2px solid #655085;pointer-events:none}.r-balloon-shape.tone-1{background:#ffe6a3}.r-balloon-shape.tone-2{background:#c9e8dd}.moving .r-balloon-shape{animation:r-float 2s ease-in-out infinite alternate}.r-collected span{padding:10px;border-bottom:3px solid #655085;font-size:32px;min-width:48px}.r-controls button{min-height:48px}@keyframes r-float{to{transform:translateY(-5px)}}@media(prefers-reduced-motion:reduce){.moving .r-balloon-shape{animation:none}}
.r-comic-captions,.r-comic-frames{display:flex;justify-content:center;gap:10px;margin:14px 0}.r-caption,.r-caption-slot{min-width:64px;min-height:52px;font-size:24px}.r-comic-frame{flex:1;min-width:0;max-width:200px;padding:8px;border:3px solid #a49baa;border-radius:14px;background:white;transition:background .25s,border-color .25s}.r-comic-frame>svg{display:block;width:100%;height:130px}.r-comic-frame.active{border-color:#633f8c;background:#f0e5ff;animation:r-frame-in .3s ease-out}.r-comic-frame>button{display:block;margin:6px auto;max-width:100%}.r-comic .primary{min-height:52px}.r-comic-frames.playing .r-comic-frame:not(.active){opacity:.55}.r-comic-demo-pair{display:flex;align-items:center;justify-content:center;gap:8px}.r-comic-demo-pair span{width:90px}.r-comic-demo-pair svg{display:block;width:90px;height:90px}@keyframes r-frame-in{from{transform:scale(.96)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.r-comic-frame.active{animation:none}}
.r-scratch-board{position:relative;width:min(100%,280px);aspect-ratio:1;margin:14px auto;background:#fff;border:3px solid #6c5d84;border-radius:16px;overflow:hidden}.r-scratch-word,.r-scratch-coating{position:absolute;inset:0;width:100%;height:100%}.r-scratch-word{display:flex;align-items:center;justify-content:center;user-select:none;color:#302841}.r-scratch-word strong{font-size:clamp(48px,15vw,64px);letter-spacing:4px}.r-scratch-coating{touch-action:none;cursor:crosshair}.r-patches{display:grid;grid-template-columns:repeat(3,52px);gap:8px;justify-content:center;margin:16px auto}.r-patch{min-width:52px;min-height:52px}.r-picture-options{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.r-picture-choice{width:80px;min-height:80px;padding:4px}.r-picture-choice svg{width:100%;height:72px}
.l-case{max-width:560px;margin:auto;text-align:center}.l-case *{box-sizing:border-box}.l-case button{min-width:48px;min-height:52px;max-width:100%;touch-action:manipulation;white-space:normal}.l-case button:focus-visible,.l-case .selected{outline:3px solid #5e4190;outline-offset:2px}.l-case .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.l-case .two{grid-template-columns:repeat(2,minmax(0,1fr))}.l-case svg{width:100%;height:auto;max-width:130px;display:block;margin:auto}.l-case .label{display:block;font-size:36px;letter-spacing:3px;margin:12px auto;padding:12px;border:2px solid #a3967e;border-radius:14px;background:#fff9e9;color:#382e25}.l-case .letter{font-size:40px;padding:8px}.l-case .scene{background:#eef7e8;border-radius:16px;padding:12px}.l-case .token{font-size:28px}.l-case .sun svg{max-width:64px}.l-case .envelope{border:3px solid #a99a7e;padding:16px;border-radius:10px;background:#fffaf0}.l-case .scene button{background:#fffdf7;color:#352f28}
.l-mail{max-width:560px;margin:auto;text-align:center}.l-mail *{box-sizing:border-box}.l-mail button{min-width:48px;min-height:52px;max-width:100%;touch-action:manipulation;white-space:normal}.l-mail button:focus-visible,.l-mail .selected{outline:3px solid #5e4190;outline-offset:2px}.l-mail .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.l-mail .two{grid-template-columns:repeat(2,minmax(0,1fr))}.l-mail svg{width:100%;height:auto;max-width:130px;display:block;margin:auto}.l-mail .label{display:block;font-size:36px;letter-spacing:3px;margin:12px auto;padding:12px;border:2px solid #a3967e;border-radius:14px;background:#fff9e9;color:#382e25}.l-mail .letter{font-size:40px;padding:8px}.l-mail .scene{background:#eef7e8;border-radius:16px;padding:12px}.l-mail .token{font-size:28px}.l-mail .sun svg{max-width:64px}.l-mail .envelope{border:3px solid #a99a7e;padding:16px;border-radius:10px;background:#fffaf0}.l-mail .scene button{background:#fffdf7;color:#352f28}
.l-market{max-width:560px;margin:auto;text-align:center}.l-market *{box-sizing:border-box}.l-market button{min-width:48px;min-height:52px;max-width:100%;touch-action:manipulation;white-space:normal}.l-market button:focus-visible,.l-market .selected{outline:3px solid #5e4190;outline-offset:2px}.l-market .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.l-market .two{grid-template-columns:repeat(2,minmax(0,1fr))}.l-market svg{width:100%;height:auto;max-width:130px;display:block;margin:auto}.l-market .label{display:block;font-size:36px;letter-spacing:3px;margin:12px auto;padding:12px;border:2px solid #a3967e;border-radius:14px;background:#fff9e9;color:#382e25}.l-market .letter{font-size:40px;padding:8px}.l-market .scene{background:#eef7e8;border-radius:16px;padding:12px}.l-market .token{font-size:28px}.l-market .sun svg{max-width:64px}.l-market .envelope{border:3px solid #a99a7e;padding:16px;border-radius:10px;background:#fffaf0}.l-market .scene button{background:#fffdf7;color:#352f28}
.l-repair{max-width:560px;margin:auto;text-align:center}.l-repair *{box-sizing:border-box}.l-repair button{min-width:48px;min-height:52px;max-width:100%;touch-action:manipulation;white-space:normal}.l-repair button:focus-visible,.l-repair .selected{outline:3px solid #5e4190;outline-offset:2px}.l-repair .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.l-repair .two{grid-template-columns:repeat(2,minmax(0,1fr))}.l-repair svg{width:100%;height:auto;max-width:130px;display:block;margin:auto}.l-repair .label{display:block;font-size:36px;letter-spacing:3px;margin:12px auto;padding:12px;border:2px solid #a3967e;border-radius:14px;background:#fff9e9;color:#382e25}.l-repair .letter{font-size:40px;padding:8px}.l-repair .scene{background:#eef7e8;border-radius:16px;padding:12px}.l-repair .token{font-size:28px}.l-repair .sun svg{max-width:64px}.l-repair .envelope{border:3px solid #a99a7e;padding:16px;border-radius:10px;background:#fffaf0}.l-repair .scene button{background:#fffdf7;color:#352f28}
.r-scratch-picture .r-written-card{font-size:clamp(38px,10vw,70px);font-weight:800;color:#352847;letter-spacing:5px}.r-scratch-picture{display:grid;place-items:center}.route-done{color:#27634d;font-weight:700}

.r-balloon-shape{background:#e9e1f5!important;color:#302441!important}.r-written-card{font-size:clamp(38px,10vw,70px);font-weight:800;letter-spacing:5px}
