.community-dialog{box-sizing:border-box;max-width:min(34rem,calc(100vw - 2rem));max-height:85dvh;overflow:auto;border:1px solid #d7d5ce;border-radius:18px;padding:24px;color:inherit;background:Canvas}
.community-dialog::backdrop{background:#0006}
.community-dialog h2{margin-top:0}
.community-dialog p{line-height:1.5}
.community-dialog button{margin:6px 8px 6px 0;white-space:normal}
.community-field{display:grid;gap:6px;margin:18px 0;text-align:left}
.community-field select,.community-field textarea{box-sizing:border-box;width:100%;font:inherit;color:inherit;background:Canvas;border:1px solid #999;border-radius:8px;padding:10px}
.community-player{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;text-align:left}
.community-player span{overflow-wrap:anywhere;min-width:0}
.community-player button{flex-shrink:0}
.community-status{overflow-wrap:anywhere}
#community-controls{text-align:left;margin:24px 0}
#community-controls>a{display:block;margin-top:18px}
#blocked-players{margin:32px 0}
@media(max-width:360px){.community-player{align-items:flex-start;flex-direction:column;gap:6px}}

.community-receipt{display:block;user-select:text;overflow-wrap:anywhere;margin-top:8px}
.community-departed{box-sizing:border-box;max-width:38rem;margin:6vh auto;padding:24px;text-align:left;overflow-wrap:anywhere}
.community-departed h1{font-size:clamp(1.7rem,5vw,2.3rem);line-height:1.2}
.community-departed p{line-height:1.6}
.community-departed a{display:block;margin-top:24px}
.community-departed button{white-space:normal;max-width:100%}
