#create-window{width:560px;max-width:calc(100vw - 12px);height:auto;max-height:calc(100% - 12px)}
.live-generator{overflow:auto;padding:18px 22px;background:#ece9d8;font:12px Tahoma,sans-serif;color:#182039}
.live-generator .df-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.live-generator h1{font:700 20px Tahoma,sans-serif;margin:0}.live-generator #df-close{display:none}
.live-generator button,.live-generator a{display:inline-block;border:1px solid #003c74;border-radius:3px;background:linear-gradient(#fff,#ecebe5);padding:6px 12px;color:#111;font:12px Tahoma,sans-serif;cursor:pointer;text-decoration:none}
.live-generator button:hover{box-shadow:inset 0 0 0 2px #ffca67}.live-generator button:disabled{opacity:.5;cursor:default}.live-generator input{width:100%;min-width:0;padding:7px;border:1px solid #7f9db9;background:white}
.df-input-row{display:flex;align-items:center;gap:6px;margin:7px 0}.df-input-row button{flex-shrink:0}.df-meta{display:flex;justify-content:space-between;font-size:10px;color:#52647a;gap:8px}
.df-source{display:flex;gap:12px;margin:18px 0;padding:12px;background:#fff;border:1px solid #b6c7df}.df-source img{width:64px;height:64px;object-fit:contain}.df-source-label{display:block;font-size:10px;color:#587499;margin-bottom:5px}.df-source p{margin:5px 0;font-size:11px}
#df-loading{padding:14px;background:#d8e8fc;border:1px solid #96b1d5}#df-loading span{display:block;margin-top:6px;font-size:11px}#df-results h2{font-size:14px}#df-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#df-choices button{padding:4px;min-width:0}#df-choices img{display:block;width:100%;aspect-ratio:1;object-fit:contain}#df-choices span{font-size:10px}#df-choices [aria-pressed=true]{outline:2px solid #245edb}#df-actions{display:flex;gap:8px;margin-top:12px}.live-generator footer{font-size:10px;color:#52647a;border-top:1px solid #c3c2b4;margin-top:16px}#df-status,#df-availability{line-height:1.5}#df-status{color:#174692}
@media(max-width:650px){.live-generator{padding:14px}.df-input-row{flex-wrap:wrap}.df-input-row input{flex:1}.df-meta{flex-direction:column;gap:2px}}

#df-generation-line{min-height:16px;color:#244a7a;line-height:1.5}
#df-loading .df-pixels{display:flex;gap:3px;height:7px;margin-bottom:9px}
#df-loading .df-pixels i{width:18px;height:7px;background:linear-gradient(#93bfff,#2465ca);border:1px solid #4179bd;animation:xp-generating 1.2s infinite ease-in-out}
#df-loading .df-pixels i:nth-child(2){animation-delay:.15s}
#df-loading .df-pixels i:nth-child(3){animation-delay:.3s}
@keyframes xp-generating{50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){#df-loading .df-pixels i{animation:none}}

/* Compact live roster shares the existing portrait rail; the conversation keeps its height. */
#chat-window .messenger-session{grid-template-columns:minmax(0,1fr) 118px}
#chat-window .conversation-avatars{gap:7px}
#chat-window .conversation-avatars>.lobby-panel{display:flex;flex-direction:column;flex:1;min-height:0;padding:0;text-align:left;overflow:hidden;background:#f5f9ff}
.lobby-panel h3{font:700 10px Tahoma,sans-serif;color:#315a85;margin:0;padding:7px 5px;border-bottom:1px solid #bdcde0;background:linear-gradient(#fff,#e1ebf8);white-space:nowrap}
.lobby-panel h3 span{font-weight:400;color:#687f9e}
.lobby-panel ul{list-style:none;margin:0;padding:3px;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}
.lobby-panel li{display:flex;align-items:center;gap:4px;padding:5px 0;min-width:0;border-bottom:1px solid #e5edf7}
#chat-window .lobby-panel li img{width:23px;height:23px;flex:0 0 23px;object-fit:contain;border:0;border-radius:0;background:transparent}
.lobby-panel li>span{min-width:0;flex:1}
.lobby-panel strong{display:block;font:700 10px Tahoma,sans-serif;color:#24558a;white-space:normal;overflow-wrap:anywhere;line-height:13px}
#chat-window .lobby-panel small{padding-top:3px;font-size:9px;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#647c9a}
.lobby-status-icon{display:inline-block;position:relative;width:8px;height:8px;margin-right:3px;border-radius:50%;background:linear-gradient(#a9ef77,#4b9f31);border:1px solid #509336;vertical-align:-1px}
[data-presence=busy] .lobby-status-icon{background:#db5555;border-color:#a82b2b}
[data-presence=busy] .lobby-status-icon:after{content:'';position:absolute;left:1px;right:1px;top:3px;height:1px;background:#fff}
[data-presence=away] .lobby-status-icon,[data-presence=brb] .lobby-status-icon{background:#ffe6a1;border-color:#b18b32}
[data-presence=away] .lobby-status-icon:after,[data-presence=brb] .lobby-status-icon:after{content:'';position:absolute;left:3px;top:1px;width:2px;height:3px;border-left:1px solid #755417;border-bottom:1px solid #755417}
.lobby-notice{font-size:10px;line-height:15px;color:#71849b;padding:6px;margin:0}
#chat-window .conversation-avatars>div:last-child{flex-shrink:0;align-self:center}
@media(max-width:650px),(max-width:950px) and (max-height:500px){
 #chat-window .messenger-session{grid-template-columns:minmax(0,1fr) 96px}
 #chat-window .lobby-panel li img{width:18px;height:18px;flex-basis:18px}
 .lobby-panel h3{font-size:9px;padding:6px 3px}.lobby-panel ul{padding:2px}.lobby-panel li{gap:3px}.lobby-panel strong{font-size:9px}
 body[data-mobile-keyboard=true] #chat-window .messenger-session{grid-template-columns:minmax(0,1fr)}
}
