/* Two activity families. Gender, unread state and outcomes remain explicit labels. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is([data-activity-family],.published-match,.compact-match,.activity-mode-match,.quicklook-match,.published-classic,.compact-classic,.activity-mode-classic,.quicklook-classic,.published-double,.compact-double,.activity-mode-double,.quicklook-double){--activity-accent:#26d6aa;--activity-soft:#d8faf0;--activity-surface:#f4fdf9;--activity-line:#a3dfcb;--activity-action:#a2efd8;--activity-ink:#145b49;--notice-ink:#145b49;--notice-dark:#131b26}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is([data-activity-family=tournament],.published-tournament,.compact-tournament,.activity-mode-tournament,.quicklook-tournament,.published-formula,.compact-formula,.published-external,.compact-external,.published-event,.compact-event){--activity-accent:#ad7cf5;--activity-soft:#eee5ff;--activity-surface:#faf7ff;--activity-line:#d4bdf4;--activity-action:#d9bfff;--activity-ink:#594080;--notice-ink:#594080}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family=general]{--activity-accent:#b8c4ce;--activity-soft:#f1f4f7;--activity-surface:#fafbfd;--activity-line:#dce3e9;--activity-action:#e8edf2;--activity-ink:#405064;--notice-ink:#405064}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].ctm-activity-heading{
 display:block!important;padding:14px 16px!important;margin:0!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;
 background:var(--activity-soft)!important;color:#131b26!important;border:0!important;border-bottom:1px solid var(--activity-line)!important;
 border-radius:0!important;box-shadow:none!important;text-align:left!important;
}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.ctm-activity-name,.published-title strong,.slot-type-title){
 font-family:inherit!important;font-size:17px!important;font-weight:750!important;line-height:1.35!important;letter-spacing:-.015em!important;
 padding:0!important;margin:0!important;min-width:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#131b26!important;
 white-space:normal!important;overflow-wrap:anywhere;
}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-density-title,.activity-title-line,.published-identity-row){display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;flex-wrap:nowrap!important;margin:0!important;padding:0!important;min-width:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-activity-subtitle,.published-subtitle,.activity-quicklook-title,.center-compact-heading>p,.activity-summary-header>div>p){display:block!important;font-size:13px!important;font-weight:450!important;line-height:1.45!important;letter-spacing:0!important;color:#495568!important;background:transparent!important;padding:0!important;margin:4px 0 0!important;overflow-wrap:anywhere}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .notice-action-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0 0!important;padding:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.flow-notice-open,.notice-mini-eye){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;width:auto!important;padding:8px 12px!important;margin:0!important;border:1px solid var(--activity-line)!important;border-radius:10px!important;background:var(--activity-action)!important;color:#131b26!important;font-size:13px!important;font-weight:700!important;line-height:1.3!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.flow-notice-open,.notice-mini-eye):hover{background:var(--activity-soft)!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .activity-gender-tab{flex:0 1 auto!important;min-height:0!important;padding:4px 8px!important;margin:0!important;background:#ffffffb8!important;color:#495568!important;border:1px solid #dbe3e8!important;border-radius:7px!important;box-shadow:none!important;font-size:11px!important;font-weight:550!important;line-height:1.4!important;white-space:normal!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.activity-gender-band,.activity-header-band,.gender-band){display:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .notice-new-badge{flex:0 0 auto!important;align-self:flex-start!important;min-height:22px!important;min-width:0!important;padding:3px 7px!important;margin:0!important;border:1px solid #d8ba39!important;border-radius:7px!important;background:#fff16a!important;color:#131b26!important;box-shadow:none!important;font-size:10px!important;line-height:1.4!important;letter-spacing:.04em!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .activity-brand-title{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex-wrap:nowrap!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .battle-symbol{display:inline-block!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;border-radius:5px!important;background:#34393c url('battlepadel-logo.jpg') no-repeat 50% -22px / 98px auto!important;overflow:hidden!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group{background:#fff!important;border:1px solid var(--activity-line)!important;border-radius:14px!important;overflow:hidden!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group :is(.notice-compact-context,.notice-latest,.notice-older,.notice-event,.notice-visual-copy,.notice-event-message,.notice-event-title,.notice-visual-heading,.flow-preview-body){background:transparent!important;color:#131b26!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-compact-context{padding:0!important;border:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-visual-icon{background:var(--activity-soft)!important;color:var(--activity-ink)!important;box-shadow:none!important;border:1px solid var(--activity-line)!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-visual-category{color:var(--activity-ink)!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-event-title{font-size:14px!important;font-weight:700!important;line-height:1.4!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-event-message{color:#495568!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-older{border-top:1px solid #e6ebef!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .notice-participation{background:#ffffffb8!important;color:#405064!important;border:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].flow-activity-preview{border:1px solid var(--activity-line)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .published-meta-row{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;margin-top:10px!important;color:#495568!important;font-size:12px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .published-meta-row time{font-size:13px!important;line-height:1.4!important;color:#495568!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].center-published-item{border:1px solid var(--activity-line)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].center-published-item>summary{display:grid!important;grid-template-columns:minmax(0,1fr) 18px!important;align-items:center!important;gap:10px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].center-published-item>summary>svg{width:18px!important;height:18px!important;margin:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .published-state{font-size:11px!important;padding:4px 7px!important;border-radius:7px!important;background:#ffffffb8!important;color:#495568!important;border:1px solid #dbe3e8!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .ctm-activity-heading :is(.notice-open-meta,.notice-open-schedule,.notice-open-seats){font-size:12px!important;line-height:1.4!important;color:#495568!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .ctm-activity-heading .notice-meta-line{margin-top:6px!important}

body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .notice-last-seat{margin:0!important;padding:10px 16px!important;gap:8px!important;background:var(--activity-surface)!important;color:#131b26!important;border:0!important;border-bottom:1px solid var(--activity-line)!important;border-radius:0!important;animation:none!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .notice-last-seat strong{color:#131b26!important;font-size:13px!important;font-weight:700!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .notice-last-seat small{color:#495568!important;font-size:12px!important;line-height:1.4!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .last-seat-beacon{background:var(--activity-accent)!important;animation:none!important;width:8px!important;height:8px!important;box-shadow:none!important}

body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .notice-participation strong{color:#405064!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family].workflow-notice-group .flow-activity-preview{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .published-title{display:block!important;gap:0!important;min-width:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-density-title,.activity-title-line,.published-identity-row)>.ctm-activity-name{flex:1 1 auto!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.published-identity-row,.activity-title-line)>.activity-gender-tab{flex:0 0 auto!important;white-space:nowrap!important}

/* Shared activity header: title and subtitle left, compact actions right. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title.ctm-activity-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:16px!important;row-gap:3px!important;padding:12px 16px!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title .notice-density-title{grid-column:1!important;grid-row:1!important;justify-content:flex-start!important;align-items:center!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title .notice-activity-subtitle{grid-column:1!important;grid-row:2!important;margin:0!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title .notice-action-row{grid-column:2!important;grid-row:1 / 3!important;margin:0!important;justify-content:flex-end!important;align-items:center!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.flow-notice-open,.notice-mini-eye){box-shadow:none!important;background-image:none!important;filter:none!important;border-width:1px!important;outline:none}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.flow-notice-open,.notice-mini-eye)::before,body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.flow-notice-open,.notice-mini-eye)::after,body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title::before,body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title::after{content:none!important;display:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.workflow-notice-group,.player-day-card) .flow-activity-preview{border:0!important;border-radius:0!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .activity-progress-track{display:block!important;height:7px!important;margin-top:6px!important;background:#e2e6e9!important;border:0!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .activity-progress-track>span{background:#cd443f!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .progress-yellow .activity-progress-track>span{background:#e3b323!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .progress-green .activity-progress-track>span{background:#268a55!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .progress-stopped .activity-progress-track>span{background:#7c8792!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium :is(.notice-action-row,.row-actions,.notice-compact-footer) button svg{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;vertical-align:middle!important}
@media(max-width:540px){body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title.ctm-activity-heading{grid-template-columns:minmax(0,1fr)!important;padding:12px!important;gap:5px!important}body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title .notice-action-row{grid-column:1!important;grid-row:3!important;justify-content:flex-end!important;margin-top:3px!important}}

/* Gender is a labelled rectangular badge below the level, independent of category. */
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] .activity-gender-tab.notice-gender-badge{display:table!important;margin:7px 0 0!important;padding:5px 10px!important;border:0!important;border-radius:10px!important;color:#131b26!important;line-height:1.4!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-gender-badge,.activity-summary-header .activity-gender-tab).gender-female{background:#f4b8df!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-gender-badge,.activity-summary-header .activity-gender-tab).gender-male{background:#a9dff2!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-gender-badge,.activity-summary-header .activity-gender-tab).gender-mixed{background:linear-gradient(90deg,#f4b8df 0%,#f4b8df 50%,#a9dff2 50%,#a9dff2 100%)!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium [data-activity-family] :is(.notice-gender-badge,.activity-summary-header .activity-gender-tab).gender-none{background:#e8c49b!important}
body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .flow-preview-title .notice-action-row{justify-self:end!important}

body#ctm-premium#ctm-premium#ctm-premium#ctm-premium .activity-summary-header .activity-gender-tab{font-size:14px!important;font-weight:650!important;line-height:1.4!important;padding:6px 11px!important;border:0!important;border-radius:10px!important;color:#131b26!important;box-shadow:none!important}
