.event-chat-heading{background:linear-gradient(110deg,#e3f1e9,#f3f8f5);border:1px solid #b7d4c4;border-left:4px solid #267057;border-radius:11px;padding:14px 17px;margin-bottom:16px}.event-chat-heading>span{font-size:11px;color:#496c5c;text-transform:uppercase;letter-spacing:.05em}.event-chat-heading h3{margin:5px 0 7px;font-size:20px;color:#164a39;line-height:1.3}.event-chat-heading>strong,.event-chat-heading>small{display:block;margin:4px 0}.event-chat-heading>small{font-size:12px;color:#506e60}.event-chat-heading>p{margin:9px 0 0;font-size:12px;color:#426352}.event-chat-thread .chat-messages{background:#f0f3ee;border-radius:10px;padding:14px}.event-chat-thread .chat-message{background:#fff;border:1px solid #dce4dc;border-radius:12px 12px 12px 3px;padding:12px;max-width:90%;margin:8px auto 8px 0;box-shadow:0 2px 4px #1e45380a}.event-chat-thread .chat-message.own{margin:8px 0 8px auto;background:#ddf2df;border-color:#bcd9bf;border-radius:12px 12px 3px 12px}.event-chat-thread .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere}.event-chat-thread .chat-message strong{font-size:12px;color:#267057}.event-chat-thread .chat-message small{font-size:10px;color:#64766b}
/* Persistent conversation list: each event/center has its own recognizable row. */
#player-chat-list,#chatList{display:block;min-width:0}.event-conversation-group{margin:0 0 12px;border:1px solid #c5d8cc;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 2px 6px #1d40300b}.event-conversation-row{display:flex;align-items:flex-start;gap:11px;width:100%;padding:15px 13px;background:#fff;border:0;border-radius:0;text-align:left;box-shadow:none;white-space:normal;color:#233e31}.event-conversation-row+.event-conversation-row{border-top:1px solid #e0e9e2}.event-conversation-row.active{background:#dff0e5;box-shadow:inset 4px 0 #267057}.event-conversation-row:hover{background:#edf6ef}.event-conversation-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;background:#267057;color:white;border-radius:50%;font-size:18px;font-weight:800}.event-conversation-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.event-conversation-copy strong{font-size:15px;line-height:1.35;color:#1e533d}.event-conversation-copy b{font-size:14px;line-height:1.4;color:#253e33;overflow-wrap:anywhere}.event-conversation-copy>span{font-size:12px;color:#536d5e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.event-conversation-copy small{font-size:11px;color:#61796b;line-height:1.4}.player-chat-section .chat-layout>aside{position:sticky;top:var(--ctm-command-bar-height,160px);align-self:start;max-height:70vh;overflow-y:auto;padding:2px}.player-chat-section .chat-layout{align-items:start}@media(max-width:700px){.player-chat-section .chat-layout>aside{position:static;max-height:280px;width:100%;padding:0}.event-conversation-row{padding:12px}.event-conversation-avatar{flex-basis:32px;height:32px}}
/* Clean, non-overlapping identity block and center badge. */
.event-chat-thread .event-chat-heading{display:flex;align-items:center;gap:13px;position:static;height:auto;min-height:0;padding:14px 16px;margin:0 0 15px;overflow:hidden;line-height:normal}.event-chat-header-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;text-align:left}.event-chat-header-copy>strong{display:block;position:static;font-size:17px;line-height:1.35;margin:0;color:#164a39;overflow-wrap:anywhere}.event-chat-header-copy>span{display:block;font-size:16px;font-weight:650;line-height:1.4;color:#294b3b;overflow-wrap:anywhere}.event-chat-header-copy>small{font-size:12px;line-height:1.5;margin:0;color:#587264;overflow-wrap:anywhere}.center-group-icon{display:flex;align-items:center;justify-content:center;flex-direction:column;flex:0 0 49px;width:49px;height:56px;border-radius:12px;background:#267057;color:#fff;overflow:hidden}.center-group-icon svg{display:block;width:30px;height:30px;flex-shrink:0}.center-group-icon small{display:block;font-size:10px!important;font-weight:800;line-height:1.1;color:white!important;letter-spacing:.05em}.event-conversation-avatar{height:auto;flex-basis:38px;background:none;border-radius:0}.event-conversation-avatar .center-group-icon{width:38px;height:44px;flex-basis:38px;border-radius:9px}.event-conversation-avatar .center-group-icon svg{width:25px;height:25px}
/* Own messages on the left, responses white on the right. */
.event-chat-thread.message-bubble-thread .chat-messages{display:flex;flex-direction:column;gap:12px;padding:14px;background:#eaf0e9;max-height:52vh;overflow-y:auto}.event-chat-thread.message-bubble-thread .chat-message{display:block;align-self:flex-end;flex:none;width:fit-content;min-width:100px;max-width:85%;margin:0!important;background:#fff!important;color:#243c31;border:1px solid #d7e0d7!important;border-radius:13px 13px 3px 13px!important;text-align:left;padding:12px 14px;box-shadow:0 2px 5px #1d3b2b0c;overflow-wrap:anywhere}.event-chat-thread.message-bubble-thread .chat-message.own{align-self:flex-start;background:#ccebd4!important;border:1px solid #9ecfac!important;border-radius:13px 13px 13px 3px!important}.event-chat-thread.message-bubble-thread .chat-message strong{display:block;font-size:12px;line-height:1.4;margin:0 0 5px;color:#226040}.event-chat-thread.message-bubble-thread .chat-message p{margin:0 0 7px;font-size:15px;line-height:1.5}.event-chat-thread.message-bubble-thread .chat-message small{display:block;font-size:10px;line-height:1.4;color:#607469}.event-chat-thread .chat-close-consent{align-self:stretch;flex:none;padding:13px 15px;margin:4px 0;background:#fff8db;border:1px solid #dbc56e;border-radius:10px;font-size:13px}.event-chat-thread .chat-close-consent>strong{display:block;font-size:13px;margin-bottom:6px}.event-chat-thread .chat-close-consent p{font-size:12px;line-height:1.5;margin:0 0 10px}.event-chat-thread .chat-close-consent .row-actions{display:flex;flex-wrap:wrap;gap:8px}.event-chat-thread .chat-close-consent button{font-size:12px;padding:8px 10px;white-space:normal}.chat-close-record{align-self:center;max-width:95%;text-align:center;font-size:11px;line-height:1.5;color:#637268;background:#ffffffb3;border-radius:8px;padding:7px 11px;margin:3px 0}@media(max-width:600px){.event-chat-thread .event-chat-heading{padding:12px;gap:10px}.event-chat-header-copy>strong{font-size:16px}.event-chat-header-copy>span{font-size:14px}.event-chat-header-copy>small{font-size:11px}.event-chat-thread.message-bubble-thread .chat-message{max-width:91%;padding:10px 12px}.event-chat-thread.message-bubble-thread .chat-message p{font-size:14px}.event-chat-thread .chat-close-consent .row-actions{flex-direction:column}.event-chat-thread .chat-close-consent button{width:100%}}
.event-chat-thread .event-chat-heading>.center-group-icon{color:#fff}
/* Live messenger: independent scrolling transcript and a permanent composer. */
.player-chat-section>.heading{margin-bottom:12px}.player-chat-section>.heading h1{font-size:23px;margin:0}.player-chat-section>.heading p{display:none}.live-chat-layout{height:var(--live-chat-height,65dvh);min-height:290px;max-height:850px;gap:14px;overflow:hidden;align-items:stretch!important}.live-chat-layout>aside{position:static!important;height:100%;max-height:none!important;overflow-y:auto;min-height:0;margin:0}.live-chat-layout>.live-chat-thread{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;margin:0;padding:0!important;border:1px solid #bfd0c5;border-radius:12px;background:#eaf0e9;box-shadow:none}.live-chat-thread .live-chat-heading{flex:none;display:flex;gap:10px;align-items:center;margin:0!important;border:0;border-bottom:1px solid #c8d9cd;border-left:0;border-radius:0;padding:11px 13px;background:#f5f8f4;overflow:visible;min-height:65px}.live-chat-heading .center-group-icon{flex-basis:39px;width:39px;height:44px;border-radius:10px}.live-chat-heading .center-group-icon svg{width:26px;height:26px}.live-chat-heading .event-chat-header-copy>strong{font-size:16px;line-height:1.4;display:block;white-space:normal;overflow-wrap:anywhere}.live-chat-heading .event-chat-header-copy>small{font-size:11px;line-height:1.4}.live-chat-back{flex:none;font-size:23px;line-height:1;border:0;background:none;color:#275d43;padding:6px;box-shadow:none}.live-chat-activity{flex:none;background:none;border:1px solid #c3d5c8;border-radius:7px;color:#285d43;font-size:11px;padding:7px 9px;box-shadow:none}.live-chat-thread.message-bubble-thread .chat-messages{flex:1;min-height:0;max-height:none;height:auto;overflow-y:auto;overscroll-behavior:contain;border-radius:0;margin:0;padding:17px 15px;background:#e8eee6;scroll-behavior:smooth}.live-chat-composer{display:flex!important;flex:none;align-items:flex-end;gap:9px;margin:0!important;padding:10px 12px;background:#f4f6f2;border-top:1px solid #d0ddcf;min-width:0}.live-chat-input{display:block;flex:1;min-width:0;margin:0!important}.live-chat-input textarea{display:block;width:100%;height:auto;min-height:43px;max-height:112px;box-sizing:border-box;resize:none;overflow-y:auto;border:1px solid #c5d2c8!important;border-radius:20px!important;padding:10px 15px!important;margin:0!important;background:white!important;font-size:15px;line-height:1.4}.live-chat-send{display:flex!important;align-items:center;justify-content:center;flex:0 0 43px;width:43px;height:43px;min-height:43px;border:0;border-radius:50%;background:#267057;color:#fff;padding:10px!important;box-shadow:none}.live-chat-send svg{width:23px;height:23px}.live-chat-send:disabled{opacity:.4;cursor:default}.live-chat-toolbar{display:flex;justify-content:flex-end;gap:10px;flex:none;background:#f4f6f2;padding:0 13px 8px}.live-chat-toolbar button{font-size:11px;padding:4px 7px;border:0;background:none;color:#657568;box-shadow:none}.live-chat-thread .chat-close-consent{margin-top:8px}.live-chat-thread .chat-message{flex-shrink:0}.live-chat-thread .chat-message p{margin-bottom:5px}.live-chat-layout:not(.live-chat-selected)>#player-chat-thread{display:flex;align-items:center;justify-content:center;text-align:center;color:#617468;padding:25px;background:#edf3ed;border:1px solid #d4e1d5;border-radius:12px}@media(max-width:700px){.player-chat-section>.heading{margin-bottom:9px}.player-chat-section>.heading h1{font-size:20px}.live-chat-layout{display:block!important;min-height:290px;max-height:none}.live-chat-layout>aside{display:block!important;height:100%;max-height:none!important;overflow-y:auto}.live-chat-layout.live-chat-selected>aside{display:none!important}.live-chat-layout:not(.live-chat-selected)>#player-chat-thread{display:none!important}.live-chat-layout>.live-chat-thread{height:100%}.live-chat-thread .live-chat-heading{padding:9px 10px;gap:8px}.live-chat-heading .event-chat-header-copy>strong{font-size:14px}.live-chat-activity{font-size:10px;padding:6px}.live-chat-thread.message-bubble-thread .chat-messages{padding:12px 10px}.live-chat-input textarea{font-size:16px}.live-chat-toolbar{padding-bottom:max(7px,env(safe-area-inset-bottom))}}
.live-chat-input textarea{font-family:inherit!important}
.close-match-chat-bar{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:10px 16px;margin:0 0 16px;border:1px solid #1e4935;border-radius:2px;background:#24583f;color:#fff;text-align:left;box-shadow:none}.close-match-chat-bar strong{display:block;flex:1;font-size:14px;line-height:1.4;letter-spacing:.01em}.close-match-chat-bar>span{font-size:20px;line-height:1}.close-match-chat-bar:hover{background:#1c4733}.player-chat-section>.close-match-chat-bar+.heading{margin-top:0}#chatDialog>.close-match-chat-bar{margin-bottom:12px}@media(max-width:600px){.close-match-chat-bar{padding:9px 12px;min-height:41px;margin-bottom:12px}.close-match-chat-bar strong{font-size:13px}}
/* Phone conversation occupies the screen below the CLOSE THE MATCH brand. */
@media(max-width:700px){
 body.ctm-mobile-conversation{overflow:hidden!important;overscroll-behavior:none}
 body.ctm-mobile-conversation .ctm-shared-header .player-icon-nav,body.ctm-mobile-conversation .ctm-shared-header .referral-strip{display:none!important}
 body.ctm-mobile-conversation .workspace>header.ctm-shared-header{border-radius:0!important;box-shadow:none!important}
 body.ctm-mobile-conversation .demo-strip{display:none!important}
 body.ctm-mobile-conversation .player-chat-section{position:fixed!important;inset:var(--mobile-chat-top,50px) 0 var(--mobile-chat-bottom,0px)!important;z-index:85;display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#e8eee6;overflow:hidden}
 body.ctm-mobile-conversation .player-chat-section>.close-match-chat-bar,body.ctm-mobile-conversation .player-chat-section>.heading{display:none!important}
 body.ctm-mobile-conversation .live-chat-layout{height:100%!important;min-height:0!important;max-height:none!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
 body.ctm-mobile-conversation .live-chat-layout>.live-chat-thread{width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;background:#e8eee6}
 body.ctm-mobile-conversation .live-chat-thread .live-chat-heading{margin:0!important;border-radius:0!important;border-left:0!important;padding:10px 9px!important}
 body.ctm-mobile-conversation .live-chat-thread.message-bubble-thread .chat-messages{border:0!important;border-radius:0!important;padding:12px 10px!important;margin:0!important}
 body.ctm-mobile-conversation .live-chat-composer{border-radius:0!important;padding:8px 10px!important;margin:0!important}
 body.ctm-mobile-conversation .live-chat-toolbar{padding-bottom:max(6px,env(safe-area-inset-bottom))}
 body.ctm-mobile-conversation #chatDialog[open]{position:fixed!important;inset:var(--mobile-chat-top,50px) 0 var(--mobile-chat-bottom,0px)!important;width:100vw!important;max-width:none!important;height:calc(100dvh - var(--mobile-chat-top,50px) - var(--mobile-chat-bottom,0px))!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
 body.ctm-mobile-conversation #chatDialog>.dialog-head,body.ctm-mobile-conversation #chatDialog>.close-match-chat-bar,body.ctm-mobile-conversation #chatDialog>p{display:none!important}
 body.ctm-mobile-conversation #chatDialog::backdrop{background:transparent}
}
.event-chat-thread .chat-close-consent button{flex:0 0 auto!important;min-height:40px!important;height:auto!important;max-height:none;line-height:1.4;aspect-ratio:auto}
/* Familiar message direction and larger, legible conversation text. */
.event-chat-thread.message-bubble-thread .chat-message{align-self:flex-start!important;margin:0!important;background:#fff!important;border:1px solid #d5dfd5!important;border-radius:13px 13px 13px 3px!important;max-width:90%;padding:12px 14px}.event-chat-thread.message-bubble-thread .chat-message.own{align-self:flex-end!important;background:#d2f1d7!important;border:1px solid #a4d3af!important;border-radius:13px 13px 3px 13px!important}.event-chat-thread.message-bubble-thread .chat-message p{font-size:17px!important;line-height:1.5!important}.event-chat-thread.message-bubble-thread .chat-message strong{font-size:13px!important;line-height:1.4}.event-chat-thread.message-bubble-thread .chat-message small{font-size:11px!important;line-height:1.4}.live-chat-input textarea{font-size:17px!important;line-height:1.5!important;min-height:46px}.live-chat-heading .event-chat-header-copy>strong{font-size:17px!important;line-height:1.4}.live-chat-heading .event-chat-header-copy>small{font-size:12px!important}.event-conversation-copy strong{font-size:16px}.event-conversation-copy b{font-size:15px}.event-conversation-copy>span{font-size:13px}.player-proposal-shortcut{margin:0 0 16px}.player-proposal-shortcut button{font-size:15px;padding:12px 17px}.event-chat-thread .chat-close-consent>strong{font-size:15px}.event-chat-thread .chat-close-consent p,.event-chat-thread .chat-close-consent button{font-size:14px}@media(max-width:700px){body.ctm-mobile-conversation .live-chat-thread.message-bubble-thread .chat-messages{padding:10px 8px!important}.event-chat-thread.message-bubble-thread .chat-message{max-width:92%;padding:11px 13px}.live-chat-heading .event-chat-header-copy>strong{font-size:16px!important}.live-chat-input textarea{font-size:17px!important}.player-proposal-shortcut button{width:100%}}
/* Slim composer, flat close command under the group title, vivid green accents. */
.live-chat-thread .live-chat-heading{background:#087f5b!important;border-bottom:0}.live-chat-heading .event-chat-header-copy>strong{color:#fff!important}.live-chat-heading .event-chat-header-copy>small{color:#d9f5e5!important}.live-chat-heading .center-group-icon{background:#ffffff24;border:1px solid #ffffff60}.live-chat-back{color:#fff!important;background:transparent!important;border:0!important;box-shadow:none!important}.live-chat-activity{color:white!important;background:#ffffff18!important;border-color:#ffffff60!important}.live-chat-toolbar{order:initial;display:flex;justify-content:stretch;gap:0;background:#d9f5e4!important;padding:0!important;border-bottom:1px solid #b9dcc7;min-height:30px}.live-chat-toolbar button{flex:1!important;min-height:30px!important;height:auto!important;padding:5px 10px!important;margin:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;text-align:center;color:#086747;font-size:12px;line-height:1.4}.live-chat-thread.message-bubble-thread .chat-messages{position:relative;isolation:isolate;background:#e6f2e7!important}.live-chat-thread .chat-messages::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('chat-padel-background.svg') center/cover no-repeat;filter:none;opacity:.16}.event-chat-thread.message-bubble-thread .chat-message.own{background:#bdf0cb!important;border-color:#8cd6a0!important}.live-chat-composer{padding:5px 8px!important;gap:7px;background:#f1f7f1!important}.live-chat-input textarea{min-height:38px!important;height:38px;max-height:96px;padding:6px 13px!important;border-radius:19px!important;font-size:17px!important;line-height:1.4!important}.live-chat-send{width:38px!important;height:38px!important;min-height:38px!important;flex:0 0 38px!important;padding:8px!important;background:#0ba66b!important}.live-chat-send svg{width:22px;height:22px}.event-chat-thread .chat-close-consent{background:#edf9e8;border-color:#b2d89f}.player-request-details-dialog{width:min(780px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:12px;padding:20px}.player-request-details-dialog>.proposal-card{margin-top:15px}.notice-compact-footer [data-reply-player-request]{white-space:normal;font-size:13px}@media(max-width:700px){body.ctm-mobile-conversation .live-chat-composer{padding:5px 8px calc(5px + env(safe-area-inset-bottom))!important}.live-chat-input textarea{min-height:38px!important}.player-request-details-dialog{padding:14px}}
.live-chat-toolbar [data-proposal-conversion]{flex:2!important;font-weight:800;background:#bcefd0!important;color:#075a3c!important;border-left:1px solid #9fcbb2!important}.proposal-conversion-occupancy{display:flex;flex-direction:column;gap:6px;margin:0 0 18px;padding:14px 16px;border:1px solid #b3d6bd;border-left:4px solid #16854f;border-radius:9px;background:#ecf8ee}.proposal-conversion-occupancy strong{font-size:16px;color:#185333}.proposal-conversion-occupancy b{font-size:17px;color:#14643a}.proposal-conversion-occupancy span{font-size:14px;color:#3d6750}.proposal-conversion-occupancy p{font-size:13px;line-height:1.5;margin:3px 0 0;color:#4a6856}
/* Activity colours are shared with the published activity cards. */
.live-chat-thread{--chat-accent:var(--activity-accent,#377c44);--chat-soft:var(--activity-soft,#e0efd9);--chat-surface:var(--activity-surface,#eff7eb);position:relative;isolation:isolate}
.live-chat-layout>.live-chat-thread{background:#f6f8fb}
.live-chat-thread::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('chat-padel-background.svg?v=499') center/auto 115% no-repeat;filter:none;opacity:.12}
.live-chat-thread.message-bubble-thread .chat-messages{background:transparent!important;isolation:auto}
.live-chat-thread .chat-messages::before{display:none}
.live-chat-thread .live-chat-heading{background:var(--chat-accent)!important}
.live-chat-heading .event-chat-header-copy>small{color:#fffffff0!important}
.event-chat-thread.live-chat-thread.message-bubble-thread .chat-message.own{background:var(--chat-accent)!important;border-color:var(--chat-accent)!important;color:#fff}
.event-chat-thread.live-chat-thread .chat-message.own strong,.event-chat-thread.live-chat-thread .chat-message.own p,.event-chat-thread.live-chat-thread .chat-message.own small{color:#fff!important}
.live-chat-thread .live-chat-toolbar{background:var(--chat-soft)!important;border-bottom-color:var(--chat-accent)}
.live-chat-thread .live-chat-toolbar button{color:var(--chat-accent)!important}
.live-chat-thread .live-chat-composer{background:var(--chat-surface)!important}
.live-chat-thread .live-chat-send{background:var(--chat-accent)!important}
.live-chat-thread .live-chat-toolbar [data-proposal-conversion]{background:var(--chat-soft)!important;color:var(--chat-accent)!important;border-left-color:var(--chat-accent)!important}
