:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page-bg:radial-gradient(circle at top, #e9e5da, #cdc7b8);--text:#33302a;--surface:#fdfbf6;--surface-border:#b8ae98;--surface-strong:#33302a;--surface-strong-text:#fff;--panel:#fffdf8;font-family:Segoe UI,system-ui,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-bg:radial-gradient(circle at top, #2b2740, #14121c);--text:#e6e1d8;--surface:#322d42;--surface-border:#4d4663;--surface-strong:#e6e1d8;--surface-strong-text:#221f2c;--panel:#2a2636}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--page-bg);min-height:100vh;color:var(--text);flex-direction:column;align-items:center;gap:1.5rem;margin:0;padding:2rem 1rem 3rem;display:flex}#app{flex-direction:column;align-items:center;gap:1.5rem;width:100%;max-width:420px;display:flex}.topbar{justify-content:space-between;align-items:center;width:100%;max-width:420px;display:flex}.topbar h1{letter-spacing:.02em;margin:0;font-size:1.25rem}.topbar h1 .dot{vertical-align:middle;background:#c2185b;border-radius:50%;width:6px;height:6px;margin:0 3px;display:inline-block}.lang-switch{gap:.25rem;display:flex}.lang-switch button{border:1px solid var(--surface-border);background:var(--surface);cursor:pointer;border-radius:6px;padding:.25rem .6rem;font-size:.8rem}.lang-switch button.is-active{background:var(--surface-strong);color:var(--surface-strong-text);border-color:var(--surface-strong)}.device{background:radial-gradient(circle at 30% 20%,#ffffff8c 0%,#fff0 42%),linear-gradient(#0000 52%,#0f061c52 53.5% 55.5%,#0000 57%),linear-gradient(160deg,#a874d9 0%,#6d3fa3 45%,#3c2361 80%,#241539 100%);border-radius:48% 48% 42% 42%/58% 58% 42% 42%;width:320px;padding:2.75rem 2.25rem 2.25rem;position:relative;box-shadow:inset 0 6px 14px #ffffff4d,inset 0 -10px 22px #0006,0 18px 30px #0000004d}.device:before{content:"";background:linear-gradient(160deg,#cdb2ea,#5a3390);border-radius:50%;width:26px;height:26px;position:absolute;top:-14px;left:50%;transform:translate(-50%);box-shadow:inset 0 2px 4px #fff6,0 3px 6px #0000004d}.device:after{content:"";background:#5a3390;border-radius:50%;width:10px;height:10px;position:absolute;top:-6px;left:50%;transform:translate(-50%);box-shadow:inset 0 2px 3px #00000059}.screen-bezel{background:#241c30;border:3px solid #ffce54;border-radius:16px;justify-content:center;width:fit-content;margin:1.75rem auto 0;padding:8px;display:flex;box-shadow:inset 0 2px 6px #0009}.lcd-stack{aspect-ratio:128/144;width:200px;max-width:100%;position:relative}.lcd-stack canvas{border-radius:4px;width:100%;height:100%;position:absolute;inset:0}#lcd{image-rendering:pixelated}.lcd-caption{text-align:center;letter-spacing:.02em;pointer-events:none;justify-content:center;align-items:flex-end;height:calc(11.1111% - 4px);margin:0;padding-bottom:2px;font-family:Courier New,monospace;font-size:.75rem;line-height:1.15;display:flex;position:absolute;bottom:4px;left:4px;right:4px;overflow:hidden}.lcd-caption .cap-split{grid-template-columns:1fr auto 1fr;align-items:center;width:100%;display:grid}.lcd-caption .cap-label{text-align:left}.lcd-caption .cap-more{margin-left:.4em;animation:1s step-end infinite cap-more-blink}@keyframes cap-more-blink{0%,50%{opacity:1}50.01%,to{opacity:0}}.lcd-caption strong{text-decoration:underline}.buttons{justify-content:center;gap:2rem;margin-top:1.25rem;display:flex}.tama-button{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation;color:#4a4636;cursor:pointer;background:linear-gradient(160deg,#f6f0fc,#cbb8e0);border:none;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:48px;height:48px;padding:0;transition:transform 50ms;display:flex;box-shadow:0 4px #8a6bb0,0 6px 8px #00000040}.tama-button svg{width:24px;height:24px;display:block}.tama-button .key{letter-spacing:.04em;opacity:.5;font-size:.5rem;font-weight:700;line-height:1}@media (hover:none) and (pointer:coarse){.tama-button .key{display:none}}.tama-button svg,.tama-button .key{filter:drop-shadow(0 1px #ffffffe6)}.tama-button:active,.tama-button.is-pressed{transform:translateY(3px);box-shadow:0 1px #8a6bb0,0 2px 4px #00000040}.utility-bar{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:.75rem;display:flex}.utility-break{flex-basis:100%;height:0}.utility-bar button{border:1px solid var(--surface-border);background:var(--surface);width:2.5rem;height:2.5rem;color:var(--text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.utility-bar button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.4rem;height:1.4rem}.page-footer{color:var(--text);opacity:.72;justify-content:center;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.page-footer button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.page-footer button:hover{opacity:1}.overlay{background:#00000059;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.overlay[hidden]{display:none}.overlay-panel{background:var(--panel);border-radius:12px;flex-direction:column;max-width:340px;max-height:calc(100dvh - 2rem);padding:1.5rem;display:flex;box-shadow:0 20px 40px #0000004d}.overlay-panel>p{min-height:0;overflow-y:auto}.overlay-panel h2{margin-top:0}.overlay-panel>p,.overlay-scroll p,.acc-body{white-space:pre-line}.overlay-panel button{background:var(--surface-strong);color:var(--surface-strong-text);cursor:pointer;border:none;border-radius:6px;margin-top:1rem;padding:.5rem 1rem}.doc-panel{max-width:400px}.overlay-scroll{min-height:0;overflow:hidden auto}.overlay-scroll p{overflow-wrap:break-word;margin:0 0 1rem;line-height:1.5}.overlay-scroll p:last-child{margin-bottom:0}.overlay-scroll a,.overlay-panel>p a{color:inherit;text-decoration:underline}.overlay-scroll h3{margin:1.3rem 0 .4rem;font-size:.95rem}.overlay-scroll h3:first-child{margin-top:0}.overlay-version{opacity:.65;margin-top:1.1rem;font-size:.8rem}.overlay-scroll .lore-cta{background:var(--surface-strong);color:var(--surface-strong-text);font:inherit;cursor:pointer;border:none;border-radius:6px;align-items:center;gap:.45rem;margin-top:.4rem;padding:.5rem .85rem;font-size:.9rem;display:inline-flex}.overlay-scroll .lore-cta-arrow{font-size:1.05em;line-height:1;transition:transform .15s}.overlay-scroll .lore-cta:hover .lore-cta-arrow{transform:translate(3px)}details.acc{border-top:1px solid var(--surface-border)}details.acc:last-child{border-bottom:1px solid var(--surface-border)}details.acc summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .1rem;font-size:.92rem;font-weight:600;list-style:none;display:flex}details.acc summary::-webkit-details-marker{display:none}details.acc summary .acc-title{overflow-wrap:break-word;min-width:0}details.acc summary:after{content:"▸";opacity:.5;flex-shrink:0;transition:transform .15s}details.acc[open] summary:after{transform:rotate(90deg)}details.acc summary:hover{opacity:.85}.acc-body{overflow-wrap:break-word;padding:0 .1rem .9rem;font-size:.9rem;line-height:1.55}.key-chip{border:1px solid var(--surface-border);background:var(--surface);vertical-align:middle;border-radius:999px;justify-content:center;align-items:center;width:1.5em;height:1.5em;margin:0 .15em;display:inline-flex}.key-chip svg{width:.85em;height:.85em;color:var(--text);display:block}.key-chip-key{opacity:.7;white-space:nowrap;margin-left:.15em;font-size:.85em}.update-banner{border:1px solid var(--surface-border);background:var(--surface);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;width:100%;padding:.7rem .9rem;display:flex}.update-banner[hidden]{display:none}.update-banner-text{flex:12rem;margin:0;font-size:.85rem;line-height:1.35}.update-banner-actions{gap:.4rem;display:flex}.update-banner-actions button{border:1px solid var(--surface-border);color:inherit;cursor:pointer;background:0 0;border-radius:6px;padding:.35rem .7rem;font-size:.8rem}.update-banner-actions button:first-child{background:var(--surface-strong);color:var(--surface-strong-text);border-color:#0000}.overlay-actions{flex-wrap:wrap;gap:.5rem;display:flex}.overlay-actions button:not(:first-child){color:inherit;border:1px solid var(--surface-border);background:0 0}.debug-panel{max-width:440px}.debug-body{flex-direction:column;gap:.85rem;min-height:0;display:flex;overflow-y:auto}.debug-row{flex-direction:column;gap:.35rem;display:flex}.debug-row-label{opacity:.75;font-size:.8rem;font-weight:700}.debug-row-buttons{flex-wrap:wrap;gap:.4rem;display:flex}.debug-row-buttons button{border:1px solid var(--surface-border);background:var(--surface);color:inherit;cursor:pointer;border-radius:6px;margin-top:0;padding:.35rem .6rem;font-size:.8rem}.debug-row-buttons button.is-active{background:var(--surface-strong);color:var(--surface-strong-text)}.debug-row-buttons button:disabled{opacity:.35;cursor:not-allowed}.debug-row-buttons button.is-danger{color:#b3452f;border-color:#b3452f}.debug-status{white-space:pre-wrap;background:var(--surface);border:1px solid var(--surface-border);border-radius:6px;max-height:8rem;padding:.6rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;overflow-y:auto}
