/* Public conversations share the workspace theme without remounting the miner. */
.community{--community-bg:var(--theme-panel,#18181f);--community-line:var(--theme-line,#35353f);--community-text:var(--theme-text,#f3f3f7);--community-muted:var(--theme-muted,#b7b7c7);--community-accent:var(--theme-accent,#ff7484);--community-soft:var(--theme-panel2,#22222b);color:var(--community-text);min-width:0;max-width:100%}
.community *, .community *::before,.community *::after{box-sizing:border-box}
.community [hidden]{display:none!important}
.community button,.community input,.community textarea,.community select{font:inherit}
.community button{cursor:pointer;color:inherit}
.community button:disabled{cursor:not-allowed;opacity:.45}
.community button:focus-visible,.community a:focus-visible,.community textarea:focus-visible{outline:2px solid var(--community-accent);outline-offset:3px}
.community svg{width:19px;height:19px;flex:none;vertical-align:middle}
.community-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding:2px 0 0}
.community-kicker{display:block;font-size:10px;letter-spacing:1.6px;font-weight:650;color:var(--community-accent);margin-bottom:9px}
#participantWorkspace .community-heading h2,.community-heading h2{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:0 0 8px;color:var(--community-text)}
#participantWorkspace .community-heading p,.community-heading p{font-size:13px;margin:0;color:var(--community-muted);line-height:1.6}
.community-heading>div:first-child{min-width:0}
.community-heading-actions{display:flex;align-items:center;gap:9px;flex:none}
.community-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--community-muted);padding:7px}
.community-icon-button:hover{background:var(--community-soft);color:var(--community-text)}
.community-profile-button{display:flex;align-items:center;gap:8px;border:1px solid var(--community-line);border-radius:7px;padding:9px 12px;background:var(--community-bg);font-size:12px!important;font-weight:600;max-width:210px}
.community-profile-button span{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-unread{position:absolute;right:0;top:0;min-width:16px;height:16px;font-size:9px;line-height:16px;padding:0 3px;text-align:center;background:var(--brand-red,#d71935);color:#fff;border-radius:4px}
.community-workspace{border:1px solid var(--community-line);border-radius:11px;background:var(--community-bg);overflow:hidden;position:relative}
.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;border-bottom:1px solid var(--community-line);min-height:56px}
.community-tabs{display:flex;align-items:stretch;align-self:stretch;gap:25px;min-width:0}
.community-tabs button{position:relative;border:0;border-radius:0;background:none;padding:18px 0 17px;color:var(--community-muted);font-size:13px;font-weight:600;white-space:nowrap}
.community-tabs button[aria-selected=true]{color:var(--community-text)}
.community-tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--community-accent)}
.community-toolbar-actions{display:flex;align-items:center;gap:8px}
.community-connection{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--community-muted);white-space:nowrap}
.community-connection::before{content:'';width:5px;height:5px;background:var(--community-muted);border-radius:50%}
.community-connection.is-live::before{background:var(--theme-success-text,#1e9453)}
.community-pins{border-bottom:1px solid var(--community-line);padding:0 18px;background:var(--theme-selected,#34212b)}
.community-pins button{width:100%;display:flex;align-items:center;gap:10px;padding:10px 0;background:transparent;border:0;text-align:left;color:var(--community-muted);font-size:11px}
.community-pins button+button{border-top:1px solid var(--community-line)}
.community-pins button>svg:first-child{width:15px;height:15px;color:var(--community-accent)}
.community-pins button>svg:last-child{width:15px;height:15px;margin-left:auto}
.community-pins button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.community-pins strong{font-weight:600;color:var(--community-text);margin-right:7px}
.community-room-note{padding:10px 18px;border-bottom:1px solid var(--community-line);font-size:12px;line-height:1.6;color:var(--community-muted);background:var(--community-soft)}
.community-columns{display:grid;grid-template-columns:minmax(0,1fr);position:relative}
.has-community-thread .community-columns{grid-template-columns:minmax(0,1fr) minmax(280px,.65fr)}
.community-main{position:relative;min-width:0}
.community-feed{height:clamp(300px,49dvh,590px);height:clamp(300px,49vh,590px);overflow:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-width:thin;scrollbar-color:var(--community-line) transparent;padding:8px 0 20px}
.community-history{display:block;width:calc(100% - 40px);margin:8px 20px 12px;border:0;border-top:1px solid var(--community-line);border-bottom:1px solid var(--community-line);border-radius:0;background:none;padding:11px;color:var(--community-muted)!important;font-size:11px!important;text-align:center}
.community-history:hover{background:var(--community-soft)}
.community-message{display:flex;align-items:flex-start;gap:11px;padding:14px 20px;min-width:0;scroll-margin:16px;position:relative}
.community-message:focus{outline:0;background:var(--theme-selected,#34212b)}
.community-message:hover{background:color-mix(in srgb,var(--community-soft) 42%,transparent)}
.community-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;border-radius:10px;background:var(--theme-selected,#34212b);color:var(--community-accent);font-size:14px;font-weight:650;overflow:hidden;flex:none}
.community-avatar img{width:100%;height:100%;object-fit:cover}
.community-avatar-large{width:72px;height:72px;border-radius:18px;font-size:28px}
.community-message-content{min-width:0;flex:1}
.community-message-content>header{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;min-height:20px;margin-bottom:3px}
.community-author{border:0;background:none;padding:0;font-size:12px!important;line-height:1.5;font-weight:650;text-align:left;overflow-wrap:anywhere;color:var(--community-text)}
.community-author:hover{color:var(--community-accent)}
.community-timestamp{color:var(--community-muted);font-size:10px;text-decoration:none;opacity:.8}
.community-timestamp:hover{color:var(--community-text)}
.community-role{font-size:9px;color:var(--community-accent);font-weight:650;letter-spacing:.2px;text-transform:uppercase}
.community-trust-mark{color:var(--theme-success-text,#1e9453);font-size:11px}
.community-pin-mark svg{width:11px;height:11px;color:var(--community-accent)}
.community-update-label{font-size:9px;font-weight:550;color:var(--community-muted);border-left:1px solid var(--community-line);padding-left:8px}
.community-message-body{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:var(--community-text)}
.community-message-body a{color:var(--community-accent);text-underline-offset:3px}
.community-mention{color:var(--community-accent);font-weight:550}
.community-message-content>footer{display:flex;align-items:center;gap:13px;margin-top:8px;min-height:24px}
.community-votes{display:flex;align-items:center;gap:2px;color:var(--community-muted);font-size:10px;font-variant-numeric:tabular-nums}
.community-votes button{display:grid;place-items:center;width:24px;height:24px;border:0;padding:3px;background:none;border-radius:4px}
.community-votes button svg{width:14px;height:14px}
.community-votes button[aria-pressed=true]{color:var(--community-accent);background:var(--theme-selected,#34212b)}
.community-votes span{min-width:16px;text-align:center}
.community-reply-button{display:flex;align-items:center;gap:5px;border:0;background:none;padding:3px 0;font-size:10px!important;color:var(--community-muted)!important}
.community-reply-button svg{width:13px;height:13px}
.community-reply-button:hover{color:var(--community-accent)!important}
.community-message-more{display:flex;align-items:center;justify-content:center;width:25px;height:24px;border:0;background:none;padding:2px;color:var(--community-muted);margin-left:auto;border-radius:4px}
.community-message-more:hover{background:var(--community-soft)}
.community-message-more svg{width:16px;height:16px}
.community-tombstone{font-size:12px;font-style:italic;color:var(--community-muted);padding:6px 0 6px 45px}
.community-attachments{display:grid;gap:7px;margin-top:10px;max-width:440px}
.community-attachments.is-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.community-image{display:block;overflow:hidden;border:1px solid var(--community-line);border-radius:8px;background:var(--community-soft);max-height:350px;min-width:0}
.community-image img{display:block;width:100%;height:100%;object-fit:cover}
.community-video{display:block;width:100%;max-height:350px;border-radius:8px;background:#08080b;border:1px solid var(--community-line);object-fit:contain}
.community-audio{padding:10px;border:1px solid var(--community-line);border-radius:8px;background:var(--community-soft)}
.community-audio>span{display:block;font-size:10px;color:var(--community-muted);margin:0 0 8px}
.community-audio audio{display:block;width:100%;height:36px;min-width:0}
.community-empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:54px 25px;min-height:280px}
.community-empty>svg{width:31px;height:31px;color:var(--community-accent);margin-bottom:18px}
#participantWorkspace .community-empty h3,.community-empty h3{font-size:20px;letter-spacing:-.5px;margin:0 0 10px;color:var(--community-text)}
#participantWorkspace .community-empty p,.community-empty p{font-size:12px;line-height:1.8;max-width:340px;color:var(--community-muted);margin:0}
.community-new-messages{position:absolute;z-index:2;bottom:160px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);white-space:nowrap;background:var(--community-text);color:var(--community-bg)!important;border:1px solid var(--community-line);border-radius:7px;padding:9px 16px;font-size:11px!important;font-weight:650;box-shadow:0 4px 12px #0002}
.community-composer{margin:0;padding:14px 18px 11px;border-top:1px solid var(--community-line)!important;background:var(--community-bg);position:relative;z-index:2}
.community-composer textarea{display:block;resize:none;width:100%;min-height:57px;max-height:130px;margin:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;outline-offset:4px;color:var(--community-text);font-size:13px!important;line-height:1.6}
.community-composer textarea::placeholder{color:var(--community-muted);opacity:.75}
.community-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.community-compose-tools,.community-send-group{display:flex;align-items:center;gap:9px;min-width:0}
.community-compose-tools{gap:2px}
.community-compose-tools>.community-icon-button{width:30px;min-width:30px;height:30px;padding:5px}
.community-compose-tools>.community-text-button{font-size:19px!important;line-height:1;padding:5px 6px}
.community-char-count{font-size:9px;color:var(--community-muted);white-space:nowrap}
.community-send,.community-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--brand-red,#d71935);border-radius:7px;background:var(--brand-red,#d71935);color:#fff!important;font-size:12px!important;font-weight:600;padding:9px 14px;min-height:36px;line-height:1.3}
.community-send:hover,.community-primary:hover{background:var(--brand-red-hover,#b9142e);border-color:var(--brand-red-hover,#b9142e)}
.community-send svg{width:14px;height:14px}
.community-compose-hint{font-size:10px;color:var(--community-muted);line-height:1.6;margin-top:8px}
.community-announcement{display:flex;align-items:center;gap:5px;font-size:10px!important;white-space:nowrap;color:var(--community-muted)!important;margin-left:7px}
.community-announcement input{width:13px;height:13px;min-width:13px;margin:0}
.community-join{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--community-line);padding:20px;background:var(--community-soft)}
.community-join strong,.community-join span{display:block}
.community-join strong{font-size:13px;margin-bottom:4px}
.community-join span{font-size:11px;color:var(--community-muted);line-height:1.6}
.community-join .community-primary{white-space:nowrap}
.community-text-button{border:0;border-radius:0;background:none;color:var(--community-accent)!important;font-size:11px!important;padding:4px 0;text-align:left;text-decoration:none;font-weight:550}
.community-text-button:hover{text-decoration:underline;text-underline-offset:3px}
.community-feedback:empty{display:none}
.community-feedback{padding:10px 18px;border-top:1px solid var(--community-line);font-size:12px;line-height:1.6;color:var(--theme-success-text,#1e9453)}
.community-feedback.is-error,.community-dialog-feedback.is-error{color:var(--theme-danger-text,#ffacb9)}
.community-replying{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--community-muted);margin-bottom:10px;border-left:2px solid var(--community-accent);padding-left:9px}
.community-replying button{margin-left:auto}
.community-upload-preview{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 12px}
.community-upload-item{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--community-line);border-radius:5px;max-width:100%;font-size:10px;color:var(--community-muted)}
.community-upload-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}
.community-upload-item>svg{width:13px;height:13px}
.community-upload-item button{padding:0 4px;font-size:17px!important}
.community-upload-progress{font-size:11px;color:var(--community-muted);padding:6px}
.community-thread{border-left:1px solid var(--community-line);min-width:0;display:flex;flex-direction:column;background:var(--community-bg)}
.community-thread>header{display:flex;align-items:center;justify-content:space-between;padding:16px 15px;border-bottom:1px solid var(--community-line)}
.community-thread .community-kicker{font-size:8px;margin:0 0 5px}
#participantWorkspace .community-thread h3,.community-thread h3{font-size:17px;margin:0;letter-spacing:-.3px}
.community-thread-scroll{overflow:auto;overscroll-behavior:contain;overflow-anchor:none;min-height:0;flex:1;height:0;scrollbar-width:thin}
.community-thread-origin{display:flex;align-items:flex-start;gap:9px;padding:18px 15px;border-bottom:1px solid var(--community-line);background:var(--community-soft)}
.community-thread .community-message{padding:13px 15px;gap:8px}
.community-thread .community-avatar{width:28px;height:28px;min-width:28px;border-radius:8px;font-size:11px}
.community-thread .community-message-body{font-size:12px}
.community-thread .community-message-content>header{gap:3px 6px}
.community-thread .community-timestamp{font-size:9px}
.community-thread .community-attachments{max-width:100%}
.community-thread-reply{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px 12px;font-size:11px!important;border:0;border-top:1px solid var(--community-line);border-radius:0;color:var(--community-accent)!important;background:var(--community-bg)}
.community-thread-reply svg{width:14px;height:14px}
.community-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 48px);border:1px solid var(--community-line);border-radius:12px;background:var(--community-bg);color:var(--community-text);padding:22px;margin:auto;box-shadow:0 24px 100px #0005;overflow:auto}
.community-dialog::backdrop{background:#09090dcc;backdrop-filter:blur(3px)}
.community-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
#participantWorkspace .community-dialog h3,.community-dialog h3{font-size:21px;letter-spacing:-.5px;margin:0;color:var(--community-text)}
.community-dialog>header>.community-icon-button{margin:-5px -6px 0 0}
.community-dialog p{font-size:12px;line-height:1.8;color:var(--community-muted)}
.community-dialog h4{font-size:14px;margin:0 0 8px;color:var(--community-text)}
.community-dialog-feedback:not(:empty){padding-top:13px;font-size:12px;line-height:1.6}
.community-form{display:flex;flex-direction:column;gap:17px}
.community-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:550;color:var(--community-text)!important}
.community-form label small{font-weight:400;font-size:10px;color:var(--community-muted)}
.community-form input,.community-form textarea,.community-form select{display:block;width:100%;padding:10px 12px;border:1px solid var(--theme-border,#737384);border-radius:6px;font-size:13px;background:var(--theme-input,#131319);color:var(--community-text)}
.community-form .community-primary{align-self:flex-start;padding-inline:20px}
.community-profile-intro{display:flex;align-items:center;gap:17px;padding-bottom:16px;border-bottom:1px solid var(--community-line);margin-bottom:2px}
.community-profile-intro strong{font-size:12px}
.community-profile-intro p{font-size:11px;margin:5px 0}
.community-social-editor{border-top:1px solid var(--community-line);padding-top:12px}
.community-social-editor summary{font-size:12px;font-weight:600;cursor:pointer}
.community-social-editor label{margin-top:12px}
.community-profile-view{display:flex;align-items:center;gap:17px;margin-bottom:22px}
.community-profile-view h4{font-size:21px!important;letter-spacing:-.5px}
.community-profile-view p{margin:6px 0 0}
.community-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere}
.community-profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px 0;margin:18px 0;border-top:1px solid var(--community-line);border-bottom:1px solid var(--community-line)}
.community-profile-stats strong{display:block;font-size:15px;margin-bottom:7px}
.community-profile-stats span{font-size:10px;color:var(--community-muted)}
.community-profile-socials{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.community-profile-socials a{font-size:12px;color:var(--community-accent);text-decoration:none}
.community-trust-guide{padding:15px;background:var(--community-soft);margin-bottom:18px;border-radius:7px}
.community-trust-guide h4{font-size:13px}
.community-trust-guide p{font-size:11px;margin:6px 0 0}
.community-action-list{display:flex;flex-direction:column;gap:0}
.community-action-list button{padding:15px 0;text-align:left;border:0;border-bottom:1px solid var(--community-line);border-radius:0;background:none;font-size:13px;color:var(--community-text)}
.community-action-list button:last-child{border:0}
.community-action-list button:hover{color:var(--community-accent)}
.community-danger{color:var(--theme-danger-text,#ffacb9)!important}
.community-primary.community-danger{background:var(--theme-danger-bg,#38212b);border-color:var(--theme-danger-border,#975269)}
.community-notification{display:flex;align-items:center;gap:12px;padding:15px 8px;border-bottom:1px solid var(--community-line);text-decoration:none;color:var(--community-muted);font-size:12px;line-height:1.5}
.community-notification.is-unread{background:var(--theme-selected,#34212b)}
.community-notification>span:not(.community-avatar){flex:1}
.community-notification strong{color:var(--community-text)}
.community-notification small{display:block;margin-top:5px;font-size:10px;color:var(--community-muted)}
.community-notification>svg{width:15px;height:15px}
.community-dialog-empty{padding:30px 10px;text-align:center;font-size:13px;line-height:1.8;color:var(--community-muted)}
.community-review-tools{display:flex;align-items:center;gap:20px;padding-bottom:17px;border-bottom:1px solid var(--community-line);margin-bottom:20px}
.community-review>h4{margin-top:24px}
.community-review article{border-bottom:1px solid var(--community-line);padding:12px 0}
.community-review article strong{font-size:12px}
.community-review article p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.community-review article small{font-size:10px;color:var(--community-muted)}
.community-review article .community-text-button{display:block;margin-top:7px}
.community-review details{margin-top:22px;padding-top:16px;border-top:1px solid var(--community-line);font-size:12px}
.community-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(min-width:1100px){.community-heading{margin-bottom:23px}.community-workspace{max-width:1180px}.community-feed{height:min(52vh,610px)}.community-message{padding-inline:25px}.community-composer{padding-inline:24px}.community-columns:not(:has(.community-thread:not([hidden]))) .community-message-content{max-width:900px}}
@media(max-width:820px){.community-heading{align-items:flex-start;gap:12px;margin-bottom:17px}.community-heading-actions{gap:2px}.community-profile-button{padding:8px;border:0;background:transparent}.community-profile-button span{display:none}.community-profile-button>svg{width:19px;height:19px}.community-kicker{font-size:9px;margin-bottom:8px}#participantWorkspace .community-heading h2,.community-heading h2{font-size:24px}.community-heading p{max-width:310px}.community-workspace{border-radius:8px}.community-toolbar{padding-inline:13px;gap:8px}.community-tabs{gap:19px}.community-tabs button{font-size:12px;padding-block:16px}.community-toolbar-actions{gap:2px}.community-toolbar-actions>.community-icon-button{width:30px;min-width:30px;height:34px;padding:6px}.community-connection{font-size:10px}.community-feed{height:clamp(270px,48vh,580px);height:clamp(270px,48dvh,580px)}.community-message{padding:12px 14px;gap:9px}.community-avatar{width:31px;height:31px;min-width:31px;border-radius:9px}.community-author{font-size:12px!important}.community-message-body{font-size:13px}.community-composer{padding:13px 13px 10px}.community-compose-hint{font-size:9px}.community-char-count{font-size:9px}.community-join{padding:17px 14px;gap:12px;flex-wrap:wrap}.community-join .community-primary{font-size:11px!important}.community-pins{padding-inline:13px}.community-pins button{font-size:10px}.community-pins strong{margin-right:4px}.community-thread{position:absolute;inset:0;z-index:4;border:0;box-shadow:-8px 0 30px #0002}.has-community-thread .community-columns{grid-template-columns:minmax(0,1fr)}.community-thread-scroll{height:0}.community-thread>header{padding:14px 16px}.community-thread .community-message{padding-inline:16px}.community-thread-origin{padding:16px}.community-thread-reply{min-height:54px}.community-dialog{padding:18px;width:calc(100% - 24px);max-height:calc(100dvh - 28px)}.community-dialog>header{margin-bottom:16px}.community-profile-intro{gap:13px}.community-dialog .community-avatar-large{width:60px;height:60px;min-width:60px}.community-empty{padding:45px 20px;min-height:260px}.community-announcement{font-size:9px!important;margin-left:3px}.community-send-group{gap:7px}.community-new-messages{bottom:158px}.community-feedback{padding-inline:14px}}
@media(max-width:390px){.community-heading p{font-size:12px!important;max-width:240px}.community-heading h2{font-size:22px!important}.community-toolbar{padding-inline:10px}.community-tabs{gap:14px}.community-toolbar-actions{gap:0}.community-connection{font-size:0;gap:0;margin-right:2px}.community-connection::before{width:5px;height:5px}.community-message{padding-inline:11px;gap:8px}.community-avatar{width:27px;height:27px;min-width:27px;border-radius:8px;font-size:12px}.community-message-content>header{gap:3px 6px}.community-timestamp{font-size:9px}.community-message-body{font-size:12px}.community-char-count{display:none}.community-send{padding-inline:11px}.community-composer{padding-inline:11px}.community-attachments{gap:5px}.community-announcement{font-size:9px!important}.community-form{gap:14px}.community-profile-intro{align-items:flex-start}.community-profile-stats{gap:10px}.community-profile-stats strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.community *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* In Community the conversation is the viewport; only history scrolls. */
/* Campaign details remain on the Campaign tab; give this screen to the chat. */
body[data-participant-screen=community] #participantWorkspace > .participant-heading{display:none}
body[data-participant-screen=community] #participantWorkspace{padding-top:8px}
body[data-participant-screen=community] #participantWorkspace > .participant-nav{margin-bottom:8px}
body[data-participant-screen=community] .community-heading{margin-bottom:12px;padding-top:0;align-items:center;gap:12px}
body[data-participant-screen=community] .community-heading .community-kicker{font-size:9px;letter-spacing:1.3px;margin-bottom:5px}
body[data-participant-screen=community] #participantWorkspace .community-heading h2{font-size:20px;letter-spacing:-.4px;line-height:1.3;margin:0}
body[data-participant-screen=community] .community-heading p{display:none}
.community-workspace{display:flex;flex-direction:column;height:var(--community-workspace-height,620px);min-height:var(--community-workspace-min-height,180px)}
.community-workspace>.community-toolbar,.community-workspace>.community-pins,.community-workspace>.community-room-note,.community-workspace>.community-feedback{flex:none}
.community-columns{flex:1;min-height:0}
.community-main{display:flex;flex-direction:column;min-height:0}
.community-feed{height:auto!important;min-height:50px;flex:1}
/* Empty rooms fill the same pane without a fixed-height message creating its own scroll. */
.community-feed:has(> .community-empty:not([hidden])){display:flex;flex-direction:column;padding-block:0}
.community-feed>.community-empty{flex:1;min-height:0;padding:24px 20px}
.community-tight .community-feed>.community-empty{padding:8px 16px}
.community-tight .community-empty>:is(svg,p){display:none}
#participantWorkspace .community-tight .community-empty h3{font-size:16px;margin:0}
.community-composer,.community-join{flex:none}
.community-thread{min-height:0;overflow:hidden}
.community-thread-scroll{height:auto;flex:1}
.community-thread-origin,[data-community-thread-parent]{background:var(--community-soft);border-bottom:1px solid var(--community-line)}
.community-new-messages{bottom:150px}
.community-tight .community-toolbar{min-height:43px}
.community-tight .community-tabs button{padding-block:12px}
.community-tight .community-composer{padding-block:9px 7px}
.community-tight .community-composer textarea{min-height:36px;max-height:60px}
.community-tight .community-compose-hint{display:none}
.community-tight .community-pins button{padding-block:7px}
.community-tight .community-pins button:not(:first-child){display:none}
.community-tight .community-new-messages{bottom:104px}
@media(max-width:820px){body[data-participant-screen=community] .community-heading{margin-bottom:10px}body[data-participant-screen=community] #participantWorkspace .community-heading h2{font-size:17px!important;line-height:1.3}body[data-participant-screen=community] .community-heading .community-kicker{font-size:8px;margin-bottom:4px}.community-heading-actions>.community-icon-button,.community-heading-actions>.community-profile-button{width:34px;min-width:34px;height:34px}.community-workspace{height:var(--community-workspace-height,500px)}.community-tight .community-heading .community-kicker{display:none}.community-thread .community-thread-scroll{min-height:50px}.community-tight .community-join{padding:11px;gap:8px}.community-tight .community-join span{display:none}.community-tight .community-join strong{font-size:12px;margin:0}.community-tight .community-join .community-primary{font-size:10px!important;padding:8px}.community-thread-reply{flex:none}}
.community-report-context{padding:12px;margin:10px 0;border-left:2px solid var(--community-accent);background:var(--community-soft)}
.community-profile-restrictions{margin:18px 0;padding-top:16px;border-top:1px solid var(--community-line)}
.community-profile-restrictions article{padding:10px 0;border-bottom:1px solid var(--community-line)}
.community-profile-restrictions article p{margin:0 0 5px}.community-profile-restrictions article small{display:block;color:var(--community-muted);font-size:10px}.community-profile-restrictions article button{display:block;margin-top:5px}
.community-storage{padding:13px;margin:0 0 19px;background:var(--community-soft);border:1px solid var(--community-line);border-radius:6px}
.community-storage>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.community-storage span{color:var(--community-muted);font-size:10px}.community-storage progress{display:block;width:100%;height:5px;margin-top:10px;appearance:none;border:0;background:var(--community-line)}.community-storage progress::-webkit-progress-bar{background:var(--community-line)}.community-storage progress::-webkit-progress-value{background:var(--community-accent)}.community-storage progress::-moz-progress-bar{background:var(--community-accent)}.community-storage.is-warning{border-color:var(--theme-warning-border);background:var(--theme-warning-bg)}.community-storage p{font-size:10px;margin:9px 0 0;color:var(--theme-warning-text)!important}

/* Mobile controls keep their own geometry inside the campaign workspace. */
.community-workspace,.community-composer,.community-compose-bottom{min-width:0;max-width:100%}
.community-composer textarea{min-width:0;max-width:100%;scroll-margin-block:16px}
.community-compose-tools>.community-icon-button{flex:none}
.community-send-group{flex:none}
.community-announcement input{padding:0!important;border-radius:3px;accent-color:var(--community-accent);flex:none}
@media(max-width:820px){
 .community-composer textarea,.community-form :is(input:not([type=checkbox]):not([type=range]),textarea,select){font-size:16px!important}
 .community-composer textarea{line-height:1.45;min-height:58px}
 .community-tight .community-composer textarea{min-height:48px}
 .community-compose-bottom{gap:8px;flex-wrap:wrap}
 .community-compose-tools{gap:0;flex-wrap:wrap}
 .community-compose-tools>.community-icon-button{width:36px;min-width:36px;height:40px;padding:8px}
 .community-announcement{min-height:40px;margin-left:4px;gap:5px;font-size:11px!important}
 #participantWorkspace .community-announcement input{width:16px;height:16px;min-width:16px;min-height:16px;max-width:16px;margin:0}
 .community-send{min-height:40px;padding:9px 12px;gap:6px}
 .community-send-group{margin-left:auto}
 .community-compose-hint{font-size:11px;line-height:1.45}
}
@media(max-width:480px){
 .community-char-count{display:none}
 .community-toolbar{gap:6px;padding-inline:12px}
 .community-tabs{gap:16px}
 #participantWorkspace .community-tabs button{font-size:12px;min-height:44px;padding-block:12px}
 .community-toolbar-actions{flex:none;gap:0}
 .community-toolbar-actions>.community-icon-button{width:28px;min-width:28px;height:40px;padding:5px}
 .community-connection{font-size:0;gap:0;margin-right:6px}
 .community-connection::before{width:5px;height:5px}
 .community-composer{padding-inline:12px}
 .community-compose-hint{display:none}
}
@media(max-width:360px){
 .community-toolbar{padding-inline:10px}
 .community-tabs{gap:12px}
 .community-composer{padding-inline:10px}
 .community-announcement{font-size:10px!important;margin-left:2px}
 .community-send{padding-inline:10px}
}

.community .community-compose-hint.is-restriction{display:block}

/* Landscape and short windows keep the message controls on one row. */
@media(max-height:600px){
 body[data-participant-screen=community] .community-heading{margin-bottom:4px}
}
@media(max-height:500px) and (min-width:600px){
 body.participant-workspace[data-participant-screen=community] > .wrap > .nav{height:44px;min-height:0}
 body[data-participant-screen=community] .nav .brand img{width:66px}
 body[data-participant-screen=community] .sandbox{padding-block:3px;margin-top:0}
 body[data-participant-screen=community] #participantWorkspace{position:relative}
 body[data-participant-screen=community] #participantWorkspace > .participant-nav{margin-right:110px}
 body[data-participant-screen=community] .community-heading{position:absolute;top:8px;right:0;margin:0}
 body[data-participant-screen=community] .community-heading>div:first-child{display:none}
 body[data-participant-screen=community] .community-profile-button span{display:none}
 .community-tight .community-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px}
 .community-tight .community-composer textarea{height:44px;min-height:44px;max-height:44px}
 .community-tight .community-compose-bottom{margin:0;gap:8px;flex-wrap:nowrap}
 .community-tight .community-composer>:is(.community-replying,.community-upload-preview,.community-compose-hint){grid-column:1/-1}
 .community-tight .community-char-count{display:none}
}
@media(max-height:500px) and (min-width:600px) and (max-width:820px){
 body.participant-workspace[data-participant-screen=community]{padding-bottom:0;padding-right:68px}
 body[data-participant-screen=community] .app-bottom-nav{inset:0 0 0 auto;width:68px;grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr));min-height:0;padding:4px;border-top:0;border-left:1px solid var(--theme-line)}
 body[data-participant-screen=community] .app-bottom-nav>:is(a,button){min-height:44px}
}

/* Attachments stay above the composer without pushing Send below the viewport. */
.community-upload-preview{position:absolute;bottom:100%;inset-inline:0;display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;overscroll-behavior:contain;max-height:126px;padding:10px 12px;background:var(--community-bg);border-top:1px solid var(--community-line);scrollbar-width:thin}
.community-upload-card{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px;flex:0 0 210px;min-width:0;margin:0;padding:8px 32px 8px 8px;border:1px solid var(--community-line);border-radius:7px;background:var(--community-soft)}
.community-upload-card>img,.community-upload-placeholder{display:block;width:64px;height:64px;object-fit:contain;border-radius:4px;background:var(--community-bg)}
.community-upload-placeholder{display:grid;place-items:center}
.community-upload-card figcaption{min-width:0;font-size:10px;line-height:1.45}
.community-upload-card figcaption strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:550}
.community-upload-card figcaption span{display:block;margin-top:4px;color:var(--community-muted);overflow-wrap:anywhere}
.community-upload-card.is-error{border-color:var(--theme-danger-text,#ffacb9)}
.community-upload-card.is-error figcaption span{color:var(--theme-danger-text,#ffacb9)}
.community-upload-remove{position:absolute;top:0;right:0;width:32px;height:32px;background:transparent;border:0;font-size:23px!important;line-height:1}
.community-upload-card>.community-text-button{grid-column:1/-1;padding:0}
.community-gif-label{font-size:10px;font-weight:750;letter-spacing:-.4px;border:1.5px solid currentColor;border-radius:3px;padding:2px;line-height:1}
.community-gif-search{display:flex;gap:8px}
.community-gif-search input{min-width:0;flex:1;background:var(--community-soft);color:var(--community-text);border:1px solid var(--community-line);font-size:16px!important;padding:10px 12px;border-radius:6px}
.community-gif-topics{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0}
.community-gif-status{min-height:20px;margin:10px 0!important}
.community-gif-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.community-gif-grid button{display:block;min-width:0;padding:0;overflow:hidden;border:0;border-radius:6px;background:var(--community-soft);aspect-ratio:4/3}
.community-gif-grid img{display:block;width:100%;height:100%;object-fit:cover}
.community-gif-grid button:hover{outline:2px solid var(--community-accent);outline-offset:2px}
.community-gif-attribution{display:block;margin:0 0 10px;font-size:11px;font-weight:650;text-align:right;color:var(--community-muted)}
.community-gif-message{max-width:440px;min-height:50px;border-radius:7px;overflow:hidden}
.community-gif-message img{display:block;max-width:100%;width:auto;height:auto;max-height:350px;object-fit:contain;border-radius:7px}
.community-gif-message small{display:block;font-size:9px;margin-top:4px;color:var(--community-muted)}

.community-gif-attribution img{display:inline-block;width:144px;height:16px;background:#121212;box-sizing:content-box;padding:7px;border-radius:3px}

/* Focus is reliable even when iOS resizes both viewport measurements equally. */
@media(max-width:820px){
 body[data-participant-screen=community]:has([data-community-compose]:focus-within){padding-bottom:0}
 body[data-participant-screen=community]:has([data-community-compose]:focus-within) .app-bottom-nav{visibility:hidden;pointer-events:none}
}
@media(max-width:820px) and (min-width:600px) and (max-height:500px){
 body[data-participant-screen=community]:has([data-community-compose]:focus-within){padding-right:0}
}

/* Community dialogs share a calm shell, anchored actions and one scrolling pane. */
.community-dialog[open]{display:flex;flex-direction:column;width:min(560px,calc(100% - 48px));max-height:min(800px,calc(100dvh - 48px));padding:0;overflow:hidden;border-radius:16px;box-shadow:0 24px 90px #0006}
.community-dialog[data-dialog-kind=profile-edit]{width:min(640px,calc(100% - 48px))}
.community-dialog[data-dialog-kind=moderation]{width:min(720px,calc(100% - 48px))}
.community-dialog>header{flex:none;margin:0;padding:22px 24px 18px;gap:12px}
.community-dialog-heading{flex:1;min-width:0}
#participantWorkspace .community-dialog h3{font-size:23px;line-height:1.25;letter-spacing:-.6px;overflow-wrap:anywhere}
.community-dialog-heading>p{margin:6px 0 0;line-height:1.5;font-size:12px}
.community-dialog>header>.community-icon-button{margin:0;width:40px;height:40px;min-width:40px;border-radius:50%;background:var(--community-soft)}
.community-dialog-back svg{transform:rotate(180deg)}
.community-dialog>[data-community-dialog-body]{flex:0 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 24px;scrollbar-width:thin;scrollbar-color:var(--community-line) transparent}
.community-dialog-actions{display:flex;flex:none;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid var(--community-line);background:var(--community-bg)}
.community-dialog-actions>button{min-height:44px;padding:10px 20px;font-size:13px!important}
.community-secondary{border:1px solid var(--community-line);border-radius:6px;background:transparent;color:var(--community-text)}
.community-secondary:hover{background:var(--community-soft)}
.community-dialog>.community-dialog-feedback:not(:empty){flex:none;max-height:88px;overflow:auto;margin:0;padding:12px 24px;border-top:1px solid var(--community-line)}
.community-form{gap:20px}
.community-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.community-form label{min-width:0;font-size:12px;gap:8px}
.community-form label small{font-size:11px;line-height:1.5}
.community-form :is(input,textarea,select){min-width:0;min-height:44px;padding:11px 12px;border-color:var(--community-line);border-radius:7px;font-size:14px;line-height:1.5}
.community-form textarea{resize:vertical}
.community-form :is(input,textarea,select):focus-visible{outline:2px solid var(--community-accent);outline-offset:2px}
.community-profile-intro{gap:16px;align-items:flex-start;margin:0;padding:16px;border:0;border-radius:9px;background:var(--community-soft)}
.community-profile-intro>div{min-width:0}
.community-profile-intro small{display:block;font-size:10px;color:var(--community-muted);line-height:1.5}
.community-profile-intro .community-text-button{min-height:32px;padding:4px 0}
.community-social-editor{border-top:1px solid var(--community-line);padding-top:4px}
.community-social-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:46px;font-size:13px;font-weight:600;list-style:none}
.community-social-editor>summary::after{content:'+';font-size:20px;color:var(--community-muted)}
.community-social-editor[open]>summary::after{content:'−'}
.community-social-editor>summary::-webkit-details-marker,.community-review-group>summary::-webkit-details-marker{display:none}
.community-field-note{margin-left:auto;font-weight:400;font-size:11px;color:var(--community-muted)}
.community-social-editor>p{margin:0 0 16px;font-size:11px}
.community-profile-view{margin:4px 0 20px}
.community-profile-view>div{min-width:0;overflow-wrap:anywhere}
.community-profile-stats{gap:16px}
.community-trust-guide{padding:16px;background:var(--community-soft);border-radius:9px}
.community-trust-guide p:last-child{margin-bottom:0}
.community-message-context{display:flex;align-items:flex-start;gap:12px;padding:14px;background:var(--community-soft);border:1px solid var(--community-line);border-radius:9px;margin-bottom:12px}
.community-message-context>div{min-width:0;flex:1}
.community-message-context strong{font-size:12px}
.community-message-context p{margin:5px 0 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
.community-message-context small{display:block;margin-top:6px;color:var(--community-muted);font-size:10px}
.community-action-row{display:flex;align-items:center;gap:13px;width:100%;min-height:72px;padding:13px 0;text-align:left;border:0;border-bottom:1px solid var(--community-line);border-radius:0;background:transparent}
.community-action-row:hover{background:var(--community-soft)}
.community-action-symbol{display:grid;place-items:center;width:38px;height:38px;flex:none;color:var(--community-muted)}
.community-action-row>span:nth-child(2){flex:1;min-width:0}
.community-action-row strong{display:block;font-size:13px;font-weight:600}
.community-action-row small{display:block;color:var(--community-muted);font-size:11px;line-height:1.5;margin-top:4px}
.community-action-row>svg{width:15px;height:15px;color:var(--community-muted)}
.community-action-row.community-danger{color:var(--theme-danger-text,#ffacb9)}
.community-action-row.community-danger .community-action-symbol{color:inherit}
.community-action-section-label{margin-top:20px;font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--community-muted)}
.community-dialog-empty{padding:34px 10px 40px}
.community-dialog-empty>svg{width:36px;height:36px;margin-bottom:16px;color:var(--community-accent)}
.community-dialog-empty p{max-width:300px;margin:8px auto 0;line-height:1.65}
.community-notification{min-height:76px;align-items:center;padding:14px 4px;gap:12px}
.community-notification>span:not(.community-avatar){min-width:0;flex:1;line-height:1.6}
.community-notification>svg{width:15px;height:15px;color:var(--community-muted)}
.community-review-tools{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 20px;padding:0;border:0}
.community-review .community-review-group{margin:0;padding:0;border-top:1px solid var(--community-line)}
.community-review-group>summary{display:flex;align-items:center;gap:12px;min-height:58px;cursor:pointer;list-style:none;font-size:13px;font-weight:600}
.community-review-count{margin-left:auto;font-size:12px;font-weight:400;color:var(--community-muted)}
.community-review-group>summary>svg{width:15px;height:15px;transform:rotate(90deg);color:var(--community-muted)}
.community-review-group[open]>summary>svg{transform:rotate(-90deg)}
.community-review-group-body>article{padding:16px 0;margin:0;border:0;border-top:1px solid var(--community-line);background:transparent}
.community-review-group-body>article>strong{font-size:13px}
.community-review-group-body>article>small{display:block;font-size:10px;color:var(--community-muted)}
.community-review-group-body .community-text-button{min-height:40px;display:inline-flex;align-items:center;gap:8px;margin-right:14px}
.community-review-group-body .community-text-button>svg{width:14px;height:14px}
.community-review-group-body .community-attachments{margin-bottom:12px}
.community-review-empty{margin:0 0 18px}
@media(max-width:820px){
 #participantWorkspace .community-dialog[open]{inset:auto 0 var(--drawer-viewport-bottom,0px);width:100%;max-width:100%;height:auto;max-height:calc(var(--drawer-viewport-height,100dvh) - max(20px,env(safe-area-inset-top,0px)));margin:0;padding:0;border-radius:22px 22px 0 0;border-bottom:0}
 .community-dialog>header{padding:0 18px 14px;touch-action:none;user-select:none}
 #participantWorkspace .community-dialog h3{font-size:21px}
 .community-dialog>[data-community-dialog-body]{padding:0 18px max(20px,env(safe-area-inset-bottom,0px))}
 .community-dialog:has(.community-dialog-actions:not([hidden]))>[data-community-dialog-body]{padding-bottom:20px}
 .community-dialog-actions{padding:12px 18px max(14px,env(safe-area-inset-bottom,0px))}
 .community-dialog-actions>button{flex:1;padding-inline:12px}
 .community-dialog>.community-dialog-feedback:not(:empty){padding-inline:18px}
 .community-review-tools{grid-template-columns:1fr;gap:0}
}
@media(max-width:520px){.community-form-grid{grid-template-columns:1fr;gap:18px}}

/* GIF picker: fixed search controls and a separate, scrollable gallery. */
.community-dialog.is-gif-picker[open]{display:flex;flex-direction:column;width:min(680px,calc(100% - 48px));height:min(740px,calc(100dvh - 64px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;border-radius:16px;box-shadow:0 24px 90px #0006}
.community-dialog.is-gif-picker>header{flex:none;margin:0;padding:22px 24px 14px;gap:16px}
#participantWorkspace .community-dialog.is-gif-picker h3{font-size:23px;letter-spacing:-.6px;line-height:1.25}
.community-dialog.is-gif-picker>header>.community-icon-button{margin:0;width:36px;height:36px;min-width:36px;border-radius:50%;background:var(--community-soft)}
.community-dialog.is-gif-picker>[data-community-dialog-body]{padding:0;display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.community-gif-controls{flex:none;padding:0 24px}
.community .community-gif-search{display:flex;align-items:center;gap:0;min-height:52px;padding:4px 5px 4px 14px;border:1px solid var(--community-line);border-radius:10px;background:var(--community-soft);transition:border-color .15s,box-shadow .15s}
.community .community-gif-search:focus-within{border-color:var(--community-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--community-accent) 16%,transparent)}
.community-gif-search-symbol{display:flex;align-items:center;color:var(--community-muted);flex:none;margin-right:10px}
#participantWorkspace .community-gif-search input,.community .community-gif-search input{flex:1;width:0;min-width:0;min-height:42px;padding:8px 0;margin:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;outline:none!important;font-size:16px!important;line-height:1.4;color:var(--community-text);appearance:none}
.community-gif-search input::placeholder{color:var(--community-muted);opacity:.85}
.community-gif-search input::-webkit-search-cancel-button{display:none}
.community .community-gif-search :is(.community-gif-clear,.community-gif-submit){display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--community-muted)}
.community .community-gif-search .community-gif-submit{background:var(--community-bg);color:var(--community-text);margin-left:3px}
.community .community-gif-search button:hover{color:var(--community-accent);background:var(--theme-selected)}
.community-gif-topics{flex-wrap:nowrap;gap:20px;margin:12px 0 5px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:2px;-webkit-overflow-scrolling:touch}
.community-gif-topics>.community-text-button{flex:none;min-height:34px;padding:4px 0!important;font-size:12px!important;color:var(--community-muted)!important;text-decoration:none;border-bottom:2px solid transparent}
.community-gif-topics>.community-text-button[aria-pressed=true]{color:var(--community-text)!important;border-bottom-color:var(--community-accent)}
.community-gif-results-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:5px 0 12px}
.community-dialog .community-gif-status{flex:1;min-width:0;min-height:0;margin:0!important;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.community-gif-attribution{flex:none;margin:0;line-height:0}
.community-gif-attribution img{width:108px;height:12px;padding:4px;border-radius:2px}
.community-gif-results-scroll{flex:1;min-height:0;padding:0 24px 24px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--community-line) transparent;scroll-padding:8px}
.community-gif-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.community-gif-grid button{aspect-ratio:1.18;border-radius:7px}
.community-gif-results-scroll>[data-community-action=more-gifs]{display:block;width:100%;min-height:44px;text-align:center;margin-top:12px;border-top:1px solid var(--community-line)}
.community-dialog.is-gif-picker>.community-dialog-feedback:not(:empty){flex:none;max-height:80px;overflow:auto;margin:0;padding:10px 24px;border-top:1px solid var(--community-line)}
@media(max-width:820px){
 #participantWorkspace .community-dialog.is-gif-picker[open]{inset:auto 0 var(--drawer-viewport-bottom,0px);width:100%;height:min(760px,88dvh);max-height:calc(var(--drawer-viewport-height,100dvh) - max(20px,env(safe-area-inset-top,0px)));margin:0;padding:0;border-radius:22px 22px 0 0;border-bottom:0}
 .community-dialog.is-gif-picker>header{padding:0 18px 12px;touch-action:none;user-select:none}
 #participantWorkspace .community-dialog.is-gif-picker h3{font-size:22px}
 .community-gif-controls{padding-inline:18px}
 .community-gif-results-scroll{padding:0 18px max(18px,env(safe-area-inset-bottom,0px))}
 .community-gif-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .community-gif-topics{gap:22px;margin-top:8px}
 .community-dialog.is-gif-picker>.community-dialog-feedback:not(:empty){padding-inline:18px}
}
@media(max-width:820px) and (max-height:500px){
 .community-dialog.is-gif-picker>header{padding-bottom:6px}
 .community-gif-topics{margin-block:2px}
 .community-gif-topics>.community-text-button{min-height:28px}
 .community-gif-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
