:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff;font-family:Arial,Helvetica,sans-serif;font-weight:400;line-height:1.4}*{box-sizing:border-box}html,body,#app{height:100%;min-height:100vh;margin:0}body{background:#fff;min-width:320px;overflow:hidden}button,input,select,textarea{font:inherit}select,select option{color:#111827}button{cursor:pointer;color:#111827;background:#fff;border:1px solid #111827;border-radius:2px;align-items:center;gap:6px;padding:8px 12px;transition:background-color .15s,color .15s;display:inline-flex}button:hover{background:#f3f4f6}button:disabled{opacity:.5;cursor:not-allowed}.secondary,.danger{color:#111827;background:#fff}.icon{flex:none}#app{width:100%}.editor-shell{background:#fff;flex-direction:column;height:100vh;min-height:100vh;display:flex;position:relative;overflow:hidden}.app-preload{z-index:2000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#ffffffb8;place-items:center;display:grid;position:fixed;inset:0}.topbar{background:#fff;border-bottom:1px solid #d1d5db;grid-template-columns:minmax(220px,auto) minmax(0,1fr);align-items:center;gap:12px;padding:18px 20px 12px;display:grid}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#6b7280;margin:0 0 4px;font-size:11px}.topbar h1{color:#111827;margin:0;font-size:20px;font-weight:700;line-height:1.1}.toolbar{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.toolbar--single-line{flex-wrap:nowrap;align-items:center;padding-bottom:2px;overflow-x:auto}.toolbar-group{flex:none;align-items:center;gap:8px;display:flex}.toolbar-group+.toolbar-group{border-left:1px solid #d1d5db;margin-left:8px;padding-left:16px}.toolbar-group--file{margin-left:auto}.toolbar--single-line::-webkit-scrollbar{height:6px}.toolbar--single-line::-webkit-scrollbar-thumb{background:#d1d5db}.toolbar-input,.competency-input,.weight-field input,.field-block input,.field-block textarea,.field-block select,.settings-weight-row input{color:#111827;background:#fff;border:1px solid #9ca3af;border-radius:2px;min-width:180px;padding:8px 10px}.toolbar-input::placeholder,.competency-input::placeholder{color:#6b7280}.toolbar-input--select{min-width:220px}.status{color:#111827;background:#f9fafb;border:1px solid #d1d5db;grid-column:1/-1;margin:0;padding:10px 12px}.status.error{color:#991b1b;background:#fef2f2;border-color:#ef4444}.competency-modal{width:min(920px,100vw - 24px)}.competency-modal__content{gap:14px;display:grid}.competency-form{grid-template-columns:minmax(180px,220px) minmax(220px,1fr) auto auto;gap:8px;display:grid}.competency-empty{color:#6b7280;padding:8px 0}.competency-list{gap:8px;display:grid}.competency-card{background:#fff;border:1px solid #d1d5db;grid-template-columns:minmax(160px,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.competency-card__info{min-width:0}.competency-card p{color:#6b7280;margin:4px 0 0}.weight-field{gap:6px;display:grid}.weight-field span{color:#6b7280;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.competency-actions{flex-wrap:wrap;gap:8px;display:flex}.editor{flex:1;min-height:0;display:flex;overflow:hidden}.modal-backdrop{z-index:50;background:#1118273d;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border:1px solid #d1d5db;width:min(720px,100%);max-height:min(80vh,720px);padding:16px;overflow:auto}.modal-card--settings{width:min(960px,100%)}.modal-head{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.modal-head h2{color:#111827;margin:0;font-size:18px}.settings-modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.modal-empty{color:#6b7280;padding:12px 0}.modal-list{gap:8px;display:grid}.settings-layout{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px;display:grid}.settings-modal{width:min(960px,100vw - 24px)}.settings-section{gap:16px;display:grid}.settings-media-stack{gap:12px;width:100%;display:grid}.field-block{gap:8px;display:grid}.field-block span{color:#374151;text-transform:uppercase;font-size:12px;font-weight:700}.field-block textarea{resize:vertical;min-height:132px}.settings-actions{flex-wrap:wrap;gap:8px;display:flex}.settings-select{width:100%}.settings-image-preview{background:#fff;border:1px solid #d1d5db;padding:8px}.settings-image-preview img{object-fit:cover;width:100%;max-height:240px;display:block}.settings-weight-list{gap:8px;width:100%;display:grid}.settings-weight-row{background:#fff;border:1px solid #d1d5db;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:12px;padding:10px 12px;display:grid}.settings-weight-row strong{min-width:0}.modal-row{text-align:left;justify-content:space-between;width:100%;padding:12px}.modal-row__main{gap:4px;display:grid}.modal-row__main span,.modal-row__meta{color:#6b7280;font-size:12px}.flow{flex:1;height:100%;min-height:0}.vue-flow__pane{cursor:grab;background-color:#fff;background-image:radial-gradient(#d1d5db 1px,#0000 1px);background-size:16px 16px}.flow.pattern-off .vue-flow__pane{background-image:none}.vue-flow__handle{background:#111827;border:0;width:8px;height:8px}.vue-flow__node.game-node{min-width:170px;box-shadow:none;color:#111827;text-align:center;background:#fff;border:1.5px solid #111827;border-radius:3px;padding:10px 12px}.canvas-node{gap:8px;display:grid}.canvas-node__minigame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.canvas-node__minigame-thumb{object-fit:cover;background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;width:100%;height:34px}.canvas-node__thumb{object-fit:cover;border:1px solid #d1d5db;width:100%;height:72px}.canvas-node__label{font-size:14px;font-weight:700;line-height:1.25}.canvas-node__label>:first-child,.scene-card__title>:first-child{margin-top:0}.canvas-node__label>:last-child,.scene-card__title>:last-child{margin-bottom:0}.canvas-node__label p,.canvas-node__label ul,.canvas-node__label ol,.canvas-node__label blockquote,.canvas-node__label h1,.canvas-node__label h2,.canvas-node__label h3,.canvas-node__label h4{margin:0 0 .35em}.canvas-node__label ul,.canvas-node__label ol{padding-left:1.1rem}.vue-flow__node.game-node.selected{box-shadow:0 0 0 1px #111827}.vue-flow__node.game-node.type-start{border-color:#2563eb}.vue-flow__node.game-node.type-scene{border-color:#111827}.vue-flow__node.game-node.type-minigame{border-color:#f59e0b}.vue-flow__node.game-node.type-end{border-color:#ec4899}.vue-flow__edge-path{stroke:#9ca3af;stroke-width:1.5px}.vue-flow__edge.selected .vue-flow__edge-path{stroke:#111827}.vue-flow__edge-text{fill:#111827;font-size:11px;font-weight:700}.option-edge-label{color:#111827;text-align:left;white-space:normal;background:#f3f4f6;border:1px solid #9ca3af;min-width:148px;max-width:220px;padding:6px 8px;font-size:11px;line-height:1.35}.option-edge-label__title{margin-bottom:4px;font-weight:700}.option-edge-label__impact{display:block}.flow-controls{box-shadow:0 8px 24px #0f172a1f}.flow-controls .vue-flow__controls-button{color:#111827;background:#fffffff5;border:1px solid #cbd5e1;width:34px;height:34px}.flow-minimap{background:#fffffff5;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 24px #0f172a1f}.test-shell{background:radial-gradient(circle at 0 0,#ffd4848c,#0000 28%),radial-gradient(circle at 100% 0,#7ca2ff61,#0000 24%),linear-gradient(160deg,#f0b168 0%,#f7df9a 34%,#b9c8de 68%,#7991b8 100%);place-items:center;min-height:100vh;padding:40px 20px;display:grid;position:relative;overflow:hidden}.test-shell__backdrop{position:absolute;inset:0}.runtime-shell{background:#f3f4f6;min-height:100vh;padding:0}.runtime-card{background:#fff;border:1px solid #d1d5db;border-radius:12px;width:min(980px,100%);margin:0 auto;padding:16px}.runtime-form{grid-template-columns:minmax(0,1fr) 180px;align-items:end;gap:12px;display:grid}.runtime-form__fields{gap:10px;display:grid}.runtime-form__actions{justify-content:flex-end;align-items:end;display:flex}.runtime-form label{gap:6px;font-weight:600;display:grid}.runtime-form input{border:1px solid #9ca3af;border-radius:6px;padding:8px 10px}.runtime-error{color:#991b1b}.runtime-results-layout{gap:12px;display:grid}.runtime-card--list{max-width:980px}.runtime-list-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.runtime-list-actions{gap:8px;display:flex}.runtime-list-scroll{max-height:360px;overflow:auto}.runtime-table{border-collapse:collapse;width:100%}.runtime-table th,.runtime-table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:8px 6px}.runtime-sort-button{color:inherit;background:0 0;border:0;padding:0;font-weight:700}@media (width<=720px){.runtime-form{grid-template-columns:1fr}.runtime-form__actions{justify-content:flex-start}}.runtime-shell .test-competencies-button,.runtime-shell .test-close-button{display:none}.test-stage{z-index:1;gap:16px;width:min(780px,100%);display:grid;position:relative}.test-close-button{z-index:2;color:#111827;background:#ffffffeb;border:0;border-radius:999px;justify-content:center;width:42px;height:42px;padding:0;position:absolute;top:18px;right:18px;box-shadow:0 12px 28px #1118272e}.test-close-button:hover{background:#fff}.test-competencies-button{z-index:2;color:#111827;background:#ffffffeb;border:0;border-radius:999px;justify-content:center;height:42px;position:absolute;top:18px;right:68px;box-shadow:0 12px 28px #1118272e}.test-competencies-button:hover{background:#fff}.test-competencies-panel{z-index:2;background:#fffffff5;border:1px solid #ffffffe6;border-radius:14px;gap:10px;width:min(320px,100vw - 36px);padding:14px;display:grid;position:absolute;top:68px;right:18px;box-shadow:0 20px 48px #1118272e}.test-competencies-panel__head{color:#111827;justify-content:space-between;align-items:center;gap:8px;display:flex}.test-competencies-panel__empty{color:#6b7280;font-size:14px}.test-competencies-panel__list{gap:8px;display:grid}.test-competencies-panel__item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.test-card{background:#fffffff5;border:1px solid #ffffffe6;border-radius:14px;padding:30px;box-shadow:0 30px 80px #3427102e}.test-card--centered{text-align:center}.test-card--error{color:#991b1b;background:#fef2f2f2;border-color:#ef4444}.scene-card{gap:16px;display:grid}.scene-card--minigame{box-shadow:none;background:0 0;border:0;border-radius:0;height:100%;min-height:0;padding:0}.scene-card__layout{gap:14px;display:grid}.scene-card__left{grid-template-rows:minmax(0,1fr) auto auto;gap:12px;min-height:0;display:grid}.scene-card__right{flex-direction:column;gap:10px;min-height:0;display:flex}.scene-card h2,.scene-card__title,.result-card h2{color:#111827;margin:0;font-size:clamp(20px,3vw,24px);font-weight:500;line-height:1.35}.scene-card__title p,.scene-card__title ul,.scene-card__title ol,.scene-card__title blockquote,.scene-card__title h1,.scene-card__title h2,.scene-card__title h3,.scene-card__title h4{margin:0 0 .65em}.scene-card__title ul,.scene-card__title ol{padding-left:1.35rem}.scene-card__title a{color:#0f3ea8}.scene-image{aspect-ratio:16/9;object-fit:cover;border:1px solid #d1d5dbcc;border-radius:10px;width:100%;max-height:400px;display:block}.scene-card__left .scene-image{height:100%;min-height:0}.decision-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.decision-list--single{grid-template-columns:minmax(0,1fr)}.decision-button{text-align:left;color:#fff;background:linear-gradient(#cb1f31 0%,#b61928 100%);border:0;border-radius:8px;align-content:start;gap:6px;width:100%;min-height:76px;padding:14px 16px;display:grid;box-shadow:inset 0 0 0 1px #ffffff14}.decision-button:hover{background:linear-gradient(#d92639 0%,#be1c2b 100%)}.decision-button span{font-size:15px;font-weight:700;line-height:1.28}.decision-button small{color:#fff5f5d6;font-size:12px;line-height:1.35}.result-lead{color:#111827;font-size:24px}.test-results{gap:16px;display:grid}.result-list-scroll{gap:8px;max-height:220px;padding-right:4px;display:grid;overflow:auto}.result-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.result-row--detail{grid-template-columns:minmax(0,1.2fr) repeat(4,auto);align-items:center;gap:10px;display:grid}.result-row:last-child{border-bottom:0}.scene-card__footer{color:#6b7280;justify-content:flex-end;font-size:12px;display:flex}.scene-timer{color:#374151;margin:0 0 12px;font-size:14px;font-weight:700}.scene-timer--top{align-self:flex-start;margin:0}.scene-card__right .decision-list{margin-top:auto}@media (width<=1100px){.topbar{grid-template-columns:1fr}.toolbar{justify-content:flex-start}.editor{flex-direction:column}.flow{height:60vh;min-height:0}.competency-form,.competency-card,.settings-layout,.settings-weight-row{grid-template-columns:1fr}}@media (width<=780px){.test-shell{align-items:start;padding:18px 12px}.test-close-button{top:12px;right:12px}.test-competencies-button{top:12px;right:62px}.test-competencies-panel{width:min(320px,100vw - 24px);top:60px;right:12px}.test-stage{gap:14px;width:min(100%,640px)}.test-card{border-radius:12px;padding:18px 16px 16px}.scene-image{aspect-ratio:4/3;max-height:none}.decision-list{grid-template-columns:1fr}.decision-button{min-height:0;padding:16px}.result-row--detail{grid-template-columns:1fr 1fr;gap:6px 12px}.scene-card__footer{justify-content:flex-start}}@media (orientation:landscape) and (width<=980px) and (height<=560px){.test-shell{min-height:100dvh;padding:10px}.test-stage{width:min(100%,940px);height:calc(100dvh - 20px)}.test-card.scene-card{gap:10px;height:100%;max-height:100%;padding:12px;overflow:hidden}.scene-card__layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:stretch;min-height:0;overflow:hidden}.scene-card__left,.scene-card__right{min-height:0;overflow:auto}.scene-image{aspect-ratio:auto;height:100%;max-height:none}.scene-card__title{font-size:clamp(15px,2.1vw,19px);line-height:1.25}.decision-list{grid-template-columns:1fr;gap:8px}.decision-button{min-height:0;padding:10px 12px}.decision-button span{font-size:14px}.scene-card__footer{margin-top:0}.scene-card--minigame{height:100%;max-height:100%;overflow:hidden}}.image-library[data-v-093867f3]{gap:16px;display:grid}.image-library__toolbar[data-v-093867f3],.image-library-modal__actions[data-v-093867f3]{align-items:center;gap:12px;display:flex}.image-library__toolbar[data-v-093867f3]{justify-content:space-between}.image-library__list[data-v-093867f3],.image-library__grid[data-v-093867f3]{gap:12px;display:grid}.image-library__row[data-v-093867f3],.image-library__card[data-v-093867f3]{cursor:pointer;text-align:left;color:#111827;background:#fff;border:1px solid #d1d5db}.image-library__row[data-v-093867f3]{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:10px;display:grid}.image-library__card[data-v-093867f3]{gap:10px;padding:10px;display:grid}.image-library__grid[data-v-093867f3]{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.image-library__thumb[data-v-093867f3]{object-fit:cover;border-radius:8px;width:100%;display:block}.image-library__thumb--list[data-v-093867f3]{width:64px;height:64px}.image-library__thumb--grid[data-v-093867f3]{height:128px}.image-library__meta[data-v-093867f3]{gap:4px;display:grid}.image-library__meta span[data-v-093867f3]{color:#6b7280;font-size:12px}.image-library__category[data-v-093867f3]{color:#6b7280;text-transform:capitalize;font-size:12px}.image-library__row.is-selected[data-v-093867f3],.image-library__card.is-selected[data-v-093867f3]{border-color:#111827;box-shadow:inset 0 0 0 1px #111827}[data-v-093867f3] .image-library-modal{width:min(980px,100vw - 24px)}@media (width<=720px){.image-library__toolbar[data-v-093867f3]{flex-direction:column;align-items:stretch}}.matrix-config[data-v-30f40370]{gap:14px;margin-top:12px;display:grid}.matrix-config__errors[data-v-30f40370]{margin:8px 0 0;padding-left:18px}.matrix-config__section[data-v-30f40370]{gap:10px;display:grid}.matrix-config__section-head[data-v-30f40370]{justify-content:space-between;align-items:center;display:flex}.matrix-config__preview[data-v-30f40370]{background:#fff;border:1px solid #d1d5db;place-items:center;min-height:200px;display:grid;overflow:hidden}.matrix-config__preview img[data-v-30f40370]{object-fit:contain;width:100%;display:block}.matrix-config__empty[data-v-30f40370]{color:#6b7280}.matrix-config__actions[data-v-30f40370]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.option-editor[data-v-30f40370]{grid-template-columns:180px minmax(0,1fr);gap:12px;display:grid}.option-preview[data-v-30f40370]{background:#fff;border:1px solid #d1d5db;place-items:center;min-height:140px;display:grid;overflow:hidden}.option-preview img[data-v-30f40370]{object-fit:contain;width:100%;height:100%}.option-text[data-v-30f40370]{color:#2563eb;font-size:40px;font-weight:700}.option-fields[data-v-30f40370]{gap:6px;display:grid}.upload-button[data-v-30f40370]{color:#111827;cursor:pointer;background:#fff;border:1px solid #9ca3af;align-items:center;gap:8px;padding:7px 11px;font-size:13px;display:inline-flex}.upload-button input[data-v-30f40370]{display:none}.impact-list[data-v-30f40370]{gap:8px;display:grid}.impact-empty[data-v-30f40370]{color:#6b7280;border:1px dashed #d1d5db;padding:10px}.impact-row[data-v-30f40370]{grid-template-columns:minmax(0,1.4fr) 90px auto;align-items:center;gap:8px;display:grid}.impact-row select[data-v-30f40370],.impact-row input[data-v-30f40370]{box-sizing:border-box;width:100%;font:inherit;color:#111827;background:#fff;border:1px solid #9ca3af;border-radius:2px;padding:8px 10px}.danger[data-v-30f40370]{color:#111827;cursor:pointer;background:#fff;border:1px solid #111827;border-radius:2px;padding:8px 10px}@media (width<=900px){.option-editor[data-v-30f40370],.impact-row[data-v-30f40370]{grid-template-columns:1fr}}.sequence-config[data-v-7b90e752]{gap:14px;margin-top:12px;display:grid}.sequence-config__collapse[data-v-7b90e752]{background:0 0}.sequence-config__errors[data-v-7b90e752]{margin:8px 0 0;padding-left:18px}.sequence-config__image[data-v-7b90e752]{gap:10px;width:100%;display:grid}.config-block[data-v-7b90e752]{border-top:1px solid #e5e7eb;gap:12px;padding-top:6px;display:grid}.config-group[data-v-7b90e752]{gap:14px;display:grid}.collapse-head[data-v-7b90e752]{align-items:center;gap:8px;display:inline-flex}.config-actions[data-v-7b90e752]{flex-wrap:wrap;gap:10px;display:flex}.config-actions--media[data-v-7b90e752]{align-items:center;margin-top:10px}.item-editor[data-v-7b90e752]{grid-template-columns:minmax(220px,220px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.item-editor__fields[data-v-7b90e752]{gap:8px;min-width:0;display:grid}.item-editor__meta[data-v-7b90e752]{grid-template-columns:minmax(0,1fr) 180px;align-items:start;gap:12px;display:grid}.item-editor__preview[data-v-7b90e752]{gap:10px;min-width:0;display:grid}.item-editor__image-help[data-v-7b90e752]{color:#6b7280;margin:0;font-size:12px;line-height:1.4}.config-preview[data-v-7b90e752]{background:#fff;border:1px solid #d1d5db;padding:8px}.config-preview--thumb[data-v-7b90e752]{box-sizing:border-box;width:100%;min-height:170px;padding:6px}.config-preview img[data-v-7b90e752]{object-fit:cover;width:100%;max-height:160px;display:block}.config-preview--thumb img[data-v-7b90e752]{border-radius:8px;width:100%;height:156px;max-height:none}[data-v-7b90e752] .item-editor__fields .n-input,[data-v-7b90e752] .item-editor__fields .n-input-number,[data-v-7b90e752] .item-editor__fields .n-base-selection{width:100%}[data-v-7b90e752] .item-editor__fields .n-input-number{max-width:100%}.impact-editor[data-v-7b90e752]{gap:10px;width:100%;display:grid}.impact-empty[data-v-7b90e752]{color:#6b7280;background:#fafafa;border:1px dashed #d1d5db;padding:10px}.impact-row[data-v-7b90e752]{grid-template-columns:minmax(0,1.4fr) 120px auto;align-items:center;gap:10px;display:grid}@media (width<=720px){.item-editor[data-v-7b90e752],.item-editor__meta[data-v-7b90e752],.impact-row[data-v-7b90e752]{grid-template-columns:1fr}}@media (width<=1080px){.item-editor[data-v-7b90e752]{grid-template-columns:1fr}}.sidebar[data-v-94f915e6]{background:#fff;border-left:1px solid #d1d5db;width:360px;max-width:100%;height:100%;min-height:0;padding:16px;overflow-y:auto}.sidebar-head[data-v-94f915e6],.section-head[data-v-94f915e6],.option-card__head[data-v-94f915e6]{justify-content:space-between;align-items:center;gap:10px;display:flex}.sidebar-head[data-v-94f915e6]{border-bottom:1px solid #e5e7eb;margin-bottom:14px;padding-bottom:10px}.eyebrow[data-v-94f915e6]{letter-spacing:.12em;text-transform:uppercase;color:#6b7280;margin:0 0 4px;font-size:11px}.field[data-v-94f915e6]{gap:6px;margin-bottom:12px;display:grid}.field span[data-v-94f915e6]{color:#374151;text-transform:uppercase;font-size:12px;font-weight:700}.field input[data-v-94f915e6],.field select[data-v-94f915e6]{box-sizing:border-box;width:100%;font:inherit;color:#111827;box-shadow:none;background:#fff;border:1px solid #9ca3af;border-radius:2px;padding:8px 10px}.field small[data-v-94f915e6]{color:#6b7280;line-height:1.4}.rich-text-editor[data-v-94f915e6]{gap:8px;display:grid}.rich-text-toolbar[data-v-94f915e6]{flex-wrap:wrap;gap:6px;display:flex}.rich-text-toolbar button[data-v-94f915e6]{min-width:40px;padding:6px 8px}.rich-text-surface[data-v-94f915e6]{color:#111827;white-space:normal;background:#fff;border:1px solid #9ca3af;border-radius:2px;outline:none;min-height:180px;padding:10px;line-height:1.45}.rich-text-surface[data-v-94f915e6]:focus{border-color:#111827}.rich-text-surface[data-v-94f915e6]>:first-child{margin-top:0}.rich-text-surface[data-v-94f915e6]>:last-child{margin-bottom:0}.rich-text-surface p[data-v-94f915e6],.rich-text-surface ul[data-v-94f915e6],.rich-text-surface ol[data-v-94f915e6],.rich-text-surface blockquote[data-v-94f915e6],.rich-text-surface h1[data-v-94f915e6],.rich-text-surface h2[data-v-94f915e6],.rich-text-surface h3[data-v-94f915e6],.rich-text-surface h4[data-v-94f915e6],.rich-text-surface pre[data-v-94f915e6]{margin:0 0 .6em}.rich-text-surface ul[data-v-94f915e6],.rich-text-surface ol[data-v-94f915e6]{padding-left:1.3rem}.options-block[data-v-94f915e6],.media-block[data-v-94f915e6]{margin-top:18px}.section-head[data-v-94f915e6]{margin-bottom:10px}.empty-state[data-v-94f915e6]{color:#6b7280;border:1px dashed #d1d5db;padding:12px}.empty-state p[data-v-94f915e6]{margin:6px 0 0}.option-card[data-v-94f915e6]{background:#fff;border:1px solid #d1d5db;margin-bottom:12px;padding:12px}.upload-button[data-v-94f915e6]{cursor:pointer;color:#111827;background:#fff;border:1px solid #111827;border-radius:2px;align-items:center;gap:6px;padding:8px 10px;display:inline-flex;position:relative}.upload-button input[data-v-94f915e6]{opacity:0;cursor:pointer;position:absolute;inset:0}.image-preview[data-v-94f915e6]{background:#fff;border:1px solid #d1d5db;padding:8px}.image-preview img[data-v-94f915e6]{object-fit:cover;width:100%;max-height:180px;display:block}.upload-error[data-v-94f915e6]{color:#991b1b;margin-top:8px;font-size:12px}.config-actions[data-v-94f915e6]{flex-wrap:wrap;gap:10px;display:flex}.config-actions--media[data-v-94f915e6]{margin-bottom:12px}.impact-list[data-v-94f915e6]{gap:8px;display:grid}.impact-empty[data-v-94f915e6]{color:#6b7280;border:1px dashed #d1d5db;padding:10px}.impact-row[data-v-94f915e6]{grid-template-columns:minmax(0,1.4fr) 90px auto;align-items:center;gap:8px;display:grid}button[data-v-94f915e6]{font:inherit;cursor:pointer;color:#111827;background:#fff;border:1px solid #111827;border-radius:2px;align-items:center;gap:6px;padding:8px 10px;display:inline-flex}.secondary[data-v-94f915e6],.danger[data-v-94f915e6]{color:#111827;background:#fff}.save[data-v-94f915e6]{width:100%;margin-top:10px}.editor-actions[data-v-94f915e6]{gap:8px;margin-top:10px;display:grid}[data-v-94f915e6] .minigame-config-modal{width:min(980px,100vw - 24px)}[data-v-94f915e6] .scene-preview-modal{width:min(860px,100vw - 24px)}.scene-preview-shell[data-v-94f915e6]{border-radius:12px;min-height:560px;padding:24px 16px}h2[data-v-94f915e6],h3[data-v-94f915e6]{color:#111827;margin:0}strong[data-v-94f915e6]{color:#111827}.matrix-game[data-v-5787927b]{grid-template-rows:auto minmax(0,1fr);gap:14px;height:100%;min-height:0;display:grid;overflow:hidden}.matrix-game__errors[data-v-5787927b]{margin:8px 0 0;padding-left:18px}.matrix-game__content[data-v-5787927b]{grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.matrix-game__content--intro[data-v-5787927b]{grid-template-rows:minmax(0,1fr) auto}.matrix-game__intro[data-v-5787927b]{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;gap:10px;padding:12px;display:grid;overflow:auto}.matrix-game__intro-image[data-v-5787927b]{object-fit:cover;border:1px solid #e5e7eb;border-radius:8px;width:100%;max-height:min(48vh,360px)}.matrix-game__intro h3[data-v-5787927b]{color:#0f172a;margin:0;font-size:24px;line-height:1.2}.matrix-game__intro p[data-v-5787927b]{color:#334155;margin:0;line-height:1.5}.matrix-game__play-area[data-v-5787927b]{grid-template-columns:minmax(0,2.1fr) minmax(210px,1fr);align-items:stretch;gap:12px;min-height:100%;display:grid;overflow:hidden}.matrix-game__puzzle[data-v-5787927b]{background:0 0;border:0;border-radius:0;place-items:center;height:100%;min-height:0;padding:0;display:grid;overflow:hidden}.matrix-game__right[data-v-5787927b]{grid-template-rows:minmax(0,1fr) auto;gap:10px;height:100%;min-height:0;display:grid;overflow:hidden}.matrix-game__options-panel[data-v-5787927b]{background:0 0;border:0;border-radius:0;height:100%;min-height:0;padding:0;overflow:hidden}.matrix-game__puzzle img[data-v-5787927b]{object-fit:contain;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%;display:block}.matrix-game__options[data-v-5787927b]{grid-template-columns:repeat(var(--matrix-option-columns,5), minmax(0, 1fr));grid-template-rows:repeat(var(--matrix-option-rows,1), minmax(0, 1fr));align-content:stretch;align-items:stretch;gap:8px;height:100%;display:grid;overflow:hidden}.matrix-game__option[data-v-5787927b]{aspect-ratio:auto;cursor:pointer;background:#f8fafc;border:2px solid #0000;border-radius:6px;place-items:center;width:100%;max-width:100%;min-height:0;padding:4px;display:grid;overflow:hidden}.matrix-game__option img[data-v-5787927b]{object-fit:contain;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%}.matrix-game__option-text[data-v-5787927b]{color:#2563eb;font-size:42px;font-weight:700}.matrix-game__option.is-selected[data-v-5787927b]{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.matrix-game[data-v-5787927b] .n-button{width:100%;min-height:38px}@media (width<=820px){.matrix-game[data-v-5787927b]{gap:10px;height:100%}.matrix-game__content[data-v-5787927b]{gap:10px}.matrix-game__play-area[data-v-5787927b]{grid-template-rows:minmax(180px,1fr) minmax(160px,1fr);grid-template-columns:1fr}.matrix-game__options[data-v-5787927b]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--matrix-option-rows,1), minmax(0, 1fr))}}@media (width<=980px) and (orientation:landscape){.matrix-game[data-v-5787927b]{height:100%}.matrix-game__play-area[data-v-5787927b]{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1.9fr) minmax(190px,1fr);align-items:stretch}.matrix-game__puzzle[data-v-5787927b],.matrix-game__right[data-v-5787927b],.matrix-game__options-panel[data-v-5787927b]{height:100%}.matrix-game__options[data-v-5787927b]{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--matrix-option-rows,1), minmax(0, 1fr));align-content:stretch}.matrix-game__option[data-v-5787927b]{min-height:0}}.sequence-game[data-v-5e484a22]{background:linear-gradient(#fff 0%,#f8fafc 100%);gap:18px;display:grid}.sequence-game__header[data-v-5e484a22],.sequence-game__footer[data-v-5e484a22]{justify-content:space-between;align-items:center;gap:12px;display:flex}.sequence-game__eyebrow[data-v-5e484a22]{letter-spacing:.12em;text-transform:uppercase;color:#64748b;margin:0 0 6px;font-size:11px}.sequence-game h2[data-v-5e484a22],.sequence-game__instructions[data-v-5e484a22]{margin:0}.sequence-game__instructions[data-v-5e484a22]{color:#475569}.sequence-game__timer[data-v-5e484a22]{color:#0f172a;font-variant-numeric:tabular-nums;background:#e2e8f0;border-radius:999px;padding:8px 12px;font-weight:700}.sequence-game__timer.is-warning[data-v-5e484a22]{color:#b91c1c;background:#fee2e2}.sequence-game__alert[data-v-5e484a22]{color:#9f1239;background:#fff1f2;border:1px solid #fecaca;border-radius:12px;padding:14px 16px}.sequence-game__alert ul[data-v-5e484a22],.sequence-game__errors[data-v-5e484a22]{margin:8px 0 0;padding-left:18px}.sequence-game__board[data-v-5e484a22]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.sequence-game__item[data-v-5e484a22]{cursor:grab;background:#fff;border:2px solid #cbd5e1;border-radius:18px;padding:0;transition:transform .18s,border-color .18s,box-shadow .18s;display:block;overflow:hidden}.sequence-game__item[data-v-5e484a22]:hover,.sequence-game__item.is-over[data-v-5e484a22]{border-color:#2563eb;box-shadow:0 16px 28px #2563eb1f}.sequence-game__item.is-dragging[data-v-5e484a22]{opacity:.75;transform:scale(.985)}.sequence-game__item.has-error[data-v-5e484a22]{border-color:#ef4444}.sequence-game__media[data-v-5e484a22]{aspect-ratio:1;background:#e2e8f0;min-height:220px;position:relative;overflow:hidden}.sequence-game__media img[data-v-5e484a22]{object-fit:cover;width:100%;height:100%;display:block}.sequence-game__media img.is-hidden[data-v-5e484a22]{display:none}.sequence-game__image-state[data-v-5e484a22]{color:#475569;place-items:center;gap:6px;width:100%;height:100%;min-height:220px;font-size:14px;display:grid}.sequence-game__image-state--error[data-v-5e484a22]{color:#b91c1c}@media (width<=720px){.sequence-game[data-v-5e484a22]{gap:14px}.sequence-game__header[data-v-5e484a22],.sequence-game__footer[data-v-5e484a22]{align-items:stretch}.sequence-game__board[data-v-5e484a22]{grid-template-columns:1fr;gap:12px}}.vue-flow{z-index:0;direction:ltr;width:100%;height:100%;position:relative;overflow:hidden}.vue-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.vue-flow__pane{z-index:1}.vue-flow__pane.draggable{cursor:grab}.vue-flow__pane.selection{cursor:pointer}.vue-flow__pane.dragging{cursor:grabbing}.vue-flow__transformationpane{transform-origin:0 0;z-index:2;pointer-events:none}.vue-flow__viewport{z-index:4;overflow:clip}.vue-flow__selection{z-index:6}.vue-flow__edge-labels{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible{outline:none}.vue-flow .vue-flow__edges{pointer-events:none;overflow:visible}.vue-flow__edge-path,.vue-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.vue-flow__edge{pointer-events:visibleStroke;cursor:pointer}.vue-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.vue-flow__edge.animated path.vue-flow__edge-interaction{stroke-dasharray:none;animation:none}.vue-flow__edge.inactive{pointer-events:none}.vue-flow__edge.selected,.vue-flow__edge:focus,.vue-flow__edge:focus-visible{outline:none}.vue-flow__edge.selected .vue-flow__edge-path,.vue-flow__edge:focus .vue-flow__edge-path,.vue-flow__edge:focus-visible .vue-flow__edge-path{stroke:#555}.vue-flow__edge-textwrapper{pointer-events:all}.vue-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.vue-flow__connection{pointer-events:none}.vue-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.vue-flow__connectionline{z-index:1001}.vue-flow__nodes{pointer-events:none;transform-origin:0 0}.vue-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.vue-flow__node.draggable{cursor:grab;pointer-events:all}.vue-flow__node.draggable.dragging{cursor:grabbing}.vue-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.vue-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.vue-flow__nodesselection-rect.dragging{cursor:grabbing}.vue-flow__handle{pointer-events:none;min-width:5px;min-height:5px;position:absolute}.vue-flow__handle.connectable{pointer-events:all;cursor:crosshair}.vue-flow__handle-bottom{bottom:0;left:50%;transform:translate(-50%,50%)}.vue-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.vue-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.vue-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.vue-flow__edgeupdater{cursor:move;pointer-events:all}.vue-flow__panel{z-index:5;margin:15px;position:absolute}.vue-flow__panel.top{top:0}.vue-flow__panel.bottom{bottom:0}.vue-flow__panel.left{left:0}.vue-flow__panel.right{right:0}.vue-flow__panel.center{left:50%;transform:translate(-50%)}@keyframes dashdraw{0%{stroke-dashoffset:10px}}:root{--vf-node-bg:#fff;--vf-node-text:#222;--vf-connection-path:#b1b1b7;--vf-handle:#555}.vue-flow__edge.updating .vue-flow__edge-path{stroke:#777}.vue-flow__edge-text{font-size:10px}.vue-flow__edge-textbg{fill:#fff}.vue-flow__connection-path{stroke:var(--vf-connection-path)}.vue-flow__node{cursor:grab}.vue-flow__node.selectable:focus,.vue-flow__node.selectable:focus-visible{outline:none}.vue-flow__node-default,.vue-flow__node-input,.vue-flow__node-output{text-align:center;width:150px;color:var(--vf-node-text);background-color:var(--vf-node-bg);border-style:solid;border-width:1px;border-color:var(--vf-node-color);border-radius:3px;padding:10px;font-size:12px}.vue-flow__node-default.selected,.vue-flow__node-default.selected:hover,.vue-flow__node-input.selected,.vue-flow__node-input.selected:hover,.vue-flow__node-output.selected,.vue-flow__node-output.selected:hover{box-shadow:0 0 0 .5px var(--vf-box-shadow)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible,.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible,.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{border:1px solid #555;outline:none}.vue-flow__node-default .vue-flow__handle,.vue-flow__node-input .vue-flow__handle,.vue-flow__node-output .vue-flow__handle{background:var(--vf-handle)}.vue-flow__node-default.selectable:hover,.vue-flow__node-input.selectable:hover,.vue-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.vue-flow__node-input{--vf-node-color:var(--vf-node-color,#0041d0);--vf-handle:var(--vf-node-color,#0041d0);--vf-box-shadow:var(--vf-node-color,#0041d0);background:var(--vf-node-bg);border-color:var(--vf-node-color,#0041d0)}.vue-flow__node-input.selected,.vue-flow__node-input:focus,.vue-flow__node-input:focus-visible{border:1px solid var(--vf-node-color,#0041d0);outline:none}.vue-flow__node-default{--vf-handle:var(--vf-node-color,#1a192b);--vf-box-shadow:var(--vf-node-color,#1a192b);background:var(--vf-node-bg);border-color:var(--vf-node-color,#1a192b)}.vue-flow__node-default.selected,.vue-flow__node-default:focus,.vue-flow__node-default:focus-visible{border:1px solid var(--vf-node-color,#1a192b);outline:none}.vue-flow__node-output{--vf-handle:var(--vf-node-color,#ff0072);--vf-box-shadow:var(--vf-node-color,#ff0072);background:var(--vf-node-bg);border-color:var(--vf-node-color,#ff0072)}.vue-flow__node-output.selected,.vue-flow__node-output:focus,.vue-flow__node-output:focus-visible{border:1px solid var(--vf-node-color,#ff0072);outline:none}.vue-flow__nodesselection-rect,.vue-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.vue-flow__nodesselection-rect:focus,.vue-flow__nodesselection-rect:focus-visible,.vue-flow__selection:focus,.vue-flow__selection:focus-visible{outline:none}.vue-flow__handle{background:var(--vf-handle);border:1px solid #fff;border-radius:100%;width:6px;height:6px}.vue-flow__controls{box-shadow:0 0 2px 1px #00000014}.vue-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.vue-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.vue-flow__controls-button:hover{background:#f4f4f4}.vue-flow__controls-button:disabled{pointer-events:none}.vue-flow__controls-button:disabled svg{fill-opacity:.4}.vue-flow__minimap{background-color:#fff}.vue-flow__minimap.pannable{cursor:grab}.vue-flow__minimap.dragging{cursor:grabbing}.vue-flow__minimap-mask.pannable{cursor:grab}
