.kodiak-gif{display:block;width:fit-content;max-width:100%;margin:10px 0 0;padding:6px;border:1px solid var(--line,#55715d);border-radius:14px;background:var(--bg,#f3f4ee);color:var(--ink,#193c34);overflow:hidden}
.kodiak-gif img{display:block;max-width:100%;width:auto;height:auto;max-height:240px;object-fit:contain;border-radius:9px}
.kodiak-gif figcaption{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:5px 2px 0}
.gif-badge{font-size:10px;font-weight:800;letter-spacing:.12em;opacity:.8}
.kodiak-gif [data-gif-play]{font-size:12px;min-height:32px;padding:5px 10px}
.gif-composer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-basis:100%;min-width:0}
.gif-add{font-size:12px;font-weight:700;padding:7px 12px;min-height:36px;border:1px solid var(--line,#55715d)}
.gif-hint{font-size:11px;opacity:.75}.gif-draft:not(:empty){flex-basis:100%;display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.gif-draft .kodiak-gif img{max-height:120px}.gif-draft .kodiak-gif{margin:0}
.chatinput,.commentform{flex-wrap:wrap}.chatinput>input[name=body],.commentform>input[name=body]{min-width:0;flex:1}.comment>.kodiak-gif{margin-bottom:10px}
@media(max-width:480px){.kodiak-gif img{max-height:200px}.gif-hint{font-size:10px}.gif-composer{gap:6px}.kodiak-gif{max-width:100%}}
.communitycomposer{flex-wrap:wrap}.communitycomposer textarea{min-width:0}
.kodiak-gif .giphy-attribution,#kodiak-giphy-picker>.giphy-attribution{display:block;width:150px;height:auto;max-height:none;object-fit:contain;border-radius:0;margin:8px 0;background:#fff}
.giphy-attachment figcaption{flex-wrap:wrap;gap:8px}.giphy-placeholder{display:grid;gap:8px;min-width:160px;max-width:240px;padding:12px}.giphy-placeholder small{font-size:11px;line-height:1.5}
.giphy-options{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 10px}.giphy-privacy{font-size:12px;line-height:1.6;margin-top:12px}.giphy-search-area{margin-top:20px}
#giphy-search-form{display:flex;gap:8px}#giphy-search-form input{min-width:0;flex:1}.giphy-status{font-size:12px;margin:12px 0}
.giphy-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.giphy-result{padding:0;border-radius:10px;overflow:hidden;min-height:75px;border:1px solid var(--line)}.giphy-result img{display:block;width:100%;height:100px;object-fit:cover}.giphy-result:hover,.giphy-result:focus-visible{outline:2px solid var(--gold,#edb654);outline-offset:2px}
[data-giphy-more]{margin-top:12px}@media(max-width:480px){.giphy-results{grid-template-columns:repeat(2,minmax(0,1fr))}.giphy-options>button{flex:1}.giphy-privacy{font-size:11px}#giphy-search-form{flex-wrap:wrap}.channelmessagebody{min-width:0}.giphy-attachment{max-width:100%}}

.kodiak-gif video{display:block;max-width:100%;width:200px;height:auto;max-height:240px;object-fit:contain;border-radius:9px}.gif-draft .kodiak-gif video{max-height:120px}
