/* El locutorio conserva el verde del salón con una superficie clara para conversar. */
dialog.private-room-dialog{width:min(1020px,calc(100vw - 40px));height:min(760px,calc(100dvh - 48px));max-height:none;padding:0;overflow:hidden;border:1px solid #bd9d6380;border-radius:22px;background:#122e27;box-shadow:0 28px 100px #0008}
.private-room-dialog[open]{display:flex;flex-direction:column}
.private-room-hero>.icon-button{flex:none;margin-left:auto;width:34px;height:34px;min-height:34px;padding:0;background:#ffffff08;color:#e6eedd}
.private-room-dialog>.game-menu-content{flex:1;min-height:0;display:flex;padding:0;margin:0;overflow:hidden}
.private-room{flex:1;width:100%;min-height:0;display:flex;flex-direction:column}
.private-room [hidden]{display:none!important}
.private-room svg{width:20px;height:20px;flex:none}
.private-room .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;font-size:.8rem;line-height:1.25;border-radius:10px;white-space:normal}
.private-room-hero{display:flex;align-items:center;gap:17px;padding:22px 26px;background:radial-gradient(ellipse at top right,#3b5f4540,transparent 65%)}
.private-room-mark{display:grid;place-items:center;flex:none;width:58px;height:58px;border-radius:18px;background:#dfc18a16;border:1px solid #dfc18a40;color:#e2c182}
.private-room-mark svg{width:31px;height:31px}
.private-room-intro{min-width:0}.private-room-eyebrow{display:block;font-size:.58rem;font-weight:700;letter-spacing:.16em;color:#c0a779}
.private-room-intro h3{margin:6px 0;font-size:clamp(1.3rem,2.2vw,1.85rem);font-weight:500;letter-spacing:-.025em;overflow-wrap:anywhere;color:#faf6ec}
.private-room-intro p{margin:0;font-size:.78rem;line-height:1.45;color:#b6c9bd}
.private-room-notice{flex:none;margin:0 22px 12px;padding:10px 14px;border-radius:9px;background:#ebd7a7;color:#3b382a;font-size:.78rem;line-height:1.4}
.private-room-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 285px;margin:0 18px;border-radius:15px;overflow:hidden;border:1px solid #ffffff12;background:#f9f8f3}
.private-conversation{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;background:#f9f8f3}
.private-room-log{height:auto;flex:1;min-height:0;overflow:auto;padding:24px 22px;background:none;border:0;scrollbar-width:thin;scrollbar-color:#a6b8ab transparent;overscroll-behavior:contain;font-size:var(--chat-font,16px)}
.private-room-log:empty{flex:0;padding:0}
.private-room-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px;text-align:center;color:#244c3b}
.private-empty-mark{display:grid;place-items:center;width:70px;height:70px;border:1px solid #2e64491a;border-radius:50%;background:#e9eee5;color:#60866a}
.private-empty-mark svg{width:32px;height:32px}.private-room-empty strong{font-size:1.2rem;font-weight:550;max-width:250px}.private-room-empty p{max-width:240px;margin:0;color:#728173;font-size:.85rem;line-height:1.65}
.private-room-log .chat-message{gap:10px;margin-bottom:19px;padding:0;background:none;border-radius:0}
.private-room-log .chat-message>.avatar{width:34px;height:34px;border:0;background:#dfe8dd;color:#355c45}
.private-room-log .message-content{flex:0 1 auto;max-width:calc(100% - 45px)}
.private-room-log .message-author strong{color:#526b58;font-size:.78rem}.private-room-log .message-text{padding:12px 15px;border:1px solid #e5e9df;border-radius:0 14px 14px;background:white;color:#263e30;line-height:1.55;white-space:pre-wrap}
.private-room-log .chat-message.mine{margin-left:30px;flex-direction:row-reverse}.private-room-log .mine .message-author{justify-content:flex-end}.private-room-log .mine .message-text{background:#e5edde;border-color:#d9e3cf;border-radius:14px 0 14px 14px}
.private-room-log .private-system{margin:12px auto 18px;padding:6px 14px;max-width:95%;width:fit-content;border-radius:20px;background:#edf0e8;font-size:.72rem;line-height:1.5;color:#6e796b;text-align:center}
.private-room-log audio{display:block;width:min(290px,100%);height:40px;margin-top:8px}
.private-conversation>.chat-follow-new{position:static;align-self:center;flex:none;transform:none;margin:0 8px 8px;border:0;border-radius:15px;background:#305c42;color:white;padding:7px 13px;font-size:.75rem}
.private-conversation>.shared-chat-compose{flex:none;margin:0;padding:14px;background:#f9f8f3;border-top:1px solid #e6e9e0}
.private-room .compose-input{display:flex;align-items:center;gap:6px;background:white;border:1px solid #d3ddce;border-radius:12px;padding:5px}
.private-room .compose-input input{flex:1;min-width:0;width:0;height:42px;padding:8px 10px;background:transparent;border:0;box-shadow:none;color:#263f30;font-size:var(--chat-font,16px)}
.private-room .compose-input input::placeholder{color:#8b988c}.private-room .compose-input:focus-within{outline:2px solid #6e9a72;outline-offset:2px}
.private-room .compose-input .send-button{position:static;display:grid;place-items:center;flex:none;width:40px;height:40px;background:#2c5840;color:#fff;border-radius:9px;padding:8px}
.private-room .compose-input .emoji-trigger{flex:none;width:34px;height:40px;min-height:40px;border:0;background:none}
.private-room-sidebar{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:20px 16px;background:#eef1e8;border-left:1px solid #dfe6d7;color:#2e4c37;overflow:auto;scrollbar-width:thin}
.private-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.private-section-heading h4{margin:0;font-size:.7rem;font-weight:700;letter-spacing:.075em;text-transform:uppercase;color:#61765f}
.private-members{display:flex;flex-direction:column;gap:8px;flex:none}
.private-member,.private-candidate{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 0;min-width:0}
.private-member>.avatar,.private-candidate>.avatar{width:37px;height:37px;flex:none;border:1px solid #d7dfd1;background:#dce5d6;color:#41623e}
.private-person-info{flex:1;min-width:0}.private-person-info strong{display:block;font-size:.83rem;font-weight:650;overflow-wrap:anywhere;color:#2e4b36}.private-person-info small{display:block;font-size:.66rem;line-height:1.5;color:#7a8974;margin-top:3px;overflow-wrap:anywhere}
.private-room .private-expel{padding:5px 6px;min-height:32px;border:0;background:transparent;color:#927362;font-size:.65rem}.private-room .private-expel:hover{background:#f2dfd6;color:#914b32}
.private-room-sidebar>.btn{background:#2d5940;color:#fff;border:0;width:100%}
.private-invites{border-top:1px solid #d5dfce;padding-top:15px;min-height:0}.private-invites>.private-section-heading{margin-bottom:10px}.private-invites .icon-button{color:#42633f;border:0;background:none;width:30px;height:30px;min-height:30px;padding:0;font-size:24px}
.private-source-tabs{display:flex;gap:3px;padding:3px;border:1px solid #dce4d4;border-radius:9px;background:#e4eadc;margin:10px 0}.private-room .private-source-tabs .btn{flex:1;font-size:.72rem;min-height:34px;padding:6px;background:none;border:0;color:#63775d;border-radius:6px}.private-room .private-source-tabs .btn[aria-pressed=true]{background:#fff;color:#2c5135;box-shadow:0 1px 4px #36552212}
.private-room .private-search{background:#fff;color:#2e4c37;border:1px solid #d2ddc9;border-radius:8px;padding:10px;font-size:.78rem;width:100%;height:40px}
.private-candidates{max-height:260px;overflow:auto;scrollbar-width:thin;margin:8px 0}.private-candidate{border-bottom:1px solid #dde5d5}.private-room .private-candidate>.btn{padding:6px 8px;font-size:.68rem;min-height:34px;color:#345b3e;background:#fff;border:1px solid #c8d7bf}.private-invites>.btn{width:100%;color:#48663e;border-color:#c6d4bd;background:transparent}
.private-list-empty{font-size:.75rem;line-height:1.7;margin:10px 0;color:#7b8875}
.private-confirm{flex:0 0 100%;padding:10px;background:#f7e8dd;border-radius:10px}.private-confirm p{margin:0 0 9px;color:#765239;font-size:.78rem}.private-confirm .btn{min-height:34px;font-size:.7rem;margin-right:5px;padding:7px 9px}
.private-room-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 22px;flex:none}.private-room-footer>span{color:#94ac9b;font-size:.67rem;line-height:1.5}.private-room-footer>.btn{background:transparent;border:1px solid #64816a70;color:#d1dece;min-height:36px;font-size:.72rem;padding:7px 10px}
.private-invitation-dialog{border-color:#a88c57;padding:30px;background:linear-gradient(135deg,#1a392d,#102820)}.private-invitation-dialog h2{color:#eed9a8}.private-invitation-dialog .dialog-actions{flex-wrap:wrap}.private-invitation-dialog .btn{min-height:44px}
@media(max-width:700px){
 dialog.private-room-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);margin:auto;border-radius:16px}
 .private-room-dialog>.game-menu-heading{padding:8px 14px}.private-room-hero{padding:15px;gap:12px}.private-room-mark{width:44px;height:44px;border-radius:13px}.private-room-mark svg{width:26px;height:26px}.private-room-intro h3{font-size:1.22rem}.private-room-intro p{font-size:.7rem}.private-room-eyebrow{font-size:.5rem}
 .private-room-layout{display:flex;flex-direction:column;margin:0 10px;position:relative}.private-conversation{flex:1;min-height:0;order:2}.private-room-sidebar{order:1;flex:none;max-height:132px;border-left:0;border-bottom:1px solid #dce4d4;padding:10px;gap:7px;display:grid;grid-template-columns:1fr auto;overflow:hidden}
 .private-room-sidebar>.private-section-heading{grid-column:1}.private-room-sidebar>.btn{grid-column:2;grid-row:1;min-height:32px;padding:6px 8px;font-size:.68rem}.private-room-sidebar>.btn svg{width:15px;height:15px}
 .private-members{grid-column:1/-1;flex-direction:row;overflow:auto;gap:16px}.private-member{flex:none;padding:2px 0;gap:6px;flex-wrap:nowrap}.private-member>.avatar{width:31px;height:31px}.private-member .private-person-info{max-width:130px}.private-member .private-person-info strong{font-size:.72rem}.private-member .private-person-info small{font-size:.6rem}.private-room .private-expel{font-size:.6rem}
 .private-confirm{position:absolute;left:10px;right:10px;top:10px;z-index:4;box-shadow:0 5px 15px #0002}.private-member:has(.private-confirm){position:static}
 .private-room.inviting .private-room-sidebar{position:absolute;inset:0;z-index:5;max-height:none;display:flex;overflow:auto;background:#eef1e8}.private-room.inviting .private-members,.private-room.inviting .private-room-sidebar>.private-section-heading,.private-room.inviting .private-room-sidebar>.btn{display:none}.private-room.inviting .private-invites{border:0;padding:8px;display:flex;flex-direction:column;flex:1;min-height:0}.private-room.inviting .private-candidates{max-height:none;flex:1;min-height:0}
 .private-room-log{padding:16px 12px}.private-room-log .message-text{padding:10px 12px}.private-conversation>.shared-chat-compose{padding:9px}.private-room .compose-input input{font-size:16px}.private-room .compose-input .send-button{width:37px;height:37px}.private-room .compose-input .emoji-trigger{width:30px}
 .private-room-footer{padding:9px 12px;gap:8px}.private-room-footer>span{font-size:.58rem;max-width:175px}.private-room-footer>.btn{flex:none;font-size:.65rem}.private-room-notice{margin:0 12px 8px;padding:8px 10px;font-size:.72rem}
}
@media(max-height:500px){.private-room-hero{padding:10px 18px}.private-room-mark{width:36px;height:36px}.private-room-eyebrow,.private-room-intro p,.private-room-footer>span{display:none}.private-room-intro h3{font-size:1.15rem}.private-room-footer{padding:6px 15px}.private-room-dialog>.game-menu-heading{padding:6px 15px}.private-room-sidebar{padding:10px}.private-room-log{padding:12px}.private-conversation>.shared-chat-compose{padding:7px}}
