.temporary-dialog.temporary-share-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border-radius:12px;background:#151c28}
.temporary-share-dialog form>*{min-width:0}
.temporary-share-dialog h2{font-size:20px}
.temporary-share-dialog .temporary-share-room{margin:0;color:#b9c9e1;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.temporary-share-dialog .temporary-share-room strong{color:#eff5ff}
.temporary-share-dialog #temporary-share-url{box-sizing:border-box;min-width:0;width:100%;font-size:13px;border-radius:6px}
.temporary-share-dialog #temporary-share-url:focus{outline:2px solid #6daaff;outline-offset:2px}
.temporary-share-dialog .temporary-share-status{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.temporary-share-dialog .temporary-share-status[data-state="success"]{color:#86e4ad}
.temporary-share-dialog .temporary-share-status[data-state="error"]{color:#ffd28a}
.temporary-share-dialog footer{flex-wrap:wrap}
.temporary-share-dialog footer button{border-radius:6px;font-size:13px}
.temporary-share-dialog footer .primary-button{width:auto;background:#2071dc}
.temporary-share-dialog footer .primary-button:hover{background:#287be8}
.temporary-share-dialog footer .primary-button:disabled{opacity:.65;cursor:wait}
.temporary-share-dialog footer svg{width:17px;height:17px}
.temporary-rooms-view{display:none;gap:16px}
.temporary-rooms-view.active{display:grid}
.quick-temporary-room-link{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border-radius:12px;background:linear-gradient(135deg,#173d79,#642d78);color:#fff;text-decoration:none;font-weight:800;font-size:13px;box-shadow:inset 0 1px #fff2}
.temporary-room-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px;background:radial-gradient(circle at top right,#7b4adf55,transparent 42%),linear-gradient(135deg,#101b36,#172447)}
.temporary-kicker{display:flex;align-items:center;gap:7px;color:#bba7ff;font-size:12px;font-weight:900;letter-spacing:.09em}
.temporary-room-hero h1{margin:8px 0;font-size:clamp(25px,4vw,38px);line-height:1.08}
.temporary-room-hero p{margin:0;max-width:660px;color:#ced8f1;line-height:1.55}
.temporary-hero-actions{display:flex;flex-wrap:wrap;gap:9px}
.temporary-hero-actions button,.temporary-room-actions button,.temporary-back,.temporary-composer-tools button,.temporary-file-button,.temporary-composer footer button,.temporary-owner-alert button,.temporary-dialog footer button{border:0;border-radius:10px;min-height:40px;padding:0 13px;background:#263553;color:#eff5ff;font:inherit;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.temporary-hero-actions .primary-button,.temporary-composer .primary-button,.temporary-dialog .primary-button{background:linear-gradient(135deg,#7c4dff,#c25ef6);color:#fff}
.temporary-room-onboarding{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,.65fr) auto;align-items:center;gap:14px;padding:16px 18px;border-color:#7562aa}
.temporary-room-onboarding>i{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#6c4cc555;color:#d8c9ff}
.temporary-room-onboarding strong{display:block;margin-bottom:3px}
.temporary-room-onboarding p{margin:0;color:var(--muted,#aeb9c9);font-size:13px;line-height:1.5}
.temporary-room-onboarding label{display:grid;gap:5px;color:#cdd8ed;font-size:12px;font-weight:800}
.temporary-room-onboarding input,.temporary-dialog input,.temporary-dialog select,.temporary-delete-select select{width:100%;min-height:40px;border:1px solid #53617b;border-radius:10px;background:#101827;color:#eef4ff;padding:0 11px;font:inherit}
.temporary-room-onboarding button{border:0;border-radius:10px;min-height:40px;padding:0 13px;background:#314466;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.temporary-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.temporary-section-heading span,.temporary-dialog header span{display:block;color:#a996e7;font-size:11px;font-weight:900;letter-spacing:.09em}
.temporary-section-heading h2,.temporary-dialog h2{margin:4px 0;font-size:21px}
.temporary-section-heading p{margin:0;color:var(--muted,#aeb9c9);font-size:13px}
.temporary-room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:12px}
.temporary-room-card{position:relative;display:grid;gap:10px;padding:15px;border:1px solid #3b4960;border-radius:15px;background:linear-gradient(145deg,#152034,#111928);transition:transform .18s,border-color .18s}
.temporary-room-card:hover{transform:translateY(-2px);border-color:#8a68e8}
.temporary-room-card header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.temporary-room-card h3{margin:0;font-size:16px;overflow-wrap:anywhere}
.temporary-room-card p{margin:0;color:#aebbd0;font-size:12px;line-height:1.45}
.temporary-room-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b7c3d8;font-size:12px}
.temporary-room-card button{border:0;border-radius:9px;background:#7150c6;color:#fff;font:inherit;font-weight:800;padding:8px 10px;cursor:pointer}
.temporary-room-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:#2b3a55;color:#dce9ff;font-size:11px;font-weight:800;white-space:nowrap}
.temporary-room-chip.private{background:#51365f;color:#ffe2ff}
.temporary-empty{grid-column:1/-1;min-height:150px;display:grid;place-items:center;text-align:center;color:#aebbd0}
.temporary-empty i{display:block;margin-bottom:8px}
.temporary-room-stage{padding:0;overflow:hidden}
.temporary-room-head{display:flex;align-items:center;gap:14px;padding:15px;border-bottom:1px solid #354157;background:linear-gradient(110deg,#17223a,#141c2c)}
.temporary-back{background:transparent;border:1px solid #53617b}
.temporary-room-title{min-width:0;flex:1}
.temporary-room-title h2{margin:3px 0;font-size:18px;overflow-wrap:anywhere}
.temporary-room-title p{margin:0;color:#b8c5d9;font-size:12px}
.temporary-room-title>span{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#bcd9ff;font-weight:800}
.temporary-room-actions{display:flex;gap:7px}
.temporary-owner-alert{margin:12px;padding:12px 13px;border:1px solid #e6b85b;border-radius:12px;background:#5e461c55;color:#ffe8b3;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.temporary-owner-alert strong{display:block}
.temporary-owner-alert small{display:block;color:#f5db9e;margin-top:2px}
.temporary-owner-alert button{background:#8f6220;color:#fff;margin-left:auto}
.temporary-messages{min-height:360px;max-height:65vh;overflow:auto;padding:17px;background:#0e1420;display:grid;align-content:start;gap:12px}
.temporary-message{display:flex;gap:9px;max-width:86%}
.temporary-message.mine{margin-left:auto;flex-direction:row-reverse}
.temporary-message-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:linear-gradient(135deg,#5f7fbc,#9760bd);color:#fff;font-weight:900}
.temporary-message-body{min-width:0}
.temporary-message-head{display:flex;align-items:center;gap:7px;margin:0 1px 4px;color:#b5c0d4;font-size:11px}
.temporary-message.mine .temporary-message-head{justify-content:flex-end}
.temporary-message-head strong{font-size:12px;color:#f1f6ff}
.temporary-message-bubble{padding:9px 11px;border-radius:4px 13px 13px 13px;background:#1d2b42;color:#ecf3ff;line-height:1.48;overflow-wrap:anywhere}
.temporary-message.mine .temporary-message-bubble{border-radius:13px 4px 13px 13px;background:linear-gradient(135deg,#6547bc,#814da1)}
.temporary-message-bubble.code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.temporary-message-bubble img,.temporary-message-bubble video{display:block;max-width:min(100%,360px);border-radius:8px;margin-top:7px}
.temporary-message-bubble audio{display:block;max-width:100%;margin-top:7px}
.temporary-message-file{display:inline-flex;align-items:center;gap:6px;margin-top:7px;color:#fff;text-decoration:none;font-size:12px}
.temporary-message-delete{align-self:center;border:0;background:transparent;color:#9eabc0;cursor:pointer;padding:4px}
.temporary-file-button{cursor:pointer}
.temporary-file-button input{display:none}
.temporary-delete-select{display:inline-flex;align-items:center;gap:5px;margin-left:auto;color:#bdcae1}
.temporary-delete-select select{min-height:34px;width:auto;max-width:180px;font-size:12px}
.temporary-emoji-row{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px}
.temporary-emoji-row button{border:0;border-radius:8px;background:#26354d;font-size:19px;cursor:pointer;padding:4px 6px}
.temporary-attachment-list{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 8px}
.temporary-attachment{display:flex;align-items:center;gap:6px;max-width:240px;padding:6px 8px;border:1px solid #58709c;border-radius:9px;color:#dce8ff;font-size:12px}
.temporary-attachment button{border:0;background:transparent;color:#f2b2bd;cursor:pointer}
.temporary-dialog{width:min(570px,calc(100vw - 24px));border:1px solid #596a8a;border-radius:18px;background:#172036;color:#eff5ff;padding:0;box-shadow:0 24px 80px #000a}
.temporary-dialog::backdrop{background:#02050bbb}
.temporary-dialog form{display:grid;gap:14px;padding:19px}
.temporary-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.temporary-dialog header>button{border:0;background:transparent;color:#d5deef;cursor:pointer;padding:4px}
.temporary-dialog label{display:grid;gap:6px;color:#dbe5f5;font-size:13px;font-weight:800}
.temporary-dialog fieldset{display:grid;gap:8px;border:1px solid #455675;border-radius:12px;padding:11px}
.temporary-dialog legend{padding:0 5px;color:#b9c8e5;font-size:12px;font-weight:800}
.temporary-dialog fieldset label{grid-template-columns:auto 1fr;align-items:start;cursor:pointer;font-size:13px}
.temporary-dialog fieldset input{width:auto;min-height:auto;margin:3px 0 0}
.temporary-dialog fieldset strong,.temporary-dialog fieldset small{display:block}
.temporary-dialog fieldset small{margin-top:2px;color:#aebbd0;font-weight:400}
.temporary-dialog-note{display:flex;gap:7px;margin:0;color:#b9c9e1;font-size:12px;line-height:1.5}
.temporary-dialog footer{display:flex;justify-content:flex-end;gap:8px}
.temporary-dialog .danger-button{background:#8c3144;color:#fff}
#temporary-settings-form>.temporary-settings-actions{display:grid;grid-template-columns:minmax(136px,.42fr) minmax(0,1fr);gap:10px;margin-top:2px}
.temporary-settings-actions button{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:0 16px;border-radius:12px;line-height:1.1;white-space:nowrap;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
.temporary-settings-actions button svg{width:18px;height:18px;flex:0 0 auto}
.temporary-settings-actions .danger-button{border:1px solid #c95168;background:linear-gradient(135deg,#9f334a,#c8425b);box-shadow:0 8px 22px #8f24353d;color:#fff}
.temporary-settings-actions .danger-button:hover{filter:brightness(1.08);box-shadow:0 10px 26px #a82d4552}
.temporary-settings-actions .primary-button:hover{filter:brightness(1.08);box-shadow:0 10px 26px #7c4dff45}
.temporary-settings-actions button:active{transform:translateY(1px)}
.temporary-settings-actions button:disabled{opacity:.68;cursor:wait;transform:none}
.temporary-admin-list{display:grid;gap:8px}
.temporary-admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;border:1px solid #3d4a60;border-radius:12px;background:#121b2a}
.temporary-admin-row strong,.temporary-admin-row small{display:block}
.temporary-admin-row small{margin-top:3px;color:#aebbd0}
.temporary-admin-row footer{display:flex;gap:7px;align-items:center}
.temporary-admin-row button{border:0;border-radius:8px;background:#733c4d;color:#fff;padding:8px 10px;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:680px){.temporary-room-hero{display:grid;padding:20px}
.temporary-room-onboarding{grid-template-columns:auto 1fr}
.temporary-room-onboarding label,.temporary-room-onboarding button{grid-column:1/-1}
.temporary-room-head{align-items:flex-start}
.temporary-back span,.temporary-room-actions span{display:none}
.temporary-room-actions button{width:39px;padding:0}
.temporary-messages{min-height:330px;max-height:54vh;padding:12px}
.temporary-message{max-width:95%}
.temporary-delete-select{margin-left:0;width:100%}
.temporary-delete-select select{flex:1;max-width:none}
.temporary-admin-row{grid-template-columns:1fr}
.quick-temporary-room-link{font-size:12px}
}
@media(max-width:460px){#temporary-settings-form>.temporary-settings-actions{grid-template-columns:1fr}.temporary-settings-actions .primary-button{order:1}.temporary-settings-actions .danger-button{order:2}}

/* Giữ phần phòng chat ngắn gọn như các panel có sẵn của trang. */
.temporary-room-hero{padding:18px 20px}
.temporary-room-hero h1{margin:5px 0;font-size:clamp(22px,3vw,30px)}
.temporary-room-hero p{font-size:13px;line-height:1.45}
.temporary-room-onboarding{padding:12px 14px;gap:10px}
.temporary-room-onboarding>i{width:34px;height:34px;border-radius:10px}
.temporary-room-onboarding p{font-size:12px;line-height:1.35}
.temporary-section-heading{margin-bottom:10px}
.temporary-section-heading h2{font-size:18px}
.temporary-room-card{gap:8px;padding:12px;border-radius:12px}
.temporary-messages{min-height:300px;padding:13px}
.quick-menu-left{grid-template-rows:minmax(0,1fr) auto auto}
.quick-menu-left .quick-temporary-room-link{display:flex;min-height:40px;align-items:center;justify-content:center;gap:6px;padding:6px 8px;border:0;border-top:1px solid var(--line);border-radius:0;background:#151a24;color:#9bc7ff;font:800 12px Georgia,serif;cursor:pointer;box-shadow:none}
.quick-menu-left .quick-temporary-room-link:hover{background:#1c2635;color:#c4e0ff}
.quick-menu-left .quick-temporary-room-link svg{width:16px;height:16px}
.temporary-rooms-page{min-height:100vh}
.temporary-standalone-shell{width:min(100%,1080px);margin:0 auto;padding:0 12px 24px}
.temporary-standalone-header{margin:0 -12px 16px;padding:0 12px}
.temporary-standalone-header .brand-row{min-height:64px}
.temporary-standalone-header .brand{color:inherit;text-decoration:none}
.temporary-standalone-nav{margin-left:auto;display:flex;align-items:center;gap:8px}
.temporary-standalone-nav>a{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid var(--line,#3b4659);border-radius:9px;color:#c9d8ee;text-decoration:none;font-size:12px;font-weight:800}
.temporary-standalone-nav>a:hover{border-color:#7eaef4;color:#fff;background:#1e2d45}
.temporary-standalone-nav .temporary-standalone-account{gap:7px;padding:3px 9px 3px 4px}
.temporary-standalone-account>b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:linear-gradient(135deg,#5f7fbc,#9760bd);color:#fff}
.temporary-standalone-account span{display:grid;line-height:1.1}
.temporary-standalone-account small{color:#aab8cd;font-size:9px}
.temporary-standalone-account strong{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.temporary-standalone-main{min-width:0}
@media(max-width:680px){.temporary-standalone-shell{padding-inline:0}.temporary-standalone-header{margin:0 0 10px;padding:0 10px}.temporary-standalone-header .brand-mark{width:34px;height:34px}.temporary-standalone-header .brand small{display:none}.temporary-standalone-nav{gap:5px}.temporary-standalone-nav>a{min-height:31px;padding:0 7px;font-size:11px}.temporary-standalone-nav>a:first-child{display:none}.temporary-standalone-account span{display:none}}

/* Danh sách là trang riêng, còn khung chat dùng cùng ngôn ngữ với chatbox của web. */
.temporary-rooms-view [hidden]{display:none!important}
.temporary-room-list{padding:0;overflow:hidden}
.temporary-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border-bottom:1px solid var(--line,#354157);background:linear-gradient(120deg,#151d2b,#10151d)}
.temporary-list-head>div:first-child{min-width:0}
.temporary-list-head span{display:block;color:#8ebeff;font-size:10px;font-weight:900;letter-spacing:.1em}
.temporary-list-head h1{margin:3px 0 2px;font-size:20px;line-height:1.2}
.temporary-list-head p{margin:0;color:var(--muted,#aeb9c9);font-size:12px;line-height:1.4}
.temporary-list-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.temporary-list-actions button{min-height:34px;border-radius:4px;font-size:12px}
.temporary-list-actions .refresh-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid var(--line,#3a4658);background:#1a202a;color:#b8c7da;cursor:pointer}
.temporary-list-actions .refresh-action:hover{border-color:#4f7eae;color:#e9f4ff;background:#202b39}
.temporary-list-actions .refresh-action svg{width:15px;height:15px}
.temporary-list-actions .primary-button{width:auto;padding:0 10px}
.temporary-list-section{min-width:0}
.temporary-list-section+.temporary-list-section{border-top:1px solid var(--line,#354157)}
.temporary-list-subhead{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:11px 15px;background:#0d1219}
.temporary-list-subhead>div{min-width:0}
.temporary-list-subhead span{display:block;color:#8ebeff;font-size:9px;font-weight:900;letter-spacing:.1em}
.temporary-list-subhead h2{margin:2px 0 0;font-size:16px;line-height:1.25}
.temporary-list-subhead p{margin:0;color:var(--muted,#aeb9c9);font-size:11px;line-height:1.4;text-align:right}
.temporary-my-rooms .temporary-list-subhead{background:linear-gradient(90deg,#162238,#17142a)}
.temporary-my-room-grid .temporary-empty{min-height:88px}
.temporary-room-grid{display:grid;grid-template-columns:1fr;gap:0}
.temporary-room-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 15px;border:0;border-bottom:1px solid var(--line,#354157);border-radius:0;background:#11161e;box-shadow:none;transform:none}
.temporary-room-card:last-child{border-bottom:0}
.temporary-room-card:hover{border-color:var(--line,#354157);background:#17202b;transform:none}
.temporary-room-card-main{min-width:0}
.temporary-room-card header{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.temporary-room-card h3{min-width:0;margin:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.temporary-room-card p{display:flex;align-items:center;gap:5px;margin:5px 0 0;color:#91a0b4;font-size:11px;line-height:1.3}
.temporary-room-card p svg{width:13px;height:13px}
.temporary-room-card p b{font-size:13px;font-weight:400;color:#5d6b7d}
.temporary-room-card-saved{background:linear-gradient(90deg,#131c2a,#161625)}
.temporary-room-card-saved:hover{background:linear-gradient(90deg,#192638,#211b35)}
.temporary-room-last-visit{display:flex;align-items:center;gap:4px;margin-top:4px;color:#92a9c7;font-size:10px}
.temporary-room-last-visit svg{width:12px;height:12px}
.temporary-room-chip{flex:0 0 auto;padding:3px 6px;border-radius:999px;font-size:10px}
.temporary-room-chip svg{width:12px;height:12px}
.temporary-room-enter{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-height:32px;padding:0 8px;border:1px solid #2f68ae;border-radius:4px;background:#2071dc;color:#fff;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}
.temporary-room-enter:hover{border-color:#4b8ee0;background:#287be8;color:#fff}
.temporary-room-enter svg{width:15px;height:15px}
.temporary-empty{min-height:210px;padding:20px}
.temporary-back{text-decoration:none}
.temporary-name-dialog .temporary-name-note{margin:0;color:#b9c9e1;font-size:12px;line-height:1.5}
@media(max-width:680px){.temporary-list-head{align-items:flex-start;padding:13px 12px}.temporary-list-head h1{font-size:18px}.temporary-list-head p{max-width:290px}.temporary-list-actions .refresh-action{width:34px;padding:0}.temporary-list-actions .refresh-action span{display:none}.temporary-list-actions .primary-button{min-width:34px;padding:0 9px}.temporary-list-subhead{align-items:flex-start;padding:9px 12px}.temporary-list-subhead p{max-width:190px}.temporary-room-card{gap:9px;padding:12px}.temporary-room-enter{width:32px;padding:0}.temporary-room-enter{font-size:0}.temporary-room-enter svg{width:17px;height:17px}.temporary-composer .composer-actions{gap:5px}.temporary-composer .post-tools button{flex-basis:30px;width:30px}.temporary-composer .temporary-delete-select{padding:0 5px}.temporary-composer .temporary-delete-select select{max-width:104px}.temporary-composer .direct-send-button{width:32px;padding:0}.temporary-composer .direct-send-button span{display:none}}

/* Phòng tạm dùng nguyên bố cục feed và composer của Chat room. */
#temporary-room-stage.chatroom-full{overflow:visible}
.temporary-room-chat-head{gap:7px;padding:6px 9px}
.temporary-room-chat-back{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;min-height:27px;padding:0 5px;border:1px solid #3f4b58;border-radius:3px;background:#15191f;color:#b8c8d9;text-decoration:none;font-family:inherit;font-size:10px;font-weight:800}
.temporary-room-chat-back:hover{border-color:#4f83b9;background:#1b2734;color:#e9f4ff}
.temporary-room-chat-back svg{width:14px;height:14px}
.temporary-room-chat-title{min-width:0;flex:1;display:grid;gap:1px}
.temporary-room-chat-title strong{overflow:hidden;color:var(--green);font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.temporary-room-chat-title small{display:flex;align-items:center;gap:5px;min-width:0;color:#8491a1;font-size:9px;line-height:1.25}
.temporary-room-chat-title small span{display:inline-flex;align-items:center;gap:3px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.temporary-room-chat-title small span+span::before{content:'·';color:#5c6876}
.temporary-room-chat-title svg{width:12px;height:12px}
.temporary-room-heading-actions{flex:0 0 auto;gap:4px}
.temporary-room-heading-actions .refresh-action{min-height:27px;padding:0 6px;border-radius:3px;font-size:9px}
.temporary-room-heading-actions .refresh-action svg{width:14px;height:14px}
.temporary-room-message-media{margin:0 0 0 47px}
.temporary-room-message-media img,.temporary-room-message-media video{display:block;max-width:min(360px,100%);margin:0 0 8px;border-radius:4px}
.temporary-room-message-media audio{display:block;max-width:100%;margin:0 0 8px}
.temporary-room-message-media .temporary-message-file{display:inline-flex;align-items:center;gap:5px;margin:0 0 8px;color:#95c8ff;font-size:11px}
.temporary-room-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}

/* Use the site's original private-message layout and moon-bloom theme. */
.temporary-standalone-shell{width:min(100%,720px);padding-inline:0}
.temporary-standalone-header{margin-inline:0}
.temporary-room-stage{overflow:visible;background:transparent}
.temporary-room-stage .direct-message-form textarea{min-height:95px!important}
.temporary-direct-head .temporary-room-avatar{color:#f4dcaa;background:linear-gradient(145deg,#24182d,#18332e);border-color:#70507e}
.temporary-room-avatar svg{width:28px;height:28px}
.temporary-direct-actions{display:grid;grid-template-columns:30px 30px;gap:4px;justify-content:end}
.temporary-direct-actions a{display:grid;place-items:center;text-decoration:none;grid-column:2}
#direct-conversation-panel .temporary-direct-head{grid-template-columns:62px minmax(0,1fr) 64px}
.temporary-direct-head .direct-user-copy>strong{color:#f4dcaa;font-size:15px}
.temporary-direct-head .direct-user-copy>span{font-size:10px;color:#aeb9c9;white-space:normal}
.temporary-rooms-view .temporary-sender-avatar{width:48px;height:48px;flex:0 0 48px;border:1px solid #70507e;background:linear-gradient(145deg,#30233a,#17101f);color:#f4dcaa}
.temporary-bubble-sender{padding:6px 10px 0;color:#d8b5ec;font-size:10px;font-weight:700}
.temporary-bubble-media{display:grid;gap:6px;padding:6px;max-width:min(380px,calc(100vw - 100px))}
.temporary-bubble-media img,.temporary-bubble-media video{display:block;max-width:100%;max-height:420px;object-fit:contain;border-radius:5px}
.temporary-bubble-media audio{max-width:100%;width:300px}
.temporary-guest-composer [data-smiley-create-category],.temporary-guest-composer [data-smiley-upload],.temporary-guest-composer [data-smiley-delete-category],.temporary-guest-composer [data-smiley-sort-options]{display:none}
