/* Four destinations, each with its own identity. Existing activity palettes stay intact. */
.chat-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:4px 0 18px}
button.chat-category-card{--category:#245980;--category-soft:#e7eff8;display:grid;grid-template-columns:52px minmax(0,1fr) 20px;align-items:center;gap:14px;width:100%;min-height:156px;padding:22px;text-align:left;border:1px solid var(--category);border-left:7px solid var(--category);border-radius:15px;background:var(--category-soft);color:var(--category);box-shadow:0 3px 12px #1c344512;white-space:normal}
button.chat-category-card:hover{filter:brightness(.97)}button.chat-category-card:focus-visible{outline:3px solid var(--category);outline-offset:3px}
button.chat-category-support{--category:#e7c631;--category-soft:#171817;color:#fff;border-color:#b49a36}
button.chat-category-friends{--category:#71529d;--category-soft:#f1eaf8}
button.chat-category-centers{--category:#245980;--category-soft:#e7eff8}
button.chat-category-activities{--category:#267057;--category-soft:#e4f2eb}
.chat-category-icon{display:grid;place-items:center;min-height:52px;border-radius:13px;background:var(--category);color:white;font-size:27px;font-weight:800}.chat-category-support .chat-category-icon{font-size:18px;color:#181818}
.chat-category-copy{display:grid;gap:9px;min-width:0}.chat-category-copy strong{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.chat-category-copy>span{font-size:15px;line-height:1.5;font-weight:500;color:#46546b}.chat-category-copy small{font-size:13px;font-weight:550;color:#53637b}.chat-category-support .chat-category-copy>span{color:#e4e4de}.chat-category-support .chat-category-copy small{color:#e7d379}.chat-category-arrow{font-size:32px;font-weight:500}
.chat-dashboard-layout[data-chat-level=centers]{min-height:0!important}.chat-dashboard-layout[data-chat-level=centers]>aside{border:0!important;background:transparent!important;padding:0!important}.chat-dashboard-layout[data-chat-level=centers] #player-chat-list,.chat-dashboard-layout[data-chat-level=centers] #chatList{padding:0!important;background:transparent!important}
.chat-category-heading{margin:0 0 18px;padding:16px;border-left:5px solid #267057;background:#e4f2eb;border-radius:12px;color:#205d49}.chat-category-heading.category-centers{border-color:#245980;background:#e7eff8;color:#245980}.chat-category-heading h2{font-size:24px;margin:14px 0 6px;color:inherit}.chat-category-heading p{font-size:15px;line-height:1.5;margin:0}.chat-category-heading .outline{padding:9px 12px;font-size:14px;background:white;color:inherit;border-color:currentColor}
.dashboard-find-center{background:#245980!important;color:white!important;padding:14px 18px!important;font-size:17px!important}.dashboard-geo-note{color:#53687a;font-size:14px;line-height:1.5;margin:10px 0 22px}.dashboard-thread-list{display:grid;gap:12px}.dashboard-center-group{min-width:0}.dashboard-center-group>h3{font-size:19px;color:#245980;margin:8px 0}
.dashboard-chat-item{--activity-accent:#377c44;--activity-soft:#e0efd9;--activity-surface:#eff7eb;border:1px solid var(--activity-accent);border-left:6px solid var(--activity-accent);border-radius:12px;overflow:hidden;background:var(--activity-surface)}
.dashboard-chat-item.dashboard-free{--activity-accent:#245980;--activity-soft:#e7eff8;--activity-surface:#f4f8fc}
.dashboard-chat-item .dashboard-thread-row{display:flex;align-items:center;gap:12px;width:100%;padding:17px;text-align:left;border:0;border-radius:0;background:var(--activity-surface);color:#263f53;box-shadow:none;white-space:normal}.dashboard-thread-row:hover,.dashboard-thread-row.is-selected{background:var(--activity-soft)}
.dashboard-thread-copy{display:grid;gap:6px;flex:1;min-width:0}.dashboard-thread-copy strong{display:block;font-size:19px;line-height:1.4;color:var(--activity-accent);overflow-wrap:anywhere}.dashboard-thread-center{font-size:15px;font-weight:750;line-height:1.4}.dashboard-thread-time{font-size:17px;font-weight:800;color:var(--activity-accent)}.dashboard-thread-preview{font-size:14px;font-weight:400;color:#586c7b;overflow-wrap:anywhere}.dashboard-thread-row>.chat-topic-unread{flex:none}
.chat-dashboard-layout[data-chat-level=conversation] .chat-category-heading{padding:0;border:0;background:transparent;margin:0 0 12px}.chat-dashboard-layout[data-chat-level=conversation] .chat-category-heading h2,.chat-dashboard-layout[data-chat-level=conversation] .chat-category-heading p,.chat-dashboard-layout[data-chat-level=conversation] .dashboard-find-center,.chat-dashboard-layout[data-chat-level=conversation] .dashboard-geo-note{display:none}
.ctm-support-dialog{border:2px solid #c2a23a!important;background:#fbfaf5!important}.ctm-support-dialog>header{height:auto!important;min-height:75px;background:#171817!important;color:#f5da65!important;padding:18px!important;border-radius:10px}.ctm-support-dialog>header h2{font-size:25px;color:#f5da65!important}.ctm-support-dialog>header button{color:#f5da65;background:#292921;border-color:#8f7a39}.ctm-support-intro{display:flex;gap:15px;padding:22px 4px;align-items:flex-start}.ctm-support-mark{display:grid;place-items:center;flex:0 0 56px;height:56px;border-radius:12px;background:#181818;color:#edce4d;font-size:18px;font-weight:900}.ctm-support-intro strong{font-size:21px;color:#302b19;line-height:1.4}.ctm-support-intro p{font-size:15px;line-height:1.6;color:#655c42;margin:8px 0}.ctm-support-dialog .mail-compose{display:grid;gap:15px}.ctm-support-dialog .mail-compose label{display:grid;gap:7px;font-size:16px}.ctm-support-dialog [data-direction-new],.ctm-support-dialog button[type=submit]{background:#ead267!important;color:#252115!important}.ctm-support-dialog .direction-chat-list{margin-top:18px}
@media(max-width:700px){.chat-category-grid{grid-template-columns:minmax(0,1fr);gap:12px}button.chat-category-card{min-height:126px;padding:17px 14px;grid-template-columns:43px minmax(0,1fr) 16px;gap:12px}.chat-category-icon{min-height:44px;font-size:24px}.chat-category-copy strong{font-size:21px}.chat-category-copy>span{font-size:14px}.chat-category-heading h2{font-size:22px}.ctm-support-intro{gap:11px}.ctm-support-mark{flex-basis:44px;height:44px;font-size:15px}.ctm-support-intro strong{font-size:19px}.chat-dashboard-layout[data-chat-level=conversation]>aside{display:none!important}}
/* Match the approved green/red activity family and its variants. */
.dashboard-activity.compact-classic{--activity-accent:#267057;--activity-soft:#d6eade;--activity-surface:#eaf5ee}
.dashboard-activity.compact-double{--activity-accent:#14543a;--activity-soft:#cce3d7;--activity-surface:#e5f1e9}
.dashboard-activity.compact-tournament{--activity-accent:#b94f4c;--activity-soft:#f8ded9;--activity-surface:#fff0ec}
.dashboard-activity.compact-formula{--activity-accent:#a33b44;--activity-soft:#f2d5d9;--activity-surface:#fcebee}
.dashboard-activity.compact-external{--activity-accent:#8c323a;--activity-soft:#edccd1;--activity-surface:#f9e7ea}
.dashboard-activity.compact-event{--activity-accent:#792532;--activity-soft:#e8c4ca;--activity-surface:#f7e3e8}
#friendsDialog .friends-heading{background:#71529d;color:white}#friendsDialog .friends-heading h2{color:white}#friendsDialog .friends-heading button{color:white;border-color:#c7b8df;background:#ffffff14}
.chat-category-heading{display:block!important;height:auto!important;min-height:0!important}
#main:has(>.player-chat-section)>.friends-quickbar{display:none}

/* Official compact logo supplied by the owner; preserve the full image proportions. */
.chat-category-card.chat-category-support{grid-template-columns:76px minmax(0,1fr) 20px}
.chat-category-support .chat-category-icon{width:76px;height:76px;min-height:76px;background:#000;overflow:hidden;border-radius:10px}
.ctm-compact-brand-logo{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.ctm-support-intro .ctm-support-mark{flex:0 0 72px;width:72px;height:72px;background:#000;overflow:hidden}
@media(max-width:700px){.chat-category-card.chat-category-support{grid-template-columns:60px minmax(0,1fr) 16px}.chat-category-support .chat-category-icon{width:60px;height:60px;min-height:60px}.ctm-support-intro .ctm-support-mark{flex-basis:60px;width:60px;height:60px}}
