@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-blue-300:oklch(80.9% .105 251.813);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--radius-md:.375rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-ml-px{margin-left:-1px}.block{display:block}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.h-5{height:calc(var(--spacing) * 5)}.w-5{width:calc(var(--spacing) * 5)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-gray-300{border-color:var(--color-gray-300)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media(hover:hover){.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:text-gray-400:hover{color:var(--color-gray-400)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}}.focus\:border-blue-300:focus{border-color:var(--color-blue-300)}.focus\:ring:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:bg-gray-100:active{background-color:var(--color-gray-100)}.active\:text-gray-500:active{color:var(--color-gray-500)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-gray-800:active{color:var(--color-gray-800)}@media(min-width:40rem){.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:flex-1{flex:1}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}}.rtl\:flex-row-reverse:where(:dir(rtl),[dir=rtl],[dir=rtl] *){flex-direction:row-reverse}@media(prefers-color-scheme:dark){.dark\:border-gray-600{border-color:var(--color-gray-600)}.dark\:bg-gray-700{background-color:var(--color-gray-700)}.dark\:bg-gray-800{background-color:var(--color-gray-800)}.dark\:text-gray-200{color:var(--color-gray-200)}.dark\:text-gray-300{color:var(--color-gray-300)}.dark\:text-gray-400{color:var(--color-gray-400)}.dark\:text-gray-600{color:var(--color-gray-600)}@media(hover:hover){.dark\:hover\:bg-gray-900:hover{background-color:var(--color-gray-900)}.dark\:hover\:text-gray-200:hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:hover{color:var(--color-gray-300)}}.dark\:focus\:border-blue-700:focus{border-color:var(--color-blue-700)}.dark\:focus\:border-blue-800:focus{border-color:var(--color-blue-800)}.dark\:active\:bg-gray-700:active{background-color:var(--color-gray-700)}.dark\:active\:text-gray-300:active{color:var(--color-gray-300)}}}body{color:#1b1b18;background:#f8f8f6;font-family:system-ui,sans-serif}.app-settings{z-index:50;position:fixed;bottom:.75rem;right:.75rem}.app-settings__trigger{cursor:pointer;background:#fff;border:1px solid #d6d6d3;border-radius:50%;width:42px;height:42px;font-size:1.05rem;line-height:1;box-shadow:0 6px 18px #1b1b1824}.app-settings__trigger.is-active{color:#fff;background:#1b1b18;border-color:#1b1b18}.app-settings__panel{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#ffffffe6;border:1px solid #e3e3e0;border-radius:8px;flex-direction:column;gap:.45rem;min-width:140px;padding:.55rem;display:flex;position:absolute;bottom:52px;right:0}.app-settings__title{color:#706f6c;font-size:.8rem}.app-settings__account{border-top:1px solid #e3e3e0;padding-top:.5rem}.app-settings__email{color:#1b1b18;text-overflow:ellipsis;white-space:nowrap;max-width:190px;margin:.2rem 0 .45rem;font-size:.78rem;overflow:hidden}.app-settings__options{gap:.35rem;display:flex}.app-settings__lang-btn{cursor:pointer;background:#fff;border:1px solid #d6d6d3;border-radius:6px;padding:.25rem .4rem;font-size:.75rem;line-height:1}.app-settings__lang-btn.is-active{color:#fff;background:#1b1b18;border-color:#1b1b18}.app-settings__logout{width:100%;margin:0}.app-dialog-overlay{z-index:1200}.app-dialog{min-width:320px;max-width:480px}.app-dialog__message{margin:0;font-size:1rem;line-height:1.5}.page{max-width:860px;margin:0 auto;padding:2rem 1rem}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.login-card{width:min(420px,100%);margin:0}.login-label{margin-bottom:.35rem}.login-info{color:#1e3a5f;background:#f0f6ff;border:1px solid #c7defe;border-radius:6px;margin-bottom:.9rem;padding:.75rem}.login-info--success{color:#166534;background:#effcf3;border-color:#b8efc8}.login-info--warning{color:#92400e;background:#fff8eb;border-color:#f6d089}.card{background:#fff;border:1px solid #e3e3e0;border-radius:8px;margin-bottom:1rem;padding:1.5rem}.back-btn{margin-bottom:1.5rem;display:inline-block}.btn{cursor:pointer;border:none;border-radius:6px;margin-top:.5rem;margin-right:.5rem;padding:.5rem 1rem;font-size:.9rem;text-decoration:none;display:inline-block}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{color:#fff;background:#1b1b18}.btn-secondary{color:#1b1b18;background:#e3e3e0}.btn-danger{color:#fff;background:#f53003}.btn-choice{text-align:left;color:#1b1b18;background:#f0f0ed;width:100%;margin-bottom:.5rem;padding:.75rem 1rem;font-size:1rem;display:block}.btn-choice:hover{color:#fff;background:#1b1b18}.input{box-sizing:border-box;border:1px solid #e3e3e0;border-radius:6px;width:100%;margin-bottom:.75rem;padding:.5rem .75rem;font-family:inherit;font-size:.95rem;display:block}.title-input{font-size:1.3rem;font-weight:600}.select{appearance:auto}.order-input{width:70px;display:inline-block}.scenes-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;display:grid}.scene-card-editor{position:relative}.scene-card-editor.is-start{border-width:2px;border-color:#1b1b18}.scene-desc-short{color:#706f6c;margin:.5rem 0;font-size:.85rem}.badge{color:#fff;background:#1b1b18;border-radius:20px;margin-bottom:.5rem;padding:2px 8px;font-size:.75rem;display:inline-block}.badge-end{background:#706f6c;margin-left:.25rem}.scene-image{object-fit:cover;transform-origin:50%;width:100%;height:100%;margin-bottom:0;display:block}.scene-desc{margin:1rem 0;font-size:1.1rem;line-height:1.7}.choices{margin-top:1.5rem}.finale{text-align:center;padding:2rem}.choice-row{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.choice-row .input{margin-bottom:0}.image-block{margin:1rem 0}.label{cursor:pointer;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.scene-image-frame{aspect-ratio:4/3;border-radius:6px;width:100%;margin-bottom:1rem;overflow:hidden}.scene-image-frame--editor{touch-action:none;cursor:ns-resize}.scene-image-frame--editor:active{cursor:grabbing}.image-position-controls,.image-scale-controls{margin-top:.5rem}.image-position-label{margin-bottom:.35rem}.image-position-range{margin-bottom:0}.hint{color:#706f6c;font-size:.8rem;font-weight:400}.error{color:#f53003;background:#fff2f2;border:1px solid #f53003;border-radius:6px;padding:1rem}.actions{margin-top:1rem}.new-card{border-style:dashed}.new-stage{margin-top:1rem}h1{margin-bottom:.25rem;font-size:2rem}h2{margin:1.5rem 0 1rem;font-size:1.4rem}h3{margin:0 0 .75rem;font-size:1.1rem}h4{margin:0 0 .5rem}p{margin:.25rem 0}html,body{height:100%;margin:0}#app{height:100%}.editor-layout{flex-direction:column;height:100vh;display:flex;overflow:hidden}.editor-topbar{z-index:10;background:#fff;border-bottom:1px solid #e3e3e0;flex-shrink:0;align-items:center;gap:1rem;padding:.75rem 1.25rem;display:flex}.topbar-title{flex:1}.topbar-input{color:#1b1b18;background:0 0;border:none;outline:none;width:100%;font-size:1.1rem;font-weight:600}.topbar-input:focus{border-bottom:2px solid #1b1b18}.topbar-actions{gap:.5rem;display:flex}.graph-wrap{flex:1;min-height:0;position:relative}.graph-loading{color:#706f6c;justify-content:center;align-items:center;height:100%;font-size:1.2rem;display:flex}.scene-node{background:#fff;border:2px solid #e3e3e0;border-radius:8px;min-width:200px;max-width:240px;padding:.85rem 1rem;box-shadow:0 2px 8px #00000012}.scene-node.node-start{border-color:#1b1b18}.scene-node.node-final{border-style:dashed;border-color:#706f6c}.node-title{margin-bottom:.3rem;font-size:.95rem;font-weight:600}.node-desc{color:#706f6c;min-height:1rem;font-size:.78rem;line-height:1.4}.node-badges{gap:.25rem;margin-bottom:.4rem;display:flex}.node-actions{justify-content:flex-end;gap:.4rem;margin-top:.6rem;display:flex}.node-btn{cursor:pointer;background:#f0f0ed;border:none;border-radius:4px;padding:2px 8px;font-size:.85rem}.node-btn:hover{background:#e3e3e0}.node-btn-danger:hover{color:#fff;background:#f53003}.choice-node{cursor:pointer;background:#fff;border:2px solid #1b1b18;border-radius:4px;align-items:center;gap:.4rem;min-width:120px;max-width:160px;padding:.3rem .6rem;font-size:.78rem;display:flex;position:relative}.choice-node:hover{background:#f0f0ed}.choice-label{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.choice-delete{cursor:pointer;color:#706f6c;background:0 0;border:none;flex-shrink:0;padding:0 2px;font-size:1rem;line-height:1}.choice-delete:hover{color:#f53003}.drop-zone{border:2px dashed #e3e3e0;border-radius:8px;outline:none;padding:1rem;transition:border-color .15s,background .15s}.drop-zone--over{background:#f0fdf4;border-color:#22c55e}.drop-zone:focus{border-color:#6366f1}.drop-hint{text-align:center;color:#706f6c;padding:2rem 1rem;font-size:.95rem}.image-actions{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.accordion-card{padding-bottom:0}.accordion-header{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;padding-bottom:1rem;display:flex}.accordion-header h3{margin:0}.accordion-header:hover h3{color:#706f6c}.accordion-arrow{color:#706f6c;font-size:1.2rem;transition:transform .2s}.accordion-arrow.open{transform:rotate(180deg)}.accordion-body{border-top:1px solid #e3e3e0;padding-top:1rem;padding-bottom:1rem}.fab-add-scene{z-index:20;color:#fff;cursor:pointer;background:#22c55e;border:none;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.75rem;line-height:1;transition:background .15s,transform .1s;display:flex;position:absolute;top:1rem;right:1.5rem;box-shadow:0 4px 16px #22c55e73}.fab-add-scene:hover{background:#16a34a;transform:scale(1.08)}.fab-add-scene:active{transform:scale(.96)}.scene-target-handle{opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.scene-link-handle{cursor:crosshair!important;background:#22c55e!important;border:2px solid #16a34a!important;border-radius:50%!important;width:14px!important;height:14px!important;top:50%!important;right:-8px!important;transform:translateY(-50%)!important}.scene-link-handle:hover{background:#16a34a!important;width:18px!important;height:18px!important}.scene-link-handle.scene-link-handle--left.vue-flow__handle-left{top:50%!important;left:-8px!important;right:auto!important;transform:translateY(-50%)!important}.scene-link-handle--left{top:65%!important;left:-8px!important}.choice-edit{cursor:pointer;opacity:.6;background:0 0;border:none;flex-shrink:0;padding:0 2px;font-size:.85rem;line-height:1}.choice-edit:hover{opacity:1}.modal-overlay{z-index:1000;background:#00000059;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:10px;min-width:360px;padding:2rem;box-shadow:0 8px 32px #0000002e}.modal h3{margin:0 0 1rem}.modal-hint{color:#706f6c;margin-bottom:.75rem;font-size:.85rem}.modal-actions{gap:.5rem;margin-top:1rem;display:flex}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
