.maptools,.roomtools,.policy-links,.dialog-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.maptools{margin:.5rem 0}.mapscroll{overflow:auto;max-height:520px;border:1px solid #ebdfd2;border-radius:12px;background:#fffaf3}
#metroMap{display:block;cursor:crosshair}#roomTools[hidden],#roomPassword[hidden]{display:none}
.side .field{margin-bottom:.7rem}.side input{width:100%;box-sizing:border-box}.rooms .room{display:block;width:100%;text-align:left;border:0;cursor:pointer;margin-bottom:.4rem}
.msg{position:relative;overflow-wrap:anywhere}.msg .report{position:absolute;right:.25rem;top:.25rem;opacity:0}
.msg:hover .report,.msg:focus-within .report{opacity:1}
@media(hover:none){.msg .report{opacity:1}}
.msg img,.ad img{display:block;max-width:min(100%,320px);max-height:320px;object-fit:contain}.msg .sender{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer}
.msg.private{background:#f5edf0;color:#725b6b}.status-lights{display:flex;align-items:center;gap:.35rem;margin-bottom:.4rem}
.status-light{display:inline-block;width:.65rem;height:.65rem;border-radius:50%;background:#ddd5cd}.status-light.red{background:#c95655}.status-light.yellow{background:#d69f25}.status-light.green{background:#3b8f65}
dialog{border:1px solid #e4cebb;border-radius:16px;background:#fff8ee;color:#42352e;width:min(90vw,510px);box-sizing:border-box}
dialog::backdrop{background:#35231875}dialog label{display:block;margin:.75rem 0}dialog label :is(input:not([type=checkbox]),select,textarea){display:block;width:100%;box-sizing:border-box;margin-top:.25rem;padding:.55rem}
dialog textarea{min-height:5rem}dialog form{margin:0}#chatStatus{padding:0 12px;color:#815a48}#chatStatus:empty{display:none}
.policy-links{margin:1rem 0;justify-content:center}.map-focused{outline:2px solid #b86e48}
[hidden]{display:none!important}
#modalText{max-height:65vh;overflow:auto}
.room small{display:block;overflow-wrap:anywhere}
#chatView .chathead{flex-wrap:wrap;gap:.45rem}
#chatView .chathead input{max-width:12rem}
#archiveNotice{margin:0;padding:.4rem .75rem;color:#815a48;background:#fcf0df}
