.countdown{font-size:4rem}.modal{position:relative;max-width:80vw;max-height:80vh;margin:auto;padding:2rem}.modal[open] .container{width:100%;height:100%;max-width:100%;max-height:100%;margin:0;padding:0}dialog{border-width:3px;border-style:double}@media (prefers-color-scheme: dark){dialog{border-color:var(--colors-lightAlpha-600)}}@media (prefers-color-scheme: light){dialog{border-color:var(--colors-darkAlpha-600)}}dialog::backdrop{position:fixed;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;background-color:var(--colors-darkAlpha-600);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);animation:none}dialog.modal.fullscreen::backdrop{-webkit-backdrop-filter:unset;backdrop-filter:unset}.modal[open]{animation:showModal var(--duration-transition-medium) ease-out forwards}.modal.is-closing[open]{animation:hideModal var(--duration-transition-fast) ease-in forwards}@keyframes showModal{0%{opacity:0;transform:translateY(min(3rem,3vh))}to{opacity:1;transform:translateY(0)}}@keyframes hideModal{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(min(3rem,3vh))}}.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:rgba(255,255,255,.5);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:rgba(0,89,220,.08);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__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%}.weapons-map{display:inline-block;max-width:40vw;max-height:100vh}.weapons-circle .react-flow__handle{display:none}.react-flow *{pointer-events:none!important}.weapons-table{width:60vw;height:100vh;text-align:center;table-layout:fixed}.weapons-table th,.weapons-table th .control p,.weapons-table td{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.weapons-table thead th:first-child{width:14rem;background:linear-gradient(to top right,rgb(0 0 0 / 0) 49%,#aaa 49.5%,#aaa 50.5%,rgb(0 0 0 / 0) 51%)}.weapons-table thead th:first-child div:first-child{text-align:end;padding-inline-end:.5rem}.weapons-table thead th:first-child div:last-child{text-align:start;padding-inline-end:.5rem}.weapons-table th{border:1px solid currentColor}.weapons-table th .control{display:flex;justify-content:space-between;padding:1rem}.weapons-table th .control button{padding:.5rem}.weapons-table th .control p{padding-block:.5rem}.weapons-table td button{width:100%}.weapons-table .lose,.weapons-table .win{color:var(--colors-blackAlpha-900)}.weapons-table .lose{background-color:var(--colors-red-300)}.weapons-table .win{background-color:var(--colors-green-300)}.weapons-table .new-weapon form{padding:1rem;display:flex;flex-direction:column}.weapons-table .new-weapon label{text-align:start}.weapons-table .new-weapon form>*:not(:last-child){margin-block-end:1rem}.modal.editor[open]{margin:0;padding:0;width:100vw;height:100vh;max-width:100vw;max-height:100vh;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;overflow:hidden;display:flex;flex-direction:column}.modal .container{display:flex;flex-direction:row}.editor .exit{position:absolute;inset-block-start:0;inset-inline-end:0}header{grid-area:logo;display:flex}.logo{position:relative;flex-grow:1;display:inline-block;margin:0;padding-inline:1rem;line-height:var(--size-topbar);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logo:after{pointer-events:none;content:"";display:block;position:absolute;inset-block-start:.5rem;inset-inline-end:0;inset-block-end:.5rem;inset-inline-start:0;border-width:3px;border-style:solid;border-inline-end-width:0}@media (prefers-color-scheme: dark){.logo:after{border-color:var(--colors-lightAlpha-600)}}@media (prefers-color-scheme: light){.logo:after{border-color:var(--colors-darkAlpha-600)}}.show-editor{margin:0;padding:1rem;height:var(--size-topbar)}.leaderboard ul{list-style:none}.leaderboard h2{margin-block-start:2rem}.leaderboard h3{margin-block-start:1rem}.modal.name[open] form{display:flex;flex-direction:column}.modal.name[open] form>*:not(:last-child){margin-block-end:1rem}.modal.name[open] form input{padding:.5rem 1rem}.result table{table-layout:fixed;border-collapse:collapse;width:60%;margin:0 auto}.result table,.result td{border-inline-width:0;border-block-width:3px;border-style:double;border-color:var(--colors-accent-300)}.result td{border-style:solid;text-align:start;padding:1rem}.result td:last-child{text-align:end}.result .outcome{font-size:2rem}.result .outcome td{padding-block:2rem}.score article{display:flex;flex-direction:row;justify-content:space-between;padding-inline-end:1rem}.score article h3,.score article h4{display:inline-block;margin:0}.score .currentPlayer h2{margin-block-end:1rem}.weapons{display:flex;justify-content:space-between;width:100%}.weapon{width:100%;flex-grow:1}.weapon button{width:100%;max-width:100%;padding-block:2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (prefers-color-scheme: light){.weapon.active button,.weapon.active button:hover{box-shadow:0 .1rem 1rem var(--colors-darkAlpha-600);text-shadow:0 .1rem 1rem var(--colors-darkAlpha-600)}}@media (prefers-color-scheme: dark){.weapon.active button,.weapon.active button:hover{box-shadow:0 .1rem 1rem var(--colors-accentAlpha-600);text-shadow:0 .1rem 1rem var(--colors-accentAlpha-600)}}.layout{display:grid;grid-template-columns:1fr minmax(10rem,15rem);grid-template-rows:var(--size-topbar) 1fr;gap:2rem 2rem;grid-template-areas:"logo score" "main score";--width: 100vw;--height: 100vh;min-width:var(--width);max-width:var(--width);min-height:var(--height);max-height:var(--height);padding:1rem}main{grid-area:main;display:flex;flex-direction:column}aside{grid-area:score;overflow:auto}.content{display:flex;justify-content:center;align-items:center;flex-grow:1;height:100%;text-align:center}footer{display:flex;justify-content:center;align-items:center;height:var(--size-bottombar)}footer .player{width:100%;justify-content:flex-end}footer .player p{padding-block:.5rem}:root,::backdrop{--colors-gray-100: #edf2f7;--colors-gray-300: #cbd5e0;--colors-gray-400: #a0aec0;--colors-gray-600: #4a5568;--colors-blackAlpha-600: rgb(0 0 0 / .48);--colors-blackAlpha-900: rgb(0 0 0 / .92);--colors-darkAlpha-300: rgb(27 33 36 /.06);--colors-darkAlpha-300: rgb(27 33 36 /.16);--colors-darkAlpha-400: rgb(27 33 36 /.24);--colors-darkAlpha-600: rgb(27 33 36 /.48);--colors-darkAlpha-800: rgb(27 33 36 /.8);--colors-darkAlpha-900: rgb(27 33 36 /.92);--colors-lightAlpha-100: rgb(190 238 255 /.06);--colors-lightAlpha-300: rgb(190 238 255 /.16);--colors-lightAlpha-400: rgb(190 238 255 /.24);--colors-lightAlpha-600: rgb(190 238 255 /.48);--colors-lightAlpha-800: rgb(190 238 255 /.8);--colors-lightAlpha-900: rgb(190 238 255 /.92);--colors-accentAlpha-300: rgb(118 228 247 / .16);--colors-accentAlpha-600: rgb(118 228 247 / .48);--colors-accentAlpha-800: rgb(118 228 247 / .8);--colors-accentAlpha-900: rgb(118 228 247 / .92);--colors-red-300: #bf616a;--colors-green-300: #a3be8c;--colors-dark-300: rgb(5 16 33);--colors-accent-100: rgb(240 255 255);--colors-accent-300: rgb(190 238 255);--duration-transition-slow: .4s;--duration-transition-medium: .2s;--duration-transition-fast: .1s;--size-topbar: 4rem;--size-bottombar: 8rem;--size-pixel-gap: .5px;--size-pixel-width: 1px}*{font-family:Rubik,sans-serif;box-sizing:border-box;margin:0;padding:0}dialog,::backdrop,:root{font-family:Rubik,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;margin:0;padding:0;font-smooth:auto!important;-webkit-font-smoothing:auto!important;-moz-osx-font-smoothing:auto!important;scrollbar-width:thin;-webkit-user-select:none;user-select:none}body{position:relative;margin:0;overflow:hidden;font-size:16px}body:after{width:100vw;height:100vh;box-shadow:inset 0 0 6rem 1rem var(--colors-blackAlpha-600)}dialog:after{width:100%;height:100%}dialog:after,body:after{pointer-events:none;content:"";position:absolute;inset-block-start:0;inset-inline-start:0;background:repeating-linear-gradient(90deg,var(--color-grid-background) 0 var(--size-pixel-gap),transparent calc(2 * var(--size-pixel-gap)) calc(2 * var(--size-pixel-gap) + var(--size-pixel-width))),repeating-linear-gradient(180deg,var(--color-grid-background) 0 var(--size-pixel-gap),transparent calc(2 * var(--size-pixel-gap)) calc(2 * var(--size-pixel-gap) + var(--size-pixel-width)))}::-webkit-scrollbar{width:.75rem;height:.75rem}::-webkit-scrollbar{background:transparent}button{font-size:1rem;padding:.5rem 1rem;border-radius:0;background:transparent;color:var(--color-text);transition-duration:var(--duration-transition-slow);min-width:fit-content;border-width:3px;border-style:double}button.large{font-size:3rem}button:not(:disabled){cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}menu{display:flex;list-style:none;padding:0}menu li:not(:last-child){padding-inline-end:1rem}ul{list-style:none;margin:0;padding:0}@media (prefers-color-scheme: light){:root{--color-text: var(--colors-dark-300);--color-background: var(--colors-accent-100);--color-grid-background: var(--colors-accentAlpha-600);scrollbar-color:var(--colors-gray-100) var(--colors-gray-300)}:root,dialog{color:var(--color-text);background-color:var(--color-background)}:root ::-webkit-scrollbar-track{background:var(--colors-gray-100)}:root ::-webkit-scrollbar-thumb{background:var(--colors-gray-300)}::-webkit-scrollbar-thumb:hover{background:var(--colors-accent-300)}button{border-color:var(--colors-darkAlpha-600);box-shadow:0 0 .25rem var(--colors-darkAlpha-100)}button:not(:disabled):hover{border-color:var(--colors-darkAlpha-800);box-shadow:0 .1rem 1rem var(--colors-darkAlpha-300)}}@media (prefers-color-scheme: dark){:root{--color-text: var(--colors-accent-300);--color-background: var(--colors-dark-300);--color-grid-background: var(--colors-darkAlpha-300);scrollbar-color:var(--colors-gray-400) var(--colors-gray-600)}dialog,:root{color:var(--color-text);background-color:var(--color-background)}:root ::-webkit-scrollbar-track{background:var(--colors-gray-600)}:root ::-webkit-scrollbar-thumb{background:var(--colors-gray-400)}button{border-color:var(--colors-lightAlpha-600);box-shadow:0 0 .25rem var(--colors-lightAlpha-100)}button:not(:disabled):hover{border-color:var(--colors-lightAlpha-800);box-shadow:0 .1rem 1rem var(--colors-accentAlpha-300)}}
