.header-actions{flex-wrap:nowrap}.hihihi-language-menu{appearance:none;flex:none;width:36px;min-width:36px;height:40px;padding:0;border:0;border-radius:8px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%235f687a' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c5 5 5 13 0 18M12 3c-5 5-5 13 0 18'/%3E%3C/svg%3E") center no-repeat;color:transparent;font-size:0;cursor:pointer}.hihihi-language-menu option{color:var(--ink,#182033);background:var(--surface,#fff);font-size:14px}.hihihi-language-menu:focus-visible{outline:3px solid rgb(36 139 137 / 35%);outline-offset:2px}@media(max-width:560px){.app-header{column-gap:4px;padding-left:10px;padding-right:10px}.header-actions{gap:0}.header-actions .button-small{padding-left:8px;padding-right:8px}.header-actions .r866-display-button{font-size:0;min-width:36px;padding:0}.header-actions .r866-display-button:before{content:"⛶";font-size:20px}.wordmark,.screen-heading h1{font-size:14px}.screen-heading{min-width:0}}.hihihi-header-account-icon{display:none}@media(max-width:560px){html body #app-header.app-header{column-gap:4px;padding-left:6px;padding-right:6px}#app-header .header-actions{flex:none;gap:0}#app-header .wordmark{font-size:14px}.header-actions #header-account-button{font-size:0;min-width:36px;width:36px;padding:0}.header-actions #header-account-button .hihihi-header-account-icon{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.header-actions #header-publish-button{font-size:13px;min-width:36px;padding-left:4px;padding-right:4px}#app-header .screen-heading h1{font-size:14px}html body #app-header.app-header:has(#screen-back-button:not([hidden])){column-gap:3px;padding-left:4px;padding-right:4px}#app-header:has(#screen-back-button:not([hidden])) .header-actions #header-publish-button{padding-left:2px;padding-right:2px}#app-header:has(#screen-back-button:not([hidden])) .screen-heading h1:before{content:none}}.work-card-catalog .work-card-copy>.reviewed-tags{display:flex;gap:5px;min-width:0;white-space:nowrap;overflow:hidden;color:var(--muted,#61736b);font-size:12px}.reviewed-tags>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.reviewed-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.reviewed-card-menu{position:absolute;right:8px;top:8px;min-width:32px;min-height:32px;border:1px solid #dbe3de;border-radius:9px;background:#fffffff0;color:#173b2b;font-size:20px;cursor:pointer}.reviewed-own-feedback{padding:8px 12px;display:grid;gap:7px;border-top:1px solid var(--line,#e1e7e3);font-size:13px}.reviewed-own-feedback .status-pill{justify-self:start}.reviewed-muted{font-size:12px;color:var(--muted,#62716a)}.reviewed-feedback-summary{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.reviewed-full-feedback{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.reviewed-module{color:var(--ink,#173629);font-family:inherit;font-size:14px}.reviewed-module [hidden]{display:none!important}.reviewed-module input,.reviewed-module select,.reviewed-module textarea,.reviewed-module button{font:inherit}.reviewed-module button{min-height:36px;cursor:pointer;border:1px solid #d3dfd7;border-radius:8px;padding:7px 11px;background:#fff;color:#234c38}.reviewed-module button:disabled{opacity:.5;cursor:default}.reviewed-module button.primary{background:#286847;color:#fff;border-color:#286847}.reviewed-module button.danger{color:#963d27}.reviewed-module input,.reviewed-module select,.reviewed-module textarea{box-sizing:border-box;width:100%;border:1px solid #cad8cf;border-radius:8px;padding:9px;background:#fff;color:#173629}.reviewed-module textarea{min-height:92px;resize:vertical}.reviewed-module label{display:grid;gap:6px;font-weight:500}.reviewed-module input[type=checkbox]{width:auto}.reviewed-module h2{font-size:19px;margin:0}.reviewed-module h3{font-size:15px;margin:8px 0}.reviewed-form{display:grid;gap:13px}.reviewed-form fieldset{margin:0;padding:0;border:0}.reviewed-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reviewed-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.reviewed-notice{padding:10px 12px;border-radius:8px;background:#f2f6f3;line-height:1.5}.reviewed-notice.warning{background:#fff3db;color:#785621}.reviewed-preview{display:block;max-width:180px;max-height:110px;object-fit:contain}.reviewed-list{display:grid;gap:8px}.reviewed-row{text-align:left;display:grid;gap:4px}.reviewed-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:14px}.reviewed-admin-layout{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,1.5fr);gap:18px}.reviewed-detail{min-width:0}.reviewed-detail dl{display:grid;grid-template-columns:auto 1fr;gap:7px 12px}.reviewed-detail dt{color:#64776b}.reviewed-detail dd{margin:0;overflow-wrap:anywhere}.reviewed-module :focus-visible,.reviewed-card-menu:focus-visible{outline:3px solid #9ac9aa;outline-offset:2px}@media(max-width:600px){.reviewed-pair,.reviewed-admin-layout{grid-template-columns:1fr}.reviewed-form{gap:11px}}.reviewed-module .reviewed-check{display:flex;align-items:center;gap:8px}.reviewed-module input[type=checkbox]{width:18px;height:18px;min-width:18px;min-height:18px;padding:0;margin:0;flex:none}.reviewed-tag-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#admin-content[data-reviewed-active=true] #overview-view,#admin-content[data-reviewed-active=true] #reports-view,#admin-content[data-reviewed-active=true] #refresh-view{display:none!important}#reviewed-admin-slot>.reviewed-toolbar{justify-content:flex-end}#reviewed-admin-slot>.reviewed-toolbar>h2{display:none}.reviewed-test-context{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.reviewed-test-context h3{width:100%}.reviewed-test-context table{display:block;max-width:100%;overflow:auto;font-size:12px}.reviewed-test-context td,.reviewed-test-context th{padding:6px;white-space:nowrap}.reviewed-admin-cover{margin:16px 0}.reviewed-admin-cover img{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:12px;background:var(--surface,#f5f7fa)}.reviewed-admin-cover figcaption{margin-top:6px}[data-personal-profile-mounted]>:not(summary):not([data-personal-profile-root]){display:none!important}.personal-profile-form{display:grid;gap:10px;padding:10px 0}.personal-profile-form label{display:grid;gap:4px;font-size:13px}.personal-profile-form input,.personal-profile-form textarea,.personal-profile-form select,.personal-tag-search input,.personal-tag-search select{box-sizing:border-box;min-width:0;width:100%;font:inherit;padding:8px;border:1px solid var(--line,#d9dce3);border-radius:8px;background:var(--surface,#fff);color:inherit}.personal-profile-form textarea{resize:vertical;min-height:72px}.personal-profile-form .personal-profile-choice{display:flex;align-items:center;gap:8px}.personal-profile-choice input{width:auto}.personal-profile-actions{display:flex;gap:8px;flex-wrap:wrap}.personal-profile-note{font-size:12px;line-height:1.5;margin:0;color:var(--muted,#656b76)}.personal-profile-status{font-size:13px;margin:4px 0;min-height:1.5em}.personal-tag-search{margin:10px 0}.personal-tag-search form{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr) auto;gap:6px}.personal-tag-results{display:grid;gap:0}.personal-person-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line,#d9dce3)}.personal-person-row>div{min-width:0;flex:1}.personal-person-name{background:none;border:0;padding:4px 0;color:inherit;font:inherit;font-weight:600;text-align:start}.personal-person-tags{font-size:12px;color:var(--muted,#656b76);display:flex;flex-wrap:wrap;gap:4px}.personal-person-tags button{background:none;border:0;color:inherit;padding:2px;font:inherit}.personal-person-tags mark{background:var(--surface-tint,#e8efff);color:inherit}.personal-person-card{box-sizing:border-box;width:min(420px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:16px;border:1px solid var(--line,#d9dce3);border-radius:12px;color:inherit;background:var(--surface,#fff)}.personal-person-card::backdrop{background:#0005}.personal-person-card header{display:flex;align-items:center;justify-content:space-between}.personal-person-card h3{margin:0;font-size:16px}.personal-person-card p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.personal-person-card dl{font-size:13px;line-height:1.6}.personal-person-card dd{margin:0 0 8px}.r929-message button.r929-avatar[data-person-card-open]{padding:0;border:0;color:inherit;cursor:pointer;font-size:0}.r929-avatar[data-person-card-open]:focus-visible{outline:2px solid currentColor;outline-offset:2px}.reviewed-catalog-toolbar{justify-content:flex-end;gap:8px;margin:0;min-width:0}.reviewed-catalog-toolbar select{width:auto;max-width:150px;min-width:96px;min-height:44px;padding:8px 28px 8px 10px;font:inherit;font-size:13px}.reviewed-catalog-toolbar button{flex:none;white-space:nowrap;min-height:44px}.reviewed-catalog-toolbar button[hidden]{display:none!important}.reviewed-catalog-toolbar :focus-visible{outline:3px solid var(--secondary,#5165d8);outline-offset:2px}.reviewed-catalog-status{margin:0;font-size:12px;line-height:1.5}.reviewed-catalog-status[data-quiet=true]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#screen-catalog:has(>.reviewed-catalog-toolbar){row-gap:8px}.app-header>.reviewed-catalog-toolbar{display:none;order:2;flex:none}.app-shell:has(#screen-catalog:not([hidden])) .app-header>.reviewed-catalog-toolbar{display:flex}

.tc-actions{display:flex;align-items:center;gap:4px;flex:none;position:relative;margin-inline-start:auto}.tc-actions[hidden],.tc-menu[hidden]{display:none!important}.tc-actions .tc-icon,.tc-search-tail button{appearance:none;min-width:44px;min-height:44px;width:44px;height:44px;flex:none;padding:10px;border:1px solid var(--line,#dce2eb);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#182033);cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:center}.tc-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tc-icon:focus-visible,.tc-search-tail button:focus-visible,.tc-menu button:focus-visible{outline:2px solid var(--secondary,#117f88);outline-offset:2px}.tc-icon:disabled{opacity:.5;cursor:default}.tc-icon[data-active=true]:after{content:"";position:absolute;inset:5px 5px auto auto;width:6px;height:6px;border-radius:50%;background:var(--secondary,#117f88)}.tc-sort-label{position:absolute;bottom:1px;right:3px;font:600 9px/11px system-ui;background:var(--surface,#fff);padding-inline:1px}.tc-search.tc-collapsed{display:none!important}.tc-search:not(.tc-collapsed){margin-block:8px;min-width:0;flex-wrap:wrap;gap:6px}.tc-search input{min-width:0!important;min-height:44px!important;font-size:16px!important}.tc-search button{min-height:44px;min-width:44px}.tc-search-tail{display:flex;align-items:center;gap:6px;flex:1 0 100%;min-width:0}.tc-search-tail small{flex:1;color:var(--muted,#667085);font-size:12px;line-height:1.4}.tc-search-tail button{width:auto;padding:6px 10px;font:inherit;font-size:12px}.tc-original-action{display:none!important}#friend-manager-r925.tc-friend-entry:not([open])>summary{display:none}.tc-menu{position:absolute;inset:calc(100% + 5px) 0 auto auto;z-index:70;width:180px;max-width:calc(100vw - 24px);padding:5px;border:1px solid var(--line,#dce2eb);border-radius:10px;background:var(--surface,#fff);box-shadow:0 8px 24px #0002}.tc-menu button{display:block;width:100%;min-height:44px;text-align:start;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;cursor:pointer}.tc-menu [aria-checked=true]{font-weight:700;background:var(--secondary-soft,#e8f6f5)}.tc-catalog #header-publish-button,.tc-catalog .reviewed-catalog-toolbar{display:none!important}.screen-heading-row>.screen-heading{min-width:0}.screen-heading-row:has(.tc-actions:not([hidden])){gap:8px}.tc-actions+.tc-menu{flex:none}.tc-catalog-search{display:flex;align-items:center;gap:6px;max-width:100%;box-sizing:border-box}.tc-catalog-search>input{flex:1;min-width:0;border:1px solid var(--line,#dce2eb);border-radius:10px;padding:10px;background:var(--surface,#fff);color:var(--ink,#182033)}.tc-catalog-search>button{border:1px solid var(--line,#dce2eb);border-radius:10px;padding:8px 12px;background:var(--surface,#fff);color:var(--ink,#182033)}.tc-catalog-search.tc-search:not(.tc-collapsed){flex-wrap:nowrap}.tc-catalog-search>button{display:none}.tc-catalog-search>.tc-search-tail{display:contents}.tc-catalog-search .tc-search-tail small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.tc-catalog-search .tc-search-tail button{width:44px;padding:6px 2px}.tc-catalog-search input::-webkit-search-cancel-button{display:none}

.ct-tabs{display:flex!important;align-items:center;gap:2px!important;flex:none;margin:0!important;padding:0!important;border:0!important;background:none!important}.ct-tabs button{appearance:none!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--muted,#667085)!important;min-width:44px!important;min-height:44px!important;padding:10px 8px!important;position:relative;white-space:nowrap;font:600 14px/20px system-ui!important}.ct-tabs button[aria-selected=true]{color:var(--ink,#182033)!important}.ct-tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:0;left:8px;right:8px;height:3px;border-radius:3px;background:var(--secondary,#117f88)}.ct-tabs button:focus-visible,.ct-more button:focus-visible,.ct-more select:focus-visible{outline:2px solid var(--secondary,#117f88);outline-offset:-2px}.ct-tabs button[hidden]{display:none!important}.ct-chat-list .screen-heading-row>.screen-heading{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.ct-chat-list .screen-heading-row{gap:4px!important;min-width:0}.ct-chat-list #hihihi-language{min-width:44px!important}.ct-more{position:relative;flex:none}.ct-more[hidden],.ct-more-panel[hidden]{display:none!important}.ct-more-button{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:10px;background:var(--surface,#fff);color:var(--ink,#182033);border:1px solid var(--line,#dce2eb);border-radius:10px;cursor:pointer}.ct-more-button svg{width:22px;height:22px;fill:currentColor}.ct-more-panel{position:absolute;right:0;top:calc(100% + 5px);width:220px;max-width:calc(100vw - 24px);z-index:85;display:flex;flex-direction:column;gap:6px;padding:8px;background:var(--surface,#fff);border:1px solid var(--line,#dce2eb);border-radius:12px;box-shadow:0 8px 24px #0002}.ct-language-label{font:600 12px/16px system-ui;color:var(--muted,#667085);padding:2px 3px 0}.ct-more-panel button,.ct-more-panel select{width:100%!important;max-width:none!important;min-height:44px!important;min-width:44px!important;height:auto!important;font:500 14px/20px system-ui!important;text-align:start;padding:10px!important;color:var(--ink,#182033)!important;background:var(--surface,#fff)!important;border:1px solid var(--line,#dce2eb)!important;border-radius:8px!important}.ct-more-panel button[hidden]{display:none!important}.ct-more-panel #header-account-button span{display:inline!important}.ct-more-panel #header-account-button svg{width:20px;height:20px;margin-right:8px}@media(max-width:600px){.ct-chat-compact #app-header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;padding-inline:8px!important;overflow:visible!important}.ct-chat-compact #app-header .brand-row{order:2;flex:none!important;margin:0!important;padding:0!important}.ct-chat-compact #app-header .brand-row>.wordmark{display:none!important}.ct-chat-compact #app-header .header-actions{gap:0!important;flex:none!important}.ct-chat-compact #app-header .screen-heading-row{order:1;flex:1 1 auto!important;min-width:0;width:auto!important}.ct-chat-compact #app-header .screen-heading-row>.tc-actions{margin-left:auto;gap:0!important}.ct-chat-compact [data-tc-add]{display:none!important}.ct-chat-compact #app-header .header-actions [data-r866-display-control=header]{width:auto!important;max-width:none!important;min-width:76px!important;min-height:44px!important;padding:8px 7px!important;gap:4px!important;font-size:12px!important;white-space:nowrap!important}.ct-chat-compact #app-header .header-actions [data-r866-display-control=header]:before{width:14px;height:14px;flex-basis:14px}.ct-chat-compact #screen-chat-r925{touch-action:pan-y}}@media(max-width:360px){.ct-chat-compact #app-header .header-actions [data-r866-display-control=header]{width:44px!important;min-width:44px!important;max-width:44px!important;padding:10px!important;font-size:0!important;gap:0!important}.ct-chat-compact #app-header .header-actions [data-r866-display-control=header]:before{width:22px;height:22px;flex-basis:22px}}



#community-group-list .community-group-card{position:relative}
#community-group-list .community-group-card:has(.r936-group-menu)>.community-group-heading{padding-right:44px}
#community-group-list .r936-member-group-actions{margin-top:10px}
#community-group-list .r936-group-menu{position:absolute;right:10px;top:10px;z-index:2;margin:0}
#community-group-list .r936-group-menu>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;border:1px solid transparent;border-radius:10px;font-size:25px;line-height:1;color:var(--muted,#52617a);cursor:pointer}
#community-group-list .r936-group-menu>summary::-webkit-details-marker{display:none}
#community-group-list .r936-group-menu>summary:hover{background:var(--secondary-soft,#e8f6f5)}
#community-group-list .r936-group-menu>summary:focus-visible,#community-group-list .r936-group-menu button:focus-visible{outline:2px solid var(--secondary,#117f88);outline-offset:2px}
#community-group-list .r936-group-menu-items{position:absolute;right:0;top:46px;min-width:156px;max-width:calc(100vw - 56px);padding:4px;border:1px solid var(--line,#dce2eb);border-radius:12px;background:var(--surface,#fff);box-shadow:0 4px 16px #18203316}
#community-group-list .r936-group-menu-items button{display:block;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--danger,#ae3131);font:inherit;text-align:start;cursor:pointer;white-space:nowrap}
#community-group-list .r936-group-menu-items button:hover{background:var(--danger-soft,#fff0ed)}
#community-group-list .r936-leave-confirmation[hidden]{display:none!important}
#community-group-list .r936-leave-confirmation{margin-top:10px;padding-top:10px;border-top:1px solid var(--line,#dce2eb)}
#community-group-list .r936-leave-confirmation p{margin:0 0 8px;font-weight:600;color:var(--ink,#182033)}
#community-group-list .r936-leave-confirmation>div{display:flex;flex-wrap:wrap;gap:8px}
#community-group-list .r936-leave-confirmation button{min-height:44px;width:auto;max-width:100%;white-space:normal}
#community-group-list .r936-leave-confirmation [data-community-group-action=leave]{color:var(--danger,#ae3131)}

#screen-chat-r925:has(#community-groups-panel:not([hidden])){row-gap:8px}
#screen-chat-r925:has(#community-groups-panel:not([hidden]))>#chat-tabs-r925{margin-bottom:0}
#screen-chat-r925 #community-groups-search{margin-top:0}
#community-group-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--feed-gap,12px);align-items:start;margin-top:12px}
#community-group-list>.community-group-action{grid-column:1/-1}
#community-group-list .r936-cover-group{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0;overflow:visible;border:1px solid var(--line,#e3e6ed);border-radius:var(--radius-card,14px);box-shadow:none;background:var(--surface,#fff)}
#community-group-list .r936-cover-group:has(.r936-group-menu[open]){z-index:3}
#community-group-list .r936-group-card-body{display:grid;gap:5px;padding:8px;min-width:0}
#community-group-list .r936-group-cover{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:var(--content-card-aspect,4/3);padding:12px;flex-direction:column;justify-content:flex-end;align-items:stretch;text-align:start;border:0;border-radius:10px;background:radial-gradient(circle at 92% 8%,#ffffffa8 0 20%,transparent 21%),linear-gradient(140deg,#f0edff,#dce8ff);color:#3e4777;overflow:hidden}
#community-group-list .r936-group-cover:disabled{cursor:default;opacity:.7}
#community-group-list .r936-group-cover-fallback{display:-webkit-box;min-width:0;font-size:clamp(15px,2vw,18px);line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#community-group-list .r936-group-cover-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
#community-group-list .r936-group-cover-image[hidden]{display:none!important}
#community-group-list .r936-cover-group .community-group-heading{display:block;padding:3px 3px 0;min-width:0}
#community-group-list .r936-cover-group .community-group-heading h3{display:block;margin:0;overflow:hidden;font-size:13px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
#community-group-list .r936-cover-group .r936-group-description{display:block;min-width:0;margin:0;padding:0 3px;overflow:hidden;font-size:11px;line-height:1.45;color:var(--soft,#5f687a);text-overflow:ellipsis;white-space:nowrap}
#community-group-list .r936-cover-group .community-group-tags{display:flex;gap:5px;min-width:0;height:18px;margin:0;padding:0 3px;overflow:hidden;white-space:nowrap}
#community-group-list .r936-cover-group .community-group-tags>span{display:block;min-width:0;max-width:100%;padding:1px 5px;overflow:hidden;border-radius:5px;background:#f2f0fb;color:#656080;font-size:10px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}
#community-group-list .r936-group-card-footer{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;min-width:0;min-height:44px;padding:0 9px;border-top:1px solid var(--line,#e3e6ed)}
#community-group-list .r936-group-count{flex:0 0 auto;max-width:100%;overflow:hidden;font-size:11px;line-height:1.4;color:var(--soft,#5f687a);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis}
#community-group-list .r936-group-card-entry{flex:1;min-width:0}
#community-group-list .r936-group-card-entry>.community-group-action,#community-group-list .r936-group-card-entry .r936-member-group-actions>.community-group-action{display:flex;align-items:center;justify-content:flex-end;min-height:44px;width:100%;padding:4px 0;border:0;background:transparent;color:var(--secondary,#248b89);font-size:12px;font-weight:750;white-space:nowrap}
#community-group-list .r936-group-card-entry .r936-member-group-actions{margin:0}
#community-group-list .r936-cover-group .r936-group-menu{top:10px;right:10px}
#community-group-list .r936-cover-group .r936-group-menu>summary{background:#ffffffec;box-shadow:0 1px 4px #1820330d;color:#454d66}
#community-group-list .r936-cover-group .r936-group-menu-items{min-width:128px;max-width:calc(100vw - 32px)}
#community-group-list .r936-group-card-footer:has(.r936-leave-confirmation:not([hidden])),#community-group-list .r936-group-card-footer:has(.community-group-detail){align-items:flex-start}
#community-group-list .r936-group-card-footer:has(.r936-leave-confirmation:not([hidden])) .r936-group-card-entry,#community-group-list .r936-group-card-footer:has(.community-group-detail) .r936-group-card-entry{flex-basis:100%}
#community-group-list .r936-group-card-footer:has(.community-group-detail) .r936-group-count{padding-top:8px}
#community-group-list .r936-cover-group .r936-leave-confirmation{margin:0 0 9px;padding-top:8px}
#community-group-list .r936-cover-group .r936-leave-confirmation>div{gap:4px}
#community-group-list .r936-cover-group .r936-leave-confirmation button{font-size:12px;padding-inline:5px}
#community-group-list .r936-cover-group .community-group-detail{min-width:0;font-size:12px;padding:10px 0;margin:0}
@media(min-width:700px){#community-group-list{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}}

.r936-cover-dialog{box-sizing:border-box;width:min(460px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:16px;border:1px solid var(--line,#dce2eb);border-radius:18px;background:var(--surface,#fff);color:var(--ink,#182033);overflow:auto;font:inherit}
.r936-cover-dialog::backdrop{background:#14202d66}
.r936-cover-dialog [hidden]{display:none!important}
.r936-cover-dialog header{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:0}
.r936-cover-dialog h2{display:block;margin:0;font-size:18px;line-height:1.4;flex:1;min-width:0}
.r936-cover-dialog button{box-sizing:border-box;min-width:44px;min-height:44px;margin:0;border:1px solid var(--line,#dce2eb);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#182033);padding:10px 12px;font:inherit;font-size:14px;line-height:1.4;cursor:pointer}
.r936-cover-dialog button:disabled{opacity:.55;cursor:default}
.r936-cover-dialog button[data-cover-action=close]{padding:4px;font-size:25px;border:0;background:transparent}
.r936-cover-dialog .r936-cover-preview{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#e7f2ef,#e2e7f5);margin-bottom:12px;display:flex;align-items:center;justify-content:center}
.r936-cover-dialog .r936-cover-preview strong{font-size:23px;font-weight:700;padding:20px;overflow-wrap:anywhere;text-align:center;line-height:1.35}
.r936-cover-dialog .r936-cover-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.r936-cover-dialog .r936-cover-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.r936-cover-dialog .r936-cover-row button{flex:1}
.r936-cover-dialog .r936-cover-file-name{margin:8px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted,#52617a)}
.r936-cover-dialog .r936-cover-hint{font-size:12px;line-height:1.5;color:var(--muted,#52617a);margin:8px 0 12px}
.r936-cover-dialog .r936-cover-status{font-size:13px;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}
.r936-cover-dialog .r936-cover-primary{background:var(--accent,#ee5e4d);border-color:transparent;color:#fff;font-weight:600}
.r936-cover-dialog .r936-cover-danger{color:var(--danger,#ae3131);border-color:transparent;background:var(--danger-soft,#fff0ed)}
.r936-cover-dialog .r936-cover-confirm{margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#dce2eb)}
.r936-cover-dialog .r936-cover-confirm p{font-size:14px;line-height:1.5;margin:0 0 10px}
.r936-cover-dialog :focus-visible{outline:3px solid var(--secondary,#248b89);outline-offset:2px}
#community-group-list .r936-group-menu-items [data-cover-open]{color:var(--ink,#182033)}
.r936-cover-create-note{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted,#52617a)}

#community-groups-search.r936-create-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center}
.r936-create-toolbar>button{padding-inline:10px;white-space:nowrap;min-height:36px}
.r936-group-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line,#d7dfdc);border-radius:18px;background:var(--panel,#fff);color:var(--ink,#18302c);padding:20px}
.r936-group-dialog::backdrop{background:#10231e80}
.r936-group-dialog h2{font-size:18px;margin:0 0 14px}.r936-group-dialog form{display:flex;flex-wrap:wrap;gap:10px}
.r936-group-dialog label,.r936-group-dialog form>p,.r936-group-dialog form>div{flex-basis:100%;margin:0;line-height:1.5;font-size:13px}
.r936-group-dialog label>span{display:block;margin-bottom:4px}.r936-group-dialog input:not([type=checkbox]):not([type=radio]),.r936-group-dialog textarea{box-sizing:border-box;width:100%;padding:9px;border:1px solid var(--line,#cedad6);border-radius:8px;font:inherit;color:inherit;background:var(--panel,#fff)}
.r936-group-dialog input[type=checkbox],.r936-group-dialog input[type=radio]{width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;margin:3px 0 0;padding:0}
.r936-group-dialog [role=status]:empty{display:none}.r936-group-dialog [hidden]{display:none!important}.r936-group-dialog button{min-height:36px}.r936-group-dialog label:has(input[type=checkbox]){display:flex;gap:7px;align-items:flex-start}.r936-group-dialog label:has(input[type=radio]){display:flex;gap:8px;align-items:center;padding-block:4px}
@media(max-width:340px){.r936-create-toolbar>button{padding-inline:8px;font-size:12px}#community-groups-search.r936-create-toolbar{gap:4px}.r936-group-dialog{padding:15px}}

.r936-group-dialog select{box-sizing:border-box;min-height:44px;width:100%;padding:9px;border:1px solid var(--line,#cedad6);border-radius:8px;font:inherit;color:inherit;background:var(--surface,#fff)}
.r936-group-dialog button,.r936-create-toolbar>button{min-height:44px}
.r936-group-dialog input:not([type=checkbox]):not([type=radio]){min-height:44px}
.r936-group-dialog .button-primary{background:var(--accent,#ee5e4d);color:#fff}
.r936-group-dialog :focus-visible{outline:3px solid var(--secondary,#248b89);outline-offset:2px}
.r936-group-dialog label:has(input[type=checkbox]){min-height:44px;align-items:center}
.r936-group-dialog label:has(input[type=checkbox])>span{flex:1;margin:0}
.r936-group-dialog input[type=checkbox]{min-height:18px!important;max-height:18px!important;margin:0}
.creation-details-r936{border-top:1px solid var(--border,#ddd);margin-top:0;padding:1rem;min-width:0}
.creation-creator-r936{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.creation-creator-r936>div{display:grid;gap:.15rem;min-width:0;flex:1}.creation-creator-r936 strong{overflow-wrap:anywhere}.creation-avatar-r936{width:2.75rem;height:2.75rem;border-radius:50%;display:grid;place-items:center;background:var(--surface-soft,#eee);font-weight:700;flex:none}.creation-description-r936{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.creation-details-r936 button{min-height:44px}.site-host,.site-fallback-note,#detail-content h2,#detail-content p{overflow-wrap:anywhere;word-break:normal;min-width:0}#detail-content,.creation-details-r936{max-width:100%;box-sizing:border-box}.reviewed-form textarea[name=description]{min-height:8rem;resize:vertical}

#app-header .tc-actions{order:4;margin-inline-start:auto}#app-header>.r866-display-status,#app-header #app-status{order:5}.forum-search.tc-search #forum-sort{display:none}.tc-menu button[hidden]{display:none!important}@media(max-width:360px){#app-header .header-actions [data-r866-display-control=header]{width:44px!important;min-width:44px!important;max-width:44px!important;padding:10px!important;font-size:0!important;gap:0!important}#app-header .header-actions [data-r866-display-control=header]:before{width:22px;height:22px;flex-basis:22px}}@media(max-width:600px){.ct-chat-compact #app-header .ct-tabs{order:1}.ct-chat-compact #app-header .ct-tabs button{padding-inline:4px!important}.ct-chat-compact #app-header .tc-actions{order:2}.ct-chat-compact #app-header .header-actions{margin-left:0!important}.ct-chat-compact #app-header .ct-more{order:4}.ct-chat-compact #app-header [data-tc-add]:not([hidden]){display:inline-flex!important}.ct-chat-compact #app-header .ct-add{display:none!important}.ct-chat-compact #app-header .header-actions [data-r866-display-control=header]{width:44px!important;min-width:44px!important;max-width:44px!important;padding:10px!important;font-size:0!important;gap:0!important}.ct-chat-compact #app-header .header-actions [data-r866-display-control=header]:before{width:22px;height:22px;flex-basis:22px}}


    #private-social-panel .r936-friends-heading{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.5rem 0}
    #private-social-presence-form.r936-compact{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0}
    #private-social-presence-form.r936-compact label{font-size:.85rem}#private-social-presence-form.r936-compact select{width:auto;max-width:10rem}
    .r936-presence{font-size:.8rem;color:var(--muted,#667085);margin-inline-start:.5rem;white-space:nowrap}
    .private-social-friend-r925>button{display:flex;align-items:center;gap:.65rem;min-height:60px;width:100%;text-align:start;border:0;border-radius:0;background:transparent;padding:.55rem .2rem}.r936-friend-initial{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--surface-secondary,#edf0f3);font-weight:600}.r936-friend-name{flex:1;min-width:0;overflow-wrap:anywhere}.private-social-friend-r925+.private-social-friend-r925{border-top:1px solid var(--line,#e9ecef)}#friend-search-row-r925{display:flex;gap:.4rem;align-items:center}#friend-search-row-r925 input{flex:1;min-width:0}#friend-manager-r925>summary{font-weight:600}
    #private-social-panel details{margin-block:.6rem}#friend-manager-r925 .social-discovery-heading{display:none}#private-social-panel summary,.personal-profile-form summary{cursor:pointer;min-height:44px;display:list-item;padding:.5rem .2rem}
    #r936-own-code code{display:block;overflow-wrap:anywhere;white-space:normal}#r936-own-code{font-size:.875rem}
    #private-social-requests-section:not([hidden])>summary{font-weight:650}
    .r936-tag-list{display:flex;gap:.35rem;flex-wrap:wrap;margin:.35rem 0}.r936-tag-chip{display:inline-flex;align-items:center;gap:.3rem;border-radius:1rem;background:var(--surface-secondary,#f1f3f5);padding:0 .4rem 0 .7rem;max-width:100%;overflow-wrap:anywhere}
    .r936-tag-chip button{min-width:44px;min-height:44px;border:0;background:transparent}.r936-tag-entry{display:flex;gap:.35rem;flex-wrap:wrap}.r936-tag-entry input{flex:1;min-width:6rem;width:0}
    .r936-tag-entry button{min-height:44px;min-width:44px;padding:.4rem .6rem}.r936-tag-editor [role=status]:empty{display:none}
    .r936-tag-editor small{font-size:.8rem;color:var(--muted,#667085)}.r936-tag-editor [role=status]{font-size:.85rem}.personal-profile-form details{border:0;padding:0}.personal-profile-form input[type=checkbox]{min-width:20px;min-height:20px}
    .r936-tag-editor button:focus-visible,#private-social-panel summary:focus-visible,.personal-profile-form summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
    #mine-profile-r925>summary.r936-me-header{display:flex;align-items:center;gap:.75rem;min-height:64px;padding:.65rem 0;cursor:pointer;list-style:none}#mine-profile-r925>summary.r936-me-header::-webkit-details-marker{display:none}
    .r936-me-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--surface-secondary,#edf0f3);font-size:20px;font-weight:600}.r936-me-name{min-width:0;flex:1;overflow-wrap:anywhere}.r936-me-edit{font-size:.85rem;font-weight:400;white-space:nowrap}.r936-me-header:focus-visible{outline:2px solid currentColor;outline-offset:3px}#r936-me-account>summary{min-height:44px;cursor:pointer;padding:.6rem 0}
    @media(max-width:420px){.r936-friends-heading{align-items:flex-start}#private-social-presence-form.r936-compact{width:100%}.r936-tag-entry input{font-size:16px}}
/* Same controls and DOM. Override only the inherited compact-header conflicts. */
#private-social-panel .r936-friends-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;margin:0}
#private-social-panel .r936-friends-heading #private-social-friends-title{position:static;clip:auto;clip-path:none;overflow:visible;width:auto;height:auto;margin:0;font-size:16px;line-height:1.4;font-weight:700}
#private-social-panel #private-social-presence-form.r936-compact{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;width:auto;margin:0;min-width:0;justify-self:end}
#private-social-panel #private-social-presence-form.r936-compact label{position:absolute;clip-path:inset(50%);overflow:hidden;width:1px;height:1px;padding:0;margin:-1px;flex:none;white-space:nowrap}
#private-social-panel #private-social-presence-form.r936-compact select{width:100px;max-width:100px;min-width:0;flex:0 0 100px;min-height:44px;padding:8px 10px;font-size:13px}
#private-social-panel #private-social-presence-form.r936-compact button{width:auto;flex:none;min-height:44px;padding:8px 10px;white-space:nowrap;font-size:12px}
#private-social-panel .r936-friends-heading #r936-own-code{grid-column:1/-1;justify-self:start;max-width:100%;margin:0;font-size:12px;color:var(--secondary,#117f88)}
#private-social-panel #r936-own-code>summary{min-height:44px;padding:10px 0;line-height:24px}
#private-social-panel #friend-manager-r925,#private-social-panel #r936-friend-management{margin:0}
#private-social-panel #friend-manager-r925>summary,#private-social-panel #r936-friend-management>summary{padding:10px 0;min-height:44px}
#private-social-panel #friend-manager-r925 .social-discovery{border:0;border-radius:0;background:transparent;padding:0;gap:12px}
#private-social-panel .private-social-friend-r925>button{padding:8px 2px;min-height:60px}
#private-social-panel .private-social-friend-r925>button:focus-visible{outline:2px solid var(--secondary,#117f88);outline-offset:-2px;border-radius:8px}
#mine-profile-r925 .r936-me-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#mine-profile-r925 .personal-profile-form{gap:12px;padding-bottom:4px}
#mine-profile-r925 .personal-profile-form>label{font-size:13px;font-weight:600;gap:6px}
#mine-profile-r925 .personal-profile-form input:not([type=checkbox]):not([type=hidden]),#mine-profile-r925 .personal-profile-form select{min-height:44px;font-size:16px}
#mine-profile-r925 .r936-tag-editor{margin-top:-6px;min-width:0}
#mine-profile-r925 .r936-tag-list{margin:0 0 6px;gap:6px}
#mine-profile-r925 .r936-tag-chip{font-size:13px;background:var(--secondary-soft,#e8f6f5);color:var(--ink,#182033)}
#mine-profile-r925 .r936-tag-entry{flex-wrap:nowrap;gap:6px}
#mine-profile-r925 .r936-tag-entry input{min-width:0;flex:1 1 0;width:0}
#mine-profile-r925 [data-personal-profile-root] button:not(.button-primary),#r936-tag-discovery button{appearance:none;min-height:44px;min-width:44px;padding:8px 12px;border:1px solid var(--line,#dce2eb);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#182033);font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer;box-shadow:none}
#mine-profile-r925 .r936-tag-entry button{flex:none}
#mine-profile-r925 [data-personal-profile-root] .r936-tag-chip button{width:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:transparent;font-size:18px;font-weight:400}
#mine-profile-r925 [data-personal-profile-root] button:not(.button-primary):hover:not(:disabled),#r936-tag-discovery button:hover:not(:disabled){background:var(--secondary-soft,#e8f6f5);border-color:var(--secondary,#117f88)}
#mine-profile-r925 [data-personal-profile-root] button:disabled,#r936-tag-discovery button:disabled{cursor:default;opacity:.55}
#mine-profile-r925 [data-personal-profile-root] button:focus-visible,#r936-tag-discovery button:focus-visible{outline:2px solid var(--secondary,#117f88);outline-offset:2px}
#mine-profile-r925 .personal-profile-form .personal-profile-choice{font-weight:400;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5}
#mine-profile-r925 .personal-profile-choice input{flex:none;margin-top:1px;accent-color:var(--secondary,#117f88)}
#mine-profile-r925 .personal-profile-actions{gap:8px;align-items:center}
#mine-profile-r925 .personal-profile-form details{margin:0}
#mine-profile-r925 .personal-profile-form summary{min-height:44px;padding:10px 0;font-size:13px;font-weight:600;line-height:24px}

    

#community-group-chat-state[data-r909-status="compact"] {
  display:block; box-sizing:border-box; height:auto; min-height:0;
  margin:0; padding:0; border:0; border-radius:0; background:transparent;
  color:var(--soft, #536176); overflow:hidden;
}
#community-group-chat-state[data-r909-status="compact"] .state-icon { display:none; }
#community-group-chat-state[data-r909-status="compact"] h3 {
  margin:0; font:inherit; font-size:12px; line-height:24px; font-weight:400;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#community-group-chat-state[data-r909-status="compact"] [data-state-description] {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
#community-group-chat-state[data-r909-quiet="true"] { visibility:hidden; }
#community-group-chat-notice { min-height:0; margin:0; padding:0; background:transparent; line-height:24px; }
#community-group-chat-notice:empty { display:none; }
#community-group-chat-send-status { min-height:0; margin:0; padding:0; background:transparent; line-height:24px; }
#community-group-chat-send-status:empty { display:none; }

[data-r908-chrome-hidden]{display:none!important}
#mine-account-r835.r936-mine-account-wrap{flex-wrap:wrap}#mine-account-r835>.r936-mine-account-copy{min-width:0;flex:1;overflow-wrap:anywhere}

@media(max-width:600px){.ct-forum-compact #app-header{flex-wrap:nowrap!important;gap:4px!important;padding-inline:8px!important}.ct-forum-compact #app-header .wordmark{display:none!important}.ct-forum-compact #app-header .screen-heading{order:1;flex:1;min-width:0}.ct-forum-compact #app-header .screen-heading h1{font-size:14px}.ct-forum-compact #app-header .screen-heading h1:before{content:none}.ct-forum-compact #app-header .tc-actions{order:2;gap:0;margin-inline-start:auto}.ct-forum-compact #app-header .header-actions{order:3;margin-left:0;gap:0}.ct-forum-compact #app-header .ct-more{order:4}.ct-forum-compact #app-header .header-actions [data-r866-display-control=header]{width:44px!important;min-width:44px!important;max-width:44px!important;padding:10px!important;font-size:0!important;gap:0!important}.ct-forum-compact #app-header .header-actions [data-r866-display-control=header]:before{width:22px;height:22px;flex-basis:22px}.ct-forum-compact #app-header .ct-add{display:none!important}}



.r936-public-avatar-image{width:100%;height:100%;object-fit:cover;border-radius:inherit}.r936-personal-avatar-controls{display:grid;gap:8px;margin:12px 0}.r936-person-card-avatar{display:inline-flex;width:48px;height:48px;border-radius:50%;overflow:hidden}

#hihihi-scroll-top-r936{position:fixed;z-index:35;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;display:grid;place-items:center;border:1px solid var(--line,#cbd5e1);border-radius:50%;background:var(--surface,#fff);color:var(--ink,#172b32);font:600 23px/1 system-ui,sans-serif;box-shadow:0 2px 8px #0002;cursor:pointer;touch-action:manipulation;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}#hihihi-scroll-top-r936[hidden]{display:none!important}#hihihi-scroll-top-r936:focus-visible{outline:3px solid #087b8a;outline-offset:3px}@media(max-width:767px){#app-shell:has(#main-content[data-r936-bounded-list]){height:var(--r868-safe-height,100dvh);min-height:0;overflow:hidden}#main-content[data-r936-bounded-list]{flex:1 1 0%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding-bottom:calc(30px + env(safe-area-inset-bottom))}#app-shell:has(#main-content[data-r936-bounded-list])>#app-header,#app-shell:has(#main-content[data-r936-bounded-list])>#bottom-nav{flex-shrink:0}}#mobile-read-feedback-r936{position:fixed;z-index:34;left:50%;transform:translate(-50%);max-width:calc(100vw - 32px);padding:8px 14px;border:1px solid var(--line,#dce2eb);border-radius:20px;background:var(--surface,#fff);color:var(--ink,#172b32);font:500 13px/20px system-ui;box-shadow:0 2px 8px #0002;pointer-events:none}#mobile-read-feedback-r936[hidden]{display:none!important}@media(max-width:767px){#main-content[data-r936-bounded-list]{position:relative}}

.person-report-r936{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:16px;overflow:auto;border:1px solid var(--line,#d7dce3);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#17202a);font:inherit;overscroll-behavior:contain}.person-report-r936::backdrop{background:rgba(0,0,0,.3)}.person-report-r936 header{display:flex;align-items:center;justify-content:space-between;gap:8px}.person-report-r936 h3{font-size:1.05rem;margin:0;overflow-wrap:anywhere}.person-report-r936 p{font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}.person-report-r936 fieldset{display:grid;gap:12px;border:0;padding:0;margin:0;min-width:0}.person-report-r936 label{display:grid;gap:6px}.person-report-r936 select,.person-report-r936 textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:8px;border:1px solid var(--line,#aeb8c4);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit}.person-report-r936 textarea{resize:vertical}.person-report-r936 .person-report-consent-r936{display:flex;align-items:center;gap:8px;min-height:44px}.person-report-r936 input[type=checkbox]{flex:0 0 22px;width:22px;height:22px}.person-report-r936 button,.person-report-entry-r936{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line,#aeb8c4);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer}.person-report-r936 button:disabled{cursor:default;opacity:.6}.person-report-actions-r936{display:flex;flex-wrap:wrap;gap:8px}.person-report-entry-r936{margin-top:8px}.person-report-r936 :focus-visible,.person-report-entry-r936:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:2px}.person-report-r936 [hidden]{display:none!important}

/* Me only: native flows and controls retain their handlers. */
#screen-mine{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;font-size:14px;line-height:1.5;color:var(--ink,#172033)}
#screen-mine button,#screen-mine input,#screen-mine select,#screen-mine textarea,#screen-mine summary{font-family:inherit;font-size:inherit;line-height:1.4}
#screen-mine h2,#screen-mine h3,#screen-mine p{overflow-wrap:anywhere}
#screen-mine #mine-profile-r925{margin:0;padding:0;border:0}
#screen-mine #mine-profile-r925>summary.r936-me-header{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;min-height:88px;list-style:none;border:1px solid var(--line,#e3e7ed);border-radius:14px;background:var(--surface,#fff);color:inherit;cursor:pointer}
#screen-mine summary::-webkit-details-marker{display:none}#screen-mine summary{list-style:none}
#screen-mine .r936-me-avatar{display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:50%;background:#edf1f6;color:#556477;font-size:22px;font-weight:650;overflow:hidden}
#screen-mine .r936-me-avatar img{width:100%;height:100%;object-fit:cover}
#screen-mine .r936-me-avatar[data-me-unknown]::before{content:"";width:27px;height:27px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' d='M16 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") center/contain no-repeat}
#screen-mine .r936-me-name{font-size:20px;font-weight:650;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere}
#screen-mine .r936-me-name::after{content:attr(data-me-caption);display:block;margin-top:5px;font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted,#657184)}
#screen-mine .r936-me-edit{display:flex;align-items:center;justify-content:center;min-height:44px;max-width:110px;padding:0 13px;border:1px solid var(--line,#dce2e9);border-radius:10px;background:var(--surface,#fff);font-size:13px;font-weight:600;text-align:center}
#mine-profile-r925>[data-personal-profile-root]{padding:12px 0 0;max-width:680px}
#screen-mine button{min-height:44px;border:1px solid var(--line,#dce2e9);border-radius:9px;padding:9px 13px;background:var(--surface,#fff);color:inherit;cursor:pointer;font-weight:550}
#screen-mine button:disabled{opacity:.48;cursor:default}#screen-mine :is(button,summary,input,select,textarea):focus-visible{outline:2px solid #4d78bd;outline-offset:3px}
#screen-mine .personal-profile-form{gap:10px;padding:8px 0 0}#screen-mine .personal-profile-form>label{font-size:13px;font-weight:550;gap:7px}
#screen-mine .personal-profile-form :is(input:not([type=checkbox]):not([type=hidden]),textarea,select){min-height:44px;padding:10px 12px;background:var(--surface,#fff);border:1px solid var(--line,#dce2e9);border-radius:9px;font-weight:400}
#screen-mine .personal-profile-form .personal-profile-choice{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;line-height:1.5;padding:5px 0}
#screen-mine .personal-profile-choice input[type=checkbox]{width:18px;height:18px;flex:none;margin:1px 0 0;accent-color:#355f99}
#screen-mine .personal-profile-form details{border-top:1px solid var(--line,#e3e7ed);padding-top:8px}
#screen-mine .personal-profile-form details>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:14px;font-weight:600;cursor:pointer}
#screen-mine .personal-profile-form details>summary::after,#r936-me-account>summary::after{content:"";width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(-45deg);margin:0 5px 0 15px;flex:none;opacity:.65}
#screen-mine .personal-profile-form details[open]>summary::after,#r936-me-account[open]>summary::after{transform:rotate(45deg)}
#screen-mine .personal-profile-actions{padding-top:8px;gap:8px}#screen-mine .personal-profile-actions button[type=submit]{background:#0c737a;color:#fff;border-color:#0c737a}
#screen-mine .r936-tag-entry{gap:8px}#screen-mine .personal-profile-note,#screen-mine .personal-profile-status{font-size:13px;line-height:1.5;color:var(--muted,#657184)}
#screen-mine #mine-works-r932{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:4px;margin:0;padding:12px 16px 16px;border:1px solid var(--line,#e3e7ed);border-radius:14px;background:var(--surface,#fff)}
#mine-works-heading-r932{grid-column:1;grid-row:1;margin:0;font-size:16px;font-weight:650;line-height:1.35}
#reviewed-mine-slot{display:contents}#reviewed-mine-slot>.reviewed-toolbar{grid-column:2;grid-row:1;margin:0;padding:0;display:flex}
#reviewed-mine-slot>.reviewed-toolbar button{font-size:12px;max-width:140px;min-height:44px;padding:7px 10px}
#screen-mine #mine-works-r932>.creator-rights-note{grid-column:1/-1;grid-row:2;display:block;margin:0;padding:0;border:0;background:none;color:var(--muted,#657184);font-size:12px;line-height:1.55}
#screen-mine #mine-works-r932>.creator-rights-note .notice-icon{display:none}#screen-mine #mine-works-r932>.creator-rights-note :is(strong,small){display:inline;font:inherit;color:inherit}
#reviewed-mine-slot>.reviewed-muted{grid-column:1/-1;grid-row:3;margin:2px 0 0;font-size:13px;line-height:1.5;color:var(--muted,#657184)}
#reviewed-mine-slot>ul{grid-column:1/-1;grid-row:4;margin:6px 0 0;padding:0;min-width:0}#reviewed-mine-slot>ul:empty{display:none}
#reviewed-mine-slot>.me-empty-actions{grid-column:1/-1;grid-row:4;margin:0}#screen-mine .me-empty-actions button{background:#0c737a;border-color:#0c737a;color:#fff}
#reviewed-mine-slot>button{grid-column:1/-1;grid-row:5;justify-self:start;margin-top:12px}
#mine-works-r932>.state-card,#mine-works-r932>.management-scope,#mine-retry-button{grid-column:1/-1}
#r936-me-account{border:1px solid var(--line,#e3e7ed);border-radius:14px;background:var(--surface,#fff);margin:0;padding:0 16px}#r936-me-account>summary{display:flex;align-items:center;min-height:54px;padding:0;font-size:16px;font-weight:650;cursor:pointer}
#r936-me-account>summary::after{margin-left:auto}#r936-me-account .r936-mine-account-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;padding:12px 0 16px;background:none;border:0;border-top:1px solid var(--line,#e3e7ed)}
#r936-me-account .r936-mine-account-copy{display:grid;gap:4px;flex:1;min-width:140px}#r936-me-account .r936-mine-account-copy strong{font-size:13px;font-weight:550}#r936-me-account .r936-mine-account-copy small{font-size:13px;color:var(--muted,#657184)}
@media(max-width:360px){#screen-mine #mine-profile-r925>summary.r936-me-header{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:12px}#screen-mine .r936-me-avatar{width:44px;height:44px}#screen-mine .r936-me-name{font-size:18px}#screen-mine .r936-me-edit{max-width:85px;padding:0 10px;font-size:12px}#mine-works-r932{column-gap:8px}#reviewed-mine-slot>.reviewed-toolbar button{max-width:110px}}

#r936-me-account .r936-mine-account-wrap{border-radius:0;color:inherit}#r936-me-account .r936-mine-account-copy strong,#r936-me-account button{color:inherit}

#r936-me-account>summary::before{display:none;content:none}
#screen-mine .personal-profile-status:empty{display:none}
#screen-mine .r936-personal-avatar-controls .personal-profile-note,#screen-mine .r936-personal-avatar-controls .personal-profile-status{margin:6px 0}
#screen-mine .r936-personal-avatar-controls .personal-profile-actions{padding-top:0}
#screen-mine .r936-tag-editor>p:empty{display:none}

#r936-me-account #mine-account-r834,#r936-me-account #mine-account-r835{margin:0;padding:12px 0 16px;border:0;border-top:1px solid var(--line,#e3e7ed);border-radius:0;background:none;color:inherit;flex-wrap:wrap}
#r936-me-account .creator-rights-note strong,#r936-me-account .creator-rights-note small{font-size:13px;color:inherit}

/* compact-feed-spacing-r936 */
#forum-list-view:has(>.forum-search.tc-search)>.section-intro{display:contents}#forum-list-view>.forum-search.tc-search:not(.tc-collapsed){grid-column:1 / -1;margin-block:0}#main-content:has(>#screen-forum:not([hidden]) #forum-list-view:not([hidden])),html.ct-chat-list #main-content{padding-top:12px}#community-group-directory:has(>#community-groups-search.tc-collapsed):has(>#community-groups-state[hidden]):has(>#community-groups-auth[hidden])>.community-group-list{margin-top:0}#community-group-directory>.community-group-read-actions:not(:has(button:not([hidden]))){display:none}@media(max-width:600px){#main-content:has(>#screen-forum:not([hidden]) #forum-list-view:not([hidden])),html.ct-chat-list #main-content{padding-top:10px}}

/* R940: one mobile content grid; App dimensions remain host-owned. */
@media(max-width:767px){
#app-shell{border-radius:0;border:0;box-shadow:none}
#main-content{padding-inline:0}
#main-content>.screen{min-width:0}
#screen-catalog .content-feed,#forum-list,#community-group-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;align-items:start;background:var(--page,#f3f4f5)}
#screen-catalog .work-card-catalog,#forum-list .forum-thread-card,#community-group-list .r936-cover-group{border:0;border-radius:6px;box-shadow:none;min-width:0;outline:0;background:var(--surface,#fff)}
#screen-catalog .work-card-main,#forum-list .forum-thread-open,#community-group-list .r936-group-card-body{padding:0;gap:0}
#screen-catalog .work-card-cover,#forum-list .forum-catalog-cover,#community-group-list .r936-group-cover{width:100%;height:auto;min-width:0;min-height:0;aspect-ratio:4/3;border-radius:6px 6px 0 0;overflow:hidden}
#screen-catalog .work-card-copy,#forum-list .forum-thread-copy{padding:8px;min-height:0}
#community-group-list .r936-cover-group :is(.community-group-heading,.r936-group-description,.community-group-tags){padding-inline:8px}
#community-group-list .r936-cover-group .community-group-heading{padding-top:8px}
#community-group-list .r936-cover-group .community-group-tags{height:24px;padding-block:2px}
#community-group-list .r936-cover-group .community-group-tags>span{font-size:12px;line-height:18px}
#screen-catalog .work-card-catalog-actions{padding-inline:7px;gap:4px;flex-wrap:wrap}
#screen-catalog .work-card-catalog-actions .text-button{font-size:12px;min-height:44px}
#app-shell #app-header [data-r866-display-control=header]{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px;min-height:44px!important;padding:10px!important;gap:0!important;font-size:0!important}
#app-shell #app-header [data-r866-display-control=header]:before{width:22px;height:22px;flex-basis:22px}
#screen-chat-r925:has(.r929-chat:not([hidden])){padding-inline:8px}
#screen-chat-r925 .r929-chat{min-width:0;width:100%}
#screen-chat-r925:not(:has(.r929-chat:not([hidden])))>#chat-tabs-r925,#forum-state,#screen-catalog>.reviewed-catalog-status,#community-group-state{margin-inline:8px}
}


@media(max-width:767px){#app-shell[data-r940-chrome]>#app-header,#app-shell[data-r940-chrome]>#bottom-nav{transition:transform .18s ease;will-change:transform}#app-shell[data-r940-chrome=hidden]>#app-header{transform:translateY(-110%)}#app-shell[data-r940-chrome=hidden]>#bottom-nav{transform:translateY(110%)}#app-shell[data-r940-chrome=visible]>#app-header,#app-shell[data-r940-chrome=visible]>#bottom-nav{transform:translateY(0)}#main-content{overscroll-behavior-x:contain}#mobile-motion-preview-r940{position:fixed;z-index:19;pointer-events:none;overflow:hidden;background:var(--surface,#fff);color:var(--ink,#172b32);contain:strict}#mobile-motion-preview-r940 .r940-preview-title{padding:18px 16px;font:600 18px/1.4 system-ui,sans-serif}#mobile-motion-preview-r940 button,#mobile-motion-preview-r940 input,#mobile-motion-preview-r940 textarea{pointer-events:none}#mobile-motion-preview-r940,#mobile-motion-preview-r940 *{background-image:none!important}}@media(prefers-reduced-motion:reduce){#app-shell[data-r940-chrome]>#app-header,#app-shell[data-r940-chrome]>#bottom-nav,[data-r940-motion]{transition:none!important}}

.composer-r940 .sheet-surface{max-width:600px}.composer-r940 .sheet-header .eyebrow,.composer-r940 .sheet-header h2,.composer-r940 .sheet-handle{display:none}.composer-r940 .sheet-header{padding:12px 20px 0;justify-content:flex-end}.composer-r940 .sheet-body{padding:12px 22px 22px}.composer-r940 .r940-nav{display:flex;align-items:center;gap:12px;margin-bottom:18px}.composer-r940 .r940-nav h3{font-size:19px;flex:1;margin:0;font-weight:650}.composer-r940 .r940-counter{font-size:12px;color:#68716d}.composer-r940 [hidden]{display:none!important}.composer-r940 .r940-write{padding:15px;border-radius:26px;background:linear-gradient(130deg,#e4f5ef,#f7f5e8)}.composer-r940 textarea.r940-idea{display:block;background:#fff;color:#26352f;border:0;border-radius:20px;width:100%;min-height:310px;padding:32px 24px;font-size:22px;line-height:1.65;resize:vertical;box-shadow:none;box-sizing:border-box}.composer-r940 .r940-idea::placeholder{color:#87938d}.composer-r940 .r940-idea-count{display:block;text-align:right;padding:8px 5px 0;color:#506158}.composer-r940 .r940-card{display:block;width:100%;max-height:48dvh;object-fit:contain;border-radius:20px;background:#f5f5f1}.composer-r940 .r940-swatches{display:flex;gap:10px;overflow-x:auto;padding:16px 2px 12px}.composer-r940 .r940-swatch{flex:1;min-width:62px;min-height:62px;border:2px solid transparent;border-radius:13px;color:#26352f;font:inherit;font-size:13px;cursor:pointer}.composer-r940 .r940-swatch[aria-pressed=true]{border-color:#13785b;box-shadow:0 0 0 2px #fff inset}.composer-r940 .r940-paper{background:#f5f5f1}.composer-r940 .r940-mint{background:linear-gradient(135deg,#d8f2e9,#f3f2dc)}.composer-r940 .r940-dusk{background:linear-gradient(135deg,#fbe4db,#eee5f9)}.composer-r940 .r940-quote{background:#6d645d;color:#fffaf4}.composer-r940 .r940-attach{display:flex;align-items:center;gap:9px;font-size:14px;min-height:44px}.composer-r940 .r940-attach input{width:18px;height:18px}.composer-r940 .r940-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:18px;padding-bottom:env(safe-area-inset-bottom)}.composer-r940 .r940-button{border:0;background:#f1f4f1;color:#293d33;padding:12px 18px;border-radius:24px;min-height:44px;font:inherit;font-size:14px;cursor:pointer}.composer-r940 .r940-primary{background:#17694f;color:white;min-width:106px}.composer-r940 button:disabled{opacity:.5;cursor:default}.composer-r940 :is(button,input,textarea,canvas):focus-visible{outline:3px solid #278568;outline-offset:3px}.composer-r940 .r940-album,.composer-r940 .r940-thumbs{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-start}.composer-r940 .r940-pick{position:relative;width:94px;min-height:100px;border:1px dashed #bbc8bf;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f5f7f4;color:#4c6055;font-size:12px;cursor:pointer;overflow:hidden}.composer-r940 .r940-pick svg{width:34px;height:34px}.composer-r940 .r940-native-input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer;z-index:1}.composer-r940 .r940-pick:focus-within{outline:3px solid #278568;outline-offset:3px}.composer-r940 .r940-tile{position:relative;width:94px;height:100px;overflow:hidden;border-radius:15px;background:#eee}.composer-r940 .r940-tile:has(video){width:min(100%,260px);height:155px}.composer-r940 .r940-tile img,.composer-r940 .r940-tile video{width:100%;height:100%;object-fit:cover}.composer-r940 .r940-remove{position:absolute;right:3px;top:3px;background:#fff;color:#35433a;border:1px solid #ccd4cc;border-radius:12px;font-size:11px;padding:7px;min-height:32px;cursor:pointer}.composer-r940 .r940-help{display:block;color:#647368;line-height:1.6;font-size:12px;margin:10px 0 20px}.composer-r940 .r940-final>.field{margin:18px 0}.composer-r940 #forum-compose-title-input{font-size:21px;font-weight:600}.composer-r940 #forum-compose-body{font-size:16px;min-height:170px;line-height:1.65}.composer-r940 .r940-final .field :is(input,textarea){border-radius:0;border:0;border-bottom:1px solid #e5e9e4;padding:10px 0;box-shadow:none}.composer-r940 #forum-compose-media-preview,.composer-r940 #forum-compose-media-remove{display:none}.composer-r940 #forum-compose-media-selection{border:0;padding:0;background:none}.composer-r940 .r940-final .sheet-lead{font-size:12px;color:#647368;line-height:1.6;margin:12px 0}.composer-r940 .r940-final #forum-compose-submit{border-radius:28px;margin-top:18px;min-height:48px}.composer-r940 .r940-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:480px){dialog.composer-r940{width:100%;max-width:100%;max-height:100dvh;margin:auto 0 0;border-radius:24px 24px 0 0}.composer-r940 .sheet-surface{max-height:100dvh}.composer-r940 .sheet-body{padding:10px 16px 16px}.composer-r940 .r940-write{padding:11px}.composer-r940 textarea.r940-idea{min-height:300px;padding:25px 20px}.composer-r940 .r940-button{padding:11px 14px}.composer-r940 .r940-nav h3{font-size:18px}.composer-r940 .r940-card{max-height:48dvh}}@media(prefers-reduced-motion:reduce){.composer-r940 *{scroll-behavior:auto!important}}
.r940-draft-notice:empty{display:none}.r940-draft-notice:not(:empty){position:fixed;z-index:1000;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 40px);box-sizing:border-box;padding:14px 18px;border-radius:16px;background:#243c30;color:#fff;font-size:14px;line-height:1.6;box-shadow:0 4px 20px #0002}
html:is([data-r868-fullscreen-viewport],[data-r868-inline-viewport]) .composer-r940 .r940-footer{padding-bottom:0}


/* Report selection is entered explicitly from the existing chat More menu. */
#community-group-chat[data-r940-report-ui] .community-group-message-actions{display:none!important}
#community-group-chat[data-r940-report-select] .community-group-message[role=button]{cursor:pointer;outline:1px dashed var(--text-muted,#748095);outline-offset:2px}
#community-group-chat[data-r940-report-select] .community-group-message[role=button]:focus-visible{outline:2px solid var(--teal,#078b92)}
.r940-report-picker{white-space:nowrap;text-align:start}

[data-person-card-open][data-inline-avatar-ready-r941]:has(>img[data-inline-avatar-r941]){position:relative;color:transparent!important;overflow:hidden}[data-person-card-open]>img[data-inline-avatar-r941]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none}

/* R951: release only HIHIHI chrome space; host safe viewport stays authoritative. */
@media(max-width:767px){
 #app-shell[data-r940-chrome=hidden]:not(:has(>#main-content[data-r936-bounded-list]))>#app-header,
 #app-shell[data-r940-chrome=hidden]:not(:has(>#main-content[data-r936-bounded-list]))>#bottom-nav{height:0!important;min-height:0!important;max-height:0!important;padding-block:0!important;margin-block:0!important;border-block-width:0!important;overflow:hidden;visibility:hidden;pointer-events:none;flex-basis:0!important}
 #main-content[data-r936-bounded-list]{padding-top:0!important;padding-bottom:6px}
 #main-content>.screen-panel,#forum-list-view,#community-group-directory{gap:0}
 #screen-catalog .reviewed-catalog-status:empty{display:none}
 #screen-catalog .content-feed,#forum-list,#community-group-list{margin-block:0}
 [data-r951-masonry]{display:block!important;position:relative;box-sizing:border-box;min-height:12px;overflow:visible}
 [data-r951-masonry]>[data-r951-card]{position:absolute!important;box-sizing:border-box;margin:0!important;min-width:0}
 #screen-catalog .reviewed-card-menu,#community-group-list .r936-cover-group .r936-group-menu>summary{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;color:var(--ink,#172b32);font-size:24px;line-height:1;display:grid;place-items:center}
}

#chat-entry-r951:not([hidden]){display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
#chat-entry-r951 h2{margin:0;font-size:1.1rem;min-width:0;overflow-wrap:anywhere}
#chat-entry-r951 p{grid-column:1/-1;margin:16px 0}
[data-chat-entry-r951="open"] #community-group-chat-heading,
[data-chat-entry-r951="open"] #community-group-chat-back{display:none!important}
[data-chat-entry-r951="open"] #community-group-directory>*:not(#community-group-list),
[data-chat-entry-r951="open"] #community-group-list>*:not([data-chat-entry-card-r951]),
[data-chat-entry-r951="open"] #community-group-list>[data-chat-entry-card-r951]>*:not(:has(.community-group-detail)):not(.community-group-detail),
[data-chat-entry-r951="open"] .r936-group-card-footer>*:not(.r936-group-card-entry){display:none!important}
[data-chat-entry-r951="open"] #community-group-list{display:block}
[data-chat-entry-r951="open"] #community-group-list>[data-chat-entry-card-r951]{border:0;box-shadow:none;padding:0}
[data-chat-entry-pending-r951="true"] #community-group-directory,
[data-chat-entry-pending-r951="true"] #community-group-chat{display:none!important}

#forum-video-viewer-r952[hidden],#forum-video-sheet-r952[hidden]{display:none!important}
#forum-video-viewer-r952{position:fixed;inset:0;z-index:10000;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:#101114;color:#fff;padding:env(safe-area-inset-top) 12px env(safe-area-inset-bottom);overscroll-behavior:none}
#forum-video-top-r952{display:flex;gap:12px;align-items:center;min-height:52px}
#forum-video-title-r952{font-size:16px;line-height:1.35;flex:1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#forum-video-stage-r952{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;touch-action:pan-x}
#forum-video-stage-r952 video{width:100%;height:100%;max-height:100%;object-fit:contain;background:#000}
#forum-video-controls-r952{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:8px 0}
#forum-video-viewer-r952>header button,#forum-video-controls-r952 button{background:#26282e;color:#fff;border:1px solid #626571;border-radius:8px;min-height:44px;padding:8px 12px}
#forum-video-viewer-r952 button:disabled{opacity:.45}
#forum-video-status-r952{min-height:24px;margin:4px 0;text-align:center;font-size:13px;line-height:1.5}
#forum-video-sheet-r952{position:absolute;inset:auto 0 0;max-height:75%;min-height:35%;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;background:var(--surface,#fff);color:var(--ink,#17191f);border-radius:18px 18px 0 0;padding:12px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -6px 30px #0008;z-index:2}
#forum-video-sheet-back-r952{position:sticky;top:0;z-index:3;min-height:44px;float:right}
#forum-video-sheet-r952 #forum-detail-body{display:none!important}
#forum-video-sheet-r952 #forum-detail-view{margin:0;max-width:none}
#forum-video-sheet-r952 .forum-detail-header{padding-right:88px}
#forum-video-sheet-r952 #forum-reply-form{position:static}
body[data-forum-video-r952="open"] #bottom-nav{visibility:hidden}
@media(prefers-reduced-motion:reduce){#forum-video-viewer-r952 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.r953-time{font-size:11px;line-height:18px;color:var(--soft);font-variant-numeric:tabular-nums;display:block;font-weight:400}
#forum-detail-meta>.r953-time{display:inline}
#private-social-messages .r929-message:has(>.r953-separator:not([hidden])),#community-group-chat-message-list .r929-message:has(>.r953-separator:not([hidden])){margin-top:28px}
.r953-separator{position:absolute;top:-28px;margin:0;text-align:center;color:var(--soft);font-size:11px;line-height:20px;font-weight:400;font-variant-numeric:tabular-nums;pointer-events:none}
.r953-separator[hidden]{display:none!important}

/* R958 media-first composition; same native inputs, selection and submit. */
.composer-r958 .sheet-surface{max-height:92dvh;overflow:auto;overscroll-behavior:contain;scroll-padding-bottom:95px}.composer-r958 .sheet-body{overflow:visible}.composer-r958 .r958-entry{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:12px 0 24px}.composer-r958 .r958-media-choice{min-height:110px;border:1px solid #d7e4dc;border-radius:24px;background:#f3f7f3;color:#254535;font:inherit;font-size:16px;padding:22px 14px;cursor:pointer}.composer-r958 .r958-photos{grid-column:1/-1;min-height:170px;background:linear-gradient(145deg,#e2f2e9,#f6f6df);font-size:24px;font-weight:650}.composer-r958 .r958-photos:before{content:'＋';display:block;font-size:48px;font-weight:400;margin-bottom:8px}.composer-r958 .r940-final,.composer-r958 .r958-publish{border:0;padding:0;margin:0;min-width:0}.composer-r958 .r958-large-preview{height:min(37dvh,330px);position:relative;display:grid;place-items:center;background:#eef2ec;border-radius:20px;overflow:hidden;margin-bottom:12px}.composer-r958 .r958-large-preview>img,.composer-r958 .r958-large-preview>video{width:100%;height:100%;min-height:0;object-fit:contain}.composer-r958 .r958-position{position:absolute;right:10px;bottom:10px;background:#203d32c9;color:#fff;padding:4px 9px;border-radius:12px;font-size:12px}.composer-r958 .r940-album{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}.composer-r958 .r940-thumbs,.composer-r958 .r958-final-thumbs{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:3px 1px 7px;flex:1;min-width:0}.composer-r958 .r940-tile,.composer-r958 .r940-tile:has(video){width:64px;height:76px;min-width:64px;flex:0 0 64px;border:2px solid transparent;padding:0;border-radius:12px;position:relative;overflow:hidden;background:#eef2ec;color:#294434;cursor:pointer}.composer-r958 .r940-tile[aria-pressed=true]{border-color:#197858}.composer-r958 .r940-tile img{width:100%;height:100%;object-fit:cover}.composer-r958 .r940-tile>span:not(.r958-cover):not(.r958-invalid){font-size:25px}.composer-r958 .r958-cover{position:absolute;bottom:0;left:0;right:0;background:#203d32cb;color:#fff;font-size:10px;padding:2px}.composer-r958 .r958-invalid{position:absolute;inset:auto 0 0;background:#8d301f;color:#fff;font-size:10px}.composer-r958 .r940-pick{width:64px;min-width:64px;min-height:76px;border-radius:12px;align-self:flex-start;font-size:10px}.composer-r958 .r940-pick svg{width:26px;height:26px}.composer-r958 .r958-more{display:block;margin:7px 0 0 auto;min-height:44px;padding:9px 13px;font-size:12px}.composer-r958 .r958-order{display:flex;gap:6px;flex-wrap:wrap;background:#f2f6f0;padding:10px;border-radius:16px;margin:8px 0}.composer-r958 .r958-order button{flex:1 1 44%;min-height:44px;padding:8px;font-size:12px;background:#fff}.composer-r958 .r940-help{margin:9px 0 16px;font-size:11px}.composer-r958 .r940-write{margin:12px 0}.composer-r958 textarea.r940-idea{min-height:140px;font-size:18px;padding:20px}.composer-r958 .r958-selection-summary{display:flex;gap:10px;align-items:center;margin:0 0 18px}.composer-r958 .r958-selection-summary>.r940-button{flex:0 0 auto;font-size:12px;padding:9px}.composer-r958 .r940-footer{position:sticky;bottom:0;background:#fff;padding:12px 0 calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;border-top:1px solid #e6ebe4;z-index:2}.composer-r958 .r958-publish{flex:1;min-width:140px}.composer-r958 #forum-compose-submit{width:100%;min-height:50px;border-radius:26px;margin:0}.composer-r958 .r940-footer:has(.r958-publish:not([hidden]))>.r940-button{font-size:12px;padding:10px 12px}.composer-r958 .r940-final .sheet-lead{font-size:11px;line-height:1.6;margin:10px 0;overflow-wrap:anywhere}.composer-r958 #forum-compose-body{min-height:150px;scroll-margin-bottom:100px}.composer-r958 #forum-compose-status{overflow-wrap:anywhere}.r958-batch{font-size:13px;line-height:1.7;padding:12px 16px 12px 34px;background:#f0f6ef;border-radius:14px;overflow-wrap:anywhere}.r958-batch[hidden]{display:none}@media(max-width:480px){.composer-r958 .sheet-surface{max-height:96dvh}.composer-r958 .r940-nav{gap:7px}.composer-r958 .r940-nav h3{font-size:16px}.composer-r958 .r940-nav .r940-button{padding:10px}.composer-r958 .r940-counter{white-space:nowrap}.composer-r958 .r958-media-choice{font-size:14px}.composer-r958 .r958-photos{font-size:24px}}@media(prefers-reduced-motion:reduce){.composer-r958 *{scroll-behavior:auto!important}}

.composer-r958 .r940-footer{flex-wrap:wrap}.composer-r958 .r958-public-notice{flex:0 0 100%;font-size:11px;line-height:1.5;color:#56675a}.composer-r958 .r958-public-notice .sheet-lead{font-size:11px;line-height:1.5;margin:3px 0 0;overflow-wrap:anywhere}.composer-r958 .r958-public-notice #forum-compose-visibility{margin:0;font-size:11px}.composer-r958 #forum-compose-status:empty{display:none}.composer-r958 #forum-compose-status{font-size:12px;padding:8px 0;margin:0}.composer-r958 #forum-compose-media-selection[data-state=ready] #forum-compose-media-selection-status{display:none}

.composer-r958 #forum-compose-body{height:clamp(120px,24dvh,180px);min-height:120px;max-height:32dvh;overflow-y:auto}

.composer-r958[data-media-phase-r958=ready] #forum-compose-media-selection{display:none}.composer-r958 .r958-more{min-width:44px;font-size:24px;line-height:1;padding:7px 12px}.composer-r958 .r958-public-notice .sheet-lead[hidden]{display:none}

/* Keep selected-media actions beside thumbnails inside compact ChatGPT sheets. */
.composer-r958 .r940-album > .r958-more {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-self: center;
  margin: 0;
  padding: 7px;
}

/* R975: use the already validated ChatGPT host insets inside the video overlay. */
html:is([data-r868-fullscreen-viewport],[data-r868-inline-viewport]) #forum-video-viewer-r952 {
  padding: var(--r868-safe-top, 0px) max(12px, var(--r868-safe-right, 0px)) var(--r868-safe-bottom, 0px) max(12px, var(--r868-safe-left, 0px));
}
html:is([data-r868-fullscreen-viewport],[data-r868-inline-viewport]) #forum-video-sheet-r952 {
  --r975-sheet-space: max(0px, calc(100% - var(--r868-safe-top, 0px) - var(--r868-safe-bottom, 0px) - 52px));
  bottom: var(--r868-safe-bottom, 0px);
  max-height: min(75%, var(--r975-sheet-space));
  min-height: min(35%, var(--r975-sheet-space));
  padding-bottom: 16px;
}

.username-r965{margin-block:12px;min-width:0}.username-r965 form{display:grid;gap:8px;margin-block:10px}.username-r965 input{box-sizing:border-box;width:100%;min-width:0;font:inherit;padding:10px}.username-r965 button,.username-r965 summary{min-height:44px;font:inherit}.username-r965 summary{cursor:pointer}.username-r965 small{line-height:1.5;color:var(--soft)}.username-r965 p{line-height:1.5;overflow-wrap:anywhere}.username-r965 h3{font-size:1rem}.username-r965 [data-username-current]{font-weight:600}.username-r965 [hidden]{display:none!important}

.r969-settings{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:18px;border:1px solid var(--line,#ddd);border-radius:20px;background:var(--card,#fff);color:var(--ink,#172035);overflow:auto}.r969-settings::backdrop{background:#07142799}.r969-settings form{display:grid;gap:14px}.r969-settings header{display:flex;align-items:center;justify-content:space-between;gap:10px}.r969-settings h2{margin:0;font-size:20px}.r969-settings label{display:grid;gap:7px}.r969-settings :is(input:not([type=checkbox]),textarea){box-sizing:border-box;width:100%;min-width:0;padding:10px;border-radius:10px;border:1px solid var(--line,#ccd2df);font:inherit;color:inherit;background:var(--surface,#fff)}.r969-settings .r969-consent{display:flex;align-items:flex-start;gap:8px;font-size:14px}.r969-consent input{width:18px;height:18px;flex:none}.r969-actions{display:flex;flex-wrap:wrap;gap:8px}.r969-settings button,.r969-invitation button{min-height:42px;padding:9px 12px;border:1px solid var(--line,#ccd2df);border-radius:12px;background:var(--surface,#f5f7ff);color:inherit;font:inherit}.r969-settings p{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.r969-settings [hidden]{display:none!important}.r969-invitation{position:fixed;z-index:1000;left:12px;right:12px;bottom:80px;max-width:460px;margin:auto;padding:16px;border-radius:16px;background:var(--card,#fff);color:var(--ink,#172035);box-shadow:0 5px 30px #07142744}.r969-invitation p{margin:0 0 10px}.r969-invitation button+button{margin-left:8px}

.r927-chat-menu .r969-chat-menu-items{position:absolute;right:0;top:44px;min-width:180px;max-width:calc(100vw - 32px);padding:6px;display:grid;gap:4px;border:1px solid var(--line,#ddd);border-radius:12px;background:var(--surface,#fff);box-shadow:0 4px 16px #18203328}.r927-chat-menu:not([open])>.r969-chat-menu-items{display:none}.r969-chat-menu-items>button{position:static!important;box-sizing:border-box;width:100%;min-height:44px;white-space:normal;text-align:left;margin:0;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit}


.r970-inactive{display:inline-block;font-size:.78rem;color:var(--muted,#666);margin-inline-start:.5rem}.r970-restore-dialog{box-sizing:border-box;width:min(30rem,calc(100vw - 1.5rem));max-height:calc(100dvh - 2rem);overflow:auto;border:1px solid #bbb;border-radius:1rem;padding:1.2rem;background:var(--card,#fff);color:var(--text,#222)}.r970-restore-dialog::backdrop{background:#0006}.r970-restore-dialog label{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:.6rem}.r970-restore-dialog label span{display:block;color:inherit;font-size:1rem;line-height:1.5}.r970-restore-dialog input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:2px 0;padding:0}.r970-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.r970-actions button,.r970-recovery{min-height:44px;padding:.5rem .8rem}.r970-restore-dialog [hidden],.r970-recovery[hidden]{display:none!important}


.r978-members{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(88dvh,780px);padding:20px;border:1px solid #ddd;border-radius:14px;background:var(--color-background-primary,#fff);color:var(--color-text-primary,#222);overflow:auto;font:inherit}.r978-members::backdrop{background:#0006}.r978-members header{display:flex;align-items:center;justify-content:space-between;gap:12px}.r978-members h2{font-size:1.2rem;margin:0}.r978-members p{line-height:1.5}.r978-member-list{display:grid;gap:0}.r978-member-row{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid #ddd}.r978-actions{display:flex;flex-wrap:wrap;gap:8px}.r978-members button{font:inherit;padding:10px 12px;min-height:40px;border:1px solid #ddd;border-radius:7px;background:transparent;color:inherit;cursor:pointer}.r978-members button:disabled{opacity:.45;cursor:default}.r978-consent{display:grid!important;grid-template-columns:20px 1fr!important;gap:10px;align-items:start;margin:14px 0;line-height:1.45}.r978-consent input{width:20px!important;height:20px!important;min-width:20px;min-height:20px;margin:0!important}.r978-members [hidden]{display:none!important}.r978-member-row>span{font-size:.9em;opacity:.8}

/* HIHIHI catalogue and Forum geometry R1010 */
/* Shared App/Site catalogue geometry. Original card actions and content stay in place. */
#screen-catalog .content-feed,#forum-list{align-items:stretch}
#screen-catalog .work-card-catalog,#forum-list .forum-thread-card{display:flex;flex-direction:column;min-width:0;max-width:100%;height:100%}
#screen-catalog .work-card-main,#forum-list .forum-thread-open{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:0;padding:0;gap:0}
#screen-catalog .work-card-cover,#forum-list .forum-catalog-cover{flex:0 0 auto;aspect-ratio:4/3;min-width:0;min-height:0;width:100%;height:auto;box-sizing:border-box}
#screen-catalog .work-card-copy{display:grid;grid-template-rows:2.7em 1.45em 1.45em;align-content:start;gap:3px;min-height:0;height:calc(5.6em + 22px);padding:8px;font-size:13px;overflow:hidden}
#screen-catalog .work-card-copy>strong{display:-webkit-box;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.35;max-height:2.7em;overflow-wrap:anywhere}
#screen-catalog .work-card-copy>.reviewed-tags,#screen-catalog .work-card-copy>.work-card-meta{min-width:0;min-height:1.45em;max-height:1.45em;overflow:hidden;white-space:nowrap}
#screen-catalog .work-card-catalog-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:4px;min-height:53px;margin-top:auto;padding:4px 7px}
#screen-catalog .work-card-catalog-actions>*{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
#screen-catalog .work-card-catalog-actions>.public-like-button{flex:0 0 44px}
#screen-catalog .work-card-catalog-actions>.text-button{flex:0 1 auto;font-size:12px;line-height:1.35}
#forum-list .forum-thread-copy{flex:none;grid-template-rows:2.7em 2.9em 20px 18px;height:calc(5.6em + 66px);font-size:13px;min-height:0;overflow:hidden;padding:8px;align-content:start;gap:4px}
#forum-list .forum-thread-copy>strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;max-height:2.7em;overflow-wrap:anywhere}
#forum-list .forum-thread-copy>.fc-summary{grid-row:2}
#forum-list .forum-thread-copy>.fx-preview{grid-row:3}
#forum-list .forum-thread-copy>.r953-time{grid-row:4}
#forum-list .forum-thread-engagement{margin-top:auto;flex:none}
/* Keep the public discussion inside its container; media keeps its original fit/snap behavior. */
#screen-forum,#screen-forum .forum-detail,#screen-forum .forum-post-body,#screen-forum .forum-media-list{min-width:0;max-width:100%;box-sizing:border-box}
#screen-forum #forum-detail-view{padding-inline:12px}
#screen-forum .forum-detail-header,#screen-forum .forum-detail-actions,#screen-forum .forum-staff-post-actions{min-width:0;max-width:100%;overflow-wrap:anywhere}
#screen-forum .forum-detail-actions{gap:8px;align-items:center;flex-wrap:wrap}
#screen-forum .forum-detail-actions .text-button{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
#screen-forum .forum-staff-post-actions{display:flex;flex-wrap:wrap;gap:8px}

.r1010-chat-activity{height:24px;min-height:24px;flex:none;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:var(--soft,#536176);overflow:hidden}
.r1010-chat-activity[hidden],.r1010-chat-skeleton[hidden],.r1010-chat-latest[hidden]{display:none!important}
.r1010-chat-activity:not([data-busy=true])>*{visibility:hidden}
.r1010-chat-spinner{width:12px;height:12px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:r1010-spin .9s linear infinite}
.r1010-chat-skeleton{display:grid;gap:14px;padding:16px 8px;max-width:360px;pointer-events:none}
.r1010-chat-skeleton>i{display:block;width:66%;height:34px;border-radius:10px;background:var(--secondary-soft,#e8eeec)}
.r1010-chat-skeleton>i:nth-child(2){justify-self:end;width:48%}.r1010-chat-skeleton>i:nth-child(3){width:57%}
.r1010-chat-latest{position:absolute;inset-inline-end:8px;bottom:78px;z-index:6;min-height:44px;max-width:calc(100% - 16px);padding:6px 12px;border:1px solid var(--line,#d6dfdc);border-radius:18px;background:var(--surface,#fff);color:var(--ink,#172b32);font:inherit;font-size:12px;box-shadow:0 2px 8px #18203312}
.r1010-chat-local{display:grid;gap:8px;padding:0 8px 8px}.r1010-chat-local:empty{display:none}
.r1010-chat-local article{justify-self:end;max-width:85%;min-width:44px;padding:10px 12px;border-radius:12px;background:var(--secondary-soft,#e8eeec);overflow-wrap:anywhere;white-space:pre-wrap}
.r1010-chat-local p{margin:0}.r1010-chat-local small{display:block;text-align:end;font-size:11px;color:var(--soft,#536176)}
.r1010-chat-local [data-phase=pending] small{font-size:0}.r1010-chat-local [data-phase=pending] small:after{content:'◷';font-size:12px;opacity:.5}
.r1010-chat-local [data-phase=sent] small{display:none}
@keyframes r1010-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.r1010-chat-spinner{animation:none}}
[data-chat-entry-pending-r951="true"] #community-group-chat:not([hidden]):has(.r1010-chat-skeleton:not([hidden])){display:flex!important}
[data-chat-entry-pending-r951="true"]:has(#community-group-chat:not([hidden]) .r1010-chat-skeleton:not([hidden])) #chat-entry-r951>p{display:none}

/* Forum local pending presentation R1010 */
.r1010-forum-local{display:grid;gap:8px;min-width:0;margin:8px 0}
.r1010-forum-local[hidden],.r1010-forum-local-card[hidden]{display:none!important}
.r1010-forum-local-card{position:relative;display:grid;gap:6px;min-width:0;padding:10px 30px 10px 12px;border:1px solid var(--line,#dde2e9);border-radius:10px;background:var(--surface,#fff);overflow-wrap:anywhere}
.r1010-forum-local-card p{margin:0;white-space:pre-wrap;max-height:16em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical}
.r1010-forum-local-card small{font-size:12px;color:var(--soft,#687384);line-height:1.45}
.r1010-forum-local-card[data-phase=pending]:not([data-slow]) small,.r1010-forum-local-card[data-phase=media_waiting]:not([data-slow]) small,.r1010-forum-local-card[data-phase=media_pending]:not([data-slow]) small{position:absolute;inset:8px 8px auto auto;font-size:0}
.r1010-forum-local-card[data-phase=pending]:not([data-slow]) small:after,.r1010-forum-local-card[data-phase=media_waiting]:not([data-slow]) small:after,.r1010-forum-local-card[data-phase=media_pending]:not([data-slow]) small:after{content:'◷';font-size:12px;opacity:.5}
.r1010-forum-local-card[data-phase=acknowledged] small{display:none}
.r1010-forum-local-media{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.r1010-forum-local-media img{width:80px;height:80px;object-fit:contain;border-radius:6px;background:var(--surface-soft,#f5f6f8)}
.r1010-forum-local-media span{font-size:12px;overflow-wrap:anywhere}

@media(max-width:767px){html:not([data-r868-inline-viewport]):not([data-r868-fullscreen-viewport]) #app-shell[data-r940-chrome]:has(>#main-content[data-r936-bounded-list]){position:relative}#app-shell[data-r940-chrome]:has(>#main-content[data-r936-bounded-list])>#app-header{position:absolute!important;top:0;left:0;right:0;z-index:20}#app-shell[data-r940-chrome]:has(>#main-content[data-r936-bounded-list])>#bottom-nav{position:absolute!important;bottom:0;left:0;right:0;z-index:20}#app-shell[data-r940-chrome]:has(>#main-content[data-r936-bounded-list])>#main-content{height:100%;min-height:0;box-sizing:border-box;padding-top:calc(var(--r1016-header-size,0px) + 6px)!important;padding-bottom:calc(var(--r1016-nav-size,0px) + 6px)!important}#app-shell[data-r940-chrome]:has(>#main-content[data-r936-bounded-list])[data-r940-chrome=hidden]>#app-header,#app-shell[data-r940-chrome]:has(>#main-content[data-r936-bounded-list])[data-r940-chrome=hidden]>#bottom-nav{visibility:hidden;pointer-events:none}}
/* Common catalogue/Forum tracks and content slots; preserve their original controls. */
@media(min-width:768px){
#screen-catalog .content-feed,#forum-list{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:var(--feed-gap,12px)}
}
#screen-catalog .work-card-copy,#forum-list .forum-thread-copy{height:calc(5.6em + 66px)}
#screen-catalog .work-card-catalog-actions,#forum-list .forum-thread-engagement{box-sizing:border-box;min-height:53px;height:53px;flex:none;margin-top:auto}

@media(min-width:768px){html:is([data-r868-inline-viewport],[data-r868-fullscreen-viewport]) #app-shell>#main-content:has(>#screen-catalog:not([hidden]),>#screen-forum:not([hidden]) #forum-list-view:not([hidden])){scrollbar-gutter:stable}}

/* R1019: local outgoing rows retain authoritative body geometry. */
.r1010-chat-local{gap:12px;padding:0 0 16px;margin-top:-16px}
:is(#community-group-chat-message-list,#private-social-messages):has(>[data-message-ref])+.r1010-chat-local{margin-top:-4px}
.r1010-chat-local article{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:start;gap:8px;width:fit-content;max-width:min(92%,560px);min-width:0;padding:0;border-radius:0;background:transparent}
.r1010-chat-local p{grid-column:1;grid-row:1;min-width:0;padding:8px 12px;border-radius:12px;background:var(--secondary-soft,#e8eeec);line-height:1.6}
#community-group-chat .r1010-chat-local p{font-size:14px}
.r1010-chat-local small{grid-column:1/-1}
.r1010-chat-local [data-phase=pending] small{position:absolute;inset-block-start:10px;inset-inline-end:10px;inline-size:12px;block-size:12px;line-height:12px;text-align:center}

/* R1019: first local row retains the original first-row date space. */
#community-group-chat-message-list:empty+.r1010-chat-local{margin-top:12px}
.r929-history:has(>#community-group-chat-message-list:empty+.r1010-chat-local>article:is([data-phase=pending],[data-phase=sent]):not([hidden]))>.r1010-chat-skeleton{display:none}

/* R1019: unknown recovery keeps history reachable in the original panel. */
#community-group-chat:has(>#community-group-chat-recovery:not([hidden])):has(.r1010-chat-local>article[data-phase=unknown]:not([hidden])){overflow-y:auto}
#community-group-chat:has(>#community-group-chat-recovery:not([hidden])):has(.r1010-chat-local>article[data-phase=unknown]:not([hidden]))>*{flex-shrink:0}
#community-group-chat:has(>#community-group-chat-recovery:not([hidden])):has(.r1010-chat-local>article[data-phase=unknown]:not([hidden]))>.r929-history{flex:1 0 160px;min-height:160px}

/* R1021: one reserved queue toolbar; ACK/count changes never add a row. */
.r1021-group-queue{box-sizing:border-box;display:flex;align-items:center;gap:4px;height:34px;min-height:34px;max-height:34px;flex:none;overflow:hidden;padding:2px 4px}
.r1021-group-queue>small{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.r1021-group-queue>button{box-sizing:border-box;flex:none;width:auto;min-width:0;height:28px;min-height:28px;padding:2px 6px;font-size:11px;white-space:nowrap}
.r1021-group-queue[data-empty="true"]>*{visibility:hidden}
.r1021-group-queue[data-expanded="true"]{height:auto;max-height:none;flex-wrap:wrap;overflow:visible}
.r1021-group-queue[data-expanded="true"]>small{flex-basis:100%}

/* R1026: contained immersive video surface; ordinary feeds retain their scrolling. */
#forum-video-viewer-r952{display:block;padding:0!important;background:#000;overflow:hidden;color:#fff;isolation:isolate}
#r1026-video-scroll{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-width:none;outline:none}
#r1026-video-scroll::-webkit-scrollbar{display:none}
html:is([data-r868-fullscreen-viewport],[data-r868-inline-viewport]) #r1026-video-scroll{inset:var(--r868-safe-top,0px) var(--r868-safe-right,0px) var(--r868-safe-bottom,0px) var(--r868-safe-left,0px)}
#r1026-video-scroll[data-locked=true]{overflow-y:hidden}
.r1026-video-page{height:100%;width:100%;position:relative;scroll-snap-align:start;scroll-snap-stop:always;background:#000;overflow:hidden}
.r1026-video-preview{position:absolute;inset:0;display:grid;place-items:center;color:#bbb;font-size:24px}
.r1026-video-page[data-current=true]>.r1026-video-preview{display:none}
#forum-video-stage-r952{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y;outline:none}
#forum-video-stage-r952 video{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;background:#000;border:0;border-radius:0;margin:0}
#forum-video-top-r952{position:absolute;top:0;left:0;right:0;min-height:0;z-index:3;display:flex;align-items:center;gap:6px;padding:calc(8px + var(--r868-safe-top,env(safe-area-inset-top))) max(10px,var(--r868-safe-right,env(safe-area-inset-right))) 18px max(10px,var(--r868-safe-left,env(safe-area-inset-left)));background:linear-gradient(#0009,transparent);pointer-events:none}
#forum-video-top-r952>button{pointer-events:auto}
#forum-video-viewer-r952 button>svg{display:block;width:24px;height:24px;margin:auto;pointer-events:none}
#r1026-video-mute{margin-left:auto}
#forum-video-viewer-r952 #forum-video-top-r952 button,#forum-video-viewer-r952 #forum-video-controls-r952 button{width:44px;height:44px;min-height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:#15151570;color:#fff;font-size:25px;line-height:1;font-weight:400;box-shadow:none;text-shadow:0 1px 3px #000}
#forum-video-viewer-r952 button:focus-visible,#r1026-video-scroll:focus-visible{outline:2px solid #fff;outline-offset:-3px}
#forum-video-controls-r952{position:absolute;inset:0;display:block;padding:0;pointer-events:none;z-index:2}
#forum-video-controls-r952>button{position:absolute;pointer-events:auto}
#forum-video-play-r952{left:calc(50% - 26px);top:calc(50% - 26px);width:52px!important;height:52px!important;background:#0006!important;transition:opacity .15s}
#forum-video-previous-r952{right:max(10px,var(--r868-safe-right,env(safe-area-inset-right)));top:calc(50% - 52px)}
#forum-video-next-r952{right:max(10px,var(--r868-safe-right,env(safe-area-inset-right)));top:calc(50% + 6px)}
#forum-video-comments-r952{right:max(10px,var(--r868-safe-right,env(safe-area-inset-right)));bottom:calc(28px + var(--r868-safe-bottom,env(safe-area-inset-bottom)))}
#r1026-video-engagement{position:absolute;right:max(8px,var(--r868-safe-right,env(safe-area-inset-right)));bottom:calc(88px + var(--r868-safe-bottom,env(safe-area-inset-bottom)));z-index:3;max-width:130px}
#r1026-video-engagement #forum-detail-like{margin:0;padding:0;display:flex;justify-content:flex-end}
#r1026-video-engagement [data-public-like]{background:#15151570;color:#fff;border:0;border-radius:22px;min-width:44px;min-height:52px;max-width:130px;padding:8px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;text-shadow:0 1px 3px #000}
#r1026-video-engagement .public-like-icon{font-size:24px;line-height:1}
#r1026-video-engagement [data-like-count]{font-size:11px;line-height:1.3}
#r1026-video-engagement [data-like-status]{font-size:11px;line-height:1.3;max-width:115px;overflow-wrap:anywhere}
#r1026-video-engagement[hidden]{display:none!important}
#forum-video-retry-r952{left:calc(50% - 40px);top:calc(50% + 40px);width:auto!important;min-width:80px!important;padding:8px!important;font-size:13px!important}
#forum-video-viewer-r952[data-controls=false] :is(#forum-video-play-r952,#forum-video-previous-r952,#forum-video-next-r952){opacity:0;pointer-events:none}
#r1026-video-info{position:absolute;left:0;right:64px;bottom:0;padding:36px 12px calc(16px + var(--r868-safe-bottom,env(safe-area-inset-bottom))) max(12px,var(--r868-safe-left,env(safe-area-inset-left)));background:linear-gradient(transparent,#0009);pointer-events:none;z-index:2;text-shadow:0 1px 3px #000}
#forum-video-title-r952{font-size:15px;font-weight:650;line-height:1.4;margin:3px 0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#r1026-video-author{font-size:13px;font-weight:650;line-height:1.4;margin:0 0 3px}
#r1026-video-description{font-size:12px;line-height:1.45;margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#forum-video-status-r952{position:absolute;left:14%;right:14%;top:calc(50% + 100px);z-index:3;font-size:12px;line-height:1.5;min-height:0;padding:6px 8px;margin:0;border-radius:8px;background:#0009;pointer-events:none}
#forum-video-status-r952[hidden],#forum-video-viewer-r952 button[hidden]{display:none!important}
#forum-video-sheet-r952{z-index:5;overscroll-behavior-y:contain;touch-action:pan-y}
#forum-video-viewer-r952[data-comments=true] :is(#forum-video-controls-r952,#r1026-video-info,#r1026-video-engagement){visibility:hidden}
@media(prefers-reduced-motion:reduce){#forum-video-viewer-r952 *{scroll-behavior:auto!important;transition:none!important}}

/* Keep the original editor in flow while this exact thread has a visible local reply. */
#forum-detail-view:has(#forum-reply-list+.r1010-forum-local:not([hidden])>.r1010-forum-local-card:not([hidden]))>#forum-reply-form{position:static;bottom:auto}

/* R1029: 4:3 covers; original buttons and data remain authoritative. */
#screen-catalog .work-card-catalog,#forum-list .forum-thread-card{height:auto;align-self:start;border:1px solid var(--line,#e5e7eb);border-radius:12px;box-shadow:none;overflow:visible;background:var(--surface,#fff)}
#screen-catalog .work-card-catalog{container-type:inline-size;position:relative}
#screen-catalog .work-card-main,#forum-list .forum-thread-open{width:100%;padding:0;gap:0;border-radius:12px;overflow:hidden}
#screen-catalog .work-card-cover,#forum-list .forum-catalog-cover{box-sizing:border-box;aspect-ratio:4/3;width:100%;height:auto;min-height:0;border-radius:11px 11px 0 0;background:var(--secondary-soft,#eef2f3);padding:12px}
#screen-catalog .work-card-cover:has(.reviewed-cover),#forum-list .forum-catalog-cover[data-media=image]{padding:0}
#screen-catalog .reviewed-cover,#forum-list .forum-thread-cover{width:100%;height:100%;object-fit:cover}
#screen-catalog .work-card-cover>span{display:none}
#screen-catalog .work-card-cover>strong,#forum-list .fc-title{font-size:16px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#screen-catalog .work-card-copy{box-sizing:border-box;height:76px;min-height:76px;display:grid;grid-template-rows:44px 18px;gap:0;padding:8px 9px 6px;overflow:hidden}
#screen-catalog .work-card-copy>strong{align-self:center;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:24px;max-height:24px;font-size:14px;font-weight:650;padding-right:64px}
#screen-catalog .work-card-copy>.reviewed-tags{display:flex;gap:4px;height:18px;min-height:0;max-height:18px;line-height:18px;overflow:hidden;white-space:nowrap}
#screen-catalog .reviewed-tags>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:10px;padding:0 4px;border-radius:4px;background:var(--page,#f4f5f6);color:var(--soft,#667085)}
#screen-catalog .reviewed-tags>span:nth-child(n+4),#screen-catalog .reviewed-tags:empty,#screen-catalog .work-card-copy>.work-card-meta,#screen-catalog .work-card-copy time,#forum-list .forum-thread-copy time{display:none!important}
#screen-catalog .work-card-catalog-actions{display:contents}
#screen-catalog .work-card-catalog-actions>.public-like-button{position:absolute;top:calc(75cqi + 8px);right:3px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;width:66px;max-width:66px;height:44px;min-height:44px;padding:0 6px;font-size:12px;white-space:nowrap;z-index:1;background:transparent;border:0}
#screen-catalog .public-like-button [data-like-count]{max-width:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
#screen-catalog .work-card-catalog-actions>.text-button{position:absolute;right:7px;top:calc(75cqi - 49px);min-height:44px;max-width:calc(100% - 14px);padding:0 9px;border-radius:9px;background:var(--surface,#fff);color:var(--ink,#202532);box-shadow:0 1px 5px #0001;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1}
#screen-catalog .reviewed-card-menu{top:5px;right:5px;min-width:44px;min-height:44px;border-radius:9px}
#forum-list .forum-thread-card{position:relative;container-type:inline-size}#forum-list .forum-thread-copy{box-sizing:border-box;height:76px;min-height:76px;display:block;padding:8px 9px;overflow:hidden}
#forum-list .forum-thread-copy>strong{display:block;font-size:14px;font-weight:650;line-height:24px;max-height:24px;margin-top:10px;padding-right:64px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#forum-list .fc-author{position:absolute;top:calc(75cqi + 52px);left:65px;right:9px;min-width:0;font-size:11px;line-height:18px;color:var(--soft,#667085);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#forum-list .forum-thread-engagement{display:contents}#forum-list .forum-thread-engagement>.public-like-button{position:absolute;top:calc(75cqi + 8px);right:3px;width:66px;max-width:66px;height:44px;min-height:44px;justify-content:flex-end;padding:0 6px;gap:4px;z-index:1}#forum-list .forum-thread-engagement>.fc-replies{position:absolute;top:calc(75cqi + 32px);left:3px;width:56px;max-width:56px;height:44px;min-height:44px;z-index:1}
#forum-list .forum-thread-engagement>button{flex:none;min-width:44px;min-height:44px;width:51px;max-width:51px;gap:2px;padding:0 2px;overflow:visible;white-space:nowrap;font-size:11px}
#forum-list .forum-thread-engagement>button svg{width:11px;height:11px;flex:none}
#forum-list .forum-thread-engagement .public-like-icon{font-size:12px;line-height:1}
#screen-catalog [data-like-count],#forum-list [data-like-count],#forum-list .fc-replies>span{font-size:11px;text-overflow:clip;max-width:none}
#forum-list :is([data-like-count],.fc-replies>span){font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#forum-list .forum-catalog-cover[data-media=text]{background:var(--page,#f1f3f5);color:var(--ink,#27303b)}
#community-group-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
#community-group-list[data-r951-masonry]{display:grid!important;height:auto!important}
#community-group-list[data-r951-masonry]>[data-r951-card]{position:relative!important;left:auto!important;top:auto!important;width:auto!important}
#screen-catalog .work-card-cover>strong{color:var(--ink,#27303b)}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]){border-radius:12px;border:1px solid var(--line,#e5e7eb);height:auto}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .r936-group-card-body{grid-template-columns:48px minmax(0,1fr);grid-template-rows:24px 24px;column-gap:10px;row-gap:2px;padding:10px 10px 0}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .r936-group-cover{grid-column:1;grid-row:1/3;width:48px;height:48px;aspect-ratio:1;border-radius:10px;padding:5px;align-items:center;justify-content:center}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .r936-group-cover-fallback{font-size:10px;line-height:14px;text-align:center;-webkit-line-clamp:2}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .community-group-heading{grid-column:2;grid-row:1;padding:1px 38px 0 0}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .community-group-heading h3{font-size:14px;line-height:22px;font-weight:650}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .r936-group-description{grid-column:2;grid-row:2;padding:0;line-height:20px;font-size:12px}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .community-group-tags{display:flex;grid-column:2;grid-row:2;height:24px;padding:0;gap:4px;align-self:center}#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]):has(.community-group-tags:not(:empty)) .r936-group-description{display:none}#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .community-group-tags>span{padding:0 4px;line-height:20px;white-space:nowrap;align-self:center}#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .community-group-tags>span:nth-child(n+4){display:none}
#community-group-list .r936-cover-group:not([data-chat-entry-r951=open]) .r936-group-card-footer{padding:0 10px 0 68px;border:0;min-height:44px}
#community-group-list .r936-cover-group .r936-group-menu{top:6px;right:6px}
#community-group-list .r936-group-card-footer:has(.community-group-detail),#community-group-list .r936-group-card-footer:has(.r936-leave-confirmation:not([hidden])){padding-left:10px!important}
@media(max-width:767px){#community-group-list{grid-template-columns:minmax(0,1fr);padding:6px}}
@media(prefers-reduced-motion:reduce){#screen-catalog .work-card-catalog,#forum-list .forum-thread-card{transition:none}}
#screen-catalog .work-card-catalog-actions>.text-button{min-width:44px}
#forum-list .forum-thread-engagement>button{width:56px;max-width:56px}
#screen-catalog .public-like-button [data-like-count],#forum-list .public-like-button [data-like-count],#forum-list .fc-replies>span{flex:none;overflow:visible;text-overflow:clip;max-width:none}#screen-catalog .work-card-catalog:not(:has([data-public-like])) .work-card-copy>strong{padding-right:0}@media(max-width:480px){#screen-catalog .work-card-copy>strong,#forum-list .forum-thread-copy>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:18px;max-height:36px;font-size:13px}#forum-list .forum-thread-copy>strong{margin-top:4px}}

/* R1032: selection belongs to readable content; these elements perform UI actions. */
button,summary,[role="button"],[role="tab"],
#forum-list .fc-author,
#community-group-list .r936-group-count,
#community-group-list .r936-group-card-body h3{
 -webkit-user-select:none;user-select:none;
}
button,summary,[role="button"],[role="tab"]{
 -webkit-touch-callout:none;
}
.work-card-main .work-card-cover img,
.r936-group-card-body button img{
 -webkit-user-drag:none;
}
input,textarea,[contenteditable]:not([contenteditable="false"]){
 -webkit-user-select:text;user-select:text;
}

/* R1035: original detail sibling; write phases do not insert/remove status rows. */
.wr1035{margin-top:16px;border-top:1px solid var(--border,#dfe4e8);padding-top:12px;min-width:0}
.wr1035[hidden]{display:none}
.wr1035 h3,.wr1035 p{margin:0}
.wr1035-summary{min-height:24px;font-size:13px;color:var(--muted,#596570);margin:4px 0 10px!important}
.wr1035 form>label{display:block;font-size:13px;margin-bottom:4px}
.wr1035 textarea,.wr1035 select{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--border,#dfe4e8);border-radius:8px;padding:8px;background:var(--surface,#fff);color:inherit}
.wr1035 textarea{height:68px;min-height:68px;resize:vertical;-webkit-user-select:text;user-select:text}
.wr1035-stars{display:flex;gap:2px;align-items:center;min-height:44px;flex-wrap:wrap}
.wr1035-star{border:0;background:none;color:inherit;min-width:40px;height:44px;padding:0 8px;font:inherit;cursor:pointer}
.wr1035-star:first-child{font-size:12px;min-width:72px}
.wr1035-star[aria-checked=true]{background:var(--accent-soft,#e8f4f2);color:var(--accent,#0b6970);border-radius:8px}
.wr1035 small{font-size:12px;color:var(--muted,#596570)}
.wr1035 small[data-invalid=true]{color:#b42318}
.wr1035-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:4px}
.wr1035-actions button{min-height:44px;min-width:0;font-size:12px;padding:6px 8px}
.wr1035-status{box-sizing:border-box;block-size:60px;overflow:auto;font-size:13px;line-height:20px;padding-top:6px;overflow-wrap:anywhere}
.wr1035-local{box-sizing:border-box;block-size:96px;overflow:auto;padding:6px 8px;background:var(--surface-subtle,#f5f7f8);border-radius:8px}
.wr1035-local p{font-size:13px;line-height:19px;white-space:pre-wrap;overflow-wrap:anywhere}
.wr1035-local button{min-height:32px;padding:3px 6px;font-size:12px}
.wr1035>button{min-height:44px;font-size:13px;margin-top:4px}
.wr1035-confirm{margin:6px 0;font-size:13px}.wr1035-confirm[hidden]{display:none}.wr1035-confirm button{min-height:44px}
.wr1035-review{padding:10px 0;border-bottom:1px solid var(--border,#dfe4e8)}
.wr1035-meta{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}.wr1035-meta>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wr1035-meta>button{margin-left:auto;min-height:44px;font-size:12px}
.wr1035-review>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5;-webkit-user-select:text;user-select:text}
.wr1035-report{padding:8px 0}.wr1035-report button{min-height:44px}
.wr1035 :focus-visible{outline:2px solid var(--accent,#0b6970);outline-offset:2px}
@media(min-width:600px){.wr1035-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Persist outside the original renderer, inside one bounded detail scrollport. */
#detail-dialog .wr1035-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;background:var(--surface,#fff)}
#detail-dialog .wr1035-scroll>#detail-content{overflow:visible}
#detail-dialog:has(.wr1035-scroll)>.sheet-surface>.sheet-header,#detail-dialog:has(.wr1035-scroll)>.sheet-surface>.sheet-actions{flex-shrink:0}
.wr1035{margin-top:0;padding:12px 16px 16px;background:var(--surface,#fff)}

/* R1043: original buttons share intrinsic count columns without moving their DOM. */
#screen-catalog .work-card-catalog,#forum-list .forum-thread-card{display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:auto 76px}
#screen-catalog .work-card-main,#forum-list .forum-thread-open{grid-area:1/1/3/3;display:grid;grid-template-columns:subgrid;grid-template-rows:subgrid}
#screen-catalog .work-card-cover,#forum-list .forum-catalog-cover{grid-area:1/1/2/3}
#screen-catalog .work-card-copy,#forum-list .forum-thread-copy{grid-area:2/1/3/3;display:grid;grid-template-columns:subgrid;grid-template-rows:44px 18px;padding:8px 9px 6px}
#screen-catalog .work-card-copy>strong,#forum-list .forum-thread-copy>strong{grid-area:1/1;min-width:0;padding-right:3px;align-self:center;margin-top:0}
#screen-catalog .work-card-copy>.reviewed-tags{grid-area:2/1/3/3}
#screen-catalog .work-card-catalog-actions>.public-like-button,#forum-list .forum-thread-engagement>.public-like-button{position:relative;grid-area:2/2;inset:auto;align-self:start;justify-self:end;margin-top:8px;margin-right:3px;width:max-content;min-width:44px;max-width:66px;height:44px;box-sizing:border-box;justify-content:flex-end;padding:0 6px;gap:4px}

.r1063-settings{margin:20px 0;padding:16px;border:1px solid var(--border,#d8e5e4);border-radius:16px;background:var(--surface,#fff)}.r1063-settings h2{font-size:16px;margin:0 0 12px}.r1063-language-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.r1063-language-row label{font-weight:600}.r1063-language-row .hihihi-language-menu{min-width:130px;max-width:70%;min-height:44px;font-size:14px}.tc-filter-row{display:flex;flex-wrap:wrap;gap:6px;flex-basis:100%;grid-column:1/-1;width:100%;align-items:center;padding-top:4px}.tc-filter-row[hidden]{display:none!important}.tc-filter-row button{min-height:44px;min-width:64px;padding:8px 14px;border:1px solid var(--border,#d8e5e4);border-radius:10px;background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer}.tc-filter-row button[aria-pressed=true]{background:var(--secondary-soft,#e8f6f5);font-weight:700;border-color:var(--primary,#178878)}.tc-filter-row button:disabled{opacity:.55;cursor:default}.tc-filter-row button:focus-visible{outline:2px solid var(--primary,#178878);outline-offset:2px}#chat-topbar-options-r936>.ct-language-label{display:none!important}.ct-chat-compact #topbar-context-actions-r936>[data-tc-add]{display:none!important}.detail-external-r1063{display:flex;flex-direction:column;gap:6px;flex:1 1 100%;min-width:0}.detail-external-r1063[hidden]{display:none!important}.detail-external-r1063>button{min-height:44px}.detail-external-r1063 p{margin:0;line-height:1.5;font-size:13px}.detail-external-r1063~#detail-open-button{flex:1 1 auto}#detail-dialog .sheet-actions:has(.detail-external-r1063){display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}#detail-dialog .sheet-actions>#detail-report-button{grid-column:1;grid-row:1}#detail-dialog .sheet-actions>#detail-open-button{grid-column:2;grid-row:1}.detail-external-r1063{grid-column:1/-1;grid-row:2}

.hihihi-private-groups{color:inherit;font:inherit;max-width:100%;min-width:0;padding:12px;box-sizing:border-box;overflow-wrap:anywhere}.hihihi-private-groups *{box-sizing:border-box;min-width:0}.hihihi-private-groups .pg-navigation,.hihihi-private-groups .pg-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hihihi-private-groups .pg-navigation{border-bottom:1px solid color-mix(in srgb,currentColor 18%,transparent);padding-bottom:10px;margin-bottom:12px}.hihihi-private-groups .pg-button{font:inherit;color:inherit;line-height:1.3;min-height:36px;padding:8px 12px;border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:10px;background:transparent;cursor:pointer;max-width:100%;white-space:normal}.hihihi-private-groups .pg-button:hover:enabled{background:color-mix(in srgb,currentColor 6%,transparent)}.hihihi-private-groups .pg-button:disabled{opacity:.5;cursor:default}.hihihi-private-groups .pg-selected{font-weight:650;background:color-mix(in srgb,currentColor 9%,transparent)}.hihihi-private-groups :is(button,input,textarea,select,summary):focus-visible{outline:2px solid currentColor;outline-offset:3px}.hihihi-private-groups .pg-grow{flex:1 1 160px}.hihihi-private-groups .pg-content{display:grid;gap:12px}.hihihi-private-groups .pg-heading{font-size:1.08em;line-height:1.4;margin:8px 0 0;font-weight:650}.hihihi-private-groups h4.pg-heading{font-size:1em}.hihihi-private-groups .pg-copy{margin:3px 0;line-height:1.55}.hihihi-private-groups .pg-muted{opacity:.7;font-size:.9em}.hihihi-private-groups .pg-list-row{padding:10px 0;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}.hihihi-private-groups .pg-status{margin-bottom:12px;outline:none}.hihihi-private-groups .pg-status:empty{display:none}.hihihi-private-groups .pg-status .pg-row{margin-top:8px}.hihihi-private-groups .pg-form{display:grid;gap:12px;max-width:36rem;width:100%;padding:10px 0}.hihihi-private-groups .pg-form>.pg-button{justify-self:start}.hihihi-private-groups .pg-field{display:grid;gap:5px;font-size:.96em}.hihihi-private-groups :is(input:not([type=checkbox]),textarea,select){font:inherit;color:inherit;background:transparent;border:1px solid color-mix(in srgb,currentColor 30%,transparent);border-radius:8px;padding:9px 10px;width:100%;max-width:100%;min-height:40px}.hihihi-private-groups textarea{resize:vertical;min-height:86px;max-height:260px}.hihihi-private-groups .pg-check{display:flex;align-items:flex-start;gap:8px;line-height:1.5}.hihihi-private-groups .pg-check input{margin-top:4px;flex:none;width:18px;height:18px}.hihihi-private-groups summary{padding:8px 0;cursor:pointer}.hihihi-private-groups .pg-history{max-height:min(50vh,32rem);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.hihihi-private-groups .pg-message{padding:10px 0;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent)}.hihihi-private-groups .pg-message-text{white-space:pre-wrap;overflow-wrap:anywhere}.hihihi-private-groups .pg-message .pg-button{padding:5px 10px;font-size:.9em}.hihihi-private-groups .pg-local-message{position:relative;padding-right:30px}.hihihi-private-groups .pg-message-mark{position:absolute;right:5px;top:12px;font-size:13px;line-height:18px;width:18px;text-align:center;opacity:.7}.hihihi-private-groups .pg-history-status{min-height:20px;font-size:.86em;line-height:20px;opacity:.7}.hihihi-private-groups .pg-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hihihi-private-groups [hidden]{display:none!important}@media(max-width:480px){.hihihi-private-groups{padding:8px}.hihihi-private-groups .pg-button{min-height:44px}.hihihi-private-groups .pg-navigation{gap:6px}.hihihi-private-groups .pg-navigation .pg-button{flex:1 1 auto}.hihihi-private-groups .pg-grow{flex-basis:140px}.hihihi-private-groups :is(input:not([type=checkbox]),textarea,select){font-size:16px}}

/* The existing forum + keeps its original compose/auth/recovery action. */
#app-shell:has(#bottom-nav [data-screen="forum"][aria-current]) #header-publish-button,
#app-shell:has(#bottom-nav [data-screen="forum"][aria-current]) #chat-topbar-more-r936{display:none!important}
/* Match visual order to the existing fullscreen container's final DOM position. */
#app-shell #app-header>.header-actions:has(>[data-r866-display-control="header"]){order:4!important}

#screen-chat-r925:has(#r1079-group-grid[data-r1079-list="true"]){row-gap:8px}
#screen-chat-r925:has(#r1079-group-grid[data-r1079-list="true"])>#chat-tabs-r925{margin-bottom:0}
#screen-chat-r925 #community-groups-search{margin-top:0}
#r1079-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--feed-gap,12px);align-items:start;margin-top:12px}
#r1079-group-grid>.community-group-action{grid-column:1/-1}
#r1079-group-grid .r936-cover-group{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0;overflow:visible;border:1px solid var(--line,#e3e6ed);border-radius:var(--radius-card,14px);box-shadow:none;background:var(--surface,#fff)}
#r1079-group-grid .r936-cover-group:has(.r936-group-menu[open]){z-index:3}
#r1079-group-grid .r936-group-card-body{display:grid;gap:5px;padding:8px;min-width:0}
#r1079-group-grid .r936-group-cover{position:relative;width:100%;height:auto;min-height:0;aspect-ratio:var(--content-card-aspect,4/3);padding:12px;flex-direction:column;justify-content:flex-end;align-items:stretch;text-align:start;border:0;border-radius:10px;background:radial-gradient(circle at 92% 8%,#ffffffa8 0 20%,transparent 21%),linear-gradient(140deg,#f0edff,#dce8ff);color:#3e4777;overflow:hidden}
#r1079-group-grid .r936-group-cover:disabled{cursor:default;opacity:.7}
#r1079-group-grid .r936-group-cover-fallback{display:-webkit-box;min-width:0;font-size:clamp(15px,2vw,18px);line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#r1079-group-grid .r936-group-cover-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
#r1079-group-grid .r936-group-cover-image[hidden]{display:none!important}
#r1079-group-grid .r936-cover-group .community-group-heading{display:block;padding:3px 3px 0;min-width:0}
#r1079-group-grid .r936-cover-group .community-group-heading h3{display:block;margin:0;overflow:hidden;font-size:13px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
#r1079-group-grid .r936-cover-group .r936-group-description{display:block;min-width:0;margin:0;padding:0 3px;overflow:hidden;font-size:11px;line-height:1.45;color:var(--soft,#5f687a);text-overflow:ellipsis;white-space:nowrap}
#r1079-group-grid .r936-cover-group .community-group-tags{display:flex;gap:5px;min-width:0;height:18px;margin:0;padding:0 3px;overflow:hidden;white-space:nowrap}
#r1079-group-grid .r936-cover-group .community-group-tags>span{display:block;min-width:0;max-width:100%;padding:1px 5px;overflow:hidden;border-radius:5px;background:#f2f0fb;color:#656080;font-size:10px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}
#r1079-group-grid .r936-group-card-footer{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;min-width:0;min-height:44px;padding:0 9px;border-top:1px solid var(--line,#e3e6ed)}
#r1079-group-grid .r936-group-count{flex:0 0 auto;max-width:100%;overflow:hidden;font-size:11px;line-height:1.4;color:var(--soft,#5f687a);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis}
#r1079-group-grid .r936-group-card-entry{flex:1;min-width:0}
#r1079-group-grid .r936-group-card-entry>.community-group-action,#r1079-group-grid .r936-group-card-entry .r936-member-group-actions>.community-group-action{display:flex;align-items:center;justify-content:flex-end;min-height:44px;width:100%;padding:4px 0;border:0;background:transparent;color:var(--secondary,#248b89);font-size:12px;font-weight:750;white-space:nowrap}
#r1079-group-grid .r936-group-card-entry .r936-member-group-actions{margin:0}
#r1079-group-grid .r936-cover-group .r936-group-menu{top:10px;right:10px}
#r1079-group-grid .r936-cover-group .r936-group-menu>summary{background:#ffffffec;box-shadow:0 1px 4px #1820330d;color:#454d66}
#r1079-group-grid .r936-cover-group .r936-group-menu-items{min-width:128px;max-width:calc(100vw - 32px)}
#r1079-group-grid .r936-group-card-footer:has(.r936-leave-confirmation:not([hidden])),#r1079-group-grid .r936-group-card-footer:has(.community-group-detail){align-items:flex-start}
#r1079-group-grid .r936-group-card-footer:has(.r936-leave-confirmation:not([hidden])) .r936-group-card-entry,#r1079-group-grid .r936-group-card-footer:has(.community-group-detail) .r936-group-card-entry{flex-basis:100%}
#r1079-group-grid .r936-group-card-footer:has(.community-group-detail) .r936-group-count{padding-top:8px}
#r1079-group-grid .r936-cover-group .r936-leave-confirmation{margin:0 0 9px;padding-top:8px}
#r1079-group-grid .r936-cover-group .r936-leave-confirmation>div{gap:4px}
#r1079-group-grid .r936-cover-group .r936-leave-confirmation button{font-size:12px;padding-inline:5px}
#r1079-group-grid .r936-cover-group .community-group-detail{min-width:0;font-size:12px;padding:10px 0;margin:0}
@media(min-width:700px){#r1079-group-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}}

.r1079-group-grid{min-width:0;max-width:100%}
.r1079-group-grid[data-r1079-list="true"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.r1079-group-grid[data-r1079-list="true"] :is(#community-groups-panel,#community-group-directory,#community-group-list,#chat-private-groups-panel-r1067,.pg-content):not([hidden]){display:contents}
.r1079-group-grid[data-r1079-list="true"] :is(.section-intro,#community-groups-auth,#community-groups-search,#community-groups-state,.community-group-read-actions,#community-shortcuts,.pg-navigation,.pg-status,.pg-content>.pg-button,.pg-content>.pg-copy){grid-column:1/-1;min-width:0}
.r1079-group-grid[data-r1079-list="true"] :is(.section-intro,#community-groups-auth,#community-groups-search,#community-groups-state,.pg-navigation,.pg-status,.pg-content>.pg-button,.pg-content>.pg-copy){order:-1}
.r1079-group-grid[data-r1079-list="true"] .community-group-read-actions{order:1}
.r1079-group-grid[data-r1079-list="true"] .pg-navigation{border:0;margin:4px 0 0;padding:0;gap:8px;flex-wrap:wrap}
.r1079-group-grid[data-r1079-list="true"] .pg-navigation>.pg-selected{display:none}
.r1079-group-grid[data-r1079-list="true"] .pg-status{margin:0;font-size:12px}
.r1079-group-grid[data-r1079-list="true"] .pg-status p{margin:0}
.r1079-group-grid[data-r1079-list="true"] .pg-content>.pg-button{justify-self:start;margin:0}
#r1079-group-grid .r1079-private-card .r936-group-cover{background:radial-gradient(circle at 92% 8%,#ffffffa8 0 20%,transparent 21%),linear-gradient(140deg,#e5f4ee,#d5e8f1);color:#285b56;display:flex;min-height:0}
#r1079-group-grid .r1079-private-card .r1079-placeholder-label{font-size:11px;line-height:1.5;margin-top:8px;opacity:.85}
#r1079-group-grid .r1079-private-card .r936-group-cover-fallback{font-size:24px}
#r1079-group-grid .r1079-private-card .r936-group-card-entry>.pg-button{display:flex;align-items:center;justify-content:flex-end;width:100%;min-height:44px;border:0;padding:4px 0;background:transparent;font-size:12px;font-weight:750;color:var(--secondary,#248b89)}
#r1079-group-grid [data-r1079-group-type="private"] .r1079-type-label{background:#def1e8;color:#245e4a}
#r1079-group-grid [data-r1079-group-type="public"] .r1079-type-label{background:#e8ebff;color:#444e91}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type]{height:auto;border-radius:6px;padding:0}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .r936-group-card-body{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:5px;padding:8px}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .r936-group-cover{grid-column:auto;grid-row:auto;display:flex;width:100%;height:auto;min-height:0;aspect-ratio:4/3;padding:12px;align-items:stretch;justify-content:flex-end;text-align:start}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .r936-group-cover-fallback{font-size:18px;line-height:1.35;text-align:start}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .community-group-heading{grid-column:auto;grid-row:auto;padding:3px 3px 0}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .community-group-heading h3{font-size:13px;line-height:1.35;font-weight:750}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .r936-group-description{display:none;grid-column:auto;grid-row:auto;padding:0 3px;font-size:11px;line-height:1.45}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .community-group-tags{grid-column:auto;grid-row:auto;height:18px;padding:0 3px;align-self:auto}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .community-group-tags>span{padding:1px 5px;font-size:10px;line-height:16px}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type] .r936-group-card-footer{padding:0 9px;border-top:1px solid var(--line,#e3e6ed);min-height:44px}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type="private"] .community-group-tags>.r1079-type-label{background:#def1e8;color:#245e4a}
#r1079-group-grid[data-r1079-list="true"] .r936-cover-group[data-r1079-group-type="public"] .community-group-tags>.r1079-type-label{background:#e8ebff;color:#444e91}
#r1079-group-grid [hidden]{display:none!important}
#r1079-group-grid[data-r1079-private-detail="true"]{display:block}
#r1079-group-grid[data-r1079-public-chat="true"]{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
#r1079-group-grid[data-r1079-public-chat="true"]>#community-groups-panel{flex:1;min-height:0;width:100%}
@media(min-width:700px){.r1079-group-grid[data-r1079-list="true"]{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}}

#me-account-r1079{margin:0 0 16px;padding:0 16px;border:1px solid var(--line,#dce2eb);border-radius:16px;background:var(--surface,#fff);min-width:0}
#me-account-r1079>#mine-profile-r925{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#screen-mine #me-account-r1079 #mine-profile-r925>summary.r936-me-header{border:0;border-radius:0;background:transparent;padding:16px 0}
#me-account-r1079 .r936-me-header{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 12px;padding:16px 0;align-items:center;min-width:0}
#me-account-r1079 .r936-me-avatar{grid-column:1;grid-row:1/3}
#me-account-r1079 .r936-me-name{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
#me-account-r1079 .r936-me-name:after{content:none!important}
#me-account-r1079 .r936-me-edit{grid-column:3;grid-row:1/3}
.me-username-r1079{grid-column:2;grid-row:2;min-width:0;font-size:13px;line-height:1.5;color:var(--soft,#5f687a);overflow-wrap:anywhere}
#me-account-r1079 #r936-me-account{margin:0;padding:12px 0;border:0;border-top:1px solid var(--line,#dce2eb);border-radius:0;background:transparent;box-shadow:none}
#me-account-r1079 #r936-me-account>summary{min-height:32px;line-height:32px;font-size:14px}
#me-account-r1079 #mine-account-r834,#me-account-r1079 #mine-account-r835{margin:10px 0 0;padding:0;border:0;background:transparent;box-shadow:none}
#me-account-r1079 .me-username-editor-r1079{padding:0 0 16px;margin:0 0 12px;border:0;border-bottom:1px solid var(--line,#dce2eb);border-radius:0;background:transparent;min-width:0}
.me-username-editor-r1079>summary[hidden],.me-username-editor-r1079>[hidden]{display:none!important}
#me-account-r1079 .me-username-editor-r1079 form{margin:0;gap:8px}
#me-account-r1079 .me-username-editor-r1079 label{font-weight:600}
#me-account-r1079 .me-username-editor-r1079 [data-username-read]{padding:4px 0;min-height:36px;border:0;background:transparent;font-size:13px;color:var(--secondary,#248b89)}
#screen-mine #me-account-r1079 .me-username-editor-r1079 [data-username-read]{padding:4px 0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#me-account-r1079 .me-username-editor-r1079:is([data-phase=existing],[data-phase=claimed]) [data-username-current]{display:none}
#me-account-r1079 .me-username-editor-r1079 p{font-size:13px;margin:6px 0;overflow-wrap:anywhere}
#me-account-r1079 .me-username-editor-r1079 input{max-width:100%;min-width:0}
#me-account-r1079+#r1063-settings{margin:0 0 18px;padding:12px 0;border:0;border-radius:0;background:transparent}
@media(max-width:360px){#me-account-r1079{padding-inline:12px}#me-account-r1079 .r936-me-header{grid-template-columns:40px minmax(0,1fr);gap:4px 10px}#me-account-r1079 .r936-me-edit{grid-column:2;grid-row:3;justify-self:start;margin-top:4px}#me-account-r1079 .r936-me-avatar{width:40px;height:40px}#me-account-r1079 .r936-me-name{font-size:18px}}

/* R1079 chat entry: native chat ownership and permission state remain unchanged. */
.main-content:has(#screen-chat-r925:not([hidden]) #community-groups-panel:not([hidden])[data-chat-entry-r951="open"]){padding-block:0;overflow:hidden;display:flex}
#app-shell:has(#screen-chat-r925:not([hidden]) #community-groups-panel:not([hidden])[data-chat-entry-r951="open"]){height:var(--r868-safe-height,100dvh);min-height:0}
#screen-chat-r925:not([hidden]):has(#community-groups-panel:not([hidden])[data-chat-entry-r951="open"]){flex:1;min-height:0;display:flex;flex-direction:column;gap:0}
#screen-chat-r925:has(#community-groups-panel:not([hidden])[data-chat-entry-r951="open"])>#chat-tabs-r925{display:none}
[data-chat-entry-r951="open"] #chat-entry-r951:not([hidden]){display:flex;flex:none;align-items:center;gap:8px;padding:4px 0;min-height:52px;box-sizing:border-box;border-bottom:1px solid var(--line)}
#chat-entry-r951>button{min-width:44px;min-height:44px;flex:none}
#chat-entry-r951>h2{flex:1;min-width:0;margin:0;font-size:15px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline-offset:-2px}
#chat-entry-r951>.r927-chat-menu{position:relative;inset:auto;flex:none;margin:0}
#chat-entry-r951>.r927-chat-menu[inert]{opacity:.5}
[data-chat-entry-r951="open"] #community-group-chat>.community-group-chat-header{display:none!important}
[data-chat-entry-layout-r1079="chat"] #community-group-chat:not([hidden]){display:flex!important}
#community-groups-panel:not([hidden])[data-chat-entry-layout-r1079="summary"]{flex:1;min-height:0;display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:0}
[data-chat-entry-layout-r1079="summary"] #community-group-chat{display:contents!important}
[data-chat-entry-layout-r1079="summary"] #community-group-chat>:not(#chat-entry-r951):not(#chat-entry-wait-r1079):not(#chat-entry-composer-r1079){display:none!important}
[data-chat-entry-layout-r1079="summary"] #chat-entry-r951{grid-row:1;grid-column:1}
#chat-entry-wait-r1079{grid-row:2;grid-column:1;min-height:0;overflow:auto;padding:12px 0}
#chat-entry-wait-r1079>p{margin:0 0 12px;color:var(--soft);font-size:13px}
[data-chat-entry-layout-r1079="summary"] #community-group-directory{grid-row:2;grid-column:1;min-height:0;overflow:auto}
#chat-entry-composer-r1079{grid-row:3;grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;border-top:1px solid var(--line);padding:6px 0;min-width:0}
#chat-entry-composer-r1079>textarea{width:100%;min-width:0;min-height:44px;max-height:68px;resize:none;box-sizing:border-box;padding:10px 12px;font:inherit;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--soft)}
#chat-entry-composer-r1079>button{min-height:44px;padding:10px 12px;border:0;border-radius:10px;background:var(--secondary-soft);color:var(--soft);font:inherit}
#chat-entry-wait-r1079[hidden],#chat-entry-composer-r1079[hidden]{display:none!important}
/* HIHIHI_CHAT_ENTRY_LAYOUT_R1079_END */

/* R1082: only the generic Chat publication entry is removed; R1079 keeps Forum + and fullscreen order. */
#app-shell:has(#bottom-nav [data-screen="chat"][aria-current]) #header-publish-button{display:none!important}

/* Original overflow controls keep their semantic elements, labels and 44px targets. */
#app-shell :is(.ct-more-button,.reviewed-card-menu,.r936-group-menu>summary,.r927-chat-menu>summary,.r927-message-menu>summary,.r958-more){
 box-sizing:border-box;min-width:44px;min-height:44px;border:0!important;background:transparent!important;box-shadow:none!important;
}
#app-shell :is(.ct-more-button,.reviewed-card-menu,.r936-group-menu>summary,.r927-chat-menu>summary,.r927-message-menu>summary,.r958-more):focus-visible,
#app-shell .r1082-matchmaking:focus-visible{outline:2px solid var(--secondary,#117f88);outline-offset:3px}
#screen-catalog .r1082-matchmaking{border:0!important;background:transparent!important;box-shadow:none!important;min-height:44px;padding-inline:8px}

/* The same original search controls form two rows at mobile widths. */
@media(min-width:0px){
 #app-shell .tc-search:not(.tc-collapsed){display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:8px;align-items:center;position:relative;width:100%;max-width:100%;box-sizing:border-box;flex-wrap:wrap}
 #app-shell .tc-search>input,
 #app-shell .tc-search>.community-group-search-field{grid-column:1;grid-row:1;min-width:0;width:100%;box-sizing:border-box}
 #app-shell .tc-search input{width:100%;height:44px;box-sizing:border-box;padding-inline-end:44px!important}
 #app-shell .tc-search input::-webkit-search-cancel-button{display:none}
 #app-shell .tc-search>.tc-search-tail{display:contents}
 #app-shell .tc-search .tc-search-tail small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #app-shell .tc-search .r1082-search-clear{position:absolute;inset-block-start:0;inset-inline-end:60px;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;box-shadow:none;font-size:23px;line-height:1;z-index:1}
 #app-shell .tc-search .r1082-search-clear:disabled{visibility:hidden}
 #app-shell .tc-search .r1082-search-close{grid-column:2;grid-row:1;width:52px;min-width:52px;height:44px;max-width:52px;padding:0 3px;border:0;background:transparent;box-shadow:none;font-size:13px;white-space:nowrap}
 #app-shell .tc-search #community-groups-search-submit,
 #app-shell .tc-search #community-groups-search-clear,
 #app-shell .tc-search #forum-search-clear{display:none!important}
 #app-shell .tc-search .tc-filter-row{grid-column:1/-1;grid-row:2;width:max-content;max-width:100%;flex-wrap:nowrap;gap:2px;padding:0;background:var(--subtle,#f3f5f6);border-radius:10px}
 #app-shell .tc-search .tc-filter-row button{min-height:44px;min-width:76px;padding:6px 12px;border:0;border-radius:8px;background:transparent;font-size:14px}
 #app-shell .tc-search .tc-filter-row button[aria-pressed=true]{background:var(--secondary-soft,#e8f6f5);font-weight:650}
 #app-shell .tc-search .tc-filter-row button[hidden]{display:none!important}
}

/* R1083: the original reply editor progressively opens at the content boundary. */
#forum-reply-disclosure-r1083{position:static;margin:12px 0 0;padding:0;border:0;border-top:1px solid var(--line);border-radius:0;background:var(--surface,#fff);min-width:0}
#forum-reply-disclosure-r1083>summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 4px;list-style:none;color:var(--muted);font-size:14px;line-height:22px;cursor:pointer;touch-action:manipulation}
#forum-reply-disclosure-r1083>summary::-webkit-details-marker{display:none}
#forum-reply-disclosure-r1083>summary:focus-visible{outline:2px solid var(--primary,#176e64);outline-offset:-2px;border-radius:8px}
#forum-reply-disclosure-r1083 .r1083-reply-icon{font-size:19px;line-height:24px}
#forum-reply-disclosure-r1083 .r1083-reply-chevron{margin-left:auto;font-size:18px;line-height:24px}
#forum-reply-disclosure-r1083[open] .r1083-reply-chevron{transform:rotate(180deg)}
#forum-reply-disclosure-r1083[open]>summary{color:var(--ink);min-height:40px;padding-block:4px}
#forum-reply-disclosure-r1083[open][data-pinned=true]>summary{display:none}
#forum-reply-disclosure-r1083[open][data-pinned=true]{padding-top:8px}
#forum-reply-disclosure-r1083>#forum-reply-form,#forum-video-sheet-r952 #forum-reply-form{position:static!important;inset:auto!important;transform:none!important;border:0;padding:0 0 8px;z-index:auto;scroll-margin-block:8px}
#forum-reply-disclosure-r1083:not([open])>#forum-reply-form{display:none}
#forum-reply-disclosure-r1083:has(>#forum-reply-form[hidden]){display:none!important}
#forum-reply-auth-gate{position:static!important;inset:auto!important}
#forum-video-sheet-r952 #forum-reply-disclosure-r1083{margin-top:10px}
#forum-video-viewer-r952 #forum-video-sheet-r952{--r1083-sheet-space:max(0px,calc(100dvh - var(--r1083-keyboard-inset,0px) - var(--r868-safe-top,0px) - 52px));bottom:max(var(--r868-safe-bottom,env(safe-area-inset-bottom)),var(--r1083-keyboard-inset,0px));max-height:min(75%,var(--r1083-sheet-space));min-height:min(35%,var(--r1083-sheet-space))}

/* The attachment entry shares the original input; details appear only on demand. */
.r1091-image-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0}
.r1091-image-tools,.r1091-image-preview{grid-column:1/-1;flex-basis:100%;min-width:0}
form:has(>.r1091-image-tools){flex-wrap:wrap}
.r1091-image-tools button,.r1091-image-preview button,.r1091-image-read,.r1091-image-pick{min-width:44px;min-height:44px;border:0;border-radius:10px;background:var(--surface-secondary,#f2f3f5);color:inherit;font:inherit;padding:8px 12px;cursor:pointer}
.r1091-image-tools button:focus-visible,.r1091-image-preview button:focus-visible,.r1091-image-read:focus-visible,.r1091-image-pick:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.r1091-image-tools button:disabled,.r1091-image-preview button:disabled,.r1091-image-pick:disabled{opacity:.5;cursor:default}
.r1091-image-field{position:relative}
.r1091-image-field>.r1091-image-input{padding-left:52px!important}
.r1091-image-field>.r1091-image-pick{position:absolute;left:2px;bottom:2px;width:44px;height:44px;padding:11px;background:transparent;color:var(--text-secondary,#62666d);z-index:1}
.pg-field.r1091-image-field>.r1091-image-pick{top:calc(1.5em + 6px);bottom:auto}
.r1091-image-pick svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.r1091-image-status{font-size:12px;line-height:1.4;color:var(--text-secondary,#62666d);overflow-wrap:anywhere}
.r1091-image-preview{display:flex;align-items:center;gap:10px;margin:4px 0 8px}
.r1091-image-preview[hidden],.r1091-image-tools[hidden],.r1091-image-tools [hidden]{display:none!important}
.r1091-image-preview img{width:72px;height:72px;object-fit:contain;border-radius:9px;background:var(--surface-secondary,#f2f3f5)}
.r1091-history-image{display:block;max-width:100%;margin:6px 0}
.r1091-history-image img{display:block;width:auto;max-width:min(100%,320px);max-height:320px;object-fit:contain;border-radius:10px}
.r1091-image-read{display:inline-flex;align-items:center;gap:6px;font-size:13px}
@media(max-width:420px){.r1091-history-image img{max-height:260px}.r1091-image-tools{gap:6px}}

.r1099-group-menu{position:fixed;z-index:60;display:grid;gap:2px;padding:6px;border:1px solid var(--line,#d9dde5);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#202733);box-shadow:0 8px 24px #15223824;max-height:calc(100dvh - 16px);overflow:auto}
.r1099-group-menu[hidden]{display:none!important}
.r1099-group-menu>button{display:flex;align-items:center;min-width:44px;min-height:44px;width:100%;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:inherit;text-align:start;font:inherit;font-size:14px;line-height:22px;cursor:pointer}
.r1099-group-menu>button:hover,.r1099-group-menu>button:focus-visible{background:var(--secondary-soft,#e9f2f4);outline:2px solid var(--secondary,#248b89);outline-offset:-2px}
.r1099-group-menu>button:disabled{opacity:.5;cursor:default}

/* R1104: bounded Friends directory presentation; original controllers retained. */
#friend-manager-r925>section:has(#social-profile-friend-code),
#private-social-panel [data-r1104-technical-code],
#friend-manager-r925 .social-friend-code-entry{display:none!important}
#username-find-r965:is([data-phase="idle"],[data-phase="existing"],[data-phase="unclaimed"],[data-phase="claimed"],[data-phase="profile_required"])>p[role="status"]{display:none}
#private-social-friends .private-social-friend-r925>button{
 display:grid!important;grid-template-columns:36px minmax(0,1fr) auto;
 grid-template-rows:auto auto;column-gap:10px;row-gap:3px;
 width:100%;min-height:68px;padding:11px 12px;align-items:center;text-align:start
}
#private-social-friends .r936-friend-initial,
#private-social-friends .r936-friend-avatar{grid-column:1;grid-row:1/3;margin:0}
#private-social-friends .r936-friend-name{grid-column:2;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.4}
#private-social-friends .r936-presence{grid-column:2;grid-row:2;margin:0;min-width:0;font-size:12px;line-height:1.3}
#private-social-friends .private-social-friend-r925>button:not(:has(.r936-presence)) .r936-friend-name{grid-row:1/3}
#private-social-friends .private-social-conversation-meta{grid-column:3;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;margin:0;min-width:0;font-size:11px;line-height:1.3;white-space:nowrap}
#private-social-friends .private-social-conversation-unread[data-has-unread="false"]{display:none!important}
#private-social-friends .private-social-conversation-unread[data-has-unread="true"]{display:block;min-width:20px;max-width:96px;padding:2px 6px;border-radius:999px;background:var(--accent,#ef7651);color:#fff;font-size:11px;font-weight:600;line-height:16px;text-align:center}
#friend-manager-r925 #username-find-r965 :is(input,button){min-height:44px}
.personal-person-card [data-card-action="friend"]{min-height:44px;min-width:44px;padding:10px 14px;border:1px solid var(--border,#d9dee8);border-radius:10px}

/* Image-read failures belong to the composer status area, never a message row. */
.r1105-image-history-status{display:flex;justify-content:flex-end;align-items:center;flex-basis:100%;grid-column:1/-1;min-width:0;margin:0}
.r1105-image-history-retry{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-width:24px;min-height:24px;padding:2px 4px;border:0;border-radius:4px;background:transparent;color:var(--text-secondary,#62666d);font:inherit;font-size:12px;line-height:1.4;text-align:right;cursor:pointer;overflow-wrap:anywhere}
.r1105-image-history-retry:hover{text-decoration:underline}
.r1105-image-history-retry:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.r1105-image-history-retry:disabled{cursor:default;opacity:.65;text-decoration:none}

/* Keep the compact status label; provide a full touch target only on coarse pointers. */
@media(pointer:coarse){.r1105-image-history-status>.r1105-image-history-retry{min-height:44px}}

/* Private channel only: retain directory/workspace/report authority and controls. */
.main-content:has(#screen-chat-r925:not([hidden]) #chat-private-groups-panel-r1067:not([hidden])[data-r1079-private-view="channel"]){padding-block:0;overflow:hidden;display:flex}
#app-shell:has(#screen-chat-r925:not([hidden]) #chat-private-groups-panel-r1067:not([hidden])[data-r1079-private-view="channel"]){height:var(--r868-safe-height,100dvh);min-height:0}
#screen-chat-r925:not([hidden]):has(#chat-private-groups-panel-r1067:not([hidden])[data-r1079-private-view="channel"]){flex:1;min-height:0;display:flex;flex-direction:column;gap:0}
#screen-chat-r925:has(#chat-private-groups-panel-r1067:not([hidden])[data-r1079-private-view="channel"])>#chat-tabs-r925{display:none}
#r1079-group-grid[data-r1079-private-detail="true"]:has(>[data-r1079-private-view="channel"]){display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;align-items:stretch;width:100%}
#chat-private-groups-panel-r1067[data-r1079-private-view="channel"]{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:8px}
[data-r1079-private-view="channel"]>.pg-content{display:flex;flex:1;flex-direction:column;min-height:0;gap:6px;position:relative}
[data-r1079-private-view="channel"]>.pg-status{margin:0 0 6px;font-size:12px}
.r1110-channel-header{display:flex;align-items:center;gap:8px;flex:none;min-height:44px;padding-bottom:6px;border-bottom:1px solid var(--line,#e3e6ed)}
.r1110-channel-header>.pg-button{width:44px;min-height:44px;flex:none;border:0;padding:0;background:transparent;font-size:20px}
.r1110-channel-title{flex:1;min-width:0;font-size:15px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r1110-channel-menu,.r1110-message-menu{position:relative;flex:none}
.hihihi-private-groups .r1110-menu-summary{display:flex;align-items:center;justify-content:center;list-style:none;border:0;background:transparent;padding:0;min-width:44px;min-height:44px;font-size:20px;line-height:1;cursor:pointer}
.r1110-menu-summary::-webkit-details-marker{display:none}
.r1110-menu-body{position:absolute;right:0;top:100%;z-index:5;display:grid;min-width:150px;max-width:min(280px,75vw);padding:6px;background:var(--surface,#fff);border:1px solid var(--line,#e3e6ed);border-radius:12px;box-shadow:0 5px 20px #0002}
.hihihi-private-groups .r1110-menu-body>.pg-button{border:0;text-align:left;min-height:44px}
.r1110-menu-body time{padding:8px;font-size:12px;white-space:nowrap}
[data-r1079-private-view="channel"] .pg-history{flex:1;min-height:80px;max-height:none;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:auto;padding:8px 0}
[data-r1079-private-view="channel"] .pg-message{position:relative;width:fit-content;max-width:88%;margin:0 auto 12px 0;padding:9px 12px;border:0;border-radius:15px;background:var(--surface,#fff)}
[data-r1079-private-view="channel"] .pg-message:is([data-r1110-own="true"],.pg-local-message){margin-left:auto;margin-right:0;background:var(--secondary-soft,#e7f6f5)}
.r1110-message-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}
.r1110-message-heading>strong{font-size:12px;line-height:1.4;color:var(--text-secondary,#62666d)}
.r1110-message-menu>.r1110-menu-summary{min-height:44px;width:44px;margin:-9px -12px -9px 0;font-size:18px}
[data-r1079-private-view="channel"] .pg-message-text{line-height:1.5;margin:4px 0}
[data-r1079-private-view="channel"] [data-pg-composer]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;max-width:none;width:100%;padding:6px 0 0;flex:none;border-top:1px solid var(--line,#e3e6ed)}
[data-r1079-private-view="channel"] [data-pg-composer]>.pg-field{grid-column:1;grid-row:auto;align-self:end;gap:0}
[data-r1079-private-view="channel"] [data-pg-composer]>.pg-field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
[data-r1079-private-view="channel"] [data-pg-composer] textarea{height:44px;min-height:44px;max-height:132px;resize:none;font-size:16px;line-height:24px;padding:9px 10px;border-radius:12px;overflow-y:auto}
[data-r1079-private-view="channel"] [data-pg-composer]>.pg-button{align-self:end;min-height:44px;border:0;border-radius:12px;background:var(--primary,#fb6654);color:#fff;padding:8px 14px;white-space:nowrap}
[data-r1079-private-view="channel"] [data-pg-reply]{grid-column:1/-1;font-size:12px}
[data-r1079-private-view="channel"] [data-pg-composer] .pg-field.r1091-image-field>.r1091-image-pick{top:0;bottom:0}
[data-r1079-private-view="channel"] .pg-history-status{flex:none;min-height:0}
[data-r1079-private-view="channel"] .pg-content:has([name="reportReason"]){overflow-y:auto}
[data-r1079-private-view="channel"] .pg-content:has([name="reportReason"])>.pg-history{flex:none;max-height:30vh}
/* Original Direct details and translated accessible More remain intact. */
#private-social-panel #friend-conversation-more-r925>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;list-style:none;font-size:0}
#friend-conversation-more-r925>summary::-webkit-details-marker{display:none}
#friend-conversation-more-r925>summary::after{content:'⋯';font-size:20px;line-height:1}
#friend-conversation-more-r925>summary>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

@media(min-width:700px){html:not([data-r868-inline-viewport]):not([data-r868-fullscreen-viewport]) #app-shell:has(#screen-chat-r925:not([hidden]) #chat-private-groups-panel-r1067:not([hidden])[data-r1079-private-view="channel"]){height:calc(var(--r868-safe-height,100dvh) - 48px)}}

/* Mobile feedback: resident reply, secondary attachments and one card metadata row. */
#forum-reply-disclosure-r1083>summary{display:none}
#forum-reply-disclosure-r1083[open]{padding-top:8px}
#forum-reply-form>.forum-media-field{grid-row:3}
#forum-reply-disclosure-r1083 #forum-reply-form #forum-reply-visibility{grid-row:4}
#forum-reply-form #forum-reply-status{grid-row:5}
#forum-reply-disclosure-r1083 #forum-reply-form .forum-attachment-picker-r918>summary{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;min-height:44px;padding:0;list-style:none;font-size:24px;border-radius:10px;background:var(--subtle,#f7f8fa);cursor:pointer}
#forum-reply-disclosure-r1083 #forum-reply-form .forum-attachment-picker-r918>summary::-webkit-details-marker{display:none}
#forum-reply-disclosure-r1083 #forum-reply-form .forum-attachment-picker-r918>summary:focus-visible{outline:2px solid var(--secondary,#087b8a);outline-offset:2px}
#forum-list .fc-author{position:relative;grid-area:2/1/3/3;inset:auto;align-self:end;margin:0 9px 13px 65px;min-width:0;line-height:18px}
#forum-list .forum-thread-engagement>.fc-replies{position:relative;grid-area:2/1;inset:auto;align-self:end;justify-self:start;margin:0 0 0 3px;height:44px}

/* Title followed by one author/like/reply row; original controls remain. */
#forum-list .forum-thread-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
#forum-list .forum-thread-open{grid-area:1/1;display:flex;flex-direction:column}
#forum-list .forum-thread-copy{display:block;height:auto;min-height:44px;padding:8px 9px 0}
#forum-list .forum-thread-copy>strong{padding-right:0}
#forum-list .forum-thread-engagement{display:grid;grid-area:2/1;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:center;gap:4px;min-width:0;min-height:44px;height:auto;margin:0;padding:0 7px 6px}
#forum-list .fc-author{position:static;grid-area:1/1;inset:auto;align-self:center;margin:0;min-width:0;line-height:18px}
#forum-list .forum-thread-engagement>.public-like-button{position:static;grid-area:1/2;inset:auto;align-self:center;justify-self:center;margin:0;width:max-content;min-width:44px;max-width:none;height:44px;padding:0 2px;justify-content:center}
#forum-list .forum-thread-engagement>.fc-replies{position:static;grid-area:1/3;inset:auto;align-self:center;justify-self:center;margin:0;width:max-content;min-width:44px;max-width:none;height:44px;padding:0 2px}

.hihihi-private-groups .pg-workspace-header{display:flex;align-items:center;gap:10px}.hihihi-private-groups .pg-icon{flex:none;width:44px;min-height:44px;padding:0;border:0;font-size:22px}.pg-group-identity{display:flex;align-items:center;gap:16px;padding-top:8px}.pg-avatar{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:20px;background:var(--accent-soft,#e3f2f2);color:var(--accent,#238b8c);font-size:22px;font-weight:700;overflow:hidden}.pg-identity-copy{min-width:0}.pg-identity-copy .pg-heading{font-size:1.3em;margin:0 0 4px}.hihihi-private-groups .pg-invite{background:var(--accent,#238b8c);border-color:transparent;color:#fff;font-weight:600}.pg-workspace-section{margin-top:8px;padding:14px 16px;background:var(--panel,#fff);border:1px solid var(--line,#e3e6ed);border-radius:16px}.pg-workspace-section>.pg-row{justify-content:space-between}.pg-workspace-section .pg-heading{margin:0 0 8px}.hihihi-private-groups .pg-channel-row{display:flex;align-items:center;text-align:left;gap:12px;width:100%;min-height:56px;border:0;border-radius:10px;padding:10px 8px}.pg-channel-symbol{display:grid;place-items:center;flex:none;width:34px;height:34px;background:var(--bg,#f5f6f8);border-radius:10px;font-size:20px;color:var(--soft,#66738a)}.pg-member-avatar{width:36px;height:36px;border-radius:50%;font-size:14px}.pg-role{padding:3px 8px;border-radius:6px;background:var(--bg,#f5f6f8);color:var(--soft,#66738a);font-size:.8em}.pg-workspace-section .pg-list-row:last-child{border-bottom:0}.pg-member-actions{margin-left:44px;font-size:.9em}.pg-group-management{color:var(--soft,#66738a);font-size:.9em;padding:4px}.pg-group-management>.pg-row{padding:8px 0}@media(max-width:480px){.pg-workspace-section{padding:12px}.pg-group-identity{gap:12px}.pg-avatar{width:54px;height:54px;border-radius:16px}.pg-member-avatar{width:36px;height:36px;border-radius:50%}.pg-workspace-section .pg-grow{flex-basis:0}.pg-workspace-section .pg-list-row>.pg-row{flex-wrap:nowrap}}

/* Catalogue layout is external CSS: production rejects style attributes. */
#screen-catalog .work-card-catalog{grid-template-columns:minmax(0,1fr) fit-content(66px)}
#screen-catalog .work-card-main,#screen-catalog .work-card-copy{min-width:0;max-width:100%}
#screen-catalog .work-card-cover{height:75cqi;max-height:75cqi;max-width:100%}
#screen-catalog .catalog-feedback-summary{contain:inline-size;max-width:100%;overflow-wrap:anywhere;grid-area:2/1/3/3;min-width:0;line-height:16px;max-height:32px;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#screen-catalog .content-feed:has(.catalog-feedback-summary)>.work-card-catalog{grid-template-rows:auto 108px}
#screen-catalog .content-feed:has(.catalog-feedback-summary)>.work-card-catalog .work-card-copy{height:108px;min-height:108px}
#screen-catalog .work-card-copy:has(>.catalog-feedback-summary){grid-template-rows:44px 32px 18px}
#screen-catalog .work-card-copy:has(>.catalog-feedback-summary)>.reviewed-tags{grid-area:3/1/4/3}

/* R1115: validated public-group image overlays share the message content column. */
#community-group-chat-message-list>.r929-message:has(>.r1091-history-image){row-gap:0}
#community-group-chat-message-list>.r929-message:has(>.r1091-history-image)>.community-group-message-body{border-bottom-left-radius:0;border-bottom-right-radius:0}
#community-group-chat-message-list>.r929-message>.r1091-history-image{grid-column:2;grid-row:2;min-width:0;max-width:100%;margin:0;padding:0 12px 8px;box-sizing:border-box;background:var(--surface);border-radius:0 0 12px 12px}
#community-group-chat-message-list>.r929-message[data-current-actor=true]>.r1091-history-image{grid-column:1;background:var(--secondary-soft)}
#community-group-chat-message-list>.r929-message>.r1091-history-image[data-r1115-caption-empty=true]{grid-row:1;padding-top:8px;border-radius:12px}
#community-group-chat-message-list>.r929-message:has(>.r1091-history-image[data-r1115-caption-empty=true])>.community-group-message-body{display:none}
#community-group-chat-message-list>.r929-message>.r1091-history-image img{height:auto}

/* V347: Compact forum replies; preserve existing controls and host safe area. */
#forum-reply-list > .forum-reply:not([hidden]) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(44px,max-content);
  gap:4px 8px;
  padding-block:8px;
  min-width:0;
}
#forum-reply-list > .forum-reply > * {
  min-width:0;
  grid-column:1 / -1;
}
#forum-reply-list > .forum-reply > .forum-reply-head {
  grid-column:1; grid-row:1;
  gap:4px 8px; align-items:baseline; flex-wrap:wrap;
}
#forum-reply-list > .forum-reply > .forum-reply-target-note {
  grid-column:1; margin:0;
}
#forum-reply-list > .forum-reply > .forum-reply-body {
  grid-column:1; margin:0; min-height:0;
  font-size:14px; line-height:1.5;
  white-space:pre-wrap; overflow-wrap:anywhere;
}
#forum-reply-list > .forum-reply > .public-like-button:not([hidden]) {
  grid-column:2; grid-row:1 / span 2;
  align-self:start; justify-self:end;
  box-sizing:border-box; min-width:44px; min-height:44px;
  padding-inline:4px;
}
#forum-reply-list > .forum-reply:has(> .forum-reply-target-note:not([hidden])) > .public-like-button:not([hidden]) {
  grid-row:1 / span 3;
}
#forum-reply-list > .forum-reply:not(:has(> .public-like-button:not([hidden]))) {
  grid-template-columns:minmax(0,1fr);
}
#forum-reply-list > .forum-reply > .forum-media-list { margin-top:4px; }
#forum-reply-list > .forum-reply > .forum-reply-actions {
  justify-content:flex-start; flex-wrap:wrap; gap:0 8px; margin:0;
}
#forum-reply-list .forum-reply-head strong {
  min-width:0; overflow-wrap:anywhere; font-size:12px; line-height:18px;
}
#forum-reply-list .forum-reply-head > .forum-meta {
  flex:0 0 auto; max-width:100%; font-size:11px; line-height:16px;
}
@media (hover:hover) and (pointer:fine) {
  #forum-reply-list > .forum-reply > .forum-reply-actions button {
    min-height:32px;
  }
}
#forum-reply-disclosure-r1083 #forum-reply-form #forum-reply-status[data-tone="success"]:not([hidden]) {
  min-height:0;
  margin:0;
  padding:2px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:12px;
  line-height:18px;
}

html:is([data-r868-fullscreen-viewport],[data-r868-inline-viewport]) #app-shell:has(#screen-forum:not([hidden]) #forum-detail-view:not([hidden])){overflow:clip}

/* Inline reply metadata; same actions and safe-area containment. */
#forum-reply-list > .forum-reply:not([hidden]){grid-template-columns:minmax(0,1fr)}
#forum-reply-list > .forum-reply > .forum-reply-head{grid-column:1 / -1;display:flex;flex-wrap:nowrap;gap:4px;align-items:baseline}
#forum-reply-list .fr-who{display:flex;align-items:baseline;gap:4px;flex:1 1 0;min-width:0;white-space:nowrap}
#forum-reply-list .fr-who > strong{flex:0 1 auto;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#forum-reply-list .fr-who:has(> .forum-reply-target-note) > strong{max-width:40%}
#forum-reply-list .fr-who > .forum-reply-target-note{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;line-height:18px}
#forum-reply-list > .forum-reply > .forum-reply-actions{grid-column:1 / -1;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:4px;min-width:0;max-width:100%;margin:0;overflow-x:auto}
#forum-reply-list > .forum-reply > .forum-reply-actions:empty{display:none}
#forum-reply-list > .forum-reply > .forum-reply-actions > button{flex:0 0 auto;box-sizing:border-box;min-width:44px;min-height:44px;white-space:nowrap;padding-inline:2px;font-size:11px;line-height:16px}
#forum-reply-list > .forum-reply > .forum-reply-actions > .public-like-button{margin:0;max-width:none}

/* Keep ordinary and staff reply actions compact in the same row. */
#forum-reply-list > .forum-reply:not([hidden]){row-gap:0;padding-block:6px}
#forum-reply-list > .forum-reply > .forum-reply-actions > .forum-staff-actions{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:4px}
#forum-reply-list > .forum-reply > .forum-reply-actions button{flex:0 0 auto;box-sizing:border-box;min-width:44px;min-height:32px;white-space:nowrap;padding-inline:2px;font-size:11px;line-height:16px}
@media(max-width:640px),(pointer:coarse){#forum-reply-list > .forum-reply > .forum-reply-actions button{min-height:44px}}

.pg-history[data-pg-channel]>.pg-message[data-pg-message]:has(>.r1091-history-image[data-r1115-caption-empty=true])>.pg-message-text{display:none}
