.world-rooms-backdrop{position:fixed;inset:0;z-index:90;background:#0008;display:flex}
.world-rooms-panel{width:100%;height:100%;height:100dvh;overflow:hidden;display:flex;flex-direction:column;gap:12px;background:#111916;color:#edf5ef;border:1px solid #527363;padding:24px;box-sizing:border-box;box-shadow:-8px 0 32px #0008}
.world-rooms-panel header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;flex-shrink:0}
.world-rooms-panel h2{margin:8px 0 0;font-size:1.4rem;overflow-wrap:anywhere}
.world-rooms-panel h3{margin:0;font-size:1rem}.world-rooms-panel h3 span{color:#bcd2c3}
.world-rooms-panel p,.world-rooms-panel small{color:#bcd2c3}.world-rooms-intro{margin:0;flex-shrink:0}
.world-rooms-workspace{display:grid;grid-template-columns:minmax(240px,32%) minmax(0,1fr);gap:24px;flex:1;min-height:0;min-width:0}
.world-rooms-sidebar{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}
.world-rooms-list{display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1;min-height:0;scrollbar-gutter:stable;padding-right:4px}
.world-rooms-list button{display:grid;text-align:left;gap:4px;white-space:normal;overflow-wrap:anywhere;flex-shrink:0}
.world-rooms-list button[aria-pressed=true]{border:2px solid #3cc394;background:#183d30}
.world-rooms-editor{overflow:auto;min-width:0;min-height:0;padding-right:8px;scrollbar-gutter:stable}
.world-rooms-panel form{display:grid;gap:14px;margin:0 0 12px}
.world-rooms-panel label{display:grid;gap:6px}
.world-rooms-panel input,.world-rooms-panel textarea,.world-rooms-panel select{width:100%;box-sizing:border-box;min-width:0}
.world-rooms-panel textarea{min-height:100px;height:120px;resize:vertical}
.world-rooms-panel footer{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;flex-shrink:0;border-top:1px solid #527363;padding-top:12px}
.world-rooms-actions,.world-room-link-actions{display:flex;gap:10px;flex-wrap:wrap}
.world-rooms-panel [data-rooms-status]{margin:0;overflow-wrap:anywhere;flex:1;min-width:180px}
.world-room-discord{display:grid;gap:12px;border:1px solid #527363;border-radius:8px;padding:16px;min-width:0}
.world-room-discord p{margin:0;overflow-wrap:anywhere}.world-room-discord legend{padding:0 8px}
.world-rooms-panel [data-room-channel-results]{display:grid;gap:6px;max-height:240px;overflow:auto;overflow-wrap:anywhere}
.world-rooms-panel [data-channel-select]{display:grid;gap:4px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.world-room-list-back{display:none}
.world-room-editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;position:sticky;top:0;z-index:1;background:#111916;padding-bottom:10px;margin-bottom:4px}
.world-room-editor-actions .world-room-list-back{margin:0}.world-room-delete{margin-left:auto;background:#63272b;border-color:#be5962;min-height:40px}.world-room-delete:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:700px){.world-room-list-back{display:block;margin-bottom:12px}.world-rooms-workspace[data-room-view="editor"] .world-rooms-sidebar{display:none}.world-rooms-workspace[data-room-view="list"] .world-rooms-editor{display:none}.world-rooms-panel{padding:12px;gap:10px}.world-rooms-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:16px}.world-rooms-panel h2{font-size:1.15rem}.world-rooms-intro{font-size:.85rem}.world-rooms-panel footer{gap:8px;padding-top:8px}.world-rooms-panel [data-rooms-status]{flex-basis:100%;font-size:.85rem}.world-rooms-sidebar{gap:8px}.world-room-discord{padding:10px}}
