/* V80 media – compact and mobile friendly, no extraneous glowing panels */
.p2g-v80-compose-tools{display:flex;align-items:center;gap:5px;flex:none}
.p2g-v80-compose-tools button{border:1px solid #527a92;background:#183751;color:#eaf6ff;border-radius:8px;padding:9px 8px;font-weight:700;cursor:pointer;font-size:12px}
.p2g-v80-compose-tools button:hover{background:#285371}
.p2g-v80-dialog{padding:0;border:1px solid #527792;border-radius:15px;color:#e9f5ff;background:#102238;width:min(720px,96vw);max-height:86dvh;box-shadow:0 15px 45px #000a}
.p2g-v80-dialog::backdrop{background:#020914cc;backdrop-filter:blur(3px)}
.p2g-v80-dialog>section{padding:16px;display:flex;flex-direction:column;gap:12px;max-height:85dvh}
.p2g-v80-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.p2g-v80-dialog header h2{margin:0;font-size:17px}
.p2g-v80-main{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:12px}
.p2g-v80-tabs{display:flex;gap:7px}
.p2g-v80-tabs .active{border-color:#7be1cd;background:#23514d}
.p2g-v80-button,.p2g-v80-upload button,.p2g-v80-dialog header button{background:#20455a;border:1px solid #537a8e;color:#f3fbff;border-radius:8px;padding:8px 11px;cursor:pointer}
.p2g-v80-button.danger{background:#563442;border-color:#a06a78}
.p2g-v80-caption{color:#bbccdc;font-size:12px;margin:0;line-height:1.4}
.p2g-v80-error{color:#ffc6c6;font-size:13px}
.p2g-v80-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:9px}
.p2g-v80-card{display:flex;flex-direction:column;align-items:stretch;gap:7px;border:1px solid #365875;border-radius:10px;padding:9px;min-width:0}
.p2g-v80-card strong{font-size:13px;overflow-wrap:anywhere;text-align:center}
.p2g-v80-placeholder{min-height:75px;border:1px dashed #50708b;border-radius:8px;display:grid;place-items:center;text-align:center;font-size:12px;color:#c3d3e2;margin:0}
.p2g-v80-image{display:block;object-fit:contain;max-width:100%;height:auto;max-height:220px;border-radius:8px}
.p2g-v80-preview{height:90px;width:100%}
.p2g-v80-sent-gif{width:min(300px,100%);max-height:280px}
.p2g-v80-sent-sticker{width:min(180px,100%);max-height:180px}
.p2g-v80-reaction-icon{height:24px;width:24px;object-fit:contain;display:inline}
.p2g-v80-upload{display:flex;flex-direction:column;gap:9px;border:1px solid #3a5e78;padding:12px;border-radius:12px}
.p2g-v80-upload input{padding:9px;border:1px solid #4f7590;border-radius:9px;background:#1b334c;color:#fff;max-width:100%;box-sizing:border-box}
.p2g-v80-upload button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.p2g-v80-dialog>section{padding:12px}.p2g-v80-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p2g-v80-compose-tools button{padding:7px 6px}}
.p2g-v80-image:not(.p2g-v80-loaded){min-height:60px;border:1px dashed #456984;background:#162c43}
.p2g-v80-reaction-icon:not(.p2g-v80-loaded){min-height:24px}

/* V81 – Emoji direkt im Chattext, animierte Custom-Emojis bleiben inline */
.p2g-v81-inline-emoji{display:inline-block;vertical-align:middle;object-fit:contain;width:30px;height:30px;max-width:none;max-height:none;border-radius:3px;margin:0 2px}
.p2g-v17-msg-text:has(> .p2g-v81-inline-emoji:only-child) > .p2g-v81-inline-emoji{width:66px;height:66px}
.p2g-v81-slot{display:inline-block;vertical-align:middle;width:28px;height:28px;border-radius:5px;background:#45647a60}
@media(max-width:600px){.p2g-v80-compose-tools{flex-wrap:wrap}.p2g-v80-compose-tools button{min-height:30px}}
