:root {
  color-scheme: light;
  font: 100%/1.6 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f2f5fb;
  color: #16233a;
}

* { box-sizing: border-box; }
body { margin: 0; padding: clamp(1rem, 5vw, 3rem); }
main { max-width: 38rem; margin: auto; padding: clamp(1.2rem, 5vw, 2.15rem); border: 1px solid #dce4f0; border-radius: 1rem; background: white; }
h1 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.25; }
h2 { margin-top: 1.7rem; font-size: 1.2rem; }
p { color: #3a4a62; }
label { display: block; font-weight: 650; margin: .7rem 0 .28rem; }
input, textarea { margin: 0 0 .65rem; display: block; width: 100%; min-height: 2.75rem; padding: .48rem .65rem; border: 1px solid #a2afc6; border-radius: .5rem; font: inherit; }
button { min-height: 2.75rem; padding: .45rem .9rem; border: 1px solid transparent; border-radius: .5rem; background: #184bb9; color: white; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { color: #526079; background: #e6ecf5; cursor: default; }
a { color: #194bb4; }
:focus-visible { outline: 3px solid #7966ff; outline-offset: 2px; }
ul { padding: 0; list-style: none; }
li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: .65rem 0; gap: .5rem; border-bottom: 1px solid #dce4f0; }
li button { background: #f4f6fb; color: #8e2424; border-color: #ccd6e8; }
#invite-result { margin-top: 1rem; }
#status:empty { display: none; }
#status { margin-bottom: 0; font-weight: 600; overflow-wrap: anywhere; }
