:root{font:16px/1.5 Inter,"Segoe UI",sans-serif;color:#27283d;background:#f4f5fa;color-scheme:light}
*{box-sizing:border-box}body{margin:0}header{background:#22243c;color:white;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(4vw,calc((100% - 52rem)/2));flex-wrap:wrap}nav{display:flex;gap:1rem}header a{color:white}main{max-width:54rem;margin:auto;padding:1.5rem 1rem 4rem}h1{font-size:clamp(1.75rem,4vw,2.4rem);line-height:1.15}h2{font-size:1.2rem;margin-top:0}section{background:white;border:1px solid #daddE9;border-radius:.8rem;padding:1rem 1.25rem;margin:1rem 0}article+article,.battle-log li{border-top:1px solid #e4e6ef;padding-top:.8rem}article{padding-bottom:.8rem}p,small{overflow-wrap:anywhere}p{white-space:pre-line;margin:.4rem 0}small{display:block;color:#596076;margin:.25rem 0}a{color:#49449c;text-underline-offset:.18rem}button,.action{display:inline-block;background:#5047ae;color:white;font:inherit;font-weight:600;border:0;border-radius:.5rem;text-decoration:none;cursor:pointer;padding:.65rem 1rem}form{margin-top:.8rem}textarea{display:block;font:inherit;width:100%;min-height:5rem;margin:.35rem 0 .8rem;border:1px solid #abb0c8;border-radius:.4rem}ol{padding:0;list-style:none}li{margin:.7rem 0}section article:last-child{padding-bottom:0}
:where(input[name=code]){display:block;font:1.5rem monospace;letter-spacing:.2em;width:8em;margin:.5rem 0 1rem;padding:.45rem;border:1px solid #777b92;border-radius:.4rem}
