:root { font-family: system-ui, sans-serif; color: #213f58; background: #fff8ed; }
main { width: min(44rem, 100% - 2rem); margin: 2.5rem auto; }
header { display: flex; justify-content: space-between; align-items: center; }
a { color: #8a3b17; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3rem); }
article { background: white; border: 1px solid #eadcc9; border-radius: 1rem; padding: 1rem; margin-block: .8rem; }
h3 { margin-block: 0 .55rem; }
button, select { font: inherit; border: 1px solid #c5ae91; padding: .55rem .8rem; border-radius: .55rem; background: white; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
#start { background: #ffcb88; color: #492513; border-color: transparent; }
#code { display: inline-block; font: 700 1.25rem ui-monospace, monospace; letter-spacing: .08em; }
#status { color: #87472a; }
.preview { background: #fff1d4; padding: .65rem .8rem; border-radius: .55rem; }
#code-login label { display: block; margin-bottom: .45rem; }
#invite { box-sizing: border-box; width: min(100%, 24rem); padding: .55rem .8rem; border: 1px solid #c5ae91; border-radius: .55rem; font: inherit; }
#code-submit { margin-block: .55rem; background: #ffcb88; color: #492513; border-color: transparent; }
