*{box-sizing:border-box}html,body,#root{height:100%;margin:0;overflow:hidden}body{font-family:system-ui,-apple-system,sans-serif}.seq-root{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(160deg,#f1f5f9,#e2e8f0);color:#1e293b;user-select:none;-webkit-user-select:none;touch-action:manipulation}.seq-head{flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;row-gap:4px;padding:6px 10px;background:#fffc;border-bottom:1px solid #cbd5e1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.seq-title{font-weight:800;font-size:clamp(13px,2.4vw,18px)}.seq-stats{display:flex;gap:10px;align-items:center;margin-left:auto;font-size:clamp(11px,2vw,14px);font-variant-numeric:tabular-nums}.seq-count{font-weight:800;color:#0e7490}.seq-best{color:#64748b}.seq-actions{display:flex;gap:6px}.seq-actions button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.seq-actions button:hover{background:#f1f5f9}.seq-timeline{position:relative;flex:1.25 1 0;min-height:0;overflow:hidden}.seq-connector{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none}.seq-conn-path{fill:none;stroke:#94a3b8;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;opacity:.85}.seq-slot{position:absolute;z-index:1;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #94a3b8;background:#f8fafc99;transition:transform .15s,box-shadow .15s,background .2s}.seq-slot .seq-slot-num{color:#94a3b8;font-weight:800;font-size:14px}.seq-slot.active{--cue: #0e7490;border-style:solid;border-color:var(--cue);background:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--cue) 30%,transparent),0 4px 14px #0000001f;animation:seqpulse 1.4s ease-in-out infinite}@keyframes seqpulse{0%,to{box-shadow:0 0 0 3px color-mix(in srgb,var(--cue) 25%,transparent),0 4px 12px #0000001a}50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--cue) 12%,transparent),0 6px 18px #00000029}}.seq-slot.filled{--cue: #cbd5e1;border-style:solid;border-color:var(--cue);background:#fff;box-shadow:0 2px 8px #0000001a}.level-assisted .seq-slot.active,.level-assisted .seq-slot.filled{--cue: var(--accent)}.level-mastery .seq-slot-num{display:none}.seq-slot img{width:66%;height:66%;object-fit:contain;pointer-events:none}.seq-slot-name{font-weight:700;line-height:1;margin-top:2px;text-align:center;max-width:96%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.seq-feedback{flex:0 0 auto;height:22px;line-height:22px;text-align:center;font-size:clamp(11px,2vw,14px);font-weight:700}.seq-feedback.ok{color:#16a34a}.seq-feedback.bad{color:#dc2626}.seq-tray{flex:1 1 0;min-height:0;overflow:hidden;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:8px;padding:8px 10px 12px;background:#fffa;border-top:1px solid #cbd5e1}.seq-tile{--cue: #cbd5e1;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #e2e8f0;border-bottom:3px solid var(--cue);border-radius:12px;background:#fff;cursor:pointer;padding:4px;aspect-ratio:1 / 1.16;box-shadow:0 2px 5px #0000001a;transition:transform .1s}.level-assisted .seq-tile{--cue: var(--accent)}.seq-tile:hover{transform:translateY(-2px)}.seq-tile:active{transform:scale(.96)}.seq-tile img{object-fit:contain;pointer-events:none}.seq-tile-name{font-size:10px;font-weight:700;line-height:1.05;margin-top:2px;max-width:100%;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.seq-tile.wrong{animation:seqshake .4s;border-color:#ef4444}@keyframes seqshake{0%,to{transform:translate(0)}20%{transform:translate(-5px)}40%{transform:translate(5px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.seq-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:#0f172acc;display:flex;align-items:center;justify-content:center}.seq-card{background:#fff;border-radius:18px;padding:26px 34px;text-align:center;box-shadow:0 12px 40px #0006}.seq-card h2{margin:0 0 6px;font-size:20px}.seq-score{font-size:46px;font-weight:900;color:#0e7490;margin:4px 0}.seq-sub{margin:2px 0;color:#64748b;font-size:13px}.seq-card button{margin-top:14px;padding:10px 26px;font-size:15px;font-weight:800;border:none;border-radius:10px;background:#0e7490;color:#fff;cursor:pointer}.seq-card button:hover{background:#0c5f77}.seq-help{background:#fff;border-radius:18px;padding:22px 26px;max-width:440px;box-shadow:0 12px 40px #0006;text-align:left}.seq-help h2{margin:0 0 10px;font-size:20px}.seq-help p{margin:0 0 12px;font-size:14px;line-height:1.5;color:#334155}.seq-help ul{margin:0 0 12px;padding-left:18px;font-size:13.5px;line-height:1.5;color:#334155}.seq-help li{margin-bottom:4px}.seq-help-controls{font-size:12.5px;color:#475569;background:#f1f5f9;border-radius:10px;padding:10px 12px}.seq-help-controls span{white-space:nowrap;font-weight:700}.seq-help button{margin-top:14px;padding:10px 30px;font-size:15px;font-weight:800;border:none;border-radius:10px;background:#0e7490;color:#fff;cursor:pointer}.seq-help button:hover{background:#0c5f77}.seq-tile:focus-visible,.seq-actions button:focus-visible,.seq-card button:focus-visible,.seq-help button:focus-visible{outline:3px solid #0e7490;outline-offset:2px}@media (prefers-reduced-motion: reduce){.seq-slot.active,.seq-tile.wrong{animation:none}.seq-tile,.seq-slot,.seq-actions button{transition:none}}.st-home{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:linear-gradient(160deg,#f1f5f9,#e2e8f0);color:#1e293b;user-select:none;-webkit-user-select:none}.st-scroll{flex:1 1 0;min-height:0;overflow-y:auto;padding:12px clamp(10px,3vw,28px) 20px}.st-overall{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:12px;color:#475569;font-weight:700}.st-overall-bar{width:clamp(60px,14vw,140px);height:8px;border-radius:4px;background:#e2e8f0;overflow:hidden}.st-overall-bar div{height:100%;background:#0e7490;border-radius:4px;transition:width .4s}.st-review{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:2px solid #0e7490;border-radius:14px;background:#ecfeff;padding:12px 16px;cursor:pointer;margin:2px 0 14px;box-shadow:0 3px 10px #0e749026}.st-review:hover{background:#cffafe}.st-review-emoji{font-size:26px}.st-review-text{display:flex;flex-direction:column;gap:2px}.st-review-text b{font-size:15px}.st-review-text small{color:#475569;font-size:12px}.st-review-go{margin-left:auto;color:#0e7490;font-size:18px}.st-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.st-card{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #cbd5e1;border-radius:14px;background:#fff;padding:12px 14px;cursor:pointer;box-shadow:0 2px 6px #00000014;transition:transform .1s}.st-card:hover{transform:translateY(-2px)}.st-card-emoji{font-size:24px}.st-card-body{display:flex;flex-direction:column;gap:2px;min-width:0}.st-card-body b{font-size:14px}.st-card-body small{color:#64748b;font-size:11.5px;line-height:1.3}.st-card-best{margin-left:auto;font-size:11px;font-weight:800;color:#0e7490;white-space:nowrap}.st-h2{font-size:14px;margin:18px 2px 6px;color:#334155}.st-act{margin-bottom:10px}.st-act h3{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#475569;margin:6px 2px}.st-act-dot{width:10px;height:10px;border-radius:50%;background:var(--accent)}.st-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}.st-chip{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:8px;padding:6px 8px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}.st-chip img{width:30px;height:30px;grid-row:1 / 3;object-fit:contain}.st-chip-name{font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-chip-bar{height:5px;border-radius:3px;background:#e2e8f0;overflow:hidden}.st-chip-bar i{display:block;height:100%;background:var(--accent);border-radius:3px;transition:width .4s}.st-foot{text-align:center;color:#94a3b8;font-size:11.5px;margin-top:16px}.st-quiz{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:linear-gradient(160deg,#f1f5f9,#e2e8f0);color:#1e293b;user-select:none;-webkit-user-select:none;touch-action:manipulation}.st-home,.st-quiz{font-family:system-ui,-apple-system,sans-serif}.st-back{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:4px 10px;font-size:15px;font-weight:800;cursor:pointer}.st-back:hover{background:#f1f5f9}.st-streak{color:#ea580c;font-weight:800}.st-progress{height:4px;background:#e2e8f0}.st-progress div{height:100%;background:#0e7490;transition:width .3s}.st-stage{flex:1 1 0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,2.5vh,22px);padding:12px clamp(10px,4vw,40px);overflow-y:auto}.st-prompt{display:flex;align-items:center;gap:14px;max-width:560px}.st-prompt-icon{width:clamp(56px,12vh,110px);height:clamp(56px,12vh,110px);object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:6px}.st-prompt-text{font-size:clamp(15px,2.6vw,20px);font-weight:700;line-height:1.35}.st-prompt-sub{font-size:clamp(18px,3.2vw,26px);font-weight:900;color:#0e7490;margin-top:2px}.st-choices{display:grid;grid-template-columns:repeat(2,minmax(140px,240px));gap:10px;width:min(100%,520px)}.st-choices.icons{grid-template-columns:repeat(2,minmax(110px,160px))}.st-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:2px solid #cbd5e1;border-radius:14px;background:#fff;padding:12px 10px;font-size:clamp(13px,2.2vw,16px);font-weight:700;cursor:pointer;box-shadow:0 2px 6px #00000014;transition:transform .1s;min-height:52px;color:#1e293b}.st-choice:hover:not(:disabled){transform:translateY(-2px)}.st-choice:disabled{cursor:default}.st-choice img{width:clamp(44px,8vh,72px);height:clamp(44px,8vh,72px);object-fit:contain}.st-choice.right{border-color:#16a34a;background:#f0fdf4;box-shadow:0 0 0 3px #16a34a44}.st-choice.wrong{border-color:#dc2626;background:#fef2f2;animation:seqshake .4s}.st-choice.shake{animation:seqshake .4s;border-color:#dc2626}.st-typebox{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;width:min(100%,420px)}.st-typebox input{flex:1 1 220px;font-size:17px;font-weight:700;padding:10px 14px;border:2px solid #cbd5e1;border-radius:12px;outline:none;color:#1e293b}.st-typebox input:focus{border-color:#0e7490}.st-typebox button{padding:10px 22px;font-size:15px;font-weight:800;border:none;border-radius:12px;background:#0e7490;color:#fff;cursor:pointer}.st-typebox button:disabled{opacity:.5;cursor:default}.st-typefb{width:100%;text-align:center;font-weight:800;font-size:15px}.st-typefb.ok{color:#16a34a}.st-typefb.bad{color:#dc2626}.st-order{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}.st-order-line{display:flex;gap:10px;align-items:flex-start}.st-order-slot{width:clamp(64px,12vw,92px);aspect-ratio:1;border:2px dashed #94a3b8;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#f8fafc99;position:relative}.st-order-slot span{color:#94a3b8;font-weight:800}.st-order-slot em{font-style:normal;font-size:10.5px;font-weight:800;text-align:center;line-height:1.1}.st-order-slot img{width:55%;height:55%;object-fit:contain}.st-order-slot.filled{border-style:solid;border-color:#16a34a;background:#fff}.st-order-slot.active{border-color:#0e7490;background:#fff;box-shadow:0 0 0 3px #0e749033}.st-order-pool{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.st-order-pool .st-choice{min-width:110px}.st-why{max-width:480px;text-align:center;font-size:13px;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px 14px}.st-endbtns{display:flex;gap:10px;justify-content:center}.st-endbtns .st-ghost{background:#fff;color:#0e7490;border:2px solid #0e7490}.st-endbtns .st-ghost:hover{background:#ecfeff}.st-card:focus-visible,.st-review:focus-visible,.st-choice:focus-visible,.st-back:focus-visible,.st-typebox input:focus-visible,.st-typebox button:focus-visible{outline:3px solid #0e7490;outline-offset:2px}@media (prefers-reduced-motion: reduce){.st-choice,.st-card{transition:none}.st-choice.wrong,.st-choice.shake{animation:none}}@media (max-width: 420px){.st-choices{grid-template-columns:1fr}.st-choices.icons{grid-template-columns:repeat(2,1fr)}.st-prompt{flex-direction:column;text-align:center}}
