/* FUMA PRO CLUB WEBSITE V6.10 — ergonomic chat, readable conversations and activity nav. */
body:has(#fpcChat) #app{min-height:0!important;max-height:none!important;height:auto!important;overflow:visible!important}
#fpcChat.fpcChatShell{height:calc(100dvh - 118px);min-height:450px;gap:5px;padding:6px clamp(8px,1vw,20px) 8px;overflow:hidden}
#fpcChat .fpcChatTitle{display:flex!important;flex:0 0 auto!important;min-height:0!important;height:auto!important;max-height:58px!important;padding:2px 7px!important;gap:15px!important;align-items:center!important;justify-content:space-between!important;background:none!important;border:none!important;box-shadow:none!important;overflow:hidden!important;line-height:1.12!important}
#fpcChat .fpcChatTitle>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0}
#fpcChat .fpcChatTitle small{font-size:clamp(8px,.7vw,10px)!important;line-height:1.12;white-space:nowrap}
#fpcChat .fpcChatTitle h1{font-size:clamp(19px,1.85vw,27px)!important;line-height:1.1!important;white-space:nowrap;margin:0!important}
#fpcChat .fpcChatTitle p{font-size:clamp(9px,.8vw,11px)!important;line-height:1.2!important;margin:0!important;min-width:0;color:#d3dccd!important}
#fpcChat .fpcChatTag{font-size:10px!important;padding:5px 11px!important;flex:0 0 auto}
#fpcChat .fpcChatFrame{min-height:0;flex:1;border-radius:10px}
#fpcChat .fpcChatTabs{min-height:37px!important;padding:4px 10px!important;gap:6px}
#fpcChat .fpcChatTabs button{font-size:clamp(10px,.84vw,12px);padding:6px 11px!important;line-height:1.2!important}
#fpcChat .fpcChatTabs .fpcChatRefresh{padding:3px 10px!important}
#fpcChat .fpcChatConversation{padding:0 9px!important}
#fpcChat .fpcChatConversationTitle{min-height:26px!important;flex-basis:26px!important;font-size:11px!important}
#fpcChat .fpcChatHistory{gap:5px!important;padding:8px 12px!important;align-items:stretch!important;background:linear-gradient(130deg,rgba(2,21,15,.79),rgba(0,15,9,.85)),url('assets/chat-background.png.webp') center/cover no-repeat!important;scrollbar-color:#a88b43 #071e14}
#fpcChat .fpcChatMessage{align-self:flex-end!important;max-width:min(64%,580px)!important;padding:7px 11px!important;border-radius:11px 11px 4px 11px!important;border:1px solid #596a52!important;background:#102d24!important;box-shadow:0 1px 5px #0004!important;min-width:0}
/* Reversal explicitly requested: messages sent BY YOU on LEFT, other members' replies on RIGHT. */
#fpcChat .fpcChatMessage.mine{align-self:flex-start!important;background:#18452e!important;border-color:#d3af56!important;border-radius:11px 11px 11px 4px!important}
#fpcChat .fpcChatMeta{gap:7px!important;font-size:10px!important;line-height:1.15}
#fpcChat .fpcChatMeta time{font-size:9px!important}
#fpcChat .fpcChatMessage p{font-size:clamp(12px,.88vw,13px)!important;line-height:1.34!important;margin:3px 0 0!important}
#fpcChat .fpcChatCompose{gap:7px!important;padding-top:5px!important}
#fpcChat .fpcChatCompose textarea{min-height:76px!important;height:clamp(76px,10vh,100px)!important;max-height:120px!important;resize:vertical;font-size:14px!important;line-height:1.4!important;padding:10px 12px!important;background:#fffdf6!important}
#fpcChat .fpcChatCompose button{min-width:90px;padding:8px 14px!important;font-size:11px!important}
#fpcChat .fpcChatKeyHint{font-size:9px!important;margin:3px 0!important;line-height:1.2}
#fpcChat .fpcChatNotice{padding:4px 9px!important;font-size:10px!important;line-height:1.2}
#nav button[data-page="TCHAT"].fpcChatGeneralUnread{animation:fpcChatGlint610 1.65s ease-in-out infinite!important;color:#ffde71!important;text-shadow:0 0 10px #ffd05e,0 0 17px #e7ba45!important}
@keyframes fpcChatGlint610{0%,100%{text-shadow:0 0 2px #ffd16a;filter:brightness(1)}50%{text-shadow:0 0 16px #ffe98d,0 0 24px #ffdd57;filter:brightness(1.45)}}
@media(prefers-reduced-motion:reduce){#nav button[data-page="TCHAT"].fpcChatGeneralUnread{animation:none!important;text-decoration:underline 2px #ffd05e;text-underline-offset:5px}}
@media(max-width:850px){#fpcChat.fpcChatShell{min-height:calc(100dvh - 108px);height:auto;overflow:visible}#fpcChat .fpcChatTitle{max-height:none!important;overflow:visible!important}#fpcChat .fpcChatTitle>div{gap:5px 12px}#fpcChat .fpcChatMessage{max-width:80%!important}}
@media(max-width:540px){#fpcChat .fpcChatTitle p{flex-basis:100%}#fpcChat .fpcChatMessage{max-width:91%!important}#fpcChat .fpcChatCompose textarea{min-height:78px!important}#fpcChat .fpcChatTag{display:none!important}#fpcChat .fpcChatCompose button{min-width:66px;padding:8px!important}}
