.tp-spelling{box-sizing:border-box;width:min(820px,95vw);max-height:94vh;overflow:auto;border:0;border-radius:24px;padding:24px;background:#f5f8ff;color:#243047;font:16px system-ui}.tp-spelling::backdrop{background:#17213bbb}.spell-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.tp-spelling h2{font-size:24px;margin:0}.tp-spelling button{font:800 17px system-ui;cursor:pointer;border:0;border-radius:12px;padding:12px 16px;background:#4338ca;color:white}.tp-spelling button:disabled{opacity:.4;cursor:default}.spell-image{display:block;width:100%;max-height:300px;object-fit:contain;margin:16px auto;border-radius:16px}.spell-slots,.spell-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;padding:12px;min-height:60px}.spell-bank{background:#e0e7ff;border-radius:16px}.tp-spelling .spell-letter{width:45px;height:52px;padding:0;font-size:24px;touch-action:manipulation}.tp-spelling .spell-slot{background:white;color:#4338ca;border:2px dashed #818cf8}.spell-space{width:18px;align-self:center}.spell-status{text-align:center;min-height:24px;font-weight:800;color:#087f87}.tp-spelling button:focus-visible{outline:4px solid #fbbf24;outline-offset:3px}@media(max-width:500px){.tp-spelling{padding:14px}.tp-spelling .spell-letter{width:36px;height:43px;font-size:21px}.spell-slots,.spell-bank{gap:5px;padding:8px}.spell-image{max-height:220px}}
