/* Group conversations: a quiet blue extension of PerthKorean's message UI. */
.pg-modal [hidden],.pg-card-container[hidden]{display:none!important}
.pg-modal{position:fixed;inset:0;z-index:1250;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.38);backdrop-filter:blur(7px);color:var(--text,#111827)}
.pg-modal[hidden]{display:none!important}
.pg-shell{display:flex;position:relative;flex-direction:column;width:520px;max-width:100%;height:min(780px,calc(100dvh - 48px));min-height:0;overflow:hidden;border:1px solid #e7edf5;border-radius:24px;background:#fff;box-shadow:0 24px 90px #17233d30;outline:none}
.pg-modal button,.pg-card-container button{-webkit-tap-highlight-color:transparent}
.pg-modal button:focus-visible,.pg-modal a:focus-visible,.pg-card-container button:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:3px}
.pg-modal button:disabled,.pg-card-container button:disabled{cursor:default;opacity:.5}
.pg-header{display:flex;align-items:center;gap:8px;min-height:82px;padding:15px 16px;border-bottom:1px solid #edf1f6;flex-shrink:0}
.pg-heading{flex:1;min-width:0}
.pg-heading h2{margin:0;font-size:19px;line-height:1.4;letter-spacing:-.55px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-heading p{margin:4px 0 0;color:#7b8799;font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:40px;padding:0;border:0;border-radius:12px;background:transparent;color:#45546b}
.pg-icon:hover{background:#f2f6fc}
.pg-invite-trigger{flex:0 0 44px;min-width:44px;height:40px;padding:0 8px;border:1px solid #dce8fa;border-radius:11px;background:#f0f6ff;color:#3064b6;font-size:12px;font-weight:750;line-height:1.5}
.pg-invite-trigger:hover{border-color:#bed3f6;background:#e7f0ff}
.pg-mark,.pg-room-avatar,.pg-card-icon{display:grid;place-items:center;flex-shrink:0;background:#edf4ff;color:var(--accent,#2563eb)}
.pg-mark{width:42px;height:42px;border-radius:14px;margin-right:3px}
.pg-tabs{display:flex;flex-shrink:0;gap:24px;padding:0 22px;border-bottom:1px solid #edf1f6}
.pg-tabs button{display:flex;align-items:center;gap:6px;min-height:47px;padding:0 3px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8590a2;font-size:14px;font-weight:650}
.pg-tabs button.is-active{border-color:var(--accent,#2563eb);color:var(--accent,#2563eb)}
.pg-tabs button>span{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#edf4ff;color:var(--accent,#2563eb);font-size:10px}
.pg-status{flex-shrink:0;margin:0;padding:9px 20px;background:#f3f7fd;color:#5c6d86;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.pg-status.is-error{color:#9b4545;background:#fff5f3}
.pg-inbox-view,.pg-thread{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.pg-inbox-tools{padding:16px 20px 0;flex-shrink:0}
.pg-search{display:flex;flex-direction:row;gap:8px;align-items:center;min-height:42px;padding:0 12px;border-radius:11px;background:#f4f7fb;color:#8795a9}
.pg-search>svg{flex-shrink:0;width:18px;height:18px}
.pg-modal .pg-search input{flex:1;min-width:0;height:42px;border:0;background:transparent;border-radius:0;padding:9px 0;outline:none;font-size:16px;font-weight:400}
.pg-search input::placeholder{font-size:13px;color:#8a97a8}
.pg-search:focus-within{outline:2px solid #b6cef9;outline-offset:2px}
.pg-section-label{display:flex;justify-content:space-between;align-items:center;margin:21px 0 9px;gap:12px}
.pg-section-label strong{font-size:14px;font-weight:700}.pg-section-label>span{font-size:11px;color:#94a0b1}
.pg-inbox{flex:1;min-height:0;overflow:auto;padding:0 8px 24px;overscroll-behavior:contain;scrollbar-width:thin}
.pg-conversation{display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;border:0;border-radius:14px;background:transparent;text-align:left;color:inherit}
.pg-conversation:hover{background:#f6f9fe}.pg-room-avatar{width:48px;height:48px;border-radius:16px}
.pg-conversation-content{flex:1;min-width:0}.pg-conversation-top{display:flex;align-items:center;justify-content:space-between;gap:9px}
.pg-conversation-top strong{min-width:0;font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-conversation-top time{flex-shrink:0;font-size:10px;color:#9aa5b4}
.pg-conversation-meta{display:block;margin-top:4px;font-size:10px;color:#8a98ab}
.pg-conversation-preview{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;color:#8a95a6}
.pg-conversation.is-unread .pg-conversation-preview{color:#47566d}.pg-unread{display:grid;place-items:center;min-width:21px;height:21px;padding:0 6px;flex-shrink:0;border-radius:12px;background:var(--accent,#2563eb);color:#fff;font-size:10px}
.pg-empty{text-align:center;padding:48px 25px;color:#8390a4}.pg-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto;border-radius:22px;background:#edf4ff;color:var(--accent,#2563eb)}
.pg-empty-icon>svg{width:29px;height:29px}.pg-empty h3{margin:22px 0 9px;color:#28344a;font-size:18px;font-weight:700;line-height:1.5;letter-spacing:-.45px}
.pg-empty p{max-width:290px;margin:0 auto;font-size:13px;line-height:1.8;word-break:keep-all;overflow-wrap:break-word}.pg-empty>.pg-button{display:inline-flex;margin-top:25px}
.pg-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:12px;background:var(--accent,#2563eb);color:#fff;font-size:13px;line-height:1.5;font-weight:700;text-decoration:none;transition:background .15s,opacity .15s}
.pg-button:hover{background:#1e55d5}.pg-button-secondary{border-color:#e1e8f3;background:#fff;color:#3c587f}.pg-button-secondary:hover{background:#f5f8fd}
.pg-button-danger{background:#d84242}.pg-button-danger:hover{background:#c33333}.pg-text-button{min-height:42px;padding:9px 5px;border:0;background:transparent;color:#687e9a;font-size:12px;font-weight:600}.is-danger{color:#c54f4f!important}
.pg-source{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-shrink:0;min-height:39px;padding:8px 20px;border:0;border-bottom:1px solid #f0f3f7;background:#fff;color:#7285a0;font-size:11px;text-align:left}
.pg-source svg{width:15px;height:15px}.pg-source:hover{background:#f8faff;color:var(--accent,#2563eb)}
.pg-notice{flex-shrink:0;max-height:28%;overflow:auto;margin:10px 16px 0;border:1px solid #e1eafb;border-radius:11px;background:#f7faff}
.pg-notice summary{display:flex;align-items:center;gap:8px;min-height:39px;padding:9px 12px;cursor:pointer;list-style:none;color:#55729a;font-size:12px}
.pg-notice summary::-webkit-details-marker{display:none}.pg-notice summary>span{flex-shrink:0;color:var(--accent,#2563eb);font-size:10px;font-weight:750}.pg-notice summary>strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}.pg-notice summary>svg{width:14px;height:14px;flex-shrink:0}.pg-notice[open] summary>svg{transform:rotate(180deg)}
.pg-notice>p{margin:0;padding:0 12px 12px;color:#4f6482;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
.pg-room-state{flex-shrink:0;margin:0;padding:9px 18px;background:#f7f8fa;color:#8a96a6;font-size:11px;line-height:1.6}
.pg-history{position:relative;display:flex;flex:1;min-height:0;overflow:hidden}.pg-messages{flex:1;min-height:0;overflow:auto;padding:8px 18px 20px;overscroll-behavior:contain;scrollbar-width:thin;outline:none}
.pg-older{display:block;min-height:36px;margin:6px auto 8px;padding:6px 14px;border:0;border-radius:20px;background:#f3f6fb;color:#8493a8;font-size:11px}
.pg-date{margin:22px 0;text-align:center;color:#a0abba;font-size:10px;line-height:1.5;letter-spacing:.15px}
.pg-message{display:flex;align-items:flex-start;gap:8px;width:fit-content;max-width:88%;margin:14px 0 0}.pg-message.is-grouped{margin-top:4px}.pg-message-content{min-width:0}
.pg-person-avatar{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:11px;background:#f0f4fa;color:#7485a0;font-size:12px;font-weight:650;line-height:1}
.pg-person-avatar.is-spacer{visibility:hidden}.pg-message-author{display:flex;align-items:center;gap:5px;margin:0 0 5px;color:#5d6e86;font-size:11px;line-height:1.5}
.pg-host{display:inline-flex;align-items:center;flex-shrink:0;min-height:17px;padding:1px 5px;border-radius:4px;background:#ebf2ff;color:#5d7eb7;font-size:9px;font-weight:700;line-height:1.5}
.pg-bubble{border-radius:4px 16px 16px;background:#f2f5f9;color:#334155}.pg-bubble p{margin:0;padding:10px 13px;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.pg-bubble a{color:inherit;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.pg-message-content>time{display:block;margin:4px 3px 0;color:#a0aabd;font-size:9px;line-height:1.5}
.pg-mine{margin-left:auto}.pg-mine .pg-bubble{border-radius:16px 4px 16px 16px;background:var(--accent,#2563eb);color:#fff}.pg-mine .pg-message-content>time{text-align:right}
.pg-message.is-grouped .pg-bubble{border-radius:16px}.pg-new-messages{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;min-height:36px;padding:8px 14px;border:1px solid #dbe6f8;border-radius:20px;background:#fff;color:var(--accent,#2563eb);box-shadow:0 3px 14px #274b7e16;font-size:11px;white-space:nowrap}.pg-new-messages>svg{width:14px;height:14px}
.pg-form{display:flex;flex-direction:column;gap:0;flex-shrink:0;margin:0;padding:10px 16px max(16px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #f1f4f8}
.pg-composer{display:flex;align-items:flex-end;gap:8px;min-height:48px;padding:5px 6px 5px 15px;border:1px solid #dfe7f3;border-radius:24px;background:#fff}.pg-composer:focus-within{border-color:#91b4f1;box-shadow:0 0 0 2px #eff5ff}
.pg-modal .pg-composer textarea{display:block;flex:1;width:100%;min-width:0;min-height:38px;height:38px;max-height:var(--pg-composer-max-height,112px);overflow-y:auto;resize:none;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;padding:7px 0;margin:0;font:400 16px/24px inherit;font-family:inherit;font-size:16px;line-height:24px;color:#26364c;box-sizing:border-box}
.pg-composer textarea::placeholder{font-size:13px;color:#9ca9ba}.pg-send{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;margin-bottom:1px;padding:0;border:0;border-radius:50%;background:var(--accent,#2563eb);color:#fff}.pg-send:disabled{opacity:1;background:#eff3f9;color:#bbc8db}.pg-send.is-sending{opacity:.55}
.pg-compose-hint{margin:7px 5px 0;color:#91a0b3;font-size:10px;line-height:1.5}
.pg-room-preview{flex:1;min-height:0;overflow:auto;padding:30px 28px max(28px,env(safe-area-inset-bottom));text-align:center;overscroll-behavior:contain}
.pg-preview-hero>.pg-state{margin-top:19px}.pg-preview-hero h3{margin:12px 0 10px;font-size:22px;line-height:1.5;letter-spacing:-.55px;word-break:keep-all;overflow-wrap:anywhere}.pg-preview-hero>p{margin:0;color:#8a97aa;font-size:12px;line-height:1.7}.pg-preview-hero>p>strong{font-weight:500;color:#637995}
.pg-preview-copy{margin:29px 0 23px;padding:20px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.pg-preview-copy h4{margin:0 0 8px;font-size:14px;font-weight:650}.pg-preview-copy p{margin:0;font-size:12px;color:#7c8ba1;line-height:1.8;word-break:keep-all}.pg-preview-copy small{display:block;margin-top:10px;color:#a0acbd;font-size:10px;line-height:1.7}.pg-preview-join{width:100%}.pg-room-preview>.pg-text-button{display:block;margin:7px auto 0}
.pg-state{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:3px 7px;border-radius:6px;background:#f0f3f7;color:#8895a8;font-size:10px;line-height:1.5;font-weight:600}.pg-state.is-open{background:#edf4ff;color:#5c80b9}.pg-state.is-open::before{content:'';width:4px;height:4px;border-radius:50%;background:#7198d2}
.pg-panel{flex:1;min-height:0;overflow:auto;padding:23px 21px max(25px,env(safe-area-inset-bottom));overscroll-behavior:contain}.pg-panel-heading{margin-bottom:22px}.pg-panel-heading h3{margin:0;font-size:17px;letter-spacing:-.4px;line-height:1.5}.pg-panel-heading h3>span{margin-left:4px;color:#97a9c1;font-size:14px;font-weight:500}.pg-panel-heading p{margin:7px 0 0;color:#8a98ac;font-size:11px;line-height:1.7}
.pg-invite{max-width:418px;margin:0 auto;padding:5px 0 0}
.pg-invite-intro{text-align:center}.pg-invite-art{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 19px;border:1px solid #dfeafa;border-radius:24px;background:linear-gradient(145deg,#f5f9ff,#e8f1ff);color:#4c7cc4;box-shadow:0 6px 18px #2a579309}.pg-invite-art>svg{width:30px;height:30px}
.pg-invite-intro .pg-invite-eyebrow{margin:0 0 7px;color:#6482ad;font-size:10px;font-weight:700;letter-spacing:.4px}.pg-invite-intro h3{margin:0;color:#243b5a;font-size:23px;line-height:1.5;font-weight:750;letter-spacing:-.75px}.pg-invite-intro>p{margin:9px 0 0;color:#657891;font-size:13px;line-height:1.9;word-break:keep-all}
.pg-invite-room{display:flex;align-items:center;gap:13px;margin:25px 0 23px;padding:17px;border:1px solid #e3ebf7;border-radius:16px;background:#fbfdff}.pg-invite-room .pg-room-avatar{width:45px;height:45px;border-radius:15px}.pg-invite-room>div{flex:1;min-width:0}.pg-invite-room h4{margin:6px 0 5px;color:#3a5375;font-size:14px;line-height:1.6;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}.pg-invite-room p{margin:0;color:#687c96;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.pg-modal .pg-invite-link{display:flex;flex-direction:column;gap:8px;margin:0;color:#627894;font-size:11px;font-weight:650}.pg-modal .pg-invite-link input{width:100%;height:45px;min-width:0;margin:0;padding:11px 12px;border:1px solid #e0e8f3;border-radius:10px;background:#f7f9fc;color:#637895;font-family:inherit;font-size:16px;font-weight:400;line-height:21px;box-shadow:none}.pg-modal .pg-invite-link input:focus-visible{outline:2px solid #b6cef9;outline-offset:2px}
.pg-invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.pg-invite-actions>.pg-button{min-width:0;min-height:46px;font-size:12px;padding:11px 9px}.pg-invite-actions svg{width:17px;height:17px;flex-shrink:0}
.pg-invite-feedback{margin:12px 0 0;padding:10px 12px;border-radius:9px;background:#edf6f1;color:#4f856d;font-size:11px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}.pg-invite-feedback.is-error{background:#fff4f1;color:#a06b61}
.pg-invite-note{margin:13px 0 0;color:#687c96;font-size:11px;line-height:1.8;word-break:keep-all}.pg-invite-note.is-paused{padding:11px 12px;border:1px solid #f0e6cf;border-radius:10px;background:#fffcf5;color:#8d7647}
.pg-invite-privacy{display:flex;align-items:center;justify-content:center;gap:9px;margin:24px 0 0;padding-top:19px;border-top:1px solid #edf1f6;color:#798ba3}.pg-invite-privacy>span{display:flex}.pg-invite-privacy svg{width:20px;height:20px}.pg-invite-privacy p{margin:0;font-size:11px;line-height:1.8}
.pg-member{border-bottom:1px solid #f0f3f8}.pg-member-row{display:flex;align-items:center;gap:10px;min-height:63px;padding:7px 0}.pg-member-row .pg-person-avatar{width:36px;height:36px;border-radius:12px}.pg-member-name{flex:1;min-width:0;font-size:13px;font-weight:550;overflow-wrap:anywhere}.pg-member-name small{font-size:10px;color:#96a5ba;font-weight:400}.pg-member-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 0 12px}.pg-member-actions button{min-height:36px;padding:7px 11px;border:1px solid #e5ebf4;border-radius:9px;background:#fff;color:#6a7d97;font-size:11px}
.pg-panel-footer{margin-top:24px}.pg-panel-footer p{margin:0 0 12px;color:#92a0b3;font-size:11px;line-height:1.8}.pg-panel-footer>.pg-button{width:100%}.pg-panel-footer>.pg-text-button{width:100%;text-align:center}
.pg-settings-form{gap:20px;margin:0}.pg-settings-form label{gap:9px;color:#475d7b;font-size:12px;font-weight:650}.pg-settings-form label small{color:#98a5b7;font-size:10px;font-weight:400;line-height:1.6}.pg-settings-form textarea,.pg-settings-form input{border-color:#e2eaf5;background:#fff;font-size:16px;font-weight:400;color:#344863}.pg-settings-form textarea{resize:vertical;min-height:88px;max-height:180px;line-height:1.6}.pg-settings-form textarea::placeholder{font-size:12px;color:#a0aec1}.pg-capacity-input{position:relative}.pg-capacity-input input{padding-right:42px}.pg-capacity-input>span{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#a0adbd;font-size:12px}
.pg-setting-section,.pg-setting-danger{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 0;border-top:1px solid #ecf1f7}.pg-setting-section{margin-top:25px}.pg-setting-section strong,.pg-setting-danger strong{font-size:12px;font-weight:650}.pg-setting-section p,.pg-setting-danger p{margin:6px 0 0;font-size:10px;color:#94a2b6;line-height:1.7}.pg-setting-section .pg-button{flex-shrink:0;font-size:11px;min-height:39px;padding:8px 11px}.pg-setting-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:18px 0;border:0;border-top:1px solid #ecf1f7;background:transparent;text-align:left;font-size:12px;font-weight:600;color:#4e6381}.pg-setting-link>span{font-size:11px;color:#93a3ba;font-weight:400}.pg-setting-danger .pg-text-button{flex-shrink:0;font-size:11px}
.pg-confirm-backdrop{position:absolute;inset:0;z-index:5;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:#24354d60}.pg-confirm{width:100%;padding:24px;border-radius:20px;background:#fff;box-shadow:0 15px 60px #152d442b}.pg-confirm h3{margin:0;font-size:17px;line-height:1.6;letter-spacing:-.3px;overflow-wrap:anywhere}.pg-confirm p{margin:10px 0 23px;color:#8191a6;font-size:12px;line-height:1.9}.pg-confirm>div{display:flex;gap:9px}.pg-confirm .pg-button{flex:1;min-width:0;padding:11px 9px}
.pg-card-container{margin:4px 0 25px}.pg-link-card{padding:19px;border:1px solid #dfe9f9;border-radius:16px;background:linear-gradient(145deg,#fbfdff,#f5f9ff)}
.pg-card-top{display:flex;align-items:center;gap:11px}.pg-card-icon{width:42px;height:42px;border-radius:14px;background:#eaf2ff}.pg-card-content{flex:1;min-width:0}.pg-card-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.pg-card-content strong{color:#345174;font-size:14px;font-weight:750}.pg-card-content p{margin:5px 0 0;color:#8a9ab0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.pg-card-description{margin:14px 0 12px;color:#7d90ab;font-size:12px;line-height:1.7}.pg-link-card>.pg-button{width:100%;font-size:13px;min-height:44px}.pg-link-card>.pg-button>svg{width:17px;height:17px}.pg-button-count{min-width:18px;min-height:18px;padding:1px 5px;border-radius:10px;background:#ffffff30;font-size:10px;line-height:16px}
.pg-create-card{display:grid;grid-template-columns:auto 1fr;gap:0 11px;background:#fafcff;border-color:#e6ecf5}.pg-create-card>.pg-button{grid-column:1/-1;margin-top:14px;width:100%;min-height:40px;font-size:12px}.pg-card-status{grid-column:1/-1;margin:10px 0 0;color:#a46b6b;font-size:11px;line-height:1.7}.pg-card-error{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e9eef5;border-radius:12px;color:#91a0b3;font-size:11px}.pg-card-error button{min-height:32px;padding:6px 9px;border:0;border-radius:8px;background:#f2f6fc;color:#6980a0;font-size:11px;white-space:nowrap}
.meetup-card .pg-card-container{margin:17px 0 0}.meetup-card .pg-link-card{padding:15px}.meetup-card .pg-card-description{font-size:11px}.meetup-card .pg-link-card>.pg-button{min-height:40px;font-size:12px}
@media(max-width:600px),(max-width:900px) and (pointer:coarse){
  .pg-modal{padding:0;top:var(--pg-top,0px);bottom:auto;height:var(--pg-height,100dvh);align-items:stretch;backdrop-filter:none}
  .pg-shell{width:100%;height:100%;max-height:100%;border:0;border-radius:0;box-shadow:none}
  .pg-header{min-height:64px;gap:4px;padding:8px 10px;padding-top:max(8px,calc(env(safe-area-inset-top) - var(--pg-top,0px)))}
  .pg-heading h2{font-size:17px}.pg-heading p{font-size:10px}.pg-icon{width:38px;flex-basis:38px;min-height:42px}.pg-invite-trigger{height:42px;flex-basis:44px}.pg-mark{width:37px;height:37px;border-radius:12px;margin:0 6px 0 3px}
  .pg-inbox-tools{padding:15px 18px 0}.pg-tabs{padding:0 19px}.pg-messages{padding:8px 12px 16px}.pg-message{max-width:90%;gap:6px}.pg-message .pg-person-avatar{width:28px;height:28px;border-radius:10px;font-size:11px}.pg-bubble p{font-size:14px;padding:10px 12px}
  .pg-form{padding:8px 10px max(10px,env(safe-area-inset-bottom))}.pg-composer{padding:4px 6px 4px 13px}.pg-send{width:36px;height:36px}.pg-panel{padding:22px 19px max(24px,env(safe-area-inset-bottom))}.pg-source{padding:8px 16px}.pg-notice{margin:8px 12px 0}.pg-confirm-backdrop{padding:12px 12px max(12px,env(safe-area-inset-bottom))}
  .pg-keyboard-open .pg-header{min-height:52px;padding-top:4px;padding-bottom:4px}.pg-keyboard-open .pg-heading h2{font-size:16px}.pg-keyboard-open .pg-heading p,.pg-keyboard-open .pg-source,.pg-keyboard-open .pg-notice,.pg-keyboard-open .pg-room-state{display:none!important}
  .pg-keyboard-open .pg-form{padding:6px 10px}.pg-keyboard-open .pg-status{padding:6px 14px;font-size:11px}.pg-keyboard-open .pg-compose-hint{display:none}
}
@media(max-width:360px){.pg-header{gap:1px;padding-left:5px;padding-right:5px}.pg-icon{width:35px;flex-basis:35px}.pg-heading h2{font-size:16px}.pg-link-card{padding:15px}.pg-card-title{gap:6px}.pg-card-content p{font-size:10px}.pg-room-preview{padding:26px 20px}.pg-confirm{padding:20px}.pg-invite-intro h3{font-size:21px}.pg-invite-room{padding:14px}}
@media(prefers-reduced-motion:reduce){.pg-button{transition:none}}


/* Dating rooms show participant places separately from the organizer. */
.pg-dating-counts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;text-align:left}
.pg-dating-slot{display:grid;gap:5px;padding:13px 16px;border:1px solid #e6d4db;border-radius:14px;background:#fff8fa;color:#4b2535}
.pg-dating-slot strong{font-size:17px;letter-spacing:-.3px}.pg-dating-slot small{font-size:12px;color:#755563}
.pg-dating-slot.is-full{background:#f3f3f5;border-color:#e1e1e6;color:#555}.pg-dating-slot.is-full small{color:#666}
.pg-dating-counts>p{grid-column:1/-1;margin:0!important;font-size:12px!important;color:#716870}
.pg-thread-quotas{padding:0 18px;border-bottom:1px solid #eee;flex-shrink:0}.pg-thread-quotas .pg-dating-counts{margin:10px 0}
.pg-dating-join{border:1px solid #e3dbe0;border-radius:14px;padding:16px;margin:0 0 18px;text-align:left}
.pg-dating-join legend{font-weight:650;font-size:14px;padding:0 5px}.pg-dating-join>div{display:flex;gap:14px;margin-bottom:15px}
.pg-dating-join label{display:flex;align-items:center;gap:7px;min-height:40px;line-height:1.5}.pg-dating-join input{width:18px;height:18px;flex:0 0 18px;accent-color:#a33861}
.pg-dating-join label:has(input:disabled){color:#85818a}.pg-dating-join small{display:block;font-size:12px;color:#756b74;line-height:1.6;margin-top:8px}
.pg-waitlist{display:grid;gap:12px;padding:20px;margin:0 0 18px;border:1px solid #e6d4db;border-radius:16px;background:#fff8fa;text-align:left;color:#4b2535}.pg-waitlist strong{font-size:20px}.pg-waitlist p{margin:0;line-height:1.65}.pg-waitlist small{line-height:1.6;color:#755563}.pg-waitlist .pg-button{width:100%}.pg-waitlist-entry{width:100%;margin-top:9px}.pg-dating-join>div{flex-wrap:wrap}
@media(max-width:420px){.pg-dating-slot{padding:10px}.pg-thread-quotas{padding:0 12px}.pg-heading p{font-size:11px}}


/* Shared private-message media tools in group conversations. */
.pg-shell{position:relative}
.pg-bubble:has(.dm-sent-photos){padding:7px}.pg-bubble .dm-sent-photos{max-width:100%;width:min(260px,58vw)}.pg-bubble .dm-sent-photo{min-height:110px}.pg-bubble .dm-sent-photo img{margin:0}
.pg-shell .dm-action-backdrop.hidden,.pg-shell .dm-photo-viewer.hidden{display:none}.pg-shell .dm-action-backdrop{z-index:6}.pg-shell .dm-photo-viewer{z-index:7}
.pg-member-actions{flex-wrap:wrap}.pg-member-actions small{flex-basis:100%;font-size:11px;color:#777;line-height:1.5}
.pg-keyboard-open .dm-photo-draft{width:48px;height:48px}.pg-keyboard-open .dm-photo-note{display:none}.pg-keyboard-open .dm-photo-drafts:not(:empty){padding-bottom:6px}
.meetup-create-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}

/* Keep the conversation compact; secondary actions never enlarge a message. */
body.pg-chat-open .comment-composer,body.pg-chat-open .reader-dock,body.pg-chat-open .bottom-nav{visibility:hidden!important;pointer-events:none!important}
.pg-modal,.pg-modal *{box-sizing:border-box}
.pg-header{min-height:72px;gap:4px;padding:10px 12px}.pg-heading h2{font-size:17px}.pg-heading p{font-size:11px}
.pg-invite-trigger{flex-basis:38px;min-width:38px;padding:0 4px;border:0;background:transparent;color:#5577b0;font-size:12px}
.pg-room-overview{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 16px;flex-shrink:0;border-bottom:1px solid #edf1f6}
.pg-thread-quotas{display:flex;align-items:center;gap:7px;padding:0;border:0;min-width:0;flex:1;flex-wrap:wrap}
.pg-quota-pill{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:4px 9px;background:#f1f5fa;border-radius:8px;color:#586b84;font-size:11px;line-height:20px;white-space:nowrap}
.pg-quota-pill strong{font-size:12px;font-weight:700;color:#334763}.pg-quota-pill small{font-size:10px;color:#7c899b}.pg-quota-pill.is-full{background:#f4f4f5;color:#7b818c}.pg-quota-pill.is-full strong{color:#5c6674}
.pg-room-overview .pg-source{margin-left:auto;min-height:30px;padding:4px 0;border:0;gap:5px;font-size:11px;white-space:nowrap}.pg-source svg{width:13px;height:13px}
.pg-notice{margin:8px 14px 0;border:0;border-radius:9px;background:#f4f7fc}.pg-notice summary{min-height:36px;padding:7px 10px}.pg-notice summary>strong{font-size:11px;font-weight:400}
.pg-messages{padding:4px 16px 20px}.pg-date{margin:16px 0;color:#8f9bac;font-size:10px}
.pg-message{max-width:calc(100% - 42px);margin-top:14px;gap:7px}.pg-mine{max-width:calc(100% - 38px)}
.pg-message-content{position:relative;display:flex;align-items:flex-start;flex-direction:column;min-width:0;max-width:100%}
.pg-mine .pg-message-content{align-items:flex-end}.pg-message-author{order:0;margin-bottom:4px}.pg-bubble{order:1;max-width:100%;border-radius:3px 15px 15px;background:#f1f4f8}
.pg-bubble p{padding:9px 12px;font-size:14px;line-height:1.6}.pg-mine .pg-bubble{border-radius:15px 3px 15px 15px;background:#315cda}
.pg-message-content>.dm-message-tools{display:contents}
.pg-message-content .dm-message-menu{position:absolute;top:3px;right:-34px;width:32px;min-width:32px;height:34px;min-height:34px;margin:0;padding:0;color:#9aa5b5;font-size:18px;line-height:30px;background:transparent}
.pg-mine .dm-message-menu{right:auto;left:-34px}.pg-message-content .dm-message-menu:hover,.pg-message-content .dm-message-menu:focus-visible{color:#4b6282;background:#f0f3f8}
.pg-message-content .dm-reactions{order:2;margin-top:4px;gap:4px}.pg-message-content .dm-reactions:empty{display:none}
.pg-message-content .dm-reaction{min-height:25px;padding:2px 8px;border-color:#e1e7ef;background:#f7f9fc;color:#566981;font-size:11px}.pg-message-content .dm-reaction.is-mine{border-color:#b8caf3;background:#eef3ff;color:#315caa}
.pg-message-meta{display:flex;align-items:center;gap:7px;order:3;margin:4px 2px 0;color:#98a3b3;font-size:10px;line-height:15px}
.pg-message-meta .pg-receipt{margin:0;color:#7d91ae;font-size:10px;font-weight:400}.pg-message-meta time{font-size:10px;white-space:nowrap}
.pg-system{margin:17px 18px;text-align:center;color:#8c98a8;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.pg-system span{display:inline-block;padding:4px 10px;border-radius:20px;background:#f7f8fa}
.pg-composer{padding:4px 6px;gap:6px}.pg-composer .dm-attach{width:36px;height:36px;background:transparent;color:#7b8ca5;font-size:27px}.pg-composer .dm-attach:disabled{color:#c0c9d5}
.pg-menu-room{display:grid;gap:7px;padding:0 2px 22px;border-bottom:1px solid #edf1f6}.pg-menu-room strong{font-size:17px;line-height:1.5;color:#2b3c55}.pg-menu-room span{font-size:12px;color:#8b98aa}
.pg-room-menu{padding-top:7px}.pg-room-menu button{display:flex;align-items:center;gap:13px;min-height:55px;width:100%;padding:12px 4px;border:0;background:transparent;text-align:left;color:#485d7b;font-size:14px}.pg-room-menu button>span{flex:1}.pg-room-menu button>small{font-size:12px;color:#8b98aa}.pg-room-menu button>svg{width:20px;height:20px;color:#8394ac}.pg-room-menu button:hover{background:#f8fafc}.pg-room-menu .pg-menu-leave{margin-top:17px;border-top:1px solid #edf1f6;padding-top:21px;color:#bd515b}.pg-room-menu .pg-menu-leave>svg{color:inherit}
.pg-successor{display:grid;gap:8px;margin:0 0 22px;font-size:12px;color:#60728b}.pg-successor select{width:100%;min-height:46px;padding:10px;border:1px solid #dce4f0;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#354b6a}
@media(hover:hover) and (pointer:fine){.pg-message-content .dm-message-menu{opacity:0}.pg-message:hover .dm-message-menu,.pg-message:focus-within .dm-message-menu{opacity:1}}
@media(max-width:600px),(max-width:900px) and (pointer:coarse){
  .pg-modal{inset:0;height:100dvh;background:#fff;isolation:isolate}
  .pg-modal.pg-keyboard-open{top:var(--pg-top,0px);bottom:auto;height:var(--pg-height,100dvh)}
  .pg-shell{height:100%;max-height:100%;min-height:0}
  .pg-header{min-height:62px;padding:7px 8px;padding-top:max(7px,env(safe-area-inset-top));gap:2px}
  .pg-in-room [data-pg="close"]{display:none}.pg-heading h2{font-size:16px;letter-spacing:-.35px}.pg-heading p{font-size:10px}
  .pg-icon{width:35px;flex-basis:35px;min-height:40px}.pg-invite-trigger{height:40px;flex-basis:35px;min-width:35px}
  .pg-room-overview{padding:5px 14px;min-height:42px}.pg-thread-quotas{padding:0}.pg-notice{margin:7px 12px 0}
  .pg-messages{padding:4px 13px 16px}.pg-message .pg-person-avatar{width:27px;height:27px;border-radius:9px;font-size:11px}.pg-bubble p{padding:9px 11px;font-size:14px}
  .pg-form{padding:8px 10px max(10px,env(safe-area-inset-bottom));border-top-color:#eef1f6}.pg-composer{min-height:46px;padding:4px 5px}
  .pg-keyboard-open .pg-room-overview,.pg-keyboard-open .pg-thread-quotas{display:none!important}
}
