.stroke-order-guide:where(.astro-mourci5x){z-index:9999;position:relative}.word-kanji-row:where(.astro-mourci5x){background:#e11d481a;border:1px solid #e11d4840;border-radius:.5rem;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.4rem .75rem;display:flex}.word-kanji-label:where(.astro-mourci5x){color:#fda4af;font-size:.75rem;font-weight:700}.word-kanji-pills:where(.astro-mourci5x){flex-wrap:wrap;gap:.35rem;display:flex}.btn-word-kanji:where(.astro-mourci5x){color:var(--sl-color-white);cursor:pointer;background:#ffffff1a;border:1px solid #fff3;border-radius:.35rem;padding:.15rem .55rem;font-size:1.05rem;font-weight:800;transition:all .2s}[data-theme=light] .btn-word-kanji:where(.astro-mourci5x){color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.btn-word-kanji:where(.astro-mourci5x):hover,.btn-word-kanji:where(.astro-mourci5x).active{color:#fff;background:#e11d48;border-color:#fda4af;transform:translateY(-1px);box-shadow:0 0 10px #e11d4866}.stroke-modal-backdrop:where(.astro-mourci5x){backdrop-filter:blur(8px);z-index:10000;background:#000000bf;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.stroke-modal-panel:where(.astro-mourci5x){box-sizing:border-box;background:#0f172a;border:1px solid #e11d4866;border-radius:1.25rem;flex-direction:column;gap:1.2rem;width:100%;max-width:680px;max-height:90vh;padding:1.5rem;display:flex;overflow-y:auto;box-shadow:0 20px 50px #0009,0 0 30px #e11d4826}[data-theme=light] .stroke-modal-panel:where(.astro-mourci5x){background:#fff;border-color:#e11d484d;box-shadow:0 20px 50px #00000026}.stroke-modal-header:where(.astro-mourci5x){border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:flex-start;padding-bottom:.85rem;display:flex}.modal-title-group:where(.astro-mourci5x){flex-direction:column;gap:.25rem;display:flex}.stroke-guide-badge:where(.astro-mourci5x){text-transform:uppercase;color:#fda4af;background:#e11d4833;border:1px solid #e11d4859;border-radius:.35rem;width:fit-content;padding:.15rem .5rem;font-size:.7rem;font-weight:700}.stroke-modal-heading:where(.astro-mourci5x){align-items:baseline;gap:.75rem;margin:0;display:flex}.active-char-display:where(.astro-mourci5x){color:var(--sl-color-white);font-size:2.2rem;font-weight:900;line-height:1}[data-theme=light] .active-char-display:where(.astro-mourci5x){color:#0f172a}.active-char-pinyin:where(.astro-mourci5x){color:#fda4af;font-family:ui-monospace,SFMono-Regular,monospace;font-size:1.1rem;font-weight:600}.btn-modal-close:where(.astro-mourci5x){width:32px;height:32px;color:var(--sl-color-gray-3);cursor:pointer;background:#ffffff14;border:1px solid #ffffff1f;border-radius:.5rem;justify-content:center;align-items:center;font-size:1rem;transition:all .2s;display:flex}.btn-modal-close:where(.astro-mourci5x):hover{color:#fff;background:#ef44444d;border-color:#ef4444}.stroke-char-selector-row:where(.astro-mourci5x){flex-direction:column;gap:.6rem;display:flex}.char-input-wrap:where(.astro-mourci5x){gap:.5rem;display:flex}.stroke-char-input:where(.astro-mourci5x){color:var(--sl-color-white);background:#00000059;border:1px solid #ffffff1f;border-radius:.5rem;outline:none;flex:1;padding:.45rem .75rem;font-size:.85rem}[data-theme=light] .stroke-char-input:where(.astro-mourci5x){color:#0f172a;background:#f8fafc;border-color:#00000026}.stroke-char-input:where(.astro-mourci5x):focus{border-color:#fb7185}.btn-char-submit:where(.astro-mourci5x){color:#fda4af;cursor:pointer;background:#e11d4840;border:1px solid #e11d4873;border-radius:.5rem;padding:0 .85rem;font-size:.8rem;font-weight:600;transition:all .2s}.btn-char-submit:where(.astro-mourci5x):hover{color:#fff;background:#e11d48}.quick-char-pills:where(.astro-mourci5x){flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.quick-label:where(.astro-mourci5x){text-transform:uppercase;color:var(--sl-color-gray-4);font-size:.675rem;font-weight:700}.btn-quick-char:where(.astro-mourci5x){color:var(--sl-color-gray-2);cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.35rem;padding:.15rem .45rem;font-size:.85rem;font-weight:700;transition:all .2s}.btn-quick-char:where(.astro-mourci5x):hover{color:#fda4af;background:#e11d4833;border-color:#e11d4866}.stroke-studio-layout:where(.astro-mourci5x){grid-template-columns:240px 1fr;align-items:start;gap:1.25rem;display:grid}@media (width<=600px){.stroke-studio-layout:where(.astro-mourci5x){grid-template-columns:1fr;justify-items:center}}.stroke-canvas-container:where(.astro-mourci5x){flex-direction:column;align-items:center;gap:.4rem;display:flex}.canvas-grid-box:where(.astro-mourci5x){background-color:#0006;background-image:linear-gradient(90deg,#ffffff0d 1px,#0000 1px),linear-gradient(#ffffff0d 1px,#0000 1px);background-position:0 0;background-repeat:repeat;background-size:110px 110px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:2px dashed #e11d4859;border-radius:.75rem;justify-content:center;align-items:center;width:220px;height:220px;display:flex;position:relative}[data-theme=light] .canvas-grid-box:where(.astro-mourci5x){background-color:#fdf2f4;background-image:linear-gradient(90deg,#0000000a 1px,#0000 1px),linear-gradient(#0000000a 1px,#0000 1px);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border-color:#e11d4840}.canvas-caption:where(.astro-mourci5x){color:var(--sl-color-gray-4);font-size:.675rem;font-style:italic}.stroke-controls-panel:where(.astro-mourci5x){flex-direction:column;gap:.85rem;width:100%;display:flex}.stroke-meta-card:where(.astro-mourci5x){background:#0000004d;border:1px solid #ffffff0f;border-radius:.6rem;justify-content:space-between;align-items:center;padding:.65rem .85rem;display:flex}.meta-item:where(.astro-mourci5x){align-items:baseline;gap:.4rem;display:flex}.meta-label:where(.astro-mourci5x){color:var(--sl-color-gray-3);font-size:.725rem}.meta-value:where(.astro-mourci5x){color:#fb7185;font-size:1rem}.meta-status:where(.astro-mourci5x){color:#34d399;font-size:.75rem;font-weight:600}.stroke-actions-grid:where(.astro-mourci5x){grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.btn-stroke-act:where(.astro-mourci5x){color:var(--sl-color-white);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:.5rem;justify-content:center;align-items:center;gap:.4rem;padding:.5rem .75rem;font-size:.775rem;font-weight:600;transition:all .2s;display:flex}[data-theme=light] .btn-stroke-act:where(.astro-mourci5x){color:#1e293b;background:#f1f5f9;border-color:#0000001a}.btn-stroke-act:where(.astro-mourci5x):hover{background:#ffffff1f;transform:translateY(-1px)}.btn-act-play:where(.astro-mourci5x){color:#fda4af;background:#e11d4840;border-color:#e11d4880}.btn-act-play:where(.astro-mourci5x):hover{color:#fff;background:#e11d48}.quiz-action-card:where(.astro-mourci5x){background:#10b9811a;border:1px solid #10b98140;border-radius:.65rem;flex-direction:column;gap:.35rem;padding:.75rem;display:flex}.btn-stroke-quiz:where(.astro-mourci5x){color:#fff;cursor:pointer;background:#059669;border:none;border-radius:.45rem;justify-content:center;align-items:center;gap:.4rem;padding:.5rem;font-size:.825rem;font-weight:700;transition:all .2s;display:flex}.btn-stroke-quiz:where(.astro-mourci5x):hover{background:#10b981;box-shadow:0 4px 12px #10b9814d}.quiz-hint:where(.astro-mourci5x){color:var(--sl-color-gray-3);margin:0;font-size:.675rem;line-height:1.35}.stroke-steps-section:where(.astro-mourci5x){border-top:1px solid #ffffff14;padding-top:.85rem}.steps-heading:where(.astro-mourci5x){text-transform:uppercase;color:var(--sl-color-gray-3);margin:0 0 .5rem;font-size:.75rem;font-weight:700}.steps-scroll-row:where(.astro-mourci5x){gap:.5rem;padding-bottom:.4rem;display:flex;overflow-x:auto}.stroke-step-box{background:#0000004d;border:1px solid #ffffff14;border-radius:.45rem;flex-direction:column;align-items:center;gap:.2rem;min-width:52px;padding:.25rem .35rem;display:flex}[data-theme=light] .stroke-step-box{background:#f8fafc;border-color:#00000014}.step-num{color:#fb7185;font-family:ui-monospace,SFMono-Regular,monospace;font-size:.6rem;font-weight:700}.step-svg-target{width:48px;height:48px}
