:root{color-scheme:dark;font-family:"Trebuchet MS",system-ui,sans-serif;color:#fff1c8;background:#152b2b}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;padding:32px 18px;background:radial-gradient(ellipse at 48% 35%,#35524b 0%,transparent 60%),linear-gradient(164deg,transparent 0 67%,#29473b 67% 74%,#203c35 74% 84%,#182f2b 84%)}main{width:min(100%,365px)}header{text-align:center}.hat{display:inline-block;position:relative;width:40px;height:32px;background:linear-gradient(90deg,#263235,#101e21 60%);border-bottom:7px solid #f4a14c;transform:rotate(-12deg)}.hat:after{content:"";position:absolute;left:-10px;bottom:-11px;width:60px;height:6px;border-radius:3px;background:#101e21}h1{font:900 clamp(64px,13vw,100px)/.94 Georgia,serif;margin:12px 0 6px;letter-spacing:-.065em;text-shadow:0 5px #8f653f}header p{letter-spacing:.06em;margin:12px 0 28px;color:#f4cc87}section{background:#142b29f5;border:1px solid #587162;border-radius:18px;padding:24px;box-shadow:0 16px 35px #0c211c55}h2{font:600 23px Georgia,serif;margin:0 0 18px}label{display:block;font-size:14px;margin:13px 0 5px}input,button{font:inherit;width:100%;border-radius:7px}input{margin-top:5px;background:#112420;color:#fff;border:1px solid #61796b;padding:10px}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #ffc867;outline-offset:2px}#submit{background:#f3bf72;color:#282414;border:0;padding:12px;font-weight:bold}#mode{background:transparent;border:0;color:#edc38b;text-decoration:underline;margin-top:13px;padding:5px}#message{font-size:14px;color:#fed4a8}button:disabled{opacity:.6}
