*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,sans-serif;background:#f1f5f9;min-height:100vh;color:#1e293b}.home-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:32px 24px 24px;text-align:center}.home-header h1{font-size:22px;font-weight:800;margin-top:8px}.home-header p{font-size:13px;color:#64748b;margin-top:6px}.stat-chips{display:flex;gap:8px;justify-content:center;margin-top:14px;flex-wrap:wrap}.stat-chip{font-size:12px;font-weight:600;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;padding:4px 12px;border-radius:20px}.home-body{max-width:720px;margin:0 auto;padding:24px 16px 60px}.drop-zone{border:2px dashed #93c5fd;border-radius:16px;background:#eff6ff;padding:28px 20px;text-align:center;cursor:pointer;transition:background .2s,border-color .2s;margin-bottom:28px}.drop-zone.dragover{background:#dbeafe;border-color:#3b82f6}.drop-zone .drop-icon{font-size:28px;margin-bottom:8px}.drop-zone p{font-size:14px;font-weight:600;color:#1d4ed8}.drop-zone span{font-size:12px;color:#64748b}.drop-zone input[type=file]{display:none}.chapter-label{display:flex;align-items:center;gap:10px;margin-bottom:12px}.chapter-bar{width:4px;height:20px;border-radius:2px}.chapter-label h2{font-size:16px;font-weight:700}.chapter-label .count{font-size:12px;color:#94a3b8}.chapter-group{margin-bottom:28px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}.quiz-card{background:#fff;border-radius:14px;padding:18px 16px;border:1px solid #e2e8f0;cursor:pointer;transition:box-shadow .2s,transform .15s;text-align:left;border-top-width:3px;position:relative}.quiz-card:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px)}.quiz-card .card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.quiz-card .card-emoji{font-size:22px}.type-badge{font-size:11px;font-weight:600;padding:3px 8px;border-radius:20px;border:1px solid}.quiz-card h3{font-size:15px;font-weight:700;margin-bottom:4px;color:#1e293b}.quiz-card .topic{font-size:12px;color:#64748b;margin-bottom:14px}.card-footer{display:flex;justify-content:space-between;align-items:center}.q-count{font-size:12px;color:#94a3b8}.start-arrow{font-size:12px;font-weight:600}.remove-btn{position:absolute;top:8px;right:36px;background:#fef2f2;border:1px solid #fecaca;color:#ef4444;border-radius:6px;font-size:10px;padding:2px 7px;cursor:pointer;display:none}.quiz-card:hover .remove-btn{display:block}.glossary-list{margin-bottom:28px}.glossary-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;margin-top:8px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.glossary-item button{background:#fef2f2;border:1px solid #fecaca;color:#ef4444;border-radius:6px;font-size:11px;padding:3px 9px;cursor:pointer}.add-guide{background:#fff;border-radius:14px;padding:20px;border:2px dashed #cbd5e1;text-align:center;margin-top:8px}.add-guide p{font-weight:700;color:#374151;margin:8px 0 4px}.add-guide span{font-size:12px;color:#6b7280;line-height:1.6}#quiz-list{margin-bottom:28px}.subject-back{background:transparent;border:1px solid #cbd5e1;color:#475569;border-radius:8px;padding:5px 12px;cursor:pointer;font-size:13px;font-family:inherit;font-weight:600}.back-btn{align-self:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px 16px;cursor:pointer;font-size:13px;color:#475569;font-weight:600;margin-bottom:16px}.player-card{background:#fff;border-radius:20px;width:100%;max-width:520px;overflow:hidden;box-shadow:0 4px 24px #0000001a}.player-header{background:#1e293b;padding:14px 18px;display:flex;align-items:center;gap:12px}.header-back{background:transparent;border:1px solid #475569;color:#94a3b8;border-radius:8px;padding:4px 10px;cursor:pointer;font-size:13px}.header-title{flex:1;text-align:center;font-size:12px;color:#94a3b8}.header-progress-text{color:#fff;font-weight:700;font-size:13px}.progress-bar-bg{background:#334155;height:3px}.progress-bar-fill{height:3px;transition:width .4s}.player-body{padding:28px 24px}.cat-badge{display:inline-block;font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;border:1px solid;margin-bottom:10px}.question-text{font-size:17px;font-weight:500;line-height:1.6;color:#1e293b;white-space:pre-wrap}.ox-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 16px}.ox-btn{padding:28px 0;border-radius:14px;border:2px solid #e2e8f0;background:#f8fafc;color:#94a3b8;font-size:32px;font-weight:800;cursor:pointer;transition:all .2s}.ox-btn:hover:not(:disabled){border-color:#93c5fd;color:#3b82f6;background:#eff6ff}.ox-btn .sub{display:block;font-size:11px;font-weight:500;margin-top:4px}.ox-btn.correct{border-color:#86efac;background:#f0fdf4;color:#16a34a}.ox-btn.wrong{border-color:#fca5a5;background:#fef2f2;color:#ef4444}.ox-btn.dim{border-color:#f1f5f9;color:#cbd5e1}.choice-list{display:flex;flex-direction:column;gap:10px;margin:18px 0 14px}.choice-btn{text-align:left;padding:13px 16px;border-radius:12px;border:2px solid #e2e8f0;background:#f8fafc;color:#334155;font-size:14px;line-height:1.5;cursor:pointer;font-family:inherit;transition:all .15s;display:flex;gap:10px}.choice-btn:hover:not(:disabled){border-color:#93c5fd;background:#eff6ff}.choice-btn .num{font-weight:800;color:#94a3b8;flex-shrink:0}.choice-btn.correct{border-color:#86efac;background:#f0fdf4;color:#15803d}.choice-btn.wrong{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}.choice-btn.dim{border-color:#f1f5f9;color:#cbd5e1}.short-input{width:100%;min-height:80px;padding:12px 14px;border-radius:12px;border:2px solid #e2e8f0;font-size:14px;color:#374151;resize:vertical;outline:none;font-family:inherit;margin:16px 0 0;transition:border-color .2s}.short-input:focus{border-color:#93c5fd}.hint-btn{background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:8px;padding:5px 12px;font-size:12px;cursor:pointer;margin-top:8px;font-weight:600}.hint-box{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:10px 14px;margin-top:8px;font-size:13px;color:#92400e;line-height:1.5}.explanation{border-radius:12px;padding:14px 16px;margin:12px 0;font-size:13px;line-height:1.6}.explanation.correct{background:#f0fdf4;border:1px solid #bbf7d0}.explanation.wrong{background:#fef2f2;border:1px solid #fecaca}.explanation .label{font-weight:700;font-size:13px;margin-bottom:6px}.explanation .answer-text{font-size:15px;font-weight:700;color:#1e40af;margin-bottom:8px}.explanation .desc{color:#475569;white-space:pre-wrap}.primary-btn{width:100%;background:#1e293b;color:#fff;border:none;border-radius:12px;padding:14px 0;font-size:15px;font-weight:700;cursor:pointer;margin-top:4px;font-family:inherit}.primary-btn:hover{background:#0f172a}.purple-btn{background:#7c3aed}.purple-btn:hover{background:#6d28d9}.score-info{text-align:center;color:#94a3b8;font-size:12px;margin-top:14px}.result-card{background:#fff;border-radius:20px;padding:36px 28px;max-width:400px;width:100%;text-align:center;box-shadow:0 4px 24px #0000001a}.result-sub{font-size:13px;color:#6b7280;margin-bottom:4px}.result-title{font-size:22px;font-weight:700;color:#1e293b;margin-bottom:20px}.result-score-box{background:#f8fafc;border-radius:16px;padding:24px 32px;margin-bottom:20px}.result-score{font-size:48px;font-weight:800;color:#1e293b}.result-total{font-size:22px;color:#94a3b8;font-weight:400}.result-pct{font-size:28px;font-weight:700;color:#3b82f6;margin-top:4px}.result-grade{font-size:16px;color:#374151;margin-bottom:20px}.answer-dots{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-bottom:24px}.answer-dot{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:700}.answer-dot.ok{background:#22c55e}.answer-dot.ng{background:#f87171}.result-card.wide{max-width:680px}.weak-box{text-align:left;margin:0 0 22px}.weak-box h4{font-size:15px;font-weight:800;color:#1e293b;margin:18px 0 8px}.weak-box .weak-sub{font-size:12px;color:#64748b;line-height:1.6;margin-bottom:8px}.weak-cat{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;margin-bottom:8px;background:#fff}.weak-cat summary{cursor:pointer;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#1e293b;list-style:none}.weak-cat summary::-webkit-details-marker{display:none}.weak-bar{flex:1;height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden;min-width:60px}.weak-bar>div{height:100%;background:#f87171}.weak-cnt{font-size:12px;font-weight:600;color:#64748b;white-space:nowrap}.weak-q{font-size:13px;line-height:1.6;border-top:1px dashed #e2e8f0;padding-top:8px;margin-top:8px;color:#334155}.weak-q .q{color:#1e293b;font-weight:600;white-space:pre-wrap}.weak-q .a{color:#15803d;margin-top:2px}.weak-q .mine{color:#b91c1c}.weak-q .ex{color:#475569;margin-top:2px;white-space:pre-wrap}.weak-terms{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.weak-unit{font-size:11px;font-weight:600;color:#4f46e5;background:#eef2ff;border-radius:6px;padding:1px 6px;margin-left:4px;white-space:nowrap}.weak-term{font-size:12px;background:#eef2ff;color:#3730a3;border-radius:8px;padding:3px 8px;cursor:help}.weak-hist{width:100%;border-collapse:collapse;font-size:12px}.weak-hist td,.weak-hist th{border-bottom:1px solid #f1f5f9;padding:5px 6px;text-align:left}.weak-hist th{color:#64748b;font-weight:700}.result-actions{display:flex;gap:8px;flex-wrap:wrap}.result-actions .primary-btn{flex:1;min-width:160px}.memory-header{background:linear-gradient(135deg,#1e293b,#334155);padding:24px 20px 20px;text-align:center;color:#fff}.memory-header h2{font-size:20px;font-weight:800;margin:6px 0 4px}.memory-header p{font-size:12px;color:#94a3b8}.memory-body{max-width:680px;margin:0 auto;padding:20px 16px 60px}.memory-input-wrap{background:#fff;border-radius:16px;padding:18px;box-shadow:0 2px 12px #0000000f;margin-bottom:16px;display:flex;gap:10px;align-items:center}.memory-input{flex:1;padding:11px 14px;font-size:15px;font-weight:500;border:2px solid #e2e8f0;border-radius:10px;outline:none;font-family:inherit;color:#1e293b;transition:border-color .2s}.memory-input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1f}.memory-submit{padding:11px 20px;background:#7c3aed;color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;font-family:inherit}.memory-submit:hover{background:#6d28d9}.memory-feed{display:flex;flex-direction:column;gap:8px}.feed-item{background:#fff;border-radius:12px;padding:13px 16px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 1px 4px #0000000d}.feed-icon{font-size:18px;flex-shrink:0;margin-top:1px}.feed-word{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:2px}.feed-info{font-size:12px;color:#64748b;line-height:1.5}.feed-chapter{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px;margin-right:4px}.feed-item.hit{border-left:3px solid #22c55e}.feed-item.miss{border-left:3px solid #f87171}.memory-stats{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}.mstat{background:#fff;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:600;color:#475569;border:1px solid #e2e8f0;flex:1;text-align:center;min-width:80px}.mstat span{display:block;font-size:20px;font-weight:800;margin-bottom:2px}.mstat span.green{color:#16a34a}.mstat span.red{color:#dc2626}.mstat span.blue{color:#2563eb}.memory-entry-btn{width:100%;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;border:none;border-radius:14px;padding:16px 20px;cursor:pointer;text-align:left;display:none;align-items:center;gap:14px;box-shadow:0 4px 16px #0000001f;transition:transform .15s,box-shadow .15s;margin-bottom:24px;font-family:inherit}.memory-entry-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000029}.memory-entry-icon{font-size:26px}.memory-entry-text h3{font-size:15px;font-weight:700;margin-bottom:3px}.memory-entry-text p{font-size:12px;color:#94a3b8}.legacy-practice{.key-hint{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;color:#94a3b8;border:1px solid #cbd5e1;border-radius:5px;padding:0 5px;vertical-align:middle}.ox-btn .key-hint{display:block;width:fit-content;margin:6px auto 0}.key-modal-bg{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.key-modal{background:#fff;border-radius:16px;padding:20px;width:100%;max-width:460px;box-shadow:0 10px 40px #0003}.key-modal h3{font-size:16px;font-weight:800;color:#1e293b;margin-bottom:4px}.key-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #f1f5f9;flex-wrap:wrap}.key-row .lbl{width:90px;font-size:13px;font-weight:700;color:#334155}.key-chip{font-size:12px;font-weight:700;background:#eef2ff;color:#3730a3;border-radius:7px;padding:3px 4px 3px 8px;display:inline-flex;align-items:center;gap:4px}.key-chip button{border:none;background:transparent;color:#6366f1;cursor:pointer;font-size:12px;padding:0 3px}.key-add{border:1.5px dashed #a5b4fc;background:#fff;color:#4f46e5;border-radius:7px;padding:3px 9px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit}.key-add.wait{background:#eef2ff;border-style:solid}.key-warn{font-size:12px;color:#b45309;min-height:18px;margin-top:6px}.folder-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.folder-btn{flex:1;min-width:200px;background:#1e293b;color:#fff;border:none;border-radius:12px;padding:13px 16px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}.folder-btn:hover{background:#0f172a}.folder-btn.sub{background:#fff;color:#334155;border:1px solid #cbd5e1;display:none}.folder-btn.sub:hover{background:#f8fafc}.folder-hint{font-size:12px;color:#64748b;line-height:1.6;margin-bottom:14px}.folder-list{display:none;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;margin-bottom:10px}.folder-list-head{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#475569;margin-bottom:6px}.folder-list-head button{margin-left:auto}.folder-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid #f1f5f9;font-size:13px}.folder-row:first-of-type{border-top:none}.folder-row .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#1e293b}.folder-row .sub{font-size:11px;font-weight:500;color:#94a3b8}.folder-mini{background:#fff;color:#334155;border:1px solid #cbd5e1;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit}.folder-mini:hover{background:#f8fafc}.folder-mini.del{color:#b91c1c;border-color:#fecaca}.folder-status{display:none;font-size:12px;line-height:1.8;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;margin-bottom:18px}.folder-status.ok{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.folder-status.warn{background:#fffbeb;border-color:#fde68a;color:#92400e}.cat-section{margin-bottom:34px}.cat-title{font-size:17px;font-weight:800;color:#1e293b;margin-bottom:14px;padding-bottom:8px;border-bottom:2px solid #e2e8f0;display:flex;align-items:baseline;gap:10px}.cat-title .count{font-size:12px;font-weight:500;color:#94a3b8}.practice-entry-btn{width:100%;background:linear-gradient(135deg,#1e3a8a,#312e81);color:#fff;border:none;border-radius:14px;padding:16px 20px;cursor:pointer;text-align:left;display:flex;align-items:center;gap:14px;box-shadow:0 4px 16px #0000001f;transition:transform .15s,box-shadow .15s;margin-bottom:12px;font-family:inherit}.practice-entry-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000002e}.practice-entry-icon{font-size:26px}.practice-entry-text h3{font-size:15px;font-weight:700;margin-bottom:3px}.practice-entry-text p{font-size:12px;color:#c7d2fe}.practice-entry-arrow{margin-left:auto;font-size:18px;color:#a5b4fc}#subject-practice{margin-bottom:16px}.pr-topbar{background:#1e293b;padding:10px 16px}.pr-topbar button{background:transparent;border:1px solid #475569;color:#94a3b8;border-radius:8px;padding:5px 12px;cursor:pointer;font-size:13px;font-family:inherit}.pr-header{background:linear-gradient(135deg,#1e3a8a,#312e81);padding:22px 20px 18px;text-align:center;color:#fff}.pr-header h2{font-size:20px;font-weight:800;margin:6px 0 4px}.pr-header p{font-size:12px;color:#c7d2fe}.pr-body{max-width:860px;margin:0 auto;padding:18px 16px 60px}.pr-card{background:#fff;border-radius:16px;padding:18px;margin-bottom:14px;box-shadow:0 2px 12px #0000000f}.pr-h{font-size:15px;font-weight:800;margin-bottom:12px;color:#1e293b}.pr-sub{font-size:12px;color:#64748b;line-height:1.6}.pr-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:12px}.pr-f{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:#475569}.pr-f input,.pr-f select,.pr-num{padding:7px 9px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;color:#1e293b;outline:none;background:#fff}.pr-f input[type=number]{width:70px}.pr-f input:focus,.pr-f select:focus,.pr-num:focus{border-color:#818cf8}.pr-chk{font-size:12px;font-weight:600;color:#475569;display:flex;align-items:center;gap:5px}.pr-btn{background:#1e293b;color:#fff;border:none;border-radius:10px;padding:10px 18px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}.pr-btn:hover{background:#0f172a}.pr-btn.indigo{background:#4f46e5}.pr-btn.indigo:hover{background:#4338ca}.pr-btn.ghost{background:#fff;color:#475569;border:1px solid #cbd5e1}.pr-btn.ghost:hover{background:#f8fafc}.pr-btn:disabled{opacity:.45;cursor:not-allowed}.pr-seg{display:flex;flex-wrap:wrap;gap:6px}.pr-seg button{border:2px solid #e2e8f0;background:#f8fafc;color:#475569;border-radius:10px;padding:7px 14px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.pr-seg button.active{border-color:#6366f1;background:#eef2ff;color:#4338ca}.pr-table{border-collapse:collapse;font-size:13px;margin:6px 0}.pr-table th,.pr-table td{border:1px solid #e2e8f0;padding:6px 10px;text-align:center}.pr-table th{background:#f8fafc;color:#475569;font-weight:700}.pr-table .pname{font-weight:800}.pr-num{width:64px;text-align:center}.pr-num.ok{border-color:#22c55e;background:#f0fdf4}.pr-num.ng{border-color:#f87171;background:#fef2f2}.pr-tablewrap{overflow-x:auto}.pr-palette{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;align-items:center}.pr-pal{min-width:44px;padding:7px 12px;border-radius:9px;border:2px solid transparent;color:#fff;font-weight:800;font-size:14px;cursor:pointer;font-family:inherit;opacity:.55}.pr-pal.sel{opacity:1;box-shadow:0 0 0 3px #6366f159}.pr-pal.erase{background:#e2e8f0;color:#475569}.pr-gantt-scroll{overflow-x:auto;padding-bottom:6px;user-select:none}.pr-gantt{display:flex;width:max-content}.pr-slot-wrap{width:30px;flex:0 0 30px}.pr-slot{height:34px;border:1px solid #cbd5e1;border-right:none;background:#f8fafc;color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;cursor:pointer}.pr-slot-wrap:last-child .pr-slot{border-right:1px solid #cbd5e1}.pr-slot.ok{outline:2px solid #22c55e;outline-offset:-2px}.pr-slot.ng{outline:2px solid #ef4444;outline-offset:-2px;background-color:#fee2e2}.pr-tick{font-size:10px;color:#94a3b8;text-align:left;margin-top:2px}.pr-slot.ro{cursor:default}.pr-result{border-radius:12px;padding:12px 14px;margin-top:12px;font-size:13px;line-height:1.7}.pr-result.good{background:#f0fdf4;border:1px solid #bbf7d0}.pr-result.bad{background:#fef2f2;border:1px solid #fecaca}.pr-answer{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:12px 14px;margin-top:12px;font-size:13px;line-height:1.7}.pr-answer b{color:#1e40af}.pr-log{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:#475569;white-space:pre-wrap}.pr-chip{display:inline-block;background:#eef2ff;color:#4338ca;border-radius:20px;padding:2px 10px;font-size:12px;font-weight:700;margin:0 4px 4px 0}.pr-q{margin:14px 0 6px;font-size:14px;font-weight:700;color:#1e293b}.pr-q small{font-weight:500;color:#64748b}.pr-vec{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}.pr-vec span.lbl{font-size:12px;font-weight:700;color:#64748b}.pr-grp{display:inline-flex;gap:6px;padding:3px;border-radius:12px;border:2px solid transparent}.pr-grp.ok{border-color:#22c55e}.pr-grp.ng{border-color:#ef4444}.pr-seq{font-size:15px;font-weight:800;color:#1e293b;min-height:28px;margin:6px 0}.pr-seq.ok{color:#15803d}.pr-seq.ng{color:#b91c1c}.pr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.pr-seg button:disabled{opacity:.4;cursor:not-allowed}.st-svg{width:100%;max-width:820px;height:auto;display:block;margin:0 auto;user-select:none}.st-node{cursor:pointer}.st-node rect{fill:#fff;stroke-width:2.5}.st-node:hover rect{fill:#f8fafc}.st-node.target rect{stroke-dasharray:6 4}.st-node.flash rect{animation:st-node-flash 1.2s ease-out}.st-node text{font-size:14px;font-weight:800}.st-node text.en{font-size:10px;font-weight:600;fill:#94a3b8}.st-tok{cursor:pointer}.st-tok text{fill:#fff;font-size:11px;font-weight:800;pointer-events:none}.st-edge .line{stroke:#64748b;stroke-width:2;fill:none}.st-edge .hit{stroke:transparent;stroke-width:18;fill:none;cursor:pointer}.st-edge text{font-size:12px;font-weight:700;fill:#334155;cursor:pointer}.st-edge text .en{font-size:10px;font-weight:600;fill:#94a3b8}.st-edge:hover .line{stroke:#4f46e5;stroke-width:3}.st-edge.off .line{stroke:#cbd5e1;stroke-dasharray:5 4}.st-edge.off text{fill:#94a3b8}.st-edge.flash .line{animation:st-flash 1.4s ease-out}@keyframes st-flash{0%,40%{stroke:#4f46e5;stroke-width:5}to{stroke:#64748b;stroke-width:2}}@keyframes st-node-flash{0%,30%{fill:#eef2ff}to{fill:#fff}}.st-q{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-height:34px}.st-q .box{min-width:34px;height:30px;border-radius:8px;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:13px;padding:0 6px}.st-q .empty{color:#94a3b8;font-size:12px}.st-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.st-panel{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}.st-panel b{font-size:12px;color:#475569;display:block;margin-bottom:6px}.st-msg{border-radius:12px;padding:10px 14px;font-size:13px;line-height:1.7;margin-top:10px}.st-msg.ok{background:#eef2ff;border:1px solid #c7d2fe}.st-msg.bad{background:#fef2f2;border:1px solid #fecaca}.st-msg.info{background:#f8fafc;border:1px solid #e2e8f0}.st-tl td.c{color:#fff;font-size:11px;font-weight:700;padding:3px 5px;min-width:30px}.st-tl td.none{color:#cbd5e1}.wq-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-bottom:12px}.wq-frames{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start}.wq-frames>div{flex:1 1 auto;min-width:0}.wq-frame{width:100%;height:190px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;display:block}.wq-lbl{display:block;font-size:12px;color:#475569;margin:6px 0 4px}.wq-code{background:#0f172a;color:#e2e8f0;border-radius:10px;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-x:auto;margin-bottom:8px}.wq-blank{font:inherit;background:#1e293b;color:#fde68a;border:1.5px dashed #818cf8;border-radius:5px;padding:0 4px;outline:none}.wq-blank:focus{border-style:solid;border-color:#a5b4fc}.wq-blank.ok{border:1.5px solid #22c55e;color:#bbf7d0}.wq-blank.ng{border:1.5px solid #ef4444;color:#fecaca}.wq-mirror{color:#fde68a;border-bottom:1px dotted #818cf8}.wq-slot{color:#fde68a}.wq-choices{display:flex;flex-direction:column;gap:8px}.wq-choice{text-align:left;border:2px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:8px 12px;cursor:pointer;font-family:inherit}.wq-choice pre{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;white-space:pre-wrap;color:#1e293b}.wq-choice.sel{border-color:#6366f1;background:#eef2ff}.wq-choice.ok{border-color:#22c55e;background:#f0fdf4}.wq-choice.ng{border-color:#ef4444;background:#fef2f2}.tq-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.tq-opts .wq-choice pre{font-size:13.5px}.tq-key{display:inline-block;min-width:18px;font-size:11px;font-weight:800;color:#6366f1;margin-right:6px}.tq-hl{color:#0f172a;background:#fde68a;border-radius:4px;padding:0 3px;font-weight:700}.tq-mini{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin-top:6px}.tq-mini .wq-frame{height:130px}.tq-mini .lbl{font-size:12px;margin:0 0 3px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.tq-input{width:100%;max-width:420px;font:15px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:8px 10px;border:2px solid #cbd5e1;border-radius:10px;outline:none}.tq-input:focus{border-color:#6366f1}.rr-in{width:190px;text-align:left}.rr-in.ok,.rr-type.ok{border-color:#22c55e;background:#f0fdf4}.rr-in.ng,.rr-type.ng{border-color:#f87171;background:#fef2f2}.rr-type{border:1.5px solid #e2e8f0;border-radius:8px;padding:6px 8px;font-family:inherit;font-size:13px}.rr-why{text-align:left!important;font-size:12px;color:#b91c1c;min-width:160px}}:root{color-scheme:light}body{background:#f1f5f9}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}code{background:#f1f5f9;border-radius:4px;padding:0 4px;font-size:12px}.topbar{position:sticky;top:0;z-index:50;background:#1e293b;color:#fff}.topbar-in{max-width:960px;margin:0 auto;padding:0 12px;height:48px;display:flex;align-items:center;gap:4px}.topbar .brand{font-weight:800;font-size:15px;color:#fff;margin-right:auto;white-space:nowrap}.topbar a.nav{color:#cbd5e1;font-size:13px;font-weight:600;padding:6px 8px;border-radius:8px;white-space:nowrap}.topbar a.nav:hover,.topbar a.nav.on{background:#334155;color:#fff;text-decoration:none}.topbar .who{font-size:12px;color:#94a3b8;margin-left:6px;white-space:nowrap}.topbar .menu-btn{display:none;background:transparent;border:1px solid #475569;color:#e2e8f0;border-radius:8px;padding:4px 10px;cursor:pointer}.topbar-links{display:flex;align-items:center;gap:2px}@media(max-width:720px){.topbar .menu-btn{display:block}.topbar-links{display:none;position:absolute;top:48px;right:0;left:0;background:#1e293b;flex-direction:column;align-items:stretch;padding:6px 12px 12px}.topbar-links.open{display:flex}.topbar .who{margin:6px 8px 0}}.page{max-width:960px;margin:0 auto;padding:20px 16px 60px}.page.narrow{max-width:560px}.page h1{font-size:20px;font-weight:800;margin-bottom:4px}.page .lead{font-size:13px;color:#64748b;margin-bottom:18px;line-height:1.6}.section-title{font-size:15px;font-weight:800;margin:22px 0 10px;color:#1e293b}.crumbs{display:flex;flex-wrap:wrap;gap:4px;align-items:center;font-size:13px;color:#64748b;margin-bottom:14px}.crumbs a{font-weight:600}.crumbs .sep{color:#cbd5e1}.crumbs .skip{color:#94a3b8}.crumbs .cur{color:#1e293b;font-weight:700}.tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.tile{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px 16px;color:#1e293b;border-top-width:3px;transition:box-shadow .2s,transform .15s}.tile:hover{box-shadow:0 6px 20px #0000001a;transform:translateY(-2px);text-decoration:none}.tile h3{font-size:17px;font-weight:800}.tile p{font-size:12px;color:#64748b;margin-top:6px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;margin-bottom:14px}.panel h3{font-size:15px;font-weight:800;margin-bottom:8px}.muted{color:#64748b;font-size:12px}.err-text{color:#b91c1c;font-size:13px}.ok-text{color:#15803d;font-size:13px}.banner{border-radius:12px;padding:10px 14px;font-size:13px;margin-bottom:14px;line-height:1.6}.banner.warn{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.banner.info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.banner.err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.btn{display:inline-flex;align-items:center;gap:6px;background:#1e293b;color:#fff;border:none;border-radius:10px;padding:9px 14px;font-size:13px;font-weight:700;cursor:pointer}.btn:hover{background:#0f172a}.btn:disabled{opacity:.5;cursor:default}.btn.ghost{background:#fff;color:#334155;border:1px solid #cbd5e1}.btn.ghost:hover{background:#f8fafc}.btn.purple{background:#7c3aed}.btn.purple:hover{background:#6d28d9}.btn.red{background:#dc2626}.btn.red:hover{background:#b91c1c}.btn.green{background:#16a34a}.btn.green:hover{background:#15803d}.btn.sm{padding:5px 10px;font-size:12px;border-radius:8px}.btn-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.field{display:block;margin-bottom:12px}.field>span{display:block;font-size:12px;font-weight:700;color:#475569;margin-bottom:4px}.input,select.input,textarea.input{width:100%;padding:9px 12px;font-size:14px;border:2px solid #e2e8f0;border-radius:10px;outline:none;font-family:inherit;color:#1e293b;background:#fff}.input:focus{border-color:#93c5fd}textarea.input{min-height:70px;resize:vertical}.table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}.table th,.table td{border-bottom:1px solid #f1f5f9;padding:8px;text-align:left;vertical-align:top}.table th{color:#64748b;font-weight:700;font-size:12px}.table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:14px;border-bottom:1px solid #e2e8f0}.tabs a{padding:8px 12px;font-size:13px;font-weight:700;color:#64748b;border-bottom:2px solid transparent;margin-bottom:-1px}.tabs a.on{color:#1e293b;border-color:#1e293b;text-decoration:none}.pill{display:inline-block;font-size:11px;font-weight:700;border-radius:999px;padding:2px 8px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.pill.ok{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}.pill.warn{background:#fffbeb;color:#92400e;border-color:#fde68a}.pill.err{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.pill.blue{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.entry-btn{width:100%;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;cursor:pointer;text-align:left;color:#1e293b;margin-bottom:8px;transition:box-shadow .15s}.entry-btn:hover{box-shadow:0 4px 14px #00000014;text-decoration:none}.entry-btn .ic{font-size:24px}.entry-btn h3{font-size:14px;font-weight:800}.entry-btn p{font-size:12px;color:#64748b;margin-top:2px}.entry-btn .arr{margin-left:auto;color:#94a3b8;font-weight:700}.entry-btn.dark{background:linear-gradient(135deg,#1e293b,#334155);color:#fff;border:none}.entry-btn.dark p{color:#94a3b8}.entry-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:0 10px}.uploader{font-size:11px;color:#7c3aed;font-weight:700;margin-top:6px}.card-link{color:inherit;display:block}.card-link:hover{text-decoration:none}.player-wrap{display:flex;flex-direction:column;align-items:center;padding:20px 16px 40px}.player-wrap .back-btn{align-self:center;max-width:520px;width:100%;text-align:left}.extras{border-top:1px dashed #e2e8f0;margin-top:14px;padding-top:10px;text-align:left}.extras-bar{display:flex;gap:6px;flex-wrap:wrap}.mini{background:#fff;border:1px solid #e2e8f0;color:#475569;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer}.mini:hover{background:#f8fafc}.mini.on{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}.comment{border-top:1px solid #f1f5f9;padding:8px 0;font-size:13px}.comment .who{font-weight:700;color:#334155;font-size:12px}.comment .body{white-space:pre-wrap;color:#1e293b;margin-top:2px;word-break:break-word}.wrong-list{text-align:left;margin-top:18px}.wrong-item{border:1px solid #fee2e2;border-radius:12px;padding:10px 12px;margin-bottom:8px;background:#fff}.wrong-item.okk{border-color:#dcfce7}.wrong-item .q{font-weight:600;white-space:pre-wrap;font-size:13px}.wrong-item .a{color:#15803d;font-size:13px;margin-top:4px}.wrong-item .mine{color:#b91c1c;font-size:13px}.wrong-item .ex{color:#475569;font-size:12px;white-space:pre-wrap;margin-top:4px}.switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;user-select:none}.switch input{width:36px;height:20px;appearance:none;background:#cbd5e1;border-radius:999px;position:relative;cursor:pointer;transition:background .15s;flex-shrink:0}.switch input:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;top:2px;left:2px;transition:left .15s}.switch input:checked{background:#16a34a}.switch input:checked:after{left:18px}.pref-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-top:1px solid #f1f5f9;gap:8px}.toasts{position:fixed;bottom:16px;left:50%;transform:translate(-50%);z-index:2000;display:flex;flex-direction:column;gap:6px;width:min(420px,calc(100% - 32px))}.toast{background:#1e293b;color:#fff;border-radius:10px;padding:10px 14px;font-size:13px;box-shadow:0 6px 20px #0003}.toast.ok{background:#15803d}.toast.err{background:#b91c1c}.msg-list{margin:6px 0 0;padding:0;list-style:none;font-size:12px}.msg-list li{padding:2px 0}.msg-list li.error{color:#b91c1c}.msg-list li.warn{color:#92400e}pre.out{background:#0f172a;color:#e2e8f0;border-radius:10px;padding:10px 12px;font-size:12px;overflow-x:auto;white-space:pre-wrap;max-height:320px}.center{text-align:center}.spinner{padding:40px 0;text-align:center;color:#94a3b8;font-size:13px}.login-box{max-width:380px;margin:60px auto;background:#fff;border-radius:18px;padding:28px 24px;box-shadow:0 4px 24px #00000014}.login-box h1{font-size:20px;font-weight:800;text-align:center;margin-bottom:4px}.login-box .lead{text-align:center}.key-hint{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;color:#94a3b8;border:1px solid #cbd5e1;border-radius:5px;padding:0 5px;vertical-align:middle}.ox-btn .key-hint{display:block;width:fit-content;margin:6px auto 0}
