body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{color:#000;background-color:#fff;font-family:monospace}section{clear:both;border-top:1px solid #000;padding:1em}h2{margin-top:0}table{border-collapse:collapse}td{border:1px solid #000;padding:.2em .5em}ul{list-style-type:none}button{border-width:1px}.instruction{background-color:#eee;padding:.5em}.button{padding:.2em}.red{color:#fff;background-color:red}.yellow{color:#000;background-color:#ff0}.blue{color:#fff;background-color:#00f}.green{color:#fff;background-color:green}.white{color:#000;background-color:#fff;border-color:#000}.black{color:#fff;background-color:#000}.litIndicator{color:#fff;text-shadow:0 0 3px #ff0,0 0 3px #ff0;background:#000;border:1px outset red;padding:0 3px 3px}.litIndicator:before{content:"• "}.button.white{border:1px solid #000}.marked{position:relative}.marked:after{color:green;font-size:18pt;position:absolute}.marked:after,.marked.odd.even:after{content:"⟽"}.marked.odd:after{content:"⟽ нечетная"}.marked.even:after{content:"⟽ четная"}section .active{opacity:1}.inactive{opacity:.3}h2{cursor:pointer}.collapsed{padding:0}.collapsed *{display:none}.collapsed h2{margin:0;font-size:small;display:block}nav{background-color:#fff;border-top:1px solid #000;border-left:1px solid #000;position:fixed;bottom:0;right:0}#navList{margin:0;padding:.1em .5em;line-height:150%;list-style-type:none}#sectionButton{line-height:150%}#sectionButton div{margin-bottom:1em}#sectionButton .buttonWhite{border-style:solid;border-width:1px}#sectionButton label{margin-left:1em}.bigButton{text-align:center;border:2px solid #000;border-radius:50%;width:69px;height:69px;position:relative}.bigButton span{font-family:Arial,"sans-serif";font-size:16px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#sectionComplicatedWires td{text-align:center;width:2em;height:2em;padding:0}.jsResetSection{display:block}#sectionKeypads ul{margin-right:2em;padding-left:0;list-style-type:none;display:inline-block}#sectionKeypads li{border:1px solid #000;border-bottom:0;line-height:0}#sectionKeypads li button{cursor:pointer;background:0 0;border:none;padding:0;display:block}#sectionKeypads li:last-child{border-bottom:1px solid #000}#sectionKeypads .selected{background-color:#ff6}#sectionKeypads .matching .selected{background-color:#90ee90}.maze-grid{grid-template-rows:repeat(6,48px);grid-template-columns:repeat(6,48px);gap:0;margin-top:12px;display:grid}.maze-cell{box-sizing:border-box;cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #ddd;justify-content:center;align-items:center;width:48px;height:48px;font-size:28px;transition:background-color .15s;display:flex}.stage-0 .maze-cell:hover{background:#e8f4ff}.stage-1 .maze-cell:hover{background:#e8ffe8}.stage-2 .maze-cell:hover{background:#ffeaea}.stage-3 .maze-cell{cursor:default}.maze-hint{margin-top:10px;margin-bottom:10px;font-weight:700}.maze-result{margin-top:18px;font-size:30px}.maze-result span{text-align:center;width:32px;display:inline-block}.wall-top{border-top:4px solid #000!important}.wall-right{border-right:4px solid #000!important}.wall-bottom{border-bottom:4px solid #000!important}.wall-left{border-left:4px solid #000!important}#sectionMemory table{margin-top:1em}#sectionMemory td{text-align:right}#sectionMemory input{text-align:center;width:5em}#sectionMorseCode table{float:left;margin-bottom:1em;margin-right:1em}#simonInputs{float:left;margin-right:5em}.collapsed #simonBoard{display:none}#simonBoard{padding-bottom:40px;display:inline-block;position:relative;transform:rotate(45deg)}#simonBoard>div>div{border:2px solid #000;width:64px;height:64px;display:inline-block}#simonBoard>.simonRow:first-child>div{border-top-width:4px}#simonBoard>.simonRow:first-child+div>div{border-bottom-width:4px}#simonBoard>.simonRow>div:first-child{border-left-width:4px}#simonBoard>.simonRow>div:last-child{border-right-width:4px}.simonRed{background:radial-gradient(#fb9a9a,#fc7373,red)}.simonYellow{background:radial-gradient(#fbfb9a,#fcfc73,#ff0)}.simonBlue{background:radial-gradient(#9a9afb,#7373fc,#00f)}.simonGreen{background:radial-gradient(#98c998,#72b772,green)}.arrow{background-color:#000;width:50px;height:10px;position:absolute}.arrow:after{content:"";border-top:10px solid #0000;border-bottom:10px solid #0000;border-left:20px solid #000;width:0;height:0;margin-left:50px;position:absolute;top:-5px}#arrowRB{top:70px;left:10px;transform:rotate(-90deg)}#arrowBR{top:60px;left:10px;transform:rotate(90deg)}#arrowBY{top:30px;left:45px}#arrowYB{top:30px;left:45px;transform:rotate(180deg)}#arrowYG{top:60px;left:80px;transform:rotate(90deg)}#arrowGY{top:70px;left:80px;transform:rotate(-90deg)}#arrowGR{top:100px;left:45px;transform:rotate(180deg)}#arrowRG{top:100px;left:45px}#arrowRY{top:66px;left:44px;transform:rotate(-45deg)}#arrowYR{top:66px;left:44px;transform:rotate(135deg)}#arrowBG{top:64px;left:44px;transform:rotate(45deg)}#arrowGB{top:64px;left:44px;transform:rotate(-135deg)}#sectionWhosOnFirst dl,#sectionWhosOnFirst table{margin-bottom:1em;display:inline-block}.collapsed dl,.collapsed table{display:none}#sectionWhosOnFirst dl{margin-right:4em}#sectionWhosOnFirst dt{clear:left;color:#fff;text-align:center;background-color:#000;width:6em;margin-right:1em}#sectionWhosOnFirst dd{margin-bottom:.4em;margin-left:0}#sectionWhosOnFirst dt,#sectionWhosOnFirst dd{float:left}#sectionWhosOnFirst dt.inactive+dd{opacity:0}#sectionWhosOnFirst table{margin-left:.5em}#sectionWhosOnFirst th{border:1px solid #000}#sectionWires button{cursor:pointer;border-color:#000;width:2em;height:2em}.wireOptions__item{margin-right:.5em;display:inline-block}#wireList{list-style-type:decimal}#sectionWireSequences button{cursor:pointer;width:2em}#sequenceOptions{width:9.5em;padding-left:0}#sequenceOptions li{margin-right:.5em;display:inline-block}#sequenceInstruction{list-style-type:decimal}#sequenceInstruction button{margin-right:.2em}
