/* PIC club group chat (light, matches brand-light.css: teal #53BAB9, mint #9BD9CA, cream #FFF8E8, ink #0E2A27). */
.pic-chat{color-scheme:light;width:min(620px,calc(100vw - 24px));height:min(760px,90dvh);max-height:90dvh;box-sizing:border-box;border:1px solid #cbe6df;border-radius:24px;background:#fff;color:#0e2a27;padding:0;overflow:hidden;font:15px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 24px 80px #0e2a2740}
.pic-chat[open]{display:flex;flex-direction:column}.pic-chat::backdrop{background:#0e2a2766;backdrop-filter:blur(5px)}.pic-chat *{box-sizing:border-box}
.pic-chat button{font:inherit;cursor:pointer;color:#0e2a27}.pic-chat button:disabled{opacity:.45;cursor:default}
.pic-chat button:focus-visible,.pic-chat textarea:focus-visible,.pic-chat .chat-messages:focus-visible{outline:3px solid #2f8069;outline-offset:2px}
.pic-chat header{display:flex;align-items:center;gap:12px;padding:14px 14px 12px 16px;border-bottom:1px solid #e3efeb;background:#fff}
.pic-chat .chat-club{width:44px;height:44px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;overflow:hidden;background:#e6f5f1;font-size:22px;border:2px solid #9bd9ca}
.pic-chat .chat-club img{width:100%;height:100%;object-fit:cover}
.pic-chat .chat-titles{flex:1;min-width:0}.pic-chat h2{font-size:17px;margin:0;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pic-chat .chat-sub{margin:2px 0 0;font-size:13px;color:#526f68}
.pic-chat .chat-close{width:40px;height:40px;min-height:40px;border-radius:50%;border:0;background:#eef5f3;font-size:24px;line-height:1;padding:0;flex-shrink:0}
.pic-chat .chat-close:hover{background:#e0eeea}
.pic-chat .chat-messages{flex:1;min-height:120px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px;padding:10px 12px 14px;background:#f6faf8}
.pic-chat .chat-older{align-self:center;min-height:36px;margin:4px 0 8px;padding:6px 14px;border:1px solid #cbe6df;border-radius:18px;background:#fff;font-size:13px}
.pic-chat .chat-day{align-self:center;margin:12px 0 8px;padding:3px 12px;border-radius:12px;background:#e6f1ee;color:#526f68;font-size:12px;font-weight:600}
.pic-chat .chat-row{display:flex;align-items:flex-end;gap:8px;margin-top:10px;max-width:100%}
.pic-chat .chat-row-grouped{margin-top:2px}
.pic-chat .chat-row-own{justify-content:flex-end}
.pic-chat .chat-face{padding:0;border:0;background:none;border-radius:50%;flex-shrink:0;min-height:0;line-height:0}
.pic-chat .chat-avatar{display:grid;place-items:center;border-radius:50%;overflow:hidden;color:#fff;font-weight:700;font-size:14px;line-height:1;flex-shrink:0;box-shadow:0 0 0 2px #fff,0 1px 4px #0e2a2726}
.pic-chat .chat-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.pic-chat .chat-avatar-gap{width:34px;flex-shrink:0}
.pic-chat .chat-message{max-width:min(78%,440px);padding:8px 12px 6px;border-radius:18px 18px 18px 6px;background:#fff;border:1px solid #e1ece8;overflow-wrap:anywhere;box-shadow:0 1px 2px #0e2a270d}
.pic-chat .chat-row-grouped .chat-message{border-radius:6px 18px 18px 6px}
.pic-chat .chat-own{background:#53bab9;border-color:#53bab9;color:#06231f;border-radius:18px 18px 6px 18px}
.pic-chat .chat-row-own.chat-row-grouped .chat-own{border-radius:18px 6px 6px 18px}
.pic-chat .chat-name{font-size:13px;font-weight:700;margin-bottom:2px}
.pic-chat .chat-message p{white-space:pre-wrap;margin:0;font-size:15px}
.pic-chat .chat-removed{font-style:italic;color:#6b8580}
.pic-chat .chat-foot{display:flex;align-items:center;justify-content:flex-end;gap:2px;margin-top:3px;font-size:11px;color:#6b8580}
.pic-chat .chat-own .chat-foot{color:#0e3b35b3}
.pic-chat .chat-foot time{margin-right:4px}
.pic-chat .chat-act{border:0;background:none;padding:4px 6px;min-height:28px;font-size:11px;border-radius:8px;color:inherit;opacity:.8}
.pic-chat .chat-act:hover{opacity:1;background:#0e2a270f}
.pic-chat .chat-empty{margin:auto;text-align:center;color:#526f68;display:grid;gap:6px;padding:24px}
.pic-chat .chat-empty-mark{font-size:34px}
.pic-chat .chat-empty p{margin:0}
.pic-chat .chat-status{font-size:12px;margin:0;padding:6px 16px 0;color:#526f68;background:#fff;border-top:1px solid #e3efeb}
.pic-chat form{display:flex;align-items:flex-end;gap:8px;padding:8px 12px calc(12px + env(safe-area-inset-bottom));background:#fff}
.pic-chat .chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pic-chat textarea{flex:1;min-width:0;resize:none;font-family:inherit;font-size:16px;line-height:1.35;min-height:44px;max-height:140px;padding:11px 16px;border:1px solid #cbe6df;border-radius:22px;background:#f6faf8;color:#0e2a27}
.pic-chat form button{min-height:44px;padding:0 18px;border:0;border-radius:22px;background:#0e5e57;color:#fff;font-weight:650}
.pic-chat form button:not(:disabled):hover{background:#0b4c46}
.pic-chat [hidden]{display:none!important}
@media(max-width:480px){.pic-chat{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border-radius:0;border:0}.pic-chat header{padding-top:calc(12px + env(safe-area-inset-top))}.pic-chat .chat-message{max-width:80%}}
