:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}@font-face{font-family:Weissenhof Grotesk;src:url(/assets/WeissenhofGrotesk-Bold-BDE3Kvz-.otf) format("opentype");font-weight:700;font-style:normal}body{font-family:Weissenhof Grotesk,system-ui,sans-serif;-webkit-font-smoothing:antialiased}.node-card{min-width:180px;background:#0b1220;border-radius:14px;border:3px solid #ffffff;color:#e5e7eb;font-family:Weissenhof Grotesk,system-ui,sans-serif;overflow:visible;position:relative;height:100%;box-sizing:border-box;display:flex;flex-direction:column}.node-shell{background:#0b1220;border-radius:10px;overflow:hidden}.node-header{padding:4px 10px;font-size:16px;font-weight:400;text-align:center;color:#fff;border-radius:10px 10px 0 0;display:flex;align-items:center;justify-content:center;gap:8px}.node-icon{width:18px;height:18px;display:block;color:#fff}.header-green{background:#39be66}.header-lime{background:#9be33f}.header-blue{background:#2d9bf0}.header-orange{background:#ff9a42}.header-pink{background:#f068a6}.header-purple{background:#9c6fc6}.header-teal{background:#4fb5b9}.header-red{background:#fe2c54}.header-cerise{background:#da0063}.header-coral{background:#ff6464}.header-yellow{background:#ffb638;color:#0f172a}.node-body{flex:1;display:flex;flex-direction:column;min-height:0;padding:5px 10px 10px;font-size:12px}.node-select,.node-input{width:100%;padding:1px 5px;font-size:12px;font-family:Weissenhof Grotesk,system-ui,sans-serif;background:#0f172a;border:2px solid #1e293b;color:#fff;border-radius:999px;margin-top:6px;box-sizing:border-box}.node-input{text-align:center}.node-output-text{flex:1;padding:6px 16px;border-radius:999px;background:#0f172a;border:2px solid #1e293b;color:#fff;font-family:Weissenhof Grotesk,system-ui,sans-serif;font-size:14px;text-align:center}.handle-dot{background:#fff;width:10px;height:10px;border-radius:50%;position:absolute;border:3.5px solid #ffffff}.node-row,.dice-row{position:relative;display:flex;align-items:center;margin-top:1px}.handle-green{border:3.5px solid #39BE66}.handle-lime{border:3.5px solid #9be33f}.handle-blue{border:3.5px solid #2d9bf0}.handle-pink{border:3.5px solid #f068a6}.handle-purple{border:3.5px solid #9c6fc6}.handle-teal{border:3.5px solid #4fb5b9}.handle-red{border:3.5px solid #fe2c54}.handle-cerise{border:3.5px solid #da0063}.handle-coral{border:3.5px solid #ff6464}.handle-yellow{border:3.5px solid #facc15}.row-handle-left{left:-20px;top:50%;transform:translateY(-35%)}.row-handle-right{right:-20px;top:50%;transform:translateY(-50%)}.node-label-row{position:relative;display:flex;align-items:center;text-align:left;margin-top:2px}.node-label-spacer{flex:1}.node-label{font-size:12px;color:#fff;padding-right:6px}.dice-row{position:relative;display:flex;align-items:center;text-align:left;margin-top:2px}.dice-row-label{font-size:11px;color:#fff}.dice-color-chip{width:18px;height:18px;border-radius:999px;border:2px solid #1e293b;cursor:pointer}.dice-weight-input{width:48px;margin-left:6px;text-align:center;font-size:11px}.dice-sides-input{display:flex;align-items:center;justify-content:space-between;padding:0 10px}.dice-sides-input span{font-size:12px;color:#fff}.dice-sides-number{width:40px;border:none;background:transparent;color:#fff;text-align:right;font:inherit;padding:0;outline:none}.dice-sides-number::-webkit-outer-spin-button,.dice-sides-number::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.dice-sides-number[type=number]{-moz-appearance:textfield}.handle-orange{border:3.5px solid #ff9a42}.node-button{width:100%;padding:4px 10px;margin-top:6px;font-size:12px;font-family:Weissenhof Grotesk,system-ui,sans-serif;background:#ff9a42;border:2px solid #f97316;color:#0f172a;border-radius:999px;cursor:pointer;box-sizing:border-box}.node-button:hover{filter:brightness(1.05)}.node-button:active{transform:translateY(1px)}.result-pill{width:100%;margin-top:6px;padding:4px 12px;background:#0f172a;border:2px solid #1e293b;border-radius:999px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between}.result-label{font-size:12px;color:#fff}.result-value{font-size:14px;font-weight:700;color:#fff}.note-textarea{background:#0f172a;border-radius:10px;border:2px solid #1e293b;font-size:13px;line-height:1.4;text-align:left;color:#fff;padding:5px 14px;box-sizing:border-box}.note-textarea:focus{outline:none;background:#ffffff0d}.react-flow__node-group{background:transparent!important;border:none!important;padding:0!important;box-shadow:none!important}.react-flow__node-group.selected{box-shadow:none!important}.group-node-container{width:100%;height:100%;border:3px solid #ffffff;border-radius:14px;display:flex;flex-direction:column;overflow:visible;transition:all .2s ease;box-shadow:0 4px 20px #0000001a;box-sizing:border-box}.group-header{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-radius:10px 10px 0 0;color:#fff;-webkit-user-select:none;user-select:none}.group-label-container{flex:1;text-align:center;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.5px;cursor:text;display:flex;justify-content:center}.group-label-input{background:#0003;border:none;color:#fff;font-weight:700;text-align:center;border-radius:4px;width:80%;outline:none;font-family:inherit;font-size:inherit}.group-icon-btn{background:transparent;border:none;color:#fff;cursor:pointer;opacity:.7;display:flex;align-items:center;justify-content:center;padding:6px;border-radius:6px;transition:all .2s ease;outline:none!important;box-shadow:none!important;-webkit-appearance:none;-moz-appearance:none}.group-icon-btn:focus,.group-icon-btn:active,.group-icon-btn:focus-visible{outline:none!important;border:none!important;box-shadow:none!important;background:#ffffff1a}.group-icon-btn img{width:16px;height:16px;filter:brightness(0) invert(1);display:block}.group-icon-btn:hover{background:#fff3;opacity:1}.group-portal-menu{position:fixed;background:#0b1220;border:2px solid #334155;padding:8px;border-radius:12px;z-index:99999;width:160px;box-shadow:0 10px 30px #000c;animation:fadeIn .1s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.color-picker-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.color-swatch{width:24px;height:24px;border-radius:50%;cursor:pointer;border:2px solid rgba(255,255,255,.1);transition:transform .1s,border-color .1s}.color-swatch:hover{transform:scale(1.15);border-color:#fff}.react-flow__resize-control.handle{width:10px;height:10px;border-radius:50%;border:2px solid #fff;background-color:#3b82f6}.group-header.light-theme{color:#0b1220!important}.group-header.light-theme .group-icon-btn{color:#0b1220!important;opacity:1!important}.group-header.light-theme .group-icon-btn img{filter:brightness(0)!important}.group-header.light-theme .group-label-input{color:#0b1220!important;background:#0000001a!important}.stana-burst{position:absolute;width:100px;height:100px;transform:translate(-50%,-50%);pointer-events:none;z-index:9999}.stana-svg{position:absolute;top:0;left:0;width:100%;height:100%;overflow:visible}.stana-lines line{fill:none;stroke:var(--burst-color, #FE2C54);stroke-width:5;stroke-linecap:round}.stana-clip-ring{transform-origin:50% 50%;transform:scale3d(.8,.8,1);transition:transform .5s cubic-bezier(.12,.8,.32,1)}.stana-burst.is-active .stana-clip-ring{transform:scale3d(3.5,3.5,1)}.stana-burst.is-active .stana-lines{animation:anim-stana-fade .5s ease-out forwards}@keyframes anim-stana-fade{0%{opacity:1}50%{opacity:1}to{opacity:0}}.stats-panel-container{position:absolute;top:100px;right:0;bottom:20px;width:340px;background:#0b1220;border:2px solid #334155;border-radius:20px 0 0 20px;border-right:none;box-shadow:-10px 20px 50px #00000080;display:flex;flex-direction:column;z-index:90;transform:translate(100%);transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .3s ease;overflow:hidden}.stats-panel-container.is-open{transform:translate(0)}.stats-panel-container.is-open{border-color:#ffb638;box-shadow:-10px 20px 50px #00000080,0 0 0 1px #ffb6381a,-5px 0 20px #ffb6381a}.stats-header{padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1);background:#ffb6380d;flex-shrink:0}.stats-title-row{display:flex;align-items:center;gap:10px;margin-bottom:4px}.stats-title{font-size:1.1rem;font-weight:800;color:#ffb638;letter-spacing:.5px}.stats-icon{width:20px;height:20px}.stats-subtitle{font-size:.7rem;color:#94a3b8;font-family:monospace;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stats-controls{padding:12px 20px;background:#0b1220;border-bottom:1px solid rgba(255,255,255,.1);z-index:10;flex-shrink:0}.run-sim-row{display:flex;gap:8px;align-items:stretch}.run-sim-btn{flex:1;padding:10px;background:#ffb638;color:#0b1220;border:none;border-radius:8px;font-weight:800;font-size:.9rem;cursor:pointer;transition:all .2s}.run-sim-btn:hover{background:#ffc96b;transform:translateY(-1px)}.run-sim-btn:active{transform:scale(.98)}.run-sim-btn:disabled{background:#334155;color:#94a3b8;cursor:not-allowed;transform:none}.sim-count-input{width:70px;background:#ffffff0d;border:1px solid #334155;border-radius:8px;color:#fff;text-align:center;font-family:monospace;font-weight:700;outline:none}.sim-count-input:focus{border-color:#ffb638}.stats-content{flex:1;overflow-y:auto;padding:20px}.stats-content::-webkit-scrollbar{width:6px}.stats-content::-webkit-scrollbar-thumb{background:#334155;border-radius:3px}.stats-empty{padding:40px 20px;text-align:center;color:#64748b;font-size:.9rem;font-style:italic}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:24px}.stat-box{background:#ffffff08;border:1px solid rgba(255,255,255,.05);padding:8px 4px;border-radius:6px;text-align:center;transition:transform .2s ease}.stat-box:hover{background:#ffffff0d;border-color:#ffb6384d}.stat-label{font-size:.6rem;text-transform:uppercase;color:#94a3b8;margin-bottom:2px}.stat-value{font-size:.9rem;font-weight:700;color:#fff;white-space:nowrap}.stats-section-header{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px;border-bottom:1px solid rgba(255,182,56,.2);padding-bottom:8px}.stats-section-title{font-size:.85rem;font-weight:700;color:#ffb638;text-transform:uppercase;letter-spacing:1px;margin:0}.stats-dropdown{background:#ffffff0d;border:1px solid #334155;color:#ffb638;font-size:.75rem;padding:2px 6px;border-radius:6px;outline:none;cursor:pointer;font-weight:600}.stats-dropdown:hover{background:#ffffff1a;border-color:#ffb638}.stats-dropdown option{background:#0b1220;color:#fff}.dc-table-wrapper{border:1px solid #334155;border-radius:12px;overflow:hidden}.dc-table{width:100%;border-collapse:collapse;font-size:.85rem}.dc-table th{background:#ffffff0d;padding:10px 12px;text-align:left;color:#94a3b8;font-weight:600}.dc-table td{padding:8px 12px;border-top:1px solid rgba(255,255,255,.05);position:relative}.chance-bar{position:absolute;top:0;left:0;bottom:0;background:#ffb63826;z-index:0}.chance-text{position:relative;z-index:1;font-family:monospace;color:#ffb638}:root{--toolbar-bg: #041C33;--bg-lines: #EAE7FF;--ease-elastic: cubic-bezier(.175, .885, .32, 1.275)}.nintendo-toolbar-container{position:absolute;top:20px;left:50%;transform:translate(-50%);z-index:100;display:flex;flex-direction:column;align-items:center;gap:12px}.nintendo-toolbar{background-color:var(--toolbar-bg);padding:12px 24px;border-radius:60px;display:flex;gap:20px;box-shadow:0 12px 30px #041c3366,0 6px #0000004d;animation:floatIn .7s var(--ease-elastic)}@keyframes floatIn{0%{transform:translateY(-120px);opacity:0}to{transform:translateY(0);opacity:1}}.tool-button{background:none;border:none;cursor:pointer;width:44px;height:44px;padding:8px;display:flex;align-items:center;justify-content:center;transition:transform .2s var(--ease-elastic);border-radius:12px;color:#fff;-webkit-user-select:none;user-select:none;outline:none}.tool-button img,.tool-button svg{width:100%;height:100%;filter:drop-shadow(0 0 0 var(--theme-color));transition:filter .2s ease}.tool-button:hover img,.tool-button:hover svg{filter:drop-shadow(0 0 8px var(--theme-color))}.tool-button:active{transform:translateY(2px) scale(.9);transition-duration:.05s}.node-picker-menu{position:absolute;top:90px;background:var(--toolbar-bg);border-radius:20px;padding:12px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;box-shadow:0 10px 25px #00000080;animation:popMenu .3s var(--ease-elastic)}@keyframes popMenu{0%{opacity:0;transform:scale(.8) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.picker-btn{background:#ffffff0d;border-radius:12px;padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;width:70px;height:70px;border:2px solid transparent}.picker-btn:hover{background:var(--hover-color, rgba(255, 255, 255, .1));border-color:var(--hover-color, rgba(255, 255, 255, .2));box-shadow:0 4px 15px var(--hover-color)}.picker-btn:hover .picker-label{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.8)}.picker-btn img{width:24px;height:24px;margin-bottom:4px}.picker-label{font-size:10px;color:#ccc;font-weight:600;text-transform:uppercase}.load-picker-menu{position:absolute;top:90px;background:var(--toolbar-bg);border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:6px;width:220px;box-shadow:0 10px 25px #00000080;animation:popMenu .3s var(--ease-elastic);max-height:400px;overflow-y:auto}.preset-row{background:#ffffff0d;border:2px solid transparent;border-radius:12px;display:flex;align-items:center;width:100%;box-sizing:border-box;transition:all .2s cubic-bezier(.25,.46,.45,.94);overflow:hidden;margin-bottom:2px}.preset-row:hover{background:var(--hover-color, rgba(255, 255, 255, .1));border-color:#fff6;box-shadow:0 4px 15px var(--hover-color);transform:translate(2px)}.preset-row:has(.delete-icon-btn:hover){--hover-color: #fe2c54 !important;border-color:#ff6783}.list-btn-content{flex:1;display:flex;align-items:center;gap:12px;padding:10px 16px;cursor:pointer;min-width:0}.list-btn-content .picker-label{font-size:13px;text-transform:none;white-space:nowrap;color:#e5e7eb;margin-top:0;overflow:hidden;text-overflow:ellipsis;width:100%}.preset-row:hover .picker-label{color:#fff}.list-btn-content img{width:20px;height:20px;flex-shrink:0;transition:filter .2s ease}.preset-row:hover .list-btn-content img{filter:brightness(0) invert(1)}.delete-icon-btn{background:transparent;border:none;width:40px;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 10px;opacity:.5;transition:all .2s ease;outline:none;box-shadow:none;-webkit-tap-highlight-color:transparent;flex-shrink:0}.delete-icon-btn img{width:16px;height:16px;filter:brightness(0) invert(1)}.delete-icon-btn:hover{background:transparent!important;opacity:1;transform:scale(1.1)}.delete-icon-btn:active,.delete-icon-btn:focus{background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important}.settings-menu{position:absolute;top:90px;background-color:#041c33;border:2px solid #1e293b;border-radius:20px;padding:10px;gap:4px;display:flex;flex-direction:column;width:160px;box-shadow:0 10px 25px #00000080;animation:popMenu .3s cubic-bezier(.175,.885,.32,1.275);z-index:200}.settings-row{display:flex;justify-content:space-between;align-items:center;padding:2px 0;border-bottom:1px solid rgba(255,255,255,.05)}.settings-row:last-child{border-bottom:none}.settings-label{color:#fff;font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px}.setting-icon-btn{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);cursor:pointer;width:40px;height:40px;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:10px;transition:background .2s ease}.setting-icon-btn:hover{background:#ffffff26;border-color:#ffffff4d}.setting-icon-btn img{width:100%;height:100%;filter:drop-shadow(0 0 0 var(--theme-color))}.save-menu{position:absolute;top:90px;background-color:#041c33;border:2px solid #1e293b;border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:10px;width:200px;box-shadow:0 10px 25px #00000080;animation:popMenu .3s cubic-bezier(.175,.885,.32,1.275);z-index:200}.save-label{color:#fff;font-size:13px;font-weight:600;opacity:.8;margin-left:4px}.save-input{width:100%;box-sizing:border-box;padding:8px 12px;border-radius:10px;border:1px solid #334155;background:#0b1220;color:#fff;font-size:14px;outline:none;transition:border .2s}.save-input:focus{border-color:#39be66}.save-confirm-btn{width:100%;padding:8px;background:#39be66;color:#fff;border:none;border-radius:10px;font-weight:700;font-size:13px;cursor:pointer;transition:background .2s,transform .1s}.save-confirm-btn:hover{background:#2ea054}.save-confirm-btn:active{transform:scale(.98)}.edit-menu{position:absolute;top:90px;background-color:#041c33;border:2px solid #1e293b;border-radius:20px;padding:8px;display:flex;flex-direction:column;gap:4px;width:240px;box-shadow:0 10px 25px #00000080;animation:popMenu .3s cubic-bezier(.175,.885,.32,1.275);z-index:200}.edit-row{--row-theme: #FF9A42;background:#ffffff0d;border:2px solid transparent;border-radius:12px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;cursor:pointer;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.edit-row.danger{--row-theme: #fe2c54}.edit-row:hover{background:var(--row-theme);border-color:#fff6;box-shadow:0 4px 15px var(--row-theme);transform:translate(2px)}.edit-row-left{display:flex;align-items:center;gap:12px}.edit-icon{width:18px;height:18px;opacity:.7;transition:opacity .2s,filter .2s;filter:brightness(0) invert(1)}.edit-row:hover .edit-icon{opacity:1;filter:brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.3))}.edit-label{font-size:13px;color:#e5e7eb;font-weight:600;transition:color .2s}.edit-row:hover .edit-label{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}.edit-row.danger .edit-label{color:#fe2c54}.edit-row.danger:hover .edit-label{color:#fff}.edit-shortcut{font-size:10px;color:#94a3b8;font-family:monospace;background:#0000004d;padding:3px 6px;border-radius:6px;border:1px solid rgba(255,255,255,.05);transition:all .2s}.edit-row:hover .edit-shortcut{color:#fff;background:#0003;border-color:#fff6}@font-face{font-family:Weissenhof Grotesk;src:url(/assets/WeissenhofGrotesk-Bold-BDE3Kvz-.otf) format("opentype");font-weight:700;font-style:normal}.player-container{width:100vw;height:100vh;background-color:#1a1a1a;color:#e5e7eb;overflow-y:auto;font-family:Weissenhof Grotesk,system-ui,sans-serif;padding:40px 20px}.player-content{max-width:600px;margin:0 auto;display:flex;flex-direction:column;gap:30px}.player-header h1{text-align:center;font-size:32px;color:#9c6fc6;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px;text-shadow:2px 2px 0px #000}.section-label{font-size:14px;color:#64748b;margin-bottom:15px;text-transform:uppercase;letter-spacing:1px;border-bottom:2px solid #334155;padding-bottom:4px}.pv-card{background:#0b1220;border-radius:14px;border:3px solid #ffffff;color:#e5e7eb;overflow:hidden;display:flex;flex-direction:column;min-width:180px}.pv-header{padding:8px 10px;font-size:16px;text-align:center;color:#fff}.pv-body{padding:15px;display:flex;flex-direction:column;flex:1;gap:10px}.pv-header-green{background:#39be66}.pv-header-blue{background:#2d9bf0}.pv-header-orange{background:#ff9a42;color:#0f172a}.pv-header-purple{background:#9c6fc6}.pv-header-red{background:#fe2c54}.pv-header-coral{background:#ff6464}.pv-header-yellow{background:#facc15;color:#0f172a}.pv-header-gray{background:#475569}.pv-input,.pv-pill{background:#0f172a;border:2px solid #1e293b;color:#fff;border-radius:999px;font-family:Weissenhof Grotesk,system-ui,sans-serif;box-sizing:border-box;text-align:center;font-size:14px}.pv-input{padding:4px 10px}.pv-pill{padding:4px 12px}.small-input{width:60px}.pv-button{font-family:Weissenhof Grotesk,system-ui,sans-serif;border-radius:999px;cursor:pointer;text-transform:uppercase;transition:filter .2s}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.results-stack{display:flex;flex-direction:column;gap:20px}.split-row{display:flex;justify-content:space-between;align-items:center}.label-text{font-size:14px;color:#cbd5e1}.action-stack{display:flex;flex-direction:column;gap:12px;width:100%}.result-display-large{width:100%;text-align:center;padding:15px;font-size:24px;font-weight:700;background:#0f172a;border:2px solid #1e293b;color:#4ade80;border-radius:12px;box-sizing:border-box;word-wrap:break-word}.action-btn-large{width:100%;padding:14px 0;font-size:20px;background:#ff9a42;border:none;color:#0f172a;font-weight:900;box-shadow:0 4px #c2410c;border-radius:8px;transition:all .1s}.action-btn-large:active{transform:translateY(4px);box-shadow:0 0 #c2410c}.outcome-display-large{text-align:center;font-size:36px;font-weight:800;color:#fe2c54;text-shadow:0 2px 4px rgba(0,0,0,.3);padding:10px}.note-card{border-color:#facc15}.note-text{font-size:14px;line-height:1.4;color:#e5e7eb}.modal-overlay{position:fixed;inset:0;background:#0009;z-index:1000;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.settings-modal{background:#0b1220;border:2px solid #334155;border-radius:20px;width:400px;max-width:90vw;padding:24px;color:#fff;box-shadow:0 20px 50px #00000080}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;border-bottom:1px solid #1e293b;padding-bottom:12px}.modal-header h2{margin:0;font-size:1.5rem;color:#fff}.close-btn{background:none;border:none;color:#94a3b8;font-size:24px;cursor:pointer}.settings-list{display:flex;flex-direction:column;gap:20px}.setting-item{display:flex;justify-content:space-between;align-items:center}.setting-info{display:flex;flex-direction:column}.setting-label{font-weight:700;font-size:1rem}.setting-desc{font-size:.8rem;color:#94a3b8}.toggle-btn{background:#1e293b;color:#fff;border:1px solid #334155;padding:6px 12px;border-radius:8px;cursor:pointer;min-width:80px}.toggle-switch{width:50px;height:28px;background:#334155;border-radius:99px;border:none;position:relative;cursor:pointer;transition:background .3s}.toggle-switch.on{background:#10b981}.toggle-switch .knob{width:22px;height:22px;background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;transition:transform .3s cubic-bezier(.18,.89,.32,1.28);box-shadow:0 2px 4px #0003}.toggle-switch.on .knob{transform:translate(22px)}.edge-drag-handle{position:absolute;width:30px;height:30px;background:transparent;cursor:col-resize;display:flex;align-items:center;justify-content:center;z-index:1001}.edge-handle-visual{width:12px;height:20px;border-radius:6px;opacity:.5;border:3.5px solid white;transition:opacity .2s,transform .2s;box-shadow:0 2px 5px #0000004d;box-sizing:border-box}.edge-drag-handle:hover .edge-handle-visual{opacity:1;transform:scale(1.15)}
