/* Uses the existing Social tokens supplied by ouvir-chat-social.css. */
.froo-social-blog{color:var(--oc-text);background:var(--oc-bg);font-family:Inter,"Segoe UI",Arial,sans-serif}
body.froo-social-blog .chat{padding:10px;gap:7px}body.froo-social-blog .chat-layout{gap:10px}body.froo-social-blog #rooms-panel,body.froo-social-blog #people-panel{width:clamp(195px,24vw,290px);padding:12px;background:var(--oc-panel);border:1px solid var(--oc-line);border-radius:14px;scrollbar-width:thin}body.froo-social-blog .chat-thread{background:var(--oc-panel);border:1px solid var(--oc-line);border-radius:14px;padding:10px;overflow:hidden}body.froo-social-blog #messages{padding:10px 4px;overscroll-behavior:contain}body.froo-social-blog .message{grid-template-columns:40px minmax(0,1fr);gap:4px 10px;margin-bottom:18px}body.froo-social-blog .message>img,body.froo-social-blog .message>.avatar{width:40px;height:40px}body.froo-social-blog .heading{font-size:14px}body.froo-social-blog .message p{font-size:14px;line-height:1.5}body.froo-social-blog .heading time{font-size:11px;color:var(--oc-muted)}.froo-role{display:inline-block;background:var(--oc-bg);border-radius:6px;padding:2px 5px;margin-left:6px;font-size:10px;color:var(--oc-muted)}.froo-room-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:var(--oc-violet);color:#fff;border-radius:10px}.froo-room-heading #chat-room-name{color:inherit;margin:0;font-size:18px}.froo-room-heading span{font-size:12px;white-space:nowrap}.froo-search{display:block;font-size:12px;color:var(--oc-muted);margin:12px 0}.froo-search input,.froo-emote-panel input{display:block;width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid var(--oc-line);border-radius:20px;background:var(--oc-panel);color:var(--oc-text);font:inherit;margin-top:5px}body.froo-social-blog #rooms summary,.oc-chat-channel>summary{display:flex;align-items:center;gap:9px;padding:10px!important;border:1px solid var(--oc-line);border-radius:12px;margin:6px 0;background:var(--oc-bg);list-style:none}body.froo-social-blog #rooms summary::after,.oc-chat-channel>summary::after{content:'⌄';margin-left:auto;font-size:18px}.froo-radio-copy{min-width:0;flex:1}.froo-radio-copy strong{display:block;overflow-wrap:anywhere;font-size:14px}.froo-radio-copy small{display:block;color:var(--oc-muted);font-size:12px;margin-top:5px}body.froo-social-blog #rooms summary img,.oc-chat-channel>summary img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}body.froo-social-blog #rooms button{min-height:40px;border-radius:8px;margin:3px 0;padding:9px;font-size:13px;color:var(--oc-text)}body.froo-social-blog #rooms button.selected{background:var(--oc-violet);color:#fff}.froo-reactions{grid-column:2;display:flex;gap:6px;flex-wrap:wrap}.froo-reactions span{padding:3px 8px;background:var(--oc-bg);border-radius:12px;font-size:12px}body.froo-social-blog .directory-person{padding:10px 0;gap:8px}body.froo-social-blog .directory-person img{width:36px;height:36px}body.froo-social-blog .directory-person strong{font-size:13px}body.froo-social-blog .directory-person small{font-size:11px}.froo-composer-tools{flex:none;padding:5px 0;min-width:0;border-top:1px solid var(--oc-line);color:var(--oc-text);background:var(--oc-panel)}.froo-tools-toggle,.froo-emote-tabs button{border:1px solid var(--oc-line);background:var(--oc-panel);color:var(--oc-text);border-radius:16px;padding:7px 11px;cursor:pointer;min-height:36px}.froo-tools-toggle{background:var(--oc-violet);color:#fff}.froo-emote-panel{border:1px solid var(--oc-line);border-radius:12px;padding:8px;margin-top:7px}.froo-emote-panel[hidden]{display:none}.froo-emote-tabs{display:flex;gap:4px;flex-wrap:wrap}.froo-emote-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:3px;max-height:140px;overflow:auto;padding-top:6px}.froo-free-strip{display:grid;grid-template-columns:repeat(10,minmax(0,48px));gap:2px;margin-top:5px}.froo-emote{position:relative;min-width:0;width:100%;height:48px;border:0;background:transparent;border-radius:8px;cursor:pointer;padding:2px}.froo-emote img,.froo-emote canvas.oc-transparent-emote{width:44px;height:44px;object-fit:contain}.froo-emote canvas.oc-transparent-emote{left:50%;top:50%;transform:translate(-50%,-50%)}.froo-emote:disabled{opacity:.35;cursor:not-allowed}.froo-emote:hover{background:var(--oc-bg)}.froo-emote.unicode{font-size:27px}.froo-composer-tools :focus-visible,.froo-social-blog :focus-visible{outline:3px solid var(--oc-violet);outline-offset:2px}.froo-social-blog [hidden]{display:none!important}
@media(max-width:899px){body.froo-social-blog #rooms-panel,body.froo-social-blog #people-panel{width:190px}body.froo-social-blog .chat{padding:5px}.froo-free-strip{grid-template-columns:repeat(5,minmax(0,48px));justify-content:start}}
@media(max-width:599px){body.froo-social-blog .chat-layout{gap:5px;grid-template-rows:38px minmax(0,1fr)}body.froo-social-blog #rooms-panel,body.froo-social-blog #people-panel{height:38px;width:100%;padding:9px;border-radius:10px}body.froo-social-blog #rooms-panel[open],body.froo-social-blog #people-panel[open]{inset:0;height:100%;width:100%;z-index:10;padding:12px;background:var(--oc-panel);border:1px solid var(--oc-line)}body.froo-social-blog .chat-thread{padding:7px;border-radius:10px}body.froo-social-blog #rooms-panel>summary,body.froo-social-blog #people-panel>summary{font-size:13px;background:var(--oc-panel)}body.froo-social-blog .message p{font-size:15px}.froo-free-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.froo-composer-tools{padding:3px 0}.froo-room-heading{padding:9px}.froo-room-heading #chat-room-name{font-size:15px}.froo-social-blog #send textarea{resize:none;max-height:110px;font-size:16px}.froo-social-blog .account{font-size:11px}.froo-emote-grid{max-height:110px}}

#blog-history{align-self:center;border:1px solid var(--oc-line);border-radius:14px;background:var(--oc-panel);color:var(--oc-muted);font-size:11px;padding:4px 10px;cursor:pointer;min-height:28px}

/* Keep the composer visible in short embeds and when the keyboard reduces height. */
@media(max-height:650px){.froo-composer-tools{position:relative}.froo-emote-panel{position:absolute;left:0;right:0;bottom:100%;max-height:calc(100dvh - 170px);overflow:auto;z-index:12;background:var(--oc-panel);box-shadow:0 -4px 18px #20395720;margin:0}.froo-emote-grid{max-height:110px}}

.froo-radio-background{position:relative;isolation:isolate;overflow:hidden}.froo-radio-background::before{content:'';position:absolute;inset:0;z-index:-1;background-image:var(--froo-radio-logo);background-size:cover;background-position:center;opacity:.2;pointer-events:none}.froo-radio-copy{position:relative}.froo-free-strip{display:flex;flex-wrap:wrap;gap:2px}.froo-free-strip .froo-emote{width:34px;height:36px;flex:0 0 34px}.froo-free-strip .unicode{font-size:25px}.froo-room-heading.froo-radio-background::before{opacity:.3}@media(max-width:400px){.froo-free-strip{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:0}.froo-free-strip .froo-emote{width:100%;min-width:0;font-size:23px}}

.oc-chat-channel.oc-has-tools{position:relative}.oc-chat-channel.oc-has-tools>summary{padding-right:75px!important}.oc-radio-tools{display:flex;gap:4px;position:absolute;right:8px;top:9px;z-index:3}.oc-radio-tool{display:inline-grid!important;place-items:center;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;border:1px solid #a3cde4!important;border-radius:50%!important;background:#effaff!important;color:#155577!important;padding:1px!important;font-size:14px!important;line-height:1!important}.oc-radio-tool::before{content:none!important}.oc-radio-tool:hover{background:#c1ecff!important}.oc-radio-tool:focus-visible{outline:2px solid #1877f2;outline-offset:2px}
