/* 24.8.855 Facebook-style comments on an update (page and home-feed panel) */
.fc-section{max-width:680px;margin-top:6px;background:#fff;border-radius:16px;padding:14px 16px 16px;box-shadow:0 1px 2px rgba(0,0,0,.06),0 8px 24px -18px rgba(20,40,30,.4)}
.fc-section>h2{font-size:17px;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.fc-section>h2::before{content:"💬";font-size:18px}
.fc-empty{color:#5E665F;margin:4px 0 12px}
.fc-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:10px}
.fc{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:start;animation:fc-in .35s cubic-bezier(.2,1.2,.4,1) both}
.fc-av{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font:700 15px/1 Inter,system-ui,sans-serif;color:#fff;
 background:linear-gradient(135deg,hsl(var(--h,160) 45% 38%),hsl(calc(var(--h,160) + 40) 50% 48%));box-shadow:0 0 0 2px #fff}
.fc-main{min-width:0}
.fc-bubble{display:inline-block;max-width:100%;background:#F0F2F5;border-radius:18px;padding:8px 12px;color:#1C1E21;line-height:1.38;word-wrap:break-word;transition:background .2s}
.fc-bubble:hover{background:#E8EBEF}
.fc-bubble.is-media{background:transparent;padding:0}
.fc-bubble.is-media .fc-name{display:block;padding:4px 12px 4px;background:#F0F2F5;border-radius:14px;width:max-content;margin-bottom:4px}
.fc-name{display:block;font:700 13px/1.3 Inter,system-ui,sans-serif;color:#1C1E21}
.fc-biz{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:6px;background:#E4F0E8;color:#24563F;font-size:11px;vertical-align:1px}
.fc-text{font-size:15px}
.fc-big{display:inline-block;font-size:40px;line-height:1.1;animation:fc-bounce 1.2s ease-in-out 2}
.fc-gif{margin:0;border-radius:16px;overflow:hidden;max-width:240px;box-shadow:0 8px 20px -14px rgba(0,0,0,.5)}
.fc-gif img{display:block;width:100%;height:auto}.fc-gif figcaption{font-size:10px;padding:2px 8px;background:#fff;color:#65676B;text-align:right}
.fc-meta{font-size:12px;color:#65676B;padding:3px 12px 0;font-weight:600}
.fc.is-held .fc-bubble{opacity:.75;outline:1.5px dashed #C99A3A}
.fc.fc-new .fc-bubble{animation:fc-glow 1.8s ease-out}
/* composer */
.fc-compose{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:start;margin-top:6px}
.fc-box{position:relative;background:#F0F2F5;border-radius:20px;padding:4px 6px 4px 14px;display:flex;align-items:flex-end;gap:4px;transition:box-shadow .2s,background .2s}
.fc-box:focus-within{background:#fff;box-shadow:0 0 0 2px #24563F}
.fc-box textarea{flex:1;min-width:0;border:0;background:transparent;resize:none;font:15px/1.4 Inter,system-ui,sans-serif;padding:7px 0;max-height:160px;outline:none;color:#1C1E21}
.fc-tools{display:flex;align-items:center;gap:2px;padding-bottom:2px}
.fc-tool{border:0;background:transparent;width:34px;height:34px;border-radius:50%;cursor:pointer;font-size:19px;transition:background .15s,transform .15s}
.fc-tool:hover{background:#E4E6EB;transform:scale(1.1)}
.fc-gifbtn{font:800 11px/1 Inter,system-ui,sans-serif;color:#24563F;border:1.5px solid #24563F;width:auto;height:24px;padding:0 6px;border-radius:6px}
.fc-tool[aria-expanded=true]{background:#DCE9E1}
.fc-send{border:0;width:34px;height:34px;border-radius:50%;cursor:pointer;color:#9AA19C;background:transparent;transition:color .2s,transform .2s}
.fc-send svg{width:20px;height:20px}
.fc-compose.has-text .fc-send{color:#24563F;transform:rotate(-8deg) scale(1.08)}
.fc-compose.fc-sending .fc-send{animation:fc-fly .6s ease-in forwards}
.fc-tool:focus-visible,.fc-send:focus-visible{outline:3px solid #C99A3A;outline-offset:1px}
.fc-pop{position:absolute;left:0;right:0;bottom:calc(100% + 8px);z-index:5;background:#fff;border-radius:16px;padding:10px;box-shadow:0 18px 44px -18px rgba(0,0,0,.45);animation:fc-pop .18s ease-out}
.fc-pop[hidden]{display:none}
.fc-emoji{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:2px;max-height:200px;overflow:auto}
.fc-emoji button{border:0;background:transparent;font-size:24px;padding:5px;border-radius:10px;cursor:pointer;transition:transform .12s}
.fc-emoji button:hover,.fc-emoji button:focus-visible{background:#F0F2F5;transform:scale(1.25)}
.fc-gif-q{width:100%;border:0;border-radius:999px;padding:9px 14px;background:#F0F2F5;font:inherit;margin-bottom:8px}
.fc-gifs{columns:3 110px;column-gap:6px;max-height:260px;overflow:auto}
.fc-gifs button{display:block;width:100%;margin:0 0 6px;padding:0;border:0;border-radius:10px;overflow:hidden;cursor:pointer;background:#F0F2F5;break-inside:avoid}
.fc-gifs img{display:block;width:100%;height:auto;transition:transform .2s}.fc-gifs button:hover img{transform:scale(1.06)}
.fc-gifs[aria-busy=true]{opacity:.5}
.fc-giphy{font-size:11px;font-weight:700;color:#65676B;text-align:right;margin:4px 2px 0}
.fc-burst{position:fixed;z-index:60;pointer-events:none;font-size:20px;transform:translate(-50%,-50%);animation:fc-burst .9s ease-out forwards}
/* card buttons on the update: a little life */
.uc form[data-react] button{transition:transform .15s}
.uc form[data-react] button:active{transform:scale(.88)}
.uc form[data-react] button.on{animation:fc-pulse .4s ease-out}
@keyframes fc-in{from{opacity:0;transform:translateY(6px) scale(.98)}}
@keyframes fc-pop{from{opacity:0;transform:translateY(6px)}}
@keyframes fc-bounce{0%,100%{transform:none}40%{transform:translateY(-8px) scale(1.08)}}
@keyframes fc-glow{0%{box-shadow:0 0 0 0 rgba(36,86,63,.55);background:#DCEFE3}100%{box-shadow:0 0 0 14px rgba(36,86,63,0)}}
@keyframes fc-fly{to{transform:translate(30px,-30px) rotate(-30deg);opacity:0}}
@keyframes fc-burst{to{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1.3);opacity:0}}
@keyframes fc-pulse{50%{transform:scale(1.25)}}
@media (prefers-reduced-motion:reduce){.fc,.fc-big,.fc.fc-new .fc-bubble,.fc-compose.fc-sending .fc-send,.fc-pop,.uc form[data-react] button.on{animation:none}.fc-burst{display:none}}
.uc-panel-main .fc-section{box-shadow:none;padding:6px 0 0;background:transparent}
/* win over the older page styles for comment lists and textareas */
.fc-section .fc-list>li{border:0!important;padding:0!important;margin:0!important;background:none!important}
.fc-section .fc-box textarea,.fc-section .fc-box textarea:focus{min-height:0!important;height:auto;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;padding:7px 0!important;margin:0!important;width:auto!important}
.fc-section .fc-compose{border:0!important;padding:0!important;background:none!important}
.fc-section .fc-compose button{min-height:0}
