#duo-app-popup{position:fixed;z-index:91;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;min-width:0;min-height:0;background:#101c24;border:1px solid #54756e;border-radius:14px;color:#eafff9;box-shadow:0 8px 32px #0009;font:16px Arial}#duo-app-popup[hidden],#duo-app-open[hidden]{display:none!important}#duo-app-header{display:flex;align-items:center;min-height:46px;padding:4px 8px;gap:2px;touch-action:none;cursor:move}#duo-app-header strong{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px}#duo-app-popup button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:inherit;flex-shrink:0}#duo-app-popup svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}#duo-app-image{display:block;flex:1;min-height:0;width:100%;height:0;object-fit:fill;background:#000;touch-action:none}#duo-app-status{font-size:14px;line-height:1.4;color:#b1d9cf;padding:8px 14px;margin:0}#duo-app-status:empty{padding:0}#duo-app-popup #duo-app-resize{position:absolute;bottom:0;right:0;width:28px;height:28px;min-height:28px;padding:3px;background:#132830;cursor:nwse-resize;touch-action:none}#duo-app-open{position:fixed;z-index:90;right:14px;bottom:82px;max-width:70vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:40px;padding:8px 16px;border:1px solid #79ddc1;border-radius:24px;background:#173c36;color:#eafff9;font:600 15px Arial}

#duo-app-popup [hidden]{display:none!important}
#duo-app-image.duo-app-image-with-keyboard{object-fit:contain}
.duo-app-keyboard{flex:0 1 auto;max-height:60%;overflow:auto;padding:4px 10px 8px;background:#132830;border-top:1px solid #54756e}
.duo-app-keyboard-actions{display:flex;align-items:center;gap:4px}
.duo-app-keyboard textarea{box-sizing:border-box;width:100%;min-height:42px;padding:10px;border:1px solid #54756e;border-radius:8px;background:#1b353b;color:inherit;font:16px/1.4 Arial;resize:none;overflow-wrap:break-word}
#duo-app-popup .duo-app-keyboard-actions button{width:auto;min-width:40px;background:#286652}
#duo-app-popup .duo-keyboard-row button{width:auto;min-width:0;height:34px;min-height:34px;flex:1;background:#24434a;padding:4px 1px;font-size:15px}
#duo-app-popup .duo-keyboard-row .duo-key-space{flex:3}
#duo-app-popup .duo-keyboard-row .duo-key-emoji{display:flex;flex-direction:column;height:auto;min-height:42px}
#duo-app-popup button:disabled{opacity:.4}
.duo-app-keyboard p{margin:5px 0 0;font-size:13px}.duo-app-keyboard p:empty{display:none}
