.hanoi-board,.hanoi-peg{-webkit-tap-highlight-color:transparent}.hanoi-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;direction:ltr}html[dir=rtl] .hanoi .mem-cover,.rtl .hanoi .mem-cover{direction:rtl}.hanoi-board[hidden],.hanoi-table-wrap[hidden]{display:none}.test-contain .hanoi .hanoi-peg{position:relative;min-width:0;height:220px;margin:0;padding:0;border:0;border-radius:.325em;background:#e6eef5;box-shadow:inset 0 0 0 1px #00000014;color:#1d2230;font:inherit;cursor:default;touch-action:manipulation;opacity:1}.test-contain .hanoi .hanoi-goal{box-shadow:inset 0 0 0 2px #9fcbe8}.hanoi[data-state=input] .hanoi-peg{cursor:pointer}.test-contain .hanoi .hanoi-peg[aria-pressed=true]{background:#cfe2f0;box-shadow:inset 0 0 0 3px #2489c5}.hanoi-peg:focus-visible{outline:3px solid #58b6ed;outline-offset:2px}@media(hover:hover){.hanoi[data-state=input] .hanoi-peg:hover{background:#d9e7f2}}.hanoi-post{position:absolute;inset:18px 10% 42px;display:grid;grid-template:1fr 6px / 1fr;justify-items:center;pointer-events:none}.hanoi-post:before,.hanoi-post:after{content:"";display:block;border-radius:3px;background:#9aaebf}.hanoi-post:before{width:6px}.hanoi-post:after{width:100%}.hanoi-stack{position:absolute;inset:auto 6% 48px;display:flex;flex-direction:column-reverse;align-items:center;gap:3px;pointer-events:none}.hanoi-disk{display:block;height:20px;border-radius:.325em;box-shadow:inset 0 -2px #00000024}.hanoi-disk[data-size="1"]{width:38%;background:#9fcbe8}.hanoi-disk[data-size="2"]{width:52%;background:#6fb3e0}.hanoi-disk[data-size="3"]{width:66%;background:#2489c5}.hanoi-disk[data-size="4"]{width:80%;background:#1a6c9e}.hanoi-disk[data-size="5"]{width:94%;background:#084d77}.hanoi-peg-label{position:absolute;inset:auto 4px 12px;font-family:Open Sans,Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.2;color:#555}.hanoi[data-state=between] .mem-cover{display:flex}.test-contain .hanoi .hanoi-restart{display:none;margin:10px auto 0;padding:4px 8px;border:0;background:none;box-shadow:none;font:14px Open Sans,Helvetica,Arial,sans-serif;color:#777;text-decoration:underline;cursor:pointer}.test-contain .hanoi[data-state=input] .hanoi-restart{display:block}.hanoi-table-wrap{overflow-x:auto;margin:0 0 4px}.hanoi-table{width:100%;margin:0;border-collapse:collapse;font-family:Open Sans,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums}.hanoi-table th,.hanoi-table td{padding:8px 10px;text-align:right;border:0;border-bottom:1px solid #e0e6ec;font-size:16px}.hanoi-table th:first-child,html[dir=rtl] .hanoi-table th,html[dir=rtl] .hanoi-table td{text-align:left}html[dir=rtl] .hanoi-table th:first-child{text-align:right}.hanoi-table thead th{background:#2489c5;color:#fff;font-weight:700;border-bottom:0}.hanoi-table thead th:first-child{border-radius:.325em 0 0}.hanoi-table thead th:last-child{border-radius:0 .325em 0 0}.hanoi-table tfoot th,.hanoi-table tfoot td{background:#f7f7f7;font-weight:700;border-bottom:0}.hanoi-table-wrap:focus-visible{outline:3px solid #58b6ed;outline-offset:2px}.mem--phone .hanoi-board{gap:6px}.test-contain .mem--phone .hanoi-peg{height:210px}.mem--phone .hanoi-disk{height:16px}.mem--phone .hanoi-stack{bottom:42px}.mem--phone .hanoi-post{bottom:36px}.mem--phone .hanoi-peg-label{font-size:12px}@media(max-width:480px){.hanoi-table th,.hanoi-table td{padding:6px 5px;font-size:14px}}html.supports-dark-mode.theme-dark .test-contain .hanoi .hanoi-peg{background:#34404a;box-shadow:inset 0 0 0 1px #4a5560;color:#ddd}html.supports-dark-mode.theme-dark .test-contain .hanoi .hanoi-goal{box-shadow:inset 0 0 0 2px #2489c5}html.supports-dark-mode.theme-dark .test-contain .hanoi .hanoi-peg[aria-pressed=true]{background:#41505c;box-shadow:inset 0 0 0 3px #58b6ed}html.supports-dark-mode.theme-dark .hanoi[data-state=input] .hanoi-peg:hover{background:#41505c}html.supports-dark-mode.theme-dark .hanoi-post:before,html.supports-dark-mode.theme-dark .hanoi-post:after{background:#6b7d8c}html.supports-dark-mode.theme-dark .hanoi-peg-label{color:#bbb}html.supports-dark-mode.theme-dark .hanoi-disk[data-size="1"]{background:#cde6f6}html.supports-dark-mode.theme-dark .hanoi-disk[data-size="2"]{background:#9fcbe8}html.supports-dark-mode.theme-dark .hanoi-disk[data-size="3"]{background:#58b6ed}html.supports-dark-mode.theme-dark .hanoi-disk[data-size="4"]{background:#2489c5}html.supports-dark-mode.theme-dark .hanoi-disk[data-size="5"]{background:#1a6c9e}html.supports-dark-mode.theme-dark .hanoi-table th,html.supports-dark-mode.theme-dark .hanoi-table td{border-bottom-color:#4a5560}html.supports-dark-mode.theme-dark .hanoi-table tfoot th,html.supports-dark-mode.theme-dark .hanoi-table tfoot td{background:#333;color:#ddd}html.supports-dark-mode.theme-dark .test-contain .hanoi .hanoi-restart{color:#aaa}
