.player-compatible-activities{margin:0 0 24px;padding:22px;border:1px solid #bdcedb;border-radius:20px;background:#f5f9fc;color:#203f53}
.player-compatible-heading{display:flex;align-items:center;justify-content:center;text-align:center}
.player-compatible-heading h2{margin:0;max-width:620px;width:100%;font-size:21px;line-height:1.4}
.player-search-destination button{min-height:44px;white-space:normal}
.player-compatible-mode{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:16px 0 12px;font-size:14px;line-height:1.5}
.player-compatible-mode strong{padding:7px 11px;border:1px solid #bdcedb;border-radius:10px;background:#fff;color:#254963}
.player-compatible-activities>.muted{font-size:14px;line-height:1.6}
.player-compatible-activities .search-result-package{margin:18px 0}
.player-compatible-activities .request-match-launch{margin-bottom:0}
.player-search-destination{margin:20px 0;padding:18px;border:1px solid #bdcedb;border-radius:14px;background:#f5f9fc}
.player-search-destination p{font-size:15px;line-height:1.6;margin:0 0 12px}
@media(max-width:600px){.player-compatible-activities{padding:16px 12px;border-radius:16px}.player-compatible-heading h2{font-size:19px}.player-compatible-mode{align-items:flex-start;gap:6px}.player-compatible-mode strong{max-width:100%;overflow-wrap:anywhere}.player-compatible-activities .search-result-content{padding-left:0;padding-right:0}}

/* Keep activity folder counters aligned before the section lock. */
body .player-activity-status>.participation-folder>summary{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:12px}
.player-activity-status>.participation-folder>summary>.player-activity-folder-title{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
.player-activity-status>.participation-folder>summary>.badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 3rem;min-width:3rem;margin:0;box-sizing:border-box;font-variant-numeric:tabular-nums}
body .player-activity-status>.participation-folder>summary>.ctm-panel-lock-action{flex:0 0 42px;margin-left:0}

/* Two activity decks: readable exposed headers and independent subcards. */
.player-activity-decks{display:block;background:#fff;border-radius:24px 24px 0 0;isolation:isolate;margin-bottom:24px}
.player-activity-decks>.player-activity-deck{padding:0;margin:0;border:1px solid #bdcedb;border-radius:24px 24px 0 0;background:#fff;overflow:hidden}
.player-activity-decks>.player-activity-deck+.player-activity-deck{margin-top:16px}
.player-activity-deck-heading{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:10px;min-height:72px;padding:12px 16px;background:linear-gradient(135deg,#26303f,#191b22);color:#fff;border-radius:23px 23px 0 0}
.player-activity-deck-heading h2{margin:0;font-size:20px;line-height:1.4;text-align:center;color:inherit;min-width:0}
.player-activity-deck-heading button{display:flex;align-items:center;justify-content:center;width:52px;min-height:44px;padding:10px;border:0;border-left:1px solid #ffffff85;border-radius:0;background:transparent;color:#fff}
.player-activity-deck-heading svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.player-activity-deck-heading button[aria-expanded=true] svg{transform:rotate(180deg)}
.player-activity-deck-body{padding:16px 18px 24px}
.player-activity-deck-body[hidden]{display:none!important}
.player-registered-deck-body{padding:16px 0 0;background:#fff}
.player-registered-deck-body>.player-activity-status{margin:0;border-radius:24px 24px 0 0;border-width:1px;overflow:visible}
.player-registered-deck-body>.player-activity-status+.player-activity-status{margin-top:16px}
.player-registered-deck-body>.player-activity-status>.participation-folder{border-radius:24px 24px 0 0;overflow:hidden}
.player-registered-deck-body>.player-activity-status>.participation-folder>summary{border-radius:23px 23px 0 0;min-height:70px}
.player-registered-deck-body>.player-activity-status:has(>.participation-folder:not([open]))::after{content:"";display:block;height:16px;background:#fff}
.player-activity-deck .activity-calendar-month,.player-activity-deck .activity-calendar-day-panel{border-radius:24px 24px 0 0;box-shadow:0 12px 0 #fff}
.player-activity-deck .activity-calendar-section-heading{border-radius:23px 23px 0 0;min-height:70px}
.player-activity-deck .activity-calendar-month:has(#activityCalendarMonthBody[hidden])::after,.player-activity-deck .activity-calendar-day-panel:has(#activityCalendarDayBody[hidden])::after{content:"";display:block;height:16px;background:#fff}
.activity-calendar-selected-date{font-weight:750;margin-bottom:14px!important;text-transform:capitalize}
@media(max-width:760px){.player-activity-deck-heading{padding:12px;grid-template-columns:minmax(0,1fr) 44px}.player-activity-deck-heading h2{font-size:18px}.player-activity-deck-heading button{width:44px}.player-activity-deck-body{padding:14px 10px 20px}.player-registered-deck-body{padding:16px 0 0}}

/* Left-aligned headings, broad disclosure targets and exposed inset tabs. */
.player-activity-deck .player-activity-deck-heading{grid-template-columns:minmax(0,min(520px,70%)) minmax(44px,1fr)}
.player-activity-deck .player-activity-deck-heading h2{text-align:left}
.player-activity-deck .player-activity-deck-heading button{width:100%;height:100%;justify-content:flex-end;padding-right:0}
.player-activity-deck-tabs{display:none;padding:16px 18px 0;background:#fff}
.player-activity-deck:has(>.player-activity-deck-body[hidden])>.player-activity-deck-tabs{display:grid;gap:12px}
.player-activity-deck-tabs>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;margin:0;padding:14px 16px;border:1px solid #bdcedb;border-radius:22px 22px 0 0;background:linear-gradient(135deg,#26303f,#191b22);color:#fff;text-align:left;font-size:16px;font-weight:750;line-height:1.45;white-space:normal}
.player-activity-deck-tabs svg{flex:0 0 22px;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.player-registered-activities .player-activity-deck-tabs>button:nth-child(1){background:#ddf1e4;color:#1e6340;border-color:#86c29e}
.player-registered-activities .player-activity-deck-tabs>button:nth-child(2){background:#FFD300;color:#735711;border-color:#FFD300}
.player-registered-activities .player-activity-deck-tabs>button:nth-child(3){background:#ffe2dc;color:#9c352e;border-color:#d5948e}
.player-activity-deck .player-registered-deck-body{padding:16px 18px 0}
.player-activity-deck .player-activity-calendar{margin-inline:6px}
.player-compatible-activities:has(>.player-activity-deck-body[hidden])>.player-activity-deck-tabs{grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:20px}
@media(max-width:900px){.player-compatible-activities:has(>.player-activity-deck-body[hidden])>.player-activity-deck-tabs{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.player-activity-deck-tabs{padding:14px 12px 0}.player-activity-deck .player-registered-deck-body{padding:14px 12px 0}.player-activity-deck-tabs>button{font-size:14px}.player-activity-deck .player-activity-calendar{margin-inline:2px}}

.player-activity-deck-tabs>button>span:first-child{flex:1;min-width:0}
.activity-deck-tab-count{display:inline-flex;align-items:center;justify-content:center;flex:0 0 3rem;padding:6px;background:#ffffff85;border-radius:6px;font-variant-numeric:tabular-nums}
